"use client";
import { j as a } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { Avatar as t } from "@mantine/core";
import m from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import s from "./Item.module.scss.mjs";
function d(e) {
  const l = s.avatarImageContainer;
  return /* @__PURE__ */ a.jsxs("div", { className: s.avatarContainer, children: [
    /* @__PURE__ */ a.jsx(
      t,
      {
        size: e.large ? "md" : "sm",
        src: e.image,
        classNames: {
          placeholder: l,
          image: l
        }
      }
    ),
    /* @__PURE__ */ a.jsxs("div", { className: s.textContainer, children: [
      /* @__PURE__ */ a.jsx(
        "div",
        {
          className: m(
            { menu: !e.large, title: !!e.large },
            s.name
          ),
          children: e.name
        }
      ),
      /* @__PURE__ */ a.jsx(
        "div",
        {
          className: m(
            { menu: !e.large, "title-sm": !!e.large },
            s.label
          ),
          children: e.label
        }
      )
    ] })
  ] });
}
export {
  d as default
};
//# sourceMappingURL=index.mjs.map
