'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 i=i=>{let{isEditMode:t}=o(),{setting:l,styles:c,gallery:n,builderProps:m,noDataChildren:a,onHandleClickImage:u,children:p}=i,b={...l,...c,borderActive:{...l?.borderActive,border:"none"}};return n?.[0]?.id==="noImageError"&&t?r(e,{children:a}):r(d,{productImages:n,enableHoverAction:!0,...b,builderPropUID:m?.uid,onHandleClick:(r,e)=>u(r||"",e),children:p})};export{i as default};
