import { jsx as i } from "react/jsx-runtime";
import { a as e } from "./index.CfQlFjZU.js";
import { g as t } from "./social.D59qnHFn.js";
const l = (o) => {
  const a = t(o.social), c = o.mode === "color" ? a.colorIcon : a.monoIcon, n = `${a.name}-${o.mode === "mono" ? "preview" : "input"}-icon`;
  return {
    className: o.className,
    label: a.label,
    Icon: c,
    testId: n
  };
}, s = ({
  Icon: o,
  label: a,
  className: c,
  testId: n
}) => /* @__PURE__ */ i(
  o,
  {
    "aria-label": a,
    role: "img",
    className: c,
    "data-testid": n
  }
), d = e(s, l);
export {
  s as S,
  d as a,
  l as u
};
