import { cn } from "../../lib/utils.js";
import { c } from "react/compiler-runtime";
import "react";
import { jsx } from "react/jsx-runtime";
function Textarea(r) {
	let i = c(8), a, o;
	i[0] === r ? (a = i[1], o = i[2]) : ({className: a, ...o} = r, i[0] = r, i[1] = a, i[2] = o);
	let s;
	i[3] === a ? s = i[4] : (s = cn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-background px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", a), i[3] = a, i[4] = s);
	let l;
	return i[5] !== o || i[6] !== s ? (l = /* @__PURE__ */ jsx("textarea", {
		"data-slot": "textarea",
		className: s,
		...o
	}), i[5] = o, i[6] = s, i[7] = l) : l = i[7], l;
}
export { Textarea };
