/* SEAL icon set — 1.5px line icons, currentColor. Exported to window. */
const Ic = (paths, vb = 24) => ({ size = 20, stroke = 1.6, fill = false, ...p } = {}) =>
  React.createElement(
    "svg",
    { width: size, height: size, viewBox: `0 0 ${vb} ${vb}`, fill: "none",
      stroke: "currentColor", strokeWidth: stroke, strokeLinecap: "round", strokeLinejoin: "round", ...p },
    paths.map((el, i) => React.cloneElement(el, { key: i }))
  );

const P = (d, extra = {}) => React.createElement("path", { d, ...extra });
const C = (cx, cy, r, extra = {}) => React.createElement("circle", { cx, cy, r, ...extra });
const L = (x1, y1, x2, y2) => React.createElement("line", { x1, y1, x2, y2 });
const Rt = (x, y, w, h, rx) => React.createElement("rect", { x, y, width: w, height: h, rx });

const Icons = {
  // nav / structure
  home: Ic([P("M3 10.5 12 3l9 7.5"), P("M5 9.5V21h14V9.5"), P("M9.5 21v-6h5v6")]),
  doc: Ic([P("M6 2h8l4 4v16H6z"), P("M14 2v4h4"), L(9, 12, 15, 12), L(9, 16, 15, 16)]),
  wallet: Ic([Rt(3, 6, 18, 13, 3), P("M3 10h18"), C(17, 13.5, 1.3, { fill: "currentColor", stroke: "none" })]),
  book: Ic([P("M5 4h11a2 2 0 0 1 2 2v14H7a2 2 0 0 1-2-2z"), P("M5 4a2 2 0 0 0-2 2v12"), L(9, 9, 14, 9)]),
  inbox: Ic([P("M3 13h5l1.5 3h5L16 13h5"), P("M3 13 6 5h12l3 8v6H3z")]),
  spark: Ic([P("M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5 18 18M18 6l-2.5 2.5M8.5 15.5 6 18"), C(12, 12, 3.2)]),
  bolt: Ic([P("M13 2 4 14h7l-1 8 9-12h-7z")]),
  folder: Ic([P("M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z")]),
  history: Ic([P("M3 12a9 9 0 1 0 3-6.7L3 8"), P("M3 4v4h4"), P("M12 8v4l3 2")]),
  shield: Ic([P("M12 3 5 6v6c0 4 3 7 7 9 4-2 7-5 7-9V6z"), P("M9 12l2 2 4-4")]),
  gear: Ic([C(12, 12, 3), P("M19 12a7 7 0 0 0-.1-1.2l2-1.5-2-3.4-2.3 1a7 7 0 0 0-2-1.2L16 2H8l-.6 2.7a7 7 0 0 0-2 1.2l-2.3-1-2 3.4 2 1.5A7 7 0 0 0 3 12c0 .4 0 .8.1 1.2l-2 1.5 2 3.4 2.3-1c.6.5 1.3.9 2 1.2L8 22h8l.6-2.7c.7-.3 1.4-.7 2-1.2l2.3 1 2-3.4-2-1.5c.1-.4.1-.8.1-1.2z")]),
  // ui
  chat: Ic([P("M4 5h16v11H9l-4 4v-4H4z"), L(8, 10, 16, 10), L(8, 13, 13, 13)]),
  chevDown: Ic([P("M6 9l6 6 6-6")]),
  chevRight: Ic([P("M9 6l6 6-6 6")]),
  arrowRight: Ic([P("M5 12h14"), P("M13 6l6 6-6 6")]),
  plus: Ic([L(12, 5, 12, 19), L(5, 12, 19, 12)]),
  check: Ic([P("M5 12.5 10 17l9-10")]),
  checkCircle: Ic([C(12, 12, 9), P("M8.5 12.5 11 15l4.5-5.5")]),
  edit: Ic([P("M4 20h4L18.5 9.5a2 2 0 0 0-3-3L5 17z"), L(13.5, 7.5, 16.5, 10.5)]),
  x: Ic([L(6, 6, 18, 18), L(18, 6, 6, 18)]),
  send: Ic([P("M4 12 20 4l-6 16-3-7z"), L(11, 13, 20, 4)]),
  plane: Ic([P("M2 14l20-7-7 20-3.5-7.5z"), L(11.5, 12.5, 22, 7)]),
  cpu: Ic([Rt(7, 7, 10, 10, 2), Rt(4, 4, 16, 16, 3), L(10, 1.5, 10, 4), L(14, 1.5, 14, 4), L(10, 20, 10, 22.5), L(14, 20, 14, 22.5), L(1.5, 10, 4, 10), L(1.5, 14, 4, 14), L(20, 10, 22.5, 10), L(20, 14, 22.5, 14)]),
  box: Ic([P("M3 7 12 3l9 4v10l-9 4-9-4z"), P("M3 7l9 4 9-4"), L(12, 11, 12, 21)]),
  bag: Ic([P("M6 8h12l-1 12H7z"), P("M9 8a3 3 0 0 1 6 0")]),
  pdf: Ic([P("M6 2h8l4 4v16H6z"), P("M14 2v4h4"), P("M8.5 17v-3h1a1 1 0 0 1 0 2h-1M13 14v3M13 14h1.5M13 15.5h1.2M16.5 14h1.5v3")]),
  receipt: Ic([P("M5 3h14v18l-2.5-1.5L14 21l-2-1.5L10 21l-2.5-1.5L5 21z"), L(8.5, 8, 15.5, 8), L(8.5, 12, 13.5, 12)]),
  coins: Ic([C(8, 8, 5), P("M13 8.5a5 5 0 1 1-4.5 8.4"), P("M3 8v3c0 1.7 2.2 3 5 3s5-1.3 5-3V8")]),
  search: Ic([C(11, 11, 7), L(20, 20, 16.5, 16.5)]),
  phone: Ic([P("M5 3h4l2 5-2.5 1.5a11 11 0 0 0 5 5L20 12l2 5v0a2 2 0 0 1-2 2 16 16 0 0 1-15-15 2 2 0 0 1 2-1z")]),
  file: Ic([P("M6 2h8l4 4v16H6z"), P("M14 2v4h4")]),
  scale: Ic([L(12, 4, 12, 20), L(7, 20, 17, 20), P("M12 5 6 8l-2.5 6a3 3 0 0 0 5 0L6 8"), P("M12 5l6 3 2.5 6a3 3 0 0 1-5 0L18 8")]),
  link: Ic([P("M9 15l6-6"), P("M10.5 6.5 13 4a4 4 0 0 1 6 6l-2.5 2.5"), P("M13.5 17.5 11 20a4 4 0 0 1-6-6l2.5-2.5")]),
  clock: Ic([C(12, 12, 9), P("M12 7v5l3 2")]),
  alert: Ic([P("M12 3 2 20h20z"), L(12, 9, 12, 14), C(12, 17, 0.6, { fill: "currentColor", stroke: "none" })]),
  external: Ic([P("M14 4h6v6"), L(20, 4, 11, 13), P("M18 14v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h5")]),
  sparkles: Ic([P("M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z"), P("M18 14l.7 2 2 .7-2 .7-.7 2-.7-2-2-.7 2-.7z")]),
  user: Ic([C(12, 8, 3.5), P("M5 20a7 7 0 0 1 14 0")]),
};

window.Icons = Icons;
