(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3144],{39276:function(e,t,i){"use strict";i.d(t,{w:function(){return v}});var n=i(42247),r=i(1662),a=i(1030),o=i(37278),l=i(3804),s=i(18800),c=i(28311),d=i(75414),u=i.n(d),g=i(30218),p=i(19207),m=function(e){var t=e.title,i=e.posts,d=e.containsLcp,u=e.handleClickEventTracking,m=e.eventCategory,v=(0,l.t)((0,s.p)({max:"xs"}));return(0,p.jsx)(g.w,{"aria-label":t||void 0,children:(0,p.jsxs)(n.x,{margin:{bottom:5},children:[(0,p.jsx)(g.Z,{className:"top"}),t&&(0,p.jsx)(r.D,{styleType:"display600",as:"h3",className:"layout-title",gutter:0,children:t}),(0,p.jsx)(a.X,{children:i.map(function(e,t){var i,n,r,a,l,s;return(!v||t<=1)&&(0,p.jsx)(o.J,{xs:12,sm:6,md:3,lg:3,children:(0,p.jsx)(c.r,{cardStyle:{gap:"0.3rem",padding:"0.2rem",alignSelf:"stretch",marginTop:"0.5rem"},featuredImage:{imageUrl:null==e||null===(i=e.featuredImage)||void 0===i||null===(i=i.node)||void 0===i?void 0:i.sourceUrl,altText:(null==e||null===(n=e.featuredImage)||void 0===n||null===(n=n.node)||void 0===n?void 0:n.altText)||(null==e?void 0:e.title)||(null==e||null===(r=e.categories)||void 0===r||null===(r=r.nodes[0])||void 0===r?void 0:r.name),isLcp:0===t&&d},title:null==e?void 0:e.title,articleLink:null==e?void 0:e.uri,category:null==e||null===(a=e.categories)||void 0===a||null===(a=a.nodes[0])||void 0===a?void 0:a.name,categoryLink:null==e||null===(l=e.categories)||void 0===l||null===(l=l.nodes[0])||void 0===l?void 0:l.uri,featuredImageLink:null==e?void 0:e.uri,excerpt:e.excerpt,tags:null==e||null===(s=e.tags)||void 0===s?void 0:s.nodes.map(function(e){return e.name}),handleClickEventTracking:u,eventCategory:m,position:t+1})},e.uri)})})]})})};m.propTypes={title:u().string,posts:u().array.isRequired,containsLcp:u().bool};var v=m},85847:function(e,t,i){"use strict";var n=i(75414),r=i.n(n),a=i(81431),o=i(35653),l=i(2692),s=i(75357),c=i(95254),d=i(92929),u=i(5957),g=i(41287),p=i(77153),m=i(98180),v=i(40197),f=i(66095),y=i(8015),x=i.n(y),h=i(68727),j=i(78676),b=i(36953),k=i(20203),w=i(43856),O=i(19207);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function S(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?L(Object(i),!0).forEach(function(t){var n,r;n=t,r=i[t],(n=function(e){var t=function(e,t){if("object"!==T(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!==T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===T(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):L(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}var P=f.ZP.article.withConfig({componentId:"sc-imw3oh-0"})(["a{text-decoration:none;}a:hover{text-decoration:underline;}.card-media img{width:100%;height:auto;}.featured-image-link:hover{text-decoration:none;}.vertical-image-text-card-wrapper{height:100%;}.vertical-image-text-card-container{height:100%;}"]),_=(0,f.ZP)(a.e).withConfig({componentId:"sc-imw3oh-1"})(["padding-top:0 !important;"]),N=function(e){var t=e.featuredImage,i=e.excerpt,n=void 0===i?"":i,r=e.category,a=e.title,f=e.titleFormat,y=e.author,T=e.responsiveOptions,L=e.cardStyle,N=e.categoryLink,C=e.authorLink,E=e.articleLink,I=e.featuredImageLink,D=e.tags,Z=e.className,R=e.handleClickEventTracking,A=e.position,X=e.eventCategory,J=void 0===X?"default_category":X,U=e.breakpoints,q=S({gap:"0.1rem"},void 0===T?{}:T),F=(0,j.S)(void 0===D?[]:D),M=function(){(0,w.cM)(R,A,J)};return(0,O.jsx)(P,{"data-eventitem":"card-wrapper",className:["vertical-image-text-card-wrapper",Z].filter(Boolean).join(" "),children:(0,O.jsxs)(o.Z,{className:"vertical-image-text-card-container",style:void 0===L?{}:L,responsiveOptions:q,styleType:"flat",children:[(0,O.jsxs)(x(),{href:void 0===I?"":I,"aria-label":"link to ".concat(a," article"),className:"featured-image-link",onClick:M,children:[(0,O.jsxs)(l.Z,{"data-eventitem":"card-media",ratio:[16,9],defaultImageStyles:!1,children:[(0,O.jsx)(m.Q,S({"data-eventitem":"card-featured-image",imageUrl:(null==t?void 0:t.imageUrl)||v.t,altText:null==t?void 0:t.altText,isLcp:null==t?void 0:t.isLcp},U&&{breakpoints:U})),(null==E?void 0:E.includes("/video"))&&(0,O.jsx)(h.Z,{})]}),(null==t?void 0:t.imageCredit)&&(0,O.jsx)(k.k,{imageCredit:null==t?void 0:t.imageCredit,align:"right"})]}),(0,O.jsx)(s.a,{className:"vertical-image-card-content",children:(0,O.jsxs)(c.k,{flexDirection:"column",children:[r&&(0,O.jsx)(d.M,{categoryName:r,categoryLink:void 0===N?"":N,as:"span",className:"category-name"}),(0,O.jsx)(x(),{href:E,onClick:M,children:(0,O.jsx)(u.D,{"data-eventitem":"card-title",title:a,type:void 0===f?"cardTitle":f,className:"card-title"})}),n&&(0,O.jsx)(g.T,{"data-eventitem":"card-excerpt",excerpt:n,gutter:{top:3}}),F&&(0,O.jsx)(b.T,S({},F))]})}),y&&(0,O.jsx)(_,{children:(0,O.jsx)(p.U,{name:y,link:void 0===C?"":C,"data-eventitem":"card-author"})})]})})};t.Z=N,N.propTypes={featuredImage:r().object,cardStyle:r().object,excerpt:r().string,title:r().string.isRequired,titleFormat:r().string,author:r().string,category:r().string,responsiveOptions:r().object,onClick:r().func,categoryLink:r().string,authorLink:r().string,articleLink:r().string.isRequired,featuredImageLink:r().string,handleClickEventTracking:r().func,position:r().number,eventCategory:r().string}},28311:function(e,t,i){"use strict";i.d(t,{r:function(){return n.Z}});var n=i(85847)},28295:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return w},default:function(){return O}});var n=i(2700);i(46492),i(58567);var r=i(42247),a=i(1030),o=i(37278),l=i(1662),s=i(56557),c=i(3804),d=i(18800),u=i(66132),g=i(19757),p=i(75414),m=i.n(p),v=i(39276),f=i(6349),y=i(54063),x=i(24923),h=i(94582),j=i(55821),b=i(19207);function k(e){var t,i=e.category,p=e.mostPopular,m=(0,n.useRef)(null),k=(0,f.useRouter)().isFallback,w=(0,c.t)((0,d.p)({max:"xs"}));if((0,g.Oi)("news",null==i?void 0:i.slug),k)return(0,b.jsx)(y.Y,{});var O=((null===(t=i.posts.nodes[0])||void 0===t||null===(t=t.tags)||void 0===t?void 0:t.nodes)||[]).map(function(e){return e.name});return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(r.x,{display:"none",children:(0,b.jsx)(h.Z,{unit:"PIXEL",className:"ads-author-pixel"})}),(0,b.jsxs)(a.X,{children:[(0,b.jsxs)(o.J,{md:9,children:[(0,b.jsx)(l.D,{as:"h1",styleType:"display700",children:i.name}),(0,b.jsx)(l.D,{dangerouslySetInnerHTML:{__html:i.description?(0,j.sanitize)(i.description,{ALLOWED_TAGS:["p","strong","em","b","i","br","span","a"],ALLOWED_ATTR:["href","target","rel","class"]}):""},gutter:{y:5}})]}),!w&&(0,b.jsx)(o.J,{md:3,children:(0,b.jsx)("aside",{"aria-label":"Advertisements",children:(0,b.jsx)(r.x,{margin:{bottom:10},textAlign:"center",minHeight:"250px",children:(0,b.jsx)(h.Z,{unit:"RR1"})})})})]}),(null==p?void 0:p.length)&&(0,b.jsx)(a.X,{children:(0,b.jsx)(o.J,{children:(0,b.jsx)(v.w,{title:"Most popular ".concat(i.name," articles"),posts:p,containsLcp:!0})})}),(0,b.jsxs)(a.X,{ref:m,children:[(0,b.jsx)(o.J,{children:(0,b.jsx)(s.y,{children:(0,b.jsx)(u.c,{isSearchPage:!1,heading:"All ".concat(null==i?void 0:i.name," articles"),headingType:"h2",filters:[{field:"category",values:[null==i?void 0:i.name],type:"any",isNotDismissible:!0}]})})}),(0,b.jsx)(h.Z,{unit:"OOP"}),(0,b.jsx)(x.v,{adSlotsType:"category",category:null==i?void 0:i.slug,wptag:O})]})]})}k.propTypes={category:m().object.isRequired,mostPopular:m().array};var w=!0,O=k},65959:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/[category]",function(){return i(28295)}])}},function(e){e.O(0,[3128,7081,2563,1895,182,1996,1131,2504,6132,4716,2888,9774,179],function(){return e(e.s=65959)}),_N_E=e.O()}]);
//# sourceMappingURL=[category]-e433e634fd575d16.js.map