1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[625],{781:function(e,l,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news-events/[...slug]",function(){return n(4578)}])},1446:function(e,l,n){"use strict";var i=n(5893),s=n(1664),t=n.n(s),a=n(5797);l.Z=e=>{let{href:l,children:n,onClick:s,isActive:r}=e;return l?(0,i.jsx)(t(),{href:l,onClick:s,className:"group/click inline-flex p-1.5",children:(0,i.jsx)(a.Z,{variant:r?"active":"default",children:n})}):(0,i.jsx)("button",{type:"button",onClick:s,className:"group/click inline-flex p-1.5",children:(0,i.jsx)(a.Z,{variant:r?"active":"default",children:n})})}},6095:function(e,l,n){"use strict";var i=n(5893),s=n(3967),t=n.n(s),a=n(7484),r=n.n(a),d=n(1163),o=n(7294),c=n(8258),u=n(9070),m=n(123),x=n(6531),h=n(1446),v=n(7423),f=n(9848),p=n(5797),j=n(8239),g=n(402);l.Z=e=>{var l,n,s,a,b,N,w,y;let{isEvent:Z=!1,fields:k}=e,_=null==k?void 0:k.minutesToRead,z=Z?null==k?void 0:k.eventDate:null==k?void 0:k.publishDate,S=Z?z&&r()(z).format("dddd, Do MMMM, YYYY | h:mma"):z&&r()(z).format(j.zT),T=null==k?void 0:null===(n=k.contentType)||void 0===n?void 0:null===(l=n.fields)||void 0===l?void 0:l.name,C=(null==k?void 0:k.isStandalone)||!1,[E,F]=(0,o.useState)([]),M=e=>l=>{l.preventDefault(),document.getElementById(e).scrollIntoView({behavior:"smooth"})};(0,d.useRouter)();let D="";return(null===(s=window)||void 0===s?void 0:s.location)&&(D=window.location),(0,i.jsxs)("div",{className:t()("group mx-auto grid w-full max-w-[--site-max-width] gap-y-8 px-4 pt-14 sm:px-6 md:grid-cols-[266px_1fr] md:gap-x-16 md:gap-y-8 lg:px-18",(null==k?void 0:null===(a=k.modules)||void 0===a?void 0:a.length)>0?"pb-6":"pb-18"),children:[(0,i.jsx)("div",{className:"col-span-full md:col-auto md:col-start-2",children:(0,i.jsxs)("div",{className:"flex flex-col gap-6 md:gap-8",children:[(null==k?void 0:k.title)&&(0,i.jsx)(x.Z,{as:"h1",className:"h3",children:null==k?void 0:k.title}),(null==k?void 0:k.subtitle)&&(0,i.jsx)(m.Z,{document:null==k?void 0:k.subtitle}),(0,i.jsxs)("div",{className:"relative flex gap-3 py-6 text-sm font-normal before:absolute before:left-1/2 before:top-0 before:w-screen before:-translate-x-1/2 before:border-t before:border-t-neutral-300 md:before:w-full",children:[_>0&&(0,i.jsxs)(p.Z,{variant:"light",className:"inline-flex items-center justify-center gap-2",children:[(0,i.jsx)(v.Z,{name:"clock",size:20}),_," minutes to read"]}),S&&(0,i.jsxs)(p.Z,{variant:"light",className:"inline-flex items-center justify-center gap-2",children:[(0,i.jsx)(v.Z,{name:"calendar",size:20}),S]})]}),(null==k?void 0:k.featuredMedia)&&(0,i.jsx)(u.Z,{media:null==k?void 0:k.featuredMedia,className:"max-md:full-width",imageSizes:"(min-width: 1024px) 100vw, 70vw"}),Z&&(null==k?void 0:k.registrationUrl)&&(0,i.jsx)(f.Z,{href:null==k?void 0:k.registrationUrl,icon:"arrowCircleRight",variant:"primaryButton",target:"_blank",rel:"noopener noreferrer",children:"Register here"})]})}),(0,i.jsx)("div",{className:"col-span-full row-span-1 md:order-first md:col-auto md:col-start-1 md:pt-8",children:(0,i.jsx)("div",{className:"flex flex-col gap-6",children:C?(0,i.jsx)(i.Fragment,{children:E.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{as:"h3",className:"border-b border-neutral-400 pb-1 text-lg max-md:text-sm",children:"On this page"}),(0,i.jsx)("nav",{children:(0,i.jsx)("ul",{className:"flex flex-col gap-2",children:E.map((e,l)=>{let n=(0,g.mA)(e);return(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:"#".concat(n),className:"font-light underline hover:no-underline",onClick:M(n),children:e})},l)})})})]})}):(0,i.jsxs)(i.Fragment,{children:[(null==k?void 0:null===(b=k.energySolutionTypes)||void 0===b?void 0:b.length)>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{as:"h3",className:"border-b border-neutral-400 pb-1 text-lg max-md:text-sm",children:"Category Type"}),(0,i.jsx)("ul",{className:"-ml-2 -mt-2",children:null==k?void 0:null===(N=k.energySolutionTypes)||void 0===N?void 0:N.map((e,l)=>{var n,s;return(0,i.jsx)("li",{className:"inline-block",children:(0,i.jsx)(h.Z,{href:"/info-hub?category_type=".concat(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.slug),children:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.name})},l)})})]}),T&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{as:"h3",className:"border-b border-neutral-400 pb-1 text-lg max-md:text-sm",children:"Content Type"}),(0,i.jsx)("div",{className:"-ml-2 -mt-2",children:(0,i.jsx)(h.Z,{href:"/info-hub?content_types=".concat(null==k?void 0:null===(y=k.contentType)||void 0===y?void 0:null===(w=y.fields)||void 0===w?void 0:w.slug),children:T})})]}),(0,i.jsxs)("div",{className:"flex items-center justify-between gap-3 border-t border-neutral-400 pt-3 md:flex-col md:items-start md:justify-start",children:[(0,i.jsx)(x.Z,{as:"h3",className:"text-lg max-md:text-sm",children:"Share"}),(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsx)(c.r2,{title:null==k?void 0:k.title,url:D,className:"flex size-11 items-center justify-center",children:(0,i.jsxs)("span",{className:"block size-8 md:size-12",children:[(0,i.jsx)(v.Z,{name:"linkedin",size:"100%"}),(0,i.jsx)("span",{className:"sr-only",children:"Share article to LinkedIn"})]})}),(0,i.jsx)(c.Dk,{title:null==k?void 0:k.title,url:D,className:"flex size-11 items-center justify-center",children:(0,i.jsxs)("span",{className:"block size-8 md:size-12",children:[(0,i.jsx)(v.Z,{name:"facebook",size:"100%"}),(0,i.jsx)("span",{className:"sr-only",children:"Share article to Facebook"})]})})]})]})]})})}),(0,i.jsx)("div",{className:"col-span-full md:col-auto md:col-start-2",children:(null==k?void 0:k.content)&&(0,i.jsx)(m.Z,{document:null==k?void 0:k.content,imageSizes:"(min-width: 1024px) 100vw, 70vw",hasHeadingIds:C,onHeadingUpdate:C?e=>{F(l=>l.includes(e)?l:[...l,e])}:void 0})})]})}},4578:function(e,l,n){"use strict";n.r(l),n.d(l,{__N_SSG:function(){return o}});var i=n(5893),s=n(6840),t=n(6095),a=n(8990),r=n(9226),d=n(3273),o=!0;l.default=e=>{let{data:l,preview:n}=e,o=(0,s.pc)(l),{fields:c}=null!=o?o:{};return(0,i.jsxs)(r.Z,{page:l,preview:n,children:[(0,i.jsx)(d.Z,{}),(null==c?void 0:c.title)&&(0,i.jsx)("h1",{className:"sr-only",children:null==c?void 0:c.title}),(0,i.jsx)(t.Z,{fields:c,isEvent:!0}),(0,i.jsx)(a.Z,{modules:null==c?void 0:c.modules})]})}}},function(e){e.O(0,[42,264,904,551,888,774,179],function(){return e(e.s=781)}),_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.