const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-BM42HDAG-BKEiwfqL.js","assets/chunk-O5CBEL6O-DNM3oqqd.js","assets/src-D-NMWEou.js","assets/chunk-Cyuzqnbw.js","assets/chunk-5ZQYHXKU-BKIlsMD9.js","assets/dist-D4B_Bs5p.js","assets/chunk-CSCIHK7Q-DmZAAQUE.js","assets/index-V977rFVH.js","assets/api-DTaM-PBA.js","assets/bundle-mjs-DssaXR6m.js","assets/useBaseUiId-DL38u1cQ.js","assets/react-dom-Bm-PY09n.js","assets/index-BdtKSgW5.css","assets/dagre-Bx709z4p.js","assets/graphlib-B8gBHxth.js","assets/chunk-3OPIFGDE-DFCU-rtw.js","assets/chunk-L5ZTLDWV-BWvqWlCz.js","assets/chunk-NZK2D7GU-CS-hh8Wb.js","assets/rough.esm-CSKSodPl.js","assets/chunk-BSJP7CBP-DIpfLhEz.js","assets/chunk-KSCS5N6A-DYkEgfUP.js","assets/line-CfIOvoQs.js","assets/path-BWPyau1x.js","assets/array-BifhSqXX.js","assets/cose-bilkent-S5V4N54A-BPg4WNhP.js","assets/cytoscape.esm-h6BdjjI9.js"])))=>i.map(i=>d[i]);
import{tn as e}from"./index-V977rFVH.js";import{g as t,h as n}from"./src-D-NMWEou.js";import{b as r,s as i}from"./chunk-CSCIHK7Q-DmZAAQUE.js";import{d as a}from"./chunk-5ZQYHXKU-BKIlsMD9.js";import{a as o,i as s,s as c}from"./chunk-3OPIFGDE-DFCU-rtw.js";import{a as l,i as u,n as d,r as f}from"./chunk-KSCS5N6A-DYkEgfUP.js";var p={common:i,getConfig:r,insertCluster:s,insertEdge:d,insertEdgeLabel:f,insertMarkers:u,insertNode:o,interpolateToCurve:a,labelHelper:c,log:t,positionEdgeLabel:l},m={},h=n(e=>{for(let t of e)m[t.name]=t},`registerLayoutLoaders`);n(()=>{h([{name:`dagre`,loader:n(async()=>await e(()=>import(`./dagre-BM42HDAG-BKEiwfqL.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23])),`loader`)},{name:`cose-bilkent`,loader:n(async()=>await e(()=>import(`./cose-bilkent-S5V4N54A-BPg4WNhP.js`),__vite__mapDeps([24,3,25,2])),`loader`)}])},`registerDefaultLayoutLoaders`)();var g=n(async(e,t)=>{if(!(e.layoutAlgorithm in m))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=m[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:o,gradientStart:s,gradientStop:c}=a,l=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),o){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,s).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,c).attr(`stop-opacity`,1)}return r.render(e,t,p,{algorithm:n.algorithm})},`render`),_=n((e=``,{fallback:n=`dagre`}={})=>{if(e in m)return e;if(n in m)return t.warn(`Layout algorithm ${e} is not registered. Using ${n} as fallback.`),n;throw Error(`Both layout algorithms ${e} and ${n} are not registered.`)},`getRegisteredLayoutAlgorithm`);export{h as n,g as r,_ as t};