import{i as r,r as e}from"./src-DpQ43D79.js";import{c as t}from"./chunk-ABZYJK2D-BK__A0nc.js";import{t as s}from"./chunk-EXTU4WIE-zvfV7wCk.js";import{t as a}from"./mermaid-parser.core-DmeGswDN.js";import{t as o}from"./chunk-DR5Q36YT-ZlN7BpZV.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};