import{_ as a,e as c,l}from"./mermaid.core-CQtGV0ai.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3ea6c863933c57219be78eb06addfb47859d8df2"}}catch{}})();var x=a((e,t,i,n)=>{e.attr("class",i);const{width:o,height:r,x:h,y:s}=f(e,t);c(e,r,o,n);const d=w(h,s,o,r,t);e.attr("viewBox",d),l.debug(`viewBox configured: ${d} with padding: ${t}`)},"setupViewPortForSVG"),f=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),w=a((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");export{x as s};
//# sourceMappingURL=chunk-QN33PNHL-CcjqzC7E.js.map
