// DS "Agent Avatar" blob character set, ported verbatim from // @base44/design-system AGENT_AVATARS (Figma node 29832:4199, Shape=1..8). // // These are multi-color brand illustrations with FIXED colors (NOT semantic // tokens) โ€” they look identical in every theme: // body: blue #3950E6 / green #134F25 / orange #FF631F ยท eyes #F2F2F2 // // Path data lives in Figma's 0โ€“40 design space; the viewBox is cropped to the // artwork (`2 2 36 36`) so the rendered `size` equals the visible glyph. // SECURITY: hardcoded, code-reviewed SVG only โ€” never source from user input. const AGENT_AVATAR_BODIES: string[] = [ '', '', '', '', '', '', '', '', ]; // Full standalone SVGs (DS viewBox "2 2 36 36"), ready for react-native-svg SvgXml. export const AGENT_AVATAR_SVGS: string[] = AGENT_AVATAR_BODIES.map( (body) => `${body}`, ); // Pick a shape by avatarIndex, with safe modulo for negative / out-of-range // values (mirrors the web DsAgentGlyph). export function agentAvatarSvg(avatarIndex?: number | null): string { const n = AGENT_AVATAR_SVGS.length; const index = (((avatarIndex ?? 0) % n) + n) % n; return AGENT_AVATAR_SVGS[index]; }