import{b4aske,_asdt,LasZe,afasqe,lasSe,basQe,aasJe,qasKe,tasje,gas_e,sastr,Aaser,Hasrr,Fasir,Iasar,casEe,aOasme,b5aspe,iasnr,dasor,yassr,b6ashr,b7aslr}from"./mermaid.core.BrszyIat.js";import{pasfr}from"./chunk-4BX2VUAB.DCv7cNfo.js";import{pascr}from"./wardley-L42UT6IY.C8rjnVeB.js";import{casFe}from"./cytoscape.esm.OyMbaexL.js";import"./framework.C2AwuPrQ.js";varhe={exports:{}},le={exports:{}},fe={exports:{}},gr=fe.exports,Me;functionur(){returnMe||(Me=1,(function(I,O){(function(G,N){I.exports=N()})(gr,function(){return(function(A){varG={};functionN(g){if(G[g])returnG[g].exports;varh=G[g]={i:g,l:!1,exports:{}};returnA[g].call(h.exports,h,h.exports,N),h.l=!0,h.exports}returnN.m=A,N.c=G,N.i=function(g){returng},N.d=function(g,h,a){N.o(g,h)||Object.defineProperty(g,h,{configurable:!1,enumerable:!0,get:a})},N.n=function(g){varh=g&&g.__esModule?function(){returng.default}:function(){returng};returnN.d(h,"a",h),h},N.o=function(g,h){returnObject.prototype.hasOwnProperty.call(g,h)},N.p="",N(N.s=28)})([(function(A,G,N){functiong(){}g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,A.exports=g}),(function(A,G,N){varg=N(2),h=N(8),a=N(9);functione(f,r,d){g.call(this,d),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=d,this.bendpoints=[],this.source=f,this.target=r}e.prototype=Object.create(g.prototype);for(variing)e[i]=g[i];e.prototype.getSource=function(){returnthis.source},e.prototype.getTarget=function(){returnthis.target},e.prototype.isInterGraph=function(){returnthis.isInterGraph},e.prototype.getLength=function(){returnthis.length},e.prototype.isOverlapingSourceAndTarget=function(){returnthis.isOverlapingSourceAndTarget},e.prototype.getBendpoints=function(){returnthis.bendpoints},e.prototype.getLca=function(){returnthis.lca},e.prototype.getSourceInLca=function(){returnthis.sourceInLca},e.prototype.getTargetInLca=function(){returnthis.targetInLca},e.prototype.getOtherEnd=function(f){if(this.source===f)returnthis.target;if(this.target===f)returnthis.source;throw"Node is not incident with this edge"},e.prototype.getOtherEndInGraph=function(f,r){for(vard=this.getOtherEnd(f),t=r.getGraphManager().getRoot();;){if(d.getOwner()==r)returnd;if(d.getOwner()==t)break;d=d.getOwner().getParent()}returnnull},e.prototype.updateLength=function(){varf=newArray(4);this.isOverlapingSourceAndTarget=h.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},e.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},A.exports=e}),(function(A,G,N){functiong(h){this.vGraphObject=h}A.exports=g}),(function(A,G,N){varg=N(2),h=N(10),a=N(13),e=N(0),i=N(16),f=N(5);functionr(t,s,o,c){o==null&&c==null&&(c=s),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=h.MIN_VALUE,this.inclusionTreeDepth=h.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,o!=null&&s!=null?this.rect=newa(s.x,s.y,o.width,o.height):this.rect=newa}r.prototype=Object.create(g.prototype);for(varding)r[d]=g[d];r.prototype.getEdges