"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4440],{1197:function(e,o,n){var t=n(64836),i=n(75263);o.Z=void 0;var r=i(n(67294)),l=(0,t(n(2108)).default)(r.createElement("path",{d:"M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"}),"ArrowForwardIos");o.Z=l},64440:function(e,o,n){n.r(o),n.d(o,{default:function(){return j}});var t=n(92809),i=n(67294),r=n(27361),l=n.n(r),a=n(74619),c=n(25838),s=n(40590),d=n(46409),f=n(68751),x=n(41120),p=n(99956),m=n(43832),u=n(282),g=n(41749),h=n(11543),v=n(1197),b=n(85893),Z=(0,x.Z)((function(e){return{bannerMessage:function(o){return{background:(0,a.Uh)(o.bgColor),"& .MuiContainer-root":{paddingTop:e.spacing(2),paddingBottom:e.spacing(2),"& h3":{marginTop:e.spacing(1),marginBottom:0,color:o.titleColor}},"& .MuiButton-containedSecondary":(0,t.Z)({color:e.palette.secondary.main,boxShadow:"none"},e.breakpoints.down("md"),{display:"block"})}},descContainer:{display:"flex"},blackFriday:{paddingTop:e.spacing(2),paddingBottom:e.spacing(2)},icon:(0,t.Z)({},e.breakpoints.down("sm"),{justifyContent:"center"}),eyebrowText:function(e){return{color:e.eyebrowColor}},titleText:function(e){return{color:e.titleTextColor}},captionText:function(e){return{"& p":{color:e.captionColor}}},desc:{padding:e.spacing(.5)},description:function(o){return{"& p":{color:o.description,marginBottom:e.spacing(1)}}},learnMore:function(o){return{color:o.linkColor,fontWeight:"bold",borderBottom:"none",fontSize:e.typography.body2.fontSize}},arrow:{marginBottom:"-".concat(e.spacing(.3),"px"),fontSize:e.typography.body2.fontSize}}}));function j(e){var o,n,t,r,x=null===e||void 0===e||null===(o=e.data)||void 0===o?void 0:o.primary,j=l()(x,"title",void 0)&&f.Z.asText(l()(x,"title",void 0)).length>0?(0,b.jsx)(f.Z,{render:l()(x,"title",void 0)}):void 0,_=l()(x,"description",void 0)?(0,b.jsx)(f.Z,{render:l()(x,"description",void 0)}):void 0,y=l()(e,"label","center"),k=l()(x,"btn_label",void 0)?l()(x,"btn_label",void 0)[0].text:void 0,w=l()(x,"btn_style","primary"),C=l()(x,"btn_link",void 0)?l()(x,"btn_link._meta.uid",void 0):void 0,F=l()(x,"navigation",void 0),N=(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.fields)||[],T=l()(x,"tracking_slot_id",void 0),B=(0,i.useRef)(),S=(0,a.RO)(B,"-10px"),M=(0,i.useState)(!1),z=M[0],I=M[1],E=Z({bgColor:l()(x,"bg_color","#FFFFFF"),titleColor:l()(x,"title_color","#FFFFFF")});return(0,i.useEffect)((function(){!z&&T&&S&&((0,c.YW)(T,"Promo Banner Impression",window.location.href),I(!0))})),(0,b.jsx)(p.Z,{className:E.bannerMessage,ref:B,children:(0,b.jsxs)(m.Z,{maxWidth:"xl",children:[x&&N&&N.length>0&&""!==N[0].title&&(0,b.jsxs)(p.Z,{display:"flex",alignItems:"center",flexDirection:{xs:"column",lg:"row"},justifyContent:"left"===y?"flex-start":"center"===y?"center":"right"===y?"flex-end":"flex-start",children:[(0,b.jsxs)(p.Z,{pr:{lg:2},children:[j," ",_&&""!==(null===_||void 0===_||null===(t=_.props)||void 0===t||null===(r=t.render[0])||void 0===r?void 0:r.text)&&_]}),C&&(0,b.jsx)(u.Z,{component:d.Z,variant:"contained",color:w,href:"show navigator dialog"===F?"/".concat(C,"?showBackdropNavigator=true"):"/".concat(C),children:k})]}),N.length>0&&(0,b.jsx)(b.Fragment,{children:N.map((function(e,o){var n=e.icon||void 0,t=(0,b.jsx)(f.Z,{render:l()(e,"eyebrow_text",void 0)}),i=(0,b.jsx)(f.Z,{render:l()(e,"title",void 0)}),r=(0,b.jsx)(f.Z,{render:l()(e,"caption",void 0)}),a=(0,b.jsx)(f.Z,{render:l()(e,"description",void 0)}),x=Z({eyebrowColor:l()(e,"eyebrow_text_color","#ffffff"),titleTextColor:l()(e,"title_color","#ffffff"),captionColor:l()(e,"caption_color","#ffffff"),description:l()(e,"description_color","#ffffff"),linkColor:l()(e,"cta_link_color","#ffffff")});return(0,b.jsxs)(g.Z,{container:!0,className:x.blackFriday,alignItems:"center",children:[(0,b.jsx)(g.Z,{item:!0,xs:12,md:6,children:(0,b.jsxs)(g.Z,{container:!0,alignItems:"flex-start",spacing:2,children:[(0,b.jsx)(g.Z,{item:!0,xs:3,md:4,container:!0,justifyContent:"flex-end",className:x.icon,children:n&&(0,b.jsx)(s.$V,{src:n,alt:n.alt,ariaLabel:n.alt,role:"none"},o)}),(0,b.jsxs)(g.Z,{item:!0,xs:9,md:8,children:[t&&(0,b.jsx)(p.Z,{className:x.eyebrowText,children:t}),i&&(0,b.jsx)(p.Z,{className:x.titleText,children:i}),r&&(0,b.jsx)(p.Z,{className:x.captionText,children:r})]})]})}),(0,b.jsxs)(g.Z,{item:!0,xs:12,md:6,className:x.descContainer,children:[(0,b.jsx)(h.Z,{mdUp:!0,children:(0,b.jsx)(g.Z,{item:!0,xs:3})}),(0,b.jsxs)(g.Z,{item:!0,xs:9,className:x.desc,children:[(0,b.jsx)(p.Z,{className:x.description,children:a}),e.cta_link&&(0,b.jsxs)(d.Z,{href:e.cta_link,className:x.learnMore,onClick:function(){return T&&(0,c.YW)(T,"Promo Banner Click",window.location.href),!0},children:[e.cta_link_label," ",(0,b.jsx)(v.Z,{fontSize:"small",className:x.arrow})]})]})]})]},o)}))})]})})}}}]);