text: (this["webpackJsonppancake-frontend"]=this["webpackJsonppancake-frontend"]||[]).push([[34],{1177:function(e,n,t){"use strict";t.r(n);var c,i,r,a,s,b,o,d,j,l,x,O,p,h,u,m,g,f,v,k,F,w,y,C,E,z,S,A,Q,q,G,D,R,B,L,I,N,M,U,W,J,H,P,T,$,Y,K,V,X,Z,_,ee,ne,te,ce,ie,re,ae,se,be,oe,de,je,le,xe,Oe,pe=t(0),he=t(5),ue=t(144),me=t.n(ue),ge=t(37),fe=t(169),ve=t(24),ke=t(21),Fe=t(28),we=t(11),ye=t(893),Ce=t(876),Ee=t(875),ze=t(899),Se=t(877),Ae=t(2),Qe=we.e.div(c||(c=Object(Fe.a)(["\n  align-items: center;\n  background-image: url('/images/teams/therace3.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/teams/therace3.gif');\n    background-position: Left;\n    background-size: contain;\n    height: 350px;\n    padding-top: 0;\n    \n  }\n"])),(function(e){return e.theme.mediaQueries.lg})),qe=function(){var e=Object(ve.b)().t,n=Object(ge.H)(),t=(n.isInitialized,n.profile,Object(he.ic)(Object(Ae.jsx)(Se.a,{}))),c=(Object(ke.a)(t,1)[0],Object(Ce.h)(),Object(Ee.s)());return Object(Ae.jsxs)(Ae.Fragment,{children:[Object(Ae.jsxs)(ye.a,{children:[Object(Ae.jsx)(he.S,{as:"h1",scale:"xxl",color:"secondary",children:e("Chicken Race.")}),Object(Ae.jsx)(he.Ob,{bold:!0,children:e("Bet 100 $EGGC and Gain 450 $EGGC!!!")}),Object(Ae.jsx)(Qe,{children:Object(Ae.jsx)(he.Ob,{children:e("")})})]}),Object(Ae.jsx)(he.Ob,{bold:!0,children:e("First Bet for One.")}),Object(Ae.jsx)(he.q,{width:"50%",onClick:c,children:e("Claim Here !!")}),Object(Ae.jsx)(he.Ob,{bold:!0,children:e("You have 10 minutes to claim or you will lose your reward.")}),Object(Ae.jsx)(he.q,{width:"50%",onClick:c,children:e("Restart Game.")}),Object(Ae.jsxs)(he.Ob,{bold:!0,children:[e("EGGC in Wallet"),": ",Object(Ae.jsx)(ze.g,{})]}),Object(Ae.jsx)(ze.L,{}),Object(Ae.jsx)(ze.z,{}),Object(Ae.jsx)(ze.c,{}),Object(Ae.jsx)(ze.e,{}),Object(Ae.jsx)(ze.D,{}),Object(Ae.jsx)(ze.N,{}),Object(Ae.jsx)(ze.P,{})]})},Ge=t(3),De=t.n(Ge),Re=t(10),Be=t(18),Le=t(878),Ie=t(879),Ne=t(125),Me=we.e.div(i||(i=Object(Fe.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 16px 0;\n  text-align: center;\n  width: 56px;\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)})),Ue=we.e.div(r||(r=Object(Fe.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})),We=we.e.div(a||(a=Object(Fe.a)(["\n  flex: 1;\n"]))),Je=we.e.img(s||(s=Object(Fe.a)(["\n  border-radius: 50%;\n"]))),He=Object(we.e)(he.S).attrs({as:"h3"})(b||(b=Object(Fe.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Pe=we.e.div(o||(o=Object(Fe.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Je,(function(e){return e.theme.mediaQueries.md})),Te=we.e.div(d||(d=Object(Fe.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Je),$e=Object(we.e)(he.u)(j||(j=Object(Fe.a)(["\n  display: flex;\n  margin-bottom: 16px;\n"]))),Ye=(Object(we.e)(he.u)(l||(l=Object(Fe.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),we.e.div(x||(x=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.img(O||(O=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.div(p||(p=Object(Fe.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),we.e.div(h||(h=Object(Fe.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),Ke=function(){var e=Object(Be.c)().account,n=Object(pe.useState)(!1),t=Object(ke.a)(n,2),c=(t[0],t[1]),i=Object(ve.b)().t,r=Object(Ce.j)(),a=Object(he.ic)(Object(Ae.jsx)(Se.a,{})),s=Object(ke.a)(a,1)[0],b=Object(Le.b)(),o=(b.claimAmount,b.setLastUpdated),d=Object(Ee.Bb)().onMultiClaim,j=Object(Ee.n)(),l=Object(Ie.g)(s),x=l.handleApprove,O=l.requestedApproval,p=Object(Ae.jsx)(Je,{src:"/images/teams/race1.gif",alt:"team avatar"});Object(pe.useCallback)(Object(Re.a)(De.a.mark((function e(){return De.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,d();case 4:e.sent&&(c(!1),o()),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]])}))),[d,c,o]);return Object(Ae.jsxs)($e,{children:[Object(Ae.jsx)(Me,{children:Object(Ae.jsx)(he.Ob,{bold:!0,fontSize:"24px",children:"1"})}),Object(Ae.jsxs)(Ue,{children:[Object(Ae.jsxs)(We,{children:[Object(Ae.jsxs)(he.R,{alignItems:"center",mb:"16px",children:[Object(Ae.jsx)(Pe,{children:p}),Object(Ae.jsx)(He,{children:"White Evochicken"})]}),Object(Ae.jsx)(he.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"The Original and the Best."})]}),e?Object(Ae.jsx)(Ye,{children:r.toNumber()?Object(Ae.jsx)(he.q,{id:"dashboard-buy-tickets",variant:"secondary",onClick:j,children:i("Bet for this Evochicken")}):Object(Ae.jsx)(he.q,{width:"100%",disabled:O,onClick:x,children:i("Approve EGGC for the Race.")})}):Object(Ae.jsx)(Ye,{children:Object(Ae.jsx)(Ne.a,{width:"100%"})}),Object(Ae.jsx)(Te,{children:p})]})]})},Ve=we.e.div(u||(u=Object(Fe.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 16px 0;\n  text-align: center;\n  width: 56px;\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)})),Xe=we.e.div(m||(m=Object(Fe.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})),Ze=we.e.div(g||(g=Object(Fe.a)(["\n  flex: 1;\n"]))),_e=we.e.img(f||(f=Object(Fe.a)(["\n  border-radius: 50%;\n"]))),en=Object(we.e)(he.S).attrs({as:"h3"})(v||(v=Object(Fe.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),nn=we.e.div(k||(k=Object(Fe.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),_e,(function(e){return e.theme.mediaQueries.md})),tn=we.e.div(F||(F=Object(Fe.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),_e),cn=Object(we.e)(he.u)(w||(w=Object(Fe.a)(["\n  display: flex;\n  margin-bottom: 16px;\n"]))),rn=(Object(we.e)(he.u)(y||(y=Object(Fe.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),we.e.div(C||(C=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.img(E||(E=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.div(z||(z=Object(Fe.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),we.e.div(S||(S=Object(Fe.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),an=function(){var e=Object(Be.c)().account,n=Object(pe.useState)(!1),t=Object(ke.a)(n,2),c=(t[0],t[1]),i=Object(ve.b)().t,r=Object(Ce.j)(),a=Object(he.ic)(Object(Ae.jsx)(Se.a,{})),s=Object(ke.a)(a,1)[0],b=Object(Le.b)(),o=(b.claimAmount,b.setLastUpdated),d=Object(Ee.Bb)().onMultiClaim,j=Object(Ee.o)(),l=Object(Ie.g)(s),x=l.handleApprove,O=l.requestedApproval,p=Object(Ae.jsx)(_e,{src:"/images/teams/race2.gif",alt:"team avatar"});Object(pe.useCallback)(Object(Re.a)(De.a.mark((function e(){return De.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,d();case 4:e.sent&&(c(!1),o()),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]])}))),[d,c,o]);return Object(Ae.jsxs)(cn,{children:[Object(Ae.jsx)(Ve,{children:Object(Ae.jsx)(he.Ob,{bold:!0,fontSize:"24px",children:"2"})}),Object(Ae.jsxs)(Xe,{children:[Object(Ae.jsxs)(Ze,{children:[Object(Ae.jsxs)(he.R,{alignItems:"center",mb:"16px",children:[Object(Ae.jsx)(nn,{children:p}),Object(Ae.jsx)(en,{children:"Pink Evochicken"})]}),Object(Ae.jsx)(he.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"She does not know she is going to a race, she is in a rush for her date with Leaf Evochicken."})]}),e?Object(Ae.jsx)(rn,{children:r.toNumber()?Object(Ae.jsx)(he.q,{id:"dashboard-buy-tickets",variant:"secondary",onClick:j,children:i("Bet for this Evochicken")}):Object(Ae.jsx)(he.q,{width:"100%",disabled:O,onClick:x,children:i("Approve EGGC for the Race.")})}):Object(Ae.jsx)(rn,{children:Object(Ae.jsx)(Ne.a,{width:"100%"})}),Object(Ae.jsx)(tn,{children:p})]})]})},sn=we.e.div(A||(A=Object(Fe.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 16px 0;\n  text-align: center;\n  width: 56px;\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)})),bn=we.e.div(Q||(Q=Object(Fe.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})),on=we.e.div(q||(q=Object(Fe.a)(["\n  flex: 1;\n"]))),dn=we.e.img(G||(G=Object(Fe.a)(["\n  border-radius: 50%;\n"]))),jn=Object(we.e)(he.S).attrs({as:"h3"})(D||(D=Object(Fe.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),ln=we.e.div(R||(R=Object(Fe.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),dn,(function(e){return e.theme.mediaQueries.md})),xn=we.e.div(B||(B=Object(Fe.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),dn),On=Object(we.e)(he.u)(L||(L=Object(Fe.a)(["\n  display: flex;\n  margin-bottom: 16px;\n"]))),pn=(Object(we.e)(he.u)(I||(I=Object(Fe.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),we.e.div(N||(N=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.img(M||(M=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.div(U||(U=Object(Fe.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),we.e.div(W||(W=Object(Fe.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),hn=function(){var e=Object(Be.c)().account,n=Object(pe.useState)(!1),t=Object(ke.a)(n,2),c=(t[0],t[1]),i=Object(ve.b)().t,r=Object(Ce.j)(),a=(Object(Ce.i)(),Object(he.ic)(Object(Ae.jsx)(Se.a,{}))),s=Object(ke.a)(a,1)[0],b=Object(Le.b)(),o=(b.claimAmount,b.setLastUpdated),d=Object(Ee.Bb)().onMultiClaim,j=Object(Ee.p)(),l=Object(Ie.g)(s),x=l.handleApprove,O=l.requestedApproval,p=Object(Ae.jsx)(dn,{src:"/images/teams/race3.gif",alt:"team avatar"});Object(pe.useCallback)(Object(Re.a)(De.a.mark((function e(){return De.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,d();case 4:e.sent&&(c(!1),o()),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]])}))),[d,c,o]);return Object(Ae.jsxs)(On,{children:[Object(Ae.jsx)(sn,{children:Object(Ae.jsx)(he.Ob,{bold:!0,fontSize:"24px",children:"3"})}),Object(Ae.jsxs)(bn,{children:[Object(Ae.jsxs)(on,{children:[Object(Ae.jsxs)(he.R,{alignItems:"center",mb:"16px",children:[Object(Ae.jsx)(ln,{children:p}),Object(Ae.jsx)(jn,{children:"Black Evochicken"})]}),Object(Ae.jsx)(he.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"The great Rival of White Evochicken, they have 50 wins and 50 losses."})]}),e?Object(Ae.jsx)(pn,{children:r.toNumber()?Object(Ae.jsx)(he.q,{id:"dashboard-buy-tickets",variant:"secondary",onClick:j,children:i("Bet for this Evochicken")}):Object(Ae.jsx)(he.q,{width:"100%",disabled:O,onClick:x,children:i("Approve EGGC for the Race.")})}):Object(Ae.jsx)(pn,{children:Object(Ae.jsx)(Ne.a,{width:"100%"})}),Object(Ae.jsx)(xn,{children:p})]})]})},un=we.e.div(J||(J=Object(Fe.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 16px 0;\n  text-align: center;\n  width: 56px;\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)})),mn=we.e.div(H||(H=Object(Fe.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})),gn=we.e.div(P||(P=Object(Fe.a)(["\n  flex: 1;\n"]))),fn=we.e.img(T||(T=Object(Fe.a)(["\n  border-radius: 50%;\n"]))),vn=Object(we.e)(he.S).attrs({as:"h3"})($||($=Object(Fe.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),kn=we.e.div(Y||(Y=Object(Fe.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),fn,(function(e){return e.theme.mediaQueries.md})),Fn=we.e.div(K||(K=Object(Fe.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),fn),wn=Object(we.e)(he.u)(V||(V=Object(Fe.a)(["\n  display: flex;\n  margin-bottom: 16px;\n"]))),yn=(Object(we.e)(he.u)(X||(X=Object(Fe.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),we.e.div(Z||(Z=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.img(_||(_=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.div(ee||(ee=Object(Fe.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),we.e.div(ne||(ne=Object(Fe.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),Cn=function(){var e=Object(Be.c)().account,n=Object(pe.useState)(!1),t=Object(ke.a)(n,2),c=(t[0],t[1]),i=Object(ve.b)().t,r=Object(Ce.j)(),a=(Object(Ce.i)(),Object(he.ic)(Object(Ae.jsx)(Se.a,{}))),s=Object(ke.a)(a,1)[0],b=Object(Le.b)(),o=(b.claimAmount,b.setLastUpdated),d=Object(Ee.Bb)().onMultiClaim,j=Object(Ee.q)(),l=Object(Ie.g)(s),x=l.handleApprove,O=l.requestedApproval,p=Object(Ae.jsx)(fn,{src:"/images/teams/race4.gif",alt:"team avatar"});Object(pe.useCallback)(Object(Re.a)(De.a.mark((function e(){return De.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,d();case 4:e.sent&&(c(!1),o()),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]])}))),[d,c,o]);return Object(Ae.jsxs)(wn,{children:[Object(Ae.jsx)(un,{children:Object(Ae.jsx)(he.Ob,{bold:!0,fontSize:"24px",children:"4"})}),Object(Ae.jsxs)(mn,{children:[Object(Ae.jsxs)(gn,{children:[Object(Ae.jsxs)(he.R,{alignItems:"center",mb:"16px",children:[Object(Ae.jsx)(kn,{children:p}),Object(Ae.jsx)(vn,{children:"Blue Evochicken"})]}),Object(Ae.jsx)(he.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Calm like the water but fast like the waves."})]}),e?Object(Ae.jsx)(yn,{children:r.toNumber()?Object(Ae.jsx)(he.q,{id:"dashboard-buy-tickets",variant:"secondary",onClick:j,children:i("Bet for this Evochicken")}):Object(Ae.jsx)(he.q,{width:"100%",disabled:O,onClick:x,children:i("Approve EGGC for the Race.")})}):Object(Ae.jsx)(yn,{children:Object(Ae.jsx)(Ne.a,{width:"100%"})}),Object(Ae.jsx)(Fn,{children:p})]})]})},En=we.e.div(te||(te=Object(Fe.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 16px 0;\n  text-align: center;\n  width: 56px;\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)})),zn=we.e.div(ce||(ce=Object(Fe.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})),Sn=we.e.div(ie||(ie=Object(Fe.a)(["\n  flex: 1;\n"]))),An=we.e.img(re||(re=Object(Fe.a)(["\n  border-radius: 50%;\n"]))),Qn=Object(we.e)(he.S).attrs({as:"h3"})(ae||(ae=Object(Fe.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),qn=we.e.div(se||(se=Object(Fe.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),An,(function(e){return e.theme.mediaQueries.md})),Gn=we.e.div(be||(be=Object(Fe.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),An),Dn=Object(we.e)(he.u)(oe||(oe=Object(Fe.a)(["\n  display: flex;\n  margin-bottom: 16px;\n"]))),Rn=(Object(we.e)(he.u)(de||(de=Object(Fe.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),we.e.div(je||(je=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.img(le||(le=Object(Fe.a)(["\n  margin-bottom: 16px;\n"]))),we.e.div(xe||(xe=Object(Fe.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),we.e.div(Oe||(Oe=Object(Fe.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),Bn=function(){var e=Object(Be.c)().account,n=Object(pe.useState)(!1),t=Object(ke.a)(n,2),c=(t[0],t[1]),i=Object(ve.b)().t,r=Object(Ce.j)(),a=(Object(Ce.i)(),Object(he.ic)(Object(Ae.jsx)(Se.a,{}))),s=Object(ke.a)(a,1)[0],b=Object(Le.b)(),o=(b.claimAmount,b.setLastUpdated),d=Object(Ee.Bb)().onMultiClaim,j=Object(Ee.r)(),l=Object(Ie.g)(s),x=l.handleApprove,O=l.requestedApproval,p=Object(Ae.jsx)(An,{src:"/images/teams/race5.gif",alt:"team avatar"});Object(pe.useCallback)(Object(Re.a)(De.a.mark((function e(){return De.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,d();case 4:e.sent&&(c(!1),o()),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]])}))),[d,c,o]);return Object(Ae.jsxs)(Dn,{children:[Object(Ae.jsx)(En,{children:Object(Ae.jsx)(he.Ob,{bold:!0,fontSize:"24px",children:"5"})}),Object(Ae.jsxs)(zn,{children:[Object(Ae.jsxs)(Sn,{children:[Object(Ae.jsxs)(he.R,{alignItems:"center",mb:"16px",children:[Object(Ae.jsx)(qn,{children:p}),Object(Ae.jsx)(Qn,{children:"Red Evochicken"})]}),Object(Ae.jsx)(he.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"At first he is the fastest then he slows down like fire."})]}),e?Object(Ae.jsx)(Rn,{children:r.toNumber()?Object(Ae.jsx)(he.q,{id:"dashboard-buy-tickets",variant:"secondary",onClick:j,children:i("Bet for this Evochicken")}):Object(Ae.jsx)(he.q,{width:"100%",disabled:O,onClick:x,children:i("Approve EGGC for the Race.")})}):Object(Ae.jsx)(Rn,{children:Object(Ae.jsx)(Ne.a,{width:"100%"})}),Object(Ae.jsx)(Gn,{children:p})]})]})};n.default=function(){var e=Object(ve.b)().t,n=Object(ge.J)(),t=n.teams,c=(n.isLoading,Object.values(t));me()(c,["points","id","name"],["desc","asc","asc"]);return Object(Ae.jsxs)(fe.a,{children:[Object(Ae.jsx)(qe,{}),Object(Ae.jsx)(he.R,{alignItems:"center",justifyContent:"space-between",mb:"32px",children:Object(Ae.jsx)(he.S,{scale:"xl",children:e("Runners Chickens: ")})}),Object(Ae.jsx)(he.Ob,{color:"text",children:"Wait 20 seconds once you place the bet for the race to end and show the winner."}),Object(Ae.jsx)(Ke,{}),Object(Ae.jsx)(an,{}),Object(Ae.jsx)(hn,{}),Object(Ae.jsx)(Cn,{}),Object(Ae.jsx)(Bn,{})]})}},893:function(e,n,t){"use strict";var c,i=t(28),r=t(11).e.div(c||(c=Object(i.a)(["\n  border-bottom: 2px solid ",";\n  margin-bottom: 24px;\n  padding-bottom: 24px;\n"])),(function(e){return e.theme.colors.textSubtle}));n.a=r}}]);
  //# sourceMappingURL=34.a05554a0.chunk.js.map