'use client';
"use strict";var jsxRuntime=require("react/jsx-runtime"),ItemCarouselPostPurchase=require("../ItemCarouselPostPurchase.js"),system=require("@gem-sdk/system"),useListCarousel=require("../../../hooks/useListCarousel.js"),classes=require("../../../common/classes.js");const CarouselPostPurchase=s=>{let{productImages:e,itemPerRow:r,border:t,aspectRatio:u,objectFit:a,vertical:o}=s,{listRender:i}=useListCarousel.useListCarousel({productImages:e,itemPerRow:r,vertical:o}),m=system.createClass(classes.getItemCarouseEmptyPostPurchaseClass());return jsxRuntime.jsx(jsxRuntime.Fragment,{children:i?.map((s,e)=>s?jsxRuntime.jsx(ItemCarouselPostPurchase.ItemCarouselPostPurchase,{image:s,border:t,objectFit:a,aspectRatio:u},s.id):jsxRuntime.jsx("div",{className:m},e))})};exports.CarouselPostPurchase=CarouselPostPurchase;
