import { jsxs as l, jsx as e } from "react/jsx-runtime";
import { BsStarFill as d } from "../../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/bs/index.js";
import { MdFaceRetouchingNatural as g } from "../../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/md/index.js";
const p = ({ data: t, meta: s }) => {
  var n, a, o;
  const r = (s == null ? void 0 : s.locale) || "en", i = (n = t.name) == null ? void 0 : n[r], c = (a = t.position) == null ? void 0 : a[r], m = (o = t.content) == null ? void 0 : o[r];
  return /* @__PURE__ */ l("figure", { className: "testimonial-card", children: [
    t.showRating && /* @__PURE__ */ l("div", { className: "text-dark-700 mb-3 flex items-center gap-x-1", children: [
      t.rating,
      /* @__PURE__ */ e(d, { className: "text-yellow-400" })
    ] }),
    /* @__PURE__ */ e("blockquote", { className: "review-msg text-dark-800 text-lg tracking-tight", children: /* @__PURE__ */ e("p", { children: m }) }),
    /* @__PURE__ */ l("figcaption", { className: "mt-4 flex items-center gap-x-6", children: [
      /* @__PURE__ */ e("div", { className: "image-wrapper flex h-12 w-12 items-center justify-center rounded-full border", children: t.image ? /* @__PURE__ */ e("img", { className: "bg-dark-50 rounded-full", src: t.image.url, alt: i }) : /* @__PURE__ */ e(g, { className: "text-dark-400 text-lg" }) }),
      /* @__PURE__ */ l("div", { className: "text-sm leading-4", children: [
        /* @__PURE__ */ e("div", { className: "text-dark-900 font-semibold", children: i }),
        c && /* @__PURE__ */ e("div", { className: "text-dark-600 mt-0.5", children: c })
      ] })
    ] })
  ] });
};
export {
  p as default
};
//# sourceMappingURL=preset-two.js.map
