"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2310],{22310:function(t,e,n){n.r(e),n.d(e,{BannerSliderWidgetRenderer:function(){return tp},BannerWidgetRenderer:function(){return th}});var i,o,r,a,l,s,u,d,c,g,m,h,b,p,y,f,x,v,w=n(95235),B=n(2784),G=n(11006),S=n(93781),C=n(7328),P=n(48840),T=n(81292),W=n(60299),k=n(87330),O=n(50556),j=n(51339),A=n(57209),I=n(4626),L=n(21377),R={xs:{width:"600px",height:"auto"},sm:{width:"1200px"},lg:{width:"1920px"}},M=(0,G.zo)(A.r)(i||(i=(0,C.Z)(["\n width: 100%;\n max-width: ",";\n margin: ",";\n\n grid-template-rows: auto 2fr;\n height: ",";\n text-align: ",";\n gap: ",";\n background-color: ",";\n"])),function(t){return t.containBanner?t.theme.site.siteWidth:R.lg.width},function(t){return"both"===t.hasMargin?"".concat((0,P.W0)(4)," auto"):"top"===t.hasMargin?"".concat((0,P.W0)(4)," auto 0"):"bottom"===t.hasMargin?"0 auto ".concat((0,P.W0)(4)):"none"===t.hasMargin?"0":"0 auto ".concat(t.marginBottom||(0,P.W0)(4))},function(t){return t.spacingAdjust&&R.xs.height},function(t){return t.textAlign||"center"},function(t){return t.hideGap?0:"calc(".concat(t.theme.grid.columnGap," / 2)\n calc(").concat(t.theme.grid.rowGap," * 2);")},function(t){return t.backgroundColor||"transparent"}),U=(0,G.zo)(I.P)(o||(o=(0,C.Z)(["\n margin: 0;\n min-width: 0;\n"]))),E=(0,G.zo)(L.t)(r||(r=(0,C.Z)(["\n display: block;\n width: 100%;\n height: auto;\n aspect-ratio: auto 4 / 3;\n max-width: ",";\n\n ","\n\n "," {\n max-width: ",";\n aspect-ratio: auto 5 / 2;\n }\n\n "," {\n max-width: ",";\n aspect-ratio: auto 7 / 2;\n }\n"])),R.xs.width,function(t){return t.spacingAdjust&&"object-fit: cover; height: 100%;"},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},R.sm.width,function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"lg")},R.lg.width),z=(0,G.zo)(I.P)(a||(a=(0,C.Z)(["\n display: flex;\n align-items: ",";\n width: 100%;\n max-width: ",";\n padding: 0 ",";\n min-width: 0;\n\n ","\n\n "," {\n margin: "," auto;\n }\n \n "," {\n margin: "," 0\n ",";\n ",";\n align-items: ",";\n }\n\n "," {\n padding: 0 ",";\n margin: "," auto;\n }\n }\n"])),function(t){return t.hasMoreButtons?"flex-end":t.theme.widget.banner.textAlignment},function(t){return t.increaseMaxWidth||t.spacingAdjust?R.lg.width:t.theme.site.siteWidth},(0,P.W0)(2),function(t){return t.removePointerEvents&&"pointer-events: none;"},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"md")},(0,P.W0)(4),function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return t.spacingAdjust?(0,P.W0)(3):(0,P.W0)(2)},(0,P.W0)(2),function(t){return t.spacingAdjust&&"padding: 0 ".concat((0,P.W0)(6))},function(t){return t.hasMoreButtons?"flex-end":t.theme.widget.banner.textAlignment},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"lg")},function(t){return t.increaseMaxWidth?(0,P.W0)(t.theme.widget.banner.spacePadding):(0,P.W0)(2)},(0,P.W0)(5)),q=(0,G.zo)(A.r)(l||(l=(0,C.Z)(["\n width: 100%;\n ",";\n ","\n "," {\n ","\n ","\n }\n && {\n grid-gap: 0;\n }\n"])),function(t){return(0,W.e)(t.theme.widget.banner.textContainer.margin)},function(t){return t.spacingAdjust&&"grid-template-columns: repeat( 18, [col] 1fr );"},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},(0,W.e)({top:0,right:0,bottom:0,left:0}),function(t){return t.spacingAdjust&&"grid-template-columns: repeat( 24, [col] 1fr );"}),D=(0,G.zo)(I.P)(s||(s=(0,C.Z)(["\n margin: 0;\n width: ","\n \n\n background: ",";\n\n "," {\n justify-self: center;\n }\n\n "," {\n padding: ",";\n justify-self: ",";\n }\n\n "," {\n padding: ",";\n }\n justify-self: start;\n"])),function(t){return t.hasMoreButtons&&"100%;"},function(t){return"white"===t.containerBackground&&t.theme.colors.palette.greys.white},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"xs")},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return"white"===t.containerBackground&&(0,P.W0)(3)},function(t){return t.justifySelf?t.justifySelf:"auto"},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"md")},function(t){return"white"===t.containerBackground&&(0,P.W0)(4)}),H=(0,G.zo)(O.T)(u||(u=(0,C.Z)(["\n color: ",";\n\n ",";\n width: 100%;\n margin-bottom: ",";\n padding: ",";\n text-align: ",";\n\n ","\n\n "," {\n text-align: ",";\n }\n\n "," {\n text-align: ",";\n ",";\n ","\n ","\n padding: 0 ",";\n width: ",";\n }\n\n "," {\n width: 100%;\n }\n\n "," {\n width: ",";\n ",";\n color: ",";\n text-transform: ",";\n }\n text-transform: ",";\n\n ","\n"])),function(t){return t.headingTextColor?t.headingTextColor:t.lightText?t.theme.colors.palette.greys.white:t.theme.colors.palette.greys.darker},function(t){return t.spacingAdjust?(0,k.xv)(t.theme.widget.GlobalPrimaryBanner.title.textStyle.entry,t.theme.widget.GlobalPrimaryBanner.title.textStyle.style,t.theme.widget.GlobalPrimaryBanner.title.textStyle.hasScaledText):(0,k.xv)(t.theme.widget.GlobalPrimaryBanner.title.text.textStyle.entry,t.theme.widget.GlobalPrimaryBanner.title.text.textStyle.style,t.theme.widget.GlobalPrimaryBanner.title.textStyle.hasScaledText)},(0,P.W0)(2),function(t){return"center"===t.textAlign?"0 ".concat((0,P.W0)(3)," 0"):0},function(t){return t.textAlign||"center"},function(t){return t.lightText&&t.enableBannerTextOverlay&&"color: ".concat(t.headingTextColor?t.headingTextColor:t.theme.colors.palette.greys.white,";")},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"xs")},function(t){return t.theme.widget.GlobalPrimaryBanner.textContainer.mobileAlignment||t.textAlign},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return t.textAlign||"center"},function(t){var e,n;return t.spacingAdjust?(0,k.xv)(t.theme.widget.GlobalPrimaryBanner.title.textStyle.entry,t.theme.widget.GlobalPrimaryBanner.title.textStyle.style,t.theme.widget.GlobalPrimaryBanner.title.textStyle.hasScaledText):(0,k.xv)((null===(e=t.theme.widget.GlobalPrimaryBanner)||void 0===e||null===(e=e.title)||void 0===e||null===(e=e.titleSmallfont)||void 0===e?void 0:e.textStyle.entry)||t.theme.widget.GlobalPrimaryBanner.title.text.textStyle.entry,(null===(n=t.theme.widget.GlobalPrimaryBanner)||void 0===n||null===(n=n.title)||void 0===n||null===(n=n.titleSmallfont)||void 0===n?void 0:n.textStyle.style)||t.theme.widget.GlobalPrimaryBanner.title.text.textStyle.style)},function(t){return t.centerText&&"text-align: center;"},function(t){return t.lightText&&"color: ".concat(t.headingTextColor?t.headingTextColor:t.theme.colors.palette.greys.white,";")},(0,P.W0)(3),function(t){return t.theme.widget.GlobalPrimaryBanner.title.smallDevicesWidth||t.theme.widget.GlobalPrimaryBanner.title.width},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"md")},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"lg")},function(t){return t.theme.widget.GlobalPrimaryBanner.title.width},function(t){var e,n;return t.spacingAdjust?(0,k.xv)(t.theme.widget.GlobalPrimaryBanner.title.textStyle.entry,t.theme.widget.GlobalPrimaryBanner.title.textStyle.style,t.theme.widget.GlobalPrimaryBanner.title.textStyle.hasScaledText):(0,k.xv)((null===(e=t.theme.widget.GlobalPrimaryBanner)||void 0===e||null===(e=e.title)||void 0===e||null===(e=e.titleLargefont)||void 0===e?void 0:e.textStyle.entry)||t.theme.widget.GlobalPrimaryBanner.title.text.textStyle.entry,(null===(n=t.theme.widget.GlobalPrimaryBanner)||void 0===n||null===(n=n.title)||void 0===n||null===(n=n.titleLargefont)||void 0===n?void 0:n.textStyle.style)||t.theme.widget.GlobalPrimaryBanner.title.text.textStyle.style)},function(t){return t.headingTextColor?t.headingTextColor:t.lightText?t.theme.colors.palette.greys.white:t.theme.colors.palette.greys.darker},function(t){var e;return(null===(e=t.theme.widget.GlobalPrimaryBanner.title)||void 0===e?void 0:e.textTransform)||"none"},function(t){var e;return(null===(e=t.theme.widget.GlobalPrimaryBanner.title)||void 0===e?void 0:e.textTransform)||"none"},function(t){var e,n,i,o;return t.hasMoreButtons&&(0,G.iv)(d||(d=(0,C.Z)(["\n & {\n "," {\n font-size: ",";\n line-height: ",";\n }\n font-size: ",";\n line-height: ",";\n }\n "])),function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"lg")},(null===(e=t.theme.widget.GlobalPrimaryBanner.title)||void 0===e||null===(e=e.titleExtraLarge)||void 0===e||null===(e=e.textStyle)||void 0===e||null===(e=e.lg)||void 0===e?void 0:e.fontSize)||"",(null===(n=t.theme.widget.GlobalPrimaryBanner.title)||void 0===n||null===(n=n.titleExtraLarge)||void 0===n||null===(n=n.textStyle)||void 0===n||null===(n=n.lg)||void 0===n?void 0:n.lineHeight)||"",(null===(i=t.theme.widget.GlobalPrimaryBanner.title)||void 0===i||null===(i=i.titleExtraLarge)||void 0===i||null===(i=i.textStyle)||void 0===i||null===(i=i.sm)||void 0===i?void 0:i.fontSize)||"",(null===(o=t.theme.widget.GlobalPrimaryBanner.title)||void 0===o||null===(o=o.titleExtraLarge)||void 0===o||null===(o=o.textStyle)||void 0===o||null===(o=o.sm)||void 0===o?void 0:o.lineHeight)||"")}),F=(0,G.zo)(O.T)(c||(c=(0,C.Z)(["\n ","\n ",";\n color: ",";\n\n ","\n\n &:not(:last-child) {\n margin-bottom: ",";\n }\n text-align: ",";\n width: ",";\n padding: ",";\n\n "," {\n text-align: ",";\n }\n\n "," {\n text-align: ",";\n width: ",";\n ",";\n ","\n padding: 0 ",";\n }\n"])),function(t){return(0,G.iv)(g||(g=(0,C.Z)(["\n ",";\n "])),(0,k.xv)(t.theme.widget.banner.subtitle.textStyle.entry,t.theme.widget.banner.subtitle.textStyle.style))},function(t){return t.hasMoreButtons&&(0,k.xv)("xlarge2","alternate")},function(t){return t.subtitleTextColor?t.subtitleTextColor:"white"===t.containerBackground?t.theme.colors.palette.greys.dark:t.theme.colors.palette.greys.darker},function(t){return t.lightText&&t.enableBannerTextOverlay&&"color: ".concat(t.subtitleTextColor?t.subtitleTextColor:t.theme.colors.palette.greys.white,";")},function(t){return t.hasMoreButtons?(0,P.W0)(.5):(0,P.W0)(4)},function(t){return t.textAlign||"center"},function(t){return t.theme.widget.GlobalPrimaryBanner.subtitle.width},function(t){return"center"===t.textAlign?"0 ".concat((0,P.W0)(3)," 0"):0},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"xs")},function(t){return t.theme.widget.GlobalPrimaryBanner.textContainer.mobileAlignment||t.textAlign},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return t.textAlign||"center"},function(t){return t.theme.widget.GlobalPrimaryBanner.title.smallDevicesWidth},function(t){return t.centerText&&"text-align: center"},function(t){return t.lightText&&"color: ".concat(t.subtitleTextColor?t.subtitleTextColor:t.theme.colors.palette.greys.white,";")},(0,P.W0)(3)),Z=G.zo.div(m||(m=(0,C.Z)(["\n display: flex;\n flex-wrap: wrap;\n width: ",";\n flex-direction: column;\n justify-content: ",";\n ","\n\n ","\n\n "," {\n flex-direction: ",";\n justify-self: ",";\n }\n\n "," {\n ","\n justify-self: ",";\n flex-wrap: nowrap;\n flex-direction: row;\n padding: 0 ",";\n }\n"])),function(t){return t.hasMoreButtons?"100%":"fit-content"},function(t){return t.textAlign||"center"},function(t){return"center"===t.textAlign&&"margin: auto;"},function(t){return t.hasMoreButtons&&(0,G.iv)(h||(h=(0,C.Z)(["\n "," {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n row-gap: ",";\n column-gap: ",";\n width: 100%;\n max-width: 100%;\n margin: "," 0;\n }\n\n "," {\n grid-template-columns: repeat(2, 1fr);\n }\n\n "," {\n flex-wrap: noWrap;\n margin: "," 0;\n }\n "])),(0,T.Jo)(t.theme.breakpointUtils.map,"lg"),(0,P.W0)(2),(0,P.W0)(1.25),(0,P.W0)(4),(0,T.Jo)(t.theme.breakpointUtils.map,"sm"),(0,T.mq)(t.theme.breakpointUtils.map,"lg"),(0,P.W0)(5.5))},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"xs")},function(t){return t.theme.widget.GlobalPrimaryBanner.textContainer.mobileDirection},function(t){return t.theme.widget.GlobalPrimaryBanner.textContainer.mobileAlignment||"auto"},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return t.centerText&&"justify-content: center;"},function(t){return t.textAlign},(0,P.W0)(3)),_=(0,G.zo)(j.zx)(b||(b=(0,C.Z)(["\n height: fit-content;\n\n ","\n\n pointer-events: all;\n ","\n\n "," {\n ","\n }\n\n "," {\n height: auto;\n margin-bottom: 0;\n &:not(:last-child) {\n margin-right: ",";\n }\n }\n\n ","\n\n ","\n"])),function(t){return!t.hasMoreButtons&&"margin-bottom: ".concat((0,P.W0)(2),";")},function(t){var e,n;return(null===(e=t.theme.widget.banner)||void 0===e||null===(e=e.button)||void 0===e?void 0:e.borderWidth)&&"\n &, &:hover {\n border-width: ".concat(null===(n=t.theme.widget.banner)||void 0===n||null===(n=n.button)||void 0===n?void 0:n.borderWidth,";\n }\n ")},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"xs")},function(t){return t.theme.widget.GlobalPrimaryBanner.textContainer.mobileAlignment&&"\n &:not(:last-child) {\n margin-right: ".concat((0,P.W0)(.5),";\n }\n &:last-child {\n margin-left: ").concat((0,P.W0)(.5),";\n }")},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return t.hasMoreButtons?(0,P.W0)(1.25):(0,P.W0)(2)},function(t){var e;return(null===(e=t.theme.widget.banner)||void 0===e?void 0:e.linkHover)&&"\n &:hover > a, &:active > a {\n text-decoration: ".concat(t.theme.widget.banner.linkHover.textDecoration||"inherit","\n }\n ")},function(t){return t.hasMoreButtons&&(0,G.iv)(p||(p=(0,C.Z)(["\n "," {\n a,\n a:hover,\n a:active,\n a:focus {\n padding: ",";\n }\n &:not(:last-child) {\n margin-right: 0;\n }\n &:last-child {\n margin-left: 0;\n }\n }\n "])),(0,T.Jo)(t.theme.breakpointUtils.map,"lg"),(0,P.W0)(1.25))}),V=G.zo.a(y||(y=(0,C.Z)(["\n display: block;\n\n &:focus-visible {\n outline: "," solid 3px;\n outline-offset: -3px;\n }\n"])),function(t){return t.theme.colors.palette.brand.base}),Y=G.zo.p(f||(f=(0,C.Z)(["\n ",";\n margin-bottom: ",";\n color: ",";\n\n "," {\n ",";\n ","\n }\n"])),(0,k.xv)("bodyText","alternate"),(0,P.W0)(2),function(t){return"white"===t.containerBackground?t.theme.colors.palette.greys.dark:t.theme.colors.palette.greys.darker},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},function(t){return t.centerText&&"text-align: center"},function(t){return t.lightText&&"color: ".concat(t.theme.colors.palette.greys.dark,";")}),N=(0,G.zo)(L.t)(x||(x=(0,C.Z)(["\n max-width: 100%;\n "," {\n padding: 0 "," 0;\n margin: "," auto;\n }\n "," {\n padding: 0 "," 0;\n ",";\n }\n "," {\n padding: 0 "," 0;\n }\n ",";\n"])),function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"xs")},(0,P.W0)(4),(0,P.W0)(2),function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"sm")},(0,P.W0)(8),function(t){return t.margin&&(0,W.e)(t.margin)},function(t){return(0,T.mq)(t.theme.breakpointUtils.map,"md")},(0,P.W0)(2),function(t){return t.margin&&(0,W.e)(t.margin)}),J=n(52322);function K(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function Q(t){for(var e=1;e0,m=!!t.imageLink,h=t.spacingAdjust?7:8,b=[{left:1,middle:5,right:9},{left:1,middle:h,right:14},{left:1,middle:h,right:15}],p=t.enableBannerTextOverlay||t.has6Buttons;return(0,J.jsxs)(M,{rows:2,columns:1,rowGap:0,containBanner:t.containBanner,marginBottom:t.marginBottom,spacingAdjust:t.spacingAdjust,hideGap:t.hideGap,hasMargin:t.hasMargin,backgroundColor:t.backgroundColor,children:[!t.backgroundColor&&(0,J.jsx)(U,{"data-testid":"banner-picture-grid",rowStart:1,colStart:1,colSpan:1,rowSpan:p?[2,2,2,2]:[1,2,2,2],children:(0,J.jsx)($,{picture:t.picture,useImageLink:m,imageLink:t.imageLink,logoImage:t.logoImage,title:t.title,lazy:t.lazy,fetchPriority:t.fetchPriority})}),(t.title||t.subtitle||t.ctas)&&(0,J.jsx)(z,{rowStart:[2,1,1,1],colStart:1,colSpan:1,rowSpan:[1,2,2,2],increaseMaxWidth:(null===(n=t.textContainerOptions)||void 0===n?void 0:n.width)==="full",removePointerEvents:m,spacingAdjust:t.spacingAdjust,hasMoreButtons:!t.title&&!t.subtitle&&t.has6Buttons,children:(0,J.jsx)(q,{columns:24,spacingAdjust:t.spacingAdjust,children:(0,J.jsxs)(D,{hasMoreButtons:t.has6Buttons,colSpan:t.has6Buttons?[24,24,24,24]:t.spacingAdjust?[18,16,12,12]:d.widget.banner.textColSpan,colStart:t.has6Buttons?[1,1,1,1]:t.textContainerOptions?[1,b[0][t.textContainerOptions.contentAlignment.box],b[1][t.textContainerOptions.contentAlignment.box],b[2][t.textContainerOptions.contentAlignment.box]]:1,containerBackground:t.containerBackground,justifySelf:"middle"===(null===(i=t.textContainerOptions)||void 0===i?void 0:i.contentAlignment.box)?"center":d.widget.GlobalPrimaryBanner.title.justifySelf,children:[t.highlight&&(0,J.jsx)(Y,{textAlign:null===(o=t.textContainerOptions)||void 0===o?void 0:o.contentAlignment.text,containerBackground:t.containerBackground,"data-testid":"highlight",children:t.highlight}),(null===(r=t.logoImage)||void 0===r?void 0:r.default)&&(0,J.jsx)(N,{sources:[{sourceSet:t.logoImage.white||"",media:"(max-width: 600px)"},{sourceSet:t.logoImage.default||""}],default:t.logoImage.default,alt:t.logoImage.altText,margin:d.widget.banner.logoImage.margin}),t.subtitle&&t.has6Buttons&&(0,J.jsx)(F,{renderedAs:"p",textAlign:null===(a=t.textContainerOptions)||void 0===a?void 0:a.contentAlignment.text,lightText:"light"===t.textColor,containerBackground:t.containerBackground,content:t.subtitle,enableBannerTextOverlay:p,hasMoreButtons:t.has6Buttons,subtitleTextColor:t.subtitleTextColor}),t.title&&(0,J.jsx)(H,{renderedAs:t.title.headingLevel||"h2",textAlign:null===(l=t.textContainerOptions)||void 0===l?void 0:l.contentAlignment.text,lightText:"light"===t.textColor,spacingAdjust:t.spacingAdjust,content:t.title.text,enableBannerTextOverlay:p,headingTextColor:t.headingTextColor,hasMoreButtons:t.has6Buttons}),t.subtitle&&!t.has6Buttons&&(0,J.jsx)(F,{renderedAs:"p",textAlign:null===(s=t.textContainerOptions)||void 0===s?void 0:s.contentAlignment.text,lightText:"light"===t.textColor,containerBackground:t.containerBackground,content:t.subtitle,enableBannerTextOverlay:p,hasMoreButtons:t.has6Buttons,subtitleTextColor:t.subtitleTextColor}),g&&(0,J.jsx)(Z,{textAlign:null===(u=t.textContainerOptions)||void 0===u?void 0:u.contentAlignment.text,hasMoreButtons:t.has6Buttons,children:c})]})})})]})},te=n(58406),tn=n(28885),ti=n(24986),to=n(91849);function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function ta(t){for(var e=1;e0,marginBottom:"0px",key:n}))})},[t.banners,t.widgetIndex]);return(0,J.jsx)(tl,{containBanner:t.containBanner,children:(0,J.jsx)(ti.l,{items:r,isAmp:!1,ampProps:{height:500,width:300,type:"slides",role:"region"},i18n:o,indicatorStyle:"letterbox",itemsPerSlide:1,autoPlay:t.autoPlay,hideControls:!1,buttonPlacement:to.J.Split,controlSize:null===(e=i.patterns.carousel.controls)||void 0===e?void 0:e.size,swipeable:!0,hideSlidePreview:!0,shrinkable:!0,fullWidthCarousel:null===(n=i.patterns)||void 0===n||null===(n=n.carousel)||void 0===n?void 0:n.fullWidthCarousel})})},tu=n(9139),td=n(8529),tc=function(t){var e,n,i=Object.entries(t).filter(function(t){var e=(0,td.Z)(t,1)[0];return e.startsWith("cta")&&!e.endsWith("URL")}).map(function(e){var n,i,o,r,a=(0,td.Z)(e,2),l=a[0],s=a[1];return{index:["One","Two","Three","Four","Five","Six"].indexOf(l.replace("cta","")),cta:(n=s,i=t["".concat(l,"URL")],o=t.contentTheme,r=t.ctaOverride,n&&i?{text:n,link:i,emphasis:"dark"===o||"dark"===r?"high":"medium"}:null)}}).filter(function(t){return t.cta}).sort(function(t,e){return t.index-e.index}).map(function(t){return t.cta});return{picture:t.picture,imageLink:t.bannerURL||void 0,has6Buttons:t.display6Buttons,headingTextColor:t.headingTitleColor,subtitleTextColor:t.subtitleTextColor,backgroundColor:t.backgroundColor,logoImage:{default:t.logopngImageBG,white:t.logopngWhiteBG,altText:(null==t?void 0:t.altImageLarge)||void 0},title:t.headline&&{text:t.headline,headingLevel:t.useH1&&"true"===t.useH1?"h1":"h2"}||void 0,ctas:i.length?i:void 0,subtitle:t.subtitle||"",hasMargin:(e=t.hasMargin,n=void 0,e||n),textColor:"light"===t.contentTheme?"light":"dark",textContainerOptions:{width:"full",contentAlignment:{box:t.contentBoxPosition||"middle",text:t.contentAlign||"center"}}}};function tg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function tm(t){for(var e=1;e1?{lazy:!0,fetchPriority:"auto"}:{lazy:!1,fetchPriority:"high"},i=n.lazy,o=n.fetchPriority;if(t.__typename===tu.y.GlobalGeneralImageBanner){var r={picture:t.picture,imageLink:t.linkUrl||void 0,containBanner:!0};return(0,J.jsx)(tt,tm(tm({},r),{},{lazy:i,fetchPriority:o}))}if(t.__typename===tu.y.GlobalPrimaryBanner||t.__typename===tu.y.GlobalPrimaryBannerWithList||t.__typename===tu.y.GlobalPrimaryBannerWithTextOverlay){var a,l,s=tc(t),u=!(t.__typename!==tu.y.GlobalPrimaryBannerWithTextOverlay);return(0,J.jsx)(tt,tm(tm({},s),{},{lazy:i,fetchPriority:o,marginBottom:e.widget.banner.marginBottom,hideGap:null===(a=e.widget.banner)||void 0===a?void 0:a.hideGap,enableBannerTextOverlay:u,spacingAdjust:null===(l=e.widget.GlobalPrimaryBanner)||void 0===l?void 0:l.spacingAdjust}))}if(t.__typename===tu.y.GlobalWidgetVega){var d={title:{text:t.title||""},subtitle:t.subTitle||"",ctas:[{text:t.button||"",emphasis:"high",link:t.link||""}],textContainerOptions:{width:"contained",contentAlignment:{box:"center"===t.container?"middle":t.container,text:t.textAlign}},highlight:t.highlight||"",picture:t.picture,spacingAdjust:!0};return(0,J.jsx)(tt,tm(tm({},d),{},{lazy:i,fetchPriority:o}))}return null};function tb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}var tp=function(t){if(0===t.banners.length)return null;var e={banners:t.banners.map(function(t){return tc(t)}),widgetIndex:t.widgetIndex,autoPlay:"false"!==t.isAutoSlideOn};return(0,J.jsx)(ts,function(t){for(var e=1;e