1import{r as j,j as e}from"./react-vendor-DKK5h-4S.js";import{a as g,L as N}from"./router-CKFl4ZoT.js";import{A as k,u as n,v as t,w,E as p,O as l,x as u,Q as A}from"./index-rOX5Rmnz.js";import{S as d}from"./ScheduleAppointmentButton-BuBRjKn6.js";import{g as S,a as v,t as f,b as $,T as y,c as T}from"./theme23AnxietyOverthinking-CqCAweVR.js";import D from"./AssessmentRouteFallback-_1x8wVtB.js";import{aa as E,a2 as L}from"./icons-CoEihuPy.js";import"./query-BddnajNh.js";import"./supabase-CJoCJpoI.js";import"./ui-extras-CIMz-jDr.js";import"./radix-DQ8yzr2B.js";import"./forms-DGqSpeMD.js";import"./assessmentSeoRouteManifest-636XdTMZ.js";const x="Anxiety, Overthinking & Worry Patterns Self-Check",o={href:"/assessment/tests/anxiety-test",label:"Take the Anxiety Self-Check Test"};function h({items:s,external:a=!1}){return e.jsx("ul",{className:"mt-4 space-y-2",children:s.map(r=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(E,{className:"mt-1 h-4 w-4 shrink-0","aria-hidden":"true",style:{color:t.gold}}),a||r.href.startsWith("http")?e.jsxs("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:`${n.body} font-medium underline underline-offset-2`,style:{color:t.forest},children:[r.label,e.jsx(L,{className:"ml-1 inline h-3.5 w-3.5","aria-hidden":"true"})]}):e.jsx(N,{to:r.href,className:`${n.body} font-medium underline underline-offset-2`,style:{color:t.forest},children:r.label})]},r.href+r.label))})}function c({items:s}){return e.jsx("ul",{className:"mt-4 space-y-2",children:s.map(a=>e.jsxs("li",{className:`flex items-start gap-2 ${n.body}`,style:{color:t.ink},children:[e.jsx("span",{"aria-hidden":"true",className:"mt-2 h-1.5 w-1.5 shrink-0 rounded-full",style:{background:t.gold}}),e.jsx("span",{children:a})]},a))})}function P(s){const a=f(s),r=[];return r.push({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:s.brandName,item:`${s.origin}/`},{"@type":"ListItem",position:2,name:x,item:`${s.origin}${s.basePath}`},...s.kind==="guide"?[{"@type":"ListItem",position:3,name:s.h1,item:a}]:[]]}),s.kind==="main"?r.push({"@context":"https://schema.org","@type":"WebApplication",name:x,applicationCategory:"HealthApplication",operatingSystem:"Web",url:a,description:s.metaDescription,offers:{"@type":"Offer",price:"0",priceCurrency:"SGD"},publisher:{"@type":"Organization",name:s.brandName,url:s.origin}}):r.push({"@context":"https://schema.org","@type":"Article",headline:s.h1,description:s.metaDescription,mainEntityOfPage:a,author:{"@type":"Organization",name:s.brandName},publisher:{"@type":"Organization",name:s.brandName}}),r.push({"@context":"https://schema.org","@type":"FAQPage",mainEntity:s.faqs.map(i=>
1({"@type":"Question",name:i.q,acceptedAnswer:{"@type":"Answer",text:i.a}}))}),r}function C({page:s}){const a=j.useMemo(()=>$(s.path),[s.path]),r=[{label:"Home",href:"/"},...s.kind==="guide"?[{label:x,href:s.basePath}]:[],{label:s.h1}];return e.jsxs(e.Fragment,{children:[e.jsx("section",{className:n.section,style:{background:t.white},children:e.jsxs("div",{className:"mx-auto max-w-4xl py-10 sm:py-14",children:[e.jsx(w,{items:r}),e.jsx("h1",{className:`mt-5 ${n.h1}`,style:{color:t.forestDeep},children:s.h1}),e.jsx("p",{className:`mt-4 ${n.lead}`,style:{color:t.muted},children:s.intro}),e.jsxs("div",{id:"quick-answer",className:"mt-8 rounded-2xl p-6",style:{background:t.softAmber,border:`1px solid ${t.line}`},children:[e.jsx("h2",{className:n.h3,style:{color:t.amberInk},children:"Quick answer"}),e.jsx("p",{className:`mt-2 ${n.body}`,style:{color:t.ink},children:s.quickAnswer})]}),e.jsx("p",{className:`mt-4 ${n.small}`,style:{color:t.muted},children:y}),e.jsxs("div",{className:"mt-6 flex flex-col gap-3 sm:flex-row sm:flex-wrap",children:[e.jsx(d,{}),e.jsx(p,{href:o.href,children:o.label})]})]})}),e.jsx("section",{className:n.section,style:{background:t.cream},children:e.jsx("div",{className:n.container,children:e.jsx("div",{className:"space-y-12",children:s.sections.map(i=>e.jsxs("div",{children:[e.jsx(l,{children:i.heading}),e.jsx("div",{className:`mt-4 space-y-4 ${n.body}`,style:{color:t.ink},children:i.paragraphs.map((m,b)=>e.jsx("p",{children:m},b))}),i.bullets&&e.jsx(c,{items:i.bullets})]},i.heading))})})}),e.jsx(u,{heading:"Not sure whether this is ordinary worry or a pattern?",body:"Tell us what an ordinary week looks like now and how long it has been running. You will get an honest view of what would help â including being told plainly if nothing further is needed.",children:e.jsx(d,{})}),e.jsx("section",{className:n.section,style:{background:t.white},children:e.jsxs("div",{className:n.container,children:[e.jsx(l,{children:"What this means"}),e.jsx("p",{className:`mt-4 ${n.body}`,style:{color:t.ink},children:s.whatThisMeans}),e.jsxs("div",{className:"mt-10 grid gap-6 sm:grid-cols-2",children:[e.jsxs("div",{className:n.card,style:{background:t.cream,border:`1px solid ${t.line}`},children:[e.jsx("h3",{className:n.h3,style:{color:t.forestDeep},children:"What people may notice"}),e.jsx(c,{items:s.whatPeopleMayNotice})]}),e.jsxs("div",{className:n.card,style:{background:t.cream,border:`1px solid ${t.line}`},children:[e.jsx("h3",{className:n.h3,style:{color:t.forestDeep},children:"When to seek guidance"}),e.jsx(c,{items:s.whenToSeekSupport})]})]}),e.jsxs("div",{className:"mt-6 rounded-2xl p-6",style:{background:t.sage,border:`1px solid ${t.line}`},children:[e.jsx("h3",{className:n.h3,style:{color:t.forestDeep},children:"What happens next"}),e.jsx(c,{items:s.whatHappensNext})]}),e.jsx("p",{className:`mt-6 ${n.small}`,style:{color:t.muted},children:y})]})}),e.jsx(A,{items:s.faqs.map(i=>({q:i.q,a:i.a}))}),a.length>0&&e.jsx("section",{id:"ai-questions",className:n.section,style:{background:t.white},children:e.jsxs("div",{className:n.container,children:[e.jsx(l,{children:"People also ask"}),e.jsx("div",{className:"mt-8 space-y-5",children:a.map(i=>e.jsxs("div",{className:"rounded-2xl p-6",style:{background:t.cream,border:`1px solid ${t.line}`},children:[e.jsx("h3",{className:n.h3,style:{color:t.forestDeep},children:i.question}),e.jsx("p",{className:`mt-2 ${n.body}`,style:{color:t.ink},children:i.answer})]},i.question))})]})}),e.jsx("section",{className:n.section,style:{background:t.cream},children:e.jsxs("div",{className:n.container,children:[e.jsx(l,{children:"Continue reading"}),e.jsx(h,{items:s.internalLinks}),e.jsx("h3",{className:`mt-10 ${n.h3}`,style:{color:t.forestDeep},children:"If your concern is about something else"}),e.jsx(h,{items:s.crossSiteLinks,external:!0}),e.jsx("h3",{className:`mt-10 ${n.h3}`,style:{color:t.forestDeep},children:"Helpful reading elsewhere"}),e.jsx(h,{items:s.externalLinks,external:!0})]})}),e.jsxs(u,{heading:"Speak to someone",body:"A 15-minute consultation is enough to describe the worry pattern you are carrying and hear an honest view on what would help. There is no obligation to continue afterwards.",children:[e.jsx(d,{}),e.jsx(p,{href:o.href,children:o.label})]})]})}
1function Y(){const s=g(),a=j.useMemo(()=>s.guideSlug?S(s.guideSlug):v(T),[s.guideSlug]);if(!a)return e.jsx(D,{});const r=f(a);return e.jsx(k,{head:e.jsxs(e.Fragment,{children:[e.jsx("title",{children:a.seoTitle}),e.jsx("meta",{name:"description",content:a.metaDescription}),e.jsx("meta",{name:"robots",content:"index,follow,max-image-preview:large,max-snippet:-1"}),e.jsx("link",{rel:"canonical",href:r}),e.jsx("meta",{property:"og:title",content:a.seoTitle}),e.jsx("meta",{property:"og:description",content:a.metaDescription}),e.jsx("meta",{property:"og:url",content:r}),e.jsx("meta",{property:"og:type",content:a.kind==="main"?"website":"article"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),P(a).map((i,m)=>e.jsx("script",{type:"application/ld+json",children:JSON.stringify(i)},m))]}),stickyCta:{href:"#quick-answer",label:"Anxiety & Overthinking Self-Check"},children:e.jsx(C,{page:a})})}export{Y as default};
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.