import "clsx";
import { a as attr, c as clsx, b as cn, m as motion, d as motionValue, B as BlurFade, N as Navigations } from "../../../chunks/navigations.js";
import { P as push, W as fallback, X as slot, Y as invalid_default_snippet, Z as bind_props, R as pop, _ as stringify } from "../../../chunks/index.js";
import { u as useMotionTemplate } from "../../../chunks/use-motion-template.js";
function MagicCard($$payload, $$props) {
push();
let gradientSize = fallback($$props["gradientSize"], 200);
let gradientColor = fallback($$props["gradientColor"], "#262626");
let gradientOpacity = fallback($$props["gradientOpacity"], 0.8);
let className = fallback($$props["class"], "");
let gradSize = motionValue(gradientSize);
let gradColor = motionValue(gradientColor);
let mouseX = motionValue(-gradientSize);
let mouseY = motionValue(-gradientSize);
let bg = useMotionTemplate`radial-gradient(${gradSize}px circle at ${mouseX}px ${mouseY}px, ${gradColor}, transparent 100%)`;
$$payload.out += `