'use client';
import{jsx as r,Fragment as e}from"react/jsx-runtime";import{useRenderMode as o}from"@gem-sdk/core";import d from"../child/ProductGalleryGrid.js";let GalleryGrid=i=>{let{isEditMode:l}=o(),{setting:t,styles:c,gallery:n,builderProps:a,noDataChildren:m,onHandleClickImage:u,children:p}=i,G={...t,...c,borderActive:{...t?.borderActive,border:"none"}};return n?.[0]?.id==="noImageError"&&l?r(e,{children:m}):r(d,{productImages:n,enableHoverAction:!0,...G,builderPropUID:a?.uid,onHandleClick:(r,e)=>u(r||"",e),children:p})};export{GalleryGrid as default};
