PageSourceSearch

https://www.seniorlivingathensonvillage.com/_next/static/immutable/chunks/0r0qyepraoxvs.js

js seniorlivingathensonvillage.com collected 2026-10-08 22:52:43 UTC 32,169 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,544103,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n="#203089",a={fontSize:0,lineHeight:0,letterSpacing:0,textCase:"none",colorMode:"none",dyslexiaFont:!1},s=[0,10,20,30,40],l=[0,1,2,3,4],i=[0,1,2,3,4],o=[{value:"none",label:"Default"},{value:"uppercase",label:"ABC"},{value:"lowercase",label:"abc"},{value:"capitalize",label:"Abc"}],c=[{value:"none",label:"Default"},{value:"light-contrast",label:"Light Contrast"},{value:"dark-contrast",label:"Dark Contrast"},{value:"monochrome",label:"Monochrome"},{value:"invert",label:"Invert Colors"}];function u({total:e,current:r}){return(0,t.jsx)("div",{className:"mt-1.5 flex items-center justify-center gap-1",children:Array.from({length:e},(e,n)=>(0,t.jsx)("span",{className:"block rounded-full transition-all",style:{width:n===r?8:5,height:n===r?8:5,backgroundColor:n===r?"#fff":"rgba(255,255,255,0.25)"}},n))})}function d({label:e,value:r,active:a,onClick:s,stepCount:l,stepIndex:i}){return(0,t.jsxs)("button",{type:"button",onClick:s,className:"flex h-full cursor-pointer flex-col items-center justify-center gap-1.5 rounded-xl px-3 py-5 text-center transition-all hover:scale-[1.03] active:scale-[0.97]",style:{backgroundColor:a?n:"rgba(255,255,255,0.07)",border:a?"1.5px solid rgba(255,255,255,0.3)":"1.5px solid rgba(255,255,255,0.08)"},children:[(0,t.jsx)("span",{className:"text-[11px] font-semibold leading-tight text-white",children:e}),(0,t.jsx)("span",{className:"text-xs font-bold leading-tight text-white",children:r}),null!=l&&null!=i&&(0,t.jsx)(u,{total:l,current:i})]})}e.s(["AccessibilityWidgetWrapper",0,function(){var e,u;let[h,f]=(0,r.useState)(!1),[x,m]=(0,r.useState)(a),g=(0,r.useRef)(null),p=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e;e=document.documentElement,0!==x.fontSize?e.style.fontSize=`${100+x.fontSize}%`:e.style.removeProperty("font-size"),0!==x.lineHeight?(e.style.setProperty("--a11y-line-height",`${1.5+.15*x.lineHeight}`),e.classList.add("a11y-line-height")):(e.style.removeProperty("--a11y-line-height"),e.classList.remove("a11y-line-height")),0!==x.letterSpacing?(e.style.setProperty("--a11y-letter-spacing",`${.5*x.letterSpacing}px`),e.classList.add("a11y-letter-spacing")):(e.style.removeProperty("--a11y-letter-spacing"),e.classList.remove("a11y-letter-spacing")),"none"!==x.textCase?(e.style.setProperty("--a11y-text-transform",x.textCase),e.classList.add("a11y-text-transform")):(e.style.removeProperty("--a11y-text-transform"),e.classList.remove("a11y-text-transform")),["light-contrast","dark-contrast","monochrome","invert"].forEach(t=>e.classList.remove(`a11y-${t}`)),"none"!==x.colorMode&&e.classList.add(`a11y-${x.colorMode}`),x.dyslexiaFont?e.classList.add("a11y-dyslexia-font"):e.classList.remove("a11y-dyslexia-font")},[x]),(0,r.useEffect)(()=>{function e(e){"Escape"===e.key&&h&&(f(!1),p.current?.focus())}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[h]),(0,r.useEffect)(()=>{if(h)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){g.current&&!g.current.contains(e.target)&&p.current&&!p.current.contains(e.target)&&f(!1)}},[h]);let b=(0,r.useCallback)((e,t)=>{m(r=>({...r,[e]:t}))},[]),y=(0,r.useCallback)(()=>{m(a)},[]);function v(e,t){let r=e.indexOf(t);return e[(r+1)%e.length]}function w(e,t){return e.indexOf(t)}function j(e){return 0===e?"Default":`+${e}`}let k=0===x.fontSize&&0===x.lineHeight&&0===x.letterSpacing&&"none"===x.textCase&&"none"===x.colorMode&&!x.dyslexiaFont;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",ref:p,onClick:()=>f(e=>!e),"aria-label":"Accessibility settings","aria-expanded":h,className:"fixed bottom-4 left-4 z-[9000] flex h-12 w-12 cursor-pointer items-center justify-center rounded-full border-2 border-white text-white shadow-lg transition-transform hover:scale-105",style:{backgroundColor:n},children:(0,t.jsxs)("svg",{viewBox:"0 0 512 512",fill:"currentColor",className:"h-6 w-6","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M256 112a
156 56 0 1156-56 56.06 56.06 0 01-56 56z"}),(0,t.jsx)("path",{d:"M432 112.8l-.45.12-.42.13c-1 .28-2 .58-3 .89-18.61 5.46-108.93 30.92-172.56 30.92-59.13 0-141.28-22-167.56-29.47a73.79 73.79 0 00-8-2.58c-19-5-32 14.3-32 31.94 0 17.47 15.7 25.79 31.55 31.76v.28l95.22 29.74c9.73 3.73 12.33 7.54 13.6 10.84 4.13 10.59.83 31.56-.34 38.88l-5.8 45-32.19 176.19q-.15.72-.27 1.47l-.23 1.27c-2.32 16.15 9.54 31.82 32 31.82 19.6 0 28.25-13.53 32-31.94s28-157.57 42-157.57 42.84 157.57 42.84 157.57c3.75 18.41 12.4 31.94 32 31.94 22.52 0 34.38-15.74 32-31.94a57.17 57.17 0 00-.76-4.06L329 301.27l-5.79-45c-4.19-26.21-.82-34.87.32-36.9a1.09 1.09 0 00.08-.15c1.08-2 6-6.48 17.48-10.79l89.28-31.21a16.9 16.9 0 001.62-.52c16-6 32-14.3 32-31.93S451 107.81 432 112.8z"})]})}),h&&(0,t.jsxs)("div",{ref:g,role:"dialog","aria-label":"Accessibility settings",className:"fixed bottom-4 left-4 z-[9001] w-[calc(100%-2rem)] max-w-[420px] overflow-hidden rounded-xl shadow-2xl sm:w-[400px]",style:{fontFamily:"'Roboto', system-ui, sans-serif"},children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-6 py-5",style:{backgroundColor:n},children:[(0,t.jsx)("h3",{className:"m-0 text-base font-semibold text-white",children:"Accessibility Settings"}),(0,t.jsx)("button",{type:"button",onClick:()=>f(!1),className:"flex h-7 w-7 cursor-pointer items-center justify-center rounded-full bg-white/20 text-white transition-colors hover:bg-white/30","aria-label":"Close accessibility settings",children:(0,t.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",className:"h-3.5 w-3.5",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 8.707l3.646 3.647.708-.707L8.707 8l3.647-3.646-.707-.708L8 7.293 4.354 3.646l-.707.708L7.293 8l-3.646 3.646.707.708L8 8.707z"})})})]}),(0,t.jsxs)("div",{className:"max-h-[520px] overflow-y-auto bg-[#202020] px-5 py-5",children:[(0,t.jsxs)("div",{className:"grid auto-rows-fr grid-cols-3 gap-3",children:[(0,t.jsx)(d,{label:"Font Size",value:0===(e=x.fontSize)?"Default":`+${e}%`,active:0!==x.fontSize,stepCount:s.length,stepIndex:w(s,x.fontSize),onClick:()=>b("fontSize",v(s,x.fontSize))}),(0,t.jsx)(d,{label:"Line Height",value:j(x.lineHeight),active:0!==x.lineHeight,stepCount:l.length,stepIndex:w(l,x.lineHeight),onClick:()=>b("lineHeight",v(l,x.lineHeight))}),(0,t.jsx)(d,{label:"Letter Spacing",value:j(x.letterSpacing),active:0!==x.letterSpacing,stepCount:i.length,stepIndex:w(i,x.letterSpacing),onClick:()=>b("letterSpacing",v(i,x.letterSpacing))}),(0,t.jsx)(d,{label:"Text Case",value:o.find(e=>e.value===x.textCase).label,active:"none"!==x.textCase,stepCount:o.length,stepIndex:(u=x.textCase,o.findIndex(e=>e.value===u)),onClick:()=>{var e;let t;return b("textCase",(e=x.textCase,t=o.findIndex(t=>t.value===e),o[(t+1)%o.length].value))}}),(0,t.jsx)(d,{label:"Dyslexia Font",value:x.dyslexiaFont?"On":"Off",active:x.dyslexiaFont,stepCount:2,stepIndex:+!!x.dyslexiaFont,onClick:()=>b("dyslexiaFont",!x.dyslexiaFont)})]}),(0,t.jsx)("p",{className:"mb-2 mt-4 text-[11px] font-semibold uppercase tracking-wider text-white/50",children:"Color Mode"}),(0,t.jsx)("div",{className:"grid auto-rows-fr grid-cols-3 gap-3",children:c.map(e=>(0,t.jsx)(d,{label:e.label,value:x.colorMode===e.value?"Active":"",active:x.colorMode===e.value,onClick:()=>b("colorMode",e.value)},e.value))})]}),(0,t.jsxs)("div",{className:"px-6 py-4",style:{backgroundColor:n},children:[(0,t.jsx)("button",{type:"button",onClick:y,disabled:k,className:"w-full cursor-pointer rounded-full bg-black/30 px-3 py-1.5 text-xs font-medium text-white transition-colors hover:bg-black/40 disabled:cursor-default disabled:opacity-40",children:"Reset Settings"}),(0,t.jsx)("p",{className:"mt-1.5 text-center text-[10px] tracking-wide text-white/80",children:"Powered by FortressOS"})]})]})]})}])},474572,e=>{"use strict";var t=e.i(843476),r=e.i(855362),n=e.i(271645);let a=new Set(["portal.fortresstech.io","www.portal.fortresstech.io"]);function s(e,t){let r;try{r=new URL(e)}catch{return null}if(!a.has(r.hostname)||r.pathname.endsWith("/register"))return null;let n=t.split("/").filter(Boolean).length||1,s=r.pathname.split("/").filter(
1Boolean).slice(n);return{suffix:s.length>0?"/"+s.join("/"):""}}let l=(e,t)=>"phase"===e?t.trim().toLowerCase():t.trim().toUpperCase();function i(e,t){let r=e.match(/^(\d+)(.*)$/),n=t.match(/^(\d+)(.*)$/),a=r?Number(r[1]):1/0,s=n?Number(n[1]):1/0;if(a!==s)return a-s;let l=r?r[2]:e,i=n?n[2]:t;return l.localeCompare(i)}e.s(["BuildingNumberModal",0,function({buildingPortals:e,primaryUuid:a,primaryBuildingNumbers:o,primaryPortalPhase:c,matchMode:u="building",darkLogo:d,buttonBgColor:h,buttonTextColor:f,propertySlug:x}){let m,g,[p,b]=(0,n.useState)(!1),[y,v]=(0,n.useState)(""),[w,j]=(0,n.useState)(""),k=(0,n.useRef)(""),C=(0,n.useRef)(null),N=(0,n.useMemo)(()=>{let t=new Map;if("phase"===u)for(let r of(c&&""!==c.trim()&&t.set(l("phase",c),a),e))"phase"in r&&""!==r.phase.trim()&&t.set(l("phase",r.phase),r.uuid);else{for(let e of o??[])t.set(l("building",String(e)),a);for(let r of e)if("numbers"in r)for(let e of r.numbers)t.set(l("building",String(e)),r.uuid)}return t},[u,a,o,c,e]),S=(0,n.useMemo)(()=>{let t=[];if("phase"===u)for(let r of(c&&""!==c.trim()&&t.push(c.trim()),e))"phase"in r&&""!==r.phase.trim()&&t.push(r.phase.trim());else{let r=[];for(let e of o??[])r.push(l("building",String(e)));for(let t of e)if("numbers"in t)for(let e of t.numbers)r.push(l("building",String(e)));for(let e of(r.sort(i),r))t.push(e)}return t},[u,o,c,e]),L=(0,n.useCallback)(e=>N.get(l(u,e))??null,[N,u]),E="phase"===u?`fortress-phase-${x}`:`fortress-building-${x}`,$=(0,n.useCallback)((e,t)=>{let r=`https://www.portal.fortresstech.io/${e}${t}`;window.open(r,"_blank","noopener,noreferrer")},[]);(0,n.useEffect)(()=>{if(0!==e.length)return document.addEventListener("click",t,!0),document.addEventListener("auxclick",t,!0),()=>{document.removeEventListener("click",t,!0),document.removeEventListener("auxclick",t,!0)};function t(e){let t=e.target.closest?.("a[href]");if(!t)return;let r=s(t.href,a);if(!r)return;e.preventDefault(),e.stopPropagation(),k.current=r.suffix;let n=null;try{n=sessionStorage.getItem(E)}catch{}if(n){let e=L(n);if(e)return void $(e,k.current);try{sessionStorage.removeItem(E)}catch{}}b(!0),v(""),j("")}},[e,a,E,L,$]),(0,n.useEffect)(()=>{p&&C.current&&setTimeout(()=>C.current?.focus(),100)},[p]),(0,n.useEffect)(()=>{if(p)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){"Escape"===e.key&&b(!1)}},[p]);let z=(g=(m=S.join(", ")||"none configured").length>80?m.slice(0,77)+"…":m,"phase"===u?`Please enter a valid phase (${g})`:`Please enter a valid building ID (${g})`);function M(){let e=y.trim();if(""===e)return void j(z);let t=L(e);if(!t)return void j(z);try{sessionStorage.setItem(E,e)}catch{}$(t,k.current),b(!1)}return 0!==e.length&&p?(0,t.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center",onClick:()=>b(!1),children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,t.jsxs)("div",{className:"relative mx-4 w-full max-w-md rounded-2xl bg-white p-8 shadow-2xl",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex items-start justify-between mb-8",children:[d?.url?(0,t.jsx)(r.OptimizedImg,{src:d.url,alt:"",className:"h-10 max-w-[160px] object-contain"}):(0,t.jsx)("div",{}),(0,t.jsx)("button",{type:"button",onClick:()=>b(!1),className:"shrink-0 rounded-full p-1 text-gray-400 hover:text-gray-600 transition-colors","aria-label":"Close",children:(0,t.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,t.jsx)("h2",{className:"text-center text-2xl font-semibold text-gray-900 mb-6",children:"phase"===u?(0,t.jsxs)(t.Fragment,{children:["What Phase is Your",(0,t.jsx)("br",{}),"Building In?"]}):(0,t.jsxs)(t.Fragment,{children:["What is your",(0,t.jsx)("br",{}),"Building Number?"]})}),(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("input",{ref:C,type:"text",maxLength:20,value:y,"aria-label":"phase"===u?"Building phase":"Building number",onChange:e=>{v(e.target.value),j("")},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),M())},placeholder:"phase"===u?S.join(", ")||"Phase":S[0]??"Building",className:"block w-full rounded-xl border border-gray-200 bg-gray-50 px-4 py-4 text-center text-2xl text-gray-900 placeholder:text-gray-300 focus:border-gray-400 focus:outline-none focus:ring-1 focus:ring-gray-400 [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"}),w&&(0,t.jsx)("p",{className:"mt-2 text-center text-sm text-red-600",children:w})]}),(0,t.jsx)("button",{type:"button",onClick:M,className:"block w-full rounded-xl px-6 py-4 text-center text-lg font-semibold transition-opacity hover:opacity-90",style:{backgroundColor:h||"#1e1b4b",color:f||"#ffffff"},children:"Continue →"})]})]}):null},"parsePortalLink",0,s])},88438,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(194983),a=e.i(37727),s=e.i(444113),l=e.i(824511),i=e.i(962607),o=e.i(88653),c=e.i(282024),u=e.i(381812),d=e.i(572455);let h=new Set(["template-bedrock"]);e.s(["ChatBotWidget",0,function({property:e}){let[f,x]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),p=(0,u.useBasePath)(e),b=!h.has(e.templateKey),y=e.buttonBgColor?.trim()||"#2563eb",v=e.buttonTextColor?.trim()||"#ffffff";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.LazyMotion,{features:i.domAnimation,children:(0,t.jsxs)("div",{className:"fixed bottom-6 right-6 z-[90] flex flex-col items-end gap-4",children:[(0,t.jsx)(o.AnimatePresence,{children:f&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l.m.div,{initial:{opacity:0,y:10,scale:.95}
1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},className:"relative rounded-2xl border border-gray-100 bg-white px-5 py-4 text-sm leading-relaxed text-gray-700 shadow-xl max-w-[280px]",children:["Hi there! Thanks for checking out ",e.name,"! What can I help you with today?",(0,t.jsx)("div",{className:"absolute -bottom-2 right-6 h-4 w-4 rotate-45 border-b border-r border-gray-100 bg-white"})]},"bubble"),(0,t.jsxs)(l.m.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.05},className:"flex flex-col items-end gap-3",children:[b&&(0,t.jsx)("button",{type:"button",onClick:()=>{x(!1),g(!0)},"data-track":"schedule_tour",className:"cursor-pointer whitespace-nowrap rounded-full border border-gray-200 bg-white px-5 py-2.5 text-base font-semibold text-gray-700 shadow-sm transition-colors hover:bg-gray-50",children:"Schedule a Tour"}),(0,t.jsx)("a",{href:`${p}/contact`,"data-track":"contact_click",className:"whitespace-nowrap rounded-full border border-gray-200 bg-white px-5 py-2.5 text-base font-semibold text-gray-700 shadow-sm transition-colors hover:bg-gray-50",children:"Contact Us"}),!1!==e.showApplyNow&&(0,c.getApplyNowUrl)(e.saasPropertyCode)&&(0,t.jsx)("a",{href:(0,c.getApplyNowUrl)(e.saasPropertyCode),target:"_blank",rel:"noopener noreferrer","data-track":"apply_now",className:"whitespace-nowrap rounded-full border border-gray-200 bg-white px-5 py-2.5 text-base font-semibold text-gray-700 shadow-sm transition-colors hover:bg-gray-50",children:"Apply Now"})]},"pills")]})}),(0,t.jsx)("button",{type:"button",onClick:()=>x(e=>!e),"aria-label":f?"Close chat":"Open chat",className:"flex h-14 w-14 cursor-pointer items-center justify-center rounded-full shadow-lg transition-[filter] hover:brightness-[0.85]",style:{backgroundColor:y,color:v},children:f?(0,t.jsx)(a.X,{size:22}):(0,t.jsx)(n.MessageCircle,{size:26})})]})}),m&&(0,t.jsx)(d.ScheduleTourModal,{propertyName:e.name,portfolioSlug:e.portfolio?.slug||"",propertySlug:e.slug,logoDarkUrl:e.logoDark?.url,onClose:()=>g(!1)})]})}])},38978,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(522016),a=e.i(381812),s=e.i(145447);let l="fortress-cookie-consent";function i(){try{return!localStorage.getItem(l)}catch{return!0}}e.s(["CookieConsentBanner",0,function({property:e}){let o=(0,s.useIsClient)(),[c,u]=(0,r.useState)(i),d=(0,a.useBasePath)(e);function h(e){try{localStorage.setItem(l,e)}catch{}u(!1)}return o&&c?(0,t.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-[9997] bg-white border-t border-gray-200 shadow-[0_-4px_20px_rgba(0,0,0,0.1)]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1400px] px-4 sm:px-6 py-4 sm:py-5 flex flex-col sm:flex-row items-start sm:items-center gap-4",children:[(0,t.jsxs)("p",{className:"flex-1 text-sm text-gray-600 leading-relaxed",children:["We use cookies on this site to enhance your browsing experience, analyze site traffic, and personalize content. By clicking “Accept” you consent to our use of cookies. Read our"," ",(0,t.jsx)(n.default,{href:`${d}/privacy-policy`,className:"text-[#203089] underline hover:text-[#203089]/80 transition-colors",children:"Privacy Policy"})," ","to learn more."]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[(0,t.jsx)("button",{type:"button",onClick:()=>h("denied"),className:"cursor-pointer px-5 py-2.5 text-sm font-medium text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors",children:"Deny"}),(0,t.jsx)("button",{type:"button",onClick:()=>h("accepted"),className:"cursor-pointer px-5 py-2.5 text-sm font-medium text-white bg-[#203089] rounded-lg hover:bg-[#203089]/90 transition-colors",children:"Accept"})]})]})}):null}])},977833,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(657688);function a({bgImage:e,heading:r,text:s,buttonText:l,buttonUrl:i,textAlign:o,headingSize:c,buttonColor:u,onButtonClick:d}){let h,f=l&&i,x=r||s||f,m=c?`${c}px`:"28px",g=u||"#ffffff",p=(299*parseInt((h=g.replace("#","")).substring(0,2),16)+587*parseInt(h.substring(2,4),16)+114*parseInt(h.substring(4,6),16))/1e3>128?"#000000":"#ffffff";return(0,t.jsxs)("div",{className:"relative",children:[e?.url?(0,t.jsxs)("div",{className:"relative aspect-[3/4] w-full",children:[(0,t.jsx)(n.default,{src:e.url,alt:e.alternativeText||"",fill:!0,className:"object-cover",sizes:"450px"}),x&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black/40"})]}):(0,t.jsx)("div",{className:"aspect-[3/4] w-full bg-gradient-to-br from-gray-800 to-gray-900"}),x&&(0,t.jsxs)("div",{className:`pointer-events-none absolute inset-0 flex flex-col justify-center ${"center"===o?"items-center":"right"===o?"items-end":"items-start"} p-8 text-white ${"center"===o?"text-center":"right"===o?"text-right":"text-left"}`,children:[r&&(0,t.jsx)("h2",{className:"font-bold leading-tight mb-2",style:{fontSize:m},children:r}),s&&(0,t.jsx)("p",{className:"text-sm leading-relaxed text-white/90 mb-4",children:s}),f&&(0,t.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.stopPropagation(),d?.()},"data-track":"popup_cta",className:"pointer-events-auto relative z-[2] inline-block rounded-full px-6 py-3 text-center text-sm font-semibold shadow-lg transition-transform hover:scale-[1.02]",style:{backgroundColor:g,color:p},children:l})]})]})}e.s(["PopupModal",0,function({enabled:e,heading:n,text:s,buttonText:l,buttonUrl:i,linkUrl:o,bgImage:c,delaySeconds:u=3,startDate:d,endDate:h,textAlign:f,headingSize:x,buttonColor:m,propertyId:g}){let[p,b]=(0,r.useState)(!1),[y,v]=(0,r.useState)(!1),w=g?`fortress-popup-dismissed-${g}`:null,j=(0,r.useCallback)(()=>
1{if(v(!1),w)try{sessionStorage.setItem(w,"1")}catch{}},[w]);if((0,r.useEffect)(()=>{if(!e)return;if(w)try{if(sessionStorage.getItem(w))return}catch{}let t=new Date;if(d&&new Date(d)>t||h&&new Date(h)<t)return;let r=setTimeout(()=>{b(!0),requestAnimationFrame(()=>v(!0))},(u??3)*1e3);return()=>clearTimeout(r)},[e,u,d,h,w]),(0,r.useEffect)(()=>{if(p)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){"Escape"===e.key&&j()}},[p,j]),(0,r.useEffect)(()=>{if(e)return window.addEventListener("fortress:open-modal",t),()=>window.removeEventListener("fortress:open-modal",t);function t(e){let t=e.detail;t?.modal==="property-popup"&&(b(!0),requestAnimationFrame(()=>v(!0)))}},[e]),(0,r.useEffect)(()=>{if(p&&!y){let e=setTimeout(()=>b(!1),300);return()=>clearTimeout(e)}},[p,y]),!p)return null;let k=l&&i;return(0,t.jsxs)("div",{className:`fixed inset-0 z-[9999] flex items-center justify-center p-4 transition-opacity duration-300 ${y?"opacity-100":"opacity-0"}`,onClick:e=>{e.target===e.currentTarget&&j()},role:"dialog","aria-modal":"true","aria-label":n||"Popup",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60"}),(0,t.jsxs)("div",{className:`relative max-w-[450px] w-[calc(100vw-2rem)] max-h-[600px] rounded-2xl overflow-hidden shadow-2xl transition-all duration-300 ${y?"scale-100 translate-y-0":"scale-95 translate-y-3"}`,children:[(0,t.jsx)("button",{type:"button",onClick:j,className:"absolute top-3 right-3 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-black/50 text-white transition-colors hover:bg-black/70 cursor-pointer","aria-label":"Close popup",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),(0,t.jsx)(a,{bgImage:c,heading:n,text:s,buttonText:k?l:null,buttonUrl:k?i:null,textAlign:f,headingSize:x,buttonColor:m,onButtonClick:j}),o&&(0,t.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:j,"aria-label":n||"Open link",className:"absolute inset-0 z-[1]"})]})]})}])},639040,e=>{"use strict";var t=e.i(843476),r=e.i(855362),n=e.i(271645),a=e.i(381812);function s(e,t,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r)||e<1900||t<1||t>12||r<1||r>31)return!1;let n=new Date(e,t-1,r);return n.getFullYear()===e&&n.getMonth()===t-1&&n.getDate()===r}function l(e,t,r,n=new Date){return s(e,t,r)&&new Date(e,t-1,r)<=n}function i(){return window.location.origin}function o(e){try{return new URL(e,`${i()}/`)}catch{return null}}function c(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let u="flex min-h-11 flex-1 items-center justify-center px-5 py-3 text-sm font-semibold transition",d={backgroundColor:"var(--site-btn-bg, var(--site-primary, #111827))",color:"var(--site-btn-text, #ffffff)",borderRadius:"var(--site-btn-radius, 8px)"},h={borderColor:"var(--site-btn-bg, var(--site-text, #d1d5db))",color:"var(--site-btn-bg, var(--site-text, #374151))",borderRadius:"var(--site-btn-radius, 8px)"},f=["January","February","March","April","May","June","July","August","September","October","November","December"];function x({ref:e,name:r,ariaLabel:n,placeholder:a,autoComplete:s,maxLength:l,width:i,value:o,onChange:c,invalid:u,hasError:d,onEnter:h}){return(0,t.jsx)("input",{ref:e,id:`senior-age-gate-${r}`,name:r,type:"text",inputMode:"numeric",autoComplete:s,maxLength:l,value:o,onChange:e=>c(e.target.value.replace(/\D/g,"").slice(0,l)),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),h())},placeholder:a,"aria-label":n,"aria-invalid":u||void 0,"aria-describedby":d?"senior-age-gate-error":void 0,className:`${i} min-h-11 bg-transparent px-3 text-center text-base text-gray-900 placeholder:text-gray-600 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-300 ${"year"===r?"rounded-r-lg":""}`})}e.s(["SeniorAgeGateModal",0,function({property:e}){let m=!0===e.seniorAgeGateEnabled,g=e.applyUrl??null,p=(0,a.useBasePath)(e),[b,y]=(0,n.use
1State)(!1),[v,w]=(0,n.useState)(!1),[j,k]=(0,n.useState)("form"),[C,N]=(0,n.useState)(""),[S,L]=(0,n.useState)(""),[E,$]=(0,n.useState)(""),[z,M]=(0,n.useState)(null),[B,D]=(0,n.useState)(null),[P,A]=(0,n.useState)(`${p}/contact`),I=(0,n.useRef)(null),T=(0,n.useRef)(null),F=(0,n.useRef)(null),R=(0,n.useRef)(null),_=(0,n.useRef)(null),[W,O]=(0,n.useState)({href:"",target:"",rel:""}),H=(0,n.useCallback)(()=>{w(!1),_.current?.focus()},[]);function U(e,t){M(e),D(t);let r="month"===t?T:"day"===t?F:R;r.current?.focus()}function K(){if(""===C)return U("Select a month.","month");if(""===S)return U("Enter a day.","day");if(4!==E.length)return U("Enter a 4-digit year.","year");let e=Number(C),t=Number(S),r=Number(E);if(!s(r,e,t))return U("That date doesn't exist.","day");if(!l(r,e,t))return U("Birthdate can't be in the future.","year");M(null),D(null);let n=function(e,t,r,n=new Date){return l(e,t,r,n)&&function(e,t,r,n=new Date){let a=n.getMonth()+1,s=a>t||a===t&&n.getDate()>=r;return n.getFullYear()-e-!s}(e,t,r,n)>=55}(r,e,t);k(n?"eligible":"ineligible"),window.dispatchEvent(new CustomEvent("fortress-track",{detail:{label:n?"age_gate_eligible":"age_gate_ineligible"}}))}return((0,n.useEffect)(()=>{if(b&&!v){let e=setTimeout(()=>y(!1),300);return()=>clearTimeout(e)}},[b,v]),(0,n.useEffect)(()=>{if(m)return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0);function e(e){if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey)return;let t=e.target?.closest?.("a[href]");t&&function(e,t){let r=o(e);if(!r||"http:"!==r.protocol&&"https:"!==r.protocol)return!1;let n=c(r.pathname);if(n.endsWith("/register")&&r.origin!==i())return!0;if(!t)return!1;let a=o(t);return!!a&&r.origin===a.origin&&n===c(a.pathname)}(t.href,g)&&(e.preventDefault(),O({href:t.href,target:t.target||"_blank",rel:t.rel||"noopener noreferrer"}),_.current=t,A(document.getElementById("contact")?"#contact":`${p}/contact`),k("form"),N(""),L(""),$(""),M(null),D(null),y(!0),requestAnimationFrame(()=>w(!0)))}},[m,g,p]),(0,n.useEffect)(()=>{if(!v)return;let e=setTimeout(()=>T.current?.focus(),50);return()=>clearTimeout(e)},[v]),(0,n.useEffect)(()=>{if(b)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){if("Escape"===e.key)return void H();if("Tab"!==e.key||!I.current)return;let t=I.current.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), summary, [tabindex]:not([tabindex="-1"])');if(0===t.length)return;let r=t[0],n=t[t.length-1],a=document.activeElement;e.shiftKey&&a===r?(e.preventDefault(),n.focus()):(e.shiftKey||a!==n)&&I.current.contains(a)||(e.preventDefault(),r.focus())}},[b,H]),m&&b)?(0,t.jsxs)("div",{className:`fixed inset-0 z-[9999] flex items-center justify-center p-4 transition-opacity duration-300 ${v?"opacity-100":"opacity-0"}`,onClick:e=>{e.target===e.currentTarget&&H()},children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60"}),(0,t.jsxs)("div",{ref:I,role:"dialog","aria-modal":"true","aria-labelledby":"senior-age-gate-heading",className:`relative w-full max-w-md rounded-2xl bg-white p-6 text-left shadow-2xl transition-all duration-300 sm:p-8 ${v?"scale-100 translate-y-0":"scale-95 translate-y-3"}`,children:[(0,t.jsx)("h2",{id:"senior-age-gate-heading",className:"pr-8 text-xl font-semibold text-gray-900",children:"form"===j?"This community is 55+":"eligible"===j?"Age requirement met":"You can't apply online"}),(0,t.jsx)("button",{type:"button",onClick:H,"aria-label":"Close",className:"absolute right-3 top-3 flex h-11 w-11 items-center justify-center rounded-full text-gray-400 transition-colors hover:text-gray-700",children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),"form"===j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mt-2 text-sm leading-relaxed text-gray-600",children:["At least one person living in the home must be ",55," or older."]}
1),(0,t.jsxs)("fieldset",{className:"mt-5",children:[(0,t.jsx)("legend",{className:"text-sm font-medium text-gray-900",children:"Birthdate of the oldest person moving in"}),(0,t.jsxs)("div",{className:`mt-2 flex items-stretch divide-x rounded-lg border bg-white ${B?"divide-red-200 border-red-500":"divide-gray-200 border-gray-300"}`,children:[(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsxs)("select",{ref:T,id:"senior-age-gate-month",autoComplete:"bday-month",value:C,onChange:e=>N(e.target.value),"aria-label":"Birth month","aria-invalid":"month"===B||void 0,"aria-describedby":B?"senior-age-gate-error":void 0,className:`min-h-11 w-full appearance-none rounded-l-lg bg-transparent pl-3 pr-9 text-base focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-300 ${""===C?"text-gray-600":"text-gray-900"}`,children:[(0,t.jsx)("option",{value:"",children:"Month"}),f.map((e,r)=>(0,t.jsx)("option",{value:String(r+1),children:e},e))]}),(0,t.jsx)("svg",{className:"pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 9l6 6 6-6"})})]}),(0,t.jsx)(x,{ref:F,name:"day",ariaLabel:"Birth day",placeholder:"Day",autoComplete:"bday-day",maxLength:2,width:"w-20",value:S,onChange:L,invalid:"day"===B,hasError:null!==B,onEnter:K}),(0,t.jsx)(x,{ref:R,name:"year",ariaLabel:"Birth year",placeholder:"Year",autoComplete:"bday-year",maxLength:4,width:"w-24",value:E,onChange:$,invalid:"year"===B,hasError:null!==B,onEnter:K})]}),(0,t.jsx)("p",{id:"senior-age-gate-error",role:"alert",className:`mt-2 text-sm text-red-600 ${z?"":"hidden"}`,children:z})]}),(0,t.jsxs)("details",{className:"mt-4 text-xs text-gray-500",children:[(0,t.jsx)("summary",{className:"min-h-11 cursor-pointer list-none py-3 font-medium text-gray-600 underline decoration-gray-300 underline-offset-2 hover:text-gray-900",children:"Why do we ask?"}),(0,t.jsx)("p",{className:"pb-1 leading-relaxed",children:"Federal senior housing rules require a resident of qualifying age. This is a first check only. The property confirms eligibility during the application."})]}),(0,t.jsxs)("p",{className:"mt-3 flex items-center gap-1.5 text-xs text-gray-500",children:[(0,t.jsx)("svg",{className:"h-3.5 w-3.5 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),"Never stored or shared."]}),(0,t.jsxs)("div",{className:"mt-5 flex flex-col gap-2 sm:flex-row-reverse",children:[(0,t.jsx)("button",{type:"button",onClick:K,className:`btn-cta ${u} hover:brightness-90`,style:d,children:"Check eligibility"}),(0,t.jsx)("button",{type:"button",onClick:H,className:`${u} border hover:bg-black/5`,style:h,children:"Cancel"})]})]}):(0,t.jsx)("div",{"aria-live":"polite",children:"eligible"===j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-gray-600",children:"The property confirms eligibility during the application."}),(0,t.jsx)("a",{href:W.href,target:W.target,rel:W.rel,onClick:H,"data-track":"age_gate_continue",className:`btn-cta mt-6 ${u} hover:brightness-90`,style:d,children:"Continue to application"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mt-2 text-sm leading-relaxed text-gray-600",children:["The birthdate entered is under ",55,". Contact the property to discuss your situation."]}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col gap-2 sm:flex-row-reverse",children:[(0,t.jsx)("a",{href:P,onClick:H,"data-track":"age_gate_contact",className:`btn-cta ${u} hover:brightness-90`,style:d,children:"Contact the property"}),(0,t.jsx)("button",{type:"button",onClick:()=>{k("form"),M(null),D(null)},className:`${u} border hover:bg-black/5`,style:h,children:"Change date"})]})]})}),(0,t.jsxs)("div",{className:"mt-5 text-center text-[9px] leading-tight text-gray-400",children:["Powered by",(0,t.jsx)("br",{}),(0,t.jsx)(r.OptimizedImg,{src:"/fortress-os-logo.webp",alt:"Fortress OS",className:"mx-auto mt-0.5 h-2.5 w-auto"})]})]})]}):null}],639040)}]);

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.