import "./chunk-TCCFYFTB-D58KeXnC.js";
import "./main-Tj_-QTyF.js";
import "./purify.es-H92eMd9-.js";
import { i as log, r as __name } from "./src-Bf2iLOlr.js";
import { t as package_default } from "./chunk-DR5Q36YT-BflwErH1.js";
import { c as configureSvgSize } from "./chunk-ABZYJK2D-Dz0-H2B5.js";
import { t as selectSvgElement } from "./chunk-EXTU4WIE-9sNjmQrB.js";
import "./chunk-UMXZTB3W-D7uwvNjd.js";
import "./chunk-4F5CHEZ2-D9nGEHV8.js";
import "./chunk-FRFDVMJY-DzQqMWrl.js";
import "./chunk-SJTYNZTY-BkJrPRFC.js";
import "./chunk-PL6DKKU2-D7km-08O.js";
import "./chunk-TQ3KTPDO-D_yA_wAb.js";
import "./chunk-B2363JML-KEJpLGGP.js";
import { t as parse } from "./mermaid-parser.core-C3XRsazI.js";
var parser = { parse: /* @__PURE__ */ __name(async (a) => {
  let o = await parse("info", a);
  log.debug(o);
}, "parse") }, DEFAULT_INFO_DB = { version: package_default.version + "" }, diagram = {
  parser,
  db: { getVersion: /* @__PURE__ */ __name(() => DEFAULT_INFO_DB.version, "getVersion") },
  renderer: { draw: /* @__PURE__ */ __name((a, o, s) => {
    log.debug("rendering info diagram\n" + a);
    let c = selectSvgElement(o);
    configureSvgSize(c, 100, 400, true), c.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${s}`);
  }, "draw") }
};
export {
  diagram
};
