import{_ as i,e as t,l as e}from"./App-DjDfFse6.js";var o=i((i,o,h,r)=>{i.attr("class",h);const{width:n,height:d,x:c,y:w}=s(i,o);t(i,d,n,r);const x=a(c,w,n,d,o);i.attr("viewBox",x),e.debug(`viewBox configured: ${x} with padding: ${o}`)},"setupViewPortForSVG"),s=i((i,t)=>{var e;const o=(null==(e=i.node())?void 0:e.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+2*t,height:o.height+2*t,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),a=i((i,t,e,o,s)=>`${i-s} ${t-s} ${e} ${o}`,"createViewBox");export{o as s};
