1"use strict";(globalThis.webpackChunknitro5_app=globalThis.webpackChunknitro5_app||[]).push([[7196],{67196(e,t,n){n.d(t,{default:()=>E});var i=n(26166),s=n(63696),a=n(10774),o=n(85838),r=n(95082),c=n(83137),l=n(39372),p=n(39879),m=n(13149),g=n(25927),b=n(20153);const d={alignItems:"flex-start"},h={textAlign:"center",alignItems:"center"},u={alignItems:"flex-end",textAlign:"right"},k={justifyContent:"flex-start"},x={alignItems:"flex-end",justifyContent:"center"},C={justifyContent:"flex-end"};var f=n(81349),j=n(55554),O=n(93359),v=n(85506);const I=(0,a.I4)((0,a.yd)(e=>{var t,{component:n,className:o}=e,c=(0,i.__rest)(e,["component","className"]);const l=(0,g.DD)(),m=(0,b.rR)(),I=(0,v.A)(),E=(0,f.mD)(100*m),F=null===(t=(0,r.Jn)(c.linkUrl))||void 0===t?void 0:t.url,D=(0,r.Jn)(c.buttonLabel),R=l&&(0,r.Jn)(c.mobileImageUrl)||(0,r.Jn)(c.imageUrl),H=l&&(0,r.Jn)(c.mobileTitle)||(0,r.Jn)(c.title),W=(0,r.Jn)(c.text),_=function(e,t,n){if("dark"===e)return Object.assign({color:n.campaignBlock.textColor.dark},t&&{textShadow:"0px 0px 3px rgba(255,255,255,0.7)"});return Object.assign({color:n.campaignBlock.textColor.light},t&&{textShadow:"0px 0px 3px rgba(0,0,0,0.7)"})}((0,r.Jn)(c.textColor),(0,r.Jn)(c.textShadow),I),L=(0,r.Jn)(c.backgroundTextColor),M=function(e){switch(e){case"topLeft":return Object.assign(Object.assign({},k),d);case"bottomRight":return Object.assign(Object.assign({},C),u);case"topRight":return Object.assign(Object.assign({},k),u);case"bottomLeft":return Object.assign(Object.assign({},C),d);case"center":return Object.assign(Object.assign({},x),h);case"bottomCenter":return Object.assign(Object.assign({},C),h);case"topCenter":return Object.assign(Object.assign({},k),h);case"left":return Object.assign(Object.assign({},x),d);case"right":return Object.assign(Object.assign({},x),u)}}(l&&(0,r.Jn)(c.mobilePosition)||(0,r.Jn)(c.position)),N=m<=.5?y:U,P=m<=.5?J:w,X=(0,s.useRef)(null),{sendTrackPromotionClickEvent:G}=(0,j.A)(X,c.promotionImpression,"Campaign");const Y=(0,O.FA)(c),q={backgroundColor:L,boxDecorationBreak:"clone",padding:{x:l?p.nU:p.EX}},K=Object.assign({},q),Q=s.createElement(B,{css:_},L?s.createElement(a.I4.Span,{css:q},s.createElement(T,null,W)):W),V=s.createElement(N,{css:_},L?s.createElement(a.I4.Span,{css:K},s.createElement(T,null,H)):H);return s.createElement(n,{className:o},s.createElement(S,{ref:X,textStyle:_,linkUrl:F,isModal:!!c.onClick,css:(0,a.I4)(m&&{marginBottom:0},(0,r.Jn)(c.roundedCorners)&&{borderRadius:({siteTheme:e})=>e.general.cornerRadius}),onClick:e=>c.onClick?(e.preventDefault(),c.onClick()):G()},s.createElement(z,Object.assign({src:R,preset:E,alt:(0,r.Jn)(c.altText)},Y)),s.createElement(P,{css:Object.assign(Object.assign({},M),_)},!!H&&V,!!W&&Q,!!D&&s.createElement(A,{"aria-label":D},D))))}),{height:"100%"}),E=(0,r.pG)(I),S=(0,a.I4)((0,s.forwardRef)(({linkUrl:e,textStyle:t,children:n,onClick:i},o)=>e||i?s.createElement(F,{ref:o,css:t,to:e,onClick:i},n):s.createElement(a.I4.Div,{ref:o,css:t},n)),{display:"block",width:"100%",height:"100%",position:"relative",overflow:"hidden",marginBottom:p.Y}),w=a.I4.div({position:"absolute",display:"flex",flexDirection:"column",left:0,right:0,top:0,bottom:0,padding:{x:({responsiveUnit:e,isCompact:t})=>t?p.as:e(p.wm),y:({responsiveUnit:e,isCompact:t})=>t?p.as:e(p.ut)}}),J=(0,a.I4)(w,{padding:{x:({responsiveUnit:e,isCompact:t})=>t?p.as:e(p.as),y:({responsiveUnit:e,isCompact:t})=>t?p.as:e(p.ut)}}),U=(0,a.I4)(m.H1,{maxWidth:510,width:"100%",whiteSpace:"pre-wrap",margin:{y:0},fontWeight:({siteTheme:e})=>e.campaignBlock.boldFontWeightOnHeader?"bold":"normal",fontSize:({isCompact:e,isMobile:t,responsiveUnit:n,siteTheme:i})=>e?t?i.campaignBlock.headerFontSizes.mobile:i.campaignBlock.headerFontSizes.desktop:n(i.campaignBlock.headerFontSizes.responsiveUnit),lineHeight:1.1}),y=(0,a.I4)(U,{fontSize:({isCompact:e,isMobile:t,responsiveUnit:n,siteTheme:i})=>e?t?i.campaignBlock.headerCrampedFontSizes.mobile:i.campaignBlock.headerCrampedFontSizes.desktop:n(i.campaignBlock.headerCrampedFontSizes.responsiveUnit)}),B=(0,a.I4)(m.P,{maxWidth:"100%",whiteSpace:"pre-wrap",margin:{top:p.EX,bottom:0},lineHeight:1.5}
1),T=a.I4.span({position:"relative"}),z=(0,a.I4)(o.Ay,{height:"100%"});const A=(0,a.I4)(l.Ay,{marginTop:p.EX}),F=(0,a.I4)(c.A,{":hover":{cursor:"pointer"}})}}]); 2//# sourceMappingURL=7196.chunk.23c37b8a2ed34f812bd0.js.map
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.