1"use strict";(self.webpackChunkcalgary_downtown_association=self.webpackChunkcalgary_downtown_association||[]).push([[317],{20782:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var a=n(30758),o=n(7201),r=n(84899),l=n(17356);var i=e=>{let{data:t}=e;return(0,l.Y)(a.Fragment,null,(t.bodyContent||t.title)&&(0,l.Y)(r.mO,{id:"about-news-intro",maxWidth:768},t.title&&(0,l.Y)(r.DZ,{size:700,mb:"layout.3"},t.title),(0,l.Y)(r.sD,{content:{html:t.bodyContent}})))};const s=e=>{let{title:t,excerpt:n,url:i}=e;return(0,l.Y)(a.Fragment,null,(0,l.Y)(r.cG,{maxWidth:768,my:"layout.5"}),(0,l.Y)(r.mO,{id:"about-news-announcement-"+i,maxWidth:768,my:"layout.5"},(0,l.Y)(r.so,null,(0,l.Y)(r.DZ,{size:700,flex:1},t)),n&&(0,l.Y)(r.sD,{content:{html:n},mt:"layout.3"}),(0,l.Y)(r.$n,{as:o.N_,to:`/news/${i}/`,children:"Read More",iconAfter:"arrowRight",intent:"primary",appearance:"primary",mt:"layout.4"})))};var u=e=>{let{data:t}=e;return(0,l.Y)(a.Fragment,null,t.announcements.map(((e,t)=>{let{title:n,excerpt:a,url:o}=e;return(0,l.Y)(s,{title:n,excerpt:a,url:o,key:t})})))};var m=function(e){let{loaderComplete:t,isMobile:n}=e;const{page:s,announcements:m}=(0,o.GR)("2739940528");return(0,l.Y)(a.Fragment,null,(0,l.Y)(r.kW,{title:"News & Initiatives",description:s.newsDescription&&s.newsDescription.replace(/<\/?[^>]+(>|$)/g,""),image:s.heroImage&&s.heroImage.url,imageAlt:s.heroImage&&s.heroImage.alt}),(0,l.Y)(r.ff,{id:"about-news-hero",title:s.heroTitle,image:s.heroImage,loaderComplete:t,page:(0,l.Y)(a.Fragment,null,(0,l.Y)(i,{data:{title:s.newsTitle,bodyContent:s.newsDescription}}),m&&m.nodes&&m.nodes.length>0&&(0,l.Y)(u,{data:{announcements:m.nodes}}),(0,l.Y)(r.az,{pt:"layout.5"}))}))}}}]); 2//# sourceMappingURL=component---src-pages-about-news-index-js-d6ae4d7578463241ae2d.js.map
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.