// Metro module 9002 (f9003). import { PlatformTypes } from "../../Constants"; export function validateHandle(a0, a1) { if (a1 === PlatformTypes.MASTODON) { /^@?[a-z0-9_]+([.-]+[a-z0-9_]+)*@[^@]+\.[^.@]{2,}$/i.test(a0); } return /^.+\.[^.@]{2,}$/.test(a0); } export function getExampleHandle(a0) { return a0 !== PlatformTypes.MASTODON ? a0 === PlatformTypes.BLUESKY ? "example.bsky.social" : "clyde@example.com" : "@example@mastodon.social"; }