(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4907],{69011:function(e,l,t){"use strict";t.d(l,{T:function(){return i}});var n=t(50959);function i(e,l){let t=(0,n.useRef)(null),[i,r]=(0,n.useState)(!0),[a,o]=(0,n.useState)(!1),c=(0,n.useCallback)(()=>{let e=t.current;if(!e)return;let l=e.scrollWidth-e.clientWidth;r(e.scrollLeft<=1),o(e.scrollLeft>=l-1)},[]);return(0,n.useEffect)(()=>{let l=t.current;if(l&&e)return c(),l.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",c),()=>{l.removeEventListener("scroll",c),window.removeEventListener("resize",c)}},[e,c,l]),{trackRef:t,atStart:i,atEnd:a,scrollByPage:e=>{var l;let n=t.current;if(!n)return;let i=n.children.item(0),r=n.children.item(1),a=null!==(l=null==i?void 0:i.getBoundingClientRect().width)&&void 0!==l?l:0,o=i&&r?r.getBoundingClientRect().left-i.getBoundingClientRect().left:a,c=o>0?Math.floor((n.clientWidth+(o-a))/o):0,s=c>0?c*o:n.clientWidth;n.scrollBy({left:e*s})}}}},95581:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return _}});var n=t(11527),i=t(45924),r=t(19800),a=t(76141),o=t(47932),c=t(6411),s=t.n(c);let d=/^cosa\s+fare$/i;var _=function(e){var l;let{title:t,tone:c,href:_,className:u,variant:v,children:h}=e,m=(0,r.$)();if(!t)return"box"===v?(0,n.jsx)(n.Fragment,{children:h}):null;let x=d.test(t.trim())?"brand":null!==(l=(0,o.ge)(_,t,m.key))&&void 0!==l?l:c,p=(0,n.jsx)("h2",{className:s().tab,children:_?(0,n.jsx)(r.rU,{href:_,className:s().link,children:t}):t});return"box"===v?(0,n.jsxs)("section",{className:(0,i.Z)(s().cl,s()["cl--box"],s()["cl--".concat(x)],u),children:[(0,n.jsxs)("div",{className:s().head,children:[p,(0,n.jsx)(a.aZ,{className:s().corner})]}),h]}):(0,n.jsxs)("div",{className:(0,i.Z)(s().cl,s()["cl--".concat(x)],u),children:[p,(0,n.jsx)(a.yt,{className:s().corner})]})}},4907:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return g}});var n=t(11527),i=t(50959),r=t(45924),a=t(19800),o=t(15181),c=t(51853),s=t(20479),d=t(69011),_=t(95581),u=t(65636),v=t(36037),h=t(16374),m=t(44016),x=t(68064),p=t.n(x);function f(e,l,t){return e.map((e,n)=>{var i,r,a;let s=(0,o.DW)(e)||"";return{key:e.id||s||String(n),href:s,title:(0,h.K)(e.title),overline:null!==(i=(0,o.FW)(e))&&void 0!==i?i:"",live:(0,c.Jj)(e),summary:null!==(r=e.text)&&void 0!==r?r:void 0,accent:t(e),image:null!==(a=(0,o.jT)(e.media))&&void 0!==a?a:l,position:e["data-k5a-pos"]}})}function V(e){let{item:l,sizes:t,withSummary:i,onSelect:o}=e,s=i?(0,h.K)(l.summary):"";return(0,n.jsx)("li",{className:p().item,children:(0,n.jsxs)(a.rU,{href:l.href||"/",className:p().card,...l.position?{"data-k5a-pos":l.position,onClick:()=>o(l)}:{},children:[(0,n.jsx)("div",{className:p().media,children:(0,n.jsx)(a.Ee,{src:l.image,alt:"",width:328,format:"16:9",sizes:t,loading:"lazy"})}),(0,n.jsxs)("div",{className:p().body,children:[l.live&&(0,n.jsx)(c.xP,{}),l.overline&&(0,n.jsx)("span",{className:(0,r.Z)(p().overline,l.accent&&p()["overline--".concat(l.accent)]),children:l.overline}),(0,n.jsx)("h3",{className:p().title,children:l.title}),s&&(0,n.jsx)("p",{className:p().summary,children:s})]})]})})}function b(e){let{items:l,onSelect:t}=e,i=l.length>2,a=1===l.length?"(min-width: 1024px) 427px, 281px":2===l.length?"(min-width: 1024px) 176px, 281px":"(min-width: 1680px) 390px, (min-width: 1024px) 306px, 281px",{trackRef:o,atStart:c,atEnd:s,scrollByPage:_}=(0,d.T)(i,l.length);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ul",{ref:o,className:p().list,role:"list",children:l.map(e=>(0,n.jsx)(V,{item:e,sizes:a,withSummary:1===l.length,onSelect:t},e.key))}),i&&(0,n.jsxs)("div",{className:(0,r.Z)(p().controls,l.length<=3&&p()["controls--tablet"]),children:[(0,n.jsx)("button",