import { jsx as i } from "react/jsx-runtime";
import t from "../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/tsx.es.js";
import s from "../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/python.es.js";
import { p as o } from "../../_virtual/index.es.js";
import r from "../../node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.es.js";
r.registerLanguage("js", t);
r.registerLanguage("jsx", t);
r.registerLanguage("ts", t);
r.registerLanguage("tsx", t);
r.registerLanguage("python", s);
const h = ({
  children: e,
  language: g,
  className: a
}) => /* @__PURE__ */ i(
  r,
  {
    language: g,
    style: o.coldarkDark,
    customStyle: {
      margin: 0,
      width: "100%",
      background: "transparent",
      padding: "1.5rem 1rem"
    },
    className: a,
    children: e
  }
);
export {
  h as SyntaxHighlighter
};
//# sourceMappingURL=syntax-highlighter.es.js.map
