PageSourceSearch

https://financial-cloud.ai/assets/Index-hFSDLgjx.js

js financial-cloud.ai collected 2026-10-05 13:39:06 UTC 8,270 bytes, 1 lines download raw bytes

1import{r,j as e}from"./app-C8UnEc_Y.js";import{S as x}from"./SEO-DE_4bvz1.js";import{A as h}from"./Icons-Bh1agoJp.js";import{E as y}from"./instrument-DyvvkS9W.js";const t={pill:"Communication Studio",title:"Register for instant access",intro:"Tell us a little about your business and we’ll email you a secure link to open Communication Studio — free, no platform needed. You can also unlock it any time by completing a free benchmark.",businessTypes:[{value:"lender",label:"Lender"},{value:"bank",label:"Bank"},{value:"dca",label:"Debt collection agency"},{value:"purchaser",label:"Debt purchaser"},{value:"bnpl",label:"BNPL provider"},{value:"servicer",label:"Servicer"},{value:"other",label:"Other"}],companySizes:[{value:"lt50k",label:"Up to 50,000 accounts"},{value:"50k-250k",label:"50,000 – 250,000 accounts"},{value:"250k-1m",label:"250,000 – 1 million accounts"},{value:"gt1m",label:"Over 1 million accounts"}],priorities:["Cutting cost-to-collect","AI & automation","Compliance & Consumer Duty","Customer outcomes & service"],consentLabel:"I’d like to receive occasional insights and updates from Financial Cloud. You can unsubscribe at any time.",sent:{title:"Check your email",eyebrow:"You’re all set",spam:"Can’t see it? Check your spam folder, or"}},f={name:"",company:"",email:"",role:"",businessType:"",companySize:"",phone:"",priority:"",consent:!1},C=function(){const[s,i]=r.useState(f),[u,c]=r.useState(!1),[o,m]=r.useState(!1),[d,n]=r.useState(null),l=a=>i(b=>({...b,...a})),p=async a=>{if(a.preventDefault(),!s.name.trim()){n("Please enter your name.");return}if(!s.company.trim()){n("Please enter your company.");return}if(!y.test(s.email.trim())){n("Enter a valid work email address.");return}if(!s.businessType){n("Please choose your business type.");return}m(!0),n(null);try{await fetch("/.netlify/functions/user-register",{method:"POST",headers:{"content-type":"application/json"},credentials:"same-origin",body:JSON.stringify({name:s.name.trim(),company:s.company.trim(),email:s.email.trim(),role:s.role.trim(),businessType:s.businessType,companySize:s.companySize,phone:s.phone.trim(),priority:s.priority,consent:s.consent})}),c(!0)}catch{n("Could not reach the server. Please try again.")}finally{m(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(x,{title:"Register for Communication Studio",description:"Register for free, instant access to Financial Cloud's Communication Studio.",path:"/register",noindex:!0}),e.jsx("section",{className:"bg-surface-subtle py-12 sm:py-16",children:e.jsx("div",{className:"container-content max-w-xl",children:e.jsx("div",{className:"rounded-xl2 border border-surface-panel bg-white p-8 shadow-card",children:u?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"eyebrow",children:t.sent.eyebrow}),e.jsx("h1",{className:"mt-4 text-2xl",children:t.sent.title}),e.jsxs("p",{className:"mt-3 text-sm text-ink-muted",children:["We’ve emailed ",e.jsx("strong",{className:"text-ink",children:s.email.trim()})," a secure link to open Communication Studio. It’s valid for 15 minutes — click it and you’ll be taken straight in."]}),e.jsxs("p",{className:"mt-3 text-sm text-ink-faint",children:[t.sent.spam," ",e.jsx("button",{type:"button",onClick:()=>{c(!1),i(a=>({...a,email:""}))},className:"font-semibold text-brand-600 hover:text-brand-700",children:"try another email"}),"."]})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"eyebrow",children:t.pill}),e.jsx("h1",{className:"mt-4 text-2xl sm:text-3xl",children:t.title}),e.jsx("p",{className:"mt-2 text-sm text-ink-muted",children:t.intro}),e.jsxs("form",{className:"mt-6 space-y-4",onSubmit:p,children:[e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Your name"}),e.jsx("input",{type:"text",autoComplete:"name",placeholder:"Alex Taylor",value:s.name,onChange:a=>l({name:a.target.value}),required:!0,className:"mt-1 w-full rounded-lg border border-surface-panel px-4 py-2.5 text-sm focus:border-brand-400"})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Company"}),e.jsx("input",{type:"text",autoComplete:"organization",placeholder:"Example Finance Ltd",value:s.company,onChange:a=>l({company:a.target.value}),required:!0,className:"mt-1 w-full rounded-lg border border-surface-panel px-4 py-2.5 text-sm focus:border-brand-400"})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Work email"}),e.jsx("input",{type:"email",autoComplete:"email",inputMode:"email",placeholder:"[email protected]",value:s.email,onChange:a=>l({email:a.target.value}),required:!0,className:"mt-1 w-full rounded-lg border border-surface-panel px-4 py-2.5 text-sm focus:border-brand-400"})]}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Job title / role"}),e.jsx("input",{type:"text",autoComplete:"organization-title",placeholder:"Head of Collections",value:s.role,onChange:a=>l({role:a.target.value}),className:"mt-1 w-full rounded-lg border border-surface-panel px-4 py-2.5 text-sm focus:border-brand-400"})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Phone"}),e.jsx("input",{type:"tel",autoComplete:"tel",placeholder:"+44 …",value:s.phone,onChange:a=>l({phone:a.target.value}),className:"mt-1 w-full rounded-lg border border-surface-panel px-4 py-2.5 text-sm focus:border-brand-400"})]})]}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Business type"}
1),e.jsxs("select",{value:s.businessType,onChange:a=>l({businessType:a.target.value}),required:!0,className:"mt-1 w-full rounded-lg border border-surface-panel bg-white px-4 py-2.5 text-sm focus:border-brand-400",children:[e.jsx("option",{value:"",disabled:!0,children:"Select…"}),t.businessTypes.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))]})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Company size"}),e.jsxs("select",{value:s.companySize,onChange:a=>l({companySize:a.target.value}),className:"mt-1 w-full rounded-lg border border-surface-panel bg-white px-4 py-2.5 text-sm focus:border-brand-400",children:[e.jsx("option",{value:"",children:"Select…"}),t.companySizes.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))]})]})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-bold",children:"Biggest priority"}),e.jsxs("select",{value:s.priority,onChange:a=>l({priority:a.target.value}),className:"mt-1 w-full rounded-lg border border-surface-panel bg-white px-4 py-2.5 text-sm focus:border-brand-400",children:[e.jsx("option",{value:"",children:"Select…"}),t.priorities.map(a=>e.jsx("option",{value:a,children:a},a))]})]}),e.jsxs("label",{className:"flex items-start gap-2 text-sm text-ink-muted",children:[e.jsx("input",{type:"checkbox",checked:s.consent,onChange:a=>l({consent:a.target.checked}),className:"mt-1 accent-brand-600"}),e.jsx("span",{children:t.consentLabel})]}),d&&e.jsx("p",{className:"text-sm font-medium text-brand-700",role:"alert",children:d}),e.jsxs("button",{type:"submit",disabled:o,className:"btn-primary w-full disabled:opacity-50",children:[o?"Sending…":"Get instant access",!o&&e.jsx(h,{size:16})]})]}),e.jsxs("p",{className:"mt-4 text-xs text-ink-faint",children:["Prefer to benchmark first?"," ",e.jsx("a",{href:"/#benchmark",className:"font-semibold text-brand-600 hover:text-brand-700",children:"Take a free benchmark"})," ","and you’ll get Studio access too. Already have access?"," ",e.jsx("a",{href:"/login",className:"font-semibold text-brand-600 hover:text-brand-700",children:"Sign in"}),"."]}),e.jsxs("p",{className:"mt-3 text-xs text-ink-faint",children:["We’ll only use your details to set up your access and, if you’ve asked, to share relevant insights. See our"," ",e.jsx("a",{href:"https://www.financial-cloud.com/privacy-policy/",target:"_blank",rel:"noopener noreferrer",className:"underline",children:"privacy notice"}),"."]})]})})})})]})};export{C as Component};

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.