import{aKasat,aLasNt,_asS,lasz,jasDt,Uasmt,LasOt,dasot,EasAt,OasIt,zastt,iaset,$asCt,a0asRt,a1asxt}from"./index-BmyXM-jo.js";import{caspt}from"./cytoscape.esm-BUox6XmP.js";vardt={exports:{}},it={exports:{}},nt={exports:{}},ut;functionMt(){returnut||(ut=1,function(I,w){(function(m,y){I.exports=y()})(at,function(){returnfunction(f){varm={};functiony(r){if(m[r])returnm[r].exports;vart=m[r]={i:r,l:!1,exports:{}};returnf[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}returny.m=f,y.c=m,y.i=function(r){returnr},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){vart=r&&r.__esModule?function(){returnr.default}:function(){returnr};returny.d(t,"a",t),t},y.o=function(r,t){returnObject.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(f,m,y){functionr(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,f.exports=r},function(f,m,y){varr=y(2),t=y(8),e=y(9);functioni(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(varoinr)i[o]=r[o];i.prototype.getSource=function(){returnthis.source},i.prototype.getTarget=function(){returnthis.target},i.prototype.isInterGraph=function(){returnthis.isInterGraph},i.prototype.getLength=function(){returnthis.length},i.prototype.isOverlapingSourceAndTarget=function(){returnthis.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){returnthis.bendpoints},i.prototype.getLca=function(){returnthis.lca},i.prototype.getSourceInLca=function(){returnthis.sourceInLca},i.prototype.getTargetInLca=function(){returnthis.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)returnthis.target;if(this.target===g)returnthis.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(varv=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)returnv;if(v.getOwner()==n)break;v=v.getOwner().getParent()}returnnull},i.prototype.updateLength=function(){varg=newArray(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.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=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=i},function(f,m,y){functionr(t){this.vGraphObject=t}f.exports=r},function(f,m,y){varr=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);functiona(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=newe(c.x,c.y,l.width,l.height):this.rect=newe}a.prototype=Object.create(r.prototype);for(varvinr)a[v]=r[v];a.prototype.getEdges=function(){returnthis.edges},a.prototype.getChild=function(){returnthis.child},a.prototype.getOwner=function(){returnthis.owner},a.prototype.getWidth=function(){returnthis.rect.width},a.prototype.setWidth=function(n){this.rect.
`+N+"^"},"showPosition"),test_match:S(function(d,N){var s,h,u;if(this.options.backtrack_lexer&&(u={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(u.yylloc.range=this.yylloc.range.slice(0))),h=d[0].match(/(?:\r\n?|\n).*/g),h&&(this.yylineno+=h.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length},this.yytext+=d[0],this.match+=d[0],this.matches=d,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(d[0].length),this.matched+=d[0],s=this.performAction.call(this,this.yy,this,N,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var p in u)this[p]=u[p];return!1}return!1},"test_match"),next:S(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var d,N,s,h;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),p=0;p<u.length;p++)if(s=this._input.match(this.rules[u[p]]),s&&(!N||s[0].length>N[0].length)){if(N=s,h=p,this.options.backtrack_lexer){if(d=this.test_match(s,u[p]),d!==!1)return d;if(this._backtrack){N=!1;continue}else return!1}else if(!this.options.flex)break}return N?(d=this.test_match(N,u[h]),d!==!1?d:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.