PageSourceSearch

https://www.xstable.ai/_next/static/chunks/1442.ac46b4cb39bf399e.js

js xstable.ai collected 2026-10-05 14:38:15 UTC 27,722 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1442],{40470:(e,t,r)=>{r.d(t,{A:()=>m});var l,s,a,n,i,c,d,o=r(20801);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}let m=function(e){return o.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:52,height:48,fill:"none"},e),l||(l=o.createElement("path",{fill:"#8D8E92",fillOpacity:.6,d:"M22.384 2.381c2.982-1.84 7.038-1.842 10.02 0l9.375 5.788-5.057-.036c-1.41-.01-2.91-.01-4.51-.01h-9.637c-1.6 0-3.1 0-4.51.01l-5.057.036zm9.19 1.166c-2.48-1.53-5.881-1.53-8.36 0l-5.16 3.186c1.417-.01 2.922-.01 4.521-.01h9.637c1.599 0 3.104 0 4.52.01z"})),s||(s=o.createElement("path",{fill:"#8D8E92",fillOpacity:.6,fillRule:"evenodd",d:"M43 24.7a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"})),a||(a=o.createElement("path",{stroke:"#8D8E92",strokeLinecap:"round",strokeWidth:1.4,d:"M14.086 15.7h9.75"})),n||(n=o.createElement("path",{fill:"#8D8E92",d:"m49 29.9-.002 1.578c-.012 3.453-.107 5.356-.87 6.853a8 8 0 0 1-3.496 3.496c-1.498.763-3.4.858-6.854.87L36.2 42.7H19.247q.266-.68.44-1.4H36.2c2.263 0 3.877 0 5.14-.104 1.248-.102 2.03-.296 2.656-.615a6.6 6.6 0 0 0 2.885-2.885c.318-.625.513-1.408.615-2.655.103-1.264.104-2.877.104-5.14v-.2H49zM37.778 6.7c3.454.012 5.356.107 6.854.87a8 8 0 0 1 3.496 3.496C49 12.78 49 15.02 49 19.5v.2h-1.4v-.2c0-2.263 0-3.877-.104-5.14-.102-1.248-.297-2.03-.615-2.656a6.6 6.6 0 0 0-2.885-2.885c-.625-.318-1.408-.513-2.655-.615C40.077 8.1 38.463 8.1 36.2 8.1H16.8c-2.263 0-3.877 0-5.14.103-1.248.102-2.03.297-2.656.615a6.6 6.6 0 0 0-2.885 2.885c-.318.625-.513 1.408-.615 2.655C5.4 15.622 5.4 17.236 5.4 19.5v8.805q-.725.252-1.4.598V19.5c0-4.2 0-6.432.719-8.104l.153-.328A8 8 0 0 1 8.09 7.721l.28-.15c1.71-.872 3.95-.872 8.43-.872H36.2z"})),i||(i=o.createElement("path",{stroke:"#8D8E92",strokeWidth:1.4,d:"M40 19.4h9a2.3 2.3 0 0 1 2.3 2.3v6a2.3 2.3 0 0 1-2.3 2.299h-9a5.3 5.3 0 1 1 0-10.6Z"})),c||(c=o.createElement("circle",{cx:9,cy:38.699,r:8.3,stroke:"#8D8E92",strokeOpacity:.6,strokeWidth:1.4})),d||(d=o.createElement("path",{fill:"#8D8E92",fillOpacity:.6,d:"M8.997 34a.7.7 0 0 1 .7.7v3.298h3.3a.7.7 0 0 1 0 1.4h-3.3V42.7a.7.7 0 0 1-1.4 0v-3.302h-3.3a.7.7 0 0 1 0-1.4h3.3V34.7a.7.7 0 0 1 .7-.7"})))}},56185:(e,t,r)=>{r.d(t,{A:()=>d});var l=r(80069),s=r(34852);r(20801);var a=r(66926),n=r(78937),i=r(40470),c=r(34733);let d=e=>{let{className:t,text:r,onClick:d}=e,{t:o}=(0,a.Bd)(),{theme:x}=(0,s.D)(),m=o("home.connect_wallet_action"),p=null==r?void 0:r.split(new RegExp("(".concat(m,")")));return(0,l.jsxs)("div",{className:(0,c.cn)("flex flex-col items-center justify-center text-text-light text-[13px] gap-1",t),children:["light"===x?(0,l.jsx)(n.A,{className:"w-[56px] h-auto"}):(0,l.jsx)(i.A,{className:"w-[56px] h-auto"}),(0,l.jsx)("span",{className:"text-center",children:null==p?void 0:p.map((e,t)=>e===m?(0,l.jsx)("span",{onClick:d,className:"text-main-color font-semibold cursor-pointer hover:underline mr-0.5",children:e},t):(0,l.jsx)("span",{children:e},t))})]})}},78937:(e,t,r)=>{r.d(t,{A:()=>m});var l,s,a,n,i,c,d,o=r(20801);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}let m=function(e){return o.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:52,height:48,fill:"none"},e),l||(l=o.createElement("path",{fill:"#6C757D",fillOpacity:.6,d:"M22.384 2.381c2.982-1.84 7.038-1.842 10.02 0l9.375 5.788-5.057-.036c-1.41-.01-2.91-.01-4.51-.01h-9.637c-1.6 0-3.1 0-4.51.01l-5.057.036zm9.19 1.166c-2.48-1.53-5.881-1.53-8.36 0l-5.16 3.186c1.417-.01 2.922-.01 4.521-.01h9.637c1.599 0 3.104 0 4.52.01z"})),s||(s=o.createElement("path",{fill:"#6C757D",fillOpacity:.6,fillRule:"evenodd",d:"M43 24.7a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"})),a||(a=o.createElement("path",{stroke:"#6C757D",strokeLinecap:"round",strokeWidth:1.4,d:"M14.086 15.7h9.75"})),n||(n=o.createElement("path",{fill:"#6C757D",d:"m49 29.9-.002 1.578c-.012 3.453-.107 5.356-.87 6.853a8 8 0 0 1-3.496 3.496c-1.498.763-3.4.858-6.854.87L36.2 42.7H19.247q.266-.68.44-1.4H36.2c2.263 0 3.877 0 5.14-.104 1.248-.102 2.03-.296 2.656-.615a6.6 6.6 0 0 0 2.885-2.885c.318-.625.513-1.408.615-2.655.103-1.264.104-2.877.104-5.14v-.2H49zM37.778 6.7c3.454.012 5.356.107 6.854.87a8 8 0 0 1 3.496 3.496C49 12.78 49 15.02 49 19.5v.2h-1.4v-.2c0-2.263 0-3.877-.104-5.14-.102-1.248-.297-2.03-.615-2.656a6.6 6.6 0 0 0-2.885-2.885c-.625-.318-1.408
1-.513-2.655-.615C40.077 8.1 38.463 8.1 36.2 8.1H16.8c-2.263 0-3.877 0-5.14.103-1.248.102-2.03.297-2.656.615a6.6 6.6 0 0 0-2.885 2.885c-.318.625-.513 1.408-.615 2.655C5.4 15.622 5.4 17.236 5.4 19.5v8.805q-.725.252-1.4.598V19.5c0-4.2 0-6.432.719-8.104l.153-.328A8 8 0 0 1 8.09 7.721l.28-.15c1.71-.872 3.95-.872 8.43-.872H36.2z"})),i||(i=o.createElement("path",{stroke:"#6C757D",strokeWidth:1.4,d:"M40 19.4h9a2.3 2.3 0 0 1 2.3 2.3v6a2.3 2.3 0 0 1-2.3 2.299h-9a5.3 5.3 0 1 1 0-10.6Z"})),c||(c=o.createElement("circle",{cx:9,cy:38.699,r:8.3,stroke:"#6C757D",strokeOpacity:.6,strokeWidth:1.4})),d||(d=o.createElement("path",{fill:"#6C757D",fillOpacity:.6,d:"M8.997 34a.7.7 0 0 1 .7.7v3.298h3.3a.7.7 0 0 1 0 1.4h-3.3V42.7a.7.7 0 0 1-1.4 0v-3.302h-3.3a.7.7 0 0 1 0-1.4h3.3V34.7a.7.7 0 0 1 .7-.7"})))}},80170:(e,t,r)=>{r.r(t),r.d(t,{default:()=>J});var l,s,a,n,i,c,d=r(80069),o=r(30481),x=r(34852),m=r(66693),p=r(85087),f=r(87671),h=r(58205),u=r(99065),g=r(20801),v=r(66926),j=r(70140);function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}let N=function(e){return g.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),l||(l=g.createElement("path",{fill:"currentColor",d:"M4 2.667A2.667 2.667 0 0 1 6.667 0h6.666A2.667 2.667 0 0 1 16 2.667v6.666A2.667 2.667 0 0 1 13.333 12V5.333a2.667 2.667 0 0 0-2.666-2.666z"})),s||(s=g.createElement("path",{fill:"currentColor",d:"M2.667 4A2.667 2.667 0 0 0 0 6.667v6.666A2.667 2.667 0 0 0 2.667 16h6.666A2.667 2.667 0 0 0 12 13.333V6.667A2.667 2.667 0 0 0 9.333 4z"})))};function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}let y=function(e){return g.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none"},e),a||(a=g.createElement("path",{fill:"#2EBD85",d:"M7.763 4.287a.546.546 0 0 1 .838.699L5.874 8.259a.546.546 0 0 1-.805.036L3.433 6.658a.545.545 0 0 1 .77-.77L5.418 7.1z"})),n||(n=g.createElement("path",{fill:"#2EBD85",fillRule:"evenodd",d:"M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0m0 1.09a4.91 4.91 0 1 0 0 9.82 4.91 4.91 0 0 0 0-9.82",clipRule:"evenodd"})))};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}let _=function(e){return g.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:10,fill:"none"},e),i||(i=g.createElement("path",{d:"M0 5a.5.5 0 0 0 .5.5h9.793L6.646 9.147a.5.5 0 0 0 .708.707l4.5-4.5a.5.5 0 0 0 0-.707l-4.5-4.5a.5.5 0 1 0-.708.707L10.293 4.5H.5A.5.5 0 0 0 0 5",clipRule:"evenodd"})))};function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}let C=function(e){return g.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",width:16,height:15,fill:"none"},e),c||(c=g.createElement("path",{fill:"#EDBE18",fillRule:"evenodd",d:"M6.711.74a1.492 1.492 0 0 1 2.578 0l1.76 3.024c.161.278.441.469.76.517l2.922.44c1.273.191 1.72 1.795.728 2.614l-2.128 1.759a1.06 1.06 0 0 0-.367 1.016l.596 3.122c.234 1.223-1.054 2.173-2.158 1.593L8.496 13.3a1.07 1.07 0 0 0-.992 0l-2.906 1.526c-1.104.58-2.392-.37-2.158-1.593l.596-3.122a1.06 1.06 0 0 0-.367-1.016L.541 7.335c-.992-.82-.545-2.423.728-2.614l2.921-.44c.32-.048.6-.239.762-.517zm1.473.64a.213.213 0 0 0-.368 0l-1.76 3.023A2.34 2.34 0 0 1 4.382 5.54l-2.92.44a.212.212 0 0 0-.105.374l2.128 1.758c.657.543.966 1.4.807 2.236l-.596 3.122c-.034.175.15.31.308.228l2.906-1.526a2.35 2.35 0 0 1 2.182 0l2.906 1.526a.213.213 0 0 0 .308-.228l-.596-3.122c-.16-.836.15-1.693.807-2.236l2.128-1.758a.212.212 0 0 0-.104-.374l-2.92-.44a2.34 2.34 0 0 1-1.677-1.137z",clipRule:"evenodd"})))},E=r.p+"static/media/ic_referrals_top_bg.09dc0709.svg",D=r.p+"static/media/ic_referrals_top_bg_light.a6181a8b.svg",O=r.p+"static/media/ic_referrals_top_bg_with_phone.f95cd8c1.svg",R=r.p+"static/media/ic_referrals_top_bg_with_phone_2.fd74c370.svg",M={src:"/_next/static/media/ic_referrals_top_pic.949e7de6.png",height:644,width:930,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAP1BMVEVMaXHTwIXpz3SqgjeBZTZ+bUjXr1jcpRXxzE7EydTqzHDiyYPZu26gcB3erkG6rJS8rYilnpp/f47vyVTZqTxkDNEnAAAAE3RSTlMAUjBYE6L5BBs9VkjNgd2qnXdWxBokMAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADBJREFUeJwlyrcNACAQwECTc2b/WdELV1cYIAQkW9SH8VVHILXTs2D5c2eSZTi3gQcXNwEUOj/TPwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6};var V=r(34202),L=r(83046),S=r(85246),z=r(98503),T=r(76055),P=r(41886),B=r(83548),H=r(57454),$=r(42351),I=r
1(34733),U=r(56185);function J(){let{t:e}=(0,v.Bd)(),t=(0,B.l)(e=>e.isMobile),{showReferralRewardDialog:r,showReferralEnterCodeDialog:l,showSelectWalletDialog:s}=(0,T.s)(),[a,n]=(0,g.useState)(!0),[i,c]=(0,g.useState)(!1),[b,w]=(0,g.useState)(!1),[k,A]=(0,g.useState)({}),[J,q]=(0,g.useState)({}),[W,X]=(0,g.useState)([]),[K,Z]=(0,g.useState)({}),F=(0,g.useRef)(null),Q=(0,H.kH)(e=>e.isLogined),Y=(0,H.kH)(e=>e.userInfo),G=(null==Y?void 0:Y.agent)||!1,[ee,et]=(0,g.useState)(!1),[er,el]=(0,g.useState)({first:0,rows:10,page:0,sortField:null,sortOrder:null,filters:null}),[es,ea]=(0,g.useState)(0),{theme:en}=(0,x.D)(),[ei,ec]=(0,g.useState)(!0),ed=(0,g.useRef)(null),eo=(0,g.useRef)(0),ex=(0,g.useCallback)(e=>{ed.current&&ed.current.disconnect(),e&&(ed.current=new IntersectionObserver(e=>{e[0].isIntersecting&&em()},{threshold:1}),ed.current.observe(e))},[]),em=()=>{(0,j.qx)({pageNum:eo.current+1,pageSize:10}).then(e=>{e&&(X(t=>[...t,...e.list]),ea(e.total),eo.current=e.pageNum,ec((e.pageNum-1)*e.pageSize+e.list.length<e.total))}).finally(()=>{})},ep=()=>{if((0,z.$s)(z.SK),!Q||ef())return void s();l(()=>{eg()},k.parentInviteCode)},ef=()=>!Y||Y&&2===Y.accountType,eh=()=>ef()?"--":Q&&k.inviteCode?"".concat("https://www.xstable.ai/","trade?ref=").concat(k.inviteCode):"--",eu=t=>{if(2===t&&(!Q||ef()))return void s();if((0,H.Iv)())return void(0,P.P0)("error",e("referrals.trial_account_copy_hint"));if(Q&&k.inviteCode)switch(t){case 1:(0,z.$s)(z.ke),(0,I.Dk)(eh(),e("referrals.copy_link_success"));break;case 2:(0,z.$s)(z.Wy),(0,I.Dk)(eh(),e("referrals.copy_link_success"))}},eg=()=>{(0,j.i7)().then(e=>{e&&(A(e.inviteUserTextInfoVo),q(e.inviteCommissionSummaryVo),Z(e.inviteUserTextInfoVo.inviteCommissionAndDiscountConfigVoList.filter(e=>e.isCurrent)[0]||{}),n(!1))})};return(0,g.useEffect)(()=>{Q?(eg(),(0,j.qx)({pageNum:er.page+1,pageSize:10}).then(e=>{e&&(X(e.list),ea(e.total),eo.current=e.pageNum,ec((e.pageNum-1)*e.pageSize+e.list.length<e.total))}).finally(()=>{w(!1)})):((0,j.ir)().then(e=>{e&&(A(e),Z(e.inviteCommissionAndDiscountConfigVoList.filter(e=>e.isCurrent)[0]||{}),n(!1))}),w(!1),X([]))},[Q,er]),(0,g.useEffect)(()=>{(0,z.$s)(z.l1)},[]),(0,d.jsx)("div",{className:"w-full flex justify-center h-[calc(100svh-122px)] md:h-[calc(100vh-112px)] overflow-y-scroll",children:a?(0,d.jsx)("div",{className:"w-full md:w-[1316px] h-[60vh] flex items-center justify-center px-4",children:(0,d.jsx)(L.A,{className:"w-12 h-12"})}):(0,d.jsxs)("div",{className:"w-full md:w-[1316px] mt-4 md:mt-8 relative px-4 ",children:[(0,d.jsxs)("div",{className:"rounded-xl hidden flex-col px-4 md:px-6 py-4 relative",children:["light"===en?(0,d.jsx)("div",{className:"referals-top-header-bg absolute right-0 top-0 z-[-1] rounded-xl overflow-hidden",children:(0,d.jsx)("img",{className:"w-full h-[190px] md:h-[136px] object-cover object-right",src:"".concat(t?R:D),alt:""})}):(0,d.jsx)("div",{className:"w-full bg-[#222222] absolute top-0 left-0 z-[-1] rounded-xl overflow-hidden",children:(0,d.jsx)("img",{className:"w-full h-[180px] md:h-[136px] object-cover",src:"".concat(t?O:E),alt:""})}),(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsx)("span",{className:"referrals-gradient-text text-[20px] md:text-[24px] font-bold",children:e("referrals.limited_time_launch_offer")}),!t&&(0,d.jsxs)("div",{className:"flex relative ml-3",children:[(0,d.jsx)("div",{style:{position:"absolute",bottom:-6,left:-5,top:"50%",transform:" translateY(-50%)",width:0,height:0,borderRight:"6px solid var(--referral-top-bubble)",borderBottom:"6px solid transparent",borderTop:"6px solid transparent"}}),(0,d.jsx)("div",{className:"h-7 bg-referral-top-bubble rounded-lg flex items-center text-white text-sm font-medium px-3",children:(0,I.tX)(K.startDay,K.endDay,o.Ay.language)})]})]}),(0,d.jsx)("div",{className:"text-text-light w-[190px] md:w-full text-[16px] md:text-[18px] whitespace-pre-line",children:(0,d.jsx)(v.x6,{i18nKey:"referrals.earn_hint",values:{percent:K.commissionRate,percent2:K.discountRate},components:{white:(0,d.jsx)("span",{className:"text-text-dark font-semibold"})}})}),t&&(0,d.jsx)("div",{className:"flex mt-3 h-7 rounded-lg items-center text-text-dark text-xs font-medium",children:(0,I.tX)(K.startDay,K.endDay,o.Ay.language)}),(0,d.jsxs)("div",{className:"flex w-fit items-center bg-referral-view-background rounded-[14px] mt-2 text-referral-view-text text-[14px] px-4 py-1 cursor-pointer",onClick:()=>{(0,z.$s)(z.Ds),r(k.inviteCommissionAndDiscountConfigVoList||[])},children:[(0,d.jsx)("span",{children:e("home.see_detail")}),(0,d.jsx)(_,{width:12,height:10,className:" ml-1.5 fill-current"})]})]}),(0,d.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center justify-center gap-4",children:[(0,d.jsx)("div",{className:"md:w-[780px] text-text-dark text-[20px] md:text-[48px] font-[700] flex items-center whitespace-pre-wrap leading-tight",children:e("referrals.invite_earn")}),(0,d.jsxs)("div",{className:"text-[14px] text-text-dark md:ml-auto flex",children:[k.parentInviteCode?(0,d.jsxs)("div",{className:"flex-1 md:flex-auto justify-center text-text-dark bg-referrals-parent-invite-code-background border border-partner-data-background h-10 px-0 md:px-4 roun
1ded-[10px] items-center cursor-pointer gap-1.5 font-medium ".concat(k.isKol?"w-full justify-center hidden":"flex"),onClick:ep,children:[(0,d.jsx)(y,{className:"w-3 h-3"}),(0,d.jsx)("span",{children:k.parentInviteCode}),(0,d.jsx)("span",{children:e("referrals.applied")})]}):(0,d.jsx)("div",{className:"flex-1 md:flex-auto h-10 px-0 md:px-4 justify-center text-text-dark bg-referrals-parent-invite-code-background rounded-[10px] border border-partner-data-background cursor-pointer flex items-center font-medium",onClick:ep,children:e("referrals.enter_code")}),(0,d.jsx)("div",{className:"flex-1 md:flex-auto px-0 md:px-4 justify-center h-10 ml-3 text-text-dark bg-referrals-parent-invite-code-background rounded-[10px] border border-partner-data-background cursor-pointer flex items-center font-medium ".concat(k.isKol||G?"hidden":""),onClick:()=>{window.open($.B7),(0,z.$s)(z.ZK)},children:e("referrals.apply_kol_verification")})]})]}),(0,d.jsxs)("div",{className:"w-full flex flex-col md:flex-row gap-5 mt-7",children:[(0,d.jsxs)("div",{className:"w-full shrink-0 md:w-[610px]  rounded-[12px] bg-referral-block-bg",children:[(0,d.jsxs)("div",{className:"w-fit h-7.5 inline-flex items-center gap-2",children:[(0,d.jsx)(C,{className:""}),(0,d.jsx)("span",{className:"text-text-dark text-xl font-semibold",children:e("referrals.referral_program")})]}),(0,d.jsx)("div",{className:"mt-3 text-text-light",children:(0,d.jsx)(v.x6,{i18nKey:"referrals.share_your_link",components:{white:(0,d.jsx)("span",{className:"text-text-dark font-bold"})}})}),(0,d.jsxs)("div",{className:"mt-8 flex flex-col bg-block-background rounded-xl text-text-light text-base gap-3 p-4 md:p-6",children:[(0,d.jsxs)("div",{className:"flex justify-between",children:[(0,d.jsx)("span",{className:"font-normal text-sm",children:e("referrals.referral_code")}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-text-dark text-base font-medium",children:ef()?"--":Q&&k.inviteCode?k.inviteCode:"--"}),(0,d.jsx)(N,{className:"w-4 h-4 cursor-pointer fill-current text-text-light",alt:"",onClick:()=>{if((0,H.Iv)())return void(0,P.P0)("error",e("referrals.trial_account_copy_hint"));!ef()&&Q&&k.inviteCode&&((0,z.$s)(z.T8),(0,I.Dk)(k.inviteCode,e("referrals.copy_code_success")))}})]})]}),(0,d.jsxs)("div",{className:"flex justify-between",children:[(0,d.jsx)("span",{className:"font-normal text-sm",children:e("referrals.referral_link")}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-text-dark text-base font-medium",children:t?(0,I.J1)(eh()):eh()}),(0,d.jsx)(N,{className:"w-4 h-4 cursor-pointer fill-current text-text-light",alt:"",onClick:()=>eu(1)})]})]}),(0,d.jsx)(p.$,{className:"w-full h-11 main-button !border-none !text-base !mt-4 !rounded-lg",rounded:!0,label:e("referrals.invite_now"),onClick:()=>eu(2)})]})]}),(0,d.jsx)("div",{className:"hidden md:flex w-full items-center justify-end mr-10",children:(0,d.jsx)(m.default,{className:"w-auto h-[276px]",src:M,alt:""})}),(0,d.jsxs)("div",{className:"hidden flex-1 border border-border-color md:border-panel-border-color rounded-[12px] bg-referral-block-bg",children:[(0,d.jsx)("div",{className:"px-4 md:px-5 py-3",children:(0,d.jsx)("span",{className:"text-text-dark text-[20px] font-medium ",children:e("referrals.referred_tier")})}),(0,d.jsxs)("div",{className:"flex flex-col border-t border-border-color md:border-panel-border-color text-text-light text-base gap-3 py-4 px-4 md:px-6",children:[(0,d.jsxs)("div",{className:"flex",children:[(0,d.jsx)("span",{className:"w-[25%]",children:e("referrals.tier")}),(0,d.jsx)("span",{className:"w-[40%] md:w-[50%]",children:e("referrals.referred_vol")}),(0,d.jsx)("span",{className:"w-[35%] md:w-[25%] text-right",children:e("referrals.boost_for_traders")})]}),(0,d.jsx)("div",{className:"flex flex-col gap-4",children:k.tradingCommissionRateList&&k.tradingCommissionRateList.map((t,r)=>(0,d.jsxs)("div",{className:"flex text-base ".concat(t.isCurrentTier?"text-text-dark font-semibold":"text-text-light"),children:[(0,d.jsx)("span",{className:"w-[25%]",children:t.tier}),(0,d.jsxs)("div",{className:"w-[40%] md:w-[50%] flex items-center gap-2",children:[(0,d.jsx)("span",{className:"",children:(0,I.n9)(t.volumeMin)}),t.isCurrentTier&&(0,d.jsx)("span",{className:"text-xs bg-referral-current-tier-background rounded-[14px] text-main-color px-2.5 py-0.5 font-medium",children:e("referrals.current_tier")})]}),(0,d.jsx)("span",{className:"w-[35%] md:w-[25%] text-right ".concat(t.isCurrentTier?"text-main-color":""),children:"".concat(t.rate,"%")})]},r))})]})]})]}),(0,d.jsxs)("div",{className:"mt-7",children:[(0,d.jsx)("span",{className:"text-text-dark text-xl font-medium",children:e("referrals.total_statistics")}),(0,d.jsxs)("div",{className:"flex flex-col md:flex-row mt-6 gap-[13px]",children:[(0,d.jsx)("div",{className:"bg-block-background rounded-[12px] pl-4 md:pl-6 pr-[21px] py-4 md:py-6 flex gap-4 items-center w-full md:w-[300px]",children:(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"text-[14px] text-text-light",children:e("referrals.referred_friends")}),(0,d.jsx)("span",{className:"text-[20px] md:text-[24px] font-semibold text-text-dark",children:Q?J.referredFriends:"0"})]})}),(0,d.jsx)("div",{className:"bg-block-background rounded-[12px] pl-4 md:pl-6 py-4 md:py-6 flex w-full md:w-[300px] gap-4 items-center",children:(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"text-[14px] text-text-light",children:e("referrals.referred_vol")}),(0,d.jsx)("span",{className:"text-[20px] md:text-[24px] font-semibold text-text-dark",children:"$".concat(Q?(0,I.hE)(J.referredVolume):"0.00")})]})}),(0,d.jsx)("div",{className:"bg-block-background rounded-[12px] pl-4 md:pl-6 py-4 md:py-6 flex flex-1 gap-4 items-center",children:(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"text-[14px] text-text-light",children:e("referrals.rewards_earned")}),(0,d.jsx)("span",{className:"text-[20px] md:text-[24px] font-semibold text-text-dark",children:"$".concat(Q?(0,I.hE)(J.finishCommission):"0.00")})]})}),(0,d.jsxs)("div",{className:"bg-block-background rounded-[12px] px-4 md:px-6 py-4 md:py-6 flex flex-1 items-center relative",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"text-[14px] text-text-light",children:e("referrals.unclaimed_rewards")}),(0,d.jsx)("span",{className:"text-[20px] md:text-[24px] font-semibold text-text-dark ",children:"$".concat(Q?(0,I.hE)(J.pendingCommission):"0.00")})]}),(0,d.jsx)("div",{className:"bg-panel-background border border-border-color roun
1ded-[8px] text-text-dark text-[14px] px-2.5 py-1 md:py-2 absolute right-4 top-[-8px] md:top-2 shadow-[0_3px_4px_#21252926] ".concat(ee?"block":"hidden"),children:(0,d.jsx)("span",{children:e("referrals.min_claim_amount")})}),(0,d.jsx)(p.$,{ref:F,className:"text-[14px] !text-affiliate-search-text !bg-text-dark !border-none !rounded-lg !h-[34px] !align-bottom !mt-auto !px-5 !ml-auto ".concat(!Q||J.pendingCommission<1?"opacity-60 !cursor-default":"opacity-100 cursor-pointer"),rounded:!0,label:e("referrals.claim"),onClick:()=>void(Q&&!(J.pendingCommission<1)&&!i&&((0,z.$s)(z.Ut),c(!0),(0,j._U)().then(t=>{t&&((0,P.P0)("success",e("referrals.claim_success"),3e3),eg(),(0,H.xJ)())}).finally(()=>{c(!1)}))),onMouseEnter:()=>void et(!0),onMouseLeave:()=>{setTimeout(()=>{et(!1)},100)}})]})]}),(0,d.jsx)("div",{className:"text-text-light font-normal text-base mt-5",children:(0,d.jsx)(v.x6,{i18nKey:"referrals.referred_history_delay",components:{white:(0,d.jsx)("span",{className:"text-text-dark font-medium"})}})})]}),(0,d.jsx)("div",{className:"text-text-dark text-xl font-semibold mt-7",children:e("referrals.referral_commission_details")}),(0,d.jsxs)("div",{className:"relative mt-6",children:[0===W.length?(0,d.jsx)("div",{className:"text-text-dark flex items-center justify-center h-[218px]",children:(0,d.jsx)(V.A,{text:e("referrals.no_referral_records")})}):t?(0,d.jsxs)("div",{className:"relative cus-table pb-10",children:[W.map((t,r)=>(0,d.jsxs)("div",{className:"flex flex-col w-full h-full bg-position-item-background rounded-2xl border border-block-background text-sm text-text-dark py-6 px-4 mb-3",children:[(0,d.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,d.jsx)("div",{className:"text-text-light",children:e("referrals.your_rewards")}),(0,d.jsx)("div",{className:"font-medium text-2xl",children:"$".concat((0,I.hE)(t.yourRewards))})]}),(0,d.jsxs)("div",{className:"flex flex-row justify-between mt-1.5",children:[(0,d.jsx)("div",{className:"text-text-light",children:e("referrals.friend_address")}),(0,d.jsx)("div",{className:"font-medium",children:"".concat((0,I.UQ)(t.friendAddress))})]}),(0,d.jsxs)("div",{className:"flex flex-row justify-between mt-3.5",children:[(0,d.jsx)("div",{className:"text-text-light",children:e("referrals.date_joined")}),(0,d.jsx)("div",{className:"font-medium",children:"".concat((0,I._b)(t.dateJoined))})]}),(0,d.jsxs)("div",{className:"flex flex-row justify-between mt-3.5",children:[(0,d.jsx)("div",{className:"text-text-light",children:e("referrals.total_volume")}),(0,d.jsx)("div",{className:"font-medium",children:"$".concat((0,I.hE)(t.totalVolume))})]})]},r)),ei&&(0,d.jsx)("div",{ref:ex,className:"h-10 w-full pb-6 text-center text-sm text-text-light",children:e("trade.load_more_loading")}),!ei&&(0,d.jsx)("div",{className:"h-10 w-full flex items-center justify-center mb-3 text-sm text-text-light",children:e("trade.load_more_end")})]}):(0,d.jsxs)("div",{className:"relative ",children:[(0,d.jsxs)(h.b,{value:W,emptyMessage:(0,d.jsx)("div",{className:"text-text-dark flex items-center justify-center h-[218px]",children:(0,d.jsx)(V.A,{text:e("referrals.no_referral_records")})}),paginator:!0,first:er.first,onPage:e=>{el(e)},totalRecords:es,lazy:!0,scrollable:!0,rows:10,rowsPerPageOptions:[5,10,25,50],paginatorTemplate:{layout:" PrevPageLink PageLinks NextPageLink ",RowsPerPageDropdown:e=>(0,d.jsxs)("div",{className:"flex align-items-center",children:[(0,d.jsx)(u.m,{target:".slider>.p-slider-handle",content:"".concat(e.value," / page"),position:"top",event:"focus"}),(0,d.jsxs)("span",{className:"mr-3",style:{color:"var(--text-color)",userSelect:"none"},children:["Items per page:"," "]})]}),CurrentPageReport:e=>(0,d.jsxs)("span",{style:{color:"var(--text-color)",userSelect:"none",width:"120px",textAlign:"center"},children:[e.first," ","-",e.last," ","of",e.totalRecords]})},pt:{wrapper:()=>({className:"border border-panel-border-color rounded-[12px]"}),thead:()=>({className:"!border-b !border-panel-border-color"})},children:[(0,d.jsx)(f.V,{body:e=>(0,d.jsx)("div",{className:"text-text-dark",children:(0,I.UQ)(e.friendAddress)}),header:e("referrals.friend_address"),pt:{headerTitle:()=>({className:"text-text-light text-xs font-normal"}),headerCell:()=>
1({className:"!h-[50px] !rounded-tl-lg !rounded-bl-lg"}),bodyCell:()=>({className:"text-sm !h-[70px]"})}}),(0,d.jsx)(f.V,{body:e=>(0,d.jsx)("div",{className:"text-text-light",children:(0,I._b)(e.dateJoined)}),header:e("referrals.date_joined"),pt:{headerTitle:()=>({className:"text-text-light text-xs font-normal"}),headerCell:()=>({className:"!h-[50px]"}),bodyCell:()=>({className:"text-sm !h-[70px]"})}}),(0,d.jsx)(f.V,{body:e=>(0,d.jsx)("div",{className:"text-text-dark",children:"$".concat((0,I.tu)(e.totalVolume))}),header:e("referrals.total_volume"),pt:{headerTitle:()=>({className:"text-text-light text-xs font-normal"}),headerCell:()=>({className:"!h-[50px]"}),bodyCell:()=>({className:"text-sm !h-[70px]"})}}),(0,d.jsx)(f.V,{body:e=>(0,d.jsx)("div",{className:"text-text-dark",children:"$".concat((0,I.tu)(e.yourRewards))}),header:e("referrals.your_rewards"),pt:{headerTitle:()=>({className:"text-text-light text-xs font-normal"}),headerCell:()=>({className:"!h-[50px]"}),headerContent:()=>({className:"!flex justify-end"}),bodyCell:()=>({className:"text-sm !h-[70px] !text-end"})}})]},o.Ay.language),(0,d.jsx)(S.A,{num:es,className:"text-text-light text-xs absolute bottom-0 h-11 flex items-center ml-7"})]}),Q?b?(0,d.jsx)("div",{className:"text-white w-full h-[218px] flex items-center justify-center bg-main-background absolute top-[32px] left-[50%] translate-x-[-50%] ",children:(0,d.jsx)(L.A,{className:"w-12 h-12"})}):(0,d.jsx)(d.Fragment,{}):(0,d.jsx)("div",{className:"text-text-dark text-[14px] w-full h-[218px] flex items-center justify-center bg-main-background absolute top-[55px] md:top-[32px] left-[50%] translate-x-[-50%]",children:(0,d.jsx)(U.A,{text:e("home.referrals_connect_wallet_title"),onClick:s})})]})]})})}},85246:(e,t,r)=>{r.d(t,{A:()=>a});var l=r(80069);r(20801);var s=r(66926);let a=e=>{let{num:t,className:r}=e,{t:a}=(0,s.Bd)();return(0,l.jsx)("div",{className:"".concat(r),children:"".concat(a(t>1?"assets.total_data_num":"assets.total_data_num1",{num: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.