import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
import { Tag } from "@contember/ui";
const IdentityMembership = ({ RoleRenderer: RoleRenderer2, memberships }) => {
  return /* @__PURE__ */ jsxDEV(Fragment, { children: memberships.map((membership, i) => {
    const vars = {};
    for (let variable of membership.variables) {
      vars[variable.name] = variable.values;
    }
    return /* @__PURE__ */ jsxDEV(Tag, { children: /* @__PURE__ */ jsxDEV(RoleRenderer2, { variables: vars, role: membership.role }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/tenant/components/member/IdentityMembership.tsx",
      lineNumber: 24,
      columnNumber: 7
    }, void 0) }, membership.role, false, {
      fileName: "/__w/interface/interface/packages/admin/src/tenant/components/member/IdentityMembership.tsx",
      lineNumber: 23,
      columnNumber: 6
    }, void 0);
  }) }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/tenant/components/member/IdentityMembership.tsx",
    lineNumber: 16,
    columnNumber: 3
  }, void 0);
};
export {
  IdentityMembership
};
//# sourceMappingURL=IdentityMembership.js.map
