require("../../_virtual/_rolldown/runtime.cjs");
const require_tailwind_config = require("../../tailwind-config.cjs");
let tailwind_merge = require("tailwind-merge");
let clsx = require("clsx");
//#region src/shared/tools/cn.ts
var customTwMerge = (0, tailwind_merge.extendTailwindMerge)({ extend: {
	theme: { color: Object.entries(require_tailwind_config.colorPalette).reduce((acc, currentVal) => {
		const colors = Object.keys(currentVal[1]).map((c) => `${currentVal[0]}-${c}`);
		return acc.concat(colors);
	}, []) },
	classGroups: {
		shadow: [{ shadow: Object.keys(require_tailwind_config.boxShadows).map((s) => `${s}`) }],
		"font-size": [{ text: Object.keys(require_tailwind_config.fontSizes) }],
		"font-weight": [{ font: Object.keys(require_tailwind_config.fontWeights) }],
		rounded: [{ rounded: Object.keys(require_tailwind_config.borderRadius) }],
		scale: [{ scale: Object.keys(require_tailwind_config.scales) }],
		h: [{ h: Object.keys(require_tailwind_config.heights) }],
		leading: [{ leading: Object.keys(require_tailwind_config.lineHeights) }]
	}
} });
var cn = (...inputs) => {
	return customTwMerge((0, clsx.clsx)(inputs));
};
//#endregion
exports.cn = cn;
