<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{j as o}from"./preload-helper.uLOKFfC8.js";import{r as h}from"./index.BViejAi8.js";import{T as f,x as p,E as t,L as y}from"./index.PrvGnrJP.js";const g={body:"We offer a wide range of services to help you achieve your goals.",color:"primary",data:[],title:"Services",serviceColor:"tertiary",activeServiceColor:"secondary"};function b(r){const{active:e,color:c,activeColor:l}=r,{backgroundColor:a,bodyColor:n,headingColor:d}=f(c),{backgroundColor:i,bodyColor:m,headingColor:x}=f(l);return o.jsxs("div",{className:t("w-full py-8 px-6 mb-8 rounded-lg cursor-pointer",e?i:a),style:e?{}:{background:i},children:[o.jsx("h4",{className:t("mb-8",e?x:d),children:r.title}),o.jsx("p",{className:t("text-gray-700 text-base",e?m:n),children:r.body})]})}function j(r){const[e,c]=h.useState(r.data[0]);return o.jsxs("div",{className:t("flex flex-col md:flex-row md:gap-24 gap-12 md:items-center",r.reverse&amp;&amp;"md:flex-row-reverse my-4"),children:[o.jsx("div",{className:"flex flex-col w-full md:w-1/2",children:r.data?r.data.slice(0,3).map(l=&gt;o.jsx("div",{onKeyDown:a=&gt;{(a.key==="Enter"||a.key===" ")&amp;&amp;c(l)},onClick:()=&gt;{c(l)},children:h.createElement(b,{...l,active:e?.id===l.id,color:r.serviceColor,activeColor:r.activeServiceColor,key:l.id})},l.id)):null}),o.jsx("div",{className:"flex w-full md:w-1/2",children:o.jsx(y,{className:"object-contain aspect-[4/3]",height:487.5,image:e?.image,width:650})})]})}function S(r){const e={...g,...r},{title:c,body:l,color:a,serviceColor:n,activeServiceColor:d,contentClassName:i}=e,{bodyColor:m,headingColor:x}=f(a),u=e.data&amp;&amp;e.data.length&gt;0,v=[];for(let s=0;s&lt;e.data.length;s+=3)v.push(e.data.slice(s,s+3));return o.jsxs(p,{...e,color:a,contentClassName:t("flex flex-col items-center",i),children:[o.jsx("h3",{className:t("text-center mb-4",x),children:c}),o.jsx("p",{className:t("text-black mb-12 max-w-4xl text-center",m),children:l}),u&amp;&amp;v?v.map((s,C)=&gt;o.jsx(j,{color:a,data:s,reverse:Math.abs(C%2)===1,serviceColor:n,activeServiceColor:d})):null]})}export{S as SpringfieldServicesInfo};
</pre></body></html>