import { __name as e, log as t } from "./chunk-AGHRB4JF.js";
import { configureSvgSize as n } from "./chunk-ICPOFSXX.js";
import { selectSvgElement as r } from "./chunk-426QAEUC.js";
import { parse as i } from "../../../../@mermaid-js/parser/dist/mermaid-parser.core.js";
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.mjs
var a = { parse: /* @__PURE__ */ e(async (e) => {
	let n = await i("info", e);
	t.debug(n);
}, "parse") }, o = { version: "11.14.0" }, s = {
	parser: a,
	db: { getVersion: /* @__PURE__ */ e(() => o.version, "getVersion") },
	renderer: { draw: /* @__PURE__ */ e((e, i, a) => {
		t.debug("rendering info diagram\n" + e);
		let o = r(i);
		n(o, 100, 400, !0), o.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${a}`);
	}, "draw") }
};
//#endregion
export { s as diagram };
