/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../../../_virtual/_rolldown/runtime.cjs");
const require_styles_styler = require("../../../styles/styler.cjs");
const require_components_Box = require("../../Box.cjs");
const require_components_VStack = require("../../VStack.cjs");
const require_components_client_BottomSheet_BottomSheetInternalContext = require("./BottomSheetInternalContext.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/client/BottomSheet/BottomSheetContent.tsx
function BottomSheetContent({ children, className }) {
	const scrollLocked = require_components_client_BottomSheet_BottomSheetInternalContext.useBottomSheetInternalContext()?.scrollLocked ?? false;
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
		display: "block",
		overflowY: scrollLocked ? "hidden" : "auto",
		flex: "1",
		className: require_styles_styler.cx("min-h-0", scrollLocked ? void 0 : "touch-pan-y", className),
		children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_VStack.VStack, {
			className: "pb-[calc(env(safe-area-inset-bottom))]",
			children
		})
	});
}
BottomSheetContent.displayName = "BottomSheetContent";
//#endregion
exports.BottomSheetContent = BottomSheetContent;
