;
{
  try {
    let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
    n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1b9386c7-aec5-43e8-9afa-c2e6a61843e7", e._sentryDebugIdIdentifier = "sentry-dbid-1b9386c7-aec5-43e8-9afa-c2e6a61843e7");
  } catch (e) {
  }
}
;
import { bo as TrustMemberGuidanceLabels, bn as TrustMemberTypes, ax as DecisionMakerTypes } from "./StoreProvider-CqQrndhS.js";
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
const roleMetadata = {
  [DecisionMakerTypes.CONTROLLING_PERSON]: {
    name: "controllingPerson",
    description: "controllingPersonDescription"
  },
  [DecisionMakerTypes.OWNER]: {
    name: "owner",
    description: "ownerDescription"
  },
  [DecisionMakerTypes.SIGNATORY]: {
    name: "signatory",
    description: "signatoryDescription"
  },
  [DecisionMakerTypes.DIRECTOR]: {
    name: "director",
    description: "directorDescription"
  },
  [TrustMemberTypes.DEFINED_BENEFICIARY]: {
    name: "definedBeneficiary",
    description: "definedBeneficiaryDescription"
  },
  [TrustMemberTypes.UNDEFINED_BENEFICIARY]: {
    name: "undefinedBeneficiary",
    description: "undefinedBeneficiaryDescription"
  },
  [TrustMemberTypes.PROTECTOR]: {
    name: "protector",
    description: "personAppointmentUnderTrustInstrument"
  },
  [TrustMemberTypes.TRUSTEE]: {
    name: "trustee",
    description: "legalOwnerOfProperty"
  },
  [TrustMemberTypes.SETTLOR]: {
    name: "settlor",
    description: "entityEstablishingTrust"
  },
  [TrustMemberGuidanceLabels.BENEFICIARY]: {
    name: TrustMemberGuidanceLabels.BENEFICIARY
  },
  [TrustMemberGuidanceLabels.TRUSTEE]: {
    name: TrustMemberGuidanceLabels.TRUSTEE
  },
  [UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: {
    name: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
    description: "secondaryPartnerGuideDescription"
  }
};
const getRoleTagVariant = (role) => roleMetadata[role]?.variant ?? "blue";
const getRoleName = (role) => roleMetadata[role]?.name ?? role;
export {
  getRoleTagVariant as a,
  getRoleName as g,
  roleMetadata as r
};
