1import{aB as a,aP as t,aq as b}from"./store-DUosIV5A.js";import k from"./Container-nLj8pRGi.js";import v from"./CreateCampaign-BUek16Im.js";import E from"./CwCoverPhoto-Dlpu-Ymn.js";import B from"./MissionStatement-BIqAFBz4.js";import y from"./ProfilePhoto-BSgDv50I.js";import z from"./RaiseAmount-yDa8zIVw.js";import{B as A}from"./index-D9vm3Ihv.js";import{a as I}from"./application-CegkUz9G.js";import{R as N,b as o}from"./index-CzF8G1rP.js";import"./index-B_D4uYdN.js";import"./StoreUtmParams-C23hcEBC.js";import"./index-xEZQ273N.js";import"./lightbulb-icon-filled-BzKd_pIR.js";import"./Photo-CzCLlOJw.js";import"./PhotoModal-WVw-Cg9o.js";import"./Modal-CeM2dICs.js";import"./SkipStepLink-CuckaMT0.js";import"./FileUpload-CecIX0_R.js";import"./PeopleServedInput-IOoRwUro.js";import"./AmountInputWithError-Bj0t4JDL.js";const ta=({authToken:p,avatarUrl:s,country:c,defaultCampaignPhotos:g,endAtForNewCampaign:n,userName:l,userId:u,campaignUrl:x,onboardingImages:d,currentUser:e,campaign:f,maxAmount:h,costPerPerson:j,missionStatementContentfulContent:P,campaignHeaderPhotoUrl:C,cwPersonalizedPhotoUrl:w,defaultCwPersonalizedPhotos:R})=>{I.useLayoutEffect(()=>{a.campaign.attributes=f,a.campaign.authToken=p,a.campaign.avatarUrl=s,a.campaign.campaignHeaderPhotoUrl=C,a.campaign.campaignUrl=x,a.campaign.costPerPerson=j,a.campaign.country=c,a.campaign.currentUser=e,a.campaign.defaultCampaignPhotos=g,a.campaign.endAtForNewCampaign=n,a.campaign.maxAmount=h,a.campaign.missionStatementContentfulContent=P,a.campaign.userId=u,a.campaign.userName=l,a.campaign.userSlug=e==null?void 0:e.slug,a.campaign.cwPersonalizedPhotoUrl=w,a.campaign.defaultCwPersonalizedPhotos=R},[]);const m=(i,r)=>{const S=b.startCase(r.replace("-"," "));window.track_event(`Fundraising Onboarding ${S} Set`,i)};return t.jsx(A,{children:t.jsx(N,{children:["/campaigns/new","/uk/campaigns/new"].map((i,r)=>t.jsxs(o,{element:t.jsx(k,{onboardingImages:d}),path:i,children:[t.jsx(o,{element:t.jsx(v,{endAtForNewCampaign:n}),index:!0}),t.jsx(o,{element:t.jsx(z,{trackSuccessfulUpdate:m}),path:"raise-amount"}),t.jsx(o,{element:t.jsx(y,{trackSuccessfulUpdate:m}),path:"profile-photo"}),t.jsx(o,{element:t.jsx(E,{trackSuccessfulUpdate:m}),path:"cw-cover-photo"}),t.jsx(o,{element:t.jsx(B,{trackSuccessfulUpdate:m}),path:"mission-statement"})]},i))})})};export{ta as default}; 2//# sourceMappingURL=Index-BeOUaakX.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.