"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8464],{3529:function(e,a,n){n.d(a,{D8:function(){return i},Uk:function(){return r},Xc:function(){return s},if:function(){return t}});let r={BENEFITS_HUB:"node--landing_page",EVENT:"node--event",EVENT_LISTING:"node--event_listing",HEALTH_SERVICES:"node--vet_center_facility_health_servi",PERSON_PROFILE:"node--person_profile",PRESS_RELEASE:"node--press_release",PRESS_RELEASE_LISTING:"node--press_releases_listing",RESOURCES_SUPPORT:"node--support_resources_detail_page",STORY:"node--news_story",STORY_LISTING:"node--story_listing",SUPPORT_SERVICES:"node--support_service",VAMC_FACILITY:"node--health_care_local_facility",VAMC_SYSTEM:"node--health_care_region_page",VET_CENTER:"node--vet_center",QA:"node--q_a"},s=[r.EVENT,r.EVENT_LISTING,r.RESOURCES_SUPPORT,r.PRESS_RELEASE,r.PRESS_RELEASE_LISTING,r.STORY,r.STORY_LISTING,r.VET_CENTER],i={ACCORDION_ITEM:"paragraph--basic_accordion",ALERT:"paragraph--alert",ALERT_NON_REUSABLE:"paragraph--non_reusable_alert",ALERT_SINGLE:"paragraph--alert_single",AUDIENCE_TOPICS:"paragraph--audience_topics",BUTTON:"paragraph--button",COLLAPSIBLE_PANEL:"paragraph--collapsible_panel",COLLAPSIBLE_PANEL_ITEM:"paragraph--collapsible_panel_item",CONTACT_INFORMATION:"paragraph--contact_information",EMAIL_CONTACT:"paragraph--email_contact",EXPANDABLE_TEXT:"paragraph--expandable_text",FEATURED_CONTENT:"paragraph--featured_content",LINK_TEASER:"paragraph--link_teaser",NUMBER_CALLOUT:"paragraph--number_callout",PHONE_CONTACT:"paragraph--phone_number",PROCESS_LIST:"paragraph--process",REACT_WIDGET:"paragraph--react_widget",RICH_TEXT_CHAR_LIMIT_1000:"paragraph--rich_text_char_limit_1000",STAFF_PROFILE:"paragraph--staff_profile",TABLE:"paragraph--table",WYSIWYG:"paragraph--wysiwyg",QA:"paragraph--q_a",QA_SECTION:"paragraph--q_a_section",QA_GROUP:"paragraph--q_a_group"},t={BASIC:"banner",FACILITY:"full_width_banner_alert",PROMO:"promo_banner"}},2573:function(e,a,n){n.d(a,{A:function(){return s},D:function(){return i}});var r=n(5893);let s=e=>{let{entityId:a}=e;return(0,r.jsx)("div",{className:"usa-grid-full",children:(0,r.jsx)("div",{className:"usa-width-one-whole",children:(0,r.jsx)("div",{className:"vads-u-margin-top--2",children:(0,r.jsx)("a",{"data-same-tab":"",href:"".concat("https://prod.cms.va.gov","/node/").concat(a,"/edit"),children:"\xab Edit this page in the CMS (requires a CMS account with appropriate permissions)"})})})})},i=e=>{let a,{resource:n}=e;return n.published?null:(a="archived"===n.moderationState?"an archived":"a draft",(0,r.jsx)("div",{className:"vads-u-background-color--primary-alt-lightest vads-u-padding--1",children:(0,r.jsxs)("div",{className:"vads-l-grid-container medium-screen:vads-u-padding-x--0",children:["You are viewing ",a," revision of ",null==n?void 0:n.entityPath,".",(0,r.jsx)("a",{"data-same-tab":"",href:"".concat("https://prod.cms.va.gov","/node/").concat(null==n?void 0:n.entityId,"/edit"),style:{display:"block"},children:"Edit this page in the CMS."})]})}))}},5819:function(e,a,n){var r=n(7294);a.Z=e=>{let{position:a,content:n}=e;return(0,r.useEffect)(()=>{let e=document.createComment(n);if("head"===a){let a=document.head.firstChild;a?document.head.insertBefore(e,a):document.head.appendChild(e)}else"footer"===a&&document.body.appendChild(e);return()=>{"head"===a?document.head.removeChild(e):"footer"===a&&document.body.removeChild(e)}},[a,n]),null}},2182:function(e,a,n){n.d(a,{i:function(){return N}});var r=n(5893),s=n(7294),i=n(424);let t=e=>{let{id:a,title:n,body:s,alertType:t,dismiss:o}=e;return(0,r.jsx)(i.Cm,{id:a,role:"region",showClose:!!o&&"perm",headline:n,type:t,visible:!!a,windowSession:o?"dismiss-session":null,children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})})},o=e=>{let{id:a,href:n,title:s,alertType:t}=e;return(0,r.jsx)(i.Wo,{id:a,role:"region",href:n,type:t,children:s})};var l=n(3147);let d=e=>{let{id:a,title:n,body:t,path:o,fieldAlertType:d,findFacilities:c,operatingStatus:u,inheritanceSubpages:h,bannerAlertVamcs:g,dismiss:m}=e,[p,v]=(0,s.useState)(!1),_=(0,s.useRef)(null);(0,s.useEffect)(()=>{function e(e){var a;(null===(a=_.current)||void 0===a?void 0:a.contains(e.target))&&v(!0)}return window.addEventListener("click",e),()=>window.removeEventListener("click",e)},[]);let f="information"===d?"info":d,x=t;if(c&&(x+='\n

\n Find other VA facilities near you\n

'),p){let e={};e={event:"nav-alert-box-link-click","alert-box-status":f,"alert-box-headline":n,"alert-box-headline-level":"3","alert-box-background-only":"false","alert-box-closeable":"false","alert-box-click-label":"$2"},(0,l.N)(e),v(!1)}return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(i.Cm,{id:a,role:"region",showClose:m,headline:n,type:f,visible:!0,windowSession:!0===m?"dismiss-session":null,children:(0,r.jsx)("div",{ref:_,dangerouslySetInnerHTML:{__html:x}})})})};var c=n(3529);let u=e=>{e.preventDefault();let a=document.getElementById("content"),n=a&&a.querySelector("h1");if(n){n.setAttribute("tabindex","-1"),n.focus();let e=n.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:e}),n.addEventListener("blur",()=>{n.removeAttribute("tabindex")},{once:!0})}};var h=n(2573),g=n(5819);let m=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("footer",{className:"footer",children:(0,r.jsx)("div",{id:"footerNav","data-testid":"footer","data-minimal-footer":"false"})}),(0,r.jsx)("div",{id:"logout-modal-root"}),(0,r.jsx)(g.Z,{position:"footer",content:"VA's mission: To fulfill President Lincoln's promise to care for those who have served in our nation's military and for their families, caregivers, and survivors."})]}),p=()=>(0,r.jsx)("div",{"aria-label":"Maintenance banner","data-widget-type":"maintenance-banner",role:"region"});var v=n(5675),_=n.n(v);let f=()=>(0,r.jsxs)("div",{id:"legacy-header",className:"vads-u-display--none",children:[(0,r.jsxs)("div",{className:"va-notice--banner",children:[(0,r.jsx)("div",{className:"va-notice--banner-inner",children:(0,r.jsx)("div",{className:"usa-banner",children:(0,r.jsxs)("div",{className:"usa-accordion",children:[(0,r.jsx)("div",{className:"usa-banner-header",children:(0,r.jsxs)("div",{className:"usa-grid usa-banner-inner",children:[(0,r.jsx)(_(),{src:"/img/tiny-usa-flag.png",alt:"U.S. flag",height:"20",width:"20"}),(0,r.jsx)("p",{children:"An official website of the United States government"}),(0,r.jsx)("button",{id:"usa-banner-toggle",className:"usa-accordion-button usa-banner-button","aria-expanded":"false","aria-controls":"gov-banner",children:(0,r.jsx)("span",{className:"usa-banner-button-text",children:"Here’s how you know"})})]})}),(0,r.jsxs)("div",{className:"usa-banner-content usa-grid usa-accordion-content",id:"gov-banner","aria-hidden":"true",children:[(0,r.jsxs)("div",{className:"usa-banner-guidance-gov usa-width-one-half",children:[(0,r.jsx)(_(),{className:"usa-banner-icon usa-media_block-img",src:"/img/icon-dot-gov.svg",alt:"Dot gov",height:"38",width:"38"}),(0,r.jsx)("div",{className:"usa-media_block-body",children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"The .gov means it’s official."}),(0,r.jsx)("br",{}),"Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you're on a federal government site."]})})]}),(0,r.jsxs)("div",{className:"usa-banner-guidance-ssl usa-width-one-half",children:[(0,r.jsx)(_(),{className:"usa-banner-icon usa-media_block-img",src:"/img/icon-https.svg",alt:"SSL",height:"38",width:"38"}),(0,r.jsx)("div",{className:"usa-media_block-body",children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"The site is secure."}),(0,r.jsx)("br",{})," The ",(0,r.jsx)("strong",{children:"https://"})," ensures that you're connecting to the official website and that any information you provide is encrypted and sent securely."]})})]})]})]})})}),(0,r.jsx)("div",{className:"va-crisis-line-container vads-u-background-color--secondary-darkest",children:(0,r.jsx)("button",{className:"va-crisis-line va-overlay-trigger vads-u-background-color--secondary-darkest","data-show":"#modal-crisisline",children:(0,r.jsxs)("div",{className:"va-crisis-line-inner",children:[(0,r.jsx)("span",{className:"va-crisis-line-icon","aria-hidden":"true"}),(0,r.jsxs)("span",{className:"va-crisis-line-text",children:["Talk to the ",(0,r.jsx)("strong",{children:"Veterans Crisis Line"})," now"]}),(0,r.jsx)(_(),{alt:"","aria-hidden":"true",className:"va-crisis-line-arrow",src:"/img/arrow-right-white.svg",height:"29",width:"13"})]})})})]}),(0,r.jsxs)("div",{className:"row va-flex usa-grid usa-grid-full",id:"va-header-logo-menu",children:[(0,r.jsx)("div",{className:"va-header-logo-wrapper",children:(0,r.jsx)("a",{href:"/",className:"va-header-logo",children:(0,r.jsx)(_(),{src:"/img/header-logo.png",alt:"VA logo and Seal, U.S. Department of Veterans Affairs",height:"59",width:"264"})})}),(0,r.jsxs)("div",{className:"medium-screen:vads-u-display--none usa-grid usa-grid-full",children:[(0,r.jsx)("div",{className:"menu-rule usa-one-whole"}),(0,r.jsx)("div",{className:"mega-menu",id:"mega-menu-mobile"})]}),(0,r.jsx)("div",{id:"login-root",className:"vet-toolbar"})]}),(0,r.jsxs)("div",{className:"usa-grid usa-grid-full",children:[(0,r.jsx)("div",{className:"menu-rule usa-one-whole"}),(0,r.jsx)("div",{className:"mega-menu",id:"mega-menu"})]})]}),x=()=>(0,r.jsxs)("header",{className:"header",role:"banner",children:[(0,r.jsx)("div",{"data-widget-type":"header","data-show":!0,"data-show-nav-login":!0,"data-show-mega-menu":!0,id:"header-v2"}),(0,r.jsx)(f,{}),(0,r.jsx)(p,{})]}),E=e=>{switch(null==e?void 0:e.type){case c.if.PROMO:return(0,r.jsx)(o,{...e},e.id);case c.if.FACILITY:return(0,r.jsx)(d,{...e},e.id);case c.if.BASIC:return(0,r.jsx)(t,{...e},e.id);default:return null}};function N(e){let{bannerData:a,headerFooterData:n,preview:i,resource:t,children:o}=e;(0,s.useEffect)(()=>{window.VetsGov={},window.VetsGov.headerFooter=n},[n]);let l=a.map(E);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("a",{href:"#content",onClick:u,className:"show-on-focus",children:"Skip to Content"}),i?(0,r.jsx)(h.D,{resource:t}):null,(0,r.jsx)(x,{}),l,o,(0,r.jsx)(m,{})]})}},3147:function(e,a,n){n.d(a,{N:function(){return s}});var r=n(2962);let s=e=>{(0,r.B)(e)}},5600:function(e,a,n){function r(e){let{src:a}=e;return a}n.r(a),n.d(a,{default:function(){return r}})}}]);