import{j as e}from"./vendor-query-DxCcOIl8.js";import{c as j,L as d}from"./vendor-router-DakTd-wc.js";import{H as y}from"./index-CnGg_HSs.js";import{S as b}from"./SchemaMarkup-B18U2Oao.js";import{t as x,P as h}from"./PublicLayout-BzSPe6hR.js";import{F as f,I as N,a as w,S as n}from"./BrandComponents-w1jm5V1J.js";import{B as v}from"./siteConstants-CJtplbfq.js";import{A as P}from"./arrow-left-g2YTksUm.js";import{C as A}from"./calendar-Buf-oSgZ.js";import{M as I}from"./monitor-BlNu7ODE.js";import"./vendor-react-DO-R8FnS.js";import"./ParticleBackground-Ca5sNhh6.js";function F(){var l,c,m,p;const{slug:i}=j(),s=x.find(t=>t.slug===i);if(!s)return e.jsx(h,{children:e.jsxs("div",{className:"min-h-[60vh] flex flex-col items-center justify-center text-center px-6 py-20",children:[e.jsx("h1",{className:"font-lora text-3xl font-bold text-[#071B27] mb-4",children:"Team member not found"}),e.jsx(d,{to:"/our-team",className:"text-brand-pink font-semibold hover:opacity-75",children:"← Back to the team"})]})});const u=x.findIndex(t=>t.slug===i),o=`${s.name} | ${s.title} | Contemporary Psychology`,r=`${s.name} is ${s.isPsychologist?"an AHPRA-registered psychologist":"a clinician"} at Contemporary Psychology, St Kilda${(l=s.areasOfInterest)!=null&&l.length?`. With experience in ${s.areasOfInterest.slice(0,3).join(", ")}.`:"."}`,a=`https://www.contemporarypsychology.com.au/our-team/${s.slug}`;return e.jsxs(h,{children:[e.jsxs(y,{children:[e.jsx("title",{children:o}),e.jsx("meta",{name:"description",content:r}),e.jsx("link",{rel:"canonical",href:a}),e.jsx("meta",{property:"og:title",content:o}),e.jsx("meta",{property:"og:description",content:r}),e.jsx("meta",{property:"og:url",content:a}),e.jsx("meta",{property:"og:type",content:"profile"})]}),e.jsx(b,{schema:{"@context":"https://schema.org","@graph":[{"@type":"Person","@id":`${a}#person`,name:s.name,jobTitle:s.title,description:r,image:s.photo?`https://www.contemporarypsychology.com.au${s.photo}`:void 0,url:a,worksFor:{"@id":"https://www.contemporarypsychology.com.au/#organization"},...s.isPsychologist&&{hasCredential:{"@type":"EducationalOccupationalCredential",credentialCategory:"Professional Registration",recognizedBy:{"@type":"Organization",name:"AHPRA",url:"https://www.ahpra.gov.au"},...s.ahpraNumber&&{identifier:s.ahpraNumber}}},...((c=s.qualifications)==null?void 0:c.length)&&{alumniOf:s.qualifications.map(t=>({"@type":"EducationalOrganization",...t.institution&&{name:t.institution},description:t.degree}))},...((m=s.areasOfInterest)==null?void 0:m.length)&&{knowsAbout:s.areasOfInterest},...((p=s.sameAs)==null?void 0:p.length)&&{sameAs:s.sameAs}},{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.contemporarypsychology.com.au/"},{"@type":"ListItem",position:2,name:"Our Team",item:"https://www.contemporarypsychology.com.au/our-team"},{"@type":"ListItem",position:3,name:s.name,item:a}]}]}}),e.jsx("div",{className:"bg-surface-warm border-b border-cp-rule py-3",children:e.jsx("div",{className:"max-w-5xl mx-auto px-6 sm:px-8",children:e.jsxs(d,{to:"/our-team",className:"inline-flex items-center gap-2 text-sm text-cp-muted hover:text-brand-pink font-poppins transition-colors",children:[e.jsx(P,{className:"h-4 w-4"}),"Back to Our Team"]})})}),e.jsx("section",{className:"py-16 bg-surface-warm",children:e.jsx("div",{className:"max-w-5xl mx-auto px-6 sm:px-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-10",children:[e.jsx(f,{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white rounded-xl border border-cp-rule text-center sticky top-24 overflow-hidden",children:[e.jsx("div",{className:"w-full aspect-[4/5] bg-surface-warm overflow-hidden",children:s.photo?e.jsx("img",{src:s.photo,alt:s.name,className:"w-full h-full object-cover object-top"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center",children:e.jsx(N,{name:s.name,size:"xl",index:u})})}),e.jsxs("div",{className:"p-7",children:[e.jsx("h2",{className:"font-lora font-bold text-[#071B27] text-xl mb-1",children:s.name}),e.jsx("p",{className:"text-cp-muted text-sm font-poppins mb-5",children:s.title}),s.isPsychologist&&e.jsxs(e.Fragment,{children:[s.inPerson&&s.inPerson.length>0&&e.jsxs("div",{className:"mb-4 text-left",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-bold text-cp-muted uppercase tracking-wider mb-2",children:[e.jsx(A,{className:"h-3.5 w-3.5"}),"In-Person"]}),e.jsx("div",{className:"flex flex-wrap gap-1",children:s.inPerson.map(t=>e.jsx("span",{className:"text-xs rounded-full px-2.5 py-0.5 bg-surface-navy text-cp-body",children:t},t))})]}),s.online&&s.online.length>0&&e.jsxs("div",{className:"mb-5 text-left",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-bold text-cp-muted uppercase tracking-wider mb-2",children:[e.jsx(I,{className:"h-3.5 w-3.5"}),"Online"]}),e.jsx("div",{className:"flex flex-wrap gap-1",children:s.online.map(t=>e.jsx("span",{className:"text-xs rounded-full px-2.5 py-0.5 bg-surface-blue text-[#071B27]",children:t},t))})]})]}),s.isPsychologist&&e.jsxs(w,{href:v,className:"w-full justify-center",children:["Book with ",s.name.split(" ")[0]]})]})]})}),e.jsxs(f,{delay:150,className:"lg:col-span-2",children:[e.jsx(n,{children:"ABOUT"}),e.jsx("h1",{className:"font-lora text-3xl font-bold text-[#071B27] mt-4 mb-5",children:s.name}),e.jsx("div",{className:"font-poppins text-cp-body leading-relaxed space-y-4",children:s.bio.split(`

`).map((t,g)=>e.jsx("p",{className:"text-base",children:t},g))}),s.areasOfInterest&&s.areasOfInterest.length>0&&e.jsxs("div",{className:"mt-8",children:[e.jsx(n,{children:"AREAS OF INTEREST"}),e.jsx("ul",{className:"mt-4 grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-2",children:s.areasOfInterest.map(t=>e.jsxs("li",{className:"flex items-center gap-2 text-sm text-cp-body font-poppins",children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-brand-pink flex-shrink-0"}),t]},t))})]}),s.personalInterests&&e.jsxs("div",{className:"mt-8",children:[e.jsx(n,{children:"PERSONAL INTERESTS"}),e.jsx("p",{className:"mt-4 text-sm text-cp-body font-poppins leading-relaxed",children:s.personalInterests})]}),s.isPsychologist&&e.jsxs("div",{className:"mt-8 p-5 bg-surface-purple rounded-xl border border-cp-rule text-sm text-cp-body",children:[e.jsx("p",{className:"font-semibold text-[#071B27] mb-1",children:"AHPRA Registration"}),e.jsxs("p",{className:"text-cp-muted",children:["All services provided by ",s.name," are delivered by an AHPRA-registered psychologist."]})]})]})]})})})]})}export{F as default};