"use strict";(self.webpackChunkfrog=self.webpackChunkfrog||[]).push([[5459],{33899:(e,n,t)=>{t.d(n,{Eb:()=>ee,Jt:()=>Q,OA:()=>W,eB:()=>V,gk:()=>Z,lf:()=>$,qv:()=>J});var r,i,a,s,o,c,l,d,p,x,u,f,g,h,m,b,y,w,j,v,S,k,C=t(74848),F=t(96540),A=t(9428),I=t(99770),T=t(21276),_=t(73062),E=t(88072),z=(t(69237),t(10068),t(12157)),M=t(49213),P=t(78577),R=t(25917),B=t(28870),O=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},G=function(e,n,t,r){return new(t||(t=Promise))((function(i,a){function s(e){try{c(r.next(e))}catch(e){a(e)}}function o(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(s,o)}c((r=r.apply(e,n||[])).next())}))},U=function(e,n){var t,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=o(0),s.throw=o(1),s.return=o(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(o){return function(c){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(a=0)),a;)try{if(t=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=1024,t=(0,F.useContext)(B.b),r=t.walletAddress,i=t.provider,a=t.stakingContract,s=t.presaleContract,o=t.tokenContract,c=(t.openAppKitModal,t.disconnectWallet,(0,F.useState)(!1)),l=c[0],d=c[1],p=(0,F.useState)("0"),x=p[0],u=p[1],f=(0,F.useState)("0"),g=f[0],h=f[1],m=(0,F.useState)("0"),b=m[0],y=m[1],w=(0,F.useState)("0%"),j=w[0],v=w[1],S=(0,F.useState)(0),k=S[0],A=S[1],O=(0,F.useState)(0),J=O[0],ne=O[1],te=(0,F.useState)(0),re=te[0],ie=te[1],ae=(0,F.useState)(!1),se=ae[0],oe=ae[1],ce=(0,F.useState)(!1),le=ce[0],de=ce[1],pe=(0,F.useState)(""),xe=pe[0],ue=pe[1],fe=(0,F.useState)(!1),ge=(fe[0],fe[1]);(0,F.useEffect)((function(){he(),me()}),[r,a,s,o]);var he=function(){return G(void 0,void 0,void 0,(function(){var e;return U(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),s?[4,s.isPresaleEnded()]:[2];case 1:return e=n.sent(),d(e),[3,3];case 2:return n.sent(),[3,3];case 3:return[2]}}))}))},me=function(){return G(void 0,void 0,void 0,(function(){var e,n,t,i,s,c,l,d,p,x,f,g,m,b,w;return U(this,(function(j){switch(j.label){case 0:return j.trys.push([0,7,,8]),a?[4,(e=a).getTotalStaked()]:[2];case 1:return n=j.sent(),t=parseFloat((0,I.Js)(n,18)),u(String(Math.floor(t))),[4,e.rewardPerSecond()];case 2:return i=j.sent(),s=i*BigInt(86400),c=parseFloat((0,I.Js)(s,18)),l=0,t>0&&(l=365*(c/t)*100),v(l.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})+"%"),r&&o?[4,o.balanceOf(r)]:[3,6];case 3:return d=j.sent(),p=parseFloat((0,I.Js)(d,18)),[4,e.stakers(r)];case 4:return x=j.sent(),f=parseFloat((0,I.Js)(x.amount,18)),g=String(100*f/t),h(parseFloat(g).toFixed(2)+" %"),m=c*(parseFloat(g)/100),y("".concat(new Intl.NumberFormat(void 0,{maximumFractionDigits:0}).format(m)," GMF")),[4,e.getPendingRewards(r)];case 5:b=j.sent(),w=parseFloat((0,I.Js)(b,18)),A(p),ne(f),ie(w),j.label=6;case 6:return[3,8];case 7:return j.sent(),[3,8];case 8:return[2]}}))}))},be=function(){return k};return(0,C.jsxs)(z.mO,{style:{background:"linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(104,114,227,1) 74%, rgba(164,124,245,1) 100%)"},children:[(0,C.jsxs)(z.mc,{isPadding:!0,imageUrl:n?"/assets/images/staking-bg.png":"/assets/images/coins-bg.png",height:n?(0,P.c)(2340,e):3636,style:{backgroundPositionY:"bottom",height:"auto"},children:[(0,C.jsx)(T.Y,{}),!n&&(0,C.jsx)(R.p,{children:[{top:0,delay:0,duration:30},{top:20,delay:0,duration:50},{top:180,delay:0,duration:30},{top:220,delay:0,duration:40},{top:80,delay:0,duration:80},{top:240,delay:0,duration:20}].map((function(e,n){return(0,C.jsx)(R.E,{top:e.top,duration:e.duration,delay:e.delay,children:(0,C.jsx)("svg",{width:"240",height:"97",viewBox:"0 0 240 97",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,C.jsx)("path",{d:"M239.111 44.6661C239.111 32.9811 223.866 23.5085 205.06 23.5085C204.118 23.5085 203.188 23.5386 202.265 23.5853C199.457 13.6578 185.521 6.11221 168.739 6.11221C160.52 6.11221 152.982 7.92191 147.098 10.9347C141.296 4.41584 130.123 0 117.285 0C104.505 0 93.3759 4.37737 87.552 10.8484C82.0369 8.45835 75.335 7.05255 68.1011 7.05255C49.2955 7.05255 34.0506 16.5251 34.0506 28.2102C15.2449 28.2102 0 37.6828 0 49.3678C0 61.0528 15.2449 70.5254 34.0506 70.5254C34.0506 82.2105 49.2955 91.6831 68.1011 91.6831C77.0787 91.6831 85.2395 89.5208 91.3229 85.9931C97.1434 92.4715 108.28 96.8549 121.069 96.8549C136.438 96.8549 149.424 90.5264 153.659 81.8355C159.34 84.4767 166.394 86.041 174.036 86.041C192.381 86.041 207.33 77.0261 208.052 65.7377C225.455 64.7954 239.111 55.7242 239.111 44.6661Z",fill:"white"})})},n)}))}),(0,C.jsx)(Y,{style:{margin:"40px auto"},children:(0,C.jsx)(z.tD,{style:{justifyContent:"center"},children:n?(0,C.jsxs)("span",{children:["Welcome to the"," ",(0,C.jsx)(z.H8,{delay:0,duration:.6,bgColor:"#20C954",size:n?28:16,children:"Gamefrog"}),(0,C.jsx)("br",{}),(0,C.jsx)(z.H8,{delay:0,duration:1,bgColor:"#C92064",color:"#FFF",size:n?28:16,children:"AI-Staking"})," ","experience"]}):(0,C.jsxs)("span",{children:["Welcome to the",(0,C.jsx)("br",{}),(0,C.jsxs)("div",{style:{display:"flex",gap:"8px",justifyContent:"center"},children:[(0,C.jsx)(z.H8,{delay:0,duration:1.2,bgColor:"#20C954",size:n?28:16,children:"Gamefrog"}),(0,C.jsx)("br",{}),(0,C.jsx)(z.H8,{delay:0,duration:1,bgColor:"#C92064",color:"#FFF",size:n?28:16,children:"Staking"})]}),"experience"]})})}),(0,C.jsx)(q,{children:(0,C.jsxs)(N,{children:[(0,C.jsxs)(H,{children:[(0,C.jsx)(z.rd,{center:!0,children:"Total Staked"}),(0,C.jsx)(z.x5,{center:!0,children:x})]}),(0,C.jsxs)(H,{children:[(0,C.jsx)(z.rd,{center:!0,children:"Your % of Pool"}),(0,C.jsx)(z.x5,{center:!0,children:g})]}),(0,C.jsxs)(H,{children:[(0,C.jsx)(z.rd,{center:!0,children:"Your expected Daily Reward"}),(0,C.jsx)(z.x5,{center:!0,children:b})]}),(0,C.jsxs)(H,{children:[(0,C.jsx)(z.rd,{center:!0,children:"APY"}),(0,C.jsx)(z.x5,{center:!0,children:j})]})]})}),(0,C.jsxs)(K,{style:{marginBottom:"30px",padding:"0 16px"},children:[(0,C.jsx)(D,{children:(0,C.jsx)(_.B,{title:"STAKE",text:"Your stakeable GMF: ".concat(Math.floor(k+J)," (available ").concat(Math.floor(be()),")"),value:String(Math.floor(be())),buttonText:"STAKE",onAction:function(e){return function(e){return G(void 0,void 0,void 0,(function(){var n;return U(this,(function(t){switch(t.label){case 0:if(!i||!r)return ge(!0),[2];if(!e||Number(e)<=0)return alert("Please enter a valid amount"),[2];oe(!0),t.label=1;case 1:return t.trys.push([1,10,11,12]),[4,i.getSigner()];case 2:if(n=t.sent(),l)return[3,5];if(!s)throw new Error("Presale contract not found");return[4,s.connect(n).stakeFromPending((0,I.XS)(e,18))];case 3:return[4,t.sent().wait()];case 4:return t.sent(),ue("Staked ".concat(e," from pending successfully!")),[3,8];case 5:if(!a)throw new Error("Staking contract not found");return[4,a.connect(n).stake((0,I.XS)(e,18))];case 6:return[4,t.sent().wait()];case 7:t.sent(),ue("Staked ".concat(e," GMF successfully!")),t.label=8;case 8:return[4,me()];case 9:return t.sent(),de(!0),[3,12];case 10:return t.sent(),alert("Error in handleStake. Check console."),[3,12];case 11:return oe(!1),[7];case 12:return[2]}}))}))}(e)}})}),(0,C.jsx)(D,{children:l?(0,C.jsx)(_.B,{title:"CLAIM",text:"Your Rewards: ".concat(Math.floor(re)),value:"0",buttonText:"CLAIM",onAction:function(){return G(void 0,void 0,void 0,(function(){var e;return U(this,(function(n){switch(n.label){case 0:if(!i||!a||!r)return ge(!0),[2];if(!l)return alert("You can withdraw after Presale!"),[2];oe(!0),n.label=1;case 1:return n.trys.push([1,6,7,8]),[4,i.getSigner()];case 2:return e=n.sent(),[4,a.connect(e).claimReward()];case 3:return[4,n.sent().wait()];case 4:return n.sent(),ue("Claimed successfully!"),[4,me()];case 5:return n.sent(),de(!0),[3,8];case 6:return n.sent(),alert("Error claiming reward. Check console."),[3,8];case 7:return oe(!1),[7];case 8:return[2]}}))}))}}):(0,C.jsx)(_.B,{title:"CLAIM",text:"Your Rewards: ".concat(Math.floor(re)," (available after presale)"),value:"0",buttonText:"CLAIM",onAction:function(){return alert("Presale not ended!")},disabled:!0})}),(0,C.jsx)(D,{children:l?(0,C.jsx)(_.B,{title:"UNSTAKE",text:"You have staked: ".concat(Math.floor(J)," GMF (available after presale)"),value:String(Math.floor(J)),buttonText:"UNSTAKE",onAction:function(e){return function(e){return G(void 0,void 0,void 0,(function(){var n;return U(this,(function(t){switch(t.label){case 0:if(!i||!a||!r)return ge(!0),[2];if(!e||Number(e)<=0)return alert("Enter a valid amount"),[2];if(!l)return alert("You can withdraw after Presale!"),[2];oe(!0),t.label=1;case 1:return t.trys.push([1,6,7,8]),[4,i.getSigner()];case 2:return n=t.sent(),[4,a.connect(n).withdraw((0,I.XS)(e,18))];case 3:return[4,t.sent().wait()];case 4:return t.sent(),ue("Unstaked successfully!"),[4,me()];case 5:return t.sent(),de(!0),[3,8];case 6:return t.sent(),alert("Error unstaking. Check console."),[3,8];case 7:return oe(!1),[7];case 8:return[2]}}))}))}(e)}}):(0,C.jsx)(_.B,{title:"UNSTAKE",text:"You have staked: ".concat(Math.floor(J)," GMF (available after presale)"),value:"0",buttonText:"UNSTAKE",onAction:function(){return alert("Presale not ended!")},disabled:!0})})]}),(0,C.jsx)(Y,{style:{marginBottom:"30px",padding:"0 16px"},children:!r&&(0,C.jsx)(z.H7,{bgColor:"#20C954",style:{textTransform:"none"},onClick:function(){ge(!0)},color:"#000",children:"Connect Wallet"})}),(0,C.jsx)(W,{style:{marginBottom:"60px",padding:"0 16px"},children:(0,C.jsxs)(Z,{style:{flex:1},children:[(0,C.jsx)(V,{style:{justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("img",{src:"/assets/images/logo_staking.png",style:{width:"250px"},alt:"logo"})}),(0,C.jsxs)(V,{children:[(0,C.jsx)(z.Sx,{center:!0,children:"Join the"}),(0,C.jsx)(z.Sx,{center:!0,color:"#20C954",children:(0,C.jsx)(ee,{children:"GAMEFROG"})}),(0,C.jsx)(z.Sx,{center:!0,children:"Community"}),(0,C.jsx)(z.In,{center:!0,children:"Stay connected with our global movement:"}),(0,C.jsxs)($,{children:[(0,C.jsxs)(Q,{children:[(0,C.jsx)("a",{href:"https://x.com/gamefrogvip/",target:"_blank",rel:"noreferrer",children:(0,C.jsxs)(z.Iq,{bgColor:"#FFF",style:{width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"20px 24px":"16px",fontSize:"24px"},children:[(0,C.jsx)("img",{width:n?24:32,src:"/assets/images/xx.png",alt:"X"}),n&&"Twitter"]})}),(0,C.jsx)("a",{href:"https://t.me/gamefrogtoken",target:"_blank",rel:"noreferrer",children:(0,C.jsxs)(z.Iq,{bgColor:"#FFF",style:{width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"20px 24px":"16px",fontSize:"24px"},children:[(0,C.jsx)("img",{width:n?24:32,src:"/assets/images/t.png",alt:"T"}),n&&"Telegram"]})})]}),(0,C.jsxs)(Q,{style:{height:"auto",flexDirection:"row"},children:[(0,C.jsx)("a",{href:"https://www.facebook.com/gamefrogvip",target:"_blank",rel:"noreferrer",children:(0,C.jsxs)(z.Iq,{bgColor:"#FFF",style:{width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"20px 24px":"16px",fontSize:"24px"},children:[(0,C.jsx)("img",{width:n?24:32,src:"/assets/images/f.png",alt:"F"}),n&&"Facebook"]})}),(0,C.jsx)("a",{href:"https://www.instagram.com/gamefrogvip/",target:"_blank",rel:"noreferrer",children:(0,C.jsxs)(z.Iq,{bgColor:"#FFF",style:{width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"20px 24px":"16px",fontSize:"24px"},children:[(0,C.jsx)("img",{width:n?24:32,src:"/assets/images/i.png",alt:"I"}),n&&"Instagram"]})})]})]})]})]})})]}),(0,C.jsx)(X,{children:(0,C.jsx)(z.rd,{center:!0,style:{fontWeight:"bold"},children:"© 2025 GameFrog | All Rights Reserved"})}),se&&(0,C.jsx)(L,{children:(0,C.jsx)("div",{children:(0,C.jsx)(z.x5,{children:"Loading..."})})}),le&&(0,C.jsxs)(E.A,{onClose:function(){return de(!1)},children:[(0,C.jsx)("img",{height:179,src:"/assets/images/success_staked_modal.png",alt:"success"}),(0,C.jsx)(z.wt,{color:"#20C954",children:"SUCCESS"}),(0,C.jsx)(z.rd,{center:!0,style:{marginTop:"10px"},children:xe}),(0,C.jsx)(z.H7,{bgColor:"#20C954",style:{textTransform:"none",marginTop:"30px"},onClick:function(){return de(!1)},children:(0,C.jsx)(z.rd,{children:"OK"})})]})]})}),L=A.Ay.div(r||(r=O(["\n position: fixed;\n z-index: 9999;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n div {\n background: #ffffff;\n padding: 40px;\n border-radius: 12px;\n font-size: 24px;\n font-weight: bold;\n }\n"],["\n position: fixed;\n z-index: 9999;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n div {\n background: #ffffff;\n padding: 40px;\n border-radius: 12px;\n font-size: 24px;\n font-weight: bold;\n }\n"]))),Y=A.Ay.div(i||(i=O(["\n display: flex;\n width: 100%;\n max-width: 1376px;\n padding: 20px 0;\n margin: 0 auto;\n gap: 20px;\n justify-content: center;\n @media (max-width: 1024px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n width: 100%;\n max-width: 1376px;\n padding: 20px 0;\n margin: 0 auto;\n gap: 20px;\n justify-content: center;\n @media (max-width: 1024px) {\n flex-direction: column;\n }\n"]))),q=(A.Ay.div(a||(a=O(["\n display: flex;\n justify-content: center;\n width: 100%;\n"],["\n display: flex;\n justify-content: center;\n width: 100%;\n"]))),A.Ay.div(s||(s=O(["\n width: 100%;\n min-width: 1024px;\n position: relative;\n z-index: 1;\n @media (max-width: 1024px) {\n min-width: 100%;\n }\n overflow-x: auto;\n &::-webkit-scrollbar {\n display: none;\n }\n"],["\n width: 100%;\n min-width: 1024px;\n position: relative;\n z-index: 1;\n @media (max-width: 1024px) {\n min-width: 100%;\n }\n overflow-x: auto;\n &::-webkit-scrollbar {\n display: none;\n }\n"])))),N=A.Ay.div(o||(o=O(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n max-width: 1376px;\n margin: 30px auto 30px;\n min-width: 600px;\n flex-wrap: nowrap;\n padding: 0 16px;\n gap: 10px;\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n max-width: 1376px;\n margin: 30px auto 30px;\n min-width: 600px;\n flex-wrap: nowrap;\n padding: 0 16px;\n gap: 10px;\n"]))),H=A.Ay.div(c||(c=O(["\n width: 250px;\n height: 134px;\n background-color: #ffffff;\n border-radius: 24px;\n border: 1px solid #000000;\n padding: 20px;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n flex-shrink: 0;\n"],["\n width: 250px;\n height: 134px;\n background-color: #ffffff;\n border-radius: 24px;\n border: 1px solid #000000;\n padding: 20px;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n flex-shrink: 0;\n"]))),K=A.Ay.div(l||(l=O(["\n display: flex;\n width: 100%;\n max-width: 1376px;\n margin: 0 auto;\n padding: 30px 0;\n gap: 20px;\n @media (max-width: 1024px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n width: 100%;\n max-width: 1376px;\n margin: 0 auto;\n padding: 30px 0;\n gap: 20px;\n @media (max-width: 1024px) {\n flex-direction: column;\n }\n"]))),D=A.Ay.div(d||(d=O(["\n width: 33.3%;\n display: flex;\n justify-content: center;\n @media (max-width: 1024px) {\n width: 100%;\n }\n"],["\n width: 33.3%;\n display: flex;\n justify-content: center;\n @media (max-width: 1024px) {\n width: 100%;\n }\n"]))),X=A.Ay.div(p||(p=O(["\n width: 100%;\n padding: 24px;\n border-top: 1px solid #000000;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n"],["\n width: 100%;\n padding: 24px;\n border-top: 1px solid #000000;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n"]))),W=A.Ay.div(x||(x=O(["\n display: flex;\n width: 100%;\n max-width: 1376px;\n margin: 0 auto;\n gap: 32px;\n justify-content: center;\n align-items: stretch;\n @media (max-width: 1024px) {\n flex-direction: column-reverse;\n height: auto;\n }\n"],["\n display: flex;\n width: 100%;\n max-width: 1376px;\n margin: 0 auto;\n gap: 32px;\n justify-content: center;\n align-items: stretch;\n @media (max-width: 1024px) {\n flex-direction: column-reverse;\n height: auto;\n }\n"]))),$=A.Ay.div(u||(u=O(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 20px;\n @media (max-width: 1024px) {\n flex-direction: row;\n justify-content: center;\n gap: 8px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 20px;\n @media (max-width: 1024px) {\n flex-direction: row;\n justify-content: center;\n gap: 8px;\n }\n"]))),Q=A.Ay.div(f||(f=O(["\n display: flex;\n gap: 8px;\n justify-content: center;\n"],["\n display: flex;\n gap: 8px;\n justify-content: center;\n"]))),Z=A.Ay.div(g||(g=O(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 32px;\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 32px;\n"]))),V=A.Ay.div(h||(h=O(["\n padding: 40px;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n background-color: #ffffff;\n border-radius: 24px;\n border: 1px solid #000000;\n box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 1);\n flex: 1;\n"],["\n padding: 40px;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n background-color: #ffffff;\n border-radius: 24px;\n border: 1px solid #000000;\n box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 1);\n flex: 1;\n"]))),ee=A.Ay.span(m||(m=O(["\n text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px,\n rgb(0, 0, 0) 2.35766px 1.85511px 0px,\n rgb(0, 0, 0) 1.62091px 2.52441px 0px,\n rgb(0, 0, 0) 0.705713px 2.91581px 0px,\n rgb(0, 0, 0) -0.287171px 2.98622px 0px,\n rgb(0, 0, 0) -1.24844px 2.72789px 0px,\n rgb(0, 0, 0) -2.07227px 2.16926px 0px,\n rgb(0, 0, 0) -2.66798px 1.37182px 0px,\n rgb(0, 0, 0) -2.96998px 0.42336px 0px,\n rgb(0, 0, 0) -2.94502px -0.571704px 0px,\n rgb(0, 0, 0) -2.59586px -1.50383px 0px,\n rgb(0, 0, 0) -1.96093px -2.27041px 0px,\n rgb(0, 0, 0) -1.11013px -2.78704px 0px,\n rgb(0, 0, 0) -0.137119px -2.99686px 0px,\n rgb(0, 0, 0) 0.850987px -2.87677px 0px,\n rgb(0, 0, 0) 1.74541px -2.43999px 0px,\n rgb(0, 0, 0) 2.44769px -1.73459px 0px,\n rgb(0, 0, 0) 2.88051px -0.838247px 0px;\n"],["\n text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px,\n rgb(0, 0, 0) 2.35766px 1.85511px 0px,\n rgb(0, 0, 0) 1.62091px 2.52441px 0px,\n rgb(0, 0, 0) 0.705713px 2.91581px 0px,\n rgb(0, 0, 0) -0.287171px 2.98622px 0px,\n rgb(0, 0, 0) -1.24844px 2.72789px 0px,\n rgb(0, 0, 0) -2.07227px 2.16926px 0px,\n rgb(0, 0, 0) -2.66798px 1.37182px 0px,\n rgb(0, 0, 0) -2.96998px 0.42336px 0px,\n rgb(0, 0, 0) -2.94502px -0.571704px 0px,\n rgb(0, 0, 0) -2.59586px -1.50383px 0px,\n rgb(0, 0, 0) -1.96093px -2.27041px 0px,\n rgb(0, 0, 0) -1.11013px -2.78704px 0px,\n rgb(0, 0, 0) -0.137119px -2.99686px 0px,\n rgb(0, 0, 0) 0.850987px -2.87677px 0px,\n rgb(0, 0, 0) 1.74541px -2.43999px 0px,\n rgb(0, 0, 0) 2.44769px -1.73459px 0px,\n rgb(0, 0, 0) 2.88051px -0.838247px 0px;\n"])));A.Ay.div(b||(b=O(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 9px 8px;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 9px 8px;\n"]))),A.Ay.div(y||(y=O(["\n margin-top: 20px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n"],["\n margin-top: 20px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n"]))),A.Ay.input(w||(w=O(["\n padding: 12px;\n border: 1px solid #000000;\n border-radius: 12px;\n font-size: 16px;\n"],["\n padding: 12px;\n border: 1px solid #000000;\n border-radius: 12px;\n font-size: 16px;\n"]))),A.Ay.textarea(j||(j=O(["\n padding: 12px;\n border: 1px solid #000000;\n border-radius: 12px;\n font-size: 16px;\n resize: none;\n min-height: 80px;\n"],["\n padding: 12px;\n border: 1px solid #000000;\n border-radius: 12px;\n font-size: 16px;\n resize: none;\n min-height: 80px;\n"]))),A.Ay.div(v||(v=O(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]))),A.Ay.a(S||(S=O(["\n color: #000;\n font-weight: bold;\n text-decoration: none;\n"],["\n color: #000;\n font-weight: bold;\n text-decoration: none;\n"]))),A.Ay.button(k||(k=O(["\n background: #20c954;\n color: #fff;\n font-size: 16px;\n border: 1px solid #000000;\n border-radius: 12px;\n padding: 12px 24px;\n cursor: pointer;\n &:hover {\n opacity: 0.9;\n }\n"],["\n background: #20c954;\n color: #fff;\n font-size: 16px;\n border: 1px solid #000000;\n border-radius: 12px;\n padding: 12px 24px;\n cursor: pointer;\n &:hover {\n opacity: 0.9;\n }\n"])))},56827:(e,n,t)=>{t.d(n,{M:()=>F});var r=t(74848),i=t(96540),a=t(78288),s=t(9428),o=t(49213),c=t(21276),l=t(38250),d=t(55281),p=t(7028),x=t(4689),u=t(28870),f=t(10159),g=t(60433),h=t(12157),m=t(33899),b=t(99770),y=t(41452),w=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},j=function(e,n,t,r){return new(t||(t=Promise))((function(i,a){function s(e){try{c(r.next(e))}catch(e){a(e)}}function o(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(s,o)}c((r=r.apply(e,n||[])).next())}))},v=function(e,n){var t,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=o(0),s.throw=o(1),s.return=o(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(o){return function(c){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(a=0)),a;)try{if(t=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1024,t=(0,i.useState)(null),s=(t[0],t[1]),w=(0,i.useState)(null),k=(w[0],w[1]),C=(0,i.useState)(null),F=(C[0],C[1]),A=(0,i.useState)(0);A[0],A[1];(0,i.useEffect)((function(){fetch("/assets/lottie/data.json").then((function(e){return e.json()})).then((function(e){return s(e)})).catch((function(e){})),fetch("/assets/lottie/Infographics.json").then((function(e){return e.json()})).then((function(e){return k(e)})).catch((function(e){})),fetch("/assets/lottie/Infographics_mob.json").then((function(e){return e.json()})).then((function(e){return F(e)})).catch((function(e){}))}),[]);var I=(0,i.useState)(""),T=(I[0],I[1],(0,i.useState)(-1)),_=(T[0],T[1],(0,i.useState)(0)),E=(_[0],_[1]),z=(0,i.useContext)(u.b),M=z.walletAddress,P=z.infuraProvider,R=z.presaleContract,B=z.stakingContract,O=z.provider,G=(0,i.useState)(0),U=(G[0],G[1]),J=(0,i.useState)(null),L=(J[0],J[1],(0,i.useState)([])),Y=(L[0],L[1]),q=(0,i.useState)([]),N=(q[0],q[1]),H=(0,i.useState)(0),K=(H[0],H[1]),D=(0,i.useState)(!1),X=(D[0],D[1]);(0,i.useEffect)((function(){R&&P&&X(!0)}),[R,P]),(0,i.useEffect)((function(){fetch("./api/get_purchase_data.php").then((function(e){return e.json()})).then((function(e){K(e.holders+500),Y(e.recent_transactions),N(e.largest_buys)})).catch((function(e){}))}),[]);return(0,i.useEffect)((function(){var e=f.Fr?"mobile":"desktop";f.Fr&&(e=f.m0?"android":f.un?"ios":"mobile");var n=new URLSearchParams(window.location.search).get("click_id")||"",t=new URLSearchParams(window.location.search),r=t.get("s1")||t.get("utm_source")||"",i=t.get("s2")||t.get("utm_medium")||"",a=t.get("s3")||"",s=t.get("aff_id")||"",o=t.get("ref")||"";j(void 0,void 0,void 0,(function(){var t;return v(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),sessionStorage.getItem("click_recorded")?[2]:(t=new URLSearchParams({action:"click",device:e,click_id:n,s1:r,s2:i,s3:a,referrer:encodeURIComponent(document.referrer),aff_id:s}),[4,fetch("./api/handler.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t.toString()})]);case 1:return[4,o.sent().json()];case 2:case 3:return o.sent(),sessionStorage.setItem("click_recorded","true"),[3,4];case 4:return[2]}}))})),/^0x[a-fA-F0-9]{40}$/.test(o)&&j(void 0,void 0,void 0,(function(){var e;return v(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),sessionStorage.getItem("referral_click_recorded")?[2]:(e=new URLSearchParams({action:"click",referral:o,referrer:encodeURIComponent(document.referrer)}),[4,fetch("./api/bonus.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:e.toString()})]);case 1:return[4,n.sent().json()];case 2:return n.sent(),sessionStorage.setItem("referral_click_recorded","true"),localStorage.setItem("referral_wallet",o),[3,4];case 3:return n.sent(),sessionStorage.setItem("referral_click_recorded","true"),[3,4];case 4:return[2]}}))}))}),[]),(0,i.useEffect)((function(){if(M&&R&&B&&O){j(void 0,void 0,void 0,(function(){var e,n,t,r,i,a;return v(this,(function(s){switch(s.label){case 0:return s.trys.push([0,4,,5]),[4,R.pendingClaims(M)];case 1:return e=s.sent(),n=Number((0,b.Js)(e,18)),[4,B.stakers(M)];case 2:return t=s.sent(),r=Number((0,b.Js)(t[0],18)),[4,B.getPendingRewards(M)];case 3:return i=s.sent(),a=Number((0,b.Js)(i,18)),U(Math.floor(n+r+a)),[3,5];case 4:return s.sent(),U(0),[3,5];case 5:return[2]}}))}))}else U(0)}),[M,R,B,O]),(0,i.useEffect)((function(){if(B){j(void 0,void 0,void 0,(function(){var e,n;return v(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,B.getTotalStaked()];case 1:return e=t.sent(),(n=parseFloat((0,b.Js)(e,18)))<=0?(E(0),[2]):(E(599642857.1428572/n*100),[3,3]);case 2:return t.sent(),E(0),[3,3];case 3:return[2]}}))}))}}),[B]),(0,r.jsxs)(h.mO,{children:[!n&&(0,r.jsx)(c.Y,{}),(0,r.jsx)(l.A,{text:"  🔥🔥🔥   BREAKING: 🐸 #1 Deepseek Meme Coin // Last Chance!!! // Huge Early Staking Rewards   🔥🔥🔥   BREAKING: 🐸 #1 Deepseek Meme Coin // Last Chance!!! // Huge Early Staking Rewards\n"}),n&&(0,r.jsx)(c.Y,{}),(0,r.jsx)(a.A,{children:(0,r.jsx)(y.o,{})}),(0,r.jsx)(h.mc,{id:"faq",imageUrl:n?"/assets/images/faq-bg.jpg":"/assets/images/faq-bg-mob.jpg",height:n?S(1050,e):1221*e/375-2,style:{backgroundSize:"100% 100%",height:"auto",paddingBottom:"50px"},children:(0,r.jsx)(h.m$,{children:(0,r.jsx)(h.ty,{children:(0,r.jsxs)(h.nE,{children:[(0,r.jsx)(h.p7,{style:{marginBottom:"30px",marginTop:n?0:"50px"},children:(0,r.jsx)("span",{children:"FAQ"})}),p.t.map((function(e,n){return(0,r.jsx)(d.S,{btnText:e.btnText,text:"string"==typeof e.text?(0,r.jsx)(h.rd,{color:"var(--text-grey)",center:!1,dangerouslySetInnerHTML:{__html:e.text}}):e.text.map((function(e,n){return(0,r.jsx)(h.rd,{color:"var(--text-grey)",center:!1,dangerouslySetInnerHTML:{__html:e}},n)}))},n)}))]})})})}),(0,r.jsx)(h.mc,{id:"contact",imageUrl:n?"/assets/images/final-bg.jpg":"/assets/images/final-bg-mob.jpg",height:n?S(979,e):1198*e/375-2,style:n?{height:"fit-content",paddingTop:"200px"}:{backgroundSize:"100% 100%",height:"fit-content",backgroundPosition:"bottom center",paddingBottom:"50px"},children:(0,r.jsx)(h.m$,{style:{height:"fit-content",paddingBottom:"80px"},children:(0,r.jsxs)(m.OA,{children:[(0,r.jsxs)(m.gk,{style:{flex:1},children:[(0,r.jsxs)(m.eB,{style:{justifyContent:"center",alignItems:"center",gap:"6px"},children:[(0,r.jsx)("img",{src:"/assets/images/logo_staking.png",style:{width:"123px"},alt:"logo"}),(0,r.jsx)("img",{src:x,style:{width:"193px"},alt:"logo"}),(0,r.jsx)(h.rd,{color:"#00000080",children:"©GameFrog 2025 - All Rights Reserved"})]}),(0,r.jsxs)(m.eB,{id:"telegram",children:[(0,r.jsx)(h.Sx,{center:!0,children:"Join the"}),(0,r.jsx)(h.Sx,{center:!0,color:"#20C954",children:(0,r.jsx)(m.Eb,{children:"GAMEFROG"})}),(0,r.jsx)(h.Sx,{center:!0,children:"Community"}),(0,r.jsx)(h.In,{center:!0,children:"Stay connected with our global movement:"}),(0,r.jsxs)(m.lf,{children:[(0,r.jsxs)(m.Jt,{children:[(0,r.jsx)("a",{href:"https://x.com/gamefrogvip/",target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(h.Iq,{bgColor:"#FFF",style:{margin:"0",width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"17px 24px":"16px",fontSize:"24px"},children:[(0,r.jsx)("img",{style:{height:n?24:32},src:"/assets/images/xx.png",alt:"X"}),n&&"Twitter"]})}),(0,r.jsx)("a",{href:"https://t.me/gamefrogtoken",target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(h.Iq,{bgColor:"#FFF",style:{margin:"0",width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"17px 24px":"16px",fontSize:"24px"},children:[(0,r.jsx)("img",{style:{height:n?24:32},src:"/assets/images/t.png",alt:"T"}),n&&"Telegram"]})})]}),(0,r.jsxs)(m.Jt,{style:{height:"auto",flexDirection:"row"},children:[(0,r.jsx)("a",{href:"https://www.facebook.com/gamefrogvip",target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(h.Iq,{bgColor:"#FFF",style:{margin:"0",width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"17px 24px":"16px",fontSize:"24px"},children:[(0,r.jsx)("img",{style:{height:n?24:32},src:"/assets/images/f.png",alt:"F"}),n&&"Facebook"]})}),(0,r.jsx)("a",{href:"https://www.instagram.com/gamefrogvip/",target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(h.Iq,{bgColor:"#FFF",style:{margin:"0",width:n?"184px":"64px",display:"flex",gap:"16px",padding:n?"17px 24px":"16px",fontSize:"24px"},children:[(0,r.jsx)("img",{style:{height:n?24:32},src:"/assets/images/i.png",alt:"I"}),n&&"Instagram"]})})]})]})]})]})," ",(0,r.jsx)(g.A,{})]})})})]})}}}]);