import{_ as a,e as s,l}from"./mermaid.core-Dw_sqhgs.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:"28ce3948dcef68c9e8b5be7c5619a3bd17c18150"}}catch{}})();var x=a((e,t,i,n)=>{e.attr("class",i);const{width:o,height:r,x:d,y:h}=w(e,t);s(e,r,o,n);const c=f(d,h,o,r,t);e.attr("viewBox",c),l.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=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"),f=a((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");export{x as s};
//# sourceMappingURL=chunk-QN33PNHL-BPUcKA2M.js.map
