PageSourceSearch

https://www.rapidops.com/static/three-col-grid-case-study-BI4jcGqr.js

js rapidops.com collected 2026-10-03 22:16:01 UTC 4,957 bytes, 1 lines download raw bytes

1import{j as e,a as l,H as i,f as n,c as a,D as t,d as s}from"./index-DHmRXmSA.js";import{a as r}from"./vendor-DF2uEoBV.js";import"./main-C-8GvMo4.js";import{E as o}from"./slider-grid-banner-controller-PzldqCaz.js";const d=d2=>{var m,c,h,x,_,u,v,g;const{id:p,headingSize:j,headingTag:b,headingTextColor:w,sliderArrows:f,marginBottom:N,headingFontWeight:y,scrollableDiv:C,scrollableId:k,pagination:D,descriptionTextColor:T}=r.propsParser(d2),{componentDataDispatcher:$,contentModel:E,emblaRef:S,scrollNext:q,scrollPrev:I,scrollSnaps:L,selectedIndex:H,onDotButtonClick:M}=o(d2),{componentData:A,isLoading:F}=$,{WIDGET_CHECK_TRUE:G}=s,P=`${b}`,B=(L.length,[{width:692,quality:100},{width:692,quality:100},{width:692,quality:100},{width:568,quality:100},{width:391,quality:100}]);let R,W=[];return((m=A==null?void 0:A.three_column_grid_com)==null?void 0:m.length)>=3&&((c=A==null?void 0:A.three_column_grid_com)==null||c.map((e2=>{W.push(e2)})),W=[...W,...W],R=W),e.jsxs(e.Fragment,{children:[e.jsx(l,{loaderClassName:"",contentModel:E,isLoading:$.isLoading,componentData:$.componentData}),(A==null?void 0:A.id)&&!F&&e.jsx("section",{id:k,className:`${C===G?"scrollable-div":""} two-col-grid-slider py-12 md:py-24 3xl:py-section-gap overflow-hidden lg:${N}`,children:e.jsxs("div",{className:"container",children:[((A==null?void 0:A.heading_et)||(A==null?void 0:A.description_et)||!!((h=A==null?void 0:A.three_column_grid_com)!=null&&h.length))&&e.jsxs("div",{className:"section-title mb-8 lg:mb-16 last:mb-0 flex justify-between",children:[e.jsxs("div",{children:[(A==null?void 0:A.heading_et)&&e.jsx(P,{className:`text-neutral-900 text-3.5xl lg:text-4.5xl 3xl:${j} ${y}`,style:{color:w},dangerouslySetInnerHTML:{__html:A==null?void 0:A.heading_et}}),(A==null?void 0:A.description_et)&&e.jsx("p",{className:"lg:text-xl text-base mt-8 text-neutral-700 tracking-wide",style:{color:T},dangerouslySetInnerHTML:{__html:A==null?void 0:A.description_et}})]}),f===G&&((x=A==null?void 0:A.three_column_grid_com)==null?void 0:x.length)>3&&e.jsx("div",{className:"embla__controls",children:e.jsx("div",{className:" embla__buttons flex items-center gap-4",children:e.jsxs(e.Fragment,{children:[e.jsx("button",{"aria-label":"Arrow Prev",className:"leading-[0] embla__prev",onClick:I,children:e.jsx("i",{className:"icon w-10 h-10 flex justify-center items-center",children:e.jsx(i,{className:"transition-colors hover:stroke-primary stroke-neutral-900"})})}),e.jsx("button",{"aria-label":"Arrow Next",className:"leading-[0] embla__next",onClick:q,children:e.jsx("i",{className:"icon w-10 h-10 flex justify-center items-center",children:e.jsx(n,{className:"transition-colors hover:stroke-primary stroke-neutral-900"})})})]})})})]}),((_=A==null?void 0:A.three_column_grid_com)==null?void 0:_.length)>2?e.jsx("div",{className:"two-col-slider-wrapper",children:e.jsx("div",{className:"relative embla overflow-hidden w-[87vw] xsm:w-screen",children:e.jsx("div",{className:"embla__viewport",ref:S,children:e.jsx("div",{className:"embla__container flex -mx-4",children:(v=((u=A==null?void 0:A.three_column_grid_com)==null?void 0:u.length)>=3?R:A==null?void 0:A.three_column_grid_com)==null?void 0:v.map(((l2,i2)=>{var n2,t2;return e.jsx("div",{className:"embla_slider item flex-[0_0_100%] md:flex-[0_0_45.25rem] px-4",children:e.jsx(a,{src:(n2=l2==null?void 0:l2.item_image_emd)!=null&&n2.length?(t2=l2==null?void 0:l2.item_image_emd)==null?void 0:t2[0]:"",className:"w-full h-full object-cover xl:min-h-[35.813rem] xl:max-h-[35.813rem] md:min-h-[30rem] md:max-h-[30rem] min-h-[17.438rem] max-h-[17.438rem]",alt:A==null?void 0:A.heading_et,title:A==null?void 0:A.heading_et,name:`ExpThreeColGridCaseStudy-${p}`,width:724,height:600,options:B,retina:!0})},i2)}))})})})}):e.jsx("div",{className:"two-col-slider-wrapper",children:e.jsxs("div",{className:"relative embla overflow-hidden w-[87vw] xsm:w-screen",children:[e.jsx("div",{className:"flex -mx-4",children:(g=A==null?void 0:A.three_column_grid_com)==null?void 0:g.map(((l2,i2)=>{var n2,t2;return e.jsx("div",{className:"item flex-[0_0_100%] xsm:flex-[0_0_50%] md:flex-[0_0_45.25rem] px-4",children:e.jsx(a,{src:(n2=l2==null?void 0:l2.item_image_emd)!=null&&n2.length?(t2=l2==null?void 0:l2.item_image_emd)==null?void 0:t2[0]:"",className:"w-full h-full object-cover xl:min-h-[37.5rem] xl:max-h-[37.5rem] md:min-
1h-[30rem] md:max-h-[30rem] min-h-[20.438rem] max-h-[20.438rem]",alt:A==null?void 0:A.heading_et,title:A==null?void 0:A.heading_et,name:`ExpThreeColGridCaseStudy-${p}`,width:724,height:600,options:B})},i2)}))}),D===G&&e.jsx("div",{className:"embla__controls",children:e.jsx("div",{className:"container flex justify-center gap-x-3 absolute left-2/4 -translate-x-[50%] top-auto bottom-8 leading-[0] embla__dots",children:L.map(((l2,i2)=>e.jsx(t,{onClick:()=>M(i2),className:"w-2 h-2 border border-secondary embla__dot".concat(i2===H?" bg-secondary embla__dot--selected":"")},i2)))})})]})})]})})]})};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.