import { jsx as i } from "react/jsx-runtime";
import * as e from "react-icons/lu";
import { LuFileQuestion as c } from "react-icons/lu";
import * as u from "react-icons/si";
const f = {
  Si: u,
  Lu: e
}, m = (t) => {
  const o = t.substring(0, 2), n = t, r = f[o];
  if (!r)
    throw new Error(`Icon library "${o}" is not supported`);
  if (!r[n])
    throw new Error(`Icon "${n}" is not supported`);
  return r[n];
}, a = ({ name: t, ...o }) => {
  t.substring(0, 2) === "Lu" && !o.strokeWidth && (o.strokeWidth = 1.5);
  let r;
  try {
    r = m(t);
  } catch (s) {
    return console.error(s), /* @__PURE__ */ i(c, { ...o });
  }
  return /* @__PURE__ */ i(r, { ...o });
};
export {
  a as I
};
