// Inline SVG icons in lucide style. Each accepts {className, size, strokeWidth}.
const Ic = (paths) => ({ className = "", size = 18, strokeWidth = 1.75, fill = "none" }) => (
  <svg
    xmlns="http://www.w3.org/2000/svg"
    width={size} height={size}
    viewBox="0 0 24 24"
    fill={fill}
    stroke="currentColor"
    strokeWidth={strokeWidth}
    strokeLinecap="round"
    strokeLinejoin="round"
    className={className}
  >{paths}</svg>
);

const Icon = {
  Home: Ic(<><path d="M3 10.5 12 3l9 7.5"/><path d="M5 9.5V21h14V9.5"/></>),
  Chat: Ic(<><path d="M21 12a8 8 0 1 1-3.2-6.4L21 4l-1 4.2A8 8 0 0 1 21 12Z"/><path d="M8 11h8"/><path d="M8 14h5"/></>),
  ChatDots: Ic(<><path d="M21 12a8 8 0 1 1-3.2-6.4L21 4l-1 4.2A8 8 0 0 1 21 12Z"/><circle cx="9" cy="12" r="1" fill="currentColor"/><circle cx="13" cy="12" r="1" fill="currentColor"/><circle cx="17" cy="12" r="1" fill="currentColor"/></>),
  Globe: Ic(<><circle cx="12" cy="12" r="9"/><path d="M3 12h18"/><path d="M12 3a13 13 0 0 1 0 18"/><path d="M12 3a13 13 0 0 0 0 18"/></>),
  Users: Ic(<><circle cx="9" cy="8" r="3.5"/><path d="M2.5 20a6.5 6.5 0 0 1 13 0"/><circle cx="17" cy="9" r="2.8"/><path d="M16 14.5a5.5 5.5 0 0 1 5.5 5.5"/></>),
  Bookmark: Ic(<><path d="M6 3h12v18l-6-4-6 4Z"/></>),
  Bolt: Ic(<><path d="M13 3 4 14h7l-1 7 9-11h-7l1-7Z"/></>),
  Chart: Ic(<><path d="M3 3v18h18"/><path d="M7 14l3-3 3 3 5-6"/></>),
  Settings: Ic(<><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z"/></>),
  Search: Ic(<><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></>),
  Bell: Ic(<><path d="M6 8a6 6 0 1 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a2 2 0 0 0 3.4 0"/></>),
  Plus: Ic(<><path d="M12 5v14"/><path d="M5 12h14"/></>),
  Close: Ic(<><path d="M6 6l12 12"/><path d="M18 6 6 18"/></>),
  ArrowRight: Ic(<><path d="M5 12h14"/><path d="m13 5 7 7-7 7"/></>),
  ArrowUpRight: Ic(<><path d="M7 17 17 7"/><path d="M8 7h9v9"/></>),
  ChevronDown: Ic(<><path d="m6 9 6 6 6-6"/></>),
  ChevronRight: Ic(<><path d="m9 6 6 6-6 6"/></>),
  ChevronLeft: Ic(<><path d="m15 6-6 6 6 6"/></>),
  Check: Ic(<><path d="M5 12.5 10 17.5 19.5 7.5"/></>),
  Send: Ic(<><path d="M3 12 21 4l-7 18-3-7-8-3Z"/></>),
  Paperclip: Ic(<><path d="M21 11.5 12 20.5a5.5 5.5 0 0 1-7.78-7.78L13 4a3.7 3.7 0 0 1 5.23 5.24l-8.78 8.77a1.85 1.85 0 1 1-2.62-2.62l7.36-7.36"/></>),
  Smile: Ic(<><circle cx="12" cy="12" r="9"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><line x1="9" y1="9" x2="9.01" y2="9"/><line x1="15" y1="9" x2="15.01" y2="9"/></>),
  Mic: Ic(<><rect x="9" y="3" width="6" height="12" rx="3"/><path d="M5 11a7 7 0 0 0 14 0"/><path d="M12 18v3"/></>),
  Filter: Ic(<><path d="M3 5h18l-7 9v6l-4-2v-4Z"/></>),
  Tag: Ic(<><path d="M3 11V4h7l11 11-7 7Z"/><circle cx="7.5" cy="7.5" r="1.2" fill="currentColor"/></>),
  Note: Ic(<><path d="M4 4h12l4 4v12H4Z"/><path d="M16 4v4h4"/><path d="M8 13h8"/><path d="M8 17h6"/></>),
  Shield: Ic(<><path d="M12 3 4 6v6c0 5 3.5 8.5 8 9 4.5-.5 8-4 8-9V6Z"/></>),
  Zap: Ic(<><path d="M13 3 4 14h7l-1 7 9-11h-7l1-7Z"/></>),
  Sparkle: Ic(<><path d="M12 3v4"/><path d="M12 17v4"/><path d="M3 12h4"/><path d="M17 12h4"/><path d="m6 6 2.8 2.8"/><path d="m15.2 15.2 2.8 2.8"/><path d="m6 18 2.8-2.8"/><path d="m15.2 8.8 2.8-2.8"/></>),
  Code: Ic(<><path d="m8 6-6 6 6 6"/><path d="m16 6 6 6-6 6"/><path d="m14 4-4 16"/></>),
  Copy: Ic(<><rect x="8" y="8" width="13" height="13" rx="2"/><path d="M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"/></>),
  Eye: Ic(<><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z"/><circle cx="12" cy="12" r="3"/></>),
  Logo: Ic(<><circle cx="12" cy="12" r="9" stroke="none" fill="#A6F84A"/><path d="M8 10v4a4 4 0 0 0 8 0v-1" stroke="#0a0b0f" strokeWidth="2"/></>),
  Smiley: Ic(<><circle cx="12" cy="12" r="9"/><circle cx="9" cy="10" r="0.8" fill="currentColor"/><circle cx="15" cy="10" r="0.8" fill="currentColor"/><path d="M8.5 14.5s1.3 2 3.5 2 3.5-2 3.5-2"/></>),
  Sun: Ic(<><circle cx="12" cy="12" r="4"/><path d="M12 3v2"/><path d="M12 19v2"/><path d="M3 12h2"/><path d="M19 12h2"/><path d="m5.5 5.5 1.5 1.5"/><path d="m17 17 1.5 1.5"/><path d="m5.5 18.5 1.5-1.5"/><path d="m17 7 1.5-1.5"/></>),
  Moon: Ic(<><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z"/></>),
  Lock: Ic(<><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></>),
  Image: Ic(<><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-5-5L5 21"/></>),
  Phone: Ic(<><path d="M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.7.6 2.5a2 2 0 0 1-.5 2.1L8 9.6a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.8.3 1.6.5 2.5.6a2 2 0 0 1 1.7 2Z"/></>),
  Mail: Ic(<><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 7 9-7"/></>),
  Building: Ic(<><rect x="4" y="3" width="16" height="18" rx="1"/><path d="M9 7h.01M13 7h.01M9 11h.01M13 11h.01M9 15h.01M13 15h.01"/></>),
  Star: Ic(<><path d="m12 3 2.6 5.4 5.9.9-4.2 4.2 1 5.9L12 16.6 6.7 19.4l1-5.9L3.5 9.3l5.9-.9Z"/></>),
  Trash: Ic(<><path d="M3 6h18"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><path d="M5 6v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6"/></>),
  Edit: Ic(<><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4Z"/></>),
  Headset: Ic(<><path d="M3 14v-2a9 9 0 0 1 18 0v2"/><rect x="3" y="14" width="5" height="6" rx="1.5"/><rect x="16" y="14" width="5" height="6" rx="1.5"/><path d="M21 18v1a3 3 0 0 1-3 3h-3"/></>),
  Refresh: Ic(<><path d="M3 12a9 9 0 0 1 15.5-6.3L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-15.5 6.3L3 16"/><path d="M3 21v-5h5"/></>),
  More: Ic(<><circle cx="5" cy="12" r="1.3" fill="currentColor"/><circle cx="12" cy="12" r="1.3" fill="currentColor"/><circle cx="19" cy="12" r="1.3" fill="currentColor"/></>),
  Menu: Ic(<><path d="M3 6h18"/><path d="M3 12h18"/><path d="M3 18h18"/></>),
  Wallet: Ic(<><rect x="3" y="6" width="18" height="14" rx="2"/><path d="M3 10h18"/><circle cx="17" cy="15" r="1.2" fill="currentColor"/></>),
  Help: Ic(<><circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.7.4-1 .9-1 1.7"/><circle cx="12" cy="17" r="0.8" fill="currentColor"/></>),
  Game: Ic(<><rect x="2" y="7" width="20" height="11" rx="3"/><path d="M7 12h2"/><path d="M8 11v2"/><circle cx="15" cy="11" r="0.9" fill="currentColor"/><circle cx="17.5" cy="13" r="0.9" fill="currentColor"/></>),
  Id: Ic(<><rect x="3" y="5" width="18" height="14" rx="2"/><circle cx="9" cy="12" r="2.4"/><path d="M14 10h5"/><path d="M14 13h4"/><path d="M6.5 17a2.5 2.5 0 0 1 5 0"/></>),
  Dot: Ic(<><circle cx="12" cy="12" r="3" fill="currentColor"/></>),
  Power: Ic(<><path d="M12 3v9"/><path d="M5.6 6.6a9 9 0 1 0 12.8 0"/></>),
  Layers: Ic(<><path d="m12 3 9 5-9 5-9-5 9-5Z"/><path d="m3 13 9 5 9-5"/><path d="m3 18 9 5 9-5"/></>),
  Robot: Ic(<><rect x="4" y="7" width="16" height="13" rx="3"/><circle cx="9" cy="13" r="1.2" fill="currentColor"/><circle cx="15" cy="13" r="1.2" fill="currentColor"/><path d="M12 7V4"/><circle cx="12" cy="3" r="1" fill="currentColor"/></>),
  Messenger: Ic(<><path d="M12 3C6.7 3 2.5 7 2.5 11.8c0 2.7 1.3 5.1 3.4 6.7V22l3.1-1.7c1 .3 2 .4 3 .4 5.3 0 9.5-4 9.5-8.9S17.3 3 12 3Z"/><path d="m7 13 3-3 2.2 2L15 9.5"/></>),
};

window.Icon = Icon;
