1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,338130,e=>{"use strict";var t=e.i(331802),r=e.i(659223),l=e.i(875028),s=e.i(439361);let i={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4"},a={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4"},n={1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4"},c={mobile:2,desktop:3};function o(){return window.matchMedia("(min-width: 1024px)").matches?"desktop":window.matchMedia("(min-width: 768px)").matches?"tablet":"mobile"}function u(e,t){return"desktop"===e?t.desktop:"tablet"===e?t.tablet??t.mobile:t.mobile}e.s(["RevealGrid",0,function({items:e,renderItem:d,renderSkeleton:m,emptyMessage:p,displayLimit:h,columns:x=c,initialRows:g=3,batchRows:f=1,className:b,contentClassName:v}){let[j,w]=(0,r.useState)(x.mobile*g),[y,S]=(0,r.useState)(!1),[N,k]=(0,r.useState)(e),C=(0,r.useRef)(x.mobile*f),E=(0,r.useRef)(null),T=(0,r.useRef)(!1),L=(0,r.useRef)(!1),$=(0,r.useRef)(null);if(N!==e){k(e);let t=u(o(),x);w(t*g),C.current=t*f}(0,r.useEffect)(()=>{let e=u(o(),x);w(e*g),C.current=e*f},[]),(0,r.useEffect)(()=>{let e=()=>{T.current=!0;let e=E.current;e&&$.current&&($.current.unobserve(e),$.current.observe(e))};return window.addEventListener("scroll",e,{once:!0,passive:!0}),window.addEventListener("touchstart",e,{once:!0,passive:!0}),()=>{window.removeEventListener("scroll",e),window.removeEventListener("touchstart",e)}},[]),(0,r.useEffect)(()=>{if(void 0===h){let t=new IntersectionObserver(([r])=>{r.isIntersecting&&T.current&&!L.current&&(L.current=!0,S(!0),setTimeout(()=>{w(t=>Math.min(t+C.current,e.length)),S(!1),L.current=!1;let r=E.current;r&&(t.unobserve(r),t.observe(r))},500))},{rootMargin:"0px"});$.current=t;let r=E.current;return r&&t.observe(r),()=>{t.disconnect(),$.current=null}}},[e.length,h]);let R=e.slice(0,h??j),M=void 0===h&&j<e.length,P=x.tablet??x.mobile,z=`${i[x.mobile]} ${a[P]} ${n[x.desktop]}`;return(0,t.jsxs)("div",{className:(0,s.cn)("flex flex-col items-center max-w-7xl px-5 md:max-lg:px-8 lg:px-0 w-full",b),children:[(0,t.jsxs)("div",{className:(0,s.cn)(`grid ${z} gap-5 w-full lg:px-22`,v),children:[R.map(d),y&&Array.from({length:C.current}).map((e,l)=>(0,t.jsx)(r.Fragment,{children:m()},`skeleton-${l}`)),0===e.length&&p&&(0,t.jsx)(l.Text,{variant:"body2",className:"col-span-full text-muted-foreground",children:p})]}),M&&(0,t.jsx)("div",{ref:E,className:"h-px w-full mt-5"})]})},"columnsFor",0,u,"resolveBreakpoint",0,o])},670244,e=>{"use strict";var t=e.i(331802);e.s(["default",0,function({message:e}){return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:(0,t.jsxs)("div",{className:"rounded-tertiary bg-white p-8 shadow-md text-center max-w-md",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Unable to load clinic"}),(0,t.jsx)("p",{className:"text-gray-600 mb-4",children:e}),(0,t.jsx)("p",{className:"text-sm text-gray-500",children:"Please try again later."})]})})}])},12244,e=>{"use strict";var t=e.i(331802),r=e.i(659223),l=e.i(199306),s=e.i(543038),i=e.i(843830),a=e.i(439361);e.s(["FilterTabs",0,function({tabs:e,activeSlug:n,onChange:c,ariaLabel:o,className:u,listClassName:d}){let m=(0,i.useTemplate)(),p="template-b"===m||"template-c"===m?"text-quarternary-foreground":"text-primary-foreground",h="template-b"===m||"template-c"===m?"border-quarternary-foreground":"border-primary-foreground",[x,g]=(0,r.useState)(null),f=void 0!==n?n:x,[b,v]=(0,r.useState)(!1),[j,w]=(0,r.useState)(!1),y=(0,r.useRef)(null),S=(0,r.useCallback)(()=>{let e=y.current;e&&(v(e.scrollLeft>1),w(e.scrollLeft+e.clientWidth<e.scrollWidth-1))},[]);(0,r.useEffect)(()=>{S();let e=y.current;if(e)return e.addEventListener("scroll",S,{passive:!0}),window.addEventListener("resize",S),()=>{e.removeEventListener("scroll",S),window.removeEventListener("resize",S)}},[S]);let N=b||j;return(0,t.jsxs)("div",{className:(0,a.cn)("relative mx-auto w-full max-w-7xl px-5 md:max-lg:px-8 lg:max-[1200px]:px-8 min-[1200px]:px-0",u),children:[b&&(0,t.jsx)("button",{"aria-label":`Scroll ${o} left`,tabIndex:-1,onClick:()=>{y.current?.scrollBy({left:-200,behavior:"smooth"})},className:"absolute left-0 inset-y-0 z-10 flex items-center bg-gradient-to-l from-white/0 via-white via-[35%] to-white pl-3 pr-[25px] min-[1200px]:hidden",children:(0,t.jsx)(l.ChevronLeft,{"aria-hidden":"true",className:(0,a.cn)("size-5",p)})}),(0,t.jsx)("div",{ref:y,role:"tablist","aria-label":o,className:(0,a.cn)("flex gap-1 overflow-x-auto scrollbar-hide",!N&&"lg:justify-center",!N&&"template-c"===m&&"md:justify-center",d),children:e.map(e=>{let r;return(0,t.jsx)("button",{role:"tab","aria-selected":f===e.slug,onClick:()=>{var t;g(t=e.slug),c?.(t)},"data-tab-text":e.label,className:(r=f===e.slug,(0,a.cn)("h-[44px] shrink-0 whitespace-nowrap px-4 py-2 text-base leading-6 font-sans",p,"before:content-[attr(data-tab-text)] before:font-medium before:invisible before:overflow-hidden before:block before:h-0","border-b-2",r?(0,a.cn)(h,"font-medium"):"border-transparent font-normal")),children:e.label},e.slug??"__all__")})}),j&&(0,t.jsx)("button",{"aria-label":`Scroll ${o} right`,tabIndex:-1,onClick:()=>{y.current?.scrollBy({left:200,behavior:"smooth"})},className:"absolute right-0 inset-y-0 flex items-center bg-gradient-to-r from-white/0 via-white via-[35%] to-white pl-[25px] pr-3 min-[1200px]:hidden",children:(0,t.jsx)(s.ChevronRight,{"aria-hidden":"true",className:(0,a.cn)("size-5",p)})})]})}])},195147,e=>{"use strict";var t=e.i(331802),r=e.i(875028),l=e.i(688371),s=e.i(408607),i=e.i(430124),a=e.i(439361);let n={h1:r.H1,h2:r.H2,h3:r.H3,h4:r.H4,h5:r.H5,h6:r.H6};e.s(["RichText",0,function({content:e,className:c,textSize:o,context:u,listPositionClassName:d="list-outside pl-6"}){let m=function e(a,c){switch(a.type){case"root":return(0,t.jsx)(t.Fragment,{children:a.children?.map(e)});case"heading":{let l=a.tag??"h2",s=n[l]??r.H2;return(0,t.jsx)(s,{as:"h5"===l?"h3":void 0,className:"pt-2 first:pt-0",children:a.children?.map(e)},c)}case"paragraph":{let l=a.children;if(!l?.length)return null;return(0,t.jsx)("p",{className:(0,r.textVariants)({variant:o}),children:l.map(e)},c)}case"upload":{let e=a.value;if(!e?.mimeType?.includes("image")||!e?.url||!e.width||!e.height)return null;return(0,t.jsx)("div",{className:"flex justify-center lg:justify-start",children:(0,t.jsx)(l.default,{src:e.url,alt:e.alt??"",width:e.width,height:e.height})},`upload-${a.id}`)}case"text":{let e="number"==typeof a.format?a.format:0,r=a.text??"",l=u?(0,i.renderTextWithClinicDetail
1s)(r,u):r;return 1&e&&(l=(0,t.jsx)("strong",{children:l},c)),2&e&&(l=(0,t.jsx)("em",{children:l},`${c}-i`)),8&e&&(l=(0,t.jsx)("u",{children:l},`${c}-u`)),l}case"link":case"autolink":{let r=a.fields,l=a.children?.map(e);if(!r?.url)return(0,t.jsx)(t.Fragment,{children:l});let n=(0,i.resolveClinicLink)(r.url,u?.clinicSlug),o=(0,i.isExternalUrl)(r.url),d=r.newTab||o;if(!o&&!r.url.startsWith("#"))return(0,t.jsx)(s.default,{href:n,className:"text-primary underline",target:r.newTab?"_blank":void 0,rel:r.newTab?"noopener noreferrer":void 0,children:l},c);return(0,t.jsx)("a",{href:n,className:"text-primary underline",target:d?"_blank":void 0,rel:d?"noopener noreferrer":void 0,children:l},c)}case"list":{let r="number"===a.listType?"ol":"ul",l="number"===a.listType?"list-decimal":"list-disc";return(0,t.jsx)(r,{className:`${l} ${d} space-y-2`,children:a.children?.map(e)},c)}case"listitem":return(0,t.jsx)("li",{className:(0,r.textVariants)({variant:o}),children:a.children?.map(e)},c);case"linebreak":return(0,t.jsx)("br",{},c);default:return null}};return e?.root?(0,t.jsx)("div",{className:(0,a.cn)("space-y-4 [&>*:last-child]:mb-0",c),children:m(e.root,0)}):null}])},560797,e=>{"use strict";var t=e.i(331802),r=e.i(659223),l=e.i(203502),s=e.i(12244),i=e.i(338130),a=e.i(43787),n=e.i(222843);let c="category",o={"template-a":{columns:{mobile:2,desktop:3},aspect:"341/192",gridClass:"gap-4 lg:gap-9",labelWrapper:""},"template-b":{columns:{mobile:2,tablet:3,desktop:4},aspect:"213/209",gridClass:"justify-center gap-4 lg:gap-9 lg:px-9 xl:px-0 grid-cols-[repeat(2,minmax(0,261px))] md:grid-cols-[repeat(3,minmax(0,261px))] lg:grid-cols-[repeat(4,minmax(0,261px))]",labelWrapper:"justify-start px-0 lg:px-0 h-auto md:h-auto sm:min-h-0"},"template-c":{columns:{mobile:2,tablet:2,desktop:4},aspect:"213/209",gridClass:"justify-center gap-4 md:gap-9 lg:px-9 xl:px-0 grid-cols-[repeat(2,minmax(0,261px))] md:grid-cols-[repeat(2,minmax(0,261px))] lg:grid-cols-[repeat(4,minmax(0,261px))]",labelWrapper:"justify-start px-0 lg:px-0 h-auto md:h-auto sm:min-h-0"}};e.s(["ServicesSection",0,function({services:e,clinicSlug:u,template:d}){let m=(0,l.useSearchParams)(),p=o[d??"template-a"],[h,x]=(0,r.useState)(null);(0,r.useEffect)(()=>{x(m.get(c))},[m]);let g=(0,r.useCallback)(e=>{x(e);let t=new URL(window.location.href);e?t.searchParams.set(c,e):t.searchParams.delete(c),window.history.replaceState(null,"",t.toString())},[]),f=(0,r.useMemo)(()=>[{slug:null,label:"All"},...e.flatMap(e=>e.categories).filter((e,t,r)=>r.findIndex(t=>t.slug===e.slug)===t).map(e=>({slug:e.slug,label:e.name}))],[e]),b=(0,r.useMemo)(()=>{let t=e.filter(e=>!(0,n.isSubService)(e));return h?t.filter(e=>e.categories.some(e=>e.slug===h)):t},[e,h]);return(0,t.jsxs)("section",{className:"pt-6 pb-11 md:pt-[38px]",children:[(0,t.jsx)(s.FilterTabs,{tabs:f,activeSlug:h,onChange:g,ariaLabel:"Service categories"}),(0,t.jsx)("div",{className:"flex justify-center pt-6 md:pt-[38px]",children:(0,t.jsx)(i.RevealGrid,{items:b,columns:p.columns,contentClassName:p.gridClass,emptyMessage:"No services found.",renderItem:e=>(0,t.jsx)(a.ServiceCard,{service:e,clinicSlug:u,template:d,imageAspectRatio:p.aspect,labelAlign:"left",labelWrapperClassName:p.labelWrapper},e.slug),renderSkeleton:()=>(0,t.jsx)(a.ServiceCardSkeleton,{})})})]})}])},134285,e=>{"use strict";var t=e.i(331802),r=e.i(659223),l=e.i(688371);let s=(0,e.i(110430).default)("circle-user-round",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["TeamMemberPhoto",0,function({photo:e,fallbackLabel:i,imageClassName:a,...n}){let[c,o]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{o(!1)},[e?.url]),null!=e&&e.url.length>0&&!c){let r={src:e.url,alt:e.altText||i,className:a,onError:()=>o(!0)};return n.fill?(0,t.jsx)(l.default,{...r,fill:!0,sizes:n.sizes}):(0,t.jsx)(l.default,{...r,width:n.width,height:n.height})}return(0,t.jsx)("div",{role:"img","aria-label":i,className:"flex h-full w-full items-center justify-center bg-primary/20",children:(0,t.jsx)(s,{className:"h-16 w-16 text-white",strokeWidth:1,"aria-hidden":"true"})})}],134285)},222843,e=>{"use strict";e.s(["isSubService",0,function(e){return"sub-service"===e.type}])},143569,e=>{"use strict";
1class t extends Error{response;request;constructor(e,r){super(`${t.extractMessage(e)}: ${JSON.stringify({response:e,request:r})}`),Object.setPrototypeOf(this,t.prototype),this.response=e,this.request=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${String(e.status)})`}}e.s(["ClientError",0,t])},174488,(e,t,r)=>{"use strict";e.i(542690),Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return u},getImageProps:function(){return o}};for(var s in l)Object.defineProperty(r,s,{enumerable:!0,get:l[s]});let i=e.r(836437),a=e.r(541620),n=e.r(675170),c=i._(e.r(764716));function o(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:c.default,imgConf:{deviceSizes:[640,828,1080,1920,2560],imageSizes:[48,96,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=n.Image},688371,(e,t,r)=>{t.exports=e.r(174488)}]);
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.