import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";
function cn(...inputs) {
  return twMerge(clsx(inputs));
}
function isRecord(value) {
  return !!value && typeof value === "object" && !Array.isArray(value);
}
function slugifyTagLabel(label) {
  return label.toLowerCase().trim().replace(/[^a-z0-9]+/g, "-").replace(/(?:^-+|-+$)/g, "").slice(0, 80) || `tag-${Math.random().toString(36).slice(2, 10)}`;
}
export {
  cn,
  isRecord,
  slugifyTagLabel
};
//# sourceMappingURL=utils.js.map
