(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{1292:function(t,e,l){var content=l(1676);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,l(39).default)("1772731c",content,!0,{sourceMap:!1})},1293:function(t,e,l){var content=l(1678);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,l(39).default)("70134bdf",content,!0,{sourceMap:!1})},1294:function(t,e,l){var content=l(1680);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,l(39).default)("4e0c3268",content,!0,{sourceMap:!1})},1675:function(t,e,l){"use strict";l(1292)},1676:function(t,e,l){var o=l(38)((function(i){return i[1]}));o.push([t.i,".c-listingFilter{background-color:unset;border:none;margin-top:.5rem;padding:0 0 .5rem;height:unset;text-transform:unset;color:#505259;cursor:pointer;font-size:10px;line-height:12px}.c-listingFilter-selected{box-shadow:0 2px 0 -1px #080a12;color:#080a12}",""]),o.locals={},t.exports=o},1677:function(t,e,l){"use strict";l(1293)},1678:function(t,e,l){var o=l(38)((function(i){return i[1]}));o.push([t.i,".c-listingFilterBar{grid-gap:1rem;font-size:.813rem}",""]),o.locals={},t.exports=o},1679:function(t,e,l){"use strict";l(1294)},1680:function(t,e,l){var o=l(38)((function(i){return i[1]}));o.push([t.i,".c-listingFiveStory_heading{grid-gap:1.25rem}.c-listingFiveStory_heading .c-sectionHeading{border:none;margin-bottom:.5rem}@media(min-width: 1024px){.c-listingFiveStory_heading .c-sectionHeading{margin-bottom:1.5rem}}.c-listingFiveStory_titleWrapper{grid-gap:0;margin-bottom:1.5rem}@media(min-width: 1024px){.c-listingFiveStory_titleWrapper{flex-direction:row;align-items:center;grid-gap:1.25rem;margin-bottom:0}}.c-listingFiveStory_seeAll{margin-left:auto;font-size:.813rem;font-weight:400;color:#080a12;grid-gap:.25rem}.c-listingFiveStory_seeAll-topic{display:none}@media(min-width: 1024px){.c-listingFiveStory_seeAll-topic{display:inline}}.c-listingFiveStory_seeAll svg{width:1rem;aspect-ratio:1}.c-listingFiveStory_seeAll:hover{color:#0058d5}.c-listingFiveStory_seeAll:hover svg{fill:#0058d5}.c-listingFiveStory_container{margin-bottom:1.5rem}@media(min-width: 768px){.c-listingFiveStory_container{flex-direction:row;gap:0 1.5rem;margin-bottom:2rem}}.c-listingFiveStory_first-item-container,.c-listingFiveStory_additional-items-container{width:100%}@media(min-width: 768px){.c-listingFiveStory_first-item-container,.c-listingFiveStory_additional-items-container{width:50%}}.c-listingFiveStory_additional-items-container{display:grid;gap:1rem;grid-template-columns:1fr 1fr}@media(min-width: 768px){.c-listingFiveStory_additional-items-container{gap:1.5rem}}.c-listingFiveStory_image{display:block;width:100%}.c-listingFiveStory_item{position:relative;color:#080a12;flex-direction:column}.c-listingFiveStory_item span{color:inherit;font-size:1rem;line-height:1.375rem;margin-bottom:0}.c-listingFiveStory_item--first span{margin-bottom:.5rem}@media(min-width: 768px){.c-listingFiveStory_item--first span{font-size:2.25rem;line-height:2.275rem}}.c-listingFiveStory_item:hover{color:#0058d5}.c-listingFiveStory_item:hover img{opacity:.8}",""]),o.locals={},t.exports=o},1735:function(t,e,l){"use strict";l.r(e);var o=l(0),n=l(3),r=l(930),c=(l(54),l(5),l(6),l(27)),d=l(59),m=l(340),v=l(65),_=l(12),f=Object(_.defineComponent)({name:"ListingFilter",props:{filter:{default:()=>({filterKey:"",filterLabel:""}),type:Object},selected:{default:!1,type:Boolean}},methods:{handleClick(){this.selected||this.$emit("filter-click",this.filter.filterKey)}}}),y=(l(1675),l(11)),h=Object(y.a)(f,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("button",{staticClass:"c-listingFilter",class:{"c-listingFilter-selected":t.selected},on:{click:t.handleClick}},[t._v("\n "+t._s(t.filter.filterLabel)+"\n")])}),[],!1,null,null,null).exports,F=Object(_.defineComponent)({name:"ListingFilterBar",components:{ListingFilter:h},props:{filters:{default:()=>[],type:Array},selectedFilter:{default:"",type:String}},methods:{handleFilterClick(t){this.$emit("filter-click",t)}}}),x=(l(1677),Object(y.a)(F,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"c-listingFilterBar u-flexbox"},t._l(t.filters,(function(filter){return e("ListingFilter",{key:filter.filterKey,attrs:{filter:filter,selected:t.selectedFilter===filter.filterKey},on:{"filter-click":t.handleFilterClick}})})),1)}),[],!1,null,null,null).exports),O=class extends n.Vue{constructor(){super(...arguments),this.selectedFilter="",this.viewCorrelationId=Object(c.v4)()}get dedupedItems(){var t=this.$store.getters["dynamicComponents/dedupedFiveStoryFeatureItemsByComponentId"](this.componentId);return t&&t.length>0?t.map((t=>{var e;return null===(e=this.items)||void 0===e?void 0:e.find((e=>e.id===t))})):this.items}get filteredItems(){var t,e,l;return(null===(t=this.filters)||void 0===t?void 0:t.length)>0&&(null===(e=this.dedupedItems)||void 0===e?void 0:e.length)>0?null===(l=this.dedupedItems)||void 0===l?void 0:l.filter((t=>t.filterKey===this.selectedFilter)):null}get listingItems(){var t=this.filteredItems||this.dedupedItems;return(null==t?void 0:t.length)>0?t.slice(1,this.limit):[]}get firstListingItem(){var t=this.filteredItems||this.dedupedItems;return(null==t?void 0:t.length)>0?t[0]:null}get filters(){var t,e=[];this.dedupedItems&&(null===(t=this.dedupedItems)||void 0===t||t.forEach((t=>{t.filterKey&&!e.find((filter=>filter.filterKey===t.filterKey))&&e.push({filterKey:t.filterKey,filterLabel:t.filterLabel})})));return e}selectFilter(t){this.selectedFilter=t}trackClick(){var t,text=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,l=null===(t=(arguments.length>1?arguments[1]:void 0).target)||void 0===t?void 0:t.closest("a"),o=null==l?void 0:l.href;this.$track(d.a).with({view_correlation_id:this.viewCorrelationId,outbound_url:o,type:"LINK",element_label:text,position:e+1,location:"BODY"}).fire()}created(){var t;this.selectedFilter=(null===(t=this.filters[0])||void 0===t?void 0:t.filterKey)||""}};Object(o.__decorate)([Object(n.Prop)({default:void 0}),Object(o.__metadata)("design:type",String)],O.prototype,"heading",void 0),Object(o.__decorate)([Object(n.Prop)({default:()=>[],type:Array}),Object(o.__metadata)("design:type",Array)],O.prototype,"items",void 0),Object(o.__decorate)([Object(n.Prop)({default:null,type:String}),Object(o.__metadata)("design:type",String)],O.prototype,"componentId",void 0),Object(o.__decorate)([Object(n.Prop)(),Object(o.__metadata)("design:type",Number)],O.prototype,"limit",void 0),Object(o.__decorate)([Object(n.Prop)({default:null,type:Object}),Object(o.__metadata)("design:type",Object)],O.prototype,"topic",void 0),Object(o.__decorate)([Object(n.Prop)({default:"topic-5-story-feature"}),Object(o.__metadata)("design:type",String)],O.prototype,"trackingElementType",void 0);var j=O=Object(o.__decorate)([Object(n.Component)({components:{CmsImage:m.a,GlobalLink:v.a,ListingFilterBar:x}})],O),S=(l(1679),Object(y.a)(j,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"c-listingFiveStory"},[e("div",{staticClass:"c-listingFiveStory_heading g-border-thin-dark-top u-flexbox u-flexbox-alignCenter"},[e("div",{staticClass:"c-listingFiveStory_titleWrapper u-flexbox-column"},[t.heading?e("h3",{staticClass:"c-sectionHeading"},[t._v(t._s(t.heading))]):t._e(),t._v(" "),t.filters.length>1?e("ListingFilterBar",{attrs:{filters:t.filters,"selected-filter":t.selectedFilter},on:{"filter-click":t.selectFilter}}):t._e()],1),t._v(" "),t.topic&&t.topic.slug&&t.topic.label?e("GlobalLink",{staticClass:"c-listingFiveStory_seeAll u-flexbox",attrs:{to:{name:"topic",params:{slug:t.topic.slug}}}},[e("span",{domProps:{innerHTML:t._s(t.$t("see_all_topic",{topic:t.topic.label}))}}),t._v(" "),e("svg",[e("use",{attrs:{"xlink:href":"#rightArrow"}})])]):t._e()],1),t._v(" "),e("div",{staticClass:"c-listingFiveStory_container u-flexbox-column u-flexbox-justifyBetween u-flexbox-alignFlexStart .g-outer-spacing-bottom-medium"},[t.firstListingItem?e("div",{staticClass:"c-listingFiveStory_first-item-container"},[e("GlobalLink",{key:t.firstListingItem.id,staticClass:"c-listingFiveStory_item u-flexbox c-listingFiveStory_item--first",attrs:{to:{name:t.$routeNameForObject(t.firstListingItem),params:{slug:t.firstListingItem.slug},_object:t.firstListingItem}},nativeOn:{click:function(e){return t.trackClick(t.firstListingItem.promoTitle||t.firstListingItem.title,e)}}},[t.firstListingItem.image?e("CmsImage",{staticClass:"c-listingFiveStory_image g-outer-spacing-bottom-xsmall",attrs:{"alt-text":t.firstListingItem.image.alt,image:t.firstListingItem.image,"lazy-load":!0,size:"longform_hero"}}):t._e(),t._v(" "),e("span",{staticClass:"g-text-small-bold"},[t._v("\n "+t._s(t.firstListingItem.promoTitle||t.firstListingItem.title)+"\n ")]),t._v(" "),e("p",{staticClass:"c-listingFiveStory_description g-text-xsmall"},[t._v(t._s(t.firstListingItem.description))])],1)],1):t._e(),t._v(" "),e("div",{staticClass:"c-listingFiveStory_additional-items-container"},t._l(t.listingItems,(function(l,i){return e("GlobalLink",{key:l.id,staticClass:"c-listingFiveStory_item u-flexbox c-listingFiveStory_item--additional",attrs:{to:{name:t.$routeNameForObject(l),params:{slug:l.slug},_object:l}},nativeOn:{click:function(e){return t.trackClick(l.title,e,i)}}},[l.image?e("CmsImage",{staticClass:"c-listingFiveStory_image g-outer-spacing-bottom-xsmall",attrs:{"alt-text":l.image.alt,image:l.image,"lazy-load":!0,size:"article_schema_16x9"}}):t._e(),t._v(" "),e("span",{staticClass:"g-text-small-bold"},[t._v("\n "+t._s(l.promoTitle||l.title)+"\n ")])],1)})),1)])])}),[],!1,null,null,null).exports),C=class extends r.a{get topic(){var t,e;return{slug:(null===(t=this.component)||void 0===t?void 0:t.slug)||"",label:(null===(e=this.component)||void 0===e?void 0:e.componentLabel)||""}}};Object(o.__decorate)([Object(n.Prop)({default:null,type:Object}),Object(o.__metadata)("design:type",Object)],C.prototype,"component",void 0);var I=C=Object(o.__decorate)([Object(n.Component)({name:"FiveStoryFeature",components:{ListingFiveStory:S}})],C),k=Object(y.a)(I,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"c-FiveStoryFeature"},[t.component.items?e("ListingFiveStory",{attrs:{items:t.component.items,heading:t.component.title,"component-id":t.component.id,limit:5,topic:t.topic}}):t._e()],1)}),[],!1,null,null,null);e.default=k.exports},930:function(t,e,l){"use strict";l(5),l(141),l(6);var o=l(0),n=l(3),r=l(27),c=l(59),d=class extends n.Vue{constructor(){super(...arguments),this.viewCorrelationId=Object(r.v4)()}trackClick(t,e){var l,o,n,r=null===(l=t.target)||void 0===l?void 0:l.closest("a"),d=null==r?void 0:r.href,text=(null==r?void 0:r.title)||(null==r?void 0:r.text),m=this.elementType||(null===(o=this.component)||void 0===o||null===(o=o.meta)||void 0===o?void 0:o.componentName);null!=this&&this.elementType&&null!=e&&e.append&&(m="".concat(null===(n=this.elementType.split("|"))||void 0===n?void 0:n[0],"-").concat(e.append));this.$track(c.a).with({view_correlation_id:this.viewCorrelationId,outbound_url:d,type:"COMPONENT",name:m,position:(null==e?void 0:e.position)||null,element_label:(null==e?void 0:e.text)||(null==text?void 0:text.trim())||"",location:"FEATURE"}).fire()}};Object(o.__decorate)([Object(n.Prop)({default:null,type:Object}),Object(o.__metadata)("design:type",Object)],d.prototype,"layout",void 0),Object(o.__decorate)([Object(n.Prop)({default:null,type:String}),Object(o.__metadata)("design:type",String)],d.prototype,"elementType",void 0),Object(o.__decorate)([Object(n.Prop)({default:null,type:Object}),Object(o.__metadata)("design:type",void 0)],d.prototype,"component",void 0);var m=d=Object(o.__decorate)([Object(n.Component)({})],d),v=l(11),component=Object(v.a)(m,(function(){var t=this._self._c;this._self._setupProxy;return t("div")}),[],!1,null,null,null);e.a=component.exports}}]);