PageSourceSearch

https://www.bedrockswap.finance/_next/static/chunks/pages/earnbitcoin-9e8b4cda97259e42.js

js bedrockswap.finance collected 2026-10-08 01:45:53 UTC 30,342 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1174],{32605:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return oe}});var i=n(52015),r=n(67294),a=n(5679),s=n(83166),o=n(85456),c=n(70075),d=i.ZP.div.withConfig({displayName:"EarnTimeWrapper",componentId:"sc-1z06yjn-0"})(["width:100%;"]),l=(n(85734),n(85893));var p=function(){return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(d,{children:(0,l.jsx)(c.Z,{})})})},u=[{id:0,work:"Stake your ROCK and passively earn BTCB every day."},{id:1,work:"Use the Deposit Section to invest ROCK."},{id:2,work:"There is a transaction fee of 10% on deposits and withdrawals. Each 10% is distributed as follows: 2.5% is instantly distributed in ROCK to Stakers in this pool, 5% is sent to a Dead Wallet (similar to a burn wallet), 2.5% is sent to the Developing and Marketing Wallet."},{id:3,work:"Every day 1% of the BTCB pool will be dripped to Stakers, based upon the percentage of the pool they have."},{id:4,work:"BTCB is added to the pool as Projects are funded. Funded Projects contribute 2.5% of their collateral to be converted and added to the pool."},{id:5,work:"When the 24 hour timer is up the smart contract needs one ROCKER to press the button to drip the BTCB."}],h=n(84409);var x=function(){var e=u.map((function(e){return e.work}));return(0,l.jsx)(h.n,{hideVideo:!0,paragraphs:e,title:"How It Works"})},f=i.ZP.div.withConfig({displayName:"EarnWrapper",componentId:"sc-i708ww-0"})(["width:100%;display:flex;gap:100px;justify-content:flex-start;flex-direction:column;z-index:1;position:relative;"]),m=n(16835),w=n(86550),g=n(95774),y={src:"/_next/static/media/smallrock.b85ceb4c.png",height:51,width:56,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAaVBMVEWkpKWqq6yVlZXCurbDw8Ps5+WFhYLJycnP0NDFxcWztLVMaXEoKCi5urpgYGBqamqsrKyPj4+GhoawnJaZmpu3vb9oZmbAwMBRUVF1c3NLS0tUVFRNTU3VzMbDrKLX1tafgHWIiIiNjIxYN/84AAAAHXRSTlP6l8v77/4u/vz+/gAo/rD2wDnF/OaVa9mm0ZTRWcOq49MAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA/SURBVHicBcGFAcAwDAMwF5MUx8z/HzkJ0U8Ke4rwA4WQ6wHljDOMgvHqzwd1gxaWjG9Fx0S3vAVtY+2sl/QDVVsC5BddmKsAAAAASUVORK5CYII="},v=n(25675),j=n.n(v),C=n(39620),b=n(56321),k=n(80183),A=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardsSection",componentId:"sc-15t9zii-0"})(["padding:0 3%;"]),Z=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardsContainer",componentId:"sc-15t9zii-1"})(["display:flex;justify-content:center;flex-wrap:wrap;gap:30px;&>div{height:180px}"]),I=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardContent",componentId:"sc-15t9zii-2"})(["display:flex;gap:16px;height:100%;width:100%;padding:10%;"]),F=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardInformation",componentId:"sc-15t9zii-3"})(["color:#ffffff;flex:1 1 80%;display:flex;flex-direction:column;justify-content:center;"]),B=i.ZP.h1.withConfig({displayName:"InfromationCards__NewCardTitle",componentId:"sc-15t9zii-4"})(["font-size:18px;opacity:0.75;"]),S=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardValue",componentId:"sc-15t9zii-5"})(["display:flex;align-items:",";&>h2{font-size:50px;}&>span{font-size:18px;}"],(function(e){return"1"===e.type?"flex-end":"flex-start"})),T=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardImage",componentId:"sc-15t9zii-6"})(["flex:1 0 70px;"]),_=i.ZP.div.withConfig({displayName:"InfromationCards__NewCardProgress",componentId:"sc-15t9zii-7"})(["flex:1 1 118px;display:flex;justify-content:flex-start;align-items:center;"]),N=i.ZP.div.withConfig({displayName:"InfromationCards__NewCard3Content",componentId:"sc-15t9zii-8"})(["color:#ffffff;height:100%;width:100%;padding:10%;display:flex;flex-direction:column;position:relative;"]),P=i.ZP.div.withConfig({displayName:"InfromationCards__NewCard3BTCValue",componentId:"sc-15t9zii-9"})(["@media (max-width:768px){position:absolute;top:30px;right:30px;}"]),R=function(e){e.data;var t=(0,k.ZP)().account,n=((0,C.Z)().width,(0,b.ZP)()),i=(0,m.Z)(n,37),r=i[0],a=(i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8]),s=(i[9],i[10]),o=(i[11],i[12]),c=(i[13],i[14],i[15],i[16],i[17],i[18],i[19],i[20],i[21],i[22],i[23],i[24]),d=(i[25],i[26]),p=(i[27],i[28],i[29],i[30],i[31],i[32]);i[33],i[34],i[35],i[36];return(0,l.jsxs)(A,{children:[(0,l.jsxs)(Z,{children:[(0,l.jsx)(w.Zb,{maxWidth:"346px",children:(0,l.jsxs)(I,{children:[(0,l.jsxs)(F,{children:[(0,l.jsx)(B,{children:"My Investments"}),(0,l.jsxs)(S,{type:"1",children:[(0,l.jsx)("h3",{children:a.toFixed(2)}),(0,l.jsx)("span",{children:"ROCK"})]})]}),(0,l.jsx)(T,{children:(0,l.jsx)(j(),{src:y})})]})}),(0,l.jsx)(w.Zb,{maxWidth:"346px",children:(0,l.jsxs)(I,{children:[(0,l.jsxs)(F,{children:[(0,l.jsx)(B,{children:"My Pool Share"}),(0,l.jsx)(S,{type:"1",children:(0,l.jsxs)("h2",{children:[t?(a/o*100).toFixed(2):0,"% "]})})]}),(0,l.jsx)(_,{children:(0,l.jsx)(g.Ip,{value:a/o*100,styles:(0,g.y3)({pathColor:"#E98331"})})})]})}),(0,l.jsx)(w.Zb,{maxWidth:"346px",children:(0,l.jsxs)(N,{children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(B,{children:"Pool Balance"}),(0,l.jsxs)(S,{type:"2",children:[(0,l.jsx)("h2",{children:p.toFixed(0).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}),(0,l.jsx)("span",{children:"ROCK"})]})]}),(0,l.jsx)(P,{children:(0,l.jsxs)("span",{children:[s.toFixed(9)," BTC"]})})]})})]}),(0,l.jsxs)(Z,{style:{marginTop:"20px"},children:[(0,l.jsx)(w.Zb,{maxWidth:"346px",children:(0,l.jsxs)(I,{children:[(0,l.jsxs)(F,{children:[(0,l.jsx)(B,{children:"My Unclaimed ROCK Rewards"}),(0,l.jsxs)(S,{type:"1",children:[(0,l.jsx)("h3",{children:c.toFixed(2)}),(0,l.jsx)("span",{children:"ROCK"})]})]}),(0,l.jsx)(T,{children:(0,l.jsx)(j(),{src:y})})]})}),(0,l.jsx)(w.Zb,{maxWidth:"346px",children:(0,l.jsx)(I,{children:(0,l.jsxs)(F,{children:[(0,l.jsx)(B,{children:"My Unclaimed Bitcoin"}),(0,l.jsxs)(S,{type:"1",children:[(0,l.jsx)("h3",{children:r.toFixed(12)}),(0,l.jsx)("span",{children:"BTC"})]})]})})}),(0,l.jsx)(w.Zb,{maxWidth:"346px",children:(0,l.jsx)(I,{children:(0,l.jsxs)(F,{children:[(0,l.jsx)(B,{children:"My Rock Slide Count"}),(0,l.jsxs)(S,{type:"1",children:[(0,l.jsx)("h2",{children:d}),(0,l.jsx)("span",{children:"Times"})]})]})})})]})]})},z=n(50029),E=n(87794),D=n.n(E),W=n(9144),M=n(70794),K=n(11163),O=n(46534),H=n(470),U=n(61744),V=n(39615),L=n(66155),J=n(78881),X=i.ZP.div.withConfig({displayName:"Tabs__NewTabsSection",componentId:"sc-nngts2-0"})(["display:grid;place-items:center;margin:0 3%;"]),q=i.ZP.div.withConfig({displayName:"Tabs__NewTabsContainer",componentId:"sc-nngts2-1"})(["width:100%;max-width:963px;overflow:hidden;"]),G=i.ZP.div.withConfig({displayName:"Tabs__NewTabsHeaderScrollC
1ontainer",componentId:"sc-nngts2-2"})(["width:100%;max-width:963px;overflow:auto;&::-webkit-scrollbar{background:transparent;width:5px;};&::-webkit-scrollbar-thumb{background:transparent;};"]),Y=i.ZP.div.withConfig({displayName:"Tabs__NewTabsHeader",componentId:"sc-nngts2-3"})(["width:100%;min-width:550px;max-width:763px;margin-bottom:10px;display:flex;"]),Q=i.ZP.div.withConfig({displayName:"Tabs__NewTabsLink",componentId:"sc-nngts2-4"})(["box-sizing:border-box;flex:1 0 25%;padding:16px;text-align:center;color:",";border-bottom:",";&:hover{cursor:pointer;opacity:0.5;}"],(function(e){return e.selected?"#E98331":"#ffffff"}),(function(e){return e.selected?"1px solid #E98331":"none"})),$=i.ZP.div.withConfig({displayName:"Tabs__NewTabsCardContainers",componentId:"sc-nngts2-5"})(["margin-top:50px;"]),ee=i.ZP.div.withConfig({displayName:"Tabs__BalanceText",componentId:"sc-nngts2-6"})(["padding:5px;opacity:0.75;@media (max-width:768px){display:none;}"]),te=i.ZP.div.withConfig({displayName:"Tabs__BalanceTextMobile",componentId:"sc-nngts2-7"})(["display:none;padding:5px;color:#ffffff;opacity:0.75;@media (max-width:768px){display:block;}"]);var ne=function(){var e=(0,O.ZP)(),t=(0,m.Z)(e,2),n=(t[0],t[1]),i=(0,k.ZP)().library,a=(0,b.ZP)(),s=(0,m.Z)(a,37),o=(s[0],s[1]),c=s[2],d=s[3],p=(s[4],s[5],s[6]),u=s[7],h=s[8],x=s[9],f=(s[10],s[11],s[12],s[13],s[14]),g=s[15],y=s[16],v=s[17],j=s[18],C=s[19],A=(s[20],s[21],s[22],s[23],s[24],s[25]),Z=(s[26],s[27]),I=(s[28],s[29]),F=(s[30],s[31],s[32],s[33],s[34]),B=(s[35],s[36]),S=(0,r.useState)(Math.floor((new Date).getTime()/1e3)),T=S[0],_=(S[1],(0,r.useState)(null)),N=_[0],P=_[1],R=(0,r.useState)(null),E=R[0],ne=(R[1],(0,r.useState)(null)),ie=ne[0],re=ne[1],ae=(0,r.useState)([]),se=(ae[0],ae[1],(0,L.D)(N,E,{modifiers:[{name:"arrow",options:{element:ie}}]})),oe=se.styles,ce=(se.attributes,["Deposit","Withdraw","Claim Bitcoin","Claim Rock","Rock Slide"]),de=(0,r.useState)(0),le=de[0],pe=de[1],ue=(0,r.useState)(""),he=(ue[0],ue[1]),xe=(0,r.useState)(""),fe=xe[0],me=xe[1],we=(0,r.useState)(!0),ge=we[0],ye=we[1],ve=(0,r.useState)(""),je=(ve[0],ve[1]),Ce=(0,r.useState)(""),be=(Ce[0],Ce[1],(0,r.useState)(!1)),ke=be[0],Ae=be[1],Ze=(0,r.useState)(!1),Ie=Ze[0],Fe=Ze[1],Be=(0,r.useState)(!1),Se=Be[0],Te=Be[1],_e=(0,r.useState)(0),Ne=_e[0],Pe=_e[1],Re=(0,k.ZP)(),ze=(Re.account,Re.isDisconnected),Ee=((0,V._5)(),(0,V.UQ)()),De=(0,V.An)();(0,K.useRouter)(),(0,r.useEffect)((function(){var e=function(){var e=(0,z.Z)(D().mark((function e(){var t,n;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,J.Z.start({apiKey:"B7DS2TnXvvpBnSeTZuk2mxCMi119HDyKjRPLBZAYihuB10yml0akXO1XT4wnrPnC"});case 2:return e.next=4,J.Z.EvmApi.token.getTokenPrice({address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",chain:H.Cd.BSC});case 4:t=e.sent,n=parseInt(t.result.usdPrice.toString()),Pe((2.5/n).toFixed(6));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var We=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:setTimeout((function(){ye(!0),window.location.href="/earnbitcoin"}),8641e4);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,r.useEffect)((function(){ze&&(A(0),o(0),g(0),I(0),x(0),u(0),d(0),Z(0))}),[ze]);var Me=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y&&!(y<=0)){e.next=2;break}return e.abrupt("return");case 2:return Ae(!0),me("Staking ".concat(y," ROCK")),e.prev=4,me("Step 1 of 2: Approving ROCK spend..."),e.next=8,Ee.functions.approve(De.address,new M.Z(y).multipliedBy(Math.pow(10,18)).toFixed()).then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.wait();case 2:return me("Step 2 of 2: Staking ROCK... please confirm the transaction"),e.next=5,De.functions.stakeRock(new M.Z(y).multipliedBy(Math.pow(10,18)).toFixed()).then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return me("Please wait for the transaction confirmation"),e.next=3,t.wait();case 3:me("Staking ROCK successful!"),B(),setTimeout((function(){Ae(!1)}),2e3),v(0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 8:e.next=14;break;case 10:e.prev=10,e.t0=e.catch(4),me("Errored!"),setTimeout((function(){Ae(!1)}),2e3);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}(),Ke=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ae(!0),me("ROCK withdrawal in progress..."),j&&!(j<=0)){e.next=5;break}return alert("Please input correct amount to withdraw"),e.abrupt("return");case 5:return e.prev=5,e.next=8,De.functions.withdrawRock(new M.Z(j).multipliedBy(Math.pow(10,18)).toFixed()).then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.wait();case 2:me("ROCK withdrawal successful!"),B(),setTimeout((function(){Ae(!1)}),2e3);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 8:e.next=14;break;case 10:e.prev=10,e.t0=e.catch(5),me("Errored!"),setTimeout((function(){Ae(!1)}),2e3);case 14:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(){return e.apply(this,arguments)}}(),Oe=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ae(!0),me("BTCB rewards withdrawal in progress..."),p&&!(p<=0)){e.next=4;break}return e.abrupt("return");case 4:return he("Step: Claiming Rock..."),e.prev=5,e.next=8,De.functions.claimBTCDrip().then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.wait();case 2:me("BTCB rewards withdrawal successful!"),B(),setTimeout((function(){Ae(!1)}),2e3),B();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 8:e.next=14;break;case 10:e.prev=10,e.t0=e.catch(5),me("Errored! Please try again"),setTimeout((function(){Ae(!1)}),2e3);case 14:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(){return e.apply(this,arguments)}}(),He=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ae(!0),me("ROCK rewards withdrawal in progress..."),!(c<=0)){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,De.functions.claimRock().then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.wait();case 2:me("ROCK rewards withdrawal successful"),setTimeout((function(){Ae(!1)}),3e3),B();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 7:e.next=13;break;case 9:e.prev=9,e.t0=e.catch(4),je("Errored!"),setTimeout((function(){Ae(!1)}),3e3);case 13:case"end":return e.stop()}}),e,null,[[4,9]])}
1)));return function(){return e.apply(this,arguments)}}(),Ue=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ae(!0),me("ROCK Slide in progress..."),!(c<=0)){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,De.functions.reInvestRock().then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.wait();case 2:me("ROCK Slide successful!"),setTimeout((function(){Ae(!1)}),2e3),B();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 7:e.next=13;break;case 9:e.prev=9,e.t0=e.catch(4),me("Errored!"),setTimeout((function(){Ae(!1)}),2e3);case 13:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(){return e.apply(this,arguments)}}(),Ve=function(){var e=(0,z.Z)(D().mark((function e(){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:v(parseInt(f.toFixed(2))),C(parseInt(h.toFixed(2))),Te(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Le=function(){var e=(0,z.Z)(D().mark((function e(){var t;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Fe(!0),me("Please wait for the response from blockchain..."),e.prev=2,t=i.getSigner(),e.next=6,t.sendTransaction({to:"0x3dEaB2F412FF828fA849ECe784789cDf862328d7",value:U.fi(Ne)});case 6:return e.sent,e.next=9,De.functions.distributeBitcoin({gasLimit:1e6}).then(function(){var e=(0,z.Z)(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.wait();case 2:me("Successfully distributed BTCB"),ye(!1),B(),We(),n(F-T<=0?0:F-T),setTimeout((function(){Fe(!1)}),3e3);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 9:e.next=16;break;case 11:e.prev=11,e.t0=e.catch(2),B(),me("Already distributed or not enough time passed"),setTimeout((function(){Fe(!1)}),4e3);case 16:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(){return e.apply(this,arguments)}}(),Je=(0,r.useState)(!1),Xe=Je[0],qe=Je[1];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(X,{children:(0,l.jsx)(q,{children:(0,l.jsx)($,{children:ke&&("Deposit"==ce[le]||"Withdraw"==ce[le]||"Claim Bitcoin"==ce[le]||"Claim Rock"==ce[le])&&(0,l.jsx)(w.Zb,{height:"120px",children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("h3",{style:{color:"white",margin:"15px"},children:fe})})})})})}),(0,l.jsx)(X,{children:(0,l.jsxs)(q,{children:[(0,l.jsx)(G,{ref:P,children:(0,l.jsx)(Y,{children:ce.map((function(e,t){return(0,l.jsx)(Q,{selected:ce[le]===e,onClick:function(){qe(2===t||3===t||4===t),pe(t)},children:e},e)}))})}),(0,l.jsxs)($,{children:[(0,l.jsxs)("div",{children:["Rock Slide"==ce[le]&&(0,l.jsx)("h5",{style:{color:"#E98331",textAlign:"center",justifyContent:"center"},children:"Compound (Rock Slide) unclaimed Rock to earn more BTCB & Rock"}),(0,l.jsx)("div",{ref:re,style:oe.arrow})]}),(0,l.jsx)(w.Zb,{height:"280px",children:(0,l.jsxs)("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"30px"},children:[Xe&&"Claim Bitcoin"===ce[le]&&(0,l.jsx)("div",{children:(0,l.jsx)("h1",{style:{color:"white"},children:p.toFixed(12)})}),Xe&&"Claim Rock"===ce[le]&&(0,l.jsx)("div",{children:(0,l.jsx)("h1",{style:{color:"white"},children:c.toFixed(2)})}),Xe&&"Rock Slide"===ce[le]&&(0,l.jsx)("div",{children:(0,l.jsx)("h1",{style:{color:"white"},children:c.toFixed(2)})}),!Xe&&(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:"100%",padding:"0 10%"},children:[(0,l.jsxs)("div",{style:{fontSize:"18px",display:"flex",justifyContent:"space-between",width:"100%",marginBottom:"10px",color:"#ffffff"},children:[(0,l.jsxs)("div",{children:["Enter Amount to ",ce[le]]}),"Withdraw"===ce[le]?(0,l.jsxs)(ee,{children:["Stakes: ",h.toFixed(2)," ROCK"]}):(0,l.jsxs)(ee,{children:["Balance: ",f.toFixed(2)," ROCK"]})]}),(0,l.jsxs)("div",{children:[!Se&&"Deposit"===ce[le]&&(0,l.jsx)(w.UP,{readonly:!1,type:"number",onChange:function(e){return v(parseInt(e))}}),!Se&&"Withdraw"===ce[le]&&(0,l.jsx)(w.UP,{readonly:!1,type:"number",onChange:function(e){return C(parseInt(e))}}),Se&&"Deposit"===ce[le]&&(0,l.jsx)("div",{onChange:function(){return Te(!1)},children:(0,l.jsx)(w.UP,{value:String(f.toFixed(2))})}),Se&&"Withdraw"===ce[le]&&(0,l.jsx)("div",{onChange:function(){return Te(!1)},children:(0,l.jsx)(w.UP,{value:String(h.toFixed(2))})})]})]}),(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"15p
1x"},children:[(0,l.jsx)(W.Z,{background:"#EC8845",position:"static",onClick:function(){"Deposit"===ce[le]?Me():"Withdraw"===ce[le]?Ke():"Claim Bitcoin"===ce[le]?Oe():"Claim Rock"===ce[le]?He():"Rock Slide"===ce[le]&&Ue()},children:ce[le]}),!Xe&&(0,l.jsx)(W.Z,{width:"80px",position:"static",outline:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",margin:"15px",padding:"20px"},onClick:function(){return Ve()},children:"Max"})]}),(0,l.jsxs)(te,{children:["Balance: ",f.toFixed(2)," ROCK"]})]})})]})]})}),(0,l.jsx)(X,{children:(0,l.jsxs)(q,{children:[Ie&&(0,l.jsx)(w.Zb,{height:"120px",children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("h3",{style:{color:"white",margin:"15px"},children:fe})})}),(0,l.jsx)($,{children:(0,l.jsx)(w.Zb,{height:"140px",children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:ge?(0,l.jsx)(W.Z,{width:"280px",background:F-T<=0?"#EC8845":"#391628",position:"static",outline:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",margin:"40px",padding:"30px"},onClick:function(){F-T<=0&&Le()},children:"Send out the BTCB!"}):(0,l.jsx)(W.Z,{width:"280px",background:"#391628",position:"static",outline:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",margin:"40px",padding:"30px"},children:"Send out the BTCB!"})})})})]})})]})},ie=n(4182),re=n(7516);var ae=function(){(0,ie.Z)().library;var e=(0,k.ZP)(),t=(e.account,e.isDisconnected),n=((0,V.jb)(),(0,V._5)(),(0,V.UQ)(),(0,K.useRouter)(),(0,r.useState)(0)),i=n[0],c=n[1],d=(0,r.useState)(0),u=(d[0],d[1]),h=(0,r.useState)(0),m=(h[0],h[1]),g=(0,r.useState)(0),y=(g[0],g[1]),v=(0,r.useState)(0),j=v[0],C=v[1],b=(0,re.d)().isMobile;return(0,r.useEffect)((function(){t&&(c(0),C(0),u(0),m(0),y(0))}),[t]),(0,l.jsxs)("div",{style:{overflow:"hidden"},children:[(0,l.jsx)(s.Z,{}),(0,l.jsxs)(f,{children:[(0,l.jsx)(w.Aq,{isMobile:b}),(0,l.jsxs)(o.Z,{textAlign:"center",children:["Earn Bitcoin By ",(0,l.jsx)("br",{}),"Staking ROCK"]}),(0,l.jsx)(ne,{})]}),(0,l.jsx)(p,{}),(0,l.jsx)(R,{data:{myInvestments:"".concat(i),poolBalance:"".concat((j/1e3).toFixed(2)),poolShare:i/j*100}}),(0,l.jsx)(x,{}),(0,l.jsx)(a.Z,{})]})},se=i.ZP.div.withConfig({displayName:"earnbitcoin__Main",componentId:"sc-dgpexf-0"})(["min-height:100vh;min-height:2000px;width:100%;background:#000216;"]);function oe(){return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(se,{children:(0,l.jsx)(ae,{})})})}},9144:function(e,t,n){"use strict";var i=n(52015).ZP.button.withConfig({displayName:"Button",componentId:"sc-1jhoxhd-0"})(["z-index=1;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;border:none;outline:",";position:",";height:",";width:",";left:",";transform:translateX(-",");top:",";bottom:",";margin-right:",";margin-top:",";font-size:",";color:#FFFFFF;background:",";border-radius:60px;:hover{background:#EC8845;}:focus{outline:",";}"],(function(e){return e.outline?"1px solid #EC8845":"none"}),(function(e){var t=e.position;return t||"relative"}),(function(e){var t=e.height;return t||"45px"}),(function(e){var t=e.width;return t||"147px"}),(function(e){var t=e.left;return t&&t}),(function(e){return e.left&&e.left}),(function(e){var t=e.top;return t&&t}),(function(e){var t=e.bottom;return t&&t}),(function(e){var t=e.marginRight;return t&&t}),(function(e){var t=e.marginTop;return t&&t}),(function(e){var t=e.fontSize;return t&&t}),(function(e){var t=e.background;return t||"none"}),(function(e){return e.outline?"1px solid #EC8845":"none"}));t.Z=i},70075:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(16835),r=n(67294),a=n(52015),s=a.ZP.div.withConfig({displayName:"Measure__Day",componentId:"sc-25ztkl-0"})(["font-size:12px;font-weight:500;color:#FFFFFF;text-align:center;text-transform:uppercase;margin-top:5px;@media (max-width:768px){width:50%;font-size:16px;}@media (max-width:480px){font-size:12px;}"]),o=a.ZP.div.withConfig({displayName:"Timer",componentId:"sc-v4m0l4-0"})(['width:60%;height:50vh;background-image:url("/images/layers.png"),linear-gradient(134.27deg,#E98331 5.56%,#EC8845 59.48%,#893242 93.01%);background-repeat:no-repeat;background-size:cover;filter:blur;border-radius:6px;display:flex;justify-content:center;flex-direction:column;text-align:center;align-items:center;position:relative;padding:10px 0;@media (max-width:1400px){width:80%;}@media (max-width:1280px){width:65%;height:50vh;}@media (max-width:1100px){width:70%;height:50vh;}@media (max-width:990px){width:70%;}@media (max-width:768px){height:48vh;width:90%;}@media (max-width:480px){height:30vh;width:90%;}']),c=a.ZP.div.withConfig({displayName:"TimerHeader",componentId:"sc-8zgkww-0"}
1)(["height:60vh;width:100%;display:flex;justify-content:center;align-items:center;position:relative;@media (max-width:768px){height:50vh;margin:20px 0;}@media (max-width:480px){height:30vh;}@media (max-width:390px){height:30vh;}@media (max-width:380px){height:30vh;}"]),d=a.ZP.div.withConfig({displayName:"TimerRow",componentId:"sc-12ocy8f-0"})(["position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;color:#FFFFFF;@media (max-width:768px){width:100%;height:50%;margin-top:0px;}@media (max-width:480px){width:90%;}"]),l=a.ZP.div.withConfig({displayName:"Number",componentId:"sc-6poaq8-0"})(["margin-left:",";margin-right:",";width:80px;height:90px;color:#FFFFFF;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.1);display:flex;justify-content:center;align-items:center;border-radius:6px;font-size:48px;@media (max-width:1280px){width:60px;height:80px;}@media (max-width:1100px){width:50px;height:60px;}@media (max-width:990px){width:45px;height:60px;}@media (max-width:768px){width:45px;height:55px;margin-left:0;margin-right:0;margin:0 5px;}@media (max-width:480px){width:32px;height:100%;margin:0 3px;font-size:30px;}"],(function(e){var t=e.marginLeft;return t&&t}),(function(e){var t=e.marginRight;return t&&t})),p=n(39620),u=a.ZP.div.withConfig({displayName:"TimeWrap",componentId:"sc-v3yxdc-0"})(["@media (max-width:768px){margin-bottom:30px;}"]),h=a.ZP.h1.withConfig({displayName:"TimerHead",componentId:"sc-8okyxd-0"})(["color:#FFFFFF;font-size:50px;@media(max-width:768px){font-size:20px;}"]),x=n(46534),f=n(56321),m=n(85893);var w=function(){(0,p.Z)().width;var e=(0,x.ZP)(),t=(0,i.Z)(e,2),n=t[0],a=t[1],w=(0,r.useState)(),g=(w[0],w[1],(0,f.ZP)()),y=(0,i.Z)(g,37),v=(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15],y[16],y[17],y[18],y[19],y[20],y[21],y[22],y[23],y[24],y[25],y[26],y[27],y[28],y[29],y[30],y[31],y[32],y[33],y[34]),j=(y[35],y[36],function(e){e<=0&&(v>Math.floor((new Date).getTime()/1e3)?a(v-Math.floor((new Date).getTime()/1e3)):a(0));var t="",n=e;return t="".concat(t," ").concat(Math.floor(n/86400)),n%=86400,t="".concat(t," ").concat(Math.floor(n/3600)),n%=3600,t="".concat(t," ").concat(Math.floor(n/60)),n%=60,t="".concat(t," ").concat(n," ")});return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(c,{children:(0,m.jsxs)(o,{children:[(0,m.jsx)(h,{children:"Next BTCB Drip"}),(0,m.jsx)("br",{}),(0,m.jsxs)(d,{children:[(0,m.jsxs)(u,{children:[(0,m.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,m.jsx)(l,{marginRight:"10px",marginLeft:"15px",children:null!==n&&j(n).split(" ")[2].split("")[1]?j(n).split(" ")[2].split("")[0]:0}),(0,m.jsx)(l,{marginRight:"15px",children:null!==n&&j(n).split(" ")[2].split("")[1]?j(n).split(" ")[2].split("")[1]:j(n).split(" ")[2].split("")[0]}),":"]}),(0,m.jsx)(s,{children:"Hours"})]}),(0,m.jsxs)(u,{children:[(0,m.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,m.jsx)(l,{marginRight:"10px",marginLeft:"15px",children:null!==n&&j(n).split(" ")[3].split("")[1]?j(n).split(" ")[3].split("")[0]:0}),(0,m.jsx)(l,{marginRight:"15px",children:null!==n&&j(n).split(" ")[3].split("")[1]?j(n).split(" ")[3].split("")[1]:j(n).split(" ")[3].split("")[0]}),":"]}),(0,m.jsx)(s,{children:"Minutes"})]}),(0,m.jsxs)(u,{children:[(0,m.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,m.jsx)(l,{marginRight:"10px",marginLeft:"15px",children:null!==n&&j(n).split(" ")[4].split("")[1]?j(n).split(" ")[4].split("")[0]:0}),(0,m.jsx)(l,{children:null!==n&&j(n).split(" ")[4].split("")[1]?j(n).split(" ")[4].split("")[1]:j(n).split(" ")[4].split("")[0]})]}),(0,m.jsx)(s,{children:"Seconds"})]})]})]})})})}},85456:function(e,t,n){"use strict";var i=n(52015).ZP.h1.withConfig({displayName:"Title",componentId:"sc-1n9yvpr-0"})(["font-weight:"," font-style:normal;font-size:",";text-align:",";position:",";margin-left:",";margin:30px;color:#FFFFFF;z-index:",";@media (max-width:1030px){font-size:",";}@media (max-width:480px){font-size:",";text-align:",";}"],(function(e){var t=e.fontWeight;return t&&t}),(function(e){var t=e.fontSize;return t||"70px"}),(function(e){var t=e.textAlign;return t&&t}),(function(e){var t=e.position;return t&&t}),(function(e){var t=e.marginLeft;return t&&t}),(function(e){var t=e.zIndex;return t&&t}),(function(e){var t=e.fontSize;return t||"70px"}),(function(e){var t=e.fontSize;return t||"40px"}),(function(e){var t=e.textAlign;return t&&t}));t.Z=i},84409:function(e,t,n){"use strict";n.d(t,{n:function(){return f}});n(67294);
1var i=n(52015),r=n(25675),a=n.n(r),s=n(9136),o=n(85893),c=i.ZP.div.withConfig({displayName:"HowItWorks__HowItWorksSection",componentId:"sc-3i90ym-0"})(["padding:140px 10%;@media (max-width:768px){padding:100px 3%;}"]),d=i.ZP.div.withConfig({displayName:"HowItWorks__HowItWorksContainer",componentId:"sc-3i90ym-1"})(["display:flex;align-items:center;gap:10px;&>div{flex:1 1 100%;}@media (max-width:768px){flex-wrap:wrap;}"]),l=i.ZP.div.withConfig({displayName:"HowItWorks__HowItWorksTextContainer",componentId:"sc-3i90ym-2"})(["display:flex;flex-direction:column;gap:14px;"]),p=i.ZP.h1.withConfig({displayName:"HowItWorks__HowItWorksTitle",componentId:"sc-3i90ym-3"})(["font-size:50px;color:#ffffff;@media (max-width){font-size:30px;}"]),u=i.ZP.div.withConfig({displayName:"HowItWorks__HowItWorksText",componentId:"sc-3i90ym-4"})(["color:#ffffff;font-size:24px;opacity:0.75;display:flex;gap:15px;&>div{margin-top:10px;flex:0 0 40px;width:40px;display:flex;justify-content:center;align-items:flex-start;}"]),h=i.ZP.div.withConfig({displayName:"HowItWorks__HowItWorksVideoContainer",componentId:"sc-3i90ym-5"})(["display:flex;align-items:center;height:350px;"]),x=i.ZP.iframe.withConfig({displayName:"HowItWorks__Iframe",componentId:"sc-3i90ym-6"})(["width:100%;height:100%;border-radius:10px;"]),f=function(e){e.title;var t=e.paragraphs,n=(e.children,e.hideVideo);return(0,o.jsx)(c,{children:(0,o.jsxs)(d,{children:[(0,o.jsxs)(l,{"data-aos":"fade-up",children:[(0,o.jsx)(p,{children:"How It Works"}),t.map((function(e,t){return(0,o.jsxs)(u,{children:[(0,o.jsx)("div",{children:(0,o.jsx)(a(),{alt:"tick",width:"17px",height:"17px",src:s.Z})}),(0,o.jsx)("span",{children:e})]},t)}))]}),!n&&(0,o.jsx)(h,{"data-aos":"fade-up",children:(0,o.jsx)(x,{src:"https://www.youtube.com/embed/FsON37LULqc"})})]})})}},24541:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/earnbitcoin",function(){return n(32605)}])},9136:function(e,t){"use strict";t.Z={src:"/_next/static/media/tick.9ce83e9a.png",height:14,width:18,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAFVBMVEXvihzogjDpgjDlgDHngjDphC/pgzDE49v0AAAAB3RSTlMBZNwllDCEdBYAEgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAB5JREFUeJxjYAADVhYIzczEiKBZGKF8ZiY2ZHEGBgAFeAA1C8aiwwAAAABJRU5ErkJggg=="}}},function(e){e.O(0,[9697,8742,2015,5203,8487,3582,3166,6129,6550,9774,2888,179],(function(){return t=24541,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.