const EMPTY_STATUS_TEXT = 'Kein Status gesetzt';

export function getProfileCardStatusText(statusMessage: string | null | undefined): string {
  const trimmed = statusMessage?.trim() ?? '';
  return trimmed || EMPTY_STATUS_TEXT;
}

export function getProfileAvatarPreviewUrl(avatarUrl: string | null | undefined): string | null {
  const trimmed = avatarUrl?.trim() ?? '';
  return trimmed || null;
}
