"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),s=require("../../../../utils/cn/cn.cjs.js"),t=require("../../../../src/components/ImageGallery/components/ImageGalleryPagination/imageGalleryPagination.module.css"),o=({images:l,activeIndex:c,className:i,onSelect:r})=>n.jsx("div",{className:s.cn(t.root,i),children:l.map((a,e)=>n.jsx("button",{type:"button",className:s.cn(t.thumbnailButton,{[t.active]:e===c}),onClick:()=>r(e),children:n.jsx("img",{src:a,alt:`thumbnail ${e+1}`,className:t.thumbnailImage})},a))});exports.ImageGalleryPagination=o;
