(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19317,e=>{"use strict";var t=e.i(372534);e.i(991577);var i=e.i(692423),a=(0,t.__name)((e,t)=>{let a;return"sandbox"===t&&(a=(0,i.select)("#i"+e)),("sandbox"===t?(0,i.select)(a.nodes()[0].contentDocument.body):(0,i.select)("body")).select(`[id="${e}"]`)},"getDiagramElement"),n=(0,t.__name)((e,i,a,n)=>{e.attr("class",a);let{width:s,height:d,x:l,y:c}=o(e,i);(0,t.configureSvgSize)(e,d,s,n);let g=r(l,c,s,d,i);e.attr("viewBox",g),t.log.debug(`viewBox configured: ${g} with padding: ${i}`)},"setupViewPortForSVG"),o=(0,t.__name)((e,t)=>{let i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+2*t,height:i.height+2*t,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),r=(0,t.__name)((e,t,i,a,n)=>`${e-n} ${t-n} ${i} ${a}`,"createViewBox");e.s(["getDiagramElement",()=>a,"setupViewPortForSVG",()=>n])},620405,e=>{"use strict";var t=e.i(905843),i=e.i(517279);e.s(["channel",0,(e,a)=>t.default.lang.round(i.default.parse(e)[a])],620405)}]);