PageSourceSearch

https://static.betterhelp.com/_next/static/chunks/pages/client-info/[client-id]/psychiatry-8fd003acec29b49f.js

js betterhelp.com collected 2026-09-27 21:12:47 UTC 26,094 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3122,3395],{471:(e,t,n)=>{e.exports=n(2602)},3984:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w,Cx:()=>B,Zw:()=>S,hJ:()=>_,rc:()=>k,th:()=>O});var r=n(33164),a=n(44896),i=n(97393),s=n(44249),o=n(22699),l=n(60985),c=n(20857),d=n(957),u=n(44628),m=n(80431),p=n(46844),h=n(28884),g=n(33132),f=n(17283),y=n(37643),v=n(11873),b=n(9974),x=n(43554);function w(e){let{variant:t,ContentComponent:n,FooterComponent:o,className:l,children:c,isOpen:m,onOpenChange:g,isDismissable:y=!1,extraContentProps:v={},extraFooterProps:b={},"data-testid":x="banner-text",...w}=e,k=(0,d.T)({isOpen:m,onOpenChange:g}),_=(0,s.Bi)(),[z,S]=(0,a.useState)(null),O=(0,h.A)(()=>z),A=(0,p.A)(O,{element:z}),P=A.contentBox.height<=32;return k.isOpen?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"sr-only",id:_,children:c}),(0,r.jsxs)("div",{"data-testid":(0,f.A)(x),...w,className:(0,i.A)("w-full rounded-lg grid gap-x-2 gap-y-3 px-4",P?"py-2":"py-3",y&&"grid-cols-[1fr_auto]","ring-1 ring-inset","transition-all duration-300 ease-in-out relative","[container-type:inline-size] [container-name:core-banner]",N[t],l),role:"alert","aria-labelledby":_,ref:S,"data-breaks-sm":A.breaks.sm,"data-core-banner":!0,children:[(0,u.M)(n,{close:k.close,iconProps:{className:B({variant:t})},...v}),y&&(0,r.jsx)(j,{className:"order-1",isVerticallyCentered:P,onDismiss:k.close}),o&&(0,r.jsx)("div",{className:"empty:hidden order-last col-span-2",children:(0,u.M)(o,{close:k.close,...b})})]})]}):null}function j(e){let{className:t,onDismiss:n,isVerticallyCentered:s}=e,d=(0,g.B)(v.A),{focusProps:u,isFocusVisible:p}=(0,o.o)(),h=(0,a.useRef)(null),{buttonProps:f}=(0,l.s)({onPress:n},h);return(0,r.jsx)("button",{...(0,c.v)(f,u),"aria-label":(0,y.t)(d.dismiss.label),ref:h,className:(0,i.A)("group flex pr-4 -mr-4",s?"w-8 min-h-full items-center justify-start":"mb-auto size-8 items-start pt-3 -mt-3 md:pt-2.5 md:-mt-2.5","focus:outline-none",t),"data-global-reset":!1,children:(0,r.jsxs)("span",{className:"relative size-4 flex items-center justify-center",children:[(0,r.jsx)("i",{className:"fa-regular fa-xmark text-sm/none text-icon group-hover:text-icon-hover transition duration-60"}),(0,r.jsx)(m.vN,{className:(0,i.A)("rounded-full",m.Jk),isFocusVisible:p})]})})}let N={"nudge.info":"bg-bg-lightest text-text-subdued ring-border-strong","nudge.info-alt":"bg-gray-100 text-text-subdued ring-border-strong","nudge.info-highlight":"bg-system-info-50 text-text-info ring-system-info-300","nudge.announcement":"bg-system-decorative-50 text-text-decorative ring-system-decorative-200","feedback.success":"bg-system-success-50 text-text-success ring-system-success-300","feedback.warning":"bg-system-warning-100 text-text-warning ring-system-warning-300","feedback.danger":"bg-system-danger-50 text-text-danger ring-system-danger-200","feedback.critical":"bg-system-danger-300 text-system-danger-800 ring-red-400"},k=e=>{let{className:t,variant:n,href:a,...s}=e,o="link"===n?x.A:b.A;return(0,r.jsx)(o,{variant:n,..."link"===n?{href:a}:{},...s,className:(0,i.A)("antialiased flex justify-center items-center w-full h-fit self-center !bg-bg-lightest !body-sm !text-sm/4 text-text-subdued text-nowrap py-2 !px-3 ring-1 ring-1-inset ring-gray-600","hover:text-text-subdued hover:!bg-bg-light","sm:w-fit sm:py-1 sm:!px-3",t)})},_=e=>{let{className:t,variant:n,href:a,...s}=e,o="link"===n?x.A:b.A;return(0,r.jsx)(o,{variant:"link",..."link"===n?{href:a}:{},...s,size:"sm",className:(0,i.A)("!text-inherit hover:!text-text-link-hover !underline font-normal")})},z="w-4 h-5 relative absolutely-centered-fa text-base/none fa-solid",S={"nudge.info":"".concat(z," fa-check text-icon"),"nudge.info-alt":"".concat(z," fa-check text-icon"),"nudge.info-highlight":"".concat(z," fa-check text-icon-info"),"nudge.announcement":"".concat(z," fa-bell text-icon-decorative"),"feedback.success":"".concat(z," fa-circle-check text-icon-success"),"feedback.warning":"".concat(z," fa-triangle-exclamation text-icon-warning"),"feedback.danger":"".concat(z," fa-hexagon-exclamation text-icon-danger"),"feedback.critical":"".concat(z," fa-circle-xmark text-system-danger-700")};function B(e){let{variant:t}=e;return S[t]}let O={banner:(0,i.A)("[&[data-breaks-sm=true]]:grid-cols-[1fr_auto_auto]","[&[data-breaks-sm=true]]:items-center"),action:(0,i.A)("w-full col-span-2 row-start-2","[@container_
1core-banner_(width_>=_calc(theme(screens.sm)_-_2rem))]:col-start-2","[@container_core-banner_(width_>=_calc(theme(screens.sm)_-_2rem))]:row-start-1","[@container_core-banner_(width_>=_calc(theme(screens.sm)_-_2rem))]:col-span-1","[@container_core-banner_(width_>=_calc(theme(screens.sm)_-_2rem))]:self-center")}},11873:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});let r=JSON.parse('{"dismiss":{"label":"Dismiss"}}');var a=n.t(r,2);let i=JSON.parse('{"dismiss":{"label":"Schlie\xdfen"}}');var s=n.t(i,2);let o=JSON.parse('{"dismiss":{"label":"Descartar"}}');var l=n.t(o,2);let c=JSON.parse('{"dismiss":{"label":"Annuler"}}');var d=n.t(c,2);let u=JSON.parse('{"dismiss":{"label":"Sluiten"}}'),m={en:a,de:s,es:l,fr:d,nl:n.t(u,2)}},30741:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(33164),a=n(471),i=n.n(a),s=n(88621),o=n(33132),l=n(83864),c=n(37643);let d=JSON.parse('{"description":"${productName} bietet erschwingliche, bequeme psychologische Online-Beratung von qualifizierten, professionellen Berater:innen, wann immer du sie brauchst. Hol dir Hilfe, du hast es verdient, gl\xfccklich zu sein!","keywords":"Psychologische Online-Beratung, psychologische Beratung, Online-Berater:in, Online-Berater:innen, Beratung online, psychische Gesundheit"}');var u=n.t(d,2);let m=JSON.parse('{"description":"${productName} offers affordable, convenient online therapy when you need it from licensed, professional therapists. Get help, you deserve to be happy!","keywords":"online therapy, therapy, online therapist, online therapists, therapy online, mental health"}');var p=n.t(m,2);let h=JSON.parse('{"description":"${productName} propose une th\xe9rapie en ligne abordable et pratique lorsque vous en avez besoin, aupr\xe8s de th\xe9rapeutes professionnels qualifi\xe9.e.s. Obtenez de l\'aide, vous m\xe9ritez d\'\xeatre heureux!","keywords":"th\xe9rapie en ligne, th\xe9rapie, th\xe9rapeute en ligne, th\xe9rapeutes en ligne, th\xe9rapie en ligne, sant\xe9 mentale"}');var g=n.t(h,2);let f=JSON.parse('{"description":"${productName} biedt betaalbare, geschikte online therapie wanneer je het nodig hebt van gediplomeerde, professionele therapeuten. Verkrijg hulp, je verdient het om gelukkig te zijn!","keywords":"online therapie, therapie, online therapeut, online therapeuten, therapie online, geestelijke gezondheid"}');var y=n.t(f,2);let v=JSON.parse('{"description":"${productName} ofrece terapia en l\xednea asequible y \xfatil cuando la necesites de psic\xf3logos cualificados. \xa1Obt\xe9n ayuda, mereces ser feliz!","keywords":"terapia en l\xednea, terapia, terapeuta en l\xednea, terapeutas en l\xednea, terapia en l\xednea, salud mental"}'),b={de:u,en:p,fr:g,nl:y,es:n.t(v,2)};function x(e){let{title:t="",description:n="",keywords:a=""}=e,{conf:d}=(0,s.SF)(),u=(0,o.B)(b),m=null;return m=2===d.default_language_id?(0,r.jsx)("meta",{translate:"no",name:"description",content:""!==n&&n?n:"".concat(d.product_name," ofrece terapia private y asequible online cuando la necesitas, de terapeutas con licencia. Recibe ayuda, mereces ser feliz!")}):62===d.default_language_id?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{translate:"no",name:"description",content:"קבל טיפול מקצועי בנוחות, בפרטיות ובמחיר משתלם"}),(0,r.jsx)("meta",{property:"og:image",content:(0,l.MZ)("https://".concat(d.cdn_host_assets,"/brand/betterhelp/betterhelp-fb.png"),d.assets_app_version)})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"description",content:""!==n&&n?n:(0,c.t)(u.description,{productName:d.product_name})}),(0,r.jsx)("meta",{name:"keywords",content:""!==a&&a?a:(0,c.t)(u.keywords,{productName:d.product_name})})]}),(0,r.jsxs)(i(),{children:[(0,r.jsx)("meta",{charSet:"utf-8"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("title",{children:t||d.product_name}),m,(0,r.jsx)("link",{rel:"shortcut icon",href:"//".concat(d.cdn_host_assets,"/brand/").concat(d.product_code_name,"/favicon-2024.ico"),type:"image/x-icon"}),(0,r.jsx)("link",{rel:"icon",href:"//".concat(d.cdn_host_assets,"/brand/").concat(d.product_code_name,"/favicon-2024.ico"),type:"image/x-icon"})]})}},35051:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>F,default:()=>Y});var r=n(33164),a=n(44896),i=n(92430),s=n.n(i),o=n(74415),l=n(19814),c=n(12960),d=n(88621),u=n(9974),m=n(90784),p=n(79439),h=n(33132),g=n(51760),f=n(37643);let y=JSON.parse('{"messageLabel":"Deine Nachricht (optional)","messagePlaceholder":"F\xfcge eine pers\xf6nliche Notiz \xfcber den Grund deiner Empfehlung hinzu\xa0…","characterCounter":"${characterCount} / ${maxLength}","lastReferralSentOn":"Letzte Empfehlung gesendet am: ${date}","previewHeading":"Deine Berater:in empfiehlt Psychiatrie","previewBody":"Deine Berater:in hat dich \xfcber unseren Partner UpLift an eine psychiatrische Fachkraft verwiesen, um zu pr\xfcfen, ob Medikamente eine hilfreiche Erg\xe4nzung zur psychologischen Beratung sein k\xf6nnten. Du kannst au\xdferdem jederzeit unter der Registerkarte „Wellness-Tools“ auf psychiatrische Beratung zugreifen.","sendButton":"Empfehlung senden","sentButton":"Empfehlung gesendet","errorTooManyReferrals":"Du hast dein monatliches Limit f\xfcr psychiatrische Empfehlungen f\xfcr ${name} erreicht. Dies tr\xe4gt dazu bei, sicherzustellen, dass Klient:innen eine zeitnahe, personalisierte Betreuung erhalten.","errorGeneric":"Beim Senden der Empfehlung ist ein Fehler aufgetreten. Bitte versuche es erneut."}');var v=n.t(y,2);let b=JSON.parse('{"messageLabel":"Your message (optional)","messagePlaceholder":"Add a personal note about why you\'re recommending this...","characterCounter":"${characterCount} / ${maxLength}","lastReferralSentOn":"Last referral sent on: ${date}","previewHeading":"Your therapist recommends psychiatry","previewBody":"Your therapist has referred you to a psychiatric provider through our partner UpLift to see whether medication could be a helpful addition to your therapy plan. You can also access psychiatric care anytime in your Wellness Tools tab.","sendButton":"Send referral","sentButton":"Referral sent","errorTooManyReferrals":"You\'ve reached your monthly limit for psychiatric referrals for ${name}. This helps ensure clients receive timely, personalized care.","errorGeneric":"Something went wrong sending the referral. Please try again."}');var x=n.t(b,2);let w=JSON.parse('{"messageLabel":"Tu mensaje (opcional)","messagePlaceholder":"A\xf1ade una nota personal explicando por qu\xe9 lo recomiendas...","characterCounter":"${characterCount} / ${maxLength}","lastReferralSentOn":"\xdaltima recomendaci\xf3n enviada el: ${date}","previewHeading":"Tu psic\xf3logo te recomienda la psiquiatr\xeda","previewBody":"Tu psic\xf3logo te ha recomendado un psiquiatra a trav\xe9s de nuestro socio UpLift para ver si la medicaci\xf3n podr\xeda ser un complemento \xfatil para tu plan de tratamiento. Tambi\xe9n puedes acceder a la atenci\xf3n psiqui\xe1trica en cualquier momento en la pesta\xf1a Herramientas de bienestar.","sendButton":"Enviar recomendaci\xf3n","sentButton":"Recomendaci\xf3n enviada","errorTooManyReferrals":"Has alcanzado el l\xedmite mensual de recomendaciones psiqui\xe1tricas para ${name}. El objetivo es garantizar que los clientes reciban una atenci\xf3n oportuna y personalizada.","errorGeneric":"Algo sali\xf3 mal al enviar la recomendaci\xf3n. Int\xe9ntalo de nuevo."}');var j=n.t(w,2);let N=JSON.parse('{"messageLabel":"Votre message (facultatif)","messagePlaceholder":"Ajoutez une note personnelle expliquant pourquoi vous recommandez ceci…","characterCounter":"${characterCount} / ${maxLength}","lastReferralSentOn":"Derni\xe8re personne recommand\xe9e envoy\xe9e le\xa0: ${date}","previewHeading":"Votre th\xe9rapeute vous recommande de consulter un psychiatre","previewBody":"Votre th\xe9rapeute vous a orient\xe9(e) vers un professionnel en psychiatrie par l’interm\xe9diaire de notre partenaire UpLift afin de d\xe9terminer si un traitement m\xe9dicamenteux pourrait \xeatre un compl\xe9ment utile \xe0 votre parcours th\xe9rapeutique. Vous pouvez \xe9galement acc\xe9der \xe0 des services de psychiatrie \xe0 tout moment dans votre onglet Outils de bien-\xeatre.","sendButton":"Envoyer une personne recommand\xe9e","sentButton":"Personne recommand\xe9e envoy\xe9e","errorTooManyReferrals":"Vous avez atteint votre limite mensuelle de courriers d\'adressage vers des psychiatres pour ${name}
1. Cela permet de s\'assurer que les clients re\xe7oivent des soins personnalis\xe9s en temps voulu.","errorGeneric":"Une erreur s’est produite lors de l’envoi de la personne recommand\xe9e. Veuillez r\xe9essayer."}');var k=n.t(N,2);let _=JSON.parse('{"messageLabel":"Je bericht (optioneel)","messagePlaceholder":"Voeg een persoonlijke notitie toe over waarom je dit aanbeveelt...","characterCounter":"${characterCount} / ${maxLength}","lastReferralSentOn":"Laatste verwijzing verzonden op: ${date}","previewHeading":"Je therapeut raadt psychiatrie aan","previewBody":"Je therapeut heeft je via onze partner UpLift doorverwezen naar een psychiatrische zorgverlener om te kijken of medicatie een nuttige aanvulling kan zijn op je behandelplan. Je hebt ook altijd toegang tot psychiatrische zorg op het tabblad Reflectietools.","sendButton":"Verwijzing verzenden","sentButton":"Verwijzing verzonden","errorTooManyReferrals":"Je hebt je maandelijkse limiet voor psychiatrische verwijzingen voor ${name} bereikt. Deze helpt ervoor te zorgen dat cli\xebnten tijdige, gepersonaliseerde zorg ontvangen.","errorGeneric":"Er is iets misgegaan bij het verzenden van de verwijzing. Probeer het opnieuw."}'),z={de:v,en:x,es:j,fr:k,nl:n.t(_,2)},S=()=>{let e=(0,h.B)(z),t=(0,p.A)();return(0,r.jsxs)("div",{className:"border border-border rounded-2xl bg-bg-light mt-2",children:[(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 items-center p-2",children:[(0,r.jsx)("img",{src:t("/client-info/psychiatry/RX.png"),className:"sm:ml-auto",alt:"",loading:"lazy",width:24}),(0,r.jsx)("h3",{className:"text-base font-bold text-center sm:mr-auto font-['Lato']","data-global-typography":!1,children:(0,f.t)(e.previewHeading)})]}),(0,r.jsx)("div",{className:"border-t py-4 px-6 sm:px-10",children:(0,r.jsx)("p",{className:"max-w-[690px] mx-auto text-sm text-center font-['Lato']",children:(0,f.t)(e.previewBody)})})]})},B=e=>{let{className:t,clientId:n,clientName:i,date:s,setErrorMessage:o}=e,p=(0,h.B)(z),{logger:y,session:{locale:v}}=(0,d.SF)(),[b,x]=(0,a.useState)(!1),{control:w,handleSubmit:j,formState:{isSubmitting:N}}=(0,l.mN)({defaultValues:{note:""}}),{field:k}=(0,l.as)({name:"note",control:w}),_=j(async e=>{let{note:t}=e;o("");try{await new c.A().post("/api/counselor/psychiatry-referral/",{clientId:n,note:t.trim()||void 0}),x(!0),window.location.href="/?key=".concat(n)}catch(e){var r;o((null==e||null==(r=e.cause)?void 0:r.errorCode)==="too_many_referrals_for_client"?(0,f.t)(p.errorTooManyReferrals,{name:i}):(0,f.t)(p.errorGeneric)),y.error(e)}});return(0,r.jsxs)("form",{className:t,onSubmit:_,children:[(0,r.jsxs)(m.A,{variant:"textarea-top-aligned-label",placeholder:(0,f.t)(p.messagePlaceholder),className:"mt-6 relative",resize:"none",maxLength:300,value:k.value,onChange:k.onChange,inputRef:k.ref,children:[(0,f.t)(p.messageLabel),s&&(0,r.jsx)("span",{className:"caption hidden sm:inline-block absolute top-2 right-0",children:(0,f.t)(p.lastReferralSentOn,{date:(0,g.r6)(s,g.w_,v)})})]}),(0,r.jsx)("div",{className:"caption text-gray-500 mt-1 text-right",children:(0,f.t)(p.characterCounter,{characterCount:k.value.length,maxLength:300})}),(0,r.jsx)(S,{}),s&&(0,r.jsx)("span",{className:"caption mt-2 text-center sm:hidden sm:text-left","aria-hidden":!0,children:(0,f.t)(p.lastReferralSentOn,{date:(0,g.r6)(s,g.w_,v)})}),(0,r.jsx)(u.A,{variant:"primary",type:"submit",isDisabled:N||b,className:"mt-6 w-full sm:w-[unset]",children:b?(0,f.t)(p.sentButton):(0,f.t)(p.sendButton)})]})};var O=n(30741),A=n(3984),P=n(95060);let L=JSON.parse('{"pageTitle":"Psychiatrie","heading":"Empfehlung f\xfcr psychiatrische Beratung \xfcber UpLift","intro":"Einige Klient:innen k\xf6nnen von einer Kombination aus Gespr\xe4chstherapie und psychiatrischer Beratung profitieren. Wenn du deiner Klient:in diese Dienste \xfcber unseren Partner UpLift empfehlen m\xf6chtest, f\xfcge eine kurze Notiz f\xfcr ${name} mit dem Grund f\xfcr deine Empfehlung hinzu. Du k\xf6nntest Beschwerden, Ziele oder gemeinsam besprochene Themen erw\xe4hnen."}');var D=n.t(L,2);let T=JSON.parse('{"pageTitle":"Psychiatry","heading":"Psychiatric care referral through UpLift","intro":"Some clients may benefit from a combination of talk therapy and psychiatric care. If you\'d like to refer your client for these services through our partner UpLift, add a brief note to help ${name} understand why this may be helpful. You might reference symptoms, goals, or what you\'ve discussed together."}');var q=n.t(T,2);let J=JSON.parse('{"pageTitle":"Psiquiatr\xeda","heading":"Recomendaci\xf3n de atenci\xf3n psiqui\xe1trica a trav\xe9s de UpLift","intro":"Algunos clientes pueden beneficiarse de una combinaci\xf3n de terapia de conversaci\xf3n y atenci\xf3n psiqui\xe1trica. Si deseas recomendar a tu cliente estos servicios a trav\xe9s de nuestro socio UpLift, a\xf1ade una breve nota para que ${name} sepa por qu\xe9 le puede ser \xfatil. Puedes mencionar s\xedntomas, objetivos o lo que hay\xe1is comentado."}');var R=n.t(J,2);let $=JSON.parse('{"pageTitle":"Psychiatrie","heading":"Orientation vers des soins psychiatriques par le biais d’UpLift","intro":"Certains clients peuvent tirer profit d’une approche combinant la th\xe9rapie par la parole et les soins psychiatriques. Si vous souhaitez orienter votre client vers ces services par l’interm\xe9diaire de notre partenaire UpLift, ajoutez une br\xe8ve note pour aider ${name} \xe0 comprendre pourquoi cette approche peut \xeatre utile. Vous pouvez mentionner des sympt\xf4mes, des objectifs ou les points que vous avez abord\xe9s ensemble."}');var C=n.t($,2);let E=JSON.parse('{"pageTitle":"Psychiatrie","heading":"Psychiatrische zorgverwijzing via UpLift","intro":"Sommige cli\xebnten kunnen baat hebben bij een combinatie van praattherapie en psychiatrische zorg. Als je je cli\xebnt via onze partner UpLift naar deze diensten wilt doorverwijzen, voeg dan een korte notitie toe om ${name} te helpen begrijpen waarom dit nuttig kan zijn. Je kunt verwijzen naar symptomen, doelen of wat jullie samen hebben besproken."}'),M={de:D,en:q,es:R,fr:C,nl:n.t(E,2)},U=s()(()=>Promise.all([n.e(3741),n.e(4837),n.e(1142),n.e(7304),n.e(5859),n.e(8559),n.e(8912),n.e(1623),n.e(8640)]).then(n.bind(n,88912)),{loadableGenerated:{webpack:()=>[88912]},ssr:!1});function V(e){let{clientSummary:t,lastReferralAt:n}=e,i=(0,h.B)(M),s=t.firstName||t.nickName,[l,c]=(0,a.useState)(null);return(0,r.jsxs)(o.A,{className:"w-full p-6 grow bg-white overflow-hidden shadow-card text-gray-900 antialiased",children:[l&&(0,r.jsx)(G,{message:l}),(0,r.jsx)("h1",{className:"heading-md","data-global-typography":!1,children:(0,f.t)(i.heading)}),(0,r.jsx)("p",{className:"body-md mt-2 max-w-[951px]",children:(0,f.t)(i.intro,{name:s})}),(0,r.jsx)(B,{className:"max-w-[800px] mt-6",clientId:t.id,date:n?new Date(n):null,setErrorMessage:c,clientName:s})]})}let G=e=>{let{message:t}=e,[n,i]=(0,a.useState)(!0),s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=s.current;if(!e)return;let t=Array.from(document.querySelectorAll(".sticky, .fixed")).reduce((e,t)=>
1{let{position:n}=getComputedStyle(t);if("sticky"!==n&&"fixed"!==n)return e;let{top:r,bottom:a,height:i}=t.getBoundingClientRect();return r>=0&&r<200&&i>0?Math.max(e,a):e},0);e.style.scrollMarginTop="".concat(t+16,"px"),e.scrollIntoView({behavior:"smooth",block:"start"})},[]),(0,r.jsx)("div",{ref:s,children:(0,r.jsx)(A.Ay,{variant:"feedback.danger",ContentComponent:I,extraContentProps:{message:t},isOpen:n,onOpenChange:i,isDismissable:!0,className:"mb-6 max-w-[800px]",children:t})})},I=e=>{let{message:t}=e;return(0,r.jsxs)("div",{className:"flex w-full items-start gap-2",children:[(0,r.jsx)(P.A,{className:"fa-solid fa-hexagon-exclamation text-base/6 !w-4 text-icon-danger"}),(0,r.jsx)("span",{className:"text-sm leading-5 mt-0.5",children:t})]})};var F=!0;function Y(e){let{clientSummary:t,lastReferralAt:n}=e,a=(0,h.B)(M);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(O.default,{title:(0,f.t)(a.pageTitle)}),(0,r.jsx)(U,{clientSummary:t,children:(0,r.jsx)(V,{clientSummary:t,lastReferralAt:n})})]})}Y.pageTitle="Psychiatry",Y.displayName="ClientInfoPsychiatryPage",Y.shortTitle="Psychiatry"},51760:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>c,D7:()=>x,DP:()=>A,En:()=>p,Ic:()=>y,J0:()=>f,K_:()=>k,LO:()=>D,P2:()=>d,RH:()=>B,Vb:()=>P,WT:()=>g,X0:()=>N,Yj:()=>z,bc:()=>u,cl:()=>S,fP:()=>b,fw:()=>O,jZ:()=>v,jl:()=>m,mi:()=>j,qJ:()=>h,r6:()=>w,v3:()=>_,w_:()=>l});var r=n(16110),a=n(22542),i=n(35032),s=n(30156);let o=[{limit:60,divisor:1,unit:"second"},{limit:3600,divisor:60,unit:"minute"},{limit:86400,divisor:3600,unit:"hour"},{limit:2592e3,divisor:86400,unit:"day"},{limit:0x1e187e0,divisor:2630016,unit:"month"}],l={year:"numeric",month:"2-digit",day:"2-digit"},c={month:"short",day:"numeric"},d={weekday:"short"},u={month:"2-digit",day:"2-digit"},m={weekday:"short",month:"long",day:"numeric"},p={weekday:"short",month:"short",day:"numeric"},h={weekday:"short",month:"short",day:"numeric",year:"numeric"},g={year:"numeric",month:"short",day:"numeric"},f={year:"numeric",month:"long",day:"numeric"},y={year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"},v={hour:"numeric",minute:"2-digit"},b={hour:"numeric",minute:"2-digit",timeZoneName:"short"},x={weekday:"short",month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZoneName:"short"},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";n=n||navigator.language;let r="object"!=typeof e?new Date(e):e,a=new Date(e).toString();if(!a||Number.isNaN(Date.parse(a))||0===Date.parse(a))return a;try{a="string"==typeof t?(0,i.A)(r,t,{locale:(0,s.R6)(n)}):P(r.toLocaleString(n,t))}catch(r){console.error("Invalid datetime, format, or locale provided. No formatting applied.",{datetime:e,dateTimeFormat:t,localeCode:n})}return a},j=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";r=r||navigator.language;let a="object"!=typeof e?new Date(e):e,i="object"!=typeof t?new Date(t):t,s="".concat(a.toString()," - ").concat(i.toString());try{s=P(new Intl.DateTimeFormat(r||void 0,n).formatRange(a,i))}catch(a){console.error("Invalid datetime, format, or locale provided. No formatting applied.",{start:e,end:t,dateTimeFormat:n,localeCode:r})}return s},N=e=>(0,r.gw)((0,r.Yd)(1e3*e,(0,a.Xj)())),k=e=>(0,r.tR)((0,r.Yd)(1e3*e,(0,a.Xj)())),_=e=>e.toDate((0,a.Xj)()).getTime()/1e3,z=(e,t,n)=>!!e&&!!t&&e!==t&&(0,r.Yd)(1e3*n,e).offset!==(0,r.Yd)(1e3*n,t).offset,S=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:b;if(z(e,t,n))return w(1e3*n,{...a,hour12:!0,timeZone:e},r)},B=e=>Math.abs(Date.now()-1e3*e)/36e5<=24,O=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();t=t||navigator.language;let r="object"==typeof e?e:new Date(e);if(Number.isNaN(r.getTime()))return String(e);let a=new Intl.RelativeTimeFormat(t),i=Math.floor((n-r.getTime())/1e3);for(let{limit:e,divisor:t,unit:n}of o)if(i<e)return a.format(-Math.floor(i/t),n);return a.format(-Math.floor(i/0x1e187e0),"year")};function A(e){if(!e||"-"===e)return 0;let t=e.match(/(\d+)\s*h/),n=e.match(/(\d+)\s*m/),r=e.match(/(\d+)\s*s/),a=t?parseInt(t[1],10):0;return 3600*a+60*(n?parseInt(n[1],10):0)+(r?parseInt(r[1],10):0)}function P(e){return e.replace(L," ")}let L=/\s/g;function D(e){let{groupables:t,toUnix:n,userTimeZone:a}=e,i=[];for(let e of t){let t=(0,r.gw)((0,r.Yd)(1e3*n(e),a)),s=i.findIndex(T(t));if(-1===s){i.push({calendarDate:t,group:[e]});continue}i[s].group.push(e)}return{grouped:i,getGroup:function(e){var t;return null==(t=i.find(T(e)))?void 0:t.group},containsGroup:function(e){return i.some(T(e))},getGrouped:function(e){for(let{group:t}of i)for(let r of t)if(n(r)===e)return r}}}function T(e){return t=>{let{calendarDate:n}=t;return 0===n.compare(e)}}},53503:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(69649);function a(e){(0,r.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.
11 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(Error().stack)),new Date(NaN))}},65821:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/client-info/[client-id]/psychiatry",function(){return n(35051)}])},69649:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},74415:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(33164),a=n(97393),i=n(17283);function s(e){let{children:t,className:n="",dataTestId:s}=e;return(0,r.jsx)("div",{"data-testid":(0,i.A)("".concat(s,"-rounded-shadow-box")),className:(0,a.A)("rounded shadow-card bg-white",n),children:t})}}},e=>{e.O(0,[4241,1321,5032,636,6593,8792],()=>e(e.s=65821)),_N_E=e.O()}]);

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.