1import{j as l}from"./main-BmYsSTrY.js";import{f as e,d as t,e as n,E as i}from"./index-9Yy5i9pU.js";import{E as o}from"./grid-banner-controller-qTf005fm.js";import{e as a}from"./vendor-DI-zMLkP.js";const d=d=>{var s,r,m,c,u;const{id:_,contentPosition:x,headingTag:v="h2",headingSize:g="text-2xl",descriptionText:h,headingText:p,loadImageLazy:E,descriptionSize:b="text-sm",sectionHeadingTag:f="h3",sectionHeadingSize:T="text-3xl",margin:j="mb-12 lg:mb-24",headerContentPosition:y="text-left",sectionHeading:w=e.WIDGET_CHECK_TRUE,preLoadImage:C=(null==(s=e)?void 0:s.WIDGET_CHECK_FALSE),buttonStyle1:H="button-primary"}=a.propsParser(d),I=[{width:712},{width:712},{width:712},{width:712},{width:712}],N=`${v}`,{componentDataDispatcher:D,contentModel:L,descriptionStyle:S,headingStyle:$,sectionHeadingStyle:G,backgroundStyle:K}=o(d),{isLoading:W,componentData:R}=D,U=`${f}`,k=`${T}`;return l.jsxs(l.Fragment,{children:[l.jsx(t,{loaderClassName:"manufacturers-section column-5 section-gap",contentModel:L,isLoading:W,componentData:R}),(null==R?void 0:R.id)&&!W&&l.jsx(l.Fragment,{children:l.jsx("div",{style:K,className:`two-col-image-section ${j||""} py-12 lg:py-24 bg-secondary-warmGrey`,children:l.jsxs("div",{className:"px-4 md:px-8 2xl:px-[3.75rem] container",children:[w===e.WIDGET_CHECK_TRUE&&l.jsxs("div",{className:`px-4 md:px-0 mb-6 lg:mb-8 last:mb-0 md:${y} text-center`,children:[(null==R?void 0:R.section_heading)&&l.jsx(U,{style:G,className:`text-3xl md:${k} font-secondary mb-2`,dangerouslySetInnerHTML:{__html:null==R?void 0:R.section_heading}}),(null==R?void 0:R.section_description)&&l.jsx("p",{className:"text-sm font-normal text-neutral-700",dangerouslySetInnerHTML:{__html:null==R?void 0:R.section_description}})]}),(null==R?void 0:R.mobile_image)&&l.jsx("div",{className:"px-4 md:hidden mb-8",children:l.jsx(n,{name:"Two col mobile image",className:"w-full h-full max-h-[14rem] object-cover",height:224,width:343,src:null==R?void 0:R.mobile_image[0],alt:null==R?void 0:R.section_heading,title:null==R?void 0:R.section_heading,lazyLoad:E===(null==(r=e)?void 0:r.WIDGET_CHECK_TRUE),preLoad:C===(null==(m=e)?void 0:m.WIDGET_CHECK_TRUE)})}),l.jsx("div",{className:"gap-y-8 flex flex-wrap -mx-2",children:(null==R?void 0:R.two_col_grid)&&(null==(c=null==R?void 0:R.two_col_grid)?void 0:c.length)&&(null==(u=null==R?void 0:R.two_col_grid)?void 0:u.map(((t,o)=>{var a,d,s,r,m,c;return l.jsx("div",{className:"px-2 w-full h-full basis-full md:basis-6/12",children:l.jsxs("div",{className:"group two-col-image-content w-full relative h-full flex flex-col justify-center text-left",children:[l.jsxs(i,{to:null==t?void 0:t.button_link,target:(null==t?void 0:t.open_link_in_new_tab)?"_blank":"_self",ariaLabel:null==t?void 0:t.title_text,className:"w-full h-full flex flex-col",children:[l.jsx(n,{alt:null==t?void 0:t.title_text,title:null==t?void 0:t.title_text,src:(null==t?void 0:t.image)?null==t?void 0:t.image[0]:"",height:"400",width:"712",options:I,retina:!0,name:`Two_col_${_}_${o}`,className:"w-full h-[14rem] lg:h-[25rem] object-cover",lazyLoad:E===e.WIDGET_CHECK_TRUE,preLoad:C===(null==(a=e)?void 0:a.WIDGET_CHECK_TRUE)}),!(p!==(null==(d=e)?void 0:d.WIDGET_CHECK_TRUE)&&h!==(null==(s=e)?void 0:s.WIDGET_CHECK_TRUE))&&l.jsxs("div",{className:`mt-6 lg:mt-7 text-center md:${x}`,children:[(null==t?void 0:t.title_text)&&p===(null==(r=e)?void 0:r.WIDGET_CHECK_TRUE)&&l.jsx(N,{style:$,className:`font-secondary font-normal text-2xl md:${g} mb-2 group-hover:!text-primary-default`,dangerouslySetInnerHTML:{__html:null==t?void 0:t.title_text}}),(null==t?void 0:t.description)&&h===(null==(m=e)?void 0:m.WIDGET_CHECK_TRUE)&&l.jsx("p",{style:S,className:`text-sm md:${b} mb-7`,dangerouslySetInnerHTML:{__html:null==t?void 0:t.description}})]})]}),(null==t?void 0:t.button_text)&&(null==t?void 0:t.button_link)&&l.jsx("div",{className:`text-center md:${x} ${o===(null==(c=null==R?void 0:R.two_col_grid)?void 0:c.length)-1?"mb-0":"mb-4"}`,children:l.jsx(i,{to:null==t?void 0:t.button_link,className:H,dangerouslySetInnerHTML:{__html:null==t?void 0:t.button_text}
1,target:(null==t?void 0:t.open_link_in_new_tab)?"_blank":"_self"})})]})},o)})))})]})})})]})};export{d 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.