1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9628],{2133:function(e,o,a){a.d(o,{WQ:function(){return l},Xt:function(){return n},pN:function(){return r}});var t=a(91785),s=a(61455),i=a(34726);const r={name:"rsic3v",styles:"background-color:rgba(0, 0, 0, 0.8);overflow-y:auto"},n=(0,t.AH)("transform-origin:center center;transition:opacity 200ms,transform 200ms;width:90vw;padding:0;margin:auto 0;max-width:800px;max-height:450px;box-shadow:0 0 10px 3px rgba(0, 0, 0, 0.3);z-index:",i.f.surface,";.classIframeVideoWrapper &{aspect-ratio:16/9;}.classIframeVideo{border:0;height:100%;left:0;position:absolute;top:0;width:100%;}",""),l=(0,t.AH)("opacity:0.5;animation:",s.qG," 250ms ease-in forwards;","")},9628:function(e,o,a){a.r(o),a.d(o,{HomePromos:function(){return R}});var t=a(63696),s=a(10898),i=a(27487),r=a(5130),n=a(81453),l=a(58891),m=a(26885);var d=a(650),c=a(75190),p=a(91144),u=a(20045),h=a(93620),g=a(71995),b=a(4507),w=a(8602),x=a(88232),f=a(5833),v=a(66532),k=a(91785),H=a(54172),C=a(17474),P=a(5826),y=a(26256),M=a(72515),Y=a(36557);const W="10px",A={name:"1tidq0m",styles:"width:auto;margin:0 2px 0 0;position:relative;&:hover .classHomePromosTextWrapper{transition:max-height 400ms ease-in;max-height:400px;}"},I={name:"1bs7qd7",styles:"&:hover{text-decoration:none;}"},S={name:"bjn8wh",styles:"position:relative"},T=(0,k.AH)("",""),N={name:"1d3w5wq",styles:"width:100%"},V=(0,k.AH)("width:100%;",(0,P.HG)(d.f.md),"{position:absolute;bottom:0;left:0;}",""),B=(0,k.AH)((0,C.X_)(),";font-size:16px;text-align:left;text-transform:uppercase;white-space:nowrap;color:",Y.X.white,";margin:0;padding:10px;background-color:rgba(0, 0, 0, 0.8);max-height:45px;&:hover{.classTextDark &,.classTextLight &{color:",Y.X.white,";}}",""),D=(0,k.AH)("background:rgba(0, 0, 0, 0.6);max-height:0;overflow:hidden;transition:max-height 400ms cubic-bezier(0.01, 0.585, 0.355, 1) 300ms;min-height:170px;",(0,P.HG)(d.f.sm),"{min-height:180px;}",(0,P.HG)(d.f.md),"{min-height:0;}&.classHomePromosLinkExists{display:flex;flex-direction:column;justify-content:space-between;min-height:200px;",(0,P.HG)(d.f.sm),"{min-height:240px;}",(0,P.HG)(d.f.md),"{min-height:0;}}",""),G=(0,k.AH)((0,C.CK)(),";font-size:16px;line-height:1.7em;text-align:left;color:",Y.X.white,";margin-block-end:0;padding:",W," ",W," ","15px"," ",W,";.classHomePromosLinkExists &{padding:",W,";}.classTextDark &,.classTextLight &{color:",Y.X.white,";&:hover{color:",Y.X.white,";}}",""),j=(0,k.AH)("padding:0 ",W," ",W," ",W,";margin-bottom:",W,";",""),F=(0,k.AH)(M.U.homePromosBtnVariant,";",M.U.homePromosBtnSize,";font-size:13px;background-color:transparent;padding:8px 0;min-width:initial;box-shadow:none;&:before{content:'';position:absolute;width:100%;height:2px;bottom:0;left:0;background-color:currentColor;transform-origin:left;transition:width 0.3s ease-in-out;width:100%;}&:hover{color:",Y.X.white,";background-color:transparent;&:before{width:0;}}",""),X=(0,k.AH)((0,H.A)()," display:block;",""),_=(0,k.AH)((0,y.F)(),";",""),O=e=>{let{homePromoObject:o,handleVideoClick:a}=e;const{id:t,remoteId:s,heading:i,linkText:r,text:n,textColour:l,url:m,mediaType:d,imageSrc:c,mobileImage:H,videoWithPoster:C,mobileVideoWithPoster:P,embeddedVideoSrc:y}=o,M=(0,x.r)(i),Y=(0,x.r)(n),W="image"===d?c:"uploaded_video"===d?null==C?void 0:C.posterImageSrc:"embedded_video"===d?null==y?void 0:y.posterImageSrc:null,O="image"===d?H:"uploaded_video"===d?null==P?void 0:P.mobilePosterImageSrc:"embedded_video"===d?null==y?void 0:y.posterImageSrc:null,E=Object.assign({},C,P),{classImageTextColour:L,cssImageTextColour:z}=(0,f.TM)(l);return(0,k.Y)("div",{className:"classHomePromosItemWrapper",css:A,key:t},(0,k.Y)(u.b,{to:m||"/",className:"classHomePromoLink"+s,linkBasicCustom:I,"aria-label":i||r||n||"Home Promo Banner"},(0,k.Y)("div",{css:S},(0,k.Y)(v.M,{ilbsWrapperCustom:T,imageCustom:N,desktopImage:W,mobileImage:O,eager:!0}),("uploaded_video"===d||"embedded_video"===d)&&(0,k.Y)("button",{className:"classVideoPlayHoverWrapper",css:X,type:"button","aria-label":"Play video",onClick:e=>{e.stopPropagation(),e.preventDefault(),a({videoWithPosterObject:E,embeddedVideoSrcObject:y,mediaType:d})}},(0,k.Y)(b.K,{css:_,name:"iconVideoPlay"}))),(i||n||r)&&(0,k.Y)("div",{className:"classHomePromosTextBlockWrapper "+L,css:V},i&&(0,k.Y)(p._B,{className:"classHomePromosHeading "+L,heading3Custom:[z,B]},(0,k.Y)(h.$,{disallowedElements:["p","div","a"],unwrapDisallowed:!0},M)),(n||r)&&(0,k.Y)("div",{css:D,className:"classHomePromosTextWrapper "+(r?"classHomePromosLinkExists":"")},n&&(0,k.Y)(g.f,{className:L,paragraphCustom:[G,z]},(0,k.Y)(h.$,{disallowedElements:["p","div","a"],unwrapDisallowed:!0},Y)),r&&(0,k.Y)(w.r,{wrapperFlexCustom:j},(0,k.Y)("span",{className:"classCtaNoLink "+L,css:[F,z,""]},r))))))};var E=a(965),L=a(75330);const z=(0,k.AH)("background-color:",L.w.hpBgColourMobile,";margin-block-start:",L.w.hpMarginTopMobile,";
1margin-block-end:",L.w.hpMarginBottomMobile,";margin-inline:",L.w.hpMarginInlineMobile,";max-width:",L.w.hpCarouselWrapperMaxWidth,";",(0,P.HG)(d.f.md),"{background-color:",L.w.hpBgColourDesktop,";}",(0,P.HG)(d.f.lg),"{margin-block-start:",L.w.hpMarginTopDesktop,";margin-block-end:",L.w.hpMarginBottomDesktop,";margin-inline:",L.w.hpMarginInlineDesktop,";}.classEmbCarouselAperture{border-bottom:",L.w.hpCarouselBorderBottom,";}.classStandardPageFullWidth &{&.classPageFeatureComponent{margin-inline:",L.w.hpFeatureMarginInlineMobile,";max-width:",L.w.hpFeatureMaxWidth,";",(0,P.HG)(d.f.lg),"{margin-inline:",L.w.hpFeatureMarginInlineDesktop,";}}}",""),q=(0,k.AH)("",""),K=(0,k.AH)(E.n.arrowPosReset()," ",E.n.arrowsPosMiddleEdges(),";",""),Q=(0,k.AH)(E.n.arrowBg(),";",""),R=e=>{let{componentTypeClassName:o=""}=e;const a=(0,m.GR)("2130439371").allCmsHomePromo.nodes,{viewportWidth:p}=(0,l.q)(),u=p>0&&p<d.f.sm,{0:h,1:g}=(0,t.useState)(null),{0:b,1:w}=(0,t.useState)(!1),x=e=>{g(Object.assign({},e,{isMobile:u})),w(!0)};return(0,s.uG)(a)&&(0,k.Y)(t.Fragment,null,b&&h&&(0,k.Y)(c.M,{selectedVideo:h,modalShowed:b,closeModal:()=>{w(!1)}}),(0,k.Y)(r.m,{className:"classHpCarouselWrapper "+o+" "+(a.some((e=>e.useAlternateStyles))?"classIsAlternateDesign":""),wrapperCustom:z},(0,k.Y)(i.F,{carouselComponentName:"home-promos-carousel",carouselSettings:n.f.homePromos,carouselWrapperCustom:q,carouselArrowsWrapperCustom:K,carouselArrowCustom:Q},a.map((e=>(0,k.Y)(O,{key:e.id,homePromoObject:e,handleVideoClick:x}))))))}},75190:function(e,o,a){a.d(o,{M:function(){return r}});var t=a(37771),s=a(2133),i=a(91785);const r=e=>{let{selectedVideo:o,modalShowed:a,closeModal:r}=e;const{videoWithPosterObject:n,embeddedVideoSrcObject:l,mediaType:m,isMobile:d}=o,c="embedded_video"===m,p=d&&(null==n?void 0:n.mobileVideoSrc)||(null==n?void 0:n.videoSrc);return(0,i.Y)(t.a,{modalShowed:a,closeModal:r,modalWrapperCustom:s.pN,modalContentCustom:s.Xt,modalClassName:c?"classIframeVideoWrapper":""},c&&l?(0,i.Y)("iframe",{title:"video",className:"classIframeVideo",src:l.url||"",allowFullScreen:!0}):(0,i.Y)("video",{autoPlay:!0,width:"100%",preload:"metadata",controls:!0,playsInline:!0,css:s.WQ},(0,i.Y)("source",{src:(null==p?void 0:p.url)||"",type:(null==p?void 0:p.type)||""}),(0,i.Y)("p",null,"This browser does not support the video element.")))}}}]);
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.