import {
  parse
} from "/assets/chunk-WM4NX57Z.js";
import "/assets/chunk-EM6KCXEQ.js";
import "/assets/chunk-6TZYSKCF.js";
import "/assets/chunk-B5HV6ORF.js";
import "/assets/chunk-3GJ2HPTC.js";
import "/assets/chunk-T5F2ZLXK.js";
import "/assets/chunk-QF6P5FIA.js";
import "/assets/chunk-U2KSNV2C.js";
import "/assets/chunk-AFRC4DDJ.js";
import "/assets/chunk-SGY2646Z.js";
import {
  selectSvgElement
} from "/assets/chunk-RUXD2GS6.js";
import {
  configureSvgSize
} from "/assets/chunk-SY6T44Z5.js";
import {
  __name,
  log
} from "/assets/chunk-L6RGLV4F.js";
import "/assets/chunk-4DKZI6UX.js";
import "/assets/chunk-AZA4ARGU.js";
import "/assets/chunk-GCEV5PP5.js";

// ../node_modules/.pnpm/mermaid@11.15.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-5YYISTIA.mjs
var parser = {
  parse: /* @__PURE__ */ __name(async (input) => {
    const ast = await parse("info", input);
    log.debug(ast);
  }, "parse")
};
var DEFAULT_INFO_DB = {
  version: "11.15.0" + (true ? "" : "-tiny")
};
var getVersion = /* @__PURE__ */ __name(() => DEFAULT_INFO_DB.version, "getVersion");
var db = {
  getVersion
};
var draw = /* @__PURE__ */ __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=/assets/infoDiagram-5YYISTIA-FUTKGLL4.js.map
