PageSourceSearch

https://www.bybitglobal.com/static/homepage/_next/static/chunks/5564.fd4717d381758950.js

js bybitglobal.com collected 2026-09-25 19:48:51 UTC 13,335 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5564],{55564:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return S}});var n=t(93720),s=t(15312),r=t(18531),c=t(62858),o=t(84111),i=t(76829),l=t(27386),d=t(75432),_=t.n(d),u=t(31273),p=t(4731),m=t(93101),C=t(2478),g=t(70437),h=t(42644),v=t(13734),f=t(69198),E=t(33184),b=t.n(E),N=e=>{let{leftEarn:a,btcEarn:t,ethEarn:s,isEU:r,t:c,isLogin:o,language:i,isMobile:l,abTest:d,triggerOneLink:E,abTestDownload:N,hasNewcomerOffer:x}=e,T=(0,h.xb)();return(0,n.jsx)("div",{className:_().earnWrapper,children:(0,n.jsxs)("div",{className:_().wrapper,children:[(0,n.jsxs)("h2",{className:_().title,children:[c("makeCryptoWork1"),(0,n.jsxs)("span",{children:[" ",c("forYou")]})]}),(0,n.jsxs)("div",{className:_().content,children:[(0,n.jsxs)("a",{href:a.url,onClick:e=>{if(e.preventDefault(),u.Z.reportSensors({event:p.u7.WEB_MODULE_CLICK,data:{product:"USDT",spm_section:p.PK.EARN,spm_button_name:o?p.Ts.PRODUCT:p.Ts.SIGNUP}}),!(0,v.e0)(l,i,N)){if(!o){location.href="/".concat(i,"/register?source=homepage&page_section=").concat(p.PK.EARN,"&button_name=").concat(p.Ts.SIGNUP,"&abtest=").concat(d);return}l&&o?E("".concat(T,"app://open/byficenter")):location.href=a.url}},className:_().bigCard,...(0,C.q)(p.u7.WEB_MODULE_VIEW,{data:{product:"USDT",spm_section:p.PK.EARN,spm_button_name:p.Ts.PRODUCT},immediately:!0}),style:"ar-SA"===i?{backgroundPosition:"center 274px"}:{backgroundPosition:"center 247px"},children:[x&&(0,n.jsx)("span",{className:_().newcomerBadge,children:c("newUserExcl")}),(0,n.jsxs)("div",{className:_().bigCardInner,children:[(0,n.jsx)(m.Z,{draggable:!1,src:(0,g.nI)(r?"https://s1.bycsi.com/common-static/images/8b5fe7accdf040d89892c705fee7c798_1a3b6704790901f8c59af5b458e1b33e.png":"https://s1.bycsi.com/common-static/images/7db8a5ff8a5446eaaf26c77e1cf99395_dbba0265e9dc1f59ca680132721f192e.svg",56),alt:"usdt",priority:!0,width:56,height:56,className:_().icon}),(0,n.jsx)("p",{className:_().subtitle,children:null==a?void 0:a.msg}),(0,n.jsxs)("p",{className:_().apy,children:[c("upTo")," ",(0,n.jsxs)("span",{children:[(0,n.jsx)("b",{children:null==a?void 0:a.apy})," ",c("apy")]})]}),(0,n.jsx)("div",{className:_().arrowBtn,children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:_().iconsvg,style:"ar-SA"===i?{transform:"scaleX(-1)",transformOrigin:"center"}:{},children:(0,n.jsx)("path",{d:"M5.60229 0.352346C5.80824 0.146447 6.13431 0.133341 6.35522 0.313528L6.39771 0.352346L11.6477 5.60236L11.6865 5.64484C11.
16929 5.65263 11.6975 5.66171 11.7034 5.66974C11.7114 5.6807 11.7189 5.6919 11.7261 5.70344C11.7368 5.72058 11.746 5.7382 11.7546 5.75617C11.7612 5.76965 11.7675 5.78313 11.7729 5.79719C11.781 5.81788 11.7872 5.83884 11.7927 5.86018C11.7961 5.87328 11.7998 5.88627 11.8022 5.89973C11.8031 5.9046 11.8037 5.90948 11.8044 5.91437C11.8087 5.94239 11.8125 5.97085 11.8125 6.00007C11.8125 6.02897 11.8094 6.0573 11.8052 6.08503C11.8044 6.09044 11.8032 6.09576 11.8022 6.10114C11.8 6.11365 11.7958 6.12556 11.7927 6.13776C11.7872 6.15959 11.7811 6.18105 11.7729 6.20222C11.7673 6.21681 11.7607 6.23073 11.7539 6.2447C11.7458 6.26139 11.7374 6.27778 11.7275 6.29377C11.7193 6.30716 11.7105 6.31997 11.7012 6.33259C11.6959 6.33979 11.6922 6.3483 11.6865 6.35529L11.6477 6.39778L6.39771 11.6478C6.17804 11.8675 5.82196 11.8675 5.60229 11.6478C5.38267 11.4281 5.38264 11.072 5.60229 10.8524L9.89209 6.56257H0.75C0.43934 6.56257 0.1875 6.31073 0.1875 6.00007C0.187547 5.68945 0.439369 5.43757 0.75 5.43757H9.89209L5.60229 1.14776L5.56348 1.10528C5.38329 0.884342 5.39636 0.558284 5.60229 0.352346Z"})})})]})]}),(0,n.jsxs)("div",{className:_().rightCards,children:[(0,n.jsxs)("a",{href:t.url,onClick:e=>{if(e.preventDefault(),u.Z.reportSensors({event:p.u7.WEB_MODULE_CLICK,data:{product:"BTC",spm_section:p.PK.EARN,spm_button_name:o?p.Ts.PRODUCT:p.Ts.SIGNUP}}),!(0,v.e0)(l,i,N)){if(!o){location.href="/".concat(i,"/register?source=homepage&page_section=").concat(p.PK.EARN,"&button_name=").concat(p.Ts.SIGNUP,"&abtest=").concat(d);return}o&&l?E("".concat(T,"app://open/byficenter")):location.href=t.url}},className:_().smallCard,...(0,C.q)(p.u7.WEB_MODULE_VIEW,{data:{product:"BTC",spm_section:p.PK.EARN,spm_button_name:p.Ts.PRODUCT},immediately:!0}),children:[(0,n.jsx)(m.Z,{draggable:!1,src:(0,g.nI)("https://s1.bycsi.com/common-static/images/595b6eb20d594e59b96bf461e973b42c_780ea863eee11a7627e06407de353c04.svg",56),alt:"btc",priority:!0,width:56,height:56,className:_().smallIcon}),(0,n.jsxs)("div",{className:_().cardbox,children:[(0,n.jsx)("p",{className:_().cardTitle,children:c("btcSavingsApy")}),(0,n.jsx)("p",{className:_().cardValue,children:null==t?void 0:t.apy})]}),!l&&(0,n.jsx)("div",{className:_().arrowBtn,children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:_().iconsvg,style:"ar-SA"===i?{transform:"scaleX(-1)",transformOrigin:"center"}:{},children:(0,n.jsx)("path",{d:"M5.60229 0.352346C5.80824 0.146447 6.13431 0.133341 6.35522 0.313528L6.39771 0.352346L11.6477 5.60236L11.6865 5.64484C11.
16929 5.65263 11.6975 5.66171 11.7034 5.66974C11.7114 5.6807 11.7189 5.6919 11.7261 5.70344C11.7368 5.72058 11.746 5.7382 11.7546 5.75617C11.7612 5.76965 11.7675 5.78313 11.7729 5.79719C11.781 5.81788 11.7872 5.83884 11.7927 5.86018C11.7961 5.87328 11.7998 5.88627 11.8022 5.89973C11.8031 5.9046 11.8037 5.90948 11.8044 5.91437C11.8087 5.94239 11.8125 5.97085 11.8125 6.00007C11.8125 6.02897 11.8094 6.0573 11.8052 6.08503C11.8044 6.09044 11.8032 6.09576 11.8022 6.10114C11.8 6.11365 11.7958 6.12556 11.7927 6.13776C11.7872 6.15959 11.7811 6.18105 11.7729 6.20222C11.7673 6.21681 11.7607 6.23073 11.7539 6.2447C11.7458 6.26139 11.7374 6.27778 11.7275 6.29377C11.7193 6.30716 11.7105 6.31997 11.7012 6.33259C11.6959 6.33979 11.6922 6.3483 11.6865 6.35529L11.6477 6.39778L6.39771 11.6478C6.17804 11.8675 5.82196 11.8675 5.60229 11.6478C5.38267 11.4281 5.38264 11.072 5.60229 10.8524L9.89209 6.56257H0.75C0.43934 6.56257 0.1875 6.31073 0.1875 6.00007C0.187547 5.68945 0.439369 5.43757 0.75 5.43757H9.89209L5.60229 1.14776L5.56348 1.10528C5.38329 0.884342 5.39636 0.558284 5.60229 0.352346Z"})})})]}),(0,n.jsxs)("a",{href:s.url,onClick:e=>{if(e.preventDefault(),u.Z.reportSensors({event:p.u7.WEB_MODULE_CLICK,data:{product:"ETH",spm_section:p.PK.EARN,spm_button_name:o?p.Ts.PRODUCT:p.Ts.SIGNUP}}),!(0,v.e0)(l,i,N)){if(!o){location.href="/".concat(i,"/register?source=homepage&page_section=").concat(p.PK.EARN,"&button_name=").concat(p.Ts.SIGNUP,"&abtest=").concat(d);return}l&&o?E("".concat(T,"app://open/byficenter")):location.href=s.url}},className:_().smallCard,...(0,C.q)(p.u7.WEB_MODULE_VIEW,{data:{product:"ETH",spm_section:p.PK.EARN,spm_button_name:p.Ts.PRODUCT},immediately:!0}),children:[(0,n.jsx)(m.Z,{draggable:!1,src:(0,g.nI)("https://s1.bycsi.com/common-static/images/cf177119a3b44969a42248a072f66f08_453d329cb1aec19451c7b910ee2fbf6e.svg",56),alt:"eth",priority:!0,width:56,height:56,className:_().smallIcon}),(0,n.jsxs)("div",{className:_().cardbox,children:[(0,n.jsx)("p",{className:_().cardTitle,children:c("ethSavingsApy")}),(0,n.jsx)("p",{className:_().cardValue,children:null==s?void 0:s.apy})]}),!l&&(0,n.jsx)("div",{className:_().arrowBtn,children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:_().iconsvg,style:"ar-SA"===i?{transform:"scaleX(-1)",transformOrigin:"center"}:{},children:(0,n.jsx)("path",{d:"M5.60229 0.352346C5.80824 0.146447 6.13431 0.133341 6.35522 0.313528L6.39771 0.352346L11.6477 5.60236L11.6865 5.64484C11.
16929 5.65263 11.6975 5.66171 11.7034 5.66974C11.7114 5.6807 11.7189 5.6919 11.7261 5.70344C11.7368 5.72058 11.746 5.7382 11.7546 5.75617C11.7612 5.76965 11.7675 5.78313 11.7729 5.79719C11.781 5.81788 11.7872 5.83884 11.7927 5.86018C11.7961 5.87328 11.7998 5.88627 11.8022 5.89973C11.8031 5.9046 11.8037 5.90948 11.8044 5.91437C11.8087 5.94239 11.8125 5.97085 11.8125 6.00007C11.8125 6.02897 11.8094 6.0573 11.8052 6.08503C11.8044 6.09044 11.8032 6.09576 11.8022 6.10114C11.8 6.11365 11.7958 6.12556 11.7927 6.13776C11.7872 6.15959 11.7811 6.18105 11.7729 6.20222C11.7673 6.21681 11.7607 6.23073 11.7539 6.2447C11.7458 6.26139 11.7374 6.27778 11.7275 6.29377C11.7193 6.30716 11.7105 6.31997 11.7012 6.33259C11.6959 6.33979 11.6922 6.3483 11.6865 6.35529L11.6477 6.39778L6.39771 11.6478C6.17804 11.8675 5.82196 11.8675 5.60229 11.6478C5.38267 11.4281 5.38264 11.072 5.60229 10.8524L9.89209 6.56257H0.75C0.43934 6.56257 0.1875 6.31073 0.1875 6.00007C0.187547 5.68945 0.439369 5.43757 0.75 5.43757H9.89209L5.60229 1.14776L5.56348 1.10528C5.38329 0.884342 5.39636 0.558284 5.60229 0.352346Z"})})})]})]})]}),(0,n.jsx)("a",{href:"/".concat(i,"/earn/home"),onClick:e=>{if(e.preventDefault(),u.Z.reportSensors({event:p.u7.WEB_MODULE_CLICK,data:{spm_section:p.PK.EARN,spm_button_name:o?p.Ts.CTA:p.Ts.SIGNUP}}),!(0,v.e0)(l,i,N)){if(!o){location.href="/".concat(i,"/register?source=homepage&page_section=").concat(p.PK.EARN,"&button_name=").concat(p.Ts.SIGNUP,"&abtest=").concat(d);return}location.href="/".concat(i,"/earn/home")}},...(0,C.q)(p.u7.WEB_MODULE_VIEW,{data:{spm_section:p.PK.EARN,spm_button_name:o?p.Ts.CTA:p.Ts.SIGNUP},immediately:!0}),children:(0,n.jsx)(f.Z,{className:b()(_().cta,"moly-theme-component-light"),children:c("earnNow")})})]})})},x=t(58475);let T=["BTC","ETH"],y={android:["ID","FR","GB","MY","JP","TH"],ios:["AZ","JP","TH","FR","MY","GB","CN"]};function w(e,a){let t=e.find(e=>e.coin===a);return t&&Array.isArray(t.saving_products)?t.saving_products.reduce((e,a)=>{let t=parseFloat(e.apy);return parseFloat(a.apy)>t?a:e}):null}var S=e=>{let{isMobile:a,countryCode:t,abTest:d,abTestDownload:_}=e,[u]=(0,c.ZP)(),p=(0,o.bU)(),m=(0,l.p)(e=>e.noTaskAbGroup),C=(0,l.p)(e=>e.abTestBranding),[g,h]=(0,s.useState)(!0),v=!!(null==u?void 0:u.id),f=(0,o.$G)(o.R0),E=(0,x.sX)(p),[b,S]=(0,s.useState)({USDT:[],BTC:[],ETH:[],USDC:[]});(0,s.useEffect)(()=>{v&&t&&h(function(e){var a;let t=navigator.userAgent||navigator.vendor||window.opera,n=null;return/android/i.test(t)?n="android":!/iPad|iPhone|iPod/.test(t)||(null===(a=window)||void 0===a?void 0:a.MSStream)||(n="ios"),!n||!y[n].includes(e.toUpperCase())}(t))},[t]);let U=(0,s.useCallback)(async e=>{let a="new-home-page-earn-".concat(e,"-list");try{var t,n;let s=sessionStorage.getItem(a),c=s?JSON.parse(s):null;if(Array.isArray(null==c?void 0:c.result)&&c.exp>Date.now()){S(a=>({...a,[e]:c.result}));return}let o=await (0,r.getEarnData)({tab:"0",page:1,limit:10,sort_type:0,fixed_saving_version:v||1===m?1:0,fuzzy_coin_name:e}),i=null==o?void 0:null===(n=o.data)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.coin_products;i&&(S(a=>({...a,[e]:i})),sessionStorage.setItem(a,JSON.stringify({result:i,uid:null==u?void 0:u.id,exp:Date.now()+3e5})))}catch(e){}},[v,null==u?void 0:u.id,m]);(0,s.useEffect)(()=>{T.forEach(U),E?U("USDC"):U("USDT")},[U]),(0,s.useEffect)(()=>{if(null==u?void 0:u.__fetched__)try{T.forEach(e=>{let a="new-home-page-earn-".concat(e,"-list"),t=sessionStorage.getItem(a),n=t?JSON.parse(t):null;(null==u?void 0:u.id)&&u.id===(null==n?void 0:n.uid)||sessionStorage.removeItem(a)})}catch(e){}},[null==u?void 0:u.id,null==u?void 0:u.__fetched__]);let j=!v&&1!==m,{usdtEarn:L,btcEarn:P,ethEarn:D,usdcEarn:I}=(0,s.useMemo)(()=>{var e;let a;let t={},n={},s=w(b.BTC,1),c=w(b.ETH,2);if(E?n=w(b.USDC,16):t=w(b.USDT,5),localStorage.setItem("earn_usdt_data",JSON.stringify(t)),a=1===C?j?f("earnNewUserSubtitle"):f("earnFlexibleSubtitle"):j?f("newUserExcl"):(0,x.sX)(p)?f("usdcEasyEarnApy"):f("usdtEasyEarnApy"),null==t?void 0:null===(e=t.product_tag_info)||void 0===e?void 0:e.display_tag_key)try{(0,r.getDeadpoolConfig)([t.product_tag_info.display_tag_key],p).then(e=>{var t,n,s,r;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.data[0])&&(a=null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(s=r.result)||void 0===s?void 0:s.data[0].value)})}catch(e){}let o=(e,a,t)=>"/".concat(p,"/earn/easy-earn/?search=").concat(e,"&id=").concat(null==a?void 0:a.product_id,"&coin=").concat(t,"&type=").concat(null==a?void 0:a.product_type);return{usdtEarn:{...t,msg:a,url:o("USDT",t,5)},usdcEarn:{...n,msg:a,url:o("USDC",n,16)},btcEarn:{...s,url:o("BTC",s,1)},ethEarn:{...c,url:o("ETH",c,2)}}},[b,p,f,v,C,j]);return(0,n.jsx)(n.Fragment,{children:g&&(0,n.jsx)(N,{leftEarn:E?I:L,btcEarn:P,ethEarn:D,isEU:E,t:f,isLogin:v,language:p,isMobile:a,isApp:(0,i.N0)(),abTest:d,triggerOneLink:i.kJ,abTestDownload:_,hasNewcomerOffer:1===C&&j})})}},75432:function(e){e.exports={earnWrapper:"Earn_earnWrapper__EnEd9",wrapper:"Earn_wrapper___Pocl",title:"Earn_title__sq7K9",content:"Earn_content__IQUiX",bigCard:"Earn_bigCard__C7KAv",newcomerBadge:"Earn_newcomerBadge__2DU3g",bigCardInner:"Earn_bigCardInner__s40Ja",icon:"Earn_icon__aLT2A",subtitle:"Earn_subtitle__VcFIz",apy:"Earn_apy__bFwUb",arrowBtn:"Earn_arrowBtn__04sqj",iconsvg:"Earn_iconsvg__kDjgo",arrowBtnAr:"Earn_arrowBtnAr__YX7FE",rightCards:"Earn_rightCards__mJ295",smallCard:"Earn_smallCard__WgH6W",smallIcon:"Earn_smallIcon__a9HSY",cardbox:"Earn_cardbox__QXCTB",cardTitle:"Earn_cardTitle__St7PE",cardValue:"Earn_cardValue__MIQt3",cta:"Earn_cta__2yz34"}}}]);
2//# sourceMappingURL=5564.fd4717d381758950.js.map

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.