PageSourceSearch

https://swellr-v1.lovable.app/assets/InfluencerOnboarding-Dr9z37I9.js

js swellr-v1.lovable.app collected 2026-10-03 03:40:08 UTC 11,017 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-motion-RceBBME-.js";import{r}from"./vendor-react-Cpi2Ks0G.js";import{s as J}from"./swellr-icon-C14WmNDT.js";import{R as X,a as Z,V as ee,b as te,S as se}from"./SwellrComplianceBanner-qRUOd-wq.js";import{P as re}from"./PersonalInfoStep-C_WGeu3p.js";import{B as D}from"./button-BiJAJ1Tz.js";import{C as a,a as o,b as n,d as i,c}from"./card-nKswJroL.js";import{S as j,a as f,b,c as y,d}from"./select-DiCednQ_.js";import{T as R}from"./textarea-DatjbmWi.js";import{I as B}from"./input-BECoW2S1.js";import{a as O,t as ae}from"./index-CuHhDV_q.js";import{C as oe}from"./circle-alert-C8ZcW-EP.js";import{S as ne}from"./SocialMediaVerificationStep-Bl020IQh.js";import{V as ie}from"./VerificationCongratsStep-BLmh2e5Z.js";import{U as le}from"./users-Dp-2fWVf.js";import"./progress-CotlbLMV.js";import"./vendor-ui-yq6YCGL7.js";import"./swellr-wordmark-BI5UqoPy.js";import"./shield-DNoAOhUy.js";import"./label-B39E-Xp_.js";import"./circle-check-big-BDT3VDdB.js";import"./mail-Broh9eog.js";import"./clock-BmNZo1cH.js";import"./phone-Ct6lXhsz.js";import"./HeroIDCard-CWl6CiYu.js";import"./cyberid-logo-white-DYRZHHAq.js";import"./circle-check-DETR54tX.js";import"./credit-card-KtK6uEtZ.js";import"./triangle-alert-C4IVyoL4.js";import"./graduation-cap-CA2ZiPNT.js";import"./briefcase-C_p8xf8x.js";import"./share-2-DgS8Tp04.js";import"./globe-CnJ8TMa6.js";import"./vendor-router-CP1d-ni5.js";import"./arrow-right-Dq_UqRZb.js";import"./dialog-pvc1kmrl.js";import"./input-otp-DXnjCDoY.js";import"./loader-circle-GUtzXErs.js";import"./arrow-left-DGw83eVl.js";import"./CyberIdButton-Dp-WhHXe.js";import"./cyberid-DgG82JII.js";import"./index-BdQq_4o_.js";import"./index-DzV9ckze.js";import"./index-BV2lXKv2.js";import"./chevron-down-IJubUJQM.js";import"./chevron-up-DMNzfOqp.js";import"./check-DqHYiXQ9.js";import"./vendor-query-CHQx1s1n.js";import"./badge-BQCCM2eH.js";import"./trash-2-1rROh1e2.js";import"./plus-B2icQ6RX.js";import"./copy-CSmAbJxl.js";import"./file-search-BDxi8sZ1.js";import"./party-popper-GLa6-jcw.js";const L=["Instagram","TikTok","YouTube","Facebook","Twitter/X","Twitch","LinkedIn","Pinterest"],ce=["Lifestyle","Fitness","Tech","Beauty","Travel","Food","Gaming","Business","Education","Entertainment","Parenting","Fashion","Health/Wellness","Finance","Other"],de=["1,000-10,000 (Nano)","10,000-50,000 (Micro)","50,000-500,000 (Mid-Tier)","500,000-1M (Macro)","1M+ (Mega)"],me=["Short-Form Video (Reels/TikTok)","Long-Form Video","Stories","Live Streams","Static Posts/Photos","Carousel Posts","Blog/Written","Podcast"],pe=["Daily","3-5x per week","1-2x per week","A few times per month","Sporadically"],xe=({data:s,updateData:h,nextStep:v,prevStep:S})=>{const[m,w]=r.useState(s.primaryPlatform||""),[u,P]=r.useState(s.secondaryPlatforms||[]),[p,g]=r.useState(s.contentNiche||""),[x,l]=r.useState(s.followerRange||""),[C,H]=r.useState(s.avgEngagementRate||""),[N,U]=r.useState(s.contentFormats||[]),[V,q]=r.useState(s.postingFrequency||""),[E,K]=r.useState(s.brandCollaborationHistory||""),[F,_]=r.useState(s.audienceDemographics||""),[I,W]=r.useState(s.exclusivityConflicts||""),[M,$]=r.useState(s.hasMediaKit||""),[k,G]=r.useState(s.typicalRate||""),A=(t,T)=>t.includes(T)?t.filter(Q=>Q!==T):[...t,T],Y=()=>{h({primaryPlatform:m,secondaryPlatforms:u,contentNiche:p,followerRange:x,avgEngagementRate:C,contentFormats:N,postingFrequency:V,brandCollaborationHistory:E,audienceDemographics:F,exclusivityConflicts:I,hasMediaKit:M,typicalRate:k}),v()},z=m&&p&&x&&N.length>0;return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"text-center mb-4",children:[e.jsx(O,{className:"h-14 w-14 text-purple-600 mx-auto mb-3"}),e.jsx("h3",{className:"text-2xl font-bold text-slate-800 mb-2",children:"Influencer Profile"}),e.jsx("p",{className:"text-muted-foreground",children:"Tell us about your content, audience, and reach"})]}),e.jsxs(a,{children:[e.jsx(o,{children:e.jsx(n,{className:"text-base",children:"Primary Platform"})}),e.jsx(i,{children:e.jsxs(j,{value:m,onValueChange:w,children:[e.jsx(f,{children:e.jsx(b,{placeholder:"Select your primary platform"})}),e.jsx(y,{children:L.map(t=>e.jsx(d,{value:t,children:t},t))})]})})]}),e.jsxs(a,{children:[e.jsxs(o,{children:[e.jsx(n,{className:"text-base",children:"Secondary Platforms"}),e.jsx(c,{children:"Select any other platforms you're active on"})]}),e.jsx(i,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:L.filter(t=>t!==m).map(t=>e.jsx("button",{onClick:()=>P(A(u,t)),className:`px-3 py-1.5 rounded-full text-sm border transition-colors ${u.includes(t)?"bg-slate-800 text-white border-slate-800":"bg-white text-slate-600 border-slate-300 hover:border-slate-400"}`,children:t},t))})})]}),e.jsxs(a,{children:[e.jsx(o,{children:e.jsx(n,{className:"text-base",children:"Content Niche"})}),e.jsx(i,{children:e.jsxs(j,{value:p,onValueChange:g,children:[e.jsx(f,{children:e.jsx(b,{placeholder:"Select your content niche"})}),e.jsx(y,{children:ce.map(t=>e.jsx(d,{value:t,children:t},t))})]})})]}),e.jsxs(a,{children:[e.jsx(o,{children:e.jsx(n,{className:"text-base",children:"Total Follower Count (Primary)"})}),e.jsx(i,{children:e.jsxs(j,{value:x,onValueChange:l,children:[e.jsx(f,{children:e.jsx(b,{placeholder:"Select follower range"})}),e.jsx(y,{children:de.map(t=>e.jsx(d,{value:t,children:t},t))})]})})]}),e.jsxs(a,{children:[e.jsxs(o,{children:[e.jsx(n,{className:"text-base",children:"Average Engagement Rate"}),e.jsx(c,{children:"Typical percentage of followers who engage with your posts"})]}),e.jsx(i,{children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(B,{t
1ype:"number",step:"0.1",min:"0",max:"100",value:C,onChange:t=>H(t.target.value),placeholder:"e.g. 3.5",className:"w-32"}),e.jsx("span",{className:"text-muted-foreground text-sm",children:"%"})]})})]}),e.jsxs(a,{children:[e.jsxs(o,{children:[e.jsx(n,{className:"text-base",children:"Content Formats"}),e.jsx(c,{children:"What types of content do you create?"})]}),e.jsx(i,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:me.map(t=>e.jsx("button",{onClick:()=>U(A(N,t)),className:`px-3 py-1.5 rounded-full text-sm border transition-colors ${N.includes(t)?"bg-slate-800 text-white border-slate-800":"bg-white text-slate-600 border-slate-300 hover:border-slate-400"}`,children:t},t))})})]}),e.jsxs(a,{children:[e.jsx(o,{children:e.jsx(n,{className:"text-base",children:"Posting Frequency"})}),e.jsx(i,{children:e.jsxs(j,{value:V,onValueChange:q,children:[e.jsx(f,{children:e.jsx(b,{placeholder:"How often do you post?"})}),e.jsx(y,{children:pe.map(t=>e.jsx(d,{value:t,children:t},t))})]})})]}),e.jsxs(a,{children:[e.jsxs(o,{children:[e.jsx(n,{className:"text-base",children:"Audience Demographics"}),e.jsx(c,{children:"Describe your audience: age range, gender split, top locations"})]}),e.jsx(i,{children:e.jsx(R,{value:F,onChange:t=>_(t.target.value),placeholder:"e.g. 65% female, ages 25-34, primarily US & UK...",rows:3})})]}),e.jsxs(a,{children:[e.jsxs(o,{children:[e.jsx(n,{className:"text-base",children:"Brand Collaboration History"}),e.jsx(c,{children:"Brands you've worked with, types of deals (flat fee, commission, gifted)"})]}),e.jsx(i,{children:e.jsx(R,{value:E,onChange:t=>K(t.target.value),placeholder:"List brands, campaign types, and typical deal structure...",rows:3})})]}),e.jsxs(a,{children:[e.jsxs(o,{children:[e.jsx(n,{className:"text-base",children:"Typical Rate / Fee"}),e.jsx(c,{children:"Your standard rate for sponsored content"})]}),e.jsx(i,{children:e.jsx(B,{value:k,onChange:t=>G(t.target.value),placeholder:"e.g. $500 per post, $1,000 per video"})})]}),e.jsxs(a,{children:[e.jsx(o,{children:e.jsx(n,{className:"text-base",children:"Do you have a Media Kit?"})}),e.jsx(i,{children:e.jsxs(j,{value:M,onValueChange:$,children:[e.jsx(f,{children:e.jsx(b,{placeholder:"Select..."})}),e.jsxs(y,{children:[e.jsx(d,{value:"yes",children:"Yes, I have an up-to-date media kit"}),e.jsx(d,{value:"outdated",children:"Yes, but it's outdated"}),e.jsx(d,{value:"no",children:"No"})]})]})})]}),e.jsxs(a,{className:"border-amber-200 bg-amber-50/50",children:[e.jsxs(o,{children:[e.jsxs(n,{className:"text-base flex items-center gap-2",children:[e.jsx(oe,{className:"h-4 w-4 text-amber-600"}),"Exclusivity & Conflicts"]}),e.jsx(c,{children:"Are you currently under any exclusivity agreements with brands or competitors?"})]}),e.jsx(i,{children:e.jsx(R,{value:I,onChange:t=>W(t.target.value),placeholder:"List any active exclusivity agreements or competing brand deals...",rows:2})})]}),e.jsxs("div",{className:"flex justify-between pt-4",children:[S&&e.jsx(D,{variant:"ghost",onClick:S,children:"Back"}),e.jsx(D,{onClick:Y,disabled:!z,size:"lg",className:"ml-auto",children:"Continue"})]})]})},he={gradientClasses:"from-white via-purple-50/30 to-purple-100/50",blobColors:["bg-swellr-purple/20","bg-purple-400/20","bg-pink-300/20"],badgeClasses:"bg-swellr-purple/10 text-swellr-purple border-swellr-purple/20"},ue={programTitle:"Influencer Program",subtitle:"Earn up to $50K per sale when you monetize your following with Swellr!",badgeText:"Free to Join",logoUrl:J,secondaryTrust:{icon:e.jsx(O,{className:"h-4 w-4"}),label:"Social Media Verified"}},ge=[{id:"social",label:"Social Media Audience Verification",description:"Verify ownership and metrics of your social accounts",icon:e.jsx(le,{className:"h-6 w-6"}),required:!0}],je=e.jsx(se,{companyName:"Swellr"}),fe={programType:"influencer",firstName:"",lastName:"",email:"",phone:"",country:"",emailVerified:!1,phoneVerified:!1,industry:"",contentTypes:[],productsServices:"",socialAccounts:[],websiteVerification:{url:"",ga4Connected:!1,cssVerified:!1},backgroundCheckInitiated:!1,verificationType:null,idVerification:{facePhotoTaken:!1,idDocumentUploaded:!1,commercialWatched:!1,cyberVerifiedUpgrade:!1},audienceVerification:{platform:null,followers:0,engagementRate:0,averageEngagements:0,platformConnected:!1},marketingChannels:[],experienceLevel:"",paymentMethod:"",taxInfo:{taxId:"",businessName:""}},be=()=>{const[s,h]=r.useState(0),[v,S]=r.useState(fe),m=l=>S(C=>({...C,...l})),w=()=>h(l=>l+1),u=()=>h(l=>Math.max(0,l-1)),P=l=>h(l),p=r.useMemo(()=>[{component:re,title:"Personal Information",extraProps:{complianceBanner:je}},{component:X,title:"Email Verification"},{component:Z,title:"Phone Verification"},{component:xe,title:"Influencer Profile"},{component:ee,title:"Verification Requirements",extraProps:{programName:"Influencer Program",requirements:ge}},{component:ne,title:"Social Media Verification"},{component:ie,title:"Congratulations",extraProps:{programName:"Influencer Program"}}],[]),g=p[s],x=g?.component;return e.jsxs(e.Fragment,{children:[e.jsx(te,{theme:he,branding:ue,currentStep:s,totalSteps:p.length,stepTitle:g?.title||"",children:x?e.jsx(x,{data:v,updateData:m,nextStep:w,prevStep:u,goToStep:P,...g.extraProps}):e.jsx("div",{className:"text-center py-8",children:e.jsx("p",{className:"text-muted-foreground",children:"Step not found"})})}),e.jsx(ae,{})]})},yt=()=>e.jsx(be,{});export{yt as default};

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.