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] = "3d3af074-50f8-4d11-9152-83a1a8332b14", e._sentryDebugIdIdentifier = "sentry-dbid-3d3af074-50f8-4d11-9152-83a1a8332b14");
} catch (e) {}
import { t as DecisionMakerTypes } from "./decision-maker-type-DHBYiKIe.js";
import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-paR1FXfI.js";
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-CtwHVLzp.js";
//#region src/utils/roleMetadata.ts
var 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"
	}
};
var getRoleTagVariant = (role) => roleMetadata[role]?.variant ?? "blue";
var getRoleName = (role) => roleMetadata[role]?.name ?? role;
//#endregion
export { getRoleTagVariant as n, roleMetadata as r, getRoleName as t };
