import { mapEventToProfile, TaggedNostrEvent } from "@snort/system"; import { FormattedMessage } from "react-intl"; import KindName from "../kind-name"; import Avatar from "../User/Avatar"; import DisplayName from "../User/DisplayName"; import ProfileImage from "../User/ProfileImage"; export function ApplicationHandler({ ev }: { ev: TaggedNostrEvent }) { const profile = mapEventToProfile(ev); const kinds = ev.tags .filter(a => a[0] === "k") .map(a => Number(a[1])) .sort((a, b) => a - b); return (