1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c506844c-628f-446b-9649-01b75bbd04e8",e._sentryDebugIdIdentifier="sentry-dbid-c506844c-628f-446b-9649-01b75bbd04e8")}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c506844c-628f-446b-9649-01b75bbd04e8",e._sentryDebugIdIdentifier="sentry-dbid-c506844c-628f-446b-9649-01b75bbd04e8")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[Error().stack],{"_sentryBundlerPluginAppKey:grow-therapy-ssr":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2485],{62508:function(e,t,n){n.d(t,{U:function(){return s}});var r=n(2784),a=n(76100),o=n(48495),i=n(12730);let c=()=>()=>{},s=()=>{let e=(0,o.O7)(),t=(0,o.b9)(),n=(0,i.eI)(),s=(0,r.useSyncExternalStore)(c,()=>n,()=>"");return{providerLoginUrl:(0,a._)({environment:e,hostname:t,path:"/login",subdomain:"provider"}),clientLoginUrl:s}}},65549:function(e,t,n){n.r(t),n.d(t,{SearchResultsDescription:function(){return _},SearchResultsDescriptionSkeleton:function(){return R}});var r=n(52322),a=n(5632),o=n(53481),i=n(79475),c=n(4196),s=n(3040),l=n(58694),d=n(53518),u=n(39638),p=n(15317),g=n(66440),h=n(96836),m=n(14989),f=n(89984),v=n(46999),y=n(46092);let w=(0,o.cn)("font-medium","rebrand:typography-body-emphasis-default"),k={1:(0,r.jsx)("span",{className:w})},b=e=>Object.values(e).reduce((e,t)=>e+(Array.isArray(t)?t.length:1),0),P=(e,t,n,r,a)=>{let o={providerLocation:t};return e(n?"Cash"===a?"grow-core:marketplace.bookAnAppointmentThroughGrowTherapyTherapist":a&&!r?"grow-core:marketplace.takeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationTherapist":"grow-core:marketplace.takeAdvantageOfPlanScheduleAppointmentInLocationTherapist":"Cash"===a?"grow-core:marketplace.bookAnAppointmentThroughGrowTherapyProvider":a&&!r?"grow-core:marketplace.takeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationProvider":"grow-core:marketplace.takeAdvantageOfPlanScheduleAppointmentInLocationProvider",o)},T=function(e,t,n,r,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:v.Fr.Client,i={insurance:t,providerLocation:r};return e(n?o===v.Fr.Member?a?"grow-core:marketplace.helpYourMemberTakeAdvantageOfPlanScheduleAppointmentInLocationTherapist":"grow-core:marketplace.helpYourMemberTakeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationTherapist":a?"grow-core:marketplace.takeAdvantageOfPlanScheduleAppointmentInLocationTherapist":"grow-core:marketplace.takeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationTherapist":o===v.Fr.Member?a?"grow-core:marketplace.helpYourMemberTakeAdvantageOfPlanScheduleAppointmentInLocationProvider":"grow-core:marketplace.helpYourMemberTakeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationProvider":a?"grow-core:marketplace.takeAdvantageOfPlanScheduleAppointmentInLocationProvider":"grow-core:marketplace.takeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationProvider",i)},I=(e,t,n,r,a)=>{let o={providerLocation:n};return e(t?"Cash"===r?"grow-core:marketplace.scheduleAppointmentWithTrustedProviderInLocationTherapist":r&&!a?"grow-core:marketplace.takeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationTherapist":"grow-core:marketplace.takeAdvantageOfPlanScheduleAppointmentInLocationTherapist":"Cash"===r?"grow-core:marketplace.scheduleAppointmentWithTrustedProviderInLocationProvider":r&&!a?"grow-core:marketplace.takeAdvantageOfPlanNoCreditCardScheduleAppointmentInLocationProvider":"grow-core:marketplace.takeAdvantageOfPlanScheduleAppointmentInLocationProvider",o)};var L=n(40794),A=n(2784),x=n(97277),C=n(32070),S=n(67862);function N(){let e=(0,S._)(["\n query GetAvgCostByPayor($stateCode: String!, $clientBookingName: String) {\n avgCostByPayor(values: { stateCode: $stateCode, clientBookingName: $clientBookingName }) {\n clientBookingName\n avgCost\n }\n }\n"]);return N=function(){return e},e}let j=(0,n(10081).Ps)(N());var M=n(77651),D=n(49517);function O(e){let{children:t,containerSize:n,showAbridgedHeading:a=!1,className:i,categoriesPage:c,isDesktopProfilePreviewEnabled:s=!1,hideMatchCount:l=!1}=e;return(0,r.jsx)("div",{className:(0,o.cn)({"p-6 sm:p-8":!a,"pb-2 pt-6":a,"px-4":a&&n&&["sm","md"].includes(n),"px-0":a&&n&&["lg","xl"].includes(n)},"rebrand:p-0",{"rebrand:pt-350 rebrand:lg:pt-500":!c},{"rebrand:pt-350 rebrand:md:pt-500":c&&!s&&!l},{"rebrand:pt-200":c&&!s&&l},{"mx-200 rebrand:lg:mx-0":c&&!s},i),children:t})}
1function _(e){let{containerSize:t,showAbridgedHeading:n=!1,categoriesPage:S=!1,isDesktopProfilePreviewEnabled:N=!1,className:_,showingMap:R=!1,getTranslatedMatchCountOverride:B,hideMatchCount:F=!1}=e,E=(0,i.q)(),V=(0,c.m)(),H=(0,l.r)(),G=(0,a.useRouter)(),W=(0,u.m)(),{providerCount:K,isLoading:Y}=(0,g.V)(),z=(0,d.s)(),q=(0,o.useRebrand)(),Q=(0,D._)({values:z}),U=(0,p.A)(z),$="medicationManagement"===z.typeOfCare?"provider":"therapist",J=!W||!s.t.includes(null==W?void 0:W.planCategory),Z=(0,h.J)(G.query),{averageCopayRangeText:X,insurance:ee}=function(){var e,t;let{skip:n=!1,waitForSearch:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(0,u.m)(),o=(0,d.s)().state,i=o?C.Yr[o]:void 0,c=null!==(e=null==a?void 0:a.name)&&void 0!==e?e:null,s=(0,x.n)(c,500),{data:l,loading:p}=(0,L.a)(j,{variables:{stateCode:null!=i?i:"",clientBookingName:c},skip:n||!i||!c,fetchPolicy:"cache-first"}),g=(null==l?void 0:l.avgCostByPayor)?(0,M.Q)([l.avgCostByPayor],c):null,h=(0,A.useRef)({insurance:null,averageCopayRangeText:null}),m=s!==c,f=r||p||m;f||n||(h.current={insurance:c,averageCopayRangeText:g});let v=f?h.current:{insurance:c,averageCopayRangeText:g},y=null!==(t=v.insurance)&&void 0!==t?t:f?null:"Cash";return{averageCopayRangeText:v.averageCopayRangeText,isLoading:p||m,insurance:y}}({skip:!S,waitForSearch:Y});if(0===K)return null;let et=()=>{if(B)return B();let{setting:e}=z;return"virtual"===e?E("grow-core:marketplace.countVirtualProviderMatches",{count:K}):"inPerson"===e?E("grow-core:marketplace.countInPersonProviderMatches",{count:K}):"both"===e?E("grow-core:marketplace.countVirtualAndInPersonProviderMatches",{providerCount:K}):E("grow-core:marketplace.countVirtualProviderMatches",{count:K})};if(S){let e=!!(ee&&(!V||V.portalConfig.allowCopayRangeVisibility)),a=(0,o.cn)("m-0",{"mb-5":!ee&&(!V||V.portalConfig.allowCopayRangeVisibility),"typography-subhead-serif-default text-text-default":N}),i=null;return(e&&(i=X?E("grow-core:paymentsSessionCost.onAverageClientsPayCopayRange",{insurance:ee,averageCopayRangeText:X}):E("grow-core:paymentsSessionCost.averageCostPerSession21WithInsurance",{insurance:ee,averageCopayRangeText:X})),F&&!i)?null:(0,r.jsx)(O,{containerSize:t,showAbridgedHeading:n,className:_,categoriesPage:S,isDesktopProfilePreviewEnabled:N,showingMap:R,hideMatchCount:F,children:(0,r.jsxs)("div",{role:"alert","data-testid":"search-results-description-title",className:(0,o.cn)("gap-125 flex flex-col",{"mb-0 items-start text-left":N,"mb-350 items-center text-center":!N&&!F,"mb-350 items-start text-left":F&&!N}),children:[!F&&(N?(0,r.jsx)(o.Subhead.Default,{as:"h1",className:a,children:et()}):(0,r.jsx)(o.Label.Small,{as:"h1",emphasis:!0,className:a,children:et()})),i&&(N?(0,r.jsx)(o.Label.Default,{className:"text-text-muted m-0",children:i}):(0,r.jsx)(o.Body.Small,{className:"m-0",children:i}))]})})}let en="both"===z.setting?function(e){var t,n;let{t:a,searchFilters:o,totalCount:i,providerType:c,queryHasPathParams:s,isCCInfoRequired:l,isPaginatedPage:d=!1}=e,{state:u,insurance:p,specialty:g,identity:[h]}=o;if(d)return{title:a("grow-core:marketplace.therapistsInLocation",{providerLocation:u}),text:""};if(s){let e=i>50?"50+":i,t={count:i,providerCount:e,providerLocation:u};return{title:"therapist"===c?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countTherapistsMatchingNeedsInLocation",values:t,components:{1:(0,r.jsx)("span",{className:w})}}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countProvidersMatchingNeedsInLocation",values:t,components:{1:(0,r.jsx)("span",{className:w})}}),text:I(a,"therapist"===c,u,p,l)}}let[[m],[v]]=(0,y.l)(g),k=p&&"Cash"!==p;return{title:function(e){let{t,providerLocation:n,totalCount:r,providerType:a,insurance:o,identity:i,specialty:c}=e,s="therapist"===a,l=function(e){let{totalCount:t}=e;return t>100?"100+":t>50?"50+":t>25?"25+":t>10?"10+":void 0}({totalCount:r}),d=o||i||c;return l&&d?t(s?"grow-core:marketplace.bookGreaterThanOfBestTherapistsWithFilterInLocation":"grow-core:marketplace.bookGreaterThanOfBestProvidersWithFilterInLocation",{count:r,numGreaterThan:l,activeSearchFilter:d,providerLocation:n}):l?t(s?"grow-core:marketplace.bookGreaterThanOfBestTherapistsInLocation":"grow-core:marketplace.bookGreaterThanOfBestProvidersInLocation",{count:r,numGreaterThan:l,providerLocation:n}):d?t(s?"grow-core:marketplace.bookBestTherapistsWithFilterInLocation":"grow-core:marketplace.bookBestProvidersWithFilterInLocation",{count:r,activeSearchFilter:d,providerLocation:n}):t(s?"grow-core:marketplace.bookBestTherapistsInLocation":"grow-core:marketplace.bookBestProvidersInLocation",{count:r,providerLocation:n})}({t:a,providerLocation:u,totalCount:i,providerType:c,insurance:k?p:"",identity:h,specialty:null!==(t=null!=m?m:v)&&void 0!==t?t:""}),text:function(e){let t,n,{t:r,providerLocation:a,totalCount:o,providerType:i,insurance:c,identity:s,specialty:l,isCCInfoRequired:d}=e,u="therapist"===i,p=c||l||s,g=l||s;t=p&&p===c&&!d?r(u?"grow-core:marketplace.findBestTherapistWithFilterInLocationNoCreditCard":"grow-core:marketplace.findBestProviderWithFilterInLocationNoCreditCard",{activeSearchFilter:p,providerLocation:a}):p?r(u?"grow-core:marketplace.findBestTherapistWithFilterInLocation":"grow-core:marketplace.findBestProviderWithFilterInLocation",{activeSearchFilter:p,providerLocation:a}):r(u?"grow-core:marketplace.findBestTherapistInLocation":"grow-core:marketplace.findBestProviderInLocation",{providerLocation:a}),n=g&&c?r(u?"grow-core:marketplace.growTherapyHasVerifiedTherapistsWithSpecialtyAcceptingInsurance":"grow-core:marketplace.growTherapyHasVerifiedProvidersWithSpecialtyAcceptingInsurance",{count:o,identityOrSpecialty:g,insurance:c}):g?r(u?"grow-core:marketplace.growTherapyHasVerifiedTherapistsWithSpecialty":"grow-core:marketplace.growTherapyHasVerifiedProvidersWithSpecialty",{count:o,identityOrSpecialty:g}):c?r(u?"grow-core:marketplace.growTherapyHasVerifiedTherapistsAcceptingInsurance":"grow-core:marketplace.growTherapyHasVerifiedProvidersAcceptingInsurance",{count:o,insurance:c}):r(u?"grow-core:marketplace.growTherapyHasVerifiedTherapists":"grow-core:marketplace.growTherapyHasVerifiedProviders",{count:o});let h=r(u?"grow-core:marketplace.growTherapyVerifiesEveryTherapist":"grow-core:marketplace.growTherapyVerifiesEveryProvider");return"".concat(t," ").concat(n," ").concat(h)}({t:a,providerLocation:u,totalCount:i,providerType:c,insurance:k?p:"",identity:h,specialty:k?"":null!==(n=null!=m?m:v)&&void 0!==n?n:"",isCCInfoRequired:l})}}({t:E,searchFilters:U,totalCount:K,providerType:$,isCCInfoRequired:J,queryHasPathParams:Z,isPaginatedPage:!H}):function(e,t,n,a,o,i){var c,s,l,d,u,p,g;let h=arguments.length>6&&void 0!==arguments[6]&&arguments[6],{state:m,insurance:y,specialty:I,identity:L}=t,A=b(t),x="therapist"===a,C={count:n,providerLocation:m},S=x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countTherapistsMatchingNeedsInLocation",values:C,components:{1:(0,r.jsx)("span",{className:w})}}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countProvidersMatchingNeedsInLocation",values:C,components:{1:(0,r.jsx)("span",{className:w})}}),N=P(e,m,"therapist"===a,o,y),j=(null==i?void 0:null===(c=i.portalConfig)||void 0===c?void 0:c.searchSubjectType)===v.Fr.Employee&&!!(null==i?void 0:null===(s=i.portalConfig)||void 0===s?void 0:s.displayName),M=j&&null!==(d=null==i?void 0:null===(l=i.portalConfig)||void 0===l?void 0:l.displayName)&&void 0!==d?d:"";if(h)return{title:(p=!!y,g={count:n,displayName:M,insurance:y,providerLocation:m},j&&p?x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.therapistsAcceptDisplayNameAndInsuranceInLocation",values:g,components:k}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.providersAcceptDisplayNameAndInsuranceInLocation",values:g,components:k}):j?x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.therapistsAcceptDisplayNameInLocation",values:g,components:k}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.providersAcceptDisplayNameInLocation",values:g,components:k}):p?x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.therapistsAcceptInsuranceInLocation",values:g,components:k}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.providersAcceptInsuranceInLocation",values:g,components:k}):x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.therapistsInLocation",values:g,components:k}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.providersInLocation",values:g,components:k})),text:""};if(2!==A)return{title:S,text:N};if("Cash"===y)N=e(x?"grow-core:marketplace.bookAnAppointmentThroughGrowTherapyTherapist":"grow-core:marketplace.bookAnAppointmentThroughGrowTherapyProvider",{providerType:a,providerLocation:m});else if(y)S=x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countTherapistsInLocationAcceptingInsurance",values:{count:n,providerLocation:m,insurance:y},components:{1:(0,r.jsx)("span",{className:w})}}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countProvidersInLocationAcceptingInsurance",values:{count:n,providerLocation:m,insurance:y},components:{1:(0,r.jsx)("span",{className:w})}}),N=T(e,y,"therapist"===a,m,o,null==i?void 0:null===(u=i.portalConfig)||void 0===u?void 0:u.searchSubjectType);else if(I){let t="string"==typeof I?I:I[0];S=e(x?"grow-core:marketplace.countTherapistsInLocationSpecializingIn":"grow-core:marketplace.countProvidersInLocationSpecializingIn",{count:n,providerLocation:m,specialty:t}),N=e(x?"grow-core:marketplace.findATherapistInLocationThatMeetsYourSpecificNeeds":"grow-core:marketplace.findAProviderInLocationThatMeetsYourSpecificNeeds",{providerLocation:m,singleSpecialty:t})}else if(L){let t="string"==typeof L?L:L[0];S=x?(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countIdentityTherapistsInLocation",values:{count:n,identity:t,providerLocation:m},components:{1:(0,r.jsx)("span",{className:w})}}):(0,r.jsx)(f.v,{i18nKey:"grow-core:marketplace.countIdentityProvi
1dersInLocation",values:{count:n,identity:t,providerLocation:m},components:{1:(0,r.jsx)("span",{className:w})}}),N=e(x?"grow-core:marketplace.findATherapistInLocationThatMeetsYourPreferencesIdentity":"grow-core:marketplace.findAProviderInLocationThatMeetsYourPreferencesIdentity",{providerLocation:m,singleIdentity:t})}return{title:S,text:N}}(E,Q,K,$,J,V,n);return(0,r.jsxs)(O,{containerSize:t,showAbridgedHeading:n,className:_,children:[(0,r.jsx)("div",{role:"alert","data-testid":"search-results-description-title",children:q?(0,r.jsx)(o.Body.Default,{as:"h1",emphasis:!0,children:en.title},"sm"):(0,r.jsx)(o.Heading,{variant:n?"md":"sm",as:"h1",className:(0,o.cn)("text-neutral-800",{"font-normal":n}),children:en.title},"sm")}),!n&&H&&(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsxs)(o.Text,{variant:"sm",className:"text-neutral-700",as:"p",children:[(0,r.jsx)("span",{className:"hidden sm:block",children:en.text}),(0,r.jsx)("span",{className:"block sm:hidden",children:(0,r.jsx)(m.b,{text:en.text,viewMoreLinkClass:"inline py-0 px-0 text-lilac-700"})})]},"sm")})]})}function R(e){let{containerSize:t,showAbridgedHeading:n=!1,className:a,categoriesPage:i=!1}=e,c=(0,l.r)();return(0,r.jsxs)(O,{containerSize:t,showAbridgedHeading:n,className:a,categoriesPage:i,children:[(0,r.jsx)(o.Skeleton,{className:(0,o.cn)("m-0 w-96 mobile:w-60",{"rebrand:bg-[#e8e8e8]":i})}),!n&&c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Skeleton,{className:(0,o.cn)("mx-0 h-4 w-full bg-neutral-400",{"rebrand:bg-[#e8e8e8]":i})}),(0,r.jsx)(o.Skeleton,{className:(0,o.cn)("mx-0 my-0 h-4 w-full bg-neutral-400",{"rebrand:bg-[#e8e8e8]":i})})]})]})}},14989:function(e,t,n){n.d(t,{b:function(){return c}});var r=n(52322),a=n(2784),o=n(53481),i=n(79475);function c(e){let{text:t,viewMoreLinkClass:n}=e,[c,s]=(0,a.useState)(!0),l=(0,i.q)()(c?"grow-core:navigation.viewMore":"grow-core:navigation.viewLess");return(0,r.jsxs)(r.Fragment,{children:[c?"".concat(t.slice(0,77),"... "):"".concat(t," "),(0,r.jsx)(o.Button,{use:"link",className:n,onClick:()=>s(!c),children:l})]})}},49517:function(e,t,n){n.d(t,{_:function(){return i}});var r=n(2784),a=n(15317);let o=new Set(["setting","typeOfCare","address","name","timezone"]);function i(e){let{values:t}=e;return(0,r.useMemo)(()=>Object.fromEntries(Object.entries((0,a.A)(t)).filter(e=>{let[t,n]=e;return!!(!o.has(t)&&n&&"boolean"!=typeof n&&0!==n.length)})),[t])}},16102:function(e,t,n){n.d(t,{M:function(){return r}});let r={LCSW:"Therapist",LMFT:"Therapist",LMHC:"Therapist",LCPC:"Therapist",LPC:"Therapist",PsyD:"Psychologist",PhD:"Psychologist",PMHNP:"Psychiatric NP",MD:"Psychiatrist",DO:"Psychiatrist"}},48921:function(e,t,n){n.d(t,{Ij:function(){return a},h8:function(){return o}});let r={TEST:"true"};function a(e){return!0===e||e===r.TEST}function o(e){return e?"treatment":"control"}},8457:function(e,t,n){n.d(t,{g:function(){return i}});var r=n(24195),a=n(2157),o=n(48921);function i(){let e=(0,r.pt)(a._.SHOW_PROVIDER_PROFILE_VIDEOS_V2),t=(0,r.lk)(a._.SHOW_PROVIDER_PROFILE_VIDEOS_V2);return{isLoadingProviderProfileVideos:e,showProviderProfileVideos:(0,o.Ij)(t)}}},77651:function(e,t,n){n.d(t,{Q:function(){return a}});var r=n(28904);let a=(e,t)=>{var n;if(!e||!t)return null;let a=null==e?void 0:null===(n=e.find(e=>e.clientBookingName===t))||void 0===n?void 0:n.avgCost,o=null==a?void 0:a.map(r.lg);return(null==o?void 0:o.length)>1?"".concat(o[0]).concat(a[1]?" - ".concat(o[1]):""):null}},61978:function(e,t,n){n.d(t,{Z:function(){return o},l:function(){return a}});var r=n(61233);function a(e,t){if(t&&!(0,r.s)(e))return;let[n]=e.split("?");return"https://growtherapy.com"+n}function o(e){return e.split("?")[0]}},3021:function(e,t,n){n.d(t,{Jn:function(){return c},pM:function(){return s}});var r=n(36764),a=n(46092),o=n(533);let i={Woman:"Female",Man:"Male","Asian / Asian American":"Asian","Black / African American":"Black","Hispanic / Latinx":"Latinx","Person of Color (POC)":"POC","Child or Adolescent":"Child/Adolescent","Obsessive-Compulsive (OCD)":"OCD","Trauma and PTSD":"Trauma/PTSD","Self-Harming":"Self-Harm"};function c(e){return e in i?i[e]:e}function s(e,t,n){var i;let{state:s,specialty:d,insurance:u,identity:[p],gender:[g]}=e,h="Cash"===u?void 0:c(u),m=t?(0,r.bq)(t,s):void 0,f=m?"".concat(m.name,", ").concat((0,o.Q)(s)):s,v=null!==(i=null==m?void 0:m.name)&&void 0!==i?i:s,y=m?"near":"in",[[w],[k]]=(0,a.l)(d),b=c(w),P=c(k),T=c(p||g),I=!!n&&parseInt(n)>1,L="",A="",x="";if(h&&P?(L="Licensed ".concat(h," Therapists for ").concat(P," ").concat(y," ").concat(f),A="".concat(h," Therapists for ").concat(P," ").concat(y," ").concat(v),x="Book instantly and see ".concat(l(h)," ").concat(P," Therapist ").concat(y," ").concat(f," within 2 days.")):h?(L="Find licensed ".concat(h," Therapists ").concat(y," ").concat(f),A="Find ".concat(h," Therapists ").concat(y," ").concat(v),x="Book instantly and see a vetted ".concat(h," Therapist ").concat(y," ").concat(f," within 2 days.")):b&&P?(L="Find ".concat(b," Therapists for ").concat(P," ").concat(y," ").concat(f),A="".concat(b," Therapists for ").concat(P," ").concat(y," ").concat(v),x="Book instantly and see ".concat(l(b)," ").concat(P," Therapist ").concat(y," ").concat(f," within 2 days. Accepting major insurances.")):b?(L="Find licensed, in-network ".concat(b," Therapists ").concat(y," ").concat(f),A="Find in-network ".concat(b," Therapists ").concat(y," ").concat(v),x="Book instantly and see a vetted ".concat(b," Therapist ").concat(y," ").concat(f," within 2 days. Accepting major insurances.")):T&&P?(L="Find ".concat(T," Therapists for ").concat(P," ").concat(y," ").concat(f),A="".concat(T," Therapists for ").concat(P," ").concat(y," ").concat(v),x="Book instantly and see ".concat(l(T)," ").concat(P," Therapist ").concat(y," ").concat(f," within 2 days.")):T?(L="Find ".concat(T,", in-network Therapists ").concat(y," ").concat(f),A="Find ".concat(T," Therapists ").concat(y," ").concat(v),x="Book instantly and see ".concat(l(T)," Therapist ").concat(y," ").concat(f," within 2 days. Accepting major insurances.")):P?(L="Find licensed, in-network ".concat(P," Therapists ").concat(y," ").concat(f),A="Find in-network ".concat(P," Therapists ").concat(y," ").concat(v),x="Book instantly and see a vetted ".concat(P," Therapist ").concat(y," ").concat(f," within 2 days. Accepting major insurances.")):(L="Find licensed, in-network Therapists ".concat(y," ").concat(f),A="Find in-network Therapists ".concat(y," ").concat(v),x="Find and instantly book a vetted licensed, in-network Therapist ".concat(y," ").concat(f,". Accepting major insurances.")),I){let e="Page ".concat(n," - Grow Therapy ").concat(f);L=e,A=e,x=""}return{title:L.length>60?A:L,description:x}}function l(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!e)return"";let n=new Set("aeiou"),r=new Set(["LGBTQ"]);return(n.has(e[0].toLowerCase())||r.has(e)?t?"an":"An":t?"a":"A")+" "+e}},46092:function(e,t,n){n.d(t,{l:function(){return r}});function r(e){return(null==e?void 0:e.length)?e.reduce((e,t)=>
1{let[n,r]=e;return"Couples Counseling"!==t&&"Child or Adolescent"!==t?[[...n,t],r]:[n,[...r,t].sort()]},[[],[]]):[[],[]]}},96836:function(e,t,n){n.d(t,{J:function(){return o}});var r=n(47625);let a=["specialty","identity","gender","insurance"];function o(e){return Object.keys((0,r.O)(e)).some(e=>a.includes(e))}},61233:function(e,t,n){n.d(t,{s:function(){return o}});let r=[...new Set(["utm","first_utm","growUniversalId","rankingAlgorithmVersion","exactMatch","informedRankingAllocation","providerProfilePreview","isSearchServiceEnabled","lambdaAllocationTestVersion","providerProfileRedesignVariant","multiImageHeroEnabled","contentfulHomepageContent","providerProfilePreviewVariant","aaRankingOldInfraTestGroup","aaRankingNewInfraTestManualGroup","aaRankingNewInfraTestGroup","aaEdgeSSRClientTestGroup","marketplacePrefillEnabled","directLandersV1Variant",...(0,n(89218).v_)()])],a=new RegExp("^(".concat(r.join("|"),")")),o=e=>{let[,t]=e.split("?");if(!t)return!0;for(let e of new URLSearchParams(t).keys())if(!a.test(e))return!1;return!0}},86824:function(e,t,n){n.d(t,{F:function(){return r}});let r=e=>e.startsWith("/provider/")},3337:function(e,t,n){n.d(t,{a:function(){return d}});var r=n(752),a=n(82876),o=n(2784),i=n(35552),c=n(41677),s=n(23142),l=n(92900);let d=()=>{let{config:e,isLoading:t}=(0,c.ZR)(i.T.PROVIDER_AI_DESCRIPTIONS),n=e.get(i.T.PROVIDER_AI_DESCRIPTIONS_KEY,[]),d=(0,r.b9)(s.D),u=(0,r.b9)(s.S),p=(0,a.usePathname)(),g=(0,l.RL)(p.split("/"));(0,o.useEffect)(()=>{let e=(0,l.eC)(n,g);return d(e),u(e?g:""),()=>{d(!1),u("")}},[d,g,u,n,t])}},92900:function(e,t,n){n.d(t,{RL:function(){return r},SQ:function(){return o},eC:function(){return a}}),n(35552);let r=e=>"/".concat(e.filter(e=>isNaN(Number(e))&&"therapists"!==e).join("/")),a=(e,t)=>{var n;return null!==(n=null==e?void 0:e.some(e=>e===t))&&void 0!==n&&n},o=(e,t)=>{var n;return t&&"srpDescription"in e&&(null==e?void 0:e.srpDescription)?e.srpDescription:null!==(n=e.description)&&void 0!==n?n:""}},39638:function(e,t,n){n.d(t,{m:function(){return o}});var r=n(752),a=n(81858);function o(){return(0,r.Dv)(a.q)}},77506:function(e,t,n){n.d(t,{Rx:function(){return d},V_:function(){return c},f8:function(){return s},rz:function(){return l}});var r=n(65058),a=n(1854),o=n(12442),i=n(16640);let c=(0,r.cn)(e=>{let t=e(o.Aq),n=e(i.I7);return e(i.wm)?Object.fromEntries(t.map(t=>[t.id,parseInt(e(a.R9))])):t.reduce((e,t,r)=>(e[t.id]=Math.floor(r/n)+1,e),{})});c.debugLabel="providerSearchProviderPages";let s=(0,r.cn)(e=>{let t=e(o.hj),n=e(i.I7);return t.reduce((e,t,r)=>(e[t.id]=Math.floor(r/n)+1,e),{})});s.debugLabel="providerSearchLowSupplyProviderPages";let l=(0,r.cn)(e=>{let t=e(o.Aq),n=e(o.kZ);return t.length<n});l.debugLabel="providerSearchHasNextPage";let d=(0,r.cn)(e=>{let t=e(o.hj),n=e(o._z);return t.length<n});d.debugLabel="providerSearchLowSupplyHasNextPage"},77106:function(e,t,n){n.d(t,{Q:function(){return s}});var r=n(56675),a=n(752),o=n(2784),i=n(82686),c=n(54247);function s(){let e=(0,r.x)(),t=(0,o.useRef)(null),n=(0,a.b9)(i.L2),s=(0,a.b9)(i.NC),l=(0,c.r)();return(0,o.useCallback)(async r=>{let{formTrigger:a,shouldRecordSearchImpression:o}=r;t.current&&t.current.abort(),t.current=new AbortController,await n({shouldRecordSearchImpression:o,signal:t.current.signal}),await s({apollo:e,signal:t.current.signal}),o&&a&&l({formTrigger:a})},[e,n,l])}},49315:function(e,t,n){n.d(t,{t:function(){return s}});var r=n(56675),a=n(752),o=n(2784),i=n(82686),c=n(54247);function s(){let e=(0,r.x)(),t=(0,o.useRef)(null),n=(0,a.b9)(i.M6),s=(0,a.b9)(i.NC),l=(0,c.r)();return(0,o.useCallback)(async r=>{let{formTrigger:a,shouldRecordSearchImpression:o}=r;t.current&&t.current.abort(),t.current=new AbortController,await n({shouldRecordSearchImpression:o,signal:t.current.signal}),await s({apollo:e,signal:t.current.signal}),o&&a&&l({formTrigger:a})},[e,n,l])}},93826:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(752),a=n(12442);function o(){return(0,r.Dv)(a.yA)}},92418:function(e,t,n){n.d(t,{P:function(){return l}});var r=n(752),a=n(3081),o=n(77506),i=n(16640),c=n(77106),s=n(49315);function l(){return{cursors:(0,r.Dv)(a.S2),cursorsLowSupply:(0,r.Dv)(a.aL),fetchNextLowSupplyPage:(0,c.Q)(),fetchNextPage:(0,s.t)(),hasNextLowSupplyPage:(0,r.Dv)(o.Rx),hasNextPage:(0,r.Dv)(o.rz),isLoadingMoreLowSupplyProviders:(0,r.Dv)(a.Yy),isLoadingMoreProviders:(0,r.Dv)(a.d8),remainingLowSupplyProvidersToFetch:(0,r.Dv)(i.ND),remainingProvidersToFetch:(0,r.Dv)(i.ld)}}}}]);
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.