1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1157],{50685:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return eM},default:function(){return eI}});var i,o=t(39213),a=t(16835),l=t(27812),r=t(59499),d=t(87794),s=t.n(d),u=t(41120),c=t(91370),v=t(94184),m=t.n(v),g=t(70132),p=t(84960),f=t(9794),h=t(35332),b=t(83699),y=t(56169),C=t(87917),x=t(7381),P=t(34947),w=t(53045),O=t(18408),S=t(13619),j=t(47138),T=t(11496),D=t(35518),k=t(65402),F=t(97320),N=t(58394),L=t(2208),M=t(26167),I=t(46670),R=t(9008),B=t.n(R),A=t(11163),Z=t(67294),E=t(55974),W=t(46926),G=t(80478),H=t(78538),U=t(50797),_=t(34402),z=t(14110),V=t(76967),q=t(85586),$=t(86122),Y=t(65676),K=t(63296),X=t(53782),Q=t(62888),J=t(63987),ee=t(90276),en=t(53235),et=t(50217),ei=t(47953),eo=t(73016),ea=t(58078),el=t(50029),er=t(6812),ed=t(12259),es=t(71383),eu=t(75063),ec=t(77338),ev=(0,eu.Ps)(i||(i=(0,es.Z)(["\n query GetBrandDestinationCommunities(\n $findManyCommunitiesOptions: FindManyCommunitiesInput!\n $findStarredCommunitiesOptions: FindCommunitiesInput_Next!\n $reviewsInput: FindManyReviewsInput!\n ) {\n StarsCount: findOneDestinationStarCounts(input: $findStarredCommunitiesOptions) {\n fiveStarCount\n fourStarCount\n threeStarCount\n twoStarCount\n oneStarCount\n }\n\n Communities: findManyCommunities(input: $findManyCommunitiesOptions) {\n totalCount\n edges {\n node {\n reviewsV2(input: $reviewsInput) {\n totalCount\n edges {\n node {\n _id\n overallRating\n reviewContent\n createdAt\n }\n }\n }\n ...CommunityFragment\n }\n }\n }\n CommunitiesFence: getCommunityListingFence(fenceName: DestinationCommunityListing) {\n communityListing {\n convertPaginatedHeadingTagsToP\n ungatePricing\n seeCommunityDetails\n }\n }\n }\n ","\n"])),ec.l),em=t(14420),eg=t(73915),ep="brand-page";function ef(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function eh(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ef(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ef(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var eb=function(){var e=(0,A.useRouter)(),n=(0,Z.useRef)(!0);return(0,Z.useEffect)(function(){n.current=!1},[]),{handlePaginatedRoute:function(t){var i=new URL(window.location.href),o=i.searchParams.get(ep)?parseInt(i.searchParams.get(ep)||"0",10):null;1==t&&i.searchParams.delete(ep),!n.current&&(o||t>1)&&e.push({pathname:e.pathname,query:eh(eh({},e.query),{},(0,r.Z)({},ep,t))},t>1?void 0:i.toString(),{shallow:!0})}}};function ey(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function eC(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ey(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ey(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var ex=function(e){var n,t=e.findCommunitiesOptions,i=e.initialData,o=e.communitiesPerPage,a=e.topOfPageRef,r=e.keyAmenities,d=(0,Z.useRef)(null),u=(0,Z.useRef)(!1),c=(0,et.in)().pagination,v=eb().handlePaginatedRoute,m=(0,Z.useState)(i),g=m[0],p=m[1];(0,Z.useEffect)(function(){d.current=!0},[]);var f,h=eC({},t),b=eC(eC({},h),{},{maxDistance:c.maxDistance,skip:0,first:1,yglOrgId:void 0}),y=(0,ed.Qo)().currentUser,C=(0,er.aM)(ev,{skip:!u.current,variables:{reviewsInput:{first:1,overallRatingGte:4,sort:{overallRating:-1,createdAt:-1}},findManyCommunitiesOptions:eC(eC(eC({},h),c.reviewAdjectivesOptions.length>0&&{overallReviewAdjectives:(0,l.Z)(c.reviewAdjectivesOptions)}),{},{userId:null!==y?y.userId:""}),findStarredCommunitiesOptions:b}}),x=C.data,P=C.fetchMore,w=(f=(0,el.Z)(s().mark(function e(n){var i,d,v;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.after,d=n.before,v=n.pageNum,u.current=!0,
1c.setLoading(!0),e.next=5,Promise.all([new Promise(function(e){var n=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(null!=a&&a.current&&n.unobserve(null==a?void 0:a.current),e())})},{threshold:1});null!=a&&a.current&&(n.observe(null==a?void 0:a.current),null==a||a.current.scrollIntoView())}),P({variables:{findManyCommunitiesOptions:eC(eC(eC(eC(eC(eC({},h),{},{first:d?void 0:t.first,last:d?t.first:void 0,after:i,before:d,skip:(0,eg.s)(o,v)},c.filterOptions),c.sortOptions),c.careTypeId.length>0?{careTypesOr:c.careTypeId}:{}),c.reviewAdjectivesOptions.length>0&&{overallReviewAdjectives:(0,l.Z)(c.reviewAdjectivesOptions)}),null!==y&&void 0!==y.userId&&{userId:y.userId}),findStarredCommunitiesOptions:b}}).then(function(e){if(e.data&&!e.error){var n=e.data;c.setRatingsWithResults((0,Y.l)(n.StarsCount.oneStarCount||0,n.StarsCount.twoStarCount||0,n.StarsCount.threeStarCount||0,n.StarsCount.fourStarCount||0,n.StarsCount.fiveStarCount||0)),c.setTotalResults(n.Communities.totalCount||0);var t=(0,em.AW)(null==n?void 0:n.Communities,r);p(t)}else(0,Y.l)(0,0,0,0,0),c.setTotalResults(0);c.hasUpdated(),c.setLoading(!1)})]);case 5:case"end":return e.stop()}},e)})),function(e){return f.apply(this,arguments)});(0,Z.useEffect)(function(){c.dirty&&!c.loading&&d.current&&(w({pageNum:c.currentPage}),v(c.currentPage))},[c.dirty,d,c.loading]);var O=c.totalResults?Math.ceil(Math.abs(c.totalResults)/o):1,S=(0,eg.s)(o,c.currentPage),j=c.currentPage*o,T=c.currentPage<O?j:S+(c.totalResults-S);return{convertPaginatedHeadingTagsToP:null==x?void 0:null===(n=x.CommunitiesFence)||void 0===n?void 0:n.communityListing.convertPaginatedHeadingTagsToP,paginatedCommunities:x?eC(eC({},x),{},{Communities:g}):{Communities:i},handleFetchMore:w,paginationProps:{totalPages:O,start:S>1?S+1:1,end:T}}},eP=t(58661),ew=t(94410),eO=t(81877),eS=t(85194),ej=t(2265),eT=t(85893);function eD(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function ek(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?eD(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var eF=(0,I.Pi)(function(e){var n,t,i,o,d,s,u,v,F,I,R,Y,el,er,es,eu,ec,ev,em,eg,ep,ef,eh,ey,eC,ew,eD,eF,eN,eM,eI,eR,eB,eA,eZ,eE,eW,eG,eH,eU,e_,ez,eV,eq,e$,eY,eK,eX,eQ,eJ,e0=e.data,e1=e.zip,e2=e.query,e4=e.communitiesData,e5=e.errorStatusCode,e7=e.errorData,e8=e.orgData,e6=e.formattedData,e9=e.destinationName,e3=e.awardsKeyedContent,ne=e.isReviewScoreAbTestEnabled,nn=eL(),nt=(0,Z.useRef)(null),ni=(0,et.in)().pagination,no=ni.currentPage,na=ni.setPage,nl=(0,eS.z)({fenceName:(null==e0?void 0:null===(n=e0.Header)||void 0===n?void 0:n.name)||""}),nr=(0,eS.z)({fenceName:T.PD}
1);(0,Z.useEffect)(function(){if(!(0,Q.$o)("geographyLocationProvidedByUser")){var e=(0,ee.BW)(null==e2?void 0:e2.city),n=e&&nd?"".concat(e,", ").concat(nd):"";(0,Q.qQ)("geographyLocationRecord",n)}},[]);var nd=(0,V.getStateCodeByStateName)((0,ee.BW)(null==e2?void 0:e2.state)),ns=(null==e8?void 0:null===(t=e8.OneOrg)||void 0===t?void 0:t.name)||"",nu=(0,eP.l)({orgName:(null==e8?void 0:null===(i=e8.OneOrg)||void 0===i?void 0:i.name)||"",yglId:(null==e8?void 0:null===(o=e8.OneOrg)||void 0===o?void 0:o.yglId)||"",stateSlug:(null==e2?void 0:e2.state)||"",citySlug:(null==e2?void 0:e2.city)||""}),nc=(0,A.useRouter)(),nv=(0,$.P)(D.Iv,nc),nm=(0,Z.useMemo)(function(){return"prod"!==j.Wi||no>1||!!nv&&"1"!==nv},[no,nv]),ng=(0,Z.useMemo)(function(){return[nm?"noindex":void 0].filter(function(e){return void 0!==e}).join(",")},[no]),np=eb().handlePaginatedRoute,nf=(0,eO.V)().initStarredCommunities,nh=(0,ed.Qo)(),nb=nh.isLoginFeatureEnabled,ny=nh.currentUser;(0,Z.useEffect)(function(){nb&&null!==ny&&ny.userId&&nf(ny.userId)},[ny]);var nC=ek(ek({},{zipCode:null==e2?void 0:e2.zip,maxDistance:50,country:g.cC.US,isApfm:!0,skip:0,first:1}),{},{sort:(0,K.v)(ej.d),skip:(0,h.sm)(10,null==e2?void 0:e2.initialPage),first:10}),nx=ex({initialData:null==e4?void 0:e4.Communities,communitiesPerPage:10,topOfPageRef:nt,findCommunitiesOptions:ek({maxDistance:50,first:10,zipCode:null==e2?void 0:e2.zip,yglOrgId:null==e2?void 0:e2.yglOrgId,country:g.cC.US},nC),keyAmenities:(null==e0?void 0:null===(d=e0.keyAmenities)||void 0===d?void 0:d.keyAmenities)||[]}),nP=nx.paginatedCommunities,nw=nx.handleFetchMore,nO=nx.paginationProps,nS={brandName:ns,city:(0,ee.BW)(null==e2?void 0:e2.city),state:(0,ee.BW)(null==e2?void 0:e2.state),citySlug:null==e2?void 0:e2.city,stateSlug:null==e2?void 0:e2.state,brandNameSlug:"".concat((0,ee.lV)(null==e8?void 0:null===(s=e8.OneOrg)||void 0===s?void 0:s.name),"-").concat(null==e8?void 0:null===(u=e8.OneOrg)||void 0===u?void 0:u.yglId),stateCode:nd},nj=(0,Z.useMemo)(function(){var e,n,t,i;return{keywords:null==e0?void 0:null===(e=e0.seoMeta)||void 0===e?void 0:e.keywords.map(function(e){return{title:e}}),openGraphTags:[].concat((0,l.Z)((null==e0?void 0:null===(n=e0.seoMeta)||void 0===n?void 0:n.twitterMetaTags)||[]),(0,l.Z)((null==e0?void 0:null===(t=e0.seoMeta)||void 0===t?void 0:t.openGraphMetaTags)||[])).map(function(e){return{title:J.Z.render(e.content,nS),subtitle:e.property}}),canonicalTag:{title:J.Z.render((null==e0?void 0:null===(i=e0.seoMeta)||void 0===i?void 0:i.canonicalTag)||"",nS)}}},[e0]),nT=(0,N.Aj)(),nD=(0,a.Z)(nT,1)[0],nk=(0,Z.useState)(!1),nF=nk[0],nN=nk[1],nL=(0,Z.useState)(),nM=nL[0],nI=nL[1],nR=function(){nN(!1)},nB=(0,X.GL)(null==e0?void 0:null===(v=e0.DestinationPricingLeadForm)||void 0===v?void 0:null===(F=v.leadForm)||void 0===F?void 0:F.leadFormTitle),nA=function(){(0,q.b8)({eventName:q.ok.TrackPageView,eventValue:(0,q.Jw)(nB,"opened")}),nN(!0)},nZ=(0,L.dD)(),nE=(0,L.P7)(),nW=(0,M.D)(null==e0?void 0:null===(I=e0.Heading)||void 0===I?void 0:I.text,nS),nG=(0,M.D)(null==e0?void 0:null===(R=e0.Subheading)||void 0===R?void 0:R.text,nS),nH=(0,M.D)("View all {{ brandName }} communities",nS),nU=null==e0?void 0:null===(Y=e0.PricingFilterUngateCta)||void 0===Y?void 0:null===(el=Y.cta)||void 0===el?void 0:el.leadForm,n_=(null==e0?void 0:null===(er=e0.PricingFilterUngateCta)||void 0===er?void 0:er.cta.slug)||"",nz=null==e0?void 0:null===(es=e0.PricingFilterUngateCta)||void 0===es?void 0:es.cta,nV=(0,M.D)(null==nz?void 0:nz.heading,{totalResults:ni.totalResults}),nq=(0,M.D)(null==nz?void 0:nz.subheading,{totalResults:ni.totalResults}),n$=(0,M.D)(null==nz?void 0:nz.gatedText,{totalResults:ni.totalResults}),nY=nU&&(0,eT.jsx)(w.D,{loading:ni.loading,hide:(0,O.k)({hasCompletedLeadForm:nD,roomPricingStartingAtGte:ni.roomPricingStartingAtGte,roomPricingStartingAtLte:ni.roomPricingStartingAtLte,show:ni.showUnlockCta}),heading:nV,subheading:nq,show:ni.showUnlockCta,gatedText:n$,leadFormProps:{moduleId:T.cK,variant:"short-form-modal",slug:n_,leadFormProps:nU,mustacheTemplateProps:{communitySlug:(null==nM?void 0:nM.slug)||"",communityName:(null==nM?void 0:nM.name)||"",brandName:ns,destinationName:e9}}}),nK=(0,eT.jsx)(ea.d,{ctaPricingFilter:nY,thumbnail:null==e0?void 0:null===(eu=e0.Thumbnail)||void 0===eu?void 0:eu.image,isOnView:!0,destinationZip:e1,hasCompletedLeadForm:nD,pricingLeadForm:null==e0?void 0:e0.DestinationPricingLeadForm,topOfPageRef:nt,enableBrandLink:!1,inlineLeadForm:null==e0?void 0:e0.InlineLeadForm,channelName:null==e0?void 0:null===(ec=e0.Channel)||void 0===ec?void 0:ec.text,communityViewProps:null==e4?void 0:e4.CommunitiesFence,communities:null==nP?void 0:null===(ev=nP.Communities)||void 0===ev?void 0:ev.edges.map(function(e){var n;return ek(ek({},null==e?void 0:e.node),{},{awards:(null===(n=e.node.awards)||void 0===n?void 0:n.filter(function(e){var n;return(null==e?void 0:e.isCurrentYearWinner)&&!!(null!=e3&&null!==(n=e3.keyedContentGroup)&&void 0!==n&&n.find(function(n){return n.key===e.awardKeyName}))}))||[],contactText:"Contact an advisor",applyContactTextLayoutV2:!0})}),onOpenModal:nA,onSelectCommunity:nI,paginationProps:ek(ek({},nO),{},{totalCommunities:ni.totalResults,currentPage:no,onClick:function(e,n){}
1,onChange:function(e,n){np(n),na(n),nw({pageNum:n})}}),careTypeSlug:"",caretypes:null==e0?void 0:e0.careTypeGlobalList,awardsKeyedContent:e3,isDistanceEnabled:!!(null!=e0&&null!==(em=e0.isDistanceEnabled)&&void 0!==em&&em.value),isReviewScoreAbTestEnabled:ne});if(e5&&e7)return(0,eT.jsx)(eo.o,{errorData:e7,errorStatusCode:e5});var nX={currentYear:null==e0?void 0:null===(eg=e0.currentYearFence)||void 0===eg?void 0:eg.text},nQ={text:(null==e0?void 0:null===(ep=e0.titleReview)||void 0===ep?void 0:ep.text)||"",tag:(null==e0?void 0:null===(ef=e0.titleReview)||void 0===ef?void 0:ef.textHtmlTag)||"h2"},nJ={filterName:(0,M.D)(null==e0?void 0:null===(eh=e0.titleWinner)||void 0===eh?void 0:eh.text,nX),boxHeading:(0,M.D)(null==e0?void 0:null===(ey=e0.FilterWinnersHeading)||void 0===ey?void 0:ey.text,nX),boxDesc:(0,M.D)(null==e0?void 0:null===(eC=e0.DescWinners)||void 0===eC?void 0:eC.text,nX)},n0=(0,eT.jsx)(E.L,{hideDistance:!0,hideBestOfFilter:!0,showPricingText:!1,provider:ns,isProviders:!0,hasCostModule:!1,showCareTypeFilter:!0,mustacheTemplateProps:nX,hideAmenities:!0,filterReviewTitle:nQ,filterRatingsTitle:null==e0?void 0:null===(ew=e0.CommunitiesFence)||void 0===ew?void 0:null===(eD=ew.communityListing)||void 0===eD?void 0:eD.filterRatingsTitle,filterDistanceTitle:null==e0?void 0:null===(eF=e0.CommunitiesFence)||void 0===eF?void 0:null===(eN=eF.communityListing)||void 0===eN?void 0:eN.filterDistanceTitle,filterWinnerTitle:"Awards",winnersFilterData:nJ,awardsKeyedContent:e3,abTestReviewScoreContext:ne}),n1=(0,eT.jsx)(S.UIMobileFilterAndSortMenuControl,{filterCount:ni.filterCount,onClickFilter:function(){(0,W.cX)({moduleId:T.t9,buttonText:"Filter",componentTitle:"Filter"}),ni.setMenuToDisplay(ei.uA.Filter),ni.setMenuOpen(!0)},onClickSort:function(){(0,W.cX)({moduleId:T.t9,buttonText:"Sort",componentTitle:"Sort"}),ni.setMenuToDisplay(ei.uA.Sort),ni.setMenuOpen(!0)}}),n2=(0,eT.jsxs)("div",{className:nn.phoneNumberContainer,children:[(0,eT.jsx)(z.n,{variant:"body2",color:"almostBlack",noMargin:!0,className:nn.phoneNumberLabel,children:"For pricing & availability"}),(0,eT.jsx)("div",{className:nn.contactLink,children:(0,eT.jsx)(en.v,{localPhoneNumber:nr||(nZ?null==e0?void 0:null===(eM=e0.brandHeroMobilePhoneNumber)||void 0===eM?void 0:eM.text:null==e0?void 0:null===(eI=e0.brandHeroDesktopPhoneNumber)||void 0===eI?void 0:eI.text),moduleId:T.PD})})]}),n4=(0,Z.useMemo)(function(){var e,n,t,i,o,a=nl||(nZ?null==e0?void 0:null===(e=e0.navMobilePhoneNumber)||void 0===e?void 0:e.text:null==e0?void 0:null===(n=e0.navDesktopPhoneNumber)||void 0===n?void 0:n.text);if(null!=e0&&null!==(t=e0.phoneCTA)&&void 0!==t&&t.phoneCta)return ek(ek({},null==e0?void 0:null===(i=e0.phoneCTA)||void 0===i?void 0:i.phoneCta),{},{buttonLink:ek(ek({},null==e0?void 0:null===(o=e0.phoneCTA)||void 0===o?void 0:o.phoneCta.buttonLink),{},{url:"tel:".concat(a)})})},[nZ]);return(0,eT.jsxs)(eT.Fragment,{children:[(0,eT.jsxs)(y.G,{thirdPartySettingsFence:null==e0?void 0:e0.ThirdPartySettings,footer:null==e0?void 0:e0.Footer,layoutCallNumber:nl,header:ek(ek({},null==e0?void 0:e0.Header),{},{callNumber:nl||(nZ?null==e0?void 0:null===(eR=e0.navMobilePhoneNumber)||void 0===eR?void 0:eR.text:null==e0?void 0:null===(eB=e0.navDesktopPhoneNumber)||void 0===eB?void 0:eB.text)}),topBanner:null==e0?void 0:e0.TopBanner,phoneCTA:n4,lazyLoadGoogleMaps:!1,lazyHydrateFooter:!0,pageCallProps:{pageType:null==e0?void 0:null===(eA=e0.pageMeta)||void 0===eA?void 0:eA.pageType,distanceEnabled:!!(null!=e0&&null!==(eZ=e0.isDistanceEnabled)&&void 0!==eZ&&eZ.value)},children:[(null==e0?void 0:null===(eE=e0.Brand)||void 0===eE?void 0:null===(eW=eE.logo)||void 0===eW?void 0:eW.src)&&(0,eT.jsx)(B(),{children:(0,eT.jsx)("link",{rel:"preload",href:null==e0?void 0:null===(eG=e0.Brand)||void 0===eG?void 0:null===(eH=eG.logo)||void 0===eH?void 0:eH.src,as:"image"})}),(null==e0?void 0:e0.DestinationPricingLeadForm)&&(null==e0?void 0:e0.DestinationPricingLeadForm.leadForm)&&(null==e0?void 0:e0.DestinationPricingLeadForm.leadForm.leadFormTitle)&&(0,eT.jsx)(f.UIModal,{open:nF,onClose:nR,children:(0,eT.jsx)(k.aT,{slug:(0,X.GL)(nB),moduleId:T.en,children:(0,eT.jsx)(c.O,{children:(0,eT.jsx)(C.LeadForm,{channel2:null===(eU=e0.Channel)||void 0===eU?void 0:eU.text,variant:"short-form-modal",moduleId:T.en,slug:nB,onClose:nR,leadFormProps:e0.DestinationPricingLeadForm.leadForm,mustacheTemplateProps:{communitySlug:(null==nM?void 0:nM.slug)||"",communityName:(null==nM?void 0:nM.name)||"",brandName:ns,destinationName:e9}})})})}),(0,eT.jsx)(P.H,{item:{title:J.Z.render((null==e0?void 0:null===(e_=e0.seoMeta)||void 0===e_?void 0:e_.title)||"",nS),subtitle:J.Z.render((null==e0?void 0:null===(ez=e0.seoMeta)||void 0===ez?void 0:ez.description)||"",nS)},keywords:nj.keywords||[],openGraphTags:nj.openGraphTags||[],canonicalTag:(null==nj?void 0:nj.canonicalTag)||{},isIndexed:!0,robotsMeta:ng,alternativeTag:[]}),(0,eT.jsx)("div",{className:nn.heroWrapper,children:(0,eT.jsxs)(U.g,{children:[(0,eT.jsxs)(_.x,{lgOffset:1,lg:7,md:4,sm:4,children:[(0,eT.jsxs)("div",{className:nn.backgroundContainer,children:[(0,eT.jsx)("div",{className:nn.breadcrumbWrapper,children:(0,eT.jsx)(G.g,{linkList:nu})}),(0,eT.jsx)(z.n,{className:nn.title,variant:"titleHeading",color:"almostBlack",children:nW})]}),(0,eT.jsx)(x.Z,{className:nn.linkInternal,href:"/providers/".concat((0,ee.lV)(null==e8?void 0:null===(eV=e8.OneOrg)||void 0===eV?void 0:eV.name),"-").concat(null==e2?void 0:e2.yglOrgId),children:nH}),n2]}),!nZ&&(null==e0?void 0:null===(eq=e0.Brand)||void 0===eq?void 0:null===(e$=eq.logo)||void 0===e$?void 0:e$.src)&&(0,eT.jsx)(_.x,{lg:3,md:2,children:(0,eT.jsx)(H.c,{noLazyLoad:!0,className:nn.image,src:null==e0?void 0:null===(eY=e0.Brand)||void 0===eY?void 0:null===(eK=eY.logo)||void 0===eK?void 0:eK.src,altText:(null==e0?void 0:null===(eX=e0.Brand)||void 0===eX?void 0:null===(eQ=eX.logo)||void 0===eQ?void 0:eQ.altText)||""})})]})}),(0,eT.jsx)(U.g,{children:(0,eT.jsx)(_.x,{lg:10,children:(0,eT.jsx)(z.n,{className:nn.subHeading,component:"h2",variant:"h2",children:nG})})}),(0,eT.jsxs)(U.g,{className:nn.noMarginTabletDown,children:[nE&&n1&&(0,eT.jsx)("div",{className:m()(nn.filterAndSortMe
1nuControl,(0,r.Z)({},nn.addTopSpace,!nD)),children:n1}),!nE&&n0&&(0,eT.jsx)(_.x,{lg:3,md:2,sm:4,xs:4,children:(0,eT.jsx)("div",{className:nn.desktopSidebar,"data-au-id":"destination-sidebar-section",children:n0})}),n0&&(0,eT.jsx)("div",{className:nn.isTabletDown,"data-au-id":"filter-and-sort-menu-mobile",children:n0}),nK&&(0,eT.jsx)(_.x,{lg:9,lgOffset:3,md:6,sm:4,xs:4,className:nn.gridItemWidth,children:(0,eT.jsxs)("div",{className:nn.sideMargin,children:[nE&&(0,eT.jsxs)(z.n,{id:"top-of-community-list",variant:"body2",component:"div",color:"almostBlack",className:nn.paginationTitle,"data-au-id":"brand-page-communities-count",children:["Showing ",(0,eT.jsx)("strong",{children:ni.totalResults})," communities"]}),nK]})})]}),(0,eT.jsx)(p.P,{pageType:null==e0?void 0:null===(eJ=e0.pageMeta)||void 0===eJ?void 0:eJ.pageType})]}),(null==e6?void 0:e6.structuredData)&&(0,eT.jsx)(b.d,{json:null==e6?void 0:e6.structuredData.json})]})}),eN=Z.memo(function(e){var n,t,i,o,a,l,r,d,s,u,c,v,m,g,p,f,h=null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(t=n.currentYearFence)||void 0===t?void 0:t.text,b=null==e?void 0:null===(i=e.communitiesData)||void 0===i?void 0:i.StarsCount,y=[{year:h?"Winners ".concat(h):"2022 Winners"}],C=(0,Y.l)((null==b?void 0:b.oneStarCount)||0,(null==b?void 0:b.twoStarCount)||0,(null==b?void 0:b.threeStarCount)||0,(null==b?void 0:b.fourStarCount)||0,(null==b?void 0:b.fiveStarCount)||0);return(0,eT.jsx)(F.Se,{initialGeocodingData:null===(o=e.initialGeocoding)||void 0===o?void 0:o.geoLocationData,initialLocationValue:null===(a=e.initialGeocoding)||void 0===a?void 0:a.currentLocation,children:(0,eT.jsx)(et.ZY,{storeName:"brandDestinationPageCommunities",state:(null===(l=e.query)||void 0===l?void 0:l.state)||"",currentPage:(null===(r=e.query)||void 0===r?void 0:r.initialPage)||
11,totalResults:(null==e?void 0:null===(d=e.communitiesData)||void 0===d?void 0:null===(s=d.Communities)||void 0===s?void 0:s.totalCount)||0,sortBy:ej.d,maxDistance:50,winnerOfYears:y||[],ratingsWithResults:C||[],amenities:[],multipart:(null===(u=e.filtersFromUrl)||void 0===u?void 0:u.multipartFilters)||[],imageCountGte:null!==(c=e.filtersFromUrl)&&void 0!==c&&null!==(v=c.multipartFilters)&&void 0!==v&&v.includes(ew.p.PHOTOS)?5:0,floorPlanCountGte:null!==(m=e.filtersFromUrl)&&void 0!==m&&null!==(g=m.multipartFilters)&&void 0!==g&&g.includes(ew.p.FLOOR_PLANS)?1:0,videoCountGte:null!==(p=e.filtersFromUrl)&&void 0!==p&&null!==(f=p.multipartFilters)&&void 0!==f&&f.includes(ew.p.VIDEOS)?1:0,isBestOfSeniorLiving:!1,awards:[],children:(0,eT.jsx)(eF,ek({},e))})})}),eL=(0,u.Z)(function(e){var n,t,i,o,a,l,d={lg:24,md:24,sm:24,xs:16};return{backgroundContainer:ek(ek({},e.utils.gridBasedFullBleedStyles("lg",12,7,1,"padded",d)),{},(n={},(0,r.Z)(n,e.breakpoints.down("sm"),ek({},e.utils.gridBasedFullBleedStyles("md",6,4,0,"padded",d))),(0,r.Z)(n,e.breakpoints.down("xs"),ek({},e.utils.gridBasedFullBleedStyles("sm",4,4,0,"padded",d))),n)),image:(0,r.Z)({margin:e.spacing(3,2,0,2),height:"auto",maxWidth:"90%",maxHeight:140},e.breakpoints.down("sm"),{maxWidth:"100%",margin:e.spacing(3,0,0,0)}),heroWrapper:(t={width:"100%",borderBottom:"1px solid rgba(208, 208, 208, 1)",boxShadow:"0px 2px 4px 0px rgba(0, 0, 0, 0.1)",marginBottom:e.spacing(6)},(0,r.Z)(t,e.breakpoints.down("sm"),{marginBottom:e.spacing(4)}),(0,r.Z)(t,e.breakpoints.down("xs"),{marginBottom:e.spacing(2)}),t),title:(i={fontFamily:e.fonts.secondary,paddingBottom:e.spacing(2)},(0,r.Z)(i,e.breakpoints.down("sm"),{paddingBottom:e.spacing(2)}),(0,r.Z)(i,e.breakpoints.down("xs"),{paddingBottom:e.spacing(2)}),i),linkInternal:(o={fontFamily:e.fonts.primary,fontSize:"16px",fontStyle:"normal",fontWeight:700,lineHeight:"18px",letterSpacing:"0px",textAlign:"center",display:"flex",flexDirection:"row",alignItems:"center",marginBottom:e.spacing(2)},(0,r.Z)(o,e.breakpoints.down("sm"),{marginBottom:e.spacing(4)}),(0,r.Z)(o,e.breakpoints.down("xs"),{marginBottom:e.spacing(3)}),o),subHeading:{marginBottom:e.spacing(2)},breadcrumbWrapper:{position:"relative",zIndex:900},filterAndSortMenuControl:(a={top:-1,zIndex:100,gridArea:"auto / 1 / auto / 13"},(0,r.Z)(a,e.breakpoints.down("md"),{gridArea:"auto / 1 / auto / 7"}),(0,r.Z)(a,e.breakpoints.down("sm"),{gridArea:"auto / 1 / auto / 7"}),(0,r.Z)(a,e.breakpoints.down("xs"),{gridArea:"auto / 1 / auto / 5"}),a),isTabletDown:(0,r.Z)({display:"none"},e.breakpoints.down("sm"),{display:"block"}),paginationTitle:{marginTop:e.spacing(2),marginBottom:e.spacing(1.5),marginLeft:e.spacing(.5)},gridItemWidth:{width:"100%"},desktopSidebar:{top:e.spacing(3)},addTopSpace:(0,r.Z)({},e.breakpoints.only("sm"),{top:"64px"}),sideMargin:(l={},(0,r.Z)(l,e.breakpoints.down("sm"),{padding:e.spacing(0,3)}),(0,r.Z)(l,e.breakpoints.down("xs"),{padding:e.spacing(0,2)}),l),noMarginTabletDown:(0,r.Z)({margin:e.spacing(0,4)},e.breakpoints.down("sm"),{margin:0}),phoneNumberContainer:(0,r.Z)({display:"flex",alignItems:"center",marginBottom:e.spacing(6)},e.breakpoints.down("sm"),{marginBottom:e.spacing(1)}),contactLink:{display:"flex",marginLeft:e.spacing(1)},phoneNumberLabel:{fontSize:16,fontWeight:400}}}),eM=!0,eI=(0,o.CG)(eN)},2697:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/providers/[providerName]/[state]/[city]",function(){return t(50685)}])}},function(e){e.O(0,[9774,1195,1455,461,1216,8592,2888,179],function(){return e(e.s=2697)}),_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.