import { jsx as d } from "react/jsx-runtime";
import { useMemo as p } from "react";
import { c as y, s as C, a as f } from "../tools/tools.js";
const k = function(e) {
  const { as: n = "a", className: s, dropOldClass: a, style: r, variables: t, ...o } = e, l = p(() => {
    const i = y(!a && "card-link", s), c = C((x, m) => ({ tKey: f(m) }), t, r);
    return {
      className: i,
      style: c
    };
  }, [a, s, t, r]);
  return /* @__PURE__ */ d(n, { ...o, ...l });
};
k.displayName = "BRL.CardLink";
export {
  k as C
};
//# sourceMappingURL=card-link.js.map
