1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[530],{7495:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/archival-document",function(){return n(570)}])},5643:function(e,t,n){"use strict";n.d(t,{k:function(){return h}});var r=n(2322),a=n(2784),o=n(9097),i=n.n(o),l=n(1286),s=n(5632),c=n(5705),d=n(6925),u=n(4978);let f="https://content.birminghamal.gov/api/alerts/www";function h(e){var t;let{children:n,header:o,footer:h}=e,m=(0,s.useRouter)(),{data:v,error:x}=(0,l.ZP)(f,u.C,{refreshInterval:3e4,revalidateOnFocus:!0,revalidateIfStale:!0,dedupingInterval:0,keepPreviousData:!1,revalidateOnReconnect:!0}),b=null!==(t=null==v?void 0:v.alerts)&&void 0!==t?t:[];x&&console.log("Error fetching alerts:",x),(0,a.useEffect)(()=>{let e=()=>(0,l.JG)(f);return m.events.on("routeChangeComplete",e),()=>{m.events.off("routeChangeComplete",e)}},[m.events]);let w=(0,a.useRef)(null);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.n,{}),b.length>0&&b.map(e=>{var t;return(0,r.jsx)("section",{id:"alert-content","aria-label":"Site alert",children:(0,r.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,r.jsx)(i(),{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:e=>{if("Enter"===e.key||" "===e.key){var t;e.preventDefault(),null===(t=w.current)||void 0===t||t.focus()}},tabIndex:0,children:"Skip to main content"}),(0,r.jsx)(c.h4,{...o}),(0,r.jsxs)("main",{className:"w-full dark:bg-coolGray-10",id:"main-content",tabIndex:-1,ref:w,children:[n?null:(0,r.jsx)(c.Vm,{}),n]}),(0,r.jsx)(c.$_,{...h})]})}},570:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return c},default:function(){return d}});var r=n(2322),a=n(5632),o=n(5705),i=n(5643),l=n(4100),s=n(2784),c=!0;function d(e){let{layout:t}=e,n=(0,a.useRouter)().query,c=e=>Array.isArray(e)?e[0]:e||"",d=c(n.ad);d&&(d=atob(d));let u=c(n.title),[f,h]=(0,s.useState)(!1),[m,v]=(0,s.useState)("https://form.jotform.com/260495294396066");return(0,s.useEffect)(()=>{h(window.innerWidth>768),v("https://form.jotform.com/260495294396066?webAddress=".concat(encodeURIComponent(window.location.href)));let e=()=>{h(window.innerWidth>768)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,r.jsxs)(i.k,{header:t.header,footer:t.footer,children:[(0,r.jsx)(l.S,{title:"Archival Document ",description:"Archival Document viewer.",norobots:"true"}),(0,r.jsxs)("div",{className:"rich-text container mt-5",children:[(0,r.jsx)("h2",{className:"mt-l lg:mt-l-desktop break-all",children:u}),(0,r.jsxs)("div",{className:"bg-[#eff3f5] p-5 mb-5 rounded-lg text-sm flex flex-col-reverse lg:flex-row gap-4 lg:gap-8",children:[f&&(0,r.jsx)("div",{className:"grow max-h-[800px] overflow-auto rounded",style:{WebkitOverflowScrolling:"touch",overflow:"scroll",height:"800px"},children:(0,r.jsx)("iframe",{src:null!=d?d:"",width:"100%",height:"100%",title:"PDF document",style:{border:"none",width:"100%",height:"100%"}})}),(0,r.jsxs)("div",{className:"w-full lg:w-1/4",children:[(0,r.jsx)("p",{className:"!text-black dark:!text-black",children:"This PDF document may not meet current accessibility standards (WCAG 2.1 AA) and may not be fully usable with assistive technologies."}),(0,r.jsxs)("p",{className:"!text-black dark:!text-black",children:["If you require access to the information in a more accessible format, please email"," ",(0,r.jsx)("a",{href:"mailto:[email protected]",target:"_blank",rel:"noopener noreferrer",className:"text-secondary-1 underline underline-offset-2 hover:text-secondary-2",children:"[email protected]"})," ","and include a link to this page."]}),(0,r.jsx)("p",{className:"!text-black dark:!text-black",children:"We apologize for any inconvenience and appreciate your understanding as we work toward full accessibility compliance."}),!f&&(0,r.jsx)(o.zx,{url:null!=d?d:"",title:"View Document",buttonStyle:"tertiary",additionalClasses:"button"})]})]})]})]})}}},function(e){e.O(0,[538,436,335,888,774,179],function(){return e(e.s=7495)}),_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.