import { n as t, r as s } from "./chunk-AGHRB4JF.js";
import { c as o } from "./chunk-ICPOFSXX.js";
import { t as i } from "./chunk-426QAEUC.js";
import { t as d } from "./mermaid-parser.core.js";
var g = { parse: /* @__PURE__ */ t(async (r) => {
  const e = await d("info", r);
  s.debug(e);
}, "parse") }, m = { version: "11.14.0" }, l = {
  parser: g,
  db: { getVersion: /* @__PURE__ */ t(() => m.version, "getVersion") },
  renderer: { draw: /* @__PURE__ */ t((r, e, n) => {
    s.debug(`rendering info diagram
` + r);
    const a = i(e);
    o(a, 100, 400, !0), a.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
  }, "draw") }
};
export {
  l as diagram
};

//# sourceMappingURL=infoDiagram-42DDH7IO.js.map