1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3551],{55547:(e,l,r)=>{r.d(l,{A:()=>v});var i=r(37876),s=r(96851),a=r(14232),t=r(97719),c=r(40876),n=r(60929),d=r(54587),o=r.n(d),u=r(48230),_=r.n(u),p=r(50289);let m=["blog_article","whitepaper","e_book","guide","research","podcast","video"],h=e=>{let{resource:l}=e,r=(0,s.c)(),t=(0,a.useCallback)(()=>{var e;let r=null==l?void 0:l.field_media_url,s=(null==l?void 0:l.field_media_url)||"",a=null!=(e=l.alt)?e:"no alt";return r?(0,i.jsx)("div",{className:"c-resource-preview__image position-relative",children:(0,i.jsx)(o(),{fill:!0,src:s,alt:a})}):null},[l.alt,null==l?void 0:l.field_media_url]),c=(0,a.useCallback)(()=>{let e=l.type;return(null==l?void 0:l.field_media_url)?(0,i.jsx)("div",{className:"c-resource-preview__tag c-resource-preview__tag--".concat(e),children:r.raw("resourcepreview_".concat(e))}):null},[null==l?void 0:l.field_media_url,l.type,r]),n=(0,a.useCallback)(()=>{let e=l.title||"";return(0,i.jsx)("h4",{className:"c-resource-preview__title",children:e})},[l.title]),d=(0,a.useCallback)(()=>{let e=(null==l?void 0:l.field_overview_description)||(null==l?void 0:l.processed);return e?(0,i.jsx)("div",{className:"clamp rich-text c-resource-preview__description",dangerouslySetInnerHTML:{__html:e}}):null},[null==l?void 0:l.field_overview_description,null==l?void 0:l.processed]),u=(0,a.useCallback)(()=>{let e=l.field_first_name,s=l.field_last_name,a=[e,s].filter(Boolean).join(" ");return e||s?(0,i.jsx)("span",{className:"c-resource-preview__person",children:"".concat(r.raw("resourcepreview_by")," ").concat(a)}):null},[l.field_first_name,l.field_last_name,r]),h=(0,a.useCallback)(()=>{let e=m.includes(l.type)?l.field_publication_date:l.field_start_date;return(0,i.jsx)("span",{className:"c-resource-preview__date",children:(0,p.FV)(e)})},[l]);return(0,i.jsx)(_(),{className:"d-flex flex-column col-lg-4 col-sm-6 relative",prefetch:!1,href:l.url,locale:l.search_api_language,children:(0,i.jsx)("div",{className:"h-100",children:(0,i.jsxs)("div",{className:"c-resource-preview",children:[t(),c(),(0,i.jsxs)("div",{className:"c-resource-preview__text-wrapper",children:[n(),d(),(0,i.jsxs)("div",{className:"c-resource-preview__person-date-wrapper",children:[u(),h()]})]})]})})},l.uuid)},v=e=>{let{resources:l}=e,r=(0,s.c)(),d=(0,a.useCallback)(()=>(0,i.jsx)(t.A,{className:"c-related-articles-container",children:null==l?void 0:l.map(e=>(0,i.jsx)(h,{resource:e},e.uuid))}),[l]);return(0,i.jsx)(c.A,{className:"c-related-articles",children:(0,i.jsx)(t.A,{children:(0,i.jsxs)(n.A,{children:[(0,i.jsx)("h2",{className:"text-center c-related-articles__title",children:r.raw("blogarticle_relatedarticles")}),d()]})})})}},93551:(e,l,r)=>{r.r(l),r.d(l,{default:()=>m});var i=r(37876),s=r(96851),a=r(14232),t=r(97719),c=r(60929),n=r(40876),d=r(34824),o=r(50289),u=r(7918),_=r(55547),p=r(65364);let m=e=>{var l,r,m,h,v,x;let{page:b,children:f,resources:j}=e,g=(0,d.useRouter)(),w=(0,s.c)(),N=null==(l=b.relationships.field_media)?void 0:l.data,A=b.relationships.field_person.data,C=null==A||null==(m=A.relationships)||null==(r=m.field_media)?void 0:r.data,{field_publication_date:k,field_reading_duration:y,title:L}=b.attributes,E=(0,a.useCallback)(()=>{var e,l,r;return(0,i.jsxs)("div",{className:"c-blog-article__person-wrapper mt-3",children:[C&&(0,i.jsx)(u.A,{item:C,height:96,width:96,wrapperClass:"align-self-center c-blog-article__person-wrapper--img",imageClass:"rounded-circle"}),(0,i.jsxs)("div",{className:"d-flex flex-column c-blog-article__person-wrapper--text",children:[(0,i.jsxs)("p",{className:"m-0 font-weight-bold c-blog-article__person-wrapper--text-name",children:[null==A||null==(e=A.attributes)?void 0:e.field_first_name," ",null==A||null==(l=A.attributes)?void 0:l.field_last_name]}),(null==A?void 0:A.attributes.field_job_title)?(0,i.jsx)("p",{className:"m-0 c-blog-article__person-wrapper--text-job-title",children:null==A?void 0:A.attributes.field_job_title}):null,(null==A||null==(r=A.attributes.field_description)?void 0:r.processed)?(0,i.jsx)("div",{className:"mt-2 rich-text c-blog-article__person-wrapper--text-description",dangerouslySetInnerHTML:{__html:null==A?void 0:A.attributes.field_description.processed}}):null]})]})},[null==A||null==(h=A.attributes.field_description)?void 0:h.processed,null==A||null==(v=A.attributes)?void 0:v.field_first_name,null==A?void 0:A.attributes.field_job_title,null==A||null==(x=A.attributes)?void 0:x.field_last_name,C]);return(0,i.jsxs)("section",{className:"c-blog-article",children:[(0,i.jsxs)("section",{className:"section-box c-blog-article__hero",children:[N?(0,i.jsx)(u.A,{item:N,wrapperClass:"mt-lg-0 c-blog-article__hero--image"}):null,(0,i.jsx)("h1",{itemProp:"name",className:"align-self-lg-end mb-0 c-blog-article__hero--title",children:L}),(0,i.jsx)("meta",{itemProp:"headline",content:L}),(0,i.jsx)("meta",{itemProp:"datePublished",content:k}),(0,i.jsxs)("aside",{className:"c-blog-article__hero--date",children:[(0,i.jsx)("time",{children:(0,o.Ay)(k,p.env.DEFAULTLOCALE||(null==g?void 0:g.locale))}),y?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"c-blog-article__separator",children:"-"}),(0,i.jsxs)("span",{className:"c-blog-article__reading-time",children:[w.raw("blogarticle_readingtime"),": ",y," ",w.raw("blogarticle_minutes")]})]}):null]})]}),(0,i.jsxs)(n.A,{fluid:!0,className:"mt-5",children:[(0,i.jsx)(t.A,{className:"justify-content-center",children:(0,i.jsxs)(c.A,{className:"c-blog-article__column",children:[f,A?E():null]})}),(0,i.jsx)("section",{className:"section-box",children:(0,i.jsx)(_.A,{resources:null==j?void 0:j.hits})})]})]})}}}]);
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.