PageSourceSearch

https://www.sahealth.com/_next/static/chunks/521-752f0d1d7f80e28e.js

js sahealth.com collected 2026-09-25 18:52:59 UTC 615,504 bytes, 57 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[521],{7953:function(e,l,t){"use strict";t.d(l,{Z:function(){return I}});var n=t(2322),i=t(2784),a=t(489),o=t(6620),r=t(7309);let s=i.createContext({sdkInstance:null,setSdkInstance:()=>{},consentState:{gpcEnabled:!1},setConsentState:()=>{}}),d=({children:e})=>{let[l,t]=i.useState(null),[a,o]=i.useState({});i.useEffect(()=>{let e=!1;if("u">typeof navigator){let l=navigator;"boolean"==typeof l.globalPrivacyControl&&(e=l.globalPrivacyControl)}o(l=>({...l,gpcEnabled:e}))},[]);let r=i.useCallback(({category:e,gpcEnabled:l})=>{let t=e&&Object.keys(e).reduce((l,t)=>(l[t]="granted"===e[t],l),{});o(e=>({...e,...t,gpcEnabled:l??e.gpcEnabled}))},[]),d=i.useMemo(()=>({sdkInstance:l,setSdkInstance:t,consentState:a,setConsentState:r}),[a,r,l]);return(0,n.jsx)(s.Provider,{value:d,children:e})};var c=t(7729),u=t(4210),m=t(6076);let v="https://cdn-prod.securiti.ai",p=`${v}/consent/cookie-consent-sdk-loader-strict-csp.js`,f="c2a0cde4-f9d5-4dd6-ba6d-3afc6437e4bc",h="hca-cookie-consent-script",x="text/javascript",g="https://app.securiti.ai",y=`${v}/consent/auto_blocking/${f}`,j=()=>{let{sitecoreContext:{cookieConsentID:e,language:l}}=(0,m.u)(),t=(0,u.u)(),[a,o]=i.useState(!1),{sdkInstance:r,setSdkInstance:d,setConsentState:v}=i.useContext(s),j=i.useRef(l);return i.useEffect(()=>{t||a||typeof window>"u"||(window.SecuritiDataLayer=window.SecuritiDataLayer||[],window.SecuritiDataLayer.push(["beforeLoad",e=>{e.setLanguage("es-US"===l?"es":"en")}],["onLoad",e=>{var l;d(e);let t=null==(l=e.getConsent)?void 0:l.call(e);t&&v(t)}],["onGpcDetected",()=>{v({gpcEnabled:!0})}],["onConsentGiven",(e,l)=>{v(l)}]),o(!0))},[a,t,l,d,v]),i.useEffect(()=>{var e,t;r&&j.current!==l&&(null==(e=r.closeBanner)||e.call(r),null==(t=r.changeLanguage)||t.call(r,"es-US"===l?"es":"en"),j.current=l)},[l,r]),e&&a?(0,n.jsxs)(c,{children:[(0,n.jsx)("script",{id:h,defer:!0,src:p,"data-strict-csp":!0,"data-skip-css":!1,"data-tenant-uuid":f,"data-domain-uuid":e,"data-backend-url":g,async:!0}),(0,n.jsx)("script",{type:x,src:`${y}/${e}.js`,async:!0})]}):null};var N=t(6202),b=t(5847);let w="invoca-script",L=()=>{let{consentState:e}=i.useContext(s);return i.useEffect(()=>{"u">typeof window&&"u">typeof window.Invoca&&(!e["Analytics & Customization"]||e.gpcEnabled)&&window.location.reload()},[e]),!e.gpcEnabled&&e["Analytics & Customization"]&&(0,n.jsx)(b,{id:w,children:`(function(i,n,v,o,c,a) { i.InvocaTagId = o; var s = n.createElement('script'); s.type = 'text/javascript';
2        s.async = true; s.src = ('https:' === n.location.protocol ? 'https://' : 'http://' ) + v;
3        var fs = n.getElementsByTagName('script')[0]; fs.parentNode.insertBefore(s, fs);
4        })(window, document, 'solutions.invocacdn.com/js/invoca-latest.min.js', '2875/0661140719');`})};var C=t(5225),S=t(639),k=t(8511),M=t(3840),D=t.n(M),T=e=>{let{skipToId:l,route:t}=e,{t:i}=(0,S.QT)();return"HIPAA Form"===t.templateName?null:(0,n.jsx)(k.M,{className:(0,a.Z)(D().skipToContentButton,"position-absolute top-0 left-0 py-1 ms-2 d-none d-lg-inline-block neu-text-caption neu-link link-plain"),field:{href:"#".concat(l),text:i("Accessibility.SkipToContentLabel")}})},I=e=>{var l,t,i;let{layoutData:s}=e,{route:c}=s.sitecore,u=(null===(l=s.sitecore.context.theme)||void 0===l?void 0:l.id)||"",m=(null===(i=s.sitecore.context.theme)||void 0===i?void 0:null===(t=i.entityBrandingOverrides)||void 0===t?void 0:t.mainButtons)||"main-70",v=s.sitecore.context.pageEditing||!1,p=(0,a.Z)({"editing-mode":v,"prod-mode":!v},"buttons-".concat(m),"buttons-hover-gray-10"),{isSticky:f,mobileMenuOpen:h}=(0,N.u)(),{ref:x}=(0,C.a)(h),{ref:g}=(0,C.a)(h);return(0,n.jsxs)(d,{children:[(0,n.jsx)(j,{}),(0,n.jsx)(L,{}),c&&(0,n.jsx)(r.V,{name:"head",rendering:c}),(0,n.jsx)(T,{route:c,skipToId:"maincontent"}),(0,n.jsx)("div",{className:p,"data-theme":u.toUpperCase().replace(/-/g,""),children:(0,n.jsxs)(o.e5,{header:f?"sticky":"relative",className:(0,a.Z)("overflow-x-hidden"),children:[c&&(0,n.jsx)(r.V,{name:"header",rendering:c}),(0,n.jsx)("div",{ref:x,id:"maincontent",children:(0,n.jsx)(o.e5.Content,{className:(0,a.Z)("d-block",{"d-none d-md-block overflow-hidden":h}),children:c&&(0,n.jsx)(r.V,{name:"body",rendering:c})})}),(0,n.jsx)("div",{ref:g,children:(0,n.jsx)(o.e5.Footer,{className:(0,a.Z)("d-block",{"d-none d-md-block overflow-hidden":h}),children:c&&(0,n.jsx)(r.V,{name:"footer",rendering:c})})})]})})]})}},5081:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2322),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2784),next_head__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(7729),next_head__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_2__),next_script__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5847),next_script__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(next_script__WEBPACK_IMPORTED_MODULE_3__);let MetaElements=param=>{let{fields}=param;if(!fields||!fields.elements||0===fields.elements.length)return null;let{scripts,other}=fields.elements.reduce((e,l)=>("script"===l.tag?e.scripts.push(l):e.other.push(l),e),{scripts:[],other:[]});return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(next_head__WEBPACK_IMPORTED_MODULE_2___default(),{children:other.map(e=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(e.tag,{...e.attributes},e.id))}),scripts.map((script,index)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(next_script__WEBPACK_IMPORTED_MODULE_3___default(),{id:script.id+index,src:script.attributes.src,strategy:script.attributes.strategy,onLoad:()=>{script.attributes.onLoad&&eval(script.attributes.onLoad)}},script.id+index))]})};__webpack_exports__.default=MetaElements},1914:function(e,l,t){"use strict";let n,i,a,o,r,s,d,c,u;t.d(l,{w9:function(){return hD}});var m,v,p,f,h,x,g,y,j,N,b,w,L,C,S,k,M,D,T,I,E,A,_,F,P,O,z,R,B,U,H,Z,Q,Y,$,q,W,V,G,J,K,X,ee,el,et,en,ei,ea,eo,er,es,ed,ec,eu,em,ev,ep,ef,eh,ex,eg,ey,ej,eN,eb,ew,eL,eC,eS,ek,eM,eD,eT,eI,eE,eA,e_,eF,eP,eO,ez,eR,eB,eU,eH,eZ,eQ,eY,e$,eq,eW,eV,eG,eJ={};t.r(eJ),t.d(eJ,{default:function(){return sC}});var eK={};t.r(eK),t.d(eK,{default:function(){return sI}});var eX={};t.r(eX),t.d(eX,{default:function(){return sF}});var e0={};t.r(e0),t.d(e0,{default:function(){return sP}});var e1={};t.r(e1),t.d(e1,{default:function(){return sO}});var e4={};t.r(e4),t.d(e4,{default:function(){return sB}});var e3={};t.r(e3),t.d(e3,{default:function(){return sK}});var e5={};t.r(e5),t.d(e5,{default:function(){return s5}});var e2={};t.r(e2),t.d(e2,{default:function(){return ds}});var e6={};t.r(e6),t.d(e6,{default:function(){return dx}});var e9={};t.r(e9),t.d(e9,{default:function(){return dM}});var e8={};t.r(e8),t.d(e8,{default:function(){return dQ}});var e7={};t.r(e7),t.d(e7,{default:function(){return dq}});var le={};t.r(le),t.d(le,{CampaignPageTitleBanner:function(){return dW},default:function(){return dV}});var ll={};t.r(ll),t.d(ll,{default:function(){return d2}});var lt={};t.r(lt),t.d(lt,{default:function(){return cr}});var ln={};t.r(ln),t.d(ln,{default:function(){return cU}
4});var li={};t.r(li),t.d(li,{default:function(){return c$}});var la={};t.r(la),t.d(la,{default:function(){return cX}});var lo={};t.r(lo),t.d(lo,{ContentHighlightListingBlock:function(){return c4},default:function(){return c3}});var lr={};t.r(lr),t.d(lr,{default:function(){return c6}});var ls={};t.r(ls),t.d(ls,{default:function(){return c7}});var ld={};t.r(ld),t.d(ld,{ContentWithLinkButtons:function(){return ui},default:function(){return ua}});var lc={};t.r(lc),t.d(lc,{ContentWithLinkList:function(){return ur},default:function(){return us}});var lu={};t.r(lu),t.d(lu,{default:function(){return uu}});var lm={};t.r(lm),t.d(lm,{default:function(){return uC}});var lv={};t.r(lv),t.d(lv,{default:function(){return uT}});var lp={};t.r(lp),t.d(lp,{default:function(){return uF}});var lf={};t.r(lf),t.d(lf,{default:function(){return uR}});var lh={};t.r(lh),t.d(lh,{default:function(){return uV}});var lx={};t.r(lx),t.d(lx,{default:function(){return uX}});var lg={};t.r(lg),t.d(lg,{default:function(){return u3}});var ly={};t.r(ly),t.d(ly,{default:function(){return u5}});var lj={};t.r(lj),t.d(lj,{default:function(){return u6}});var lN={};t.r(lN),t.d(lN,{default:function(){return me}});var lb={};t.r(lb),t.d(lb,{default:function(){return mt}});var lw={};t.r(lw),t.d(lw,{default:function(){return mn}});var lL={};t.r(lL),t.d(lL,{default:function(){return ma}});var lC={};t.r(lC),t.d(lC,{default:function(){return ms}});var lS={};t.r(lS),t.d(lS,{default:function(){return mx}});var lk={};t.r(lk),t.d(lk,{default:function(){return mL}});var lM={};t.r(lM),t.d(lM,{default:function(){return mR}});var lD={};t.r(lD),t.d(lD,{default:function(){return mU}});var lT={};t.r(lT),t.d(lT,{default:function(){return m0}});var lI={};t.r(lI),t.d(lI,{default:function(){return m4}});var lE={};t.r(lE),t.d(lE,{default:function(){return m2}});var lA={};t.r(lA),t.d(lA,{default:function(){return vn}});var l_={};t.r(l_),t.d(l_,{default:function(){return vd}});var lF={};t.r(lF),t.d(lF,{default:function(){return vu}});var lP={};t.r(lP),t.d(lP,{default:function(){return vf}});var lO={};t.r(lO),t.d(lO,{default:function(){return vx}});var lz={};t.r(lz),t.d(lz,{default:function(){return vG}});var lR={};t.r(lR),t.d(lR,{default:function(){return vK}});var lB={};t.r(lB),t.d(lB,{default:function(){return v1}});var lU={};t.r(lU),t.d(lU,{default:function(){return v5}});var lH={};t.r(lH),t.d(lH,{default:function(){return v6}});var lZ={};t.r(lZ),t.d(lZ,{default:function(){return pe}});var lQ={};t.r(lQ),t.d(lQ,{default:function(){return pr}});var lY={};t.r(lY),t.d(lY,{default:function(){return pm}});var l$={};t.r(l$),t.d(l$,{default:function(){return pf}});var lq={};t.r(lq),t.d(lq,{default:function(){return pg}});var lW={};t.r(lW),t.d(lW,{default:function(){return pb}});var lV={};t.r(lV),t.d(lV,{default:function(){return pT}});var lG={};t.r(lG),t.d(lG,{default:function(){return pI}});var lJ={};t.r(lJ),t.d(lJ,{default:function(){return pP}});var lK={};t.r(lK),t.d(lK,{default:function(){return pO}});var lX={};t.r(lX),t.d(lX,{default:function(){return pQ}});var l0={};t.r(l0),t.d(l0,{default:function(){return pV}});var l1={};t.r(l1),t.d(l1,{default:function(){return p2}});var l4={};t.r(l4),t.d(l4,{default:function(){return p6}});var l3={};t.r(l3),t.d(l3,{default:function(){return p9}});var l5={};t.r(l5),t.d(l5,{default:function(){return fe}});var l2={};t.r(l2),t.d(l2,{default:function(){return fl}});var l6={};t.r(l6),t.d(l6,{default:function(){return ft}});var l9={};t.r(l9),t.d(l9,{default:function(){return fa}});var l8={};t.r(l8),t.d(l8,{default:function(){return fo}});var l7={};t.r(l7),t.d(l7,{default:function(){return fr}});var te={};t.r(te),t.d(te,{default:function(){return fv}});var tl={};t.r(tl),t.d(tl,{default:function(){return fh}});var tt={};t.r(tt),t.d(tt,{default:function(){return fb}});var tn={};t.r(tn),t.d(tn,{default:function(){return fk}});var ti={};t.r(ti),t.d(ti,{default:function(){return fD}});var ta={};t.r(ta),t.d(ta,{default:function(){return fI}});var to={};t.r(to),t.d(to,{default:function(){return fQ}});var tr={};t.r(tr),t.d(tr,{default:function(){return fY}});var ts={};t.r(ts),t.d(ts,{default:function(){return f$}});var td={};t.r(td),t.d(td,{default:function(){return fq}});var tc={};t.r(tc),t.d(tc,{default:function(){return fV}});var tu={};t.r(tu),t.d(tu,{default:function(){return fK}});var tm={};t.r(tm),t.d(tm,{default:function(){return f1}});var tv={};t.r(tv),t.d(tv,{default:function(){return he}});var tp={};t.r(tp),t.d(tp,{default:function(){return hl}});var tf={};t.r(tf),t.d(tf,{default:function(){return hr}});var th={};t.r(th),t.d(th,{default:function(){return hu}});var tx={};t.r(tx),t.d(tx,{default:function(){return hx}});var tg={};t.r(tg),t.d(tg,{default:function(){return hj}});var ty={};t.r(ty),t.d(ty,{default:function(){return hb}});var tj={};t.r(tj),t.d(tj,{default:function(){return hC}});var tN={};t.r(tN),t.d(tN,{default:function(){return hk}});var tb=t(813),tw=t(2322),tL=t(6076),tC=t(3391);let tS=({className:e,type:l="horizontal",size:t="1x",margin:n="4",color:i="gray-10"})=>{let a=(0,tC.c)(["vertical"===l&&`h-100 border-left mx-${n}`,"horizontal"===l&&`w-100 border-top my-${n}`,"1x"===t&&"border-1","2x"===t&&"border-2","3x"===t&&"border-3","4x"===t&&"border-4",`border-neu-${i}`,e]);return(0,tw.jsx)("div",{className:a})};var tk=t(2784),tM=t(3124);let tD=(0,tk.forwardRef)(function(e,l){let{encode:t=!1,...n}=e;return(0,tw.jsx)(tM.x,{ref:l,encode:!!t,...n})});
4var tT=t(4210),tI=t(8511),tE=t(6620);let tA=e=>{let l=(0,tT.u)(),{href:t,field:n,children:i,as:a,...o}=e,r=n&&"value"in n?n.value:n,s=null==r?void 0:r.text,d=(0,tI.i)({href:t,field:n}),[c,u]=tk.useState(null==r?void 0:r.class);return tk.useEffect(()=>{u(null==r?void 0:r.class)},[null==r?void 0:r.class]),l||d?(0,tw.jsx)(tI.M,{...o,field:n,className:(0,tC.c)("neu-button",`kind-${(null==e?void 0:e.kind)??"primary"}`,`color-${(null==e?void 0:e.color)??"main"}`,`size-${(null==e?void 0:e.size)??"default"}`,e.className)}):(0,tw.jsx)(tE.Yu,{...o,field:n,as:tI.M,role:"link",className:(0,tC.c)(o.className,c),children:i||s})},t_=({className:e="",name:l})=>(0,tw.jsx)("span",{className:(0,tC.c)(`customicon-${l}`,e),"aria-hidden":"true"}),tF="cdp",tP={alerts:{clicked:`${tF}-alerts--clicked`,viewed:`${tF}-alerts--viewed`},header:{globalNav:`${tF}-global-nav`,globalNavCta:`${tF}-global-navcta`,localNav:`${tF}-local-nav`,localNavCta:`${tF}-local-navcta`,utilNav:`${tF}-util-nav`}};var tO=t(5077);let tz=({field:e,linkClassName:l,logoClassName:t,logoLinkUrl:n=""})=>{let{header:i}=tP,a=n||"/";return(0,tw.jsx)(tI.M,{className:`${i.utilNav} ${l} link-plain`,href:a,children:(0,tw.jsx)(tO.E,{className:t,field:e,editable:!1,loading:"eager"})})};var tR=t(557),tB=t(639);let tU=(0,tk.forwardRef)(({children:e,className:l,...t},n)=>(0,tw.jsx)("button",{ref:n,className:(0,tC.c)("neu-link overflow-hidden px-0",l),...t,children:e}));tU.displayName="LinkButton";var tH=t(1712),tZ={exports:{}},tQ={};function tY(){if(m)return tQ;m=1;var e=tk;function l(e,l){return e===l&&(0!==e||1/e==1/l)||e!=e&&l!=l}var t="function"==typeof Object.is?Object.is:l,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function r(e,l){var t=l(),r=n({inst:{value:t,getSnapshot:l}}),d=r[0].inst,c=r[1];return a(function(){d.value=t,d.getSnapshot=l,s(d)&&c({inst:d})},[e,t,l]),i(function(){return s(d)&&c({inst:d}),e(function(){s(d)&&c({inst:d})})},[e]),o(t),t}function s(e){var l=e.getSnapshot;e=e.value;try{var n=l();return!t(e,n)}catch{return!0}}function d(e,l){return l()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:r;return tQ.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:c,tQ}var t$=function(){return v||(v=1,tZ.exports=tY()),tZ.exports}();let tq=0,tW=1,tV=2,tG=3;var tJ=Object.prototype.hasOwnProperty;function tK(e,l){var t,n;if(e===l)return!0;if(e&&l&&(t=e.constructor)===l.constructor){if(t===Date)return e.getTime()===l.getTime();if(t===RegExp)return e.toString()===l.toString();if(t===Array){if((n=e.length)===l.length)for(;n--&&tK(e[n],l[n]););return -1===n}if(!t||"object"==typeof e){for(t in n=0,e)if(tJ.call(e,t)&&++n&&!tJ.call(l,t)||!(t in l)||!tK(e[t],l[t]))return!1;return Object.keys(l).length===n}}return e!=e&&l!=l}let tX=new WeakMap,t0=()=>{},t1=t0(),t4=Object,t3=e=>e===t1,t5=e=>"function"==typeof e,t2=(e,l)=>({...e,...l}),t6=e=>t5(e.then),t9={},t8={},t7="undefined",ne=typeof window!=t7,nl=typeof document!=t7,nt=ne&&"Deno"in window,nn=()=>ne&&typeof window.requestAnimationFrame!=t7,ni=(e,l)=>{let t=tX.get(e);return[()=>!t3(l)&&e.get(l)||t9,n=>{if(!t3(l)){let i=e.get(l);l in t8||(t8[l]=i),t[5](l,t2(i,n),i||t9)}},t[6],()=>!t3(l)&&l in t8?t8[l]:!t3(l)&&e.get(l)||t9]},na=!0,no=()=>na,[nr,ns]=ne&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[t0,t0],nd={isOnline:no,isVisible:()=>{let e=nl&&document.visibilityState;return t3(e)||"hidden"!==e}},nc={initFocus:e=>(nl&&document.addEventListener("visibilitychange",e),nr("focus",e),()=>{nl&&document.removeEventListener("visibilitychange",e),ns("focus",e)}),initReconnect:e=>{let l=()=>{na=!0,e()},t=()=>{na=!1};return nr("online",l),nr("offline",t),()=>{ns("online",l),ns("offline",t)}}},nu=!tk.useId,nm=!ne||nt,nv=e=>nn()?window.requestAnimationFrame(e):setTimeout(e,1),np=nm?tk.useEffect:tk.useLayoutEffect,nf="u">typeof navigator&&navigator.connection,nh=!nm&&nf&&(["slow-2g","2g"].includes(nf.effectiveType)||nf.saveData),nx=new WeakMap,ng=(e,l)=>t4.prototype.toString.call(e)===`[object ${l}]`,ny=0,nj=e=>{let l,t;let n=typeof e,i=ng(e,"Date"),a=ng(e,"RegExp"),o=ng(e,"Object");
4if(t4(e)!==e||i||a)l=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(l=nx.get(e))return l;if(l=++ny+"~",nx.set(e,l),Array.isArray(e)){for(l="@",t=0;t<e.length;t++)l+=nj(e[t])+",";nx.set(e,l)}if(o){l="#";let n=t4.keys(e).sort();for(;!t3(t=n.pop());)t3(e[t])||(l+=t+":"+nj(e[t])+",");nx.set(e,l)}}return l},nN=e=>{if(t5(e))try{e=e()}catch{e=""}let l=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?nj(e):"",l]},nb=0,nw=()=>++nb;async function nL(...e){let[l,t,n,i]=e,a=t2({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),o=a.populateCache,r=a.rollbackOnError,s=a.optimisticData,d=e=>"function"==typeof r?r(e):!1!==r,c=a.throwOnError;if(t5(t)){let e=t,n=[];for(let t of l.keys())!/^\$(inf|sub)\$/.test(t)&&e(l.get(t)._k)&&n.push(t);return Promise.all(n.map(u))}return u(t);async function u(t){let[i]=nN(t);if(!i)return;let[r,u]=ni(l,i),[m,v,p,f]=tX.get(l),h=()=>{let e=m[i];return(t5(a.revalidate)?a.revalidate(r().data,t):!1!==a.revalidate)&&(delete p[i],delete f[i],e&&e[0])?e[0](tV).then(()=>r().data):r().data};if(e.length<3)return h();let x=n,g,y=nw();v[i]=[y,0];let j=!t3(s),N=r(),b=N.data,w=N._c,L=t3(w)?b:w;if(j&&u({data:s=t5(s)?s(L,b):s,_c:L}),t5(x))try{x=x(L)}catch(e){g=e}if(x&&t6(x)){if(x=await x.catch(e=>{g=e}),y!==v[i][0]){if(g)throw g;return x}g&&j&&d(g)&&(o=!0,u({data:L,_c:t1}))}if(o&&!g&&(t5(o)?u({data:o(x,L),error:t1,_c:t1}):u({data:x,error:t1,_c:t1})),v[i][1]=nw(),Promise.resolve(h()).then(()=>{u({_c:t1})}),g){if(c)throw g;return}return x}}let nC=(e,l)=>{for(let t in e)e[t][0]&&e[t][0](l)},nS=(e,l,t,n,i)=>{let a=t.errorRetryCount,o=i.retryCount,r=~~((Math.random()+.5)*(1<<(o<8?o:8)))*t.errorRetryInterval;!t3(a)&&o>a||setTimeout(n,r,i)},nk=tK,[nM,nD]=((e,l)=>{if(!tX.has(e)){let t=t2(nc,l),n=Object.create(null),i=nL.bind(t1,e),a=t0,o=Object.create(null),r=(e,l)=>{let t=o[e]||[];return o[e]=t,t.push(l),()=>t.splice(t.indexOf(l),1)},s=(l,t,n)=>{e.set(l,t);let i=o[l];if(i)for(let e of i)e(t,n)},d=()=>{if(!tX.has(e)&&(tX.set(e,[n,Object.create(null),Object.create(null),Object.create(null),i,s,r]),!nm)){let l=t.initFocus(setTimeout.bind(t1,nC.bind(t1,n,tq))),i=t.initReconnect(setTimeout.bind(t1,nC.bind(t1,n,tW)));a=()=>{l&&l(),i&&i(),tX.delete(e)}}};return d(),[e,i,d,a]}return[e,tX.get(e)[4]]})(new Map),nT=t2({onLoadingSlow:t0,onSuccess:t0,onError:t0,onErrorRetry:nS,onDiscarded:t0,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:nh?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:nh?5e3:3e3,compare:nk,isPaused:()=>!1,cache:nM,mutate:nD,fallback:{}},nd),nI=(e,l)=>{let t=t2(e,l);if(l){let{use:n,fallback:i}=e,{use:a,fallback:o}=l;n&&a&&(t.use=n.concat(a)),i&&o&&(t.fallback=t2(i,o))}return t},nE=(0,tk.createContext)({}),nA="$inf$",n_=ne&&window.__SWR_DEVTOOLS_USE__,nF=n_?window.__SWR_DEVTOOLS_USE__:[],nP=()=>{n_&&(window.__SWR_DEVTOOLS_REACT__=tk)},nO=e=>t5(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],nz=()=>t2(nT,(0,tk.useContext)(nE)),nR=e=>(l,t,n)=>e(l,t&&((...e)=>{let[n]=nN(l),[,,,i]=tX.get(nM);if(n.startsWith(nA))return t(...e);let a=i[n];return t3(a)?t(...e):(delete i[n],a)}),n),nB=nF.concat(nR),nU=e=>function(...l){let t=nz(),[n,i,a]=nO(l),o=nI(t,a),r=e,{use:s}=o,d=(s||[]).concat(nB);for(let e=d.length;e--;)r=d[e](r);return r(n,i||o.fetcher||null,o)},nH=(e,l,t)=>{let n=l[e]||(l[e]=[]);return n.push(t),()=>{let e=n.indexOf(t);e>=0&&(n[e]=n[n.length-1],n.pop())}},nZ=(e,l)=>(...t)=>{let[n,i,a]=nO(t),o=(a.use||[]).concat(l);return e(n,i,{...a,use:o})};nP();let nQ=tk.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(l=>{e.status="fulfilled",e.value=l},l=>{e.status="rejected",e.reason=l}),e}}),nY={dedupe:!0},n$=nU((e,l,t)=>{let{cache:n,compare:i,suspense:a,fallbackData:o,revalidateOnMount:r,revalidateIfStale:s,refreshInterval:d,refreshWhenHidden:c,refreshWhenOffline:u,keepPreviousData:m}=t,[v,p,f,h]=tX.get(n),[x,g]=nN(e),y=(0,tk.useRef)(!1),j=(0,tk.useRef)(!1),N=(0,tk.useRef)(x),b=(0,tk.useRef)(l),w=(0,tk.useRef)(t),L=()=>w.current,C=()=>L().isVisible()&&L().isOnline(),[S,k,M,D]=ni(n,x),T=(0,tk.useRef)({}).current,I=t3(o)?t3(t.fallback)?t1:t.fallback[x]:o,E=(e,l)=>{for(let t in T){let n=t;if("data"===n){if(!i(e[n],l[n])&&(!t3(e[n])||!i(U,l[n])))return!1}else if(l[n]!==e[n])return!1}return!0},A=(0,tk.useMemo)(()=>{let e=!!x&&!!l&&(t3(r)?!L().isPaused()&&!a&&!1!==s:r),t=l=>{let t=t2(l);return delete t._k,e?{isValidating:!0,isLoading:!0,...t}:t},n=S(),i=D(),o=t(n),d=n===i?o:t(i),c=o;return[()=>{let e=t(S());return E(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>d]},[n,x]),_=t$.useSyncExternalStore((0,tk.useCallback)(e=>M(x,(l,t)=>{E(t,l)||e()}),[n,x]),A[0],A[1]),F=!y.current,P=v[x]&&v[x].length>0,O=_.data,z=t3(O)?I&&t6(I)?nQ(I):I:O,R=_.error,B=(0,tk.useRef)(z),U=m?t3(O)?t3(B.current)?z:B.current:O:z,H=(!P||!!t3(R))&&(F&&!t3(r)?r:!L().isPaused()&&(a?!t3(z)&&s:t3(z)||s)),Z=!!(x&&l&&F&&H),Q=t3(_.isValidating)?Z:_.isValidating,Y=t3(_.isLoading)?Z:_.isLoading,$=(0,tk.useCallback)(async e=>{let l=b.current;if(!x||!l||j.current||L().isPaused())return!1;let n,a,o=!0,r=e||{},s=!f[x]||!r.dedupe,d=()=>nu?!j.current&&x===N.current&&y.current:x===N.current,c={isValidating:!1,isLoading:!1},u=()=>{k(c)},m=()=>{let e=f[x];e&&e[1]===a&&delete f[x]},h={isValidating:!0};t3(S().data)&&(h.isLoading=!0);try{if(s&&(k(h),t.loadingTimeout&&t3(S().data)&&setTimeout(()=>{o&&d()&&L().onLoadingSlow(x,t)},t.loadingTimeout),f[x]=[l(g),nw()]),[n,a]=f[x],n=await n,s&&setTimeout(m,t.dedupingInterval),!f[x]||f[x][1]!==a)return s&&d()&&L().onDiscarded(x),!1;c.error=t1;let e=p[x];if(!t3(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return u(),s&&d()&&L().onDiscarded(x),!1;let r=S().data;c.data=i(r,n)?r:n,s&&d()&&L().onSuccess(n,x,t)}catch(t){m();let e=L(),{shouldRetryOnError:l}=e;
4e.isPaused()||(c.error=t,s&&d()&&(e.onError(t,x,e),(!0===l||t5(l)&&l(t))&&(!L().revalidateOnFocus||!L().revalidateOnReconnect||C())&&e.onErrorRetry(t,x,e,e=>{let l=v[x];l&&l[0]&&l[0](tG,e)},{retryCount:(r.retryCount||0)+1,dedupe:!0})))}return o=!1,u(),!0},[x,n]),q=(0,tk.useCallback)((...e)=>nL(n,N.current,...e),[]);if(np(()=>{b.current=l,w.current=t,t3(O)||(B.current=O)}),np(()=>{if(!x)return;let e=$.bind(t1,nY),l=0;L().revalidateOnFocus&&(l=Date.now()+L().focusThrottleInterval);let t=nH(x,v,(t,n={})=>{if(t==tq){let t=Date.now();L().revalidateOnFocus&&t>l&&C()&&(l=t+L().focusThrottleInterval,e())}else if(t==tW)L().revalidateOnReconnect&&C()&&e();else{if(t==tV)return $();if(t==tG)return $(n)}});return j.current=!1,N.current=x,y.current=!0,k({_k:g}),H&&(t3(z)||nm?e():nv(e)),()=>{j.current=!0,t()}},[x]),np(()=>{let e;function l(){let l=t5(d)?d(S().data):d;l&&-1!==e&&(e=setTimeout(t,l))}function t(){!S().error&&(c||L().isVisible())&&(u||L().isOnline())?$(nY).then(l):l()}return l(),()=>{e&&(clearTimeout(e),e=-1)}},[d,c,u,x]),(0,tk.useDebugValue)(U),a&&t3(z)&&x){if(!nu&&nm)throw Error("Fallback data is required when using Suspense in SSR.");b.current=l,w.current=t,j.current=!1;let e=h[x];if(t3(e)||nQ(q(e)),t3(R)){let e=$(nY);t3(U)||(e.status="fulfilled",e.value=!0),nQ(e)}else throw R}return{mutate:q,get data(){return T.data=!0,U},get error(){return T.error=!0,R},get isValidating(){return T.isValidating=!0,Q},get isLoading(){return T.isLoading=!0,Y}}}),nq=nu?e=>{e()}:tk.startTransition,nW=e=>{let[,l]=(0,tk.useState)({}),t=(0,tk.useRef)(!1),n=(0,tk.useRef)(e),i=(0,tk.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,tk.useCallback)(e=>{let a=!1,o=n.current;for(let l in e)if(Object.prototype.hasOwnProperty.call(e,l)){let t=l;o[t]!==e[t]&&(o[t]=e[t],i.current[t]&&(a=!0))}a&&!t.current&&l({})},[]);return np(()=>(t.current=!1,()=>{t.current=!0})),[n,i.current,a]},nV=nZ(n$,()=>(e,l,t={})=>{let{mutate:n}=nz(),i=(0,tk.useRef)(e),a=(0,tk.useRef)(l),o=(0,tk.useRef)(t),r=(0,tk.useRef)(0),[s,d,c]=nW({data:t1,error:t1,isMutating:!1}),u=s.current,m=(0,tk.useCallback)(async(e,l)=>{let[t,s]=nN(i.current);if(!a.current)throw Error("Can’t trigger the mutation: missing fetcher.");if(!t)throw Error("Can’t trigger the mutation: missing key.");let d=t2(t2({populateCache:!1,throwOnError:!0},o.current),l),u=nw();r.current=u,c({isMutating:!0});try{let l=await n(t,a.current(s,{arg:e}),t2(d,{throwOnError:!0}));return r.current<=u&&(nq(()=>c({data:l,isMutating:!1,error:void 0})),null==d.onSuccess||d.onSuccess.call(d,l,t,d)),l}catch(e){if(r.current<=u&&(nq(()=>c({error:e,isMutating:!1})),null==d.onError||d.onError.call(d,e,t,d),d.throwOnError))throw e}},[]),v=(0,tk.useCallback)(()=>{r.current=nw(),c({data:t1,error:t1,isMutating:!1})},[]);return np(()=>{i.current=e,a.current=l,o.current=t}),{trigger:m,reset:v,get data(){return d.data=!0,u.data},get error(){return d.error=!0,u.error},get isMutating(){return d.isMutating=!0,u.isMutating}}}),nG=e=>{let{trigger:l,isMutating:t,error:n}=nV(`/api/forms/${e}`,async(e,{arg:l})=>{let t={method:l?"POST":"GET",headers:{"Content-Type":"application/json"},body:l?JSON.stringify(l):void 0,credentials:"include"};return(0,tH.f)(e,t)});return{postForm:async t=>{let n=await l({url:`/api/forms/${e}`,...t});if(!(null!=n&&n.success))throw Error("The result is incorrect");return n},isMutating:t,error:n}},nJ=e=>{let{t:l}=(0,tB.QT)(),[t,n]=(0,tk.useState)(null),{postForm:i}=nG(e),[a,o]=(0,tk.useState)(!1);return(0,tk.useEffect)(()=>()=>{n(null)},[]),{alertData:t,submitNewsletter:(0,tk.useCallback)(async e=>{o(!0);let t=null;try{await i(e),t={message:l("PageContent.Newsletter.SubmissionSuccess"),status:"success"}}catch{t={message:l("PageContent.Newsletter.SubmissionError"),status:"error"}}finally{n(t),o(!1)}return(null==t?void 0:t.status)==="success"},[i,l]),closeAlert:()=>{n(null)},showAlert:n,isLoading:a}};!function(){try{if("u">typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(`._playIcon_3xgwd_1{background:transparent;border:0 none;cursor:pointer;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}._playIcon_3xgwd_1 span{border-radius:50%;color:var(--neu-plain-0);font-size:78px;transition-duration:.2s;transition-property:transform;font-variation-settings:normal}._playIcon_3xgwd_1:hover i,._playIcon_3xgwd_1:focus i{transform:scale(1.3)}._opacity_3xgwd_23{opacity:.77}
5._extendedDropdown_17k1l_1 .unit-dropdown .dropdown-menu{max-height:clamp(150px,80vh,500px)!important}
6@media (min-width: 992px){._overlay_1tz1r_2{margin-top:-6rem}}@media (min-width: 992px){._corpOverlay_1tz1r_8{margin-top:-8rem}}._hideEmpty_1tz1r_13:has(>div:empty){display:none}
7._richText_1ghed_1 a:not(._neu-button_1ghed_1){color:var(--neu-plain-0);font-size:14px;text-decoration:none}._richText_1ghed_1 a:not(._neu-button_1ghed_1):hover,._richText_1ghed_1 a:not(._neu-button_1ghed_1):focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._richText_1ghed_1 strong{font-weight:600}._richText_1ghed_1 hr{border:none;background-color:var(--neu-plain-0);height:1px;width:100%;margin:20px 0}a._corpLinks_1ghed_24{color:var(--neu-plain-0);text-decoration:none}a._corpLinks_1ghed_24:hover,a._corpLinks_1ghed_24:focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._containerFlex_1ghed_37{padding:35px}@media (min-width: 992px){._containerFlex_1ghed_37{padding:35px 72px}}
8@media (min-width: 576px){._standaloneSearch_10kr5_2{min-width:20rem}}._standaloneSearch_10kr5_2 .unit-dropdown{width:100%}._standaloneSearch_10kr5_2 .neu-form--support:empty{display:none}._standaloneSearch_10kr5_2 .unit-wrapper:before{all:unset}._standaloneSearch_10kr5_2 .neu-form__native{padding:var(--form-padding);padding-right:calc(40px + var(--neu-spacer-3));min-width:18rem}._standaloneSearch_10kr5_2 .neu-form__native::-webkit-search-cancel-button{margin-top:.1rem}@media (min-width: 992px){._corporateStandalone_10kr5_25{min-width:19rem}._corporateStandalone_10kr5_25 label{color:var(--neu-plain-0)}}._standaloneSearch_10kr5_2+.input-spinner{--feedback-padding-right: calc(40px + var(--neu-spacer-3));--feedback-padding-bottom: var(--neu-spacer-3)}._standaloneButton_10kr5_37.with-label{top:calc(1.375rem + var(--neu-spacer-2))}`)),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();let nK=({socialTitle:e,socialLinkList:l,socialBlockClass:t="align-items-center",tag:n="h4"})=>{var i,a;return(0,tw.jsxs)("div",{className:`d-flex flex-column mb-3 ${t}
8`,children:[(0,tw.jsx)(tD,{tag:n,field:e,editable:!1,className:"mb-2"}),(0,tw.jsx)("div",{className:"d-flex gap-2",children:null==(a=null==(i=null==l?void 0:l.fields)?void 0:i.iconLinks)?void 0:a.map((e,l)=>{var t,n,i,a,o,r;let s=null==(a=null==(i=null==(n=null==(t=null==e?void 0:e.fields)?void 0:t.icon)?void 0:n.fields)?void 0:i.iconName)?void 0:a.value,d=null==(r=null==(o=null==e?void 0:e.fields)?void 0:o.link)?void 0:r.value;return s&&null!=d&&d.href?(0,tw.jsxs)(tA,{field:d,className:"p-0 h-20 w-20",kind:"tertiary-plain",editable:!1,children:[(0,tw.jsx)(t_,{name:s}),(0,tw.jsx)("span",{className:"sr-only",children:null==d?void 0:d.text})]},`${s}-${d.href}-${l}`):null})})]})},nX={richText:"_richText_1ghed_1",corpLinks:"_corpLinks_1ghed_24",containerFlex:"_containerFlex_1ghed_37"},n0=({className:e})=>(0,tw.jsx)("span",{className:`neu-text-gray-20 d-md-flex ${e??""}`,children:"|"}),n1=({linksList:e,className:l,includeCookieConsent:t=!1})=>{let{sitecoreContext:{siteAttributes:{isCorporate:n},cookieConsentID:i}}=(0,tL.u)(),{t:a}=(0,tB.QT)();if(!e||0===e.length)return null;let o=(0,tC.c)("neu-text-caption neu-text-blue-60",n?`neu-text-secondary ${nX.corpLinks}`:"");return(0,tw.jsxs)(tw.Fragment,{children:[e.map((t,n)=>{var i,a;return(null==(i=null==t?void 0:t.value)?void 0:i.href)&&(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsx)(tI.M,{field:t,className:o}),!!e&&n<e.length-1&&(0,tw.jsx)(n0,{className:l})]},`${null==(a=null==t?void 0:t.value)?void 0:a.href}-${n}`)}),i&&t&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(n0,{className:l}),(0,tw.jsx)(tU,{className:`f-cmp-cookie-pref-tab neu-text-caption ${n?"neu-text-secondary link-plain":"neu-text-blue-60"}`,children:a("CookieConsent.CookiePreferences")})]})]})},n4=({fields:e,copyright:l})=>{var t;let{sitecoreContext:{siteAttributes:{isCorporate:n}}}=(0,tL.u)();return(0,tw.jsxs)("div",{className:"row d-flex flex-column flex-md-row justify-content-between",children:[(0,tw.jsx)(tD,{tag:"p",field:l,className:`col-12 col-lg-4 fw-bold mb-4 neu-text-caption ${n?"":"text-center text-lg-start ps-md-4"}`}),(0,tw.jsx)("div",{className:`col-12 col-lg-8 d-flex flex-row flex-wrap gap-1 mb-4 justify-content-lg-end ${n?"justify-content-start":"justify-content-center px-5"}`,children:(0,tw.jsx)(n1,{linksList:null==(t=null==e?void 0:e.complianceLinks)?void 0:t.value,includeCookieConsent:!0})})]})},n3=({fields:e})=>{var l,t,n,i,a,o,r,s,d,c,u;let{sitecoreContext:{siteAttributes:{isMarket:m},theme:v}}=(0,tL.u)(),{site:p,location:f,campaign:h,context:x}=e,g=x??h??f??p,y=(null==h?void 0:h.footer)??(null==f?void 0:f.footer)??(null==p?void 0:p.footer),j=(null==(l=null==h?void 0:h.identity)?void 0:l.mainLogo)??(null==v?void 0:v.mainLogo),N=((null==(t=null==h?void 0:h.campaignLocations)?void 0:t.locations)??[]).map(e=>{var l,t,n,i,a;let o=(null==(l=null==e?void 0:e.theme)?void 0:l.mainLogo)??(null==(t=null==e?void 0:e.theme)?void 0:t.smallLogo);return{image:o,href:(null==(n=null==o?void 0:o.value)?void 0:n.href)??(null==(a=null==(i=null==e?void 0:e.fields)?void 0:i.marketedWebsite)?void 0:a.value)}}).filter(e=>{var l,t;return null==(t=null==(l=e.image)?void 0:l.value)?void 0:t.src}),b=N.length?N:null!=(n=null==j?void 0:j.value)&&n.src?[{image:j}]:[],w=b.length>0;if(!g||!p)return null;let L=g.identity,C=null!=(i=null==L?void 0:L.address)&&i.value?L.address:null==(a=p.identity)?void 0:a.address,S=!!(null!=C&&C.value&&(null==(o=null==L?void 0:L.hideAddress)?void 0:o.value)!==!0&&b.length<=1),k=null!=(s=null==(r=null==y?void 0:y.footerLinks)?void 0:r.value)&&s.length?y.footerLinks.value:null==(c=null==(d=p.footer)?void 0:d.footerLinks)?void 0:c.value,M=k&&k.length>0,D=!!h,T=(0,tw.jsxs)("div",{className:"text-center text-md-start",children:[!m&&(0,tw.jsx)(tD,{tag:"h5",field:null==L?void 0:L.siteName,className:"neu-text-support-60 fw-bold"}),(0,tw.jsx)(tR.H,{field:C,className:(null==(u=null==y?void 0:y.logos)?void 0:u.length)!==0&&w?"":"text-center"})]}),I=(0,tC.c)("d-flex justify-content-center justify-content-lg-end flex-wrap gap-1",{"col-12 col-lg-6 align-content-center":D,"flex-grow-1":!D}),E=(0,tC.c)("col-12 d-flex flex-column flex-lg-row",{"align-items-center justify-content-end":D,"col-lg-6":!D}),A=D?(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tS,{size:"2x",className:"my-5"}
8),(0,tw.jsx)("div",{className:E,children:(0,tw.jsx)("div",{className:I,children:(0,tw.jsx)(n1,{linksList:k})})})]}):(0,tw.jsxs)("div",{className:E,children:[(0,tw.jsx)(tS,{size:"2x",className:"d-lg-none"}),(0,tw.jsx)("div",{className:I,children:(0,tw.jsx)(n1,{linksList:k})})]});return(0,tw.jsxs)("div",{className:"row pt-5 px-3",children:[(0,tw.jsxs)("div",{className:(0,tC.c)("col-12 d-flex justify-content-center flex-md-row flex-wrap gap-5",{"col-lg-6 flex-column flex-md-nowrap align-items-center":M&&!D,"py-1":D}),children:[b.map((e,l)=>{var t,n;return(0,tw.jsxs)("span",{className:"d-flex",children:[(0,tw.jsx)(tz,{field:e.image,logoLinkUrl:e.href,logoClassName:"w-100 max-w-144 flex-grow-1",linkClassName:"d-flex justify-content-center"}),l<b.length-1&&D&&(0,tw.jsx)(tS,{size:"2x",type:"vertical",className:"d-none d-xl-block"})]},`${(null==(n=null==(t=e.image)?void 0:t.value)?void 0:n.src)??"footer-logo"}-${l}`)}),S&&T]}),M&&A]})},n5=/^\S+@\S+\.\S+$/,n2=e=>{var l,t,n;let{t:i}=(0,tB.QT)(),[a,o]=tk.useState(""),r=(null==e?void 0:e.ctaTitle)||(null==e?void 0:e.newsletterTitle),{alertData:s,submitNewsletter:d,closeAlert:c,isLoading:u,showAlert:m}=nJ((null==(l=null==e?void 0:e.formstackId)?void 0:l.value)??""),v=()=>{var l,t,n;let o={};if(!a||!n5.test(a)){m({message:i("PageContent.Newsletter.InvalidEmailAddress"),status:"error"});return}null!=(l=null==e?void 0:e.emailAddressFieldName)&&l.value&&null!=(t=null==e?void 0:e.enterpriseMarketingFieldName)&&t.value&&null!=(n=e.formstackId)&&n.value?(o[e.emailAddressFieldName.value]=a,o[e.enterpriseMarketingFieldName.value]="TRUE",d(o)):m({message:i("PageContent.Newsletter.SubmissionError"),status:"error"})};return(0,tw.jsxs)("div",{className:"d-flex flex-column",children:[s&&!u?(0,tw.jsx)(tE.Xw,{kind:s.status,label:s.message,onNeuDismiss:()=>c()}):null,r&&(0,tw.jsx)(tD,{tag:"h4",field:r,className:"mb-3 fw-bold text-center"}),(null==e?void 0:e.ctaDescription)&&(0,tw.jsx)(tD,{tag:"p",field:null==e?void 0:e.ctaDescription,className:"text-center"}),(0,tw.jsx)("div",{className:"d-flex flex-column flex-sm-row justify-content-center gap-2",children:null!=e&&e.callToAction&&null!=(t=null==e?void 0:e.callToAction.value)&&t.href?(0,tw.jsx)(tA,{field:null==e?void 0:e.callToAction,className:"inherit-color",kind:"tertiary-plain"}):(0,tw.jsxs)("div",{className:"position-relative w-160 mx-auto",children:[(0,tw.jsx)(tE.JX,{label:(null==(n=null==e?void 0:e.newsletterPlaceholderText)?void 0:n.value)||"",onNeuChange:e=>{o(e.target.value)},type:"email",className:"neu-text-plain-0 pe-6",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",required:!0}),(0,tw.jsx)(tE.Yu,{onNeuClick:v,className:"max-h-fit position-absolute right-0 bottom-2 rounded-right w-1","aria-label":"Submit Email",children:(0,tw.jsx)(tE.JK,{name:"mail"})})]})})]})},n6=e=>{var l,t;let n=(null==e?void 0:e.callToAction)&&(null==e?void 0:e.callToAction.value.href)!=="",i=(0,tC.c)("row align-items-center",{"justify-content-center ":!n}),a=(0,tC.c)({"col-lg-6 mt-5 mt-lg-0":n});return(0,tw.jsxs)("div",{className:(0,tC.c)(i,"neu-bg-support-60 neu-text-plain-0 p-5"),children:[(0,tw.jsx)("div",{className:n?"col-12 col-lg-6":"d-none",children:(0,tw.jsx)(n2,{...e.fields})}),(0,tw.jsx)("div",{className:a,children:(0,tw.jsx)(nK,{socialTitle:null==(l=null==e?void 0:e.fields)?void 0:l.socialTitle,socialLinkList:null==(t=null==e?void 0:e.fields)?void 0:t.socialLinkList})})]})}
8,n9=({fields:e,rendering:l})=>{var t,n,i,a,o,r,s,d,c,u;let{sitecoreContext:{siteAttributes:{isMarket:m}}}=(0,tL.u)();if(!e)return null;let{site:v,location:p,campaign:f}=e,h=m?v:p;if(!h||!v||!f)return null;let x=f&&(null==(n=null==(t=f.footer.complianceLinks)?void 0:t.value)?void 0:n.length)!==0?f.footer:h.footer;return(0,tw.jsxs)("div",{className:"d-flex flex-column","data-test-id":null==l?void 0:l.componentName,children:[(0,tw.jsx)(n6,{fields:f.footer,ctaTitle:null==(o=null==(a=null==(i=null==e?void 0:e.campaign)?void 0:i.footer)?void 0:a.ctaTitle)?void 0:o.value,ctaDescription:null==(d=null==(s=null==(r=null==e?void 0:e.campaign)?void 0:r.footer)?void 0:s.ctaDescription)?void 0:d.value,callToAction:null==(u=null==(c=null==e?void 0:e.campaign)?void 0:c.footer)?void 0:u.callToAction}),(0,tw.jsx)(n3,{fields:e}),(0,tw.jsx)(tS,{}),(0,tw.jsx)(n4,{fields:x,copyright:null==x?void 0:x.copyright})]})},n8=(e="footer",l=20)=>{let[t,n]=(0,tk.useState)(!1);return(0,tk.useEffect)(()=>{if(typeof document>"u")return;let t=()=>{let t=document.querySelector(e);if(!t)return;let i=t.getBoundingClientRect(),a=window.innerHeight;n(i.top<=a+l)};return t(),window.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[e,l]),{isFooterInView:t}};var n7=t(5847);let ie=({podiumLink:e})=>(0,tw.jsx)(n7,{src:e,async:!0,id:"podium-widget"}),il="mammo-bot-btn",it="clearstep-btn",ii=({fields:e,rendering:l})=>{var t,n,i;let{t:a}=(0,tB.QT)(),{sitecoreContext:{route:o}}=(0,tL.u)(),r=null==o?void 0:o.itemId,s=!!(r&&null!=(t=null==e?void 0:e.mammoPageInclusions)&&t.includes(r)&&null!=e&&e.mammoLink),d=!!(r&&null!=(n=null==e?void 0:e.podiumPageInclusions)&&n.includes(r)&&null!=e&&e.podiumLink),c=!!(r&&!(null!=(i=null==e?void 0:e.clearstepPageExclusions)&&i.includes(r))&&null!=e&&e.clearstepLink&&!d),{isFooterInView:u}=n8(),m=s||d||c,[v,p]=tk.useState(!1),[f,h]=tk.useState(0),[x,g]=tk.useState(!1),[y,j]=tk.useState(void 0);return tk.useEffect(()=>{if(m&&"u">typeof document){let l=l=>{let t=l.currentTarget,n=t.classList.contains(il),i=t.classList.contains(it),a=n?null==e?void 0:e.mammoLink:i?null==e?void 0:e.clearstepLink:void 0;a&&(j(a),l.preventDefault(),p(!0))},t=document.querySelectorAll(`.${il}`);s&&t.length>0&&t.forEach(e=>e.addEventListener("click",l));let n=document.querySelectorAll(`.${it}`);return c&&n.length>0&&n.forEach(e=>e.addEventListener("click",l)),()=>{null==t||t.forEach(e=>e.removeEventListener("click",l)),null==n||n.forEach(e=>e.removeEventListener("click",l))}}},[e.clearstepLink,e.mammoLink,c,s,m]),tk.useEffect(()=>{if("u">typeof document&&d){let e=document.getElementById("podium-website-widget");e&&(e.style.display=u?"none":"block")}},[d,u]),m&&(0,tw.jsxs)("div",{"data-test-id":null==l?void 0:l.componentName,children:[d&&(0,tw.jsx)(ie,{podiumLink:e.podiumLink}),y&&m&&(0,tw.jsxs)(tE.jA,{active:v,backdropDismiss:!0,label:a("PageContent.Chatbot.ModalTitle"),color:"gray",level:1,onNeuDismiss:()=>{p(!1),g(!1)},children:[(0,tw.jsx)(tE.jA.Content,{children:(0,tw.jsxs)("div",{className:"position-relative w-100 h-100",children:[!x&&(0,tw.jsx)(tE.$V,{kind:"spinner",className:"position-absolute top-50 left-50 translate-middle"}),(0,tw.jsx)("iframe",{src:y,className:x?"h-100 w-100":"h-0 w-0",onLoad:()=>{g(!0)}},`chat-bot-${f}`)]})}),(0,tw.jsx)(tE.jA.Footer,{children:(0,tw.jsx)(tE.Yu,{kind:"secondary",onNeuClick:()=>{h(f+1),g(!1)},icon:"refresh",iconPosition:"end",className:"w-auto flex-grow-0",children:a("PageContent.Chatbot.Restart")})})]}),c&&!v&&!u&&(0,tw.jsx)(tE.Yu,{className:"position-fixed bottom-0 right-0 z-sticky m-4 neu-elevation-5",onNeuClick:()=>{j(e.clearstepLink),p(!0)},children:a("PageContent.Clearstep.Open")})]})};var ia=t(7092),io=t(6202);let ir=({count:e,end:l,displaySize:t=10,isLoading:n,resultDisplayName:i,start:a,className:o})=>{let{t:r}=(0,tB.QT)();if(n)return(0,tw.jsx)(ia.S,{height:20,width:200});let s=i??`${r("Search.Result.Articles")}`;return(0,tw.jsx)("div",{className:o,children:e<=Number(t)?(0,tw.jsx)(tw.Fragment,{children:`${r("Search.Result.DisplayingAll")} ${r("Common.Of")} ${e} ${s}`}):(0,tw.jsx)(tw.Fragment,{children:`${r("Search.Displaying")} ${a}-${l} ${r("Common.Of")} ${e} ${s}`})})},is=({contentType:e,contentTypeFacetGroup:l,count:t,end:n,displaySize:i,isLoading:a,keyword:o,onSortChange:r,sort:s="score:desc",sortOptions:d,start:c,hideTitle:u=!1,contentTitleClassName:m,showErWaitTimes:v=!1,titleOverride:p,useSmallLayout:f=!1})=>{let{t:h}=(0,tB.QT)(),x=null==l?void 0:l.facets,g=null==d?void 0:d.map(e=>({value:e.value,label:e.label})),y=null==x?void 0:x.find(l=>l.value===e),j=(null==y?void 0:y.text)??(null==l?void 0:l.groupAnyTitle),N=Number(i)||10,{openERWaitTimeModal:b,erWaitTimeStampWithDate:w}=(0,io.u)();return(0,tw.jsxs)("div",{className:"row no-gutters pt-lg-0 pt-sm-3 pb-0 pb-sm-1",children:[(0,tw.jsxs)("div",{className:(0,tC.c)(!f&&"col-lg-9",m),children:[!u&&(0,tw.jsx)("p",{className:"neu-display-4 fw-bold mb-2",children:a?(0,tw.jsx)(ia.S,{width:300}):p||h("Search.Content.Title",{contentType:j,keyword:o})}),(0,tw.jsx)(ir,{className:"pt-0 pb-sm-2 pb-lg-0",displaySize:N,count:t,end:n,isLoading:a,resultDisplayName:`${h("Common.Results")}`,start:c})]}),g?(0,tw.jsx)("div",{className:(0,tC.c)(!f&&"col-lg-3"),children:(0,tw.jsx)(tE.j8,{disabled:a,items:g,label:`${h("Search.Sort")}`,name:`${h("Search.Sort")}`,value:null==g?void 0:g.find(e=>e.value===s),onNeuChange:e=>{r(e.value)}})}):null,v?a?(0,tw.jsx)(ia.S,{width:300}):(0,tw.jsxs)("div",{className:"pt-2",children:[(0,tw.jsx)(tU,{className:"px-0",onClick:()=>{b()},children:h("Header.ERWaitTimes.ModalTitle")}),w?(0,tw.jsx)("time",{dateTime:w,"aria-label":`ER wait time updated at ${w}`,children:w}):null]}):null]})},id="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0Ljc1aW4nIGhlaWdodD0nMS4yMmluJyB2aWV3Qm94PScwIDAgMzQyLjM0IDg3Ljg4Jz48cGF0aCBkPSdNNzAuNSwyMS4yNUg4Ni4yN2EuMzIuMzIsMCwwLDAsLjMzLS4zM1Y3LjQ0YS42OS42OSwwLDAsMSwuNjktLjY5aDUuOGEuNjkuNjksMCwwLDEsLjY5LjY5VjQyLjA2YS42OS42OSwwLDAsMS0uNjkuNjloLTUuOGEuNjkuNjksMCwwLDEtLjY5LS42OVYyOC4yN2EuMzMuMzMsMCwwLDAtLjMzLS4zM0g3MC41YS4zMy4zMywwLDAsMC0uMzMuMzNWNDIuMDZhLjY4LjY4LDAsMCwxLS42OC42OWgtNS44YS42OS42OSwwLDAsMS0uNjktLjY5VjcuNDRhLjY5LjY5LDAsMCwxLC42OS0uNjloNS44NWEuNjQuNjQsMCwwLDEsLjYzLjY0VjIwLjkyQS4zMy4zMywwLDAsMCw3MC41LDIxLjI1WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00xMzEuNTQsMTYuOWwtNC44MiwyLjYyYS42
8NS42NSwwLDAsMS0uODctLjE3LDI2LjA4LDI2LjA4LDAsMCwwLTIuMDctMi44NywxMC4wNywxMC4wNywwLDAsMC04LTMuNTFjLTYuMzQsMC0xMSw0Ljc5LTExLDExLjc4LDAsNy4yMyw0Ljg3LDExLjc4LDExLDExLjc4YTEwLjY2LDEwLjY2LDAsMCwwLDcuNzMtMy4yMywyNCwyNCwwLDAsMCwyLjI3LTMuMDcuNjMuNjMsMCwwLDEsLjktLjE0bDUuMDgsMi40MmEuNzEuNzEsMCwwLDEsLjE0LDEsMjguMjEsMjguMjEsMCwwLDEtMi40OCwzLjg5LDE3LjQ5LDE3LjQ5LDAsMCwxLTEzLjU5LDYuMDdjLTEwLjc1LDAtMTguMzQtNy44NC0xOC4zNC0xOC42N1MxMDUsNi4wOCwxMTUuNzksNi4wOGExNi44NiwxNi44NiwwLDAsMSwxNC4wNiw2LjgzLDIyLjM2LDIyLjM2LDAsMCwxLDEuOSwzQS42OS42OSwwLDAsMSwxMzEuNTQsMTYuOVonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNMTY4LjQ1LDQxLjg5LDE1NC45Myw3LjE1YS42NC42NCwwLDAsMC0uNTktLjRoLTcuODhhLjY0LjY0LDAsMCwwLS41OS40TDEzMi4zNSw0MS44OWEuNjMuNjMsMCwwLDAsLjU5Ljg2aDYuMTJhLjYzLjYzLDAsMCwwLC41OS0uNDFsMi45LTcuNzZhLjM0LjM0LDAsMCwxLC4zMi0uMjFoNS40NWMzLjI2LS4xOCw1LjQ3LTIuOSw1LjQ2LTYuMjNhLjM5LjM5LDAsMCwwLS4zOS0uMzhoLTcuODFhLjMzLjMzLDAsMCwxLS4zMS0uNDVMMTUwLDE0LjY4YS4zMy4zMywwLDAsMSwuNjIsMEwxNjEsNDIuMzRhLjYzLjYzLDAsMCwwLC41OS40MWg2LjNBLjYzLjYzLDAsMCwwLDE2OC40NSw0MS44OVonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNNi41OSwzMy40OGg1LjVBMy45MywzLjkzLDAsMCwxLDE2LDM3LjQxdjUuNWMwLDMuMzksMi43NCw2LjYsNi4xMyw2LjU5YS4zOC4zOCwwLDAsMCwuMzctLjM5VjM1LjM0QTguMzYsOC4zNiwwLDAsMCwxNC4xNiwyN0guMzlhLjM4LjM4LDAsMCwwLS4zOS4zN0MwLDMwLjc0LDMuMiwzMy40OCw2LjU5LDMzLjQ4WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nI2UwNTkyOScvPjxwYXRoIGQ9J002LjU5LDE2aDUuNUEzLjkzLDMuOTMsMCwwLDAsMTYsMTIuMDlWNi41OUMxNiwzLjIsMTguNzYsMCwyMi4xNSwwYS4zOC4zOCwwLDAsMSwuMzcuMzlWMTQuMTZhOC4zNiw4LjM2LDAsMCwxLTguMzYsOC4zNkguMzlBLjM4LjM4LDAsMCwxLDAsMjIuMTVDMCwxOC43NiwzLjIsMTYsNi41OSwxNlonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyNlMDU5MjknLz48cGF0aCBkPSdNNDIuOTEsMzMuNDhoLTUuNWEzLjkzLDMuOTMsMCwwLDAtMy45MywzLjkzdjUuNWMwLDMuMzktMi43NCw2LjYtNi4xMyw2LjU5YS4zOC4zOCwwLDAsMS0uMzctLjM5VjM1LjM0QTguMzYsOC4zNiwwLDAsMSwzNS4zNCwyN0g0OS4xMWEuMzguMzgsMCwwLDEsLjM5LjM3QzQ5LjUxLDMwLjc0LDQ2LjMsMzMuNDgsNDIuOTEsMzMuNDhaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjZTA1OTI5Jy8+PHBhdGggZD0nTTQyLjkxLDE2aC01LjVhMy45MywzLjkzLDAsMCwxLTMuOTMtMy45M1Y2LjU5QzMzLjQ4LDMuMiwzMC43NCwwLDI3LjM1LDBBLjM4LjM4LDAsMCwwLDI3LC4zOVYxNC4xNmE4LjM2LDguMzYsMCwwLDAsOC4zNiw4LjM2SDQ5LjExYS4zOC4zOCwwLDAsMCwuMzktLjM3QzQ5LjUxLDE4Ljc2LDQ2LjMsMTYsNDIuOTEsMTZaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjZTA1OTI5Jy8+PHBhdGggZD0nTTI1LjcyLDIwLjdhMTEsMTEsMCwwLDAsMy4wOCwzLjA4Yy45NS42MS45NSwxLjMzLDAsMS45NGExMSwxMSwwLDAsMC0zLjA4LDMuMDhjLS42MS45NS0xLjMzLjk1LTEuOTQsMGExMSwxMSwwLDAsMC0zLjA4LTMuMDhjLS45NS0uNjEtLjk1LTEuMzMsMC0xLjk0YTExLDExLDAsMCwwLDMuMDgtMy4wOEMyNC40LDE5Ljc1LDI1LjExLDE5Ljc1LDI1LjcyLDIwLjdaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjZTA1OTI5Jy8+PHBhdGggZD0nTTE4OS4zLDEzLjR2OC4yaDE4djYuNjFoLTE4VjQyLjc5aC03LjE4di0zNmgyNi40M1YxMy40WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00yMTMsNS43Nmg2LjcxdjM3SDIxM1onIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNMjI0LjU5LDMwLjMyYzAtNy41MSw1LjcxLTEzLjEyLDEzLjQ1LTEzLjEyczEzLjUsNS42MSwxMy41LDEzLjEyUzI0NS44LDQzLjQzLDIzOCw0My40MywyMjQuNTksMzcuODIsMjI0LjU5LDMwLjMyWm0yMC4wOCwwYTYuNjIsNi42MiwwLDEsMC0xMy4yNCwwLDYuNjIsNi42MiwwLDEsMCwxMy4yNCwwWicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00yNzMuNDEsMTcuNzRsLTEsNi42NmExMC44OCwxMC44OCwwLDAsMC00LjA2LS43OWMtMy4xOSwwLTUuMjUsMi01LjI1LDUuNlY0Mi43OWgtNi43MVYxNy44N2g2LjUxdjIuN2E3LjkzLDcuOTMsMCwwLDEsNy0zLjM3QTEwLjIzLDEwLjIzLDAsMCwxLDI3My40MSwxNy43NFonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNMjc2LjEsOS43MmE0LjI5LDQuMjksMCwxLDEsOC41NywwLDQuMjksNC4yOSwwLDAsMS04LjU3LDBabTcuNjQsMzMuMDdIMjc3VjE3Ljg3aDYuNzFaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjMDMxNzNlJy8+PHBhdGggZD0nTTMxNC41Niw1Ljc2djM3SDMwOFY0MGE5LjE2LDkuMTYsMCwwLDEtNy40NiwzLjM5Yy02Ljg2LDAtMTIuMDYtNS42My0xMi4wNi0xMy4xMXM1LjItMTMuMTIsMTIuMDYtMTMuMTJhOS4xMyw5LjEzLDAsMCwxLDcuMzMsMy4yNFY1Ljc2Wm0tNi4zNSwyNC41NmMwLTMuOTQtMi41OS02Ljg3LTYuNDItNi44N3MtNi40MywzLjA2LTYuNDMsNi44NywyLjQ5LDYuODYsNi40Myw2Ljg2UzMwOC4yMSwzNC4yNSwzMDguMjEsMzAuMzJaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjMDMxNzNlJy8+PHBhdGggZD0nTTM0Mi4zNCwyOC4xMVY0Mi43OWgtNi41MVY0MC4yNGE5LjUzLDkuNTMsMCwwLDEtNy41OCwzLjE5Yy01LjUzLDAtOC44Mi0zLjE5LTguODItNy44NCwwLTQuOTEsMy43My03LjgyLDEwLjMxLTcuODJoNS44NGMtLjI2LTMtMi4wNi00LjY1LTUuNTYtNC42NWExMS43OSwxMS43OSwwLDAsMC02LjgxLDIuMzRsLTIuNjItNS4xMmExNi44MiwxNi44MiwwLDAsMSwxMC4xOC0zLjE0QzMzNy44NCwxNy4yLDM0Mi4zNCwyMC44OCwzNDIuMzQsMjguMTFabS02LjYxLDUuMjdWMzIuM2gtNS4xMmMtMy4xMSwwLTQuMjEsMS4zMS00LjIxLDIuODhzMS4xLDIuNywzLjU3LDIuN0MzMzIuNjQsMzcuODgsMzM1LjczLDM2LjU0LDMzNS43MywzMy4zOFonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNODIuNTYsODcuMjh2LTEuNmExNi4zOCwxNi4zOCwwLDAsMCwzLS40MiwxLjcxLDEuNzEsMCwwLDAsLjgtLjY5LDIuNjEsMi42MSwwLDAsMCwuMzItMS40NlY3MS44N0g3MlY4Mi44MmEyLjQyLDIuNDIsMCwwLDAsLjgyLD
8IsNi41Niw2LjU2LDAsMCwwLDMuMjYuODV2MS42SDYzdi0xLjZjMi0uMDksMy4yNC0uMzYsMy42NC0uODJhMi41NiwyLjU2LDAsMCwwLC42LTEuNzVWNjAuMzdxMC0yLjY1LTQuMjQtM1Y1NS43OGgxM3YxLjU3YTguNTQsOC41NCwwLDAsMC0zLjIuNzFBMi4xOCwyLjE4LDAsMCwwLDcyLDYwLjEzdjkuNzlIODYuNzNWNjAuMzdxMC0yLjY1LTQuMTctM1Y1NS43OGgxM3YxLjU3YTguMzUsOC4zNSwwLDAsMC0zLjI1Ljc0LDIuMTYsMi4xNiwwLDAsMC0uOSwyVjgyLjgyYTIuMzEsMi4zMSwwLDAsMCwuOSwyLDcsNywwLDAsMCwzLjI1LjgzdjEuNlonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNMTE0LjMzLDgyLjE1cS0zLjA2LDUuNzMtOSw1LjczYTkuNTgsOS41OCwwLDAsMS03LjY5LTMuMjMsMTIuNiwxMi42LDAsMCwxLTIuNzctOC41MSwxMi4xMSwxMi4xMSwwLDAsMSwyLjgxLTgsOSw5LDAsMCwxLDcuMTgtMy4zNSw4LjUxLDguNTEsMCwwLDEsNi42MywyLjUyLDkuODYsOS44NiwwLDAsMSwyLjMsNi44OXYxLjQ3SDk5LjI4cTAsNC42NiwxLjksNy4yMWE2LjM1LDYuMzUsMCwwLDAsNS40MiwyLjU2LDYuMTksNi4xOSwwLDAsMCwzLjM1LS44Nyw5Ljc3LDkuNzcsMCwwLDAsMi44NS0zLjM1Wm0tNC45MS04LjM3cTAtNy4zMi00LjU5LTcuMzJhNC43Nyw0Ljc3LDAsMCwwLTMuODcsMiw5LDksMCwwLDAtMS42OCw1LjM3WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00xMzYuNjIsODYuODhhMTEuNDMsMTEuNDMsMCwwLDEtMy42Ljg0Yy0yLjMyLDAtMy42OS0xLTQuMS0zLjE3aC0uMTRhOS4yMSw5LjIxLDAsMCwxLTcuMDgsMy4yOSw1LjY3LDUuNjcsMCwwLDEtNC0xLjUsNS4yLDUuMiwwLDAsMS0xLjU5LTQsNS41NSw1LjU1LDAsMCwxLDEuNTEtNC4yLDE0LjExLDE0LjExLDAsMCwxLDUuMi0yLjY4LDQ4LjkxLDQ4LjkxLDAsMCwwLDYuMDYtMi4yMlY3MS4xYTUuMjQsNS4yNCwwLDAsMC0xLjA2LTMuMywzLjY2LDMuNjYsMCwwLDAtMy4xMi0xLjM5LDQuMTksNC4xOSwwLDAsMC0zLjEzLDEsNS4yOSw1LjI5LDAsMCwwLC4yLDEuMzEsNiw2LDAsMCwxLC4yLDEuNiwxLjc3LDEuNzcsMCwwLDEtLjc2LDEuNDYsMywzLDAsMCwxLTEuODguNTljLTEuNDIsMC0yLjEzLS44NS0yLjEzLTIuNTRxMC0yLDIuNDktMy41NGE5Ljc2LDkuNzYsMCwwLDEsNS4yOC0xLjU2YzMsMCw1LjE0LjU5LDYuMzMsMS43OVMxMzMsNjkuNTYsMTMzLDcyTDEzMi44OSw4M2EyLjQ2LDIuNDYsMCwwLDAsLjU3LDEuNzgsMiwyLDAsMCwwLDEsLjY1LDE3LjQzLDE3LjQzLDAsMCwwLDIuMTQuMDhabS03Ljc1LTExLjc0cS00LjgzLDEuNDEtNi41OSwyLjkzYTQuNzQsNC43NCwwLDAsMC0xLjc2LDMuNzVjMCwyLjM3LDEuMTQsMy41NSwzLjQsMy41NWE2LjM0LDYuMzQsMCwwLDAsNC44Mi0yLjU1WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00xMzcuOSw4Ny4yOFY4NS44MkwxMzksODUuN2MxLjQ1LS4wOCwyLjE3LS44LDIuMTctMi4xNVY2MC42MWEzLjYsMy42LDAsMCwwLS43LTIuMDZjLS40Ni0uNjgtMS43LTEuMS0zLjcyLTEuMjVWNTUuODRsOC4yNC0uNDkuMzEuMzFWODMuMjhjMCwxLjUxLDEuMSwyLjM2LDMuMjksMi41NHYxLjQ2WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00xNjMuMzMsODYuMzNhMTQuOTQsMTQuOTQsMCwwLDEtNS45MSwxLjM5cS01LDAtNS01LjI2VjY3LjU5aC00VjY1LjVoNC4wNlY1OC42OWg0VjY1LjVoNi4yNnYyLjA5SDE1Ni42Vjc5LjgyYTguNTMsOC41MywwLDAsMCwuNjksNC4xNGMuNDUuNzMsMS40MSwxLjEsMi44NiwxLjFhMTEuMTYsMTEuMTYsMCwwLDAsMy4xOC0uMzhaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjMDMxNzNlJy8+PHBhdGggZD0nTTE3OC43OCw4Ny4yOFY4NS44MmwxLjE2LS4xMmMxLjQ4LS4wOCwyLjIyLS44LDIuMjItMi4xNVY3Mi4yN2E1LjUsNS41LDAsMCwwLTEuMDYtMy41MywzLjMsMy4zLDAsMCwwLTIuNzItMS4zMyw2LjEzLDYuMTMsMCwwLDAtNS42OCwzLjMzVjgzLjMzYzAsMS40OSwxLjEyLDIuMzIsMy4zOCwyLjQ5djEuNDZIMTY1LjMzVjg1LjgybDEuMDktLjEyYzEuNDMtLjEsMi4xNS0uODIsMi4xNS0yLjE1VjYwLjQ4YTMuNjEsMy42MSwwLDAsMC0uNDMtMS43QTIuMTMsMi4xMywwLDAsMCwxNjcsNTcuN2ExMywxMywwLDAsMC0yLjc1LS40VjU1Ljg0bDguMS0uNDkuMzEuMzFWNjguNWguMDlhMTMuNDksMTMuNDksMCwwLDEsNC0zLjA5LDkuMDcsOS4wNywwLDAsMSwzLjQ0LS42NHE2LjA4LDAsNi4wOCw3LjI0VjgzLjM3YzAsMS40NywxLjA3LDIuMjgsMy4yLDIuNDV2MS40NlonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNMjA4LjcyLDgyLjJhMTEuNDQsMTEuNDQsMCwwLDEtMy44MSw0LjEsOSw5LDAsMCwxLTUsMS41OCw5LjIyLDkuMjIsMCwwLDEtNy40My0zLjE2LDEyLjcsMTIuNywwLDAsMS0yLjY5LTguNSwxMS45LDExLjksMCwwLDEsMi45NC04LjA4LDkuNDcsOS40NywwLDAsMSw3LjQ3LTMuMzcsOC4xNiw4LjE2LDAsMCwxLDUuMzEsMS41OSw1LjA2LDUuMDYsMCwwLDEsMiw0LjE0YzAsMS44OC0uNzUsMi44Mi0yLjI2LDIuODJhMywzLDAsMCwxLTItLjY1LDEuOTEsMS45MSwwLDAsMS0uNzUtMS40OSw4LjQ5LDguNDksMCwwLDEsLjI3LTJjLjE4LS43Ni4yOS0xLjI5LjMzLTEuNi0uNDMtLjc2LTEuNC0xLjEzLTIuOTEtMS4xM0E0Ljc2LDQuNzYsMCwwLDAsMTk2LDY4LjkzYy0xLjA4LDEuNjUtMS42MSw0LTEuNjEsNy4xMmExMS4zNiwxMS4zNiwwLDAsMCwxLjg1LDYuNzhBNS42Nyw1LjY3LDAsMCwwLDIwMSw4NS40MmMyLjU0LDAsNC42Mi0xLjM5LDYuMjctNC4xOFonIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDAgMCknIGZpbGw9JyMwMzE3M2UnLz48cGF0aCBkPSdNMjMwLjUxLDg2Ljg4YTExLjQzLDExLjQzLDAsMCwxLTMuNi44NGMtMi4zMiwwLTMuNjktMS00LjExLTMuMTdoLS4xM2E5LjIxLDkuMjEsMCwwLDEtNy4wOCwzLjI5LDUuNjUsNS42NSwwLDAsMS00LjA1LTEuNSw1LjIsNS4yLDAsMCwxLTEuNTktNCw1LjU1LDUuNTUsMCwwLDEsMS41MS00LjIsMTQsMTQsMCwwLDEsNS4xOS0yLjY4LDQ3LjUxLDQ3LjUxLDAsMCwwLDYuMDYtMi4yMlY3MS4xYTUuMjksNS4yOSwwLDAsMC0xLjA1LTMuMywzLjY2LDMuNjYsMCwwLDAtMy4xMi0xLjM5LDQuMTksNC4xOSwwLDAsMC0zLjEzLDEsNS4yOSw1LjI5LDAsMCwwLC4yLDEuMzEsNi40Myw2LjQzLDAsMCwxLC4yLDEuNiwxLjc4LDEuNzgsMCwwLDEtLjc3LDEuNDYsMywzLDAsMCwxLTEuODcuNTljLTEuNDIsMC0yLjEzLS44NS0yLjEzLTIuNTRxMC0yLDIuNDgtMy41NGE5Ljc5LDkuNzksMCwwLDEsNS4yOS0xLjU2YzMsMCw1LjE0LjU5LDYuMzIsMS43OXMxLjc4LDMsMS43OCw1LjQ1TDIyNi43OCw4M2EyLjUsMi41LDAsMCwwLC41NiwxLjc4LDIuMDcsMi4wNywwLDAsMCwxLC42NSwxNy42NCwxNy42NCwwLDAsMCwyLjE1LjA4Wm0tNy43NS0xMS43NHEtNC44NCwxLjQxLTYuNTksMi45M2E0Ljc0LDQuNzQsMCwwLDAtMS43NiwzLjc1cTAsMy41NiwzLjQsMy41NWE2LjM2LDYuMzYsMCwwLDAsNC44Mi0yLjU1WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00yNDQuMjMsNjcuMzdhNiw2LDAsMCwwLTQuODMsMy4yMlY4My4zM2EyLDIsMCwwLDAsLjc2LDEuNzUsNy42LDcuNiwwLDAsMCwzLjQzLjc0djEuNDZIMjMyLjA1Vjg1LjgybDEuMDYtLjEyYzEuNDQtLjEsMi4xNi0uODIsMi4xNi0yLjE1VjcwLjA1cTAtMi44OC0zLjQ3LTNWNjUuNTlsNy4yOC0uNDQuMzIuMzF2M2guMTFxMi44Ny0zLjY1LDYuMTItMy42NGEzLjA3LDMuMDcsMCwwLDEsMi4yOS45LDMuODUsMy44NSwwLDAsMSwuMjgsNC41NCwyLDIsMCwwLDEtMS42Ni44LDIuNzksMi43OSwwLDAsMS0xLjg1LS4
81OSwxLjgyLDEuODIsMCwwLDEtLjctMS40NkE3LjY0LDcuNjQsMCwwLDEsMjQ0LjIzLDY3LjM3WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00yNjguMzcsODIuMTVxLTMuMDYsNS43My05LDUuNzNhOS41OCw5LjU4LDAsMCwxLTcuNjktMy4yMywxMi42LDEyLjYsMCwwLDEtMi43Ny04LjUxLDEyLjExLDEyLjExLDAsMCwxLDIuODEtOCw5LDksMCwwLDEsNy4xOC0zLjM1LDguNTEsOC41MSwwLDAsMSw2LjYzLDIuNTIsOS44Niw5Ljg2LDAsMCwxLDIuMyw2Ljg5djEuNDdIMjUzLjMycTAsNC42NiwxLjksNy4yMWE2LjM1LDYuMzUsMCwwLDAsNS40MiwyLjU2LDYuMTksNi4xOSwwLDAsMCwzLjM1LS44Nyw5Ljc3LDkuNzcsMCwwLDAsMi44NS0zLjM1Wm0tNC45MS04LjM3cTAtNy4zMi00LjU5LTcuMzJhNC43NCw0Ljc0LDAsMCwwLTMuODYsMiw5LDksMCwwLDAtMS42OSw1LjM3WicgdHJhbnNmb3JtPSd0cmFuc2xhdGUoMCAwKScgZmlsbD0nIzAzMTczZScvPjxwYXRoIGQ9J00yNzAuNiw2Mi40NGEuODMuODMsMCwwLDAsMSwuNzksMS40OCwxLjQ4LDAsMCwwLC41Ni0uMDguNTUuNTUsMCwwLDAsLjQtLjU2LjQuNCwwLDAsMC0uMi0uMzYsMiwyLDAsMCwwLS42My0uMjNsLS40OS0uMTFhMi44NiwyLjg2LDAsMCwxLTEtLjM3LDEuMTgsMS4xOCwwLDAsMS0uNDctMSwxLjM4LDEuMzgsMCwwLDEsLjQ2LTEuMDcsMS44NCwxLjg0LDAsMCwxLDEuMzMtLjQzLDIsMiwwLDAsMSwxLjI2LjQsMS40OSwxLjQ5LDAsMCwxLC41NCwxLjE3aC0uOTNhLjcuNywwLDAsMC0uMzctLjYyLDEuMiwxLjIsMCwwLDAtLjU3LS4xMiwxLjA1LDEuMDUsMCwwLDAtLjU5LjE2LjUuNSwwLDAsMC0uMjMuNDQuNDQuNDQsMCwwLDAsLjIyLjM4LDIuNDQsMi40NCwwLDAsMCwuNjEuMTlsLjguMjFhMi4wNywyLjA3LDAsMCwxLC44LjM0LDEuMjEsMS4yMSwwLDAsMSwuNDEsMSwxLjM4LDEuMzgsMCwwLDEtLjQ5LDEuMDksMiwyLDAsMCwxLTEuMzcuNDMsMi4yLDIuMiwwLDAsMS0xLjQzLS40MiwxLjQ0LDEuNDQsMCwwLDEtLjUyLTEuMThabTYuNjktMy4zMWgxLjR2NC43OWgtLjkxVjYwLjI5YzAtLjE3LDAtLjMsMC0uMzlsLS44OCw0SDI3NmwtLjg4LTRjMCwuMDksMCwuMjIsMCwuMzl2My42M2gtLjkxVjU5LjEzaDEuNDJsLjg0LDMuNzdaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIDApJyBmaWxsPScjMDMxNzNlJy8+PC9zdmc+",ic={site:{footer:{newsletterPlaceholderText:{value:"Enter your email address"},newsletterTitle:{value:"Sign Up for Our Newsletter"},formstackId:{value:"SOME-SITECORE-ID"},emailAddressFieldName:{value:"email"},enterpriseMarketingFieldName:{value:"email"},newsletterActionUrl:{value:{href:"#",text:"Optional CTA",anchor:"",linktype:"internal",class:""}},copyright:{value:"Copyright 1999-2023 C-HCA, Inc.; All rights reserved"},footerLinks:{value:[{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms",linktype:"external",target:"",text:"Terms of Use",url:"https://hcahealthcare.com/legal/index.dot#terms"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms1",linktype:"external",target:"",text:"Notice at Collection",url:"https://hcahealthcare.com/legal/index.dot#terms1"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms2",linktype:"external",target:"",text:"Privacy Policy",url:"https://hcahealthcare.com/legal/index.dot#terms2"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms3",linktype:"external",target:"",text:"Do Not Sell My Personal Information",url:"https://hcahealthcare.com/legal/index.dot#terms3"}}]},corporateLinks:{value:`
9          <p>
10          <strong>For patients&nbsp;&nbsp;</strong>
11          <a href="http://google.com">Pricing and financial information</a>&nbsp; |&nbsp;&nbsp;
12          <a href="http://google.com">MyHealthOne</a></p>
13          <p><strong>Additional resources&nbsp;&nbsp;</strong>
14          <a href="http://google.com">For physicians</a>&nbsp; |&nbsp;&nbsp;
15          <a href="http://google.com">For nurses</a>&nbsp; |&nbsp;&nbsp;
16          <a href="http://google.com">For investors</a>
17          </p>
18          <hr />
19          <p>
20          <strong>Our organization&nbsp;&nbsp;</strong>
21          <a href="https://www.google.com">About HCA Healthcare</a>&nbsp; |&nbsp;&nbsp;
22          <a href="https://www.google.com">Government Relations</a>&nbsp; |&nbsp;&nbsp;
23          <a href="https://www.google.com">Press kit</a>&nbsp; |&nbsp;&nbsp;
24          <a href="https://www.google.com">Careers</a>&nbsp; |&nbsp;&nbsp;
25          <a href="https://www.google.com">Contact us</a>&nbsp; |&nbsp;&nbsp;
26          <a href="https://www.google.com">We Show Up</a>
27          </p>
28          <hr />
29          <p>
30          <strong>Publications&nbsp;&nbsp;</strong>
31          <a href="https://www.google.com">HCA Healthcare Today</a>&nbsp; |&nbsp;&nbsp;
32          <a href="https://www.google.com">HCA Healthcare Magazine</a>&nbsp; |&nbsp;&nbsp;
33          <a href="https://www.google.com">Impact Report</a>
34          </p>
35        `},disclaimer:{value:`<p>The terms "HCA" or the "Company" as used in this website refer to HCA Healthcare, Inc. and its 
36        affiliates, unless otherwise stated or indicated by context. The term "facilities" refers to entities 
37        owned or operated by subsidiaries or affiliates of HCA Healthcare, Inc. References herein to 
38        "HCA employees" or to "our employees" refer to employees of affiliates of HCA Healthcare, Inc.</p>`},complianceLinks:{value:[{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms4",linktype:"external",target:"_blank",text:"Legal Requirements",url:"https://hcahealthcare.com/legal/index.dot#terms4"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms5",linktype:"external",target:"_blank",text:"Notice at Collection",url:"https://hcahealthcare.com/legal/index.dot#terms5"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms6",linktype:"external",target:"_blank",text:"Terms of Use",url:"https://hcahealthcare.com/legal/index.dot#terms6"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms7",linktype:"external",target:"_blank",text:"Privacy Policy",url:"https://hcahealthcare.com/legal/index.dot#terms7"}}]},socialTitle:{value:"Follow us"},socialLinkList:{fields:{iconLinks:[{fields:{id:"{c3452a49-9265-4250-9322-90999f7e7781}",icon:{fields:{iconName:{value:"facebook"}}},link:{value:{anchor:"",href:"https://www.facebook.com",linktype:"external",target:"_blank",text:"facebook",url:"https://www.facebook.com"}}}},{fields:{id:"{c3452a49-9265-4250-9322-90999f7e7782}",icon:{fields:{iconName:{value:"insta"}}},link:{value:{anchor:"",href:"https://www.instagram.com",linktype:"external",target:"_blank",text:"instagram",url:"https://www.instagram.com"}}}},{fields:{id:"{c3452a49-9265-4250-9322-90999f7e7783}",icon:{fields:{iconName:{value:"twitter"}}},link:{value:{anchor:"",href:"https://www.twitter.com",linktype:"external",target:"_blank",text:"twitter",url:"https://www.twitter.com"}}}}]}}},identity:{address:{value:"<p><strong>HCA Healthcare Florida</strong><br />450 E Las Olas Blvd<br />Fort Lauderdale, FL 33301</p>"},mainLogo:{value:{alt:"hca logo",height:"100",src:id,width:"200"}},siteName:{value:"HCA Florida"}}},location:{footer:{newsletterPlaceholderText:{value:"Enter your email address"},newsletterTitle:{value:"Sign Up for Our Newsletter"},formstackId:{value:"SOME-SITECORE-ID"},emailAddressFieldName:{value:"email"},enterpriseMarketingFieldName:{value:"email"},newsletterActionUrl:{value:{href:"#",text:"Optional CTA",anchor:"",linktype:"internal",class:""}},copyright:{value:"Copyright 1999-2023 C-HCA, Inc.; All rights reserved"},footerLinks:{value:[{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms",linktype:"external",target:"",text:"Terms of Use",url:"https://hcahealthcare.com/legal/index.dot#terms"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms1",linktype:"external",target:"",text:"Notice at Collection",url:"https://hcahealthcare.com/legal/index.dot#terms1"}}]},complianceLinks:{value:[{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms4",linktype:"external",target:"",text:"Terms of Use",url:"https://hcahealthcare.com/legal/index.dot#terms4"}},{value:{anchor:"",href:"https://hcahealthcare.com/legal/index.dot#terms5",linktype:"external",target:"",text:"Notice at Collection",url:"https://hcahealthcare.com/legal/index.dot#terms5"}}]},socialTitle:{value:"Follow us"},socialLinkList:{fields:{iconLinks:[{fields:{id:"{c3452a49-9265-4250-9322-90999f7e7784}",icon:{fields:{iconName:{value:"facebook"}}},link:{value:{anchor:"",href:"https://www.facebook.com",linktype:"external",target:"_blank",text:"facebook",url:"https://www.facebook.com"}}}}]}}},identity:{address:{value:"<p>450 E Las Olas Blvd<br />Fort Lauderdale, FL 33301</p>"},mainLogo:{value:{alt:"hca logo",height:"100",src:id,width:"200"}},siteName:{value:"HCA Florida"}}}};ic.site.footer,ic.site.identity;let iu=({ctaTitle:e,ctaDescription:l,callToAction:t})=>{var n,i;if(!((null==e?void 0:e.value)||(null==l?void 0:l.value)||(null==(n=null==t?void 0:t.value)?void 0:n.href)))return null;let a=!!(null!=(i=null==t?void 0:t.value)&&i.href),o=!!(null!=e&&e.value||null!=l&&l.value),r=(0,tC.c)("col-12 d-flex align-items-center justify-content-center",a&&o&&"col-lg-6");return(0,tw.jsxs)("div",{className:"row corporate-bg px-2 px-lg-6 py-6 gap-6 gap-lg-0",children:[o&&(0,tw.jsx)("div",{className:r,children:(0,tw.jsxs)("div",{className:(0,tC.c)("neu-text-main-80",!a&&"text-center"),children:[(null==e?void 0:e.value)&&(0,tw.jsx)(tD,{tag:"h2",field:e,className:"neu-display-3 fw-medium mb-3"}),(null==l?void 0:l.value)&&(0,tw.jsx)(tD,{tag:"p",field:l,className:"mb-0"})]})}),a&&(0,tw.jsx)("div",{className:r,children:(0,tw.jsx)(tA,{field:t,className:"corporate-btn",kind:"primary",size:"default"})})]})},im=({data:e})=>{var l;let{footer:t}
38=e,{corporateLinks:n,copyright:i}=t,{sitecoreContext:a}=(0,tL.u)(),o=null==(l=a.theme)?void 0:l.smallLogo;return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(iu,{ctaTitle:null==t?void 0:t.ctaTitle,ctaDescription:null==t?void 0:t.ctaDescription,callToAction:null==t?void 0:t.callToAction}),(0,tw.jsxs)("div",{className:`${nX.containerFlex} neu-bg-main-100 neu-text-plain-0`,children:[(0,tw.jsx)("div",{className:"row justify-md-content-start",children:(0,tw.jsx)(tR.H,{tag:"div",field:n,className:nX.richText})}),(0,tw.jsxs)("div",{className:"row mt-4 my-md-4",children:[(0,tw.jsx)("div",{className:"col-md-6 col-12",children:o&&(0,tw.jsx)(tz,{field:o,logoClassName:"w-50"})}),(0,tw.jsx)("div",{className:"col-md-6 col-12 my-5 my-md-0",children:(0,tw.jsx)(nK,{socialTitle:null==t?void 0:t.socialTitle,socialLinkList:null==t?void 0:t.socialLinkList,socialBlockClass:"align-items-start align-items-md-end",tag:"p"})})]}),(0,tw.jsx)(n4,{copyright:i,fields:t}),(0,tw.jsx)(tR.H,{tag:"div",field:null==t?void 0:t.disclaimer,className:"mt-5"})]})]})},iv=({fields:e})=>{var l;let t=!(null!=(l=null==e?void 0:e.formstackId)&&l.value),n=(null==e?void 0:e.callToAction)&&(null==e?void 0:e.callToAction.value.href)!=="",i=(0,tC.c)("d-flex flex-column flex-lg-row",{"justify-content-center":!n}),a=(0,tC.c)("col-12 mt-5 mt-lg-0 position-relative",{"col-lg-6":!t});return(0,tw.jsxs)("div",{className:(0,tC.c)(i,"neu-bg-support-60 neu-text-plain-0 p-5"),children:[(0,tw.jsx)("div",{className:t?"d-none":"col-12 col-lg-6",children:(0,tw.jsx)(n2,{...e})}),(0,tw.jsx)("div",{className:a,children:(0,tw.jsx)(nK,{socialTitle:null==e?void 0:e.socialTitle,socialLinkList:null==e?void 0:e.socialLinkList})})]})},ip=({fields:e,data:l})=>{var t;return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(iv,{fields:null==l?void 0:l.footer}),(0,tw.jsx)(n3,{fields:e}),(0,tw.jsx)(tS,{type:"horizontal",size:"2x"}),(0,tw.jsx)(n4,{copyright:null==(t=null==l?void 0:l.footer)?void 0:t.copyright,fields:null==l?void 0:l.footer})]})},ih=({fields:e,rendering:l,params:t})=>{let{sitecoreContext:{siteAttributes:{isMarket:n,isCorporate:i}}}=(0,tL.u)(),{site:a,location:o}=e,r=n?a:o;return r?(0,tw.jsx)("div",{"data-test-id":null==l?void 0:l.componentName,children:i?(0,tw.jsx)(im,{data:r}):(0,tw.jsx)(ip,{fields:e,data:r,rendering:l,params:t})}):null};var ix=t(5632),ig=t.n(ix);let iy=(e,l)=>{let{path:t,...n}=l;return{...n,sc_lang:e}},ij=e=>{let l=(0,ix.useRouter)(),{sitecoreContext:t}=(0,tL.u)(),n=l.defaultLocale||"en-US",i=(null==t?void 0:t.language)||n,a=(0,tk.useMemo)(()=>{var l;return null==(l=null==e?void 0:e.fields)?void 0:l.map(e=>{let{friendlyName:l}=e.fields,{fields:t}=e.fields.language;return{friendlyName:l,...t}})},[e]),o=(0,tk.useCallback)(()=>{let{path:e}=l.query;if(Array.isArray(e)){let l=e.filter(Boolean),t=l.findIndex(e=>e.startsWith("_site_"));return t>=0&&l.splice(t,1),`/${l.join("/")}`}if("string"==typeof e){let l=e.replace(/\/?_site_[^/]+\/?/g,"");return l?`/${l}`:"/"}return l.pathname},[l.query,l.pathname]),r=(0,tk.useMemo)(()=>{let e=o(),t=l.query;return a.map(l=>{var i,a;let o=iy((null==(i=l.regionalIsoCode)?void 0:i.value)||(null==(a=l["Regional Iso Code"])?void 0:a.value)||n,t);return{...l,targetHref:{pathname:e,query:o}}})},[o,l.query,a,n]),s=(0,tk.useMemo)(()=>{var e,l;return null==(l=null==(e=null==a?void 0:a.find(e=>{var l,t;return(null==(l=null==e?void 0:e.regionalIsoCode)?void 0:l.value)===i||(null==(t=null==e?void 0:e["Regional Iso Code"])?void 0:t.value)===i}))?void 0:e.friendlyName)?void 0:l.value},[a,i]),d=(0,tk.useCallback)(e=>{var t,n,i,a;let o=r.find(l=>{var t;return(null==(t=null==l?void 0:l.friendlyName)?void 0:t.value)===e});if(!o||!(null!=(t=o.regionalIsoCode)&&t.value)&&!(null!=(n=o["Regional Iso Code"])&&n.value)||!o.targetHref){console.warn("Selected language not found or missing ISO code/target href:",e);return}let s=(null==(i=null==o?void 0:o.regionalIsoCode)?void 0:i.value)||(null==(a=null==o?void 0:o["Regional Iso Code"])?void 0:a.value);l.replace({pathname:o.targetHref.pathname,query:o.targetHref.query},o.targetHref,{locale:s})},[l,r]);return{availableLanguages:r,selectedFriendlyName:s,changeLanguage:d}};var iN=t(3955);let ib=/^[^\s][a-zA-Z0-9-`.':()[\],&?®|\s]*$/,iw=e=>{let l;let t=e.asPath.split(/[?#]/)[0];return t?"/"!==(l=t)&&l.endsWith("/")?l.slice(0,-1):l:"/"},iL=(e,l,t)=>{t?l.push(e):"u">typeof window?window.location.href=e:console.warn("Cannot navigate to URL on server side without routing:",e)},iC=({condition:e,wrapper:l,wrappedJSX:t})=>e?l(t):t;function iS(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let ik=({text:e,highlight:l,className:t})=>{if(!l.trim())return(0,tw.jsx)("span",{className:t,children:e});let n=iS(l),i=RegExp(`(${n})`,"gi"),a=null==e?void 0:e.split(i);return(0,tw.jsx)("span",{className:t,children:null==a?void 0:a.map((e,l)=>i.test(e)?(0,tw.jsx)("strong",{children:e},l):e)})},iM=({isLoading:e,className:l})=>e?(0,tw.jsx)("div",{className:(0,tC.c)("input-spinner",l),children:(0,tw.jsx)(tE.$V,{kind:"spinner",color:"main",direction:"horizontal",className:"gap-0"})}):null;!function(){try{if("u">typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(`._playIcon_3xgwd_1{background:transparent;border:0 none;cursor:pointer;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}._playIcon_3xgwd_1 span{border-radius:50%;color:var(--neu-plain-0);font-size:78px;transition-duration:.2s;transition-property:transform;font-variation-settings:normal}._playIcon_3xgwd_1:hover i,._playIcon_3xgwd_1:focus i{transform:scale(1.3)}._opacity_3xgwd_23{opacity:.77}
39._extendedDropdown_17k1l_1 .unit-dropdown .dropdown-menu{max-height:clamp(150px,80vh,500px)!important}
40@media (min-width: 992px){._overlay_1tz1r_2{margin-top:-6rem}}@media (min-width: 992px){._corpOverlay_1tz1r_8{margin-top:-8rem}}._hideEmpty_1tz1r_13:has(>div:empty){display:none}
41._richText_1ghed_1 a:not(._neu-button_1ghed_1){color:var(--neu-plain-0);font-size:14px;text-decoration:none}._richText_1ghed_1 a:not(._neu-button_1ghed_1):hover,._richText_1ghed_1 a:not(._neu-button_1ghed_1):focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._richText_1ghed_1 strong{font-weight:600}._richText_1ghed_1 hr{border:none;background-color:var(--neu-plain-0);height:1px;width:100%;margin:20px 0}a._corpLinks_1ghed_24{color:var(--neu-plain-0);text-decoration:none}a._corpLinks_1ghed_24:hover,a._corpLinks_1ghed_24:focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._containerFlex_1ghed_37{padding:35px}@media (min-width: 992px){._containerFlex_1ghed_37{padding:35px 72px}}
42@media (min-width: 576px){._standaloneSearch_10kr5_2{min-width:20rem}}._standaloneSearch_10kr5_2 .unit-dropdown{width:100%}._standaloneSearch_10kr5_2 .neu-form--support:empty{display:none}._standaloneSearch_10kr5_2 .unit-wrapper:before{all:unset}._standaloneSearch_10kr5_2 .neu-form__native{padding:var(--form-padding);padding-right:calc(40px + var(--neu-spacer-3));min-width:18rem}._standaloneSearch_10kr5_2 .neu-form__native::-webkit-search-cancel-button{margin-top:.1rem}@media (min-width: 992px){._corporateStandalone_10kr5_25{min-width:19rem}._corporateStandalone_10kr5_25 label{color:var(--neu-plain-0)}}._standaloneSearch_10kr5_2+.input-spinner{--feedback-padding-right: calc(40px + var(--neu-spacer-3));--feedback-padding-bottom: var(--neu-spacer-3)}._standaloneButton_10kr5_37.with-label{top:calc(1.375rem + var(--neu-spacer-2))}`)),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();let iD=3,iT="storedLocation",iI={extendedDropdown:"_extendedDropdown_17k1l_1"},iE=tk.forwardRef(({wrapperClassName:e,className:l,disabled:t,color:n,items:i,itemsLoading:a=!1,name:o,placeholder:r,label:s,labelHidden:d=!1,selectItemIcon:c,onSelected:u,onTypeaheadKeyPress:m,onNeuBlur:v,onNeuFocus:p,resultsCTA:f,popperStrategy:h,invalid:x,debounce:g=100,selectItem:y=null,onCtaClick:j,onKeyUp:N,isGlobalSiteSearch:b,...w},L)=>{let[C,S]=tk.useState(null),[k,M]=tk.useState(!0),[D,T]=tk.useState(void 0),I=tk.useRef(!0),{t:E}=(0,tB.QT)(),A=(0,iN.Gc)(),_=(0,iN.cI)(),{control:F,setValue:P,setFocus:O,watch:z}
42=A||_,R=z(o);tk.useEffect(()=>{y&&S(y)},[y]),tk.useEffect(()=>{(async function(){u&&await u(C),C&&P(o,C.preferredValue??C.value)})(),T(k&&C&&C.id&&C.id!==iT?`${o}-typeahead-option-${C.id}`:void 0)},[C]);let[B,U]=tk.useState(!1);tk.useEffect(()=>{U(!1),R&&R.length>=iD&&(I.current=!1),I.current||M(!!R&&R.length>=iD-1&&!C&&!x)},[R,x,C]);let H=(e,l)=>{l.onSelected&&l.onSelected(),S(l),P(o,l.preferredValue??l.value),O(o,{shouldSelect:!1})};if(!i)return null;let Z=(0,tC.c)("neu-text-caption neu-bg-plain-0 neu-bg-gray-10-hover cursor-pointer py-1 transition-background-color duration-300"),Q=(0,tC.c)("neu-text-support","neu-bg-gray-0","py-0");return(0,tw.jsx)(iN.Qr,{name:o,control:F,render:({field:u})=>{let{onBlur:y,...T}=u,{onBlur:A,onFocus:_,...F}=w;return(0,tw.jsxs)("div",{className:(0,tC.c)("position-relative d-flex flex-column justify-content-center",e),children:[(0,tw.jsxs)(tE._i,{autoComplete:"off",className:(0,tC.c)("typeahead",l,iI.extendedDropdown,a?"loading":""),dropdown:k,color:n,label:s,labelHidden:d,popperStrategy:h,disabled:t,debounce:g,placeholder:r,invalid:x,role:"combobox","aria-label":E("Search.Result.Results"),"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":`${o}-typeahead-listbox`,"aria-expanded":k,"aria-describedby":`${o}-typeahead-noresults ${o}-typeahead-searchstatus`,"aria-activedescendant":D,onKeyUp:e=>{N&&N(e),b&&"Enter"===e.key&&M(!1)},onNeuChange:e=>{S(null),null==m||m(e.value),U(!0),e.value||I.current||P(o,void 0)},onNeuFocus:e=>{I.current||M(!!R&&R.length>=iD&&!C&&!x),null==p||p(e),null==_||_(e)},onNeuBlur:e=>{y(),null==v||v(e),null==A||A(e)},...T,...F,ref:L,children:[B&&(0,tw.jsxs)(tw.Fragment,{children:[i.length>0&&i.map(e=>(0,tw.jsx)("div",{tabIndex:0,id:`${o}-typeahead-option-${e.id}`,role:"option","aria-disabled":e.isHeader?"true":"false","aria-selected":(null==C?void 0:C.id)===e.id,className:`d-flex align-items-center px-2 ${e.isHeader?Q:Z}`,onClick:l=>{e.isHeader||H(l,e)},onKeyDown:l=>{e.isHeader||"Enter"!==l.key||H(l,e)},children:(0,tw.jsxs)("div",{children:[c&&(0,tw.jsx)(tE.JK,{name:c,className:"pe-1"}),(0,tw.jsx)(ik,{text:null==e?void 0:e.value,highlight:R})]})},e.id)),i.length>0&&f&&(0,tw.jsx)("div",{className:"w-100 px-2 py-1 border-top border-neu-gray-10",children:(0,tw.jsxs)(tI.M,{className:"neu-text-caption p-0 neu-link--forced",href:f.link.href,target:f.link.target,rel:f.link.rel,role:"option",id:`${o}-typeahead-option-cta`,"aria-selected":!1,onClick:e=>{j&&(j(e),M(!1))},children:[f.label,(0,tw.jsx)(tE.JK,{name:"arrow_right_alt",className:"ps-1"})]})})]}),!a&&i.length>0&&B&&(0,tw.jsxs)("div",{"aria-live":"polite",role:"option",className:"sr-only",id:`${o}-typeahead-searchstatus`,children:[`${i.length} results found for ${R}`,f&&(0,tw.jsxs)(tw.Fragment,{children:[". ",`Last option is ${f.label}`]})]}),!a&&i.length<1&&B&&(0,tw.jsx)("div",{"aria-live":"polite",role:"option",className:"d-flex align-items-center p-1","aria-label":E("Search.Result.NoKeyword"),id:`${o}-typeahead-noresults`,children:(0,tw.jsx)("span",{className:"neu-text-caption",children:E("Search.Result.NoKeyword")})})]}),(0,tw.jsx)(iM,{isLoading:a})]})}})});iE.displayName="Typeahead";var iA=t(2282);function i_(){return f||(f=1,p=TypeError),p}let iF=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})),iP=(0,iA.a)(iF);function iO(){if(x)return h;x=1;var e="function"==typeof Map&&Map.prototype,l=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=e&&l&&"function"==typeof l.get?l.get:null,n=e&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=i&&a&&"function"==typeof a.get?a.get:null,r=i&&Set.prototype.forEach,s="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,c="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,u=Boolean.prototype.valueOf,m=Object.prototype.toString,v=Function.prototype.toString,p=String.prototype.match,f=String.prototype.slice,g=String.prototype.replace,y=String.prototype.toUpperCase,j=String.prototype.toLowerCase,N=RegExp.prototype.test,b=Array.prototype.concat,w=Array.prototype.join,L=Array.prototype.slice,C=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function A(e,l){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||N.call(/e/,l))return l;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-C(-e):C(e);if(n!==e){var i=String(n),a=f.call(l,i.length+1);return g.call(i,t,"$&_")+"."+g.call(g.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(l,t,"$&_")}var _=iP,F=_.custom,P=V(F)?F:null,O={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function R(e,l,t){var n=O[t.quoteStyle||l];return n+e+n}function B(e){return g.call(String(e),/"/g,"&quot;")}function U(e){return!T||!("object"==typeof e&&(T in e||"u">typeof e[T]))}function H(e){return"[object Array]"===X(e)&&U(e)}function Z(e){return"[object Date]"===X(e)&&U(e)}function Q(e){return"[object RegExp]"===X(e)&&U(e)}function Y(e){return"[object Error]"===X(e)&&U(e)}function $(e){return"[object String]"===X(e)&&U(e)}function q(e){return"[object Number]"===X(e)&&U(e)}function W(e){return"[object Boolean]"===X(e)&&U(e)}function V(e){if(D)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
vendor: 8,263 bytes, lines 42-45
42if(!e||"object"!=typeof e||!M)return!1;try{return M.call(e),!0}catch{}return!1}function G(e){if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch{}return!1}h=function e(l,i,a,s){var d=i||{};if(K(d,"quoteStyle")&&!K(O,d.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(K(d,"maxStringLength")&&("number"==typeof d.maxStringLength?d.maxStringLength<0&&d.maxStringLength!==1/0:null!==d.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!K(d,"customInspect")||d.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(d,"indent")&&null!==d.indent&&"	"!==d.indent&&!(parseInt(d.indent,10)===d.indent&&d.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(d,"numericSeparator")&&"boolean"!=typeof d.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=d.numericSeparator;if(typeof l>"u")return"undefined";if(null===l)return"null";if("boolean"==typeof l)return l?"true":"false";if("string"==typeof l)return es(l,d);if("number"==typeof l){if(0===l)return 1/0/l>0?"0":"-0";var v=String(l);return m?A(l,v):v}if("bigint"==typeof l){var p=String(l)+"n";return m?A(l,p):p}var h=typeof d.depth>"u"?5:d.depth;if(typeof a>"u"&&(a=0),a>=h&&h>0&&"object"==typeof l)return H(l)?"[Array]":"[Object]";var x=ep(d,a);if(typeof s>"u")s=[];else if(el(s,l)>=0)return"[Circular]";function y(l,t,n){if(t&&(s=L.call(s)).push(t),n){var i={depth:d.depth};return K(d,"quoteStyle")&&(i.quoteStyle=d.quoteStyle),e(l,i,a+1,s)}return e(l,d,a+1,s)}if("function"==typeof l&&!Q(l)){var N=ee(l),C=eh(l,y);return"[Function"+(N?": "+N:" (anonymous)")+"]"+(C.length>0?" { "+w.call(C,", ")+" }":"")}if(V(l)){var k=D?g.call(String(l),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(l);return"object"!=typeof l||D?k:ec(k)}if(er(l)){for(var F="<"+j.call(String(l.nodeName)),z=l.attributes||[],U=0;U<z.length;U++)F+=" "+z[U].name+"="+R(B(z[U].value),"double",d);return F+=">",l.childNodes&&l.childNodes.length&&(F+="..."),F+="</"+j.call(String(l.nodeName))+">"}if(H(l)){if(0===l.length)return"[]";var J=eh(l,y);return x&&!ev(J)?"["+ef(J,x)+"]":"[ "+w.call(J,", ")+" ]"}if(Y(l)){var ed=eh(l,y);return"cause"in Error.prototype||!("cause"in l)||I.call(l,"cause")?0===ed.length?"["+String(l)+"]":"{ ["+String(l)+"] "+w.call(ed,", ")+" }":"{ ["+String(l)+"] "+w.call(b.call("[cause]: "+y(l.cause),ed),", ")+" }"}if("object"==typeof l&&c){if(P&&"function"==typeof l[P]&&_)return _(l,{depth:h-a});if("symbol"!==c&&"function"==typeof l.inspect)return l.inspect()}if(et(l)){var ex=[];return n&&n.call(l,function(e,t){ex.push(y(t,l,!0)+" => "+y(e,l))}),em("Map",t.call(l),ex,x)}if(ea(l)){var eg=[];return r&&r.call(l,function(e){eg.push(y(e,l))}),em("Set",o.call(l),eg,x)}if(en(l))return eu("WeakMap");if(eo(l))return eu("WeakSet");if(ei(l))return eu("WeakRef");if(q(l))return ec(y(Number(l)));if(G(l))return ec(y(S.call(l)));if(W(l))return ec(u.call(l));if($(l))return ec(y(String(l)));if("u">typeof window&&l===window)return"{ [object Window] }";if("u">typeof globalThis&&l===globalThis||"u">typeof iA.c&&l===iA.c)return"{ [object globalThis] }";if(!Z(l)&&!Q(l)){var ey=eh(l,y),ej=E?E(l)===Object.prototype:l instanceof Object||l.constructor===Object,eN=l instanceof Object?"":"null prototype",eb=!ej&&T&&Object(l)===l&&T in l?f.call(X(l),8,-1):eN?"Object":"",ew=(ej||"function"!=typeof l.constructor?"":l.constructor.name?l.constructor.name+" ":"")+(eb||eN?"["+w.call(b.call([],eb||[],eN||[]),": ")+"] ":"");return 0===ey.length?ew+"{}":x?ew+"{"+ef(ey,x)+"}":ew+"{ "+w.call(ey,", ")+" }"}return String(l)};var J=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,l){return J.call(e,l)}function X(e){return m.call(e)}function ee(e){if(e.name)return e.name;var l=p.call(v.call(e),/^function\s*([\w$]+)/);return l?l[1]:null}function el(e,l){if(e.indexOf)return e.indexOf(l);for(var t=0,n=e.length;t<n;t++)if(e[t]===l)return t;return -1}function et(e){if(!t||!e||"object"!=typeof e)return!1;try{t.call(e);try{o.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function en(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e,s);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function ei(e){if(!c||!e||"object"!=typeof e)return!1;try{return c.call(e),!0}catch{}return!1}function ea(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{t.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function eo(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{s.call(e,s)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function er(e){return!!e&&"object"==typeof e&&(!!("u">typeof HTMLElement&&e instanceof HTMLElement)||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}function es(e,l){if(e.length>l.maxStringLength){var t=e.length-l.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return es(f.call(e,0,l.maxStringLength),l)+n}var i=z[l.quoteStyle||"single"];return i.lastIndex=0,R(g.call(g.call(e,i,"\\$1"),/[\x00-\x1f]/g,ed),"single",l)}function ed(e){var l=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[l];return t?"\\"+t:"\\x"+(l<16?"0":"")+y.call(l.toString(16))}function ec(e){return"Object("+e+")"}function eu(e){return e+" { ? }"}function em(e,l,t,n){return e+" ("+l+") {"+(n?ef(t,n):w.call(t,", "))+"}"}function ev(e){for(var l=0;l<e.length;l++)if(el(e[l],`
43`)>=0)return!1;return!0}function ep(e,l){var t;if("	"===e.indent)t="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;t=w.call(Array(e.indent+1)," ")}return{base:t,prev:w.call(Array(l+1),t)}}function ef(e,l){if(0===e.length)return"";var t=`
44`+l.prev+l.base;return t+w.call(e,","+t)+`
45`+l.prev}function eh(e,l){var t=H(e),n=[];if(t){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=K(e,i)?l(e[i],e):""}var a,o="function"==typeof k?k(e):[];if(D){a={};for(var r=0;r<o.length;r++)a["$"+o[r]]=o[r]}for(var s in e)K(e,s)&&(t&&String(Number(s))===s&&s<e.length||D&&a["$"+s]instanceof Symbol||(N.call(/[^\w$]/,s)?n.push(l(s,e)+": "+l(e[s],e)):n.push(s+": "+l(e[s],e))));if("function"==typeof k)for(var d=0;d<o.length;d++)I.call(e,o[d])&&n.push("["+l(o[d])+"]: "+l(e[o[d]],e));return n}return h}function iz(){if(y)return g;y=1;var e=iO(),l=i_(),t=function(e,l,t){for(var n,i=e;null!=(n=i.next);i=n)if(n.key===l)return i.next=n.next,t||(n.next=e.next,e.next=n),n},n=function(e,l){if(e){var n=t(e,l);return n&&n.value}},i=function(e,l,n){var i=t(e,l);i?i.value=n:e.next={key:l,next:e.next,value:n}},a=function(e,l){return!!e&&!!t(e,l)},o=function(e,l){if(e)return t(e,l,!0)};return g=function(){var t,r={assert:function(t){if(!r.has(t))throw new l("Side channel does not contain "+e(t))},delete:function(e){var l=o(t,e);return l&&t&&!t.next&&(t=void 0),!!l},get:function(e){return n(t,e)},has:function(e){return a(t,e)},set:function(e,l){t||(t={next:void 0}),i(t,e,l)}};return r}}function iR(){return N||(N=1,j=Object),j}function iB(){return w||(w=1,b=Error),b}function iU(){return C||(C=1,L=EvalError),L}function iH(){return k||(k=1,S=RangeError),S}function iZ(){return D||(D=1,M=ReferenceError),M}function iQ(){return I||(I=1,T=SyntaxError),T}function iY(){return A||(A=1,E=URIError),E}function i$(){return F||(F=1,_=Math.abs),_}function iq(){return O||(O=1,P=Math.floor),P}function iW(){return R||(R=1,z=Math.max),z}function iV(){return U||(U=1,B=Math.min),B}function iG(){return Z||(Z=1,H=Math.pow),H}function iJ(){return Y||(Y=1,Q=Math.round),Q}function iK(){return q||(q=1,$=Number.isNaN||function(e){return e!=e}),$}function iX(){if(V)return W;V=1;var e=iK();return W=function(l){return e(l)||0===l?l:l<0?-1:1}}function i0(){return J||(J=1,G=Object.getOwnPropertyDescriptor),G}function i1(){if(X)return K;X=1;var e=i0();if(e)try{e([],"length")}catch{e=null}return K=e}function i4(){if(el)return ee;el=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return ee=e}function i3(){return en||(en=1,et=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},l=Symbol("test"),t=Object(l);
45if("string"==typeof l||"[object Symbol]"!==Object.prototype.toString.call(l)||"[object Symbol]"!==Object.prototype.toString.call(t))return!1;var n=42;for(var i in e[l]=n,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==l||!Object.prototype.propertyIsEnumerable.call(e,l))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,l);if(o.value!==n||!0!==o.enumerable)return!1}return!0}),et}function i5(){if(ea)return ei;ea=1;var e="u">typeof Symbol&&Symbol,l=i3();return ei=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"==typeof e("foo")&&"symbol"==typeof Symbol("bar")&&l()}}function i2(){return er||(er=1,eo="u">typeof Reflect&&Reflect.getPrototypeOf||null),eo}function i6(){return ed?es:(ed=1,es=iR().getPrototypeOf||null)}function i9(){if(eu)return ec;eu=1;var e="Function.prototype.bind called on incompatible ",l=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(e,l){for(var t=[],n=0;n<e.length;n+=1)t[n]=e[n];for(var i=0;i<l.length;i+=1)t[i+e.length]=l[i];return t},a=function(e,l){for(var t=[],n=l,i=0;n<e.length;n+=1,i+=1)t[i]=e[n];return t},o=function(e,l){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=l);return t};return ec=function(r){var s=this;if("function"!=typeof s||l.apply(s)!==n)throw TypeError(e+s);for(var d,c=a(arguments,1),u=function(){if(this instanceof d){var e=s.apply(this,i(c,arguments));return Object(e)===e?e:this}return s.apply(r,i(c,arguments))},m=t(0,s.length-c.length),v=[],p=0;p<m;p++)v[p]="$"+p;if(d=Function("binder","return function ("+o(v,",")+"){ return binder.apply(this,arguments); }")(u),s.prototype){var f=function(){};f.prototype=s.prototype,d.prototype=new f,f.prototype=null}return d}}function i8(){if(ev)return em;ev=1;var e=i9();return em=Function.prototype.bind||e}function i7(){return ef||(ef=1,ep=Function.prototype.call),ep}function ae(){return ex||(ex=1,eh=Function.prototype.apply),eh}function al(){return ey||(ey=1,eg="u">typeof Reflect&&Reflect&&Reflect.apply),eg}function at(){if(eN)return ej;eN=1;var e=i8(),l=ae(),t=i7();return ej=al()||e.call(t,l)}function an(){if(ew)return eb;ew=1;var e=i8(),l=i_(),t=i7(),n=at();return eb=function(i){if(i.length<1||"function"!=typeof i[0])throw new l("a function is required");return n(e,t,i)}}function ai(){if(eC)return eL;eC=1;var e,l=an(),t=i1();try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return eL=n&&"function"==typeof n.get?l([n.get]):"function"==typeof a&&function(e){return a(null==e?e:i(e))}}function aa(){if(ek)return eS;ek=1;var e=i2(),l=i6(),t=ai();return eS=e?function(l){return e(l)}:l?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return l(e)}:t?function(e){return t(e)}:null}function ao(){if(eD)return eM;eD=1;var e=Function.prototype.call,l=Object.prototype.hasOwnProperty;return eM=i8().call(e,l)}function ar(){if(eI)return eT;eI=1;var e,l=iR(),t=iB(),n=iU(),i=iH(),a=iZ(),o=iQ(),r=i_(),s=iY(),d=i$(),c=iq(),u=iW(),m=iV(),v=iG(),p=iJ(),f=iX(),h=Function,x=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch{}},g=i1(),y=i4(),j=function(){throw new r},N=g?function(){try{return arguments.callee,j}catch{try{return g(arguments,"callee").get}catch{return j}}}():j,b=i5()(),w=aa(),L=i6(),C=i2(),S=ae(),k=i7(),M={},D=typeof Uint8Array>"u"||!w?e:w(Uint8Array),T={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":b&&w?w([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":M,"%AsyncGenerator%":M,"%AsyncGeneratorFunction%":M,"%AsyncIteratorPrototype%":M,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":M,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 11,788 bytes, line 45
45"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":b&&w?w(w([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":!(typeof Map>"u")&&b&&w?w(new Map()[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":l,"%Object.getOwnPropertyDescriptor%":g,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":!(typeof Set>"u")&&b&&w?w(new Set()[Symbol.iterator]()):e,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":b&&w?w(""[Symbol.iterator]()):e,"%Symbol%":b?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":N,"%TypedArray%":D,"%TypeError%":r,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":s,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":S,"%Object.defineProperty%":y,"%Object.getPrototypeOf%":L,"%Math.abs%":d,"%Math.floor%":c,"%Math.max%":u,"%Math.min%":m,"%Math.pow%":v,"%Math.round%":p,"%Math.sign%":f,"%Reflect.getPrototypeOf%":C};if(w)try{null.error}catch(e){var I=w(w(e));T["%Error.prototype%"]=I}var E=function e(l){var t;if("%AsyncFunction%"===l)t=x("async function () {}");else if("%GeneratorFunction%"===l)t=x("function* () {}");else if("%AsyncGeneratorFunction%"===l)t=x("async function* () {}");else if("%AsyncGenerator%"===l){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if("%AsyncIteratorPrototype%"===l){var i=e("%AsyncGenerator%");i&&w&&(t=w(i.prototype))}return T[l]=t,t},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=i8(),F=ao(),P=_.call(k,Array.prototype.concat),O=_.call(S,Array.prototype.splice),z=_.call(k,String.prototype.replace),R=_.call(k,String.prototype.slice),B=_.call(k,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,Z=function(e){var l=R(e,0,1),t=R(e,-1);if("%"===l&&"%"!==t)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==l)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return z(e,U,function(e,l,t,i){n[n.length]=t?z(i,H,"$1"):l||e}),n},Q=function(e,l){var t,n=e;if(F(A,n)&&(n="%"+(t=A[n])[0]+"%"),F(T,n)){var i=T[n];if(i===M&&(i=E(n)),typeof i>"u"&&!l)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};return eT=function(e,l){if("string"!=typeof e||0===e.length)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof l)throw new r('"allowMissing" argument must be a boolean');if(null===B(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=Z(e),n=t.length>0?t[0]:"",i=Q("%"+n+"%",l),a=i.name,s=i.value,d=!1,c=i.alias;c&&(n=c[0],O(t,P([0,1],c)));for(var u=1,m=!0;u<t.length;u+=1){var v=t[u],p=R(v,0,1),f=R(v,-1);if(('"'===p||"'"===p||"`"===p||'"'===f||"'"===f||"`"===f)&&p!==f)throw new o("property names with quotes must have matching quotes");if("constructor"!==v&&m||(d=!0),n+="."+v,F(T,a="%"+n+"%"))s=T[a];else if(null!=s){if(!(v in s)){if(!l)throw new r("base intrinsic for "+e+" exists, but the property is not available.");return}if(g&&u+1>=t.length){var h=g(s,v);s=(m=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:s[v]}else m=F(s,v),s=s[v];m&&!d&&(T[a]=s)}}return s}}function as(){if(eA)return eE;eA=1;var e=ar(),l=an(),t=l([e("%String.prototype.indexOf%")]);return eE=function(n,i){var a=e(n,!!i);return"function"==typeof a&&t(n,".prototype.")>-1?l([a]):a}}function ad(){if(eF)return e_;eF=1;var e=ar(),l=as(),t=iO(),n=i_(),i=e("%Map%",!0),a=l("Map.prototype.get",!0),o=l("Map.prototype.set",!0),r=l("Map.prototype.has",!0),s=l("Map.prototype.delete",!0),d=l("Map.prototype.size",!0);return e_=!!i&&function(){var e,l={assert:function(e){if(!l.has(e))throw new n("Side channel does not contain "+t(e))},delete:function(l){if(e){var t=s(e,l);return 0===d(e)&&(e=void 0),t}return!1},get:function(l){if(e)return a(e,l)},has:function(l){return!!e&&r(e,l)},set:function(l,t){e||(e=new i),o(e,l,t)}};return l}}function ac(){if(eO)return eP;eO=1;var e=ar(),l=as(),t=iO(),n=ad(),i=i_(),a=e("%WeakMap%",!0),o=l("WeakMap.prototype.get",!0),r=l("WeakMap.prototype.set",!0),s=l("WeakMap.prototype.has",!0),d=l("WeakMap.prototype.delete",!0);return eP=a?function(){var e,l,c={assert:function(e){if(!c.has(e))throw new i("Side channel does not contain "+t(e))},delete:function(t){if(a&&t&&("object"==typeof t||"function"==typeof t)){if(e)return d(e,t)}else if(n&&l)return l.delete(t);return!1},get:function(t){return a&&t&&("object"==typeof t||"function"==typeof t)&&e?o(e,t):l&&l.get(t)},has:function(t){return a&&t&&("object"==typeof t||"function"==typeof t)&&e?s(e,t):!!l&&l.has(t)},set:function(t,i){a&&t&&("object"==typeof t||"function"==typeof t)?(e||(e=new a),r(e,t,i)):n&&(l||(l=n()),l.set(t,i))}};return c}:n}function au(){if(eR)return ez;eR=1;var e=i_(),l=iO(),t=iz(),n=ad(),i=ac()||n||t;return ez=function(){var t,n={assert:function(t){if(!n.has(t))throw new e("Side channel does not contain "+(t&&Object(t)===t?"the given object key":l(t)))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,l){t||(t=i()),t.set(e,l)}};return n}}function am(){if(eU)return eB;eU=1;var e=String.prototype.replace,l=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return eB={default:t.RFC3986,formatters:{RFC1738:function(t){return e.call(t,l,"+")},RFC3986:function(e){return String(e)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986}}function av(){if(eZ)return eH;eZ=1;var e=am(),l=au(),t=i4(),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=l(),o=function(e,l){return a.set(e,l),e},r=function(e){return a.has(e)},s=function(e){return a.get(e)},d=function(e,l){a.set(e,l)},c=function(){for(var e=[],l=0;l<256;++l)e[e.length]="%"+((l<16?"0":"")+l.toString(16)).toUpperCase();return e}(),u=function(e){for(;e.length>1;){var l=e.pop(),t=l.obj[l.prop];if(i(t)){for(var n=[],a=0;a<t.length;++a)"u">typeof t[a]&&(n[n.length]=t[a]);l.obj[l.prop]=n}}},m=function(e,l){for(var t=l&&l.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)"u">typeof e[n]&&(t[n]=e[n]);return t},v=function(e,l,n){"__proto__"===l&&t?t(e,l,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[l]=n},p=function e(l,t,a){if(!t)return l;if("object"!=typeof t&&"function"!=typeof t){if(i(l)){var c=l.length;if(a&&"number"==typeof a.arrayLimit&&c>=a.arrayLimit){if(a.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+a.arrayLimit+" element"+(1===a.arrayLimit?"":"s")+" allowed in an array.");return o(m(l.concat(t),a),c)}l[c]=t}else if(!l||"object"!=typeof l)return[l,t];else if(r(l)){var u=s(l)+1;l[u]=t,d(l,u)}else{if(a&&a.strictMerge)return[l,t];(a&&(a.plainObjects||a.allowPrototypes)||!n.call(Object.prototype,t))&&(l[t]=!0)}return l}if(!l||"object"!=typeof l){if(r(t)){for(var p=Object.keys(t),f=a&&a.plainObjects?{__proto__:null,0:l}:{0:l},h=0;h<p.length;h++)f[parseInt(p[h],10)+1]=t[p[h]];return o(f,s(t)+1)}var x=[l].concat(t);if(a&&"number"==typeof a.arrayLimit&&x.length>a.arrayLimit){if(a.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+a.arrayLimit+" element"+(1===a.arrayLimit?"":"s")+" allowed in an array.");return o(m(x,a),x.length-1)}return x}var g=l;if(i(l)&&!i(t)&&(g=m(l,a)),i(l)&&i(t)){if(t.forEach(function(t,i){if(n.call(l,i)){var o=l[i];o&&"object"==typeof o&&t&&"object"==typeof t?l[i]=e(o,t,a):l[l.length]=t}else l[i]=t}),a&&"number"==typeof a.arrayLimit&&l.length>a.arrayLimit){if(a.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+a.arrayLimit+" element"+(1===a.arrayLimit?"":"s")+" allowed in an array.");return o(m(l,a),l.length-1)}return l}return Object.keys(t).reduce(function(l,i){var c=t[i];if(n.call(l,i)?v(l,i,e(l[i],c,a)):v(l,i,c),r(t)&&!r(l)&&o(l,s(t)),r(l)){var u=parseInt(i,10);String(u)===i&&u>=0&&u>s(l)&&d(l,u)}return l},g)},f=1024,h=function(e,l,t,n,i){if(r(e)){if(i)throw RangeError("Array limit exceeded. Only "+t+" element"+(1===t?"":"s")+" allowed in an array.");var a=s(e)+1;return e[a]=l,d(e,a),e}var c=[].concat(e,l);if(c.length>t){if(i)throw RangeError("Array limit exceeded. Only "+t+" element"+(1===t?"":"s")+" allowed in an array.");return o(m(c,{plainObjects:n}),c.length-1)}return c};return eH={arrayToObject:m,assign:function(e,l){return Object.keys(l).reduce(function(e,t){return v(e,t,l[t]),e},e)},combine:h,compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=l(),i=0;i<t.length;++i)for(var a=t[i],o=a.obj[a.prop],r=Object.keys(o),s=0;s<r.length;++s){var d=r[s],c=o[d];"object"!=typeof c||null===c||n.has(c)||(t[t.length]={obj:o,prop:d},n.set(c,!0))}return u(t),e},decode:function(e,l,t){var n=e.replace(/\+/g," ");
45if("iso-8859-1"===t)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},encode:function(l,t,n,i,a){if(0===l.length)return l;var o=l;if("symbol"==typeof l?o=Symbol.prototype.toString.call(l):"string"!=typeof l&&(o=String(l)),"iso-8859-1"===n)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var r="",s=0;s<o.length;s+=f){var d=o.length>=f?o.slice(s,s+f):o;if(s+f<o.length){var u=d.charCodeAt(d.length-1);u>=55296&&u<=56319&&(d=d.slice(0,-1),s-=1)}for(var m=[],v=0;v<d.length;++v){var p=d.charCodeAt(v);if(45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===e.RFC1738&&(40===p||41===p)){m[m.length]=d.charAt(v);continue}if(p<128){m[m.length]=c[p];continue}if(p<2048){m[m.length]=c[192|p>>6]+c[128|63&p];continue}if(p<55296||p>=57344){m[m.length]=c[224|p>>12]+c[128|p>>6&63]+c[128|63&p];continue}v+=1,p=65536+((1023&p)<<10|1023&d.charCodeAt(v)),m[m.length]=c[240|p>>18]+c[128|p>>12&63]+c[128|p>>6&63]+c[128|63&p]}r+=m.join("")}return r},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:r,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:o,maybeMap:function(e,l){if(i(e)){for(var t=[],n=0;n<e.length;n+=1)t[t.length]=l(e[n]);return t}return l(e)},merge:p}}function ap(){if(eY)return eQ;eY=1;var e=au(),l=av(),t=am(),n=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,l){return e+"["+l+"]"},repeat:function(e){return e}},a=Array.isArray,o=Array.prototype.push,r=function(e,l){o.apply(e,a(l)?l:[l])},s=Date.prototype.toISOString,d=t.default,c={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:l.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:t.formatters[d],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},u=function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e},m={},v=function t(n,i,o,s,d,v,p,f,h,x,g,y,j,N,b,w,L,C){for(var S,k=n,M=C,D=0,T=!1;void 0!==(M=M.get(m))&&!T;){var I=M.get(n);if(D+=1,"u">typeof I){if(I===D)throw RangeError("Cyclic object value");T=!0}typeof M.get(m)>"u"&&(D=0)}if("function"==typeof x?k=x(i,k):k instanceof Date?k=j(k):"comma"===o&&a(k)&&(k=l.maybeMap(k,function(e){return e instanceof Date?j(e):e})),null===k){if(v)return b(h&&!w?h(i,c.encoder,L,"key",N):i);k=""}if(u(k)||l.isBuffer(k))return h?[b(w?i:h(i,c.encoder,L,"key",N))+"="+b(h(k,c.encoder,L,"value",N))]:[b(i)+"="+b(String(k))];var E=[];if(typeof k>"u")return E;if("comma"===o&&a(k))w&&h&&(k=l.maybeMap(k,function(e){return null==e?e:h(e)})),S=[{value:k.length>0?k.join(",")||null:void 0}];else if(a(x))S=x;else{var A=Object.keys(k);S=g?A.sort(g):A}var _=f?String(i).replace(/\./g,"%2E"):String(i),F=s&&a(k)&&1===k.length?_+"[]":_;if(d&&a(k)&&0===k.length)return F+"[]";for(var P=0;P<S.length;++P){var O=S[P],z="object"==typeof O&&O&&"u">typeof O.value?O.value:k[O];if(!(p&&null===z)){var R=y&&f?String(O).replace(/\./g,"%2E"):String(O),B=a(k)?"function"==typeof o?o(F,R):F:F+(y?"."+R:"["+R+"]");C.set(n,D);var U=e();U.set(m,C),r(E,t(z,B,o,s,d,v,p,f,"comma"===o&&w&&a(k)?null:h,x,g,y,j,N,b,w,L,U))}}return E},p=function(e){if(!e)return c;if("u">typeof e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("u">typeof e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"u">typeof e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var l,o=e.charset||c.charset;if("u">typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=t.default;if("u">typeof e.format){if(!n.call(t.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var s=t.formatters[r],d=c.filter;
45if(("function"==typeof e.filter||a(e.filter))&&(d=e.filter),l=e.arrayFormat in i?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":c.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=typeof e.allowDots>"u"?!0===e.encodeDotInKeys||c.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:c.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:c.allowEmptyArrays,arrayFormat:l,charset:o,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:c.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?c.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:c.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:c.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:c.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:c.encodeValuesOnly,filter:d,format:r,formatter:s,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:c.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:c.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:c.strictNullHandling}};return eQ=function(l,t){var n,o,s=l,d=p(t);"function"==typeof d.filter?s=(o=d.filter)("",s):a(d.filter)&&(n=o=d.filter);var c=[];if("object"!=typeof s||null===s)return"";var u=i[d.arrayFormat],m="comma"===u&&d.commaRoundTrip;n||(n=Object.keys(s)),d.sort&&n.sort(d.sort);for(var f=e(),h=0;h<n.length;++h){var x=n[h];if(!(typeof x>"u"||null===x)){var g=s[x];d.skipNulls&&null===g||r(c,v(g,x,u,m,d.allowEmptyArrays,d.strictNullHandling,d.skipNulls,d.encodeDotInKeys,d.encode?d.encoder:null,d.filter,d.sort,d.allowDots,d.serializeDate,d.format,d.formatter,d.encodeValuesOnly,d.charset,f))}}var y=c.join(d.delimiter),j=!0===d.addQueryPrefix?"?":"";return d.charsetSentinel&&("iso-8859-1"===d.charset?j+="utf8=%26%2310003%3B"+d.delimiter:j+="utf8=%E2%9C%93"+d.delimiter),y.length>0?j+y:""}}function af(){if(eq)return e$;eq=1;var e=av(),l=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,l){return String.fromCharCode(parseInt(l,10))})},a=function(e,l,t,n){if(e&&"string"==typeof e&&l.comma&&e.indexOf(",")>-1){if(n&&l.throwOnLimitExceeded)for(var i=0,a=e.indexOf(",");a>-1;){if((i+=1)>=l.arrayLimit)throw RangeError("Array limit exceeded. Only "+l.arrayLimit+" element"+(1===l.arrayLimit?"":"s")+" allowed in an array.");a=e.indexOf(",",a+1)}return e.split(",")}if(l.throwOnLimitExceeded&&t>=l.arrayLimit)throw RangeError("Array limit exceeded. Only "+l.arrayLimit+" element"+(1===l.arrayLimit?"":"s")+" allowed in an array.");return e},o="utf8=%26%2310003%3B",r="utf8=%E2%9C%93",s=function(s,d){var c={__proto__:null},u=d.ignoreQueryPrefix?s.replace(/^\?/,""):s;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=d.parameterLimit===1/0?void 0:d.parameterLimit,v=u.split(d.delimiter,d.throwOnLimitExceeded&&"u">typeof m?m+1:m);if(d.throwOnLimitExceeded&&"u">typeof m&&v.length>m)throw RangeError("Parameter limit exceeded. Only "+m+" parameter"+(1===m?"":"s")+" allowed.");var p,f=-1,h=d.charset;if(d.charsetSentinel)for(p=0;p<v.length;++p)0===v[p].indexOf("utf8=")&&(v[p]===r?h="utf-8":v[p]===o&&(h="iso-8859-1"),f=p,p=v.length);for(p=0;p<v.length;++p)if(p!==f){var x,g,y=v[p],j=y.indexOf("]="),N=-1===j?y.indexOf("="):j+1;if(-1===N?(x=d.decoder(y,n.decoder,h,"key"),g=d.strictNullHandling?null:""):null!==(x=d.decoder(y.slice(0,N),n.decoder,h,"key"))&&(g=e.maybeMap(a(y.slice(N+1),d,t(c[x])?c[x].length:0,-1===y.indexOf("[]=")),function(e){return d.decoder(e,n.decoder,h,"value")}
45)),g&&d.interpretNumericEntities&&"iso-8859-1"===h&&(g=i(String(g))),y.indexOf("[]=")>-1&&(g=t(g)?[g]:g),d.comma&&t(g)&&g.length>d.arrayLimit&&(g=e.combine([],g,d.arrayLimit,d.plainObjects,d.throwOnLimitExceeded)),null!==x){var b=l.call(c,x);b&&("combine"===d.duplicates||y.indexOf("[]=")>-1)?c[x]=e.combine(c[x],g,d.arrayLimit,d.plainObjects,d.throwOnLimitExceeded):b&&"last"!==d.duplicates||(c[x]=g)}}return c},d=function(l,t,n,i){var o=0;if(l.length>0&&"[]"===l[l.length-1]){var r=l.slice(0,-1).join("");o=Array.isArray(t)&&t[r]?t[r].length:0}for(var s=i?t:a(t,n,o),d=l.length-1;d>=0;--d){var c,u=l[d];if("[]"===u&&n.parseArrays)c=e.isOverflow(s)?s:n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:e.combine([],s,n.arrayLimit,n.plainObjects,n.throwOnLimitExceeded);else{c=n.plainObjects?{__proto__:null}:{};var m="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,v=n.decodeDotInKeys?m.replace(/%2E/g,"."):m,p=parseInt(v,10),f=!isNaN(p)&&u!==v&&String(p)===v&&p>=0&&n.parseArrays;if(n.parseArrays||""!==v){if(f&&p<n.arrayLimit)(c=[])[p]=s;else{if(f&&n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");f?(c[p]=s,e.markOverflow(c,p)):"__proto__"!==v&&(c[v]=s)}}else c={0:s}}s=c}return s},c=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0)return!t.plainObjects&&l.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=[],a=n.indexOf("["),o=a>=0?n.slice(0,a):n;if(o){if(!t.plainObjects&&l.call(Object.prototype,o)&&!t.allowPrototypes)return;i[i.length]=o}for(var r=n.length,s=a,d=0;s>=0&&d<t.depth;){for(var c=1,u=s+1,m=-1;u<r&&m<0;){var v=n.charCodeAt(u);91===v?c+=1:93===v&&0==(c-=1)&&(m=u),u+=1}if(m<0)return i[i.length]="["+n.slice(s)+"]",i;var p=n.slice(s,m+1),f=p.slice(1,-1);if(!t.plainObjects&&l.call(Object.prototype,f)&&!t.allowPrototypes)return;i[i.length]=p,d+=1,s=n.indexOf("[",m+1)}if(s>=0){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");i[i.length]="["+n.slice(s)+"]"}return i},u=function(e,l,t,n){if(e){var i=c(e,t);if(i)return d(i,l,t,n)}},m=function(l){if(!l)return n;if("u">typeof l.allowEmptyArrays&&"boolean"!=typeof l.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("u">typeof l.decodeDotInKeys&&"boolean"!=typeof l.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==l.decoder&&"u">typeof l.decoder&&"function"!=typeof l.decoder)throw TypeError("Decoder has to be a function.");if("u">typeof l.charset&&"utf-8"!==l.charset&&"iso-8859-1"!==l.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if("u">typeof l.throwOnLimitExceeded&&"boolean"!=typeof l.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=typeof l.charset>"u"?n.charset:l.charset,i=typeof l.duplicates>"u"?n.duplicates:l.duplicates;if("combine"!==i&&"first"!==i&&"last"!==i)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:typeof l.allowDots>"u"?!0===l.decodeDotInKeys||n.allowDots:!!l.allowDots,allowEmptyArrays:"boolean"==typeof l.allowEmptyArrays?!!l.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:"boolean"==typeof l.allowPrototypes?l.allowPrototypes:n.allowPrototypes,allowSparse:"boolean"==typeof l.allowSparse?l.allowSparse:n.allowSparse,arrayLimit:"number"==typeof l.arrayLimit?l.arrayLimit:n.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof l.charsetSentinel?l.charsetSentinel:n.charsetSentinel,comma:"boolean"==typeof l.comma?l.comma:n.comma,decodeDotInKeys:"boolean"==typeof l.decodeDotInKeys?l.decodeDotInKeys:n.decodeDotInKeys,decoder:"function"==typeof l.decoder?l.decoder:n.decoder,delimiter:"string"==typeof l.delimiter||e.isRegExp(l.delimiter)?l.delimiter:n.delimiter,depth:"number"==typeof l.depth||!1===l.depth?+l.depth:n.depth,duplicates:i,ignoreQueryPrefix:!0===l.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof l.interpretNumericEntities?l.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:"number"==typeof l.parameterLimit?l.parameterLimit:n.parameterLimit,parseArrays:!1!==l.parseArrays,plainObjects:"boolean"==typeof l.plainObjects?l.plainObjects:n.plainObjects,strictDepth:"boolean"==typeof l.strictDepth?!!l.strictDepth:n.strictDepth,strictMerge:"boolean"==typeof l.strictMerge?!!l.strictMerge:n.strictMerge,strictNullHandling:"boolean"==typeof l.strictNullHandling?l.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof l.throwOnLimitExceeded&&l.throwOnLimitExceeded}};return e$=function(l,t){var n=m(t);if(""===l||null===l||typeof l>"u")return n.plainObjects?{__proto__:null}:{};for(var i="string"==typeof l?s(l,n):l,a=n.plainObjects?{__proto__:null}:{},o=Object.keys(i),r=0;r<o.length;++r){var d=o[r],c=u(d,i[d],n,"string"==typeof l);a=e.merge(a,c,n)}return!0===n.allowSparse?a:e.compact(a)}}var ah=function(){if(eV)return eW;eV=1;var e=ap(),l=af();return eW={formats:am(),parse:l,stringify:e}}();let ax=(0,iA.g)(ah);var ag=t(446);let ay="en-US",aj="/api/";var aN=t(5225),ab=t(9268),aw=((a=aw||{}).ClosedPermanent="ClosedPermanent",a.ClosedTemporary="ClosedTemporary",a.Open="Open",a.Planned="Planned",a),aL=((o=aL||{}).all="all",o.blog="blog",o.event="events",o.location="locations",o.news="news",o.other="other",o.specialty="specialties",o.story="story",o);let aC=new Set(["__proto__","prototype","constructor"]),aS=/^[a-zA-Z0-9_-]+$/,ak=e=>aS.test(e)&&!aC.has(e),aM=e=>Object.entries(e).map(e=>e.join("=")).join("|"),aD=e=>{let l=Object.create(null);
45return e&&e.split("|").forEach(e=>{let[t,n]=e.split("=");if(t&&n&&ak(t)){let e=(n.includes(",")?n.split(","):[n]).map(e=>e.trim());l[t]=(l[t]||[]).concat(e)}}),l},aT=e=>ax.stringify(e,{arrayFormat:"brackets",allowDots:!0}),aI="6",aE="1",aA="suggestlocationname",a_=`locations/${aA}`,aF=()=>{var e,l,t,n,i;let{sitecoreContext:a}=(0,tL.u)(),o=null!=(e=null==a?void 0:a.route)&&e.itemId?`{${null==(l=null==a?void 0:a.route)?void 0:l.itemId}}`:"",r=(null==(t=null==a?void 0:a.site)?void 0:t.name)??"",s=(null==a?void 0:a.language)??ay,[d,c]=tk.useState(null),u={locationName:d,pageId:o,sc_lang:s,sc_site:r,display:aI,page:aE},m=(0,ag.ZP)(d?[`${aj}${a_}?${ax.stringify({...u})}`]:null);return{...m,typeaheadItems:(null==(i=null==(n=m.data)?void 0:n.data)?void 0:i.map(e=>({id:e,value:e,data:{}})))??[],setLocationName:c}},aP="10",aO="search",az=`locations/${aO}`,aR=({...e}={},l={enabled:!0,revalidateOnFocus:!1})=>{var t,n,i;let{enabled:a,fallbackData:o,revalidateOnFocus:r,revalidateOnMount:s}=l,{sitecoreContext:d}=(0,tL.u)(),c=null!=(t=null==d?void 0:d.route)&&t.itemId?`{${null==(n=null==d?void 0:d.route)?void 0:n.itemId}}`:"",u=(null==(i=null==d?void 0:d.site)?void 0:i.name)??"",m=(null==d?void 0:d.language)??ay,[v,p]=tk.useState({...e}),f={pageId:c,sc_lang:m,sc_site:u,display:e.display??aP,page:(null==e?void 0:e.page)??aE,...v,filters:v.filters?aM(v.filters):e.filters?aM(e.filters):void 0},h=ax.stringify(f),x=Object.keys(v).length>0,g=a&&x?`${aj}${az}?${h}`:null,y=(0,ag.ZP)(g,tH.f,{fallbackData:o,revalidateOnFocus:r,revalidateOnMount:s});return{...y,data:a?y.data:o,setLocationSearchParameter:p,locationSearchParameter:v}},aB=({field:e,linkUrl:l,className:t,linkClassName:n,tag:i="span"})=>e&&e.value?(0,tw.jsx)(iC,{condition:!!l,wrappedJSX:(0,tw.jsx)(tD,{tag:i,className:t,field:e}),wrapper:e=>(0,tw.jsx)(tI.M,{className:n,href:l,children:e})}):null,aU="u">typeof localStorage;function aH(e,l){let[t,n]=(0,tk.useState)(()=>{if(typeof window>"u")return l;try{let t=window.localStorage.getItem(e);return t?JSON.parse(t):l}catch(e){return console.error(`Error: ${e instanceof Error?e.message:e}`),l}});return[t,l=>{try{let i=l instanceof Function?l(t):l;n(i),"u">typeof window&&window.localStorage.setItem(e,JSON.stringify(i))}catch(e){console.error(`Error: ${e instanceof Error?e.message:e}`)}},aU]}let aZ=({linkedImage:e,linkClass:l,imageClass:t,onClick:n})=>{if(!e)return null;let{class:i,...a}=e.value&&"object"==typeof e.value?e.value:{},o={...e,value:a};return(0,tw.jsx)(tI.M,{field:e,className:l,onClick:n,children:(0,tw.jsx)(tO.E,{field:o,className:(0,tC.c)(i,t),editable:!1,loading:"eager"})})},aQ=({word:e,dividerWrapperClassName:l="d-flex justify-content-center align-items-center gap-1 neu-text-tag",...t})=>{let{t:n}=(0,tB.QT)(),i=n("Common.Or");return(0,tw.jsxs)("div",{className:l,children:[(0,tw.jsx)(tS,{...t}),e??i,(0,tw.jsx)(tS,{...t})]})};var aY=t(8488);let a$="8xlC33GM5SEnb4Vjff7eKpmD8K0mqnQI9r53Zyudghai9oJrm3QiJQQJ99CHACYeBjFho9hOAAAgAZMP14F1",aq=async e=>{if(!a$)throw new tH.H("Azure Maps Error","No API key available",401);let l=e.includes("?")?"&":"?",t=`${e}${l}subscription-key=${a$}`;return(0,tH.f)(t)},aW="json",aV={"api-version":"1.0",countrySet:"US"},aG={...aV,typeahead:!0,limit:5},aJ=`https://atlas.microsoft.com/search/address/reverse/${aW}`,aK=(e,l)=>{if(!e||!l)return null;let t=ax.stringify({...aV,query:`${e},${l}`},{addQueryPrefix:!0,arrayFormat:"comma"});return`${aJ}${t}`},aX=(e,l)=>{let t=aK(e,l);return(0,ag.ZP)(t,aq,{revalidateOnFocus:!1,keepPreviousData:!0})},a0="user.location",a1={ADDRESS:"address",ZIP_CODE:"zipCode",CITY:"city",STATE:"state",LATITUDE:"latitude",LONGITUDE:"longitude"},a4=()=>{let[e,l]=aH(a0,void 0);return[e,l]};function a3(){let[e,l]=(0,tk.useState)(),t=(0,tk.useRef)(!1),[n,i]=(0,tk.useState)(),[,a]=a4(),[o,r]=(0,tk.useState)(),[s,d]=(0,tk.useState)(),{t:c}=(0,tB.QT)(),u=async()=>null!=navigator&&navigator.geolocation?new Promise(e=>{navigator.geolocation.getCurrentPosition(l=>{i(void 0);let t=l.coords.latitude.toString(),n=l.coords.longitude.toString();o===t&&s===n?e({forceAutofill:!0}):(r(t),d(n),e({forceAutofill:!1}))},l=>{l.code===l.PERMISSION_DENIED?i(c("Locations.Errors.AllowAccess")):i(c("Locations.Errors.GeolocationError")),e({forceAutofill:!1})})}):(i(c("Locations.Errors.GeolocationNotSupportedError")),{forceAutofill:!1}),{data:m,error:v,isLoading:p}=aX(o,s);return(0,tk.useEffect)(()=>{var e,t,n,r,d,u,p,f,h,x,g,y;if(v&&i(c("Locations.Errors.CantFindLocation")),o&&s&&!v){let i={latitude:`${o}`,longitude:`${s}`,address:`${null==(n=null==(t=null==(e=null==m?void 0:m.addresses)?void 0:e[0])?void 0:t.address)?void 0:n.freeformAddress}`,city:`${null==(u=null==(d=null==(r=null==m?void 0:m.addresses)?void 0:r[0])?void 0:d.address)?void 0:u.municipality}`,state:`${null==(h=null==(f=null==(p=null==m?void 0:m.addresses)?void 0:p[0])?void 0:f.address)?void 0:h.countrySubdivision}`,zipCode:`${null==(y=null==(g=null==(x=null==m?void 0:m.addresses)?void 0:x[0])?void 0:g.address)?void 0:y.postalCode}`};l(i),aU&&a&&a(i)}},[m,v,t.current]),{error:n||(null==v?void 0:v.message),setError:i,loading:p,onUseMyLocationClick:u,userLocation:e}}let a5=e=>{var l;let[t,n]=tk.useState({...e}
45),i=tk.useRef(void 0),a=ax.stringify({...aG,...e,query:t.query},{addQueryPrefix:!0,arrayFormat:"comma"}),{query:o}=t,r=(0,ag.ZP)(o?`https://atlas.microsoft.com/search/fuzzy/${aW}${a}`:null,aq,{revalidateOnFocus:!1,keepPreviousData:!!o&&!!i.current&&o.startsWith(i.current)});return tk.useEffect(()=>{i.current=o},[o]),{...r,typeaheadData:(null==(l=null==r?void 0:r.data)?void 0:l.results.map(e=>{var l,t,n,i,a,o;let r={address:null==(l=null==e?void 0:e.address)?void 0:l.freeformAddress,city:null==(t=null==e?void 0:e.address)?void 0:t.municipality,state:null==(n=null==e?void 0:e.address)?void 0:n.countrySubdivision,zipCode:null==(i=null==e?void 0:e.address)?void 0:i.postalCode,latitude:null==(a=null==e?void 0:e.position)?void 0:a.lat.toString(),longitude:null==(o=null==e?void 0:e.position)?void 0:o.lon.toString()};return{id:e.id,data:r,value:e.address.freeformAddress,zipCode:e.address.postalCode}}))??[],locationSearchParameter:t,setLocationSearchParameter:n}};function a2(){let e=(0,ix.useRouter)();return{queryParams:tk.useMemo(()=>{if(!e.isReady)return null;let l=aD(("u">typeof window?ax.parse(window.location.search.slice(1)):{}).filters||""),t=Object.fromEntries(Object.entries(e.query).filter(([e])=>"path"!==e&&"filters"!==e&&!e.startsWith("filters.")));return 0===Object.keys(t).length&&0===Object.keys(l).length?null:{...t,filters:l}},[e.isReady,e.query]),isReady:e.isReady}}let a6=/^[a-zA-Z0-9()\-–',.&\s]+$/,a9="use-my-location-button",a8=({className:e,id:l,name:t,placeholder:n,popperStrategy:i,autofillStoredLocation:a=!0,searchedAddressOverride:o,disabled:r,label:s,searchParams:d,onSelectLocation:c,selectFirstItemOnBlur:u=!1})=>{let{t:m}=(0,tB.QT)(),{queryParams:v,isReady:p}=a2(),[f,h]=tk.useState(void 0),[x,g]=tk.useState(null),y=t&&!Object.values(a1).includes(t)?t:a1.ADDRESS,{userLocation:j,loading:N,error:b,setError:w,onUseMyLocationClick:L}=a3(),[C]=a4(),S=e=>{var l;return null!=(l=null==d?void 0:d.entityType)&&l.includes("PostalCodeArea")&&e.city&&e.state?`${e.city}, ${e.state}${e.zipCode?" "+e.zipCode:""}`:e.address||""},k=tk.useRef(!0),M=e=>{if(!e&&!k.current){E(a1.ADDRESS,""),E(a1.CITY,""),E(a1.STATE,""),E(a1.ZIP_CODE,""),E(a1.LATITUDE,""),E(a1.LONGITUDE,"");return}Q&&(k.current=!1);let l=e&&S(e);l&&E(y,l),E(a1.CITY,(null==e?void 0:e.city)??""),E(a1.STATE,(null==e?void 0:e.state)??""),E(a1.ZIP_CODE,(null==e?void 0:e.zipCode)??""),E(a1.LATITUDE,(null==e?void 0:e.latitude)??""),E(a1.LONGITUDE,(null==e?void 0:e.longitude)??"")},D=(0,iN.Gc)(),T=(0,iN.cI)({defaultValues:{[y]:"",[a1.CITY]:"",[a1.STATE]:"",[a1.ZIP_CODE]:"",[a1.LATITUDE]:"",[a1.LONGITUDE]:""}}),I=D||T,{setValue:E,register:A,watch:_}=I,{typeaheadData:F,setLocationSearchParameter:P,isLoading:O,error:z}=a5(d||{});tk.useEffect(()=>{if(null!=j&&j.address&&null!=j&&j.longitude&&null!=j&&j.latitude&&null!=j&&j.city&&null!=j&&j.state&&null!=j&&j.zipCode){g({id:"userLocation",data:j,value:S(j)}),M(j);return}},[j,null==j?void 0:j.address,null==j?void 0:j.city,null==j?void 0:j.state,null==j?void 0:j.zipCode,null==j?void 0:j.latitude,null==j?void 0:j.longitude]);let R=!!(o&&o.address&&o.latitude&&o.longitude);tk.useEffect(()=>{if(p&&a&&!N&&!O&&k.current){let e=v&&v.address?{address:v.address||void 0,city:v.city||void 0,state:v.state||void 0,zipCode:v.zip||void 0,latitude:v.latitude||void 0,longitude:v.longitude||void 0}:{address:null==C?void 0:C.address,city:null==C?void 0:C.city,state:null==C?void 0:C.state,zipCode:null==C?void 0:C.zipCode,latitude:null==C?void 0:C.latitude,longitude:null==C?void 0:C.longitude},l=o&&R?o:e;g({id:"storedLocation",data:l,value:S(l)}),M(l)}},[v,p]),tk.useEffect(()=>{b?I.setError(y,{type:"manual",message:b}):I.clearErrors(y)},[b,I,y]);let B=async()=>{N||(await L()).forceAutofill&&j&&(g({id:"userLocation",data:j,value:S(j)}),M(j))},U=n??m("Locations.Search.Form.EnterLocationPlaceholder"),H=s??m("Search.EnterLocation"),Z=e=>{!f&&e&&P({...d,query:e})},Q=_(y);tk.useEffect(()=>{if(!Q||a6.test(Q)&&Q.trim())Q||P({query:void 0}),h(void 0),I.clearErrors(y);else if(Q.trim()){let e=m("Search.Errors.InvalidSpecialCharacters");h(e),I.setError(y,{type:"manual",message:e})}else{let e="Field must have at least 1 non-space character";h(e),I.setError(y,{type:"manual",message:e})}},[Q]);let Y=A(y),$=e=>{let l=F??[],t=e.relatedTarget,n=()=>{var e;return!!(t&&(null==(e=t.closest("button"))?void 0:e.id)===a9)},i=()=>{var e;return!!(t&&null!=(e=t.closest("button"))&&e.classList.contains("neu-search-clear"))},a=()=>u&&l.length>0,o=()=>!!document.querySelector(".typeahead .unit-dropdown");
45if(t&&t.closest(".typeahead")&&l.length>1||n()||i())return;let r=()=>{let e=l[0];e&&!e.isHeader&&g(e)};a()&&o()&&r()};return(0,tw.jsxs)("div",{className:e,children:[(0,tw.jsx)("div",{className:"position-relative",children:(0,tw.jsx)(tE.Yu,{className:"position-absolute position-right",kind:"tertiary",onNeuClick:B,icon:"location_on",size:"small",disabled:r,id:a9,children:m("Locations.Search.Form.UseMyLocation")})}),(0,tw.jsx)(iC,{condition:!D,wrapper:e=>(0,tw.jsx)(iN.RV,{...T,children:e}),wrappedJSX:(0,tw.jsx)(iE,{className:"optional-none",itemsLoading:N||O,invalid:b||z||f,error:b||z||f,disabled:r,id:l,items:F??[],placeholder:U,label:H,onTypeaheadKeyPress:e=>{e&&e.trim()&&e.length>=iD&&Z(e),b&&w(void 0)},onSelected:async e=>{var l,t;let n=e?{...e.data}:null;if(n&&!n.zipCode){let e=aK(n.latitude,n.longitude),i=await (0,aY.g)();if(e&&i){let a=e.includes("?")?"&":"?",o=await fetch(`${e}${a}subscription-key=${i}`).then(e=>e.json()).then(e=>e),r=null==(t=null==(l=null==o?void 0:o.addresses)?void 0:l[0])?void 0:t.address;r&&null!=r&&r.postalCode&&(n.zipCode=null==r?void 0:r.postalCode)}}M(n),null==c||c(n)},selectItem:x,...Y,popperStrategy:i,onNeuBlur:$})})]})},a7="suggesttaxonomy",oe=`taxonomy/${a7}`,ol=({searchQuery:e}={})=>{var l,t;let{sitecoreContext:n}=(0,tL.u)(),i=null!=(l=null==n?void 0:n.route)&&l.itemId?`{${null==(t=null==n?void 0:n.route)?void 0:t.itemId}}`:"",a=(null==n?void 0:n.language)??ay,[o,r]=tk.useState(e),s={language:a,searchQuery:o,pageId:i},d=ax.stringify(s);return{...(0,ag.ZP)(`${aj}${oe}?${d}`,tH.f),setTaxonomyParameter:r}};var ot=((r=ot||{}).FacilityNameSearch="facilityNameSearch",r.LocationSearch="address",r.FacilityTypeSelect="facilityTypeSelect",r.LocationNameSelect="locationNameSelect",r.SpecialtySelect="specialtySelect",r.RadiusSelect="radius",r.SubmitButton="submitButton",r.Divider="divider",r);let{FacilityNameSearch:on,LocationSearch:oi}=ot,oa=[{label:"20 miles",value:"20"},{label:"50 miles",value:"50"},{label:"100 miles",value:"100"}],oo="col-12 py-3",or=[on,oi],os=({placeholder:e,className:l})=>{let{t:t}=(0,tB.QT)(),{register:n}=(0,iN.Gc)(),{FacilityNameSearch:i}=ot,a=n(i,{pattern:{value:ib,message:t("Search.Errors.InvalidSpecialCharacters")}}),{typeaheadItems:o,setLocationName:r}=aF();return(0,tw.jsx)("div",{className:l??oo,children:(0,tw.jsx)(iE,{...a,items:o??[],label:t("Locations.Search.Form.SearchByFacilityName"),placeholder:e??t("Locations.Search.Form.EnterFacilityName"),popperStrategy:"fixed",onTypeaheadKeyPress:e=>{r(e.length>=3?e:null)}})})},od=({className:e,facilityOptions:l=[],useMultiSelect:t=!1,preSelectedFacilityOptions:n})=>{let{watch:i,setValue:a}=(0,iN.Gc)(),{FacilityTypeSelect:o,FacilityNameSearch:r}=ot,{t:s}=(0,tB.QT)(),d=(null==l?void 0:l.find(e=>"all"===e.value||""===e.value))!==void 0||t?[...l]:[{value:"all",label:s("Locations.Search.Form.Filter.FacilityShowAll")},...l],[,c]=tk.useState(n??[]);return t?(0,tw.jsx)("div",{className:e??oo,children:(0,tw.jsx)(tE.j8,{clear:!0,kind:"multiple",items:d,label:s("Locations.Search.Form.Filter.FacilityTypeLabel"),onNeuChange:e=>{let l=e.value;c(null===l?void 0:e.value),a(o,null===l?void 0:e.value)},disabled:!!i(r)})}):(0,tw.jsx)("div",{className:e??oo,children:(0,tw.jsx)(tE.j8,{clear:!0,items:d,label:s("Locations.Search.Form.Filter.FacilityTypeLabel"),onNeuChange:e=>{a(o,e.value)},disabled:!!i(r)})})},oc=({locationOptions:e=[],onSelect:l,className:t})=>{let{watch:n,setValue:i}=(0,iN.Gc)(),{LocationNameSelect:a,LocationSearch:o}=ot,{t:r}=(0,tB.QT)();return(0,tw.jsx)("div",{className:t??oo,children:(0,tw.jsx)(tE.j8,{clear:!0,items:e,label:r("Locations.Facilities.SelectFacility"),onNeuChange:e=>{let t=e.value;i(a,t),null==l||l(t)},disabled:!!n(o)})})},ou=({placeholder:e,id:l,className:t})=>{let{watch:n}=(0,iN.Gc)(),{FacilityNameSearch:i,LocationSearch:a}=ot,{t:o}=(0,tB.QT)();return(0,tw.jsx)("div",{className:t??oo,children:(0,tw.jsx)(a8,{disabled:!!n(i),id:l??a,label:o("Search.EnterLocation"),placeholder:e??o("Locations.Search.Form.EnterLocationPlaceholder"),popperStrategy:"fixed"})})},om=({className:e,popperStrategy:l})=>{let{watch:t,setValue:n}=(0,iN.Gc)(),{FacilityNameSearch:i,LocationSearch:a,RadiusSelect:o}=ot,{t:r}=(0,tB.QT)();return(0,tw.jsx)("div",{className:e??oo,children:(0,tw.jsx)(tE.j8,{clear:!0,items:oa,label:r("Search.Distance"),onNeuChange:e=>{n(o,e.value)},disabled:!!t(i)||!t(a),popperStrategy:l})})},ov=({className:e})=>{var l,t;let{watch:n,setValue:i}=(0,iN.Gc)(),{SpecialtySelect:a,FacilityNameSearch:o}=ot,{t:r}=(0,tB.QT)(),{data:s}=ol({}),d=s&&null!=(l=null==s?void 0:s.data)&&l.length?null==(t=s.data)?void 0:t.flatMap(e=>{let l=[];return e.specialty&&l.push({value:e.specialty,label:e.specialty}),e.subSpecialties.length&&l.push(...e.subSpecialties.map(e=>({value:e,label:e}))),l}):[];return(0,tw.jsx)("div",{className:e??oo,children:(0,tw.jsx)(tE.j8,{clear:!0,filter:!0,items:d,label:r("Locations.Search.Form.Filter.SpecialtyLabel"),onNeuChange:e=>{i(a,e.value)},disabled:!!n(o)})})},op=({className:e,buttonClassName:l,buttonText:t,neuButtonProps:n})=>{let{t:i}=(0,tB.QT)();return(0,tw.jsx)("div",{className:e??oo,children:(0,tw.jsx)(tE.Yu,{className:l,type:"submit",...n,children:t??i("Common.Search")})})};function of(e){let l={...e};
45return Object.keys(l).forEach(e=>{""===l[e]&&(l[e]=void 0)}),l}let oh=(e,l)=>`${e}-${l}`,ox=(e,l)=>{if(!e)return null;let t=((null==e?void 0:e.formFieldOrder)??or).map((t,n)=>{switch(t){case ot.FacilityNameSearch:return(0,tk.createElement)(os,{isLoading:l,...e[t],key:oh(ot.FacilityNameSearch,n)});case ot.LocationSearch:return(0,tk.createElement)(ou,{isLoading:l,...e[t],key:oh(ot.LocationSearch,n)});case ot.FacilityTypeSelect:return(0,tk.createElement)(od,{isLoading:l,...e[t],key:oh(ot.FacilityTypeSelect,n)});case ot.LocationNameSelect:return(0,tk.createElement)(oc,{isLoading:l,...e[t],key:oh(ot.LocationNameSelect,n)});case ot.SpecialtySelect:return(0,tk.createElement)(ov,{isLoading:l,...e[t],key:oh(ot.SpecialtySelect,n)});case ot.RadiusSelect:return(0,tk.createElement)(om,{...e[t],key:oh(ot.RadiusSelect,n)});case ot.SubmitButton:return(0,tk.createElement)(op,{isLoading:l,...e[t],key:oh(ot.SubmitButton,n)});case ot.Divider:return(0,tw.jsx)(aQ,{},oh(ot.Divider,n));default:return null}});return t.length>0?t:null},og=({config:e,isLoading:l,locationSearchFormSubmit:t,...n})=>{let i=((null==e?void 0:e.formFieldOrder)??[]).reduce((l,t)=>{var n,i,a,o,r,s;switch(t){case ot.FacilityNameSearch:l[ot.FacilityNameSearch]=(null==(i=null==(n=e[ot.FacilityNameSearch])?void 0:n.defaultValue)?void 0:i.toString())??"";break;case ot.LocationSearch:l[ot.LocationSearch]=(null==(o=null==(a=e[ot.LocationSearch])?void 0:a.defaultValue)?void 0:o.toString())??"";break;case ot.RadiusSelect:l[ot.RadiusSelect]=(null==(s=null==(r=e[ot.RadiusSelect])?void 0:r.defaultValue)?void 0:s.toString())??""}return l},{}),a=(0,iN.cI)({defaultValues:i}),o=e=>t&&t(e);return(0,tw.jsx)(iN.RV,{...a,children:(0,tw.jsx)("form",{...n,onSubmit:a.handleSubmit(o),className:n.className,children:e&&ox(e,l)})})};var oy=t(9159);let oj=({errors:e,failureToFetchError:l,query:t,errorMessageTitle:n,errorMessageDescription:i,noResultsTitle:a,noResultsDescription:o,wrapperClassName:r="pt-6"})=>{let{t:s}=(0,tB.QT)(),d=e&&e.length>0||!!l,c=e&&(null==e?void 0:e.find(e=>(null==e?void 0:e.key)==="GEOCODE_FAILED")),u=d&&(null==e?void 0:e.some(e=>e.message.includes("A value is required"))),m=s("Search.NotFoundHeadline",{query:t}),v=c||!d?(0,tw.jsx)(tE.at,{name:"website_search",css:!1,size:"2x",secondary:"support"}):(0,tw.jsx)(tE.JK,{name:"error",size:"4x",color:"support"}),p="",f="";return c?(f=n??m,p=i??s("Search.NotFoundDescription")):u?(f=n??s("Locations.Search.NoResult"),p=i??s("Locations.Search.TryAgain")):d?(f=s("Search.Errors.UnexpectedError"),p=s("Search.Errors.SomethingWentWrong")):(f=a??m,p=o??s("Search.NotFoundDescription")),(0,tw.jsxs)("div",{className:r,children:[(0,tw.jsx)("div",{className:"d-flex justify-content-center pb-4",children:v}),(0,tw.jsxs)("div",{className:"",children:[(0,tw.jsx)("h6",{className:"fw-bold d-flex justify-content-center text-center neu-display-4",children:f}),"string"==typeof p?(0,tw.jsx)("p",{className:"d-flex justify-content-center text-center pt-1",children:p}):(0,tw.jsx)("div",{className:"d-flex justify-content-center text-center pt-1",children:p})]})]})};var oN=t(5931);let ob=e=>{var l,t;let n=RegExp((null==e?void 0:e.operatingStatusCodeOverride)??(null==e?void 0:e.operatingStatusCode)??"","i");return!!(aw.Open.match(n)&&null!=(l=null==e?void 0:e.marketedFacilityHours)&&l.every(e=>(null==e?void 0:e.open)==="00:00")&&null!=(t=null==e?void 0:e.marketedFacilityHours)&&t.every(e=>(null==e?void 0:e.close)==="23:59"))},ow=(e,l,t)=>{let[n,i]=tk.useState(),[a,o]=tk.useState(null),[r,s]=tk.useState(null),d=!!t&&ob(t);return tk.useEffect(()=>{let e=()=>i(new Date);if(!d){e();let l=setInterval(e,3e5);return()=>clearInterval(l)}},[d]),tk.useEffect(()=>{d||(void 0!==n&&e&&o((0,oN._Y)(e,n.getTimezoneOffset())),void 0!==n&&l&&s((0,oN._Y)(l,n.getTimezoneOffset())))},[l,n,d,e]),e&&l?d?{isFacilityCurrentlyOpen:!0,isOpen24Hours:d}:{isFacilityCurrentlyOpen:null!==a&&null!==r&&void 0!==n&&n>=a&&n<r,isOpen24Hours:d}:{isFacilityCurrentlyOpen:void 0,isOpen24Hours:void 0}},oL=e=>{var l,t;let n;let{t:i}=(0,tB.QT)(),{isFacilityCurrentlyOpen:a}=ow(null==(l=null==e?void 0:e.currentOperatingHours)?void 0:l.open,null==(t=null==e?void 0:e.currentOperatingHours)?void 0:t.close,e),o=(null==e?void 0:e.operatingStatusCodeOverride)??(null==e?void 0:e.operatingStatusCode);n=null!=e&&e.isTemporarilyClosed?"ClosedTemporary":!1===a&&"Open"===o?"ClosedPermanent":void 0===a&&"Open"===o?void 0:o;let r={ClosedPermanent:{text:i("Locations.Card.Closed"),color:"red"},ClosedTemporary:{text:i("Locations.Card.TempClosed"),color:"orange"}
45,Planned:{text:i("Locations.Card.ComingSoon"),color:"teal"},Open:{text:i("Locations.Card.Open"),color:"green"}};return n?{operatingStatus:r[n],isTemporarilyClosed:"ClosedTemporary"===n,statusCode:n}:{operatingStatus:void 0,isTemporarilyClosed:void 0,statusCode:void 0}},oC=e=>{let l;let{erWaitTimes:t}=(0,io.u)();return e&&(l=null==t?void 0:t.find(l=>l.title===e)),l},oS=e=>{let l=null==e?void 0:e.marketedFacilityHours;return!!(l&&l.length>0&&l.some(e=>e.open||e.close))};var ok=t(9865);let oM=({city:e,className:l,postalCode:t,state:n,street1:i,street2:a,title:o,titleClassName:r,icon:s=!1})=>i||a||e||n||t?(0,tw.jsxs)("div",{className:l,children:[o?(0,tw.jsx)("p",{className:r,children:o}):null,s&&(0,tw.jsx)(tE.JK,{name:"location_on",className:"pe-1"}),i&&(0,tw.jsxs)(tw.Fragment,{children:[i,(0,tw.jsx)("br",{})]}),a&&(0,tw.jsxs)(tw.Fragment,{children:[a,(0,tw.jsx)("br",{})]}),e&&`${e}, `,n," ",t]}):null,oD=e=>e?/^(http|\.?\/|#)/i.test(e)?e:`//${e}`:"",oT=(e="")=>/^(http|\/\/)/i.test(e),oI=({text:e,url:l})=>{let t=oD(l);return{value:{href:t,target:oT(t)?"_blank":void 0,text:e}}};var oE=((s=oE||{}).SpecialtyButton="SpecialtyButton",s.WebsiteButton="WebsiteButton",s.GetDirectionsButton="GetDirectionsButton",s.WebCheckInButton="WebCheckInButton",s.PhoneButton="PhoneButton",s.VirtualVisitButton="VirtualVisitButton",s.ViewOnMapButton="ViewOnMapButton",s);let{SpecialtyButton:oA,WebsiteButton:o_,GetDirectionsButton:oF,WebCheckInButton:oP,PhoneButton:oO,VirtualVisitButton:oz,ViewOnMapButton:oR}=oE,oB=[oA,o_,oF,oP,oO,oz,oR],oU={IOS:"https://maps.apple.com/?q=",Android:"geo:0,0?q=",default:"https://www.google.com/maps/dir/?api=1&destination="};var oH=((d=oH||{}).IOS="IOS",d.Android="Android",d.MacOS="MacOS",d.Windows="Windows",d.Other="Other",d);let oZ=()=>{let[e,l]=(0,tk.useState)("Other");return(0,tk.useEffect)(()=>{(()=>{let e=navigator.userAgent.toLowerCase();/iphone|ipad|ipod/g.test(e)?l("IOS"):/android/g.test(e)?l("Android"):/windows/g.test(e)?l("Windows"):/mac/g.test(e)?l("MacOS"):l("Other")})()}),e},oQ=({result:e,facilityName:l,className:t,kind:n="secondary",size:i="small",icon:a})=>{let{t:o}=(0,tB.QT)(),r=oZ();if(!(null!=e&&e.latitude)||!(null!=e&&e.longitude))return null;let s=r in oU?r:"default",d={value:{href:`${oU[s]}${null==e?void 0:e.latitude},${null==e?void 0:e.longitude}`,target:"_blank",text:o("Common.GetDirections")}};return(0,tw.jsxs)(tA,{kind:n,size:i,"aria-label":`${o("Common.GetDirections")} ${l}`,className:t,icon:a,field:d,children:[o("Common.GetDirections")," ",(0,tw.jsx)("span",{className:"sr-only",children:l})]},null==e?void 0:e.itemId)},oY=({result:e,facilityName:l,className:t,kind:n="secondary",size:i="small",icon:a})=>{var o;let{t:r}=(0,tB.QT)(),s={value:{href:`tel:${null==(o=null==e?void 0:e.marketedPrimaryPhoneNumber)?void 0:o.replace(/ /g,"")}`,text:null==e?void 0:e.marketedPrimaryPhoneNumber}};return null!=e&&e.marketedPrimaryPhoneNumber?(0,tw.jsxs)(tA,{kind:n,size:i,className:t,"aria-label":`${r("Locations.Card.PhoneNumber")} ${l}`,editable:!1,field:s,icon:a,children:[null==e?void 0:e.marketedPrimaryPhoneNumber," ",(0,tw.jsx)("span",{className:"sr-only",children:l})]}):null},o$=({result:e,facilityName:l,className:t,kind:n,size:i,icon:a})=>{let{t:o}=(0,tB.QT)();return(0,tw.jsxs)(tA,{kind:n,size:i,editable:!1,className:t,icon:a,"aria-label":`${o("Locations.Card.VirtualVisit")} ${l}`,field:oI({text:o("Locations.Card.VirtualVisit"),url:null==e?void 0:e.virtualVisitRegistrationUrl}),children:[o("Locations.Card.VirtualVisit")," ",(0,tw.jsx)("span",{className:"sr-only",children:l})]})},oq=({result:e,facilityName:l,className:t,kind:n,size:i,icon:a})=>{let{t:o}=(0,tB.QT)();return(0,tw.jsxs)(tA,{kind:n,size:i,editable:!1,className:t,field:oI({text:o("Locations.Card.WebCheckIn"),url:null==e?void 0:e.onsiteVisitRegistrationUrl}),icon:a,children:[o("Locations.Card.WebCheckIn")," ",(0,tw.jsx)("span",{className:"sr-only",children:l})]},`on-site-visit-${null==e?void 0:e.itemId}`)},oW=({result:e,cardButtonsClassName:l,selectedSpecialty:t,viewOnMapUrl:n,onViewOnMapClick:i,buttonOrder:a,buttonProps:o})=>{let{t:r}=(0,tB.QT)(),s=(null==e?void 0:e.marketedFacilityName)??(null==e?void 0:e.facilityName)??(null==e?void 0:e.locationName)??"",d=oV({locationSpecialties:null==e?void 0:e.locationSpecialties,selectedSpecialty:t}),c=(0,ix.useRouter)(),u=e=>{if(e.preventDefault(),i)return i(e);c.push(`/${n}`)},m=((null==e?void 0:e.operatingStatusCodeOverride)??(null==e?void 0:e.operatingStatusCode))!==aw.Planned;return(a??oB).map(n=>{let i;switch(n){case oE.SpecialtyButton:return i=o&&o[oE.SpecialtyButton],(0,tw.jsxs)(tA,{kind:null==i?void 0:i.kind,size:null==i?void 0:i.size,className:(null==i?void 0:i.className)??l,"aria-label":`${r("Locations.Card.GoTo")} ${t} ${s}`,icon:null==i?void 0:i.icon,editable:!1,field:oI({text:r("Locations.Card.GoToSpecialty"),url:null==d?void 0:d.url}),children:[r("Locations.Card.GoToSpecialty")," ",(0,tw.jsx)("span",{className:"sr-only",children:s})]},`specialty-${null==e?void 0:e.itemId}`);case((null==e?void 0:e.locationUrl)||(null==e?void 0:e.marketedWebsite))&&oE.WebsiteButton:{i=o&&o[oE.WebsiteButton];let t=oI({text:r("Locations.Card.GoToWebsite"),url:(null==e?void 0:e.locationUrl)||(null==e?void 0:e.marketedWebsite)||""});return(0,tw.jsxs)(tA,{kind:(null==i?void 0:i.kind)??"secondary",size:(null==i?void 0:i.size)??"small",className:(null==i?void 0:i.className)??l,"aria-label":`${r("Locations.Card.GoToWebsite")} ${s}`,icon:null==i?void 0:i.icon,editable:!1,field:t,children:[r("Locations.Card.GoToWebsite")," ",(0,tw.jsx)("span",{className:"sr-only",children:s})]},`go-to-website-${null==e?void 0:e.itemId}`)}case m&&oE.GetDirectionsButton:return i=o&&o[oE.GetDirectionsButton],(0,tw.jsx)(oQ,{className:(null==i?void 0:i.className)??l,result:e,facilityName:s,kind:null==i?void 0:i.kind,size:null==i?void 0:i.size,icon:null==i?void 0:i.icon},`directions-${null==e?void 0:e.itemId}`);case(null==e?void 0:e.onsiteVisitRegistrationUrl)&&oE.WebCheckInButton:return i=o&&o[oE.WebCheckInButton],(0,tw.jsx)(oq,{className:(null==i?void 0:i.className)??l,result:e,facilityName:s,kind:null==i?void 0:i.kind,size:null==i?void 0:i.size,icon:null==i?void 0:i.icon},`on-site-visit-${null==e?void 0:e.itemId}`);case oE.PhoneButton:return i=o&&o[oE.PhoneButton],(0,tw.jsx)(oY,{kind:null==i?void 0:i.kind,size:null==i?void 0:i.size,className:(null==i?void 0:i.className)??l,"aria-label":`${r("Locations.Card.PhoneNumber")} ${s}`,result:e,icon:null==i?void 0:i.icon,facilityName:s},`phone-number-${null==e?void 0:e.itemId}`);case(null==e?void 0:e.virtualVisitRegistrationUrl)&&oE.VirtualVisitButton:return i=o&&o[oE.VirtualVisitButton],(0,tw.jsx)(o$,{className:(null==i?void 0:i.className)??l,result:e,facilityName:s,kind:null==i?void 0:i.kind,size:null==i?void 0:i.size,icon:null==i?void 0:i.icon},`virtual-visit-${null==e?void 0:e.itemId}`);case oE.ViewOnMapButton:return i=o&&o[oE.ViewOnMapButton],(0,tw.jsxs)(tA,{kind:(null==i?void 0:i.kind)??"secondary",size:(null==i?void 0:i.size)??"small",className:(null==i?void 0:i.className)??l,"aria-label":`${r("Locations.Card.ViewOnMap")} ${s}`,icon:null==i?void 0:i.icon,editable:!1,field:{value:{href:"#",text:r("Locations.Card.ViewOnMap")}},onClick:e=>{null==u||u(e)},children:[r("Locations.Card.ViewOnMap")," ",(0,tw.jsx)("span",{className:"sr-only",children:s})]},`view-on-map-${null==e?void 0:e.itemId}`);default:return null}})};function oV({locationSpecialties:e,selectedSpecialty:l}){return l&&e?e.find(e=>(null==e?void 0:e.name)===l):null}var oG=t(8171);let oJ=({className:e,distance:l})=>
45{if(Number.isNaN(l)||void 0===l)return null;let t=`${(Math.round(10*l)/10).toFixed(1)} miles`;return(0,tw.jsx)("span",{className:(0,tC.c)("neu-text-body fw-bold",e),children:t})},oK=({distance:e,facilityTitle:l,facilityUrl:t,marketedWebsite:n,className:i="d-flex align-items-center justify-content-between",titleClass:a,distanceClass:o="d-none d-lg-inline"})=>{let r=oI({url:t??n??"",text:l}),s=(0,tC.c)("neu-display-4 fw-bold",a);return(0,tw.jsxs)("div",{className:i,children:[t||n?(0,tw.jsx)(oG.U,{field:r,className:s}):(0,tw.jsx)("p",{className:s,children:l}),e&&(0,tw.jsx)(oJ,{className:o,distance:e})]})};var oX=t(5252);let o0=[{day:1,label:"Mon: "},{day:2,label:"Tue: "},{day:3,label:"Wed: "},{day:4,label:"Thur: "},{day:5,label:"Fri: "},{day:6,label:"Sat: "},{day:0,label:"Sun: "}],o1=({heading:e,result:l,titleClassName:t,dropdownClassNames:n,fontClassName:i,mobileDayWidthClass:a="w-20",hoursButtonClassName:o})=>{var r,s,d,c;let u;let{t:m}=(0,tB.QT)(),v=m("Locations.Card.Hours"),p=m("Locations.Card.Am"),f=m("Locations.Card.Pm"),h=m("Locations.Card.Closed"),x=null==l?void 0:l.marketedFacilityHours,{isFacilityCurrentlyOpen:g,isOpen24Hours:y}=ow(null==(r=null==l?void 0:l.currentOperatingHours)?void 0:r.open,null==(s=null==l?void 0:l.currentOperatingHours)?void 0:s.close,l),[j,N]=tk.useState();(0,tk.useEffect)(()=>{N(new Date().getDay())},[]);let b=RegExp((null==l?void 0:l.operatingStatusCodeOverride)??(null==l?void 0:l.operatingStatusCode)??"","i"),[w,L]=tk.useState(!1);if(!x||!oS(l))return;let C=(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("p",{className:(0,tC.c)(t,{"neu-text-body":!i,[i||""]:i,"mb-1":!(null!=t&&t.includes("mb-"))}),children:e||v}),(null==l?void 0:l.hoursNote)&&(0,tw.jsx)("p",{className:(0,tC.c)("mb-1",{"neu-text-body":!i,[i||""]:i}),children:l.hoursNote})]}),S=(0,tw.jsx)("span",{className:(0,tC.c)("neu-text-green-60 fw-bold",{"neu-text-body":!i,[i||""]:i}),children:m("Locations.Card.Open")}),k=(0,tw.jsx)("span",{className:(0,tC.c)("neu-text-red-60 fw-bold",{"neu-text-body":!i,[i||""]:i}),children:h});if(y)u=(0,tw.jsxs)("div",{children:[S,(0,tw.jsx)("span",{children:` ${m("Locations.Card.24Hours")}`})]});else if(aw.ClosedPermanent.match(b))u=(0,tw.jsx)("div",{children:k});else if(aw.ClosedTemporary.match(b))u=(0,tw.jsx)("span",{className:(0,tC.c)("neu-text-red-60 fw-bold"),children:m("Locations.Card.TempClosed")});else if(aw.Planned.match(b))u=(0,tw.jsx)("span",{className:(0,tC.c)("neu-text-red-60 fw-bold"),children:m("Locations.Card.ComingSoon")});else{let e=(e,t)=>{var o;let r=null==x?void 0:x[e],s=null!=r&&r.open&&null!=r&&r.close?`${(0,oN.mr)(null==r?void 0:r.open,p,f)}-${(0,oN.mr)(null==r?void 0:r.close,p,f)} ${null==(o=null==l?void 0:l.timeZone)?void 0:o.replace(/[^A-Z]/g,"")}`:h;return(0,tw.jsxs)("div",{className:(0,tC.c)("d-flex mx-0",(null==n?void 0:n.menuJustifyClass)||"justify-content-lg-between",{"my-2":!(null!=n&&n.menuItem),[(null==n?void 0:n.menuItem)||i||""]:(null==n?void 0:n.menuItem)||i}),children:[(0,tw.jsx)("span",{className:(0,tC.c)("me-1",a,{"fw-bold":e===j}),children:t}),(0,tw.jsx)("span",{className:(0,tC.c)({"fw-bold":e===j}),children:s})]})},t=g?(0,tw.jsxs)("div",{children:[S,void 0!==j&&(0,tw.jsx)("span",{children:` ${m("Common.Until")} ${null==(c=(0,oN.mr)(null==(d=null==x?void 0:x[j])?void 0:d.close,p,f))?void 0:c.toString()}`})]}):k;u=(0,tw.jsxs)(tw.Fragment,{children:[t,(0,tw.jsxs)("div",{children:[(0,tw.jsx)(tU,{className:(0,tC.c)(o,"ps-0"),onClick:()=>L(!w),children:m(w?"Locations.Card.CollapseHoursSection":"Locations.Card.ExpandHoursSection")}),w&&(0,tw.jsx)("div",{className:"my-3",children:o0.map(l=>e(l.day,l.label)).filter(e=>null!==e)})]})]})}return(0,tw.jsxs)("div",{className:"col-12",children:[C,(0,tw.jsx)("div",{className:(0,tC.c)({[(null==n?void 0:n.menu)||i||""]:(null==n?void 0:n.menu)||i}),children:u})]})},o4=({className:e,phoneNumber:l,title:t,titleClassName:n,icon:i})=>{let a={value:{href:`tel:${null==l?void 0:l.replace(/ /g,"")}`,text:l}};return l?(0,tw.jsxs)("div",{className:e,children:[t?(0,tw.jsx)("p",{className:n,children:t}):null,(0,tw.jsxs)("span",{children:[i,(0,tw.jsx)(oG.U,{field:a,children:l})]})]}):null},o3=({result:e,className:l,facilityTypeClass:t,erWaitClass:n,erFeed:i})=>{var a,o;let{t:r}=(0,tB.QT)(),{operatingStatus:s,isTemporarilyClosed:d}=oL(e);return(0,tw.jsxs)("span",{className:l,children:[(0,tw.jsxs)("span",{className:t,children:[null!=(a=null==e?void 0:e.marketedSecondaryTypeNames)&&a.length?(0,tw.jsx)("span",{className:"pe-1",children:(0,tw.jsx)(tE.m3,{color:"gray",children:null==(o=null==e?void 0:e.marketedSecondaryTypeNames)?void 0:o[0]})}):null,null!=s&&s.text?(0,tw.jsx)("span",{className:"pe-1",children:(0,tw.jsx)(tE.m3,{color:null==s?void 0:s.color,children:s.text})}):null]}),!d&&(null==i?void 0:i.description)&&(0,tw.jsxs)("span",{className:n,children:[(0,tw.jsx)("span",{className:"pe-1",children:(0,tw.jsx)(tE.m3,{icon:"schedule",color:"gray",className:"pe-1 d-inline-block",children:r("Locations.Card.AverageERWait")})}),(0,tw.jsx)("span",{className:"pe-1",children:(0,tw.jsx)(tE.m3,{color:"blue",children:null==i?void 0:i.description})})]})]})},o5=({className:e,children:l,onClick:t,subTitle:n,tag:i,title:a,url:o,titleClassname:r="mb-2"})=>{let s=a&&o?{value:{href:o,text:a}}:null,d=s?(0,tw.jsx)(oG.U,{className:"neu-display-4 fw-bold mb-0",editable:!1,field:s,onClick:t,children:a}):null;return(0,tw.jsx)("div",{className:"py-1",children:(0,tw.jsxs)("div",{className:e,children:[(0,tw.jsx)(tE.m3,{className:"mb-2",color:"gray",children:i}),(d||n)&&(0,tw.jsxs)("div",{className:r,children:[d,n]}),l]})})};
45var o2=t(7269);let o6="locations?facilityId=",o9="location-details",o8="120",o7=({item:e,onItemClick:l,locationsUrl:t,addTaggedWrapper:n=!0})=>{let{t:i}=(0,tB.QT)(),{statusCode:a,operatingStatus:o}=oL(e),{data:r,isValidating:s,isLoading:d}=(0,o2.u)({revalidateOnFocus:!0}),c=oC(null==e?void 0:e.erFeed),u=!!(null!=e&&e.facilityId),m=(null==e?void 0:e.locationImageUrl)||(null==e?void 0:e.locationImage),v="neu-text-body fw-bold mb-1",p="col-sm-12 pt-lg-0 pt-4",f=(null==e?void 0:e.url)??(null==e?void 0:e.locationUrl)??(null==e?void 0:e.marketedWebsite)??t,h=(0,tw.jsxs)("div",{className:m?"":"col-xs-12 col-lg-3",children:[(0,tw.jsx)("p",{className:(0,tC.c)({"detail__title--last":m},"pt-4",v),children:i("Locations.Card.MainFacility")}),(0,tw.jsx)(oG.U,{field:{value:{href:null==e?void 0:e.mainFacilityLocationUrl,text:(null==e?void 0:e.mainFacilityLocationName)??`${i("Locations.Card.GoTo")} ${i("Locations.Card.MainFacility")}`}}})]}),{SpecialtyButton:x,GetDirectionsButton:g,ViewOnMapButton:y,WebsiteButton:j}=oE,N=tk.useCallback(e=>{l&&(e.stopPropagation(),Object.defineProperty(e.currentTarget.dataset,"testId",{value:o9}),l(e))},[l]);return(0,tw.jsx)(iC,{condition:n,wrapper:e=>(0,tw.jsx)(o5,{onContainerClick:l,onClick:N,tag:i("Common.Location"),children:e}),wrappedJSX:u?(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsxs)("div",{className:"d-flex row px-0 py-2 w-100",children:[(0,tw.jsx)("div",{className:"col-12 align-items-lg-center align-items-start",children:(0,tw.jsx)(oK,{facilityTitle:null!=e&&e.pageTitle?e.pageTitle:null==e?void 0:e.marketedFacilityName,facilityUrl:f,distance:null==e?void 0:e.distance,className:"d-flex align-items-lg-center align-items-top",distanceClass:"col-3 d-none d-lg-flex justify-content-end",titleClass:(0,tC.c)("mb-2",(null==e?void 0:e.distance)&&"col-12 col-lg-8")})}),null!=e&&e.urgentCareFacilityId?(0,tw.jsx)(oX.a,{ucFacilityId:null==e?void 0:e.urgentCareFacilityId,waitTimes:r,isLoading:d||s}):null,(0,tw.jsxs)("div",{className:"d-lg-flex col-lg-11 pe-0 align-items-lg-end",children:[(0,tw.jsx)(o3,{result:e,erFeed:c,className:"col-lg-8",facilityTypeClass:"d-block d-lg-inline-block",erWaitClass:"d-block d-lg-inline-block"}),(0,tw.jsxs)("div",{className:"pt-2 pt-lg-0 pe-0 col-lg-4 col-12 d-flex justify-content-between justify-content-lg-end",children:[(0,tw.jsx)(oW,{buttonOrder:[j],result:e}),(0,tw.jsx)(oJ,{distance:null==e?void 0:e.distance,className:"col-6 d-flex justify-content-end d-lg-none"})]})]})]})}),(0,tw.jsxs)(tE.IS.Content,{children:[(0,tw.jsxs)("div",{className:"row justify-content-between",children:[(0,tw.jsx)(oM,{className:m?"col-lg-4 col-sm-12":"col-lg-6 col-sm-12",title:i("Locations.Card.Address"),titleClassName:v,street1:e.street1,street2:e.street2,city:e.city,state:e.state,postalCode:e.postalCode}),(0,tw.jsx)(o4,{title:i("Locations.Card.PhoneNumber"),titleClassName:v,phoneNumber:e.marketedPrimaryPhoneNumber,className:m?(0,tC.c)("col-lg-4",p):(0,tC.c)("col-lg-6",p)}),m&&(0,tw.jsx)("div",{className:"d-none d-lg-flex col-4 justify-content-end",children:(0,tw.jsx)(ok.o,{className:(0,tC.c)("object-fit-cover",{"grayscale-element":"Open"!==a}),field:{src:m,alt:`${(null==e?void 0:e.marketedFacilityName)??(null==e?void 0:e.facilityName)??(null==e?void 0:e.locationName)} ${o&&null!=o&&o.text?`is currently ${o.text}`:""}`,stylelabsContentType:"Image",width:o8,height:o8}})}),(null==e?void 0:e.mainFacilityLocationUrl)&&h]}),(0,tw.jsx)("div",{className:"pt-4",children:(0,tw.jsx)(oW,{buttonOrder:[x,g,y],result:e,cardButtonsClassName:"me-2 mb-2",viewOnMapUrl:`${o6}${e.facilityId}`})}),oS(e)&&(0,tw.jsx)("div",{className:"pt-2",children:(0,tw.jsx)(o1,{result:e,titleClassName:v,hoursButtonClassName:"pt-1",fontClassName:"neu-text-caption",dropdownClassNames:{menuJustifyClass:"justify-content-start"}})})]}),(0,tw.jsx)(tE.IS.Footer,{children:(0,tw.jsxs)("div",{className:"row w-100",children:[(0,tw.jsx)("div",{className:"col-lg-6",children:(0,tw.jsx)(oq,{className:"w-100",result:e,facilityName:(null==e?void 0:e.marketedFacilityName)??(null==e?void 0:e.facilityName)??(null==e?void 0:e.locationName)})}),(0,tw.jsx)("div",{className:"col-lg-6",children:(0,tw.jsx)(o$,{className:"w-100 mt-lg-0 mt-2",result:e,facilityName:(null==e?void 0:e.marketedFacilityName)??(null==e?void 0:e.facilityName)??(null==e?void 0:e.locationName)})})]})})]}):(0,tw.jsx)(tE.IS,{color:"plain",kind:"outline",children:(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsxs)("div",{className:"d-flex flex-wrap justify-content-between col-11",children:[(0,tw.jsx)(oK,{facilityTitle:null==e?void 0:e.pageTitle,facilityUrl:f,className:"col-12 col-lg-auto"}),(0,tw.jsx)("div",{className:"d-flex align-self-center col-12 col-lg-auto mt-2 mt-lg-0",children:(0,tw.jsx)(oW,{buttonOrder:[j],result:{...e,locationUrl:f}})})]})})})})},re=(0,tk.forwardRef)(({locations:e},l)=>(0,tw.jsx)("div",{ref:l,className:"d-flex flex-column gap-1",children:e.map(e=>(0,tw.jsx)(tk.Fragment,{children:(0,tw.jsx)(o7,{item:{itemId:e.itemId??"",type:aL.location,...e},addTaggedWrapper:!1})},e.facilityId??e.itemId??e.locationUrl))}));re.displayName="LocationSearchListing";
45let rl=({fields:e,facilityTypeOptions:l,specialtyOptions:t,persistentFilters:n,modalDescription:i,parentFacilityId:a,hasTimestampAppended:o,enabled:r})=>{var s,d,c,u,m,v;let{t:p}=(0,tB.QT)(),{FacilityNameSearch:f,LocationSearch:h,FacilityTypeSelect:x,Divider:g,SpecialtySelect:y,RadiusSelect:j,SubmitButton:N}=ot,[b,w]=tk.useState([]),[L,C]=tk.useState(void 0),[S,k]=tk.useState(!1),M=tk.useRef(null),D=!b||0===b.length||S,{pubDate:T}=(0,io.a)(null==(s=null==e?void 0:e.site.header)?void 0:s.erWaitTimeEndpoints),{isModule:I}=(0,io.u)(),{timeStampWithDate:E}=(0,ab.u)(null==T?void 0:T.replace("AKDT","-0800").replace("AKST","-0900")),A=i;null!=i&&i.value&&o&&!(null!=i&&i.value.includes("{timestamp}"))&&!(null!=i&&i.value.includes("{timestamp} on {date}"))&&(A={value:i.value+` <span>${E}</span>`}),null!=i&&i.value&&null!=i&&i.value.includes("{timestamp}")&&!(null!=i&&i.value.includes("{timestamp} on {date}"))&&(A={value:i.value.replace("{timestamp}",`<span>${E}</span>`)}),null!=i&&i.value&&null!=i&&i.value.includes("{timestamp} on {date}")&&(A={value:i.value.replace("{timestamp} on {date}",`<span>${E}</span>`)});let{data:_,error:F,setLocationSearchParameter:P,locationSearchParameter:O,isValidating:z}=aR({filters:{...n},page:1,sort:"",radius:null==(d=null==e?void 0:e.defaultRequest)?void 0:d.radius,marketedSecondaryTypes:null==(c=null==e?void 0:e.defaultRequest)?void 0:c.marketedSecondaryTypes,parentFacilityId:a},{enabled:r,revalidateOnFocus:!0}),{count:R,start:B,end:U}=tk.useMemo(()=>{let{page:e,total:l}=(null==_?void 0:_.data)??{total:0,page:{start:0,end:0}};return{count:l,start:(null==e?void 0:e.start)||0,end:(null==e?void 0:e.end)||0}},[null==_?void 0:_.data]);tk.useEffect(()=>{var e;null!=(e=null==_?void 0:_.data)&&e.results&&w(_.data.results),null!=_&&_.hasErrors&&C(_.errors),F&&C([{key:"LOCATION_SEARCH_FAILED",message:p("Search.Errors.LocationSearchFailed")}])},[_,F,p]);let H=l=>{let{facilityNameSearch:t,...i}=l;if(C(void 0),k(!1),t)P(l=>{var i;return l.locationName!==t?{page:1,sort:"",locationName:t,marketedSecondaryTypes:null==(i=null==e?void 0:e.defaultRequest)?void 0:i.marketedSecondaryTypes,filters:n}:l});else if(i.latitude&&i.longitude||i.facilityTypeSelect){let{facilityTypeSelect:e,...l}=i,t=e?{marketed_secondary_types_names:[e],...n}:n;P({...of(l),filters:t,page:1,sort:""})}else k(!0)},Z=e=>{P(l=>({...l,page:e.value}))};return(0,tw.jsxs)(tE.qd,{fluid:!0,className:"max-h-lg-75vh overflow-hidden px-0 mx-0",children:[(0,tw.jsx)(tE.qd.Row,{gutter:"none",children:(null==A?void 0:A.value)&&(0,tw.jsx)(tE.qw,{kind:"info",className:"w-fit",children:(0,tw.jsx)(tR.H,{internalLinksSelector:I?oy.qR:oy.Ss,field:A})})}),(0,tw.jsxs)(tE.qd.Row,{gutter:"none",className:"mt-3",children:[(0,tw.jsx)(tE.qd.Column,{col:12,colLg:4,className:"pe-lg-6",children:(0,tw.jsx)(og,{locationSearchFormSubmit:H,config:{formFieldOrder:[f,g,h,...l?[x]:[],...t?[y]:[],j,N],[N]:{buttonClassName:"w-100"},[x]:l?{facilityOptions:l}:void 0,[y]:t?{facilityOptions:t}:void 0}})}),(0,tw.jsxs)(tE.qd.Column,{col:12,colLg:8,className:"h-100",children:[(0,tw.jsx)(tE.qd.Row,{gutter:"none",children:(0,tw.jsx)(tE.qd.Column,{col:12,children:D?null:(0,tw.jsx)(is,{isLoading:z,contentTitleClassName:"d-flex align-items-end",count:R,start:B,end:U,sort:(null==O?void 0:O.sort)||"",onSortChange:e=>{P(l=>({...l,page:1,sort:e}))},sortOptions:[{value:"",label:p("Search.Distance")},{value:"marketedfacilityname_s:asc",label:p("Locations.Search.Form.Sort.AZ")}],resultDisplayName:"Results",className:"neu-text-caption",hideTitle:!0})})}),(0,tw.jsx)(tE.qd.Row,{gutter:"none",children:(0,tw.jsx)(tS,{})}),(0,tw.jsx)(tE.qd.Row,{className:"h-320-lg overflow-y-lg-scroll",gutter:"none",children:z?(0,tw.jsx)(tE.$V,{kind:"spinner",size:"large",className:"h-100 align-items-center"}):D?(0,tw.jsx)(oj,{errors:L,noResultsTitle:null!=O&&O.radius?p("Locations.Search.NoResultRadius",{radius:null==O?void 0:O.radius}):p("Locations.Search.NoResults"),noResultsDescription:null!=O&&O.radius?p("Locations.Search.TryAgainRadius"):p("Locations.Search.TryAgain")}):(0,tw.jsx)(re,{ref:M,locations:b})}),(0,tw.jsx)(tE.qd.Row,{gutter:"none",children:D||z?null:(0,tw.jsx)("div",{className:"d-flex pt-3 justify-content-center",children:(0,tw.jsx)(tE.S7,{color:"main",current:(null==(m=null==(u=null==_?void 0:_.data)?void 0:u.page)?void 0:m.current)||1,kind:"paginator",limit:10,onNeuChange:Z,results:(null==(v=null==_?void 0:_.data)?void 0:v.total)||0})})})]})]})]})};var rt=t(4406);!function(){try{if("u">typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(`._playIcon_3xgwd_1{background:transparent;border:0 none;cursor:pointer;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}._playIcon_3xgwd_1 span{border-radius:50%;color:var(--neu-plain-0);font-size:78px;transition-duration:.2s;transition-property:transform;font-variation-settings:normal}._playIcon_3xgwd_1:hover i,._playIcon_3xgwd_1:focus i{transform:scale(1.3)}._opacity_3xgwd_23{opacity:.77}
46._extendedDropdown_17k1l_1 .unit-dropdown .dropdown-menu{max-height:clamp(150px,80vh,500px)!important}
47@media (min-width: 992px){._overlay_1tz1r_2{margin-top:-6rem}}@media (min-width: 992px){._corpOverlay_1tz1r_8{margin-top:-8rem}}._hideEmpty_1tz1r_13:has(>div:empty){display:none}
48._richText_1ghed_1 a:not(._neu-button_1ghed_1){color:var(--neu-plain-0);font-size:14px;text-decoration:none}._richText_1ghed_1 a:not(._neu-button_1ghed_1):hover,._richText_1ghed_1 a:not(._neu-button_1ghed_1):focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._richText_1ghed_1 strong{font-weight:600}._richText_1ghed_1 hr{border:none;background-color:var(--neu-plain-0);height:1px;width:100%;margin:20px 0}a._corpLinks_1ghed_24{color:var(--neu-plain-0);text-decoration:none}a._corpLinks_1ghed_24:hover,a._corpLinks_1ghed_24:focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._containerFlex_1ghed_37{padding:35px}@media (min-width: 992px){._containerFlex_1ghed_37{padding:35px 72px}}
49@media (min-width: 576px){._standaloneSearch_10kr5_2{min-width:20rem}}._standaloneSearch_10kr5_2 .unit-dropdown{width:100%}._standaloneSearch_10kr5_2 .neu-form--support:empty{display:none}._standaloneSearch_10kr5_2 .unit-wrapper:before{all:unset}._standaloneSearch_10kr5_2 .neu-form__native{padding:var(--form-padding);padding-right:calc(40px + var(--neu-spacer-3));min-width:18rem}._standaloneSearch_10kr5_2 .neu-form__native::-webkit-search-cancel-button{margin-top:.1rem}@media (min-width: 992px){._corporateStandalone_10kr5_25{min-width:19rem}._corporateStandalone_10kr5_25 label{color:var(--neu-plain-0)}}._standaloneSearch_10kr5_2+.input-spinner{--feedback-padding-right: calc(40px + var(--neu-spacer-3));--feedback-padding-bottom: var(--neu-spacer-3)}._standaloneButton_10kr5_37.with-label{top:calc(1.375rem + var(--neu-spacer-2))}`)),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();let rn=({languages:e})=>{let{selectedFriendlyName:l,availableLanguages:t,changeLanguage:n}=ij({fields:e.languageSelection}),i=(0,tk.useMemo)(()=>t.filter(e=>{var t;return(null==(t=null==e?void 0:e.friendlyName)?void 0:t.value)!==l}),[t,l]),a=(e,l)=>{e.preventDefault(),n(l)};return(0,tw.jsx)(tE.lj,{label:l,className:"size-sm color-white",children:null==i?void 0:i.map(e=>{var l,t,n;return(0,tw.jsx)(tI.M,{href:(null==(l=e.targetHref)?void 0:l.href)||"",locale:(null==(t=e.regionalIsoCode)?void 0:t.value)||(null==(n=e["Regional Iso Code"])?void 0:n.value),onClick:l=>a(l,e.friendlyName.value),children:e.friendlyName.value},e.friendlyName.value)})})},ri="site-search",ra="6",ro="1",rr=({page:e=ro,sc_lang:l,display:t=ra,pageId:n,sc_site:i,sitecoreApiHost:a="",searchType:o="typeahead",isModule:r=!1,...s})=>{var d,c,u;let m=`search/${o}`,{sitecoreContext:v}=(0,tL.u)(),{t:p}=(0,tB.QT)(),f=(0,ix.useRouter)(),h=(null==(d=null==v?void 0:v.route)?void 0:d.itemId)??"",x=(null==(c=null==v?void 0:v.site)?void 0:c.name)??"",g=(null==v?void 0:v.language)??ay,[y,j]=tk.useState(s.query),N=!!y&&y.trim().length>0,b=(0,ag.ZP)(N?`${a}${aj}${m}?${ax.stringify({pageId:n||h,sc_site:i||x,page:e,sc_lang:l||g,display:t,category:s.category,query:y})}`:null,tH.f,{revalidateOnFocus:!1,keepPreviousData:!0,revalidateIfStale:!1});return null!=(u=b.data)&&u.data?{...b,processedResults:"terms"===o?rs(b.data):rd(b.data,p,r,f),termsParameter:y,setTermsParameter:j}:{...b,setTermsParameter:j}},rs=e=>e.data.suggestions.reduce((e,l)=>(null!=l&&l.text&&e.push({id:l.text,value:l.text,data:{}}),e),[]),rd=(e,l,t=!1,n)=>{let i={specialties:l("Search.Content.Specialties"),doctors:l("Search.Content.Providers"),locations:l("Common.Locations"),events:l("Search.Content.ClassesAmpEvents"),cmp:"News, Articles & Blogs",otherContent:l("Search.Content.Other")},a=[];
49return Object.entries(e.data.suggestions).forEach(([e,l])=>{Array.isArray(l)&&l.length>0&&a.push(...rc(i[e],l,t,n))}),a},rc=(e,l,t=!1,n)=>{let i=[{id:e,value:e,isHeader:!0,data:{}}];return i.push(...l.map(l=>({id:`${e}-${l.text}`,value:l.text,data:l,onSelected:l.url?()=>{iL(l.url,n,!t)}:void 0})).slice(0,5)),i},ru={standaloneSearch:"_standaloneSearch_10kr5_2",corporateStandalone:"_corporateStandalone_10kr5_25",standaloneButton:"_standaloneButton_10kr5_37"},rm=({sitecoreApiHost:e,label:l,required:t,placeholder:n,idSuffix:i,pageId:a,scSite:o,labelHidden:r=!1})=>{let{t:s}=(0,tB.QT)(),[d,c]=tk.useState(void 0),u=(0,ix.useRouter)(),{sitecoreContext:{siteAttributes:{isCorporate:m}}}=(0,tL.u)(),{isModule:v}=(0,io.u)(),p=iw(u),f=(0,iN.Gc)(),{mobileMenuOpen:h,setMobileMenuOpen:x,setSubmitSiteSearchQuery:g,siteSearchUrl:y}=(0,io.u)(),j=(0,iN.cI)({mode:"onChange",defaultValues:{[ri]:""}}),N=f||j,{trigger:b,watch:w}=N,L=w(ri),{processedResults:C,isLoading:S,error:k,setTermsParameter:M,termsParameter:D}=rr({sitecoreApiHost:e,pageId:a,sc_site:o,isModule:v}),T=async()=>{if(!await b(ri))return;h&&x(!1);let e=L??D;p===y?g(e):iL(`${y}?query=${e}`,u,!v)},I=!f,E=async e=>{"Enter"===e.key&&I&&await N.handleSubmit(T)()},A=I?(0,tC.c)(ru.standaloneSearch,m&&ru.corporateStandalone):void 0;return(0,tw.jsx)(iC,{condition:I,wrapper:e=>(0,tw.jsx)(iN.RV,{...N,children:e}),wrappedJSX:(0,tw.jsxs)("div",{className:"position-relative w-100 w-lg-auto",children:[(0,tw.jsx)(iE,{id:`${ri}-${i}`,debounce:300,required:t||I,invalid:d||(k?s("Search.Errors.SomethingWentWrong"):void 0),error:!!d||!!k,className:(0,tC.c)(ri,A),items:C??[],placeholder:n??s("Search.Labels.LookingFor"),label:l??"Search",labelHidden:r,resultsCTA:{label:"View All Results",link:{href:`${y}?query=${D}`}},onCtaClick:e=>{e.preventDefault(),p===y&&L&&g(L),iL(`${y}?query=${D}`,u,!v)},itemsLoading:S,onTypeaheadKeyPress:e=>{e.length>=iD&&!d&&M(e)},onSubmit:T,onKeyUp:E,...N.register(ri,{validate:e=>e&&!ib.test(e)?(c(s("Search.Errors.InvalidSpecialCharacters")),s("Search.Errors.InvalidSpecialCharacters")):(c(void 0),!0)}),isGlobalSiteSearch:!0}),I&&(0,tw.jsx)(tE.Yu,{type:"button",disabled:!!d,onClick:N.handleSubmit(T),className:(0,tC.c)("position-absolute right-0 top-0 px-1 rounded-right duration-0",ru.standaloneButton,!r&&"with-label"),children:(0,tw.jsx)(tE.JK,{name:"search",decorative:!1})})]})})},rv="header-er-wait-btn",rp=({fields:e,iconClassName:l,linkClassName:t})=>{var n,i,a;let{t:o}=(0,tB.QT)(),{sitecoreContext:r}=(0,tL.u)(),{defaultRequest:s}=e,d=null==(n=null==e?void 0:e.site.header)?void 0:n.erWaitTimeEndpoints,{erWaitTimes:c}=(0,io.a)(d),{openERWaitTimeModal:u}=(0,io.u)(),m=(null==r?void 0:r.locationErFeed)&&c.find(e=>e.title===r.locationErFeed),{time:v,tzAcronym:p}=(0,ab.u)(m&&(null==m?void 0:m.pubDate)),{data:f}=aR({filters:{...null==s?void 0:s.filters,operatingstatuscode:[aw.Open]},page:1,sort:"",marketedSecondaryTypes:null==s?void 0:s.marketedSecondaryTypes,parentFacilityId:null==s?void 0:s.parentFacilityId});if(!m)return null;let h=(null==(i=null==f?void 0:f.data)?void 0:i.results)&&(null==(a=null==f?void 0:f.data)?void 0:a.results.length)>0;return(0,tw.jsxs)(tI.M,{className:(0,tC.c)(t,"d-flex flex-row align-items-center justify-content-lg-center"),href:h?"#":"/legal/er-wait-times","data-test-id":rv,onClick:e=>{h&&(e.preventDefault(),u())},children:[(0,tw.jsx)(tE.JK,{className:l,name:"schedule"}),(0,tw.jsx)("span",{className:"pe-1 text-decoration-underline neu-text-blue-60",children:`${o("Header.ERWaitTimes.MarketLabel")} ${v} ${p}`}),(0,tw.jsx)(tE.m3,{className:"min-w-fit",children:null!=m&&m.description?`${m.description}`:o("Header.ERWaitTimes.NoData")})]})},rf="https://www.google.com/maps/dir/?api=1",rh=e=>{var l,t,n,i,a;let{location:o}=e.fields,r=null==(n=null==(t=null==(l=null==o?void 0:o.identity)?void 0:l.address)?void 0:t.value)?void 0:n.replace(/<[^>]*>/g,""),s=null==(a=null==(i=null==o?void 0:o.identity)?void 0:i.phoneNumber)?void 0:a.value,d="me-1",c="text-decoration-none neu-text-caption d-flex flex-row align-items-center",u="location_on",m="phone",v=null==o?void 0:o.isTemporarilyClosed;return(0,tw.jsxs)("div",{className:"d-flex align-items-lg-center justify-content-lg-center flex-column flex-lg-row gap-2 gap-lg-5 neu-text-gray-70",children:[(0,tw.jsxs)(tI.M,{field:{value:{text:r,href:`${rf}&destination=${r}`,target:"_blank"}},className:c,children:[(0,tw.jsx)(tE.JK,{className:d,name:u}),(0,tw.jsx)("span",{className:"text-decoration-underline neu-text-blue-60",children:r})]}),(0,tw.jsxs)(tI.M,{field:{value:{text:s,href:`tel:${null==s?void 0:s.replace(/ /g,"")}`}},className:c,children:[(0,tw.jsx)(tE.JK,{className:d,name:m}),(0,tw.jsx)("span",{className:"text-decoration-underline neu-text-blue-60",children:s})]}),!v&&(0,tw.jsx)(rp,{linkClassName:c,iconClassName:d,...e})]})},rx=({fields:e})=>{var l,t;let n=null==(l=null==e?void 0:e.site.header)?void 0:l.erWaitTimeEndpoints,{erWaitTimes:i}=(0,io.a)(n),{openERWaitTimeModal:a,erWaitTimeStamp:o}=(0,io.u)(),{t:r}=(0,tB.QT)(),{erWaitTime:s}=e,d=null!=s&&s.individualErFeed?i.find(e=>e.title===s.individualErFeed):void 0;return s&&null!=s&&s.individualErFeed&&null!=s&&s.marketedFacilityName&&d?(0,tw.jsxs)("div",{className:"d-flex flex-column flex-md-row align-items-center justify-content-start justify-content-md-center gap-1 neu-text-caption w-100 px-2",children:[(0,tw.jsxs)(tI.M,{className:"col-12 col-md-auto gap-1 text-decoration-none align-items-center d-flex justify-content-start justify-content-md-end",href:"/legal/er-wait-times",children:[(0,tw.jsx)(tE.JK,{name:"schedule"}),(0,tw.jsx)("span",{className:"text-decoration-underline",children:r("Header.ERWaitTimes.ERWaitTimes")})]}),(0,tw.jsxs)("div",{className:"col-12 col-md-auto d-flex flex-row gap-1 align-items-center justify-content-start justify-content-md-center",children:[(0,tw.jsx)("span",{className:"fw-bold",children:s.marketedFacilityName}),(0,tw.jsx)(tE.m3,{className:"flex-shrink-0",children:null==(t=null==d?void 0:d.description)?void 0:t.toLowerCase()})]}),(0,tw.jsxs)("div",{className:"col-12 col-md-auto d-flex flex-row gap-1 align-items-center justify-content-start",children:[(0,tw.jsx)("span",{children:o}),s.displayViewAll&&(0,tw.jsx)(tU,{onClick:e=>{e.preventDefault(),a()},children:r("Common.Links.ViewAll")})]})]}):null},rg=e=>{var l,t;let{sitecoreContext:n}=(0,tL.u)(),{isLocation:i,isCorporate:a}=(null==n?void 0:n.siteAttributes)||{},{fields:o}=e,r=i&&!a,s=(null==(l=o.erWaitTime)?void 0:l.individualErFeed)&&(null==(t=o.erWaitTime)?void 0:t.marketedFacilityName);return r||s?(0,tw.jsx)("div",{className:"d-flex flex-row py-3",children:(0,tw.jsxs)("div",{className:"container",children:[r&&(0,tw.jsx)(rh,{...e}),s&&(0,tw.jsx)(rx,{...e})]})}):null},ry={"All Clear":"green-60","Emergency Alert":"red-60","Entity Branding Primary Dark":"main-100",Hazard:"orange-60","Informational Alert":"blue-60","Operating Status Alert":"main-100"},rj={"All Clear":"check_circle","Emergency Alert":"warning","Entity Branding Primary Dark":"info",Hazard:"warning","Informational Alert":"info","Operating Status Alert":"info"},rN=({alert:e})=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h,x,g,y,j,N,b;let w=null==(t=null==(l=null==e?void 0:e.fields)?void 0:l.type)?void 0:t.value,L=(null==(r=null==(o=null==(a=null==(i=null==(n=null==e?void 0:e.fields)?void 0:n.icon)?void 0:i[0])?void 0:a.fields)?void 0:o.isMaterialIcon)?void 0:r.value)?null==(m
49=null==(u=null==(c=null==(d=null==(s=null==e?void 0:e.fields)?void 0:s.icon)?void 0:d[0])?void 0:c.fields)?void 0:u.iconName)?void 0:m.value:rj[w],C=!!(null!=(p=null==(v=null==e?void 0:e.fields)?void 0:v.description)&&p.value||null!=(x=null==(h=null==(f=null==e?void 0:e.fields)?void 0:f.links)?void 0:h.value)&&x.length),S=(0,tw.jsxs)("div",{className:`d-flex align-items-center ${C?"":"p-2 pe-1"}`,children:[L&&(0,tw.jsx)(tE.JK,{className:`w-16 h-16 rounded-circle neu-text-plain-0 neu-icon-1 p-1 me-2 neu-bg-${ry[w]}`,name:L,fill:!1}),(0,tw.jsx)(tD,{tag:"span",className:"fw-bold neu-text-caption",field:null==(g=null==e?void 0:e.fields)?void 0:g.title})]});return C?(0,tw.jsxs)(tE.RB.Item,{children:[(0,tw.jsx)(tE.RB.Header,{children:S}),(0,tw.jsxs)(tE.RB.Content,{className:"neu-text-caption",children:[(0,tw.jsx)(tD,{tag:"p",field:null==(y=null==e?void 0:e.fields)?void 0:y.description}),(0,tw.jsx)("div",{className:"d-flex flex-row gap-2",children:null==(b=null==(N=null==(j=null==e?void 0:e.fields)?void 0:j.links)?void 0:N.value)?void 0:b.map(e=>{var l,t;return(0,tw.jsx)(tI.M,{field:e},(null==(l=null==e?void 0:e.value)?void 0:l.href)??(null==(t=null==e?void 0:e.value)?void 0:t.text)??JSON.stringify(e))})})]})]}):S},rb=({alertsCount:e,className:l,handleDismiss:t})=>{let{t:n}=(0,tB.QT)();return(0,tw.jsxs)("div",{className:(0,tC.c)("d-flex justify-content-between align-items-center h-100 p-2",l),children:[(0,tw.jsxs)("div",{children:[(0,tw.jsx)("span",{className:"text-sm font-semibold text-gray-700",children:n("Header.Alerts.Alerts")}),e>0&&(0,tw.jsx)("span",{className:"rounded-circle neu-bg-red-60 neu-text-plain-0 w-12 h-12 d-inline-flex align-items-center justify-content-center ms-1",children:e})]}),(0,tw.jsx)("div",{children:(0,tw.jsx)(tU,{onClick:t,tabIndex:0,children:n("Header.Alerts.DismissAlerts")})})]})},rw=({fields:e,isMobile:l})=>{var t;let{t:n}=(0,tB.QT)(),{alerts:i}=tP,a=null==(t=null==e?void 0:e.site)?void 0:t.alerts,[o,r]=aH("dismissed_alerts",[]),s=tk.useMemo(()=>(null==a?void 0:a.filter(e=>e.fields.id&&!o.includes(e.fields.id)))||[],[o,a]),d=()=>{a&&s&&s.length>0&&r([...o,...s.map(e=>{var l;return(null==(l=null==e?void 0:e.fields)?void 0:l.id)||""})]),l||u(!1)},[c,u]=tk.useState(!1),m=tk.useRef(null);(0,tE.Sj)(()=>u(!1)),tk.useEffect(()=>{a&&s&&s.length>0&&u(!0)},[s]);let[v,p]=tk.useState(null);return tk.useEffect(()=>{p(e=>c&&!e?[`${i.clicked}`]:c&&e?e.concat(`${i.clicked}`):null)},[c,i.clicked]),!a||a.length<1?null:(0,tw.jsxs)("div",{className:"position-relative w-100 w-lg-auto align-self-lg-end",children:[(0,tw.jsx)(tE.Yu,{color:"red",className:(0,tC.c)("d-flex flex-row align-items-center justify-content-center neu-text-plain-0 gap-1 w-100 w-lg-auto rounded-0 rounded-circle-lg",v),kind:"primary",icon:"warning",type:"button",name:"alerts",onClick:()=>{u(e=>!e),l&&d()},children:(0,tw.jsxs)("div",{className:"d-flex flex-row align-items-center gap-1",children:[(0,tw.jsx)("span",{children:n("Header.Alerts.Alerts")}),(0,tw.jsx)("span",{className:"neu-text-support rounded-circle neu-bg-plain-0 color-red-60 w-10 h-10 align-items-center justify-content-center d-flex neu-text-red-60",children:a.length}),(0,tw.jsx)(tE.JK,{name:c?"keyboard_arrow_up":"keyboard_arrow_down",className:"neu-text-plain-0 d-lg-none","aria-label":c?"Collapse and dismiss alerts":"Expand alerts"})]})}),c&&(0,tw.jsxs)("div",{className:"position-relative position-lg-absolute right-0 top-24-lg d-flex flex-column border-bottom-0 min-w-160 neu-bg-plain-0 neu-elevation-1",ref:m,children:[(0,tw.jsx)(rb,{className:"d-none d-lg-flex flex-lg-row",alertsCount:a.length,handleDismiss:d}),(null==a?void 0:a.length)>0?(0,tw.jsx)(tE.RB,{single:!0,className:"flex-row",children:a.map(e=>(0,tw.jsx)(rN,{alert:e},e.fields.id))}):(0,tw.jsx)("span",{className:"neu-text-support text-center",children:n("Header.Alerts.NoAlerts")})]})]})},rL="header-change-location-btn",rC="header-change-location-modal",rS=()=>{let{t:e}=(0,tB.QT)(),{header:l}=tP,t=e("Header.ChangeLocation"),{toggleChangeLocationModal:n}=(0,io.u)();return(0,tw.jsx)("div",{className:"header-change-location",children:(0,tw.jsx)(tU,{"data-test-id":rL,className:(0,tC.c)(l.localNavCta),onClick:e=>{e.preventDefault(),n()},children:t})})}
49,rk=({asLinkButton:e=!1,className:l,buttonClasses:t})=>{let{t:n}=(0,tB.QT)(),{openERWaitTimeModal:i}=(0,io.u)(),{header:a}=tP,o=(0,tw.jsx)("span",{children:n("Header.ERWaitTimes.SiteLabel")});return(0,tw.jsx)("div",{className:(0,tC.c)("d-flex flex-row gap-1 align-items-center neu-text-caption",l),children:e?(0,tw.jsxs)(tU,{onClick:i,className:(0,tC.c)(a.globalNavCta,"d-flex flex-row gap-1 align-items-center fw-medium text-decoration-none neu-text-blue-60",t),children:[(0,tw.jsx)(tE.JK,{name:"schedule",color:"blue"}),o]}):(0,tw.jsx)(tE.Yu,{className:(0,tC.c)(a.globalNavCta,t),kind:"tertiary",color:"blue",icon:"schedule",onClick:i,children:o})})},rM=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h;let{t:x}=(0,tB.QT)(),{fields:g}=e,{location:y,logoLinkUrl:j}=g,{siteSearchPlaceholder:N}=(0,io.u)(),{sitecoreContext:b}=(0,tL.u)(),{theme:w,siteAttributes:{isCorporate:L,isMarket:C,isLocation:S}}=b,k=!!(null!=(l=null==b?void 0:b.theme)&&l.mainLogo),M=!L&&C&&k,D=null==(n=null==(t=null==g?void 0:g.site)?void 0:t.header)?void 0:n.headline,T=L&&S&&k&&!(null!=(o=null==(a=null==(i=null==g?void 0:g.site)?void 0:i.header)?void 0:a.hideLogo)&&o.value),I=S&&!(null!=(s=null==(r=null==y?void 0:y.header)?void 0:r.disableChangeLocation)&&s.value),E=null==(d=null==g?void 0:g.defaultRequest)?void 0:d.pageId,A=!L&&(null==(c=null==g?void 0:g.erWaitTime)?void 0:c.displayViewAll)&&!(null!=(u=null==g?void 0:g.erWaitTime)&&u.individualErFeed)&&(null==(v=null==(m=g.site)?void 0:m.header)?void 0:v.erWaitTimeEndpoints),_=(null==(p=null==g?void 0:g.site)?void 0:p.alerts)&&g.site.alerts.length>0;return L&&!S?null:(0,tw.jsx)("div",{className:(0,tC.c)("d-none d-lg-flex flex-row w-full pb-3",!L&&"min-h-52"),children:(0,tw.jsxs)("div",{className:"container d-flex flex-row justify-content-between align-items-center",children:[M?(0,tw.jsxs)("div",{className:"d-flex flex-column align-items-start pt-3",children:[(0,tw.jsx)(tz,{field:null==w?void 0:w.mainLogo,linkClassName:"me-auto py-2",logoClassName:"h-20 max-w-208"}),D&&(0,tw.jsx)(aB,{tag:"span",className:"neu-display-5 neu-text-support-60 fw-bold",field:D})]}):(0,tw.jsxs)("div",{className:"d-flex flex-column align-items-start gap-1 pt-3",children:[T?(0,tw.jsx)(tz,{field:null==w?void 0:w.mainLogo,logoLinkUrl:j,linkClassName:"me-auto py-2",logoClassName:"h-20"}):(0,tw.jsx)(aB,{tag:"span",linkUrl:j,linkClassName:"text-decoration-none",className:"neu-display-4 neu-text-support-60 fw-bold",field:null==(f=null==y?void 0:y.identity)?void 0:f.siteName}),I&&(0,tw.jsx)(rS,{})]}),(0,tw.jsxs)("div",{className:"d-flex flex-row gap-2 align-items-end",children:[A&&(0,tw.jsx)(rk,{}),!L&&(0,tw.jsx)(rm,{label:N,required:!0,idSuffix:"header-second-line",pageId:E,scSite:null==(h=null==g?void 0:g.defaultRequest)?void 0:h.site,placeholder:x("Search.EnterKeyword")}),_&&(0,tw.jsx)(rw,{fields:g})]})]})})},rD=({className:e,ctaLink:l,onClick:t,ctaColorImage:n,ctaKnockoutImage:i})=>{let{header:a}=tP,{sitecoreContext:{siteAttributes:{isCorporate:o,isMarket:r}}}=(0,tL.u)(),s=r?n:i;return o?(0,tw.jsx)(tA,{className:(0,tC.c)("d-flex align-items-center",a.globalNavCta,e),field:l}):(0,tw.jsx)(aZ,{imageClass:"h-8 w-auto max-w-160",linkClass:e,linkedImage:{value:{...null==s?void 0:s.value,...l.value}},onClick:t})},rT=({primaryLink:e,secondaryLink:l,onClick:t})=>{var n,i,a,o;let{sitecoreContext:{siteAttributes:{isMarket:r}}}=(0,tL.u)();if(!(null!=(n=null==e?void 0:e.value)&&n.text)&&!(null!=(i=null==l?void 0:l.value)&&i.text))return null;let{header:s}=tP,d=r?s.globalNavCta:s.localNavCta;return(0,tw.jsxs)("div",{className:"d-flex flex-row gap-3 align-items-center justify-content-end",children:[e&&(null==(a=e.value)?void 0:a.href)&&(0,tw.jsx)(tA,{className:d,field:e,onClick:t}),l&&(null==(o=l.value)?void 0:o.href)&&(0,tw.jsx)(tA,{className:d,field:l,onClick:t})]})},rI=({promo:e,onClick:l,withOffset:t,className:n})=>{var i,a,o;let{sitecoreContext:{siteAttributes:{isMarket:r}}}=(0,tL.u)();if(!e)return null;let{header:s}=tP,d=r?s.globalNavCta:s.localNavCta;return(0,tw.jsx)("div",{className:(0,tC.c)("d-flex flex-row",t?"offset-2":"",n),children:(0,tw.jsxs)("div",{className:"d-flex flex-column gap-3",children:[(null==(a=null==(i=e.image)?void 0:i.value)?void 0:a.src)&&(0,tw.jsx)(tO.E,{className:"position-relative h-auto max-w-100 left-0",loading:"eager",field:null==e?void 0:e.image}),(0,tw.jsx)("h4",{children:null==(o=e.headline)?void 0:o.value}),(0,tw.jsx)(tD,{field:null==e?void 0:e.description}),(0,tw.jsx)(tI.M,{className:(0,tC.c)(d,"fw-bold neu-text-body neu-text-blue-60 w-fit"),field:null==e?void 0:e.primaryLink,onClick:l})]})})},rE=({primaryLink:e,isRootLevelPromo:l=!1,className:t})=>e?(0,tw.jsx)("div",{className:(0,tC.c)("d-flex flex-row",t),children:(0,tw.jsx)(tA,{kind:"secondary",className:(0,tC.c)("h-20 mt-auto",l?"neu-text-gray-100":""),field:e})}):null,rA=(0,tk.forwardRef)(({title:e,menuItem:l,onNavClick:t,show:n},i)=>{let{sitecoreContext:{siteAttributes:{isCorporate:a,isMarket:o}}}=(0,tL.u)(),{header:r}=tP,s=tk.useMemo(()=>{var e;return null==(e=null==l?void 0:l.links)?void 0:e.filter(e=>null==e?void 0:e.length)},[l]),d=o?r.globalNav:r.localNav;if(!l)return null;let{promo:c}=l;return(0,tw.jsx)("div",{ref:i,className:(0,tC.c)("position-absolute left-0 justify-content-center w-100 overflow-auto overflow-x-hidden max-h-50vh neu-bg-plain-0 border-top border-neu-gray-20 neu-text-gray-100 neu-elevation-1",n?"d-flex":"d-none"),children:(0,tw.jsxs)("div",{className:"d-flex flex-column container pt-5 gap-4 ",children:[(0,tw.jsxs)("div",{className:"d-flex flex-row justify-content-between",children:[(0,tw.jsx)(tI.M,{className:(0,tC.c)(d,"neu-link link-plain"),field:e,onClick:t,children:(0,tw.jsx)("h5",{className:"fw-bold neu-text-gray-100",children:e.value.text})}),(0,tw.jsx)(rT,{primaryLink:l.primaryLink,secondaryLink:l.secondaryLink})]}),(0,tw.jsxs)("div",{className:"d-flex flex-row",children:[null==s?void 0:s.map((e,l)=>(0,tw.jsx)("div",{className:(0,tC.c)("position-relative d-flex flex-row col-4"),children:(0,tw.jsx)("ul",{className:"list-none p-0 d-flex flex-column gap-1",children:null==e?void 0:e.map((e,l)=>{var n;return(0,tw.jsxs)("li",{className:"d-flex flex-column gap-2 w-fit",children:[null!=e&&e.text&&!(null!=e&&e.href)?(0,tw.jsx)("span",{className:"fw-bold neu-text-body",children:null==e?void 0:e.text}):(0,tw.jsx)(tI.M,{className:(0,tC.c)(d,"dropdown-item fw-bold neu-text-body neu-text-blue-60",
49null!=(n=null==e?void 0:e.children)&&n.length?"mb-2":""),field:e,onClick:e=>{e.currentTarget.blur(),t&&t(e,!0)}}),(null==e?void 0:e.children)&&(0,tw.jsx)("ul",{className:"list-none ps-0 d-flex flex-column gap-1",children:null==e?void 0:e.children.map((e,l)=>(0,tw.jsx)("li",{className:"w-fit",children:(0,tw.jsx)(tI.M,{className:(0,tC.c)(d,"h-100"),field:e,onClick:t})},`${null==e?void 0:e.text}-${+l}`))})]},`${null==e?void 0:e.text}-${l}`)})})},`${+l}`)),s&&(null==s?void 0:s.length)<3&&c&&(a&&null!=c&&c.primaryLink?(0,tw.jsx)(rE,{className:"col-4",primaryLink:null==c?void 0:c.primaryLink}):(0,tw.jsx)(rI,{withOffset:(null==s?void 0:s.length)===1,promo:c}))]}),(0,tw.jsx)("div",{className:"flex-shrink-0 h-4"})]})})});rA.displayName="MegaMenuDropdown";let r_=({menuItem:e,title:l,onCtaClick:t,onNavClick:n})=>{let{sitecoreContext:{siteAttributes:{isMarket:i}}}=(0,tL.u)(),{header:a}=tP,[o,r]=tk.useState(!1),s=tk.useRef(null),d=(0,ix.useRouter)(),c=i?a.globalNav:a.localNav,u=tk.useCallback(e=>{e.currentTarget.blur(),r(e=>!e),n&&n(e,!0)},[r,n]),m=`${l.value.text}-menu`;return(0,tE.Kj)(s.current,()=>{var e;
49(null==(e=document.activeElement)?void 0:e.id)!==m&&r(!1)}),(0,aN.u)({elementRef:s,filters:[`[aria-controls="${m}"]`],isActive:o,callback:()=>r(!1)}),(0,tE.Sj)(()=>r(!1)),tk.useEffect(()=>{let e=()=>{r(!1)};return d.events.on("routeChangeStart",e),()=>{d.events.off("routeChangeStart",e)}},[]),(0,tw.jsxs)("li",{className:"h-100",children:[(0,tw.jsx)(tE.Yu,{className:(0,tC.c)(c,"h-100"),"aria-expanded":o,"aria-haspopup":o,"aria-controls":m,onClick:u,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),r(e=>!e))},type:"button",children:null==e?void 0:e.text}),(0,tw.jsx)(rA,{menuItem:e,title:l,onNavClick:n,onCtaClick:t,ref:s,show:o})]})},rF=({menuItem:e,onNavClick:l,onCtaClick:t})=>{var n;let{sitecoreContext:{siteAttributes:{isMarket:i,isCorporate:a}}}=(0,tL.u)(),{header:o}=tP,r=i?o.globalNav:o.localNav;if(!e)return null;let s=null==(n=null==e?void 0:e.links)?void 0:n.reduce((e,l)=>[...e,...l]);if(!e.href||!(null!=e&&e.text))return null;let d={value:{text:null==e?void 0:e.text,href:null==e?void 0:e.href}};return null!=s&&s.length?(0,tw.jsx)(r_,{menuItem:e,title:d,onNavClick:l,onCtaClick:t}):(0,tw.jsx)("li",{className:a?"d-flex align-items-stretch h-100":void 0,children:(0,tw.jsx)(tA,{className:(0,tC.c)(r),editable:!1,field:d,onClick:e=>{e.currentTarget.blur(),l&&l(e,!0)}})})},rP=({data:e,megaMenu:l,hideLogo:t})=>{var n,i,a,o,r,s,d;let c=null==(n=null==e?void 0:e.header)?void 0:n.ctaLink,u=null==(i=null==e?void 0:e.header)?void 0:i.ctaColorImage,m=null==(a=null==e?void 0:e.header)?void 0:a.ctaKnockoutImage,{sitecoreContext:v}=(0,tL.u)(),{siteAttributes:{isCorporate:p,isMarket:f,isLocation:h}}=v,x=p&&!h&&f&&!t;return(0,tw.jsxs)("ul",{className:(0,tC.c)("container d-flex d-row align-items-center gap-5 neu-text-caption list-none main-menu",f?"":"inverted",{"h-28":!f&&l&&0===l.length}),children:[x?(0,tw.jsx)("li",{className:"d-flex align-items-center",children:(0,tw.jsx)(tz,{logoClassName:"max-w-80 h-40",linkClassName:"p-0 border-0",field:null==(o=null==v?void 0:v.theme)?void 0:o.mainLogo})}):null,null==l?void 0:l.map((e,l)=>(0,tw.jsx)(rF,{menuItem:e,isCorporate:p},`${null==e?void 0:e.text}-${+l}`)),(null==(r=null==c?void 0:c.value)?void 0:r.href)&&((null==(s=null==u?void 0:u.value)?void 0:s.src)||(null==(d=null==c?void 0:c.value)?void 0:d.text))&&(0,tw.jsx)("li",{className:(0,tC.c)("d-flex align-items-center",{"ms-auto":p}),children:(0,tw.jsx)(rD,{className:(0,tC.c)({"neu-button":!p}),ctaColorImage:u,ctaKnockoutImage:m??u,ctaLink:c})})]})},rO=e=>{var l,t,n,i;let{t:a}=(0,tB.QT)(),{sitecoreContext:o}=(0,tL.u)(),{siteAttributes:{isMarket:r}}=o,s=r?"neu-bg-plain-0":"neu-bg-support-60",d=r?"neu-text-gray-90":"neu-text-plain-0",{location:c,site:u}=e.fields,m=c??u,v=null==m?void 0:m.megamenu;return(0,tw.jsx)("div",{className:(0,tC.c)("d-none d-lg-flex flex-row w-full justify-content-center align-items-center",s,d),"aria-label":null!=v&&v.length?a("Header.MegaMenu.NavLabel"):void 0,children:(0,tw.jsx)(rP,{megaMenu:v,data:m,hideLogo:null==(i=null==(n=null==(t=null==(l=null==e?void 0:e.fields)?void 0:l.site)?void 0:t.header)?void 0:n.hideLogo)?void 0:i.value})})},rz=({menuItem:e})=>{var l,t,n,i,a,o;return(0,tw.jsx)(tE.lj,{kind:"default",className:"size-sm color-white",label:null==(n=null==(t=null==(l=null==e?void 0:e.fields)?void 0:l.link)?void 0:t.value)?void 0:n.text,children:null==(o=null==(a=null==(i=null==e?void 0:e.fields)?void 0:i.dropdownLinks)?void 0:a.value)?void 0:o.map(e=>(0,tw.jsx)(tI.M,{className:"row",field:e},e.value.text))})},rR=({className:e,utilityMenu:l,languages:t,onClick:n})=>{var i;if(!l||!l.fields||!l.fields.menuLinks)return null;let{fields:{menuLinks:a}}=l;return(0,tw.jsxs)("div",{className:(0,tC.c)("gap-4 d-flex flex-row align-items-center justify-content-end",e),children:[null==a?void 0:a.map(e=>{var l,t,i,a,o,r;return null!=(t=null==(l=null==e?void 0:e.fields)?void 0:l.dropdownLinks)&&t.value&&(null==(o=null==(a=null==(i=null==e?void 0:e.fields)?void 0:i.dropdownLinks)?void 0:a.value)?void 0:o.length)>0?(0,tw.jsx)(rz,{menuItem:e},e.id):(0,tw.jsx)(tI.M,{className:"py-1 link-plain neu-text-caption",field:null==(r=null==e?void 0:e.fields)?void 0:r.link,onClick:n},e.id)}),t&&(null==(i=t.languageSelection)?void 0:i.length)>1&&(0,tw.jsx)(rn,{languages:t})]})},rB=e=>{var l,t,n,i,a,o,r,s,d,c;let{t:u}=(0,tB.QT)(),{fields:m}=e,{location:v,site:p}=m,f=(null==(l=null==v?void 0:v.header)?void 0:l.utilityMenu)??(null==(t=null==p?void 0:p.header)?void 0:t.utilityMenu),h=null==p?void 0:p.languages,x=null==(i=null==(n=null==p?void 0:p.identity)?void 0:n.siteName)?void 0:i.value,{sitecoreContext:{language:g,theme:y,siteAttributes:{isMarket:j,isCorporate:N}}}=(0,tL.u)(),{siteSearchPlaceholder:b}=(0,io.u)(),w=(null==(a=null==y?void 0:y.entityBrandingOverrides)?void 0:a.utilityNav)||"main-100",L=null==(o=null==m?void 0:m.defaultRequest)?void 0:o.pageId,C=!!(null!=(r=null==v?void 0:v.search)&&r.searchPage||null!=(d=null==(s=null==m?void 0:m.site)?void 0:s.search)&&d.searchPage),S=g!==rt.env.DEFAULT_LANGUAGE?`/${g}`:"/",k=(0,tC.c)({"ms-auto":j});return(0,tw.jsx)("div",{className:`d-none d-lg-flex neu-bg-${w} w-full`,children:(0,tw.jsxs)("div",{className:"container d-flex justify-content-between align-items-center flex-wrap",children:[!j&&(0,tw.jsxs)("div",{className:"d-flex flex-row gap-4 align-items-center",children:[!N&&(null==y?void 0:y.smallLogo)&&(0,tw.jsx)(aZ,{linkedImage:{value:{...y.smallLogo.value,href:S}},linkClass:"me-auto py-2 link-plain",imageClass:"h-20 max-w-144"}),(0,tw.jsxs)(tI.M,{href:S,className:"me-auto link-plain neu-text-caption",children:[(0,tw.jsx)(tE.JK,{name:"arrow_left"}),`${u("Header.UtilityMenu.BackLabel")} ${x}`]})]}),(0,tw.jsx)(rR,{className:k,utilityMenu:f,languages:h}),N&&C&&(0,tw.jsx)("div",{className:"pt-1 pb-2 col-4 ms-5",children:(0,tw.jsx)(rm,{label:b,required:!0,idSuffix:"header-top-line",pageId:L,scSite:null==(c=null==m?void 0:m.defaultRequest)?void 0:c.site,placeholder:u("Search.EnterKeyword")})})]})})},rU=e=>{var l,t;return(null==(t=null==(l=e.fields)?void 0:l.site)?void 0:t.alerts)?(0,tw.jsx)("div",{className:"d-flex flex-row w-100 justify-content-center align-items-center",children:(0,tw.jsx)(rw,{...e,isMobile:!0})}):null},rH=e=>{var l,t;let{fields:n,className:i}=e;return(null==(l=n.erWaitTime)?void 0:l.individualErFeed)&&(null==(t=n.erWaitTime)?void 0:t.marketedFacilityName)?(0,tw.jsx)("div",{className:`d-flex flex-row pt-1 w-100 justify-content-center align-items-center ${i}`,children:(0,tw.jsx)(rx,{...e})}):null},rZ=e=>{let{sitecoreContext:{siteAttributes:{isLocation:l,isCorporate:t}}}=(0,tL.u)();return l&&!t?(0,tw.jsx)("div",{className:"p-3",children:(0,tw.jsx)(rh,{...e})}):null},rQ="mobile-header-search-dialog",rY=({icon:e,text:l,iconOnly:t=!1,className:n,onClick:i,...a})=>
49(0,tw.jsxs)("button",{className:(0,tC.c)("neu-icon--button neu-icon--button-plain d-flex flex-column gap-0 neu-text-plain-100 w-fit h-fit",n),...a,onClick:i,children:[(0,tw.jsx)(tE.JK,{name:e,size:"2x"}),(0,tw.jsx)("span",{className:(0,tC.c)({"sr-only":t},"neu-text-plain-100"),children:l})]}),r$=({fields:e,className:l})=>{var t,n,i,a,o,r,s,d,c,u,m,v;let{sitecoreContext:{theme:p,siteAttributes:{isMarket:f,isLocation:h,isCorporate:x}}}=(0,tL.u)(),{t:g}=(0,tB.QT)(),{mobileMenuOpen:y,setMobileMenuOpen:j,setSelectedMenuItem:N,siteSearchPlaceholder:b}=(0,io.u)(),{location:w,logoLinkUrl:L}=e,[C,S]=tk.useState(!1),k=tk.useRef(null),M=f&&(null==p?void 0:p.mainLogo)&&(!x||!(null!=(i=null==(n=null==(t=null==e?void 0:e.site)?void 0:t.header)?void 0:n.hideLogo)&&i.value)),D=!x||!!(null!=(a=null==w?void 0:w.search)&&a.searchPage||null!=(r=null==(o=null==e?void 0:e.site)?void 0:o.search)&&r.searchPage),T=null==(s=e.site.header)?void 0:s.headline,I=h&&!(null!=(c=null==(d=null==w?void 0:w.header)?void 0:d.disableChangeLocation)&&c.value),E=null==(u=null==e?void 0:e.defaultRequest)?void 0:u.pageId,A=(0,tC.c)("d-flex flex-row align-items-center p-2 w-100 min-h-36",{"justify-content-between":D}),_=(0,tC.c)("d-flex flex-column align-items-center gap-1 text-center",{"mx-auto pe-5":!D});return tk.useEffect(()=>{D||S(!1)},[D]),(0,aN.u)({elementRef:k,filters:[`[aria-controls="${rQ}"]`],isActive:C,callback:()=>S(!1)}),(0,tE.Sj)(()=>{C&&S(!1),y&&(N(null),j(!1))}),(0,tw.jsxs)("div",{className:(0,tC.c)("d-flex flex-column",l),children:[(0,tw.jsxs)("div",{className:A,children:[(0,tw.jsx)(rY,{icon:y?"close":"menu",iconOnly:!0,text:y?`${g("Common.Modal.Close")} ${g("Header.UtilityMenu.Menu")}`:`${g("Header.UtilityMenu.Menu")}`,"aria-expanded":y,"aria-haspopup":!0,onClick:()=>{N(null),j(e=>!e)}}),M?(0,tw.jsxs)("div",{className:_,children:[(0,tw.jsx)(tz,{logoClassName:"h-20 max-w-100 px-3",field:null==p?void 0:p.mainLogo}),T&&(0,tw.jsx)(aB,{tag:"span",className:"neu-display-6 neu-text-support-60 fw-bold px-1",field:T})]}):w&&(0,tw.jsxs)("div",{className:_,children:[(0,tw.jsx)(aB,{className:"neu-display-5 neu-text-support-60 fw-bold px-1",linkClassName:"text-decoration-none",field:null==(m=null==w?void 0:w.identity)?void 0:m.siteName,linkUrl:L}),I&&(0,tw.jsx)(rS,{})]}),D&&(0,tw.jsx)(rY,{icon:C?"close":"search",text:C?g("Header.Search.Close"):`${g("Common.Search")}`,iconOnly:!0,"aria-expanded":C,"aria-haspopup":!0,"aria-controls":rQ,onClick:()=>S(e=>!e)})]}),D&&C&&(0,tw.jsx)("div",{id:rQ,ref:k,className:"d-flex justify-content-center w-100 w-lg-auto p-2 top-0 z-1",children:(0,tw.jsx)(rm,{required:!0,label:b,placeholder:g("Search.EnterKeyword"),idSuffix:"mobile-menu-line",pageId:E,scSite:null==(v=null==e?void 0:e.defaultRequest)?void 0:v.site})})]})},rq=({className:e})=>{let{sitecoreContext:{theme:l,siteAttributes:{isMarket:t}}}=(0,tL.u)();return!t&&(null==l?void 0:l.smallLogo)?(0,tw.jsx)("div",{className:(0,tC.c)("d-flex flex-row w-100 p-2 justify-content-center align-items-center neu-bg-main-90",e),children:(0,tw.jsx)(tz,{field:null==l?void 0:l.smallLogo,logoClassName:"h-20 max-w-75 px-3",linkClassName:"text-center"})}):null},rW=({hasChildren:e=!1,text:l,image:t,onClick:n,link:i,className:a,icon:o})=>{var r;let s=!!("string"==typeof t?t:null!=(r=null==t?void 0:t.value)&&r.src),d="string"==typeof t?{src:t}:t,{setMobileMenuOpen:c}=(0,io.u)(),u="p-3 min-h-28 border-bottom border-neu-gray-10 border-top-0",m=(0,tC.c)("d-flex flex-row justify-content-start align-items-center w-100 gap-1"),v=(0,tC.c)(a,"w-100 d-flex flex-row align-items-center justify-content-between neu-text-plain-100 text-decoration-none ps-3",u);return(0,tw.jsx)(iC,{condition:!0,wrappedJSX:(0,tw.jsx)("div",{className:m,children:s?(0,tw.jsx)(tO.E,{className:"h-8 w-auto",field:d}):(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("span",{children:l}),o&&(0,tw.jsx)(tE.JK,{name:o,size:"2x"})]})}),wrapper:l=>n?(0,tw.jsxs)(tU,{className:(0,tC.c)(v),onClick:n,children:[l,e&&(0,tw.jsx)(tE.JK,{name:"chevron_forward",size:"2x"})]}):i?(0,tw.jsxs)(tI.M,{field:{value:{href:i}},onClick:()=>c(!1),className:(0,tC.c)(v),children:[l,e&&(0,tw.jsx)(tE.JK,{name:"chevron_forward",size:"2x"})]}):(0,tw.jsx)("div",{className:(0,tC.c)(v),children:l})})},rV=({ctaColorImage:e,ctaLink:l})=>(0,tw.jsx)("li",{className:"d-flex align-items-center",children:(0,tw.jsx)(rW,{image:e,link:l.value.href,text:l.value.text})}),rG=e=>e&&"children"in e,rJ=e=>{var l,t;if(!e.menuItem)return null;let n=rG(e.menuItem)?!!(null!=(l=e.menuItem.children)&&l.length):!!(null!=(t=e.menuItem.links)&&t.length),i=n?e.onClick||(()=>{e.setSelectedMenuItem(e.menuItem||null)}):e.onClick;return(0,tw.jsx)("li",{id:e.id,className:"mb-0",children:(0,tw.jsx)(rW,{text:e.menuItem.text,link:e.menuItem.href,hasChildren:n,onClick:i})})},rK=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h,x,g,y;let{fields:j}=e,{location:N,site:b}=j,w=N??b,L=null==(t=null==(l=null==b?void 0:b.identity)?void 0:l.siteName)?void 0:t.value,C=null==w?void 0:w.megamenu,S=null==(n=null==w?void 0:w.header)?void 0:n.utilityMenu,k=null==(a=null==(i=null==w?void 0:w.header)?void 0:i.mainMenu)?void 0:a.fields.rootPromo,M=null==(o=null==w?void 0:w.header)?void 0:o.ctaLink,D=null==(r=null==w?void 0:w.header)?void 0:r.ctaColorImage,{sitecoreContext:T}=(0,tL.u)(),{siteAttributes:{isMarket:I,isCorporate:E},language:A}=T,_=null==b?void 0:b.languages,F=A!==rt.env.DEFAULT_LANGUAGE?`/${A}`:"/",{t:P}=(0,tB.QT)(),{setMobileMenuOpen:O}=(0,io.u)(),{selectedFriendlyName:z,changeLanguage:R}=ij({fields:(null==_?void 0:_.languageSelection)??[]}),B=!E&&(null==(s=null==j?void 0:j.erWaitTime)?void 0:s.displayViewAll)&&!(null!=(d=null==j?void 0:j.erWaitTime)&&d.individualErFeed)&&(null==(u=null==(c=j.site)?void 0:c.header)?void 0:u.erWaitTimeEndpoints),U=(null==(m=j.erWaitTime)?void 0:m.individualErFeed)&&(null==(v=j.erWaitTime)?void 0:v.marketedFacilityName);return(0,tw.jsxs)("div",{className:(0,tC.c)("d-flex flex-column gap-1 h-100 overflow-y-scroll",{"d-none":!!e.selectedMenuItem}),children:[U&&(0,tw.jsx)("div",{className:"neu-bg-gray-0 px-1 py-3",children:(0,tw.jsx)(rH,{...e})}),!U&&B&&(0,tw.jsx)("div",{className:"neu-bg-gray-0 px-1 py-3",children:(0,tw.jsx)(rk,{asLinkButton:!0,buttonClasse
49s:"neu-text-body"})}),(0,tw.jsxs)("ul",{className:"list-none w-100 ps-0 d-flex flex-column","aria-label":P("Header.MegaMenu.NavLabel"),role:"navigation",children:[null==C?void 0:C.map(l=>(0,tw.jsx)(rJ,{menuItem:l,setSelectedMenuItem:e.setSelectedMenuItem},`mobile-menu-${l.text}`)),(null==(p=null==M?void 0:M.value)?void 0:p.href)&&((null==(f=null==D?void 0:D.value)?void 0:f.src)||(null==(h=null==M?void 0:M.value)?void 0:h.text))&&(0,tw.jsx)(tw.Fragment,{children:(0,tw.jsx)(rV,{ctaColorImage:D,ctaLink:M})})]}),(0,tw.jsx)("ul",{className:"list-none w-100 px-3","aria-label":P("Header.UtilityMenu.NavLabel"),role:"navigation",children:null==(g=null==(x=null==S?void 0:S.fields)?void 0:x.menuLinks)?void 0:g.map(l=>{var t,n,i,a;return(0,tw.jsx)("li",{className:"mb-0",children:null!=(i=null==(n=null==(t=null==l?void 0:l.fields)?void 0:t.dropdownLinks)?void 0:n.value)&&i.length?(0,tw.jsxs)(tU,{className:"px-0 py-2 d-flex flex-row justify-content-between align-items-center w-100 text-decoration-none",onClick:()=>{var t,n,i,a,o;return e.setSelectedMenuItem({text:null==(i=null==(n=null==(t=null==l?void 0:l.fields)?void 0:t.link)?void 0:n.value)?void 0:i.text,prev:null,links:[null==(o=null==(a=null==l?void 0:l.fields)?void 0:a.dropdownLinks)?void 0:o.value.map(e=>({...null==e?void 0:e.value}))]})},children:[(0,tw.jsx)("span",{className:"text-decoration-underline",children:l.fields.link.value.text}),(0,tw.jsx)(tE.JK,{className:"decoration-none",name:"chevron_forward",size:"2x"})]}):(0,tw.jsx)(tw.Fragment,{children:(null==(a=null==l?void 0:l.fields)?void 0:a.link)&&(0,tw.jsx)(tI.M,{className:"py-2",field:l.fields.link,onClick:()=>O(!1)})})},l.id)})}),_&&(null==(y=_.languageSelection)?void 0:y.length)>1&&(0,tw.jsx)("div",{className:"border-top border-neu-gray-10",children:(0,tw.jsx)(rW,{hasChildren:!0,text:z,onClick:()=>e.setSelectedMenuItem({text:P("PageContent.LanguageToggle.Title"),prev:null,children:_.languageSelection.map(l=>({text:l.fields.friendlyName.value,prev:null,onClick:()=>{var t,n;R((null==(t=l.fields.language.fields.regionalIsoCode)?void 0:t.value)||(null==(n=l.fields.language.fields["Regional Iso Code"])?void 0:n.value)),e.setSelectedMenuItem(null),O(!1)}}))})})}),!I&&(0,tw.jsx)("div",{className:"d-flex justify-content-center mt-1",children:(0,tw.jsx)(tA,{kind:"secondary",field:{value:{href:F,text:`${P("Header.UtilityMenu.BackLabel")} ${L}`}},onClick:()=>O(!1),editable:!1})}),!!(null!=k&&k.length)&&(0,tw.jsx)(tw.Fragment,{children:null==k?void 0:k.map(e=>{var l;return e.fields.primaryLink?E?(0,tw.jsxs)(tI.M,{className:"fw-bold neu-text-main-100 col-6 ps-2",editable:!1,field:e.fields.primaryLink,children:[(0,tw.jsx)("span",{className:"neu-display-5",children:null==(l=e.fields.primaryLink.value)?void 0:l.text}),(0,tw.jsx)("span",{className:"position-absolute ps-1","aria-hidden":"true",children:(0,tw.jsx)(tE.at,{css:!1,name:"arrow_right",primary:"orange"})})]},e.id):(0,tw.jsx)(tA,{field:e.fields.primaryLink},e.id):null})})]})},rX=({selectedMenuItem:e,setSelectedMenuItem:l})=>{var t;let{t:n}=(0,tB.QT)();if(!e)return null;let i=!(0,io.i)(e),a=i?null==e?void 0:e.children:null==(t=null==e?void 0:e.links)?void 0:t.reduce((e,l)=>[...e,...l],[]);return(0,tw.jsxs)("div",{className:"d-flex flex-column flex-grow-1 overflow-hidden",children:[(0,tw.jsxs)("div",{className:"flex-grow-1 d-flex flex-column gap-0 overflow-y-auto",children:[(0,tw.jsxs)("div",{className:"d-flex flex-column",children:[(0,tw.jsxs)(tU,{className:"w-fit p-3 ps-2 pb-1 d-block text-start",onClick:()=>l(e.prev||null),children:[(0,tw.jsx)(tE.JK,{name:"chevron_backward"})," ",e.prev?n("Header.MobileMenu.BackToLabel",{customLabel:e.prev.text}):n("Header.MobileMenu.BackLabel")]}),(0,tw.jsx)(rW,{text:`${e.text}`,icon:e.href?"chevron_forward":void 0,link:e.href,className:"neu-display-4 fw-bold"})]}),(0,tw.jsx)("ul",{className:"list-none w-100 ps-0 d-flex flex-column",children:null==a?void 0:a.map(e=>(0,tw.jsx)(rJ,{onClick:e.onClick,setSelectedMenuItem:l,menuItem:e},`mobile-secondary-${e.text}-${e.href}`))})]}),!i&&(!!(null!=e&&e.secondaryLink)||!!(null!=e&&e.primaryLink))&&(0,tw.jsxs)("div",{className:"d-flex flex-row justify-content-center gap-4 flex-shrink-0 pt-3",children:[!i&&!!(null!=e&&e.secondaryLink)&&(0,tw.jsx)(tA,{kind:"secondary",field:e.secondaryLink}),!i&&!!(null!=e&&e.primaryLink)&&(0,tw.jsx)(tA,{field:e.primaryLink})]})]})},r0=e=>{let{mobileMenuOpen:l,setMobileMenuOpen:t,selectedMenuItem:n,setSelectedMenuItem:i}=(0,io.u)(),a=tk.useRef(null);return(0,aN.u)({elementRef:a,isActive:l,callback:()=>{i(null),t(!1)}}),(0,tw.jsx)("div",{"aria-modal":l,role:"menu",className:(0,tC.c)("w-100vw",l&&"neu-modal neu-modal-backdrop state-active"),children:(0,tw.jsxs)("div",{ref:a,className:(0,tC.c)("w-100vw w-50vw-md h-100vh position-fixed left-0 top-0 neu-bg-plain-0 overflow-hidden pb-6",l?"d-flex flex-column":"d-none"),children:[(0,tw.jsx)(rq,{className:"d-md-none"}),(0,tw.jsx)(r$,{...e}),(0,tw.jsx)(rK,{...e,selectedMenuItem:n,setSelectedMenuItem:i}),(0,tw.jsx)(rX,{...e,selectedMenuItem:n,setSelectedMenuItem:i}),(0,tw.jsx)("div",{className:"d-flex flex-shrink-0 h-7"})]})})},r1=({fields:e})=>{var l,t,n,i,a;let{t:o}=(0,tB.QT)(),{changeLocationModalOpen:r,closeChangeLocationModal:s}=(0,io.u)(),d=tk.useMemo(()=>{var l,t;let n=(null==(t=null==(l=null==e?void 0:e.location)?void 0:l.locations)?void 0:t.facilityTypes)||[];return n&&n.length>0?n.map(e=>({label:e,value:e})):[]},[null==(t=null==(l=null==e?void 0:e.location)?void 0:l.locations)?void 0:t.facilityTypes]),c=tk.useMemo(()=>{var l,t;let n=(null==(t=null==(l=null==e?void 0:e.location)?void 0:l.locations)?void 0:t.specialties)||[];return n&&n.length>0?n.map(e=>({label:e,value:e})):[]},[null==(i=null==(n=null==e?void 0:e.location)?void 0:n.locations)?void 0:i.specialties]);return(0,tw.jsx)(tE.dH,{id:rC,size:"xl",active:r,label:o("Header.ChangeLocation"),onNeuDismiss:s,children:(0,tw.jsx)(tE.dH.Content,{children:(0,tw.jsx)(rl,{enabled:r,fields:e,facilityTypeOptions:d,specialtyOptions:c,modalDe
49scription:null==(a=null==e?void 0:e.site.header)?void 0:a.changeLocationModalDescription})})})},r4=({fields:e})=>{var l,t,n;let{t:i}=(0,tB.QT)(),a={...null==(l=null==e?void 0:e.defaultRequest)?void 0:l.filters},{erWaitTimeModalOpen:o,closeERWaitTimeModal:r}=(0,io.u)();return(0,tw.jsx)(tE.dH,{size:"xl",active:o,label:i("Header.ERWaitTimes.ModalTitle"),onNeuDismiss:r,children:(0,tw.jsx)(tE.dH.Content,{children:(0,tw.jsx)(rl,{fields:e,persistentFilters:a,modalDescription:null==(t=null==e?void 0:e.site.header)?void 0:t.erWaitTimeModalDescription,parentFacilityId:null==(n=null==e?void 0:e.defaultRequest)?void 0:n.parentFacilityId,hasTimestampAppended:!0,enabled:o})})})};function r3(e){var l;let{fields:t}=e,n=(0,ix.useRouter)(),{closeChangeLocationModal:i,closeERWaitTimeModal:a,isSticky:o,isScrolled:r,mobileMenuOpen:s}=(0,io.u)();tk.useEffect(()=>{let e=()=>{i(),a()};return n.events.on("routeChangeStart",e),n.events.on("hashChangeStart",e),()=>{n.events.off("routeChangeStart",e),n.events.off("hashChangeStart",e)}},[i,a,n.events]);let{ref:d}=(0,aN.a)(s);return(0,tw.jsxs)(tE.e5.Header,{"data-test-id":null==(l=e.rendering)?void 0:l.componentName,className:(0,tC.c)("neu-bg-gray-0 d-flex flex-column z-layout",{"neu-elevation-1":o&&r}),children:[(0,tw.jsxs)("div",{className:"d-none d-lg-block",children:[(0,tw.jsx)(rB,{...e}),(0,tw.jsx)(rM,{...e}),(0,tw.jsx)(rO,{...e}),(0,tw.jsx)(rg,{...e})]}),(0,tw.jsxs)("div",{ref:d,className:"d-lg-none flex-column d-flex",children:[(0,tw.jsx)(rq,{}),(0,tw.jsx)(r$,{...e}),(0,tw.jsx)(rU,{...e}),(0,tw.jsx)(rZ,{...e}),(0,tw.jsx)(rH,{...e,className:"pb-2 pb-lg-0"})]}),(0,tw.jsx)("div",{className:(0,tC.c)("d-lg-none d-flex flex-column",{"d-none":!s}),children:(0,tw.jsx)(r0,{...e})}),(0,tw.jsx)(r1,{fields:t}),(0,tw.jsx)(r4,{fields:t})]})}var r5=t(1429);let r2="gray",r6="neu-text-plain-0 link-plain-0 neu-tab-plain-0",r9={white:"neu-bg-plain-0",gray:"neu-bg-gray-0","Main 0":"neu-bg-main-0","Main 100":"neu-bg-main-100","Support 0":"neu-bg-support-0","Support 100":"neu-bg-support-100"},r8=e=>"Main 100"===e||"Support 100"===e,r7=tk.createContext({sectionBlockBgColor:r2,isDarkBackground:!1,sectionBlockBgColorClass:r9[r2],checkIsDarkBackground:r8,isFullWidth:!0}),se=({children:e,params:l})=>{let t=(null==l?void 0:l.backgroundStyle)||r2,n=r8(t),i={sectionBlockBgColor:t,isDarkBackground:n,sectionBlockBgColorClass:r9[t],contentAccessibilityClassNames:n?r6:void 0,checkIsDarkBackground:r8,isFullWidth:!1};return(0,tw.jsx)(r7.Provider,{value:i,children:e})},sl=()=>tk.useContext(r7);!function(){try{if("u">typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(`._playIcon_3xgwd_1{background:transparent;border:0 none;cursor:pointer;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}._playIcon_3xgwd_1 span{border-radius:50%;color:var(--neu-plain-0);font-size:78px;transition-duration:.2s;transition-property:transform;font-variation-settings:normal}._playIcon_3xgwd_1:hover i,._playIcon_3xgwd_1:focus i{transform:scale(1.3)}._opacity_3xgwd_23{opacity:.77}
50._extendedDropdown_17k1l_1 .unit-dropdown .dropdown-menu{max-height:clamp(150px,80vh,500px)!important}
51@media (min-width: 992px){._overlay_1tz1r_2{margin-top:-6rem}}@media (min-width: 992px){._corpOverlay_1tz1r_8{margin-top:-8rem}}._hideEmpty_1tz1r_13:has(>div:empty){display:none}
52._richText_1ghed_1 a:not(._neu-button_1ghed_1){color:var(--neu-plain-0);font-size:14px;text-decoration:none}._richText_1ghed_1 a:not(._neu-button_1ghed_1):hover,._richText_1ghed_1 a:not(._neu-button_1ghed_1):focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._richText_1ghed_1 strong{font-weight:600}._richText_1ghed_1 hr{border:none;background-color:var(--neu-plain-0);height:1px;width:100%;margin:20px 0}a._corpLinks_1ghed_24{color:var(--neu-plain-0);text-decoration:none}a._corpLinks_1ghed_24:hover,a._corpLinks_1ghed_24:focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._containerFlex_1ghed_37{padding:35px}@media (min-width: 992px){._containerFlex_1ghed_37{padding:35px 72px}}
53@media (min-width: 576px){._standaloneSearch_10kr5_2{min-width:20rem}}._standaloneSearch_10kr5_2 .unit-dropdown{width:100%}._standaloneSearch_10kr5_2 .neu-form--support:empty{display:none}._standaloneSearch_10kr5_2 .unit-wrapper:before{all:unset}._standaloneSearch_10kr5_2 .neu-form__native{padding:var(--form-padding);padding-right:calc(40px + var(--neu-spacer-3));min-width:18rem}._standaloneSearch_10kr5_2 .neu-form__native::-webkit-search-cancel-button{margin-top:.1rem}@media (min-width: 992px){._corporateStandalone_10kr5_25{min-width:19rem}._corporateStandalone_10kr5_25 label{color:var(--neu-plain-0)}}._standaloneSearch_10kr5_2+.input-spinner{--feedback-padding-right: calc(40px + var(--neu-spacer-3));--feedback-padding-bottom: var(--neu-spacer-3)}._standaloneButton_10kr5_37.with-label{top:calc(1.375rem + var(--neu-spacer-2))}`)),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();var st=((c=st||{}
53).HospitalsHome="Hospitals Home",c.GenericDetail="Generic Detail",c.GenericLanding="Generic Landing",c.HIPAAForm="HIPAA Form",c);let sn=({description:e,title:l,className:t,headingLevel:n="h2",children:i,hasLink:a,linkField:o,titleClassName:r="fw-medium",variant:s})=>{let{checkIsDarkBackground:d,isDarkBackground:c,contentAccessibilityClassNames:u}=sl(),m=a&&o,v=!m&&"text-center";if(!l&&!i&&!e)return null;let p=s?d(s):c;return(0,tw.jsxs)(tE.qd,{className:(0,tC.c)(v,t,p&&u),children:[(0,tw.jsxs)(tE.qd.Row,{gutter:"none",className:(0,tC.c)("justify-content-start justify-content-lg-between align-items-start align-items-lg-end gap-3 gap-lg-0 mb-3"),children:[l&&(0,tw.jsx)(tE.qd.Column,{className:`col-12 ${m?"col-lg-6":""}`,children:(0,tw.jsx)(tD,{tag:n,field:l,className:r})}),o&&(0,tw.jsx)(tE.qd.Column,{className:"col-12 col-lg-6 text-lg-end",children:(0,tw.jsx)(r5.r,{field:o})})]}),e&&(0,tw.jsx)(tE.qd.Row,{gutter:"none",children:(0,tw.jsx)(tE.qd.Column,{children:(0,tw.jsx)(tD,{tag:"p",field:e})})}),i&&(0,tw.jsx)(tE.qd.Row,{gutter:"none",children:(0,tw.jsx)(tE.qd.Column,{children:i})})]})},si={overlay:"_overlay_1tz1r_2",corpOverlay:"_corpOverlay_1tz1r_8",hideEmpty:"_hideEmpty_1tz1r_13"},sa=({ref:e,className:l,onClick:t,dataTestId:n,title:i,description:a,headingLevel:o,disableContainer:r=!1,overlay:s,children:d,borderToggle:c,variant:u,conditionalWrapclassName:m="d-flex flex-column gap-5 gap-lg-7",titleClassName:v="fw-medium"})=>{let{sitecoreContext:{siteAttributes:{isCorporate:p},route:f}}=(0,tL.u)(),{sectionBlockBgColorClass:h}=sl(),x=(0,tk.useRef)(null),g=u?r9[u]:h,y=!!(i||a),j=!(null!=l&&l.includes("py-"))&&!r,N=p&&((null==f?void 0:f.templateName)===st.GenericLanding||(null==f?void 0:f.templateName)===st.GenericDetail);return(0,tw.jsx)("section",{ref:e,className:(0,tC.c)(j&&"py-6","1"===c&&"border-bottom border-neu-gray-20",g,"position-relative",si.hideEmpty,l),"data-test-id":n,onClick:t,children:(0,tw.jsx)(iC,{condition:!r,wrapper:e=>(0,tw.jsx)("div",{className:(0,tC.c)("container",m,"1"===s?N?`${si.corpOverlay}`:`${si.overlay}`:void 0),ref:x,children:e}),wrappedJSX:(0,tw.jsxs)(tw.Fragment,{children:[!r&&y&&(0,tw.jsx)(sn,{title:i,description:a,headingLevel:o,titleClassName:v,variant:u}),d]})})})},so=({rendering:e})=>{var l,t,n;let{sitecoreContext:i}=(0,tL.u)(),a=null==(l=i.route)?void 0:l.fields;return a?(0,tw.jsx)(sa,{dataTestId:null==e?void 0:e.componentName,children:(0,tw.jsx)("div",{className:"text-centered py-6",children:(0,tw.jsxs)(tE.IZ,{size:"md",kind:"expanded",children:[(0,tw.jsx)(tD,{tag:"h2",field:a.errorTitle,className:"neu-display-2 text-center neu-text-support-60 fw-bold max-w-336 mx-auto"}),(0,tw.jsx)(tD,{tag:"p",field:null==a?void 0:a.errorDescription,className:"neu-text-body mb-2 text-center"}),(null==(t=null==a?void 0:a.errorLinks)?void 0:t.value)&&(0,tw.jsx)("div",{className:"d-flex flex-column flex-lg-row justify-content-center gap-2",children:null==(n=a.errorLinks)?void 0:n.value.map((e,l)=>(0,tw.jsx)(tA,{field:e},l))}),(0,tw.jsx)(tD,{tag:"p",field:null==a?void 0:a.errorCodeMessage,className:"neu-text-body fw-bold text-center"})]})})}):null},sr=(e,l,t)=>{if("object"!=typeof e||null===e)return!1;for(let[n,i]of Object.entries(e))if(n===l&&i===t||"object"==typeof i&&sr(i,l,t))return!0;return!1};var ss=t(7309);let sd=({rendering:e,componentFactory:l})=>{let t=sr(e.placeholders,"componentName","InteriorNavigation");return(0,tw.jsxs)("div",{"data-test-id":null==e?void 0:e.componentName,children:[(0,tw.jsx)(ss.V,{name:"col-top",rendering:e,componentFactory:l}),t?(0,tw.jsx)("div",{className:"neu-bg-plain-0",children:(0,tw.jsxs)("div",{className:"d-lg-flex container",children:[(0,tw.jsx)("div",{className:"w-lg-25 w-100 pe-0 pe-lg-1 pt-6",children:(0,tw.jsx)(ss.V,{name:"aside",rendering:e})}),(0,tw.jsx)("div",{className:"w-lg-75 w-100 ps-0 ps-lg-1",children:(0,tw.jsx)(ss.V,{name:"col-1",rendering:e,componentFactory:l})})]})}):(0,tw.jsx)(ss.V,{name:"col-1",rendering:e,componentFactory:l}),(0,tw.jsx)(ss.V,{name:"col-bottom",rendering:e,componentFactory:l})]})},sc=({dataTestId:e,className:l,title:t,breadcrumbs:n,withBreadcrumbs:i,children:a,applyCorporateStyles:o=!1})=>{var r,s;let{sitecoreContext:d}=(0,tL.u)(),c=(null==(s=null==(r=null==d?void 0:d.theme)?void 0:r.entity
53BrandingOverrides)?void 0:s.pageTitleBanner)||"main-100",u=(null==d?void 0:d.breadcrumbs)||[],m={text:null==t?void 0:t.value},v=n||(null!=m&&m.text?[...u,m]:u),p=o?"pb-6":null;return(0,tw.jsx)(sa,{dataTestId:e,disableContainer:o,className:(0,tC.c)("w-100 d-flex py-6",o?"neu-bg-main-0 px-2 px-lg-6":`neu-bg-${c}`,l),children:(0,tw.jsx)("div",{className:(0,tC.c)("container gx-0",p),children:(0,tw.jsxs)("div",{className:(0,tC.c)("row gx-0",p),children:[i?(0,tw.jsx)(tE.JW,{className:(0,tC.c)("d-none d-lg-flex",o?"breadcrumbs-dark":"breadcrumbs-light"),children:null==v?void 0:v.map(e=>(0,tw.jsx)(tE.JW.Item,{...(null==e?void 0:e.href)&&{href:e.href},children:null==e?void 0:e.text},(null==e?void 0:e.href)||(null==e?void 0:e.text)))}):null,a]})})})},su=({dataTestId:e,className:l,title:t,description:n,breadcrumbs:i,withBreadcrumbs:a,makeAnAppointmentLink:o,findALocationLink:r,findAClassOrEventLink:s})=>{let{sitecoreContext:{siteAttributes:{isCorporate:d},route:c}}=(0,tL.u)(),u=d&&((null==c?void 0:c.templateName)==="Generic Landing"||(null==c?void 0:c.templateName)==="Generic Detail"),m=!(null!=o&&o.value)&&!(null!=s&&s.value)&&!(null!=r&&r.value),v=u?"col-lg-9":m?"col-12":"col-lg-8",p=u?"neu-text-main-100":"color-white fw-medium",f=(0,tC.c)("neu-text-body",p,{"d-none d-lg-block":(null==c?void 0:c.templateName)==="Clinical Trials Detail"});return(0,tw.jsx)(sc,{dataTestId:e,breadcrumbs:i,withBreadcrumbs:a,className:l,title:t,applyCorporateStyles:u,children:(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:`${v} py-1 pe-lg-3 px-lg-0`,children:[(0,tw.jsx)("h1",{className:(0,tC.c)("neu-display-1 pb-2",p),children:null==t?void 0:t.value}),null!=n&&n.value?(0,tw.jsx)(tR.H,{tag:"p",className:f,field:n,editable:!1}):null]}),m?null:(0,tw.jsxs)("div",{className:(0,tC.c)("py-1 pb-lg-4 ps-lg-3 pe-lg-0",u?"col-lg-3":"col-lg-4"),children:[(0,tw.jsx)("div",{className:"pb-2",children:null!=o&&o.value?(0,tw.jsx)(tA,{field:o,className:"w-100 text-center",kind:u?"secondary":"tertiary-plain"}):null}),(0,tw.jsx)("div",{className:"pb-2",children:null!=r&&r.value?(0,tw.jsx)(tA,{field:r,className:"w-100 text-center",kind:u?"secondary":"tertiary-plain"}):null}),(0,tw.jsx)("div",{className:"pb-2",children:null!=s&&s.value?(0,tw.jsx)(tA,{field:s,className:"w-100 text-center",kind:u?"secondary":"tertiary-plain"}):null})]})]})})};var sm=t(7005);let sv=({rendering:e,className:l,fallbackTitle:t={value:"Page Title"}})=>{var n,i,a,o;let{sitecoreContext:r}=(0,sm.z)(),s=(null==r?void 0:r.route)!==void 0;return(0,tw.jsx)(su,{title:s?null==(i=null==(n=r.route)?void 0:n.fields)?void 0:i.pageTitle:t,description:s?null==(o=null==(a=r.route)?void 0:a.fields)?void 0:o.pageShortDescription:void 0,isLarge:!1,dataTestId:null==e?void 0:e.componentName,className:l,withBreadcrumbs:!0})},sp=({rendering:e,fallbackTitle:l={value:"Page Title"}})=>{var t,n,i,a;let{sitecoreContext:o}=(0,sm.z)(),r=(null==o?void 0:o.route)!==void 0;return(0,tw.jsx)(su,{title:r?null==(n=null==(t=o.route)?void 0:t.fields)?void 0:n.pageTitle:l,description:r?null==(a=null==(i=o.route)?void 0:i.fields)?void 0:a.pageShortDescription:void 0,dataTestId:null==e?void 0:e.componentName,withBreadcrumbs:!0})};var sf=t(9554);let sh=({fields:e,rendering:l})=>{let{contentAccessibilityClassNames:t,isFullWidth:n}=sl();return null!=e&&e.text?(0,tw.jsx)(tR.H,{"data-test-id":null==l?void 0:l.componentName,className:(0,tC.c)(t,n&&"px-2 px-lg-6 py-6"),field:e.text,internalLinksSelector:oy.Ss}):null},sx=(0,sf.C)()(sh),sg=({rendering:e,params:l})=>(0,tw.jsx)(se,{params:l,children:(0,tw.jsx)(sa,{dataTestId:null==e?void 0:e.componentName,overlay:null==l?void 0:l.allowOverlay,borderToggle:null==l?void 0:l.borderToggle,children:(0,tw.jsx)(ss.V,{name:"section",rendering:e,params:l})})}),sy=()=>(0,tw.jsx)("p",{children:"SharedTabs"}),sj=(0,sf.C)()(sy);var sN=e=>{let{fields:l}=e;return(0,tw.jsxs)("div",{className:"d-md-flex flex-sm-column flex-md-row justify-content-center gap-2",children:[(null==l?void 0:l.discoverMoreLink)&&(0,tw.jsx)(tA,{icon:"hiking",className:"w-100 max-w-144-lg mb-3",field:null==l?void 0:l.discoverMoreLink}),(null==l?void 0:l.getDirectionLink)&&(0,tw.jsx)(tA,{icon:"directions",className:"w-100 max-w-144-lg mb-3",field:null==l?void 0:l.getDirectionLink}),(null==l?void 0:l.parkingAndTransportationLink)&&(0,tw.jsx)(tA,{icon:"commute",className:"w-100 max-w-144-lg mb-3",field:null==l?void 0:l.parkingAndTransportationLink})]})},sb=e=>{let{imageField:l,textField:t,reverse:n=!1}=e;return(0,tw.jsxs)("div",{className:"row g-0",children:[(0,tw.jsx)(tR.H,{tag:"p",field:t,className:"col-12 col-md-6 d-flex align-items-center justify-content-center text-center px-5 px-lg-3 py-6 py-md-0 py-lg-2 neu-bg-plain-0 m-0 ".concat(n?" order-md-2":"")}),(0,tw.jsx)("div",{className:"col-12 col-md-6 ratio-16x9 ",children:(0,tw.jsx)(ok.o,{className:"overflow-hidden mb-0 p-0 h-100 position-relative object-fit-cover",fill:!0,field:l})})]})},sw=e=>{let{fields:l}=e;return(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsx)("div",{className:"col-12 col-lg-6 mb-5 mb-lg-0",children:(0,tw.jsx)(ok.o,{className:"w-100 h-100 object-fit-cover position-relative",fill:!0,field:null==l?void 0:l.primaryImage})}),(0,tw.jsxs)("div",{className:"col-12 col-lg-6",children:[(0,tw.jsx)(sb,{textField:null==l?void 0:l.contentBlockText1,imageField:null==l?void 0:l.contentBlockImage1}),(0,tw.jsx)(sb,{textField:null==l?void 0:l.contentBlockText2,imageField:null==l?void 0:l.contentBlockImage2,reverse:!0}),(0,tw.jsx)(sb,{textField:null==l?void 0:l.contentBlockText3,imageField:null==l?void 0:l.contentBlockImage3})]})]})};let sL=e=>{let{fields:l,rendering:t,params:n}=e;return l&&Object.entries(l).some(e=>{var l,t;let[n,i]=e,a=n.match(/Image|Text|Link/);if(!a)return!1;switch(a[0]){case"Image":return null==i?void 0:null===(l=i.value)||void 0===l?void 0:l.src;case"Text":return null==i?void 0:i.value;case"Link":return null==i?void 0:null===(t=i.value)||void 0===t?void 0:t.href;default:return!1}})?(0,tw.jsxs)(sa,{description:null==l?void 0:l.locationDescription,title:null==l?void 0:l.locationHeadline,variant:"gray",headingLevel:"h2",dataTestId:null==t?void 0:t.componentName,children:[(0,tw.jsx)(sw,{fields:l}),(0,tw.jsx)(sN,{fields:l,rendering:t,params:n})]}):null};var sC=(0,sf.C)()(sL);let sS=(0,tk.forwardRef)(function(e,l){return(0,tw.jsx)(tR.H,{ref:l,...e})}),sk=["h1","h2","h3","h4","h5","h6"],sM="h2";function sD(e){let l=sk.indexOf(null==e?void 0:e.header),t=-1!==l?l:sk.indexOf(sM),n=(e=1)=>{let l=Math.min(t+e,sk.length-1);return sk[l]};return{startingHeadingTag:sk[t],getRelativeHeadingTag:n}}var sT=t(489),sI=tk.forwardRef(function(e,l){let{left:t,right:n,direction:i,leftColumnClassName:a,rightColumnClassName:o,className:r,...s}=e,d=null!=a?a:"col-sm-12 col-lg-6",c=null!=o?o:"col-sm-12 col-lg-6";return(0,tw.jsxs)("div",{ref:l,className:(0,sT.W)("row","right"===i&&"flex-row-reverse",r),...s,children:[(0,tw.jsx)("div",{className:d,children:t}),(0,tw.jsx)("div",{className:c,children:n})]})}),sE=t(8980);let sA=(e,l)=>{let{title:t="Add Item",tooltip:n="Add Item",className:i,templateId:a,fieldId:o,renderingId:r,countField:s,icon:d="/~/icon/office/32x32/add.png",extraButton:c}=l;return l=>{var u,m,v,p;let f=null==l?void 0:null===(m=l.rendering)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:u.id,h=null==l?void 0:null===(p=l.rendering)||void 0===p?void 0:null===(v=p.fields)||void 0===v?void 0:v[s||""],x=Array.isArray(h)?h.length:0,{sitecoreContext:{pageEditing:g}}=(0,sm.z)();if(!f)return(0,tw.jsx)(e,{...l});let y=[{header:t,icon:d,click:"webedit:addtolocation",tooltip:n,parameters:{id:f,templateId:a,fieldId:o,renderingId:r}}];return c&&y.push({...y[0],tooltip:c.tooltip||"Add Item",icon:c.icon||y[0].icon,parameters:{...y[0].parameters,templateId:c.templateId}}),g?(0,tw.jsxs)(sE.X,{dataSource:{itemId:f||""},buttons:y,title:t,tooltip:n,cssClass:i,children:[0===x?(0,tw.jsx)(tE.qw,{kind:"warning",label:"No Items Added",children:t}):null,(0,tw.jsx)(e,{...l})]},f):(0,tw.jsx)(e,{...l})}};var s_=sA(e=>{let{items:l}=e,t=(0,tT.u)();return t||l&&l.length>0?(0,tw.jsx)(tE.RB,{children:null==l?void 0:l.map(e=>{var l,n,i;return(0,tw.jsxs)(tE.RB.Item,{active:(null===(l=e.fields)||void 0===l?void 0:l.startsOpen)||t,children:[(0,tw.jsx)(tE.RB.Header,{children:(0,tw.jsx)(tD,{tag:"h3",field:null===(n=e.fields)||void 0===n?void 0:n.accordionItemHeadline,className:"fw-bold"})}),(0,tw.jsx)(tE.RB.Content,{children:(0,tw.jsx)(sS,{field:null===(i=e.fields)||void 0===i?void 0:i.details})})]},e.fields.id)})}):null},{title:"Accordion Block Item",tooltip:"Add one accordion item",templateId:"{46CEC401-AA91-4EEB-92A3-A5076EAA6454}",fieldId:"{852C3635-1D36-4AAA-BEF8-A6ED0BAA5403}",renderingId:"{3E5BE414-54BD-497E-ADDE-EF501C73C8CC}",countField:"items"}),sF=e=>{var l,t;let{fields:n,rendering:i,params:a}=e,{startingHeadingTag:o}=sD(a);return(0,tw.jsxs)(sa,{title:null==n?void 0:n.title,titleClassName:"neu-display-2 fw-medium",description:null==n?void 0:n.description,variant:"white",headingLevel:o,dataTestId:null==i?void 0:i.componentName,children:[((null==n?void 0:null===(l=n.columnLeft)||void 0===l?void 0:l.value)||(null==n?void 0:null===(t=n.columnRight)||void 0===t?void 0:t.value))&&(0,tw.jsx)(sI,{left:(0,tw.jsx)(sS,{field:n.columnLeft}),right:(0,tw.jsx)(sS,{field:n.columnRight})}),(0,tw.jsx)(s_,{items:null==n?void 0:n.items,rendering:i}),(null==n?void 0:n.paragraph)&&(0,tw.jsx)(tD,{tag:"p",field:null==n?void 0:n.paragraph})]})},sP=e=>{let{fields:l}=e;return tk.useEffect(()=>
53{window&&(window.hcaAnalyticsContext={...l})},[l]),null},sO=e=>{let{author:l,pageShortDescription:t,pageTitle:n,publishedOn:i,url:a,locationNames:o,siteName:r,onClick:s,hideLocation:d=!1,hideAuthor:c=!1,shouldUseLightText:u}=e,{t:m}=(0,tB.QT)(),v=(0,oN.L0)(null==i?void 0:i.replace("Z",""),oN.RZ),p={value:{href:a,text:m("Common.Links.ReadMore")}},f=(null==o?void 0:o.length)===1?o[0]:r,h=[];return v&&h.push(v),l&&!c&&h.push(l),f&&!d&&h.push(f),(0,tw.jsxs)("div",{className:"pb-2",children:[(0,tw.jsx)(oG.U,{className:(0,sT.W)("neu-display-4 fw-bold mb-2",u&&"neu-text-plain-0 lightTextHoverColor"),editable:!1,field:{value:{...p.value,text:n}},onClick:s}),(0,tw.jsx)(sS,{tag:"p",className:(0,sT.W)(u?"neu-text-plain-0 mb-3":"neu-text-gray-60 mb-3"),field:{value:null==h?void 0:h.join(" | ")}}),(0,tw.jsx)(sS,{tag:"p",editable:!1,className:(0,sT.W)(u?"neu-text-plain-0 mb-0":"neu-text-gray-90 mb-0"),field:{value:t}})]})},sz=t(2876),sR=e=>{let{author:l,categories:t,editable:n,imageUrl:i,imageAlt:a,isLoading:o=!1,title:r,publishedOn:s,shortDescription:d,url:c,locationNames:u,siteName:m,onClick:v,type:p}=e,f=o||!!i,h="story"===p,x={value:{src:i,alt:a}},g=(0,sT.Z)(f?"col-12 col-lg-3":"d-none"),y=(0,sT.Z)(f?"col-12 col-lg-9":"col-12");return(0,tw.jsxs)("div",{className:"pb-3",children:[(0,tw.jsx)(sI,{leftColumnClassName:g,rightColumnClassName:y,left:(0,tw.jsx)("div",{className:"ratio-1x1 position-relative mb-3 mb-lg-0",children:(0,tw.jsx)(ok.o,{field:x,fill:!0,editable:n,className:"object-fit-cover"})}),right:(0,tw.jsx)(sO,{author:l,categories:t,isLoading:o,pageShortDescription:d,pageTitle:r,publishedOn:s,url:c,locationNames:u,siteName:m,onClick:v,hideLocation:h})}),(0,tw.jsx)(tS,{className:"mb-2"})]})},sB=e=>{let{children:l,className:t,title:n,onFacetGroupsClearClick:i}=e,{t:a}=(0,tB.QT)(),o=tk.useCallback(()=>{i&&i()},[i]);return(0,tw.jsxs)("div",{className:(0,sT.Z)("neu-bg-gray-0",t),children:[(0,tw.jsxs)("div",{className:n?"d-flex justify-content-between flex-row py-2 ps-2":"",children:[n?(0,tw.jsx)("h6",{className:"neu-text fw-bold",children:n}):null,i?(0,tw.jsx)(tE.Yu,{onNeuClick:o,kind:"tertiary",size:"small",className:"d-block",children:a("Accessibility.Form.ClearButton")}):null]}),l]})},sU=t(8028),sH=e=>{let{isActive:l,skeletonClassName:t}=e;return(0,tw.jsxs)("div",{className:(0,sT.Z)(t,"neu-bg-gray-0 p-1"),children:[(0,tw.jsx)(sU.Z,{width:150,className:"my-lg-2"}),l?(0,tw.jsx)("div",{className:"mx-2 mt-2 d-none d-lg-block",children:(0,tw.jsx)(sU.Z,{count:5})}):null]})},sZ=e=>{var l;let{facetGroup:t,onFacetSet:n,lastToggledFacetValueRef:i}=e,a=tk.useCallback(()=>{let e=null==i?void 0:i.current;e&&setTimeout(()=>{for(let l of Array.from(document.querySelectorAll('input[type="checkbox"][data-facet-value="'.concat(e,'"]'))))if(null!==l.offsetParent){l.focus();return}},0)},[i]);return tk.useEffect(()=>{(null==i?void 0:i.current)&&a()},[t,a]),null==t?void 0:null===(l=t.facets)||void 0===l?void 0:l.map(e=>(0,tw.jsx)(tE.SJ,{"data-facet-value":e.value,debounce:0,label:"".concat(e.text," (").concat(e.count,")"),onNeuChange:()=>{i&&(i.current=e.value),null==n||n(t.groupKey,e.value)},checked:e.isSelected},e.name))},sQ=e=>{let l,{facetGroup:t,onFacetSet:n}=e,i=null==(l=new Date().toISOString())?void 0:l.split("T")[0];return(0,tw.jsx)(tE.QZ,{calendar:!0,initial:i,invalid:"Invalid date",kind:"single",labelHidden:!0,label:t.groupName,min:i,onNeuChange:e=>{null==n||n(t.groupKey,e.value)},today:!0,popperStrategy:"fixed"})},sY=e=>{var l;let{facetGroup:t,onFacetSet:n}=e,{t:i}=(0,tB.QT)(),a={label:i("Common.Links.ViewAll"),value:"all"},o=null==t?void 0:null===(l=t.facets)||void 0===l?void 0:l.map(e=>({label:"".concat(e.text," (").concat(e.count,")"),value:e.value,selected:e.isSelected}));return(0,tw.jsx)(tE.j8,{popperStrategy:"fixed",items:(null==o?void 0:o.length)?[a,...o]:[],label:t.groupAnyTitle,labelHidden:!0,value:null==o?void 0:o.find(e=>e.selected),onNeuChange:e=>{null==n||n(t.groupKey,e.value,!0)},className:"fixed-select"})},s$=e=>{var l,t,n,i,a;let{facetGroup:o,onFacetSet:r}=e,s="fw-bold text-decoration-none neu-text-plain-100",d="text-decoration-none neu-text-plain-100",c=null==o?void 0:null===(l=o.facets)||void 0===l?void 0:l.map(e=>(0,tw.jsx)(oG.U,{role:"button",href:"#",onClick:l=>{l.preventDefault(),null==r||r(o.groupKey,e.value,!0)},className:e.isSelected?s:d,children:"".concat(e.text," (").concat(e.count,")")},e.name));return(0,tw.jsxs)("div",{className:"d-inline-flex flex-column gap-1",children:[(0,tw.jsx)(oG.U,{role:"button",href:"#",onClick:e=>{e.preventDefault(),null==r||r(o.groupKey,"all",!0)},className:(null==o?void 0:null===(n=o.facets)||void 0===n?void 0:null===(t=n.find(e=>null==e?void 0:e.isSelected))||void 0===t?void 0:t.value)==="all"||(null==o?void 0:null===(a=o.facets)||void 0===a?void 0:null===(i=a.find(e=>null==e?void 0:e.isSelected))||void 0===i?void 0:i.value)===void 0?s:d,children:o.groupAnyTitle},"all"),c]})},sq=e=>{var l;let{facetGroup:t,onFacetSet:n,lastToggledFacetValueRef:i}=e;switch((null!==(l=t.groupType)&&void 0!==l?l:"").toLowerCase()){case"link":return(0,tw.jsx)(s$,{facetGroup:t,onFacetSet:n});case"dropdown":return(0,tw.jsx)(sY,{facetGroup:t,onFacetSet:n});case"checkbox":return(0,tw.jsx)(sZ,{facetGroup:t,onFacetSet:n,lastToggledFacetValueRef:i});case"datepicker":return(0,tw.jsx)(sQ,{facetGroup:t,onFacetSet:n});default:return null}},sW=e=>{let{facetGroups:l,onFacetsClear:t,onFacetSet:n,filterTitle:i,filterBlockTitle:a,className:o,isActive:r,isValidating:s,label:d,placeholder:c,onQueryChange:u,onFacetGroupsClearClick:m,lastToggledFacetValueRef:v}=e,{t:p}=(0,tB.QT)(),f="start_date_tdt",h="startDate",x=(0,ix.useRouter)().asPath,[g,y]=tk.useState(!1),j=(0,iN.cI)({defaultValues:{query:""}}),N=tk.useCallback(e=>{let{query:l}=e;l&&y(!0),u&&u(l)},[u]);return s?(0,tw.jsx)(sH,{isActive:r}):(0,tw.jsx)(sB,{className:o,title:i,onFacetGroupsClearClick:m,children:(0,tw.jsxs)(tE.RB,{children:[a&&(0,tw.jsxs)(tE.RB.Item,{active:g||r,children:[(0,tw.jsx)(tE.RB.Header,{className:"neu-text fw-bold pb-1",children:(0,tw.jsx)("span",{className:"neu-text fw-bold",children:a})}),(0,tw.jsx)(tE.RB.Content,{children:(0,tw.jsx)(iN.RV,{...j,children:(0,tw.jsxs)("form",{onSubmit:j.handleSubmit(N),children:[(0,tw.jsx)(tE._i,{label:null!=d?d:"",labelHidden:!0,onNeuChange:e=>{""===e.value&&y(!1)},placeholder:c,...j.register("query",{pattern:{value:ib,message:"".concat(p("Search.Errors.InvalidSpecialCharacters"))}})}),(0,tw.jsx)("div",{className:"col-12 pt-2",children:(0,tw.jsx)(tE.Yu,{type:"submit",className:"w-100",children:p("Common.Search")})})]})})})]}),null==l?void 0:l.map(e=>{let{facets:l}=e,i="facet_group_".concat(e.groupKey),a=!!(null==l?void 0:l.find(e=>e.isSelected)),o=e.expanded||a;return e.groupKey===f&&(o=!!x.includes(h)),(0,tw.jsxs)(tE.RB.Item,{active:o||r,children:[(0,tw.jsx)(tE.RB.Header,{className:"pb-1",children:(0,tw.jsx)("span",{className:"neu-text fw-bold",children:e.groupName})}),(0,tw.jsx)(tE.RB.Content,{children:(0,tw.jsx)(sq,{ariaLabelledBy:i,facetGroup:e,onFacetsClear:t,onFacetSet:n,lastToggledFacetValueRef:v})})]},e.groupName)})]})})},sV=e=>{let{display:l,currentPage:t,totalResults:n,onPageChange:i}=e,[a,o]=tk.useState(!1);return(0,tk.useEffect)(()=>{o(!0)},[]),a?(0,tw.jsx)(tE.S7,{current:t,kind:"paginator",limit:l,onNeuChange:i,results:n}):null},sG=e=>{let{dataTestId:l,display:t,currentPage:n,totalResults:i,listItems:a,counter:o=null,leftContentClassName:r="col-lg-3 px-0 pe-lg-2",rightContentClassName:s="col-lg-9 ps-0 ps-lg-3",dividerClassName:d,className:c,leftContent:u,searchResultsClassName:m,button:v=null,errors:p,failureToFetchError:f,query:h,errorMessageTitle:x,errorMessageDescription:g,noResultsTitle:y,noResultsDescription:j,onPageChange:N,onDisplayChange:b,isValidating:w,hasResults:L,centeredErrorMessage:C=!1,variant:S="white",hasTwoTonedBackgroun
53d:k=!1,bottomDividerClassName:M="d-none",conditionalWrapclassName:D,errorOrNoResultsComponent:T,contentAccessibilityClassNames:I,hasSelectPagination:E=!1}=e,A=p&&(null==p?void 0:p.length)>0||!!f,_=T||(0,tw.jsx)(oj,{errors:p,query:h,errorMessageTitle:x,errorMessageDescription:g,noResultsTitle:y,noResultsDescription:j,failureToFetchError:f,wrapperClassName:I});return(0,tw.jsx)(sa,{variant:S,className:(0,sT.Z)("d-flex justify-content-center px-0",c),conditionalWrapclassName:(0,sT.Z)("row",D),dataTestId:l,children:C&&(A||!1===L)&&!w?_:(0,tw.jsxs)(tw.Fragment,{children:[k?(0,tw.jsx)("div",{className:"position-absolute left-0 top-0 bottom-0 w-50 h-100 p-0 neu-bg-plain-0 d-none d-lg-block"}):null,(0,tw.jsx)("div",{className:(0,sT.Z)(r,I),children:u}),(0,tw.jsxs)("div",{className:(0,sT.Z)("pe-0",s),children:[o?(0,tw.jsxs)("div",{className:I,children:[o,o?(0,tw.jsx)(tS,{className:(0,sT.Z)(d,"mb-4 mt-1")}):null]}):null,(A||!1===L)&&!w?_:(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:(0,sT.Z)(m,I),children:[E&&(0,tw.jsx)(tE.S7,{current:n,kind:"select",limit:Number(t),results:i,className:"my-1 mb-5",options:[{label:"25",value:"25"},{label:"50",value:"50"},{label:"75",value:"75"},{label:"100",value:"100"}],onNeuChange:e=>null==b?void 0:b(e.value)}),a]}),(0,tw.jsx)(tS,{className:M})]}),N&&i>0&&!w&&(0,tw.jsx)("div",{className:"d-flex pt-3 justify-content-center",children:(0,tw.jsx)(sV,{currentPage:n,display:t,onPageChange:N,totalResults:i})}),v]})]})})},sJ=e=>Array.from({length:e},(e,l)=>(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsxs)("div",{className:"d-flex",children:[(0,tw.jsx)("div",{className:"col-2 pe-1",children:(0,tw.jsx)(sU.Z,{height:100})}),(0,tw.jsxs)("div",{className:"col-9",children:[(0,tw.jsx)(sU.Z,{count:1,width:150,height:20}
53),(0,tw.jsx)(sU.Z,{count:3,height:20})]})]}),(0,tw.jsx)(tS,{className:"my-1"})]},"skeleton-".concat(l))),sK=e=>{var l,t,n,i,a,o,r,s,d,c;let{filterTitle:u,componentName:m,filterBlockTitle:v,display:p,data:f,type:h,isValidating:x,query:g,failureToFetchError:y,onPageChange:j,onQueryChange:N,onFacetGroupsClearClick:b,onToggleFacet:w,onClear:L}=e,{t:C}=(0,tB.QT)(),S=(0,sz.usePathname)(),k=null==f?void 0:f.data,M=null==k?void 0:null===(l=k.results)||void 0===l?void 0:l.map((e,l)=>{var t;let n=S&&"/"!==S&&(null==e?void 0:e.slug)?"".concat(null==S?void 0:S.concat("/")).concat(null==e?void 0:e.slug):null==e?void 0:e.url;return(0,tw.jsx)(sR,{imageUrl:null==e?void 0:e.pageImageUrl,imageAlt:null==e?void 0:e.pageImageAlt,author:null==e?void 0:e.author,publishedOn:null==e?void 0:e.publishedOn,shortDescription:null==e?void 0:e.pageShortDescription,title:null==e?void 0:e.pageTitle,url:n,siteName:null==k?void 0:k.siteName,locationNames:null==e?void 0:e.locationNames,type:h},null!==(t=null==e?void 0:e.itemId)&&void 0!==t?t:l)});return(0,tw.jsx)(sG,{listItems:x?sJ(10):M,dataTestId:m,counter:(0,tw.jsx)(ir,{isLoading:x,className:"pb-0 pt-3 pt-lg-0",displaySize:p,count:null!==(a=null==k?void 0:k.total)&&void 0!==a?a:0,end:null!==(o=null==k?void 0:null===(t=k.page)||void 0===t?void 0:t.end)&&void 0!==o?o:0,start:null!==(r=null==k?void 0:null===(n=k.page)||void 0===n?void 0:n.start)&&void 0!==r?r:0}),leftContent:(0,tw.jsx)(sW,{className:"mb-2",facetGroups:null!==(s=null==k?void 0:k.facetGroups)&&void 0!==s?s:[],filterTitle:u,filterBlockTitle:v,placeholder:C("Common.Button.SearchByKeyword"),label:C("Common.Button.SearchByKeyword"),onQueryChange:N,onFacetGroupsClearClick:b,isValidating:x,onFacetSet:w,onFacetsClear:L}),currentPage:null!==(d=null==k?void 0:null===(i=k.page)||void 0===i?void 0:i.current)&&void 0!==d?d:1,totalResults:null!==(c=null==k?void 0:k.total)&&void 0!==c?c:0,hasResults:(null==k?void 0:k.total)>0,isValidating:x,query:g,failureToFetchError:y,display:p,onPageChange:j})};let sX="abcdefghijklmnopqrstuvwxyz".split("");var s0=e=>{let{specialties:l}=e;return(0,tw.jsx)("ul",{className:"d-none d-lg-flex justify-content-lg-between ps-0 mt-4 mb-6 mx-auto gap-3",children:sX.map(e=>{var t;let n=l.find(l=>{var t;return e===(null===(t=l.name[0])||void 0===t?void 0:t.toLowerCase())});return(0,tw.jsx)("li",{className:"neu-display-5 fw-heavy text-uppercase list-none",children:n?(0,tw.jsx)(oG.U,{editable:!1,field:{value:{href:"#".concat(null===(t=n.name)||void 0===t?void 0:t.toLowerCase().replace(/\s/g,"-")),text:e}}}):(0,tw.jsx)("span",{className:"neu-text-gray-60",children:e})},"specialty-".concat(e))})})},s1=e=>{let{specialties:l}=e;return(0,tw.jsx)("div",{children:l.map(e=>e.url?(0,tw.jsx)(oG.U,{className:"m-1 d-inline-flex flex-wrap","aria-label":e.name,field:{value:{href:e.url,text:e.name}},editable:!1},e.id):(0,tw.jsx)("span",{className:"m-1 neu-text-gray-60 d-inline-flex flex-wrap",children:e.name},e.id))})},s4=e=>{let{parentName:l,related:t}=e,{t:n}=(0,tB.QT)();if(!(null==t?void 0:t.length))return null;let i=n(1===t.length?"Specialties.Listing.RelatedSpecialty":"Specialties.Listing.RelatedSpecialties"),a="".concat(t.length," ").concat(i);return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"d-none d-lg-flex",children:[(0,tw.jsx)("span",{className:"d-flex align-items-center me-3",children:"".concat(n("Specialties.Listing.Related"),":")}),(0,tw.jsx)(s1,{specialties:t})]}),(0,tw.jsx)("div",{className:"d-lg-none",children:(0,tw.jsx)(tE.RB,{children:(0,tw.jsxs)(tE.RB.Item,{children:[(0,tw.jsx)(tE.RB.Header,{className:"border-0",children:(0,tw.jsx)("span",{"aria-label":"".concat(a," ").concat(l),children:a})}),(0,tw.jsx)(tE.RB.Content,{children:(0,tw.jsx)(s1,{specialties:t})})]})})})]})},s3=e=>{let{id:l,specialty:t}=e,{url:n,name:i,related:a}=t;return(0,tw.jsx)(sI,{id:l,className:"align-items-center",leftColumnClassName:(0,sT.Z)(a.length?"col-lg-4":"col-12"),rightColumnClassName:(0,sT.Z)(a.length?"col-lg-8":"d-none"),left:n?(0,tw.jsx)("p",{className:"neu-display-5 fw-bold",children:(0,tw.jsx)(oG.U,{field:{value:{href:n,text:i}}})}):(0,tw.jsx)("p",{className:"neu-display-5 fw-bold neu-text-gray-60",children:i}),right:(0,tw.jsx)(s4,{parentName:i,related:a})})},s5=e=>{let{fields:l,rendering:t}=e;return(null==l?void 0:l.specialties)?(0,tw.jsxs)(sa,{title:(null==l?void 0:l.listingHeadline)?{value:l.listingHeadline}:void 0,"data-test-id":null==t?void 0:t.componentName,children:[(0,tw.jsx)(s0,{specialties:l.specialties}),l.specialties.map(e=>{var l;return(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsx)(s3,{id:null===(l=e.name)||void 0===l?void 0:l.toLowerCase().replace(/\s/g,"-"),specialty:e}),(0,tw.jsx)(tS,{className:"mb-4 mt-2 my-md-4"})]},e.id)})]}):null},s2=e=>{let{date:l,author:t}=e;if(!l&&!t)return null;let n=(0,oN.L0)(null==l?void 0:l.replace("Z",""),oN.RZ),i=[];return n&&i.push(n),t&&i.push(t),(0,tw.jsx)("div",{className:"d-flex flex-row mb-4",children:(0,tw.jsx)(sS,{tag:"p",field:{value:null==i?void 0:i.join(" | ")}})})},s6=t(2813),s9=e=>{let{html:l,tag:t="div",...n}=e,[i,a]=(0,tk.useState)("");return(0,tk.useEffect)(()=>{a(s6.Z.sanitize(l))},[l]),tk.createElement(t,{...n,dangerouslySetInnerHTML:{__html:i}})};let s8=/<\s*iframe[^>]*src=.?([^\s>"']*)[^>]*>.*?<\s*\/\s*iframe>/gi,s7=/<a\s+href="(https:\/\/mediaconnect\.app\.medcity\.net\/embed\?id=[0-9a-fA-F-]{36}[^"]*?)">[^<]*<\/a>/gi;var de=function(e){let[l,t]=(0,tk.useState)(e);return(0,tk.useEffect)(()=>
53{if(null==e?void 0:e.value){var l;let n="origin=".concat(window.location.origin),i=null===(l=e.value.replace(s8,(e,l)=>{if(!(null==l?void 0:l.includes("youtube")))return e;let t=l.includes("?")?"".concat(l,"&").concat(n):"".concat(l,"?").concat(n);return e.replace(l,t)}))||void 0===l?void 0:l.replace(/&lt;iframe/g,"<iframe").replace(/&gt;&lt;\/iframe&gt;/g,"</iframe>").replace(s7,(e,l)=>'<iframe class="w-100 ratio-16x9" src="'.concat(l,'" title="MediaConnect embedded media" loading="lazy"></iframe>'));t({...e,value:i})}},[e]),l},dl=e=>{var l,t,n,i,a,o,r,s,d,c,u,m;let{fields:v}=e,p=de(null==v?void 0:v.pageBody),f=!!(null==v?void 0:null===(t=v.pageImage)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src)&&!!(null==v?void 0:null===(n=v.imageCaption)||void 0===n?void 0:n.value),h={value:null==p?void 0:null===(i=p.value)||void 0===i?void 0:i.replace(/<figcaption>&nbsp;<\/figcaption>/g,"").replace(/<figcaption><\/figcaption>/g,"")},x=(0,tw.jsx)(ok.o,{field:null==v?void 0:v.pageImage,className:"position-relative object-fit-cover",fill:!0});return(0,tw.jsxs)("div",{children:[(0,tw.jsx)(s2,{date:null==v?void 0:null===(a=v.publishedOn)||void 0===a?void 0:a.value,author:null==v?void 0:null===(o=v.author)||void 0===o?void 0:o.value}),(0,tw.jsxs)("div",{className:"clearfix",children:[(null==v?void 0:null===(s=v.pageImage)||void 0===s?void 0:null===(r=s.value)||void 0===r?void 0:r.src)?f&&(null==v?void 0:null===(d=v.imageCaption)||void 0===d?void 0:d.value)?(0,tw.jsx)("div",{className:"float-lg-end ms-lg-4 mb-4",children:(0,tw.jsxs)("figure",{className:"w-lg-360",children:[x,(0,tw.jsx)("figcaption",{className:"opacity-80 p-2 neu-bg-plain-100 neu-text-plain-0",children:null==v?void 0:null===(c=v.imageCaption)||void 0===c?void 0:c.value})]})}):(0,tw.jsx)("div",{className:"float-lg-end w-lg-360 position-relative ms-lg-2 mb-2",children:x}):null,(0,tw.jsx)(sS,{field:h,editable:!1,className:"rich-text-content"}),(null==v?void 0:null===(u=v.htmlSnippet)||void 0===u?void 0:u.value)?(0,tw.jsx)(s9,{html:null==v?void 0:null===(m=v.htmlSnippet)||void 0===m?void 0:m.value}):null]})]})},dt=e=>{let{returnLinkUrl:l,returnLinkText:t,className:n}=e,{t:i}=(0,tB.QT)(),a=(0,ix.useRouter)(),[o,r]=tk.useState(void 0),[s,d]=tk.useState(void 0);(0,tk.useEffect)(()=>{r(document.referrer),d(window.location.href)},[]);let c={value:{href:o&&o!==s?o:l,text:o&&o!==s?i("CMP.ReturnToPreviousPage"):t}},u=(0,tk.useCallback)(e=>{o&&o!==s&&(e.preventDefault(),e.stopPropagation(),a.back())},[o,s,a]);return(0,tw.jsx)("div",{className:(0,sT.Z)("d-flex flex-row text-nowrap px-0",n),children:(0,tw.jsxs)(oG.U,{field:c,className:"text-decoration-none fw-bold mb-4",onClick:u,children:[(0,tw.jsx)(tE.JK,{name:"keyboard_arrow_left",size:"2x"}),c.value.text]})})};t(4586);var dn=e=>{let{className:l}=e,[t,n]=(0,tk.useState)("");(0,tk.useEffect)(()=>{n(window.location.href)},[]);let i=[{iconName:"facebook",link:{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t),text:"Share on Facebook"}},{iconName:"linkedin",link:{href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(t),text:"Share on LinkedIn"}},{iconName:"x",link:{href:"https://twitter.com/share?url=".concat(t),text:"Share on X"}}];return(0,tw.jsx)("div",{className:(0,sT.Z)(l,"d-flex flex-row gap-2"),children:null==i?void 0:i.map(e=>{var l;return(0,tw.jsxs)(tA,{field:{href:e.link.href},className:"p-0 h-20 w-20","aria-label":e.link.text,editable:!1,children:[(0,tw.jsx)(t_,{name:null==e?void 0:e.iconName}),(0,tw.jsx)("span",{className:"sr-only",children:null==e?void 0:null===(l=e.link)||void 0===l?void 0:l.text})]},e.link.text)})})},di=()=>{var e,l;let{t}=(0,tB.QT)(),{sitecoreContext:n}=(0,sm.z)(),i=null==n?void 0:null===(e=n.route)||void 0===e?void 0:e.fields,a=(0,oN.L0)(null==i?void 0:null===(l=i.publishedOn)||void 0===l?void 0:l.value,oN.RZ),o=Array.isArray(null==i?void 0:i.locations)?null==i?void 0:i.locations.map(e=>{var l;let t=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.locationName;return null==t?void 0:t.value}).filter(e=>!!e).join(", "):void 0,r=Array.isArray(null==i?void 0:i.blogCategories)?null==i?void 0:i.blogCategories.map(e=>{var l,t;return null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(l=t.label)||void 0===l?void 0:l.value}).join(", "):void 0,s=e=>{let{content:l,title:t}=e;return(0,tw.jsxs)("div",{className:"d-lg-flex",children:[(0,tw.jsx)("span",{className:"me-2 fw-bold",children:t}),(0,tw.jsx)("div",{children:l})]})};return(0,tw.jsxs)("div",{children:[a&&(0,tw.jsx)(s,{title:"".concat(t("CMP.Published"),":"),content:a}),(null==o?void 0:o.length)?(0,tw.jsx)(s,{title:"".concat(t("Common.Location"),":"),content:o}):null,r&&(0,tw.jsx)(s,{title:t("CMP.RelatedCategories"),content:r}),(0,tw.jsx)(dn,{className:"pt-5"})]})},da=e=>{let{fields:l}=e,t={value:{href:"tel:".concat(null==l?void 0:l.telephoneNumber),text:null==l?void 0:l.telephoneNumber}},n={value:{href:"mailto:".concat(null==l?void 0:l.emailAddress),text:null==l?void 0:l.emailAddress}};return(0,tw.jsxs)("div",{className:"d-flex flex-column gap-2",children:[(0,tw.jsx)("p",{className:"fw-bold",children:null==l?void 0:l.contactHeadline}),(0,tw.jsx)("p",{children:null==l?void 0:l.contactDescription}),(0,tw.jsxs)("div",{className:"d-flex flex-column flex-md-row gap-4",children:[(0,tw.jsxs)("div",{className:"d-flex flex-row align-items-center gap-1",children:[(0,tw.jsx)(tE.JK,{name:"call",size:"1x",color:"blue-60"}),(0,tw.jsx)(oG.U,{field:t,className:"text-decoration-none"})]}),(0,tw.jsxs)("div",{className:"d-flex flex-row align-items-center gap-1",children:[(0,tw.jsx)(tE.JK,{name:"mail",size:"1x",color:"blue-60"}),(0,tw.jsx)(oG.U,{field:n,className:"text-decoration-none"})]})]})]})},dr=e=>{var l;let{backLinkText:t,backLinkUrl:n,isContacts:i,fields:a,dataTestId:o}=e,{sitecoreContext:r}=(0,sm.z)();return(0,tw.jsx)(sa,{dataTestId:o,variant:"white",children:(0,tw.jsxs)("div",{className:"articleDetailLayout d-flex flex-column",children:[(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsx)(dt,{returnLinkText:t,returnLinkUrl:n,className:"col-lg-6"}),(0,tw.jsx)(dn,{className:"col-lg-6 d-flex justify-content-lg-end"})]}),(0,tw.jsx)(tS,{className:"mt-1 mb-1"}),(0,tw.jsx)(dl,{fields:null==r?void 0:null===(l=r.route)||void 0===l?void 0:l.fields}),(0,tw.jsx)(tS,{className:"mt-1 mb-1"}),i&&((null==a?void 0:a.telephoneNumber)||(null==a?void 0:a.emailAddress))&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(da,{fields:a}),(0,tw.jsx)(tS,{className:"mt-1 mb-1"})]}),(0,tw.jsx)(di,{})]})})},ds=e=>{let{fields:l,rendering:t}=e;return(0,tw.jsx)(dr,{dataTestId:null==t?void 0:t.componentName,backLinkText:null==l?void 0:l.returnLabel,backLinkUrl:null==l?void 0:l.listingPageUrl,fields:l})},dd=function(e){let{params:l,setParams:t,defaultParams:n,handleUrlReplace:i=!1}=e,a=e=>{var n;let i=null!==(n=e.value)&&void 0!==n?n:1;t({...l,page:i})},o=e=>{t({...n,page:1,query:e})},r=function(e,n){var i;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("all"===n){t({...l,page:1,filters:{...null==l?void 0:l.filters,[e]:[]}});return}let o={...null==l?void 0:l.filters};if((null==o?void 0:o[e])&&(null==l?void 0:l.filters)&&(null==l?void 0:null===(i=l.filters)||void 0===i?void 0:i[e])===(null==o?void 0:o[e])&&!a){if(null==o?void 0:o[e].includes(n)){let l=o[e].indexOf(n);o[e].splice(l,1),0===o[e].length&&delete o[e]}else null==o||o[e].push(n);t({...l,page:1,filters:o})}else t({...l,page:1,filters:{...o,[e]:[n]}})},s=()=>{t({...n,page:1})},d=()=>{t({...l,page:1,filters:{}})},c=e=>{t({...n,...l,page:1,sort:e||void 0})},u=e=>{let l={...e};
53return Object.keys(n).forEach(e=>{JSON.stringify(l[e])===JSON.stringify(n[e])&&delete l[e]}),l},m=(0,ix.useRouter)(),v=(0,sz.usePathname)(),p=tk.useRef({});return tk.useEffect(()=>{if(!i)return;let e=u({...l}),{filters:t,...n}=e,a=aM(t||{}),o={...n,...a&&{filters:a}},r=0!==Object.keys(p.current).length&&0===Object.keys(o).length;if(0!==Object.keys(o).length||r){let e=r?v:"".concat(v,"?").concat(aT(o));m.push(e,void 0,{shallow:!0})}p.current=e},[l]),{onToggleFacet:r,onClear:s,onFacetFiltersClear:d,onQueryChange:o,onPageChange:a,onSortChange:c}},dc=t(9126),du=t.n(dc);let dm="10",dv="1",dp="search",df="blogs/".concat(dp),dh=function(){var e,l,t,n,i;let{...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{sitecoreContext:o}=(0,tL.u)(),r=(null==o?void 0:null===(e=o.route)||void 0===e?void 0:e.itemId)?"{".concat(null==o?void 0:null===(l=o.route)||void 0===l?void 0:l.itemId,"}"):"",s=null!==(n=null==o?void 0:null===(t=o.site)||void 0===t?void 0:t.name)&&void 0!==n?n:"",d=null!==(i=null==o?void 0:o.language)&&void 0!==i?i:ay,[c,u]=tk.useState({...a}),m=(null==c?void 0:c.filters)?aM(null==c?void 0:c.filters):{},v={pageId:r,sc_lang:d,sc_site:s,page:dv,...c,filters:m,display:dm},p=du().stringify(v);return{...(0,ag.ZP)(Object.keys(c).length>0?["".concat(aj).concat(df,"?").concat(p)]:null,tH.f,{keepPreviousData:!0}),setBlogRequestParameter:u,blogRequestParameter:c}};var dx=e=>{var l,t,n,i,a;let{rendering:o,fields:r}=e,{t:s}=(0,tB.QT)(),{query:d,isReady:c}=(0,ix.useRouter)(),u=(null==r?void 0:r.defaultRequest)&&Object.keys(r.defaultRequest).length>0,m=(null==r?void 0:r.defaultResponse)&&(null===(t=r.defaultResponse)||void 0===t?void 0:null===(l=t.results)||void 0===l?void 0:l.length)>0,v={errors:[],success:!0,hasErrors:!1,data:r.defaultResponse},[p,f]=tk.useState(!0),{data:h,error:x,isLoading:g,isValidating:y,setBlogRequestParameter:j,blogRequestParameter:N}=dh({}),b=tk.useRef(!1);tk.useEffect(()=>{if(!c||b.current)return;let{path:e,...l}=null!=d?d:{};Object.keys(l).length>0?j({...l,filters:l.filters?aD(l.filters):void 0}):!m&&u&&j(r.defaultRequest),b.current=!0,f(!1)},[c]);let w=null!=h?h:v,{onClear:L,onPageChange:C,onQueryChange:S,onToggleFacet:k}=dd({params:null!=N?N:{},setParams:j,defaultParams:null!==(a=null==r?void 0:r.defaultRequest)&&void 0!==a?a:{},handleUrlReplace:!0});return(0,tw.jsx)(sK,{data:w,errors:null==w?void 0:w.errors,failureToFetchError:x,onClear:(null==w?void 0:null===(i=w.data)||void 0===i?void 0:null===(n=i.facetGroups)||void 0===n?void 0:n.length)?L:void 0,query:null==N?void 0:N.query,onQueryChange:S,onToggleFacet:k,display:parseInt(dm),onPageChange:C,isValidating:g||y||p,componentName:null==o?void 0:o.componentName,filterTitle:s("Search.Result.ExploreBlogArticles"),filterBlockTitle:s("Search.Result.FindAnArticle"),onFacetGroupsClearClick:L})},dg=((u=dg||{}).IDLE="IDLE",u.LOADED="LOADED",u.ERROR="ERROR",u);function dy(e){return new Promise((l,t)=>{if(typeof window>"u"){l();return}try{let n=new Image;n.onload=()=>l(),n.onerror=e=>t(e),n.src=e}catch(e){console.error("Error preloading image (native Image constructor failed):",e),t(e)}})}function dj(e){return 0===e.length?Promise.reject([]):Promise.all(e.map(e=>dy(e)))}function dN(e){let[l,t]=(0,tk.useState)("IDLE");return(0,tk.useEffect)(()=>{if(!(null!=e&&e.length)){t("IDLE");return}dj((e||[]).filter(e=>e)).then(()=>{t("LOADED")}).catch(()=>{t("ERROR")})},[e]),l}var db=e=>{let{fields:l,color:t,hideImages:n}=e;return(0,tw.jsx)("div",{className:"col-lg-4 py-2",children:(0,tw.jsxs)(tE.IS,{className:"h-100 border-0",kind:"flat",color:t,children:[!n&&l.pageImageUrl?(0,tw.jsx)("div",{className:"w-100 d-none d-lg-block h-128",children:(0,tw.jsx)(ok.o,{field:{src:l.pageImageUrl,alt:l.pageImageAlt||"Blog image"},fill:!0,className:"object-fit-cover position-relative rounded-top"})}):null,(0,tw.jsx)(tE.IS.Content,{className:"p-4",children:(0,tw.jsx)(sO,{...l,shouldUseLightText:"plain"!==t})})]})})},dw=()=>Array.from({length:3},(e,l)=>(0,tw.jsx)("div",{className:"col-12 col-lg-4",children:(0,tw.jsx)(sU.Z,{height:450})},"blog-listing-skeleton-".concat(l)));let dL=[0,3],dC=1,dS=e=>{if(!e)return;let l=(null==e?void 0:e.includes("?"))?"".concat(e,"&"):"".concat(e,"?");return"".concat(l,"t=w360")},dk=e=>{var l,t;let{fields:n,rendering:i,params:a}=e,o=(0,tT.u)(),{startingHeadingTag:r}
53=sD(a),{isDarkBackground:s}=sl(),d=null!==(t=null==n?void 0:null===(l=n.blogs)||void 0===l?void 0:l.some(e=>!e.pageImageUrl))&&void 0!==t&&t,c=dN(dL.map(e=>{var l;return dS(null==n?void 0:null===(l=n.blogs.slice(0,3)[e])||void 0===l?void 0:l.pageImageUrl)})),u=((null==n?void 0:n.blogs)||[]).slice(0,3);return u&&(null==u?void 0:u.length)!==0||o?(0,tw.jsxs)(sa,{dataTestId:null==i?void 0:i.componentName,title:n.blockHeadline,headingLevel:r,titleClassName:"neu-display-2 fw-medium",description:n.blockDescription,children:[c===dg.IDLE?(0,tw.jsx)("div",{className:"row justify-content-center",children:dw()}):(0,tw.jsx)("div",{className:"row justify-content-center",children:null==u?void 0:u.map((e,l)=>(0,tw.jsx)(db,{color:0===l?"support":2===l?"main":"plain",hideImages:d,fields:e},"listing-blog--".concat(e.itemId)))}),n.primaryLink?(0,tw.jsx)("div",{className:"text-center mt-2 mt-lg-4",children:(0,tw.jsx)(tA,{field:n.primaryLink,kind:s?"tertiary-plain":"secondary",className:"col-12 col-lg-3"})}):null]}):null};var dM=(0,sf.C)()(dk);let dD=/^[0-9]\d*$/,dT=13,dI=37,dE=90,dA=25,d_={0:{min:12,max:18.5},1:{min:18.6,max:24.9},2:{min:25,max:29.9},3:{min:30,max:38.5}},dF=[{text:"PageContent.BMICalculator.Underweight",color:"#00558c"},{text:"PageContent.BMICalculator.Healthy",color:"#358100"},{text:"PageContent.BMICalculator.Overweight",color:"#e05929"},{text:"PageContent.BMICalculator.Obese",color:"#df2500"}];var dP=e=>{var l,t,n;let{fields:i,onSubmit:a,className:o}=e,{t:r}=(0,tB.QT)(),{handleSubmit:s,register:d,formState:{errors:c}}=(0,iN.cI)({defaultValues:{weight:"0",inches:"0",feet:"0"}});return(0,tw.jsx)("div",{className:o,children:(0,tw.jsxs)("div",{className:"h-100 d-flex",children:[(0,tw.jsxs)("form",{onSubmit:s(a),children:[(0,tw.jsx)(sS,{field:null==i?void 0:i.description}),(0,tw.jsx)("p",{className:"my-4",children:"".concat(r("PageContent.BMICalculator.Height"),":")}),(0,tw.jsxs)("div",{className:"d-flex row",children:[(0,tw.jsxs)("div",{className:"col-lg-6",children:[(0,tw.jsx)(tE.JX,{type:"number",required:!0,className:"col-lg-6",label:"".concat(r("PageContent.BMICalculator.Feet")),placeholder:"".concat(r("PageContent.BMICalculator.Feet")).toLowerCase(),...d("feet",{pattern:{value:dD,message:"".concat(r("Search.Errors.PleaseEnterNumber"))},required:{value:!0,message:"".concat(r("Search.Errors.Required"))}})}),c.feet&&(0,tw.jsx)("p",{className:"neu-text-red-50",children:null===(l=c.feet.message)||void 0===l?void 0:l.toString()})]}),(0,tw.jsxs)("div",{className:"col-lg-6",children:[(0,tw.jsx)(tE.JX,{type:"number",label:"".concat(r("PageContent.BMICalculator.Inches")),className:"col-lg-6",placeholder:"".concat(r("PageContent.BMICalculator.Inches")).toLowerCase(),...d("inches",{pattern:{value:dD,message:"".concat(r("Search.Errors.PleaseEnterNumber"))}})}),c.inches&&(0,tw.jsx)("p",{className:"neu-text-red-50",children:null===(t=c.inches.message)||void 0===t?void 0:t.toString()})]})]}),(0,tw.jsx)("p",{className:"my-4",children:"".concat(r("PageContent.BMICalculator.Weight"),":")}),(0,tw.jsxs)("div",{className:"d-lg-flex row align-items-center",children:[(0,tw.jsxs)("div",{className:"col-lg-6",children:[(0,tw.jsx)(tE.JX,{type:"number",required:!0,label:"".concat(r("PageContent.BMICalculator.Pounds")),placeholder:"".concat(r("PageContent.BMICalculator.Pounds")).toLowerCase(),...d("weight",{pattern:{value:dD,message:"".concat(r("Search.Errors.PleaseEnterNumber"))},required:{value:!0,message:"".concat(r("Search.Errors.Required"))}})}),c.weight&&(0,tw.jsx)("p",{className:"neu-text-red-50",children:null===(n=c.weight.message)||void 0===n?void 0:n.toString()})]}),(0,tw.jsx)("div",{className:"col-lg-3 mt-5 mt-lg-3",children:(0,tw.jsx)(tE.Yu,{className:"w-100",kind:"primary",type:"submit",onClick:s(a),children:"".concat(r("PageContent.BMICalculator.Calculate"))})})]})]}),(0,tw.jsx)(tS,{type:"vertical",margin:"0",className:"h-auto d-none d-lg-flex ms-6"})]})})},dO=t(5992),dz=t.n(dO),dR=e=>{let{bmiValue:l,bmiResult:t,resultStyle:n,needleStyle:i,onClick:a,bmiResultDescription:o,className:r}=e,{t:s}=(0,tB.QT)();return(0,tw.jsxs)("div",{className:r,children:[(0,tw.jsxs)("div",{className:"d-flex flex-column align-items-center justify-content-center mt-8",children:[(0,tw.jsxs)("div",{className:"position-relative d-inline-block",children:[(0,tw.jsx)("span",{style:{left:"-65px",bottom:"30px"},className:"position-absolute",children:s("PageContent.BMICalculator.Under")}),(0,tw.jsx)("span",{style:{left:"-10px",top:"-25px"},className:"position-absolute",children:s("PageContent.BMICalculator.Healthy")}),(0,tw.jsx)("span",{style:{left:"155px",top:"-25px"},className:"position-absolute",children:s("PageContent.BMICalculator.Over")}),(0,tw.jsx)("span",{style:{left:"220px",bottom:"30px"},className:"position-absolute",children:s("PageContent.BMICalculator.Obese")}),(0,tw.jsxs)("div",{style:{width:"200px",height:"100px"},className:(0,sT.Z)("overflow-hidden position-relative z-0",dz().gauge),children:[(0,tw.jsx)("div",{style:i,className:(0,sT.Z)("position-absolute z-2",dz().needle)}),(0,tw.jsx)("div",{style:{width:"100px",height:"50px"},className:(0,sT.Z)("position-absolute text-center bottom-0 z-3",dz().display)}),(0,tw.jsx)("div",{style:{width:"160px",height:"80px"},className:(0,sT.Z)("position-absolute bottom-0 z-1",dz().gaugeBackgroun
53d)}),(0,tw.jsx)("div",{className:(0,sT.Z)("z-1 position-absolute",dz().lineLeft)}),(0,tw.jsx)("div",{className:(0,sT.Z)("z-1 position-absolute",dz().line)}),(0,tw.jsx)("div",{className:(0,sT.Z)("z-1 position-absolute",dz().lineRight)})]})]}),(0,tw.jsxs)("div",{className:(0,sT.Z)("text-center position-relative z-5",dz().results),children:[(0,tw.jsx)("h3",{className:"fw-bold mb-2",children:l})," ",(0,tw.jsx)("p",{style:n,children:t})]})]}),(0,tw.jsx)(sS,{className:"pt-5",field:o}),(0,tw.jsx)("div",{className:"d-lg-flex row d-lg-none",children:(0,tw.jsx)(tE.Yu,{color:"main",onClick:a,className:"w-full d-lg-none mt-5",children:s("PageContent.BMICalculator.Recalculate")})})]})};let dB=(e,l)=>l/(e*e)*703,dU=(e,l)=>{let t=d_[l],n=(Number(e)-t.min)/(t.max-t.min);return 0===n?.01:n},dH=(e,l,t)=>{var n;let i=l||"0";return{height:12*parseInt(e,0)+parseInt(i,0),weight:null!==(n=parseInt(t,0))&&void 0!==n?n:0}},dZ=e=>{let l;let t=Math.max(dT,Math.min(dI,e));return l=t<=d_[0].max?0:t<=d_[1].max?1:t<=d_[2].max?2:3,{degree:45*dU(t,l)+45*l,quadrant:l}};var dQ=e=>{let{fields:l,rendering:t,params:n}=e,[i,a]=(0,tk.useState)(dA),[o,r]=(0,tk.useState)(!1),[s,d]=(0,tk.useState)(dE),[c,u]=(0,tk.useState)(3),{t:m}=(0,tB.QT)(),v=(0,tk.useMemo)(()=>({transform:"translateX(-50%) rotate(".concat(s,"deg)")}),[s]),p="".concat(m(dF[c].text)),f=dF[c].color,h=e=>{let{feet:l,inches:t,weight:n}=e;if("0"===l||"0"===l&&"0"===n)return;
53let i=dH(l,t,n);r(!0),a(dB(i.height,i.weight))};(0,tk.useEffect)(()=>{let{degree:e,quadrant:l}=dZ(i);d(e),u(l)},[i]);let x=()=>{if(!o)return null==l?void 0:l.bmiResultDescriptionDefault;switch(c){case 0:return null==l?void 0:l.bmiResultDescriptionUnderweight;case 1:return null==l?void 0:l.bmiResultDescriptionHealthy;case 2:return null==l?void 0:l.bmiResultDescriptionOverweight;case 3:return null==l?void 0:l.bmiResultDescriptionObese;default:return null==l?void 0:l.bmiResultDescriptionDefault}},{startingHeadingTag:g}=sD(n);return(0,tw.jsx)(tE.IS,{"data-test-id":null==t?void 0:t.componentName,children:(0,tw.jsxs)(sa,{title:null==l?void 0:l.title,description:null==l?void 0:l.headline,headingLevel:g,titleClassName:"neu-display-2 fw-medium",className:"pb-2 pb-lg-3 rounded",conditionalWrapclassName:"px-2 px-lg-3",variant:"white",children:[(0,tw.jsx)(sI,{className:"no-gutters mb-lg-6 g-0",left:(0,tw.jsx)(dP,{fields:l,onSubmit:h,className:(0,sT.Z)("pt-4",o&&"d-none d-lg-block ")}),right:(0,tw.jsx)(dR,{fields:l,bmiValue:o?Math.round(10*i)/10:null,needleStyle:v,bmiResult:o?p:"",resultStyle:{color:f},bmiResultDescription:x(),className:(0,sT.Z)("pt-6 pt-lg-4 px-2 ps-lg-6 pe-lg-0",!o&&"d-none d-lg-block "),onClick:()=>{r(!1)}})}),(0,tw.jsx)(tS,{type:"horizontal",margin:"6",className:"d-lg-none"}),(0,tw.jsx)(tE.qw,{label:"Disclaimer:",children:(0,tw.jsx)(tD,{className:"mt-2",field:null==l?void 0:l.disclaimerDescription})})]})})},dY=e=>{var l;let{registerOnline:t,callToAction:n,displayAsButton:i}=e,a=(null==i?void 0:i.value)===!0,o=null==n?void 0:null===(l=n.value.href)||void 0===l?void 0:l.startsWith("tel:"),r=a?tE.Yu:r5.r,s=a?{as:r5.r,icon:o?"call":void 0,iconPosition:"start",children:null==n?void 0:n.value.text}:{children:(0,tw.jsxs)(tw.Fragment,{children:[!a&&o?(0,tw.jsx)(tE.JK,{name:"call",className:"me-1"}):null,null==n?void 0:n.value.text]})};return(0,tw.jsxs)(tw.Fragment,{children:[t&&t.value&&(0,tw.jsx)(tR.H,{field:t}),n&&n.value.href&&(0,tw.jsx)(r,{field:n,className:"w-fit",...s})]})},d$=e=>{let{logos:l}=e;if(!l||0===l.length)return null;let t=(0,sT.Z)("pb-4 pb-lg-0 px-3 px-lg-2",{"w-50":1===l.length||2===l.length,"w-33":l.length>2},"w-md-100",{"max-w-112-md":l.length<=3,"max-w-96-md":4===l.length}),n=(0,sT.Z)("d-flex flex-wrap justify-content-center align-items-center",{"pb-1 pb-lg-4":4===l.length});return(0,tw.jsx)("div",{className:n,children:l.map((e,n)=>{var i,a;return(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsx)("div",{className:t,children:(0,tw.jsx)(iC,{condition:!!e.href,wrapper:l=>(0,tw.jsx)(oG.U,{className:"link-plain",field:{href:e.href},children:l}),wrappedJSX:(0,tw.jsx)(tO.E,{field:{value:{src:(null===(i=e.image)||void 0===i?void 0:i.src)||"",alt:(null===(a=e.image)||void 0===a?void 0:a.alt)||""}},editable:!1,className:"w-100 h-auto",loading:"eager"})})},n),l.length>1&&n<l.length-1&&(0,tw.jsx)("div",{className:"h-24",children:(0,tw.jsx)(tS,{type:"vertical",className:"d-none d-lg-block border-neu-gray-20"})})]},"".concat(e.href,"-").concat(n))})})},dq=e=>{var l,t,n,i,a,o,r;let{fields:s}=e,{sitecoreContext:d}=(0,tL.u)();if(!s||!s.header)return null;let c=null===(t=s.campaignLocations)||void 0===t?void 0:null===(l=t.locations)||void 0===l?void 0:l.filter(e=>{var l,t,n;return!!(null===(n=e.theme)||void 0===n?void 0:null===(t=n.mainLogo)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src)}).map(e=>{var l,t,n,i,a,o,r,s;return{href:null!==(s=null===(n=e.theme)||void 0===n?void 0:null===(t=n.mainLogo)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.href)&&void 0!==s?s:null===(a=e.fields)||void 0===a?void 0:null===(i=a.marketedWebsite)||void 0===i?void 0:i.value,image:null===(r=e.theme)||void 0===r?void 0:null===(o=r.mainLogo)||void 0===o?void 0:o.value}}),u=!!(c&&c.length>0),m=!!(null===(n=s.languages)||void 0===n?void 0:n.languageSelection),v=!!(null===(a=s.header.callToAction)||void 0===a?void 0:null===(i=a.value)||void 0===i?void 0:i.href),p=(null==d?void 0:null===(r=d.theme)||void 0===r?void 0:null===(o=r.entityBrandingOverrides)||void 0===o?void 0:o.utilityNav)||"main-100",f=(null==c?void 0:c.length)===4,h=(0,sT.Z)("d-flex flex-column py-3 container-lg",{"flex-lg-row justify-content-between":!f}),x=(0,sT.Z)("d-flex flex-column align-items-center",{"align-items-lg-end":!f&&u,"align-items-lg-start":!f&&!u});return(0,tw.jsxs)(tw.Fragment,{children:[m?(0,tw.jsx)("div",{className:"neu-bg-".concat(p),children:(0,tw.jsx)("div",{className:"d-flex container justify-content-end",children:(0,tw.jsx)(rn,{languages:s.languages})})}):null,v||u?(0,tw.jsxs)("div",{className:h,children:[u&&(0,tw.jsx)(d$,{logos:c}),v&&(0,tw.jsx)("div",{className:x,children:(0,tw.jsx)(dY,{registerOnline:s.header.registerOnline,callToAction:s.header.callToAction,displayAsButton:s.header.displayAsButton})})]}):null]})};let dW=e=>{var l,t;let{fallbackTitle:n={value:"Page Title"},rendering:i}=e,{sitecoreContext:a}=(0,tL.u)(),o=null==a?void 0:a.route,r=void 0!==o;return(0,tw.jsx)(su,{title:r?null==o?void 0:null===(l=o.fields)||void 0===l?void 0:l.pageTitle:n,description:r?null==o?void 0:null===(t=o.fields)||void 0===t?void 0:t.pageShortDescription:void 0,isLarge:!1,dataTestId:null==i?void 0:i.componentName,className:"text-center",withBreadcrumbs:!1})};var dV=dW,dG=t(6577),dJ=t.n(dG);let dK=["blog","insta","linkedin","twitter","youtube","microphone","hca_mho_logo_2","hca_mho_logo","pinterest","x","web_check_in","facebook"];var dX={src:"/_next/static/media/mho-logo-stacked.cc794e44.svg",height:69,width:130,blurWidth:0,blurHeight:0},d0=e=>{var l,t,n,i;let{fields:a,assetProps:o,materialIconProps:r,customIconProps:s,svgIconProps:d}=e,c=null!==(n=null==a?void 0:null===(l=a.isMaterialIcon)||void 0===l?void 0:l.value)&&void 0!==n&&n,u=null==a?void 0:null===(t=a.iconName)||void 0===t?void 0:t.value;if(!u)return null;if(c)return(0,tw.jsx)(tE.JK,{...r,name:u,size:null==r?void 0:r.size});if(dK.includes(u)){let e=u;return"hca_mho_logo"===e?(0,tw.jsx)(dJ(),{src:dX,alt:"MHO Logo",...d}):(0,tw.jsx)(t_,{...s,name:e,className:(0,sT.Z)("neu-icon",null==s?void 0:s.className)})}let m=(0,tw.jsx)(tE.at,{secondary:"support",...o,name:u,css:null!==(i=null==o?void 0:o.css)&&void 0!==i&&i});return(null==o?void 0:o.useWrapper)?(0,tw.jsx)("div",{className:(null==o?void 0:o.css)&&o.className?o.className:void 0,children:m}):m};let d1={"Primary Darker":"neu-bg-main-100","Secondary Base":"neu-bg-support-50",White:"neu-bg-plain-0",default:"neu-bg-plain-0"};var d4=e=>{var l,t,n;let i,{id:a,cardTitle:o,cardDescription:r,cardLink:s,displayAsButton:d,cardIcon:c,
53cardImage:u,cardTitleTag:m="h4",cardTitleClass:v,cardColor:p}=e,f=(null==p?void 0:p.value)?d1[null==p?void 0:p.value]:d1.default,h=f===d1.White,x=(null==u?void 0:null===(l=u.value)||void 0===l?void 0:l.src)&&(0,tw.jsx)("div",{children:(0,tw.jsx)(ok.o,{field:u,fill:!0,className:"w-100 ratio-16x9 object-fit-cover position-relative"})}),g=(null==c?void 0:null===(n=c.fields)||void 0===n?void 0:null===(t=n.iconName)||void 0===t?void 0:t.value)&&(0,tw.jsx)("div",{className:(0,sT.Z)("d-flex justify-content-center align-items-center w-100 ratio-16x9 position-relative",f),children:(0,tw.jsx)("div",{children:(0,tw.jsx)(d0,{fields:c.fields,assetProps:{primary:"plain",secondary:"plain",css:h,useWrapper:!0,size:"4x",className:h?"fill-main-100":void 0},materialIconProps:{size:"9x",className:h?"neu-text-main-100":"neu-text-plain-0"}})})});return s&&(i=(null==d?void 0:d.value)?(0,tw.jsx)(tA,{field:s,kind:"secondary"}):(0,tw.jsx)(oG.U,{field:s})),(0,tw.jsxs)(tE.IS,{id:a,className:"overflow-hidden border-0 h-100 w-100",children:[null!=x?x:g,(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)(tD,{tag:m,field:o,className:(0,sT.Z)("font-bold",v)})}),(0,tw.jsx)(tE.IS.Content,{children:(0,tw.jsx)(tR.H,{field:r})}),(0,tw.jsx)(tE.IS.Footer,{className:"d-flex justify-content-start",children:i})]})},d3=sA(e=>{let{blockCards:l,isLoading:t,params:n,cardsPerRow:i}=e,{isFullWidth:a}=sl(),o=(null==l?void 0:l.length)||0,r=1===o?12:a?3:o%2==0?6:4,s=i?"pb-4 col":"pb-4 col-12 col-md-".concat(r),{getRelativeHeadingTag:d}=sD(n);return(0,tw.jsx)(tw.Fragment,{children:null==l?void 0:l.map(e=>(0,tw.jsx)("div",{className:(0,sT.Z)(s,a&&"d-flex justify-content-center"),children:t?(0,tw.jsx)(sU.Z,{height:450}):(0,tw.jsx)("div",{className:(0,sT.Z)(a&&"max-w-288 w-100"),children:(0,tw.jsx)(d4,{id:e.fields.id,cardTitle:e.fields.cardTitle,cardTitleTag:d(),cardTitleClass:"neu-display-4",cardDescription:e.fields.cardDescription,cardLink:e.fields.cardLink,displayAsButton:e.fields.displayAsButton,cardIcon:e.fields.cardIcon,cardImage:e.fields.cardImage,cardColor:e.fields.cardColor})})},e.fields.id))})},{title:"Add Card to the Cards Block",tooltip:"Add a card",className:"unit-row row gutter-standard kind-standard align-items-stretch",templateId:"{D8B01743-4657-44FB-8AB2-A87BBB2C6FB0}",fieldId:"{64C5CB10-832C-4699-A42A-32E3386DB4FC}",renderingId:"{A9BFDABE-9BB7-4B41-809B-1ABA1FF31BCA}",countField:"blockCards"});let d5=e=>{var l,t,n,i,a,o,r,s;let{fields:d,params:c,rendering:u}=e,{sitecoreContext:{pageEditing:m}}=(0,sm.z)(),v=(null==d?void 0:null===(l=d.cardsPerRow)||void 0===l?void 0:l.value)?parseInt(d.cardsPerRow.value):null,p=v?Math.min(Math.max(v,1),6):null,{startingHeadingTag:f}=sD(c),{isDarkBackground:h,isFullWidth:x}=sl(),g=(null==d?void 0:null===(n=d.blockTitleImage)||void 0===n?void 0:null===(t=n.value)||void 0===t?void 0:t.src)?(0,tw.jsx)(ok.o,{field:d.blockTitleImage,alt:d.blockTitleImage.value.alt,fill:!0,className:"w-100 w-md-50 position-relative z-1",style:m?void 0:{translate:"0 30%"}}):(null==d?void 0:null===(i=d.blockTitle)||void 0===i?void 0:i.value)||(null==d?void 0:null===(a=d.blockDescription)||void 0===a?void 0:a.value)?(0,tw.jsx)(sn,{title:d.blockTitle,description:d.blockDescription,headingLevel:f,titleClassName:"neu-display-2 fw-medium"}):void 0,y=dN(null==d?void 0:null===(o=d.blockCards)||void 0===o?void 0:o.map(e=>{var l,t;return null===(t=e.fields.cardImage)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src}));return(0,tw.jsxs)("div",{"data-test-id":null==u?void 0:u.componentName,className:(0,sT.Z)(x&&"px-2 px-lg-6 py-6"),children:[g,(0,tw.jsx)("div",{className:(0,sT.Z)("row align-items-stretch gx-md-3 gx-lg-4",x&&!p&&"justify-content-center",p&&"row-cols-1 row-cols-md-".concat(p)),children:(0,tw.jsx)(d3,{blockCards:null==d?void 0:d.blockCards,rendering:u,params:c,isLoading:y===dg.IDLE,cardsPerRow:p})}),(null==d?void 0:null===(s=d.ctaLink)||void 0===s?void 0:null===(r=s.value)||void 0===r?void 0:r.href)?(0,tw.jsx)("div",{className:"row justify-content-center mt-1 mt-lg-6 px-1",children:(0,tw.jsx)(tA,{field:d.ctaLink,kind:h?"tertiary-plain":"primary",className:"col-lg-4"})}):null]})};var d2=(0,sf.C)()(d5);let d6=/^NCT\d{8}$/i;function d9(e){return d6.test(e)}let d8={Recruiting:"green","Not yet recruiting":"blue",Paused:"red"},d7=["conditionDisease","recruitingStatus","location","specialty","studyDoctor"],ce=25;var cl=e=>{let{status:l}=e,{t}=(0,tB.QT)(),n=e=>
53{switch(e){case"Recruiting":return t("ClinicalTrials.Tags.Recruiting");case"Not yet recruiting":return t("ClinicalTrials.Tags.NotYetRecruiting");case"Paused":return"On Hold";default:return e}};return(0,tw.jsx)(tE.m3,{color:d8[l],children:n(l)})},ct=e=>{var l;let{className:t,handleClick:n,returnLinkField:i}=e;return(0,tw.jsx)("div",{className:(0,sT.Z)("d-flex flex-row text-nowrap px-0",t),children:(0,tw.jsxs)(oG.U,{role:n?"button":"link",field:i,className:"text-decoration-none fw-bold mb-4",onClick:n,children:[(0,tw.jsx)(tE.JK,{name:"keyboard_arrow_left",size:"2x"}),null==i?void 0:null===(l=i.value)||void 0===l?void 0:l.text]})})};let cn=(e,l)=>e&&l?"".concat(e,", ").concat(l):e||l||null,ci=(e,l)=>e&&l?"".concat(e,", ").concat(l):e||l||"",ca=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),co=e=>e?e.split(";").map(e=>e.trim()).sort():[];var cr=e=>{let{rendering:l}=e,{sitecoreContext:t}=(0,sm.z)(),{t:n}=(0,tB.QT)(),i=t.clinicalTrialDetail,a=(0,ix.useRouter)(),o=a.query.returnUrl,r=Array.isArray(o)?o[0]:o,s="string"==typeof r&&r.startsWith("/")&&!r.startsWith("//")?r:void 0,d=a.asPath.split("/study")[0];if(!i)return null;let c="string"==typeof i.nctNumber&&d9(i.nctNumber),u=i.acronym&&i.sponsor?"".concat(i.acronym," - ").concat(i.sponsor):null,m=i.protocolTitle||i.title,v=i.locations.reduce((e,l)=>{let t=[l.name,l.city,l.state,l.siteEmail].join("|").toLowerCase(),n=e.find(e=>[e.name,e.city,e.state,e.siteEmail].join("|").toLowerCase()===t);return n?n.allStudySiteIds.push(l.id):e.push({id:l.id,allStudySiteIds:[l.id],name:l.name,city:l.city,state:l.state,siteEmail:l.siteEmail}),e},[]),p={value:{href:s||d,text:s?n("CMP.ReturnToPreviousPage"):"Back to all trials"}},f=co(i.indication),h=co(i.deviceOrDrugName);return(0,tw.jsxs)("div",{className:"container py-6","data-test-id":null==l?void 0:l.componentName,children:[(0,tw.jsx)(ct,{returnLinkField:p}),(0,tw.jsxs)("div",{className:"d-lg-flex gap-2 pb-2",children:[(0,tw.jsxs)("div",{children:[(0,tw.jsxs)("span",{className:"fw-bold",children:[n("ClinicalTrials.Filters.RecruitingStatus"),": "]}),(0,tw.jsx)(cl,{status:i.status})]}),c&&(0,tw.jsxs)("div",{children:[(0,tw.jsxs)("span",{className:"fw-bold",children:[n("ClinicalTrials.NCTNumber"),": "]}),i.nctNumber]})]}),u&&(0,tw.jsx)(tD,{tag:"h2",field:{value:u},className:"neu-title neu-display-3 fw-bold mb-3 w-100"}),(0,tw.jsx)(tD,{tag:"p",field:{value:m},className:"fw-bold mb-3 w-100"}),(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",className:"mt-1 py-1 px-2 d-block",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)("h3",{className:"neu-display-5 fw-bold",children:"".concat(n("ClinicalTrials.Study.Overview"))})}),(0,tw.jsxs)(tE.IS.Content,{children:[i.description&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"fw-bold pb-1",children:[n("ClinicalTrials.Study.Description"),":"]}),(0,tw.jsx)("div",{className:"pb-3",children:i.description})]}),i.specialty&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"fw-bold pb-1",children:[n("Search.Content.Specialty"),":"]}),(0,tw.jsx)("div",{className:"pb-3",children:i.specialty})]}),i.indication&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"fw-bold pb-1",children:[n("ClinicalTrials.Patients"),":"]}),f.length>1?(0,tw.jsx)("ul",{children:f.map(e=>(0,tw.jsx)("li",{children:e},e))}):(0,tw.jsx)("div",{className:"pb-3",children:i.indication})]}),i.sponsor&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"fw-bold pb-1",children:[n("ClinicalTrials.Sponsor"),":"]}),(0,tw.jsx)("div",{className:"pb-3",children:i.sponsor})]}),i.deviceOrDrugName&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"fw-bold pb-1",children:[n("ClinicalTrials.DrugorDevice"),":"]}),h.length>1?(0,tw.jsx)("ul",{children:h.map(e=>(0,tw.jsx)("li",{children:e},e))}):(0,tw.jsx)("div",{className:"pb-3",children:i.deviceOrDrugName})]})]})]}),(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",className:"mt-1 py-1 px-2 d-block",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)("h3",{className:"neu-display-5 fw-bold",children:n("ClinicalTrials.Study.ContactsandLocations")})}),(0,tw.jsx)(tE.IS.Content,{children:(0,tw.jsx)("div",{className:"pb-1",children:v.map((e,l)=>{let t=cn(e.city,e.state),a=i.investigators.filter(l=>l.studySiteId&&e.allStudySiteIds.includes(l.studySiteId)).map(e=>
53ci(e.lastName,e.firstName)).filter(Boolean).filter((e,l,t)=>t.indexOf(e)===l).join("; ");return(0,tw.jsxs)("div",{className:l>0?"pt-3":void 0,children:[t&&(0,tw.jsxs)("div",{className:"d-flex align-items-center gap-1 fw-bold",children:[(0,tw.jsx)(tE.JK,{name:"location_on",fill:!0,weight:300}),t]}),e.name&&(0,tw.jsxs)("div",{children:[(0,tw.jsxs)("span",{className:"fw-bold",children:[n("Alerts.Search.Facility"),":"]})," ",e.name]}),a&&(0,tw.jsxs)("div",{children:[(0,tw.jsxs)("span",{className:"fw-bold",children:[n("ClinicalTrials.Study.Doctor"),":"]})," ",a]}),e.siteEmail&&ca(e.siteEmail)&&(0,tw.jsxs)("div",{className:"d-flex flex-row gap-1",children:[(0,tw.jsxs)("span",{className:"fw-bold",children:[n("ClinicalTrials.Contact.Email"),":"]}),(0,tw.jsx)(oG.U,{field:{text:e.siteEmail,href:"mailto:".concat(e.siteEmail)},className:"neu-display-7 fw-medium"})]})]},e.id)})})})]}),(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",className:"mt-1 py-1 px-2 d-block",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)("h3",{className:"neu-display-5 fw-bold",children:n("ClinicalTrials.NextSteps")})}),(0,tw.jsx)(tE.IS.Content,{children:(0,tw.jsxs)("div",{children:["For more information, please contact the site nearest you via the email address listed above. If email is not an option, you may call"," ",(0,tw.jsx)(r5.r,{field:{value:{href:"tel:6159801425",text:"(615) 980-1425"}}})," ","and provide your contact information for a return call. Please allow 1-3 business days for a response from the study team."]})})]}),(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",className:"mt-1 py-1 px-2 d-block",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)("h3",{className:"neu-display-5 fw-bold",children:"Additional Information"})}),(0,tw.jsx)(tE.IS.Content,{children:(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("p",{children:"For complete eligibility criteria and detailed protocol information, view the full record on ClinicalTrials.gov"}),c&&(0,tw.jsx)(tA,{iconPosition:"end",icon:"open_in_new",field:{value:{href:"https://clinicaltrials.gov/study/".concat(i.nctNumber),text:"View ".concat(i.nctNumber," on ClinicalTrials.gov"),target:"_blank"}},color:"main",kind:"secondary"})]})})]})]})};let cs="25",cd="1",cc="proxy/clinical-trials/search",cu={conditionDisease:"conditions",specialty:"specialties",location:"locations",studyDoctor:"principal-investigators"},cm=e=>{var l,t,n,i,a,o,r;let s=!!e,d={page:null!==(o=null==e?void 0:e.page)&&void 0!==o?o:cd,display:null!==(r=null==e?void 0:e.display)&&void 0!==r?r:cs,query:null==e?void 0:e.query,conditionDisease:null==e?void 0:null===(l=e.filters)||void 0===l?void 0:l.conditionDisease,recruitingStatus:null==e?void 0:null===(t=e.filters)||void 0===t?void 0:t.recruitingStatus,location:null==e?void 0:null===(n=e.filters)||void 0===n?void 0:n.location,specialty:null==e?void 0:null===(i=e.filters)||void 0===i?void 0:i.specialty,studyDoctor:null==e?void 0:null===(a=e.filters)||void 0===a?void 0:a.studyDoctor},c=du().stringify(d,{arrayFormat:"comma",skipNulls:!0});return(0,ag.ZP)(s?"".concat(aj).concat(cc,"?").concat(c):null,tH.f,{keepPreviousData:!0})},cv=async e=>{var l;let t=await fetch(e);return t.ok?(null!==(l=(await t.json()).items)&&void 0!==l?l:[]).map(e=>{var l,t,n,i,a,o,r,s,d,c,u,m;return{data:{},id:null!==(n=null!==(t=null!==(l=e.value)&&void 0!==l?l:e.preferredValue)&&void 0!==t?t:e.label)&&void 0!==n?n:"",label:null!==(o=null!==(a=null!==(i=e.label)&&void 0!==i?i:e.preferredValue)&&void 0!==a?a:e.value)&&void 0!==o?o:"",value:null!==(d=null!==(s=null!==(r=e.value)&&void 0!==r?r:e.preferredValue)&&void 0!==s?s:e.label)&&void 0!==d?d:"",preferredValue:null!==(m=null!==(u=null!==(c=e.preferredValue)&&void 0!==c?c:e.label)&&void 0!==u?u:e.value)&&void 0!==m?m:""}}).filter(e=>e.label&&e.value):[]},cp=e=>{let l=e.trim();return(0,ag.ZP)(l.length>=3?"/api/proxy/clinical-trials/typeahead?query=".concat(encodeURIComponent(l)):null,cv,{fallbackData:[],keepPreviousData:!0,revalidateOnFocus:!1})},cf=e=>"conditionDisease"===e||"specialty"===e||"location"===e||"studyDoctor"===e,ch=async e=>{var l;let t=await fetch(e);if(!t.ok)throw Error("Failed to fetch clinical trial filter options");return null!==(l=(await t.json()).items)&&void 0!==l?l:[]},cx=e=>{let l=cf(e)?cu[e]:void 0;return(0,ag.ZP)(l?"/api/proxy/clinical-trials/filters/".concat(l):null,ch,{fallbackData:[],revalidateOnFocus:!1})},cg=()=>
53({conditionDisease:[],recruitingStatus:[],location:[],specialty:[],studyDoctor:[]}),cy=(0,tk.createContext)(void 0),cj=e=>e?Array.isArray(e)?e[0]||"":e:"",cN=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=Number.parseInt(cj(e),10);return Number.isFinite(t)&&t>0?t:l},cb=e=>cj(e).split(",").map(e=>e.trim()).filter(Boolean),cw=e=>{let l=new URLSearchParams;return Object.entries(e).forEach(e=>{let[t,n]=e;if(void 0!==n){if(Array.isArray(n)){n.forEach(e=>l.append(t,e));return}l.append(t,n)}}),l.toString()},cL=e=>Array.from(new Set(e)),cC=e=>({conditionDisease:cL(e.conditionDisease),recruitingStatus:cL(e.recruitingStatus),location:cL(e.location),specialty:cL(e.specialty),studyDoctor:cL(e.studyDoctor)}),cS=(e,l)=>d7.every(t=>e[t].join("|")===l[t].join("|")),ck=e=>{let{children:l}=e,t=(0,ix.useRouter)(),[n,i]=(0,tk.useState)(""),[a,o]=(0,tk.useState)(1),[r,s]=(0,tk.useState)(ce),[d,c]=(0,tk.useState)(cg),[u,m]=(0,tk.useState)(cg),v=(0,tk.useRef)(!1),[p,f]=(0,tk.useState)(!1);(0,tk.useEffect)(()=>{if(!t.isReady||v.current)return;let e=cg();d7.forEach(l=>{e[l]=cb(t.query[l])}),i(cj(t.query.query)),o(cN(t.query.page)),s(cN(t.query.display,ce)),c(e),m(e),v.current=!0,f(!0)},[t.isReady,t.query]),(0,tk.useEffect)(()=>{if(!t.isReady||!p)return;let e={};n.trim()&&(e.query=n.trim()),a>1&&(e.page=String(a)),r!==ce&&(e.display=String(r)),d7.forEach(l=>{d[l].length>0&&(e[l]=d[l].join(","))});let l={};Object.entries(t.query).forEach(e=>{let[t,n]=e;"path"===t||"query"===t||"page"===t||"display"===t||d7.includes(t)||(l[t]=n)});let i={...l,...e},o={};if(Object.entries(t.query).forEach(e=>{let[l,t]=e;"path"!==l&&(o[l]=t)}),cw(o)===cw(i))return;let s=t.asPath.split("?")[0];t.replace({pathname:s,query:i},void 0,{shallow:!0,scroll:!1})},[r,d,p,a,n,t]);let h=(0,tk.useMemo)(()=>({query:n,page:a,filters:d,pendingFilters:u,hasHydratedFromUrl:p,display:r,setQuery:e=>{i(e),o(1)},setPage:e=>{o(e>0?e:1)},setDisplay:e=>{s(e>0?e:ce),o(1)},setFilter:(e,l)=>{m(t=>({...t,[e]:cL(l)}))},applyFilters:()=>{c(cC(u)),o(1)},clearFilters:()=>{let e=cg();m(e),c(e),o(1)},hasPendingFilterChanges:!cS(d,u)}),[r,d,p,a,u,n]);return(0,tw.jsx)(cy.Provider,{value:h,children:l})},cM=()=>{let e=(0,tk.useContext)(cy);if(!e)throw Error("useClinicalTrialsContext must be used inside ClinicalTrialsSearchProvider");return e},cD=(e,l)=>!e||e.length<=l?null!=e?e:"":"".concat(e.slice(0,l).trimEnd(),"…"),cT=(e,l)=>{let t="function"==typeof e?e(l):e;return t?Array.isArray(t)?t:[t]:[]};var cI=e=>{let{items:l,name:t,label:n,selectedValues:i,onSelectedValuesChange:a,className:o,disabled:r}=e,s=(0,tk.useMemo)(()=>l.filter(e=>i.includes("string"==typeof e.value?e.value:String(e.value))),[l,i]);return(0,tw.jsxs)("div",{className:o,children:[(0,tw.jsx)(tE.j8,{className:"optional-none",clear:!0,kind:"multiple",labelHidden:!0,items:l,label:n,name:t,setSelected:e=>{a(cT(e,s).map(e=>"string"==typeof e.value?e.value:String(e.value)))},value:s,disabled:r,filter:!0}),s.length>0?(0,tw.jsx)("div",{className:"mt-2 d-flex flex-wrap gap-2",children:s.map(e=>{var l;return(0,tw.jsx)(tE.on,{className:"d-inline-flex",color:"blue",kind:"removable",tab:!0,onNeuChange:()=>{a(i.filter(l=>l!==String(e.value)))},children:e.label?cD(String(e.label),20):null!==(l=e.label)&&void 0!==l?l:""},String(e.value))})}):null]})};let cE=[{label:"Recruiting",value:"Recruiting"},{label:"Not yet recruiting",value:"Not yet recruiting"},{label:"On Hold",value:"Paused"}],cA=e=>"recruitingStatus"===e?cE:[],c_=e=>{let{filterField:l}=e,{pendingFilters:t,setFilter:n}=cM(),{data:i=[],isLoading:a}=cx(l.key),o=cA(l.key),r=o.length>0?o:i;return(0,tw.jsx)(cI,{items:r,name:l.key,label:l.label,selectedValues:t[l.key],onSelectedValuesChange:e=>{n(l.key,e)},disabled:a})};var cF=()=>{let{t:e}=(0,tB.QT)(),{applyFilters:l,clearFilters:t,hasPendingFilterChanges:n,pendingFilters:i}=cM(),a=[{key:"specialty",label:e("Search.Content.Specialty")},{key:"recruitingStatus",label:e("ClinicalTrials.Filters.RecruitingStatus")},{key:"location",label:e("Common.Location")},{key:"studyDoctor",label:e("ClinicalTrials.Study.Doctor")}],o=a.some(e=>i[e.key].length>0);return(0,tw.jsxs)("div",{className:"d-flex flex-column gap-3 neu-bg-gray-0 p-4 mt-1",children:[(0,tw.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[(0,tw.jsx)("p",{className:"neu-display-5 fw-medium mb-0",children:"Filters"}),o?(0,tw.jsx)(tE.Yu,{kind:"tertiary-plain",size:"small",onNeuClick:t,children:e("PageContent.DOTLocations.ClearAll")}):null]}
53),(0,tw.jsx)("p",{className:"mb-0",children:e("ClinicalTrials.Filters.Text")}),a.map(e=>(0,tw.jsx)(c_,{filterField:e},e.key)),(0,tw.jsx)("div",{className:"d-flex justify-content-end mt-3",children:(0,tw.jsxs)(tE.Yu,{disabled:!n,onNeuClick:l,children:[e("Search.Filter.Apply")," ",e("Locations.Search.Form.Filter.Filters")]})})]})},cP=()=>(0,tw.jsx)("div",{children:(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",className:"mt-1 py-1 px-2 d-block",children:[(0,tw.jsxs)(tE.IS.Header,{children:[(0,tw.jsx)("div",{className:"mb-2",children:(0,tw.jsx)(sU.Z,{width:90,height:24})}),(0,tw.jsxs)("div",{className:"mb-2 w-100",children:[(0,tw.jsx)(sU.Z,{height:24,width:"85%"}),(0,tw.jsx)(sU.Z,{height:24,width:"65%"})]})]}),(0,tw.jsxs)(tE.IS.Content,{children:[(0,tw.jsxs)("div",{className:"d-flex flex-row pb-2",children:[(0,tw.jsx)("div",{className:"flex-shrink-0 pt-1",children:(0,tw.jsx)(sU.Z,{circle:!0,width:20,height:20,className:"me-2"})}),(0,tw.jsxs)("div",{className:"w-100",children:[(0,tw.jsx)(sU.Z,{width:140,height:18}),(0,tw.jsx)(sU.Z,{width:"75%",height:18})]})]}),(0,tw.jsxs)("div",{className:"d-flex flex-row pb-2",children:[(0,tw.jsx)("div",{className:"flex-shrink-0 pt-1",children:(0,tw.jsx)(sU.Z,{circle:!0,width:20,height:20,className:"me-2"})}),(0,tw.jsxs)("div",{className:"w-100",children:[(0,tw.jsx)(sU.Z,{width:90,height:18}),(0,tw.jsx)(sU.Z,{width:"80%",height:18}),(0,tw.jsx)(sU.Z,{width:"70%",height:18})]})]})]}),(0,tw.jsx)(tE.IS.Footer,{children:(0,tw.jsx)("div",{className:"d-lg-flex w-100 justify-content-end",children:(0,tw.jsx)(sU.Z,{width:150,height:36})})})]})}),cO=t(9097),cz=t.n(cO),cR=e=>{let{title:l,href:t,status:n,condition:i,acronym:a,sponsor:o,locations:r=[],nctNumber:s}=e,{t:d}=(0,tB.QT)(),c=(0,ix.useRouter)(),[u,m]=(0,tk.useState)(!1),v=null==i?void 0:i.split(";").join(", "),p=v?cD(v,200):"",f=!!(v&&p!==v),h=c.asPath.split("?")[0].replace(/\/$/,""),x=t.startsWith("/")?t:"".concat(h,"/").concat(t),g=c.asPath.includes("?")?"".concat(x,"?returnUrl=").concat(encodeURIComponent(c.asPath)):x,y=u?"".concat(d("Common.Show")," ").concat(d("Common.Less").toLowerCase()):"".concat(d("Common.Show")," ").concat(d("Common.More"));return(0,tw.jsx)("div",{children:(0,tw.jsxs)(tE.IS,{color:"plain",kind:"outline",className:"mt-1 py-1 px-2 d-block",children:[(0,tw.jsxs)(tE.IS.Header,{children:[(0,tw.jsxs)("div",{className:"d-flex flex-row gap-1 align-items-center mb-2",children:[(0,tw.jsx)(cl,{status:n}),(0,tw.jsx)("p",{className:"neu-text-support mb-0",children:s})]}),a&&o&&g&&(0,tw.jsx)(cz(),{href:g,className:"neu-display-4 fw-bold mb-2",children:"".concat(a," - ").concat(o)}),l&&(0,tw.jsx)(tD,{field:{value:l},className:"neu-display-6 fw-bold mb-2 truncate-two-lines"})]}),(0,tw.jsxs)(tE.IS.Content,{children:[i&&(0,tw.jsxs)("div",{className:"d-flex flex-row pb-2",children:[(0,tw.jsx)("div",{className:"flex-shrink-0",children:(0,tw.jsx)(tE.JK,{name:"ecg_heart",fill:!0,weight:300,className:"me-2"})}),(0,tw.jsxs)("div",{children:[(0,tw.jsx)("div",{children:d("ClinicalTrials.ForPatientsWith")}),(0,tw.jsx)(tD,{field:{value:u?v:p}}),f&&(0,tw.jsx)("div",{children:(0,tw.jsxs)(tU,{type:"button",className:"",onClick:()=>m(e=>!e),children:[y,u?(0,tw.jsx)(tE.JK,{name:"keyboard_arrow_up"}):(0,tw.jsx)(tE.JK,{name:"keyboard_arrow_down"})]})})]})]}),r.length>0&&(0,tw.jsxs)("div",{className:"d-flex flex-row pb-2 align-items-baseline",children:[(0,tw.jsx)("div",{className:"flex-shrink-0 pt-1",children:(0,tw.jsx)(tE.JK,{name:"location_on",fill:!0,weight:300,className:"me-2"})}),(0,tw.jsxs)("div",{children:[(0,tw.jsx)("div",{children:"".concat(d("Common.Locations"),":")}),(0,tw.jsx)("ul",{className:"list-none mb-0 ps-0",children:r.map(e=>(0,tw.jsx)("li",{className:"mb-0",children:(0,tw.jsx)(tD,{field:{value:e}})},e))})]})]})]}),(0,tw.jsx)(tE.IS.Footer,{children:(0,tw.jsx)("div",{className:"d-lg-flex w-100 justify-content-end",children:(0,tw.jsx)(tA,{iconPosition:"end",icon:"arrow_forward",field:{value:{href:g,text:d("ClinicalTrials.ViewTrialDetails")}},color:"main"})})})]})})};let cB=()=>{var e,l;let{t}=(0,tB.QT)(),{page:n,setPage:i,query:a,setQuery:o,filters:r,hasHydratedFromUrl:s,display:d,setDisplay:c}=cM(),[u,m]=tk.useState(a),v=tk.useRef(null),[p,f]=tk.useState(null),h=tk.useRef(null),x=tk.useCallback(()=>{var e;null===(e=h.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},[]);tk.useEffect(()=>{s&&a&&(m(a),f({value:a}))},[s,a]),tk.useEffect(()=>{s&&(v.current&&!u&&o(""),v.current=u)},[s,u,o]);let{data:g=[],isLoading:y}=cp(u),{data:j,isLoading:N,isValidating:b,error:w}=cm(s?{query:a,page:String(n),display:String(d),filters:r}:void 0),L=Array.from({length:d},(e,l)=>(0,tw.jsx)(cP,{},"clinical-trial-skeleton-".concat(l))),C=N||b?L:null!==(e=null==j?void 0:j.results.map(e=>(0,tw.jsx)(cR,{...e},e.id)))&&void 0!==e?e:[],S=null!==(l=null==j?void 0:j.totalResults)&&void 0!==l?l:0;return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"neu-bg-plain-0 py-4",children:(0,tw.jsx)("div",{className:"container",children:(0,tw.jsxs)("form",{className:"d-flex align-items-center w-400 max-w-100",onSubmit:e=>{e.preventDefault(),o(u)},children:[(0,tw.jsx)(iE,{items:g,name:"trials-search",wrapperClassName:"flex-fill",labelHidden:!0,label:t("ClinicalTr
53ials.SearchCondition"),placeholder:t("ClinicalTrials.SearchCondition"),onTypeaheadKeyPress:m,onSelected:async e=>{var l,t;s&&(o(null!==(t=null!==(l=null==e?void 0:e.preferredValue)&&void 0!==l?l:null==e?void 0:e.value)&&void 0!==t?t:""),f(null!=e?e:null))},selectItem:p,itemsLoading:y,debounce:400,id:"clinical-trials-search-typeahead"}),(0,tw.jsx)(tE.Yu,{className:"ms-2 flex-shrink-0",kind:"primary",type:"submit",id:"clinical-trials-search-button",children:t("Common.Search")})]})})}),(0,tw.jsx)(tS,{className:"mt-0 mb-0"}),(0,tw.jsx)("div",{ref:h}),(0,tw.jsx)(sG,{leftContentClassName:"col-lg-4 px-0 pe-lg-2",rightContentClassName:"col-lg-8 ps-0 ps-lg-3",hasSelectPagination:!0,className:"mt-0 pt-4",noResultsTitle:a?t("Search.NotFoundHeadline",{query:a}):t("Search.NoResults.NoSearchMatching"),leftContent:(0,tw.jsx)(cF,{}),listItems:C,totalResults:S,hasResults:S>0,failureToFetchError:w,query:a,onPageChange:e=>{var l;let t=Number.parseInt(String(null!==(l=e.value)&&void 0!==l?l:1),10);i(Number.isFinite(t)?t:1),x()},isValidating:b||N,currentPage:n,display:d,onDisplayChange:e=>{let l=Number.parseInt(String(null!=e?e:d),10);c(Number.isFinite(l)?l:d)}})]})};var cU=()=>(0,tw.jsx)(ck,{children:(0,tw.jsx)(cB,{})});!function(e){e.QA="QA",e.Staging="STAGE",e.Production="PRODUCTION"}(eG||(eG={}));var cH=e=>{var l;let{isLoading:t,setCMPEntityFormState:n,error:i}=e,{control:a,handleSubmit:o,formState:{errors:r}}=(0,iN.Gc)(),s=e=>{n(e)};return(0,tw.jsxs)("form",{onSubmit:o(s),children:[(0,tw.jsxs)("div",{className:"my-3",children:[(0,tw.jsx)(iN.Qr,{control:a,name:"entityId",rules:{required:"Please include the CMP ID of the content item you wish to preview"},render:e=>{let{field:l}=e;return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("label",{htmlFor:"entityId",children:"CMP Identifier:"}),(0,tw.jsx)(tE.JX,{className:"optional-none ".concat(r.entityId?" neu-input--error":""),id:"entityId",...l})]})}}),r&&r.entityId&&(0,tw.jsx)("span",{className:"neu-text-red-60",children:null===(l=r.entityId)||void 0===l?void 0:l.message})]}),(0,tw.jsxs)("div",{children:[(0,tw.jsx)(iN.Qr,{control:a,name:"environment",rules:{required:"Please select an environment"},render:e=>{var l;let{field:t}=e,n=Object.entries(eG).map(e=>{let[l,t]=e;return{label:l,value:t.toString()}}),i=n.find(e=>e.value===t.value);return(0,tw.jsx)(tE.j8,{label:"Choose the environment of the content:",ariaLabel:"Choose environment",error:null===(l=r.environment)||void 0===l?void 0:l.message,items:n,value:i,onNeuChange:e=>t.onChange(null==e?void 0:e.value),className:"optional-none"})}}),r&&r.environment&&(0,tw.jsx)("span",{className:"neu-text-red-60",children:r.environment.message}),i&&(0,tw.jsx)("span",{className:"neu-text-red-60",children:i.message})]}),(0,tw.jsx)(tE.Yu,{disabled:t,kind:"primary",className:"my-3",type:"submit",children:"View Detail"})]})};let cZ="0001-01-01T00:00:00",cQ=e=>e&&""!==e?{value:e}:void 0,cY=e=>{if(e&&e!==cZ)return e};var c$=()=>{var e,l,t,n,i,a,o,r;let[s,d]=tk.useState(),[c,u]=tk.useState(),{sitecoreContext:m}=(0,tL.u)(),v=(0,iN.cI)(),p=async e=>{let l=await fetch(e);if(l.ok){var t,n;let e=await l.json();if(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.success)return e.data.result}throw Error("Failed to fetch CMP entity. Check the ID and environment and try again.")},{data:f,error:h,isLoading:x}=(0,ag.ZP)(s?"/api/cmp/fetch?".concat(new URLSearchParams({entityId:null!==(o=null==s?void 0:s.entityId)&&void 0!==o?o:"",environment:null!==(r=null==s?void 0:s.environment)&&void 0!==r?r:""}).toString()):null,p,{revalidateOnFocus:!1});tk.useEffect(()=>{f&&f.success&&u(f.cmpEntity)},[f,u]);let g=cY(null==c?void 0:c.publishedOn)||cY(null==c?void 0:c.futurePublishDate),y=e=>{d(e)};return(0,tw.jsxs)("div",{className:"container my-4",children:[(0,tw.jsxs)("div",{className:"mb-5",children:[(0,tw.jsx)(tD,{tag:"h1",field:cQ(null==m?void 0:null===(t=m.route)||void 0===t?void 0:null===(l=t.fields)||void 0===l?void 0:null===(e=l.pageTitle)||void 0===e?void 0:e.value)}),(0,tw.jsx)(tR.H,{field:cQ(null==m?void 0:null===(a=m.route)||void 0===a?void 0:null===(i=a.fields)||void 0===i?void 0:null===(n=i.pageBody)||void 0===n?void 0:n.value),
53className:"my-3"})]}),(0,tw.jsx)("div",{className:"col-12 col-md-6",children:(0,tw.jsx)(iN.RV,{...v,children:(0,tw.jsx)(cH,{isLoading:x,error:h instanceof Error?h:null,setCMPEntityFormState:y})})}),c&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)(tE.IS,{color:"blue",interactive:!1,kind:"elevated",className:"p-3",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)("div",{role:"heading","aria-level":4,className:"neu-display-4 font-bold",children:(0,tw.jsx)("h2",{className:"mb-2",children:"Found CMP Entity"})})}),(0,tw.jsxs)(tE.IS.Content,{children:[(0,tw.jsxs)("p",{className:"mb-2",children:[(0,tw.jsx)("strong",{children:"Title:"})," ",null==c?void 0:c.pageTitle]}),(0,tw.jsxs)("p",{className:"mb-2",children:[(0,tw.jsx)("strong",{children:"Author:"})," ",null==c?void 0:c.authorName]}),(0,tw.jsxs)("p",{className:"mb-0",children:[(0,tw.jsx)("strong",{children:"Description:"})," ",null==c?void 0:c.shortDescription]})]})]}),(0,tw.jsxs)("div",{className:"my-4",children:[(0,tw.jsx)("h4",{className:"mb-3",children:"Content Preview:"}),(0,tw.jsx)("section",{children:(0,tw.jsx)("div",{className:"col-12 px-5 py-4",children:(0,tw.jsx)(dl,{fields:{author:cQ(c.authorName),pageShortDescription:cQ(c.shortDescription),pageImage:c.pageImage,imageCaption:cQ(c.imageCaption),pageBody:cQ(c.body),htmlSnippet:cQ(c.htmlSnippet),publishedOn:cQ(g?new Date(g).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"Not Scheduled for Publishing")}})})})]})]})]})};!function(){try{if("u">typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(`._playIcon_3xgwd_1{background:transparent;border:0 none;cursor:pointer;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}._playIcon_3xgwd_1 span{border-radius:50%;color:var(--neu-plain-0);font-size:78px;transition-duration:.2s;transition-property:transform;font-variation-settings:normal}._playIcon_3xgwd_1:hover i,._playIcon_3xgwd_1:focus i{transform:scale(1.3)}._opacity_3xgwd_23{opacity:.77}
54._extendedDropdown_17k1l_1 .unit-dropdown .dropdown-menu{max-height:clamp(150px,80vh,500px)!important}
55@media (min-width: 992px){._overlay_1tz1r_2{margin-top:-6rem}}@media (min-width: 992px){._corpOverlay_1tz1r_8{margin-top:-8rem}}._hideEmpty_1tz1r_13:has(>div:empty){display:none}
56._richText_1ghed_1 a:not(._neu-button_1ghed_1){color:var(--neu-plain-0);font-size:14px;text-decoration:none}._richText_1ghed_1 a:not(._neu-button_1ghed_1):hover,._richText_1ghed_1 a:not(._neu-button_1ghed_1):focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._richText_1ghed_1 strong{font-weight:600}._richText_1ghed_1 hr{border:none;background-color:var(--neu-plain-0);height:1px;width:100%;margin:20px 0}a._corpLinks_1ghed_24{color:var(--neu-plain-0);text-decoration:none}a._corpLinks_1ghed_24:hover,a._corpLinks_1ghed_24:focus{background:none;text-decoration:underline;color:var(--neu-plain-0);border:none}._containerFlex_1ghed_37{padding:35px}@media (min-width: 992px){._containerFlex_1ghed_37{padding:35px 72px}}
57@media (min-width: 576px){._standaloneSearch_10kr5_2{min-width:20rem}}._standaloneSearch_10kr5_2 .unit-dropdown{width:100%}._standaloneSearch_10kr5_2 .neu-form--support:empty{display:none}._standaloneSearch_10kr5_2 .unit-wrapper:before{all:unset}._standaloneSearch_10kr5_2 .neu-form__native{padding:var(--form-padding);padding-right:calc(40px + var(--neu-spacer-3));min-width:18rem}._standaloneSearch_10kr5_2 .neu-form__native::-webkit-search-cancel-button{margin-top:.1rem}@media (min-width: 992px){._corporateStandalone_10kr5_25{min-width:19rem}._corporateStandalone_10kr5_25 label{color:var(--neu-plain-0)}}._standaloneSearch_10kr5_2+.input-spinner{--feedback-padding-right: calc(40px + var(--neu-spacer-3));--feedback-padding-bottom: var(--neu-spacer-3)}._standaloneButton_10kr5_37.with-label{top:calc(1.375rem + var(--neu-spacer-2))}`)),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();let cq="rel=0&enablejsapi=1",cW={playIcon:"_playIcon_3xgwd_1",opacity:"_opacity_3xgwd_23"},cV=({video:e,preview:l,title:t,imageClasses:n,onPlay:i})=>{let[a,o]=(0,tk.useState)(!!l),r=(0,tk.useRef)(null),{t:s}=(0,tB.QT)(),d=e&&(e.includes("youtube")||e.includes("youtu.be"));(0,tk.useEffect)(()=>{o(!!l)},[e,l]);let c=(0,tk.useCallback)(()=>{var e;let l=r.current;if(!l)return;d&&(null==(e=l.contentWindow)||e.postMessage('{"event": "listening"}',"https://www.youtube.com"));let t=e=>{var l,n,a,o;if(!("https://mediaconnect.app.medcity.net"!==e.origin&&"https://www.youtube.com"!==e.origin)){if(d&&"string"==typeof e.data)try{let n=JSON.parse(e.data);(null==(l=null==n?void 0:n.info)?void 0:l.playerState)===1&&(null==i||i(),window.removeEventListener("message",t))}catch{return}(null==(n=e.data)?void 0:n.event)==="playerStatusChanged"&&(null==(o=null==(a=e.data)?void 0:a.msg)?void 0:o.status)==="Playing"&&(null==i||i(),window.removeEventListener("message",t))}};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)},[d,i]);if(!e)return null;let u=d?`${e}${e.includes("?")?"&":"?"}${cq}`:e;return u=l?`${u}${u.includes("?")?"&":"?"}autoplay=1`:u,(0,tw.jsx)(tw.Fragment,{children:a?(0,tw.jsxs)("div",{className:"position-relative",children:[(0,tw.jsx)("div",{className:(0,tC.c)("h-100 neu-bg-main-70 position-absolute right-0 top-0 w-100",l&&cW.opacity),children:(0,tw.jsx)("button",{className:cW.playIcon,"aria-label":s("Accessibility.Video.Play"),onClick:()=>{o(!1),i&&i()},children:(0,tw.jsx)(tE.JK,{color:"main",name:"play_circle",size:"3x"})})}),l?(0,tw.jsx)(ok.o,{field:l,className:(0,tC.c)("w-100 h-100 object-fit-cover",n),ariaLabel:"Video preview"}):(0,tw.jsx)("div",{className:(0,tC.c)("ratio-16x9",n),"aria-label":"Video preview"})]}):(0,tw.jsx)("div",{className:"position-relative ratio-16x9",children:(0,tw.jsx)("iframe",{ref:r,width:"100%",height:"100%",src:u,className:"position-absolute left-0 top-0",title:t,allowFullScreen:!0,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",onLoad:c})})})};var cG=t(6260),cJ=t.n(cG);let cK=e=>{var l,t;let{fields:n,dataTestId:i,params:a,rendering:o,rightContentClasses:r,className:s,isGme:d}=e,{startingHeadingTag:c,getRelativeHeadingTag:u}=sD(a),m=(null==a?void 0:a.rightOrientation)==="1"?"right":"left",{sitecoreContext:{siteAttributes:{isCorporate:v}}}
57=(0,tL.u)(),{isDarkBackground:p,contentAccessibilityClassNames:f,checkIsDarkBackground:h}=sl(),x=(null==a?void 0:a.backgroundStyle)?h(a.backgroundStyle):p,g=(0,sT.Z)({[cJ().imageBlock]:v&&"left"===m,[cJ().imageBlockRight]:v&&"right"===m}),y=(0,sT.Z)({[cJ().textBlockLeft]:v&&"right"===m,[cJ().textBlock]:v&&"right"!==m,"neu-bg-main-0 mt-0 mx-auto py-lg-5 px-4 d-flex align-items-center justify-content-center":v}),j=(0,tT.u)(),N=(0,sT.Z)({"ee-image-contain":j});return(0,tw.jsx)(sa,{title:null==n?void 0:n.blockHeadline,description:null==n?void 0:n.blockDescription,dataTestId:i||(null==o?void 0:o.componentName),className:(0,sT.Z)(s,x&&f),headingLevel:c,titleClassName:"neu-display-2 fw-medium",variant:null==a?void 0:a.backgroundStyle,children:(0,tw.jsx)(sI,{leftColumnClassName:"col-sm-12 col-lg-6 px-0",rightColumnClassName:"col-sm-12 col-lg-6 px-0",left:(null==n?void 0:null===(l=n.media)||void 0===l?void 0:l.value)?(0,tw.jsx)("div",{className:g,children:(0,tw.jsx)(cV,{video:null==n?void 0:null===(t=n.media)||void 0===t?void 0:t.value,preview:null==n?void 0:n.image})}):(0,tw.jsx)("div",{className:N,children:(0,tw.jsx)(ok.o,{field:null==n?void 0:n.image,className:(0,sT.Z)("position-relative",g),fill:!0})}),right:(0,tw.jsx)("div",{className:(0,sT.Z)("py-4 py-lg-0 h-100","right"===m?"pe-lg-5 pe-xl-6":"ps-lg-5 ps-xl-6",r,y),children:(0,tw.jsxs)("div",{className:"w-100",children:[(0,tw.jsx)(tD,{className:"mb-4 neu-display-3 fw-medium",tag:u(),field:null==n?void 0:n.headline}),(0,tw.jsx)(tR.H,{className:"mb-5",field:null==n?void 0:n.description}),(0,tw.jsxs)("div",{className:"d-flex flex-column flex-md-row flex-wrap gap-2",children:[(null==n?void 0:n.primaryLink)&&(0,tw.jsx)(tA,{field:null==n?void 0:n.primaryLink,kind:v?"secondary":x?"tertiary-plain":"primary",className:(null==n?void 0:n.secondaryLink)?"col py-1":""}),(null==n?void 0:n.secondaryLink)&&(0,tw.jsx)(tA,{kind:v||d?"secondary":x?"tertiary-plain":"primary",className:"col py-1",field:null==n?void 0:n.secondaryLink})]})]})}),direction:m})})};var cX=(0,sf.C)()(cK),c0=e=>{let l=e.text1&&e.text2,t=(0,sT.Z)({"col-4":"desktop"===e.type,"col-8":"desktop"===e.type&&!l});return l?(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:t,children:(0,tw.jsx)(tR.H,{field:e.text1})}),(0,tw.jsx)("div",{className:t,children:(0,tw.jsx)(tR.H,{field:e.text2})})]}):(0,tw.jsx)("div",{className:t,children:(0,tw.jsx)(tR.H,{field:e.text})})},c1=sA(e=>{let{highlightBlocks:l,params:t}=e,{getRelativeHeadingTag:n}=sD(t);return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"d-none d-lg-block pt-4",children:null==l?void 0:l.map((e,t)=>(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsxs)("div",{className:"row py-4",children:[(0,tw.jsx)("div",{className:"col-4",children:(0,tw.jsx)(tD,{field:e.fields.title,tag:n(),className:"neu-display-4 fw-medium"})}),(0,tw.jsx)(c0,{text:e.fields.text,text1:e.fields.text1,text2:e.fields.text2,type:"desktop"})]}),t<l.length-1&&(0,tw.jsx)(tS,{})]},e.id))}),(0,tw.jsx)("div",{className:"d-lg-none pt-4",children:(0,tw.jsx)(tE.RB,{children:null==l?void 0:l.map(e=>{var l,t;return(0,tw.jsxs)(tE.RB.Item,{active:!!(null===(t=e.fields)||void 0===t?void 0:null===(l=t.isExpanded)||void 0===l?void 0:l.value),children:[(0,tw.jsx)(tE.RB.Header,{children:(0,tw.jsx)(tD,{field:e.fields.title})}),(0,tw.jsx)(tE.RB.Content,{children:(0,tw.jsx)(c0,{text:e.fields.text,text1:e.fields.text1,text2:e.fields.text2,type:"mobile"})})]},e.id)})})})]})},{title:"Add a Content Item to Content Highlight Listing Block",tooltip:"Add a one column content item",className:"d-flex justify-content-center",templateId:"{6A376648-E661-4693-A22F-7FDC6D7641DA}",fieldId:"{963FEACA-B488-42A5-B8E6-0D949375B5A1}",renderingId:"{E61A45ED-98CD-4697-A4AF-300487601FB3}",countField:"highlightBlocks",extraButton:{tooltip:"Add a two column content item",templateId:"{5C2F0B8B-22A7-47C7-B2C3-8DBDFDB5D4ED}",icon:"/~/icon/businessv2/32x32/table_column_add_after.png"}});let c4=e=>{var l,t,n,i;let{fields:a,rendering:o,params:r}=e,{startingHeadingTag:s}=sD(r),{isDarkBackground:d,contentAccessibilityClassNames:c,isFullWidth:u}=sl();return(0,tw.jsxs)(sa,{headingLevel:s,dataTestId:null==o?void 0:o.componentName,title:null==a?void 0:a.blockHeadline,description:null==a?void 0:a.blockDescription,titleClassName:"neu-display-2 fw-medium",className:(0,sT.Z)(c,u&&"px-2 px-lg-6 py-6"),disableContainer:u,children:[u&&((null==a?void 0:a.blockHeadline)||(null==a?void 0:a.blockDescription))&&(0,tw.jsx)(sn,{title:null==a?void 0:a.blockHeadline,description:null==a?void 0:a.blockDescription,headingLevel:s,titleClassName:"neu-display-2 fw-medium"}),(0,tw.jsx)(c1,{highlightBlocks:null==a?void 0:a.highlightBlocks,rendering:o,params:r}),(0,tw.jsx)("div",{className:"d-flex justify-content-center",children:(null==a?void 0:null===(t=a.primaryLink)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.href)&&(null==a?void 0:null===(i=a.primaryLink)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.text)?(0,tw.jsx)(tA,{field:null==a?void 0:a.primaryLink,kind:d?"tertiary-plain":"secondary",className:"mt-5 mt-lg-4"}):null})]})};var c3=(0,sf.C)()(c4),c5=sA(e=>{let{contentBlocks:l,params:t}=e,n=(0,tT.u)(),{getRelativeHeadingTag:i}=sD(t),a=i(),o=(0,sT.Z)({"ee-image-contain":n});return null==l?void 0:l.map(e=>{var l,t,n,i,r,s,d,c,u,m;let v=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.contentBlockImage,p=null==v?void 0:null===(t=v.value)||void 0===t?void 0:t.src,f=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(n=i.rightOrientedImage)||void 0===n?void 0:n.value,h=null==e?void 0:null===(r=e.fields.showDivider)||void 0===r?void 0:r.value,x=(0,sT.Z)("mb-4",{"flex-row-reverse":f,"mt-4":!h});return(0,tw.jsxs)(tk.Fragment,{children:[h&&(0,tw.jsx)(tS,{}),(0,tw.jsxs)(tE.qd.Row,{className:x,children:[p&&(0,tw.jsx)(tE.qd.Column,{col:12,colLg:3,className:(0,sT.Z)("px-0 pb-5 pb-lg-0",f?"ps-lg-2":"pe-lg-2"),children:(0,tw.jsx)("div",{className:o,children:(0,tw.jsx)(ok.o,{field:v,className:"w-100 h-auto position-relative",fill:!0})})}),(0,tw.jsxs)(tE.qd.Column,{col:12,colLg:p?9:12,className:(0,sT.Z)("px-0",p?f?"pe-lg-2":"ps-lg-2":""),children:[(0,tw.jsx)(tD,{tag:a,className:"neu-display-4 fw-bold mb-2",field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.contentBlockTitle}),(0,tw.jsx)(tR.H,{className:"mb-2",field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.contentBlockDescription,internalLinksSelector:oy.Ss}),(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(c=u.contentBlockLink)||void 0===c?void 0:c.value)&&(0,tw.jsx)(tI.M,{className:"fw-bold text-decoration-underline",field:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:m.contentBlockLink})]})]})]},e.id)})},{title:"Add Content Item to Content Listing Block",tooltip:"Add a content item",templateId:"{DBC3CF9E-BB11-4FC6-9DAD-B12BC6B58880}",fieldId:"{AC4BF655-2A65-4127-AEA5-8DCCA70F24D9}",renderingId:"{8E5D8072-9446-4703-B617-19012CBD3115}",countField:"contentBlocks"});let c2=e=>{let{fields:l,rendering:t,params:n}=e,{startingHeadingTag:i}=sD(n),{contentAccessibilityClassNames:a,isFullWidth:o}=sl();return(0,tw.jsx)(sa,{title:null==l?void 0:l.contentListingBlockHeadline,description:null==l?void 0:l.contentListingBlockDescription,dataTestId:null==t?void 0:t.componentName,className:(0,sT.Z)("py-0",a,o&&"px-2 px-lg-6"),headingLevel:i,titleClassName:"neu-display-2 fw-medium",children:(0,tw.jsx)(c5,{contentBlocks:null==l?void 0:l.contentBlocks,rendering:t,params:n})})};var c6=(0,sf.C)()(c2),c9=sA(e=>{let{blockTeasers:l,params:t}=e,{getRelativeHeadingTag:n}=sD(t);return null==l?void 0:l.map(e=>{var l,t,i,a;
57let{fields:{id:o,teaserDescription:r,teaserImage:s,teaserLink:d,teaserTitle:c}}=e,u=null==s?void 0:null===(l=s.value)||void 0===l?void 0:l.src;return c.value||r.value||(null===(t=s.value)||void 0===t?void 0:t.src)?(0,tw.jsx)("div",{className:"col",children:(0,tw.jsxs)(tE.IS,{className:"border-0 position-relative h-lg-100",children:[u&&(0,tw.jsx)(ok.o,{field:s,className:"rounded-top object-fit-cover h-96 w-100"}),(0,tw.jsxs)("div",{className:"px-3 py-3",children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)(tD,{className:"neu-display-5 fw-bold mb-2",field:c,tag:n()})}),(0,tw.jsx)(tE.IS.Content,{className:"mb-2",children:(0,tw.jsx)(tR.H,{field:r})}),(null==d?void 0:null===(i=d.value)||void 0===i?void 0:i.href)&&(null==d?void 0:null===(a=d.value)||void 0===a?void 0:a.text)&&(0,tw.jsx)(tE.IS.Footer,{className:"fw-bold text-underline",children:(0,tw.jsx)(oG.U,{field:d})})]})]})},o):null})},{title:"Add a Card to the Content Teaser Block",tooltip:"Add a Card",className:"unit-row row gutter-standard kind-expanded gutter-y row-cols-1 row-cols-lg-3",templateId:"{310C9956-6C9A-4BBD-81BE-DF4CAA523FB5}",fieldId:"{A89F929A-7758-48AA-B402-6574091DFEF5}",renderingId:"{B6DB88EB-F9C2-47FC-8A57-38B8BEDF16F0}",countField:"blockTeasers"});let c8=e=>{let{fields:l,rendering:t,params:n}=e,i=(0,tT.u)(),{startingHeadingTag:a}=sD(n),{isFullWidth:o}=sl();return(0,tw.jsxs)("div",{"data-test-id":null==t?void 0:t.componentName,className:(0,sT.Z)(o&&"px-2 px-lg-6 py-6"),children:[(0,tw.jsx)(sn,{headingLevel:a,title:null==l?void 0:l.blockHeadline,description:null==l?void 0:l.blockDescription,titleClassName:"neu-display-2 fw-bold"}),(0,tw.jsx)("div",{className:"pt-4",children:(0,tw.jsx)(iC,{condition:!i,wrapper:e=>(0,tw.jsx)("div",{className:"row row-cols-1 row-cols-lg-3 gap-4 gap-lg-0",children:e}),wrappedJSX:(0,tw.jsx)(c9,{blockTeasers:null==l?void 0:l.blockTeasers,rendering:t,params:n})})})]})};var c7=(0,sf.C)()(c8);let ue=e=>{var l,t;let{title:n,description:i,dataTestId:a,rendering:o,buttonItems:r,placeholderName:s,contentPrimaryLink:d,params:c}=e,{isDarkBackground:u,contentAccessibilityClassNames:m}=sl(),{startingHeadingTag:v}=sD(c);return(0,tw.jsxs)(sa,{title:n,description:i,dataTestId:a,headingLevel:v,titleClassName:"neu-display-2 fw-medium",className:m,children:[r,(null==d?void 0:null===(l=d.value)||void 0===l?void 0:l.href)&&(null==d?void 0:null===(t=d.value)||void 0===t?void 0:t.text)&&(0,tw.jsx)("div",{className:"d-flex justify-content-center mt-3",children:(0,tw.jsx)(tA,{field:d,kind:u?"tertiary-plain":"primary"})}),s&&o?(0,tw.jsx)(ss.V,{name:s,rendering:o}):null]})};var ul=ue;let ut={title:"Add a Link Item to Content With Link List Block",tooltip:"Add a link item",templateId:"{A2073BA9-20B9-494C-895D-B119E8424172}",fieldId:"{5C905BA4-C0C1-4BE1-8EE4-E45C6D8B4220}",renderingId:"{0EF4CC41-C13D-4735-BC3D-29732741DD22}",countField:"contentLinks"};var un=sA(e=>{let{contentLinks:l}=e,{isDarkBackground:t}=sl();return(0,tw.jsx)("div",{className:"d-flex align-self-center justify-content-center flex-wrap",children:null==l?void 0:l.map(e=>{var l,n;return(null===(n=e.fields.link)||void 0===n?void 0:null===(l=n.value)||void 0===l?void 0:l.href)?(0,tw.jsx)(tA,{field:e.fields.link,kind:t?"tertiary-plain":"secondary",className:"m-1",size:"small"},e.fields.id):null})})},ut);let ui=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(ul,{title:null==l?void 0:l.contentTitle,description:null==l?void 0:l.contentDescription,dataTestId:null==t?void 0:t.componentName,buttonItems:(0,tw.jsx)(un,{contentLinks:null==l?void 0:l.contentLinks,rendering:t}),contentPrimaryLink:null==l?void 0:l.contentPrimaryLink,rendering:t,params:n})};var ua=(0,sf.C)()(ui),uo=sA(e=>{let{contentLinks:l}=e,{isDarkBackground:t}=sl();return(0,tw.jsx)("div",{className:"d-flex flex-column justify-content-center gap-3",children:null==l?void 0:l.map(e=>{var l,n,i,a;let o=Array.isArray(e.fields.icon)?e.fields.icon[0]:e.fields.icon,r=!!(null==o?void 0:null===(n=o.fields)||void 0===n?void 0:null===(l=n.iconName)||void 0===l?void 0:l.value);return(null===(a=e.fields.link)||void 0===a?void 0:null===(i=a.value)||void 0===i?void 0:i.href)?(0,tw.jsxs)("div",{children:[r&&(0,tw.jsx)(d0,{fields:o.fields,materialIconProps:{fill:!1,weight:400,className:(0,sT.Z)("me-1",!t&&"neu-text-blue-60")}}),(0,tw.jsx)(oG.U,{field:e.fields.link})]},e.fields.id):null})})},ut);let ur=e=>{let{fields:l,rendering:t,params:n}=e,{startingHeadingTag:i}
57=sD(n),{isDarkBackground:a,contentAccessibilityClassNames:o}=sl();return(0,tw.jsx)(tE.qd,{"data-test-id":null==t?void 0:t.componentName,className:o,children:(0,tw.jsxs)(tE.qd.Row,{className:"divide-x-4",children:[(0,tw.jsxs)(tE.qd.Column,{className:"col-12 col-lg-7",children:[(0,tw.jsx)(tD,{tag:i,field:null==l?void 0:l.contentTitle,className:"neu-display-2 fw-bold mx-0 mt-0 mb-3"}),(0,tw.jsx)(tD,{tag:"p",field:null==l?void 0:l.contentDescription,className:"mb-5 leading-6"}),(null==l?void 0:l.contentPrimaryLink)&&(0,tw.jsx)("span",{children:(0,tw.jsx)(tA,{field:null==l?void 0:l.contentPrimaryLink,kind:a?"tertiary-plain":"primary",className:"w-100 w-md-50"})})]}),(0,tw.jsxs)(tE.qd.Column,{className:"col-12 col-lg-5 d-lg-flex",children:[(0,tw.jsx)(tS,{type:"vertical",className:"d-none d-lg-block"}),(0,tw.jsx)(tS,{type:"horizontal",className:"d-sm-block d-lg-none my-3"}),(0,tw.jsx)(uo,{contentLinks:null==l?void 0:l.contentLinks,rendering:t})]})]})})};var us=(0,sf.C)()(ur),ud=sA(e=>{let{barLinks:l}=e,t=(0,tT.u)(),n=null==l?void 0:l.filter(e=>e.fields.link||t),i="d-flex flex-column col align-items-center gap-4 p-3 text-primary text-center";return(0,tw.jsx)("div",{className:"d-flex flex-row flex-wrap w-100",children:null==n?void 0:n.map((e,l)=>{var a,o,r,s,d,c,u,m,v,p,f,h,x,g,y;let j=l===n.length-1;return(0,tw.jsxs)(tk.Fragment,{children:[t?(0,tw.jsxs)("div",{className:i,children:[(0,tw.jsx)(tE.at,{name:null===(s=e.fields.icon)||void 0===s?void 0:null===(r=s[0])||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(a=o.iconName)||void 0===a?void 0:a.value,css:!1,secondary:"support"}),(0,tw.jsx)(tI.M,{field:null===(d=e.fields)||void 0===d?void 0:d.link}),(0,tw.jsx)(tR.H,{field:null===(c=e.fields)||void 0===c?void 0:c.title})]}):(0,tw.jsxs)("div",{className:i,children:[(null===(v=e.fields)||void 0===v?void 0:null===(m=v.icon)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:u.fields)&&(0,tw.jsx)(d0,{assetProps:{size:"2x"},fields:null===(f=e.fields.icon)||void 0===f?void 0:null===(p=f[0])||void 0===p?void 0:p.fields,materialIconProps:{size:"5x",className:"neu-text-support-60"},customIconProps:{className:"neu-text-support-60 size-3x h-100 pt-1"}}),(0,tw.jsx)(tI.M,{field:null===(h=e.fields)||void 0===h?void 0:h.link,children:(0,tw.jsx)(tR.H,{field:null===(x=e.fields)||void 0===x?void 0:x.title},null===(g=e.fields)||void 0===g?void 0:g.id)})]}),!j&&(0,tw.jsx)(tS,{type:"vertical",className:"h-auto d-none d-lg-flex"}),!j&&(l+1)%2==0&&(0,tw.jsx)(tS,{type:"horizontal",className:"d-lg-none"})]},"cta-".concat(null===(y=e.fields.link)||void 0===y?void 0:y.value.href,"-").concat(l))})})},{title:"Add CTA to the CTA Bar",tooltip:"Add a CTA",templateId:"{82DC0EE8-52CE-41F1-8B88-6009D6A99B3B}",fieldId:"{73F6C7F1-3412-4AC2-B3B1-F93272E2E64E}",renderingId:"{DEE1C895-FC13-4EAA-9680-760DAB267114}",countField:"barLinks"});let uc=e=>{var l;let{fields:t,rendering:n,params:i}=e,a=(0,tT.u)();if(!t&&!a)return null;let{startingHeadingTag:o}=sD(i);return(0,tw.jsxs)("div",{"data-test-id":null==n?void 0:n.componentName,className:"neu-elevation-1 p-4 neu-bg-plain-0",children:[(null==t?void 0:null===(l=t.headline)||void 0===l?void 0:l.value)&&(0,tw.jsx)(tR.H,{field:null==t?void 0:t.headline,tag:o,className:"mb-6 neu-display-2 text-center"}),(0,tw.jsx)(ud,{barLinks:null==t?void 0:t.barLinks,rendering:n})]})};var uu=(0,sf.C)()(uc);let um="api/clinics/dot",uv="https://api.internal.medcity.net/urgent-care-integration/clinic-api/1.0",up=e=>{let{date:l,orgId:t}=e,n=l&&t?"".concat(uv,"/").concat(um,"/").concat(l,"/").concat(t):null;return{...(0,ag.ZP)(n)}};var uf=function(e){let l=l=>(0,tT.u)()?(0,tw.jsx)("div",{className:"container my-4",children:(0,tw.jsx)(tE.qw,{kind:"warning",label:"Not visible in Experience Editor",children:(0,tw.jsx)("p",{children:"The rendering ".concat(null==e?void 0:e.displayName," is not visible in Experience Editor,\n        but it will be visible on the website.")})})}):(0,tw.jsx)(e,{...l});return l.displayName="WithExperienceEditorHidden".concat(e.displayName||e.name||"Component"),l},uh=e=>e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w+-]+/g,"").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");let ux=/^(\d{3})(\d{3})(\d{4})$/,ug=e=>{let l=e.trim().replace(/\D/g,"").match(ux);return l?`(${l[1]}) ${l[2]}-${l[3]}`:null},uy=e=>{let[l,t]=e.split(/(AM|PM)/),[n,i]=l.split(":").map(Number),a=n%12*60+i;
57return"PM"===t&&(a+=720),a};var uj=e=>{let l=[],t=[];return e.forEach(e=>{let n=(0,oN.L0)(e.startTime,oN.BE),i=(0,oN.L0)(e.endTime,oN.BE);n&&i&&(l.push(n),t.push(i))}),l.sort((e,l)=>uy(e)-uy(l)),t.sort((e,l)=>uy(e)-uy(l)),"".concat(l[0].toUpperCase()," - ").concat(t[0].toUpperCase())},uN=e=>{let{dotLocations:l}=e,t=(0,ix.useRouter)(),n=t.pathname.includes("/dot-locations")?t.pathname.split("/dot-locations")[0]:t.pathname;if(!l)return null;let i=[...l].sort((e,l)=>e.name.localeCompare(l.name));return(0,tw.jsx)("div",{className:"row mt-3",children:i.map(e=>{var l;return(0,tw.jsxs)("div",{className:"col-sm-6 col-md-4 my-3 min-w-144",children:[(0,tw.jsx)("h2",{children:(0,tw.jsx)(oG.U,{className:"neu-display-6",field:{href:"".concat(n,"/").concat(uh(e.name)),text:e.name}})}),(0,tw.jsx)("p",{className:"my-2",children:(0,tw.jsx)("strong",{children:uj(e.scheduledProviders)})}),(0,tw.jsxs)("p",{className:"my-2",children:[e.address,(0,tw.jsx)("br",{}),"".concat(e.city,", ").concat(e.state)]}),e.intersection?(0,tw.jsx)("p",{className:"my-2",children:e.intersection}):null,(0,tw.jsx)("p",{className:"my-2",children:(0,tw.jsx)(oG.U,{field:{href:"tel:".concat(e.phone),text:"".concat(null!==(l=ug(e.phone))&&void 0!==l?l:e.phone)}})})]},e.id)})})};let ub=e=>{let{children:l}=e;return(0,tw.jsx)("p",{className:"my-2",children:l})};var uw=()=>(0,tw.jsxs)("div",{className:"my-3",children:[(0,tw.jsx)("h2",{children:(0,tw.jsx)(sU.Z,{})}),(0,tw.jsx)(sU.Z,{wrapper:ub,count:3})]});let uL=e=>{var l,t;let{fields:n,rendering:i}=e,{t:a}=(0,tB.QT)(),{date:o,organizationId:{value:r},data:s}=n,[d,c]=(0,tk.useState)(o),[u,m]=(0,tk.useState)([]),[v,p]=(0,tk.useState)([]),[f,h]=(0,tk.useState)({date:o,orgId:r}),{register:x,handleSubmit:g,formState:{errors:y}}=(0,iN.cI)(),{data:j,isLoading:N}=up(f),b=null!==(t=null==j?void 0:null===(l=j.data)||void 0===l?void 0:l.dotLocations)&&void 0!==t?t:null==s?void 0:s.dotLocations,w=()=>{p([])};(0,tk.useEffect)(()=>{if((null==b?void 0:b.length)===0){m([]);return}let e=new Set;b.forEach(l=>{l&&l.city&&l.state&&e.add("".concat(l.city,", ").concat(l.state))}),m(Array.from(e).map(e=>({value:e,label:e})).sort((e,l)=>e.value.localeCompare(l.value)))},[b]);let L=(0,tk.useMemo)(()=>{if(!v.length)return b;let e=new Set(v.map(e=>e.toString().split(",")[0].trim())),l=b.filter(l=>e.has(l.city));return l.length?l:b},[v,b]);if(!n)return null;let C=async e=>{h({date:Object.values(e)[0],orgId:r}),w()},S=e=>{let l=e.currentTarget.value;c(l),h({date:l,orgId:r}),w()};return(0,tw.jsxs)("div",{className:"container my-4","data-test-id":null==i?void 0:i.componentName,children:[(0,tw.jsxs)("div",{className:"row align-items-end",children:[(0,tw.jsxs)("form",{className:"col-lg-4 col-xl-3",onSubmit:g(C),children:[(0,tw.jsx)(tE.JX,{...x("dotInput",{value:d}),label:a("PageContent.DOTLocations.SelectVisitDate"),required:!0,id:"dot-input",type:"date",onNeuChange:S,disabled:N,invalid:y.dotInput}),(0,tw.jsx)("input",{type:"submit",className:"d-none",hidden:!0})]}),(0,tw.jsx)("div",{className:"col-lg-4 col-xl-3",children:(0,tw.jsx)(tE.j8,{kind:"multiple",clear:!0,required:!0,value:v,name:"dot-select",items:u,label:a("PageContent.DOTLocations.SelectCityState"),onNeuChange:e=>{let l=e.value;p(null!=l?l:[])},disabled:N||0===u.length})})]}),N?(0,tw.jsx)(uw,{}):b.length>0?(0,tw.jsx)(uN,{dotLocations:L}):(0,tw.jsx)("p",{className:"my-4",children:a("PageContent.DOTLocations.NoResults")})]})};uL.displayName="DotLocationsSection";var uC=uf(uL);let uS="10",uk="search",uM="alerts/".concat(uk),uD=function(){var e,l,t,n,i,a;let{...o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{sitecoreContext:r}=(0,tL.u)(),s=(null==r?void 0:null===(e=r.route)||void 0===e?void 0:e.itemId)?"".concat(null==r?void 0:null===(l=r.route)||void 0===l?void 0:l.itemId):"",d=null!==(n=null==r?void 0:null===(t=r.site)||void 0===t?void 0:t.name)&&void 0!==n?n:"",c=null!==(i=null==r?void 0:r.language)&&void 0!==i?i:ay,[u,m]=tk.useState({...o}),v=(null==u?void 0:u.filters)?aM(null==u?void 0:u.filters):{},p={pageId:s,sc_lang:c,sc_site:d,page:aE,radius:null!==(a=o.radius)&&void 0!==a?a:"20",...u,filters:v,dis
57play:uS},f=du().stringify(p);return{...(0,ag.ZP)(Object.keys(u).length>0?["".concat(aj).concat(uM,"?").concat(f)]:null),setEmergencyAlertsParameter:m,emergencyAlertsParameter:u}};var uT=e=>{let{className:l,locationSearchFormClassName:t,filterBlockTitle:n,onSubmit:i,hasFacilitySearch:a,locationSearchFormSubmit:o,isValidating:r,popperStrategy:s,active:d}=e,{FacilityNameSearch:c,Divider:u,LocationSearch:m,RadiusSelect:v,SubmitButton:p}=ot,f=a?[c,u,m,v,p]:[m,v,p],h=(0,tw.jsx)("div",{className:"container",children:(0,tw.jsx)(og,{locationSearchFormSubmit:o,className:(0,sT.Z)("row",t),onSubmit:i,config:{formFieldOrder:f,[c]:{className:a?"col-lg-12 py-1 px-0":"d-none"},[m]:{className:"col-lg-6 py-1 px-0"},[v]:{className:"col-lg-4 py-1 px-0 px-lg-4",popperStrategy:s},[p]:{className:"col-lg-2 col-sm-12 align-self-lg-end py-2 px-0",buttonClassName:"w-100"}}})});return(0,tw.jsxs)("div",{className:l,children:[(0,tw.jsx)(sB,{className:"d-none d-lg-block container mb-lg-4 px-0",children:(0,tw.jsx)("div",{children:h})}),r?(0,tw.jsx)(sH,{isActive:d}):(0,tw.jsx)(sB,{className:"d-lg-none px-0",children:(0,tw.jsx)(tE.RB,{children:(0,tw.jsxs)(tE.RB.Item,{active:d,children:[(0,tw.jsx)(tE.RB.Header,{className:"neu-text fw-bold pb-1",children:(0,tw.jsx)("span",{className:"neu-text fw-bold",children:n})}),(0,tw.jsx)(tE.RB.Content,{children:h})]})})})]})},uI=e=>{var l,t;let{result:n,siteType:i}=e,{t:a}=(0,tB.QT)(),o=(0,oN.$P)(a("Common.Current"),null==n?void 0:n.dateFrom,null==n?void 0:n.dateTo);return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"row justify-content-around ",children:[(0,tw.jsx)("div",{className:"col-lg-2 pb-2 pb-lg-0",children:(null==n?void 0:n.url)&&(null==n?void 0:n.url)!==""?(0,tw.jsx)(oG.U,{field:{value:{href:null==n?void 0:n.url,text:null==n?void 0:n.locationName}}}):(0,tw.jsx)("p",{children:n.locationName})}),"Hospital"===i?(0,tw.jsxs)("div",{className:"col-lg-2",children:[(0,tw.jsxs)("span",{className:"d-lg-none fw-bold",children:[a("Alerts.Search.FacilityType"),": "]}),null==n?void 0:null===(l=n.locationFacilityTypes)||void 0===l?void 0:l.join(", ")]}):null,(0,tw.jsxs)("div",{className:"col-lg-2",children:[(0,tw.jsxs)("span",{className:"d-lg-none fw-bold",children:[a("Alerts.Search.Status"),": "]}),(null==n?void 0:n.operatingStatus)?null==n?void 0:null===(t=n.operatingStatus)||void 0===t?void 0:t.toUpperCase():""]}),(0,tw.jsxs)("div",{className:"col-lg-2",children:[(0,tw.jsxs)("span",{className:"d-lg-none fw-bold",children:[a("Alerts.Search.LatestUpdate"),": "]}),null==n?void 0:n.description]}),(0,tw.jsxs)("div",{className:"col-lg-2",children:[(0,tw.jsxs)("span",{className:"d-lg-none fw-bold",children:[a("Alerts.Search.DateFrom"),": "]}),o]})]},null==n?void 0:n.itemId),(0,tw.jsx)(tS,{})]})};let uE=parseInt(uS);var uA=(e,l)=>Array.from({length:e},(e,t)=>(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsxs)("div",{className:"row justify-content-around d-lg-none",children:[(0,tw.jsx)("div",{className:" pb-2 ",children:(0,tw.jsx)(sU.Z,{width:100})}),"Hospital"===l?(0,tw.jsx)("div",{className:" py-0",children:(0,tw.jsx)(sU.Z,{width:150,height:15})}):null,(0,tw.jsx)("div",{className:"py-0",children:(0,tw.jsx)(sU.Z,{width:30,height:15})}),(0,tw.jsx)("div",{className:" py-0",children:(0,tw.jsx)(sU.Z,{width:40,height:15})}),(0,tw.jsx)("div",{className:" py-0",children:(0,tw.jsx)(sU.Z,{width:150,height:15})})]}),(0,tw.jsxs)("div",{className:"row justify-content-around d-none d-lg-flex",children:[(0,tw.jsx)("div",{className:"col-2 pb-2 pb-lg-0",children:(0,tw.jsx)(sU.Z,{width:100})}),"Hospital"===l?(0,tw.jsx)("div",{className:"col-2",children:(0,tw.jsx)(sU.Z,{width:100})}):null,(0,tw.jsx)("div",{className:"col-2",children:(0,tw.jsx)(sU.Z,{width:100})}),(0,tw.jsx)("div",{className:"col-2",children:(0,tw.jsx)(sU.Z,{width:100})}),(0,tw.jsx)("div",{className:"col-2",children:(0,tw.jsx)(sU.Z,{width:100})})]}),(0,tw.jsx)(tS,{className:"my-1"})]},"skeleton-".concat(t))),u_=e=>{var l,t,n,i,a,o,r,s,d;let{fields:c,centeredErrorMessage:u,className:m,dataTestId:v}=e,{t:p}=(0,tB.QT)(),{sitecoreContext:f}=(0,tL.u)(),h=null==f?void 0:f.siteType,x={...c.defaultRequest,radius:void 0},{data:g,isValidating:y,emergencyAlertsParameter:j,setEmergencyAlertsParameter:N,error:b}=uD(x),w=e=>
57{let{facilityNameSearch:l,radius:t,latitude:n,longitude:i,address:a}=e;N({...j,page:1,radius:t||(a&&!t?"20":void 0),latitude:l?void 0:n,longitude:l?void 0:i,locationName:l})},{onPageChange:L,onToggleFacet:C,onFacetFiltersClear:S}=dd({params:j&&Object.keys(j).length>0?j:x,setParams:N,defaultParams:x}),k=(0,tw.jsx)("div",{className:"mb-4 neu-bg-gray-0 d-none d-lg-block",children:(0,tw.jsxs)("div",{className:"row justify-content-around",children:[(0,tw.jsx)("span",{className:"col-lg-2 fw-bold",children:p("Alerts.Search.Facility")}),"Hospital"===h?(0,tw.jsx)("span",{className:"col-lg-2 fw-bold",children:p("Alerts.Search.FacilityType")}):null,(0,tw.jsx)("span",{className:"col-lg-2 fw-bold",children:p("Alerts.Search.Status")}),(0,tw.jsx)("span",{className:"col-lg-2 fw-bold",children:p("Alerts.Search.LatestUpdate")}),(0,tw.jsx)("span",{className:"col-lg-2 fw-bold",children:p("Alerts.Search.DateFrom")})]})},"1"),M=null==g?void 0:null===(t=g.data)||void 0===t?void 0:null===(l=t.results)||void 0===l?void 0:l.map(e=>(0,tw.jsx)(uI,{siteType:h,result:e,isValidating:y},null==e?void 0:e.itemId)),D=(0,tw.jsxs)("span",{children:[(0,tw.jsx)(tE.JK,{name:"filter_list",className:"me-1 align-middle"}),p("Locations.Search.Form.Filter.FilterLabel")]}),T=null!==(d=null==g?void 0:null===(n=g.data)||void 0===n?void 0:n.total)&&void 0!==d?d:0;return(0,tw.jsxs)("div",{className:(0,sT.Z)("neu-bg-gray-0 pt-0 pt-lg-4",m),"data-test-id":v,children:[(0,tw.jsx)(uT,{className:"d-none d-lg-block container",hasFacilitySearch:!0,locationSearchFormSubmit:w}),(0,tw.jsx)(sG,{className:"pt-0 pt-lg-3",dividerClassName:"d-none",counter:k,leftContent:(0,tw.jsxs)("div",{className:"mb-3 mb-lg-0",children:[(0,tw.jsx)(uT,{active:!0,className:"d-lg-none d-sm-block",locationSearchFormClassName:"px-0",locationSearchFormSubmit:w,popperStrategy:"fixed",hasFacilitySearch:!0}),(0,tw.jsx)(sW,{facetGroups:null==g?void 0:null===(i=g.data)||void 0===i?void 0:i.facetGroups,filterTitle:(null==g?void 0:null===(a=g.data)||void 0===a?void 0:a.facetGroups)&&D,onFacetSet:C,onFacetGroupsClearClick:(null==g?void 0:null===(o=g.data)||void 0===o?void 0:o.facetGroups)?S:void 0,isValidating:y})]}),onPageChange:L,listItems:y?uA(parseInt(uS),null!=h?h:""):M,currentPage:null==g?void 0:null===(s=g.data)||void 0===s?void 0:null===(r=s.page)||void 0===r?void 0:r.current,totalResults:T,display:uE,hasResults:T>0,errors:null==g?void 0:g.errors,failureToFetchError:b,isValidating:y,noResultsTitle:p("Locations.Search.NoResults"),noResultsDescription:p("Locations.Search.TryAgain"),centeredErrorMessage:u})]})},uF=e=>{let{rendering:l,fields:t}=e;return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(u_,{dataTestId:null==l?void 0:l.componentName,className:"d-lg-none",fields:t}),(0,tw.jsx)(u_,{dataTestId:null==l?void 0:l.componentName,className:"d-none d-lg-block",fields:t,centeredErrorMessage:!0})]})},uP=e=>{let{startDate:l,endDate:t,iconColor:n}=e,[i,a]=(0,tk.useMemo)(()=>[(0,oN.Ub)(l,t),(0,oN.vV)(l,t)],[l,t]);return i&&a?(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"d-flex mb-1",children:[(0,tw.jsx)("div",{className:"me-1",children:(0,tw.jsx)(tE.JK,{name:"calendar_today",color:n})}),i]}),(0,tw.jsxs)("div",{className:"d-flex mb-1",children:[(0,tw.jsx)("div",{className:"me-1",children:(0,tw.jsx)(tE.JK,{name:"schedule",color:n})}),a]})]}):null},uO=e=>{let{eventName:l,eventDescription:t,url:n,startDate:i,endDate:a,locationName:o}=e,{isDarkBackground:r,contentAccessibilityClassNames:s}=sl(),d=r?"plain-0":"support",c={value:o},u={value:t},m={value:{href:n,text:l}};return(0,tw.jsxs)("div",{className:s,children:[(0,tw.jsx)(oG.U,{field:m,className:(0,sT.W)("neu-display-4 fw-bold mb-2",r&&"text-decoration-underline")}),(0,tw.jsx)(uP,{startDate:i,endDate:a,iconColor:d}),o&&(0,tw.jsxs)("div",{className:"d-flex mb-1",children:[(0,tw.jsx)("div",{className:"me-1 d-block",children:(0,tw.jsx)(tE.JK,{name:"location_on",color:d})}),(0,tw.jsx)(tD,{field:c,tag:"p",className:"mb-0"})]}),(0,tw.jsx)(tD,{field:u,tag:"p",className:"mt-2"})]})};let uz=e=>{var l,t,n;let{rendering:i,fields:a,params:o}=e,{startingHeadingTag:r}=sD(o);return a.events&&0!==a.events.length?(0,tw.jsxs)(sa,{title:{value:(null==a?void 0:a.blockHeadline)||""},dataTestId:null==i?void 0:i.componentName,headingLevel:r,titleClassName:"neu-display-2 fw-bold",children:[(0,tw.jsx)("div",{className:"d-lg-flex justify-content-center my-4 p-3",children:null==a?void 0:null===(l=a.events)||void 0===l?void 0:l.map((e,l)=>{var t,n;return(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row mb
57-lg-2 col-lg-4",children:[(0,tw.jsx)(uO,{...e}),l<(null!==(n=null==a?void 0:null===(t=a.events)||void 0===t?void 0:t.length)&&void 0!==n?n:0)-1&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tS,{type:"vertical",size:"3x"}),(0,tw.jsx)(tS,{type:"horizontal",size:"3x",className:"d-lg-none"})]})]},e.itemId)})}),(null===(n=a.primaryLink)||void 0===n?void 0:null===(t=n.value)||void 0===t?void 0:t.href)&&(0,tw.jsx)("div",{className:"d-flex justify-content-center w-100",children:(0,tw.jsx)(tA,{field:a.primaryLink,kind:"secondary"})})]}):null};var uR=(0,sf.C)()(uz),uB=t(2635);let uU=({id:e,className:l,heading:t,onClose:n,icon:i,params:a})=>{if(!(null!=t&&t.value))return null;let{getRelativeHeadingTag:o}=sD(a),r=(0,tC.c)("d-flex neu-display-4",l);return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"flex-shrink-0",children:i??(0,tw.jsx)(tE.JK,{name:"location_on"})}),(0,tw.jsx)(tD,{field:t,tag:o(),className:r,id:e,tabIndex:0}),n&&(0,tw.jsx)(tE.Yu,{kind:"tertiary-plain",onNeuClick:n,className:"px-1 ms-auto",children:(0,tw.jsx)(tE.JK,{name:"close",decorative:!1})})]})};var uH=e=>{let{location:l,onCloseSelectedLocation:t}=e,{marketedFacilityName:n,city:i,street1:a,street2:o,state:r,postalCode:s,marketedPrimaryPhoneNumber:d,urgentCareFacilityId:c}=l,{data:u,isValidating:m}=(0,o2.u)({revalidateOnFocus:!0}),{t:v}=(0,tB.QT)(),{WebsiteButton:p,GetDirectionsButton:f,VirtualVisitButton:h,WebCheckInButton:x}=oE;return(0,tw.jsxs)(tE.IZ,{size:"sm",kind:"expanded",children:[(0,tw.jsx)("div",{className:"d-flex align-items-center",children:(0,tw.jsx)(uU,{heading:{value:null!=n?n:""},className:"align-items-center",icon:(0,tw.jsx)(uB.M,{color:"var(--neu-support)"}),onClose:t})}),c&&u&&(0,tw.jsx)("div",{children:(0,tw.jsx)(oX.a,{ucFacilityId:c,waitTimes:u,isLoading:m})}),(0,tw.jsx)("div",{className:"d-flex gap-1 flex-wrap",children:(0,tw.jsx)(oW,{result:l,buttonOrder:[p,f]})}),(0,tw.jsx)(oM,{city:i,state:r,street1:a,street2:o,postalCode:s,title:v("Locations.Card.Address"),titleClassName:"fw-bold mb-1"}),(0,tw.jsx)(o4,{title:v("Locations.Card.PhoneNumber"),titleClassName:"fw-bold mb-1",phoneNumber:d,icon:(0,tw.jsx)(tE.JK,{name:"phone_iphone",className:"pe-1"})}),(0,tw.jsx)(o1,{result:l,titleClassName:"fw-bold mb-1"}),(0,tw.jsx)("div",{className:"d-flex gap-1 flex-wrap",children:(0,tw.jsx)(oW,{result:l,buttonOrder:[h,x],cardButtonsClassName:"w-100"})})]})},uZ=e=>{var l,t;let{rendering:n,locations:i,defaultLocations:a,sectionTitle:o,sectionDescription:r,cardTitle:s,description:d,formElement:c,selectedLocation:u,className:m,apiErrors:v,swrErrors:p,hasNoResults:f,onMapSelectedLocation:h,onCloseSelectedLocation:x,assetIcon:g={fields:{iconName:{value:"clinic_doctors_office_2"}}},ctaButton:y,params:j}=e,{t:N}=(0,tB.QT)(),{isDarkBackground:b}=sl(),[w,L]=tk.useState(!1);tk.useEffect(()=>{L(!0)},[]);let C=tk.useRef(null),S=tk.useRef(null==u?void 0:u.itemId);tk.useEffect(()=>{if(S.current!==(null==u?void 0:u.itemId)&&u&&C.current){let e=C.current.querySelector("h1, h2, h3, h4, h5, h6");e instanceof HTMLElement&&e.focus()}S.current=null==u?void 0:u.itemId},[u]),(0,tE.Sj)(()=>{u&&(null==x||x())});let k=!!(null==d?void 0:d.value),M=!!(a&&1===a.length),{startingHeadingTag:D,getRelativeHeadingTag:T}=sD(j);return(0,tw.jsx)(sa,{title:o,headingLevel:D,titleClassName:"neu-display-2 fw-medium",dataTestId:null==n?void 0:n.componentName,description:r,children:(0,tw.jsxs)(tE.qd,{className:"gx-0",children:[(0,tw.jsx)(tE.IS,{className:"border-0",children:(0,tw.jsx)(tE.qd,{className:"gx-0",children:(0,tw.jsxs)(tE.qd.Row,{gutter:"none",children:[(0,tw.jsxs)(tE.qd.Column,{col:12,colLg:4,className:"p-4 px-5 overflow-y-auto ".concat(m),children:[u&&(0,tw.jsx)("div",{ref:C,children:(0,tw.jsx)(uH,{location:u,onCloseSelectedLocation:M?void 0:x})}),!u&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"d-flex gap-2 align-items-center mb-3",children:[(0,tw.jsx)(d0,{fields:g.fields,assetProps:{color:"main"}}),(0,tw.jsx)(tD,{tag:T(),field:s,className:"neu-display-3"})]}),k&&(0,tw.jsx)(sS,{field:d}),c]})]}),(0,tw.jsx)(tE.qd.Column,{col:12,colLg:8,children:(0,tw.jsxs)("div",{className:"w-100 overflow-hidden h-176 align-content-center ".concat(m),children:[f&&(0,tw.jsx)(oj,{noResultsTitle:N("Locations.Search.NoResults"),noResultsDescription:N("Locations.Search.TryAgain"),wrapperClassName:"p-0"}),v&&v.length>0||!!p&&(0,tw.jsx)(oj,{errors:v,failureToFetchError:p,wrapperClassName:"p-0"}),!v&&!f&&i&&i.length>0&&(0,tw.jsxs)("div",{className:"w-100 h-100",children:[(0,tw.jsx)(tA,{className:"sr-only",field:{value:{href:"/locations"}}
57,editable:!1,children:"".concat(N("Common.Links.ViewAll")," ").concat(N("Common.Locations"))}),w?(0,tw.jsx)(uB.A,{locations:i,onMapSelectedLocation:h,selectedLocationId:null!==(t=null==u?void 0:u.itemId)&&void 0!==t?t:null,className:"rounded-right-lg",enableSRAccessibility:!1}):(0,tw.jsx)(tE.$V,{kind:"spinner",size:"large",className:"h-100 align-items-center"})]})]})})]})})}),y&&(null==y?void 0:null===(l=y.value)||void 0===l?void 0:l.href)&&(0,tw.jsx)("div",{className:"d-flex justify-content-center pt-5",children:(0,tw.jsx)(tA,{field:y,kind:b?"tertiary-plain":"secondary",className:"w-100 w-lg-auto"})})]})})};let{FacilityNameSearch:uQ,LocationSearch:uY,FacilityTypeSelect:u$,SubmitButton:uq,Divider:uW}=ot;var uV=e=>{var l,t;let{fields:n,rendering:i}=e,[a,o]=tk.useState(null),[r,s]=tk.useState(n.locations||[]),[d,c]=tk.useState(null),[u,m]=tk.useState(void 0),[v,p]=tk.useState(!1),{sitecoreContext:{siteAttributes:{isCorporate:f}}}=(0,tL.u)(),h=tk.useMemo(()=>n.facilityTypes&&n.facilityTypes.length>0?n.facilityTypes.map(e=>({label:e,value:e})):[],[n.facilityTypes]),x=tk.useCallback(e=>{var l;if(!e){o(null);return}o(null!==(l=r.find(l=>l.itemId===e))&&void 0!==l?l:null)},[r]),g=()=>{s((null==n?void 0:n.locations)||[]),o(null)},{data:y,setLocationSearchParameter:j,error:N}=aR(void 0);tk.useEffect(()=>{var e,l,t;(null==y?void 0:null===(e=y.data)||void 0===e?void 0:e.results)&&s(y.data.results),(null==y?void 0:null===(t=y.data)||void 0===t?void 0:null===(l=t.results)||void 0===l?void 0:l.length)!==0||u||p(!0),(null==y?void 0:y.hasErrors)&&m(y.errors)},[u,y]),tk.useEffect(()=>{if(d&&r.length>0){var e;let l=r.find(e=>{var l;return(null===(l=e.marketedFacilityName)||void 0===l?void 0:l.toLowerCase())===d.toLowerCase()}),t=null===(e=r.filter(e=>{var l;return null===(l=e.marketedFacilityName)||void 0===l?void 0:l.toLowerCase().includes(d.toLowerCase())}))||void 0===e?void 0:e[0];(l||t)&&o(l||t),c(null),l||t||p(!0)}},[r,d]);let b=tk.useCallback(e=>{p(!1);let{facilityNameSearch:l,...t}=e;if(l&&s(n.locations||[]),m(void 0),l){c(l);return}if(t.latitude&&t.longitude||t.facilityTypeSelect){let{facilityTypeSelect:e,...l}=t,n=e?{marketed_secondary_types_names:[e]}:void 0;j({...of(l),filters:n})}else p(!0)},[n.locations,j]),w=!!(null===(l=n.findDescription)||void 0===l?void 0:l.value),L=(0,sT.Z)({"h-272-lg":!w,"h-304-lg":w});return(0,tw.jsx)(uZ,{onCloseSelectedLocation:g,className:L,selectedLocation:a,onMapSelectedLocation:x,hasNoResults:v,swrErrors:N,apiErrors:u,rendering:i,locations:r,defaultLocations:n.locations,sectionTitle:n.sectionTitle,cardTitle:n.findHeadline,description:n.findDescription,assetIcon:null===(t=n.findHeadlineIcon)||void 0===t?void 0:t[0],formElement:(0,tw.jsx)(og,{locationSearchFormSubmit:b,config:{formFieldOrder:[uQ,uW,u$,uY,uq],[uq]:{buttonClassName:"w-100",neuButtonProps:{color:f?"support":"main"}},[u$]:{facilityOptions:h}}})})},uG=e=>{var l;let{fields:t}=e,{t:n}=(0,tB.QT)();return(0,tw.jsx)("div",{className:"col-lg-8 py-2",children:(0,tw.jsx)(tE.IS,{className:"h-100 overflow-hidden",kind:"flat",children:(0,tw.jsxs)("div",{className:"row h-100",children:[(0,tw.jsxs)("div",{className:"col-12 col-lg-6 h-100 d-flex flex-column",children:[(0,tw.jsx)("div",{className:"py-4 ps-4",children:(0,tw.jsx)(sO,{...t})}),(0,tw.jsx)("div",{className:"mt-auto",children:(0,tw.jsx)(oG.U,{field:{text:n("Common.Links.ReadMore"),href:null!==(l=t.url)&&void 0!==l?l:"/"},className:"m-4 mt-2 align-items-end"})})]}),(null==t?void 0:t.pageImageUrl)&&(0,tw.jsx)("div",{className:"col-12 col-lg-6 d-none d-lg-block",children:(0,tw.jsx)("div",{className:"w-100 h-100",children:(0,tw.jsx)(ok.o,{field:{src:t.pageImageUrl,alt:t.pageImageAlt||"Blog image"},fill:!0,className:"object-fit-cover position-relative ratio-1x1 min-h-160"})})})]})})})},uJ=e=>{let l,{index:t,blog:n}=e,i="listing-blog--".concat(n.itemId),a=(null==n?void 0:n.pageImageUrl)&&dL.includes(t);return a||(l=0===t?"plain":t===dC?"support":"main"),a?(0,tw.jsx)(uG,{color:l,fields:n},i):(0,tw.jsx)(db,{color:l,fields:n,hideImages:!0},i)};let uK=e=>{let{fields:l,rendering:t}=e,n=(0,tT.u)(),i=e=>e.map(e=>({...e,categories:[]})),a=(0,tk.useMemo)(()=>{let e=(null==l?void 0:l.blogArticles)||[],t=e.some(e=>null==e?void 0:e.pageImageUrl)?2:3;return e.slice(0,t).map(e=>{let{...l}=e;return l})},[null==l?void 0:l.blogArticles]);return(null==a?void 0:a.length)||n?(0,tw.jsx)(sa,{dataTestId:null==t?void 0:t.componentName,title:l.headline,children:(0,tw.jsx)("div",{className:"d-flex flex-column gap-0 gap-lg-4 flex-lg-row",children:i(a).map((e,l)=>(0,tw.jsx)(uJ,{index:l,blog:e},"blogItem-".concat(l)))})}):null};var uX=(0,sf.C)()(uK),u0=e=>{var l,t;let{title:n,icon:i,link:a,buttonColor:o}
57=e,{isDarkBackground:r,contentAccessibilityClassNames:s}=sl(),d=(null==o?void 0:null===(l=o.value)||void 0===l?void 0:l.includes("Primary"))?"main":"support";return(0,tw.jsxs)(tE.qd,{className:(0,sT.Z)("my-4",s),children:[(0,tw.jsxs)(tE.qd.Row,{className:"d-flex justify-content-center align-items-center",children:[(0,tw.jsx)(tE.qd.Column,{col:"auto",className:"g-0",children:(null==i?void 0:i.fields)&&(0,tw.jsx)(d0,{fields:null==i?void 0:i.fields,materialIconProps:{size:"2x"},assetProps:{css:!r,primary:"plain",secondary:"plain"}})}),(0,tw.jsx)(tE.qd.Column,{col:"auto",className:"fw-bold",children:(0,tw.jsx)(tD,{field:n})})]}),(0,tw.jsx)(tE.qd.Row,{className:"d-flex justify-content-center pt-4",children:a&&(null===(t=a.value)||void 0===t?void 0:t.href)&&(0,tw.jsx)(tA,{field:a,kind:r?"tertiary-plain":"primary",color:d,className:"w-100 w-md-50"})})]})},u1=e=>{var l,t;let{title:n,description:i,link:a,image:o,buttonColor:r}=e,s=(null==r?void 0:null===(l=r.value)||void 0===l?void 0:l.includes("Primary"))?"main":"support",d=(0,tT.u)(),c=(0,sT.Z)("h-112",{"ee-image-contain":d});return(0,tw.jsxs)(tE.IS,{className:"overflow-hidden border-0 h-100 w-100 position-relative",children:[(0,tw.jsx)("div",{className:c,children:(0,tw.jsx)(ok.o,{field:o,className:"w-100 h-100 object-fit-cover"})}),(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)(tD,{tag:"h3",field:n,className:"neu-display-5 fw-medium"})}),(0,tw.jsx)(tE.IS.Content,{children:(0,tw.jsx)(tR.H,{field:i})}),a&&(null===(t=a.value)||void 0===t?void 0:t.href)&&(0,tw.jsx)(tE.IS.Footer,{className:"d-flex justify-content-end",children:(0,tw.jsx)(tA,{field:a,color:s,className:"w-100 w-md-auto"})})]})};let u4=e=>{var l,t,n,i;let{fields:a,params:o,rendering:r}=e,{startingHeadingTag:s}=sD(o),{isDarkBackground:d}=sl(),c=(null==r?void 0:null===(l=r.params)||void 0===l?void 0:l.campaign)==="1",u=c?(0,tw.jsx)(u0,{title:a.featureTitle1,icon:a.featureIcon1&&a.featureIcon1[0],link:a.featureLink1,buttonColor:a.featureLinkColor1}):(0,tw.jsx)(u1,{title:a.featureTitle1,description:a.featureDescription1,link:a.featureLink1,image:a.featureImage1,buttonColor:a.featureLinkColor1}),m=c?(0,tw.jsx)(u0,{title:a.featureTitle2,icon:a.featureIcon2&&a.featureIcon2[0],link:a.featureLink2,buttonColor:a.featureLinkColor2}):(0,tw.jsx)(u1,{title:a.featureTitle2,description:a.featureDescription2,link:a.featureLink2,image:a.featureImage2,buttonColor:a.featureLinkColor2});return(0,tw.jsx)(sa,{title:a.headline,description:a.description,headingLevel:s,dataTestId:null==r?void 0:r.componentName,className:"pt-0",conditionalWrapclassName:(0,sT.Z)(!(null===(t=a.headline)||void 0===t?void 0:t.value)&&"gap-lg-0"),titleClassName:"neu-display-2 fw-medium",children:(0,tw.jsxs)(tE.qd,{className:"gx-0",children:[(0,tw.jsxs)(tE.qd.Row,{children:[(0,tw.jsx)(tE.qd.Column,{col:12,colMd:6,className:"pb-4",children:u}),(0,tw.jsx)(tE.qd.Column,{col:12,colMd:6,className:"pb-4",children:m})]}),a.link&&(null===(i=a.link)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.href)&&(0,tw.jsx)(tE.qd.Row,{className:"justify-content-center",children:(0,tw.jsx)(tE.qd.Column,{col:12,colMd:4,className:"justify-content-center",children:(0,tw.jsx)(tA,{field:a.link,kind:d?"tertiary-plain":"primary",className:"w-100"})})})]})})};var u3=(0,sf.C)()(u4),u5=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(cX,{className:"container",fields:{blockDescription:null==l?void 0:l.blockDescription,blockHeadline:null==l?void 0:l.blockTitle,description:null==l?void 0:l.featureDescription,headline:null==l?void 0:l.featureHeadline,image:null==l?void 0:l.featureImage,primaryLink:null==l?void 0:l.featureLink,secondaryLink:null==l?void 0:l.featureSecondaryLink},dataTestId:null==t?void 0:t.componentName,params:{...n,rightOrientation:"1"},rendering:t,rightContentClasses:"d-flex align-items-center"})};function u2(e){var l,t,n,i,a,o,r;let{rendering:s,fields:d,params:c}=e,u=(0,tT.u)(),m=(0,sT.Z)("position-relative p-0 ratio-40x23 w-100 h-100",{"ee-image-contain":u}),{startingHeadingTag:v}=sD(c);return(0,tw.jsx)(tE.IS,{className:"border-0","data-test-id":null==s?void 0:s.componentName,children:(0,tw.jsxs)("div",{className:"d-flex row",children:[(0,tw.jsx)("div",{className:"col-12 col-lg-6",children:(0,tw.jsx)("div",{className:m,children:(0,tw.jsx)(ok.o,{field:null==d?void 0:d.featuredImage,fill:!0,className:"rounded-left-lg w-100 h-100 object-fit-cover"})})}),(0,tw.jsxs)("div",{className:"col-12 col-lg-6 p-5",children:[(null==d?void 0:null===(l=d.featuredTitle)||void 0===l?void 0:l.value)&&(0,tw.jsx)(tD,{tag:v,className:"mb-2 neu-display-3 fw-medium",field:null==d?void 0:d.featuredTitle}),(null==d?void 0:null===(t=d.featuredShortDescription)||void 0===t?void 0:t.value)&&(0,tw.jsx)(tD,{tag:"p",className:"neu-display-6 mb-2",field:null==d?void 0:d.featuredShortDescription}),(null==d?void 0:null===(n=d.featuredDescription)||void 0===n?void 0:n.value)&&(0,tw.jsx)(tD,{tag:"p",className:"neu-text-body",field:null==d?void 0:d.featuredDescription}),(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row flex-lg-wrap gap-3",children:[(null==d?void 0:d.primaryLink)&&(null==d?void 0:null===(a=d.primaryLink)||void 0===a?void 0:null===(i=a.value)||void 0===i?void 0:i.href)&&(0,tw.jsx)(tA,{field:null==d?void 0:d.primaryLink,kind:"primary",className:(null==d?void 0:d.secondaryLink)?"col text-nowrap":""}),(null==d?void 0:d.secondaryLink)&&(null==d?void 0:null===(r=d.secondaryLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href)&&(0,tw.jsx)(tA,{kind:"primary",className:"col text-nowrap",field:null==d?void 0:d.secondaryLink})]})]})]})})}var u6=(0,sf.C)()(u2),u9=e=>{var l;let{fields:t,dataTestId:n,params:i}=e,{startingHeadingTag:a}=sD(i);return(0,tw.jsxs)("div",{"data-test-id":n,children:[(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row justify-content-between align-items-start align-items-lg-center gap-3",children:[(0,tw.jsx)(tD,{tag:a,field:null==t?void 0:t.blockHeadline,className:"neu-display-2 fw-medium"}),(null==t?void 0:t.primaryLink)&&(0,tw.jsx)(oG.U,{field:t.primaryLink})]}),(0,tw.jsx)("div",{className:"d-flex flex-column flex-lg-row gap-4",children:null==t?void 0:null===(l=t.news)||void 0===l?void 0:l.map(e=>{var l,n;return(0,tw.jsxs)(tE.IS,{interactive:!1,className:"rounded w-100",children:[(0,tw.jsx)("div",{className:"ratio-16x9 w-100 position-relative",children:(0,tw.jsx)(ok.o,{field:{...e,src:(null==e?void 0:e.pageImageUrl)||(null==t?void 0:null===(n=t.defaultCardImage)||void 0===n?void 0:null===(l=n.value)||void 0===l?void 0:l.src)},fill:!0,className:"rounded-top object-fit-cover"})}),(0,tw.jsx)(tE.IS.Header,{children:(null==e?void 0:e.url)&&(0,tw.jsx)(oG.U,{field:{value:e.url,text:null==e?void 0:e.pageTitle,href:null==e?void 0:e.url},className:"fw-medium"})}),(0,tw.jsx)(tE.IS.Content,{className:"text-start",children:e.pageShortDescription&&(0,tw.jsx)(tR.H,{tag:"p",field:{value:e.pageShortDescription}})})]},e.id)})})]})},u8=e=>
57{let{pageTitle:l,pageShortDescription:t,publishedOn:n,url:i,columnClass:a,shouldUseLightText:o}=e,r=(0,sT.Z)("d-flex flex-column flex-md-row",a);return(0,tw.jsx)("div",{className:r,children:(0,tw.jsx)(sO,{pageTitle:l,pageShortDescription:t,publishedOn:n,url:i,shouldUseLightText:o})})},u7=e=>{var l,t;let{fields:n}=e,{isDarkBackground:i}=sl(),a=(null==n?void 0:n.news)&&(null==n?void 0:n.news.length)>=3?"col-lg-3":"col-lg-6";return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"d-lg-flex my-4 ".concat((null==n?void 0:null===(l=n.news)||void 0===l?void 0:l.length)===1?"justify-content-center":"justify-content-lg-between"),children:null==n?void 0:null===(t=n.news)||void 0===t?void 0:t.map((e,l)=>{var t,o;return(0,tw.jsxs)(tw.Fragment,{children:[l<=(null!==(o=null==n?void 0:null===(t=n.news)||void 0===t?void 0:t.length)&&void 0!==o?o:0)-1?(0,tw.jsx)(tS,{type:"horizontal",size:"2x",className:"d-lg-none"}):null,l>0?(0,tw.jsx)(tS,{type:"vertical",size:"2x",className:"h-auto d-none d-sm-block"}):null,(0,tw.jsx)(u8,{...e,columnClass:a,shouldUseLightText:i},e.id)]})})}),(0,tw.jsx)("div",{className:"d-flex justify-content-center w-100",children:(null==n?void 0:n.primaryLink)&&(0,tw.jsx)(tA,{field:null==n?void 0:n.primaryLink,kind:i?"tertiary-plain":"secondary"})})]})},me=e=>{var l;let{fields:t,rendering:n,params:i}=e,{sitecoreContext:{siteAttributes:{isCorporate:a}}}=(0,tL.u)(),o=(0,tT.u)(),{startingHeadingTag:r}=sD(i);return(null==t?void 0:null===(l=t.news)||void 0===l?void 0:l.length)||o?(0,tw.jsx)(tw.Fragment,{children:a?(0,tw.jsx)(u9,{fields:t,dataTestId:n.componentName,params:i}):(0,tw.jsx)(sa,{title:null==t?void 0:t.blockHeadline,headingLevel:r,titleClassName:"neu-display-2 fw-medium",description:null==t?void 0:t.blockDescription,dataTestId:null==n?void 0:n.componentName,children:(0,tw.jsx)(u7,{fields:t})})}):null};let ml=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(me,{fields:{news:null==l?void 0:l.newsArticles,blockHeadline:null==l?void 0:l.headline},rendering:t,params:n})};var mt=(0,sf.C)()(ml),mn=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h,x,g,y,j,N,b;let{params:w,rendering:L,fields:C}=e,{t:S}=(0,tB.QT)(),k=(0,tT.u)();if(!(null==C?void 0:C.patientStory)&&!k)return null;(null==C?void 0:C.patientStory)||!k||tE.qw;let M=(null==w?void 0:w.rightOrientation)==="1"?"right":"left",D=(null==C?void 0:null===(l=C.patientStory)||void 0===l?void 0:l.taxonomyTerms)?{value:null==C?void 0:null===(n=C.patientStory)||void 0===n?void 0:null===(t=n.taxonomyTerms)||void 0===t?void 0:t[0]}:void 0,T=(null==C?void 0:null===(o=C.patientStory)||void 0===o?void 0:null===(a=o.pageImage)||void 0===a?void 0:null===(i=a.value)||void 0===i?void 0:i.src)?null==C?void 0:null===(r=C.patientStory)||void 0===r?void 0:r.pageImage:(null==C?void 0:null===(s=C.patientStory)||void 0===s?void 0:s.pageImageUrl)&&(null==C?void 0:null===(d=C.patientStory)||void 0===d?void 0:d.pageImageAlt)?{src:null==C?void 0:null===(c=C.patientStory)||void 0===c?void 0:c.pageImageUrl,alt:null==C?void 0:null===(u=C.patientStory)||void 0===u?void 0:u.pageImageAlt}:void 0,I=(null==C?void 0:C.linkTitle)&&(null==C?void 0:null===(m=C.patientStory)||void 0===m?void 0:m.pageTitle)&&{value:{href:null==C?void 0:C.linkTitle,text:null==C?void 0:null===(v=C.patientStory)||void 0===v?void 0:v.pageTitle}},E=(null==C?void 0:null===(p=C.patientStory)||void 0===p?void 0:p.url)?{value:{href:null==C?void 0:null===(f=C.patientStory)||void 0===f?void 0:f.url,text:S("Stories.ReadMore")}}:void 0,{startingHeadingTag:A,getRelativeHeadingTag:_}=sD(w),F="string"==typeof(null==C?void 0:C.heading)?{value:null==C?void 0:C.heading}:null==C?void 0:C.heading;return(0,tw.jsx)("div",{"data-test-id":null==L?void 0:L.componentName,children:(0,tw.jsx)(sn,{title:F,headingLevel:A,titleClassName:"neu-display-2 fw-medium",className:"gx-0",children:(0,tw.jsxs)("div",{className:(0,sT.W)("d-flex flex-column align-items-lg-stretch py-1 text-start","left"===M?"flex-lg-row":"flex-lg-row-reverse"),children:[T&&(0,tw.jsx)(tw.Fragment,{children:(0,tw.jsx)("div",{className:"w-100 w-lg-50 position-relative ratio-16x9",children:(0,tw.jsx)(ok.o,{className:"object-fit-cover",field:T,fill:!0})})}),(0,tw.jsxs)("div",{className:(0,sT.W)("min-h-5 d-flex flex-column justify-content-center w-100 position-relative neu-text-plain-0 p-5","left"===M?"neu-bg-support-60":"neu-bg-main-90",T&&"w-lg-50"),children:[(0,tw.jsx)(tD,{field:D,tag:"p",className:"neu-text-tag fw-bold neu-text-plain-0"}),I&&(null==C?void 0:null===(h=C.patientStory)||void 0===h?void 0:h.pageTitle)?(0,tw.jsx)(oG.U,{field:I,className:"neu-text-plain-0 mb-2",children:(0,tw.jsx)(tD,{field:{value:null==C?void 0:null===(x=C.patientStory)||void 0===x?void 0:x.pageTitle},tag:_(),className:"neu-display-3 fw-bold"})}):(0,tw.jsx)(tD,{field:{value:null==C?void 0:null===(g=C.patientStory)||void 0===g?void 0:g.pageTitle},tag:_(),className:"neu-display-3 fw-bold mb-2"}),(0,tw.jsx)(tD,{field:{value:null==C?void 0:null===(y=C.patientStory)||void 0===y?void 0:y.pageShortDescription},tag:"p",className:"neu-text-plain-0"}),E&&(null===(j=E.value)||void 0===j?void 0:j.href)&&(0,tw.jsxs)(tA,{field:E,kind:"tertiary-plain",color:"left"
57===M?"support":"main",className:"w-fit",children:[null==E?void 0:null===(N=E.value)||void 0===N?void 0:N.text,(0,tw.jsx)("span",{className:"sr-only",children:null==C?void 0:null===(b=C.patientStory)||void 0===b?void 0:b.pageTitle})]})]})]})})})};function mi(e){var l,t;let{rendering:n,fields:i,params:a}=e,{sitecoreContext:o}=(0,tL.u)();return(0,tw.jsx)(tE.IS,{"data-test-id":null==n?void 0:n.componentName,children:(0,tw.jsx)(cX,{className:"py-2 px-2 pe-lg-5 rounded",fields:{...i,headline:null==i?void 0:i.title,image:null==o?void 0:null===(t=o.route)||void 0===t?void 0:null===(l=t.fields)||void 0===l?void 0:l.pageImage},params:{...a,rightOrientation:"0",backgroundStyle:"white"},rendering:n,rightContentClasses:"d-flex align-items-center",isGme:!0})})}var ma=(0,sf.C)()(mi),mo=sA(e=>{let{featureStats:l}=e,{isDarkBackground:t,contentAccessibilityClassNames:n,isFullWidth:i}=sl();return(0,tw.jsx)("ul",{className:(0,sT.Z)("row justify-content-center mx-0 px-0",n,i&&"row-cols-2 row-cols-lg-5"),children:null==l?void 0:l.map((e,l)=>{var n,a,o,r,s,d,c,u,m,v,p;return(0,tw.jsxs)("li",{className:(0,sT.Z)("d-flex flex-column gap-2 mt-5",i?"col":"col-6 col-lg-4"),children:[(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(r=s.statsIcon)||void 0===r?void 0:null===(o=r[0])||void 0===o?void 0:null===(a=o.fields)||void 0===a?void 0:null===(n=a.iconName)||void 0===n?void 0:n.value)&&(0,tw.jsx)(d0,{assetProps:{size:"2x",css:!t,primary:"plain",secondary:"plain"},svgIconProps:{className:"align-self-center py-1"},fields:null===(c=e.fields.statsIcon)||void 0===c?void 0:null===(d=c[0])||void 0===d?void 0:d.fields}),(0,tw.jsx)(tD,{className:(0,sT.Z)("neu-display-1 fw-bold text-center",!t&&"neu-text-support-60"),tag:"span",field:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.statsNumberText}),(0,tw.jsx)(tD,{className:"text-center fw-bold",tag:"span",field:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:m.statsText})]},(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(v=p.statsNumberText)||void 0===v?void 0:v.value)||"stat-".concat(l))})})},{title:"Add Stat to Featured Stats Block",tooltip:"Add a stat item",templateId:"{10949664-07B4-48A8-9FC8-1BD0A0565A4E}",fieldId:"{B42770D5-D70A-4B56-9744-C81ACDF5D4DA}",renderingId:"{07010D59-F499-47B1-939A-428D2E2E2515}",countField:"featureStats"});let mr=e=>{var l,t,n,i;let{fields:a,rendering:o,params:r}=e,{startingHeadingTag:s}=sD(r),{isDarkBackground:d,isFullWidth:c}=sl();return(0,tw.jsxs)(sa,{title:null==a?void 0:a.featureHeadline,description:null==a?void 0:a.featureDescription,dataTestId:null==o?void 0:o.componentName,headingLevel:s,titleClassName:"neu-display-2 fw-medium",className:(0,sT.Z)(c&&"px-2 px-lg-6 py-6"),disableContainer:c,children:[c&&((null==a?void 0:a.featureHeadline)||(null==a?void 0:a.featureDescription))&&(0,tw.jsx)(sn,{title:null==a?void 0:a.featureHeadline,description:null==a?void 0:a.featureDescription,headingLevel:s,titleClassName:"neu-display-2 fw-medium"}),(null==a?void 0:null===(t=a.featureLink)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.href)&&(null==a?void 0:null===(i=a.featureLink)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.text)?(0,tw.jsx)("div",{className:"d-flex justify-content-center mt-4",children:(0,tw.jsx)(tA,{field:a.featureLink,kind:d?"tertiary-plain":"secondary"})}):null,(0,tw.jsx)(mo,{featureStats:null==a?void 0:a.featureStats,rendering:o})]})};var ms=(0,sf.C)()(mr),md=e=>{var l,t,n,i,a,o,r,s,d,c;let{description:u,desktopImage:m,mobileImage:v}=e,p=null!==(r=null==v?void 0:null===(l=v.value)||void 0===l?void 0:l.src)&&void 0!==r?r:null==m?void 0:null===(t=m.value)||void 0===t?void 0:t.src,f=null!==(s=null==v?void 0:null===(n=v.value)||void 0===n?void 0:n.alt)&&void 0!==s?s:null==m?void 0:null===(i=m.value)||void 0===i?void 0:i.alt;return(0,tw.jsxs)("div",{children:[(0,tw.jsx)(ok.o,{field:{src:null!=p?p:"",alt:null!=f?f:""},fill:!0,className:"d-lg-none object-fit-cover position-relative"}),(0,tw.jsx)(ok.o,{field:{src:null!==(d=null==m?void 0:null===(a=m.value)||void 0===a?void 0:a.src)&&void 0!==d?d:"",alt:null!==(c=null==m?void 0:null===(o=m.value)||void 0===o?void 0:o.alt)&&void 0!==c?c:""},fill:!0,className:"d-none d-lg-block object-fit-cover position-relative"}),(0,tw.jsx)(sS,{field:u,className:"mt-2 "})]})};let mc=tk.createContext({});var mu=e=>{let{children:l}=e,{data:t,isLoading:n,error:i,setLocationSearchParameter:a,locationSearchParameter:o}=aR(),{onPageChange:r,onSortChange:s}=dd({params:null!=o?o:{},setParams:a,defaultParams:{}});return(0,tw.jsx)(mc.Provider,{value:{setSearchParams:a,searchParams:o,searchErrors:null==t?void 0:t.errors,isSearchLoading:n,locationResults:null==t?void 0:t.data,fetchError:(null==i?void 0:i.message)||"",totalResults:(null==t?void 0:t.data.total)||0,onPageChange:r,onSortChange:s},children:l})};let mm="content_type_s",mv=256,mp="locations?facilityId=";var mf=e=>{var l;let{result:t}=e,{isSearchLoading:n}
57=tk.useContext(mc),{data:i,isLoading:a}=(0,o2.u)({revalidateOnFocus:!0}),o="neu-text-body fw-bold mb-1",{t:r}=(0,tB.QT)(),{SpecialtyButton:s,GetDirectionsButton:d,WebCheckInButton:c,VirtualVisitButton:u,ViewOnMapButton:m,WebsiteButton:v}=oE;return(0,tw.jsxs)("div",{className:"pb-6",children:[(0,tw.jsx)(oK,{facilityTitle:null==t?void 0:t.marketedFacilityName,facilityUrl:null!==(l=null==t?void 0:t.locationUrl)&&void 0!==l?l:null==t?void 0:t.marketedWebsite,isLoading:n,marketedWebsite:null==t?void 0:t.marketedWebsite,distance:null==t?void 0:t.distance,titleClass:"mb-2"}),(null==t?void 0:t.urgentCareFacilityId)?(0,tw.jsx)(oX.a,{ucFacilityId:t.urgentCareFacilityId,waitTimes:i,isLoading:a}):null,(0,tw.jsx)("div",{className:"pb-3",children:(0,tw.jsx)(o3,{result:t,erFeed:oC(null==t?void 0:t.erFeed),className:"col-lg",facilityTypeClass:"d-block d-lg-inline-block",erWaitClass:"d-block d-lg-inline-block"})}),(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsxs)("div",{className:"col-lg-4 col-12",children:[(0,tw.jsx)(oM,{title:r("Locations.Card.Address"),titleClassName:o,street1:t.street1,street2:t.street2,city:t.city,state:t.state,postalCode:t.postalCode}),oS(t)&&(0,tw.jsx)("div",{className:"pt-4 d-none d-lg-block",children:(0,tw.jsx)(o1,{result:t,titleClassName:o})})]}),(0,tw.jsx)(o4,{title:r("Locations.Card.PhoneNumber"),titleClassName:o,phoneNumber:t.marketedPrimaryPhoneNumber,className:"col-lg-4 col-12 pt-lg-0 pt-4"}),(0,tw.jsx)("div",{className:"col-lg-3 pt-lg-0 pt-4",children:(0,tw.jsx)(oW,{buttonOrder:[d,m,v,s,c,u],buttonProps:{WebCheckInButton:{kind:"secondary",size:"small"},VirtualVisitButton:{kind:"secondary",size:"small"}},result:t,cardButtonsClassName:"me-2 mb-lg-2 w-lg-100",viewOnMapUrl:"".concat(mp).concat(t.facilityId)})}),oS(t)&&(0,tw.jsx)("div",{className:"pt-4 d-lg-none",children:(0,tw.jsx)(o1,{result:t,titleClassName:o})})]})]})},mh=e=>{var l,t,n,i,a,o,r,s,d,c;let{fields:u,dataTestId:m,params:v}=e,{t:p}=(0,tB.QT)(),f=(0,tT.u)(),{erWaitTimeStampWithDate:h}=(0,io.u)(),{setSearchParams:x,searchParams:g,isSearchLoading:y,locationResults:j,fetchError:N,onPageChange:b,onSortChange:w,searchErrors:L}=tk.useContext(mc),{sitecoreContext:{siteAttributes:{isCorporate:C}}}=(0,tL.u)(),S=(null===(l=u.facilityTypes)||void 0===l?void 0:l.map(e=>({value:e,label:e})))||[],k=tk.useCallback(e=>{var l;let t=!!(e.address&&e.latitude&&e.longitude),n=!!(e.radius&&t),i={};(null==e?void 0:e.specialtySelect)&&(i.taxonomy_terms=[null==e?void 0:e.specialtySelect]),(null==e?void 0:null===(l=e.facilityTypeSelect)||void 0===l?void 0:l.length)&&(i.marketed_secondary_types_names=[null==e?void 0:e.facilityTypeSelect]),null==x||x({...g,page:1,sort:"",address:null==e?void 0:e.address,locationName:null==e?void 0:e.facilityNameSearch,latitude:t?e.latitude:void 0,longitude:t?e.longitude:void 0,filters:i,radius:n?e.radius:void 0})},[g,x]);if(f)return(0,tw.jsx)(tE.qw,{kind:"warning",label:"DT-34 - Find A Care Location Section:",children:(0,tw.jsx)("p",{children:"Backend data for FindCareLocationSection will not display in Page Editor. Data will display on Front End"})});let M=!!(!y&&g&&Object.keys(g).length>0),{FacilityNameSearch:D,LocationSearch:T,FacilityTypeSelect:I,SpecialtySelect:E,RadiusSelect:A,SubmitButton:_,Divider:F}=ot,P=(0,tw.jsx)(og,{className:"neu-bg-gray-0 py-2 px-3",locationSearchFormSubmit:k,config:{formFieldOrder:[D,F,T,I,E,A,_],[_]:{buttonClassName:"w-100",neuButtonProps:{color:C?"support":"main",icon:"search"}},[I]:{facilityOptions:S,useMultiSelect:!0}}}),{startingHeadingTag:O}=sD(v),z=h&&(null==u?void 0:null===(t=u.subHeading)||void 0===t?void 0:t.value)&&(null==u?void 0:null===(n=u.subHeading)||void 0===n?void 0:n.value.includes("{timestamp}"))?{value:null==u?void 0:u.subHeading.value.replace("{timestamp}",h)}:null==u?void 0:u.subHeading;return(0,tw.jsxs)(tE.IS,{className:"container mt-6 mb-3","data-test-id":m,children:[(0,tw.jsxs)(tE.IS.Header,{children:[(null==u?void 0:null===(i=u.headline)||void 0===i?void 0:i.value)&&(0,tw.jsx)(tD,{tag:O,className:"neu-display-2 fw-medium",field:u.headline}),(null==u?void 0:u.subHeading)&&(0,tw.jsx)(tE.qw,{kind:"info",className:"py-1 mb-2",children:(0,tw.jsx)(sS,{field:z})})]}),(0,tw.jsx)(sG,{className:"pt-0",onPageChange:M?b:void 0,dividerClassName:M?void 0:"d-none",counter:M?(0,tw.jsx)(is,{contentTitleClassName:"d-flex align-items-center pt-lg-0 pt-2",count:null!==(s=null==j?void 0:j.total)&&void 0!==s?s:0,start:null!==(d=null==j?void 0:null===(a=j.page)||void 0===a?void 0:a.start)&&void 0!==d?d:0,end:null!==(c=null==j?void 0:null===(o=j.page)||void 0===o?void 0:o.end)&&void 0!==c?c:0,displaySize:aP,onSortChange:w,sort:(null==g?void 0:g.sort)||"",isLoading:y,hideTitle:!0,className:"pb-0",sortOptions:[{value:"",label:p("Search.Distance")},{value:"marketedfacilityname_s:asc",label:p("Locations.Search.Form.Sort.AZ")}]}):void 0,errors:L,failureToFetchError:N,noResultsTitle:p("Locations.Search.NoResults"),noResultsDescription:p("Locations.Search.TryAgain"),totalResults:M&&(null==j?void 0:j.total)?null==j?void 0:j.total:0,hasResults:!!y||!M||!j||(null==j?void 0:j.total)!==0,currentPage:null==j?void 0:null===(r=j.page)||void 0===r?void 0:r.current,display:parseInt(aP),rightContentClassName:(0,sT.Z)("col-sm-12 col-lg-8 px-0 px-lg-2 overflow-y-lg-scroll overflow-x-lg-hidden h-320-lg",y&&"d-flex align-items-center justify-content-center"),leftContentClassName:"col-sm-12 col-lg-4 px-0 pe-lg-2",leftContent:P,listItems:y?(0,tw.jsx)(tE.$V,{kind:"spinner",size:"large",className:"h-100 align-items-center"}):M?null==j?void 0:j.results.map(e=>(0,tw.jsx)(mf,{result:e},e.facilityId)):(0,tw.jsx)(md,{desktopImage:null==u?void 0:u.desktopImage,description:null==u?void 0:u.description,mobileImage:null==u?void 0:u.mobileImage})})]})},mx=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(mu,{children:(0,tw.jsx)(mh,{fields:l,dataTestId:null==t?void 0:t.componentName,params:n})})};let mg={title:"Add a Flip Card Item to Flip Cards Block",tooltip:"Add a Flip Card Item",templateId:"{DDA270F1-CA03-4882-AB77-47289BEC9157}",fieldId:"{2EE8460A-8F0C-48F8-BF76-6065C15CDB2B}",renderingId:"{AF02D315-0DD5-4955-8629-293C493FD8F8}",countField:"flipCards"};var my=t(9858),mj=t.n(my);let mN=e=>{var l,t,n;let{fields:i,params:a}=e,{t:o}=(0,tB.QT)(),[r,s]=tk.useState(!1),{getRelativeHeadingTag:d}=sD(a),c=()=>{s(!r)},u=(0,sT.Z)("".concat(mj().flipCardInner," w-100 h-100 position-relative"),{[mj().isFlipped]:r}),m={"Primary Darker":"main","Secondary Dark":"support",White:"plain"}[null==i?void 0:null===(l=i.cardColor)||void 0===l?void 0:l.value]||"plain",v="plain"===m?"neu-text-plain-100":"neu-text-plain-0",p="plain"===m?"primary":"tertiary-plain",f="plain"===m;return(0,tw.jsx)("div",{className:"col-12 col-lg-4 mb-5 px-3 min-h-256",children:(0,tw.jsx)("div",{className:"".concat(mj().flipCard," w-100 h-100"),children:(0,tw.jsxs)("div",{className:u,children:[(0,tw.jsx)("div",{className:"".concat(mj().flipCardFront," position-absolute w-100 h-100 d-flex flex-column justify-content-center align-items-center"),children:(0,tw.jsxs)(tE.IS,{kind:"elevated",className:"h-100",children:[i.image&&(0,tw.jsx)(ok.o,{field:i.image,className:"object-fit-cover rounded-top position-relative h-100 w-100"}),(0,tw.jsx)(tE.IS.Header,{className:"d-flex flex-row justify-content-between",children:(0,tw.jsx)(tD,{tag:d(),className:"neu-display-4 font-bold neu-text-primary",field:null==i?void 0:i.frontTitle})}),(0,tw.jsx)(tE.IS.Footer,{className:"justify-content-start",children:(0,tw.jsx)(tE.Yu,{kind:"secondary",icon:"info",iconPosition:"end",onClick:c,className:"w-100",children:o("PageContent.FlipCards.Click")})})]})}),(0,tw.jsx)("div",{className:"".concat(mj().flipCardBack," position-absolute w-100 h-100 d-flex flex-column justify-content-center align-items-center"),children:(0,tw.jsxs)(tE.IS,{color:m,kind:"elevated",className:"h-100 w-100 justify-content-between",children:[(0,tw.jsxs)(tE.IS.Header,{className:"d-flex flex-row justify-content-between cursor-pointer",onClick:c,children:[(0,tw.jsx)(tD,{tag:d(),className:"neu-display-4 font-bold ".concat(v),field:null==i?void 0:i.backTitle}),(0,tw.jsx)(tE.at,{name:"arrow_3",css:f,primary:"plain"})]}),(null==i?void 0:null===(t=i.description)||void 0===t?void 0:t.value)&&(0,tw.jsx)(tE.IS.Content,{className:"max-h-144 overflow-auto",children:(0,tw.jsx)(tD,{tag:"p",field:null==i?void 0:i.description,className:v})}),(0,tw.jsx)(tE.IS.Footer,{className:"justify-content-start pt-5",children:i.backCallToActionButton&&(null===(n=i.backCallToActionButton.value)||void 0===n?void 0:n.href)&&(0,tw.jsx)(tA,{kind:p,className:"w-100",field:i.backCallToActionButton})})]})})]})})})};var mb=sA(e=>{let{flipCards:l,params:t}=e;return(0,tw.jsx)("div",{className:"row justify-content-center",children:l.map((e,l)=>(0,tw.jsx)(mN,{fields:e.fields,params:t},l))})},mg);let mw=e=>{var l,t;let{fields:n,rendering:i,params:a}=e,{startingHeadingTag:o}
57=sD(a),{isDarkBackground:r}=sl();return(0,tw.jsxs)(sa,{title:n.title,headingLevel:o,titleClassName:"fw-bold neu-display-2",description:n.description,children:[(0,tw.jsx)(mb,{flipCards:null==n?void 0:n.flipCards,rendering:i,params:a}),(null===(t=n.callToActionButton)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.href)&&(0,tw.jsx)(tA,{field:n.callToActionButton,kind:r?"tertiary-plain":"primary",className:"w-50 w-md-25 m-auto"})]})};var mL=(0,sf.C)()(mw),mC="4214625";let mS={Format:"Format",M:"Month",D:"Day",Y:"Year",H:"Hour",I:"Min",S:"Sec",A:"AM/PM"};function mk(e){let l=!!e.querySelector(".fsError"),t=e.querySelectorAll(".fsCell"),n={user_agent:navigator.userAgent};for(let e=0;e<t.length;e+=1){let l=t[e],i=l.id.replace("fsCell","field_"),a=l.getAttribute("fs-field-type"),o=l.querySelectorAll("input, textarea, select");if(!t[e].classList.contains("fsHidden")){if("datetime"===a){let e="",l="",t=[],a=!1,r=!1,s=!1,d=!1,c=!1;for(let e=0;e<o.length;e+=1){let n=o[e],i=n.name,u=n.value,m=i.substring(i.length-1);if(i.indexOf("Format")>-1)t=(n.getAttribute("data-date-format")||"").toUpperCase().replace("F","M").replace("YY","Y").split("");else if(!n.classList.contains("fsCalendarPickerLink")){if("M"===m||"D"===m||"Y"===m){if(u){a=!0;for(let e=0;e<t.length;e+=1)t[e]===m&&(t[e]=u)}else s=!0,n.disabled&&(c=!0)}else u?(r=!0,"H"===m?l+=u:"I"===m||"S"===m?l+=":".concat(u):"A"===m&&(l+=" ".concat(u))):d=!0}}if(a&&s)throw Error("Not all date fields are filled");if(t.forEach(l=>{e+=l}),r&&d)throw Error("Not all time fields are filled");if(!c){let t="".concat(e," ").concat(l);n[i]=t.trim()}}else for(let e=0;e<o.length;e+=1){let l=o[e];if(l.name&&l.value){let e=l.name,t=l.value,a=l.type;if(e.indexOf("-")>-1){let l=e.split("-")[1];n[i]||(n[i]={}),n[i][l]=t}else"radio"===a?l.checked&&(n[i]=l.value):"checkbox"===a?l.checked&&(n[i]?n[i]+="\n".concat(l.value):n[i]=l.value):n[i]=t}}}}return[n,l]}function mM(){return new Promise(e=>{if("complete"===document.readyState){e();return}window.addEventListener("load",()=>{e()})})}function mD(e){let l=[];return{scripts:Array.from(e).map(e=>{let t=document.createElement("script");e.src&&t.setAttribute("src",e.src),t.async=!1,t.innerHTML=e.innerHTML;let n=new Promise((e,l)=>{if(!t.hasAttribute("src")){e();return}t.onload=()=>{e()},t.onerror=()=>{l()}});return l.push(n),t}),scriptsLoaded:Promise.all(l)}}function mT(e){if(!e)throw Error("Formstack form element isn't found");let l=e.querySelectorAll('[fs-field-type="datetime"] select');for(let e=0;e<l.length;e+=1){let t=l[e],n=t.name.substring(t.name.length-1,t.name.length);t.options[0].innerText=mS[n]}}function mI(e){if(!e)return;let l=e.querySelectorAll("#fsUserAgent");l.length>1&&l[1].remove()}let mE="fs:form-error",mA="fs:page-change";function m_(e,l,t){let n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!0,t),l.dispatchEvent(n)}var mF=function(e,l){e&&(n||i||(n=window.Formstack.Form.prototype.showError,i=window.Formstack.Form.prototype.changePage),window.Formstack.Form.prototype.showError=function(l,t){return window.clearTimeout(this.__fsShowErrorTimer),this.__fsShowErrorTimer=window.setTimeout(()=>{let t=document.createElement("div");t.innerHTML=l,m_(mE,e,t.innerText.replace(/\r?\n|\r|\s+/g," "))},32),n.call(this,l,t)},window.Formstack.Form.prototype.changePage=function(t,n){let a=i.call(this,t,n);return m_(mA,e,{formName:l,prevPage:t,nextPage:this.currentPage}),a})},mP=e=>{let{formHtml:l,onFormError:t,onLoad:n,onPageChange:i,onSubmit:a}=e,o=tk.useRef(null),r=tk.useRef({onLoad:n,onFormError:t,onPageChange:i});return r.current={onLoad:n,onFormError:t,onPageChange:i},tk.useEffect(()=>{let{current:e}=o;if(!e||!l)return()=>{};let{current:t}=r,n=new DOMParser().parseFromString(l,"text/html"),i=n.head.getElementsByTagName("link"),{scripts:a,scriptsLoaded:s}=mD(n.scripts);Array.from(n.scripts).forEach(e=>e.remove());let d=document.createDocumentFragment();d.append(...Array.from(i)),d.append(...Array.from(n.body.childNodes)),d.append(...a),e.appendChild(d);let c=n.title,u=e=>{t.onFormError&&t.onFormError(e.detail)},m=e=>{t.onPageChange&&t.onPageChange(e.detail)};return mM().then(()=>s).then(()=>{let l=null==e?void 0:e.querySelector(".fsForm");mF(l,c),t.onLoad&&t.onLoad(l,c),t.onFormError&&l&&l.addEventListener(mE,u,!1),t.onFormError&&l&&l.addEventListener(mA,m,!1),window.loadFormstack(),mT(l),mI(l)}),()=>{let l=null==e?void 0:e.querySelector(".fsForm");l&&(l.removeEventListener(mE,u,!1),l.removeEventListener(mA,m,!1))}},[o,l]),tk.useEffect(()=>{let{current:e}=o,l=null==e?void 0:e.querySelector(".fsForm");if(!l)return;let t=e=>(e.preventDefault(),setTimeout(()=>{let[e,t]=mk(l);!t&&a&&a(e)},200),!1);return l.addEventListener("submit",t),()=>{l.removeEventListener("submit",t)}},[o,a]),(0,tw.jsx)("div",{className:"fsBody",ref:o})};let mO=e=>{let{postForm:l,error:t}=nG(e),[n,i]=(0,tk.useState)(!1),[a,o]=(0,tk.useState)(!1);return{isLoading:n,submitFormData:(0,tk.useCallback)(async e=>{i(!0);let n=document.querySelector(".fsSubmitButton"),r=e=>{n&&(n.disabled=e)};r(!0);try{await l(e),r(!1),o(!a)}catch(e){console.log("Caught error:",e),console.log("postFormError:",t),r(!1)}finally{i(!1)}},[a,l,t]),isFormHidden:a}};function mz(e){var l;let{fields:t,rendering:n}=e,i=(0,tT.u)();tk.useEffect(()=>{var e;if(!i&&(null==t?void 0:null===(e=t.formId)||void 0===e?void 0:e.value)===mC){let e=document.querySelector(".fsSubmitButton");e.style.visibility="hidden",document.addEventListener("formStackShowSubmit",()=>{e.style.visibility="visible"}),document.addEventListener("formStackHideSubmit",()=>{e.style.visibility="hidden"})}},[null==t?void 0:t.formId,i]);let{submitFormData:a,isFormHidden:o}=mO(null==t?void 0:null===(l=t.formId)||void 0===l?void 0:l.value),r=(0,tk.useMemo)(()=>{var e;return(null==t?void 0:t.form)?null===(e=JSON.parse(JSON.parse('"'.concat(null==t?void 0:t.form,'"'))))||void 0===e?void 0:e.html:null},[null==t?void 0:t.form]),s=e=>{a(e)};return i?(null==t?void 0:t.message)?(0,tw.jsx)(tE.qw,{kind:"warning",label:"Alert Label",children:(0,tw.jsx)("p",{children:null==t?void 0:t.message})}):(0,tw.jsx)(sU.Z,{height:70,count:4}):(0,tw.jsx)("div",{"data-test-id":null==n?void 0:n.componentName,children:o?(0,tw.jsxs)("div",{className:"d-flex flex-column align-items-center justify-content-center",children:[(0,tw.jsx)(tE.JK,{color:"green-60",name:"check_circle",size:"3x",className:"pb-2"}),(null==t?void 0:t.thankyouMessage)&&(0,tw.jsx)(sS,{className:"d-flex flex-column align-items-center justify-content-center text-center",field:null==t?void 0:t.thankyouMessage})]}):(0,tw.jsx)(mP,{formHtml:r,onSubmit:s})})}var mR=(0,sf.C)()(mz);function mB(e){let{fields:l}=e;return(0,tw.jsx)("p",{children:l.blockDescription.value})}var mU=(0,sf.C)()(mB);let mH="9",mZ="1",mQ="gme",mY=function(){var e,l,t,n,i;let{...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{sitecoreContext:o}=(0,tL.u)(),r=(null==o?void 0:null===(e=o.route)||void 0===e?void 0:e.itemId)?"{".concat(null==o?void 0:null===(l=o.route)||void 0===l?void 0:l.itemId,"}"):"",s=null!==(n=null==o?void 0:null===(t=o.site)||void 0===t?void 0:t.name)&&void 0!==n?n:"",d=null!==(i=null==o?void 0:o.language)&&void 0!==i?i:ay,[c,u]=tk.useState({...a}),m={pageId:r,sc_lang:d,sc_site:s,page:mZ,display:mH,...c,specialties:c.specialties&&c.specialties.length?c.specialties:void 0},v=du().stringify(m,{arrayFormat:"repeat"});return{...(0,ag.ZP)(Object.keys(m).length>0?["".concat(aj).concat(mQ,"?").concat(v)]:null,tH.f,{keepPreviousData:!0}),setGmeSearchParameter:u,gmeSearchParameter:c}},m$=(e,l)=>{var t,n;let i=null==e?void 0:e.find(e=>e.type===l);return null!==(n=null==i?void 0:null===(t=i.specialties)||void 0===t?void 0:t.map(e=>({label:e,value:e})))&&void 0!==n?n:[]},mq=tk.createContext({}),{Provider:mW}=mq,mV=e=>{var l,t,n,i;let{children:a,gmePrograms:o,defaultSelectedType:r,defaultRequest:s}=e,{data:d,gmeSearchParameter:c,setGmeSearchParameter:u,isValidating:m,error:v}=mY({}),{query:p,isReady:f}=(0,ix.useRouter)(),h=tk.useRef(!1),[x,g]=tk.useState(!1),y=tk.useMemo(()=>({page:1,display:9,types:[null!=r?r:"Residency"],...null!=s?s:{}}),[s,r]),j=tk.useCallback(e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>e.split("|")).map(e=>
57e.trim()).filter(Boolean):[],[]),N=tk.useMemo(()=>j(p.types),[p.types,j]),b=tk.useMemo(()=>j(p.specialties),[p.specialties,j]),w=tk.useMemo(()=>N.length>0||b.length>0?{...y,...N.length>0?{types:N}:{},...b.length>0?{specialties:b}:{},page:p.page||1}:y,[N,b,y,p.page]),[L,C]=tk.useState(w),[S,k]=tk.useState(m$(o,null!==(i=null!==(n=null===(l=L.types)||void 0===l?void 0:l[0])&&void 0!==n?n:r)&&void 0!==i?i:"Residency")),[M,D]=tk.useState((null==L?void 0:L.specialties)?null==S?void 0:S.filter(e=>{var l;return null==L?void 0:null===(l=L.specialties)||void 0===l?void 0:l.includes(e.value)}):[]);tk.useEffect(()=>{f&&!h.current&&(h.current=!0,C(w),g(!0))},[f,w]);let T=e=>{C(l=>({...l,page:1,types:[e],specialties:[]}))};tk.useEffect(()=>{var e,l;k(m$(o,null!==(l=null===(e=L.types)||void 0===e?void 0:e[0])&&void 0!==l?l:"Residency"))},[null===(t=L.types)||void 0===t?void 0:t[0],o]),tk.useEffect(()=>{var e;let l=null!==(e=null==L?void 0:L.specialties)&&void 0!==e?e:[],t=l.length?S.filter(e=>l.includes(e.value)):[];D(e=>{if(!Array.isArray(e)||0===e.length||x)return t;let l=new Set(e.map(e=>e.value)),n=new Set(t.map(e=>e.value));return l.size===n.size&&[...n].every(e=>l.has(e))?e:t})},[null==L?void 0:L.specialties,S,x]);let I=e=>{C(l=>({...l,specialties:e,page:1}))},[E,A]=tk.useState("");tk.useEffect(()=>{var e,l;A(du().stringify({page:L.page,types:null===(e=L.types)||void 0===e?void 0:e.join("|"),specialties:(null===(l=L.specialties)||void 0===l?void 0:l.length)?L.specialties.join("|"):void 0},{addQueryPrefix:!0,encoder(e,l,t,n){let i=String(e);return"value"===n?encodeURIComponent(i).replace(/%7C/gi,"|"):encodeURIComponent(i)}}))},[L]);let _=v instanceof Error?null==v?void 0:v.message:"";return(0,tw.jsx)(mW,{value:{isInitialized:x,data:d,failureToFetchError:_,isValidating:m,setGmeSearchParameter:u,gmeSearchParameter:c,gmeTempParams:L,setGmeTempParams:C,gmePrograms:o,specialtyOptions:S,setSpecialtyOptions:k,handleSpecialtyChange:I,handleTypeChange:T,specialties:M,setSpecialties:D,queryParameters:E,defaultSelectedType:r},children:a})};var mG=mq,mJ=e=>{var l;let{onSubmit:t}=e,{t:n}=(0,tB.QT)(),{specialtyOptions:i,handleTypeChange:a,handleSpecialtyChange:o,gmePrograms:r,specialties:s,setSpecialties:d,gmeTempParams:c,isInitialized:u}=(0,tk.useContext)(mG);return(0,tw.jsxs)("div",{className:"d-flex row flex-wrap",children:[(0,tw.jsx)("div",{className:"col-lg-4 col-xl-3 pe-2 pb-lg-0 pb-2",children:(0,tw.jsx)("div",{className:"d-flex flex-row",children:(0,tw.jsx)(tE.BF,{required:!0,label:n("GME.Search.AreYouInterested"),onNeuChange:e=>{d&&d([]),a&&a(e.value)},value:null==c?void 0:null===(l=c.types)||void 0===l?void 0:l[0],children:(0,tw.jsx)("div",{className:"d-flex flex-row gap-2 horizontal-radio-buttons",children:null==r?void 0:r.map(e=>{var l;return(0,tw.jsx)(tE.BF.Item,{label:e.type,value:e.type,className:"d-flex flex-row gap-2",checked:e.type===(null==c?void 0:null===(l=c.types)||void 0===l?void 0:l[0])},e.type)})})})})}),(0,tw.jsx)("div",{className:"d-flex align-items-end col-12 col-xl-6 col-lg-5",children:(0,tw.jsx)(tE.j8,{clear:!0,setSelected:d,value:s,className:"w-100 pb-0 mb-0 optional-none",kind:"multiple",items:i,label:n("GME.Search.SelectSpecialty"),onNeuChange:e=>{o&&o(e.value)}},u?"initialized":"pending")}),t?(0,tw.jsx)("div",{className:"col-lg-3 col-xl-3 col-12 d-flex align-items-center pt-3",children:(0,tw.jsx)(tE.Yu,{type:"submit",className:"w-100",onNeuClick:t,children:n("Common.Search")})}):null]})},mK=e=>{let{item:l,index:t}=e,{t:n}=(0,tB.QT)(),i=(t+1)%3!=0?"pe-2":void 0,a=(0,tw.jsxs)(tE.IS,{interactive:!1,className:"rounded w-100",children:[(null==l?void 0:l.imageUrl)?(0,tw.jsx)(oG.U,{className:"ratio-16x9 w-100 position-relative",field:{href:null==l?void 0:l.url},tabIndex:-1,"aria-hidden":"true",children:(0,tw.jsx)(ok.o,{field:{alt:"".concat(null==l?void 0:l.type," ").concat(l.specialty),src:null==l?void 0:l.imageUrl,stylelabsContentType:"Image"},fill:!0,className:"rounded-top object-fit-cover"})}):null,(0,tw.jsxs)(tE.IS.Content,{className:"text-start pb-3",children:[l.specialty&&(0,tw.jsx)("p",{className:"mb-2",children:l.specialty}),l.locationName&&(0,tw.jsx)(oG.U,{className:"neu-display-6 fw-medium mb-2",field:{href:null==l?void 0:l.url},children:l.locationName}),l.city||l.state?(0,tw.jsx)("p",{className:"mb-2",children:[l.city,l.state].filter(
57Boolean).join(", ")}):null,(null==l?void 0:l.email)&&(0,tw.jsxs)("div",{className:"d-flex flex-row align-items-center mb-2",children:[(0,tw.jsx)(tE.JK,{name:"mail",color:"main",className:"pe-1"}),(0,tw.jsx)(oG.U,{field:{text:n("GME.Card.ContactUs"),href:"mailto:".concat(l.email)},className:"neu-display-7 fw-medium"})]}),void 0!==l.positionAccepted?(0,tw.jsxs)("div",{className:"d-flex row align-items-center",children:[(0,tw.jsx)(tE.JK,{name:"star",color:"main",className:"w-auto pe-1"}),(0,tw.jsx)("p",{className:"fw-medium w-auto px-0 mb-0",children:n("GME.Card.PositionsAccepted",{positions:l.positionAccepted})})]}):null]})]});return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:(0,sT.Z)("col-lg-4 py-2 d-none d-lg-flex align-items-lg-stretch",i),children:a}),(0,tw.jsx)("div",{className:"col-lg-4 py-2 d-flex d-lg-none align-items-lg-stretch w-100",children:a})]})},mX=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f;let{dataTestId:h,fields:x}=e,{t:g}=(0,tB.QT)(),{data:y,setGmeSearchParameter:j,failureToFetchError:N,isValidating:b,gmeTempParams:w,setGmeTempParams:L,specialties:C,handleSpecialtyChange:S,queryParameters:k,defaultSelectedType:M}=(0,tk.useContext)(mG),{isReady:D,asPath:T,replace:I}=(0,ix.useRouter)(),E=!D,A=null!==(p=x.defaultRequest)&&void 0!==p?p:{page:1,display:9};tk.useEffect(()=>{j&&w&&j(w)},[w,j]),tk.useEffect(()=>{if(!E){let e=T.split("?")[0],l="".concat(e).concat(k);l!==T&&I(l,void 0,{shallow:!0})}},[k,E,T,I]);let{onPageChange:_}=dd({params:null!=w?w:{},setParams:L,defaultParams:A}),F=(0,tw.jsx)("div",{className:"d-flex flex-row flex-wrap px-0",children:null==y?void 0:null===(t=y.data)||void 0===t?void 0:null===(l=t.results)||void 0===l?void 0:l.map((e,l)=>b?(0,tw.jsx)("div",{className:"col-12 col-lg-4 mb-3 mb-lg-6 py-3 px-3",children:(0,tw.jsx)(sU.Z,{height:200,className:"mb-3"})},l):(0,tw.jsx)(mK,{index:l,item:e},"".concat(e.locationName).concat(e.url)))}),P=null==y?void 0:null===(n=y.data)||void 0===n?void 0:n.total,O=null==y?void 0:null===(a=y.data)||void 0===a?void 0:null===(i=a.page)||void 0===i?void 0:i.start,z=null==y?void 0:null===(r=y.data)||void 0===r?void 0:null===(o=r.page)||void 0===o?void 0:o.end,R={number:P&&O!==z?"".concat(O,"-").concat(z):"".concat(z),specialty:(null==C?void 0:C.length)===1?null===(s=C[0])||void 0===s?void 0:s.value:"",program:null!==(f=null==w?void 0:null===(d=w.types)||void 0===d?void 0:d[0])&&void 0!==f?f:M},B=P?g("GME.Search.ShowingOf",{...R,total:P}):g("GME.Search.Showing",R),U=C&&(null==C?void 0:C.length)>0&&(0,tw.jsx)("div",{className:"d-flex flex-wrap col-lg-4 col-xl-3 pt-2 pt-lg-0",children:null==C?void 0:C.map(e=>(0,tw.jsx)(tE.on,{className:"me-2 mb-2",color:"blue",kind:"removable",tab:!0,onNeuChange:()=>{let l=(null!=C?C:[]).filter(l=>l.value!==e.value).map(e=>e.value);null==S||S(l)},children:e.value},e.value))});return E?(0,tw.jsx)(tE.$V,{kind:"spinner",size:"large",className:"h-100 align-items-center py-3"}):(0,tw.jsxs)(sa,{dataTestId:h,conditionalWrapclassName:"px-lg-0",className:"px-0",children:[b?(0,tw.jsx)(sU.Z,{width:400,height:50,className:"mb-4"}):(0,tw.jsx)("h2",{className:"pb-0 pt-3 pt-lg-0 fw-medium pb-6 neu-display-3",children:B}),(0,tw.jsx)(mJ,{}),U,(0,tw.jsx)(sG,{variant:"gray",className:"pt-3",leftContentClassName:"d-none",rightContentClassName:"col-12 px-0",conditionalWrapclassName:"pt-0 pt-lg-3 px-0",dividerClassName:"d-none",onPageChange:_,listItems:F,currentPage:null==y?void 0:null===(u=y.data)||void 0===u?void 0:null===(c=u.page)||void 0===c?void 0:c.current,totalResults:null!=P?P:0,display:Number(mH),hasResults:!!(null==y?void 0:null===(v=y.data)||void 0===v?void 0:null===(m=v.results)||void 0===m?void 0:m.length),errors:null==y?void 0:y.errors,failureToFetchError:N,isValidating:b,noResultsTitle:g("Locations.Search.NoResults"),noResultsDescription:g("Locations.Search.TryAgain"),centeredErrorMessage:!0})]})},m0=e=>{let{rendering:l,fields:t}=e;return(0,tw.jsx)(mV,{gmePrograms:t.gmePrograms,defaultSelectedType:t.selectedType,defaultRequest:t.defaultRequest,children:(0,tw.jsx)(mX,{dataTestId:l.componentName,fields:t})})},m1=e=>{let{dataTestId:l,fields:t}=e,{t:n}=(0,tB.QT)(),{queryParameters:i,gmePrograms:a}=(0,tk.useContext)(mG),o=t.searchPageLink?t.searchPageLink:"".concat(ig().asPath,"/search"),r=tk.useCallback(()=>{ig().push("".concat(o).concat(i))},[o,i]);return(0,tT.u)()?(0,tw.jsx)(tE.qw,{kind:"warning",label:"DT-13 - GME Program Search Block:",children:(0,tw.jsx)("p",{children:"Backend data for GmeProgramSearchBlock will not display in Page Editor. Data will display on Front End"})}):(0,tw.jsx)(sa,{variant:"white",dataTestId:l,children:(0,tw.jsxs)("div",{className:"p-3 px-lg-5",children:[(0,tw.jsxs)("div",{className:"d-flex flex-row align-items-center gap-3 pb-4",children:[(0,tw.jsx)("div",{className:"d-lg-none",children:(0,tw.jsx)(tE.at,{name:"hospital",size:"2x",css:!1})}),(0,tw.jsx)("div",{className:"d-none d-lg-block",children:(0,tw.jsx)(tE.at,{name:"hospital",size:"3x",css:!1})}),(0,tw.jsx)("p",{className:"neu-display-3",children:n("GME.Search.Title")})]}),(0,tw.jsx)(mJ,{gmePrograms:a,onSubmit:r})]})})},m4=e=>{var l,t;let{rendering:n,fields:i}=e;return(0,tw.jsx)(mV,{gmePrograms:null!==(l=i.gmePrograms)&&void 0!==l?l:[],defaultSelectedType:null!==(t=i.selectedType)&&void 0!==t?t:"Residency",children:(0,tw.jsx)(m1,{dataTestId:n.componentName,fields:i})})},m3=e=>{var l;let{programs:t=[]}=e,[n,i]=(0,tk.useState)((null===(l=t[0])||void 0===l?void 0:l.type)||""),a=(0,tk.useMemo)(()=>Object.fromEntries(t.map(e=>[e.type,e.links])),[t]);return a&&n&&(null==a?void 0:a[n])?(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"row",children:(0,tw.jsx)(tE.dG,{value:n,onNeuChange:e=>{let{value:l}=e;return i(l)},children:Object.keys(a).map(e=>(0,tw.jsx)(tE.dG.Item,{value:e,className:"col col-lg-auto justify-content-center",children:e},e))})}),(0,tw.jsx)("ul",{className:"row list-none p-0 mb-0",children:a[n].map(e=>{let{name:l,url:t}=e;return(0,tw.jsxs)("li",{className:"col-lg-6",children:[(0,tw.jsx)(oG.U,{href:t,className:"fw-bold text-decoration-underline",children:l}),(0,tw.jsx)(tS,{color:"gray-30"})]},"".concat(n,"-").concat(l))})},n)]}):null};function m5(e){var l,t,n;let{fields:i,rendering:a,params:o}
57=e,r=(0,tT.u)(),{isDarkBackground:s,contentAccessibilityClassNames:d}=sl();if(!r&&!i)return null;let{startingHeadingTag:c}=sD(o);return(0,tw.jsxs)(sa,{dataTestId:null==a?void 0:a.componentName,className:d,children:[(null===(l=i.blockHeadline)||void 0===l?void 0:l.value)&&(0,tw.jsx)(tD,{field:i.blockHeadline,tag:c,className:"neu-display-4 fw-bold mx-auto mx-lg-0"}),i.gmePrograms&&i.gmePrograms.length>0&&(0,tw.jsx)(m3,{programs:i.gmePrograms}),(null===(t=i.blockDescription)||void 0===t?void 0:t.value)&&(0,tw.jsx)(tD,{field:i.blockDescription,tag:"span",className:"neu-text-body col-lg-5 text-center mx-auto"}),(null===(n=i.primaryLink)||void 0===n?void 0:n.value)&&(0,tw.jsx)(tA,{field:i.primaryLink,className:"col-12 col-lg-5 mx-auto",kind:s?"tertiary-plain":"secondary"})]})}var m2=(0,sf.C)()(m5);let m6={horizontal:{full:"w-100 top-0 bottom-0 left-0 right-0",top:"w-100 h-50 top-0",middle:"w-100 h-50 top-25 bottom-25 left-0 right-0",bottom:"w-100 h-50 bottom-0",none:"w-100 h-100 top-0"},vertical:{left:"w-50 h-100 top-0 left-0","rounded-left":"w-50 h-100 top-0 left-0",middle:"w-50 h-100 top-0 left-25 right-25 py-3",right:"w-50 h-100 top-0 right-0","rounded-right":"w-50 h-100 top-0 right-0"},textAlignment:{left:"text-start",middle:"text-center",right:"text-end"},textPosition:{top:"d-flex h-100 align-top",bottom:"d-flex h-100 align-items-end",middle:"d-flex h-100 w-100 align-items-center"},ctaPosition:{left:"text-start",middle:"text-center",right:"text-end"}},m9=e=>{let l="w-50 h-100 right-0 top-0",t="text-start",n="",i="d-flex justify-content-start",a="text-start",o="w-75";if(null==e?void 0:e.horizontal){let t=null==e?void 0:e.horizontal;l=null==m6?void 0:m6.horizontal[t]}else if(null==e?void 0:e.vertical){let t=null==e?void 0:e.vertical;l=null==m6?void 0:m6.vertical[t]}if(null==e?void 0:e.textAlignment){let l=null==e?void 0:e.textAlignment;t=null==m6?void 0:m6.textAlignment[l]}if(null==e?void 0:e.textPosition){let l=null==e?void 0:e.textPosition;n=null==m6?void 0:m6.textPosition[l]}if(((null==e?void 0:e.vertical)==="left"||(null==e?void 0:e.vertical)==="rounded-left")&&(i="d-flex justify-content-end"),((null==e?void 0:e.vertical)==="right"||(null==e?void 0:e.vertical)==="rounded-right")&&(i="d-flex justify-content-start"),null==e?void 0:e.ctaPosition){let l=null==e?void 0:e.ctaPosition;a=null==m6?void 0:m6.ctaPosition[l]}return((null==e?void 0:e.vertical)==="left"||(null==e?void 0:e.vertical)==="rounded-left")&&(o="w-75 margin-right-auto"),((null==e?void 0:e.vertical)==="right"||(null==e?void 0:e.vertical)==="rounded-right")&&(o="w-75"),((null==e?void 0:e.vertical)==="middle"||(null==e?void 0:e.horizontal)==="full"||(null==e?void 0:e.horizontal)==="middle"||(null==e?void 0:e.horizontal)==="bottom"||(null==e?void 0:e.horizontal)==="top"||(null==e?void 0:e.horizontal)==="none"&&(null==e?void 0:e.vertical)==="none")&&(o="container"),{overlayStyle:l,textAlignment:t,textPosition:n,ctaPosition:a,contentWrapperClass:o,textPositionWithVerticalBannerClass:i}};var m8=t(9274),m7=t.n(m8),ve=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h;let{buttonClassName:x,ctaPositionClassName:g,fields:y,heroImage:j,isLargeHeading:N=!1,overlayClassName:b,overlayContentClassName:w,textAlignmentClassName:L,textPositionClassName:C,contentWrapperClass:S}=e,{sitecoreContext:k}=(0,tL.u)(),M=null==k?void 0:k.pageEditing,D=null==y?void 0:null===(l=y.graphicLogo)||void 0===l?void 0:l.value,T=null!==(h=null==y?void 0:null===(t=y.textColor)||void 0===t?void 0:t.value)&&void 0!==h?h:"color-white",I=(null==k?void 0:null===(i=k.theme)||void 0===i?void 0:null===(n=i.entityBrandingOverrides)||void 0===n?void 0:n.heroBannerOverlay)||"main-70",E=(null==k?void 0:null===(o=k.theme)||void 0===o?void 0:null===(a=o.entityBrandingOverrides)||void 0===a?void 0:a.heroBannerButtons)||"primary";return(0,tw.jsxs)("div",{className:"position-relative h-100",children:[M?(0,tw.jsx)("div",{style:{backgroundImage:"url(".concat((null==j?void 0:null===(r=j.value)||void 0===r?void 0:r.src)||"",")")},className:(0,sT.Z)("w-100 h-100 position-absolute",m7().backgroundImage)}):(0,tw.jsx)(ok.o,{field:j,priority:!0,fill:!0,className:"object-fit-cover",sizes:"100vw"}),(null==y?void 0:null===(s=y.overlay)||void 0===s?void 0:s.horizontal)!=="none"?(0,tw.jsx)("div",{className:(0,sT.Z)(b,"neu-bg-".concat(I
57),m7().opacity,"position-absolute")}):null,(0,tw.jsx)("div",{className:(0,sT.Z)(w,"p-lg-5 p-4"),children:(0,tw.jsx)("div",{className:C,children:(0,tw.jsxs)("div",{className:S,children:[(null==D?void 0:D.src)&&Object.keys(D).length>0||M?(0,tw.jsx)("div",{className:(0,sT.Z)(L,"p-1"),children:(0,tw.jsx)(ok.o,{loading:"eager",priority:!0,fill:!0,field:D,className:"object-fit-contain position-relative max-w-80"})}):null,(0,tw.jsx)(tD,{field:null==y?void 0:y.heroTitle,tag:"h2",className:(0,sT.Z)(N?"neu-display-1":"neu-display-3",L,T,"color-white fw-bold pb-3 mx-1")}),(null==y?void 0:null===(d=y.heroDescription)||void 0===d?void 0:d.value)?(0,tw.jsx)(tD,{field:null==y?void 0:y.heroDescription,tag:"p",className:(0,sT.Z)(L,T,"color-white fw-bold mb-2 mx-1")}):null,(0,tw.jsxs)("div",{className:g,children:[(null==y?void 0:null===(u=y.heroLink)||void 0===u?void 0:null===(c=u.value)||void 0===c?void 0:c.href)?(0,tw.jsx)(tA,{field:null==y?void 0:y.heroLink,className:(0,sT.Z)(x,(null==y?void 0:null===(v=y.secondaryLink)||void 0===v?void 0:null===(m=v.value)||void 0===m?void 0:m.href)?"me-lg-2 me-0":"me-0","ms-0"),color:"support",kind:E}):null,(null==y?void 0:null===(f=y.secondaryLink)||void 0===f?void 0:null===(p=f.value)||void 0===p?void 0:p.href)?(0,tw.jsx)(tA,{field:null==y?void 0:y.secondaryLink,className:(0,sT.Z)(x,"ms-0 me-0"),color:"support",kind:E}):null]})]})})})]})},vl=e=>{var l,t,n,i,a,o,r,s,d;let{fields:c,heroImage:u,isLargeHeading:m=!1}=e,{sitecoreContext:v}=(0,tL.u)(),p=null==v?void 0:v.pageEditing,f=null==c?void 0:null===(l=c.graphicLogo)||void 0===l?void 0:l.value,h="neu-text-main-100";return(0,tw.jsxs)("div",{className:(0,sT.Z)("position-relative h-100 ",m7().mobileRatio),children:[(0,tw.jsx)("div",{style:{backgroundImage:"url(".concat((null==u?void 0:null===(t=u.value)||void 0===t?void 0:t.src)||"",")")},className:(0,sT.Z)("w-100 h-100  position-absolute pb-5",m7().backgroundImage)}),(0,tw.jsx)("div",{className:"d-flex align-items-end h-100 flex-wrap",children:(0,tw.jsxs)("div",{className:" w-100 position-relative",children:[(0,tw.jsx)("div",{className:(0,sT.Z)("neu-bg-plain-10 position-absolute top-0 start-0 z-1 w-100 h-100",m7().corpOpacity)}),(0,tw.jsxs)("div",{className:"position-relative d-flex flex-column flex-lg-row align-items-center container py-lg-5 z-2",children:[(0,tw.jsxs)("div",{className:"mt-4 mt-lg-0 text-center text-lg-start",children:[(null==f?void 0:f.src)&&Object.keys(f).length>0||p?(0,tw.jsx)("div",{className:"p-1",children:(0,tw.jsx)(ok.o,{loading:"eager",priority:!0,fill:!0,field:f,className:"object-fit-contain position-relative max-w-80"})}):null,(0,tw.jsx)(tD,{field:null==c?void 0:c.heroTitle,tag:"h2",className:(0,sT.Z)(m?"neu-display-1":"neu-display-3",h,"fw-bold pb-3 mx-1")}),(null==c?void 0:null===(n=c.heroDescription)||void 0===n?void 0:n.value)?(0,tw.jsx)(tD,{field:null==c?void 0:c.heroDescription,tag:"p",className:(0,sT.Z)(h," fw-bold mb-2 mx-1")}):null]}),(null==c?void 0:null===(a=c.heroLink)||void 0===a?void 0:null===(i=a.value)||void 0===i?void 0:i.href)?(0,tw.jsx)("div",{className:(0,sT.Z)("col-lg-3 d-flex justify-content-center align-items-center my-3",m7().corpHeroButton),children:(0,tw.jsx)(tA,{field:null==c?void 0:c.heroLink,className:"text-center",kind:"secondary"})}):null,(null==c?void 0:null===(r=c.secondaryLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href)?(0,tw.jsx)("div",{className:(0,sT.Z)("position-absolute align-self-lg-start",m7().corpSecondaryButton),children:(0,tw.jsx)(tA,{field:null==c?void 0:c.secondaryLink,kind:"tertiary-plain",children:(0,tw.jsxs)("div",{className:"d-flex align-items-center gap-2 neu-text-main-100",children:[null==c?void 0:null===(d=c.secondaryLink)||void 0===d?void 0:null===(s=d.value)||void 0===s?void 0:s.text,(0,tw.jsx)(tE.at,{css:!1,name:"arrow_right",primary:"orange"})]})})}):null]})]})})]})};let vt=e=>{var l,t;let{fields:n,rendering:i,params:a}=e,o=null==n?void 0:n.heroBackgroundImage,r=(null==n?void 0:null===(t=n.heroBackgroundImageMobile)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src)?null==n?void 0:n.heroBackgroun
57dImageMobile:o,s=(null==a?void 0:a.isSmallHeading)==="0",{overlayStyle:d,textAlignment:c,textPosition:u,ctaPosition:m,contentWrapperClass:v,textPositionWithVerticalBannerClass:p}=m9(null==n?void 0:n.overlay),{sitecoreContext:{siteAttributes:{isCorporate:f}}}=(0,tL.u)();return f?(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{"data-test-id":null==i?void 0:i.componentName,className:"d-lg-none",children:(0,tw.jsx)(vl,{heroImage:r,isLargeHeading:s,fields:n})}),(0,tw.jsx)("div",{"data-test-id":null==i?void 0:i.componentName,className:(0,sT.Z)("w-100 d-none d-lg-block h-320"),children:(0,tw.jsx)(vl,{heroImage:o,isLargeHeading:s,fields:n})})]}):(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{"data-test-id":null==i?void 0:i.componentName,className:(0,sT.Z)("d-lg-none"),children:(0,tw.jsx)(ve,{heroImage:r,overlayContentClassName:"position-relative",overlayClassName:"w-100 h-100",isLargeHeading:s,buttonClassName:"w-100 mt-3 mt-1 mx-1 text-center",fields:n,contentWrapperClass:"container"})}),(0,tw.jsx)("div",{"data-test-id":null==i?void 0:i.componentName,className:(0,sT.Z)("w-100 d-none d-lg-block h-240"),children:(0,tw.jsx)(ve,{heroImage:o,overlayClassName:d,overlayContentClassName:(0,sT.Z)(d,"position-absolute"),textPositionClassName:(0,sT.Z)(u,p),textAlignmentClassName:c,ctaPositionClassName:m,isLargeHeading:s,fields:n,buttonClassName:"mt-1 mx-1 text-center",contentWrapperClass:v})})]})};var vn=(0,sf.C)()(vt),vi=t(6054),va=t.n(vi);let vo="languageLabel";var vr=e=>{let{fields:l,onSelect:t,className:n}=e,i=Object.entries(l).filter(e=>{let[l]=e;return l.startsWith(vo)}).sort((e,l)=>{let[t]=e,[n]=l;return t.includes("English")?-1:t.includes("Spanish")?n.includes("English")?1:-1:n.includes("English")||n.includes("Spanish")?1:0});return(0,tw.jsx)("div",{className:(0,sT.Z)("d-flex flex-wrap justify-content-end",n),children:i.map((e,l)=>{let[n,a]=e;return(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsx)(oG.U,{field:{value:{href:"#",text:a.value}},onClick:e=>{e.preventDefault(),t(n.replace(vo,""))}}),l<i.length-1&&(0,tw.jsx)(tS,{type:"vertical",margin:"2",color:"gray-30",className:"h-auto"})]},n)})})};let vs=e=>{let{fields:l,rendering:t,params:n}=e,[i,a]=tk.useState(l.formTextEnglish),o=tk.useCallback(()=>{if(!window||!document)return;let e=document.querySelectorAll(".btn"),l=[];return e.forEach(e=>{if(e.classList.replace("btn","neu-button"),e.classList.contains("btn-default")&&e.classList.add("kind-primary","color-main","size-default"),e.classList.contains("btn-print")){let t=e=>{(e instanceof MouseEvent||e instanceof KeyboardEvent&&("Enter"===e.key||" "===e.key))&&(e instanceof KeyboardEvent&&e.preventDefault(),window.print())};e.addEventListener("click",t),e.addEventListener("keydown",t),l.push(()=>{e.removeEventListener("click",t),e.removeEventListener("keydown",t)})}}),()=>{l.forEach(e=>e())}},[]),r=tk.useCallback(()=>{window&&document&&document.querySelectorAll(".material-icons").forEach(e=>{e.classList.add("neu-icon")})},[]),s=e=>{a(l["formText".concat(e)])};tk.useEffect(()=>{o(),r()},[o,r,i]);let d=(null==n?void 0:n.backgroundStyle)||"white";return(0,tw.jsxs)(sa,{dataTestId:t.componentName,variant:d,children:[(0,tw.jsx)(vr,{fields:l,onSelect:s,className:"align-self-end neu-text-caption"}),(0,tw.jsx)(tR.H,{field:i,className:va().hipaaConsentFormContent})]})};var vd=(0,sf.C)()(vs);let vc=e=>{let{fields:l,rendering:t,params:n}=e,{startingHeadingTag:i}=sD(n),{contentAccessibilityClassNames:a}=sl(),o=l.locations.map((e,l)=>(0,tw.jsx)("li",{className:"mb-4",children:(0,tw.jsx)(oG.U,{field:{href:e.url,text:e.locationName},className:"fw-medium"})},"".concat(e.url,"-").concat(l))),r=Math.ceil(l.locations.length/2),s=o.splice(r);return(0,tw.jsx)(sa,{dataTestId:t.componentName,title:l.title,headingLevel:i,titleClassName:"neu-display-2 fw-medium",variant:null==n?void 0:n.backgroundStyle,children:(0,tw.jsx)(sI,{left:(0,tw.jsx)("ul",{className:"mb-0",children:o}),right:(0,tw.jsx)("ul",{className:"mb-0",children:s}),className:(0,sT.Z)("justify-content-around",a),leftColumnClassName:"col-12 w-lg-auto",rightColumnClassName:"col-12 w-lg-auto"})})};var vu=(0,sf.C)()(vc),vm=e=>{let{products:l}=e;return(null==l?void 0:l.length)?(0,tw.jsx)("ul",{className:"mt-3 ms-3",children:l.map(e=>(0,tw.jsx)("li",{children:e.ProductName},"insurance-item-".concat(e.ProductName,"}")))}):null},vv=e=>{let{insuranceProviders:l}=e;return(null==l?void 0:l.length)?(0,tw.jsx)(tw.Fragment,{children:l.map(e=>(null==e?void 0:e.IsActive)?(0,tw.jsxs)("div",{children:[e.PayerUrl?(0,tw.jsx)(oG.U,{field:{value:{href:e.PayerUrl,text:e.PayerName,target:"_blank"}}}):(0,tw.jsx)("p",{children:e.PayerName}),(0,tw.jsx)(vm,{products:e.Products})]},"insurance-provider-".concat(e.PayerName)):null)}):null};let vp=e=>{var l,t,n,i,a,o;let{fields:r,rendering:s,params:d}=e,c=(0,tT.u)(),{t:u}=(0,tB.QT)(),[m,v]=(0,tk.useState)((null==r?void 0:r.isMultiFacility)?[]:null!==(o=null==r?void 0:null===(t=r.insuranceFeed)||void 0===t?void 0:null===(l=t.FeedData)||void 0===l?void 0:l.Payers)&&void 0!==o?o:[]),{startingHeadingTag:p}
57=sD(d),{isDarkBackground:f,contentAccessibilityClassNames:h}=sl();if(tk.useEffect(()=>{var e,l,t,n,i,a,o;(null==r?void 0:r.isMultiFacility)&&(null==r?void 0:r.marketInsuranceFeeds)&&(null==r?void 0:r.marketInsuranceFeeds.length)>1?v([]):(null==r?void 0:r.marketInsuranceFeeds)&&(null==r?void 0:null===(e=r.marketInsuranceFeeds)||void 0===e?void 0:e.length)===1?v(null!==(n=null===(t=r.marketInsuranceFeeds[0])||void 0===t?void 0:null===(l=t.FeedData)||void 0===l?void 0:l.Payers)&&void 0!==n?n:[]):v(null!==(o=null==r?void 0:null===(a=r.insuranceFeed)||void 0===a?void 0:null===(i=a.FeedData)||void 0===i?void 0:i.Payers)&&void 0!==o?o:[])},[null==r?void 0:r.isMultiFacility,null==r?void 0:r.marketInsuranceFeeds,null==r?void 0:r.insuranceFeed]),((null==r?void 0:r.isMultiFacility)?!(null==r?void 0:null===(n=r.marketInsuranceFeeds)||void 0===n?void 0:n.length):!(null==r?void 0:r.insuranceFeed))&&!c)return null;!r.insuranceFeed&&c&&tE.qw;let x=m.filter(e=>!0===e.IsActive),g=(()=>{if(x.length<10)return{left:m};let e=Math.floor((null==m?void 0:m.length)/2);return{left:m.slice(0,e),right:m.slice(e)}})(),y=e=>{var l,t,n;let i=null===(l=r.marketInsuranceFeeds)||void 0===l?void 0:l.find(l=>{var t;return(null===(t=l.FeedData)||void 0===t?void 0:t.FacilityName)===e});v(null!==(n=null==i?void 0:null===(t=i.FeedData)||void 0===t?void 0:t.Payers)&&void 0!==n?n:[])};return(0,tw.jsxs)(sa,{title:r.title,dataTestId:null==s?void 0:s.componentName,headingLevel:p,titleClassName:"neu-display-2 mb-5",children:[r.isMultiFacility&&r.marketInsuranceFeeds&&(null===(i=r.marketInsuranceFeeds)||void 0===i?void 0:i.length)>1?(0,tw.jsx)("div",{className:(0,sT.Z)("col-12 col-md-6 mb-5",f?"neu-bg-plain-0 p-2 rounded":"pb-3"),children:(0,tw.jsx)(tE.j8,{multiple:!1,kind:"single",label:u("Locations.Facilities.SelectLocation"),onNeuChange:e=>y(e.value),required:!0,items:null==r?void 0:null===(a=r.marketInsuranceFeeds)||void 0===a?void 0:a.map(e=>({label:e.FeedData.FacilityName,value:e.FeedData.FacilityName})),filter:!0})}):null,!m.length&&c?(0,tw.jsx)(tE.qw,{kind:"warning",label:"DT-35 - Insurance Plan: No Data Found",children:(0,tw.jsx)("p",{children:"No Insurance Plans found"})}):(0,tw.jsx)(sI,{left:(0,tw.jsx)(vv,{insuranceProviders:null==g?void 0:g.left}),right:(0,tw.jsx)(vv,{insuranceProviders:null==g?void 0:g.right}),className:h})]})};var vf=(0,sf.C)()(vp);function vh(e){let{fields:l}=e;return(0,tw.jsx)("p",{children:l.title.value})}var vx=(0,sf.C)()(vh);let vg=(0,tk.createContext)(void 0),vy=()=>{let e=tk.useContext(vg);if(!e)throw Error("useUnitedStatesMapContext must be used within a UnitedStatesMapContextProvider!");return e};var vj=e=>{var l;let{children:t,areas:n}=e,[i,a]=(0,tk.useState)(1===n.length?null===(l=n[0])||void 0===l?void 0:l.id:void 0);return tk.useEffect(()=>{var e;let l=n.map(e=>e.id),t=1===n.length?null===(e=n[0])||void 0===e?void 0:e.id:void 0;a(e=>e&&l.includes(e)?e:t)},[n]),(0,tw.jsx)(vg.Provider,{value:{areas:n,selectedAreaId:i,setSelectedAreaId:a},children:t})},vN=e=>{let{children:l,headline:t,hideSelect:n,icon:i,items:a,onSelect:o,selectLabel:r,selectedValue:s}=e;return(0,tw.jsxs)("div",{children:[(null==t?void 0:t.value)||i?(0,tw.jsxs)("div",{className:"d-flex gap-2 mb-4 align-items-center",children:[i,(0,tw.jsx)(tD,{tag:"h4",className:"fw-bold",field:t})]}):null,n?null:(0,tw.jsx)(tE.j8,{label:r,items:a,name:r,clear:!0,required:!0,onNeuChange:e=>{o(e.value)},value:s?a.find(e=>e.value===s):void 0}),l]})},vb=t(8828),vw=t(562),vL=t(5384);let vC=JSON.parse('{"type":"FeatureCollection","features":[{"type":"Feature","id":"01","properties":{"name":"Alabama","abbreviation":"AL"},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]}},{"type":"Feature","id":"02","properties":{"name":"Alaska","abbreviation":"AK"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-131.602021,55.117982],[-131.569159,55.28229],[-131.355558,55.183705],[-131.38842,55.01392],[-131.645836,55.035827],[-131.602021,55.117982]]],[[[-131.832052,5
575.42469],[-131.645836,55.304197],[-131.749898,55.128935],[-131.832052,55.189182],[-131.832052,55.42469]]],[[[-132.976733,56.437924],[-132.735747,56.459832],[-132.631685,56.421493],[-132.664547,56.273616],[-132.878148,56.240754],[-133.069841,56.333862],[-132.976733,56.437924]]],[[[-133.595627,56.350293],[-133.162949,56.317431],[-133.05341,56.125739],[-132.620732,55.912138],[-132.472854,55.780691],[-132.4619,55.671152],[-132.357838,55.649245],[-132.341408,55.506844],[-132.166146,55.364444],[-132.144238,55.238474],[-132.029222,55.276813],[-131.97993,55.178228],[-131.958022,54.789365],[-132.029222,54.701734],[-132.308546,54.718165],[-132.385223,54.915335],[-132.483808,54.898904],[-132.686455,55.046781],[-132.746701,54.997489],[-132.916486,55.046781],[-132.889102,54.898904],[-132.73027,54.937242],[-132.626209,54.882473],[-132.675501,54.679826],[-132.867194,54.701734],[-133.157472,54.95915],[-133.239626,55.090597],[-133.223195,55.22752],[-133.453227,55.216566],[-133.453227,55.320628],[-133.277964,55.331582],[-133.102702,55.42469],[-133.17938,55.588998],[-133.387503,55.62186],[-133.420365,55.884753],[-133.497042,56.0162],[-133.639442,55.923092],[-133.694212,56.070969],[-133.546335,56.142169],[-133.666827,56.311955],[-133.595627,56.350293]]],[[[-133.738027,55.556137],[-133.546335,55.490413],[-133.414888,55.572568],[-133.283441,55.534229],[-133.420365,55.386352],[-133.633966,55.430167],[-133.738027,55.556137]]],[[[-133.907813,56.930849],[-134.050213,57.029434],[-133.885905,57.095157],[-133.343688,57.002049],[-133.102702,57.007526],[-132.932917,56.82131],[-132.620732,56.667956],[-132.653593,56.55294],[-132.817901,56.492694],[-133.042456,56.5200
5778],[-133.201287,56.448878],[-133.420365,56.492694],[-133.66135,56.448878],[-133.710643,56.684386],[-133.688735,56.837741],[-133.869474,56.843218],[-133.907813,56.930849]]],[[[-134.115936,56.48174],[-134.25286,56.558417],[-134.400737,56.722725],[-134.417168,56.848695],[-134.296675,56.908941],[-134.170706,56.848695],[-134.143321,56.952757],[-133.748981,56.772017],[-133.710643,56.596755],[-133.847566,56.574848],[-133.935197,56.377678],[-133.836612,56.322908],[-133.957105,56.092877],[-134.110459,56.142169],[-134.132367,55.999769],[-134.230952,56.070969],[-134.291198,56.350293],[-134.115936,56.48174]]],[[[-134.636246,56.28457],[-134.669107,56.169554],[-134.806031,56.235277],[-135.178463,56.67891],[-135.413971,56.810356],[-135.331817,56.914418],[-135.424925,57.166357],[-135.687818,57.369004],[-135.419448,57.566174],[-135.298955,57.48402],[-135.063447,57.418296],[-134.849846,57.407343],[-134.844369,57.248511],[-134.636246,56.728202],[-134.636246,56.28457]]],[[[-134.712923,58.223407],[-134.373353,58.14673],[-134.176183,58.157683],[-134.187137,58.081006],[-133.902336,57.807159],[-134.099505,57.850975],[-134.148798,57.757867],[-133.935197,57.615466],[-133.869474,57.363527],[-134.083075,57.297804],[-134.154275,57.210173],[-134.499322,57.029434],[-134.603384,57.034911],[-134.6472,57.226604],[-134.575999,57.341619],[-134.608861,57.511404],[-134.729354,57.719528],[-134.707446,57.829067],[-134.784123,58.097437],[-134.91557,58.212453],[-134.953908,58.409623],[-134.712923,58.223407]]],[[[-135.857603,57.330665],[-135.715203,57.330665],[-135.567326,57.149926],[-135.633049,57.023957],[-135.857603,56.996572],[-135.824742,57.193742],[-135.857603,57.330665]]],[[[-136.279328,58.206976],[-135.978096,58.201499],[-135.780926,58.28913],[-135.496125,58.168637],[-135.64948,58.037191],[-135.59471,57.987898],[-135.45231,58.135776],[-135.107263,58.086483],[-134.91557,57.976944],[-135.025108,57.779775],[-134.937477,57.763344],[-134.822462,57.500451],[-135.085355,57.462112],[-135.572802,57.675713],[-135.556372,57.456635],[-135.709726,57.369004],[-135.890465,57.407343],[-136.000004,57.544266],[-136.208128,57.637374],[-136.366959,57.829067],[-136.569606,57.916698],[-136.558652,58.075529],[-136.421728,58.130299],[-136.377913,58.267222],[-136.279328,58.206976]]],[[[-147.079854,60.200582],[-147.501579,59.948643],[-147.53444,59.850058],[-147.874011,59.784335],[-147.80281,59.937689],[-147.435855,60.09652],[-147.205824,60.271782],[-147.079854,60.200582]]],[[[-147.561825,60.578491],[-147.616594,60.370367],[-147.758995,60.156767],[-147.956165,60.227967],[-147.791856,60.474429],[-147.561825,60.578491]]],[[[-147.786379,70.245291],[-147.682318,70.201475],[-147.162008,70.15766],[-146.888161,70.185044],[-146.510252,70.185044],[-146.099482,70.146706],[-145.858496,70.168614],[-145.622988,70.08646],[-145.195787,69.993352],[-144.620708,69.971444],[-144.461877,70.026213],[-144.078491,70.059075],[-143.914183,70.130275],[-143.497935,70.141229],[-143.503412,70.091936],[-143.25695,70.119321],[-142.747594,70.042644],[-142.402547,69.916674],[-142.079408,69.856428],[-142.008207,69.801659],[-141.712453,69.790705],[-141.433129,69.697597],[-141.378359,69.63735],[-141.208574,69.686643],[-141.00045,69.648304],[-141.00045,60.304644],[-140.53491,60.22249],[-140.474664,60.310121],[-139.987216,60.184151],[-139.696939,60.342983],[-139.088998,60.359413],[-139.198537,60.091043],[-139.045183,59.997935],[-138.700135,59.910304],[-138.623458,59.767904],[-137.604747,59.242118],[-137.445916,58.908024],[-137.265177,59.001132],[-136.827022,59.159963],[-136.580559,59.16544],[-136.465544,59.285933],[-136.476498,59.466672],[-136.301236,59.466672],[-136.25742,59.625503],[-135.945234,59.663842],[-135.479694,59.800766],[-135.025108,59.565257],[-135.068924,59.422857],[-134.959385,59.280456],[-134.701969,59.247595],[-134.378829,59.033994],[-134.400737,58.973748],[-134.25286,58.858732],[-133.842089,58.727285],[-133.173903,58.152206],[-133.075318,57.998852],[-132.867194,57.845498],[-132.560485,57.505928],[-132.253777,57.21565],[-132.368792,57.095157],[-132.05113,57.051341],[-132.127807,56.876079],[-131.870391,56.804879],[-131.837529,56.602232],[-131.580113,56.613186],[-131.087188,56.405062],[-130.78048,56.366724],[-130.621648,56.268139],[-130.468294,56.240754],[-130.424478,56.142169],[-130.101339,56.114785],[-130.002754,55.994292],[-130.150631,55.769737],[-130.128724,55.583521],[-129.986323,55.276813],[-130.095862,55.200136],[-130.336847,54.920812],[-130.687372,54.718165],[-130.785957,54.822227],[-130.917403,54.789365],[-131.010511,54.997489],[-130.983126,55.08512],[-131.092665,55.189182],[-130.862634,55.298721],[-130.928357,55.337059],[-131.158389,55.200136],[-131.284358,55.287767],[-131.426759,55.238474],[-131.843006,55.457552],[-131.700606,55.698537],[-131.963499,55.616383],[-131.974453,55.49589],[-132.182576,55.588998],[-132.226392,55.704014],[-132.083991,55.829984],[-132.127807,55.955953],[-132.324977,55.851892],[-132.522147,56.076446],[-132.642639,56.032631],[
57-132.719317,56.218847],[-132.527624,56.339339],[-132.341408,56.339339],[-132.396177,56.487217],[-132.297592,56.67891],[-132.450946,56.673433],[-132.768609,56.837741],[-132.993164,57.034911],[-133.51895,57.177311],[-133.507996,57.577128],[-133.677781,57.62642],[-133.639442,57.790728],[-133.814705,57.834544],[-134.072121,58.053622],[-134.143321,58.168637],[-134.586953,58.206976],[-135.074401,58.502731],[-135.282525,59.192825],[-135.38111,59.033994],[-135.337294,58.891593],[-135.140124,58.617746],[-135.189417,58.573931],[-135.05797,58.349376],[-135.085355,58.201499],[-135.277048,58.234361],[-135.430402,58.398669],[-135.633049,58.426053],[-135.91785,58.382238],[-135.912373,58.617746],[-136.087635,58.814916],[-136.246466,58.75467],[-136.876314,58.962794],[-136.931084,58.902547],[-136.586036,58.836824],[-136.317666,58.672516],[-136.213604,58.667039],[-136.180743,58.535592],[-136.043819,58.382238],[-136.388867,58.294607],[-136.591513,58.349376],[-136.59699,58.212453],[-136.859883,58.316515],[-136.947514,58.393192],[-137.111823,58.393192],[-137.566409,58.590362],[-137.900502,58.765624],[-137.933364,58.869686],[-138.11958,59.02304],[-138.634412,59.132579],[-138.919213,59.247595],[-139.417615,59.379041],[-139.746231,59.505011],[-139.718846,59.641934],[-139.625738,59.598119],[-139.5162,59.68575],[-139.625738,59.88292],[-139.488815,59.992458],[-139.554538,60.041751],[-139.801,59.833627],[-140.315833,59.696704],[-140.92925,59.745996],[-141.444083,59.871966],[-141.46599,59.970551],[-141.706976,59.948643],[-141.964392,60.019843],[-142.539471,60.085566],[-142.873564,60.091043],[-143.623905,60.036274],[-143.892275,59.997935],[-144.231845,60.140336],[-144.65357,60.206059],[-144.785016,60.29369],[-144.834309,60.441568],[-145.124586,60.430614],[-145.223171,60.299167],[-145.738
57004,60.474429],[-145.820158,60.551106],[-146.351421,60.408706],[-146.608837,60.238921],[-146.718376,60.397752],[-146.608837,60.485383],[-146.455483,60.463475],[-145.951604,60.578491],[-146.017328,60.666122],[-146.252836,60.622307],[-146.345944,60.737322],[-146.565022,60.753753],[-146.784099,61.044031],[-146.866253,60.972831],[-147.172962,60.934492],[-147.271547,60.972831],[-147.375609,60.879723],[-147.758995,60.912584],[-147.775426,60.808523],[-148.032842,60.781138],[-148.153334,60.819476],[-148.065703,61.005692],[-148.175242,61.000215],[-148.350504,60.803046],[-148.109519,60.737322],[-148.087611,60.594922],[-147.939734,60.441568],[-148.027365,60.277259],[-148.219058,60.332029],[-148.273827,60.249875],[-148.087611,60.217013],[-147.983549,59.997935],[-148.251919,59.95412],[-148.399797,59.997935],[-148.635305,59.937689],[-148.755798,59.986981],[-149.067984,59.981505],[-149.05703,60.063659],[-149.204907,60.008889],[-149.287061,59.904827],[-149.418508,59.997935],[-149.582816,59.866489],[-149.511616,59.806242],[-149.741647,59.729565],[-149.949771,59.718611],[-150.031925,59.61455],[-150.25648,59.521442],[-150.409834,59.554303],[-150.579619,59.444764],[-150.716543,59.450241],[-151.001343,59.225687],[-151.308052,59.209256],[-151.406637,59.280456],[-151.592853,59.159963],[-151.976239,59.253071],[-151.888608,59.422857],[-151.636669,59.483103],[-151.47236,59.472149],[-151.423068,59.537872],[-151.127313,59.669319],[-151.116359,59.778858],[-151.505222,59.63098],[-151.828361,59.718611],[-151.8667,59.778858],[-151.702392,60.030797],[-151.423068,60.211536],[-151.379252,60.359413],[-151.297098,60.386798],[-151.264237,60.545629],[-151.406637,60.720892],[-151.06159,60.786615],[-150.404357,61.038554],[-150.245526,60.939969],[-150.042879,60.912584],[-149.741647,61.016646],[-150.075741,61.15357],[-150.207187,61.257632],[-150.47008,61.246678],[-150.656296,61.29597],[-150.711066,61.252155],[-151.023251,61.180954],[-151.165652,61.044031],[-151.477837,61.011169],[-151.800977,60.852338],[-151.833838,60.748276],[-152.080301,60.693507],[-152.13507,60.578491],[-152.310332,60.507291],[-152.392486,60.304644],[-152.732057,60.173197],[-152.567748,60.069136],[-152.704672,59.915781],[-153.022334,59.888397],[-153.049719,59.691227],[-153.345474,59.620026],[-153.438582,59.702181],[-153.586459,59.548826],[-153.761721,59.543349],[-153.72886,59.433811],[-154.117723,59.368087],[-154.1944,59.066856],[-153.750768,59.050425],[-153.400243,58.968271],[-153.301658,58.869686],[-153.444059,58.710854],[-153.679567,58.612269],[-153.898645,58.606793],[-153.920553,58.519161],[-154.062953,58.4863],[-153.99723,58.376761],[-154.145107,58.212453],[-154.46277,58.059098],[-154.643509,58.059098],[-154.818771,58.004329],[-154.988556,58.015283],[-155.120003,57.955037],[-155.081664,57.872883],[-155.328126,57.829067],[-155.377419,57.708574],[-155.547204,57.785251],[-155.73342,57.549743],[-156.045606,57.566174],[-156.023698,57.440204],[-156.209914,57.473066],[-156.34136,57.418296],[-156.34136,57.248511],[-156.549484,56.985618],[-156.883577,56.952757],[-157.157424,56.832264],[-157.20124,56.766541],[-157.376502,56.859649],[-157.672257,56.607709],[-157.754411,56.67891],[-157.918719,56.657002],[-157.957058,56.514601],[-158.126843,56.459832],[-158.32949,56.48174],[-158.488321,56.339339],[-158.208997,56.295524],[-158.510229,55.977861],[-159.375585,55.873799],[-159.616571,55.594475],[-159.676817,55.654722],[-159.643955,55.829984],[-159.813741,55.857368],[-160.027341,55.791645],[-160.060203,55.720445],[-160.394296,55.605429],[-160.536697,55.473983],[-160.580512,55.567091],[-160.668143,55.457552],[-160.865313,55.528752],[-161.232268,55.358967],[-161.506115,55.364444],[-161.467776,55.49589],[-161.588269,55.62186],[-161.697808,55.517798],[-161.686854,55.408259],[-162.053809,55.074166],[-162.179779,55.15632],[-162.218117,55.03035],[-162.470057,55.052258],[-162.508395,55.249428],[-162.661749,55.293244],[-162.716519,55.222043],[-162.579595,55.134412],[-162.645319,54.997489],[-162.847965,54.926289],[-163.00132,55.079643],[-163.187536,55.090597],[-163.220397,55.03035],[-163.034181,54.942719],[-163.373752,54.800319],[-163.14372,54.76198],[-163.138243,54.696257],[-163.329936,54.74555],[-163.587352,54.614103],[-164.085754,54.61958],[-164.332216,54.531949],[-164.354124,54.466226],[
57-164.638925,54.389548],[-164.847049,54.416933],[-164.918249,54.603149],[-164.710125,54.663395],[-164.551294,54.88795],[-164.34317,54.893427],[-163.894061,55.041304],[-163.532583,55.046781],[-163.39566,54.904381],[-163.291598,55.008443],[-163.313505,55.128935],[-163.105382,55.183705],[-162.880827,55.183705],[-162.579595,55.446598],[-162.245502,55.682106],[-161.807347,55.89023],[-161.292514,55.983338],[-161.078914,55.939523],[-160.87079,55.999769],[-160.816021,55.912138],[-160.931036,55.813553],[-160.805067,55.736876],[-160.766728,55.857368],[-160.509312,55.868322],[-160.438112,55.791645],[-160.27928,55.76426],[-160.273803,55.857368],[-160.536697,55.939523],[-160.558604,55.994292],[-160.383342,56.251708],[-160.147834,56.399586],[-159.830171,56.541986],[-159.326293,56.667956],[-158.959338,56.848695],[-158.784076,56.782971],[-158.641675,56.810356],[-158.701922,56.925372],[-158.658106,57.034911],[-158.378782,57.264942],[-157.995396,57.41282],[-157.688688,57.609989],[-157.705118,57.719528],[-157.458656,58.497254],[-157.07527,58.705377],[-157.119086,58.869686],[-158.039212,58.634177],[-158.32949,58.661562],[-158.40069,58.760147],[-158.564998,58.803962],[-158.619768,58.913501],[-158.767645,58.864209],[-158.860753,58.694424],[-158.701922,58.480823],[-158.893615,58.387715],[-159.0634,58.420577],[-159.392016,58.760147],[-159.616571,58.929932],[-159.731586,58.929932],[-159.808264,58.803962],[-159.906848,58.782055],[-160.054726,58.886116],[-160.235465,58.902547],[-160.317619,59.072332],[-160.854359,58.88064],[-161.33633,58.743716],[-161.374669,58.667039],[-161.752577,58.552023],[-161.938793,58.656085],[-161.769008,58.776578],[-161.829255,59.061379],[-161.955224,59.36261],[-161.703285,59.48858],[-161.911409,59.740519],[-162.092148,59.88292],[-162.234548,60.091043],[-162.448149,60.178674],[-162.502918,59.997935],[-162.760334,59.959597],[-163.171105,59.844581],[-163.66403,59.795289],[-163.9324,59.806242],[-164.162431,59.866489],[-164.189816,60.02532],[-164.386986,60.074613],[-164.699171,60.29369],[-164.962064,60.337506],[-165.268773,60.578491],[-165.060649,60.68803],[-165.016834,60.890677],[-165.175665,60.846861],[-165.197573,60.972831],[-165.120896,61.076893],[-165.323543,61.170001],[-165.34545,61.071416],[-165.591913,61.109754],[-165.624774,61.279539],[-165.816467,61.301447],[-165.920529,61.416463],[-165.915052,61.558863],[-166.106745,61.49314],[-166.139607,61.630064],[-165.904098,61.662925],[-166.095791,61.81628],[-165.756221,61.827233],[-165.756221,62.013449],[-165.674067,62.139419],[-165.044219,62.539236],[-164.912772,62.659728],[-164.819664,62.637821],[-164.874433,62.807606],[-164.633448,63.097884],[-164.425324,63.212899],[-164.036462,63.262192],[-163.73523,63.212899],[-163.313505,63.037637],[-163.039658,63.059545],[-162.661749,63.22933],[-162.272887,63.486746],[-162.075717,63.514131],[-162.026424,63.448408],[-161.555408,63.448408],[-161.13916,63.503177],[-160.766728,63.771547],[-160.766728,63.837271],[-160.952944,64.08921],[-160.974852,64.237087],[-161.26513,64.395918],[-161.374669,64.532842],[-161.078914,64.494503],[-160.79959,64.609519],[-160.783159,64.719058],[-161.144637,64.921705],[-161.413007,64.762873],[-161.664946,64.790258],[-161.900455,64.702627],[-162.168825,64.680719],[-162.234548,64.620473],[-162.541257,64.532842],[-162.634365,64.384965],[-162.787719,64.324718],[-162.858919,64.49998],[-163.045135,64.538319],[-163.176582,64.401395],[-163.253259,64.467119],[-163.598306,64.565704],[-164.304832,64.560227],[-164.80871,64.450688],[-165.000403,64.434257],[-165.411174,64.49998],[-166.188899,64.576658],[-166.391546,64.636904],[-166.484654,64.735489],[-166.413454,64.872412],[-166.692778,64.987428],[-166.638008,65.113398],[-166.462746,65.179121],[-166.517516,65.337952],[-166.796839,65.337952],[-167.026871,65.381768],[-167.47598,65.414629],[-167.711489,65.496784],[-168.072967,65.578938],[-168.105828,65.682999],[-167.541703,65.819923],[-166.829701,66.049954],[-166.3313,66.186878],[-166.046499,66.110201],[-165.756221,66.09377],[-165.690498,66.203309],[-165.86576,66.21974],[-165.88219,66.312848],[-165.186619,66.466202],[-164.403417,66.581218],[-163.981692,66.592172],[-163.751661,66.553833],[-163.872153,66.389525],[-163.828338,66.274509],[-163.915969,66.192355],[-163.768091,66.060908],[-163.494244,66.082816],[-163.149197,66.060908],[-162.749381,66.088293],[-162.634365,66.039001],[-162.371472,66.028047],[-162.14144,66.077339],[-161.840208,66.02257],[-161.549931,66.241647],[-161.341807,66.252601],[-161.199406,66.208786],[-161.128206,66.334755],[-161.528023,66.395002],[-161.911409,66.345709],[-161.87307,66.510017],[-162.174302,66.68528],[-162.502918,66.740049],[-162.601503,66.89888],[-162.344087,66.937219],[-162.015471,66.778388],[-162.075717,66.652418],[-161.916886,66.553833],[-161.571838,66.438817],[-161.489684,66.55931],[-161.884024,66.718141],[-161.714239,67.002942],[-161.851162,67.052235],[-162.240025,66.991988],[-162.639842,67.008419],[-162.700088,67.057712],[-162.902735,67.008419],[-163.740707,67.128912],[-163.757138,67.254881],[-164.009077,67.534205],[
57-164.211724,67.638267],[-164.534863,67.725898],[-165.192096,67.966884],[-165.493328,68.059992],[-165.794559,68.081899],[-166.243668,68.246208],[-166.681824,68.339316],[-166.703731,68.372177],[-166.375115,68.42147],[-166.227238,68.574824],[-166.216284,68.881533],[-165.329019,68.859625],[-164.255539,68.930825],[-163.976215,68.985595],[-163.532583,69.138949],[-163.110859,69.374457],[-163.023228,69.609966],[-162.842489,69.812613],[-162.470057,69.982398],[-162.311225,70.108367],[-161.851162,70.311014],[-161.779962,70.256245],[-161.396576,70.239814],[-160.837928,70.343876],[-160.487404,70.453415],[-159.649432,70.792985],[-159.33177,70.809416],[-159.298908,70.760123],[-158.975769,70.798462],[-158.658106,70.787508],[-158.033735,70.831323],[-157.420318,70.979201],[-156.812377,71.285909],[-156.565915,71.351633],[-156.522099,71.296863],[-155.585543,71.170894],[-155.508865,71.083263],[-155.832005,70.968247],[-155.979882,70.96277],[-155.974405,70.809416],[-155.503388,70.858708],[-155.476004,70.940862],[-155.262403,71.017539],[-155.191203,70.973724],[-155.032372,71.148986],[-154.566832,70.990155],[-154.643509,70.869662],[-154.353231,70.8368],[-154.183446,70.7656],[-153.931507,70.880616],[-153.487874,70.886093],[-153.235935,70.924431],[-152.589656,70.886093],[-152.26104,70.842277],[-152.419871,70.606769],[-151.817408,70.546523],[-151.773592,70.486276],[-151.187559,70.382214],[-151.182082,70.431507],[-150.760358,70.49723],[-150.355064,70.491753],[-150.349588,70.436984],[-150.114079,70.431507],[-149.867617,70.508184],[-149.462323,70.519138],[-149.177522,70.486276],[-148.78866,70.404122],[-148.607921,70.420553],[-148.350504,70.305537],[-148.202627,70.349353],[-147.961642,70.316491],[-147.786379,70.245291]]],[[[-152.94018,58.026237],[-152.945657,57.982421],[-153.290705,58.048145],[-153.044242,58.305561],[-152.819688,58.327469],[-152.666333,58.562977],[-152.496548,58.354853],[-152.354148,58.426053],[-152.080301,58.311038],[-152.080301,58.152206],[-152.480117,58.130299],[-152.655379,58.059098],[-152.94018,58.026237]]],[[[-153.958891,57.538789],[-153.67409,57.670236],[-153.931507,57.69762],[-153.936983,57.812636],[-153.723383,57.889313],[-153.570028,57.834544],[-153.548121,57.719528],[-153.46049,57.796205],[-153.455013,57.96599],[-153.268797,57.889313],[-153.235935,57.998852],[-153.071627,57.933129],[-152.874457,57.933129],[-152.721103,57.993375],[-152.469163,57.889313],[-152.469163,57.599035],[-152.151501,57.620943],[-152.359625,57.42925],[-152.74301,57.505928],[-152.60061,57.379958],[-152.710149,57.275896],[-152.907319,57.325188],[-152.912796,57.128019],[-153.214027,57.073249],[-153.312612,56.991095],[-153.498828,57.067772],[-153.695998,56.859649],[-153.849352,56.837741],[-154.013661,56.744633],[-154.073907,56.969187],[-154.303938,56.848695],[-154.314892,56.919895],[-154.523016,56.991095],[-154.539447,57.193742],[-154.742094,57.275896],[-154.627078,57.511404],[-154.227261,57.659282],[-153.980799,57.648328],[-153.958891,57.538789]]],[[[-154.53397,56.602232],[-154.742094,56.399586],[-154.807817,56.432447],[-154.53397,56.602232]]],[[[-155.634835,55.923092],[-155.476004,55.912138],[-155.530773,55.704014],[-155.793666,55.731399],[-155.837482,55.802599],[-155.634835,55.923092]]],[[[-159.890418,55.28229],[-159.950664,55.068689],[-160.257373,54.893427],[-160.109495,55.161797],[-160.005433,55.134412],[-159.890418,55.28229]]],[[[-160.520266,55.358967],[-160.33405,55.358967],[-160.339527,55.249428],[-160.525743,55.128935],[-160.690051,55.211089],[-160.794113,55.134412],[-160.854359,55.320628],[-160.79959,55.380875],[-160.520266,55.358967]]],[[[-162.256456,54.981058],[-162.234548,54.893427],[-162.349564,54.838658],[-162.437195,54.931766],[-162.256456,54.981058]]],[[[-162.415287,63.634624],[-162.563165,63.536039],[-162.612457,63.62367],[-162.415287,63.634624]]],[[[-162.80415,54.488133],[-162.590549,54.449795],[-162.612457,54.367641],[-162.782242,54.373118],[-162.80415,54.488133]]],[[[-165.548097,54.29644],[-165.476897,54.181425],[-165.630251,54.132132],[-165.685021,54.252625],[-165.548097,54.29644]]],[[[-165.73979,54.15404],[-166.046499,54.044501],[-166.112222,54.121178],[-16
575.980775,54.219763],[-165.73979,54.15404]]],[[[-166.364161,60.359413],[-166.13413,60.397752],[-166.084837,60.326552],[-165.88219,60.342983],[-165.685021,60.277259],[-165.646682,59.992458],[-165.750744,59.89935],[-166.00816,59.844581],[-166.062929,59.745996],[-166.440838,59.855535],[-166.6161,59.850058],[-166.994009,59.992458],[-167.125456,59.992458],[-167.344534,60.074613],[-167.421211,60.206059],[-167.311672,60.238921],[-166.93924,60.206059],[-166.763978,60.310121],[-166.577762,60.321075],[-166.495608,60.392275],[-166.364161,60.359413]]],[[[-166.375115,54.01164],[-166.210807,53.934962],[-166.5449,53.748746],[-166.539423,53.715885],[-166.117699,53.852808],[-166.112222,53.776131],[-166.282007,53.683023],[-166.555854,53.622777],[-166.583239,53.529669],[-166.878994,53.431084],[-167.13641,53.425607],[-167.306195,53.332499],[-167.623857,53.250345],[-167.793643,53.337976],[-167.459549,53.442038],[-167.355487,53.425607],[-167.103548,53.513238],[-167.163794,53.611823],[-167.021394,53.715885],[-166.807793,53.666592],[-166.785886,53.732316],[-167.015917,53.754223],[-167.141887,53.825424],[-167.032348,53.945916],[-166.643485,54.017116],[-166.561331,53.880193],[-166.375115,54.01164]]],[[[-168.790446,53.157237],[-168.40706,53.34893],[-168.385152,53.431084],[-168.237275,53.524192],[-168.007243,53.568007],[-167.886751,53.518715],[-167.842935,53.387268],[-168.270136,53.244868],[-168.500168,53.036744],[-168.686384,52.965544],[-168.790446,53.157237]]],[[[-169.74891,52.894344],[-169.705095,52.795759],[-169.962511,52.790282],[-169.989896,52.856005],[-169.74891,52.894344]]],[[[-170.148727,57.221127],[-170.28565,57.128019],[-170.313035,57.221127],[-170.148727,57.221127]]],[[[-170.669036,52.697174],[-170.603313,52.604066],[-170.789529,52.538343],[-170.816914,52.636928],[-170.669036,52.697174]]],[[[-171.742517,63.716778],[-170.94836,63.5689],[-170.488297,63.69487],[-170.280174,63.683916],[-170.093958,63.612716],[-170.044665,63.492223],[-169.644848,63.4265],[-169.518879,63.366254],[-168.99857,63.338869],[-168.686384,63.295053],[-168.856169,63.147176],[-169.108108,63.180038],[-169.376478,63.152653],[-169.513402,63.08693],[-169.639372,62.939052],[-169.831064,63.075976],[-170.055619,63.169084],[-170.263743,63.180038],[-170.362328,63.2841],[-170.866206,63.415546],[-171.101715,63.421023],[-171.463193,63.306007],[-171.73704,63.366254],[-171.852055,63.486746],[-171.742517,63.716778]]],[[[-172.432611,52.390465],[-172.41618,52.275449],[-172.607873,52.253542],[-172.569535,52.352127],[-172.432611,52.390465]]],[[[-173.626584,52.14948],[-173.495138,52.105664],[-173.122706,52.111141],[-173.106275,52.07828],[-173.549907,52.028987],[-173.626584,52.14948]]],[[[-174.322156,52.280926],[-174.327632,52.379511],[-174.185232,52.41785],[-173.982585,52.319265],[-174.059262,52.226157],[-174.179755,52.231634],[-174.141417,52.127572],[-174.333109,52.116618],[-174.738403,52.007079],[-174.968435,52.039941],[-174.902711,52.116618],[-174.656249,52.105664],[-174.322156,52.280926]]],[[[-176.469116,51.853725],[-176.288377,51.870156],[-176.288377,51.744186],[-176.518409,51.760617],[-176.80321,51.61274],[-176.912748,51.80991],[-176.792256,51.815386],[-176.775825,51.963264],[-176.627947,51.968741],[-176.627947,51.859202],[-176.469116,51.853725]]],[[[-177.153734,51.946833],[-177.044195,51.897541],[-177.120872,51.727755],[-177.274226,51.678463],[-177.279703,51.782525],[-177.153734,51.946833]]],[[[-178.123152,51.919448],[-177.953367,51.913971],[-177.800013,51.793479],[-177.964321,51.651078],[-178.123152,51.919448]]],[[[173.107557,52.992929],[173.293773,52.927205],[173.304726,52.823143],[172.90491,52.762897],[172.642017,52.927205],[172.642017,53.003883],[173.107557,52.992929]]]]}},{"type":"Feature","id":"04","properties":{"name":"Arizona","abbreviation":"AZ"},"geometry":{"type":"Polygon","coordinates":[[[-109.042503,37.000263],[-109.04798,31.331629],[-111.074448,31.331629],[-112.246513,31.704061],[-114.815198,32.492741],[-114.72209,32.717295],[-114.524921,32.755634],[-114.470151,32.843265],[-114.524921,33.029481],[-114.661844,33.034958],[-114.727567,33.40739],[-114.524921,33.54979],[-114.497536,33.697668],[-114.535874,33.933176],[-114.415382,34.108438],[-114.256551,34.174162],[-114.136058,34.305608],[-114.333228,34.448009],[-114.470151,34.710902],[-114.634459,34.87521],[-114.634459,35.00118],[-114.574213,35.138103],[-114.596121,35.324319],[-114.678275,35.516012],[-114.738521,36.102045],[-114.371566,36.140383],[-114.251074,36.01989],[-114.152489,36.025367],[-114.048427,36.195153],[-114.048427,37.000263],[-110.499369,37.00574],[-109.042503,37.000263]]]}},{"type":"Feature","id":"05","properties":{"name":"Arkansas","abbreviation":"AR"},"geometry":{"type":"Polygon","coordinates":[[[-94.473842,36.501861],[-90.152536,36.496384],[-90.064905,36.304691],[-90.218259,36.184199],[-90.377091,35.997983],[-89.730812,35.997983],[-89.763673,35.811767],[-89.911551,35.756997],[-89.944412,35.603643],[-90.130628,35.439335],[-90.114197,35.
57198349],[-90.212782,35.023087],[-90.311367,34.995703],[-90.251121,34.908072],[-90.409952,34.831394],[-90.481152,34.661609],[-90.585214,34.617794],[-90.568783,34.420624],[-90.749522,34.365854],[-90.744046,34.300131],[-90.952169,34.135823],[-90.891923,34.026284],[-91.072662,33.867453],[-91.231493,33.560744],[-91.056231,33.429298],[-91.143862,33.347144],[-91.089093,33.13902],[-91.16577,33.002096],[-93.608485,33.018527],[-94.041164,33.018527],[-94.041164,33.54979],[-94.183564,33.593606],[-94.380734,33.544313],[-94.484796,33.637421],[-94.430026,35.395519],[-94.616242,36.501861],[-94.473842,36.501861]]]}},{"type":"Feature","id":"06","properties":{"name":"California","abbreviation":"CA"},"geometry":{"type":"Polygon","coordinates":[[[-123.233256,42.006186],[-122.378853,42.011663],[-121.037003,41.995232],[-120.001861,41.995232],[-119.996384,40.264519],[-120.001861,38.999346],[-118.71478,38.101128],[-117.498899,37.21934],[-116.540435,36.501861],[-115.85034,35.970598],[-114.634459,35.00118],[-114.634459,34.87521],[-114.470151,34.710902],[-114.333228,34.448009],[-114.136058,34.305608],[-114.256551,34.174162],[-114.415382,34.108438],[-114.535874,33.933176],[-114.497536,33.697668],[-114.524921,33.54979],[-114.727567,33.40739],[-114.661844,33.034958],[-114.524921,33.029481],[-114.470151,32.843265],[-114.524921,32.755634],[-114.72209,32.717295],[-116.04751,32.624187],[-117.126467,32.536556],[-117.24696,32.668003],[-117.252437,32.876127],[-117.329114,33.122589],[-117.471515,33.297851],[-117.7837,33.538836],[-118.183517,33.763391],[-118.260194,33.703145],[-118.413548,33.741483],[-118.391641,33.840068],[-118.566903,34.042715],[-118.802411,33.998899],[-119.218659,34.146777],[-119.278905,34.26727],[-119.558229,34.415147],[-119.875891,34.40967],[-120.138784,34.475393],[-120.472878,34.448009],[-120.64814,34.579455],[-120.609801,34.858779],[-120.670048,34.902595],[-120.631709,35.099764],[-120.894602,35.247642],[-120.905556,35.450289],[-121.004141,35.461243],[-121.168449,35.636505],[-121.283465,35.674843],[-121.332757,35.784382],[-121.716143,36.195153],[-121.896882,36.315645],[-121.935221,36.638785],[-121.858544,36.6114],[-121.787344,36.803093],[-121.929744,36.978355],[-122.105006,36.956447],[-122.335038,37.115279],[-122.417192,37.241248],[-122.400761,37.361741],[-122.515777,37.520572],[-122.515777,37.783465],[-122.329561,37.783465],[-122.406238,38.15042],[-122.488392,38.112082],[-122.504823,37.931343],[-122.701993,37.893004],[-122.937501,38.029928],[-122.97584,38.265436],[-123.129194,38.451652],[-123.331841,38.566668],[-123.44138,38.698114],[-123.737134,38.95553],[-123.687842,39.032208],[-123.824765,39.366301],[-123.764519,39.552517],[-123.85215,39.831841],[-124.109566,40.105688],[-124.361506,40.259042],[-124.410798,40.439781],[-124.158859,40.877937],[-124.109566,41.025814],[-124.158859,41.14083],[-124.065751,41.442061],[-124.147905,41.715908],[-124.257444,41.781632],[-124.213628,42.000709],[-123.233256,42.006186]]]}},{"type":"Feature","id":"08","properties":{"name":"Colorado","abbreviation":"CO"},"geometry":{"type":"Polygon","coordinates":[[[-107.919731,41.003906],[-105.728954,40.998429],[-104.053011,41.003906],[-102.053927,41.003906],[-102.053927,40.001626],[-102.042974,36.994786],[-103.001438,37.000263],[-104.337812,36.994786],[-106.868158,36.994786],[-107.421329,37.000263],[-109.042503,37.000263],[-109.042503,38.166851],[-109.058934,38.27639],[-109.053457,39.125316],[-109.04798,40.998429],[-107.919731,41.003906]]]}},{"type":"Feature","id":"09","properties":{"name":"Connecticut","abbreviation":"CT"},"geometry":{"type":"Polygon","coordinates":[[[-73.053528,42.039048],[-71.799309,42.022617],[-71.799309,42.006186],[-71.799309,41.414677],[-71.859555,41.321569],[-71.947186,41.338],[-72.385341,41.261322],[-72.905651,41.28323],[-73.130205,41.146307],[-73.371191,41.102491],[-73.655992,40.987475],[-73.727192,41.102491],[-73.48073,41.21203],[-73.55193,41.294184],[-73.486206,42.050002],[-73.053528,42.039048]]]}},{"type":"Feature","id":"10","properties":{"name":"Delaware","abbreviation":"DE"},"geometry":{"type":"Polygon","coordinates":[[[-75.414089,39.804456],[-75.507197,39.683964],[-75.611259,39.61824],[-75.589352,39.459409],[-75.441474,39.311532],[-75.403136,39.065069],[-75.189535,38.807653],[-75.09095,38.796699],[-75.047134,38.451652],[-75.693413,38.462606],[-75.786521,39.722302],[-75.616736,39.831841],[-75.414089,39.804456]]]}},{"type":"Feature","id":"11","properties":{"name":"District of Columbia","abbreviation":"DC"},"geometry":{"type":"Polygon","coordinates":[[[-77.035264,38.993869],[-76.909294,38.895284],[-77.040741,38.791222],[-77.117418,38.933623],[-77.035264,38.993869]]]}},{"type":"Feature","id":"12","properties":{"name":"Florida","abbreviation":"FL"},"geometry":{"type":"Polygon","coordinates":[[[-85.497137,30.997536],[-85.004212,31.003013],[-84.867289,30.712735],[-83.498053,30.647012],[-82.216449,30.570335],[-82.167157,30.356734],[-82.046664,30.362211],[-82.002849,30.564858],[-82.041187,30.751074],[-81.948079,30.827751],[-81.718048,30.745597],[-81.444201,30.707258],[-81.383954,30.27458],[-81.257985,29.787132],[-80.967707,29.14633],[-80.524075,28.461713],[-80.589798,28.41242],[-80.56789,28.094758],[-80.381674,27.738757],[-80.091397,27.021277],[-80.03115,26.796723],[-80.036627,26.566691],[-80.146166,25.739673],[-80.239274,25.723243],[-80.337859,25.465826],[-80.304997,25.383672],[-80.49669,25.197456],[-80.573367,25.241272],[-80.759583,25.164595],[-81.077246,25.120779],[-81.170354,25.224841],[-81.126538,25.378195],[-81.351093,25.821827],[-81.526355,25.903982],[-81.679709,25.843735],[-81.800202,26.090198],[-81.833064,26.292844],[-82.041187,26.517399],[-82.09048,26.665276],[-82.057618,26.878877],[-82.172634,26.917216],[-82.145249,26.791246],[-82.249311,26.758384],[-82.566974,27.300601],[-82.692943,27.437525],[-82.391711,27.837342],[-82.588881,27.815434],[-82.720328,27.689464],[-82.851774,27.886634],[-82.676512,28.434328],[-82.643651,28.888914],[-82.764143,28.998453],[-82.802482,29.14633],[-82.994175,29.179192],[-83.218729,29.420177],[
57-83.399469,29.518762],[-83.410422,29.66664],[-83.536392,29.721409],[-83.640454,29.885717],[-84.02384,30.104795],[-84.357933,30.055502],[-84.341502,29.902148],[-84.451041,29.929533],[-84.867289,29.743317],[-85.310921,29.699501],[-85.299967,29.80904],[-85.404029,29.940487],[-85.924338,30.236241],[-86.29677,30.362211],[-86.630863,30.395073],[-86.910187,30.373165],[-87.518128,30.280057],[-87.37025,30.427934],[-87.446927,30.510088],[-87.408589,30.674397],[-87.633143,30.86609],[-87.600282,30.997536],[-85.497137,30.997536]]]}},{"type":"Feature","id":"13","properties":{"name":"Georgia","abbreviation":"GA"},"geometry":{"type":"Polygon","coordinates":[[[-83.109191,35.00118],[-83.322791,34.787579],[-83.339222,34.683517],[-83.005129,34.469916],[-82.901067,34.486347],[-82.747713,34.26727],[-82.714851,34.152254],[-82.55602,33.94413],[-82.325988,33.81816],[-82.194542,33.631944],[-81.926172,33.462159],[-81.937125,33.347144],[-81.761863,33.160928],[-81.493493,33.007573],[-81.42777,32.843265],[-81.416816,32.629664],[-81.279893,32.558464],[-81.121061,32.290094],[-81.115584,32.120309],[-80.885553,32.032678],[-81.132015,31.693108],[-81.175831,31.517845],[-81.279893,31.364491],[-81.290846,31.20566],[-81.400385,31.13446],[-81.444201,30.707258],[-81.718048,30.745597],[-81.948079,30.827751],[-82.041187,30.751074],[-82.002849,30.564858],[-82.046664,30.362211],[-82.167157,30.356734],[-82.216449,30.570335],[-83.498053,30.647012],[-84.867289,30.712735],[-85.004212,31.003013],[-85.113751,31.27686],[-85.042551,31.539753],[-85.141136,31.840985],[-85.053504,32.01077],[-85.058981,32.13674],[-84.889196,32.262709],[-85.004212,32.322956],[-84.960397,32.421541],[-85.069935,32.580372],[-85.184951,32.859696],[-85.431413,34.124869],[-85.606675,34.984749],[-84.319594,34.990226],[-83.618546,34.984749],[-83.109191,35.00118]]]}},{"type":"Feature","id":"15","properties":{"name":"Hawaii","abbreviation":"HI"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-155.634835,18.948267],[-155.881297,19.035898],[-155.919636,19.123529],[-155.886774,19.348084],[-156.062036,19.73147],[-155.925113,19.857439],[-155.826528,20.032702],[-155.897728,20.147717],[-155.87582,20.26821],[-155.596496,20.12581],[-155.284311,20.021748],[-155.092618,19.868393],[-155.092618,19.736947],[-154.807817,19.523346],[-154.983079,19.348084],[-155.295265,19.26593],[-155.514342,19.134483],[-155.634835,18.948267]]],[[[-156.587823,21.029505],[-156.472807,20.892581],[-156.324929,20.952827],[-156.00179,20.793996],[-156.051082,20.651596],[-156.379699,20.580396],[-156.445422,20.60778],[-156.461853,20.783042],[-156.631638,20.821381],[-156.697361,20.919966],[-156.587823,21.029505]]],[[[-156.982162,21.210244],[-157.080747,21.106182],[-157.310779,21.106182],[-157.239579,21.221198],[-156.982162,21.210244]]],[[[-157.951581,21.697691],[-157.842042,21.462183],[-157.896811,21.325259],[-158.110412,21.303352],[-158.252813,21.582676],[-158.126843,21.588153],[-157.951581,21.697691]]],[[[-159.468693,22.228955],[-159.353678,22.218001],[-159.298908,22.113939],[-159.33177,21.966061],[-159.446786,21.872953],[-159.764448,21.987969],[-159.726109,22.152277],[-159.468693,22.228955]]]]}},{"type":"Feature","id":"16","properties":{"name":"Idaho","abbreviation":"ID"},"geometry":{"type":"Polygon","coordinates":[[[-116.04751,49.000239],[-116.04751,47.976051],[-115.724371,47.696727],[-115.718894,47.42288],[-115.527201,47.302388],[-115.324554,47.258572],[-115.302646,47.187372],[-114.930214,46.919002],[-114.886399,46.809463],[-114.623506,46.705401],[-114.612552,46.639678],[-114.322274,46.645155],[-114.464674,46.272723],[-114.492059,46.037214],[-114.387997,45.88386],[-114.568736,45.774321],[-114.497536,45.670259],[-114.546828,45.560721],[-114.333228,45.456659],[-114.086765,45.593582],[-113.98818,45.703121],[-113.807441,45.604536],[-113.834826,45.522382],[-113.736241,45.330689],[-113.571933,45.128042],[-113.45144,45.056842],[-113.456917,44.865149],[-113.341901,44.782995],[-113.133778,44.772041],[-113.002331,44.448902],[-112.887315,44.394132],[-112.783254,44.48724],[-112.471068,44.481763],[-112.241036,44.569394],[-112.104113,44.520102],[-111.868605,44.563917],[-111.819312,44.509148],[-111.616665,44.547487],[-111.386634,44.75561],[-111.227803,44.580348],[-111.047063,44.476286],[-111.047063,42.000709],[-112.164359,41.995232],[-114.04295,41.995232],[-117.027882,42.000709],[-117.027882,43.830007],[-116.896436,44.158624],[-116.97859,44.240778],[-117.170283,44.257209],[-117.241483,44.394132],[-117.038836,44.750133],[-116.934774,44.782995],[-116.830713,44.930872],[-116.847143,45.02398],[-116.732128,45.144473],[-116.671881,45.319735],[-116.463758,45.61549],[-116.545912,45.752413],[-116.78142,45.823614],[-116.918344,45.993399],[-116.92382,46.168661],[-117.055267,46.343923],[-117.038836,46.426077],[
57-117.044313,47.762451],[-117.033359,49.000239],[-116.04751,49.000239]]]}},{"type":"Feature","id":"17","properties":{"name":"Illinois","abbreviation":"IL"},"geometry":{"type":"Polygon","coordinates":[[[-90.639984,42.510065],[-88.788778,42.493634],[-87.802929,42.493634],[-87.83579,42.301941],[-87.682436,42.077386],[-87.523605,41.710431],[-87.529082,39.34987],[-87.63862,39.169131],[-87.512651,38.95553],[-87.49622,38.780268],[-87.62219,38.637868],[-87.655051,38.506421],[-87.83579,38.292821],[-87.950806,38.27639],[-87.923421,38.15042],[-88.000098,38.101128],[-88.060345,37.865619],[-88.027483,37.799896],[-88.15893,37.657496],[-88.065822,37.482234],[-88.476592,37.389126],[-88.514931,37.285064],[-88.421823,37.153617],[-88.547792,37.071463],[-88.914747,37.224817],[-89.029763,37.213863],[-89.183118,37.038601],[-89.133825,36.983832],[-89.292656,36.994786],[-89.517211,37.279587],[-89.435057,37.34531],[-89.517211,37.537003],[-89.517211,37.690357],[-89.84035,37.903958],[-89.949889,37.88205],[-90.059428,38.013497],[-90.355183,38.216144],[-90.349706,38.374975],[-90.179921,38.632391],[-90.207305,38.725499],[-90.10872,38.845992],[-90.251121,38.917192],[-90.470199,38.961007],[-90.585214,38.867899],[-90.661891,38.928146],[-90.727615,39.256762],[-91.061708,39.470363],[-91.368417,39.727779],[-91.494386,40.034488],[-91.50534,40.237135],[-91.417709,40.379535],[-91.401278,40.560274],[-91.121954,40.669813],[-91.09457,40.823167],[-90.963123,40.921752],[-90.946692,41.097014],[-91.111001,41.239415],[-91.045277,41.414677],[-90.656414,41.463969],[-90.344229,41.589939],[-90.311367,41.743293],[-90.179921,41.809016],[-90.141582,42.000709],[-90.168967,42.126679],[-90.393521,42.225264],[-90.420906,42.329326],[-90.639984,42.510065]]]}},{"type":"Feature","id":"18","properties":{"name":"Indiana","abbreviation":"IN"},"geometry":{"type":"Polygon","coordinates":[[[-85.990061,41.759724],[-84.807042,41.759724],[-84.807042,41.694001],[-84.801565,40.500028],[-84.817996,39.103408],[-84.894673,39.059592],[-84.812519,38.785745],[-84.987781,38.780268],[-85.173997,38.68716],[-85.431413,38.730976],[-85.42046,38.533806],[-85.590245,38.451652],[-85.655968,38.325682],[-85.83123,38.27639],[-85.924338,38.024451],[-86.039354,37.958727],[-86.263908,38.051835],[-86.302247,38.166851],[-86.521325,38.040881],[-86.504894,37.931343],[-86.729448,37.893004],[-86.795172,37.991589],[-87.047111,37.893004],[-87.129265,37.788942],[-87.381204,37.93682],[-87.512651,37.903958],[-87.600282,37.975158],[-87.682436,37.903958],[-87.934375,37.893004],[-88.027483,37.799896],[-88.060345,37.865619],[-88.000098,38.101128],[-87.923421,38.15042],[-87.950806,38.27639],[-87.83579,38.292821],[-87.655051,38.506421],[
57-87.62219,38.637868],[-87.49622,38.780268],[-87.512651,38.95553],[-87.63862,39.169131],[-87.529082,39.34987],[-87.523605,41.710431],[-87.42502,41.644708],[-87.118311,41.644708],[-86.822556,41.759724],[-85.990061,41.759724]]]}},{"type":"Feature","id":"19","properties":{"name":"Iowa","abbreviation":"IA"},"geometry":{"type":"Polygon","coordinates":[[[-91.368417,43.501391],[-91.215062,43.501391],[-91.204109,43.353514],[-91.056231,43.254929],[-91.176724,43.134436],[-91.143862,42.909881],[-91.067185,42.75105],[-90.711184,42.636034],[-90.639984,42.510065],[-90.420906,42.329326],[-90.393521,42.225264],[-90.168967,42.126679],[-90.141582,42.000709],[-90.179921,41.809016],[-90.311367,41.743293],[-90.344229,41.589939],[-90.656414,41.463969],[-91.045277,41.414677],[-91.111001,41.239415],[-90.946692,41.097014],[-90.963123,40.921752],[-91.09457,40.823167],[-91.121954,40.669813],[-91.401278,40.560274],[-91.417709,40.379535],[-91.527248,40.412397],[-91.729895,40.615043],[-91.833957,40.609566],[-93.257961,40.582182],[-94.632673,40.571228],[-95.7664,40.587659],[-95.881416,40.719105],[-95.826646,40.976521],[-95.925231,41.201076],[-95.919754,41.453015],[-96.095016,41.540646],[-96.122401,41.67757],[-96.062155,41.798063],[-96.127878,41.973325],[-96.264801,42.039048],[-96.44554,42.488157],[-96.631756,42.707235],[-96.544125,42.855112],[-96.511264,43.052282],[-96.434587,43.123482],[-96.560556,43.222067],[-96.527695,43.397329],[-96.582464,43.479483],[-96.451017,43.501391],[-91.368417,43.501391]]]}},{"type":"Feature","id":"20","properties":{"name":"Kansas","abbreviation":"KS"},"geometry":{"type":"Polygon","coordinates":[[[-101.90605,40.001626],[-95.306337,40.001626],[-95.207752,39.908518],[-94.884612,39.831841],[-95.109167,39.541563],[-94.983197,39.442978],[-94.824366,39.20747],[-94.610765,39.158177],[-94.616242,37.000263],[-100.087706,37.000263],[-102.042974,36.994786],[-102.053927,40.001626],[-101.90605,40.001626]]]}},{"type":"Feature","id":"21","properties":{"name":"Kentucky","abbreviation":"KY"},"geometry":{"type":"Polygon","coordinates":[[[-83.903347,38.769315],[-83.678792,38.632391],[-83.519961,38.703591],[-83.142052,38.626914],[-83.032514,38.725499],[-82.890113,38.758361],[-82.846298,38.588575],[-82.731282,38.561191],[-82.594358,38.424267],[-82.621743,38.123036],[-82.50125,37.931343],[-82.342419,37.783465],[-82.293127,37.668449],[-82.101434,37.553434],[-81.969987,37.537003],[-82.353373,37.268633],[-82.720328,37.120755],[-82.720328,37.044078],[-82.868205,36.978355],[-82.879159,36.890724],[-83.070852,36.852385],[-83.136575,36.742847],[-83.673316,36.600446],[-83.689746,36.584015],[-84.544149,36.594969],[-85.289013,36.627831],[-85.486183,36.616877],[-86.592525,36.655216],[-87.852221,36.633308],[-88.071299,36.677123],[-88.054868,36.496384],[-89.298133,36.507338],[-89.418626,36.496384],[-89.363857,36.622354],[-89.215979,36.578538],[-89.133825,36.983832],[-89.183118,37.038601],[-89.029763,37.213863],[-88.914747,37.224817],[-88.547792,37.071463],[-88.421823,37.153617],[-88.514931,37.285064],[-88.476592,37.389126],[-88.065822,37.482234],[-88.15893,37.657496],[-88.027483,37.799896],[-87.934375,37.893004],[-87.682436,37.903958],[-87.600282,37.975158],[-87.512651,37.903958],[-87.381204,37.93682],[-87.129265,37.788942],[-87.047111,37.893004],[-86.795172,37.991589],[-86.729448,37.893004],[-86.504894,37.931343],[-86.521325,38.040881],[-86.302247,38.166851],[-86.263908,38.051835],[-86.039354,37.958727],[-85.924338,38.024451],[-85.83123,38.27639],[-85.655968,38.325682],[-85.590245,38.451652],[-85.42046,38.533806],[-85.431413,38.730976],[-85.173997,38.68716],[-84.987781,38.780268],[-84.812519,38.785745],[-84.894673,39.059592],[-84.817996,39.103408],[-84.43461,39.103408],[-84.231963,38.895284],[-84.215533,38.807653],[-83.903347,38.769315]]]}},{"type":"Feature","id":"22","properties":{"name":"Louisiana","abbreviation":"LA"},"geometry":{"type":"Polygon","coordinates":[[[-93.608485,33.018527],[-91.16577,33.002096],[-91.072662,32.887081],[-91.143862,32.843265],[-91.154816,32.640618],[-91.006939,32.514649],[-90.985031,32.218894],[-91.105524,31.988862],[-91.341032,31.846462],[-91.401278,31.621907],[-91.499863,31.643815],[-91.516294,31.27686],[-91.636787,31.265906],[-91.565587,31.068736],[-91.636787,30.997536],[-89.747242,30.997536],[-89.845827,30.66892],[-89.681519,30.449842],[-89.643181,30.285534],[-89.522688,30.181472],[-89.818443,30.044549],[-89.84035,29.945964],[-89.599365,29.88024],[-89.495303,30.039072],[-89.287179,29.88024],[-89.30361,29.754271],[-89.424103,29.699501],[-89.648657,29.748794],[-89.621273,29.655686],[-89.69795,29.513285],[-89.506257,29.387316],[-89.199548,29.348977],[-89.09001,29.2011],[-89.002379,29.179192],[-89.16121,29.009407],[-89.336472,29.042268],[-89.484349,29.217531],[-89.851304,29.310638],[-89.851304,29.480424],[-90.032043,29.425654],[-90.021089,29.283254],[-90.103244,29.151807],[-90.23469,29.129899],[-90.333275,29.277777],[-90.563307,29.283254],[-90.645461,29.129899],[-90.798815,29.086084],[-90.963123,29.179192],[-91.09457,29.190146],[-91.220539,29.436608],[-91.445094,29.546147],[-91.532725,29.529716],[-91.620356,29.73784],[-91.883249,29.710455],[-91.888726,29.836425],[-92.146142,29.715932],[-92.113281,29.622824],[-92.31045,29.535193],[-92.617159,29.579009],[-92.97316,29.715932],[-93.2251,29.776178],[-93.767317,29.726886],[-93.838517,29.688547],[-93.926148,29.787132],[-93.690639,30.143133],[-93.767317,30.334826],[-93.696116,30.438888],[-93.728978,30.575812],[-93.630393,30.679874],[-93.526331,30.93729],[-93.542762,31.15089],[-93.816609,31.556184],[-93.822086,31.775262],[-94.041164,31.994339],[-94.041164,33.018527],[-93.608485,33.018527]]]}},{"type":"Feature","id":"23","properties":{"name":"Maine","abbreviation":"ME"},"geometry":{"type":"Polygon","coordinates":[[[-70.703921,43.057759],[-70.824413,43.128959],[-70.807983,43.227544],[-70.966814,43.34256],[-71.032537,44.657025],[-71.08183,45.303304],[-70.649151,45.440228],[-70.720352,45.511428],[-70.556043,45.664782],[-70.386258,45.735983],[-70.41912,45.796229],[-70.260289,45.889337],[-70.309581,46.064599],[-70.210996,46.327492],[-70.057642,46.415123],[-69.997395,46.694447],[-69.225147,47.461219],[-69.044408,47.428357],[-69.033454,47.242141],[-68.902007,47.176418],[-68.578868,47.285957],[-68.376221,47.285957],[-68.233821,47.357157],[-67.954497,47.198326],[
57-67.790188,47.066879],[-67.779235,45.944106],[-67.801142,45.675736],[-67.456095,45.604536],[-67.505388,45.48952],[-67.417757,45.379982],[-67.488957,45.281397],[-67.346556,45.128042],[-67.16034,45.160904],[-66.979601,44.804903],[-67.187725,44.646072],[-67.308218,44.706318],[-67.406803,44.596779],[-67.549203,44.624164],[-67.565634,44.531056],[-67.75185,44.54201],[-68.047605,44.328409],[-68.118805,44.476286],[-68.222867,44.48724],[-68.173574,44.328409],[-68.403606,44.251732],[-68.458375,44.377701],[-68.567914,44.311978],[-68.82533,44.311978],[-68.830807,44.459856],[-68.984161,44.426994],[-68.956777,44.322932],[-69.099177,44.103854],[-69.071793,44.043608],[-69.258008,43.923115],[-69.444224,43.966931],[-69.553763,43.840961],[-69.707118,43.82453],[-69.833087,43.720469],[-69.986442,43.742376],[-70.030257,43.851915],[-70.254812,43.676653],[-70.194565,43.567114],[-70.358873,43.528776],[-70.369827,43.435668],[-70.556043,43.320652],[-70.703921,43.057759]]]}},{"type":"Feature","id":"24","properties":{"name":"Maryland","abbreviation":"MD"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-75.994645,37.95325],[-76.016553,37.95325],[-76.043938,37.95325],[-75.994645,37.95325]]],[[[-79.477979,39.722302],[-75.786521,39.722302],[-75.693413,38.462606],[-75.047134,38.451652],[-75.244304,38.029928],[-75.397659,38.013497],[-75.671506,37.95325],[-75.885106,37.909435],[-75.879629,38.073743],[-75.961783,38.139466],[-75.846768,38.210667],[-76.000122,38.374975],[-76.049415,38.303775],[-76.257538,38.320205],[-76.328738,38.500944],[-76.263015,38.500944],[-76.257538,38.736453],[-76.191815,38.829561],[-76.279446,39.147223],[-76.169907,39.333439],[-76.000122,39.366301],[-75.972737,39.557994],[-76.098707,39.536086],[-76.104184,39.437501],[-76.367077,39.311532],[-76.443754,39.196516],[-76.460185,38.906238],[-76.55877,38.769315],[-76.514954,38.539283],[-76.383508,38.380452],[-76.399939,38.259959],[-76.317785,38.139466],[-76.3616,38.057312],[-76.591632,38.216144],[-76.920248,38.292821],[-77.018833,38.446175],[-77.205049,38.358544],[-77.276249,38.479037],[-77.128372,38.632391],[-77.040741,38.791222],[-76.909294,38.895284],[-77.035264,38.993869],[-77.117418,38.933623],[-77.248864,39.026731],[-77.456988,39.076023],[-77.456988,39.223901],[-77.566527,39.306055],[-77.719881,39.322485],[-77.834897,39.601809],[-78.004682,39.601809],[-78.174467,39.694917],[-78.267575,39.61824],[-78.431884,39.623717],[-78.470222,39.514178],[-78.765977,39.585379],[-78.963147,39.437501],[-79.094593,39.470363],[-79.291763,39.300578],[-79.488933,39.20747],[-79.477979,39.722302]]]]}},{"type":"Feature","id":"25","properties":{"name":"Massachusetts","abbreviation":"MA"},"geometry":{"type":"Polygon","coordinates":[[[-70.917521,42.887974],[-70.818936,42.871543],[-70.780598,42.696281],[-70.824413,42.55388],[-70.983245,42.422434],[-70.988722,42.269079],[-70.769644,42.247172],[-70.638197,42.08834],[-70.660105,41.962371],[-70.550566,41.929509],[-70.539613,41.814493],[-70.260289,41.715908],[-69.937149,41.809016],[-70.008349,41.672093],[-70.484843,41.5516],[-70.660105,41.546123],[-70.764167,41.639231],[-70.928475,41.611847],[-70.933952,41.540646],[-71.120168,41.496831],[-71.196845,41.67757],[-71.22423,41.710431],[-71.328292,41.781632],[-71.383061,42.01714],[-71.530939,42.01714],[-71.799309,42.006186],[-71.799309,42.022617],[-73.053528,42.039048],[-73.486206,42.050002],[-73.508114,42.08834],[-73.267129,42.745573],[-72.456542,42.729142],[-71.29543,42.696281],[-71.185891,42.789389],[-70.917521,42.887974]]]}},{"type":"Feature","id":"26","properties":{"name":"Michigan","abbreviation":"MI"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-83.454238,41.732339],[-84.807042,41.694001],[-84.807042,41.759724],[-85.990061,41.759724],[-86.822556,41.759724],[-86.619909,41.891171],[-86.482986,42.115725],[-86.357016,42.252649],[-86.263908,42.444341],[-86.209139,42.718189],[-86.231047,43.013943],[-86.526801,43.594499],[-86.433693,43.813577],[-86.499417,44.07647],[-86.269385,44.34484],[-86.220093,44.569394],[-86.252954,44.689887],[-86.088646,44.73918],[-86.066738,44.903488],[-85.809322,44.947303],[-85.612152,45.128042],[-85.628583,44.766564],[-85.524521,44.750133],[-85.393075,44.930872],[-85.387598,45.237581],[-85.305444,45.314258],[-85.031597,45.363551],[-85.119228,45.577151],[-84.938489,45.75789],[-84.713934,45.768844],[-84.461995,45.653829],[-84.215533,45.637398],[-84.09504,45.494997],[-83.908824,45.484043],[-83.596638,45.352597],[-83.4871,45.358074],[-83.317314,45.144473],[-83.454238,45.029457],[-83.322791,44.88158],[-83.273499,44.711795],[-83.333745,44.339363],[-83.536392,44.246255],[-83.585684,44.054562],[-83.82667,43.988839],[-83.958116,43.758807],[
57-83.908824,43.671176],[-83.667839,43.589022],[-83.481623,43.714992],[-83.262545,43.972408],[-82.917498,44.070993],[-82.747713,43.994316],[-82.643651,43.851915],[-82.539589,43.435668],[-82.523158,43.227544],[-82.413619,42.975605],[-82.517681,42.614127],[-82.681989,42.559357],[-82.687466,42.690804],[-82.797005,42.652465],[-82.922975,42.351234],[-83.125621,42.236218],[-83.185868,42.006186],[-83.437807,41.814493],[-83.454238,41.732339]]],[[[-85.508091,45.730506],[-85.49166,45.610013],[-85.623106,45.588105],[-85.568337,45.75789],[-85.508091,45.730506]]],[[[-87.589328,45.095181],[-87.742682,45.199243],[-87.649574,45.341643],[-87.885083,45.363551],[-87.791975,45.500474],[-87.781021,45.675736],[-87.989145,45.796229],[-88.10416,45.922199],[-88.531362,46.020784],[-88.662808,45.987922],[-89.09001,46.135799],[-90.119674,46.338446],[-90.229213,46.508231],[-90.415429,46.568478],[-90.026566,46.672539],[-89.851304,46.793032],[-89.413149,46.842325],[-89.128348,46.990202],[-88.996902,46.995679],[-88.887363,47.099741],[-88.575177,47.247618],[-88.416346,47.373588],[-88.180837,47.455742],[-87.956283,47.384542],[-88.350623,47.077833],[-88.443731,46.973771],[-88.438254,46.787555],[-88.246561,46.929956],[-87.901513,46.908048],[-87.633143,46.809463],[-87.392158,46.535616],[-87.260711,46.486323],[-87.008772,46.530139],[-86.948526,46.469893],[-86.696587,46.437031],[-86.159846,46.667063],[-85.880522,46.68897],[-85.508091,46.678016],[-85.256151,46.754694],[-85.064458,46.760171],[-85.02612,46.480847],[-84.82895,46.442508],[-84.63178,46.486323],[-84.549626,46.4206],[-84.418179,46.502754],[-84.127902,46.530139],[-84.122425,46.179615],[-83.990978,46.031737],[-83.793808,45.993399],[-83.7719,46.091984],[-83.580208,46.091984],[-83.476146,45.987922],[-83.563777,45.911245],[-84.111471,45.976968],[-84.374364,45.933153],[-84.659165,46.053645],[-84.741319,45.944106],[-84.70298,45.850998],[-84.82895,45.872906],[-85.015166,46.00983],[-85.338305,46.091984],[-85.502614,46.097461],[-85.661445,45.966014],[-85.924338,45.933153],[-86.209139,45.960537],[-86.324155,45.905768],[-86.351539,45.796229],[-86.663725,45.703121],[-86.647294,45.834568],[-86.784218,45.861952],[-86.838987,45.725029],[-87.069019,45.719552],[-87.17308,45.659305],[-87.326435,45.423797],[-87.611236,45.122565],[-87.589328,45.095181]]],[[[-88.805209,47.976051],[-89.057148,47.850082],[-89.188594,47.833651],[-89.177641,47.937713],[-88.547792,48.173221],[-88.668285,48.008913],[-88.805209,47.976051]]]]}},{"type":"Feature","id":"27","properties":{"name":"Minnesota","abbreviation":"MN"},"geometry":{"type":"Polygon","coordinates":[[[-92.014696,46.705401],[-92.091373,46.749217],[-92.29402,46.667063],[-92.29402,46.075553],[-92.354266,46.015307],[-92.639067,45.933153],[-92.869098,45.719552],[-92.885529,45.577151],[-92.770513,45.566198],[-92.644544,45.440228],[-92.75956,45.286874],[-92.737652,45.117088],[-92.808852,44.750133],[-92.545959,44.569394],[-92.337835,44.552964],[-92.233773,44.443425],[-91.927065,44.333886],[-91.877772,44.202439],[-91.592971,44.032654],[-91.43414,43.994316],[-91.242447,43.775238],[-91.269832,43.616407],[-91.215062,43.501391],[-91.368417,43.501391],[-96.451017,43.501391],[-96.451017,45.297827],[-96.681049,45.412843],[-96.856311,45.604536],[-96.582464,45.818137],[-96.560556,45.933153],[-96.598895,46.332969],[-96.719387,46.437031],[-96.801542,46.656109],[-96.785111,46.924479],[-96.823449,46.968294],[-96.856311,47.609096],[-97.053481,47.948667],[-97.130158,48.140359],[-97.16302,48.545653],[-97.097296,48.682577],[-97.228743,49.000239],[-95.152983,49.000239],[-95.152983,49.383625],[-94.955813,49.372671],[-94.824366,49.295994],[-94.69292,48.775685],[-94.588858,48.715438],[-94.260241,48.699007],[-94.221903,48.649715],[-93.838517,48.627807],[-93.794701,48.518268],[-93.466085,48.545653],[-93.466085,48.589469],[-93.208669,48.644238],[-92.984114,48.62233],[-92.726698,48.540176],[-92.655498,48.436114],[-92.50762,48.447068],[-92.370697,48.222514],[-92.304974,48.315622],[-92.053034,48.359437],[-92.009219,48.266329],[-91.713464,48.200606],[-91.713464,48.112975],[-91.565587,48.041775],[-91.264355,48.080113],[-91.083616,48.178698],[-90.837154,48.238944],[-90.749522,48.091067],[-90.579737,48.123929],[-90.377091,48.091067],[-90.141582,48.112975],[-89.873212,47.987005],[-89.615796,48.008913],[-89.637704,47.954144],[-89.971797,47.828174],[-90.437337,47.729589],[-90.738569,47.625527],[-91.171247,47.368111],[-91.357463,47.20928],[-91.642264,47.028541],[-92.091373,46.787555],[
57-92.014696,46.705401]]]}},{"type":"Feature","id":"28","properties":{"name":"Mississippi","abbreviation":"MS"},"geometry":{"type":"Polygon","coordinates":[[[-88.471115,34.995703],[-88.202745,34.995703],[-88.098683,34.891641],[-88.241084,33.796253],[-88.471115,31.895754],[-88.394438,30.367688],[-88.503977,30.323872],[-88.744962,30.34578],[-88.843547,30.411504],[-89.084533,30.367688],[-89.418626,30.252672],[-89.522688,30.181472],[-89.643181,30.285534],[-89.681519,30.449842],[-89.845827,30.66892],[-89.747242,30.997536],[-91.636787,30.997536],[-91.565587,31.068736],[-91.636787,31.265906],[-91.516294,31.27686],[-91.499863,31.643815],[-91.401278,31.621907],[-91.341032,31.846462],[-91.105524,31.988862],[-90.985031,32.218894],[-91.006939,32.514649],[-91.154816,32.640618],[-91.143862,32.843265],[-91.072662,32.887081],[-91.16577,33.002096],[-91.089093,33.13902],[-91.143862,33.347144],[-91.056231,33.429298],[-91.231493,33.560744],[-91.072662,33.867453],[-90.891923,34.026284],[-90.952169,34.135823],[-90.744046,34.300131],[-90.749522,34.365854],[-90.568783,34.420624],[-90.585214,34.617794],[-90.481152,34.661609],[-90.409952,34.831394],[-90.251121,34.908072],[-90.311367,34.995703],[-88.471115,34.995703]]]}},{"type":"Feature","id":"29","properties":{"name":"Missouri","abbreviation":"MO"},"geometry":{"type":"Polygon","coordinates":[[[-91.833957,40.609566],[-91.729895,40.615043],[-91.527248,40.412397],[-91.417709,40.379535],[-91.50534,40.237135],[-91.494386,40.034488],[-91.368417,39.727779],[-91.061708,39.470363],[-90.727615,39.256762],[-90.661891,38.928146],[-90.585214,38.867899],[-90.470199,38.961007],[-90.251121,38.917192],[-90.10872,38.845992],[-90.207305,38.725499],[-90.179921,38.632391],[-90.349706,38.374975],[-90.355183,38.216144],[-90.059428,38.013497],[-89.949889,37.88205],[-89.84035,37.903958],[-89.517211,37.690357],[-89.517211,37.537003],[-89.435057,37.34531],[-89.517211,37.279587],[-89.292656,36.994786],[-89.133825,36.983832],[-89.215979,36.578538],[-89.363857,36.622354],[-89.418626,36.496384],[-89.484349,36.496384],[-89.539119,36.496384],[-89.533642,36.249922],[-89.730812,35.997983],[-90.377091,35.997983],[-90.218259,36.184199],[-90.064905,36.304691],[-90.152536,36.496384],[-94.473842,36.501861],[-94.616242,36.501861],[-94.616242,37.000263],[-94.610765,39.158177],[-94.824366,39.20747],[-94.983197,39.442978],[-95.109167,39.541563],[-94.884612,39.831841],[-95.207752,39.908518],[-95.306337,40.001626],[-95.552799,40.264519],[-95.7664,40.587659],[-94.632673,40.571228],[-93.257961,40.582182],[-91.833957,40.609566]]]}},{"type":"Feature","id":"30","properties":{"name":"Montana","abbreviation":"MT"},"geometry":{"type":"Polygon","coordinates":[[[-104.047534,49.000239],[-104.042057,47.861036],[-104.047534,45.944106],[-104.042057,44.996596],[-104.058488,44.996596],[-105.91517,45.002073],[-109.080842,45.002073],[-111.05254,45.002073],[-111.047063,44.476286],[-111.227803,44.580348],[-111.386634,44.75561],[-111.616665,44.547487],[-111.819312,44.509148],[-111.868605,44.563917],[-112.104113,44.520102],[-112.241036,44.569394],[-112.471068,44.481763],[-112.783254,44.48724],[-112.887315,44.394132],[-113.002331,44.448902],[-113.133778,44.772041],[-113.341901,44.782995],[-113.456917,44.865149],[-113.45144,45.056842],[-113.571933,45.128042],[-113.736241,45.330689],[-113.834826,45.522382],[-113.807441,45.604536],[-113.98818,45.703121],[-114.086765,45.593582],[-114.333228,45.456659],[-114.546828,45.560721],[-114.497536,45.670259],[-114.568736,45.774321],[-114.387997,45.88386],[-114.492059,46.037214],[-114.464674,46.272723],[-114.322274,46.645155],[-114.612552,46.639678],[-114.623506,46.705401],[-114.886399,46.809463],[-114.930214,46.919002],[-115.302646,47.187372],[-115.324554,47.258572],[-115.527201,47.302388],[-115.718894,47.42288],[-115.724371,47.696727],[-116.04751,47.976051],[-116.04751,49.000239],[-111.50165,48.994762],[-109.453274,49.000239],[-104.047534,49.000239]]]}},{"type":"Feature","id":"31","properties":{"name":"Nebraska","abbreviation":"NE"},"geometry":{"type":"Polygon","coordinates":[[[-103.324578,43.002989],[-101.626726,42.997512],[-98.499393,42.997512],[-98.466531,42.94822],[-97.951699,42.767481],[-97.831206,42.866066],[-97.688806,42.844158],[-97.217789,42.844158],[-96.692003,42.657942],[-96.626279,42.515542],[-96.44554,42.488157],[-96.264801,42.039048],[-96.127878,41.973325],[-96.062155,41.798063],[-96.122401,41.67757],[-96.095016,41.540646],[-95.919754,41.453015],[-95.925231,41.201076],[-95.826646,40.976521],[-95.881416,40.719105],[-95.7664,40.587659],[-95.552799,40.264519],[-95.306337,40.001626],[-101.90605,40.001626],[-102.053927,40.001626],[-102.053927,41.003906],[-104.053011,41.003906],[-104.053011,43.002989],[-103.324578,43.002989]]]}},{"type":"Feature","id":"32","properties":{"name":"Nevada","abbreviation":"NV"},"geometry":{"type":"Polygon","coordinates":[[[-117.027882,42.000709],[-114.04295,41.995232],[-114.048427,37.000263],[-114.048427,36.195153],[-114.152489,36.025367],[-114.251074,36.01989],[-114.371566,36.140383],[-114.738521,36.102045],[-114.678275,35.516012],[-114.596121,35.324319],[-114.574213,35.138103],[-114.634459,35.00118],[-115.85034,35.970598],[-116.540435,36.501861],[-117.498899,37.21934],[-118.71478,38.101128],[-120.001861,38.999346],[-119.996384,40.264519],[-120.001861,41.995232],[-118.698349,41.989755],[-117.027882,42.000709]]]}},{"type":"Feature","id":"33","properties":{"name":"New Hampshire","abbreviation":"NH"},"geometry":{"type":"Polygon","coordinates":[[[-71.08183,45.303304],[-71.032537,44.657025],[-70.966814,43.34256],[-70.807983,43.227544],[-70.824413,43.128959],[-70.703921,43.057759],[-70.818936,42.871543],[-70.917521,42.887974],[-71.185891,42.789389],[-71.29543,42.696281],[-72.456542,42.729142],[-72.544173,42.80582],[-72.533219,42.953697],[-72.445588,43.008466],[-72.456542,43.150867],[-72.379864,43.572591],[-72.204602,43.769761],[-72.116971,43.994316],[-72.02934,44.07647],[-72.034817,44.322932],[-71.700724,44.41604],[-71.536416,44.585825],[-71.629524,44.750133],[-71.4926,44.914442],[-71.503554,45.013027],[-71.361154,45.270443],[-71.131122,45.243058],[-71.08183,45.303304]]]}},{"type":"Feature","id":"34","properties":{"name":"New Jersey","abbreviation":"NJ"},"geometry":{"type":"Polygon","coordinates":[[[-74.236547,41.14083],[-73.902454,40.998429],[-74.022947,40.708151],[-74.187255,40.642428],[-74.274886,40.489074],[-74.001039,40.412397],[-73.979131,40.297381],[-74.099624,39.760641],[-74.411809,39.360824],[-74.614456,39.245808],[-74.795195,38.993869],[-74.888303,39.158177],[-75.178581,39.240331],[-75.534582,39.459409],[-75.55649,39.607286],[-75.561967,39.629194],[-75.507197,39.683964],[-75.414089,39.804456],[-75.145719,39.88661],[-75.129289,39.963288],[-74.82258,40.127596],[-74.773287,40.215227],[-75.058088,40.417874],[-75.069042,40.543843],[-75.195012,40.576705],[-75.205966,40.691721],[-75.052611,40.866983],[-75.134765,40.971045],[-74.882826,41.179168],[-74.828057,41.288707],[-74.69661,41.359907],[-74.236547,41.14083]]]}},{"type":"Feature","id":"35","properties":{"name":"New Mexico","abbreviation":"NM"},"geometry":{"type":"Polygon","coordinates":[[[-107.421329,37.000263],[-106.868158,36.994786],[-104.337812,36.994786],[-103.001438,37.000263],[-103.001438,36.501861],[-103.039777,36.501861],[-103.045254,34.01533],[-103.067161,33.002096],[-103.067161,31.999816],[-106.616219,31.999816],[-106.643603,31.901231],[-106.528588,31.786216],[-108.210008,31.786216],[-108.210008,31.331629],[-109.04798,31.331629],[-109.042503,37.000263],[-107.421329,37.000263]]]}},{"type":"Feature","id":"36","properties":{"name":"New York","abbreviation":"NY"},"geometry":{"type":"Polygon","coordinates":[[[-73.343806,45.013027],[-73.332852,44.804903],[-73.387622,44.618687],[-73.294514,44.437948],[-73.321898,44.246255],[-73.436914,44.043608],[-73.349283,43.769761],[-73.404052,43.687607],[-73.245221,43.523299],[-73.278083,42.833204],[-73.267129,42.745573],[-73.508114,42.08834],[-73.486206,42.050002],[-73.55193,41.294184],[-73.48073,41.21203],[-73.727192,41.102491],[-73.655992,40.987475],[-73.22879,40.905321],[-73.141159,40.965568],[-72.774204,40.965568],[-72.587988,40.998429],[-72.28128,41.157261],[-72.259372,41.042245],[-72.100541,40.992952],[-72.467496,40.845075],[-73.239744,40.625997],[-73.562884,40.582182],[-73.776484,40.593136],[
57-73.935316,40.543843],[-74.022947,40.708151],[-73.902454,40.998429],[-74.236547,41.14083],[-74.69661,41.359907],[-74.740426,41.431108],[-74.89378,41.436584],[-75.074519,41.60637],[-75.052611,41.754247],[-75.173104,41.869263],[-75.249781,41.863786],[-75.35932,42.000709],[-79.76278,42.000709],[-79.76278,42.252649],[-79.76278,42.269079],[-79.149363,42.55388],[-79.050778,42.690804],[-78.853608,42.783912],[-78.930285,42.953697],[-79.012439,42.986559],[-79.072686,43.260406],[-78.486653,43.375421],[-77.966344,43.369944],[-77.75822,43.34256],[-77.533665,43.233021],[-77.391265,43.276836],[-76.958587,43.271359],[-76.695693,43.34256],[-76.41637,43.523299],[-76.235631,43.528776],[-76.230154,43.802623],[-76.137046,43.961454],[-76.3616,44.070993],[-76.312308,44.196962],[-75.912491,44.366748],[-75.764614,44.514625],[-75.282643,44.848718],[-74.828057,45.018503],[-74.148916,44.991119],[-73.343806,45.013027]]]}},{"type":"Feature","id":"37","properties":{"name":"North Carolina","abbreviation":"NC"},"geometry":{"type":"Polygon","coordinates":[[[-80.978661,36.562108],[-80.294043,36.545677],[-79.510841,36.5402],[-75.868676,36.551154],[-75.75366,36.151337],[-76.032984,36.189676],[-76.071322,36.140383],[-76.410893,36.080137],[-76.460185,36.025367],[-76.68474,36.008937],[-76.673786,35.937736],[-76.399939,35.987029],[-76.3616,35.943213],[-76.060368,35.992506],[-75.961783,35.899398],[-75.781044,35.937736],[-75.715321,35.696751],[-75.775568,35.581735],[-75.89606,35.570781],[-76.147999,35.324319],[-76.482093,35.313365],[-76.536862,35.14358],[-76.394462,34.973795],[-76.279446,34.940933],[-76.493047,34.661609],[-76.673786,34.694471],[-76.991448,34.667086],[-77.210526,34.60684],[-77.555573,34.415147],[-77.82942,34.163208],[-77.971821,33.845545],[-78.179944,33.916745],[-78.541422,33.851022],[-79.675149,34.80401],[-80.797922,34.820441],[-80.781491,34.935456],[-80.934845,35.105241],[-81.038907,35.044995],[-81.044384,35.149057],[-82.276696,35.198349],[-82.550543,35.160011],[-82.764143,35.066903],[-83.109191,35.00118],[-83.618546,34.984749],[-84.319594,34.990226],[-84.29221,35.225734],[-84.09504,35.247642],[-84.018363,35.41195],[-83.7719,35.559827],[-83.498053,35.565304],[-83.251591,35.718659],[-82.994175,35.773428],[-82.775097,35.997983],[-82.638174,36.063706],[-82.610789,35.965121],[-82.216449,36.156814],[-82.03571,36.118475],[-81.909741,36.304691],[-81.723525,36.353984],[-81.679709,36.589492],[-80.978661,36.562108]]]}},{"type":"Feature","id":"38","properties":{"name":"North Dakota","abbreviation":"ND"},"geometry":{"type":"Polygon","coordinates":[[[-97.228743,49.000239],[-97.097296,48.682577],[-97.16302,48.545653],[-97.130158,48.140359],[-97.053481,47.948667],[-96.856311,47.609096],[-96.823449,46.968294],[-96.785111,46.924479],[-96.801542,46.656109],[-96.719387,46.437031],[-96.598895,46.332969],[-96.560556,45.933153],[-104.047534,45.944106],[-104.042057,47.861036],[-104.047534,49.000239],[-97.228743,49.000239]]]}},{"type":"Feature","id":"39","properties":{"name":"Ohio","abbreviation":"OH"},"geometry":{"type":"Polygon","coordinates":[[[-80.518598,41.978802],[-80.518598,40.636951],[-80.666475,40.582182],[-80.595275,40.472643],[-80.600752,40.319289],[-80.737675,40.078303],[-80.830783,39.711348],[-81.219646,39.388209],[-81.345616,39.344393],[-81.455155,39.410117],[-81.57017,39.267716],[-81.685186,39.273193],[-81.811156,39.0815],[-81.783771,38.966484],[-81.887833,38.873376],[-82.03571,39.026731],[-82.221926,38.785745],[-82.172634,38.632391],[-82.293127,38.577622],[-82.331465,38.446175],[-82.594358,38.424267],[-82.731282,38.561191],[-82.846298,38.588575],[-82.890113,38.758361],[-83.032514,38.725499],[-83.142052,38.626914],[-83.519961,38.703591],[-83.678792,38.632391],[-83.903347,38.769315],[-84.215533,38.807653],[-84.231963,38.895284],[-84.43461,39.103408],[-84.817996,39.103408],[-84.801565,40.500028],[-84.807042,41.694001],[-83.454238,41.732339],[-83.065375,41.595416],[-82.933929,41.513262],[-82.835344,41.589939],[-82.616266,41.431108],[-82.479343,41.381815],[-82.013803,41.513262],[-81.739956,41.485877],[-81.444201,41.672093],[-81.011523,41.852832],[-80.518598,41.978802],[-80.518598,41.978802]]]}},{"type":"Feature","id":"40","properties":{"name":"Oklahoma","abbreviation":"OK"},"geometry":{"type":"Polygon","coordinates":[[[-100.087706,37.000263],[-94.616242,37.000263],[-94.616242,36.501861],[-94.430026,35.395519],[-94.484796,33.637421],[
57-94.868182,33.74696],[-94.966767,33.861976],[-95.224183,33.960561],[-95.289906,33.87293],[-95.547322,33.878407],[-95.602092,33.933176],[-95.8376,33.834591],[-95.936185,33.889361],[-96.149786,33.840068],[-96.346956,33.686714],[-96.423633,33.774345],[-96.631756,33.845545],[-96.850834,33.845545],[-96.922034,33.960561],[-97.173974,33.736006],[-97.256128,33.861976],[-97.371143,33.823637],[-97.458774,33.905791],[-97.694283,33.982469],[-97.869545,33.851022],[-97.946222,33.987946],[-98.088623,34.004376],[-98.170777,34.113915],[-98.36247,34.157731],[-98.488439,34.064623],[-98.570593,34.146777],[-98.767763,34.135823],[-98.986841,34.223454],[-99.189488,34.2125],[-99.260688,34.404193],[-99.57835,34.415147],[-99.698843,34.382285],[-99.923398,34.573978],[-100.000075,34.563024],[-100.000075,36.501861],[-101.812942,36.501861],[-103.001438,36.501861],[-103.001438,37.000263],[-102.042974,36.994786],[-100.087706,37.000263]]]}},{"type":"Feature","id":"41","properties":{"name":"Oregon","abbreviation":"OR"},"geometry":{"type":"Polygon","coordinates":[[[-123.211348,46.174138],[-123.11824,46.185092],[-122.904639,46.08103],[-122.811531,45.960537],[-122.762239,45.659305],[-122.247407,45.549767],[-121.809251,45.708598],[-121.535404,45.725029],[-121.217742,45.670259],[-121.18488,45.604536],[-120.637186,45.746937],[-120.505739,45.697644],[-120.209985,45.725029],[-119.963522,45.823614],[-119.525367,45.911245],[-119.125551,45.933153],[-118.988627,45.998876],[-116.918344,45.993399],[-116.78142,45.823614],[-116.545912,45.752413],[-116.463758,45.61549],[-116.671881,45.319735],[-116.732128,45.144473],[-116.847143,45.02398],[-116.830713,44.930872],[-116.934774,44.782995],[-117.038836,44.750133],[-117.241483,44.394132],[-117.170283,44.257209],[-116.97859,44.240778],[-116.896436,44.158624],[-117.027882,43.830007],[-117.027882,42.000709],[-118.698349,41.989755],[-120.001861,41.995232],[-121.037003,41.995232],[-122.378853,42.011663],[-123.233256,42.006186],[-124.213628,42.000709],[-124.356029,42.115725],[-124.432706,42.438865],[-124.416275,42.663419],[-124.553198,42.838681],[-124.454613,43.002989],[-124.383413,43.271359],[-124.235536,43.55616],[-124.169813,43.8081],[-124.060274,44.657025],[-124.076705,44.772041],[-123.97812,45.144473],[-123.939781,45.659305],[-123.994551,45.944106],[-123.945258,46.113892],[-123.545441,46.261769],[-123.370179,46.146753],[-123.211348,46.174138]]]}},{"type":"Feature","id":"42","properties":{"name":"Pennsylvania","abbreviation":"PA"},"geometry":{"type":"Polygon","coordinates":[[[-79.76278,42.252649],[-79.76278,42.000709],[-75.35932,42.000709],[-75.249781,41.863786],[-75.173104,41.869263],[-75.052611,41.754247],[-75.074519,41.60637],[-74.89378,41.436584],[-74.740426,41.431108],[-74.69661,41.359907],[-74.828057,41.288707],[-74.882826,41.179168],[-75.134765,40.971045],[-75.052611,40.866983],[-75.205966,40.691721],[-75.195012,40.576705],[-75.069042,40.543843],[-75.058088,40.417874],[-74.773287,40.215227],[-74.82258,40.127596],[-75.129289,39.963288],[-75.145719,39.88661],[-75.414089,39.804456],[-75.616736,39.831841],[-75.786521,39.722302],[-79.477979,39.722302],[-80.518598,39.722302],[-80.518598,40.636951],[-80.518598,41.978802],[-80.518598,41.978802],[-80.332382,42.033571],[-79.76278,42.269079],[-79.76278,42.252649]]]}},{"type":"Feature","id":"44","properties":{"name":"Rhode Island","abbreviation":"RI"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-71.196845,41.67757],[-71.120168,41.496831],[-71.317338,41.474923],[-71.196845,41.67757]]],[[[-71.530939,42.01714],[-71.383061,42.01714],[-71.328292,41.781632],[-71.22423,41.710431],[-71.344723,41.726862],[-71.448785,41.578985],[-71.481646,41.370861],[-71.859555,41.321569],[-71.799309,41.414677],[-71.799309,42.006186],[-71.530939,42.01714]]]]}},{"type":"Feature","id":"45","properties":{"name":"South Carolina","abbreviation":"SC"},"geometry":{"type":"Polygon","coordinates":[[[-82.764143,35.066903],[-82.550543,35.160011],[-82.276696,35.198349],[-81.044384,35.149057],[-81.038907,35.044995],[-80.934845,35.105241],[-80.781491,34.935456],[-80.797922,34.820441],[-79.675149,34.80401],[-78.541422,33.851022],[-78.716684,33.80173],[-78.935762,33.637421],[
57-79.149363,33.380005],[-79.187701,33.171881],[-79.357487,33.007573],[-79.582041,33.007573],[-79.631334,32.887081],[-79.866842,32.755634],[-79.998289,32.613234],[-80.206412,32.552987],[-80.430967,32.399633],[-80.452875,32.328433],[-80.660998,32.246279],[-80.885553,32.032678],[-81.115584,32.120309],[-81.121061,32.290094],[-81.279893,32.558464],[-81.416816,32.629664],[-81.42777,32.843265],[-81.493493,33.007573],[-81.761863,33.160928],[-81.937125,33.347144],[-81.926172,33.462159],[-82.194542,33.631944],[-82.325988,33.81816],[-82.55602,33.94413],[-82.714851,34.152254],[-82.747713,34.26727],[-82.901067,34.486347],[-83.005129,34.469916],[-83.339222,34.683517],[-83.322791,34.787579],[-83.109191,35.00118],[-82.764143,35.066903]]]}},{"type":"Feature","id":"46","properties":{"name":"South Dakota","abbreviation":"SD"},"geometry":{"type":"Polygon","coordinates":[[[-104.047534,45.944106],[-96.560556,45.933153],[-96.582464,45.818137],[-96.856311,45.604536],[-96.681049,45.412843],[-96.451017,45.297827],[-96.451017,43.501391],[-96.582464,43.479483],[-96.527695,43.397329],[-96.560556,43.222067],[-96.434587,43.123482],[-96.511264,43.052282],[-96.544125,42.855112],[-96.631756,42.707235],[-96.44554,42.488157],[-96.626279,42.515542],[-96.692003,42.657942],[-97.217789,42.844158],[-97.688806,42.844158],[-97.831206,42.866066],[-97.951699,42.767481],[-98.466531,42.94822],[-98.499393,42.997512],[-101.626726,42.997512],[-103.324578,43.002989],[-104.053011,43.002989],[-104.058488,44.996596],[-104.042057,44.996596],[-104.047534,45.944106]]]}},{"type":"Feature","id":"47","properties":{"name":"Tennessee","abbreviation":"TN"},"geometry":{"type":"Polygon","coordinates":[[[-88.054868,36.496384],[-88.071299,36.677123],[-87.852221,36.633308],[-86.592525,36.655216],[-85.486183,36.616877],[-85.289013,36.627831],[-84.544149,36.594969],[-83.689746,36.584015],[-83.673316,36.600446],[-81.679709,36.589492],[-81.723525,36.353984],[-81.909741,36.304691],[-82.03571,36.118475],[-82.216449,36.156814],[-82.610789,35.965121],[-82.638174,36.063706],[-82.775097,35.997983],[-82.994175,35.773428],[-83.251591,35.718659],[-83.498053,35.565304],[-83.7719,35.559827],[-84.018363,35.41195],[-84.09504,35.247642],[-84.29221,35.225734],[-84.319594,34.990226],[-85.606675,34.984749],[-87.359296,35.00118],[-88.202745,34.995703],[-88.471115,34.995703],[-90.311367,34.995703],[-90.212782,35.023087],[-90.114197,35.198349],[-90.130628,35.439335],[-89.944412,35.603643],[-89.911551,35.756997],[-89.763673,35.811767],[-89.730812,35.997983],[-89.533642,36.249922],[-89.539119,36.496384],[-89.484349,36.496384],[-89.418626,36.496384],[-89.298133,36.507338],[-88.054868,36.496384]]]}},{"type":"Feature","id":"48","properties":{"name":"Texas","abbreviation":"TX"},"geometry":{"type":"Polygon","coordinates":[[[-101.812942,36.501861],[-100.000075,36.501861],[-100.000075,34.563024],[-99.923398,34.573978],[-99.698843,34.382285],[-99.57835,34.415147],[-99.260688,34.404193],[-99.189488,34.2125],[-98.986841,34.223454],[-98.767763,34.135823],[-98.570593,34.146777],[-98.488439,34.064623],[-98.36247,34.157731],[-98.170777,34.113915],[-98.088623,34.004376],[-97.946222,33.987946],[-97.869545,33.851022],[-97.694283,33.982469],[-97.458774,33.905791],[-97.371143,33.823637],[-97.256128,33.861976],[-97.173974,33.736006],[-96.922034,33.960561],[-96.850834,33.845545],[-96.631756,33.845545],[-96.423633,33.774345],[-96.346956,33.686714],[-96.149786,33.840068],[-95.936185,33.889361],[-95.8376,33.834591],[-95.602092,33.933176],[-95.547322,33.878407],[-95.289906,33.87293],[-95.224183,33.960561],[-94.966767,33.861976],[-94.868182,33.74696],[-94.484796,33.637421],[-94.380734,33.544313],[-94.183564,33.593606],[-94.041164,33.54979],[-94.041164,33.018527],[-94.041164,31.994339],[-93.822086,31.775262],[-93.816609,31.556184],[-93.542762,31.15089],[-93.526331,30.93729],[-93.630393,30.679874],[-93.728978,30.575812],[-93.696116,30.438888],[-93.767317,30.334826],[-93.690639,30.143133],[-93.926148,29.787132],[-93.838517,29.688547],[-94.002825,29.68307],[-94.523134,29.546147],[-94.70935,29.622824],[-94.742212,29.787132],[-94.873659,29.672117],[-94.966767,29.699501],[-95.016059,29.557101],[-94.911997,29.496854],[-94.895566,29.310638],[-95.081782,29.113469],[-95.383014,28.867006],[-95.985477,28.604113],[-96.045724,28.647929],[-96.226463,28.582205],[-96.23194,28.642452],[-96.478402,28.598636],[
57-96.593418,28.724606],[-96.664618,28.697221],[-96.401725,28.439805],[-96.593418,28.357651],[-96.774157,28.406943],[-96.801542,28.226204],[-97.026096,28.039988],[-97.256128,27.694941],[-97.404005,27.333463],[-97.513544,27.360848],[-97.540929,27.229401],[-97.425913,27.262263],[-97.480682,26.99937],[-97.557359,26.988416],[-97.562836,26.840538],[-97.469728,26.758384],[-97.442344,26.457153],[-97.332805,26.353091],[-97.30542,26.161398],[-97.217789,25.991613],[-97.524498,25.887551],[-97.650467,26.018997],[-97.885976,26.06829],[-98.198161,26.057336],[-98.466531,26.221644],[-98.669178,26.238075],[-98.822533,26.369522],[-99.030656,26.413337],[-99.173057,26.539307],[-99.266165,26.840538],[-99.446904,27.021277],[-99.424996,27.174632],[-99.50715,27.33894],[-99.479765,27.48134],[-99.605735,27.640172],[-99.709797,27.656603],[-99.879582,27.799003],[-99.934351,27.979742],[-100.082229,28.14405],[-100.29583,28.280974],[-100.399891,28.582205],[-100.498476,28.66436],[-100.629923,28.905345],[-100.673738,29.102515],[-100.799708,29.244915],[-101.013309,29.370885],[-101.062601,29.458516],[-101.259771,29.535193],[-101.413125,29.754271],[-101.851281,29.803563],[-102.114174,29.792609],[-102.338728,29.869286],[-102.388021,29.765225],[-102.629006,29.732363],[-102.809745,29.524239],[-102.919284,29.190146],[-102.97953,29.184669],[-103.116454,28.987499],[-103.280762,28.982022],[-103.527224,29.135376],[-104.146119,29.381839],[-104.266611,29.513285],[-104.507597,29.639255],[-104.677382,29.924056],[-104.688336,30.181472],[-104.858121,30.389596],[-104.896459,30.570335],[-105.005998,30.685351],[-105.394861,30.855136],[-105.602985,31.085167],[-105.77277,31.167321],[-105.953509,31.364491],[-106.205448,31.468553],[-106.38071,31.731446],[-106.528588,31.786216],[-106.643603,31.901231],[-106.616219,31.999816],[-103.067161,31.999816],[-103.067161,33.002096],[-103.045254,34.01533],[-103.039777,36.501861],[-103.001438,36.501861],[-101.812942,36.501861]]]}},{"type":"Feature","id":"49","properties":{"name":"Utah","abbreviation":"UT"},"geometry":{"type":"Polygon","coordinates":[[[-112.164359,41.995232],[-111.047063,42.000709],[-111.047063,40.998429],[-109.04798,40.998429],[-109.053457,39.125316],[-109.058934,38.27639],[-109.042503,38.166851],[-109.042503,37.000263],[-110.499369,37.00574],[-114.048427,37.000263],[-114.04295,41.995232],[-112.164359,41.995232]]]}},{"type":"Feature","id":"50","properties":{"name":"Vermont","abbreviation":"VT"},"geometry":{"type":"Polygon","coordinates":[[[-71.503554,45.013027],[-71.4926,44.914442],[-71.629524,44.750133],[-71.536416,44.585825],[-71.700724,44.41604],[-72.034817,44.322932],[-72.02934,44.07647],[-72.116971,43.994316],[-72.204602,43.769761],[-72.379864,43.572591],[-72.456542,43.150867],[-72.445588,43.008466],[-72.533219,42.953697],[-72.544173,42.80582],[-72.456542,42.729142],[-73.267129,42.745573],[-73.278083,42.833204],[-73.245221,43.523299],[-73.404052,43.687607],[-73.349283,43.769761],[-73.436914,44.043608],[-73.321898,44.246255],[-73.294514,44.437948],[-73.387622,44.618687],[-73.332852,44.804903],[-73.343806,45.013027],[-72.308664,45.002073],[-71.503554,45.013027]]]}},{"type":"Feature","id":"51","properties":{"name":"Virginia","abbreviation":"VA"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-75.397659,38.013497],[-75.244304,38.029928],[-75.375751,37.860142],[-75.512674,37.799896],[-75.594828,37.569865],[-75.802952,37.197433],[-75.972737,37.120755],[-76.027507,37.257679],[-75.939876,37.564388],[-75.671506,37.95325],[-75.397659,38.013497]]],[[[-75.994645,37.95325],[-76.043938,37.95325],[-76.016553,37.95325]]],[[[-78.349729,39.464886],[-77.82942,39.130793],[-77.719881,39.322485],[-77.566527,39.306055],[-77.456988,39.223901],[-77.456988,39.076023],[-77.248864,39.026731],[-77.117418,38.933623],[-77.040741,38.791222],[-77.128372,38.632391],[-77.248864,38.588575],[-77.325542,38.446175],[-77.281726,38.342113],[-77.013356,38.374975],[-76.964064,38.216144],[-76.613539,38.15042],[-76.514954,38.024451],[-76.235631,37.887527],[-76.3616,37.608203],[-76.246584,37.389126],[-76.383508,37.285064],[-76.399939,37.159094],[-76.273969,37.082417],[-76.410893,36.961924],[-76.619016,37.120755],[-76.668309,37.065986],[-76.48757,36.95097],[-75.994645,36.923586],[-75.868676,36.551154],[-79.510841,36.5402],[-80.294043,36.545677],[-80.978661,36.562108],[-81.679709,36.589492],[-83.673316,36.600446],[-83.136575,36.742847],[-83.070852,36.852385],[-82.879159,36.890724],[-82.868205,36.978355],[-82.720328,37.044078],[-82.720328,37.120755],[-82.353373,37.268633],[-81.969987,37.537003],[-81.986418,37.454849],[-81.849494,37.285064],[-81.679709,37.2029
571],[-81.55374,37.208387],[-81.362047,37.339833],[-81.225123,37.235771],[-80.967707,37.290541],[-80.513121,37.482234],[-80.474782,37.421987],[-80.29952,37.509618],[-80.294043,37.690357],[-80.184505,37.849189],[-79.998289,37.997066],[-79.921611,38.177805],[-79.724442,38.364021],[-79.647764,38.594052],[-79.477979,38.457129],[-79.313671,38.413313],[-79.209609,38.495467],[-78.996008,38.851469],[-78.870039,38.763838],[-78.404499,39.169131],[-78.349729,39.464886]]]]}},{"type":"Feature","id":"53","properties":{"name":"Washington","abbreviation":"WA"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-117.033359,49.000239],[-117.044313,47.762451],[-117.038836,46.426077],[-117.055267,46.343923],[-116.92382,46.168661],[-116.918344,45.993399],[-118.988627,45.998876],[-119.125551,45.933153],[-119.525367,45.911245],[-119.963522,45.823614],[-120.209985,45.725029],[-120.505739,45.697644],[-120.637186,45.746937],[-121.18488,45.604536],[-121.217742,45.670259],[-121.535404,45.725029],[-121.809251,45.708598],[-122.247407,45.549767],[-122.762239,45.659305],[-122.811531,45.960537],[-122.904639,46.08103],[-123.11824,46.185092],[-123.211348,46.174138],[-123.370179,46.146753],[-123.545441,46.261769],[-123.72618,46.300108],[-123.874058,46.239861],[-124.065751,46.327492],[-124.027412,46.464416],[-123.895966,46.535616],[-124.098612,46.74374],[-124.235536,47.285957],[-124.31769,47.357157],[-124.427229,47.740543],[-124.624399,47.88842],[-124.706553,48.184175],[-124.597014,48.381345],[-124.394367,48.288237],[-123.983597,48.162267],[-123.704273,48.167744],[-123.424949,48.118452],[-123.162056,48.167744],[-123.036086,48.080113],[-122.800578,48.08559],[-122.636269,47.866512],[-122.515777,47.882943],[-122.493869,47.587189],[-122.422669,47.318818],[-122.324084,47.346203],[-122.422669,47.576235],[-122.395284,47.800789],[-122.230976,48.030821],[-122.362422,48.123929],[-122.373376,48.288237],[-122.471961,48.468976],[-122.422669,48.600422],[-122.488392,48.753777],[-122.647223,48.775685],[-122.795101,48.8907],[-122.756762,49.000239],[-117.033359,49.000239]]],[[[-122.718423,48.310145],[-122.586977,48.35396],[-122.608885,48.151313],[-122.767716,48.227991],[-122.718423,48.310145]]],[[[-123.025132,48.583992],[-122.915593,48.715438],[-122.767716,48.556607],[-122.811531,48.419683],[-123.041563,48.458022],[-123.025132,48.583992]]]]}},{"type":"Feature","id":"54","properties":{"name":"West Virginia","abbreviation":"WV"},"geometry":{"type":"Polygon","coordinates":[[[-80.518598,40.636951],[-80.518598,39.722302],[-79.477979,39.722302],[-79.488933,39.20747],[-79.291763,39.300578],[-79.094593,39.470363],[-78.963147,39.437501],[-78.765977,39.585379],[-78.470222,39.514178],[-78.431884,39.623717],[-78.267575,39.61824],[-78.174467,39.694917],[-78.004682,39.601809],[-77.834897,39.601809],[-77.719881,39.322485],[-77.82942,39.130793],[-78.349729,39.464886],[-78.404499,39.169131],[-78.870039,38.763838],[-78.996008,38.851469],[-79.209609,38.495467],[-79.313671,38.413313],[-79.477979,38.457129],[-79.647764,38.594052],[-79.724442,38.364021],[-79.921611,38.177805],[-79.998289,37.997066],[-80.184505,37.849189],[-80.294043,37.690357],[-80.29952,37.509618],[-80.474782,37.421987],[-80.513121,37.482234],[-80.967707,37.290541],[-81.225123,37.235771],[-81.362047,37.339833],[-81.55374,37.208387],[-81.679709,37.20291],[-81.849494,37.285064],[-81.986418,37.454849],[-81.969987,37.537003],[-82.101434,37.553434],[-82.293127,37.668449],[-82.342419,37.783465],[-82.50125,37.931343],[-82.621743,38.123036],[-82.594358,38.424267],[-82.331465,38.446175],[-82.293127,38.577622],[-82.172634,38.632391],[-82.221926,38.785745],[-82.03571,39.026731],[-81.887833,38.873376],[-81.783771,38.966484],[-81.811156,39.0815],[-81.685186,39.273193],[-81.57017,39.267716],[-81.455155,39.410117],[-81.345616,39.344393],[-81.219646,39.388209],[-80.830783,39.711348],[-80.737675,40.078303],[-80.600752,40.319289],[-80.595275,40.472643],[-80.666475,40.582182],[-80.518598,40.636951]]]}},{"type":"Feature","id":"55","properties":{"name":"Wisconsin","abbreviation":"WI"},"geometry":{"type":"Polygon","coordinates":[[[-90.415429,46.568478],[-90.229213,46.508231],[-90.119674,46.338446],[-89.09001,46.135799],[-88.662808,45.987922],[-88.531362,46.020784],[-88.10416,45.922199],[-87.989145,45.796229],[-87.781021,45.675736],[-87.791975,45.500474],[-87.885083,45.363551],[-87.649574,45.341643],[-87.742682,45.199243],[-87.589328,45.095181],[-87.627666,44.974688],[-87.819359,44.95278],[-87.983668,44.722749],[-88.043914,44.563917],[-87.928898,44.536533],[-87.775544,44.640595],[-87.611236,44.837764],[-87.403112,44.914442],[-87.238804,45.166381],[-87.03068,45.22115],[-87.047111,45.089704],[-87.189511,44.969211],[-87.468835,44.552964],[-87.545512,44.322932],[-87.540035,44.158624],[-87.644097,44.103854],[-87.737205,43.8793],[-87.704344,43.687607],[-87.791975,43.561637],[-87.912467,43.249452],[-87.885083,43.002989],[-87.76459,42.783912],[-87.802929,42.493634],[-88.788778,42.493634],[-90.639984,42.510065],[-90.711184,42.636034],[-91.067185,42.75105],[-91.143862,42.909881],[-91.176724,43.134436],[-91.056231,43.254929],[-91.204109,43.353514],[-91.215062,43.501391],[-91.269832,43.616407],[
57-91.242447,43.775238],[-91.43414,43.994316],[-91.592971,44.032654],[-91.877772,44.202439],[-91.927065,44.333886],[-92.233773,44.443425],[-92.337835,44.552964],[-92.545959,44.569394],[-92.808852,44.750133],[-92.737652,45.117088],[-92.75956,45.286874],[-92.644544,45.440228],[-92.770513,45.566198],[-92.885529,45.577151],[-92.869098,45.719552],[-92.639067,45.933153],[-92.354266,46.015307],[-92.29402,46.075553],[-92.29402,46.667063],[-92.091373,46.749217],[-92.014696,46.705401],[-91.790141,46.694447],[-91.09457,46.864232],[-90.837154,46.95734],[-90.749522,46.88614],[-90.886446,46.754694],[-90.55783,46.584908],[-90.415429,46.568478]]]}},{"type":"Feature","id":"56","properties":{"name":"Wyoming","abbreviation":"WY"},"geometry":{"type":"Polygon","coordinates":[[[-109.080842,45.002073],[-105.91517,45.002073],[-104.058488,44.996596],[-104.053011,43.002989],[-104.053011,41.003906],[-105.728954,40.998429],[-107.919731,41.003906],[-109.04798,40.998429],[-111.047063,40.998429],[-111.047063,42.000709],[-111.047063,44.476286],[-111.05254,45.002073],[-109.080842,45.002073]]]}}]}');var vS=t(7423),vk=t.n(vS);let vM=(0,vb.Z)((0,vw.Z)()),[[vD,vT],[vI,vE]]=vM.bounds(vC),vA="".concat(vD," ").concat(vT," ").concat(vI-vD," ").concat(vE-vT);var v_=e=>{let{className:l,tooltipId:t}=e,{areas:n,selectedAreaId:i,setSelectedAreaId:a}=vy(),{t:o}=(0,tB.QT)(),[r,s]=tk.useState(void 0),d=tk.useMemo(()=>{let e=new Map;for(let l of n)for(let t of l.stateAbbrs)e.has(t)||e.set(t,l);return e},[n]),c=tk.useMemo(()=>n.find(e=>e.id===i),[n,i]),u=tk.useMemo(()=>n.find(e=>e.id===r),[n,r]),[m,v]=tk.useState(null),p=null!=u?u:c,f=tk.useMemo(()=>p?vC.features.filter(e=>{var l;let t=null===(l=e.properties)||void 0===l?void 0:l.abbreviation;return!!(t&&p.stateAbbrs.includes(t))}):[],[p]),h=(e,l)=>v((0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("h5",{className:"fw-bold mb-0",children:e}),"number"==typeof l?(0,tw.jsx)("p",{className:"mb-0",children:1===l?"".concat(l," ").concat(o("Search.Content.SingleLocation")):"".concat(l," ").concat(o("Search.Content.Locations"))}):null]}));return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(vL.u,{arrowColor:"transparent",id:t,place:"top",children:m}),(0,tw.jsx)("div",{className:(0,sT.Z)(vk().mapBase,l),children:(0,tw.jsxs)("svg",{viewBox:vA,className:"w-100",children:[vC.features.map(e=>{var l,n,i;let o=null===(l=e.properties)||void 0===l?void 0:l.abbreviation,r=o?d.get(o):void 0,u=!!r,m=!!(c&&o&&c.stateAbbrs.includes(o)),v=m?vk().selectedArea:u?vk().selectableArea:"";return(0,tw.jsx)("path",{className:v,d:null!==(i=vM(e))&&void 0!==i?i:"","data-tooltip-id":u?t:void 0,"data-tooltip-variant":"light",tabIndex:u?0:void 0,role:u?"button":void 0,"aria-label":u&&r?r.tooltipLabel||r.label:null===(n=e.properties)||void 0===n?void 0:n.name,"aria-pressed":u?m:void 0,"aria-hidden":!u||void 0,onClick:u&&r?()=>{s(r.id),a(r.id)}:void 0,onMouseOver:u&&r?()=>{h(r.tooltipLabel||r.label,r.total)}:void 0,onFocus:u&&r?()=>{s(r.id),h(r.tooltipLabel||r.label,r.total)}:void 0,onBlur:u?()=>s(void 0):void 0,onKeyDown:u&&r?e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),s(r.id),a(r.id))}:void 0},e.id)}),f.map(e=>{var l;return(0,tw.jsx)("path",{"aria-hidden":!0,className:vk().focusedArea,d:null!==(l=vM(e))&&void 0!==l?l:"",style:{pointerEvents:"none"}},"focused-".concat(e.id))})]})})]})},vF=e=>{let{areas:l,children:t,rendering:n,sectionTitle:i,tooltipId:a}=e,[o,r]=tk.useState(!1);return tk.useEffect(()=>{r(!0)},[]),(0,tw.jsx)(sa,{title:i,dataTestId:null==n?void 0:n.componentName,children:(0,tw.jsx)(vj,{areas:l,children:(0,tw.jsx)("div",{className:"gx-0",children:(0,tw.jsxs)("div",{className:"row flex-lg-row-reverse g-0 pt-lg-5",children:[(0,tw.jsx)("div",{className:"col-12 col-lg-8 mb-4 mb-lg-0",children:o?(0,tw.jsx)(v_,{tooltipId:a}):null}),(0,tw.jsx)("div",{className:"col-12 col-lg-4 p-0 pe-lg-5",children:(0,tw.jsx)(tE.IS,{className:"p-4 px-5 overflow-y-lg-auto h-272-lg",children:t})})]})})})})};let vP={austin:["TX"],capital:["NH","VA"],centralWestTexas:["TX"],continental:["CO","KS"],eastFlorida:["FL"],farWest:["CA","NV"],gulfCoast:["TX"],midAmerica:["KS","MO"],midwest:["KS"],mountain:["AK","ID","UT"],northCarolina:["NC"],northFlorida:["FL"],northTexas:["LA","TX"],sanAntonio:["TX"],southAtlantic:["FL","GA","SC"],triStar:["KY","TN"],westFlorida:["FL"]},vO=e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[-_]+/g," ").replace(/\s+/g," ").trim().toLowerCase(),vz=e=>Array.isArray(e)?e[0]:e,vR=e=>{let l=vz(e.findHeadlineIcon)||vz(e.icon),t=null==l?void 0:l.fields;return(null==t?void 0:t.iconName)?(0,tw.jsx)(d0,{fields:t,assetProps:{color:"main"},customIconProps:{className:"neu-text-main-60 size-2x"},svgIconProps:{height:"32"}}):null},vB=new Map(vC.features.flatMap(e=>{var l,t,n,i;let a=String(null!==(n=null===(l=e.properties)||void 0===l?void 0:l.abbreviation)&&void 0!==n?n:""),o=String(null!==(i=null===(t=e.properties)||void 0===t?void 0:t.name)&&void 0!==i?i:"");return[[a.toLowerCase(),a],[o.toLowerCase().replace(/\s+/g,""),a],[o.toLowerCase().replace(/\s+/g,"-"),a]]})),vU=new Map(Object.entries(vP).flatMap(e=>{let[l,t]=e;return[[l.toLowerCase(),t],[l.toLowerCase().replace(/[_-]+/g,""),t],[vO(l).replace(/\s+/g,""),t]]})),vH=e=>{let l=e.toLowerCase(),t=vU.get(l)||vU.get(l.replace(/[_-]+/g,""))||vU.get(vO(e).replace(/\s+/g,""));if(null==t?void 0:t.length)return{isDivision:!0,stateAbbrs:[...t]};let n=vB.get(l)||vB.get(l.replace(/[_-]+/g,""))||vB.get(vO(e).replace(/\s+/g,""));if(n)return{isDivision:!1,stateAbbrs:[n]}},vZ=new Set(["findHeadline","findHeadlineIcon","icon","id","sectionTitle","selectionLabel"]),vQ={tristar:"TriStar"},vY=e=>!!(e&&"object"==typeof e&&"value"in e);var v$=e=>tk.useMemo(()=>{let l=new Set;return Object.entries(e).flatMap(e=>{var t;let[n,i]=e;if(vZ.has(n)||!vY(i))return[];let a=vH(n);if(!(null==a?void 0:a.stateAbbrs.length))return[];let o=a.isDivision?n:a.stateAbbrs[0];if(l.has(o))return[];l.add(o);let r=null!==(t=vQ[n.toLowerCase().replace(/[_-]+/g,"")])&&void 0!==t?t:vO(n).replace(/\b\w/g,e=>e.toUpperCase());return[{content:i,fieldName:n,id:o,label:r,stateAbbrs:a.stateAbbrs,tooltipLabel:r}]}).sort((e,l)=>e.label.localeCompare(l.label))},[e]);let vq=e=>{var l;let{areas:t,defaultSelectLabel:n,fields:i}=e,{selectedAreaId:a,setSelectedAreaId:o}=vy(),r=a?t.find(e=>e.id===a):void 0,s=t.map(e=>{let{id:l,label:t}=e;return{label:t,value:l}});return(0,tw.jsx)(vN,{headline:i.findHeadline,hideSelect:1===t.length,icon:vR(i),items:s,onSelect:o,selectLabel:(null===(l=i.selectionLabel)||void 0===l?void 0:l.value)||n,selectedValue:a,children:r?(0,tw.jsx)("div",{className:"pt-4 overflow-y-auto overflow-x-hidden max-h-144",children:(0,tw.jsx)(sS,{field:r.content})}):null})};var vW=e=>{let{defaultSelectLabel:l,fields:t,rendering:n}=e,i=v$(t);return i.length?(0,tw.jsx)(vF,{areas:i,rendering:n,sectionTitle:t.sectionTitle,tooltipId:n.componentName,children:(0,tw.jsx)(vq,{areas:i,defaultSelectLabel:l,fields:t})}):null};let vV=e=>{let{fields:l,rendering:t}=e;return(0,tw.jsx)(vW,{defaultSelectLabel:"Select a Division",fields:l,rendering:t})};var vG=(0,sf.C)()(vV);let vJ=e=>{let{fields:l,rendering:t}=e;
57return(0,tw.jsx)(vW,{defaultSelectLabel:"Select a State",fields:l,rendering:t})};var vK=(0,sf.C)()(vJ);let vX=e=>!!e&&e.some(e=>e.isActive);function v0(e,l){return e.children&&0!==e.children.length?(0,tw.jsxs)(tE.ML.Group,{label:e.text,active:e.isActive||vX(e.children),children:[(0,tw.jsx)(tE.ML.Item,{active:e.isActive,href:e.href,target:null==e?void 0:e.target,children:(0,tw.jsx)("span",{className:"fw-medium",children:e.text})}),e.children.map(e=>v0(e,!0))]},e.href):(0,tw.jsxs)(tE.ML.Item,{active:e.isActive,href:e.href,target:null==e?void 0:e.target,children:[l?(0,tw.jsx)(tE.JK,{name:"subdirectory_arrow_right",className:"me-1 pb-1"}):null,e.text]},e.href)}var v1=e=>{var l,t,n,i,a;let{fields:o,rendering:r}=e,{t:s}=(0,tB.QT)();if(!o)return null;let d=!(null===(l=o.interiorNavigation)||void 0===l?void 0:l.isActive);return(0,tw.jsxs)(tw.Fragment,{children:[d&&(0,tw.jsxs)(oG.U,{className:"mb-4 fw-medium text-decoration-none d-inline-flex align-items-center",editable:!1,field:{href:null===(t=o.interiorNavigation)||void 0===t?void 0:t.href},children:[(0,tw.jsx)(tE.JK,{name:"chevron_left",className:"me-1"}),"".concat(s("Header.UtilityMenu.BackLabel")," ").concat(null===(n=o.interiorNavigation)||void 0===n?void 0:n.text)]}),(0,tw.jsx)(tE.ML,{"data-test-id":null==r?void 0:r.componentName,label:s("PageContent.InteriorNavigation.AccordionTitle"),kind:"outline",children:null===(a=o.interiorNavigation)||void 0===a?void 0:null===(i=a.children)||void 0===i?void 0:i.map(e=>v0(e))})]})},v4=e=>{let{locations:l,currentLocation:t,linkLabel:n}=e,[i,a]=(0,tk.useState)(),{t:o}=(0,tB.QT)(),r=l.map(e=>{let{locationName:l}=e;return{label:l,value:l}}),s=(0,tk.useMemo)(()=>{var e;let l=i||t;return(0,tw.jsx)(oG.U,{className:"mt-5 d-inline-block text-lg-center text-decoration-none",field:{value:{href:null!==(e=null==l?void 0:l.patientPaymentHpsNumberUrl)&&void 0!==e?e:null==l?void 0:l.patientPaymentEstimatorLocationUrl,text:null==n?void 0:n.value}}})},[t,n,i]),d=(0,tk.useCallback)(e=>{a(l.find(l=>l.locationName===e.value))},[l,a]);return(0,tw.jsxs)("div",{className:"row mt-5",children:[(0,tw.jsx)("div",{className:"col-12 col-md-5",children:0!==l.length?(0,tw.jsx)(tE.j8,{label:o("Locations.Facilities.SelectFacility"),items:r,value:r.find(e=>e.value===(null==i?void 0:i.locationName)),onNeuChange:d,required:!0}):null}),(0,tw.jsx)("div",{className:"col-12 ".concat(l.length&&"col-md-6"),children:s})]})};let v3=e=>{var l;let{fields:t,rendering:n,params:i}=e,{startingHeadingTag:a}=sD(i);return(0,tw.jsxs)(tE.IS,{kind:"elevated",color:"plain",interactive:!1,"data-test-id":null==n?void 0:n.componentName,children:[(0,tw.jsx)(tE.IS.Header,{children:(0,tw.jsx)(tD,{tag:a,className:"neu-display-2 fw-bold",field:null==t?void 0:t.itemizationTitle})}),(0,tw.jsxs)(tE.IS.Content,{children:[(0,tw.jsx)(tR.H,{tag:"p",field:null==t?void 0:t.itemizationOfServicesInformation}),(0,tw.jsx)(v4,{locations:(null==t?void 0:t.locations)||[],currentLocation:null==t?void 0:t.currentLocation,linkLabel:null==t?void 0:t.linkLabel}),(null==t?void 0:t.itemAlert)?(0,tw.jsx)(tE.qw,{kind:"info",className:"mt-5 mb-3 text-bold",children:null==t?void 0:null===(l=t.itemAlert)||void 0===l?void 0:l.value}):null]})]})};var v5=(0,sf.C)()(v3);let v2=e=>{var l;let{fields:t,rendering:n}=e,{t:i}=(0,tB.QT)(),a=null!==(l=null==t?void 0:t.languageSelection)&&void 0!==l?l:[],o=(0,tT.u)(),{isDarkBackground:r}=sl(),{availableLanguages:s,selectedFriendlyName:d,changeLanguage:c}=ij({fields:a});if(!a||!a.length)return o&&(tE.qw,null==n||n.componentName),null;let u=null==s?void 0:s.map(e=>{var l,t;return{value:null==e?void 0:null===(l=e.regionalIsoCode)||void 0===l?void 0:l.value,label:null==e?void 0:null===(t=e.friendlyName)||void 0===t?void 0:t.value}});return(0,tw.jsx)("div",{"data-test-id":null==n?void 0:n.componentName,children:(0,tw.jsx)(tE.qd,{children:(0,tw.jsx)(iC,{condition:r,wrapper:e=>(0,tw.jsx)("div",{className:"d-flex",children:(0,tw.jsx)("div",{className:"p-2 rounded neu-bg-plain-0",children:e})}),wrappedJSX:(0,tw.jsx)(tE.j8,{className:"max-w-69 optional-none",value:u.find(e=>e.label===d),name:"language-dropdown",items:u,label:i("PageContent.LanguageToggle.Title"),onNeuChange:e=>{let l=null==u?void 0:u.find(l=>(null==l?void 0:l.value)===e.value);l&&c(l.label)}})})})})};var v6=(0,sf.C)()(v2);function v9(e,l){let{sitecoreContext:{siteAttributes:t}}=(0,tL.u)(),[n,i]=(0,tk.useState)(null);return(0,tk.useEffect)(()=>
57{if(e&&(null==t?void 0:t.isLocation)&&l){var n,a;let t=e.find(e=>e.locationName===l);if(!t)for(let i of e){let e=null===(n=i.locations)||void 0===n?void 0:n.find(e=>e.locationName===l);if(e){t=e;break}}t?i(null!==(a=t.locationName)&&void 0!==a?a:null):i(null)}else i(null)},[e,l,null==t?void 0:t.isLocation]),{locations:null!=e?e:[],initialSelectedLocationName:n}}var v8=e=>{let{locationName:l,phoneNumber:t,filterTitle:n,contactDescription:i,facilityPrivacyPolicy:a,contactHeading:o,twoContactLines:r,params:s}=e,{getRelativeHeadingTag:d}=sD(s),c=(0,tk.useMemo)(()=>{var e;return null==i?void 0:null===(e=i.value)||void 0===e?void 0:e.replace("{telephone}",'<a href="tel:'.concat(t,'"><span>').concat(t,"</span></a>"))},[i,t]);return(0,tw.jsxs)("div",{children:[l?(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tD,{tag:d(1),className:"mb-3 neu-display-3",field:{value:l}}),(0,tw.jsx)(tD,{tag:d(2),className:"neu-display-4",field:n}),(0,tw.jsx)(tS,{}),(0,tw.jsx)(tD,{tag:d(2),className:"neu-display-4",field:o})]}):(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tD,{tag:d(1),className:"neu-display-3",field:n}),(0,tw.jsx)(tD,{tag:d(1),className:"neu-display-3",field:o})]}),t&&(0,tw.jsx)(tR.H,{field:{value:c},className:"my-3"}),(0,tw.jsx)(tR.H,{field:a,className:"mb-3"}),r&&t&&(0,tw.jsx)(tR.H,{field:{value:c},className:"my-3"})]})};let v7=e=>{var l,t;let{fields:n,rendering:i,params:a}=e,{locations:o,initialSelectedLocationName:r}=v9(null==n?void 0:n.locations,null==n?void 0:n.currentLocationName),{isDarkBackground:s,contentAccessibilityClassNames:d}=sl(),[c,u]=(0,tk.useState)(r);(0,tk.useEffect)(()=>{u(r)},[r]);let m=(0,tk.useMemo)(()=>{if(!c||!o)return null;let e=o.find(e=>e.locationName===c);if(!e)for(let t of o){var l;let n=null===(l=t.locations)||void 0===l?void 0:l.find(e=>e.locationName===c);if(n){e=n;break}}return e||null},[c,o]),v=(0,tk.useCallback)(e=>{u(e)},[]);if((0,tT.u)()&&(null==n?void 0:n.error))return(0,tw.jsx)(tE.qw,{kind:"warning",label:"Not visible in Experience Editor",children:(0,tw.jsx)("p",{children:n.error})});function p(e,l){var t,n,i;return(null==e?void 0:null===(t=e.locations)||void 0===t?void 0:t.length)?(0,tw.jsxs)(tE.ML.Group,{active:!1,label:null!==(i=null==e?void 0:e.locationName)&&void 0!==i?i:"",children:[(0,tw.jsxs)(tE.ML.Item,{active:c===(null==e?void 0:e.locationName),onClick:()=>{var l;return v(null!==(l=null==e?void 0:e.locationName)&&void 0!==l?l:"")},children:[(0,tw.jsx)(tE.JK,{name:"subdirectory_arrow_right",className:"me-1 pb-1"}),null==e?void 0:e.locationName]}),null==e?void 0:null===(n=e.locations)||void 0===n?void 0:n.map(e=>p(e,!0))]},"".concat(null==e?void 0:e.facilityId,"-group-item")):(0,tw.jsxs)(tE.ML.Item,{active:c===e.locationName,onClick:()=>{var l;return v(null!==(l=e.locationName)&&void 0!==l?l:"")},children:[l?(0,tw.jsx)(tE.JK,{name:"subdirectory_arrow_right",className:"me-1 pb-1"}):null,e.locationName]},null==e?void 0:e.facilityId)}let{startingHeadingTag:f}=sD(a);return(0,tw.jsxs)("div",{"data-test-id":null==i?void 0:i.componentName,children:[(null==n?void 0:null===(l=n.title)||void 0===l?void 0:l.value)?(0,tw.jsx)(tD,{tag:f,className:(0,sT.Z)("mb-3 neu-display-5",d),field:n.title}):null,(0,tw.jsxs)("div",{className:"row flex-column flex-lg-row",children:[(0,tw.jsx)("div",{className:"col-lg-3",children:(0,tw.jsx)(tE.ML,{active:!0,label:(null==n?void 0:null===(t=n.filterTitle)||void 0===t?void 0:t.value)||"",kind:"outline",className:"static-dropdown max-h-256-lg overflow-y-auto",rounded:s,children:null==o?void 0:o.map(e=>p(e))})}),(0,tw.jsx)("div",{className:(0,sT.Z)("col-lg-9 mt-6 mt-lg-0",d),children:m&&(0,tw.jsx)(v8,{locationName:null==m?void 0:m.locationName,phoneNumber:null==m?void 0:m.ph
57oneNumber,contactDescription:null==n?void 0:n.contactDescription,filterTitle:null==n?void 0:n.secondFilterTitle,facilityPrivacyPolicy:null==n?void 0:n.facilityPrivacyPolicy,contactHeading:null==n?void 0:n.contactHeading,twoContactLines:null==n?void 0:n.twoContactLines,params:a})})]})]})};var pe=(0,sf.C)()(v7);let pl="992px";function pt(e){return(0,tk.useSyncExternalStore)(l=>{if(typeof window>"u")return()=>{};let t=window.matchMedia(e);return t.addEventListener("change",l),()=>t.removeEventListener("change",l)},()=>!(typeof window>"u")&&window.matchMedia(e).matches,()=>!1)}let pn={display:500,sort:""},pi="fw-bold neu-text-caption";var pa=e=>{var l,t;let{location:n,handleSelect:i,className:a,setRef:o,isDesktop:r}=e,{t:s}=(0,tB.QT)(),{SpecialtyButton:d,WebsiteButton:c,GetDirectionsButton:u}=oE,m=null!==(t=null!==(l=null==n?void 0:n.marketedFacilityName)&&void 0!==l?l:null==n?void 0:n.facilityName)&&void 0!==t?t:null==n?void 0:n.locationName,{data:v,isValidating:p}=(0,o2.u)({revalidateOnFocus:!0});return(0,tw.jsxs)("div",{ref:e=>o(e,n.itemId),children:[(0,tw.jsx)(tS,{size:"2x"}),(0,tw.jsxs)(tE.qd,{className:(0,sT.Z)("px-3",a),children:[(0,tw.jsxs)(tE.qd.Row,{className:"mb-2",children:[(0,tw.jsx)(tE.qd.Column,{children:r?(0,tw.jsx)(oG.U,{href:"#",className:"neu-display-5 fw-bold neu-text-black",onClick:e=>(e.preventDefault(),n.itemId&&i(n.itemId)),children:n.marketedFacilityName}):(0,tw.jsx)("span",{className:"neu-display-5 fw-bold",children:n.marketedFacilityName})}),(0,tw.jsx)(tE.qd.Column,{col:"auto",children:(0,tw.jsx)("span",{children:n.distance&&(0,tw.jsx)(oJ,{distance:n.distance,className:"neu-text-caption fw-regular"})})})]}),n.urgentCareFacilityId&&v&&(0,tw.jsx)(tE.qd.Row,{className:"mb-2",children:(0,tw.jsx)(tE.qd.Column,{children:(0,tw.jsx)(oX.a,{ucFacilityId:n.urgentCareFacilityId,waitTimes:v,isLoading:p})})}),(0,tw.jsx)(tE.qd.Row,{className:"mb-2",children:(0,tw.jsx)(tE.qd.Column,{children:(0,tw.jsx)(o3,{result:n,erFeed:oC(null==n?void 0:n.erFeed),className:"d-flex flex-column",erWaitClass:"mt-1"})})}),(0,tw.jsxs)(tE.qd.Row,{className:"mb-2 justify-content-between",children:[(0,tw.jsx)(tE.qd.Column,{col:"auto",className:"neu-text-caption",children:(0,tw.jsx)(oM,{title:s("Locations.Card.Address"),titleClassName:pi,street1:n.street1,street2:n.street2,city:n.city,state:n.state,postalCode:n.postalCode})}),(0,tw.jsx)(tE.qd.Column,{col:"auto",className:"neu-text-caption",children:(0,tw.jsx)(o4,{title:s("Locations.Card.PhoneNumber"),titleClassName:pi,phoneNumber:n.marketedPrimaryPhoneNumber})})]}),(0,tw.jsx)(tE.qd.Row,{className:"mb-2",children:(0,tw.jsxs)(tE.qd.Column,{className:"d-flex flex-wrap justify-content-start gap-2",children:[(0,tw.jsx)(oW,{result:n,buttonOrder:[d,c,u],buttonProps:{[oE.WebsiteButton]:{kind:"secondary",size:"small",icon:"apartment"},[oE.GetDirectionsButton]:{kind:"secondary",size:"small",icon:"directions"}},onViewOnMapClick:e=>(e.preventDefault(),n.itemId&&i(n.itemId))}),(n.virtualVisitRegistrationUrl||n.onsiteVisitRegistrationUrl)&&(0,tw.jsxs)("div",{className:"w-100 mt-2",children:[(0,tw.jsx)(oq,{className:"w-100",result:n,facilityName:m}),(0,tw.jsx)(o$,{className:"w-100 mt-2",result:n,facilityName:m})]})]})}),oS(n)&&(0,tw.jsx)(tE.qd.Row,{className:"mb-2",children:(0,tw.jsx)(tE.qd.Column,{className:"d-flex justify-content-between",children:(0,tw.jsx)(o1,{result:n,titleClassName:"fw-bold",fontClassName:"neu-text-caption"})})})]})]})};let po=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v;let{rendering:p,fields:f}=e,{t:h}=(0,tB.QT)(),{sitecoreContext:{siteAttributes:{isHospital:x}}}=(0,tL.u)(),g=pt("(min-width: ".concat(pl,")")),[y,j]=tk.useState(null!==(r=null==f?void 0:null===(l=f.defaultResponse)||void 0===l?void 0:l.results)&&void 0!==r?r:[]),[N,b]=tk.useState(null),[w,L]=tk.useState(!0),[C,S]=tk.useState(h("Locations.Search.HideFilters")),[k,M]=tk.useState(void 0),{queryParams:D,isReady:T}=a2(),I=tk.useRef(null),E=tk.useRef(null),A=tk.useRef(w),_=tk.useRef(!1),F=tk.useRef({}),P=(e,l)=>{var t;l&&(null===e?delete F.current[l]:(null===(t=E.current)||void 0===t?void 0:t.contains(e))&&(F.current[l]=e))};tk.useEffect(()=>{if(E.current&&N){let e=E.current,l=F.current[N];l&&(e.scrollTop=l.getBoundingClientRect().top-e.getBoundingClientRect().top+e.scrollTop)}},[N]);let{data:O,setLocationSearchParameter:z,locationSearchParameter:R,error:B,isLoading:U}=aR(void 0,{enabled:T}),H=e=>Array.isArray(e)?e.some(e=>!!String(null!=e?e:"").trim()):!!String(null!=e?e:"").trim(),Z=H(null==D?void 0:D.facilityId)||H(null==D?void 0:D.locationName)||H(null==D?void 0:D.locationSearch)||H(null==D?void 0:D.address)||H(null==D?void 0:D.latitude)&&H(null==D?void 0:D.longitude)||Object.values(null!==(s=null==D?void 0:D.filters)&&void 0!==s?s:{}).some(e=>(null!=e?e:[]).some(e=>!!(null==e?void 0:e.trim()))),Q=!T||U||Z&&!1===_.current,Y=tk.useCallback(e=>{var l,t,n,i,a,o,r;M(void 0);let s={...pn,sort:null==R?void 0:R.sort},{facilityId:d,facilityNameSearch:c,locationName:u,facilityTypeSelect:m,specialtySelect:v,filters:p,radius:f="",...h}=e,x=null!==(a=null!=u?u:c)&&void 0!==a?a:null,g=p||{marketed_secondary_types_names:m?[m]:null===m?[]:null==R?void 0:null===(l=R.filters)||void 0===l?void 0:l.marketed_secondary_types_names,taxonomy_terms:v?[v]:null===v?[]:null==R?void 0:null===(t=R.filters)||void 0===t?void 0:t.taxonomy_terms},y=(null!==(o=null===(n=g.marketed_secondary_types_names)||void 0===n?void 0:n.length)&&void 0!==o?o:0)>0||(null!==(r=null===(i=g.taxonomy_terms)||void 0===i?void 0:i.length)&&void 0!==r?r:0)>0;if(d)s={...s,facilityId:d,filters:g,radius:f};else if(x)s={...s,locationName:x,filters:g,radius:f};else{if((!h.latitude||!h.longitude)&&!y)return;s={...s,...h,filters:g,radius:f}}z(of(s))},[null==R?void 0:null===(t=R.filters)||void 0===t?void 0:t.marketed_secondary_types_names,null==R?void 0:null===(n=R.filters)||void 0===n?void 0:n.taxonomy_terms,null==R?void 0:R.sort,z]);tk.useEffect(()=>{if(!O)return;let{data:{results:e},hasErrors:l}=O;if(l&&M(O.errors),e){var t,n,i;if(0===e.length){b(null),j([]);return}if(null==R?void 0:R.facilityId){let l=e.find(e=>e.facilityId===R.facilityId);j(l?[l]:[]),b(null!==(t=null==l?void 0:l.itemId)&&void 0!==t?t:null);return}if(null==R?void 0:R.locationName){let l=e.find(e=>{var l,t;return(null===(l=e.marketedFacilityName)||void 0===l?void 0:l.toLowerCase())===(null==R?void 0:null===(t=R.locationName)||void 0===t?void 0:t.toLowerCase())});if(l){b(null!==(n=null==l?void 0:l.itemId)&&void 0!==n?n:null),j([l]);return}}j(e),1===e.length&&b(null!==(i=e[0].itemId)&&void 0!==i?i:null)}},[O]);let{onSortChange:$,onClear:q}=dd({params:R||{},setParams:Y,defaultParams:pn,handleUrlReplace:T}),W=(null==k?void 0:k.length)&&k.length>0||B||0===y.length;tk.useEffect(()=>{A.current=w},[w]),tk.useEffect(()=>{T&&D&&Z&&!1===_.current&&(_.current=!0,Y(D))},[D,T,Y,Z]);let V=tk.useCallback(e=>{if(_.current=!0,b(null),Object.values(e).every(e=>!e)){var l;j((null==f?void 0:null===(l=f.defaultResponse)||void 0===l?void 0:l.results)||[]),q();return}Y(e)},[null==f?void 0:null===(i=f.defaultResponse)||void 0===i?void 0:i.results]),{FacilityNameSearch:G,LocationSearch:J,FacilityTypeSelect:K,SpecialtySelect:X,RadiusSelect:ee,SubmitButton:el,Divider:et}=ot;tk.useEffect(()=>{E.current&&E.current.addEventListener("scroll",()=>{if(!E.current||!I.current)return;let e=E.current.scrollTop>=I.current.offsetTop;S(A.current&&!e?h("Locations.Search.HideFilters"):h("Locations.Search.ShowFilters"))})},[]);let en=(0,tw.jsx)("div",{ref:I,children:(0,tw.jsx)(og,{className:(0,sT.Z)({"d-none":!w}),config:{formFieldOrder:[G,et,J,K,X,ee,el],[K]:{facilityOptions:null==f?void 0:null===(a=f.facilityTypes)||void 0===a?void 0:a.map(e=>({label:e.text,value:e.id}))},[el]:{buttonClassName:"w-100"}},locationSearchFormSubmit:V})}),ei=(0,tw.jsx)("div",{className:"row",children:(0,tw.jsx)("div",{className:"col-12 px-lg-0",children:(0,tw.jsx)(sG,{className:(0,sT.Z)("pt-0",W?"d-none":""),variant:"gray",counter:!Q&&y.length>0?(0,tw.jsx)(is,{contentTitleClassName:"pt-4 pb-2",count:null!==(d=y.length)&&void 0!==d?d:0,end:null!==(c=y.length)&&void 0!==c?c:0,displaySize:null!==(u=y.length)&&void 0!==u?u:0,sortOptions:[{value:"",label:h("Search.Distance")},{value:"marketedfacilityname_s:asc",label:h("Locations.Search.Form.Sort.AZ")}],onSortChange:$,useSmallLayout:!0,start:0,hideTitle:!0,className:"pb-0",showErWaitTimes:x}):void 0,errors:null==O?void 0:O.errors,failureToFetchError:B,noResultsTitle:h("Locations.Search.NoResult"),noResultsDescription:h("Locations.Search.TryAgain"),totalResults:null!==(m=y.length)&&void 0!==m?m:0,hasResults:y.length>0,currentPage:1,display:null!==(v=y.length)&&void 0!==v?v:0,dividerClassName:"d-none",rightContentClassName:(0,sT.Z)("col-12 px-0 ps-lg-2 h-100",Q&&"d-flex flex-column align-items-center justify-content-center"),listItems:Q?(0,tw.jsx)(tE.$V,{kind:"spinner",size:"large",className:"h-100 align-items-center"}):y.map(e=>(0,tw.jsx)(pa,{location:e,handleSelect:e=>{b(null!=e?e:null)},setRef:P,isDesktop:g},e.itemId))})})}),ea=(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsx)("div",{className:"col-12 pe-0",children:(0,tw.jsx)(sv,{rendering:p,fallbackTitle:{value:h("Common.Locations")}})}),(0,tw.jsxs)("div",{className:"col-12 px-4 px-lg-0",children:[(0,tw.jsx)("div",{className:"px-lg-4",children:(0,tw.jsx)(tE.Yu,{kind:"secondary",icon:"filter_list",onNeuClick:()=>{C===h("Locations.Search.HideFilters")?(L(!1),S(h("Locations.Search.ShowFilters"))):(L(!0),S(h("Locations.Search.HideFilters")),E.current&&(E.current.scrollTop=0))},className:"mt-4 mb-1 w-100",children:C})}),(0,tw.jsx)("div",{className:"d-lg-none",children:en}),(0,tw.jsxs)("div",{ref:E,className:"d-none d-lg-block overflow-y-scroll overflow-x-hidden h-240 ps-4 pe-1",children:[en,ei,y&&y.length>=5&&(0,tw.jsx)("div",{className:"d-flex justify-content-center",children:(0,tw.jsx)(tE.Yu,{kind:"secondary",className:"mb-3",onNeuClick:()=>
57{if(F.current&&Object.keys(F.current).length>0){var e;let l=Object.keys(F.current)[0],t=F.current[l];null==t||null===(e=t.querySelector("a"))||void 0===e||e.focus()}},children:h("Locations.Search.BackToTop")})})]})]})]}),eo=e=>{if(!e){b(null);return}b(null!=e?e:null)},er=(null==f?void 0:null===(o=f.disableSearchThisArea)||void 0===o?void 0:o.value)?void 0:e=>{let{latitude:l,longitude:t,radius:n}=e;Y({latitude:l,longitude:t,radius:n,filters:null==R?void 0:R.filters})},es=(0,tw.jsxs)("div",{children:[0===y.length&&!k&&!Q&&(0,tw.jsx)(oj,{noResultsTitle:h("Locations.Search.NoResult"),noResultsDescription:h("Locations.Search.TryAgain")}),(k&&k.length>0||B)&&(0,tw.jsx)(oj,{errors:k,failureToFetchError:B})]}),ed=W?null:Q?(0,tw.jsx)(tE.$V,{kind:"spinner",size:"large",className:"h-100 align-items-center"}):g?(0,tw.jsx)(uB.A,{locations:y,onMapSelectedLocation:eo,selectedLocationId:null!=N?N:null,searchThisAreaHandler:er}):null;return(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsx)("div",{className:"col-12 col-lg-4",children:ea}),(0,tw.jsxs)("div",{className:"col-12 d-lg-none",children:[!W&&(0,tw.jsx)("div",{className:"overflow-y-scroll overflow-x-hidden h-240",children:ei}),es]}),(0,tw.jsxs)("div",{className:"col-8 d-none d-lg-block px-0",children:[es,ed]})]})};var pr=(0,sf.C)()(po),ps=e=>{let{headline:l,description:t,locationSearchFormSubmit:n,allSpecialtyLocationsPath:i,selectedLocation:a,termName:o}=e,{t:r}=(0,tB.QT)(),{LocationSearch:s,SubmitButton:d}=ot,c=du().stringify({address:a},{arrayFormat:"brackets",allowDots:!0}),u={value:{text:r("Locations.Search.ViewAllSpecialtyLocations"),href:a?"".concat(i,"&").concat(c):"".concat(i)}},m=o?r("Locations.Search.ViewAllSpecialtyLocationsTitle",{specialty:o}):void 0;return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tD,{tag:"h4",field:l,className:"fw-bold"}),(0,tw.jsx)(tD,{tag:"p",field:t,className:"pt-2 mb-0"}),(0,tw.jsx)(og,{locationSearchFormSubmit:n,config:{formFieldOrder:[s,d],[d]:{buttonText:r("Locations.Search.ViewNearbyLocations"),buttonClassName:"w-100"}}}),(0,tw.jsx)(tA,{field:u,kind:"secondary","aria-label":m,className:"w-100 mb-5 mb-lg-0",children:r("Locations.Search.ViewAllSpecialtyLocations")})]})},pd=e=>{var l,t,n,i,a;let{allSpecialtyLocationsPath:o,headline:r,description:s,dataTestId:d,errors:c,failureToFetchError:u,isValidating:m,locationSearchFormSubmit:v,onPageChange:p,listItems:f,selectedLocation:h,currentPage:x,totalResults:g,searchResultsClassName:y,counterClassName:j,display:N}=e,{t:b}=(0,tB.QT)(),{sitecoreContext:w}=(0,tL.u)(),L=null==w?void 0:null===(a=w.route)||void 0===a?void 0:null===(i=a.fields)||void 0===i?void 0:null===(n=i.taxonomy)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:null===(l=t.termName)||void 0===l?void 0:l.value,C=h?b("Locations.Listing.LocationSpecialtyTitle",{specialty:L,location:h}):b("Locations.Listing.SpecialtyTitle",{specialty:L});return(0,tw.jsx)(sG,{className:"position-relative pt-0 pb-0",variant:"gray",leftContentClassName:"col-lg-4 px-lg-0 px-2 pe-lg-6 z-1 py-lg-6 pt-4 my-lg-0 my-2 neu-bg-plain-0",rightContentClassName:"col-lg-8 ps-0 ps-lg-6 z-1 neu-bg-light-0 h-lg-100 py-lg-6 py-2",dataTestId:d,counter:(0,tw.jsx)("h3",{className:(0,sT.Z)("neu-display-6 fw-bold",j),children:C}),dividerClassName:j,errors:c,failureToFetchError:u,leftContent:(0,tw.jsx)(ps,{termName:L,headline:r,description:s,locationSearchFormSubmit:v,allSpecialtyLocationsPath:o}),onPageChange:p,searchResultsClassName:y,listItems:f,currentPage:x,totalResults:null!=g?g:0,hasResults:!!g&&g>0,noResultsTitle:b("Locations.Search.NoResults"),noResultsDescription:b("Locations.Search.TryAgain"),query:h,isValidating:m,display:N,hasTwoTonedBackground:!0})},pc=e=>{var l,t,n,i,a;let{termName:o,result:r,defaultLocationImage:s,isValidating:d}=e,{city:c,state:u,street1:m,street2:v,postalCode:p,locationSpecialties:f,locationUrl:h,marketedWebsite:x}=r,g=oV({locationSpecialties:f,selectedSpecialty:o}),y=null!==(t=null!==(l=null==r?void 0:r.marketedFacilityName)&&void 0!==l?l:null==r?void 0:r.facilityName)&&void 0!==t?t:null==r?void 0:r.locationName,j=oI({text:y,url:null!==(a=null!==(i=null!==(n=null==g?void 0:g.url)&&void 0!==n?n:h)&&void 0!==i?i:x)&&void 0!==a?a:""});return d?(0,tw.jsxs)("div",{className:"col-12 col-lg-4 mb-3 mb-lg-6 py-3 px-3",children:[(0,tw.jsx)(sU.Z,{height:150,className:"mb-3"}),(0,tw.jsx)(sU.Z,{height:15}
57),(0,tw.jsx)(sU.Z,{count:3,height:10})]}):(0,tw.jsxs)("div",{className:(0,sT.Z)("col-12 col-lg-4 mb-3 mb-lg-6 py-3 px-3",(null==r?void 0:r.isCurrentLocation)&&"border-solid border-3 border-neu-main-60"),children:[(0,tw.jsx)("div",{className:"w-100 position-relative ratio-3x2 p-1",children:(0,tw.jsx)(ok.o,{fill:!0,className:"object-fit-cover",field:{value:{src:(null==r?void 0:r.locationImageUrl)||(null==r?void 0:r.locationImage)||s,alt:y}}})}),(0,tw.jsxs)("div",{className:"pt-2",children:[j.value.href?(0,tw.jsx)(oG.U,{field:j,className:"fw-bold text-decoration-underline"}):(0,tw.jsx)("span",{className:"fw-bold",children:y}),(0,tw.jsx)(oM,{city:c,postalCode:p,state:u,street1:m,street2:v,className:"pt-2"}),(0,tw.jsx)(oY,{result:r,facilityName:y,className:"mt-2 align-bottom",icon:"call"})]}),(null==r?void 0:r.distance)?(0,tw.jsx)(oJ,{distance:r.distance,className:"d-inline-block pt-1"}):null]})};function pu(e){var l,t,n,i,a,o,r;let{fields:s,rendering:d}=e,{t:c}=(0,tB.QT)(),[u,m]=(0,tk.useState)(),[v,p]=(0,tk.useState)(!1),f=Array.isArray(null==s?void 0:s.locations)?{data:{results:null==s?void 0:s.locations,total:null==s?void 0:null===(l=s.locations)||void 0===l?void 0:l.length},hasErrors:!1,success:!0}:void 0,{data:h,setLocationSearchParameter:x,locationSearchParameter:g,error:y,isValidating:j}=aR({...null==s?void 0:s.defaultRequest,sort:"marketedfacilityname_s:asc",display:"3"},{enabled:v||!(null==s?void 0:null===(t=s.locations)||void 0===t?void 0:t.length),fallbackData:(null==s?void 0:null===(n=s.locations)||void 0===n?void 0:n.length)?f:void 0}),N=e=>{var l;let t={...g,address:e.address,latitude:e.latitude,longitude:e.longitude,radius:20,page:1,filters:null==s?void 0:null===(l=s.defaultRequest)||void 0===l?void 0:l.filters,display:"3",sort:void 0};m(t.address),x(t),p(!0)},b=null==h?void 0:null===(i=h.data)||void 0===i?void 0:i.results,w=!!(null==b?void 0:b.find(e=>e.isCurrentLocation)),L=w?"":"ms-3",C=(0,tw.jsx)("div",{className:"col-12 gx-0",children:(0,tw.jsx)("div",{className:"px-0 col-12 col-lg-4",children:(0,tw.jsx)("div",{className:"mb-3 inline-block",children:(0,tw.jsx)(tE.m3,{color:"main",kind:"emphasized",className:"w-100 justify-content-center",children:c("Locations.Search.CurrentlyViewing")})})})}),S=w?[C]:[];return b&&b.map(e=>S.push((0,tw.jsx)(pc,{isValidating:j,result:e,defaultLocationImage:null==s?void 0:s.defaultLocationImage},null==e?void 0:e.facilityId))),(0,tw.jsx)(pd,{dataTestId:null==d?void 0:d.componentName,errors:null==h?void 0:h.errors,failureToFetchError:y,headline:null==s?void 0:s.headline,description:null==s?void 0:s.description,locationSearchFormSubmit:N,allSpecialtyLocationsPath:null==s?void 0:s.allSpecialtyLocations,listItems:S,totalResults:null!==(r=null!==(o=null==h?void 0:null===(a=h.data)||void 0===a?void 0:a.total)&&void 0!==o?o:null==b?void 0:b.length)&&void 0!==r?r:0,selectedLocation:u,isValidating:j,searchResultsClassName:"row mx-1",counterClassName:L})}var pm=(0,sf.C)()(pu);let pv=e=>{let{locations:l}=e;return(0,tw.jsx)("ul",{className:"column-count-2-md column-count-1 ps-3",children:l.map(e=>(0,tw.jsx)("li",{children:(0,tw.jsx)(r5.r,{className:"d-inline-flex",field:{value:{href:e.url,text:e.locationName}}})},e.locationName))})};function pp(e){let{fields:{description:l,heading:t,locations:n},rendering:i,params:a}=e,o=(0,tT.u)(),{startingHeadingTag:r}=sD(a),{contentAccessibilityClassNames:s}=sl();return n&&(null==n?void 0:n.length)!==0?(0,tw.jsxs)("div",{"data-test-id":null==i?void 0:i.componentName,className:s,children:[(null==t?void 0:t.value)&&(0,tw.jsx)(tD,{tag:r,className:"neu-display-3 fw-bold",field:t}),(null==l?void 0:l.value)&&(0,tw.jsx)(tD,{tag:"p",className:"mt-3",field:l}),(0,tw.jsx)(pv,{locations:n})]}):o?(0,tw.jsx)(tE.qw,{kind:"warning",label:"DT-32 - Market Bill Pay Link Block: No Data Found",children:(0,tw.jsx)("p",{children:"No data found"})}):null}var pf=(0,sf.C)()(pp),ph=e=>{var l,t,n,i,a,o;let{termName:r,result:s,selectedLocation:d}=e,{marketedFacilityName:c,city:u,state:m,postalCode:v,distance:p=0,locationSpecialties:f,locationUrl:h,marketedWebsite:x}=s,g=oV({locationSpecialties:f,selectedSpecialty:r}),y=oI({text:null!==(n=null!==(t=null!==(l=null==s?void 0:s.marketedFacilityName)&&void 0!==l?l:null==s?void 0:s.facilityName)&&void 0!==t?t:null==s?void 0:s.locationName)&&void 0!==n?n:"",url:null!==(o=null!==(a=null!==(i=null==g?void 0:g.url)&&void 0!==i?i:h)&&void 0!==a?a:x)&&void 0!==o?o:""});return(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"d-lg-flex justify-content-lg-between no-gutters",children:[y.value.href?(0,tw.jsx)(oG.U,{field:y,className:(0,sT.Z)("text-decoration-none fw-bold",p?"col-lg-4":"")}):(0,tw.jsx)("span",{className:"fw-bold",children:c}),(0,tw.jsx)("div",{className:"row col-lg-4",children:(0,tw.jsx)(oM,{icon:!0,city:u,postalCode:v,state:m})}),d&&p?(0,tw.jsx)(oJ,{className:"col-lg-2",distance:p}):null]}),(0,tw.jsx)(tS,{className:"my-1"})]})};function px(e){var l,t,n,i,a,o,r,s,d,c,u,m,v,p;let{fields:f,rendering:h}=e,{sitecoreContext:x}=(0,tL.u)(),[g,y]=(0,tk.useState)(),[j,N]=(0,tk.useState)(!1),b=null==x?void 0:null===(a=x.route)||void 0===a?void 0:null===(i=a.fields)||void 0===i?void 0:null===(n=i.taxonomy)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:null===(l=t.termName)||void 0===l?void 0:l.value,w=Array.isArray(null==f?void 0:f.locations)?{data:{results:null==f?void 0:f.locations,total:null!==(v=null==f?void 0:f.totalLocations)&&void 0!==v?v:null==f?void 0:null===(o=f.locations)||void 0===o?void 0:o.length},hasErrors:!1,success:!0}:void 0,{data:L,setLocationSearchParameter:C,locationSearchParameter:S,error:k,isValidating:M}=aR({...null==f?void 0:f.defaultRequest,sort:"marketedfacilityname_s:asc"},{enabled:j||!(null==f?void 0:null===(r=f.locations)||void 0===r?void 0:r.length),fallbackData:(null==f?void 0:null===(s=f.locations)||void 0===s?void 0:s.length)?w:void 0}),D=e=>{var l,t,n,i;let a={...S,address:e.address?e.address:null==f?void 0:null===(l=f.defaultRequest)||void 0===l?void 0:l.address,latitude:e.latitude?e.latitude:null==f?void 0:null===(t=f.defaultRequest)||void 0===t?void 0:t.latitude,longitude:e.longitude?e.longitude:null==f?void 0:null===(n=f.defaultRequest)||void 0===n?void 0:n.longitude,radiu
57s:20,page:1,filters:null==f?void 0:null===(i=f.defaultRequest)||void 0===i?void 0:i.filters,sort:void 0};y(a.address),C(a),N(!0)},T=e=>{var l;let t=null!==(l=e.value)&&void 0!==l?l:1;N(!0),C({...S,page:t})},I=(0,tk.useMemo)(()=>{var e;return M?Array.from({length:10},(e,l)=>(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsxs)("div",{className:"d-lg-flex justify-content-lg-between",children:[(0,tw.jsx)("div",{className:"col-lg-6",children:(0,tw.jsx)(sU.Z,{count:1,height:20})}),(0,tw.jsx)("div",{className:"col-lg-4",children:(0,tw.jsx)(sU.Z,{count:1,height:20})})]}),(0,tw.jsx)(tS,{className:"my-1"})]},"skeleton-".concat(l))):null==L?void 0:null===(e=L.data)||void 0===e?void 0:e.results.map((e,l)=>{var t,n,i;return(0,tw.jsx)(ph,{result:e,termName:b,selectedLocation:g,distance:null==L?void 0:null===(i=L.data)||void 0===i?void 0:null===(n=i.results)||void 0===n?void 0:null===(t=n[l])||void 0===t?void 0:t.distance},null==e?void 0:e.facilityId)})},[M,null==L?void 0:null===(d=L.data)||void 0===d?void 0:d.results]);return(0,tw.jsx)(pd,{dataTestId:null==h?void 0:h.componentName,errors:null==L?void 0:L.errors,failureToFetchError:k,headline:null==f?void 0:f.headline,description:null==f?void 0:f.description,locationSearchFormSubmit:D,allSpecialtyLocationsPath:null==f?void 0:f.allSpecialtyLocations,onPageChange:T,listItems:I,currentPage:null==L?void 0:null===(u=L.data)||void 0===u?void 0:null===(c=u.page)||void 0===c?void 0:c.current,totalResults:null!==(p=null==L?void 0:null===(m=L.data)||void 0===m?void 0:m.total)&&void 0!==p?p:0,selectedLocation:g,isValidating:M,display:parseInt(aP)})}var pg=(0,sf.C)()(px),py=t(5081),pj=t(7729),pN=t.n(pj),pb=e=>{var l,t,n,i;let{fields:{siteName:a,canonical:o,customBrowserTitle:r,customMetaDescription:s,alternates:d}}=e,{sitecoreContext:c}=(0,tL.u)(),u=c.route,m=null==c?void 0:null===(n=c.theme)||void 0===n?void 0:null===(t=n.favicon)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src;if(!u||!u.fields)return null;let{browserTitle:v,metaDescription:p,metaKeywords:f,combineSiteTitle:h,canFollow:x,canIndex:g,openGraphTitle:y,openGraphDescription:j,pageImage:N}=u.fields,b=(null==r?void 0:r.value)||(null==v?void 0:v.value),w=(null==a?void 0:a.value)?"".concat(b," | ").concat(a.value):b,L=(null==h?void 0:h.value)?w:b,C=(null==s?void 0:s.value)||(null==p?void 0:p.value),S=(null==g?void 0:g.value)?"index":"noindex",k=(null==x?void 0:x.value)?"follow":"nofollow",M=(null==j?void 0:j.value)||C,D=(null==y?void 0:y.value)||L;return(0,tw.jsxs)(pN(),{children:[(0,tw.jsx)("meta",{name:"robots",content:"".concat(k,", ").concat(S)}),L&&(0,tw.jsx)("title",{children:L}),C&&(0,tw.jsx)("meta",{name:"description",content:C}),(null==f?void 0:f.value)&&(0,tw.jsx)("meta",{name:"keywords",content:f.value}),(null==o?void 0:o.value)&&(0,tw.jsx)("link",{rel:"canonical",href:o.value}),(null==d?void 0:d.value)&&d.value.map(e=>{var l;return(0,tw.jsx)("link",{rel:"alternate",hrefLang:null==e?void 0:e.hrefLang,href:null==e?void 0:e.url},"".concat(null==e?void 0:null===(l=e.hrefLang)||void 0===l?void 0:l.toLowerCase()))}),m&&(0,tw.jsx)("link",{rel:"shortcut icon",href:m,type:"image/x-icon"}),(0,tw.jsx)("meta",{property:"og:type",content:"Website"}),(null==a?void 0:a.value)&&(0,tw.jsx)("meta",{property:"og:site_name",content:a.value}),D&&(0,tw.jsx)("meta",{property:"og:title",content:D}),M&&(0,tw.jsx)("meta",{property:"og:description",content:M}),(null==o?void 0:o.value)&&(0,tw.jsx)("meta",{property:"og:url",content:o.value}),(null==N?void 0:null===(i=N.value)||void 0===i?void 0:i.src)&&(0,tw.jsx)("meta",{property:"og:image",content:N.value.src}),(0,tw.jsx)("meta",{name:"VirtualFolder",content:"/"})]})},pw=t(7335),pL=t.n(pw);let pC=e=>{var l;let t=null==(l=e.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/))?void 0:l[7];return t?`https://img.youtube.com/vi/${t}/hqdefault.jpg`:null},pS=e=>{var l;let t=null==(l=e.match(/\/(?:embed\?id=|sharevideo\/)([a-f0-9-]{36})/i))?void 0:l[1];return t?`https://mediaconnect.app.medcity.net/api/v2/videos/${t}/thumbnail`:null},pk=e=>{if(!e)return null;try{let{hostname:l}=new URL(e);if(l.match(/youtu\.?be/i))return pC(e);if("mediaconnect.app.medcity.net"===l)return pS(e)}catch{}return null};var pM=e=>{var l,t,n,i,a,o,r,s;let{content:d,index:c,handleSelection:u,smallImageClasses:m}=e,[v,p]=(0,tk.useState)(!1),f=(null==d?void 0:null===(t=d.fields)||void 0===t?void 0:null===(l=t.image)||void 0===l?void 0:l.value)||(null==d?void 0:null===(i=d.fields)||void 0===i?void 0:null===(n=i.videoPreviewImage)||void 0===n?void 0:n.value);if(!f){let e=pk((null==d?void 0:null===(o=d.fields)||void 0===o?void 0:null===(a=o.videoLink)||void 0===a?void 0:a.value)||(null==d?void 0:null===(s=d.fields)||void 0===s?void 0:null===(r=s.youTubeVideo)||void 0===r?void 0:r.value));e&&(f={src:e})}return(0,tw.jsxs)("button",{className:"w-100 border-0 my-2 p-0 cursor-pointer",onClick:()=>u(c),children:[f?(0,tw.jsx)(ok.o,{field:f,className:m,fill:!0,onLoad:()=>p(!0)}):null,v&&f?null:(0,tw.jsx)("div",{className:(0,sT.Z)(m,"ratio-16x9 neu-bg-main-70")})]})},pD=sA(e=>{let{mediaBlock:l,handleSelection:t,smallImageClasses:n}=e;return(0,tw.jsx)("div",{className:"col-12 col-lg-3 d-flex flex-column justify-content-center mt-5 mt-lg-0",children:(0,tw.jsx)("div",{className:"max-h-240 overflow-auto m-3",children:l.map((e,l)=>{var i,a;return(0,tw.jsx)(pM,{content:e,index:l,handleSelection:t,smallImageClasses:n(l)},null!==(a=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.id)&&void 0!==a?a:l)})})})},{title:"Add Media to the Multimedia Gallery",tooltip:"Add an image media item",className:"col-12",templateId:"{90EF6FEC-5983-4898-B7FC-8DAE11EB79A0}",fieldId:"{FD361AB2-0DE3-4228-8170-60E90FFC2C96}",renderingId:"{B8026EF7-D1C9-495E-BE6F-151D20E7D981}",countField:"mediaBlock",icon:"/~/icon/apps/32x32/Photo.png",extraButton:{tooltip:"Add a video media item",templateId:"{6ADFB863-2C52-4830-B653-D6D5AA0BE668}",icon:"/~/icon/apps/32x32/Player.png"}}),pT=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h,x,g,y,j,N,b;let{fields:w,rendering:L,params:C}=e,[S,k]=tk.useState(!0),[M,D]=tk.useState(!1),[T,I]=tk.useState([]),[E,A]=tk.useState(null!==(b=null==T?void 0:T[0])&&void 0!==b?b:null),_=(0,tT.u)(),{startingHeadingTag:F}
57=sD(C),{isDarkBackground:P}=sl();if(tk.useEffect(()=>{let e=w.mediaBlock;if(!e||0===e.length){I([]);return}let l=e.filter(e=>e.fields.image||e.fields.youTubeVideo||e.fields.videoLink);I(l),A(l[0])},[w.mediaBlock]),0===T.length&&!_)return null;let O=(0,sT.Z)(pL().itemDescription,"neu-text-plain-0",{"position-absolute start-0 w-100 px-5 pt-3 bottom-0":!0}),z=e=>{var l,t,n;return(null==E?void 0:null===(l=E.fields)||void 0===l?void 0:l.id)===(null===(n=T[e])||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:t.id)},R=e=>(0,sT.Z)("w-100 h-100 object-fit-cover max-h-64 border border-3 position-relative",{"border-neu-plain-0":!z(e),"border-neu-support-60":z(e)}),B=e=>{var l;A(null!==(l=T[e])&&void 0!==l?l:null),z(e)||k(!0)};return(0,tw.jsxs)(sa,{dataTestId:null==L?void 0:L.componentName,headingLevel:F,title:w.title,titleClassName:"neu-display-2 fw-bold",description:w.description,children:[(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row",children:[(0,tw.jsxs)("div",{className:"col-12 col-lg-9 position-relative p-0",children:[(null==E?void 0:null===(n=E.fields)||void 0===n?void 0:null===(t=n.image)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src)?(0,tw.jsx)(ok.o,{field:null==E?void 0:null===(i=E.fields)||void 0===i?void 0:i.image,className:"w-100 h-100 object-fit-cover max-h-256"}):(null==E?void 0:null===(o=E.fields)||void 0===o?void 0:null===(a=o.youTubeVideo)||void 0===a?void 0:a.value)||(null==E?void 0:null===(s=E.fields)||void 0===s?void 0:null===(r=s.videoLink)||void 0===r?void 0:r.value)?(0,tw.jsx)(cV,{video:(null==E?void 0:null===(c=E.fields)||void 0===c?void 0:null===(d=c.youTubeVideo)||void 0===d?void 0:d.value)||(null==E?void 0:null===(m=E.fields)||void 0===m?void 0:null===(u=m.videoLink)||void 0===u?void 0:u.value)||"",preview:null==E?void 0:null===(v=E.fields)||void 0===v?void 0:v.videoPreviewImage,imageClasses:"max-h-256",onPlay:()=>k(!1)}):null,S&&((null==E?void 0:null===(f=E.fields)||void 0===f?void 0:null===(p=f.title)||void 0===p?void 0:p.value)||(null==E?void 0:null===(x=E.fields)||void 0===x?void 0:null===(h=x.description)||void 0===h?void 0:h.value))&&(0,tw.jsxs)("div",{className:O,children:[(0,tw.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,tw.jsx)(tD,{tag:"h6",field:null==E?void 0:null===(g=E.fields)||void 0===g?void 0:g.title,className:"fw-bold pb-2"}),(0,tw.jsx)(tE.JK,{name:M?"keyboard_arrow_down":"keyboard_arrow_up",size:"2x",onClick:()=>{D(!M)},className:"d-lg-none cursor-pointer"})]}),(0,tw.jsx)(tD,{tag:"p",field:null==E?void 0:null===(y=E.fields)||void 0===y?void 0:y.description,className:"".concat(M?"d-block":"d-none d-lg-block")})]})]}),(0,tw.jsx)(pD,{mediaBlock:T,rendering:L,handleSelection:B,smallImageClasses:R})]}),(null===(N=w.featureLink)||void 0===N?void 0:null===(j=N.value)||void 0===j?void 0:j.href)&&(0,tw.jsx)(tA,{field:w.featureLink,kind:P?"tertiary-plain":"secondary",className:"w-100 w-lg-50 m-auto px-4"})]})},pI=()=>(0,tw.jsx)("p",{children:"MyHealthOnePayMyBillSection"}),pE=t(6281),pA=t.n(pE),p_=e=>{var l,t,n,i,a;let{fields:o}=e,{t:r}=(0,tB.QT)(),{contentAccessibilityClassNames:s}=sl();return(0,tw.jsxs)("div",{className:(0,sT.Z)("row",s),children:[(0,tw.jsxs)("p",{className:"d-inline-block text-center text-lg-start",children:[(null==o?void 0:null===(l=o.promotionAppStoreLinkBlurb)||void 0===l?void 0:l.value)?(0,tw.jsx)(tD,{field:o.promotionAppStoreLinkBlurb}):r("PageContent.MyHealthOne.Download")," ",(0,tw.jsx)(oG.U,{field:null==o?void 0:o.appleAppStoreLink,className:"fw-bold",children:null==o?void 0:null===(n=o.appleAppStoreLink)||void 0===n?void 0:null===(t=n.value)||void 0===t?void 0:t.text})," ".concat(r("Common.Or")," "),(0,tw.jsx)(oG.U,{field:null==o?void 0:o.googlePlayStoreLink,className:"fw-bold",children:null==o?void 0:null===(a=o.googlePlayStoreLink)||void 0===a?void 0:null===(i=a.value)||void 0===i?void 0:i.text})]}),(0,tw.jsx)("div",{className:"col-6 col-lg-4 col-xl-3 pe-2",children:(0,tw.jsx)(oG.U,{field:null==o?void 0:o.appleAppStoreLink,className:(0,sT.Z)(pA().appButtons,"d-flex me-1"),children:(0,tw.jsx)(ok.o,{field:null==o?void 0:o.appleAppStoreImage,fill:!0,className:"position-relative"})})}),(0,tw.jsx)("div",{className:"col-6 col-lg-4 col-xl-3",children:(0,tw.jsx)(oG.U,{field:null==o?void 0:o.googlePlayStoreLink,className:(0,sT.Z)(pA().appButtons,"d-flex me-1"),children:(0,tw.jsx)(ok.o,{field:null==o?void 0:o.googlePlayStoreImage,fill:!0,className:"position-relative"})})})]})};let pF=e=>{let{fields:l,rendering:t}
57=e,{isDarkBackground:n,contentAccessibilityClassNames:i}=sl(),a=(0,tT.u)();return l||a?(0,tw.jsx)(sa,{dataTestId:null==t?void 0:t.componentName,className:i,children:(0,tw.jsxs)("div",{className:"d-flex",children:[(null==l?void 0:l.promotionImage)&&(0,tw.jsx)("div",{className:"col-5 d-none d-lg-block pe-lg-2",children:(0,tw.jsx)(ok.o,{field:null==l?void 0:l.promotionImage,className:"w-100 h-auto position-relative",fill:!0})}),(0,tw.jsxs)("div",{children:[(null==l?void 0:l.promotionLogo)&&(0,tw.jsx)(ok.o,{field:null==l?void 0:l.promotionLogo,className:"w-100 w-lg-50 h-auto position-relative pb-3",fill:!0}),(0,tw.jsx)(tD,{field:null==l?void 0:l.promotionHeadline,tag:"h5",className:"neu-text-body fw-bold pb-3"}),(0,tw.jsx)(sS,{field:null==l?void 0:l.promotionDescription,className:"pb-3"}),(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row gap-2 gap-lg-1",children:[(null==l?void 0:l.promotionLink)&&(0,tw.jsx)(tA,{field:l.promotionLink,kind:n?"tertiary-plain":"primary",className:"w-100 w-lg-50"}),(null==l?void 0:l.promotionLinkSecondary)&&(0,tw.jsx)(tA,{field:l.promotionLinkSecondary,kind:n?"tertiary-plain":"primary",className:"w-100 w-lg-50"})]}),(0,tw.jsx)(tS,{className:"my-5"}),(0,tw.jsx)(p_,{fields:l})]})]})}):null};var pP=(0,sf.C)()(pF),pO=e=>{let{fields:l,rendering:t}=e;return(0,tw.jsx)(dr,{dataTestId:null==t?void 0:t.componentName,backLinkText:null==l?void 0:l.returnLabel,backLinkUrl:null==l?void 0:l.listingPageUrl,fields:l,isContacts:!0})};let pz="10",pR="1",pB="publishedon_tdt:desc",pU="search",pH="news/".concat(pU),pZ=function(){var e,l,t,n,i;let{...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{sitecoreContext:o}=(0,tL.u)(),r=(null==o?void 0:null===(e=o.route)||void 0===e?void 0:e.itemId)?"{".concat(null==o?void 0:null===(l=o.route)||void 0===l?void 0:l.itemId,"}"):"",s=null!==(n=null==o?void 0:null===(t=o.site)||void 0===t?void 0:t.name)&&void 0!==n?n:"",d=null!==(i=null==o?void 0:o.language)&&void 0!==i?i:ay,[c,u]=tk.useState({...a}),m=(null==c?void 0:c.filters)?aM(null==c?void 0:c.filters):{},v={pageId:r,sc_lang:d,sc_site:s,page:pR,sort:pB,...c,filters:m,display:pz},p=du().stringify(v);return{...(0,ag.ZP)(Object.keys(c).length>0?["".concat(aj).concat(pH,"?").concat(p)]:null,tH.f,{keepPreviousData:!0}),setNewsSearchParameter:u,newsSearchParameter:c}};var pQ=e=>{var l,t,n,i,a,o;let{rendering:r,fields:s}=e,{t:d}=(0,tB.QT)(),{query:c,isReady:u}=(0,ix.useRouter)(),m=(null==s?void 0:s.defaultRequest)&&Object.keys(s.defaultRequest).length>0,v=(null==s?void 0:s.defaultResponse)&&(null===(t=s.defaultResponse)||void 0===t?void 0:null===(l=t.results)||void 0===l?void 0:l.length)>0,p={errors:[],success:!0,hasErrors:!1,data:null==s?void 0:s.defaultResponse},[f,h]=tk.useState(!0),{data:x,error:g,isLoading:y,setNewsSearchParameter:j,newsSearchParameter:N}=pZ({}),b=tk.useRef(!1);tk.useEffect(()=>{if(!u||b.current)return;let{path:e,...l}=null!=c?c:{};Object.keys(l).length>0?j({...l,filters:l.filters?aD(l.filters):void 0}):!v&&m&&j(s.defaultRequest),b.current=!0,h(!1)},[u]);let w=null!=x?x:p,{onClear:L,onPageChange:C,onQueryChange:S,onToggleFacet:k}=dd({params:null!=N?N:{},setParams:j,defaultParams:null!==(o=null==s?void 0:s.defaultRequest)&&void 0!==o?o:{},handleUrlReplace:!0});return(0,tw.jsx)(sK,{data:w,errors:null==w?void 0:w.errors,isValidating:y||f,failureToFetchError:g,isLoading:y||f,onClear:(null==w?void 0:null===(i=w.data)||void 0===i?void 0:null===(n=i.facetGroups)||void 0===n?void 0:n.length)?L:void 0,query:null==N?void 0:N.query,onQueryChange:S,facetGroups:null==w?void 0:null===(a=w.data)||void 0===a?void 0:a.facetGroups,onToggleFacet:k,display:parseInt(pz),onPageChange:C,componentName:null==r?void 0:r.componentName,filterTitle:d("News.Listing.ExploreNewsArticles"),filterBlockTitle:d("Search.Result.FindAnArticle"),onFacetGroupsClearClick:L})},pY=/^\S+@\S+\.\S+$/,p$=t(8730),pq=t.n(p$);let pW=e=>{var l,t;let{fields:n,rendering:i}=e,{t:a}=(0,tB.QT)(),o=(0,tk.useRef)(null),{sitecoreContext:{siteAttributes:{isCorporate:r}}}=(0,tL.u)(),{alertData:s,submitNewsletter:d,isLoading:c,showAlert:u}=nJ(null==n?void 0:null===(l=n.formID)||void 0===l?void 0:l.value),m=()=>{var e,l,t;let i={};(null==o?void 0:null===(e=o.current)||void 0===e?void 0:e.value)&&pY.test(null==o?void 0:null===(l=o.current)||void 0===l?void 0:l.value)?(i[n.emailAddressFieldName.value]=null==o?void 0:null===(t=o.current)||void 0===t?void 0:t.value,i[n.enterpriseMarketingFieldName.value]="TRUE",d(i)):u({message:a("PageContent.Newsletter.InvalidEmailAddress"),status:"error"})},v=e=>{"Enter"===e.key&&m()},p=s&&!c;return(0,tw.jsx)("div",{"data-test-id":null==i?void 0:i.componentName,children:(0,tw.jsx)("div",{className:"neu-bg-support-60",children:(0,tw.jsx)("div",{className:"container py-6",children:(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row justify-content-between",children:[(0,tw.jsxs)(tE.IZ,{size:"lg",children:[(0,tw.jsx)(tD,{tag:"h4",className:"fw-medium neu-text-plain-0",field:n.headline}),(0,tw.jsx)(tD,{tag:"p",className:"neu-text-plain-0 m-0",field:n.description})]}),(0,tw.jsx)("div",{className:"col-lg-5 mt-4 mt-lg-0",children:(0,tw.jsxs)("div",{className:"position-relative max-w-160-lg mx-auto",children:[(0,tw.jsx)(tE.JX,{label:null==n?void 0:null===(t=n.emailPlaceholderText)||void 0===t?void 0:t.value,required:!0,id:"healthy-living-newsletter",name:"healthy-living-newsletter",type:"email",ref:o,onKeyUp:v,invalid:null==s?void 0:s.message,error:p,className:(0,sT.Z)("neu-text-plain-0",{[pq().errorBackgroun
57d]:!r})}),(0,tw.jsx)(tE.Yu,{onNeuClick:m,className:"max-h-fit position-absolute right-0 top-9 mt-1 rounded-right w-1","aria-label":"Submit Email",children:(0,tw.jsx)(tE.JK,{name:"mail"})})]})})]})})})})};var pV=(0,sf.C)()(pW);let pG="10",pJ="1",pK="search",pX=function(){var e,l,t,n,i,a,o;let{...r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{sitecoreContext:s}=(0,tL.u)(),d=(null==s?void 0:null===(e=s.route)||void 0===e?void 0:e.itemId)?"".concat(null==s?void 0:null===(l=s.route)||void 0===l?void 0:l.itemId):"",c=null!==(n=null==s?void 0:null===(t=s.site)||void 0===t?void 0:t.name)&&void 0!==n?n:"",u=null!==(i=null==s?void 0:s.language)&&void 0!==i?i:ay,[m,v]=tk.useState({...r}),p=m.filters?aM(m.filters):r.filters?aM(r.filters):void 0,f={pageId:d,sc_lang:u,sc_site:c,page:pJ,...m,query:null!==(a=m.query)&&void 0!==a?a:r.query,display:null!==(o=r.display)&&void 0!==o?o:pG,filters:p},h=pK,x=du().stringify(f);return{...(0,ag.ZP)(Object.keys(m).length>0?["".concat(aj).concat(h,"?").concat(x)]:null,tH.f),setSiteSearchParameter:v,siteSearchParameter:m}},p0=tk.createContext({}),{Provider:p1}=p0,p4=e=>{var l,t,n;let{children:i,defaultRequest:a}=e,{siteSearchQuery:o,setSubmitSiteSearchQuery:r}=(0,io.u)(),{query:s,isReady:d}=(0,ix.useRouter)(),c=tk.useRef(!1),[u,m]=tk.useState(!0),{data:v,siteSearchParameter:p,error:f,setSiteSearchParameter:h,isValidating:x}=pX({}),g=null!==(n=null==p?void 0:null===(t=p.filters)||void 0===t?void 0:null===(l=t.content_type_s)||void 0===l?void 0:l[0])&&void 0!==n?n:"all",[y,j]=tk.useState(g),[N,b]=tk.useState("content_type_s");tk.useEffect(()=>{if(!d||c.current)return;let{path:e,...l}=null!=s?s:{};Object.keys(l).length>0?h({...l,filters:l.filters?aD(l.filters):void 0}):h(null!=a?a:{}),c.current=!0,m(!1)},[d,s]);let w=null==p?void 0:p.query,L=null==v?void 0:v.errors,{onClear:C,onPageChange:S,onToggleFacet:k,onSortChange:M}=dd({handleUrlReplace:!0,params:null!=p?p:{},setParams:h,defaultParams:null!=a?a:{}}),D=e=>{let{query:l}=e;h({query:l,sort:"score:desc",display:"10",filters:{},page:1}),r(void 0)};(0,tk.useEffect)(()=>{void 0!==o&&D({query:o})},[o]);let T=e=>{h({...p,address:e.address,radius:e.radius?e.radius:20,page:1})},I=(e,l)=>{let t="all"===l?{}:{[e]:[l]};h({...p,page:1,filters:t}),j(l),b(e)},E=()=>{N&&("all"===y?h({...p,filters:{}}):h({...p,filters:{[N]:[y]}}))};return(0,tw.jsx)(p1,{value:{contentTypeFacet:y,contentTypeFacetGroupKey:N,defaultParams:null!=a?a:{},errors:L,failureToFetchError:f,isValidating:x||u,locationSearchFormSubmit:T,onClear:C,onPageChange:S,onRestFacetsClear:E,onSortChange:M,onToggleFacet:k,query:w,setContentType:I,setContentTypeFacet:j,siteSearchParameter:p,siteSearchData:v,submitSiteSearch:D},children:i})};var p3=p0,p5=sA(e=>{let{searchTerms:l}=e;return l&&l.length?(0,tw.jsx)("div",{className:"d-flex justify-content-center pt-2 pb-6",children:(0,tw.jsx)("div",{className:"flex-wrap justify-content-center d-flex w-100 w-lg-50 w-md-75",children:l.map(e=>{var l,t;let n=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.term.value;return n?(0,tw.jsx)(tA,{kind:"tertiary-plain",className:"m-1",field:{href:"/".concat(pK),querystring:"query=".concat(n),text:n},editable:!1},null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.id):null})})}):null},{title:"Search Terms",tooltip:"Add a search term",templateId:"{19578871-A140-4933-82CD-202FC643204E}",fieldId:"{C52F9DB3-66B3-412E-B6FE-26F3B2CF60F4}",renderingId:"{57FFB3C0-CD6E-4AC7-B9E6-8F09250D3503}"}),p2=e=>{var l;let{fields:t,rendering:n}=e,{t:i}=(0,tB.QT)(),{sitecoreContext:a}=(0,sm.z)(),o=null==a?void 0:a.pageEditing,{query:r,errors:s,failureToFetchError:d}=null!==(l=tk.useContext(p3))&&void 0!==l?l:{};return(0,tw.jsxs)("div",{"data-test-id":null==n?void 0:n.componentName,className:"pb-6 px-2 neu-bg-gray-0",children:[(0,tw.jsx)(oj,{errors:s,query:r,noResultsDescription:i("Search.NotFoundDescriptionWithLinks"),failureToFetchError:d}),!(null==s?void 0:s.length)&&!d&&((null==t?void 0:t.searchTerms)||o)?(0,tw.jsx)(p5,{searchTerms:null==t?void 0:t.searchTerms,rendering:n}):null]})},p6=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v;let{fields:p,rendering:f}=e,{t:h}=(0,tB.QT)(),{statusCode:x,operatingStatus:g}
57=oL(p.location),{isDarkBackground:y}=sl(),j=(null==p?void 0:null===(l=p.location)||void 0===l?void 0:l.onsiteVisitRegistrationUrl)||(null==p?void 0:null===(t=p.location)||void 0===t?void 0:t.virtualVisitRegistrationUrl),{GetDirectionsButton:N,PhoneButton:b,VirtualVisitButton:w,WebCheckInButton:L}=oE,C=j?(0,tw.jsx)(oW,{result:p.location,buttonOrder:[L,w],cardButtonsClassName:"mb-4 w-100"}):(0,tw.jsx)(oW,{result:p.location,cardButtonsClassName:"mb-4 w-100",buttonOrder:[N,b],buttonProps:{GetDirectionsButton:{kind:"primary",size:"default",icon:"directions"},PhoneButton:{kind:"primary",size:"default",icon:"phone"}}}),S=j&&(0,tw.jsx)("div",{className:"mb-2 mb-lg-0","data-test-id":null==f?void 0:f.componentName,children:(0,tw.jsx)(oW,{result:p.location,cardButtonsClassName:"me-lg-1 mb-2 w-100 w-lg-auto",buttonOrder:[N,b],buttonProps:{GetDirectionsButton:{kind:"tertiary",size:"default",icon:"directions"},PhoneButton:{kind:"tertiary",size:"default",icon:"phone"}}})});return(0,tw.jsx)("div",{className:"container",children:(0,tw.jsx)(iC,{condition:y,wrapper:e=>(0,tw.jsx)(tE.IS,{className:"p-1",children:(0,tw.jsx)(tE.IS.Content,{children:e})}),wrappedJSX:(0,tw.jsxs)("div",{className:"row",children:[p.locationImage&&(0,tw.jsx)("div",{className:"col-12 col-lg-3 gx-0 pb-6 pb-lg-0",children:(0,tw.jsx)("div",{className:"ratio-16x9 overflow-hidden",children:(0,tw.jsx)(ok.o,{className:(0,sT.Z)("position-relative",{"grayscale-element":"Open"!==x}),field:{...null==p?void 0:null===(n=p.locationImage)||void 0===n?void 0:n.value,alt:"".concat(null!==(v=null!==(m=null==p?void 0:null===(i=p.location)||void 0===i?void 0:i.marketedFacilityName)&&void 0!==m?m:null==p?void 0:null===(a=p.location)||void 0===a?void 0:a.facilityName)&&void 0!==v?v:null==p?void 0:null===(o=p.location)||void 0===o?void 0:o.locationName," ").concat(x&&(null==g?void 0:g.text)?"is currently ".concat(g.text):"")},fill:!0})})}),(0,tw.jsxs)("div",{className:(0,sT.Z)("col-12 col-lg-5 gx-0 gx-lg-6",{"ps-0":!(null==p?void 0:p.locationImage)}),children:[(0,tw.jsxs)("div",{className:"row mb-4 justify-content-between",children:[(0,tw.jsx)("div",{className:"col-12 col-md-5 neu-text-caption mb-2 mb-lg-0",children:(0,tw.jsx)(oM,{title:h("Locations.Card.Address"),titleClassName:"fw-bold neu-text-caption",street1:null==p?void 0:null===(r=p.location)||void 0===r?void 0:r.street1,street2:null==p?void 0:null===(s=p.location)||void 0===s?void 0:s.street2,city:null==p?void 0:null===(d=p.location)||void 0===d?void 0:d.city,state:null==p?void 0:null===(c=p.location)||void 0===c?void 0:c.state,postalCode:null==p?void 0:null===(u=p.location)||void 0===u?void 0:u.postalCode})}),oS(p.location)&&(0,tw.jsx)("div",{className:"col-7 col-xl-5 gx-lg-2",children:(0,tw.jsx)(o1,{result:p.location,heading:h("Locations.Card.OfficeHours"),titleClassName:"fw-bold neu-text-caption",fontClassName:"neu-text-caption",dropdownClassNames:{menu:"neu-text-caption",menuItem:" neu-text-support my-0"},mobileDayWidthClass:"w-16"})})]}),S]}),(0,tw.jsx)("div",{className:"col-auto ps-0 d-none d-lg-flex",children:(0,tw.jsx)(tS,{type:"vertical"})}),(0,tw.jsx)("div",{className:"col gx-0 align-content-center",children:C})]})})})},p9=e=>{let{fields:l}=e;return l?(0,tw.jsx)(pN(),{children:(0,tw.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}})}):null},p8=e=>{let{specialties:l}=e,{isDarkBackground:t}=sl();return(null==l?void 0:l.length)?(0,tw.jsx)("div",{className:"d-flex align-self-center justify-content-center flex-wrap",children:l.map(e=>(0,tw.jsx)(tA,{field:{href:e.url,text:e.name},kind:t?"tertiary-plain":"secondary",className:"m-1",size:"small",editable:!1},e.id))}):null};let p7=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(ue,{title:null==l?void 0:l.specialtiesHeadline,description:null==l?void 0:l.specialtiesDescription,dataTestId:null==t?void 0:t.componentName,placeholderName:"specialties",buttonItems:(0,tw.jsx)(p8,{specialties:l.specialties}),contentPrimaryLink:null==l?void 0:l.specialtiesLink,rendering:t,params:n})};var fe=(0,sf.C)()(p7),fl=()=>(0,tw.jsx)("p",{children:"PageBody"}),ft=e=>{let{fallbackText:l,patientAccountCustomerServiceNumber:t,pricingPhoneNumber:n,title:i}=e,{t:a}=(0,tB.QT)(),o={value:{href:"tel:".concat(t),text:t}},r={value:{href:"tel:".concat(n),text:n}};return(0,tw.jsxs)("div",{className:"mt-3",children:[t&&(0,tw.jsxs)("div",{className:"pb-2",children:[(0,tw.jsx)("span",{className:"fw-bold",children:"".concat(i," ").concat(a("Locations.Facilities.PatientAccountCustomerServiceNumber"),": ")}),(0,tw.jsx)(oG.U,{field:o})]}),n&&(0,tw.jsxs)("div",{className:"pb-2",children:[(0,tw.jsx)("span",{className:"fw-bold",children:"".concat(i," ").concat(a("Locations.Facilities.PricingPhoneNumber"),": ")}),(0,tw.jsx)(oG.U,{field:r})]}),!n&&!t&&(0,tw.jsx)(tD,{field:l})]})};let fn=e=>{let{children:l,title:t,description:n,onClick:i,dataTestId:a}=e;return(0,tw.jsxs)("div",{"data-test-id":a,onClick:i,className:"neu-elevation-1 rounded p-3 neu-bg-plain-0",children:[(0,tw.jsxs)(tw.Fragment,{children:[t&&(0,tw.jsx)(tD,{tag:"h4",field:t}),n&&(0,tw.jsx)(tR.H,{field:n})]}),l]})},fi=e=>{let{label:l,locations:t,name:n,placeholder:i,render:a,className:o}=e,[r,s]=(0,tk.useState)(""),d=(0,tk.useCallback)(e=>{s(e.value)},[s]);return(0,tw.jsxs)("div",{className:((0,sT.Z)("d-lg-flex align-items-lg-end mt-4"),o),children:[(0,tw.jsx)(tE.j8,{className:"max-w-208",items:t,label:l,name:n,onNeuChange:d,placeholder:i,required:!0}),r&&a(r)]})};var fa=e=>{var l,t;let{fields:n,rendering:i}=e,{sitecoreContext:{locationName:a}}=(0,tL.u)(),{t:o}=(0,tB.QT)(),r=null===(l=n.locations)||void 0===l?void 0:l.map(e=>({label:e.name,value:e.itemId}));return(0,tw.jsx)(fn,{description:n.description,dataTestId:null==i?void 0:i.componentName,children:(0,tw.jsx)("div",{children:(null==r?void 0:r.length)?(0,tw.jsx)(fi,{className:"d-lg-inline-block",locations:r,label:null===(t=n.facilitySelectionLabel)||void 0===t?void 0:t.value,name:"patient-location",placeholder:o("Locations.Facilities.SelectLocation"),render:e=>{var l;let t=null===(l=n.locations)||void 0===l?void 0:l.find(l=>l.itemId===e);return t?(0,tw.jsx)(ft,{fallbackText:n.fallbackText,patientAccountCustomerServiceNumber:t.patientAccountCustomerServiceNumber,pricingPhoneNumber:t.pricingPhoneNumber,title:t.name}):null}}):(0,tw.jsx)(ft,{fallbackText:n.fallbackText,patientAccountCustomerServiceNumber:n.patientAccountCustomerServiceNumber,pricingPhoneNumber:n.pricingPhoneNumber,title:a})})})},fo=e=>{var l,t,n,i;let{fields:a,rendering:o,params:r}=e,[s,d]=(0,tk.useState)(null),{startingHeadingTag:c}=sD(r),u=null==a?void 0:null===(l=a.locations)||void 0===l?void 0:l.map(e=>({label:null==e?void 0:e.locationName,value:null==e?void 0:e.locationName})),m=(0,tw.jsx)(oG.U,{className:(0,sT.Z)("mt-2 mb-lg-2 ms-lg-4",!s&&"d-none"),field:{value:{href:null!==(i=null==s?void 0:s.patientPaymentEstimatorLocationUrl)&&void 0!==i?i:null==s?void 0:s.patientPaymentHpsNumberUrl,text:null===(t=a.selectedFacilityLinkLabel)||void 0===t?void 0:t.value}}}),v=(0,tk.useCallback)(e=>{var l,t;d(null!==(t=null===(l=a.locations)||void 0===l?void 0:l.find(l=>l.locationName===e.value))&&void 0!==t?t:null)},[a.locations]);return(0,tw.jsxs)("div",{"data-test-id":null==o?void 0:o.componentName,className:"border border-neu-gray-10 neu-bg-plain-0 p-4",children:[(0,tw.jsx)(tD,{tag:c,field:a.patientPaymentEstimatorHeading,className:"neu-display-4 mb-4"}),(0,tw.jsx)(tR.H,{field:a.patientPaymentEstimatorCTAText,className:"mb-4"}),(0,tw.jsxs)("div",{className:"d-lg-flex align-items-end",children:[(null==u?void 0:u.length)?(0,tw.jsx)(tE.j8,{items:u,label:null===(n=a.facilitySelectionFieldLabel)||void 0===n?void 0:n.value,
57name:"ppe-locations",onNeuChange:v,className:"w-100 max-w-208"}):null,m]})]})},fr=e=>{let{fields:l,rendering:t}=e;return(0,tw.jsx)(dr,{dataTestId:null==t?void 0:t.componentName,backLinkText:null==l?void 0:l.returnLabel,backLinkUrl:null==l?void 0:l.listingPageUrl,fields:l})},fs=t(9280);let{LocationSearch:fd,SubmitButton:fc,Divider:fu,LocationNameSelect:fm}=ot;var fv=e=>{var l,t,n,i;let{fields:a,rendering:o,params:r}=e,s=(null==a?void 0:a.locations)&&(null==a?void 0:a.locations.length)>0,d=s&&(null==a?void 0:null===(l=a.locations)||void 0===l?void 0:l.length)===1,[c,u]=tk.useState((null==a?void 0:a.locations)||[]),[m,v]=tk.useState(!1),[p,f]=tk.useState(d?null==a?void 0:null===(t=a.locations)||void 0===t?void 0:t[0]:null),h=tk.useMemo(()=>null==a?void 0:a.locations.map(e=>({value:e.facilityId,label:e.marketedFacilityName})),[null==a?void 0:a.locations]),x=tk.useCallback(e=>{var l;if(!e){f(null);return}f(null!==(l=null==a?void 0:a.locations.find(l=>l.itemId===e))&&void 0!==l?l:null)},[null==a?void 0:a.locations]),g=tk.useCallback(e=>{var l,t;v(!1);let n=parseFloat(e.latitude),i=parseFloat(e.longitude);if(!n&&!i){v(!0);return}let o=null==a?void 0:null===(l=a.locations)||void 0===l?void 0:l.map(e=>({...e,distance:(0,fs.U)({latitude:n,longitude:i},{latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)})}));u(o),f(null!==(t=o.sort((e,l)=>{let{distance:t}=e,{distance:n}=l;return Number(t)-Number(n)})[0])&&void 0!==t?t:null)},[null==a?void 0:a.locations]);if(!s)return null;let y=d?void 0:(0,tw.jsx)(og,{locationSearchFormSubmit:g,config:{formFieldOrder:[fm,fu,fd,fc],[fc]:{buttonClassName:"w-100"},[fm]:{locationOptions:h,onSelect:e=>{var l,t;v(!1),f(null!==(t=null==a?void 0:null===(l=a.locations)||void 0===l?void 0:l.find(l=>l.facilityId===e))&&void 0!==t?t:null)}}}}),j=()=>{f(null)},N=(0,sT.Z)({"h-272-lg":!(null===(n=a.description)||void 0===n?void 0:n.value),"h-304-lg":null===(i=a.description)||void 0===i?void 0:i.value});return(0,tw.jsx)(uZ,{onCloseSelectedLocation:j,className:N,selectedLocation:p,rendering:o,locations:c,sectionTitle:a.title,cardTitle:a.headline,description:a.description,formElement:y,onMapSelectedLocation:x,hasNoResults:m,assetIcon:{fields:{iconName:{value:"multiple_locations"}}},sectionDescription:a.leadInCopy,ctaButton:null==a?void 0:a.primaryLink,params:r})};let fp=e=>{let{title:l,mainDescription:t,onDescriptionClick:n,children:i,dataTestId:a,params:o}=e,{startingHeadingTag:r}=sD(o),{contentAccessibilityClassNames:s}=sl();return(0,tw.jsxs)("div",{"data-test-id":a,className:s,children:[l&&(0,tw.jsx)(tD,{tag:r,className:"mb-1 neu-display-4 fw-bold",field:l}),(0,tw.jsxs)("div",{className:"d-flex flex-column gap-4",children:[(null==t?void 0:t.value)&&(0,tw.jsx)(tR.H,{onClick:n,field:t}),i]})]})},ff=e=>{let{fields:l,rendering:t,params:n}=e,{pricingTransparencyDownloadPage:i,downloadPageLinkText:a,pricingEstimateInformation:o,title:r}=l,s=null==o?void 0:o.value.replace("{downloadPageLink}",'<a href="'.concat(i,'">').concat(null==a?void 0:a.value,"</a>"));return(0,tw.jsx)(fp,{title:r,mainDescription:{value:s},dataTestId:null==t?void 0:t.componentName,params:n})};var fh=(0,sf.C)()(ff);let fx="hca-mrf-icon";var fg=e=>{var l,t,n,i;let{fields:a}=e,o="\n    <a href='".concat(null===(l=a.facility)||void 0===l?void 0:l.pricingTransparencyLink,"' target='_blank'>\n      <i class=\"neu-icon neu-text-plain-100 ").concat(fx,'" aria-hidden="true">download</i>\n      <span>').concat(null===(t=a.locationDownloadLinkText)||void 0===t?void 0:t.value,"</span>\n    </a>\n  "),r=null===(i=a.locationDownloadDescription)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.replace("{disclaimerLink}",o);return(0,tw.jsx)(sS,{field:{value:r}})},fy=e=>{let{facilities:l}=e;return(0,tw.jsx)("ul",{className:"list-unstyled",children:null==l?void 0:l.map(e=>(0,tw.jsx)("li",{className:"mb-3",children:(0,tw.jsxs)(oG.U,{className:"d-flex align-items-center text-decoration-none",field:{href:e.pricingTransparencyLink,text:e.pricingTransparencyLinkText||e.locationName,target:"_blank"},children:[(0,tw.jsx)(tE.JK,{name:"download",className:"me-1",color:"plain-100"}),e.pricingTransparencyLinkText||e.locationName]})},e.locationName))})},fj=e=>{let{fields:l,rendering:t,params:n}=e,{sitecoreContext:{siteAttributes:i}}=(0,tL.u)();return(null==i?void 0:i.isLocation)?(0,tw.jsx)(fg,{rendering:t,fields:l,params:n}):(0,tw.jsx)(fy,{facilities:l.facilities})};let fN=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(fp,{title:null==l?void 0:l.title,mainDescription:null==l?void 0:l.pricingTransparencyDescription,params:n,dataTestId:null==t?void 0:t.componentName,children:(0,tw.jsx)(fj,{rendering:t,fields:l,params:n})})};var fb=(0,sf.C)()(fN);let fw="hca-mrf-icon";var fL=e=>{var l,t,n,i;let{fields:a}=e,o="\n    <a href='".concat(null==a?void 0:null===(l=a.facility)||void 0===l?void 0:l.mrfPriceTransparencyDownloadURL,"' target='_blank'>\n      <i class=\"neu-icon neu-text-plain-100 ").concat(fw,'" aria-hidden="true">download</i>
57\n      <span>').concat(null===(t=a.locationDownloadLinkText)||void 0===t?void 0:t.value,"</span>\n    </a>\n  "),r=null===(i=a.locationDownloadDescription)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.replace("{disclaimerLink}",o);return(0,tw.jsx)(sS,{field:{value:r}})},fC=e=>{let{facilities:l,downloadLinkText:t}=e,{isDarkBackground:n}=sl(),i=(null==l?void 0:l.length)?l.map((e,i)=>{var a;return(0,tw.jsxs)("li",{children:[(0,tw.jsxs)(oG.U,{field:{href:e.mrfPriceTransparencyDownloadURL,text:null==t?void 0:t.value,target:"_blank"},"aria-labelledby":"downloads-".concat(i," locations-").concat(i),id:"downloads-".concat(i),children:[(0,tw.jsx)(tE.JK,{name:"download",className:(0,sT.Z)("me-1",n?"neu-text-plain-0":"neu-text-plain-100")}),null==t?void 0:t.value]}),(0,tw.jsx)("div",{id:"locations-".concat(i),className:"ms-5 mt-1",children:(null===(a=e.locations)||void 0===a?void 0:a.length)?e.locations.map((e,l,t)=>(0,tw.jsx)("div",{className:(0,sT.Z)(e.isParentFacility&&"fw-bold",l<t.length-1&&"mb-2 mb-lg-1"),children:e.locationName},e.locationName)):void 0}),i<l.length-1&&(0,tw.jsx)(tS,{margin:"2"})]},"".concat(i,"-").concat(e.mrfPriceTransparencyDownloadURL))}):void 0;return(0,tw.jsx)("ul",{className:"list-none p-0",children:i})},fS=e=>{let{fields:l}=e,{sitecoreContext:{siteAttributes:t}}=(0,tL.u)();return(null==t?void 0:t.isLocation)?(0,tw.jsx)(fL,{fields:l}):(0,tw.jsx)(fC,{facilities:l.facilities,downloadLinkText:l.downloadLinkText})},fk=e=>{let{fields:l,rendering:t}=e,n=(0,tT.u)();return l.facilities||l.facility||!n?(0,tw.jsx)(fp,{title:null==l?void 0:l.disclaimer,mainDescription:null==l?void 0:l.pricingTransparencyDescription,dataTestId:null==t?void 0:t.componentName,children:(0,tw.jsx)(fS,{fields:l})}):(0,tw.jsx)(tE.qw,{kind:"warning",label:"DT-33 - MRF Pricing Transparency:",children:(0,tw.jsx)("p",{children:"Backend data for MRFPricingTransparency will not display in Page Editor. Data will display on Front End"})})};let fM=()=>(0,tw.jsx)("p",{children:"PrimaryPhoneNumber"});var fD=(0,sf.C)()(fM);let fT=e=>{var l,t,n,i,a,o;let{fields:r,rendering:s,params:d}=e,{startingHeadingTag:c}=sD(d);return(0,tw.jsx)("div",{className:"p-2 p-md-4 neu-bg-plain-0 border-solid border-1 border-neu-gray-10","data-test-id":null==s?void 0:s.componentName,children:(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsxs)("div",{className:"col-12 col-lg-8 d-flex mb-3",children:[(null==r?void 0:r.promotionIcon)&&(0,tw.jsx)(d0,{assetProps:{size:"2x"},materialIconProps:{className:"neu-text-support-50",style:{fontSize:"4rem"}},fields:null==r?void 0:null===(t=r.promotionIcon)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.fields}),(0,tw.jsxs)("div",{className:"ms-3 d-flex flex-column justify-content-center",children:[(0,tw.jsx)(tD,{className:" neu-display-2 text-left fw-bold",tag:c,field:null==r?void 0:r.promotionTitle}),(0,tw.jsx)(tD,{tag:"p",field:null==r?void 0:r.promotionDescription,className:"d-none d-lg-block my-2 m-md-0"})]})]}),(0,tw.jsx)("div",{className:"col-12 d-lg-none",children:(0,tw.jsx)(tD,{tag:"p",field:null==r?void 0:r.promotionDescription})}),r.promotionLink&&(null===(i=r.promotionLink)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.href)&&(0,tw.jsx)("div",{className:"col-12 col-lg-4 ps-lg-4 align-self-center d-flex justify-content-center",children:(0,tw.jsx)(tA,{field:null==r?void 0:r.promotionLink,className:(0,sT.Z)("w-100",null==r?void 0:null===(o=r.promotionLink)||void 0===o?void 0:null===(a=o.value)||void 0===a?void 0:a.class)})})]})})};var fI=(0,sf.C)()(fT),fE=t(1115);let fA=9,f_=1,fF="search",fP="providers/".concat(fF),fO=()=>{let e=Date.now().toString().slice(-8),l=sessionStorage.getItem("suggestSearchSeed");if(!l)return sessionStorage.setItem("suggestSearchSeed",JSON.stringify(e)),e;try{e=JSON.parse(l)}catch(e){}return e},fz=()=>{let[e,l]=tk.useState(!1),t=sessionStorage.getItem("suggestSearchSeed"),n=async(e,l)=>{var n,i,a,o;let{arg:r}=l,s={...r,pageSize:null!==(n=null==r?void 0:r.pageSize)&&void 0!==n?n:fA,page:null!==(i=null==r?void 0:r.page)&&void 0!==i?i:f_,randomizerSeed:null!==(o=null!==(a=null==r?void 0:r.randomizerSeed)&&void 0!==a?a:t)&&void 0!==o?o:fO()},d={method:"POST",headers:{"Content-Type":"application/json"},body:r?JSON.stringify(s):void 0,credentials:"include"};return(0,tH.f)(e,d)},{trigger:i,isMutating:a,error:o}=(0,fE.Z)("".concat(aj).concat(fP),n);return{requestDoctors:async e=>{let t;try{if(!(null==(t=await i(e))?void 0:t.success)){let e=(null==t?void 0:t.errorMessage)||"Unknown error";throw Error("Failed to fetch provider data: ".concat(e))}return t}finally{l(!0)}},isMutating:a,error:o,hasMutated:e}};var fR=e=>{let{location:l}=e,{t}=(0,tB.QT)();return(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsxs)("div",{className:"col-lg-7 col-12",children:[(0,tw.jsx)("div",{className:"fw-bold",children:l.name}),(0,tw.jsx)("div",{children:l.street}),(0,tw.jsxs)("div",{children:[l.city,", ",l.state," ",l.zip]})]}),l.phone&&(0,tw.jsx)("div",{className:"col-lg-5 col-12 d-flex align-items-center py-2",children:(0,tw.jsx)(tA,{className:"text-center w-100",field:{value:{href:"tel:+".concat(l.phone),text:"".concat(t("Providers.Locations.Call")," ").concat(l.phone)}},editable:!1})})]})},fB=e=>{let{providerLocations:l}=e,{t}=(0,tB.QT)(),n=l&&l.filter(e=>e.mainProviderLocation),i=l&&l.filter(e=>!e.mainProviderLocation);return(0,tw.jsx)("div",{children:(0,tw.jsxs)("div",{children:[!!n.length&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"neu-display-6 fw-bold mt-4",children:t("Providers.Locations.PrimaryPractice")}),(0,tw.jsx)(tS,{size:"3x",color:"support",className:"mt-1 mb-3"}),n.map(e=>(0,tw.jsx)(fR,{location:e},e.id))]}),!!i.length&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"neu-display-6 fw-bold mt-4",children:[i.length,t("Providers.Locations.AdditionalLocations",{count:i.length})]}),(0,tw.jsx)(tS,{size:"3x",className:"mt-1 mb-3"}),i.map(e=>(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsx)(fR,{location:e}),(0,tw.jsx)(tS,{className:"mt-1 mb-3"})]},e.id))]})]})})},fU=e=>{var l;let{provider:t,providersUrl:n}=e,{t:i}=(0,tB.QT)();return(0,tw.jsx)(tw.Fragment,{children:(0,tw.jsx)(tE.dH.Content,{children:(0,tw.jsxs)("div",{children:[(0,tw.jsxs)("div",{className:"row justify-content-between neu-bg-gray-0 py-2",children:[(0,tw.jsxs)("div",{className:"col-lg-7 col-12 row",children:[(0,tw.jsx)("div",{className:"col-md-3 col-4 d-flex align-items-center",children:(0,tw.jsx)(ok.o,{fill:!0,className:"position-relative neu-bg-gray-20 object-fit-cover",field:{value:{src:null==t?void 0:t.physicianPhotoUrl,alt:"".concat(null==t?void 0:t.physicianFirstName," ").concat(null==t?void 0:t.physicianLastName)}}})}),(0,tw.jsxs)("div",{className:"col-lg-9 col-md-9 col-7",children:[(0,tw.jsxs)("span",{className:"neu-display-4 fw-bold",children:[null==t?void 0:t.physicianFirstName,(null==t?void 0:t.physicianMiddleInitial)?" ".concat(t.physicianMiddleInitial,". "):" ",null==t?void 0:t.physicianLastName,(null==t?void 0:t.physicianDesignation)?", ".concat(t.physicianDesignation):""]}),(0,tw.jsx)("div",{children:(null==t?void 0:t.providerSpecialties)&&(null==t?void 0:null===(l=t.providerSpecialties.find(e=>e.primary))||void 0===l?void 0:l.specialty)})]})]}),(0,tw.jsx)("div",{className:"col-lg-5 col-12 py-2 d-flex align-items-center",children:(0,tw.jsx)(tA,{className:"text-center w-100",field:{value:{href:"".concat(n,"/").concat(null==t?void 0:t.urlTitle),text:i("Providers.MakeAnAppointment")}},editable:!1})})]}),(null==t?void 0:t.providerLocations)&&(0,tw.jsx)(fB,{providerLocations:t.providerLocations})]})})})},fH=e=>{var l,t;let{provider:n,providersUrl:i,isLoading:a}=e,{t:o}=(0,tB.QT)(),[r,s]=(0,tk.useState)(),d=(0,tk.useCallback)(()=>{s(void 0)},[]),c=null==n?void 0:null===(l=n.providerLocations)||void 0===l?void 0:l.length,u="".concat(c," ").concat(o("Providers.Locations.PracticingLocations")),m=(null==n?void 0:n.urlTitle)&&i?"".concat(i,"/").concat(n.urlTitle):"",v="".concat(null==n?void 0:n.physicianFirstName).concat((null==n?void 0:n.physicianMiddleInitial)?" ".concat(n.physicianMiddleInitial,". "):" ").concat(null==n?void 0:n.physicianLastName).concat((null==n?void 0:n.physicianDesignation)?", ".concat(n.physicianDesignation):""),p=(0,tw.jsx)("div",{className:"mb-3 h-60 w-60",children:(0,tw.jsx)(ok.o,{fill:!0,className:"position-relative neu-bg-gray-20 object-fit-cover",field:{value:{src:null==n?void 0:n.physicianPhotoUrl,alt:v}}})}),f=(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)("div",{className:"text-lg-center pb-0",children:(0,tw.jsx)(oG.U,{className:"text-decoration-none neu-display-6 fw-bold",field:{value:{text:v,href:m}}})}),(0,tw.jsx)("div",{className:"d-flex justify-content-lg-center text-lg-center pb-0",children:(null==n?void 0:n.providerSpecialties)&&(null==n?void 0:null===(t=n.providerSpecialties.find(e=>e.primary))||void 0===t?void 0:t.specialty)}),(0,tw.jsx)("div",{className:"text-lg-center pb-0",children:(0,tw.jsx)(oG.U,{"aria-label":"".concat(v," ").concat(u," "),role:"button",field:{value:{text:u,href:"#"}},onClick:e=>{e.preventDefault(),s(n)}})})]});return a?(0,tw.jsxs)("div",{className:"d-flex flex-lg-column align-items-lg-center justify-content-lg-center",children:[(0,tw.jsx)(sU.Z,{height:120,width:120}),(0,tw.jsxs)("div",{className:"ps-5 ps-lg-0 d-lg-flex flex-lg-column align-items-lg-center justify-content-lg-center",children:[(0,tw.jsx)(sU.Z,{width:150}),(0,tw.jsx)(sU.Z,{width:100}),(0,tw.jsx)(sU.Z,{width:125})]})]}):(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsxs)("div",{className:"row d-lg-none m-0",children:[(0,tw.jsx)("div",{className:"col-4 ps-0",children:p}),(0,tw.jsx)("div",{className:"col-8 ps-5 pe-0",children:f})]}),(0,tw.jsx)("div",{className:"d-none d-lg-flex justify-content-center",children:(0,tw.jsxs)("div",{children:[(0,tw.jsx)("div",{className:"d-flex justify-content-lg-center",children:p}),f]})}),(0,tw.jsx)(tE.dH,{size:"xl",active:!!r,backdropDismiss:!0,label:o("Providers.Locations.PracticingLocations"),onNeuDismiss:d,children:(0,tw.jsx)(fU,{provider:r,providersUrl:i})})]})};let fZ=e=>{var l,t,n,i,a,o,r;let{fields:s,rendering:d,params:c}=e,{t:u}
57=(0,tB.QT)(),{isDarkBackground:m,contentAccessibilityClassNames:v}=sl(),p=(null==s?void 0:s.primaryLink)&&(null===(t=s.primaryLink)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.href)&&(0,tw.jsx)(tA,{field:null==s?void 0:s.primaryLink,kind:m?"tertiary-plain":void 0}),[f,h]=tk.useState(),[x,g]=tk.useState(1),{error:y,requestDoctors:j,isMutating:N,hasMutated:b}=fz(),w=async e=>{try{let l=await j({...s.defaultRequest,page:e});h(l)}catch(e){console.warn("Failed to fetch doctors",e)}};tk.useEffect(()=>{w(1)},[]);let L=e=>{var l;let t=null!==(l=e.value)&&void 0!==l?l:1;w(t),g(t)},C=null==f?void 0:null===(n=f.data)||void 0===n?void 0:n.totalProvidersCount,S=(x-1)*fA+fA,k=(null==f?void 0:f.data.providerList)?null==f?void 0:f.data.providerList.map((e,l)=>{var t;return(0,tw.jsx)("div",{className:"col-12 col-lg-4 py-2",children:(0,tw.jsx)(fH,{provider:e,providersUrl:null==s?void 0:s.providersUrl,isLoading:N||!b})},null!==(t=null==e?void 0:e.accountId)&&void 0!==t?t:l)}):void 0,{startingHeadingTag:M}=sD(c),D=(e,l)=>(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tD,{tag:M,field:null==s?void 0:s.title,className:"neu-display-4 fw-bold ".concat(e)}),(0,tw.jsx)(tD,{tag:"p",field:null==s?void 0:s.description,className:"pt-2 pe-lg-2 ".concat(e)}),(0,tw.jsx)("div",{className:"pt-2 ".concat(l),children:p})]});return b?(0,tw.jsx)(sG,{variant:"transparent",className:"px-0",contentAccessibilityClassNames:v,conditionalWrapclassName:"px-0",dataTestId:null==d?void 0:d.componentName,counter:N?(0,tw.jsx)(sU.Z,{width:200}):(0,tw.jsx)(ir,{className:"pb-0 fw-medium",displaySize:f_,count:null!=C?C:0,end:C&&S>C?C:S,start:(x-1)*fA+1,resultDisplayName:"".concat(u("Providers.RelatedProviders.PracticeProvidersResult"))}),leftContent:D(void 0,"d-none d-lg-block"),onPageChange:L,rightContentClassName:"col-lg-9 ps-0 ps-lg-6",searchResultsClassName:"d-lg-flex flex-lg-wrap px-0 pb-3 pb-lg-0",listItems:k,errors:null==f?void 0:f.errors,failureToFetchError:y,totalResults:null!=C?C:0,hasResults:!!C&&C>0,currentPage:null!=x?x:f_,display:fA,isValidating:N,bottomDividerClassName:f&&(null==f?void 0:null===(a=f.data)||void 0===a?void 0:null===(i=a.providerList)||void 0===i?void 0:i.length)>0?"mb-4 mt-1 d-none d-lg-block":"d-none",errorOrNoResultsComponent:D("text-center","text-center"),centeredErrorMessage:!0,button:(null==s?void 0:null===(r=s.primaryLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href)?(0,tw.jsx)("div",{className:"d-lg-none d-flex pt-3 justify-content-center",children:p}):void 0}):(0,tw.jsx)("div",{className:"d-flex justify-content-center align-items-center h-100","data-test-id":null==d?void 0:d.componentName,children:(0,tw.jsx)(tE.$V,{kind:"spinner",color:"blue",size:"large",className:"mt-5 mb-5"})})};var fQ=(0,sf.C)()(fZ),fY=e=>{let{fields:{blogs:l},rendering:t}=e,{t:n}=(0,tB.QT)(),i=(0,tT.u)();return l&&0!==l.length||i?(0,tw.jsx)(sa,{title:{value:n("Blogs.RelatedBlogPosts")},conditionalWrapclassName:"gap-lg-0",dataTestId:null==t?void 0:t.componentName,children:(0,tw.jsx)("div",{className:"d-lg-flex justify-content-center gap-0 gap-lg-4",children:l.slice(0,3).map((e,l)=>{let t=1===l?"plain":2===l?"main":"support";return(0,tw.jsx)(db,{color:t,fields:e,hideImages:!0},"related-blog--".concat(e.itemId))})})}):null},f$=e=>{var l;let{fields:t,rendering:n}=e;return(null==t?void 0:t.newsArticles)&&0!==t.newsArticles.length?(0,tw.jsx)(sa,{title:null==t?void 0:t.headline,dataTestId:null==n?void 0:n.componentName,children:(0,tw.jsx)("div",{className:"d-lg-flex justify-content-center my-4",children:null===(l=t.newsArticles)||void 0===l?void 0:l.map((e,l)=>{var n;return(0,tw.jsxs)("div",{className:"mb-5 mb-lg-2 col-lg-4 d-flex flex-column flex-lg-row justify-content-lg-between",children:[(0,tw.jsx)(sO,{...e,hideLocation:!0,hideAuthor:!0}),l<(null==t?void 0:null===(n=t.newsArticles)||void 0===n?void 0:n.length)-1&&(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(tS,{type:"vertical",size:"1x",className:"d-none d-lg-block"}),(0,tw.jsx)(tS,{type:"horizontal",size:"1x",className:"d-lg-none"})]})]},null==e?void 0:e.id)})})}):null},fq=e=>{let{fields:{patientStories:l},rendering:t}=e,{t:n}=(0,tB.QT)();return(null==l?void 0:l.length)?(0,tw.jsx)(sa,{dataTestId:null==t?void 0:t.componentName,title:{value:n("Stories.RelatedPatientStoriesPosts")},children:(0,tw.jsx)("div",{className:"d-lg-flex justify-content-center my-4 gap-
575",children:l.slice(0,3).map((e,l)=>(0,tw.jsx)(db,{color:0===l?"support":1===l?"plain":"main",fields:e,hideImages:!0},"related-story--".concat(e.itemId)))})}):null};let fW=e=>{let{fields:l,rendering:t,params:n}=e,{isDarkBackground:i}=sl();if(!(null==l?void 0:l.relatedSpecialties)||(null==l?void 0:l.relatedSpecialties.length)===0)return null;let a=l.relatedSpecialties.length<3,{startingHeadingTag:o}=sD(n);return(0,tw.jsx)(sa,{title:null==l?void 0:l.title,headingLevel:o,titleClassName:"neu-display-2 fw-medium",description:null==l?void 0:l.description,dataTestId:null==t?void 0:t.componentName,children:(0,tw.jsx)("div",{className:(0,sT.W)("row mt-3 mt-lg-5",a&&"mx-auto"),children:l.relatedSpecialties.map(e=>(0,tw.jsx)("div",{className:a?"col-12":"col-lg-4 col-12",children:(0,tw.jsx)(tA,{className:"w-100 mb-4",kind:i?"tertiary-plain":"primary",field:{value:{href:e.url,text:e.name}},editable:!1})},e.url))})})};var fV=(0,sf.C)()(fW),fG=t(9065),fJ=t.n(fG),fK=e=>{let{dataTestId:l,className:t,title:n,description:i,withBreadcrumbs:a,onSubmit:o,onSelected:r,onTypeaheadKeyPress:s,items:d,placeholder:c,query:u,itemsLoading:m,termsError:v,disabled:p}=e,[f,h]=tk.useState(void 0),{t:x}=(0,tB.QT)(),g=(0,iN.cI)(),{sitecoreContext:{siteAttributes:{isCorporate:y}}}=(0,tL.u)(),[j,N]=tk.useState({value:u});function b(e){e.query?h(e.query.message||""):h(void 0)}return tk.useEffect(()=>{N({value:u})},[u]),(0,tw.jsx)(sc,{className:t,dataTestId:l,withBreadcrumbs:a,title:n,children:(0,tw.jsxs)("div",{className:"py-1 pe-lg-3",children:[(0,tw.jsx)(tD,{field:n,tag:"h1",className:"neu-display-1 fw-medium neu-text-plain-0 pb-4 pb-md-2 d-flex justify-content-center"}),(null==i?void 0:i.value)?(0,tw.jsx)(tD,{field:i,tag:"p",className:"neu-text-body neu-text-plain-0 text-center"}):null,(0,tw.jsx)("div",{className:"row justify-content-center",children:(0,tw.jsx)("div",{className:"w-lg-75 row justify-content-center",children:(0,tw.jsxs)(iN.RV,{...g,children:[(0,tw.jsx)("div",{className:"col-md-8 col-sm-12",children:(0,tw.jsx)(iE,{className:y?void 0:fJ().errorBackground,label:c,labelHidden:!0,items:m?[]:d,itemsLoading:m,placeholder:c,onSelected:r,selectItem:j,invalid:f||(v?x("Search.Errors.SomethingWentWrong"):void 0),error:!!f||!!v,onTypeaheadKeyPress:e=>{e||h(void 0),s&&e&&s(e)},...g.register("query",{validate:e=>e&&!ib.test(e)?(h(x("Search.Errors.InvalidSpecialCharacters")),x("Search.Errors.InvalidSpecialCharacters")):g.formState.isSubmitted&&!e?(h(x("Search.Errors.Required")),x("Search.Errors.Required")):(h(void 0),!0),required:{value:!0,message:x("Search.Errors.Required")}})})}),(0,tw.jsx)("div",{className:"col-md-2 col-sm-12 mt-4 mt-md-0",children:(0,tw.jsx)(tE.Yu,{type:"submit",kind:"tertiary-plain",className:"w-100",disabled:p,onNeuClick:g.handleSubmit(o,b),children:x("Common.Search")})})]})})})]})})},fX=e=>{let{icon:l,linkField:t,title:n,needsBorderClasses:i,borderClasses:a}=e,o=(0,sT.Z)("d-flex px-0 flex-lg-column px-lg-1 py-lg-4 gap-0 gap-lg-3 w-100 w-lg-50 border-neu-gray-20",{[a||""]:a&&i});return(0,tw.jsxs)("div",{className:o,children:[(0,tw.jsx)("div",{className:"d-flex min-w-36 w-lg-auto justify-content-left justify-content-lg-center",children:(null==l?void 0:l.fields)&&(0,tw.jsx)(d0,{fields:l.fields,customIconProps:{className:"neu-text-support-60 size-3x"},svgIconProps:{height:"36",className:"max-w-28"}})}),(0,tw.jsx)(tI.M,{field:t,className:"d-inline-flex align-self-center text-left text-lg-center",children:(0,tw.jsx)(sS,{field:n,tag:"span"})})]})};let f0=e=>{var l,t,n,i,a,o;let{fields:r,rendering:s,params:d}=e,c=(0,sz.useRouter)(),u=(0,iN.cI)({defaultValues:{[ri]:"",[a1.ADDRESS]:""}}),{t:m}=(0,tB.QT)(),{sitecoreContext:v}=(0,tL.u)(),p="Physicians"===v.siteType,{siteSearchUrl:f}=(0,io.u)(),{siteAttributes:{isPractice:h}}=v,x=p?"Providers.Search.Placeholders.LookingForKeyword".concat(h?"Practice":""):"Search.EnterKeyword",g=[(null==r?void 0:r.ctaItemLink1)&&{icon:null==r?void 0:null===(l=r.ctaItemIcon1)||void 0===l?void 0:l[0],linkField:null==r?void 0:r.ctaItemLink1,title:null==r?void 0:r.ctaItemTitle1,borderClasses:"border-bottom-lg border-right-lg"},(null==r?void 0:r.ctaItemLink2)&&{icon:null==r?void 0:null===(t=r.ctaItemIcon2)||void 0===t?void 0:t[0],linkField:null==r?void 0:r.ctaItemLink2,title:null==r?void 0:r.ctaItemTitle2,borderClasses:"border-bottom-lg"},(null==r?void 0:r.ctaItemLink3)&&{icon:null==r?void 0:null===(n=r.ctaItemIcon3)||void 0===n?void 0:n[0],linkField:null==r?void 0:r.ctaItemLink3,title:null==r?void 0:r.ctaItemTitle3,borderClasses:"border-right-lg"},(null==r?void 0:r.ctaItemLink4)&&{icon:null==r?void 0:null===(i=r.ctaItemIcon4)||void 0===i?void 0:i[0],linkField:null==r?void 0:r.ctaItemLink4,title:null==r?void 0:r.ctaItemTitle4}].filter(e=>!!e),y=tk.useCallback(e=>{let{"site-search":l,...t}=e;
57c.push("".concat(f,"?query=").concat(l,"&").concat(new URLSearchParams(t).toString()))},[]),{startingHeadingTag:j}=sD(d);return(0,tw.jsx)(tE.IS,{className:"p-3 p-lg-5","data-test-id":null==s?void 0:s.componentName,children:(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row",children:[(0,tw.jsxs)("div",{className:"col-lg-6 pe-lg-6 border-right-lg border-neu-gray-20",children:[(0,tw.jsxs)("div",{className:"d-flex gap-3 mb-3",children:[(0,tw.jsx)(tE.at,{name:p?"doctor_1":"magnifying_glass",css:!1,secondary:"support"}),(0,tw.jsx)(sS,{tag:j,className:"neu-display-4 pb-0 pb-lg-3",field:null==r?void 0:r.findHeadline})]}),(0,tw.jsx)(iN.RV,{...u,children:(0,tw.jsx)("form",{onSubmit:u.handleSubmit(y),children:(0,tw.jsxs)(tE.IZ,{size:"xs",kind:"expanded",children:[(0,tw.jsx)(rm,{placeholder:m(x),labelHidden:!1,label:m("Search.Labels.LookingFor"),required:!0,idSuffix:"search-cta-bar"}),(0,tw.jsx)(a8,{id:"search-cta-bar",placeholder:m(p?"Search.EnterCityOrZipcode":"Locations.Search.Form.EnterLocationPlaceholder"),label:p?m("Search.EnterCityOrZipcode"):void 0,searchParams:p?{entityType:["PostalCodeArea","Municipality"]}:void 0}),(0,tw.jsx)(tE.Yu,{className:"w-100 w-lg-50",type:"submit",children:null!==(o=null==r?void 0:null===(a=r.searchButton)||void 0===a?void 0:a.value)&&void 0!==o?o:m("Common.Search")})]})})})]}),(0,tw.jsx)(tS,{className:"d-lg-none"}),(0,tw.jsxs)("div",{className:"col-lg-6 ps-lg-6 pt-lg-0",children:[(0,tw.jsx)(sS,{tag:j,className:"d-none neu-display-4 text-center pb-5 d-lg-block",field:null==r?void 0:r.ctaHeadline}),(0,tw.jsx)("div",{className:"d-flex flex-column flex-lg-row flex-lg-wrap justify-content-center",children:null==g?void 0:g.map((e,l)=>(0,tw.jsxs)(tk.Fragment,{children:[(0,tw.jsx)(fX,{icon:e.icon,linkField:e.linkField,title:e.title,needsBorderClasses:4===g.length,borderClasses:e.borderClasses}),l<g.length-1&&(0,tw.jsx)(tS,{className:"d-lg-none"})]},e.title.value||l))})]})]})})};var f1=(0,sf.C)()(f0),f4=e=>{var l,t,n,i;let{providersUrl:a,providerResultCount:o,defaultProviderImage:r}=e,{t:s}=(0,tB.QT)(),d=null!=o?o:0,c=s("Providers.Search.ResultsDescription",{count:d>100?"100+":d,tagStart:'<span class="neu-text-support-50 text-bold">',tagEnd:"</span>"});return(0,tw.jsx)(tE.IS,{className:"mb-4 p-3",children:(0,tw.jsx)("div",{className:"p-2",children:(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row text-center text-lg-start",children:[(null==r?void 0:null===(l=r.value)||void 0===l?void 0:l.src)&&(0,tw.jsx)("div",{className:"col-lg-3 col-12 pe-lg-4",children:(0,tw.jsx)(ok.o,{field:{value:{src:null==r?void 0:null===(t=r.value)||void 0===t?void 0:t.src,alt:null!==(i=r.value.alt)&&void 0!==i?i:"Provider image"}},fill:!0,className:"object-fit-cover position-relative"})}),(0,tw.jsxs)("div",{className:(0,sT.Z)("mt-3 mt-lg-0 pe-lg-2",{"col-lg-6":null==r?void 0:null===(n=r.value)||void 0===n?void 0:n.src}),children:[(0,tw.jsx)(tD,{className:"neu-display-4 fw-bold neu-text-main-80",tag:"p",field:{value:s("Providers.Search.ResultsTitle")}}),(0,tw.jsx)(tR.H,{tag:"p",field:{value:c}})]}),(0,tw.jsx)("div",{className:"col-lg-3 col-12 ps-lg-2 ps-0 d-flex align-items-center justify-content-lg-end text-center",children:(0,tw.jsx)(tA,{className:"w-100",field:{value:{text:s("Providers.Search.Results.Button"),href:a||"/physicians"}}})})]})})})},f3=e=>{let{author:l,blogName:t,className:n,imageUrl:i,onItemClick:a,pageTitle:o,pageShortDescription:r,publishedOn:s,siteName:d,locationNames:c,tag:u,url:m,withSubTitle:v=!1}=e,p={value:t},f={value:d},h=(0,tw.jsxs)("div",{children:[t?(0,tw.jsx)(sS,{editable:!1,field:p}):null,d?(0,tw.jsx)(sS,{editable:!1,field:f}):null]});return(0,tw.jsx)(o5,{className:n,subTitle:v?h:void 0,tag:u,title:o,url:m,children:(0,tw.jsx)(sR,{author:l,editable:!1,imageUrl:i,imageAlt:o,onClick:a,publishedOn:s,siteName:!v&&d?d:void 0,locationNames:!v&&c?c:void 0,shortDescription:r})})},f5=e=>{let{item:l}=e,{t}=(0,tB.QT)(),{eventName:n,eventShortDescription:i,locationName:a,url:o,sessionCount:r,remaining:s,registrationCost:d,startDate:c,endDate:u}=l,m={value:{href:o,text:t("Search.Result.ViewDetails")}},v={value:{href:o,text:t("Search.Result.AdditionalDates",{sessionCount:r})}},[p,f]=[(0,oN.Ub)(c,u),(0,oN.vV)(c,u)],h=Math.floor(parseFloat(d)||0).toString(),x=h?(0,tw.jsxs)("div",{className:"d-flex align-items-center",children:[(0,tw.jsx)(tE.JK,{name:"monetization_on",color:"support"}),(0,tw.jsx)("span",{className:"ms-1 me-4 fw-medium",children:h})]}):null,g=void 0!==s?(0,tw.jsxs)("div",{className:"mb-1 d-flex align-items-center",children:[(0,tw.jsx)(tE.JK,{name:"people",color:"support"}),(0,tw.jsx)("span",{className:"ms-1 fw-medium",children:t("Search.Result.SpacesLeft",{count:s})})]}):null;return(0,tw.jsxs)(o5,{subTitle:(0,tw.jsxs)("div",{className:"mb-1 d-flex align-items-center",children:[(0,tw.jsx)(tE.JK,{name:"place",color:"support"}),(0,tw.jsx)("span",{children:a})]}),tag:t("Search.Content.ClassesAmpEvents"),title:n,url:o,children:[(0,tw.jsxs)("div",{className:"row",children:[(0,tw.jsx)(sS,{className:"col-12 col-lg-8",editable:!1,field:{value:i}}),(0,tw.jsx)("div",{className:"col-12 col-lg-4",children:(0,tw.jsxs)("div",{className:"pt-2 pt-lg-0",children:[(0,tw.jsxs)("div",{className:"mb-1 d-flex align-items-center",children:[(0,tw.jsx)(tE.JK,{name:"calendar_today",color:"support"}),(0,tw.jsx)("span",{className:"ms-1 fw-medium",children:p})]}),(0,tw.jsxs)("div",{className:"mb-1 d-flex align-items-center",children:[(0,tw.jsx)(tE.JK,{name:"schedule",color:"support"}),(0,tw.jsx)("span",{className:"ms-1 fw-medium",children:f})]}),x||g?(0,tw.jsxs)("div",{className:"d-flex flex-row",children:[x,g]}):null,(0,tw.jsx)(tA,{className:"w-100 mt-2  text-center","aria-label":t("Search.Result.AriaLabels.ViewDetails",{eventName:n}),field:m,editable:!1}),r&&r>0?(0,tw.jsx)(tA,{className:"w-100 mt-2 text-center","aria-label":t("Search.Result.AriaLabels.AdditionalDates",{sessionCount:r,eventName:n}),field:v,editable:!1}):null]})})]}),(0,tw.jsx)(tS,{className:"mt-2 mb-2"})]})},f2=e=>{let{item:l,onItemClick:t,siteName:n}=e,{t:i}=(0,tB.QT)(),{locationName:a,pageTitle:o,relatedSpecialties:r,shortDe
57scription:s,url:d}=l,c={value:a||n},u={value:s},m=(0,tw.jsx)(sS,{editable:!1,field:c});return(0,tw.jsxs)(o5,{onClick:t,subTitle:m,tag:i("Search.Content.Specialty"),title:o,url:d,children:[(0,tw.jsx)(sS,{field:u}),r&&r.length?(0,tw.jsxs)("div",{className:"d-flex flex-column flex-lg-row pt-2",children:[(0,tw.jsxs)("span",{className:"me-1",children:[i("Specialties.Listing.Related"),":"]}),(0,tw.jsx)("div",{children:null==r?void 0:r.map((e,l)=>(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(oG.U,{"aria-label":e.name,onClick:t,type:"primary",field:{text:null==e?void 0:e.name,href:null==e?void 0:e.url},children:null==e?void 0:e.name},null==e?void 0:e.url),r.length-1!==l&&", "]}))})]}):null,(0,tw.jsx)(tS,{className:"mt-2 mb-2"})]})},f6=e=>{var l,t;let{blogName:n,item:i,siteName:a,locationsUrl:o}=e,{t:r}=(0,tB.QT)();switch(null==i?void 0:i.type){case aL.blog:return(0,tw.jsx)(f3,{blogName:n,author:i.author,imageUrl:i.pageImageUrl,pageShortDescription:i.pageShortDescription,pageTitle:i.pageTitle,publishedOn:i.publishedOn,siteName:a,url:i.url,tag:r("Search.Content.BlogArticle")},i.itemId);case aL.news:return(0,tw.jsx)(f3,{author:i.author,imageUrl:i.pageImageUrl,pageShortDescription:i.pageShortDescription,pageTitle:i.pageTitle,publishedOn:i.publishedOn,locationNames:i.locationNames,siteName:a,url:null==i?void 0:i.url,withSubTitle:!1,tag:r("Search.Content.NewsArticle")},i.itemId);case aL.story:return(0,tw.jsx)(f3,{author:i.author,imageUrl:i.pageImageUrl,pageShortDescription:i.pageShortDescription,pageTitle:i.pageTitle,publishedOn:i.publishedOn,locationNames:i.locationNames,siteName:null!==(l=i.locationName)&&void 0!==l?l:a,url:null==i?void 0:i.url,withSubTitle:!1,tag:r("Search.Content.PatientStories")},i.itemId);case aL.location:return(0,tw.jsx)(o7,{item:i,locationsUrl:o},i.itemId);case aL.event:return(0,tw.jsx)(f5,{item:i});case aL.specialty:return(0,tw.jsx)(f2,{item:i,siteName:a});case aL.other:default:return(0,tw.jsx)(f3,{imageUrl:null==i?void 0:i.pageImageUrl,pageShortDescription:null==i?void 0:i.pageShortDescription,pageTitle:null==i?void 0:i.pageTitle,siteName:null!==(t=null==i?void 0:i.locationName)&&void 0!==t?t:a,tag:r("Search.Content.Other"),url:null==i?void 0:i.url},null==i?void 0:i.itemId)}},f9=e=>{let{contentTypeFacetGroup:l,facetGroups:t,onContentTypeClear:n,onContentTypeSet:i,onFacetsClear:a,onFacetSet:o,isValidating:r}=e,s=tk.useRef(null),d=!r&&t&&(null==t?void 0:t.length)>0,{t:c}=(0,tB.QT)(),u=(0,tw.jsxs)("span",{children:[(0,tw.jsx)(tE.JK,{name:"filter_list",className:"me-1 align-middle"}),c("Locations.Search.Form.Filter.FilterLabel")]});return(0,tw.jsxs)(tw.Fragment,{children:[r?(0,tw.jsx)(sH,{skeletonClassName:"d-lg-none"}):(0,tw.jsxs)("div",{className:"d-lg-none mb-4",children:[(0,tw.jsx)(sW,{className:"p-0 m-0",facetGroups:l,onFacetsClear:n,onFacetSet:i,isValidating:r}),d?(0,tw.jsx)(sW,{filterTitle:u,onFacetGroupsClearClick:a,className:"pt-0 m-0",facetGroups:t,onFacetSet:o,isValidating:r,lastToggledFacetValueRef:s}):null]}),r?(0,tw.jsx)(sH,{skeletonClassName:"d-none d-lg-block",isActive:!0}):(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(sW,{className:"p-0 m-0 d-none d-lg-block",facetGroups:l,onFacetsClear:n,onFacetSet:i,isActive:!0}),d?(0,tw.jsx)(sW,{filterTitle:u,onFacetGroupsClearClick:a,className:"d-none d-lg-block mt-4",facetGroups:t,onFacetSet:o,lastToggledFacetValueRef:s}):null]})]})};let f8=e=>e.groupKey===mm;var f7=e=>{var l,t,n,i,a,o,r,s,d,c,u,m,v,p,f,h,x,g,y,j,N,b,w,L,C,S,k,M,D,T,I,E;let{fields:A,rendering:_,className:F,isMobile:P}=e,{sitecoreContext:{siteAttributes:{isHospital:O,isPhysicians:z},pageEditing:R,route:B}}=(0,tL.u)(),{t:U}=(0,tB.QT)(),{processedResults:H,isLoading:Z,error:Q,setTermsParameter:Y}=rr({}),$=R,{onClear:q,onPageChange:W,onToggleFacet:V,onSortChange:G,setContentType:J,siteSearchData:K,defaultParams:X,isValidating:ee,contentTypeFacet:el,submitSiteSearch:et,failureToFetchError:en,siteSearchParameter:ei,locationSearchFormSubmit:ea,onRestFacetsClear:eo}=(0,tk.useContext)(p3),er=(null==K?void 0:K.errors)&&(null==K?void 0:null===(l=K.errors)||void 0===l?void 0:l.length)>0||!!en,es=null==K?void 0:null===(n=K.data)||void 0===n?void 0:null===(t=n.facetGroups)||void 0===t?void 0:t.filter(e=>f8(e)),ed=null==K?void 0:null===(a=K.data)||void 0===a?void 0:null===(i=a.facetGroups)||void 0===i?void 0:i.filter(e=>!f8(e)),ec=(null!==(k=null==K?void 0:null===(r=K.data)||void 0===r?void 0:null===(o=r.results)||void 0===o?void 0:o.length)&&void 0!==k?k:0)>0,eu=null===(s=A.sorting)||void 0===s?void 0:s[el],em=(0,tw.jsxs)(tw.Fragment,{children:[O||z?(0,tw.jsx)(f4,{keyword:null==K?void 0:null===(d=K.data)||void 0===d?void 0:d.query,postalCode:null==K?void 0:null===(c=K.data)||void 0===c?void 0:c.postalCode,providersUrl:null==A?void 0:A.providersUrl,providerResultCount:null==K?void 0:null===(u=K.data)||void 0===u?void 0:u.providerResultCount,defaultProviderImage:{value:{src:null==K?void 0:null===(m=K.data)||void 0===m?void 0:m.defaultProviderImageUrl,alt:null==K?void 0:null===(v=K.data)||void 0===v?void 0:v.defaultProviderImageAltText}}}):null,null==K?void 0:null===(f=K.data)||void 0===f?void 0:null===(p=f.results)||void 0===p?void 0:p.map((e,l)=>{var t,n,i,a;return(0,tw.jsx)(f6,{blogName:null!==(i=null==A?void 0:null===(t=A.labels)||void 0===t?void 0:t.blogName)&&void 0!==i?i:"",defaultLocationImage:null==A?void 0:A.defaultLocationImage,index:l,item:e,locationsUrl:null==A?void 0:A.locationsUrl,siteName:null!==(a=null==A?void 0:null===(n=A.labels)||void 0===n?void 0:n.siteName)&&void 0!==a?a:""},null==e?void 0:e.itemId)})]});return(0,tw.jsxs)("div",{"data-test-id":null==_?void 0:_.componentName,className:F,children:[(0,tw.jsx)(fK,{title:null==B?void 0:null===(h=B.fields)||void 0===h?void 0:h.pageTitle,withBreadcrumbs:!0,placeholder:U("Search.EnterKeyword"),items:null!=H?H:[],itemsLoading:Z,query:(null==ei?void 0:ei.query
57)?null==ei?void 0:ei.query:null==X?void 0:X.query,onSubmit:et,onTypeaheadKeyPress:e=>{e.length>=iD&&Y(e)},maxLength:mv,termsError:Q}),(0,tw.jsxs)("div",{className:"neu-bg-gray-0 pt-0 pt-lg-4",children:[(0,tw.jsx)(uT,{className:"d-none d-lg-block",locationSearchFormSubmit:ea,locationSearchFormClassName:"px-lg-2"}),P||!$&&(ee||!er&&ec)?(0,tw.jsx)(sG,{counter:ec?(0,tw.jsx)(is,{contentType:el,contentTypeFacetGroup:null==es?void 0:es[0],count:null!==(M=null==K?void 0:null===(x=K.data)||void 0===x?void 0:x.total)&&void 0!==M?M:0,end:null!==(D=null==K?void 0:null===(y=K.data)||void 0===y?void 0:null===(g=y.page)||void 0===g?void 0:g.end)&&void 0!==D?D:0,displaySize:pG,keyword:null==K?void 0:null===(j=K.data)||void 0===j?void 0:j.query,onSortChange:G,sortOptions:eu,start:null!==(T=null==K?void 0:null===(b=K.data)||void 0===b?void 0:null===(N=b.page)||void 0===N?void 0:N.start)&&void 0!==T?T:0,sort:null!==(I=null==ei?void 0:ei.sort)&&void 0!==I?I:X.sort,isLoading:ee,showErWaitTimes:O}):void 0,leftContent:(0,tw.jsxs)(tw.Fragment,{children:[(0,tw.jsx)(uT,{filterBlockTitle:U("Common.Location"),className:"d-lg-none d-sm-block",locationSearchFormClassName:"px-0",locationSearchFormSubmit:ea,isValidating:ee,popperStrategy:"fixed"}),(0,tw.jsx)(f9,{contentTypeFacetGroup:es,onContentTypeSet:J,facetGroups:ed,onFacetSet:V,onContentTypeClear:q,isValidating:ee,onFacetsClear:eo}),P&&($||!ee&&(er||!ec))&&(0,tw.jsx)(ss.V,{name:"results-not-found",rendering:_})]}),onPageChange:W,listItems:ee?sJ(parseInt(pG)):em,currentPage:null==K?void 0:null===(L=K.data)||void 0===L?void 0:null===(w=L.page)||void 0===w?void 0:w.current,display:parseInt(pG),totalResults:null!==(E=null==K?void 0:null===(C=K.data)||void 0===C?void 0:C.total)&&void 0!==E?E:0,failureToFetchError:en,errors:null==K?void 0:K.errors,isValidating:ee,query:null==K?void 0:null===(S=K.data)||void 0===S?void 0:S.query}):(0,tw.jsx)(ss.V,{name:"results-not-found",rendering:_})]})]})},he=e=>{let{fields:l,rendering:t}=e;return(0,tw.jsxs)(p4,{defaultRequest:null==l?void 0:l.defaultRequest,children:[(0,tw.jsx)(f7,{fields:l,rendering:t,isMobile:!1,className:"d-none d-lg-block"}),(0,tw.jsx)(f7,{fields:l,rendering:t,isMobile:!0,className:"d-lg-none"})]})},hl=e=>{var l,t,n,i;let{fields:a,rendering:o}=e;return(0,tw.jsx)(su,{title:null==a?void 0:null===(t=a.taxonomy)||void 0===t?void 0:null===(l=t.fields)||void 0===l?void 0:l.termName,description:null==a?void 0:null===(i=a.taxonomy)||void 0===i?void 0:null===(n=i.fields)||void 0===n?void 0:n.termDefinition,withBreadcrumbs:!0,dataTestId:null==o?void 0:o.componentName,makeAnAppointmentLink:null==a?void 0:a.makeAnAppointmentLink,findALocationLink:null==a?void 0:a.findALocationLink,findAClassOrEventLink:null==a?void 0:a.findAClassOrEventLink})};let ht="6",hn="1",hi="suggest",ha=`search/${hi}`,ho=({page:e=hn,display:l=ht,...t}={})=>{var n,i,a,o,r,s;let{sitecoreContext:d}=(0,tL.u)(),c=(null==(n=null==d?void 0:d.site)?void 0:n.name)??"",u=null!=(i=null==d?void 0:d.route)&&i.itemId?`{${null==(a=null==d?void 0:d.route)?void 0:a.itemId}}`:"",m=(null==d?void 0:d.language)??ay,[v,p]=tk.useState(t.query),f=!!v&&v.trim().length>0,h=(0,ag.ZP)(f?`${aj}${ha}?${ax.stringify({pageId:u,sc_site:c,page:e,sc_lang:m,display:l,includeProviders:t.includeProviders,query:v})}`:null,tH.f,{revalidateOnFocus:!1,keepPreviousData:!0,revalidateIfStale:!1}),x=null!=(s=null==(r=null==(o=null==h?void 0:h.data)?void 0:o.data)?void 0:r.suggestions)&&s.specialties.length?null==h?void 0:h.data.data.suggestions.specialties.map(e=>({id:`${e.text??""}`,value:e.text??"",data:{},onSelected:()=>{null!=e&&e.url&&ix.push(e.url)}})):[];return{...h,setSearchSuggestParameter:p,suggestionItems:x}};var hr=e=>{let{fields:l,rendering:t}=e,{t:n}=(0,tB.QT)(),{isValidating:i,error:a,suggestionItems:o,setSearchSuggestParameter:r}=ho({includeProviders:!1}),s=tk.useCallback(e=>{let{query:l}=e;ig().push("/search?query=".concat(encodeURIComponent(l)))},[]);return(0,tw.jsx)(fK,{placeholder:n("Specialties.Placeholders.SpecialtySearch"),dataTestId:null==t?void 0:t.componentName,title:l.pageTitle,description:null==l?void 0:l.pageShortDescription,withBreadcrumbs:!0,onTypeaheadKeyPress:e=>{e.length>=iD&&r(e)},items:null!=o?o:[],termsError:a,itemsLoading:i,onSubmit:s,disabled:i})};let hs=e=>{let{markets:l}=e,{t}=(0,tB.QT)(),n=e=>e.toLowerCase().replace("market","").trim();return(0,tw.jsx)("div",{className:"column-count-2",children:l.length?l.map(e=>(0,tw.jsxs)("p",{className:"d-flex flex-column text-capitalize break-inside-avoid",children:[(0,tw.jsx)("span",{children:e.path?(0,tw.jsx)(oG.U,{field:{href:e.path,text:n(e.name)}}):"".concat(n(e.name))}),(0,tw.jsx)("small",{children:1===e.count?"".concat(e.count," ").concat(t("Search.Content.SingleLocation")):"".concat(e.count," ").concat(t("Search.Content.Locations"))})]},e.name)):null})};var hd=e=>{let{areas:l,headline:t}=e,{selectedAreaId:n,setSelectedAreaId:i}=vy(),{t:a}=(0,tB.QT)(),o=[...l].sort((e,l)=>e.stateName.localeCompare(l.stateName)).map(e=>{let{stateAbbr:l,stateName:t}=e;return{label:t,value:l}}),r=1===l.length,s=n?l.find(e=>e.stateAbbr===n):void 0;return(0,tw.jsx)(vN,{headline:t,hideSelect:r,icon:(0,tw.jsx)(tE.at,{name:"clinic_doctors_office_2",primary:"support",secondary:"support",size:"2x",css:!1}),items:o,onSelect:i,selectLabel:"Select a State",selectedValue:n,children:s?(0,tw.jsx)("div",{className:"pt-4",children:(0,tw.jsxs)("div",{className:"overflow-y-auto overflow-x-hidden max-h-144",children:[(0,tw.jsx)("p",{children:a("StateMap.ListingTagline")}),(0,tw.jsx)(hs,{markets:s.markets})]})}):null})};let hc=e=>{var l;let{fields:t,rendering:n}=e;if(!(null==t?void 0:null===(l=t.states)||void 0===l?void 0:l.length))return null;let i=t.states.map(e=>({id:e.stateAbbr,label:e.stateName,stateAbbrs:[e.stateAbbr],tooltipLabel:e.stateName,total:e.markets.reduce((e,l)=>e+Number(l.count),0)}));return(0,tw.jsx)(vF,{areas:i,rendering:n,sectionTitle:t.sectionTitle,tooltipId:n.componentName,children:(0,tw.jsx)(hd,{areas:t.states,headline:t.findHeadline})})};var hu=(0,sf.C)()(hc);let hm="10",hv="1",hp="search",hf="stories/".concat(hp),hh=function(){var e,l,t,n,i;let{...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{sitecoreContext:o}=(0,tL.u)(),r=(null==o?void 0:null===(e=o.route)||void 0===e?void 0:e.itemId)?"{".concat(null==o?void 0:null===(l=o.route)||void 0===l?void 0:l.itemId,"}"):"",s=null!==(n=null==o?void 0:null===(t=o.site)||void 0===t?void 0:t.name)&&void 0!==n?n:"",d=null!==(i=null==o?void 0:o.language)&&void 0!==i?i:ay,[c,u]=tk.useState({...a}),m=(null==c?void 0:c.filters)?aM(null==c?void 0:c.filters):{},v={pageId:r,sc_lang:d,sc_site:s,page:hv,...c,filters:m,display:hm},p=du().stringify(v);return{...(0,ag.ZP)(Object.keys(c).length>0?["".concat(aj).concat(hf,"?").concat(p)]:null,tH.f,{keepPreviousData:!0}),setStoriesRequestParameter:u,storiesRequestParameter:c}};var hx=e=>{var l,t,n,i,a;let{rendering:o,fields:r}=e,{t:s}=(0,tB.QT)(),{query:d,isReady:c}=(0,ix.useRouter)(),u=(null==r?void 0:r.defaultRequest)&&Object.keys(r.defaultRequest).length>0,m=(null==r?void 0:r.defaultResponse)&&(null===(t=r.defaultResponse)||void 0===t?void 0:null===(l=t.results)||void 0===l?void 0:l.length)>0,v={errors:[],success:!0,hasErrors:!1,data:null==r?void 0:r.defaultResponse},[p,f]=tk.useState(!0),{data:h,error:x,isLoading:g,isValidating:y,setStoriesRequestParameter:j,storiesRequestParameter:N}=hh({}),b=tk.useRef(!1);tk.useEffect(()=>{if(!c||b.current)return;let{path:e,...l}=null!=d?d:{};Object.keys(l).length>0?j({...l,filters:l.filters?aD(l.filters):void 0}):!m&&u&&j(r.defaultRequest),b.current=!0,f(!1)},[c]);let w=null!=h?h:v,{onClear:L,onPageChange:C,onQueryChange:S,onToggleFacet:k}=dd({params:null!=N?N:{},setParams:j,defaultParams:null!==(a=null==r?void 0:r.defaultRequest)&&void 0!==a?a:{},handleUrlReplace:!0});return(0,tw.jsx)(sK,{data:w,errors:null==w?void 0:w.errors,failureToFetchError:x,isValidating:g||y||p,onClear:(null==w?void 0:null===(i=w.data)||void 0===i?void 0:null===(n=i.facetGroups)||void 0===n?void 0:n.length)?L:void 0,query:null==N?void 0:N.query,onQueryChange:S,onToggleFacet:k,display:parseInt(hm),onPageChange:C,componentName:null==o?void 0:o.componentName,filterTitle:s("Stories.Listing.ExploreStories"),filterBlockTitle:s("Stories.Listing.FindAStory"),onFacetGroupsClearClick:L})},hg=sA(e=>{var l,t;let{testimonial:n,testimonials:i,viewAllLink:a,testimonialTextCentered:o}=e,{t:r}=(0,tB.QT)(),s=(null==n?void 0:n.fields)||(null==i?void 0:null===(l=i[0])||void 0===l?void 0:l.fields)||null;return(0,tw.jsxs)("div",{className:"d-flex col-11 col-lg-6 flex-column align-self-center align-items-center",id:null==s?void 0:s.id,children:[(0,tw.jsx)("div",{className:"neu-text-support-50 fw-bold font-size-8rem mt-6 mb-2",children:"“"}),(0,tw.jsx)(tR.H,{tag:"h5",field:null==s?void 0:s.testimonialText,className:(0,sT.Z)("mb-4",(null==o?void 0:o.value)?"text-center":"text-start")}),(0,tw.jsx)(tD,{tag:"h5",field:null==s?void 0:s.testimonialAuthor,className:"align-self-end fw-bold neu-text-main-90 text-end"}),(0,tw.jsx)(tD,{tag:"h6",field:null==s?void 0:s.testimonialAuthorDescription,className:"align-self-end fw-bold neu-text-main-90 text-end"}),(null==a?void 0:null===(t=a.value)||void 0===t?void 0:t.href)&&(0,tw.jsx)(tA,{field:a,kind:"secondary",className:"mt-4",children:a.value.text||r("Common.Links.ViewAll")})]})},{title:"Add a Testimonial to the Testimonial Block",tooltip:"Add a Testimonial",templateId:"{9913383A-5DF4-4328-A4F6-58326BBE55D5}",fieldId:"{8FCBE397-FB70-4777-88D4-CD513D400A22}",renderingId:"{87A88230-2313-4331-BED2-96AB4D578EC9}",countField:"testimonials"});let hy=e=>{let{fields:l,params:t,rendering:n}=e,i=null==t?void 0:t.backgroundStyle,a=null==t?void 0:t.allowOverlay,o=null==t?void 0:t.borderToggle;
57return(0,tw.jsx)(sa,{title:l.title,description:l.description,dataTestId:n.componentName,variant:i,overlay:a,borderToggle:o,children:(0,tw.jsx)(hg,{testimonials:l.testimonials,testimonial:null==l?void 0:l.testimonial,viewAllLink:l.viewAllLink,testimonialTextCentered:l.testimonialTextCentered,rendering:n})})};var hj=(0,sf.C)()(hy);let hN=e=>{let{fields:l,rendering:t,params:n}=e,{startingHeadingTag:i}=sD(n),{contentAccessibilityClassNames:a,isFullWidth:o}=sl();return(0,tw.jsxs)("div",{"data-test-id":null==t?void 0:t.componentName,className:(0,sT.Z)(o&&"px-2 px-lg-6 py-6"),children:[(0,tw.jsx)(sn,{title:l.blockHeadline,description:l.blockDescription,headingLevel:i,titleClassName:"neu-display-2 fw-medium"}),(0,tw.jsxs)("div",{className:(0,sT.Z)("mt-5 row mt-md-3",a),children:[(0,tw.jsx)("div",{className:"col-md-6 col-sm-12",children:(0,tw.jsx)(sS,{field:l.blockText1})}),(0,tw.jsx)("div",{className:"col-md-6 col-sm-12",children:(0,tw.jsx)(sS,{field:l.blockText2})})]})]})};var hb=(0,sf.C)()(hN),hw=e=>{let{setHourlyWage:l,className:t}=e,{t:n}=(0,tB.QT)(),i=(0,iN.cI)({mode:"onChange"});return(0,tw.jsx)("div",{className:t,children:(0,tw.jsxs)("form",{onSubmit:i.handleSubmit(e=>{let{hourlyWage:t}=e;l(t)}),onReset:()=>{i.reset(),l(void 0)},children:[(0,tw.jsx)(tE.JX,{label:n("PageContent.UnionCalculator.EnterYourHourlyWage"),tip:"No dollar signs or commas",type:"number",min:"0",step:"0.01",required:!0,...i.register("hourlyWage",{required:!0,valueAsNumber:!0,min:0,validate:e=>Number.isFinite(e)})}),(0,tw.jsx)(tS,{type:"horizontal",margin:"5"}),(0,tw.jsxs)("div",{className:"container row w-auto gap-2",children:[(0,tw.jsx)(tE.Yu,{className:"col",type:"submit",disabled:!i.formState.isValid,children:n("PageContent.UnionCalculator.Calculate")}),(0,tw.jsx)(tE.Yu,{className:"col",type:"reset",kind:"secondary",children:n("PageContent.UnionCalculator.Reset")})]})]})})},hL=e=>{let{icon:l,value:t,description:n}=e,i=t?(0,tw.jsx)("span",{className:"neu-display-4 fw-bold",children:t}):(0,tw.jsx)(tS,{margin:"2",size:"2x",className:"max-w-14",color:"gray-60"});return(0,tw.jsxs)("div",{className:"d-flex flex-column",children:[(0,tw.jsxs)("div",{className:"d-flex justify-content-start align-items-center gap-4",children:[(0,tw.jsx)(tE.JK,{name:l,color:"gray-60",size:"2x"}),i]}),(0,tw.jsx)("span",{className:"neu-text-gray-60 ps-6",children:n})]})},hC=e=>{let{fields:l,rendering:t}=e,{t:n}=(0,tB.QT)(),[i,a]=tk.useState(),[o,r]=tk.useState();tk.useEffect(()=>{if(void 0===o){a(void 0);return}let e=Math.min(o*l.unionMultiplier.value,l.maxForMonthlyDues.value),t=e*l.membersPaidMultiplier.value,n=e=>e.toLocaleString("en-US",{style:"currency",currency:"USD"});a({monthlyDues:n(e),annualDues:n(12*e),contractPeriodDues:n(12*e*l.yearlyContractNumber.value),groupMonthlyDues:n(t),groupAnnualDues:n(12*t),groupContractPeriodDues:n(12*t*l.yearlyContractNumber.value)})},[o,l]);let s=(0,tw.jsxs)("div",{className:"col-lg-4",children:[(0,tw.jsx)(tD,{tag:"h5",field:l.title,className:"fw-bold"}),(0,tw.jsx)(tD,{tag:"span",field:l.description,className:"neu-text-gray-60"}),(0,tw.jsx)(hw,{setHourlyWage:r,className:"my-5"})]}),d={monthlyDues:(0,tw.jsx)(hL,{value:null==i?void 0:i.monthlyDues,icon:"payments",description:"".concat(n("PageContent.UnionCalculator.Estimated")," ").concat(n("PageContent.UnionCalculator.MonthlyDues"))}),annualDues:(0,tw.jsx)(hL,{value:null==i?void 0:i.annualDues,icon:"calendar_today",description:n("PageContent.UnionCalculator.YourAnnualCost")}),contractPeriodDues:(0,tw.jsx)(hL,{value:null==i?void 0:i.contractPeriodDues,icon:"event_repeat",description:"".concat(n("PageContent.UnionCalculator.OverTheLifeOf")," ").concat(l.yearlyContractNumber.value,"-").concat(n("PageContent.UnionCalculator.YearContract"))}),groupMonthlyDues:(0,tw.jsx)(hL,{value:null==i?void 0:i.groupMonthlyDues,icon:"groups_2",description:"".concat(n("PageContent.UnionCalculator.Estimated")," ").concat(n("PageContent.UnionCalculator.MonthlyCollectionFromAllMembers"))}),groupAnnualDues:(0,tw.jsx)(hL,{value:null==i?void 0:i.groupAnnualDues,icon:"groups_2",description:"".concat(n("PageContent.UnionCalculator.Estimated")," ").concat(n("PageContent.UnionCalculator.YearlyCollectionFromAllMembers"))}
57),groupContractPeriodDues:(0,tw.jsx)(hL,{value:null==i?void 0:i.groupContractPeriodDues,icon:"groups_2",description:"".concat(n("PageContent.UnionCalculator.Estimated")," ").concat(l.yearlyContractNumber.value,"-").concat(n("PageContent.UnionCalculator.YearContractCollectionForAllMembers"))})},c=(0,tw.jsxs)("div",{className:"col",children:[(0,tw.jsx)(tD,{tag:"h5",field:l.resultsTitle,className:"fw-bold"}),(0,tw.jsx)(tD,{tag:"p",field:l.resultsDescription,className:"neu-text-gray-60 mb-4"}),(0,tw.jsxs)("div",{className:"row row-cols-2",children:[(0,tw.jsx)("p",{children:n("PageContent.UnionCalculator.SinglesDuesTitle")}),(0,tw.jsx)("p",{className:"d-none d-lg-block",children:"".concat(n("PageContent.UnionCalculator.UnionDuesTitle")," ").concat(l.membersPaidMultiplier.value," ").concat(n("PageContent.UnionCalculator.Members"))})]}),(0,tw.jsx)("div",{className:"d-lg-none",children:(0,tw.jsxs)("div",{className:"row row-cols-1 gy-6",children:[d.monthlyDues,d.annualDues,d.contractPeriodDues,(0,tw.jsxs)("div",{children:[(0,tw.jsx)("p",{children:"".concat(n("PageContent.UnionCalculator.UnionDuesTitle")," ").concat(l.membersPaidMultiplier.value," ").concat(n("PageContent.UnionCalculator.Members"))}),d.groupMonthlyDues]}),d.groupAnnualDues,d.groupContractPeriodDues]})}),(0,tw.jsx)("div",{className:"d-none d-lg-block container",children:(0,tw.jsxs)("div",{className:"row row-cols-2 gy-6",children:[d.monthlyDues,d.groupMonthlyDues,d.annualDues,d.groupAnnualDues,d.contractPeriodDues,d.groupContractPeriodDues]})}),(0,tw.jsx)(tS,{}),(0,tw.jsx)(tE.qw,{label:l.unionDuesConclusionHeader.value,children:(0,tw.jsx)(tD,{field:l.unionDuesConclusionDescription})})]});return(0,tw.jsx)(tE.IS,{"data-test-id":t.componentName,className:"container",children:(0,tw.jsxs)(tE.IS.Content,{className:"row g-0 pt-2 pb-5",children:[s,(0,tw.jsx)(tS,{type:"vertical",className:"d-none d-lg-block col-auto h-auto"}),c]})})};let hS=e=>{let{fields:l,rendering:t,params:n}=e;return(0,tw.jsx)(cX,{fields:{description:null==l?void 0:l.blockDescription,headline:null==l?void 0:l.blockHeadline,image:null==l?void 0:l.videoPreviewImage,primaryLink:null==l?void 0:l.blockPrimaryLink,secondaryLink:null==l?void 0:l.blockSecondaryLink,media:(null==l?void 0:l.videoLink)||(null==l?void 0:l.youTubeVideo)},rendering:t,params:n,dataTestId:null==t?void 0:t.componentName})};var hk=(0,sf.C)()(hS);let hM=new Map;hM.set("CampaignFooter",n9),hM.set("Chatbot",ii),hM.set("CounterWithSorting",is),hM.set("Footer",ih),hM.set("Subscription",n2),hM.set("Header",r3),hM.set("LocationSearchForm",og),hM.set("NotFoundDetailsSection",so),hM.set("OfficeHours",o1),hM.set("OneColumnLayout",sd),hM.set("PageCount",ir),hM.set("PageTitleBanner",sv),hM.set("PageTitleBannerLarge",sp),hM.set("PhoneNumber",o4),hM.set("RichTextBlock",sx),hM.set("Section",sa),hM.set("SectionBlock",sg),hM.set("SharedTabs",sj),hM.set("StatusBlock",o3),hM.set("Typeahead",iE),hM.set("AboutLocationSection",eJ),hM.set("AccordionBlock",eX),hM.set("AnalyticsContext",e0),hM.set("ArticleListingBlockContent",e1),hM.set("ArticleListingResults",e3),hM.set("AZSpecialtiesListingBlock",e5),hM.set("BlogArticleDetailsSection",e2),hM.set("BlogListing",e6),hM.set("BlogListingBlock",e9),hM.set("BMICalculator",e8),hM.set("CampaignHeader",e7),hM.set("CampaignPageTitleBanner",le),hM.set("CardsBlock",ll),hM.set("ClinicalTrialsDetailSection",lt),hM.set("ClinicalTrialsListing",ln),hM.set("CMPEntityFetch",li),hM.set("ContentBlock",la),hM.set("ContentHighlightListingBlock",lo),hM.set("ContentListingBlock",lr),hM.set("ContentTeaserBlock3Columns",ls),hM.set("ContentWithLinkButtons",ld),hM.set("ContentWithLinkList",lc),hM.set("CtaBar",lu),hM.set("DotLocationsSection",lm),hM.set("EmergencyAlertsFeed",lp),hM.set("EventsListingBlock",lf),hM.set("FacilityMapSearchBlockAzure",lh),hM.set("FeaturedBlogArticlesSection",lx),hM.set("FeaturedContent2Columns",lg),hM.set("FeaturedContentBlock",ly),hM.set("FeaturedContentBlockWithImage",lj),hM.set("FeaturedNewsroomArticlesBlock",lb),hM.set("FeaturedPatientStory",lw),hM.set("FeaturedProgramBlock",lL),hM.set("FeaturedStatsBlock",lC),hM.set("FilterPanelWrapper",e4),hM.set("FindCareLocationSection",lS),hM.set("FlipCardsBlock",lk),hM.set("FormStackForm",lM),hM.set("GmeHospitalProgramsBlock",lD),hM.set("GmeProgramResultsSection",lT),hM.set("GmeProgramSearchBlock",lI),hM.set("GmeStateProgramsBlock",lE),hM.set("HeroBanner",lA),hM.set("HipaaConsentFormSection",l_),hM.set("InsuranceListingBlock",lF),hM.set("InsurancePlansBlock",lP),hM.set("InsurancePlansSection",lO),hM.set("InteractiveDivisionMap",lz),hM.set("InteractiveStateMap",lR),hM.set("InteriorNavigation",lB),hM.set("ItemizationServicesBlock",lU),hM.set("LanguageToggle",lH),hM.set("LegalNoticesBlock",lZ),hM.set("LocationFilterBanner",lv),hM.set("LocationFinderSectionAzure",lQ),hM.set("LocationSearchListingSection",lY),hM.set("MarketBillPayLinkBlock",l$),hM.set("MarketLevelLocationSearchListingBlock",lq),hM.set("MetaElements",py),hM.set("Metadata",lW),hM.set("MultimediaGallery",lV),hM.set("MyHealthOnePayMyBillSection",lG),hM.set("MyHealthOnePromotionBlock",lJ),hM.set("NewsArticleDetailsSection",lK),hM.set("NewsListingBlock",lN),hM.set("NewsListingSection",lX),hM.set("NewsletterSection",l0),hM.set("NoSearchResultsBlock",l1),hM.set("OfficeDetailBlock",l4),hM.set("OrganizationSchema",l3),hM.set("OurSpecialtiesBlock",l5),hM.set("PageBody",l2),hM.set("LocationPhoneNumber",l6),hM.set("PatientFinancialResourcesBlock",l9),hM.set("PatientPaymentEstimatorBlock",l8),hM.set("PatientStoryDetailsSection",l7),hM.set("PracticeLocationsListingSectionAzure",te),hM.set("PricingEstimatesInformationBlock",tl),hM.set("PricingTransparencyBlock",tt),hM.set("PricingTransparencyBlockPOC",tn),hM.set("PrimaryPhoneNumber",ti),hM.set("PromotionBlock",ta),hM.set("ProvidersListingBlock",to),hM.set("RelatedBlogListingSection",tr),hM.set("RelatedNewsArticlesSection",ts),hM.set("RelatedPatientStoriesSection",td),hM.set("RelatedSpecialtiesListingBlock",tc),hM.set("SearchBanner",tu),hM.set("SearchCTABar",tm),hM.set("SearchResultsSection",tv),hM.set("SpecialtyBanner",tp),hM.set("SpecialtySearchBanner",tf),hM.set("StateMapSearchBlock",th),hM.set("StoriesListingSection",tx),hM.set("TestimonialCarousel",tg),hM.set("TextBlock2Columns",ty),hM.set("TwoColumnLayout",eK),hM.set("UnionCalculator",tj),hM.set("VideoContentBlock",tN);let hD=new tb.Q({components:hM});hD.getModuleFactory()},5992:function(e){e.exports={gauge:"bmi-gauge_gauge__UM3x4",needle:"bmi-gauge_needle__jegjf",display:"bmi-gauge_display__ROQO2",gaugeBackgroun
57d:"bmi-gauge_gaugeBackground__l90hd",line:"bmi-gauge_line__btNRe",lineRight:"bmi-gauge_lineRight__k_NxI",lineLeft:"bmi-gauge_lineLeft__0xbTN",results:"bmi-gauge_results__DWnQ9"}},6260:function(e){e.exports={textBlock:"content-block_textBlock__eeOvj",textBlockLeft:"content-block_textBlockLeft__d7bCm",imageBlock:"content-block_imageBlock__GGcOr",imageBlockRight:"content-block_imageBlockRight__OVaqq"}},9858:function(e){e.exports={flipCard:"flip-cards-item_flipCard__DM4sn",flipCardInner:"flip-cards-item_flipCardInner__QHGij",isFlipped:"flip-cards-item_isFlipped__94L4r",flipCardFront:"flip-cards-item_flipCardFront__QPKy5",flipCardBack:"flip-cards-item_flipCardBack__Uk3r9"}},9274:function(e){e.exports={opacity:"hero-banner_opacity__HL7SM",corpOpacity:"hero-banner_corpOpacity__56YRQ",backgroundImage:"hero-banner_backgroundImage__kHkLz",corpHeroButton:"hero-banner_corpHeroButton__QvMLY",corpSecondaryButton:"hero-banner_corpSecondaryButton__ePzAl",mobileRatio:"hero-banner_mobileRatio__UPrp8"}},6054:function(e){e.exports={hipaaConsentFormContent:"hipaa-consent-form-section_hipaaConsentFormContent__qxDm4","hipaa-input":"hipaa-consent-form-section_hipaa-input__ZMN3a",indent:"hipaa-consent-form-section_indent___iMOj","row-padding":"hipaa-consent-form-section_row-padding__K8efR","highlight-blue":"hipaa-consent-form-section_highlight-blue__Xrnzc",btn:"hipaa-consent-form-section_btn__X7fbL","btn-default":"hipaa-consent-form-section_btn-default__eEzYI","no-print":"hipaa-consent-form-section_no-print__PvEO2"}},7335:function(e){e.exports={itemDescription:"multimedia-gallery_itemDescription__53RsB"}},6281:function(e){e.exports={appButtons:"my-health-one-promotion-block_appButtons__qYIx0"}},8730:function(e){e.exports={errorBackground:"newsletter-section_errorBackground__E5X1U"}},9065:function(e){e.exports={errorBackground:"search-banner_errorBackground__7DB9T"}},3840:function(e){e.exports={skipToContentButton:"skip-to-content-button_skipToContentButton__Ttl5H"}},7423:function(e){e.exports={mapBase:"united-states-map_mapBase__eluyP",selectableArea:"united-states-map_selectableArea__Cou4c",selectedArea:"united-states-map_selectedArea__z96V_",focusedArea:"united-states-map_focusedArea__YjUEn"}},3260:function(){},2282:function(e,l,t){"use strict";t.d(l,{a:function(){return a},c:function(){return n},g:function(){return i}});var n="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var l=e.default;if("function"==typeof l){var t=function e(){return this instanceof e?Reflect.construct(l,arguments,this.constructor):l.apply(this,arguments)};t.prototype=l.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(l){var n=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,n.get?n:{enumerable:!0,get:function(){return e[l]}})}),t}},3391:function(e,l,t){"use strict";function n(e){var l,t,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e){if(Array.isArray(e)){var a=e.length;for(l=0;l<a;l++)e[l]&&(t=n(e[l]))&&(i&&(i+=" "),i+=t)}else for(t in e)e[t]&&(i&&(i+=" "),i+=t)}return i}function i(){for(var e,l,t=0,i="",a=arguments.length;t<a;t++)(e=arguments[t])&&(l=n(e))&&(i&&(i+=" "),i+=l);return i}t.d(l,{c:function(){return i}})},7092:function(e,l,t){"use strict";t.d(l,{S:function(){return r}});var n=t(2784);let i=n.createContext({}),a=!0;function o({baseColor:e,highlightColor:l,width:t,height:n,borderRadius:i,circle:o,direction:r,duration:s,enableAnimation:d=a,customHighlightBackgroun
57d:c}){let u={};return"rtl"===r&&(u["--animation-direction"]="reverse"),"number"==typeof s&&(u["--animation-duration"]=`${s}s`),d||(u["--pseudo-element-display"]="none"),("string"==typeof t||"number"==typeof t)&&(u.width=t),("string"==typeof n||"number"==typeof n)&&(u.height=n),("string"==typeof i||"number"==typeof i)&&(u.borderRadius=i),o&&(u.borderRadius="50%"),"u">typeof e&&(u["--base-color"]=e),"u">typeof l&&(u["--highlight-color"]=l),"string"==typeof c&&(u["--custom-highlight-background"]=c),u}function r({count:e=1,wrapper:l,className:t,containerClassName:r,containerTestId:s,circle:d=!1,style:c,...u}){var m,v,p;let f=n.useContext(i),h={...u};for(let[e,l]of Object.entries(u))typeof l>"u"&&delete h[e];let x={...f,...h,circle:d},g={...c,...o(x)},y="react-loading-skeleton";t&&(y+=` ${t}`);let j=null!==(m=x.inline)&&void 0!==m&&m,N=[],b=Math.ceil(e);for(let l=0;l<b;l++){let t=g;if(b>e&&l===b-1){let l=null!==(v=t.width)&&void 0!==v?v:"100%",n=e%1,i="number"==typeof l?l*n:`calc(${l} * ${n})`;t={...t,width:i}}let i=n.createElement("span",{className:y,style:t,key:l},"‌");j?N.push(i):N.push(n.createElement(n.Fragment,{key:l},i,n.createElement("br",null)))}return n.createElement("span",{className:r,"data-testid":s,"aria-live":"polite","aria-busy":null!==(p=x.enableAnimation)&&void 0!==p?p:a},l?N.map((e,t)=>n.createElement(l,{key:t},e)):N)}},2635:function(e,l,t){"use strict";t.d(l,{A:function(){return r},C:function(){return o},M:function(){return a}});var n=t(5237),i=t(2322);let a=({color:e})=>(0,i.jsxs)("svg",{viewBox:"0 0 40 40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{fill:e,d:"m16.21 34.804.005-.005c1.42-1.751 3.725-4.62 5.884-7.434 2.15-2.8 4.183-5.586 5.035-7.157 2.15-3.918 2.062-8.587-.03-12.733C23.591.487 15.075-2.34 8.086 1.175c-6.993 3.515-9.703 12.329-6.3 19.02.799 1.579 2.83 4.372 4.981 7.17 2.164 2.814 4.488 5.682 5.906 7.432.906 1.141 2.607 1.124 3.537.007Z",stroke:"#fff"}),(0,i.jsxs)("g",{fill:"#fff",children:[(0,i.jsx)("path",{d:"M15.068 16.519h-2.089c-.05 0-.089.04-.089.088v.52c0 .05.04.089.089.089h2.089a.09.09 0 0 0 .089-.089v-.52a.089.089 0 0 0-.09-.088Zm-2.088-1.395h2.091a.089.089 0 0 1 .09.089v.523a.086.086 0 0 1-.086.085h-2.092a.09.09 0 0 1-.09-.088v-.524a.089.089 0 0 1 .086-.085Zm2.088-1.394h-2.089c-.05 0-.089.04-.089.088v.52c0 .05.04.089.089.089h2.089a.09.09 0 0 0 .089-.089v-.52a.089.089 0 0 0-.09-.088Z"}),(0,i.jsx)("path",{d:"M19.683 11.812s-1.34.075-2.626.085V8.461a.343.343 0 0 0-.42-.341c-1.752.124-3.51.124-5.261 0a.342.342 0 0 0-.414.341v5.545a20.65 20.65 0 0 1-2.253 0 .34.34 0 0 0-.372.342v4.577a.342.342 0 0 0 .42.342c.801-.11 1.609-.17 2.417-.18h.486c1.456-.045 3.203-.062 4.7-.049h.396a23.19 23.19 0 0 1 2.855.15.343.343 0 0 0 .414-.341l.024-6.67a.343.343 0 0 0-.366-.365Zm-8.72 6.577a28.96 28.96 0 0 0-1.929.123v-3.805c.42 0 1.145.034 1.928 0v3.682Zm5.397-.069c-1.5 0-3.234 0-4.7.045V8.848a47.23 47.23 0 0 0 4.7 0v9.472Zm2.97.11a34.26 34.26 0 0 0-2.273-.1v-5.736c.893 0 1.802-.044 2.294-.068l-.02 5.904Z"})]})]}),(0,i.jsxs)("defs",{children:[(0,i.jsx)("clipPath",{children:(0,i.jsx)("path",{fill:"#fff",d:"M.5 0h28v36H.5z"})}),(0,i.jsx)("clipPath",{children:(0,i.jsx)("path",{fill:"#fff",d:"M8.337 8.11H20.05v11.166H8.337z"})})]})]}),o=({color:e})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:64,height:64,children:(0,i.jsxs)("g",{children:[(0,i.jsx)("ellipse",{ry:32,rx:32,cy:32,cx:32,fill:e}),(0,i.jsx)("g",{fill:"#fff",children:(0,i.jsx)("path",{d:"m36.36924,19.99078l0,-5.24309c0,-0.96123 -0.78646,-1.7477 -1.7477,-1.7477l-5.24309,0c-0.96123,0 -1.7477,0.78646 -1.7477,1.7477l0,1.7477l-1.7477,0c-0.96123,0 -1.7477,0.78646 -1.7477,1.7477l0,8.73848c0,0.96123 0.78646,1.7477 1.7477,1.7477l4.36924,0c0.48062,0 0.87385,-0.39323 0.87385,-0.87385l0,-2.62154l1.7477,0l0,2.62154c0,0.48062 0.39323,0.87385 0.87385,0.87385l4.36924,0c0.96123,0 1.7477,-0.78646 1.7477,-1.7477l0,-5.24309c0,-0.96123 -0.78646,-1.7477 -1.7477,-1.7477l-1.7477,0zm-8.73848,6.99078l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm3.49539,3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm3.49539,6.99078l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm3.49539,10.48617l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477zm0,-3.49539l-1.7477,0l0,-1.7477l1.7477,0l0,1.7477z"})})]})}),r=n(()=>Promise.all([t.e(774),t.e(390),t.e(592)]).then(t.bind(t,8592)),{ssr:!1})},8511:function(e,l,t){"use strict";t.d(l,{M:function(){return c},i:function(){return d}});var n=t(2322),i=t(2784),a=t(3391),o=t(9159),r=t(6202),s=t(8171);let d=({href:e,field:l})=>{var t;if(e&&e.startsWith("/locations/")&&o.pG.test(e))return!0;let n=l&&"value"in l?l.value:l;return n&&(null==(t=n.href)?void 0:t.startsWith("/locations/"))&&o.pG.test(n.href)||!1},c=i.forwardRef(({href:e,field:l,className:t,children:i,prefetch:o,...c},u)=>{let{isModule:m}=(0,r.u)(),v=d({href:e,field:l});if(m||v){let o=l&&"value"in l?l.value:l,{class:r,...s}=o||{}
57,d=o?{...s,className:(0,a.c)(t,s.className)}:{href:e||"#",className:t,...c};return(0,n.jsx)("a",{ref:u,...d,children:i||(null==s?void 0:s.text)})}return(0,n.jsx)(s.U,{prefetch:o,ref:u,field:l,href:e||"",className:t,...c,children:i})});c.displayName="ModuleLink"},5252:function(e,l,t){"use strict";t.d(l,{a:function(){return c}});var n=t(2322),i=t(639),a=t(3391),o=t(7092),r=t(9268),s=t(3692);let d="8+",c=({className:e="",ucFacilityId:l,waitTimes:t,isLoading:c=!1,isShort:u=!1,translationOverride:m})=>{var v,p;let f=(0,i.QT)(),h=m||f.t,{time:x,tzAcronym:g}=(0,r.u)(null==(v=null==t?void 0:t.data)?void 0:v.utc_last_modified,m);if(!h)return null;let y=null==(p=null==t?void 0:t.data)?void 0:p.hospitals.find(e=>e.hospital_id===Number(l)),j=null!=y&&y.waits.queue_length&&(null==y?void 0:y.waits.queue_length)>8?d:null==y?void 0:y.waits.queue_length,N=(0,n.jsx)(s.H,{tag:"p",className:(0,a.c)(e,"my-1"),field:{value:h("Clockwise.PlaceInLine",{queue:j})},editable:!1}),b=(0,n.jsx)(s.H,{tag:"p",className:"my-1",field:{value:h("Clockwise.UpdatedText",{time:x,timeZone:g})},editable:!1});return c?(0,n.jsxs)("div",{className:"my-2",children:[(0,n.jsx)(o.S,{width:150}),u?null:(0,n.jsx)(o.S,{width:175})]}):(0,n.jsxs)("div",{className:"neu-text-caption",children:[N,u?null:b]})}},8171:function(e,l,t){"use strict";t.d(l,{U:function(){return d}});var n=t(2322),i=t(2784),a=t(9097),o=t(1429);function r(e){if(!e.href)return e;let l=e.href.indexOf("#"),t=-1!==l?e.href.substring(l):"",n=-1!==l?e.href.substring(0,l):e.href,i=n.indexOf("?");if(-1===i)return e;let a=n.substring(i+1),o=n.substring(0,i)+t,r=e.querystring?e.querystring:a;return{...e,href:o,querystring:r}}function s(e){return"value"in e&&e.value?{...e,value:r(e.value)}:r(e)}let d=i.forwardRef(({href:e,field:l,className:t,children:i,prefetch:r,...d},c)=>{if(l){let e=s(l);return(0,n.jsx)(o.r,{prefetch:r??!1,ref:c,field:e,className:t,...d,children:i})}return(0,n.jsx)(a,{prefetch:r??!1,ref:c,href:e||"",className:t,...d,children:i})});d.displayName="UnifiedLink"},5225:function(e,l,t){"use strict";t.d(l,{a:function(){return a},u:function(){return i}});var n=t(2784);
57let i=({elementRef:e,filters:l=[],isActive:t=!0,clickEvents:i=["mousedown","touchstart"],callback:a})=>{n.useEffect(()=>{let n=t=>{let n=t.target,i=e.current,o=i&&!i.contains(n),r=l.every(e=>!n.closest(e));o&&r&&a(t)};if(!t){i.forEach(e=>{document.removeEventListener(e,n)});return}return i.forEach(e=>{document.addEventListener(e,n,{passive:!0})}),()=>{i.forEach(e=>{document.removeEventListener(e,n)})}},[e,l,t,i,a])},a=(e,l)=>{let t=n.useRef(null),i=l??t;return n.useEffect(()=>{i.current&&(e?i.current.setAttribute("inert",""):i.current.removeAttribute("inert"))},[e,i]),{ref:i}}},4210:function(e,l,t){"use strict";t.d(l,{u:function(){return a}});var n=t(7005),i=t(4417);let a=()=>{let{sitecoreContext:e}=(0,n.z)();return(null==e?void 0:e.pageEditing)&&(null==e?void 0:e.pageState)===i.LayoutServicePageState.Edit}},8488:function(e,l,t){"use strict";t.d(l,{g:function(){return a},u:function(){return i}});let n="8xlC33GM5SEnb4Vjff7eKpmD8K0mqnQI9r53Zyudghai9oJrm3QiJQQJ99CHACYeBjFho9hOAAAgAZMP14F1";function i(){return{data:n,error:void 0,isLoading:!1}}async function a(){return n}},7269:function(e,l,t){"use strict";t.d(l,{u:function(){return o}});var n=t(446);let i="/api/",a="urgentcare/waits",o=({revalidateOnFocus:e=!1})=>({...(0,n.ZP)(`${i}${a}`,{revalidateOnFocus:e})})},6076:function(e,l,t){"use strict";let n,i;t.d(l,{u:function(){return s}});var a=t(7005),o=((n=o||{}).Market="Market",n.Location="Location",n.Practice="Practice",n),r=((i=r||{}).Corporate="Corporate",i.Hospital="Hospital",i.MHO="MHO",i.UrgentCare="UrgentCare",i.Physicians="Physicians",i);let s=()=>{let{sitecoreContext:e,updateSitecoreContext:l}=(0,a.z)(),t=e=>{let{siteAttributes:t,...n}=e;l(n)},n=e;return n.siteAttributes={isHospital:n.siteType===r.Hospital,isPhysicians:n.siteType===r.Physicians,isCorporate:n.siteType===r.Corporate,isMarket:n.marketContext===o.Market,isLocation:n.marketContext===o.Location,isPractice:n.marketContext===o.Practice,isUrgentCare:n.siteType===r.UrgentCare},{sitecoreContext:n,updateSitecoreContext:t}}},9159:function(e,l,t){"use strict";t.d(l,{Ss:function(){return i},pG:function(){return n},qR:function(){return a}});let n=/\/(calendar|physicians)(\/|$)/,i='a[href^="/"]:not([href*="/calendar"]):not([href*="/physicians"])',a='a[href*="/calendar"], a[href*="/physicians"]'},9280:function(e,l,t){"use strict";t.d(l,{U:function(){return n}});let n=(e,l)=>{let t=e.latitude*(Math.PI/180),n=l.latitude*(Math.PI/180),i=n-t,a=(e.longitude-l.longitude)*(Math.PI/180);return Math.round(7917.6*Math.asin(Math.sqrt(Math.sin(i/2)*Math.sin(i/2)+Math.cos(t)*Math.cos(n)*Math.sin(a/2)*Math.sin(a/2)))*10)/10}}}]);

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.