"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../src/modules/Benefits/benefits.module.css"),c=require("./components/BenefitTag/BenefitTag.cjs.js"),o=require("./components/BenefitItem/BenefitItem.cjs.js"),h=require("../../components/Typography/Typography.cjs.js"),p=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),j=({label:m,title:d,image:l,benefits:t,tags:r,colorScheme:n="light"})=>{const g=t.length===1;return e.jsx("section",{className:s.root,"data-color-scheme":n,children:g?e.jsx("div",{className:s.soloContainer,children:e.jsxs("div",{className:s.soloContent,children:[e.jsxs("div",{className:s.soloImageWrapper,children:[e.jsx("img",{src:l,alt:"image",className:s.soloImage}),r.map((a,i)=>e.jsx(c.BenefitTag,{text:a,className:s[`tag${i+1}`]},i))]}),e.jsx("div",{className:s.soloItem,children:e.jsx(o.BenefitItem,{index:0,title:t[0].title,description:t[0].description})})]})}):e.jsxs("div",{className:s.container,children:[e.jsxs("div",{className:s.header,children:[e.jsx(h.Typography,{defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:s.label,children:m}),e.jsx(p.HighlightedTitle,{title:d,colorScheme:n,defaultVariant:"displayMd",mobileVariant:"headingLg"})]}),e.jsxs("div",{className:s.content,children:[e.jsxs("div",{className:s.imageWrapper,children:[e.jsx("img",{src:l,alt:"image",className:s.image}),r.map((a,i)=>e.jsx(c.BenefitTag,{text:a,className:s[`tag${i+1}`]},i))]}),e.jsx("div",{className:s.benefits,children:t.map((a,i)=>e.jsx(o.BenefitItem,{index:i+1,title:a.title,description:a.description},i))})]})]})})};exports.Benefits=j;
