docusaurus/assets/js/18014.d8464937.js
2025-05-27 10:24:33 +00:00

1 line
No EOL
42 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["18014"],{42074:function(e,n,t){t.d(n,{K:()=>u,Y:()=>a});var r=t(46390),o=t(49748),i=t(72973);function u(e){var n,t,u,a,d,s="greedy"===e.graph().acyclicer?(0,i.q)(e,(n=e,function(e){return n.edge(e).weight})):(t=e,u=[],a={},d={},r.Z(t.nodes(),function e(n){Object.prototype.hasOwnProperty.call(d,n)||(d[n]=!0,a[n]=!0,r.Z(t.outEdges(n),function(n){Object.prototype.hasOwnProperty.call(a,n.w)?u.push(n):e(n.w)}),delete a[n])}),u);r.Z(s,function(n){var t=e.edge(n);e.removeEdge(n),t.forwardName=n.name,t.reversed=!0,e.setEdge(n.w,n.v,t,o.Z("rev"))})}function a(e){r.Z(e.edges(),function(n){var t=e.edge(n);if(t.reversed){e.removeEdge(n);var r=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,r)}})}},33684:function(e,n,t){t.d(n,{b:()=>i});var r=t(46390),o=t(87772);function i(e){r.Z(e.children(),function n(t){var o=e.children(t),i=e.node(t);if(o.length&&r.Z(o,n),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,d=i.maxRank+1;a<d;++a)u(e,"borderLeft","_bl",t,i,a),u(e,"borderRight","_br",t,i,a)}})}function u(e,n,t,r,i,u){var a=i[n][u-1],d=o.og(e,"border",{width:0,height:0,rank:u,borderType:n},t);i[n][u]=d,e.setParent(d,r),a&&e.setEdge(a,d,{weight:1})}},75111:function(e,n,t){t.d(n,{Y:()=>i,z:()=>o});var r=t(46390);function o(e){var n=e.graph().rankdir.toLowerCase();("lr"===n||"rl"===n)&&u(e)}function i(e){var n,t,o=e.graph().rankdir.toLowerCase();("bt"===o||"rl"===o)&&(n=e,r.Z(n.nodes(),function(e){d(n.node(e))}),r.Z(n.edges(),function(e){var t=n.edge(e);r.Z(t.points,d),Object.prototype.hasOwnProperty.call(t,"y")&&d(t)})),("lr"===o||"rl"===o)&&(t=e,r.Z(t.nodes(),function(e){s(t.node(e))}),r.Z(t.edges(),function(e){var n=t.edge(e);r.Z(n.points,s),Object.prototype.hasOwnProperty.call(n,"x")&&s(n)}),u(e))}function u(e){r.Z(e.nodes(),function(n){a(e.node(n))}),r.Z(e.edges(),function(n){a(e.edge(n))})}function a(e){var n=e.width;e.width=e.height,e.height=n}function d(e){e.y=-e.y}function s(e){var n=e.x;e.x=e.y,e.y=n}},82124:function(e,n,t){t.d(n,{a:()=>r});class r{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,n=e._prev;if(n!==e)return o(n),n}enqueue(e){var n=this._sentinel;e._prev&&e._next&&o(e),e._next=n._next,n._next._prev=e,n._next=e,e._prev=n}toString(){for(var e=[],n=this._sentinel,t=n._prev;t!==n;)e.push(JSON.stringify(t,i)),t=t._prev;return"["+e.join(", ")+"]"}}function o(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function i(e,n){if("_next"!==e&&"_prev"!==e)return n}},72973:function(e,n,t){t.d(n,{q:()=>f});var r=t(61870),o=t(17677),i=t(24541),u=t(46390),a=t(13006),d=t(62145),s=t(82124),c=r.Z(1);function f(e,n){if(1>=e.nodeCount())return[];var t,r,f,l,g,Z,p,b=(t=e,r=n||c,f=new d.k,l=0,g=0,u.Z(t.nodes(),function(e){f.setNode(e,{v:e,in:0,out:0})}),u.Z(t.edges(),function(e){var n=f.edge(e.v,e.w)||0,t=r(e);f.setEdge(e.v,e.w,n+t),g=Math.max(g,f.node(e.v).out+=t),l=Math.max(l,f.node(e.w).in+=t)}),Z=a.Z(g+l+3).map(function(){return new s.a}),p=l+1,u.Z(f.nodes(),function(e){v(Z,p,f.node(e))}),{graph:f,buckets:Z,zeroIdx:p}),w=function(e,n,t){for(var r,o=[],i=n[n.length-1],u=n[0];e.nodeCount();){for(;r=u.dequeue();)h(e,n,t,r);for(;r=i.dequeue();)h(e,n,t,r);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(r=n[a].dequeue()){o=o.concat(h(e,n,t,r,!0));break}}}return o}(b.graph,b.buckets,b.zeroIdx);return o.Z(i.Z(w,function(n){return e.outEdges(n.v,n.w)}))}function h(e,n,t,r,o){var i=o?[]:void 0;return u.Z(e.inEdges(r.v),function(r){var u=e.edge(r),a=e.node(r.v);o&&i.push({v:r.v,w:r.w}),a.out-=u,v(n,t,a)}),u.Z(e.outEdges(r.v),function(r){var o=e.edge(r),i=r.w,u=e.node(i);u.in-=o,v(n,t,u)}),e.removeNode(r.v),i}function v(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}},79846:function(e,n,t){t.d(n,{bK:()=>r.b}),t(42074);var r=t(62411);t(84265),t(66819)},62411:function(e,n,t){t.d(n,{b:()=>y});var r=t(46390),o=t(63383),i=t(10442),u=t(85143),a=t(73345),d=t(51054),s=t(1986),c=t(62145),f=t(33684),h=t(75111),v=t(42074),l=t(84265),g=t(66819),Z=t(61632),p=t(13243),b=t(54177),w=t(45651),m=t(87772);function y(e,n){var t=n&&n.debugTiming?m.XV:m.Ru;t("layout",()=>{var n=t(" buildLayoutGraph",()=>{var n,t,a;return n=e,t=new c.k({multigraph:!0,compound:!0}),a=L(n.graph()),t.setGraph(o.Z({},E,C(a,_),i.Z(a,k))),r.Z(n.nodes(),function(e){var r=L(n.node(e));t.setNode(e,u.Z(C(r,x),O)),t.setParent(e,n.parent(e))}),r.Z(n.edges(),function(e){var r=L(n.edge(e));t.setEdge(e,o.Z({},P,C(r,N),i.Z(r,j)))}),t});t(" runLayout",()=>{var e,o;return e=n,void((o=t)(" makeSpaceForEdgeLabels",()=>{var n,t;return t=(n=e).graph(),void(t.ranksep/=2,r.Z(n.edges(),function(e){var r=n.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}),o(" removeSelfEdges",()=>{var n;return n=e,void r.Z(n.edges(),function(e){if(e.v===e.w){var t=n.node(e.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:e,label:n.edge(e)}),n.removeEdge(e)}})}),o(" acyclic",()=>v.K(e)),o(" nestingGraph.run",()=>Z.K(e)),o(" rank",()=>(0,g.d)(m.WP(e))),o(" injectEdgeLabelProxies",()=>{var n;return n=e,void r.Z(n.edges(),function(e){var t=n.edge(e);if(t.width&&t.height){var r=n.node(e.v),o={rank:(n.node(e.w).rank-r.rank)/2+r.rank,e:e};m.og(n,"edge-proxy",o,"_ep")}})}),o(" removeEmptyRanks",()=>m.DH(e)),o(" nestingGraph.cleanup",()=>Z.E(e)),o(" normalizeRanks",()=>m.LS(e)),o(" assignRankMinMax",()=>{var n,t;return n=e,t=0,void(r.Z(n.nodes(),function(e){var r=n.node(e);r.borderTop&&(r.minRank=n.node(r.borderTop).rank,r.maxRank=n.node(r.borderBottom).rank,t=a.Z(t,r.maxRank))}),n.graph().maxRank=t)}),o(" removeEdgeLabelProxies",()=>{var n;return n=e,void r.Z(n.nodes(),function(e){var t=n.node(e);"edge-proxy"===t.dummy&&(n.edge(t.e).labelRank=t.rank,n.removeNode(e))})}),o(" normalize.run",()=>l.K(e)),o(" parentDummyChains",()=>(0,b.v)(e)),o(" addBorderSegments",()=>(0,f.b)(e)),o(" order",()=>(0,p.v)(e)),o(" insertSelfEdges",()=>{var n,t;return n=e,t=m.Kw(n),void r.Z(t,function(e){var t=0;r.Z(e,function(e,o){var i=n.node(e);i.order=o+t,r.Z(i.selfEdges,function(e){m.og(n,"selfedge",{width:e.label.width,height:e.label.height,rank:i.rank,order:o+ ++t,e:e.e,label:e.label},"_se")}),delete i.selfEdges})})}),o(" adjustCoordinateSystem",()=>h.z(e)),o(" position",()=>(0,w.F)(e)),o(" positionSelfEdges",()=>{var n;return n=e,void r.Z(n.nodes(),function(e){var t=n.node(e);if("selfedge"===t.dummy){var r=n.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;n.setEdge(t.e,t.label),n.removeNode(e),t.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],t.label.x=t.x,t.label.y=t.y}})}),o(" removeBorderNodes",()=>{var n;return n=e,void(r.Z(n.nodes(),function(e){if(n.children(e).length){var t=n.node(e),r=n.node(t.borderTop),o=n.node(t.borderBottom),i=n.node(d.Z(t.borderLeft)),u=n.node(d.Z(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}}),r.Z(n.nodes(),function(e){"border"===n.node(e).dummy&&n.removeNode(e)}))}),o(" normalize.undo",()=>l.Y(e)),o(" fixupEdgeLabelCoords",()=>{var n;return n=e,void r.Z(n.edges(),function(e){var t=n.edge(e);if(Object.prototype.hasOwnProperty.call(t,"x"))switch(("l"===t.labelpos||"r"===t.labelpos)&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})}),o(" undoCoordinateSystem",()=>h.Y(e)),o(" translateGraph",()=>(function(e){var n=Number.POSITIVE_INFINITY,t=0,o=Number.POSITIVE_INFINITY,i=0,u=e.graph(),a=u.marginx||0,d=u.marginy||0;function s(e){var r=e.x,u=e.y,a=e.width,d=e.height;n=Math.min(n,r-a/2),t=Math.max(t,r+a/2),o=Math.min(o,u-d/2),i=Math.max(i,u+d/2)}r.Z(e.nodes(),function(n){s(e.node(n))}),r.Z(e.edges(),function(n){var t=e.edge(n);Object.prototype.hasOwnProperty.call(t,"x")&&s(t)}),n-=a,o-=d,r.Z(e.nodes(),function(t){var r=e.node(t);r.x-=n,r.y-=o}),r.Z(e.edges(),function(t){var i=e.edge(t);r.Z(i.points,function(e){e.x-=n,e.y-=o}),Object.prototype.hasOwnProperty.call(i,"x")&&(i.x-=n),Object.prototype.hasOwnProperty.call(i,"y")&&(i.y-=o)}),u.width=t-n+a,u.height=i-o+d})(e)),o(" assignNodeIntersects",()=>{var n;return n=e,void r.Z(n.edges(),function(e){var t,r,o=n.edge(e),i=n.node(e.v),u=n.node(e.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(m.qb(i,t)),o.points.push(m.qb(u,r))})}),o(" reversePoints",()=>{var n;return n=e,void r.Z(n.edges(),function(e){var t=n.edge(e);t.reversed&&t.points.reverse()})}),o(" acyclic.undo",()=>v.Y(e)))}),t(" updateInputGraph",()=>{var t,o;return t=e,o=n,void(r.Z(t.nodes(),function(e){var n=t.node(e),r=o.node(e);n&&(n.x=r.x,n.y=r.y,o.children(e).length&&(n.width=r.width,n.height=r.height))}),r.Z(t.edges(),function(e){var n=t.edge(e),r=o.edge(e);n.points=r.points,Object.prototype.hasOwnProperty.call(r,"x")&&(n.x=r.x,n.y=r.y)}),t.graph().width=o.graph().width,t.graph().height=o.graph().height)})})}var _=["nodesep","edgesep","ranksep","marginx","marginy"],E={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},k=["acyclicer","ranker","rankdir","align"],x=["width","height"],O={width:0,height:0},N=["minlen","weight","width","height","labeloffset"],P={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},j=["labelpos"];function C(e,n){return s.Z(i.Z(e,n),Number)}function L(e){var n={};return r.Z(e,function(e,t){n[t.toLowerCase()]=e}),n}},61632:function(e,n,t){t.d(n,{E:()=>s,K:()=>d});var r=t(73345),o=t(76789),i=t(46390),u=t(44234),a=t(87772);function d(e){var n,t,d,s=a.og(e,"root",{},"_root"),c=(n=e,t={},i.Z(n.children(),function(e){!function e(r,o){var u=n.children(r);u&&u.length&&i.Z(u,function(n){e(n,o+1)}),t[r]=o}(e,1)}),t),f=r.Z(o.Z(c))-1,h=2*f+1;e.graph().nestingRoot=s,i.Z(e.edges(),function(n){e.edge(n).minlen*=h});var v=(d=e,u.Z(d.edges(),function(e,n){return e+d.edge(n).weight},0)+1);i.Z(e.children(),function(n){!function e(n,t,r,o,u,d,s){var c=n.children(s);if(!c.length){s!==t&&n.setEdge(t,s,{weight:0,minlen:r});return}var f=a.dW(n,"_bt"),h=a.dW(n,"_bb"),v=n.node(s);n.setParent(f,s),v.borderTop=f,n.setParent(h,s),v.borderBottom=h,i.Z(c,function(i){e(n,t,r,o,u,d,i);var a=n.node(i),c=a.borderTop?a.borderTop:i,v=a.borderBottom?a.borderBottom:i,l=a.borderTop?o:2*o,g=c!==v?1:u-d[s]+1;n.setEdge(f,c,{weight:l,minlen:g,nestingEdge:!0}),n.setEdge(v,h,{weight:l,minlen:g,nestingEdge:!0})}),n.parent(s)||n.setEdge(t,f,{weight:0,minlen:u+d[s]})}(e,s,h,v,f,c,n)}),e.graph().nodeRankFactor=h}function s(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,i.Z(e.edges(),function(n){e.edge(n).nestingEdge&&e.removeEdge(n)})}},84265:function(e,n,t){t.d(n,{K:()=>i,Y:()=>u});var r=t(46390),o=t(87772);function i(e){e.graph().dummyChains=[],r.Z(e.edges(),function(n){!function(e,n){var t,r,i=n.v,u=e.node(i).rank,a=n.w,d=e.node(a).rank,s=n.name,c=e.edge(n),f=c.labelRank;if(d!==u+1){e.removeEdge(n);var h=void 0;for(r=0,++u;u<d;++r,++u)c.points=[],h={width:0,height:0,edgeLabel:c,edgeObj:n,rank:u},t=o.og(e,"edge",h,"_d"),u===f&&(h.width=c.width,h.height=c.height,h.dummy="edge-label",h.labelpos=c.labelpos),e.setEdge(i,t,{weight:c.weight},s),0===r&&e.graph().dummyChains.push(t),i=t;e.setEdge(i,a,{weight:c.weight},s)}}(e,n)})}function u(e){r.Z(e.graph().dummyChains,function(n){var t,r=e.node(n),o=r.edgeLabel;for(e.setEdge(r.edgeObj,o);r.dummy;)t=e.successors(n)[0],e.removeNode(n),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),n=t,r=e.node(n)})}},43833:function(e,n,t){t.d(n,{x:()=>o});var r=t(46390);function o(e,n,t){var o,i={};r.Z(t,function(t){for(var r,u,a=e.parent(t);a;){if((r=e.parent(a))?(u=i[r],i[r]=a):(u=o,o=a),u&&u!==a)return void n.setEdge(u,a);a=r}})}},8211:function(e,n,t){t.d(n,{B:()=>i});var r=t(24541),o=t(44234);function i(e,n){return r.Z(n,function(n){var t=e.inEdges(n);if(!t.length)return{v:n};var r=o.Z(t,function(n,t){var r=e.edge(t),o=e.node(t.v);return{sum:n.sum+r.weight*o.order,weight:n.weight+r.weight}},{sum:0,weight:0});return{v:n,barycenter:r.sum/r.weight,weight:r.weight}})}},55371:function(e,n,t){t.d(n,{M:()=>a});var r=t(46390),o=t(4740),i=t(49748),u=t(62145);function a(e,n,t){var a=function(e){for(var n;e.hasNode(n=i.Z("_root")););return n}(e),d=new u.k({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(n){return e.node(n)});return r.Z(e.nodes(),function(i){var u=e.node(i),s=e.parent(i);(u.rank===n||u.minRank<=n&&n<=u.maxRank)&&(d.setNode(i),d.setParent(i,s||a),r.Z(e[t](i),function(n){var t=n.v===i?n.w:n.v,r=d.edge(t,i),u=o.Z(r)?0:r.weight;d.setEdge(t,i,{weight:e.edge(n).weight+u})}),Object.prototype.hasOwnProperty.call(u,"minRank")&&d.setNode(i,{borderLeft:u.borderLeft[n],borderRight:u.borderRight[n]}))}),d}},1223:function(e,n,t){t.d(n,{U:()=>d});var r=t(59555),o=t(24541),i=t(17677),u=t(75261),a=t(46390);function d(e,n){for(var t=0,d=1;d<n.length;++d)t+=function(e,n,t){for(var d=r.Z(t,o.Z(t,function(e,n){return n})),s=i.Z(o.Z(n,function(n){return u.Z(o.Z(e.outEdges(n),function(n){return{pos:d[n.w],weight:e.edge(n).weight}}),"pos")})),c=1;c<t.length;)c<<=1;var f=2*c-1;c-=1;var h=o.Z(Array(f),function(){return 0}),v=0;return a.Z(s.forEach(function(e){var n=e.pos+c;h[n]+=e.weight;for(var t=0;n>0;)n%2&&(t+=h[n+1]),n=n-1>>1,h[n]+=e.weight;v+=e.weight*t})),v}(e,n[d-1],n[d]);return t}},13243:function(e,n,t){t.d(n,{v:()=>l});var r=t(13006),o=t(86379),i=t(24541),u=t(46390),a=t(62145),d=t(87772),s=t(43833),c=t(55371),f=t(1223),h=t(23840),v=t(8813);function l(e){var n=d.t7(e),t=g(e,r.Z(1,n+1),"inEdges"),i=g(e,r.Z(n-1,-1,-1),"outEdges"),c=(0,h.S)(e);Z(e,c);for(var l,p=Number.POSITIVE_INFINITY,b=0,w=0;w<4;++b,++w){(function(e,n){var t=new a.k;u.Z(e,function(e){var r=e.graph().root,o=(0,v.S)(e,r,t,n);u.Z(o.vs,function(n,t){e.node(n).order=t}),(0,s.x)(e,t,o.vs)})})(b%2?t:i,b%4>=2),c=d.Kw(e);var m=(0,f.U)(e,c);m<p&&(w=0,l=o.Z(c),p=m)}Z(e,l)}function g(e,n,t){return i.Z(n,function(n){return(0,c.M)(e,n,t)})}function Z(e,n){u.Z(n,function(n){u.Z(n,function(n,t){e.node(n).order=t})})}},23840:function(e,n,t){t.d(n,{S:()=>c});var r=t(69052),o=t(73345),i=t(24541),u=t(13006),a=t(46943),d=t(46390),s=t(75261);function c(e){var n={},t=r.Z(e.nodes(),function(n){return!e.children(n).length}),c=o.Z(i.Z(t,function(n){return e.node(n).rank})),f=i.Z(u.Z(c+1),function(){return[]}),h=s.Z(t,function(n){return e.node(n).rank});return d.Z(h,function t(r){a.Z(n,r)||(n[r]=!0,f[e.node(r).rank].push(r),d.Z(e.successors(r),t))}),f}},85005:function(e,n,t){t.d(n,{v:()=>d});var r=t(46390),o=t(4740),i=t(69052),u=t(24541),a=t(10442);function d(e,n){var t={};return r.Z(e,function(e,n){var r=t[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};o.Z(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)}),r.Z(n.edges(),function(e){var n=t[e.v],r=t[e.w];o.Z(n)||o.Z(r)||(r.indegree++,n.out.push(t[e.w]))}),function(e){for(var n=[];e.length;){var t=e.pop();n.push(t),r.Z(t.in.reverse(),function(e){return function(n){!n.merged&&(o.Z(n.barycenter)||o.Z(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}(t)),r.Z(t.out,function(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}(t))}return u.Z(i.Z(n,function(e){return!e.merged}),function(e){return a.Z(e,["vs","i","barycenter","weight"])})}(i.Z(t,function(e){return!e.indegree}))}},8813:function(e,n,t){t.d(n,{S:()=>function e(n,t,c,f){var h,v,l=n.children(t),g=n.node(t),Z=g?g.borderLeft:void 0,p=g?g.borderRight:void 0,b={};Z&&(l=r.Z(l,function(e){return e!==Z&&e!==p}));var w=(0,a.B)(n,l);o.Z(w,function(t){if(n.children(t.v).length){var r,o,i=e(n,t.v,c,f);b[t.v]=i,Object.prototype.hasOwnProperty.call(i,"barycenter")&&(r=t,o=i,u.Z(r.barycenter)?(r.barycenter=o.barycenter,r.weight=o.weight):(r.barycenter=(r.barycenter*r.weight+o.barycenter*o.weight)/(r.weight+o.weight),r.weight+=o.weight))}});var m=(0,d.v)(w,c);h=m,v=b,o.Z(h,function(e){e.vs=i.Z(e.vs.map(function(e){return v[e]?v[e].vs:e}))});var y=(0,s.D)(m,f);if(Z&&(y.vs=i.Z([Z,y.vs,p]),n.predecessors(Z).length)){var _=n.node(n.predecessors(Z)[0]),E=n.node(n.predecessors(p)[0]);Object.prototype.hasOwnProperty.call(y,"barycenter")||(y.barycenter=0,y.weight=0),y.barycenter=(y.barycenter*y.weight+_.order+E.order)/(y.weight+2),y.weight+=2}return y}});var r=t(69052),o=t(46390),i=t(17677),u=t(4740),a=t(8211),d=t(85005),s=t(6804)},6804:function(e,n,t){t.d(n,{D:()=>d});var r=t(75261),o=t(46390),i=t(17677),u=t(51054),a=t(87772);function d(e,n){var t,u=a.uK(e,function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")}),d=u.lhs,c=r.Z(u.rhs,function(e){return-e.i}),f=[],h=0,v=0,l=0;d.sort((t=!!n,function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:t?n.i-e.i:e.i-n.i})),l=s(f,c,l),o.Z(d,function(e){l+=e.vs.length,f.push(e.vs),h+=e.barycenter*e.weight,v+=e.weight,l=s(f,c,l)});var g={vs:i.Z(f)};return v&&(g.barycenter=h/v,g.weight=v),g}function s(e,n,t){for(var r;n.length&&(r=u.Z(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}},54177:function(e,n,t){t.d(n,{v:()=>o});var r=t(46390);function o(e){var n,t,o,i=(n=e,t={},o=0,r.Z(n.children(),function e(i){var u=o;r.Z(n.children(i),e),t[i]={low:u,lim:o++}}),t);r.Z(e.graph().dummyChains,function(n){for(var t=e.node(n),r=t.edgeObj,o=function(e,n,t,r){var o,i,u=[],a=[],d=Math.min(n[t].low,n[r].low),s=Math.max(n[t].lim,n[r].lim);o=t;do u.push(o=e.parent(o));while(o&&(n[o].low>d||s>n[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(e,i,r.v,r.w),u=o.path,a=o.lca,d=0,s=u[0],c=!0;n!==r.w;){if(t=e.node(n),c){for(;(s=u[d])!==a&&e.node(s).maxRank<t.rank;)d++;s===a&&(c=!1)}if(!c){for(;d<u.length-1&&e.node(s=u[d+1]).minRank<=t.rank;)d++;s=u[d]}e.setParent(n,s),n=e.successors(n)[0]}})}},35342:function(e,n,t){t.d(n,{OC:()=>m});var r=t(51054),o=t(46390),i=t(44234),u=t(13006),a=t(9395),d=t(75261),s=t(59570),c=t(76789),f=t(92833),h=t(90373),v=t(73345),l=t(1986),g=t(24541),Z=t(63383),p=t(62145),b=t(87772);function w(e,n,t){if(n>t){var r=n;n=t,t=r}var o=e[n];o||(e[n]=o={}),o[t]=!0}function m(e){var n,t,m,y,_,E,k=b.Kw(e),x=Z.Z((n={},i.Z(k,function(t,i){var u=0,d=0,s=t.length,c=r.Z(i);return o.Z(i,function(t,r){var f=function(e,n){if(e.node(n).dummy)return a.Z(e.predecessors(n),function(n){return e.node(n).dummy})}(e,t),h=f?e.node(f).order:s;(f||t===c)&&(o.Z(i.slice(d,r+1),function(t){o.Z(e.predecessors(t),function(r){var o=e.node(r),i=o.order;(i<u||h<i)&&!(o.dummy&&e.node(t).dummy)&&w(n,r,t)})}),d=r+1,u=h)}),i}),n),function(e,n){var t={};function r(n,r,i,a,d){var s;o.Z(u.Z(r,i),function(r){s=n[r],e.node(s).dummy&&o.Z(e.predecessors(s),function(n){var r=e.node(n);r.dummy&&(r.order<a||r.order>d)&&w(t,n,s)})})}return i.Z(n,function(n,t){var i,u=-1,a=0;return o.Z(t,function(o,d){if("border"===e.node(o).dummy){var s=e.predecessors(o);s.length&&(i=e.node(s[0]).order,r(t,a,d,u,i),a=d,u=i)}r(t,a,t.length,i,n.length)}),t}),t}(e,k)),O={};o.Z(["u","d"],function(n){E="u"===n?k:c.Z(k).reverse(),o.Z(["l","r"],function(t){"r"===t&&(E=g.Z(E,function(e){return c.Z(e).reverse()}));var r,i,u,a,s=("u"===n?e.predecessors:e.successors).bind(e),f=(r=E,i={},u={},a={},o.Z(r,function(e){o.Z(e,function(e,n){i[e]=e,u[e]=e,a[e]=n})}),o.Z(r,function(e){var n=-1;o.Z(e,function(e){var t=s(e);if(t.length)for(var r=((t=d.Z(t,function(e){return a[e]})).length-1)/2,o=Math.floor(r),c=Math.ceil(r);o<=c;++o){var f=t[o];u[e]===e&&n<a[f]&&!function(e,n,t){if(n>t){var r=n;n=t,t=r}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}(x,e,f)&&(u[f]=e,u[e]=i[e]=i[f],n=a[f])}})}),{root:i,align:u}),h=function(e,n,t,r,i){var u,a,d,s,c,f,h,v,l,g,Z={},b=(u=e,a=n,d=t,s=i,v=new p.k,g=(c=(l=u.graph()).nodesep,f=l.edgesep,h=s,function(e,n,t){var r,o,i=e.node(n),u=e.node(t);if(r=0+i.width/2,Object.prototype.hasOwnProperty.call(i,"labelpos"))switch(i.labelpos.toLowerCase()){case"l":o=-i.width/2;break;case"r":o=i.width/2}if(o&&(r+=h?o:-o),o=0,r+=(i.dummy?f:c)/2,r+=(u.dummy?f:c)/2,r+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":o=u.width/2;break;case"r":o=-u.width/2}return o&&(r+=h?o:-o),o=0,r}),o.Z(a,function(e){var n;o.Z(e,function(e){var t=d[e];if(v.setNode(t),n){var r=d[n],o=v.edge(r,t);v.setEdge(r,t,Math.max(g(u,e,n),o||0))}n=e})}),v),w=i?"borderLeft":"borderRight";function m(e,n){for(var t=b.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return m(function(e){Z[e]=b.inEdges(e).reduce(function(e,n){return Math.max(e,Z[n.v]+b.edge(n))},0)},b.predecessors.bind(b)),m(function(n){var t=b.outEdges(n).reduce(function(e,n){return Math.min(e,Z[n.w]-b.edge(n))},Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==w&&(Z[n]=Math.max(Z[n],t))},b.successors.bind(b)),o.Z(r,function(e){Z[e]=Z[t[e]]}),Z}(e,E,f.root,f.align,"r"===t);"r"===t&&(h=l.Z(h,function(e){return-e})),O[n+t]=h})});var N=s.Z(c.Z(O),function(n){var t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return f.Z(n,function(n,o){var i,u,a=(i=e,u=o,i.node(u).width/2);t=Math.max(n+a,t),r=Math.min(n-a,r)}),t-r});return t=c.Z(N),m=h.Z(t),y=v.Z(t),o.Z(["u","d"],function(e){o.Z(["l","r"],function(n){var t,r=e+n,o=O[r];if(o!==N){var i=c.Z(o);(t="l"===n?m-h.Z(i):y-v.Z(i))&&(O[r]=l.Z(o,function(e){return e+t}))}})}),_=e.graph().align,l.Z(O.ul,function(e,n){if(_)return O[_.toLowerCase()][n];var t=d.Z(g.Z(O,n));return(t[1]+t[2])/2})}},45651:function(e,n,t){t.d(n,{F:()=>s});var r=t(13597),o=t(46390),i=t(73345),u=t(24541),a=t(87772),d=t(35342);function s(e){var n,t,s,c;n=e=a.WP(e),t=a.Kw(n),s=n.graph().ranksep,c=0,o.Z(t,function(e){var t=i.Z(u.Z(e,function(e){return n.node(e).height}));o.Z(e,function(e){n.node(e).y=c+t/2}),c+=t+s}),r.Z((0,d.OC)(e),function(n,t){e.node(t).x=n})}},99908:function(e,n,t){t.d(n,{f:()=>a});var r=t(46390),o=t(59570),i=t(62145),u=t(71489);function a(e){var n,t,a,d,s=new i.k({directed:!1}),c=e.nodes()[0],f=e.nodeCount();for(s.setNode(c,{});n=s,t=e,r.Z(n.nodes(),function e(o){r.Z(t.nodeEdges(o),function(r){var i=r.v,a=o===i?r.w:i;n.hasNode(a)||(0,u.R)(t,r)||(n.setNode(a,{}),n.setEdge(o,a,{}),e(a))})}),n.nodeCount()<f;)a=function(e,n){return o.Z(n.edges(),function(t){if(e.hasNode(t.v)!==e.hasNode(t.w))return(0,u.R)(n,t)})}(s,e),d=s.hasNode(a.v)?(0,u.R)(e,a):-(0,u.R)(e,a),function(e,n,t){r.Z(e.nodes(),function(e){n.node(e).rank+=t})}(s,e,d);return s}},66819:function(e,n,t){t.d(n,{d:()=>u});var r=t(99908),o=t(36024),i=t(71489);function u(e){var n,t;switch(e.graph().ranker){case"network-simplex":default:n=e,(0,o.m)(n);break;case"tight-tree":t=e,(0,i.b)(t),(0,r.f)(t);break;case"longest-path":a(e)}}var a=i.b},36024:function(e,n,t){t.d(n,{m:()=>f});var r=t(46390),o=t(9395),i=t(69052),u=t(59570),a=t(97563),d=t(87772),s=t(99908),c=t(71489);function f(e){e=(0,d.q4)(e),(0,c.b)(e);var n,t,r=(0,s.f)(e);for(l(r),h(r,e);n=g(r);)t=Z(r,e,n),p(r,e,n,t)}function h(e,n){var t=a.Bm(e,e.nodes());t=t.slice(0,t.length-1),r.Z(t,function(t){var r,o,i,u;r=e,o=n,i=t,u=r.node(i).parent,r.edge(i,u).cutvalue=v(r,o,i)})}function v(e,n,t){var o=e.node(t).parent,i=!0,u=n.edge(t,o),a=0;return u||(i=!1,u=n.edge(o,t)),a=u.weight,r.Z(n.nodeEdges(t),function(r){var u=r.v===t,d=u?r.w:r.v;if(d!==o){var s,c,f,h=u===i,v=n.edge(r).weight;if(a+=h?v:-v,s=e,c=t,f=d,s.hasEdge(c,f)){var l=e.edge(t,d).cutvalue;a+=h?-l:l}}}),a}function l(e,n){arguments.length<2&&(n=e.nodes()[0]),function e(n,t,o,i,u){var a=o,d=n.node(i);return t[i]=!0,r.Z(n.neighbors(i),function(r){Object.prototype.hasOwnProperty.call(t,r)||(o=e(n,t,o,r,i))}),d.low=a,d.lim=o++,u?d.parent=u:delete d.parent,o}(e,{},1,n)}function g(e){return o.Z(e.edges(),function(n){return e.edge(n).cutvalue<0})}function Z(e,n,t){var r=t.v,o=t.w;n.hasEdge(r,o)||(r=t.w,o=t.v);var a=e.node(r),d=e.node(o),s=a,f=!1;a.lim>d.lim&&(s=d,f=!0);var h=i.Z(n.edges(),function(n){return f===b(e,e.node(n.v),s)&&f!==b(e,e.node(n.w),s)});return u.Z(h,function(e){return(0,c.R)(n,e)})}function p(e,n,t,i){var u,d,s,c,f=t.v,v=t.w;e.removeEdge(f,v),e.setEdge(i.v,i.w,{}),l(e),h(e,n),u=e,d=n,s=o.Z(u.nodes(),function(e){return!d.node(e).parent}),c=(c=a.ef(u,s)).slice(1),r.Z(c,function(e){var n=u.node(e).parent,t=d.edge(e,n),r=!1;t||(t=d.edge(n,e),r=!0),d.node(e).rank=d.node(n).rank+(r?t.minlen:-t.minlen)})}function b(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}f.initLowLimValues=l,f.initCutValues=h,f.calcCutValue=v,f.leaveEdge=g,f.enterEdge=Z,f.exchangeEdges=p},71489:function(e,n,t){t.d(n,{R:()=>a,b:()=>u});var r=t(90373),o=t(24541),i=t(46390);function u(e){var n={};i.Z(e.sources(),function t(i){var u=e.node(i);if(Object.prototype.hasOwnProperty.call(n,i))return u.rank;n[i]=!0;var a=r.Z(o.Z(e.outEdges(i),function(n){return t(n.w)-e.edge(n).minlen}));return(a===Number.POSITIVE_INFINITY||null==a)&&(a=0),u.rank=a})}function a(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}},87772:function(e,n,t){t.d(n,{DH:()=>w,Kw:()=>p,LS:()=>b,Ru:()=>k,WP:()=>g,XV:()=>E,dW:()=>m,og:()=>v,q4:()=>l,qb:()=>Z,t7:()=>y,uK:()=>_});var r=t(49748),o=t(46390),i=t(24541),u=t(13006),a=t(4740),d=t(90373),s=t(46943),c=t(73345),f=t(29873),h=t(62145);function v(e,n,t,o){var i;do i=r.Z(o);while(e.hasNode(i));return t.dummy=n,e.setNode(i,t),i}function l(e){var n=new h.k().setGraph(e.graph());return o.Z(e.nodes(),function(t){n.setNode(t,e.node(t))}),o.Z(e.edges(),function(t){var r=n.edge(t.v,t.w)||{weight:0,minlen:1},o=e.edge(t);n.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),n}function g(e){var n=new h.k({multigraph:e.isMultigraph()}).setGraph(e.graph());return o.Z(e.nodes(),function(t){e.children(t).length||n.setNode(t,e.node(t))}),o.Z(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}function Z(e,n){var t,r,o=e.x,i=e.y,u=n.x-o,a=n.y-i,d=e.width/2,s=e.height/2;if(!u&&!a)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*d>Math.abs(u)*s?(a<0&&(s=-s),t=s*u/a,r=s):(u<0&&(d=-d),t=d,r=d*a/u),{x:o+t,y:i+r}}function p(e){var n=i.Z(u.Z(y(e)+1),function(){return[]});return o.Z(e.nodes(),function(t){var r=e.node(t),o=r.rank;a.Z(o)||(n[o][r.order]=t)}),n}function b(e){var n=d.Z(i.Z(e.nodes(),function(n){return e.node(n).rank}));o.Z(e.nodes(),function(t){var r=e.node(t);s.Z(r,"rank")&&(r.rank-=n)})}function w(e){var n=d.Z(i.Z(e.nodes(),function(n){return e.node(n).rank})),t=[];o.Z(e.nodes(),function(r){var o=e.node(r).rank-n;t[o]||(t[o]=[]),t[o].push(r)});var r=0,u=e.graph().nodeRankFactor;o.Z(t,function(n,t){a.Z(n)&&t%u!=0?--r:r&&o.Z(n,function(n){e.node(n).rank+=r})})}function m(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),v(e,"border",o,n)}function y(e){return c.Z(i.Z(e.nodes(),function(n){var t=e.node(n).rank;if(!a.Z(t))return t}))}function _(e,n){var t={lhs:[],rhs:[]};return o.Z(e,function(e){n(e)?t.lhs.push(e):t.rhs.push(e)}),t}function E(e,n){var t=f.Z();try{return n()}finally{console.log(e+" time: "+(f.Z()-t)+"ms")}}function k(e,n){return n()}},65404:function(e,n,t){t.d(n,{_:()=>i});var r=t(8572),o=t(46390);function i(e,n,t){r.Z(n)||(n=[n]);var i=(e.isDirected()?e.successors:e.neighbors).bind(e),u=[],a={};return o.Z(n,function(n){if(!e.hasNode(n))throw Error("Graph does not have node: "+n);!function e(n,t,r,i,u,a){!Object.prototype.hasOwnProperty.call(i,t)&&(i[t]=!0,r||a.push(t),o.Z(u(t),function(t){e(n,t,r,i,u,a)}),r&&a.push(t))}(e,n,"post"===t,a,i,u)}),u}},85651:function(e,n,t){t(34523)},34523:function(e,n,t){t(61870).Z(1)},22908:function(e,n,t){t(61870).Z(1)},97563:function(e,n,t){t.d(n,{Bm:()=>r.B,ef:()=>o.e}),t(34523),t(85651),t(22908),t(21213);var r=t(25501),o=t(99531);t(66471),t(9230)},21213:function(e,n,t){t(9230)},25501:function(e,n,t){t.d(n,{B:()=>o});var r=t(65404);function o(e,n){return(0,r._)(e,n,"post")}},99531:function(e,n,t){t.d(n,{e:()=>o});var r=t(65404);function o(e,n){return(0,r._)(e,n,"pre")}},66471:function(e,n,t){t(45544)},9230:function(e,n,t){var r=t(46390),o=t(48929);function i(){}i.prototype=Error()},45544:function(e,n,t){t.d(n,{k:()=>v});var r=t(61870),o=t(13255),i=t(56430),u=t(69052),a=t(31570),d=t(46390),s=t(4740),c=t(84806),f=t(76789),h=t(44234);class v{constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,"directed")||e.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(e,"multigraph")&&e.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.Z(void 0),this._defaultEdgeLabelFn=r.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return o.Z(e)||(e=r.Z(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return i.Z(this._nodes)}sources(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._in[n])})}sinks(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._out[n])})}setNodes(e,n){var t=arguments,r=this;return d.Z(e,function(e){t.length>1?r.setNode(e,n):r.setNode(e)}),this}setNode(e,n){return Object.prototype.hasOwnProperty.call(this._nodes,e)?arguments.length>1&&(this._nodes[e]=n):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount),this}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var n=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],d.Z(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),d.Z(i.Z(this._in[e]),n),delete this._in[e],delete this._preds[e],d.Z(i.Z(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(s.Z(n))n="\0";else{n+="";for(var t=n;!s.Z(t);t=this.parent(t))if(t===e)throw Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if("\0"!==n)return n}}children(e){if(s.Z(e)&&(e="\0"),this._isCompound){var n=this._children[e];if(n)return i.Z(n)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return i.Z(n)}successors(e){var n=this._sucs[e];if(n)return i.Z(n)}neighbors(e){var n=this.predecessors(e);if(n)return c.Z(n,this.successors(e))}isLeaf(e){var n;return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;d.Z(this._nodes,function(t,r){e(r)&&n.setNode(r,t)}),d.Z(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))});var r={};return this._isCompound&&d.Z(n.nodes(),function(e){n.setParent(e,function e(o){var i=t.parent(o);return void 0===i||n.hasNode(i)?(r[o]=i,i):i in r?r[i]:e(i)}(e))}),n}setDefaultEdgeLabel(e){return o.Z(e)||(e=r.Z(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return f.Z(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return h.Z(e,function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o}),this}setEdge(){var e,n,t,r,o=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(e=i.v,n=i.w,t=i.name,2==arguments.length&&(r=arguments[1],o=!0)):(e=i,n=arguments[1],t=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=""+e,n=""+n,s.Z(t)||(t=""+t);var u=Z(this._isDirected,e,n,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return o&&(this._edgeLabels[u]=r),this;if(!s.Z(t)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[u]=o?r:this._defaultEdgeLabelFn(e,n,t);var a=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,e,n,t);return e=a.v,n=a.w,Object.freeze(a),this._edgeObjs[u]=a,l(this._preds[n],e),l(this._sucs[e],n),this._in[n][u]=a,this._out[e][u]=a,this._edgeCount++,this}edge(e,n,t){var r=1==arguments.length?p(this._isDirected,arguments[0]):Z(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var r=1==arguments.length?p(this._isDirected,arguments[0]):Z(this._isDirected,e,n,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,n,t){var r=1==arguments.length?p(this._isDirected,arguments[0]):Z(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],g(this._preds[n],e),g(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=f.Z(t);return n?u.Z(r,function(e){return e.v===n}):r}}outEdges(e,n){var t=this._out[e];if(t){var r=f.Z(t);return n?u.Z(r,function(e){return e.w===n}):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function l(e,n){e[n]?e[n]++:e[n]=1}function g(e,n){--e[n]||delete e[n]}function Z(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(s.Z(r)?"\0":r)}function p(e,n){return Z(e,n.v,n.w,n.name)}v.prototype._nodeCount=0,v.prototype._edgeCount=0},62145:function(e,n,t){t.d(n,{k:()=>r.k});var r=t(45544)},70087:function(e,n,t){t.d(n,{Z:()=>r});let r=(0,t(81853).Z)("length")},27805:function(e,n,t){t.d(n,{Z:()=>o});var r=t(98588);let o=function(e,n,t){for(var o=-1,i=e.length;++o<i;){var u=e[o],a=n(u);if(null!=a&&(void 0===d?a==a&&!(0,r.Z)(a):t(a,d)))var d=a,s=u}return s}},76119:function(e,n,t){t.d(n,{Z:()=>r});let r=function(e,n){return e>n}},60266:function(e,n,t){t.d(n,{Z:()=>o});var r=Object.prototype.hasOwnProperty;let o=function(e,n){return null!=e&&r.call(e,n)}},38060:function(e,n,t){t.d(n,{Z:()=>r});let r=function(e,n){return e<n}},5977:function(e,n,t){t.d(n,{Z:()=>i});var r=t(40403),o=t(73713);let i=function(e,n){var t=-1,i=(0,o.Z)(e)?Array(e.length):[];return(0,r.Z)(e,function(e,r,o){i[++t]=n(e,r,o)}),i}},25375:function(e,n,t){t.d(n,{Z:()=>h});var r=t(4064),o=t(84483),i=t(67782),u=t(5977),a=t(57718),d=t(38696),s=t(87052),c=t(48233),f=t(8572);let h=function(e,n,t){n=n.length?(0,r.Z)(n,function(e){return(0,f.Z)(e)?function(n){return(0,o.Z)(n,1===e.length?e[0]:e)}:e}):[c.Z];var h=-1;n=(0,r.Z)(n,(0,d.Z)(i.Z));var v=(0,u.Z)(e,function(e,t,o){return{criteria:(0,r.Z)(n,function(n){return n(e)}),index:++h,value:e}});return(0,a.Z)(v,function(e,n){return(0,s.Z)(e,n,t)})}},64797:function(e,n,t){t.d(n,{Z:()=>i});var r=t(83910),o=t(79432);let i=function(e,n){return(0,r.Z)(e,n,function(n,t){return(0,o.Z)(e,t)})}},83910:function(e,n,t){t.d(n,{Z:()=>u});var r=t(84483),o=t(12503),i=t(89833);let u=function(e,n,t){for(var u=-1,a=n.length,d={};++u<a;){var s=n[u],c=(0,r.Z)(e,s);t(c,s)&&(0,o.Z)(d,(0,i.Z)(s,e),c)}return d}},5239:function(e,n,t){t.d(n,{Z:()=>i});var r=Math.ceil,o=Math.max;let i=function(e,n,t,i){for(var u=-1,a=o(r((n-e)/(t||1)),0),d=Array(a);a--;)d[i?a:++u]=e,e+=t;return d}},12503:function(e,n,t){t.d(n,{Z:()=>d});var r=t(94379),o=t(89833),i=t(24136),u=t(21367),a=t(81004);let d=function(e,n,t,d){if(!(0,u.Z)(e))return e;n=(0,o.Z)(n,e);for(var s=-1,c=n.length,f=c-1,h=e;null!=h&&++s<c;){var v=(0,a.Z)(n[s]),l=t;if("__proto__"===v||"constructor"===v||"prototype"===v)break;if(s!=f){var g=h[v];void 0===(l=d?d(g,v,h):void 0)&&(l=(0,u.Z)(g)?g:(0,i.Z)(n[s+1])?[]:{})}(0,r.Z)(h,v,l),h=h[v]}return e}},57718:function(e,n,t){t.d(n,{Z:()=>r});let r=function(e,n){var t=e.length;for(e.sort(n);t--;)e[t]=e[t].value;return e}},16401:function(e,n,t){t.d(n,{Z:()=>i});var r=t(92606),o=/^\s+/;let i=function(e){return e?e.slice(0,(0,r.Z)(e)+1).replace(o,""):e}},72732:function(e,n,t){t.d(n,{Z:()=>r});let r=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++r<o;){var a=r<i?n[r]:void 0;t(u,e[r],a)}return u}},34707:function(e,n,t){t.d(n,{Z:()=>o});var r=t(98588);let o=function(e,n){if(e!==n){var t=void 0!==e,o=null===e,i=e==e,u=(0,r.Z)(e),a=void 0!==n,d=null===n,s=n==n,c=(0,r.Z)(n);if(!d&&!c&&!u&&e>n||u&&a&&s&&!d&&!c||o&&a&&s||!t&&s||!i)return 1;if(!o&&!u&&!c&&e<n||c&&t&&i&&!o&&!u||d&&t&&i||!a&&i||!s)return -1}return 0}},87052:function(e,n,t){t.d(n,{Z:()=>o});var r=t(34707);let o=function(e,n,t){for(var o=-1,i=e.criteria,u=n.criteria,a=i.length,d=t.length;++o<a;){var s=(0,r.Z)(i[o],u[o]);if(s){if(o>=d)return s;return s*("desc"==t[o]?-1:1)}}return e.index-n.index}},33130:function(e,n,t){t.d(n,{Z:()=>u});var r=t(67782),o=t(73713),i=t(56430);let u=function(e){return function(n,t,u){var a=Object(n);if(!(0,o.Z)(n)){var d=(0,r.Z)(t,3);n=(0,i.Z)(n),t=function(e){return d(a[e],e,a)}}var s=e(n,t,u);return s>-1?a[d?n[s]:s]:void 0}}},26901:function(e,n,t){t.d(n,{Z:()=>u});var r=t(5239),o=t(74047),i=t(80641);let u=function(e){return function(n,t,u){return u&&"number"!=typeof u&&(0,o.Z)(n,t,u)&&(t=u=void 0),n=(0,i.Z)(n),void 0===t?(t=n,n=0):t=(0,i.Z)(t),u=void 0===u?n<t?1:-1:(0,i.Z)(u),(0,r.Z)(n,t,u,e)}}},85605:function(e,n,t){t.d(n,{Z:()=>u});var r=t(17677),o=t(36767),i=t(76138);let u=function(e){return(0,i.Z)((0,o.Z)(e,void 0,r.Z),e+"")}},93457:function(e,n,t){t.d(n,{Z:()=>o});var r=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let o=function(e){return r.test(e)}},82047:function(e,n,t){t.d(n,{Z:()=>u});var r=t(70087),o=t(93457),i=t(82557);let u=function(e){return(0,o.Z)(e)?(0,i.Z)(e):(0,r.Z)(e)}},92606:function(e,n,t){t.d(n,{Z:()=>o});var r=/\s/;let o=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n}},82557:function(e,n,t){t.d(n,{Z:()=>v});var r="\ud800-\udfff",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\ud83c[\udffb-\udfff]",u="[^"+r+"]",a="(?:\ud83c[\udde6-\uddff]){2}",d="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+o+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[u,a,d].join("|")+")"+c+s+")*",h=RegExp(i+"(?="+i+")|"+("(?:"+[u+o+"?",o,a,d,"["+r+"]"].join("|"))+")"+(c+s+f),"g");let v=function(e){for(var n=h.lastIndex=0;h.test(e);)++n;return n}},86379:function(e,n,t){t.d(n,{Z:()=>o});var r=t(32038);let o=function(e){return(0,r.Z)(e,5)}},85143:function(e,n,t){t.d(n,{Z:()=>s});var r=t(29183),o=t(83230),i=t(74047),u=t(95706),a=Object.prototype,d=a.hasOwnProperty;let s=(0,r.Z)(function(e,n){e=Object(e);var t=-1,r=n.length,s=r>2?n[2]:void 0;for(s&&(0,i.Z)(n[0],n[1],s)&&(r=1);++t<r;)for(var c=n[t],f=(0,u.Z)(c),h=-1,v=f.length;++h<v;){var l=f[h],g=e[l];(void 0===g||(0,o.Z)(g,a[l])&&!d.call(e,l))&&(e[l]=c[l])}return e})},9395:function(e,n,t){t.d(n,{Z:()=>i});var r=t(33130),o=t(94015);let i=(0,r.Z)(o.Z)},94015:function(e,n,t){t.d(n,{Z:()=>a});var r=t(79761),o=t(67782),i=t(36430),u=Math.max;let a=function(e,n,t){var a=null==e?0:e.length;if(!a)return -1;var d=null==t?0:(0,i.Z)(t);return d<0&&(d=u(a+d,0)),(0,r.Z)(e,(0,o.Z)(n,3),d)}},17677:function(e,n,t){t.d(n,{Z:()=>o});var r=t(86619);let o=function(e){return(null==e?0:e.length)?(0,r.Z)(e,1):[]}},92833:function(e,n,t){t.d(n,{Z:()=>u});var r=t(81148),o=t(61108),i=t(95706);let u=function(e,n){return null==e?e:(0,r.Z)(e,(0,o.Z)(n),i.Z)}},13597:function(e,n,t){t.d(n,{Z:()=>i});var r=t(94337),o=t(61108);let i=function(e,n){return e&&(0,r.Z)(e,(0,o.Z)(n))}},46943:function(e,n,t){t.d(n,{Z:()=>i});var r=t(60266),o=t(14725);let i=function(e,n){return null!=e&&(0,o.Z)(e,n,r.Z)}},43917:function(e,n,t){t.d(n,{Z:()=>u});var r=t(30670),o=t(8572),i=t(93263);let u=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},51054:function(e,n,t){t.d(n,{Z:()=>r});let r=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},24541:function(e,n,t){t.d(n,{Z:()=>a});var r=t(4064),o=t(67782),i=t(5977),u=t(8572);let a=function(e,n){return((0,u.Z)(e)?r.Z:i.Z)(e,(0,o.Z)(n,3))}},1986:function(e,n,t){t.d(n,{Z:()=>u});var r=t(83276),o=t(94337),i=t(67782);let u=function(e,n){var t={};return n=(0,i.Z)(n,3),(0,o.Z)(e,function(e,o,i){(0,r.Z)(t,o,n(e,o,i))}),t}},73345:function(e,n,t){t.d(n,{Z:()=>u});var r=t(27805),o=t(76119),i=t(48233);let u=function(e){return e&&e.length?(0,r.Z)(e,i.Z,o.Z):void 0}},90373:function(e,n,t){t.d(n,{Z:()=>u});var r=t(27805),o=t(38060),i=t(48233);let u=function(e){return e&&e.length?(0,r.Z)(e,i.Z,o.Z):void 0}},59570:function(e,n,t){t.d(n,{Z:()=>u});var r=t(27805),o=t(67782),i=t(38060);let u=function(e,n){return e&&e.length?(0,r.Z)(e,(0,o.Z)(n,2),i.Z):void 0}},29873:function(e,n,t){t.d(n,{Z:()=>o});var r=t(17982);let o=function(){return r.Z.Date.now()}},10442:function(e,n,t){t.d(n,{Z:()=>o});var r=t(64797);let o=(0,t(85605).Z)(function(e,n){return null==e?{}:(0,r.Z)(e,n)})},13006:function(e,n,t){t.d(n,{Z:()=>r});let r=(0,t(26901).Z)()},48929:function(e,n,t){t.d(n,{Z:()=>d});var r=t(93822),o=t(78829),i=t(73713),u=t(43917),a=t(82047);let d=function(e){if(null==e)return 0;if((0,i.Z)(e))return(0,u.Z)(e)?(0,a.Z)(e):e.length;var n=(0,o.Z)(e);return"[object Map]"==n||"[object Set]"==n?e.size:(0,r.Z)(e).length}},75261:function(e,n,t){t.d(n,{Z:()=>a});var r=t(86619),o=t(25375),i=t(29183),u=t(74047);let a=(0,i.Z)(function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,u.Z)(e,n[0],n[1])?n=[]:t>2&&(0,u.Z)(n[0],n[1],n[2])&&(n=[n[0]]),(0,o.Z)(e,(0,r.Z)(n,1),[])})},80641:function(e,n,t){t.d(n,{Z:()=>i});var r=t(52214),o=1/0;let i=function(e){return e?(e=(0,r.Z)(e))===o||e===-o?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},36430:function(e,n,t){t.d(n,{Z:()=>o});var r=t(80641);let o=function(e){var n=(0,r.Z)(e),t=n%1;return n==n?t?n-t:n:0}},52214:function(e,n,t){t.d(n,{Z:()=>f});var r=t(16401),o=t(21367),i=t(98588),u=0/0,a=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;let f=function(e){if("number"==typeof e)return e;if((0,i.Z)(e))return u;if((0,o.Z)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var t=d.test(e);return t||s.test(e)?c(e.slice(2),t?2:8):a.test(e)?u:+e}},84806:function(e,n,t){t.d(n,{Z:()=>a});var r=t(86619),o=t(29183),i=t(70061),u=t(42113);let a=(0,o.Z)(function(e){return(0,i.Z)((0,r.Z)(e,1,u.Z,!0))})},49748:function(e,n,t){t.d(n,{Z:()=>i});var r=t(10298),o=0;let i=function(e){var n=++o;return(0,r.Z)(e)+n}},59555:function(e,n,t){t.d(n,{Z:()=>i});var r=t(94379),o=t(72732);let i=function(e,n){return(0,o.Z)(e||[],n||[],r.Z)}}}]);