import{aKasTe,aLaske,zasqe,_asnt,aMasJe,aNasQe,pasKe,qasje,sas_e,gastr,caser,basrr,dasfe,lasSe,jasir,rasar,Easnr,Oasor,UasNe,aOasEe}from"./index-BtSBdRoK.js";import{passr}from"./chunk-OQCM5LHU-D1QuXoHp.js";import{Iashr}from"./chunk-2RYQ3QTB-BYcU-rpE.js";import{paslr}from"./gitGraph-YCYPL57B-BayOghm_.js";import{casFe}from"./cytoscape.esm-jRa9lavG.js";import"./min-Baz0t_vN.js";import"./_baseUniq-DqukKKvo.js";varbe={exports:{}},pe={exports:{}},ye={exports:{}},Oe;functionfr(){returnOe||(Oe=1,function(M,Y){(function(G,N){M.exports=N()})(Te,function(){returnfunction(C){varG={};functionN(g){if(G[g])returnG[g].exports;vars=G[g]={i:g,l:!1,exports:{}};returnC[g].call(s.exports,s,s.exports,N),s.l=!0,s.exports}returnN.m=C,N.c=G,N.i=function(g){returng},N.d=function(g,s,i){N.o(g,s)||Object.defineProperty(g,s,{configurable:!1,enumerable:!0,get:i})},N.n=function(g){vars=g&&g.__esModule?function(){returng.default}:function(){returng};returnN.d(s,"a",s),s},N.o=function(g,s){returnObject.prototype.hasOwnProperty.call(g,s)},N.p="",N(N.s=28)}([function(C,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,C.exports=g},function(C,G,N){varg=N(2),s=N(8),i=N(9);functionr(f,a,y){g.call(this,y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=y,this.bendpoints=[],this.source=f,this.target=a}r.prototype=Object.create(g.prototype);for(vareing)r[e]=g[e];r.prototype.getSource=function(){returnthis.source},r.prototype.getTarget=function(){returnthis.target},r.prototype.isInterGraph=function(){returnthis.isInterGraph},r.prototype.getLength=function(){returnthis.length},r.prototype.isOverlapingSourceAndTarget=function(){returnthis.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){returnthis.bendpoints},r.prototype.getLca=function(){returnthis.lca},r.prototype.getSourceInLca=function(){returnthis.sourceInLca},r.prototype.getTargetInLca=function(){returnthis.targetInLca},r.prototype.getOtherEnd=function(f){if(this.source===f)returnthis.target;if(this.target===f)returnthis.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(f,a){for(vary=this.getOtherEnd(f),t=a.getGraphManager().getRoot();;){if(y.getOwner()==a)returny;if(y.getOwner()==t)break;y=y.getOwner().getParent()}returnnull},r.prototype.updateLength=function(){varf=newArray(4);this.isOverlapingSourceAndTarget=s.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=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.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=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},C.exports=r},function(C,G,N){functiong(s){this.vGraphObject=s}C.exports=g},function(C,G,N){varg=N(2),s=N(10),i=N(13),r=N(0),e=N(16),f=N(5);functiona(t,h,o,c){o==null&&c==null&&(c=h),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,o!=null&&h!=null?this.rect=newi(h.x,h.y,o.width,o.height):this.rect=newi}a.prototype=Object.create(g.prototype);for(varying)a[y]=g[y