import { _ as r, l as s, aU as o, aa as i, aV as d } from "./index-BDD0CD9m.js";
import { N as g } from "./mermaid-parser.core-DHL9WXVx-DeKF3RZx.js";
var p = {
  parse: /* @__PURE__ */ r(async (a) => {
    const e = await g("info", a);
    s.debug(e);
  }, "parse")
}, m = {
  version: d.version + ""
}, c = /* @__PURE__ */ r(() => m.version, "getVersion"), l = {
  getVersion: c
}, v = /* @__PURE__ */ r((a, e, n) => {
  s.debug(`rendering info diagram
` + a);
  const t = o(e);
  i(t, 100, 400, !0), t.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"), f = { draw: v }, b = {
  parser: p,
  db: l,
  renderer: f
};
export {
  b as diagram
};
