PageSourceSearch

https://www.meritushealth.com/_next/static/chunks/pages/about/events-30dfaa04d32e45d3.js

js meritushealth.com collected 2026-10-02 04:55:32 UTC 11,672 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8753],{1281:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>I,default:()=>F});var l=i(37876),n=i(14232),s=i(48259),r=i.n(s),a=i(97537),o=i(6946),d=i(81745),c=i(72490),x=i(48230),p=i.n(x);function h({events:e}){let[t,i]=(0,n.useState)(new Date);return e?.filter(e=>e?.Date==t.toISOString().slice(0,10)),(0,l.jsx)("div",{children:(0,l.jsx)(c.Ay,{value:t,tileContent:({date:t,view:i})=>{let n=e?.filter(e=>e?.Date==t.toISOString().slice(0,10));return 0===n.length?(0,l.jsx)("div",{className:r().tileDiv}):(0,l.jsx)("div",{className:r().tileDiv,children:n?.map(e=>(0,l.jsx)("p",{style:{marginTop:"0",fontSize:"0.8em",color:"#3C92DF",fontWeight:"bolder",marginBottom:"12px"},children:(0,l.jsx)(p(),{href:`${a.W1}${e?.EventType?.Title?.toLowerCase().replace(/\s/g,"-")}-${e.id}`,children:e?.EventType?.Title})},e.id))})},onChange:e=>i(e),maxDetail:"month",minDetail:"month",next2Label:null,prev2Label:null,tileClassName:({date:t})=>{if(0===(e?.filter(e=>e?.Date==t.toISOString().slice(0,10))).length)return"noEvents"},calendarType:"gregory"})})}var v=i(32788),m=i(15438),g=i(11944),u=i.n(g),_=i(26118),j=i(78023),f=i(30235),T=i(42823),E=i(54142),C=i(3627);function D({events:e}){let[t,i]=(0,n.useState)(new Date),s=(0,_.A)("(max-width:899px)"),o=(e?.filter(e=>{let i=new Date(e?.Date);return i.getUTCMonth()===t.getUTCMonth()&&i.getUTCFullYear()===t.getUTCFullYear()})).sort((e,t)=>e?.Date?.localeCompare(t?.Date));function d(e){if(!e)return"";let t=e.slice(0,2),i=e.slice(3,5),l=t>=12?"pm":"am";return"00"===t?t=12:t>12&&(t-=12),"00"===i?i="00":i<10&&(i="0"+i),t+":"+i+" "+l}return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex",marginTop:"0"},children:[(new Date().getUTCMonth()!==t.getUTCMonth()||new Date().getUTCFullYear()!==t.getUTCFullYear())&&(0,l.jsx)(j.A,{style:{marginRight:"10px"},onClick:()=>{i(e=>new Date(e.getUTCFullYear(),e.getUTCMonth()-1))},children:(0,l.jsx)(v.A,{})}),(0,l.jsx)("h2",{children:t.toLocaleString("defult",{month:"long",year:"numeric"})}),(0,l.jsx)(j.A,{style:{marginLeft:"10px"},onClick:()=>{i(e=>new Date(e.getUTCFullYear(),e.getUTCMonth()+1))},children:(0,l.jsx)(m.A,{})})]}),o?.length===0&&(0,l.jsx)("p",{children:" There are no events scheduled for this month. Please check back."}),(0,l.jsx)("div",{className:r().ListContainerOuter,children:o?.map(e=>{var t;return(0,l.jsxs)(f.A,{sx:{marginTop:"40px",backgroundColor:"var(--darkestNavy)",display:"flex",borderRadius:"0px",color:"#0a345b",height:"100%",alignItems:"center",flexDirection:{md:"unset",xs:"column"},boxShadow:"rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px"},children:[(0,l.jsx)(T.A,{className:r().listEventDate,children:(0,l.jsxs)("h3",{children:[e?.Date?.slice(8,10)," - ",new Date(e?.Date).toLocaleString("default",{timeZone:"UTC",weekday:"long"})]})}),(0,l.jsxs)("div",{style:{backgroundColor:"whitesmoke",width:"100%",padding:"20px"},children:[(0,l.jsx)("h3",{className:r().EventTitle,children:e?.EventType?.Title}),e?.LocationName&&(0,l.jsx)(E.A,{variant:"subtitle1",sx:{margin:"4px 0",display:{md:"inline-block",sm:"block"},fontSize:"0.9em"},children:e?.LocationName}),e?.StartTime&&(0,l.jsxs)(E.A,{variant:"subtitle1",sx:{marginBottom:"0",display:{md:"inline-block",sm:"block"},fontSize:"0.9em"},children:[s?"":", ",d(e?.StartTime),e?.EndTime&&` - ${d(e?.EndTime)}`]}),(0,l.jsx)(C.A,{sx:{marginTop:"5px",border:"1px rgba(10, 52, 91, .2) solid ",width:"100%"}}),(0,l.jsxs)("p",{className:r().EventDescr,children:[" ",(t=e?.EventType?.Description,u().sanitize(t).replace(/<[^>]+>/g,""))," "]}),(0,l.jsx)(p(),{href:`${a.W1}${e?.EventType?.Title?.toLowerCase().replace(/\s/g,"-")}-${e?.id}`,children:(0,l.jsx)(j.A,{size:"small",endIcon:(0,l.jsx)(m.A,{}),children:"More info"})})]})]},e?.id)})})]})}var b=i(92374),y=i(14938),w=i(31674),A=i(40042),N=i(68391),S=i(21117),k=i(49960),M=i(8775),U=i(2768),L=i(42400),B=i(40597),I=!0;function F({events:e,genericInfo:t}){let[i,s]=(0,n.useState)("calendar"),c=(0,_.A)("(max-width:1024px)"),[x,p]=(0,n.useState)(""),v=[...new Set(e.map(e=>
1e?.EventType?.Category??""))],[m,g]=(0,n.useState)(null);var u=e;null!=m&&(u=e.filter(e=>e?.EventType?.Category===m)),x&&x.trim().length>0&&(u=u.filter(e=>e?.EventType?.Title?.toLowerCase().includes(x.toLowerCase())));let C=u;return(0,l.jsxs)("div",{children:[(0,l.jsx)(L.A,{hidePage:!1,pageTitle:"Events | Meritus Health",metaDescription:t[0]?.MetaDescription?t[0]?.MetaDescription:"Events and Classes at Meritus Health",ogTitle:"Events and Classes at Meritus Health",ogImage:t[0]?.HeroImgMobile?`${a.qk}${t[0]?.HeroImgMobile}`:""}),(0,l.jsx)(o.A,{pill:"EVENTS",title:"Events & Classes at Meritus Health",imgUrl:`${a.qk}${t[0]?.HeroImg}`,imgUrlMobile:`${a.qk}${t[0]?.HeroImgMobile}`}),(0,l.jsxs)("div",{className:"mainContainer",children:[(0,l.jsx)(d.A,{}),(0,l.jsxs)(f.A,{className:r().filterCard,sx:{display:"flex",flexDirection:{xs:"column",md:"unset"},borderRadius:0,boxShadow:"rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px"},children:[(0,l.jsx)(b.A,{sx:{display:"flex",flexDirection:"column",width:{xs:"100%",md:"30%"},background:"#3c92df",boxShadow:"rgba(0, 0, 0, 0.24) 0px 3px 5px"},children:(0,l.jsx)(T.A,{sx:{flex:"1 0 auto",marginLeft:"auto",marginRight:"auto"},children:(0,l.jsxs)("div",{className:r().filterText,children:[(0,l.jsxs)(E.A,{variant:"subtitle1",color:"white",component:"div",children:["WHAT","'","S HAPPENING"]}),(0,l.jsx)(E.A,{component:"div",color:"white",variant:"h5",children:"Meritus Events & Classes"})]})})}),(0,l.jsx)(b.A,{sx:{display:"flex",flexDirection:"column",width:"100%"},children:(0,l.jsxs)(T.A,{sx:{flex:"1 0 auto",width:"100%"},children:[(0,l.jsxs)("div",{className:r().filterDiv,children:[(0,l.jsx)(y.A,{sx:{width:{xs:"100%",md:"48%"},minWidth:120},children:(0,l.jsx)(w.A,{type:"search",placeholder:"Search By Name",endAdornment:(0,l.jsxs)(l.Fragment,{children:[null===x||""===x&&(0,l.jsx)(A.A,{disabled:!0,children:(0,l.jsx)(N.A,{style:{fill:"#0a345b"}})}),null!==x||""!==x&&(0,l.jsx)(A.A,{onClick:()=>p(""),children:(0,l.jsx)(B.A,{sx:{color:"#0a345b"}})})]}),sx:{color:"#0a345b",marginTop:"5px",marginBottom:{xs:"5px",md:2}},value:x,onChange:e=>p(e.target.value)})}),(0,l.jsx)(y.A,{sx:{width:{xs:"100%",md:"48%"},minWidth:120},children:(0,l.jsx)(k.A,{id:"evFilterId",sx:{width:"100%",marginTop:"5px",marginBottom:{xs:"5px",md:2},marginLeft:"auto",marginRight:"auto",color:"#1e4265"},options:v,renderInput:e=>(0,l.jsx)(S.A,{...e,label:"Category",variant:"outlined"}),value:m,onChange:(e,t)=>
1{g(t)}})})]}),(0,l.jsx)("div",{className:r().filterActionButtons,children:(0,l.jsx)(j.A,{onClick:()=>void(g(null),p("")),variant:"text",children:"Clear Filters"})})]})})]}),!c&&(0,l.jsxs)(M.A,{value:i,exclusive:!0,onChange:(e,t)=>t&&s(t),sx:{display:"grid",gridTemplateColumns:"auto auto",gridGap:"8px",width:"280px",maxWidth:"100%",margin:"0 0 30px auto","& > .MuiToggleButton-root":{border:"1px solid rgba(0, 0, 0, 0.12) !important",borderRadius:"40px !important",height:"40px"}},children:[(0,l.jsx)(U.A,{value:"calendar","aria-label":"map view",children:"Calendar"}),(0,l.jsx)(U.A,{value:"list","aria-label":"list view",children:"List View"})]}),c||"list"===i?(0,l.jsx)(D,{events:C}):(0,l.jsx)(h,{events:C})]})]})}},6946:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var l=i(37876),n=i(26118),s=i(54587),r=i.n(s),a=i(14232),o=i(82633),d=i.n(o);function c({imgUrl:e,imgUrlMobile:t,pill:i,title:s}){let o=(0,n.A)("(max-width:768px)"),[c,x]=(0,a.useState)(),p=s?.length>50;return(0,a.useEffect)(()=>{x(o&&t&&!t.includes("null")&&!t.includes("undefined")?t:o||!e||e.includes("null")||e.includes("undefined")?null:e)},[o,e,t]),(0,l.jsx)("div",{className:d().root,children:(0,l.jsxs)("div",{className:d().topDiv,children:[(0,l.jsxs)("div",{className:d().textDiv,children:[(0,l.jsx)("p",{className:d().pill,children:i}),"NEWS"===i&&"Meritus News"===s?(0,l.jsx)("h2",{className:p?d().longTitle:d().title,children:s}):(0,l.jsx)("h1",{className:p?d().longTitle:d().title,children:s})]}),(0,l.jsxs)("div",{className:d().imgDiv,children:[c?(0,l.jsx)(r(),{src:`${c}?width=1920&fit=outside`,alt:s,fill:!0,priority:!0,style:{opacity:"55%"},sizes:"90vw"}):(0,l.jsx)("div",{style:{position:"initial",opacity:".15",overflow:"hidden"},children:(0,l.jsx)(r(),{src:"/meritusflower.svg",alt:"",fill:!0,priority:!0,style:{objectFit:"cover",objectPosition:"left"},sizes:"90vw"})}),(0,l.jsx)(r(),{src:o?"/CirclePatternMobile.png":"/CirclePattern.png",alt:"",fill:!0,priority:!0,style:{position:"absolute"},sizes:"90vw"})]})]})})}},42400:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var l=i(37876);i(14232);var n=i(97537),s=i(77328),r=i.n(s);function a({hidePage:e,pageTitle:t,metaDescription:i,ogTitle:s,ogImage:a}){return(0,l.jsxs)(r(),{children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("meta",{name:"description",content:i}),e&&(0,l.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,l.jsx)("meta",{property:"og:title",content:s}),a.length>0?(0,l.jsx)("meta",{property:"og:image",content:a}):(0,l.jsx)("meta",{property:"og:image",content:`${n.qk}${n.iA}`})]})}},48259:e=>{e.exports={aboutDiv:"Events_aboutDiv__R796a",filterCard:"Events_filterCard__Z4O_P",filterText:"Events_filterText__0bA4r",SearchFilter:"Events_SearchFilter__5AIhj",filterDiv:"Events_filterDiv__J6KQV",filterActionButtons:"Events_filterActionButtons__7_LIF",listViewBtn:"Events_listViewBtn__29uA_",listViewBtnSelected:"Events_listViewBtnSelected__ALLRr",SearchBtn:"Events_SearchBtn__P5mZe",tileDiv:"Events_tileDiv__Czo7_",h2Month:"Events_h2Month__cWgnX",ListContainer:"Events_ListContainer__JJYd6",ListContainerOuter:"Events_ListContainerOuter__ODkJ_",listEventDate:"Events_listEventDate__w3Kaw",EventTitle:"Events_EventTitle__sGiiH",EventDescr:"Events_EventDescr__mgu8U",MonthBtn:"Events_MonthBtn__C7UBR",alert:"Events_alert__FEMyY",LRContainer:"Events_LRContainer___RTxy",LeftEvent:"Events_LeftEvent__ljput",RightEvent:"Events_RightEvent__gBzWD"}},63625:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/about/events",function(){return i(1281)}])},81745:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var l=i(37876),n=i(89099),s=i(48230),r=i.n(s),a=i(3627);function o({}){let e=(0,n.useRouter)().asPath.split("?")[0].toUpperCase().split("/");return e.map((t,i)=>{t.includes("#")&&(t=t.split("#")[0],e[i]=t)}),(0,l.jsx)("div",{style:{display:"flex",borderBottom:"1px lightgray solid"},children:(0,l.jsxs)("div",{style:{display:"flex",marginTop:"25px",marginBottom:"25px",color:"#3c92df",flexWrap:"wrap",fontSize:"12px"},children:[(0,l.jsx)(r(),{href:"/",style:{margin:"5px 0px"},children:"HOME"}),e.map(t=>{let i=e.indexOf(t),n="";for(let t=0;t<=i;t++)n=n+e[t]+"/";let s=i!==e.length-1?"#3c92df":"#1e4265";return(0,l.jsxs)("div",{style:{display:"flex",color:s},children:[i===e.length-1&&(0,l.jsx)("p",{style:{padding:0,margin:"5px 0px"},children:t.replace(/-/g," ")}),i!==e.length-1&&(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsx)(r(),{href:n.replace(/\s+/g,"-").toLowerCase(),style:{margin:"5px 0px"},children:t.replace(/-/g," ")}),(0,l.jsx)(a.A,{orientation:"vertical",flexItem:!0,sx:{height:"75%",borderColor:"#3c92df",margin:"auto 5px"}})]})]},i)})]})})}i(14232)},82633:e=>{e.exports={root:"UniversalTopDiv_root__6ZP0F",topDiv:"UniversalTopDiv_topDiv__EpUZT",imgDiv:"UniversalTopDiv_imgDiv__Nj1Er",textDiv:"UniversalTopDiv_textDiv__7YYWR",pill:"UniversalTopDiv_pill__k3r11",title:"UniversalTopDiv_title__5bZLY",longTitle:"UniversalTopDiv_longTitle__VngUf",backgroundImg:"UniversalTopDiv_backgroundImg__ZXNTZ",backgroundImgMobile:"UniversalTopDiv_backgroundImgMobile__tCBXj"}}},e=>{e.O(0,[9960,154,220,636,6593,8792],()=>e(e.s=63625)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.