const PrototypeIcon = ({ name, size = 18 }) => {
  const common = { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
  const paths = {
    meegle: <><rect x="3" y="4" width="18" height="16" rx="2"></rect><path d="M7 8h10M7 12h6M7 16h8"></path></>,
    lark: <><path d="M5 4h9l5 5v11H5z"></path><path d="M14 4v5h5M8 13h8M8 17h6"></path></>,
    admin: <><circle cx="12" cy="12" r="3"></circle><path d="M19 12a7 7 0 00-.12-1.28l2-1.55-2-3.46-2.43.97a7 7 0 00-2.2-1.28L14 3h-4l-.25 2.4a7 7 0 00-2.2 1.28l-2.43-.97-2 3.46 2 1.55A7 7 0 005 12c0 .44.04.87.12 1.28l-2 1.55 2 3.46 2.43-.97a7 7 0 002.2 1.28L10 21h4l.25-2.4a7 7 0 002.2-1.28l2.43.97 2-3.46-2-1.55c.08-.41.12-.84.12-1.28z"></path></>,
    home: <><path d="M3 11l9-8 9 8"></path><path d="M5 10v10h14V10M9 20v-6h6v6"></path></>,
    work: <><rect x="4" y="5" width="16" height="14" rx="2"></rect><path d="M8 9h8M8 13h5M8 17h7"></path></>,
    message: <><path d="M4 5h16v12H8l-4 4z"></path><path d="M8 9h8M8 13h5"></path></>,
    docs: <><path d="M6 3h8l4 4v14H6z"></path><path d="M14 3v5h5M9 12h6M9 16h6"></path></>,
    inbox: <><path d="M4 5h16v13H4z"></path><path d="M4 14h4l2 2h4l2-2h4"></path></>,
    team: <><circle cx="9" cy="8" r="3"></circle><circle cx="17" cy="9" r="2"></circle><path d="M3 20c0-4 2.5-6 6-6s6 2 6 6M15 15c3 0 5 1.8 5 5"></path></>,
    employee: <><circle cx="12" cy="8" r="4"></circle><path d="M4 21c0-5 3-8 8-8s8 3 8 8"></path></>,
    shield: <><path d="M12 3l7 3v5c0 4.8-2.8 8-7 10-4.2-2-7-5.2-7-10V6l7-3z"></path><path d="M9 12l2 2 4-5"></path></>,
    connection: <><path d="M8 12a4 4 0 004 4h2"></path><path d="M16 12a4 4 0 00-4-4h-2"></path><path d="M14 6l3 2-3 2M10 14l-3 2 3 2"></path></>,
    run: <><circle cx="12" cy="12" r="9"></circle><path d="M10 8l6 4-6 4z"></path></>,
    audit: <><rect x="5" y="3" width="14" height="18" rx="2"></rect><path d="M9 3v3h6V3M8 11h8M8 15h5"></path></>,
    search: <><circle cx="11" cy="11" r="7"></circle><path d="M16 16l4 4"></path></>,
    bell: <><path d="M6 9a6 6 0 0112 0c0 7 3 7 3 7H3s3 0 3-7"></path><path d="M10 20h4"></path></>,
    more: <><circle cx="5" cy="12" r="1"></circle><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle></>,
    chevron: <path d="M9 6l6 6-6 6"></path>,
    down: <path d="M6 9l6 6 6-6"></path>,
    back: <path d="M15 18l-6-6 6-6"></path>,
    plus: <><path d="M12 5v14M5 12h14"></path></>,
    play: <><circle cx="12" cy="12" r="9"></circle><path d="M10 8l6 4-6 4z"></path></>,
    pause: <><circle cx="12" cy="12" r="9"></circle><path d="M10 9v6M14 9v6"></path></>,
    stop: <><circle cx="12" cy="12" r="9"></circle><path d="M9 9h6v6H9z"></path></>,
    reset: <><path d="M4 7h5V2"></path><path d="M5 6a8 8 0 11-1 9"></path></>,
    arrow: <><path d="M5 12h14M14 7l5 5-5 5"></path></>,
    check: <><circle cx="12" cy="12" r="9"></circle><path d="M8 12l2.5 2.5L16 9"></path></>,
    x: <><circle cx="12" cy="12" r="9"></circle><path d="M9 9l6 6M15 9l-6 6"></path></>,
    edit: <><path d="M4 20h4L19 9l-4-4L4 16z"></path><path d="M13.5 6.5l4 4"></path></>,
    hand: <><path d="M8 12V5a2 2 0 014 0v5-3a2 2 0 014 0v4-2a2 2 0 014 0v5c0 4-2.5 7-7 7-3 0-4.5-1.5-6-4l-2-3a2 2 0 013-2l2 2"></path></>,
    lock: <><rect x="5" y="10" width="14" height="10" rx="2"></rect><path d="M8 10V7a4 4 0 018 0v3M12 14v2"></path></>,
    info: <><circle cx="12" cy="12" r="9"></circle><path d="M12 11v5M12 8h.01"></path></>,
    warning: <><path d="M12 3l10 18H2z"></path><path d="M12 9v5M12 17h.01"></path></>,
    clock: <><circle cx="12" cy="12" r="9"></circle><path d="M12 7v5l3 2"></path></>,
    send: <><path d="M3 11l18-8-8 18-2-8z"></path><path d="M11 13l10-10"></path></>,
    link: <><path d="M10 13a5 5 0 007 0l2-2a5 5 0 00-7-7l-1 1"></path><path d="M14 11a5 5 0 00-7 0l-2 2a5 5 0 007 7l1-1"></path></>,
    eye: <><path d="M2 12s4-6 10-6 10 6 10 6-4 6-10 6S2 12 2 12z"></path><circle cx="12" cy="12" r="2.5"></circle></>,
    download: <><path d="M12 3v12M7 10l5 5 5-5"></path><path d="M4 20h16"></path></>,
    copy: <><rect x="8" y="8" width="11" height="12" rx="2"></rect><path d="M16 8V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2h3"></path></>,
    filter: <><path d="M4 5h16M7 12h10M10 19h4"></path></>,
    key: <><circle cx="8" cy="15" r="4"></circle><path d="M11 12l8-8M16 7l2 2M14 9l2 2"></path></>,
    code: <><path d="M8 9l-4 3 4 3M16 9l4 3-4 3M14 5l-4 14"></path></>,
    database: <><ellipse cx="12" cy="5" rx="8" ry="3"></ellipse><path d="M4 5v6c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 11v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6"></path></>,
    spark: <><path d="M12 2l1.7 5.3L19 9l-5.3 1.7L12 16l-1.7-5.3L5 9l5.3-1.7z"></path><path d="M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z"></path></>,
    refresh: <><path d="M20 7h-5V2"></path><path d="M19 6a8 8 0 10.8 8"></path></>,
    sandbox: <><rect x="3" y="5" width="18" height="14" rx="2"></rect><path d="M3 9h18M7 13l2 2-2 2M12 17h4"></path></>
  };
  return <svg {...common}>{paths[name] || paths.info}</svg>;
};

Object.assign(window, { PrototypeIcon });
