import{i as r,r as t}from"./c25d902c2-Dbv6uExJ.js";import{t as e}from"./cd9160391-Dd_q4fPR.js";import{c as a}from"./c255cf682-BhczLtlf.js";import{t as s}from"./c88bd5d31-D8edEScf.js";var o="11.15.0",d={parser:{parse:t(async t=>{const a=await e("info",t);r.debug(a)},"parse")},db:{getVersion:t(()=>o,"getVersion")},renderer:{draw:t((t,e,o)=>{r.debug("rendering info diagram\n"+t);const d=s(e);a(d,100,400,!0),d.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{d as diagram};