"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const ui = require("@contember/ui");
const IdentityMembership = ({ RoleRenderer: RoleRenderer2, memberships }) => {
  return /* @__PURE__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.Fragment, { children: memberships.map((membership, i) => {
    const vars = {};
    for (let variable of membership.variables) {
      vars[variable.name] = variable.values;
    }
    return /* @__PURE__ */ jsxDevRuntime.jsxDEV(ui.Tag, { children: /* @__PURE__ */ jsxDevRuntime.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);
};
exports.IdentityMembership = IdentityMembership;
//# sourceMappingURL=IdentityMembership.cjs.map
