import { t as e } from "../../chunks/clsx.js";
import { CARD_ASPECT_RATIOS as t } from "./CardAspectRatios.js";
import { jsx as n } from "react/jsx-runtime";
//#region lib/ui/cards/Card.tsx
function r({ children: r, className: i, component: a = "div", format: o = "custom", theme: s = "bordered", ...c }) {
	let l = a, u = [].concat(s).join(" ");
	return /* @__PURE__ */ n(l, {
		...c,
		className: e(t[o], "relative isolate rounded-16", {
			"bg-white": !i?.includes("bg-"),
			"group overflow-hidden": u.includes("frame"),
			"border border-lightGrey": u.includes("bordered")
		}, i),
		children: r
	});
}
//#endregion
export { r as Card };

//# sourceMappingURL=Card.js.map