1import{a as t,j as e,b as l,d as n,c as a,l as o}from"./index-DvtYNCk9.js";import{e as i,I as s}from"./vendor-D8DBuDFK.js";import"./main-JXwh71rI.js";import{E as r}from"./blog-cta-controller-DygtUYGD.js";const g=g=>{var d,m,u,c,p,x,h,b,v,T,f,j,_;const{preLoadImage:y,loadImageLazy:w=t.WIDGET_CHECK_TRUE,imagePosition:L}=i.propsParser(g),{componentDataDispatcher:E,contentModel:N,dataSource:I,mappingObj:D}=r(g),{componentData:B,isLoading:H}=E,{CONTENT_LIBRARY:C,FREE_FORM:M}=o;return e.jsxs(e.Fragment,{children:[!(I!==C)&&e.jsx(l,{loaderClassName:"manufacturers-section column-5 section-gap",contentModel:N,isLoading:H,componentData:B}),(I===M||(null==(d=null==E?void 0:E.componentData)?void 0:d.id)&&!E.isLoading)&&e.jsx(e.Fragment,{children:!!((null==(m=D.headingText)?void 0:m.length)||(null==(u=D.subHeadingText)?void 0:u.length)||(null==(c=D.primaryButtonText)?void 0:c.length)||(null==(p=D.secondaryButtonText)?void 0:p.length)||(null==(x=D.buttonDescription)?void 0:x.length)||I===M&&!s)&&e.jsxs("div",{className:`blog-cta ${"bottom-image"===L&&"blog-cta-2-v2"} group w-full flex flex-wrap justify-between bg-purple-900 rounded-2xl lg:mb-10 mb-8 overflow-hidden relative bg-ai-ctabg-shape bg-no-repeat bg-cover bg-right-bottom`,children:[e.jsxs("div",{className:"lg:w-[calc(100%_-_329px)] w-full lg:text-left text-center lg:py-10 lg:pl-10 lg:pr-0 p-8 text-white",children:[e.jsx("h2",{className:"blog-cta-heading h2 font-semibold mb-0",dangerouslySetInnerHTML:{__html:(null==(h=D.headingText)?void 0:h.length)||I===C?D.headingText:""}}),e.jsx("p",{className:"mt-4",dangerouslySetInnerHTML:{__html:(null==(b=D.descriptionText)?void 0:b.length)||I===C?D.descriptionText:""}}),e.jsxs("div",{className:"flex flex-wrap gap-4 w-full lg:justify-start justify-center mt-4 sm:[&_a]:w-auto [&_a]:w-[90%]",children:[!!(null==(v=D.primaryButtonText)?void 0:v.length)&&e.jsx(n,{to:D.primaryButtonLink,dangerouslySetInnerHTML:{__html:D.primaryButtonText},name:null==B?void 0:B.title,className:"button-white-ai button-medium-ai"}),!!(null==(T=D.secondaryButtonText)?void 0:T.length)&&e.jsx(n,{to:D.secondaryButtonLink,dangerouslySetInnerHTML:{__html:D.secondaryButtonText},name:null==B?void 0:B.title,className:"button-white-border-ai button-medium-ai"})]}),e.jsx("div",{className:"w-full mt-2",children:e.jsx("p",{className:"sm:text-sm text-xs lg:text-left text-center w-full",dangerouslySetInnerHTML:{__html:(null==(f=D.buttonDescription)?void 0:f.length)||I===C?D.buttonDescription:""}})})]}),e.jsx("div",{className:"lg:max-w-[329px] lg:pl-4 flex w-full lg:group-[.blog-cta-2-v2]:max-w-[329px] lg:group-[.blog-cta-2-v2]:items-end lg:group-[.blog-cta-2-v2]:justify-end justify-center lg:group-[.blog-cta-2-v2]:pr-0 px-4 group-[.blog-cta-2-v2]:pb-0 lg:pt-6 pb-6 lg:pb-6 lg:pr-6",children:e.jsx(a,{name:"blog-cta-one",src:null==D?void 0:D.image,width:(null==(j=null==D?void 0:D.image)?void 0:j.image_width)||313,height:(null==(_=null==D?void 0:D.image)?void 0:_.image_height)||287,preLoad:y===t.WIDGET_CHECK_TRUE,lazyLoad:w===t.WIDGET_CHECK_TRUE,alt:D.headingText,title:D.headingText})})]})})]})};export{g as default};
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.