import {
  parse
} from "./chunk-4PP2D4J3.js";
import "./chunk-JNL6ZMPU.js";
import "./chunk-6AY52PP5.js";
import "./chunk-BGOL3KE4.js";
import "./chunk-BWVCLYC2.js";
import "./chunk-EHMJAWCP.js";
import "./chunk-J6I4KWJZ.js";
import "./chunk-C3NR44DM.js";
import "./chunk-OBAUUS6I.js";
import "./chunk-GZDN7TDL.js";
import {
  package_default
} from "./chunk-7UGQM42H.js";
import {
  selectSvgElement
} from "./chunk-JG34TWZS.js";
import {
  configureSvgSize
} from "./chunk-V2CWUBTE.js";
import "./chunk-J2YEENOY.js";
import "./chunk-R3RCQBNM.js";
import {
  __name,
  log
} from "./chunk-QHRZIVGK.js";
import "./chunk-4CPJE7XN.js";
import "./chunk-FDBJFBLO.js";

// ../../node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-WHAUD3N6.mjs
var parser = {
  parse: __name(async (input) => {
    const ast = await parse("info", input);
    log.debug(ast);
  }, "parse")
};
var DEFAULT_INFO_DB = {
  version: package_default.version + (true ? "" : "-tiny")
};
var getVersion = __name(() => DEFAULT_INFO_DB.version, "getVersion");
var db = {
  getVersion
};
var draw = __name((text, id, version) => {
  log.debug("rendering info diagram\n" + text);
  const svg = selectSvgElement(id);
  configureSvgSize(svg, 100, 400, true);
  const group = svg.append("g");
  group.append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${version}`);
}, "draw");
var renderer = { draw };
var diagram = {
  parser,
  db,
  renderer
};
export {
  diagram
};
//# sourceMappingURL=infoDiagram-WHAUD3N6-QNAPUHUB.js.map
