PageSourceSearch

https://viralsauce.ai/static/js/2299.92cbadf9.chunk.js

js viralsauce.ai collected 2026-10-05 13:15:52 UTC 6,595 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkviralsauce=self.webpackChunkviralsauce||[]).push([[2299],{4680:(e,r,t)=>{t.r(r),t.d(r,{default:()=>v});var i=t(2250),n=t(2851),o=t(7392),s=t(7353),a=t(5865),l=t(6065),c=t(3003),m=t(7621),d=t(9573),h=t(7927),x=t(4470),p=t(5394),u=t(8469),f=t(866),g=t(8513),j=t(9605),A=t(5043),y=t(1730),w=t(579);function v(){const e=(0,y.dK)(),r=(0,y.Op)(),t=(0,c.wA)(),v=(0,i.Zp)(),S=(0,p.Py)(),k=(0,d.Fr)(),z=(0,h.D)(),[C,W]=(0,A.useState)([{name:"Total",name2:"Sign ups",num:0,keys:"referred_users_count"},{name:"Qualified",name2:"Sign ups",num:0,keys:"referred_users_tiktok_count"},{name:"Unpaid",name2:"Earnings",num:0,keys:"referred_paid"},{name:"Paid",name2:"Earnings",num:0,keys:"referred_unpaid"}]),b=(0,A.useRef)(null),_=[{icon:(0,w.jsx)(x.rx,{sx:{fontSize:"0.16rem"}}),name:"Share your unique link"},{icon:(0,w.jsx)(x.py,{sx:{fontSize:"0.16rem"}}),name:"They sign up"},{icon:(0,w.jsx)(x.eX,{sx:{fontSize:"0.16rem"}}),name:"Your Earn",desc:"Receive up to $5 for every qualified creator you refer to Viral Sauce."}];return(0,A.useEffect)((()=>{S&&((async()=>{let e=await r({});if(200!==e.status_code||!e.data)return;let t=b.current;t&&(t.value="www.viralsauce.ai/join/"+e.data.utm_source)})(),(async()=>{let r=await e({});if(200!==r.status_code||!r.data)return;let t=[...C];t.map((e=>{let t=r.data[e.keys]||0;return e.num=t,e})),W(t)})())}),[S]),(0,w.jsxs)(n.A,{sx:{position:"relative",height:"100%",overflow:"hidden"},children:[(0,w.jsxs)(n.A,{direction:"row",sx:{p:"0 0.04rem",borderBottom:"0.01rem solid "+z.palette.grey[25],maxWidth:"650px",width:"100%",m:"0 auto"},children:[(0,w.jsx)(o.A,{sx:{p:"0.1rem"},onClick:()=>{v(-1)},children:(0,w.jsx)(m.A,{sx:{fontSize:"0.24rem",color:z.palette.primary[5]}})}),(0,w.jsx)(s.A,{flexGrow:"1",overflow:"hidden",p:"0 0.2rem 0 0.04rem",children:(0,w.jsx)(a.A,{sx:{textAlign:"center",fontSize:"0.16rem",color:z.palette.primary[5],lineHeight:"0.44rem"},className:"ellipsis",children:"Refer & Earn"})})]}),(0,w.jsx)(s.A,{sx:{flexGrow:1,overflowX:"hidden",overflowY:"auto"},children:(0,w.jsxs)(s.A,{sx:{p:"0.24rem 0.16rem",maxWidth:"650px",width:"100%",m:"0 auto"},children:[(0,w.jsx)(a.A,{sx:{fontSize:"0.2rem",fontWeight:"700",textAlign:"center",color:z.palette.primary[5]},children:"\ud83d\udd25 Invite Creators, Earn Cash"}),(0,w.jsxs)(s.A,{sx:{color:z.palette.primary[5],textAlign:"center",mt:"0.05rem"},children:[(0,w.jsx)(a.A,{sx:{fontWeight:"400",color:"inherit"},children:"Help others go viral with ViralSauce and"}),(0,w.jsx)(a.A,{sx:{fontWeight:"400",color:"inherit"},children:"get rewarded for every sign up."})]}),(0,w.jsx)(a.A,{sx:{fontSize:"0.18rem",fontWeight:"700",mt:"0.28rem",color:z.palette.primary[5]},children:"\ud83d\udcb8 How it works"}),(0,w.jsx)(s.A,{sx:{mt:"0.14rem"},children:_.map((e=>(0,w.jsxs)(s.A,{children:[(0,w.jsxs)(n.A,{direction:"row",alignItems:"center",gap:"0.1rem",children:[(0,w.jsx)(n.A,{sx:{justifyContent:"center",alignItems:"center",width:"0.26rem",height:"0.26rem",borderRadius:"0.14rem",color:z.palette.primary[5],border:"0.01rem solid "+z.palette.grey[32]},children:e.icon}),(0,w.jsx)(a.A,{sx:{fontSize:"0.16rem",fontWeight:"600",color:z.palette.primary[5]},children:e.name})]}),(0,w.jsx)(s.A,{sx:{minHeight:"0.16rem",ml:"0.12rem",pl:"0.24rem",borderLeft:"0.01rem solid",borderColor:"Your Earn"===e.name?"transparent":z.palette.grey[32]},children:(0,w.jsx)(a.A,{sx:{fontSize:"0.16rem",fontWeight:"400",color:z.palette.primary[5]},children:e.desc})})]},e.name)))}),(0,w.jsx)(a.A,{sx:{fontSize:"0.18rem",fontWeight:"700",mt:"0.24rem",color:z.palette.primary[5]},children:"\ud83d\ude80 Your Referral Link"}),S?(0,w.jsxs)(s.A,{children:[(0,w.jsxs)(n.A,{direction:"row",mt:"0.1rem",gap:"0.08rem",children:[(0,w.jsx)(g.iW,{sx:{height:"0.36rem",bgcolor:"transparent",mt:"0",flexGrow:"1",width:"auto",color:z.palette.primary[5],borderColor:z.palette.grey[29]},readOnly:!0,ref:b}),(0,w.jsx)(u.B7,{sx:{width:k?"1rem":"1.5rem",p:"0",height:"0.36rem",fontSize:"0.14rem"},onClick:()=>{var e;if(!navigator.clipboard||!navigator.clipboard.writeText)return void j.rG.error("Browser not support");const r=(null===(e=b.current)||void 0===e?void 0:e.value)||"";navigator.clipboard.writeText(r).then((()=>{j.rG.success("Copy success")})).catch((e=>{j.rG.error("Copy failed")}))},children:"Copy Link"})]}),(0,w.jsx)(a.A,{sx:{fontSize:"0.18rem",fontWeight:"700",mt:"0.16rem",color:z.palette.primary[5]},children:"\ud83c\udf81 Your Stats"}),(0,w.jsx)(n.A,{direction:"row",sx:{mt:"0.12rem",border:"0.01rem solid "+z.palette.grey[32]},children:C.map(((e,r)=>(0,w.jsxs)(s.A,{sx:{p:"0.2rem 0",flex:1,borderLeft:0===r?"":"0.01rem solid "+z.palette.grey[32]},children:[(0,w.jsx)(a.A,{sx:{fontSize:"0.16rem",fontWeight:"700",textAlign:"center",color:z.palette.primary[5]},children:e.num}),(0,w.jsxs)(n.A,{justifyContent:"center",mt:"0.12rem",children:[(0,w.jsx)(a.A,{sx:{fontSize:"0.16rem",fontWeight:"400",textAlign:"center",lineHeight:"0.2rem",color:z.palette.primary[5]},children:e.name}),(0,w.jsx)(a.A,{sx:{fontSize:"0.16rem",fontWeight:"400",textAlign:"center",lineHeight:"0.2rem",color:z.palette.primary[5]},children:e.name2})]})]},e.name)))}),(0,w.jsxs)(s.A,{sx:{mt:"0.16rem",fontSize:"0.12rem",color:z.palette.grey[34]},children:[(0,w.jsx)(a.A,{component:"span",sx:{fontSize:"inherit",color:"inherit"},children:"Qualified signups are unique individual creators who have signed up, and connected a TikTok account which is active on TikTok shop. Accounts which belong to the same individual do not qualify. See referral"})," ",(0,w.jsx)(l.A,{href:"/terms",sx:{fontSize:"inherit",color:"inherit"},children:"program terms"})," ",(0,w.jsx)(a.A,{component:"span",sx:{fontSize:"inherit",color:"inherit"},children:"for more information."})]})]}):(0,w.jsxs)(s.A,{mt:"0.12rem",children:[(0,w.jsx)(a.A,{sx:{fontSize:"0.16rem",fontWeight:"700",color:z.palette.primary[5]},children:"Create an account to get your referral link"}),(0,w.jsx)(u.B7,{sx:{width:"100%",mt:"0.2rem",maxWidth:k?"100%":"300px"},onClick:()=>t((0,f.$n)("register")),children:"Create account for Free"}),(0,w.jsxs)(n.A,{direction:"row",justifyContent:"center",sx:{mt:"0.16rem",width:"100%",gap:"0.1rem",maxWidth:k?"100%":"300px"},children:[(0,w.jsx)(a.A,{sx:{color:z.palette.primary[4]},children:"Already have an account?"}),(0,w.jsx)(u.QW,{sx:{color:z.custom.txt_3},onClick:()=>t((0,f.$n)("login")),children:"Log In"})]})]})]})})]})}},7621:(e,r,t)=>{t.d(r,{A:()=>
1o});var i=t(6734),n=t(579);const o=(0,i.A)((0,n.jsx)("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew")}}]);
2//# sourceMappingURL=2299.92cbadf9.chunk.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.