"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("swiper/modules"),l=require("swiper/react");;/* empty css                                                                               */;/* empty css                                                                                           */;/* empty css                                                                                           */const a=require("../../../../src/modules/HowItWorks/components/Content/content.module.css"),n=require("../../../../components/Typography/Typography.cjs.js"),v=require("../../../../components/ProgressButton/ProgressButton.cjs.js"),q=[N.Navigation],w=({items:t,colorScheme:i,showBottomNav:d,swiper:o})=>{const{isEnd:c,isBeginning:h,hideNav:u,handleSlideChange:g,handlePrevClick:p,handleNextClick:m,onSwiperInit:y,handleSwiperResize:b,handleReachEnd:j,handleReachBeginning:S,handleSlideTo:x}=o;return e.jsxs("div",{className:a.root,children:[e.jsx("div",{className:a.carouselArea,"data-color-scheme":i,children:e.jsx(l.Swiper,{onSwiper:y,onResize:b,onSlideChange:g,onReachEnd:j,onReachBeginning:S,modules:q,spaceBetween:0,slidesPerView:"auto",className:a.swiper,children:t.map((s,r)=>e.jsx(l.SwiperSlide,{className:a.swiperSlide,"data-color-scheme":i,children:e.jsxs("div",{className:a.card,onClick:()=>x(r),children:[e.jsxs("div",{className:a.cardHeader,children:[e.jsx("img",{src:s.image,className:a.cardImage,alt:s.title}),e.jsx(n.Typography,{as:"h3",defaultVariant:"headingLg",mobileVariant:"headingXs",className:a.title,children:s.title}),s.subtitle&&e.jsx(n.Typography,{as:"h4",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,className:a.subtitle,children:s.subtitle})]}),e.jsx(n.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:s.description})]})},`${s.title}_${r}`))})}),!u&&d&&e.jsx("div",{className:a.navigation,children:e.jsx(v.ProgressButton,{invert:i==="dark",left:{disabled:h,onClick:p},right:{disabled:c,onClick:m}})})]})};exports.Content=w;
