import{i as r,r as e}from"./src-DK-XqvI0.js";import{c as t}from"./chunk-ABZYJK2D-CweQo3MH.js";import{t as s}from"./chunk-EXTU4WIE-REWx4wUn.js";import{t as a}from"./mermaid-parser.core-CcWf08AI.js";import{t as o}from"./chunk-DR5Q36YT-gtULqeoG.js";var n={parse:e(async e=>{const t=await a("info",e);r.debug(t)},"parse")},i={version:o.version+""},m={parser:n,db:{getVersion:e(()=>i.version,"getVersion")},renderer:{draw:e((e,a,o)=>{r.debug("rendering info diagram\n"+e);const n=s(a);t(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw")}};export{m as diagram};