1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[787],{705:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={default:function(){return d},noSSR:function(){return o}};for(var l in a)Object.defineProperty(t,l,{enumerable:!0,get:a[l]});let r=n(4252);n(7876),n(4232);let s=r._(n(6006));function i(e){return{default:e?.default||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function d(e,t){let n=s.default,a={loading:({error:e,isLoading:t,pastDelay:n})=>null};e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e});let l=(a={...a,...t}).loader;return(a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr)?n({...a,loader:()=>null!=l?l().then(i):Promise.resolve(i(()=>null))}):(delete a.webpack,delete a.modules,o(n,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1406:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>k,default:()=>L});var a=n(7876),l=n(4232),r=n(8847),s=n.n(r),i=n(8230),o=n.n(i);n(4587);var d=n(841),c=n.n(d),u=n(2867),h=n(113);let m=c().monthsShort();function p({direction:e="left"}){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"14",viewBox:"0 0 8 14",fill:"none","aria-hidden":"true",children:"left"===e?(0,a.jsx)("path",{d:"M7 13L1 7L7 1",stroke:"#1C5DEA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}):(0,a.jsx)("path",{d:"M1 13L7 7L1 1",stroke:"#1C5DEA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function v({currentDate:e,onSelect:t,onClose:n}){let r=(0,l.useRef)(null),s=c()(e).month(),[i,o]=(0,l.useState)(()=>c()(e).year());return(0,l.useEffect)(()=>{o(c()(e).year())},[e]),(0,l.useEffect)(()=>{let e=e=>{r.current&&!r.current.contains(e.target)&&n()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[n]),(0,a.jsxs)("div",{className:"events-month-picker",ref:r,role:"dialog","aria-label":"Choose month",children:[(0,a.jsxs)("div",{className:"events-month-picker__header",children:[(0,a.jsx)("button",{type:"button",className:"events-month-picker__year-btn",onClick:()=>o(e=>e-1),"aria-label":"Previous year",children:(0,a.jsx)(p,{direction:"left"})}),(0,a.jsx)("span",{className:"events-month-picker__year",children:i}),(0,a.jsx)("button",{type:"button",className:"events-month-picker__year-btn",onClick:()=>o(e=>e+1),"aria-label":"Next year",children:(0,a.jsx)(p,{direction:"right"})})]}),(0,a.jsx)("div",{className:"events-month-picker__grid",children:m.map((l,r)=>(0,a.jsx)("button",{type:"button",className:`events-month-picker__month${s===r&&i===c()(e).year()?" is-active":""}`,onClick:()=>{t(c()(e).year(i).month(r).startOf("month").toDate()),n()},children:l},l))})]})}var f=n(2783);function _({viewType:e,setViewType:t,currentDate:n,onPrevious:r,onNext:s,onToday:i,onDateSelect:o,searchTerm:d,setSearchTerm:c,selectedCategory:u,setSelectedCategory:h,categories:m,hideViewToggle:p=!1}){let[x,b]=(0,l.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"calendar-filter-section",children:[(0,a.jsxs)("div",{className:"dropdown-field",children:[(0,a.jsx)("span",{className:"icon","aria-hidden":"true",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M24 21.8868L19.0189 16.9057C20.4059 15.0848 21.1492 12.855 21.1321 10.5662C21.1407 9.1762 20.8733 7.79837 20.3454 6.51256C19.8174 5.22675 19.0395 4.05855 18.0566 3.07568C17.0738 2.09282 15.9055 1.31487 14.6197 0.786933C13.3339 0.258997 11.9561 -0.00841605 10.5662 0.000201852C9.1762 -0.00841605 7.79837 0.258997 6.51256 0.786933C5.22675 1.31487 4.05855 2.09282 3.07568 3.07568C2.09282 4.05855 1.31487 5.22675 0.786933 6.51256C0.258997 7.79837 -0.00841605 9.1762 0.000201852 10.5662C-0.00841605 11.9561 0.258997 13.3339 0.786933 14.6197C1.31487 15.9056 2.09282 17.0738 3.07568 18.0566C4.05855 19.0395 5.22675 19.8174 6.51256 20.3454C7.79837 20.8733 9.1762 21.1407 10.5662 21.1321C12.855 21.1492 15.0848 20.4059 16.9057 19.0189L21.8868 24L24 21.8868ZM3.01904 10.5662C3.00916 9.5723 3.19762 8.58647 3.5734 7.66634C3.94917 6.74622 4.50472 5.9103 5.20751 5.20751C5.9103 4.50472 6.74622 3.94917 7.66634 3.5734C8.58646 3.19762 9.5723 3.00916 10.5662 3.01904
1C11.56 3.00916 12.5458 3.19762 13.466 3.5734C14.3861 3.94917 15.222 4.50472 15.9248 5.20751C16.6276 5.9103 17.1831 6.74622 17.5589 7.66634C17.9347 8.58647 18.1231 9.5723 18.1133 10.5662C18.1231 11.56 17.9347 12.5458 17.5589 13.466C17.1831 14.3861 16.6276 15.222 15.9248 15.9248C15.222 16.6276 14.3861 17.1831 13.466 17.5589C12.5458 17.9347 11.56 18.1231 10.5662 18.1133C9.5723 18.1231 8.58646 17.9347 7.66634 17.5589C6.74622 17.1831 5.9103 16.6276 5.20751 15.9248C4.50472 15.222 3.94917 14.3861 3.5734 13.466C3.19762 12.5458 3.00916 11.56 3.01904 10.5662Z",fill:"#2C2C2C"})})}),(0,a.jsx)("input",{type:"search",className:"search-label form-control",placeholder:"Search for Events",value:d,onChange:e=>c(e.target.value),"aria-label":"Search for Events"})]}),p?null:(0,a.jsxs)("div",{className:"dropdown-field month view-field",children:[(0,a.jsx)("label",{className:"month-label visually-hidden",htmlFor:"events-view-type",children:"View"}),(0,a.jsx)("div",{className:"month_list_view",children:(0,a.jsxs)("select",{id:"events-view-type","aria-label":"View type",value:e,onChange:e=>t(e.target.value),className:"form-control",children:[(0,a.jsx)("option",{value:"month",children:"Month"}),(0,a.jsx)("option",{value:"list",children:"List"})]})})]})]}),(0,a.jsx)("div",{className:"cal-row",children:(0,a.jsx)("div",{className:"cal-row__nav",children:(0,a.jsxs)("div",{className:"calendar-nav",children:[(0,a.jsxs)("div",{className:"nav-arrows",children:[(0,a.jsx)("button",{type:"button",className:"nav-arrow",onClick:r,"aria-label":"month"===e?"Previous month":"Previous period",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",children:(0,a.jsx)("path",{d:"M7 13L1 7L7 1",stroke:"#1C5DEA","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})}),(0,a.jsx)("button",{type:"button",className:"nav-arrow",onClick:s,"aria-label":"month"===e?"Next month":"Next period",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",children:(0,a.jsx)("path",{d:"M1 13L7 7L1 1",stroke:"#1C5DEA","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),(0,a.jsxs)("div",{className:"calendar-labels",children:[(0,a.jsx)("button",{type:"button",className:"ct-month",onClick:i,children:"Today"}),(0,a.jsxs)("div",{className:"month-btn-wrap",children:[(0,a.jsxs)("button",{type:"button",className:"month-btn",onClick:()=>b(e=>!e),"aria-expanded":x,"aria-haspopup":"dialog",children:[(0,f.PS)(n,e),(0,a.jsx)("img",{src:"/img/select-arrow.svg",alt:"",width:20,height:20,className:"month-btn-chevron"})]}),x?(0,a.jsx)(v,{currentDate:n,onSelect:o,onClose:()=>b(!1)}):null]})]})]})})})]})}function x({event:e,variant:t="category"}){let n=(0,f.vu)(e),l=(0,f.nH)(e),r=e?.post_name?`/events/${e.post_name}`:"#",s=e.venue_name||(0,f.kS)(e),i=(0,f.$X)(e);return n?.isValid()?"list"===t?(0,a.jsx)(o(),{href:r,children:(0,a.jsxs)("div",{className:"list_wrap",children:[(0,a.jsxs)("div",{className:"evt_date","aria-hidden":"true",children:[(0,a.jsx)("span",{children:n.format("MMM")}),(0,a.jsx)("span",{className:"evt_day",children:n.format("DD")}),(0,a.jsx)("span",{children:n.format("YYYY")})]}),(0,a.jsxs)("div",{className:"evt_info",children:[(0,a.jsxs)("p",{className:"time",children:[(0,f.i6)(e),s?` | ${s}`:""]}),(0,a.jsx)("h3",{children:e.post_title}),i?(0,a.jsx)("p",{className:"evt_desc",children:i}):null]})]})}):(0,a.jsxs)("div",{className:"list_wrap",children:[(0,a.jsxs)("div",{className:"evt_date","aria-hidden":"true",children:[(0,a.jsx)("span",{children:n.format("MMM")}),(0,a.jsx)("span",{children:n.format("DD")})]}),(0,a.jsxs)("div",{className:"evt_info",children:[l?.name?(0,a.jsx)("span",{children:l.name}):null,(0,a.jsx)("h3",{children:(0,a.jsx)(o(),{href:r,children:e.post_title})}),(0,a.jsx)("p",{className:"time",children:(0,f.i6)(e)}),s?(0,a.jsx)("p",{className:"time",children:s}):null]})]}):null}function b({events:e,currentPage:t,onPageChange:n}){let r=(0,l.useMemo)(()=>[...e||[]].sort((e,t)=>(0,f.vu)(e)?.valueOf()-(0,f.vu)(t)?.valueOf()),[e]),s=Math.max(1,Math.ceil(r.length/5)),i=Math.min(t,s),o=r.slice((i-1)*5,5*i);return r.length?(0,a.jsxs)("div",{className:"cal_list_info",children:[o.map(e=>(0,a.jsx)(x,{event:e,variant:"list"},e.ID)),s>1?(0,a.jsxs)("div",{className:"nav_event d-flex",children:[(0,a.jsxs)("a",{href:"#",className:i<=1?"disabled":"",onClick:e=>{e.preventDefault(),i>1&&n(i-1)},"aria-disabled":i<=1,children:[(0,a.jsx)("img",{src:"/img/arrow-forward.svg",alt:"",width:14,height:14,style:{transform:"rotate(180deg)"}}),"Previous"]}),(0,a.jsxs)("a",{href:"#",className:`next${i>=s?" disabled":""}`,onClick:e=>{e.preventDefault(),i<s&&n(i+1)},"aria-disabled":i>=s,children:["Next",(0,a.jsx)("img",{src:"/img/arrow-forward.svg",alt:"",width:14,height:14})]})]}):null]}):(0,a.jsx)("p",{className:"events-empty-note",children:"No events are available at this time."})}var g=n(8477),w=n(1846),j=n.n(w),y=n(4310);
1function C(e){return e?{top:e.top,left:e.left,bottom:e.bottom,right:e.right,width:e.width,height:e.height}:null}function N({event:e,anchorRect:t,onClose:n}){var r;let s=(0,l.useRef)(null),[i,d]=(0,l.useState)({top:-9999,left:-9999,placement:"below"}),[c,u]=(0,l.useState)(!1),h=(0,l.useCallback)(()=>{if(!s.current)return;let e=s.current.offsetHeight,n=s.current.offsetWidth;e&&n&&(d(function(e,t,n){let a,l,r,s,i,o,d,c;if(!e?.anchor&&!e?.top)return{top:Math.max(12,window.innerHeight/2-t/2),left:Math.max(12,window.innerWidth/2-n/2),placement:"center"};let u=e.anchor||e,{below:h,above:m}=(r=e?.anchor||e,s=e?.container,i=Math.max(0,window.innerHeight-12-r.bottom),o=Math.max(0,r.top-12),d=i,c=o,s&&(d=Math.max(0,s.bottom-r.bottom),c=Math.max(0,r.top-s.top)),{below:Math.min(d,i),above:Math.min(c,o)}),p=t+8,v=h>=p,f=m>=p;v&&!f?(a="below",l=u.bottom+8):f&&!v?(a="above",l=u.top-t-8):l=v&&f?"below"==(a=h>=m?"below":"above")?u.bottom+8:u.top-t-8:"below"==(a=m>=h?"above":"below")?u.bottom+8:u.top-t-8,l=Math.max(12,Math.min(l,window.innerHeight-t-12));let _=u.left+u.width/2-n/2;return{top:l,left:_=Math.max(12,Math.min(_,window.innerWidth-n-12)),placement:a}}(t,e,n)),u(!0))},[t]);if((0,l.useLayoutEffect)(()=>{u(!1),h();let e=requestAnimationFrame(()=>h());return()=>cancelAnimationFrame(e)},[h,e]),(0,l.useEffect)(()=>{if(!s.current||"u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>h());return e.observe(s.current),()=>e.disconnect()},[h,e]),(0,l.useEffect)(()=>{let e=()=>h();return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[h]),(0,l.useEffect)(()=>{let e=e=>{s.current?.contains(e.target)||e.target.closest?.(".addeventatc_dropdown")||e.target.closest?.(".addeventatc")||e.target.closest?.(".rbc-event")||n()};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[n]),(0,l.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n]),!e)return null;let m=(0,f.$X)(e),p=(0,f.zq)(e),v=(0,f.kS)(e),_=e?.post_name?`/events/${e.post_name}`:"#";return"u">typeof document?(0,g.createPortal)((0,a.jsx)("div",{className:j().overlay,role:"presentation",children:(0,a.jsxs)("div",{ref:s,className:`${j().card} ${"below"===(r=i.placement)?j().placementBelow:"above"===r?j().placementAbove:""} ${c?j().isReady:""}`,style:{top:`${i.top}px`,left:`${i.left}px`},role:"dialog","aria-modal":"true","aria-labelledby":"event-popup-title",children:[(0,a.jsx)("button",{type:"button",className:j().closeBtn,onClick:n,"aria-label":"Close",children:"\xd7"}),p?(0,a.jsx)("div",{className:j().image,children:(0,a.jsx)("img",{src:p,alt:""})}):null,(0,a.jsxs)("div",{className:j().body,children:[(0,a.jsx)("p",{className:j().date,children:(0,f.Q1)(e)}),(0,a.jsx)("h3",{id:"event-popup-title",className:j().title,children:(0,a.jsx)(o(),{href:_,children:e.post_title})}),v?(0,a.jsx)("p",{className:j().location,children:v}):null,m?(0,a.jsx)("p",{className:j().description,children:m}):null,(0,a.jsx)(y.Ay,{event:e,preferDown:!0})]})]})}),document.body):null}let E=s()(()=>Promise.all([n.e(809),n.e(531),n.e(382),n.e(753)]).then(n.bind(n,753)),{loadableGenerated:{webpack:()=>[753]},ssr:!1});var k=!0;function L({events:e,headerMenuItems:t,footerMenuItems:n,headerFooterOpt:r,pensionCalendars:s}){let[i,d]=(0,l.useState)("month"),[m,p]=(0,l.useState)(new Date),[v,x]=(0,l.useState)(""),[g,w]=(0,l.useState)(""),[j,k]=(0,l.useState)(1),[P,M]=(0,l.useState)(null),D=function(e=768){let[t,n]=(0,l.useState)(!1);return(0,l.useLayoutEffect)(()=>{let t=`(max-width: ${e}px)`,a=window.matchMedia(t),l=()=>n(a.matches);return l(),a.addEventListener("change",l),()=>a.removeEventListener("change",l)},[e]),t}(),S=!D&&"month"===i,O=(0,l.useMemo)(()=>(0,f.I_)(e),[e]),R=(0,l.useMemo)(()=>(0,f.OR)(e,{searchTerm:v,categorySlug:g}),[e,v,g]),T=(0,l.useMemo)(()=>(0,f.yX)(R,m),[R,m]);(0,l.useEffect)(()=>{(0,y.vY)()},[P]),(0,l.useEffect)(()=>{k(1)},[v,g,m,i]);let A=e=>{e.preventDefault(),x(""),w(""),p(new Date),d("month"),k(1),M(null)};return(0,a.jsxs)(h.A,{headerMenuItems:t,footerMenuItems:n,topheaderSettingPage:r?.topheaderSettingPage,footerOptionsPage:r?.footerOptionsPage,pensionCalendars:s,children:[(0,a.jsx)(u.bV,{title:"Events | NYCERS",nofollow:!1,noindex:!1}),(0,a.jsxs)("main",{className:"main_wrapper",role:"main",id:"page_content",children:[(0,a.jsx)("div",{className:"main_breadcrumb",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("nav",{"aria-label":"breadcrumb",children:(0,a.jsxs)("ol",{className:"breadcrumb",children:[(0,a.jsxs)("li",{className:"breadcrumb-item",children:[(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"16",viewBox:"0 0 18 16",fill:"none",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_2264_227)",children:(0,a.jsx)("path",{d:"M17.9937 7.98438C17.9937 8.54688 17.525 8.9875 16.9937 8.9875H15.9937L16.0156 13.9937C16.0156 14.0781 16.0094
114.1625 16 14.2469V14.75C16 15.4406 15.4406 16 14.75 16H14.25C14.2156 16 14.1813 16 14.1469 15.9969C14.1031 16 14.0594 16 14.0156 16H13H12.25C11.5594 16 11 15.4406 11 14.75V14V12C11 11.4469 10.5531 11 10 11H8C7.44688 11 7 11.4469 7 12V14V14.75C7 15.4406 6.44063 16 5.75 16H5H4.00313C3.95625 16 3.90937 15.9969 3.8625 15.9937C3.825 15.9969 3.7875 16 3.75 16H3.25C2.55938 16 2 15.4406 2 14.75V11.25C2 11.2219 2 11.1906 2.00312 11.1625V8.9875H1C0.4375 8.9875 0 8.55 0 7.98438C0 7.70312 0.09375 7.45312 0.3125 7.23438L8.325 0.25C8.54375 0.03125 8.79375 0 9.0125 0C9.23125 0 9.48125 0.0625 9.66875 0.21875L17.65 7.23438C17.9 7.45312 18.025 7.70312 17.9937 7.98438Z",fill:"#1C5DEA"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_2264_227",children:(0,a.jsx)("rect",{width:"18",height:"16",fill:"white"})})})]}),(0,a.jsx)(o(),{href:"/",children:"Home"})]}),(0,a.jsx)("li",{className:"breadcrumb-item active","aria-current":"page",children:"Events"})]})})})}),(0,a.jsx)("div",{className:"container mainCon",children:(0,a.jsx)("div",{className:"content_row",children:(0,a.jsxs)("div",{className:"main_content",children:[(0,a.jsx)("div",{className:"page_title alignwide",children:(0,a.jsx)("h1",{children:"Upcoming Events"})}),(0,a.jsxs)("div",{className:"calendar_wrap",children:[(0,a.jsx)(_,{viewType:i,setViewType:d,currentDate:m,onPrevious:()=>{p(e=>c()(e).subtract(1,"month").toDate())},onNext:()=>{p(e=>c()(e).add(1,"month").toDate())},onToday:()=>p(new Date),onDateSelect:p,searchTerm:v,setSearchTerm:x,selectedCategory:g,setSelectedCategory:w,categories:O,hideViewToggle:D}),(0,a.jsxs)("div",{className:"event_grid",children:[(0,a.jsxs)("div",{className:"cal_filter",children:[(0,a.jsx)("span",{className:"filter-title",children:"Filter"}),(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"events-category-filter",className:"visually-hidden",children:"Event Category"}),(0,a.jsxs)("select",{id:"events-category-filter",className:"month_list_vieww form-control",value:g,onChange:e=>w(e.target.value),children:[(0,a.jsx)("option",{value:"",children:"Event Category"}),O.map(e=>(0,a.jsx)("option",{value:e.slug,children:e.name},e.slug))]})]}),(0,a.jsxs)("a",{href:"#",style:{marginTop:7},role:"button",tabIndex:0,id:"reset_filter",className:"focusable reset_filter",onClick:A,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&A(e)},children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M14.7809 6.28126C15.0746 5.98751 15.0746 5.51251 14.7809 5.22188C14.4871 4.93126 14.0121 4.92813 13.7215 5.22188L10.0027 8.94063L6.28086 5.21876C5.98711 4.92501 5.51211 4.92501 5.22148 5.21876C4.93086 5.51251 4.92773 5.98751 5.22148 6.27813L8.94023 9.99688L5.21836 13.7188C4.92461 14.0125 4.92461 14.4875 5.21836 14.7781C5.51211 15.0688 5.98711 15.0719 6.27773 14.7781L9.99648 11.0594L13.7184 14.7813C14.0121 15.075 14.4871 15.075 14.7777 14.7813C15.0684 14.4875 15.0715 14.0125 14.7777 13.7219L11.059 10.0031L14.7809 6.28126Z",fill:"#1C5DEA"})}),"Clear Filters"]})]}),S?(0,a.jsx)(E,{events:R,currentDate:m,onNavigate:p,selectedCategory:g,onSelectEvent:(e,t)=>{if(!e?.resource)return;let n=e.resource;P?.event?.ID===n.ID?M(null):M({event:n,anchorRect:function(e){if(!e?.target?.getBoundingClientRect)return null;let t=e.target.closest?.(".rbc-event")||e.target.closest?.(".rbc-overlay-event")||e.target,n=t.closest?.(".rbc-row-segment")||t.closest?.(".rbc-day-bg")||t.closest?.(".rbc-month-row")||t.closest?.(".events-big-calendar"),a=C(t.getBoundingClientRect());return a?.width||a?.height?{anchor:a,container:n?C(n.getBoundingClientRect()):null}:null}(t)})}}):(0,a.jsx)(b,{events:T,currentPage:j,onPageChange:k})]})]})]})})})]}),P?.event?(0,a.jsx)(N,{event:P.event,anchorRect:P.anchorRect,onClose:()=>M(null)}):null]})}},1846:e=>{e.exports={overlay:"EventPopup_overlay__4EKTO",card:"EventPopup_card__Mc6_G",isReady:"EventPopup_isReady__D3nsD",placementBelow:"EventPopup_placementBelow__cCQwN",placementAbove:"EventPopup_placementAbove__Dj_oF",closeBtn:"EventPopup_closeBtn__HscS3",image:"EventPopup_image__03RI8",body:"EventPopup_body__WLpFv",date:"EventPopup_date__HWKY5",category:"EventPopup_category__Fj093",title:"EventPopup_title__61H0U",location:"EventPopup_location__WIYdR","popup-body":"EventPopup_popup-body__ayoBt",description:"EventPopup_description__yRsVA",readMore:"EventPopup_readMore__D2pq_"}},2936:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return a}});let a=n(4252)._(n(4232)).default.createContext(null)},5303:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return n(1406)}])},6006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let a=n(4252)._(n(4232)),l=n(2936),r=[],s=[],i=!1;function o(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class d{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function o(){if(!r){let t=new d(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!i){let e=n.webpack&&1?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return o()})}function c(e,t){let s;o(),(s=a.default.useContext(l.LoadableContext))&&Array.isArray(n.modules)&&n.modules.forEach(e=>{s(e)});let i=a.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return c.preload=()=>o(),c.displayName="LoadableComponent",a.default.forwardRef(c)}(o,e)}function u(e,t){let n=[];for(;e.length;){let a=e.pop();n.push(a(t))}return Promise.all(n).then(()=>{if(e.length)return u(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{u(r).then(e,t)}),c.preloadReady=(e=[])=>new Promise(t=>{let n=()=>(i=!0,t());u(s,e).then(n,n)}),window.__NEXT_PRELOADREADY=c.preloadReady;let h=c},8847:(e,t,n)=>{e.exports=n(705)}},e=>{e.O(0,[230,587,867,113,636,593,792],()=>e(e.s=5303)),_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.