1"use strict";(self.webpackChunkdnb_marketing_website=self.webpackChunkdnb_marketing_website||[]).push([[2481],{530:function(e,t,i){i.r(t),i.d(t,{default:function(){return F}});var a=i(65043),n=i(67357),o=i(31732),l=i(58387),d="text-with-image_textContainer__fGNLT",r="text-with-image_textContainerRight__3t6vM",s="text-with-image_eyebrowTitleDescriptionContainer__+P4MX",c="text-with-image_eyebrow__rbJSi",m="text-with-image_title__c4-Pp",g="text-with-image_description__0PuCP",p="text-with-image_imageContainer__78vY7",u="text-with-image_imageContainerLeft__AWKLR",_="text-with-image_containerTop__YYeBU",v="text-with-image_containerMiddle__RDXiG",h="text-with-image_containerBottom__UptaL",w="text-with-image_imageWithPattern__blYpB",x="text-with-image_image__Dy0gc",y="text-with-image_patternRight__BV9w+",b="text-with-image_patternLeft__qk4WS",L="text-with-image_patternRightSvg__FJWaC",f="text-with-image_patternLeftSvg__t+ShR text-with-image_patternRightSvg__FJWaC",T="text-with-image_withAnimation__0T+mF",C="text-with-image_ctaContainer__-XiS6",j=i(94767),A=i(19424),N=i(49948),P=i(9821),S=i(59639),k=i(70579);const I=e=>{const t={...e,classes:(0,l.A)(L,{[T]:e.isVisible}),patternType:S.A.right};return(0,P.A)(t)},R=e=>{const t={...e,classes:(0,l.A)(f,{[T]:e.isVisible}),patternType:S.A.left};return(0,P.A)(t)},M=e=>{let{image:t,imageLayout:i,componentLayout:a,displayPattern:n,patternProps:o,mediaTypeSwitcherProps:d}=e;return(0,k.jsx)("div",{className:(0,l.A)(p,{[u]:"left"===i,[_]:"top"===a,[v]:"middle"===a,[h]:"bottom"===a}),"data-testid":"imageContainer",children:(0,k.jsxs)("div",{className:w,children:[(0,k.jsx)("div",{className:x,children:t&&(0,k.jsx)(N.w,{imageV3:t,...d})}),n&&("left"===i?(0,k.jsx)("div",{className:b,children:(0,k.jsx)(R,{...o})}):(0,k.jsx)("div",{className:y,children:(0,k.jsx)(I,{...o})}))]})})},V=e=>{let{imageLayout:t,eyebrow:i,title:a,descriptionHTML:n,ctaLabel:o,ctaUrl:p,ctaFn:u,openNewTab:w,componentLayout:x}=e;return(0,k.jsx)("div",{className:(0,l.A)(d,{[r]:"left"===t,[_]:"top"===x,[v]:"middle"===x,[h]:"bottom"===x}),children:(0,k.jsxs)("div",{className:s,children:[i&&(0,k.jsx)("p",{className:c,children:i}),a&&(0,k.jsx)("h2",{className:m,children:a}),(0,k.jsx)("div",{className:g,dangerouslySetInnerHTML:n}),o&&(0,k.jsx)("p",{className:C,children:(0,k.jsx)(j.$,{as:"link",variant:"primary",size:"medium",target:w?"_blank":"_self",theme:"light",icon:"arrowRight",href:p,onClick:null!==u&&void 0!==u?u:void 0,children:o})})]})})},B=e=>{let{data:t,animateIntoView:i=!0}=e;const{id:n,backgroundColor:d,imageLayout:r="left",componentLayout:s="middle",reduceTopSpacing:c,reduceBottomSpacing:m,eyebrow:g,title:p,descriptionHTML:u,image:_,imageAlt:v,displayPattern:h,patternId:w,ctaUrl:x,ctaLabel:y,ctaFn:b,openNewTab:L,...f}=t,T=(0,a.useRef)(null),C=(0,o.B)(T,{freezeOnceVisible:!0}),j=!(null===C||void 0===C||!C.isIntersecting),N={patternId:w,isVisible:j},P=(0,A.ws)(c,m),S=(0,A.af)(d);return(0,k.jsx)("section",{ref:T,id:null!==n&&void 0!==n?n:void 0,className:"defaultContainer",style:{...P,...S},"data-testid":"container",children:(0,k.jsx)("div",{className:"defaultLayoutOuter",children:(0,k.jsxs)("div",{className:(0,l.A)("defaultLayoutInner defaultGrid",{defaultAnimatableIntoView:i,defaultPlayAnimationIntoView:i&&j}),"data-testid":"innerContainer",children:[(0,k.jsx)(V,{imageLayout:r,componentLayout:s,eyebrow:g,title:p,descriptionHTML:u,ctaUrl:x,ctaFn:b,openNewTab:L,ctaLabel:y}),(0,k.jsx)(M,{image:_,imageAlt:v,imageLayout:r,componentLayout:s,patternProps:N,mediaTypeSwitcherProps:f,displayPattern:h})]})})})};var F=e=>{var t;const i={id:null===e||void 0===e?void 0:e.id,backgroundColor:null===e||void 0===e?void 0:e.backgroundColor,imageLayout:e.imageLayout,componentLayout:e.componentLayout,reduceTopSpacing:null===e||void 0===e?void 0:e.reduceTopSpacing,reduceBottomSpacing:null===e||void 0===e?void 0:e.reduceBottomSpacing,eyebrow:null===e||void 0===e?void 0:e.eyebrow,title:null===e||void 0===e?void 0:e.title,descriptionHTML:{__html:e.description||""},image:(null===e||void 0===e?void 0:e.image)||{src:"",alt:"",lazyEnabled:!1},imageAlt:null===e||void 0===e?void 0:e.imageAlt,imageAspectRatio:e.imageAspectRatio||"",dis
1playPattern:null===e||void 0===e?void 0:e.displayPattern,patternId:null===e||void 0===e?void 0:e.patternId,ctaUrl:null===e||void 0===e?void 0:e.ctaUrl,ctaFn:void 0,ctaLabel:null===e||void 0===e?void 0:e.ctaLabel,openNewTab:null===e||void 0===e?void 0:e.openNewTab,videoId:null===e||void 0===e?void 0:e.videoId,mediaType:null!==(t=null===e||void 0===e?void 0:e.mediaType)&&void 0!==t?t:"image",aspect:null===e||void 0===e?void 0:e.aspect,videoTheme:e.videoTheme,cookieConsentMessagingContent:(null===e||void 0===e?void 0:e.cookieConsentMessagingContentFragment)||{heading:"",card1Cta:""}};return(0,k.jsx)("div",{id:(0,n.A)(e.cqPath),children:(0,k.jsx)(B,{data:i})})}}}]);
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.