"use client";
import { t as e } from "../../chunks/clsx.js";
import { n as t } from "../../chunks/Carousel.context.js";
import { jsx as n } from "react/jsx-runtime";
//#region lib/ui/carousel/CarouselBody.tsx
var r = ({ children: r, className: i, scrollClassName: a, ...o }) => {
	let { canScrollPrev: s, canScrollNext: c, carouselRef: l, options: u } = t(), d = !s && !c;
	return /* @__PURE__ */ n("div", {
		...o,
		className: e(i, "overflow-hidden"),
		ref: l,
		children: /* @__PURE__ */ n("div", {
			className: e(a, "grid", u?.axis === "y" ? "grid-flow-row" : "grid-flow-col", { "transform-none!": d }),
			children: r
		})
	});
};
//#endregion
export { r as CarouselBody };

//# sourceMappingURL=CarouselBody.js.map