1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6689],{82119:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/locations",function(){return r(61764)}])},59796:function(t,e,r){"use strict";var n=r(20218),i=r(66139),a=r(35904),o=r(99500),c=r(5009),l=r(72567);e.Z=t=>{let{locations:e,titleProps:r={},suffix:s=""}=t;return(0,n.BX)(i.Z,{sx:{p:2},children:[(0,n.tZ)(a.Z,{variant:"h2",component:"h2",textAlign:"center",color:"primary.contrastText",sx:{fontWeight:"600 !important"},...r,children:"Locations"}),(0,n.tZ)("br",{}),(0,n.tZ)(o.Z,{sx:{columnWidth:320},children:e.map(t=>(0,n.tZ)(c.ZP,{sx:{p:.5},children:(0,n.BX)(l.Z,{href:t.url,underline:"hover",variant:"bodyXs",color:"primary.contrastText",textTransform:"uppercase",sx:{fontWeight:"500 !important",lineHeight:"157% !important"},children:[t.name," ",s]})},`state_${t.slug}`))})]})}},30051:function(t,e,r){"use strict";var n=r(20218),i=r(49362),a=r(66139),o=r(50241);e.Z=t=>{let{children:e,withMarginTop:r,withMarginBottom:c,disableBottomGutter:l,disableTopGutter:s,positionRelative:h,backgroundColor:p,verticalPadding:d,sx:u,...m}=t,y=(0,i.Z)();return(0,n.tZ)(a.Z,{...m,sx:{padding:y.spacing(s?0:2,0,l?0:3),marginTop:r&&(0,o._N)(y)||void 0,marginBottom:c&&(0,o._N)(y)||void 0,position:h&&"relative"||void 0,...d&&{paddingTop:s?0:{xs:y.spacing(2),md:y.spacing(12.5)},paddingBottom:{xs:y.spacing(2),md:y.spacing(12.5)}},...p&&{"&:before":{content:'""',position:"absolute",top:0,background:p,left:"50%",transform:"translateX( -50%)",height:"100%",width:"100vw",zIndex:-1}},...u},children:e})}},35574:function(t,e,r){"use strict";r.d(e,{T:function(){return n}});let n=(t,e)=>{let[r]=t.split("#"),[n,i]=r.split("?");return`${n.replace(/\/$/,"")}/${e}${i?`?${i}`:""}`}},61764:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSG:function(){return X},default:function(){return A}});var n=r(20218),i=r(52983),a=r(49362),o=r(35904),c=r(35998),l=r(55263),s=r(98919),h=r.n(s),p=r(8586),d=r(93517),u=r(92779),m=r(94756),y=r(53650),g=r(45786),Z=r(61091),f=r(82523),x=r(51689),b=r(20553),v=r(53346),T=r(59796),k=r(30051),C=r(34834),w=r(43700),_=r(35574);let B=(t,e)=>(0,y.Z)((0,d.Z)(e=>{let{restrictedTreatments:r}=e;return!t?.treatmentAlias||r&&(0,m.Z)(r?.includes(t.treatmentAlias))}),(0,u.Z)(e=>{let{name:r,slug:n}=e;return{name:r,slug:n,url:`${t?.slug||""}/${n}`}}),(0,Z.Z)((0,g.Z)("name")))(e),M=t=>{let{treatmentData:e,treatment:r,treatmentsAlias:a}=t,o=(0,p.useRouter)(),[,c]=(0,C.Jl)(),l=(0,i.useCallback)(async()=>{let t=a.find(t=>t.alias===r?.treatmentAlias);await c(t),r?.intakeForm?o.push((0,_.T)(o.asPath,"intake")):o.push("/membership")},[a,r,c,o]);return(0,n.tZ)(x.Z,{title:e?.[0]?.title,content:e?.[0]?.content,responsiveImage:e?.[0]?.image?.responsiveImage,secondaryContent:e?.[0]?.secondaryContent,getCareClicked:l,cta:"Get Started",direction:"row",typographyProps:{typography:"h1",variant:"h2"}})},P=t=>{let{treatments:e,states:r,treatmentsAlias:o}=t,c=(0,a.Z)();return(0,n.tZ)(n.HY,{children:e.map((t,e)=>(0,n.tZ)(k.Z,{backgroundColor:e%2==0?c.palette.background.default:c.palette.background.secondaryBackground,positionRelative:!0,verticalPadding:!0,children:(0,n.BX)(i.Fragment,{children:[t?.content?.blocks?.length>0&&(0,n.BX)(n.HY,{children:[t.content.blocks[0]?.content&&(0,n.tZ)("p",{children:(0,l.sY)(t.content.blocks[0].content)}),(0,n.tZ)(M,{treatmentData:t.content.blocks,treatment:t,treatmentsAlias:o})]}),(0,n.tZ)(T.Z,{locations:B(t,r),titleProps:{variant:"h4",component:"h4",color:c.palette.primary.contrastText,textAlign:"left",marginTop:4},suffix:t?.name||""})]})},t?.slug||`treatment-${e}`))})};var X=!0,A=t=>{let{treatments:e,seoOnly:r,states:a,treatmentsAlias:l,inputTreatments:s,allTreatmentsOptions:d}=t,u=(0,w.tz)(),m=(0,p.useRouter)(),y=(0,f.A4)(),[,g]=(0,C.Uo)(),[,Z]=(0,C.Jl)(),[,x]=(0,C.FD)(),[,T]=(0,C.YC)(),k=(0,i.useCallback)(t=>{let{treatmentOption:e,paymentType:r,zipcode:n}=t,i=(0,v.wL)(n),a=s.find(t=>t.id===e?.topicId);x(n),Z(a),T(r),g(i),y.track("Button Clicked",{kind:"Treatment Finder Submit",page_type:"locations",treatment_name:e?.displayName??"",lead_type:e?.treatmentAlias??"",payment_type:r??"",has_zipcode:String(!!n)}),m.push("/membership")},[y,m,T,g,Z,x,s]),_=(0,i.useCallback)(()=>{y.track("Button Clicked",{kind:"Treatment Finder Hero CTA",page_type:"locations"}),m.push("/membership")},[y,m]);return(0,n.BX)(n.HY,{children:[(0,n.tZ)(h(),{children:(0,n.tZ)("title",{children:"Treatment Locations | Klinic Care"})}),(0,n.BX)(c.Z,{display:"flex",flexDirection:"column",alignItems:"center",marginY:12,gap:4,children:[(0,n.tZ)(o.Z,{variant:"h1",color:"primary.contrastText",margin:"0",children:"Locations"}),(0,n.tZ)(o.Z,{variant:"h4",component:"h4",color:"primary.contrastText",sx:{textAlign:"center",fontWeight:"700 !important"},children:"Treatments available via Telehealth by connecting with Board Certified Medical Providers at Klinic Inc and Klinic Medical:"}),(0,n.tZ)(b.default,{cta:"Get Treatment Today",treatments:d,paymentTypes:u,onSubmit:k,onCtaClick:_,sx:{width:"100%",display:"flex",justifyContent:"center"}})]}),(0,n.tZ)(P,{treatments:e,states:a,treatmentsAlias:l}),(0,n.tZ)(o.Z,{variant:"h4",component:"h2",my:8,color:"primary.contrastText",children:"Treatments available via virtual consults and in-person visits by connecting with Independent Practitioners on Klinic's Platform:"}),(0,n.tZ)(P,{treatments:r,states:a,treatmentsAlias:l})]})}},72567:function(t,e,r){"use strict";var n=r(20218),i=r(52983),a=r(84785),o=r(59339),c=r.n(o);e.Z=(0,i.forwardRef)((t,e)=>{let{href:r,as:i,...o}=t;return/^(http:|https:|)\/\//.test(r)?(0,n.tZ)(a.Z,{href:r,ref:e,...o}):(0,n.tZ)(c(),{href:r,as:i,passHref:!0,legacyBehavior:!0,children:(0,n.tZ)(a.Z,{ref:e,...o})})})},92623:function(t,e,r){"use strict";var n=r(20218),i=r(35904);e.Z=t=>{let{value:e,variant:r="bodyRegular",color:a,style:o={}}=t;return(0,n.tZ)(i.Z,{variant:r,component:"div",sx:{...o,whiteSpace:"pre-wrap",wordBreak:"break-word","&.MuiTypography-h1, &.MuiTypography-h2, &.MuiTypography-h3, &.MuiTypography-h4, &.MuiTypography-h5, &.MuiTypography-h6":{color:"primary.contrastText"},"&.MuiTypography-h2, &.MuiTypography-h3, &.MuiTypography-h4":{fontWeight:600},"&.MuiTypography-h5, &.MuiTypography-h6":{fontWeight:700},"&.MuiTypography-bodyLarge, &.MuiTypography-bodyRegular, &.MuiTypography-bodySmall, &.MuiTypography-bodyXs":{color:"secondary.light"}},children:e})}},50138:function(t,e,r){"use strict";var n=r(20218),i=r(52983),a=r(66139),o=r(35904),c=r(156),l=r(47647),s=r(8586),h=r(26080),p=r(95582),d=r(92623);let u=t=>({[t.breakpoints.up("sm")]:{minWidth:220}}),m={maxWidth:"100%"},y={display:{xs:"flex",sm:"block"},flexDirection:"column"},g={order:{xs:1,sm:0}};e.Z=t=>{let{injectStateAndCityToTitle:e,title:r,content:Z,learnMoreUrl:f,getCareClicked:x,secondaryContent:b,cta:v="Learn More",ctaCollection:T,ctaId:k,typographyProps:C,blurbBtn:w,state:_,variant:B="h2",city:M,ctaFirstOnMobile:P}=t,X=(0,s.useRouter)(),A="Learn More"===v,W=A?v:"Find Provider",S=(0,i.useCallback)(()=>
1{if(A&&f||f){X.push(f);return}if(x){x();return}if(w){X.push(w.url);return}},[x,w,f,X,A]);return(0,n.BX)(a.Z,{width:"100%",sx:P?y:void 0,children:[(0,n.tZ)(a.Z,{children:r&&("string"==typeof r?(0,n.BX)(o.Z,{variant:B,color:"primary.contrastText",sx:{lineHeight:"117% !important",fontWeight:"600 !important"},marginBottom:4,textAlign:{xs:"center",sm:"inherit"},...C,children:[r,M&&e&&` in ${M},`,_&&e&&` ${_.name}`]}):r)}),Z&&(0,n.tZ)(o.Z,{component:"div","data-testid":"hero-copy",gutterBottom:!0,fontWeight:700,mb:4,sx:{"& h1, & h2, & h3, & h4, & h5, & h6":{color:"primary.contrastText"},"& h2, & h3, & h4":{fontWeight:600},"& h5, & h6":{fontWeight:700},"& p, & li":{color:"secondary.light",fontWeight:400,fontSize:"16px"},wordBreak:"break-word",...P?g:{}},children:"string"==typeof Z?(0,n.tZ)(p.D,{children:Z}):(0,n.tZ)(h.rZ,{data:Z})}),(0,n.tZ)(a.Z,{mb:3,"data-testid":"hero-copy-secondary",sx:P?g:void 0,children:b&&b.map((t,e)=>(0,n.tZ)(d.Z,{...t},`styled_text_${e}`))}),T?.length?(0,n.tZ)(c.Z,{direction:{xs:"column",md:"row"},spacing:2,children:T.map((t,e)=>(0,n.tZ)(l.Z,{color:e%2==0?"secondary":"primary",variant:"hero-button",onClick:()=>X.push(t.url??""),sx:m,children:t.cta},t.url))}):(f||x||w)&&(0,n.tZ)(l.Z,{variant:"hero-button",size:"large",color:"secondary",sx:w?{minWidth:220,backgroundColor:"primary.contrastText",color:"primary.main","&:hover":{opacity:.7,backgroundColor:"primary.contrastText",color:"primary.main"}}:u,id:k,onClick:S,children:W})]})}},51689:function(t,e,r){"use strict";var n=r(20218),i=r(66139),a=r(8661),o=r(45995),c=r(50241),l=r(50138);e.Z=t=>{let{title:e,content:r,injectStateAndCityToTitle:s,learnMoreUrl:h,responsiveImage:p,secondaryContent:d,cta:u,ctaCollection:m,getCareClicked:y,ctaId:g,direction:Z="row-reverse",typographyProps:f,blurbBtn:x,state:b,variant:v,city:T,afterContent:k,ctaFirstOnMobile:C}=t;return(0,n.tZ)(i.Z,{children:(0,n.BX)(a.ZP,{container:!0,columnSpacing:c.gB,rowSpacing:c.gB,flexDirection:Z,children:[(0,n.tZ)(a.ZP,{item:!0,md:6,width:"100%",children:(0,n.tZ)(o.E,{data:p,style:{borderRadius:24,width:"100%",height:"100%"},layout:"responsive",objectFit:"cover"})}),(0,n.BX)(a.ZP,{item:!0,md:6,children:[(0,n.tZ)(l.Z,{injectStateAndCityToTitle:s,title:e,ctaId:g,secondaryContent:d,content:r,cta:u,ctaCollection:m,getCareClicked:y,learnMoreUrl:h,typographyProps:f,blurbBtn:x,state:b,variant:v,city:T,ctaFirstOnMobile:C}),k&&(0,n.tZ)(i.Z,{sx:{mt:3},children:k})]})]})})}}},function(t){t.O(0,[6385,8910,4863,6080,2220,9339,2375,4744,6044,4921,5263,5009,702,1750,502,1824,8047,2888,9774,179],function(){return t(t.s=82119)}),_N_E=t.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.