1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[534],{4487:function(e,t,a){"use strict";a.d(t,{$:function(){return x}});var s=a(2322),n=a(6577),i=a.n(n),r=a(2876),l=a(8042),o=a(3881),d=a(5705),c=a(7887),m=a(4100),u=a(9920),h=a(2784),p=a(5632);let f=e=>{let{iconColor:t="gray",additionalClasses:a=""}=e;(0,p.useRouter)();let n=window.location.href,i=e=>{let t="",a=encodeURIComponent(n);switch(e){case"facebook":t="https://www.facebook.com/sharer/sharer.php?u=".concat(a);break;case"twitter":t="https://twitter.com/intent/tweet?url=".concat(a);break;case"email":let s=encodeURIComponent("Thought you'd find this interesting!"),i=encodeURIComponent("Just wanted to share this page with you: ".concat(n));t="mailto:?subject=".concat(s,"&body=").concat(i)}window.open(t,"_blank")};return(0,s.jsxs)("div",{className:"flex md:justify-start items-center gap-4 dark:text-white ".concat(a),children:[(0,s.jsx)("span",{className:"uppercase text-sm font-bold tracking-wider leading-none",children:"Share:"}),(0,s.jsx)("button",{onClick:()=>i("facebook"),"aria-label":"Share on Facebook",className:"text-xl text-".concat(t," leading-none hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-").concat(t),children:(0,s.jsx)(d.JO,{name:"facebook",style:"brands"})}),(0,s.jsx)("button",{onClick:()=>i("twitter"),"aria-label":"Share on X (Twitter)",className:"text-xl text-".concat(t," leading-none hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-").concat(t),children:(0,s.jsx)(d.JO,{name:"x-twitter",style:"brands"})}),(0,s.jsx)("button",{onClick:()=>i("email"),"aria-label":"Share via Email",className:"text-xl text-".concat(t," leading-none hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-").concat(t),children:(0,s.jsx)(d.JO,{name:"envelope",style:"solid"})})]})};var g=a(542);function x(e){var t,a;let{node:n,layout:p,breadcrumbs:x,domain:v,...b}=e,j=(0,h.useMemo)(()=>{let e=[];return n.articleCategories&&n.articleCategories.forEach(t=>{e.push(t.name)}),e},[n.articleCategories]),y="";n.publicationTime&&(y=(0,o.p6)(n.publicationTime));let{metadataTitle:w,metadataDescription:N}=(0,u.a)(n.metatag,n.summary);function k(e,t){let a=e.length-1,s=e[a];return t&&(e[a]={...s,title:t}),e}let C=null;return n.department&&n.department.name&&(C=n.department.name),(0,h.useEffect)(()=>{(0,g.c)("article",n,C,j)},[n,C,j]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:v+(0,r.usePathname)(),name:n.title,description:n.summary}}),(0,s.jsxs)(c.A,{header:p.header,footer:p.footer,children:[(0,s.jsx)(m.S,{title:w,siteName:p.name?p.name:"CitizenForward",description:N,categories:n.articleCategories,type:"News",image:n.image?null===(t=n.image)||void 0===t?void 0:t.mediaImage.url:"none",department:null===(a=n.department)||void 0===a?void 0:a.name}),(0,s.jsxs)("article",{...b,children:[(0,s.jsx)(d.Oo,{links:n.shortTitle?k(x,n.shortTitle):x,numberOfItems:4}),(0,s.jsx)(d.mr,{heading:n.title,date:y,variant:"none",headingClasses:"text-4xl"}),(0,s.jsxs)("div",{className:"flex flex-col-reverse lg:gap-default lg:flex-row",children:[(0,s.jsxs)("div",{className:"lg:flex-none lg:max-w-[55%]",children:[n.body&&(0,s.jsx)("div",{className:"rich-text",children:(0,s.jsx)(d.O5,{value:n.body.processed,"aria-flowto":"article-img"})}),(0,s.jsxs)("div",{id:"tags",className:"mt-6 mb-10",children:[n.department&&(0,s.jsx)(d.Ct,{text:n.department.name,variant:"pill"}),n.articleType&&(0,s.jsx)(d.Ct,{text:n.articleType.name,variant:"pill"}),n.articleCategories&&(0,s.jsx)(s.Fragment,{children:n.articleCategories.map((e,t)=>(0,s.jsx)(d.Ct,{text:e.name,variant:"pill"},t))})]}),(0,s.jsx)(f,{additionalClasses:"mb-8"})]}),(0,s.jsxs)("div",{className:"lg:order-2",children:[(0,s.jsx)("div",{className:"relative mb-6 lg:flex-1",children:n.image&&(0,s.jsx)(i(),{src:n.image.mediaImage.url,alt:n.image.mediaImage.alt||"",id:"article-img","aria-flowto":"tags",priority:!0,width:768,height:480,sizes:"(max-width: 1024px) 1600px, 100vw",className:"object-cover"})}),n.mediaContact&&(0,s.jsxs)("div",{className:"border-2 border-neutral-200 p-6 mb-l lg:mb-l-desktop",children:[(0,s.jsx)("h3",{className:"text-caption text-primary-1 dark:text-white mb-4",children:"Contact"}),(0,s.jsx)("div",{className:"rich-text",children:(0,s.jsx)(d.O5,{value:n.mediaContact.processed})})]})]})]})]})]})]})}},1746:function(e,t,a){"use strict";a.d(t,{a:function(){return p}});var s=a(2322),n=a(2784),i=a(2876),r=a(8042),l=a(5705),o=a(9390),d=a(4100),c=a(7991),m=a(9920),u=a(3881),h=a(542);function p(e){var t,p,f,g;let{node:x,layout:v,breadcrumbs:b,domain:j,menu:y,...w}=e,{metadataTitle:N,metadataDescription:k}=(0,m.a)(x.metatag,x.summary),C=(0,n.useRef)(null),S=(0,u.LS)("h2",C.current),[I,E]=(0,n.use
1State)(""),[T,L]=(0,n.useState)(!x.password),[O,P]=(0,n.useState)(!1);JSON.parse(x.computedMenu);let _=(0,i.usePathname)(),F=a(1941),A="20f94e1de2070b0e8f423a339faee8f0",R=(e,t)=>{var a=F.createHash("sha1").update(e+A).digest("base64");let s=a.slice(0,-1);return t.substring(0,a.length-1)===s};function z(e){let t=0;for(let a=0;a<e.length;a++)t=(t<<5)-t+e.charCodeAt(a)|0;return t.toString()}(0,n.useEffect)(()=>{var e,t;if(!(null===(e=x.password)||void 0===e?void 0:e.password)){L(!0),P(!1);return}let a="hasAccess-".concat(z(null===(t=x.password)||void 0===t?void 0:t.password));if("true"===document.cookie.split("; ").reduce((e,t)=>{let[a,s]=t.split("=");return e[a]=s,e},{})[a])L(!0),P(!0);else{L(!1),P(!1);let e=document.querySelector("script[id=__NEXT_DATA__]");e&&e.remove()}},[_,null===(t=x.password)||void 0===t?void 0:t.password]);let D=()=>{var e;let t=null===(e=x.password)||void 0===e?void 0:e.password;if(R(I,t)){let e="hasAccess-".concat(z(t));document.cookie="".concat(e,"=true; path=/; max-age=31536000"),L(!0)}else alert("Incorrect password")},U=e=>{"Enter"===e.key&&D()};function W(e,t){let a=e.length-1,s=e[a];return t&&(e[a]={...s,title:t}),e}let M=null;return x.department&&x.department.name&&(M=x.department.name),(0,n.useEffect)(()=>{(0,h.c)("basic_page",x,M,null,null,O)},[x,M,O]),(0,s.jsxs)(s.Fragment,{children:[x.displayChatbot&&(0,s.jsx)(l.PS,{}),(0,s.jsx)(r.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:j+(0,i.usePathname)(),name:x.title,de
1scription:x.summary}}),(0,s.jsxs)(o.C,{sidebar:y?(0,s.jsx)(l.w3,{links:y}):null,topSection:(0,s.jsx)(l.Oo,{links:x.shortTitle?W(b||[],x.shortTitle):b||[],numberOfItems:10}),header:v.header,footer:v.footer,children:[(0,s.jsx)(d.S,{title:N,siteName:v.name?v.name:"CitizenForward",description:k,type:"Page",image:x.image?null===(p=x.image)||void 0===p?void 0:p.mediaImage.url:"none",department:null===(f=x.department)||void 0===f?void 0:f.name}),(0,s.jsxs)("article",{...w,children:[x.password&&!T&&(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center backdrop-blur-lg bg-black/30",children:(0,s.jsxs)("div",{className:"bg-white p-6 shadow-lg",children:[(0,s.jsx)("p",{className:"mb-4",children:"This page is password protected. Enter the password below to access content:"}),(0,s.jsxs)("div",{className:"flex gap-4 w-full",children:[(0,s.jsx)("input",{type:"password",value:I,onChange:e=>E(e.target.value),onKeyDown:U,placeholder:"Enter password",className:"px-4 py-2 w-full"}),(0,s.jsx)(l.zx,{onClick:D,buttonStyle:"primary",title:"Submit"})]})]})}),(0,s.jsx)(l.mr,{heading:x.title,variant:"none",logo:null===(g=x.pageLogo)||void 0===g?void 0:g.mediaImage.url}),x.content&&T&&(0,s.jsx)("div",{ref:C,children:x.content.map((e,t)=>(0,s.jsx)("div",{className:"mb-8 md:mb-20",children:(0,c.R)(e,t,!1,S)},e.id||t))})]})]})]})}},6270:function(e,t,a){"use strict";a.d(t,{D:function(){return x}});var s=a(2322),n=a(2876),i=a(8042),r=a(5705),l=a(3881),o=a(4100),d=a(5643),c=a(2784),m=a(9097),u=a.n(m);let h=e=>{let t,{title:a,phoneNumber:n,email:i,socialLinks:o,location:d,mailingAddress:c,faxNumber:m}=e,h=e=>{let{addressLine1:t,locality:a,administrativeArea:s,postalCode:n}=e,i="".concat(t,",").concat(a,",").concat(s).concat(n);return"https://maps.google.com/maps?q=".concat(encodeURIComponent(i))};return d&&d.hoursOfOperation&&(t=(0,l.P1)(d.hoursOfOperation).map((e,t)=>(0,s.jsx)("p",{children:e},t))),(0,s.jsxs)("div",{className:"dark:text-white",children:[(0,s.jsx)("h3",{className:"mb-6",children:"Contact"}),(0,s.jsx)("div",{className:"mb-5",children:(0,s.jsxs)("div",{className:"grid grid-cols-[80px_1fr] gap-x-3 gap-y-5",children:[d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"font-bold",children:"Address"}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)("p",{children:[(0,s.jsxs)("span",{className:"block",children:[d.address.addressLine1,d.address.addressLine2&&", ".concat(d.address.addressLine2)]}),(0,s.jsxs)("span",{children:[d.address.locality,","," ",d.address.administrativeArea," ",d.address.postalCode]})]}),(0,s.jsx)(u(),{href:h(d.address),target:"_blank",className:"base-link mb-2 block",children:"Google Maps"})]})]}),n&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"font-bold",children:"Phone"}),(0,s.jsx)(u(),{href:"tel:".concat(n),className:"base-link block mb-2 ",children:n})]}),m&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"font-bold",children:"Fax"}),(0,s.jsx)("p",{className:"mb-2",children:m})]}),i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"font-bold",children:"Email"}),(0,s.jsx)(u(),{href:"mailto:".concat(i),className:"base-link block mb-2 ",children:i})]}),t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"font-bold",children:"Hours"}),(0,s.jsx)("div",{className:"mb-2",children:t})]})]})}),o&&(0,s.jsx)(r.WG,{links:o,variant:"regular",additionalClasses:"my-5",iconColor:"secondary-1"}),c&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{children:"Mailing Address"}),(0,s.jsx)("p",{children:c.addressLine1}),c.addressLine2&&(0,s.jsx)("p",{children:c.addressLine2}),(0,s.jsxs)("p",{children:[c.locality,", ",c.administrativeArea," ",c.postalCode]})]})]})};var p=a(9920),f=a(7991),g=a(542);function x(e){var t,a,m,u,x;let{node:v,layout:b,breadcrumbs:j,domain:y,...w}=e,N=[],k=[];v.displayRelatedNews&&null!=v.news&&v.news.results.length>0&&v.news.results.map(e=>{let t=e;N.push({title:t.shortTitle?t.shortTitle:t.title,imageAlt:"",description:t.summary,path:t.path,date:t.publicationTime?(0,l.p6)(t.publicationTime):void 0,tags:t.articleType?t.articleType.name:void 0})}),v.displayUpcomingEvents&&v.events&&v.events.results.length>
10&&v.events.results.forEach(e=>{if((0,l.J6)(e)){var t;let a={title:e.title,link:e.path,date:e.startDate,border:"all",status:e.eventStatus,tags:null===(t=e.department)||void 0===t?void 0:t.name};e.virtualEvent?a.location="Virtual":e.location&&null!=e.location.address?a.location=e.location.address.addressLine1+(e.location.address.addressLine2?", "+e.location.address.addressLine2:"")+", "+e.location.address.locality+", "+e.location.address.administrativeArea:e.customLocation&&null!=e.address&&(a.location=e.address.addressLine1+(e.address.addressLine2?", "+e.address.addressLine2:"")+", "+e.address.locality+", "+e.address.administrativeArea),k.push(a)}});let C=[];v.facebook&&C.push({link:v.facebook,name:"Facebook",iconName:"facebook"}),v.instagram&&C.push({link:v.instagram,name:"Instagram",iconName:"instagram"}),v.twitter&&C.push({link:v.twitter,name:"Twitter",iconName:"twitter"}),v.youtube&&C.push({link:v.youtube,name:"Youtube",iconName:"youtube"}),v.linkedin&&C.push({link:v.linkedin,name:"LinkedIn",iconName:"linkedin"});let{metadataTitle:S,metadataDescription:I}=(0,p.a)(v.metatag,v.summary),E=[];v.featuredServices&&v.featuredServices.contentItems&&v.featuredServices.contentItems.map(e=>{E.push({title:e.shortTitle?e.shortTitle:e.title,imagePath:e.image?e.image.mediaImage.url:"",imageAlt:"",description:e.summary,path:e.path||""})});let T=JSON.parse(v.computedDepartmentMenu),L=T&&T.map(e=>({title:e.title,url:e.url,buttonStyle:"primary"})),O=null;return v.department&&v.department.name&&(O=v.department.name),(0,c.useEffect)(()=>{(0,g.c)("department",v,O)},[v,O]),(0,s.jsxs)(s.Fragment,{children:[v.displayChatbot&&(0,s.jsx)(r.PS,{}),(0,s.jsx)(i.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:y+(0,n.usePathname)(),name:v.title,description:v.summary}}),(0,s.jsxs)(d.k,{header:b.header,footer:b.footer,children:[(0,s.jsx)(o.S,{title:S,siteName:b.name?b.name:"CitizenForward",description:I,image:v.image?null===(t=v.image)||void 0===t?void 0:t.mediaImage.url:"none",type:"Department",department:null===(a=v.department)||void 0===a?void 0:a.name}),(0,s.jsxs)("article",{...w,children:[(0,s.jsx)(r.sO,{heading:v.title,preHeading:v.section?v.section:"Departments",image:null===(m=v.image)||void 0===m?void 0:m.mediaImage,variant:"department"}),(0,s.jsxs)("div",{className:"container mt-l md:mt-l-desktop md:grid md:grid-cols-3 gap-4 md:gap-8",children:[(0,s.jsxs)("div",{className:"md:col-span-2",children:[L&&(0,s.jsx)(r.hE,{buttons:L,variant:"button-group"}),(0,s.jsx)("p",{className:"mt-6 dark:text-white",children:v.summary})]}),(0,s.jsx)("div",{className:"mt-8 md:mt-0",children:(0,s.jsx)(h,{title:"Contact",socialLinks:C,location:v.location,phoneNumber:v.phoneNumber,email:v.emailAddress,faxNumber:v.faxNumber})})]}),v.featuredServices&&(0,s.jsx)("div",{className:"my-l md:my-l-desktop border-y border-y-neutral-200 dark:border-y-neutral-800",children:(0,s.jsxs)("div",{className:"py-l md:py-l-desktop",children:[v.featuredServices.title&&(0,s.jsx)("h2",{className:"text-center mb-14 font-normal dark:text-white",children:v.featuredServices.title}),v.featuredServices&&v.featuredServices.contentItems&&(0,s.jsx)(r.gy,{cards:E,cardType:"basic",container:!0,columns:(null===(u=v.featuredServices)||void 0===u?void 0:u.contentItems.length)>=3?"3":null===(x=v.featuredServices)||void 0===x?void 0:x.contentItems.length.toString()})]})}),v.content&&(0,s.jsx)("div",{children:v.content.map((e,t)=>(0,s.jsx)("div",{className:"mb-l md:mb-l-desktop",children:(0,f.R)(e,t,!0,[],"button-grid")},e.id))}),v.displayRelatedNews&&null!=v.news&&v.news.results.length>0&&(0,s.jsx)("div",{className:"border-b border-b-neutral-200",children:(0,s.jsxs)("div",{className:"container my-l lg:my-l-desktop",children:[(0,s.jsxs)("div",{className:"text-center mb-16 dark:text-white",children:[(0,s.jsx)("div",{className:"text-caption mb-4",children:"From the Newsroom"}),(0,s.jsxs)("h2",{className:"font-normal",children:["Related ",v.title," News"]})]}),(0,s.jsx)(r.gy,{cardType:"news",cards:N}),(0,s.jsx)("div",{className:"text-center mt-16",children:(0,s.jsx)(r.zx,{title:"See all news",buttonStyle:"secondary",url:"/news"})})]})}),v.displayUpcomingEvents&&null!=v.events&&v.events.results.length>0&&(0,s.jsxs)("div",{className:"container my-l lg:my-l-desktop",children:[(0,s.jsxs)("div",{className:"text-center mb-16 dark:text-white",children:[(0,s.jsx)("div",{className:"text-caption mb-4",children:"UPCOMING EVENTS"}),(0,s.jsxs)("h2",{className:"font-normal",children:["from ",v.title]})]}),(0,s.jsx)(r.wI,{display:"grid",events:k}),(0,s.jsx)("div",{className:"text-center mt-16",children:(0,s.jsx)(r.zx,{title:v.preFilteredCalendarLink?v.preFilteredCalendarLink.title:"See all events",buttonStyle:"secondary",url:v.preFilteredCalendarLink?v.preFilteredCalendarLink.url:"/events"})})]})]})]})]})}},1566:function(e,t,a){"use strict";a.d(t,{z:function(){return x}});var s=a(2322),n=a(6577),i=a.n(n),r=a(2784);function l(){let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{t(window.location.href)},[]),e?new URL(e):null}var o=a(9097),d=a.n(o),c=a(3881),m=a(5705),u=a(7887),h=a(4100),p=a(9920),f=a(542),g=a(8042);function x(e){var t,a,n,o,x,v,b;let j,y,w,{node:N,layout:k,breadcrumbs:C,domain:S,...I}=e,E=(0,r.useMemo)(()=>{let e=[];
1return N.eventCategories&&N.eventCategories.forEach(t=>{e.push(t.name)}),e},[N.eventCategories]),T="",L="",O="",P=(0,c.vX)(N.startDate);if(N.virtualEvent)T="Virtual";else if(N.location){if(N.location.address){let e=null===(v=N.location)||void 0===v?void 0:v.address;T=e.addressLine1+(e.addressLine2?", "+e.addressLine2:"")+", "+e.locality+", "+e.administrativeArea+". "+e.postalCode,O="https://www.google.com/maps/search/?api=1&query="+e.addressLine1+"+"+e.locality+"+"+e.administrativeArea+"+"+e.postalCode}else T=N.location.title}else N.customLocation&&null!==N.address&&(T=N.address.addressLine1+(N.address.addressLine2?", "+N.address.addressLine2:"")+", "+N.address.locality+", "+N.address.administrativeArea+", "+N.address.postalCode,O="https://www.google.com/maps/search/?api=1&query="+N.address.addressLine1+"+"+N.address.locality+"+"+N.address.administrativeArea+"+"+N.address.postalCode);switch(N.eventStatus&&(L=N.eventStatus),L){default:case"active":break;case"postponed":j="text-amber-600",y="calendar-circle-exclamation",w="Postponed";break;case"canceled":j="text-red-800",y="ban",w="Canceled"}let _=1;N.numberOfRegistrants&&(_=N.numberOfRegistrants-N.jotformSignups);let F=0;N.jotformSignups&&(F=N.jotformSignups),(0,r.useEffect)(()=>{if(_<=0)return;let e=e=>{if(e&&"object"==typeof e.data&&"submission-completed"===e.data.action){A(N.jotformId);return}};return window.addEventListener&&window.addEventListener("message",e,!0),()=>{window.removeEventListener&&window.removeEventListener("message",e,!0)}});let A=async e=>{fetch("https://content.birminghamal.gov/jotform-registration?form_id=node&event_id="+e)},R=null;N.department&&N.department.name&&(R=N.department.name),(0,r.useEffect)(()=>{(0,f.c)("event",N,R,E)},[N,R,E]);let{metadataTitle:z,metadataDescription:D}=(0,p.a)(N.metatag,N.summary),{href:U}=null!==(b=l())&&void 0!==b?b:{};function W(){return(0,s.jsxs)("div",{className:"border-2 border-neutral-200 p-6 dark:text-white",children:[N.startDate&&(0,s.jsx)("h3",{className:"text-caption text-primary-1 dark:text-white",children:P.fullDate?P.fullDate:""}),P.time&&(0,s.jsxs)("div",{className:"mt-4 text-sm font-medium",children:[N.startDate?(0,c.mr)(N.startDate):"",N.endDate?" - ".concat((0,c.mr)(N.endDate)):""]}),T&&(0,s.jsx)("div",{className:"mt-4 text-sm font-medium",children:O?(0,s.jsx)(d(),{href:O,className:"underline hover:no-underline",children:T}):(0,s.jsx)(s.Fragment,{children:T})}),N.eventCategories&&(0,s.jsx)("div",{className:"mt-4",children:N.eventCategories.map((e,t)=>(0,s.jsx)(m.Ct,{text:e.name,variant:"pill"},t))}),N.eventStatus&&"active"!=N.eventStatus&&(0,s.jsx)(m.Ct,{iconName:y,text:w,additionalClasses:j})]})}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:U,name:N.title,description:N.summary}}),(0,s.jsx)(g.hg,{item:{"@context":"https://schema.org","@type":"Event","@id":U,name:N.title,about:N.summary,location:null!==N.location?N.location.title:"",startDate:N.startDate.time,endDate:N.endDate.time}}),(0,s.jsxs)(u.A,{header:k.header,footer:k.footer,children:[(0,s.jsx)(h.S,{title:z,siteName:k.name?k.name:"CitizenForward",description:D,type:"Event",image:N.image&&N.image.mediaImage?N.image.mediaImage.url:void 0,date:N.startDate.time,categories:N.eventCategories,department:null===(t=N.department)||void 0===t?void 0:t.name}),(0,s.jsxs)("article",{...I,children:[(0,s.jsx)(m.Oo,{links:C,numberOfItems:3}),(0,s.jsxs)("div",{className:"flex flex-col lg:gap-default lg:flex-row lg:justify-between",children:[(0,s.jsxs)("div",{className:"lg:flex-none lg:w-7/12",children:[(0,s.jsx)(m.mr,{heading:N.title,variant:"none",headingClasses:"text-4xl"}),(0,s.jsx)("div",{className:"mb-s lg:hidden",children:(0,s.jsx)(W,{})}),(null===(a=N.body)||void 0===a?void 0:a.processed)&&(0,s.jsx)("div",{className:"rich-text mb-s lg:mb-s-desktop",children:(0,s.jsx)(m.O5,{value:null===(n=N.body)||void 0===n?void 0:n.processed})}),N.virtualEvent&&(null===(o=N.virtualEventDetails)||void 0===o?void 0:o.processed)&&(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(x=N.virtualEventDetails)||void 0===x?void 0:x.processed},className:"rich-text"}),N.jotformId&&_>0&&(0,s.jsx)("div",{className:"jotform-paragraph mb-4",children:(0,s.jsx)(m.o$,{id:N.jotformId})})]}),(0,s.jsxs)("div",{className:"mb-s lg:flex-1 lg:w-5/12 hidden lg:block",children:[N.image&&(0,s.jsx)("div",{className:"mb-s lg:flex-1 relative w-full h-[405px]",children:(0,s.jsx)(i(),{src:N.image.mediaImage.url,alt:N.image.mediaImage.alt||"",fill:!0,className:"object-cover"})}),(0,s.jsx)(W,{}),null!=N.numberOfRegistrants&&(0,s.jsxs)("div",{className:"dark:text-white pt-4",children:[(0,s.jsxs)("div",{children:["Number of registrants: ",N.numberOfRegistrants]}),(0,s.jsxs)("div",{children:["Number of signups: ",F]}),(0,s.jsxs)("div",{children:["Available seats: ",_]})]})]})]})]})]})]})}},6233:function(e,t,a){"use strict";a.d(t,{K:function(){return f}});var s=a(2322),n=a(6577),i=a.n(n),r=a(2876),l=a(8042),o=a(5705),d=a(5643),c=a(4100),m=a(9920),u=a(2784),h=a(9097),p=a.n(h);function f(e){var t,a,n,h,f,g;let{node:x,layout:v,breadcrumbs:b,domain:j,...y}=e,w=(0,r.usePathname)(),[N,k]=(0,u.useState)(!1),{metadataTitle:C,metadataDescription:S}=(0,m.a)(x.metatag,x.summary);function I(e,t){let a=e.length-1,s=e[a];return t&&(e[a]={...s,title:t}),e}(0,u.useEffect)(()=>{k(window.innerWidth>768);let e=()=>{k(window.innerWidth>768)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let E=null===(t=x.magazinePages)||void 0===t?void 0:t.results[0],T=[];return null!=x.magazinePages&&x.magazinePages.results.length>0&&x.magazinePages.results.map(e=>{let t=e;T.push({title:t.shortTitle?t.shortTitle:t.title,imageAlt:"",imagePath:t.portraitImage?t.portraitImage.mediaImage.url:void 0,description:t.summary,path:t.path,link:t.linkOverride?{__typename:"Link",url:t.linkOverride.url,title:t.title,internal:t.linkOverride.internal}:void 0})}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:j+w,name:x.title,de
1scription:x.summary}}),(0,s.jsxs)(d.k,{header:v.header,footer:v.footer,children:[(0,s.jsx)(c.S,{title:C,siteName:v.name?v.name:"CitizenForward",description:S,type:"Magazine"}),(0,s.jsxs)("article",{...y,children:[(0,s.jsx)("div",{className:"full-bleed bg-[#BC4430] text-white",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)(o.Oo,{links:x.shortTitle?I(b,x.shortTitle):b,magazine:!0,numberOfItems:4})})}),(0,s.jsx)("div",{className:"full-bleed bg-[#6B160F]",children:(0,s.jsx)(o.mr,{heading:x.title,subHeading:x.subtitle,variant:"issue",headingClasses:"text-5xl mb-3 leading-[1.1]",logo:"/static/magazine_logo.svg"})}),null!=x.magazinePages&&x.magazinePages.results.length>0&&(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"my-l lg:my-l-desktop",children:[(0,s.jsxs)(p(),{href:E.linkOverride?null===(a=E.linkOverride)||void 0===a?void 0:a.url:E.path,className:"group border-b border-b-coolGray-30 pb-m mb-m lg:pb-12 lg:mb-12 block","aria-label":E.title,children:[(0,s.jsx)("div",{className:"relative w-full h-[480px]",children:(0,s.jsx)(i(),{src:N?null!==(f=null===(n=E.landscapeImage)||void 0===n?void 0:n.mediaImage.url)&&void 0!==f?f:"":null!==(g=null===(h=E.portraitImage)||void 0===h?void 0:h.mediaImage.url)&&void 0!==g?g:"",alt:"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-cover"})}),(0,s.jsxs)("div",{className:"flex flex-col lg:grid grid-cols-2 gap-4 w-full dark:text-white pt-s lg:pt-s-desktop",children:[(0,s.jsx)("span",{className:"text-4xl font-semibold font-magazine group-hover:underline",children:E.title}),(0,s.jsx)("p",{className:"my-2",children:E.summary})]})]}),(0,s.jsx)(o.gy,{cardType:"issue",cards:T.slice(1),columns:"3"})]})})]})]})]})}},624:function(e,t,a){"use strict";a.d(t,{U:function(){return f}});var s=a(2322),n=a(2876),i=a(8042),r=a(5847),l=a.n(r),o=a(5705),d=a(5643),c=a(4100),m=a(7991),u=a(9920),h=a(542),p=a(2784);function f(e){var t,r;let{node:f,layout:g,domain:x,...v}=e,[b,j]=(0,p.useState)(!f.password),[y,w]=(0,p.useState)(!1),[N,k]=(0,p.useState)(""),C=(0,n.usePathname)(),S=a(1941),I="20f94e1de2070b0e8f423a339faee8f0",E=(e,t)=>{var a=S.createHash("sha1").update(e+I).digest("base64");let s=a.slice(0,-1);return t.substring(0,a.length-1)===s};function T(e){let t=0;for(let a=0;a<e.length;a++)t=(t<<5)-t+e.charCodeAt(a)|0;return t.toString()}(0,p.useEffect)(()=>{var e;if(!(null===(e=f.password)||void 0===e?void 0:e.password)){j(!0),w(!1);return}let t="hasAccess-".concat(T(f.password.password));if("true"===document.cookie.split("; ").reduce((e,t)=>{let[a,s]=t.split("=");return e[a]=s,e},{})[t])j(!0),w(!0);else{j(!1),w(!1);let e=document.querySelector("script[id=__NEXT_DATA__]");e&&e.remove()}},[C,null===(t=f.password)||void 0===t?void 0:t.password]);let L=()=>{var e;let t=null===(e=f.password)||void 0===e?void 0:e.password;if(E(N,t)){let e="hasAccess-".concat(T(t));document.cookie="".concat(e,"=true; path=/; max-age=31536000"),j(!0)}else alert("Incorrect password")},O=e=>{"Enter"===e.key&&L()},{metadataTitle:P,metadataDescription:_}=(0,u.a)(f.metatag,f.summary),F=[];return f.links&&f.links.map(e=>{F.push({link:e.link,title:e.title,description:e.longDescription})}),(0,p.useEffect)(()=>{(0,h.c)("landing_page",f,null,null,null,y)},[f,y]),(0,s.jsxs)(s.Fragment,{children:[f.displayChatbot&&(0,s.jsx)(o.PS,{}),(0,s.jsx)(i.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:x+(0,n.usePathname)(),name:f.title,description:f.summary}}),(0,s.jsxs)(d.k,{header:g.header,footer:g.footer,children:[(0,s.jsx)(c.S,{title:P,siteName:g.name?g.name:"CitizenForward",description:_,type:"Page",image:f.image?null===(r=f.image)||void 0===r?void 0:r.mediaImage.url:"none"}),(0,s.jsx)("div",{children:(0,s.jsxs)("article",{...v,className:"md:pt-l-desktop",children:[f.password&&!b&&(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center backdrop-blur-lg bg-black/30",children:(0,s.jsxs)("div",{className:"bg-white p-6 shadow-lg",children:[(0,s.jsx)("p",{className:"mb-4",children:"This page is password protected. Enter the password below to access content:"}),(0,s.jsxs)("div",{className:"flex gap-4 w-full",children:[(0,s.jsx)("input",{type:"password",value:N,onChange:e=>k(e.target.value),onKeyDown:O,placeholder:"Enter password",className:"px-4 py-2 w-full"}),(0,s.jsx)(o.zx,{onClick:L,buttonStyle:"primary",title:"Submit"})]})]})}),(0,s.jsx)(o.kx,{heading:f.title,subheading:f.summary,preTitle:f.preTitle,imagePath:f.image&&f.image.mediaImage.url,imageAlt:f.image?f.image.mediaImage.alt:"",buttons:f.heroLinks}),f.links&&b&&(0,s.jsx)("div",{className:"container py-l lg:py-l-desktop",children:(0,s.jsx)(o.gy,{cardType:"text",style:"complex",columns:"4",cards:F})}),f.content&&b&&(0,s.jsx)("div",{children:f.content.map((e,t)=>(0,s.jsx)("div",{className:"mb-l md:mb-l-desktop",children:(0,m.R)(e,t,!0)},e.id))}),f.displayNewsletter&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l(),{id:"ctct-variable",strategy:"afterInteractive",children:'var _ctct_m = "17224b6250644b2ec30a61c17c376fff";'}),(0,s.jsx)(l(),{id:"signupScript",src:"https://static.ctctcdn.com/js/signup-form-widget/current/signup-form-widget.min.js",strategy:"afterInteractive",async:!0,defer:!0}),(0,s.jsx)("div",{className:"ctct-inline-form mb-l md:mb-l-desktop container","data-form-id":"38a7086f-5a78-4e9c-aa30-ee833590379b"})]})]})})]})]})}},2567:function(e,t,a){"use strict";a.d(t,{F:function(){return x}});var s=a(2322),n=a(6577),i=a.n(n),r=a(2876),l=a(8042),o=a(3881),d=a(5705),c=a(5643),m=a(4100),u=a(9920),h=a(2784),p=a(7991),f=a(5847),g=a.n(f);function x(e){var t,a,n,f,x,v;let{node:b,layout:j,breadcrumbs:y,domain:w,...N}=e,k="";b.publicationTime&&(k=(0,o.p6)(b.publicationTime));let C=(0,h.useRef)(null),S=(0,o.LS)("h2",C.current),{metadataTitle:I,metadataDescription:E}=(0,u.a)(b.metatag,b.summary);function T(e,t){let a=e.length-1,s=e[a];return t&&(e[a]={...s,title:t}),e}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:w+(0,r.usePathname)(),name:b.title,de
1scription:b.summary}}),(0,s.jsxs)(c.k,{header:j.header,footer:j.footer,children:[(0,s.jsx)(m.S,{title:I,siteName:j.name?j.name:"CitizenForward",description:E,type:"Magazine",image:b.landscapeImage?null===(t=b.landscapeImage)||void 0===t?void 0:t.mediaImage.url:b.portraitImage?null===(a=b.portraitImage)||void 0===a?void 0:a.mediaImage.url:"none"}),(0,s.jsxs)("article",{...N,children:[(0,s.jsx)("div",{className:"full-bleed bg-[#BC4430] text-white",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)(d.Oo,{links:b.shortTitle?T(y,b.shortTitle):y,magazine:!0,numberOfItems:4})})}),(0,s.jsx)("div",{className:"h-[250px] lg:h-[500px] full-bleed relative",children:(0,s.jsx)(i(),{src:null!==(v=null!==(x=null===(n=b.landscapeImage)||void 0===n?void 0:n.mediaImage.url)&&void 0!==x?x:null===(f=b.portraitImage)||void 0===f?void 0:f.mediaImage.url)&&void 0!==v?v:"",alt:"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-cover"})}),(0,s.jsxs)("div",{className:"dark:text-white text-center py-m lg:py-m-desktop",children:[(0,s.jsx)("span",{className:"font-bold text-lg",children:k}),(0,s.jsx)("h1",{className:"my-4 leading-[1.1] font-magazine italic font-bold",children:b.title}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("span",{children:["Story by ",b.author]}),(0,s.jsxs)("span",{children:["Photos by ",b.imageCredit]})]})]}),b.content&&(0,s.jsx)("div",{ref:C,className:"flex justify-center container",children:b.content.map((e,t)=>(0,s.jsx)("div",{className:"mb-8 md:mb-20 w-full lg:w-[1000px] border-t border-neutral-300 pt-m lg:pt-m-desktop",children:(0,p.R)(e,t,!1,S)},e.id||t))}),(0,s.jsx)(g(),{id:"ctct-variable",strategy:"afterInteractive",children:'var _ctct_m = "17224b6250644b2ec30a61c17c376fff";'}),(0,s.jsx)(g(),{id:"signupScript",src:"https://static.ctctcdn.com/js/signup-form-widget/current/signup-form-widget.min.js",strategy:"afterInteractive",async:!0,defer:!0}),(0,s.jsx)("div",{className:"ctct-inline-form mb-l md:mb-l-desktop container","data-form-id":"38a7086f-5a78-4e9c-aa30-ee833590379b"})]})]})]})}},3098:function(e,t,a){"use strict";a.d(t,{f:function(){return f}});var s=a(2322),n=a(6577),i=a.n(n),r=a(2876),l=a(8042),o=a(5705),d=a(7887),c=a(4100),m=a(9920),u=a(7991),h=a(2784),p=a(3881);function f(e){var t,a;let{node:n,layout:f,breadcrumbs:g,domain:x,...v}=e,{metadataTitle:b,metadataDescription:j}=(0,m.a)(n.metatag,n.jobTitle),y=(0,h.useRef)(null),w=n.jobTitle?"".concat(n.jobTitle,", ").concat(n.title):n.title,N=(null!==(a=n.socialLinks)&&void 0!==a?a:[]).map(e=>({url:e.socialLink.url,title:e.socialLink.title})),k=(0,p.wi)(N);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.hg,{item:{"@context":"https://schema.org","@type":"WebPage",url:x+(0,r.usePathname)(),name:n.title,description:n.jobTitle}}),(0,s.jsxs)(d.A,{header:f.header,footer:f.footer,children:[(0,s.jsx)(c.S,{title:b,siteName:f.name?f.name:"City of Lexington, Kentucky",description:j,type:"Person",image:null===(t=n.image)||void 0===t?void 0:t.mediaImage.url}),(0,s.jsxs)("article",{...v,children:[(0,s.jsx)(o.Oo,{links:g,numberOfItems:4}),(0,s.jsx)(o.mr,{heading:w,variant:"none"}),(0,s.jsxs)("div",{className:"flex flex-col lg:gap-default lg:flex-row-reverse mt-m lg:mt-m-desktop",children:[(0,s.jsxs)("div",{className:"lg:w-1/3 mb-6 md:mb-0",children:[n.image&&(0,s.jsx)("div",{className:"relative mb-s lg:mb-s-desktop lg:flex-1",children:(0,s.jsx)(i(),{src:n.image.mediaImage.url,alt:n.image.mediaImage.alt||"",id:"Person-img","aria-flowto":"tags",priority:!0,width:768,height:480,sizes:"(max-width: 1024px) 1600px, 100vw",className:"object-cover"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"uppercase text-black dark:text-white border-b-2 text-base mb-4 font-bold tracking-wider",children:"Contact"}),n.emailAddress&&(0,s.jsx)(o.Ct,{iconName:"envelope",text:n.emailAddress,link:"mailto:".concat(n.emailAddress)}),n.phoneNumber&&(0,s.jsx)(o.Ct,{iconName:"phone",text:n.phoneNumber,link:"tel:".concat(n.phoneNumber)}),n.departments&&(0,s.jsx)(o.Ct,{iconName:"building-columns",text:n.departments.name}),null!==n.socialLinks&&(0,s.jsx)(o.WG,{links:k,variant:"regular",iconColor:"primary-1",container:!1})]})]}),(0,s.jsx)("div",{className:"lg:flex-none lg:w-2/3",children:n.content&&(0,s.jsx)("div",{ref:y,children:n.content.map((e,t)=>(0,s.jsx)("div",{className:"mb-l lg:mb-l-desktop clear-both",children:(0,u.R)(e,t,!1,void 0)},e.id||t))})})]})]})]})]})}},7887:function(e,t,a){"use strict";a.d(t,{A:function(){return p}});var s,n=a(2322),i=a(2784),r=a(9097),l=a.n(r),o=a(1286),d=a(5632),c=a(5705),m=a(6925),u=a(4978);let h=(s="https://content.birminghamal.gov","https://content.birminghamal.gov/api/alerts/www");function p(e){var t;let{children:a,header:s,footer:r}=e,p=(0,d.useRouter)(),{data:f,error:g}=(0,o.ZP)(h,u.C,{refreshInterval:3e4,revalidateOnFocus:!0,revalidateIfStale:!0,dedupingInterval:0,keepPreviousData:!1,revalidateOnReconnect:!0}),x=null!==(t=null==f?void 0:f.alerts)&&void 0!==t?t:[];g&&console.log("Error fetching alerts:",g),(0,i.useEffect)(()=>{let e=()=>(0,o.JG)(h);return p.events.on("routeChangeComplete",e),()=>{p.events.off("routeChangeComplete",e)}},[p.events]);let v=(0,i.useRef)(null),b=e=>{if("Enter"===e.key||" "===e.key){var t;e.preventDefault(),null===(t=v.current)||void 0===t||t.focus()}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.n,{}),x.length>0&&x.map(e=>{var t;return(0,n.jsx)("section",{id:"alert-content","aria-label":"Site alert",children:(0,n.jsx)(c.bZ,{id:e.id,severity:e.severity,title:e.title,body:"string"==typeof e.body?e.body:(null===(t=e.body)||void 0===t?void 0:t.processed)||"",icon:"message-exclamation",dismissible:"emergency"!==e.severity})},e.id)}),(0,n.jsx)(l(),{href:"#main-content",className:"absolute overflow-hidden h-[1px] w-[1px] focus:static focus:w-auto focus:h-auto focus:border-2 focus:border-black",onKeyDown:b,tabIndex:0,children:"Skip to main content"}),(0,n.jsx)(c.h4,{...s}
1),(0,n.jsxs)("main",{className:"container pb-s",id:"main-content",tabIndex:-1,ref:v,children:[a?null:(0,n.jsx)(c.Vm,{}),a]}),(0,n.jsx)(c.$_,{...r})]})}},9390:function(e,t,a){"use strict";a.d(t,{C:function(){return p}});var s,n=a(2322),i=a(2784),r=a(9097),l=a.n(r),o=a(1286),d=a(5632),c=a(5705),m=a(6925),u=a(4978);let h=(s="https://content.birminghamal.gov","https://content.birminghamal.gov/api/alerts/www");function p(e){var t;let{sidebar:a,children:s,header:r,footer:p,topSection:f}=e,g=(0,d.useRouter)(),{data:x,error:v}=(0,o.ZP)(h,u.C,{refreshInterval:3e4,revalidateOnFocus:!0,revalidateIfStale:!0,dedupingInterval:0,keepPreviousData:!1,revalidateOnReconnect:!0}),b=null!==(t=null==x?void 0:x.alerts)&&void 0!==t?t:[];v&&console.log("Error fetching alerts:",v),(0,i.useEffect)(()=>{let e=()=>(0,o.JG)(h);return g.events.on("routeChangeComplete",e),()=>{g.events.off("routeChangeComplete",e)}},[g.events]);let j=(0,i.useRef)(null),y=e=>{if("Enter"===e.key||" "===e.key){var t;e.preventDefault(),null===(t=j.current)||void 0===t||t.focus()}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.n,{}),b.length>0&&b.map(e=>{var t;return(0,n.jsx)("section",{id:"alert-content","aria-label":"Site alert",children:(0,n.jsx)(c.bZ,{id:e.id,severity:e.severity,title:e.title,body:"string"==typeof e.body?e.body:(null===(t=e.body)||void 0===t?void 0:t.processed)||"",icon:"message-exclamation",dismissible:"emergency"!==e.severity})},e.id)}),(0,n.jsx)(l(),{href:"#main-content",className:"absolute overflow-hidden h-[1px] w-[1px] focus:static focus:w-auto focus:h-auto focus:border-2 focus:border-black",onKeyDown:y,tabIndex:0,children:"Skip to main content"}),(0,n.jsx)(c.h4,{...r}),(0,n.jsxs)("main",{className:"container pb-s",id:"main-content",tabIndex:-1,ref:j,children:[f&&(0,n.jsx)("div",{className:"w-full",children:f}),(0,n.jsxs)("div",{className:"md:grid md:grid-cols-4 md:gap-default",children:[a&&(0,n.jsx)("div",{className:"mb-s",children:a}),(0,n.jsxs)("div",{className:a?"md:col-span-3":"md:col-span-4",children:[s?null:(0,n.jsx)(c.Vm,{text:"Main Content"}),s]})]})]}),(0,n.jsx)(c.$_,{...p})]})}},4339:function(module){var __dirname="/";!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0;a<e.length;a++)if(e[a]===t)return a;return -1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var a in e)t.push(a);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var a=0;a<e.length;a++)t(e[a],a,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,a){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:a})}}catch(e){return function(e,t,a){e[t]=a}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var a=t.contentWindow,s=a.eval,n=a.execScript;!s&&n&&(n.call(a,"null"),s=a.eval),forEach(Object_keys(e),function(t){a[t]=e[t]}
vendor: 5,469 bytes, line 1
1),forEach(globals,function(t){e[t]&&(a[t]=e[t])});var i=Object_keys(a),r=s.call(a,this.code);return forEach(Object_keys(a),function(t){(t in e||-1===indexOf(i,t))&&(e[t]=a[t])}),forEach(globals,function(t){t in e||defineProp(e,t,a[t])}),document.body.removeChild(t),r},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),a=this.runInContext(t);return e&&forEach(Object_keys(t),function(a){e[a]=t[a]}),a},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var a=Script(t);return a[e].apply(a,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(a){t[a]=e[a]}),t}}};"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __nested_webpack_exports__={};__webpack_modules__[950](0,__nested_webpack_exports__),module.exports=__nested_webpack_exports__}()},7834:function(e,t,a){var s=a(8834),n=s.Buffer;function i(e,t){for(var a in e)t[a]=e[a]}function r(e,t,a){return n(e,t,a)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=s:(i(s,t),t.Buffer=r),r.prototype=Object.create(n.prototype),i(n,r),r.from=function(e,t,a){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,a)},r.alloc=function(e,t,a){if("number"!=typeof e)throw TypeError("Argument must be a number");var s=n(e);return void 0!==t?"string"==typeof a?s.fill(t,a):s.fill(t):s.fill(0),s},r.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},r.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return s.SlowBuffer(e)}},214:function(e,t,a){"use strict";var s=a(7834).Buffer,n=s.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function r(e){var t=i(e);if("string"!=typeof t&&(s.isEncoding===n||!n(e)))throw Error("Unknown encoding: "+e);return t||e}function l(e){var t;switch(this.encoding=r(e),this.encoding){case"utf16le":this.text=p,this.end=f,t=4;break;case"utf8":this.fillLast=m,t=4;break;case"base64":this.text=g,this.end=x,t=3;break;default:this.write=v,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=s.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function d(e,t,a){var s=t.length-1;if(s<a)return 0;var n=o(t[s]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--s<a||-2===n?0:(n=o(t[s]))>=0?(n>0&&(e.lastNeed=n-2),n):--s<a||-2===n?0:(n=o(t[s]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}function c(e,t,a){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function m(e){var t=this.lastTotal-this.lastNeed,a=c(this,e,t);return void 0!==a?a:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function u(e,t){var a=d(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=a;var s=e.length-(a-this.lastNeed);return e.copy(this.lastChar,0,s),e.toString("utf8",t,s)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var a=e.toString("utf16le",t);if(a){var s=a.charCodeAt(a.length-1);if(s>=55296&&s<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,a)}return t}function g(e,t){var a=(e.length-t)%3;return 0===a?e.toString("base64",t):(this.lastNeed=3-a,this.lastTotal=3,1===a?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-a))}function x(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.StringDecoder=l,l.prototype.write=function(e){var t,a;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";a=this.lastNeed,this.lastNeed=0}else a=0;return a<e.length?t?t+this.text(e,a):this.text(e,a):t||""},l.prototype.end=h,l.prototype.text=u,l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}]);
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.