/* Willow Creek — Admissions: interactive multi-step intake application. */ const { Icon: AIcon, useParallax: AuseParallax, Reveal: AReveal, Container: AContainer, Eyebrow: AEyebrow } = window.WC; const { useState: aUseState } = React; function AdmissionsScreen({ go }) { const { Stepper, Input, Select, Textarea, RadioGroup, Checkbox, Button, ProgressBar, Card, Badge, Alert } = window.WillowCreekDesignSystem_90378c; const steps = ["About you", "Your recovery", "Payment", "Review & send"]; const [step, setStep] = aUseState(0); const [done, setDone] = aUseState(false); const [data, setData] = aUseState({ who: "self", insurance: "yes", consent: false }); const set = (k) => (e) => setData((d) => ({ ...d, [k]: e && e.target ? e.target.value : e })); const next = () => setStep((s) => Math.min(s + 1, steps.length - 1)); const back = () => setStep((s) => Math.max(s - 1, 0)); const pct = Math.round(((step + 1) / steps.length) * 100); const Field = ({ children }) =>
{children}
; const Grid = ({ children }) =>
{children}
; const StepTitle = ({ t, s }) => (

{t}

{s}

); if (done) { return ( <>

Your application is in.

Thank you for trusting us with this{data.firstName ? `, ${data.firstName}` : ""}. A member of our team will call you within one business day.

Need to talk sooner? Call us any time at (940) 555-0142.

} style={{ textAlign: "left", marginBottom: 28 }}> If you're in crisis, don't wait for our call — dial or text 988 now.
); } return ( <>
Admissions

Start your application

It takes about five minutes. Everything you share is confidential — there are no wrong answers here.

{step === 0 && (
} /> } />