{if(-1!==s.indexOf(t))return;-1===u.indexOf(t)&&u.push(t);const r=f[d.id]+x(d,t);h[t.id]&&r>=h[t.id]||(c[t.id]=d.id,h[t.id]=r,f[t.id]=h[t.id]+w(t,n,e,a,o))})}return[e,n]},C=(t,e,n)=>!(t.x===e.x===n.x||t.y===e.y===n.y),E=(t,e,n,r)=>{const i=x(t,e),a=x(n,e);i d&&(l-=2*Math.PI),!s&&d>l&&(d-=2*Math.PI)}var A=d-l;if(Math.abs(A)>v){var P=d,C=u,E=c;d=l+v*(s&&d>l?1:-1),u=p+r*Math.cos(d),c=g+i*Math.sin(d),y=t(u,c,r,i,a,0,s,C,E,[d,P,p,g])}A=d-l;var I=Math.cos(l),O=Math.sin(l),T=Math.cos(d),N=Math.sin(d),j=Math.tan(A/4),B=4/3*r*j,L=4/3*i*j,D=[e,n],R=[e+B*O,n-L*I],F=[u+B*N,c-L*T],Y=[u,c];if(R[0]=2*D[0]-R[0],R[1]=2*D[1]-R[1],h)return[R,F,Y].concat(y);y=[R,F,Y].concat(y).join().split(",");for(var q=[],z=0,X=y.length;z d&&(l-=2*Math.PI),!s&&d>l&&(d-=2*Math.PI)}var A=d-l;if(Math.abs(A)>v){var P=d,C=u,E=c;d=l+v*(s&&d>l?1:-1),u=p+r*Math.cos(d),c=g+i*Math.sin(d),y=t(u,c,r,i,a,0,s,C,E,[d,P,p,g])}A=d-l;var I=Math.cos(l),O=Math.sin(l),T=Math.cos(d),N=Math.sin(d),j=Math.tan(A/4),B=4/3*r*j,L=4/3*i*j,D=[e,n],R=[e+B*O,n-L*I],F=[u+B*N,c-L*T],Y=[u,c];if(R[0]=2*D[0]-R[0],R[1]=2*D[1]-R[1],h)return[R,F,Y].concat(y);y=[R,F,Y].concat(y).join().split(",");for(var q=[],z=0,X=y.length;z 255?255:s<0?0:Math.round(s),r=(r+s)%65521,i=(i+r)%65521,g.push(s);g.push(0)}return f=(i<<16)+r,g.push(f>>24&255),g.push(f>>16&255),g.push(f>>8&255),g.push(255&f),o=g.length-41,g[33]=o>>24&255,g[34]=o>>16&255,g[35]=o>>8&255,g[36]=255&o,l=n(g,37),g.push(l>>24&255),g.push(l>>16&255),g.push(l>>8&255),g.push(255&l),g.push(0),g.push(0),g.push(0),g.push(0),g.push(73),g.push(69),g.push(78),g.push(68),g.push(174),g.push(66),g.push(96),g.push(130),"data:image/png;base64,"+e(g)},numeric._dim=function(t){var e=[];while("object"===typeof t)e.push(t.length),t=t[0];return e},numeric.dim=function(t){var e,n;return"object"===typeof t?(e=t[0],"object"===typeof e?(n=e[0],"object"===typeof n?numeric._dim(t):[t.length,e.length]):[t.length]):[]},numeric.mapreduce=function(t,e){return Function("x","accum","_s","_k",'if(typeof accum === "undefined") accum = '+e+';\nif(typeof x === "number") { var xi = x; '+t+'; return accum; }\nif(typeof _s === "undefined") _s = numeric.dim(x);\nif(typeof _k === "undefined") _k = 0;\nvar _n = _s[_k];\nvar i,xi;\nif(_k < _s.length-1) {\n for(i=_n-1;i>=0;i--) {\n accum = arguments.callee(x[i],accum,_s,_k+1);\n } return accum;\n}\nfor(i=_n-1;i>=1;i-=2) { \n xi = x[i];\n '+t+";\n xi = x[i-1];\n "+t+";\n}\nif(i === 0) {\n xi = x[i];\n "+t+"\n}\nreturn accum;")},numeric.mapreduce2=function(t,e){return Function("x","var n = x.length;\nvar i,xi;\n"+e+";\nfor(i=n-1;i!==-1;--i) { \n xi = x[i];\n "+t+";\n}\nreturn accum;")},numeric.same=function t(e,n){var r,i;if(!(e instanceof Array)||!(n instanceof Array))return!1;if(i=e.length,i!==n.length)return!1;for(r=0;r=0;r-=2)a[r+1]=e,a[r]=e;return-1===r&&(a[0]=e),a}for(r=i-1;r>=0;r--)a[r]=numeric.rep(t,e,n+1);return a},numeric.dotMMsmall=function(t,e){var n,r,i,a,o,s,u,c,h,f,l;for(a=t.length,o=e.length,s=e[0].length,u=Array(a),n=a-1;n>=0;n--){for(c=Array(s),h=t[n],i=s-1;i>=0;i--){for(f=h[o-1]*e[o-1][i],r=o-2;r>=1;r-=2)l=r-1,f+=h[r]*e[r][i]+h[l]*e[l][i];0===r&&(f+=h[0]*e[0][i]),c[i]=f}u[n]=c}return u},numeric._getCol=function(t,e,n){var r,i=t.length;for(r=i-1;r>0;--r)n[r]=t[r][e],--r,n[r]=t[r][e];0===r&&(n[0]=t[0][e])},numeric.dotMMbig=function(t,e){var n,r,i,a=numeric._getCol,o=e.length,s=Array(o),u=t.length,c=e[0].length,h=new Array(u),f=numeric.dotVV;for(--o,--u,r=u;-1!==r;--r)h[r]=Array(c);for(--c,r=c;-1!==r;--r)for(a(e,r,s),i=u;-1!==i;--i)0,n=t[i],h[i][r]=f(n,s);return h},numeric.dotMV=function(t,e){var n,r=t.length,i=(e.length,Array(r)),a=numeric.dotVV;for(n=r-1;n>=0;n--)i[n]=a(t[n],e);return i},numeric.dotVM=function(t,e){var n,r,i,a,o,s,u;for(i=t.length,a=e[0].length,o=Array(a),r=a-1;r>=0;r--){for(s=t[i-1]*e[i-1][r],n=i-2;n>=1;n-=2)u=n-1,s+=t[n]*e[n][r]+t[u]*e[u][r];0===n&&(s+=t[0]*e[0][r]),o[r]=s}return o},numeric.dotVV=function(t,e){var n,r,i=t.length,a=t[i-1]*e[i-1];for(n=i-2;n>=1;n-=2)r=n-1,a+=t[n]*e[n]+t[r]*e[r];return 0===n&&(a+=t[0]*e[0]),a},numeric.dot=function(t,e){var n=numeric.dim;switch(1e3*n(t).length+n(e).length){case 2002:return e.length<10?numeric.dotMMsmall(t,e):numeric.dotMMbig(t,e);case 2001:return numeric.dotMV(t,e);case 1002:return numeric.dotVM(t,e);case 1001:return numeric.dotVV(t,e);case 1e3:return numeric.mulVS(t,e);case 1:return numeric.mulSV(t,e);case 0:return t*e;default:throw new Error("numeric.dot only works on vectors and matrices")}},numeric.diag=function(t){var e,n,r,i,a=t.length,o=Array(a);for(e=a-1;e>=0;e--){for(i=Array(a),n=e+2,r=a-1;r>=n;r-=2)i[r]=0,i[r-1]=0;for(r>e&&(i[r]=0),i[e]=t[e],r=e-1;r>=1;r-=2)i[r]=0,i[r-1]=0;0===r&&(i[0]=0),o[e]=i}return o},numeric.getDiag=function(t){var e,n=Math.min(t.length,t[0].length),r=Array(n);for(e=n-1;e>=1;--e)r[e]=t[e][e],--e,r[e]=t[e][e];return 0===e&&(r[0]=t[0][0]),r},numeric.identity=function(t){return numeric.diag(numeric.rep([t],1))},numeric.pointwise=function(t,e,n){"undefined"===typeof n&&(n="");var r,i,a=[],o=/\[i\]$/,s="",u=!1;for(r=0;r{n.on(t,s)}),this.canvasHandler=s,o.push(r.addEventListener(a,"DOMMouseScroll",c)),o.push(r.addEventListener(a,"mousewheel",c)),"undefined"!==typeof window&&(o.push(r.addEventListener(window,"keydown",u)),o.push(r.addEventListener(window,"keyup",u)))}_onCanvasEvents(t){const e=this,n=e.graph,r=n.get("canvas"),i=r.get("pixelRatio"),o=t.target,s=t.type;t.canvasX=t.x/i,t.canvasY=t.y/i;let c={x:t.canvasX,y:t.canvasY};if(u(n.get("group").getMatrix())&&(c=n.getPointByCanvas(t.canvasX,t.canvasY)),t.x=c.x,t.y=c.y,t.currentTarget=n,o===r)return"mousemove"===s&&e._handleMouseMove(t,"canvas"),t.target=r,t.item=null,n.emit(s,t),void n.emit("canvas:"+s,t);const h=a(o);if(!h)return void n.emit(s,t);const f=h.get("item");if(f.destroyed)return;const l=f.getType();t.target=o,t.item=f,n.emit(s,t),"mouseenter"!==s&&"mouseleave"!==s&&"dragenter"!==s&&"dragleave"!==s&&(n.emit(l+":"+s,t),"dragstart"===s&&(e.dragging=!0),"dragend"===s&&(e.dragging=!1),"mousemove"===s&&e._handleMouseMove(t,l))}_onExtendEvents(t){this.graph.emit(t.type,t)}_onWheelEvent(t){r.isNil(t.wheelDelta)&&(t.wheelDelta=-t.detail),this.graph.emit("wheel",t)}_handleMouseMove(t,e){const n=this,i=this.graph.get("canvas"),a=t.target===i?null:t.item,o=this.preItem;t=r.cloneEvent(t),o&&o!==a&&!o.destroyed&&(t.item=o,n._emitCustomEvent(o.getType(),"mouseleave",t),n.dragging&&n._emitCustomEvent(o.getType(),"dragleave",t)),a&&o!==a&&(t.item=a,n._emitCustomEvent(e,"mouseenter",t),n.dragging&&n._emitCustomEvent(e,"dragenter",t)),this.preItem=a}_emitCustomEvent(t,e,n){n.type=e,this.graph.emit(t+":"+e,n)}destroy(){const t=this.graph,e=this.canvasHandler,n=t.get("canvas");r.each(i,t=>{n.off(t,e)}),r.each(this.extendEvents,t=>{t.remove()})}}t.exports=c},1249:function(t,e,n){const r=n("1bb5");n("70e1");const i={},a={};function o(t){return a[t]||r.upperFirst(t)}const s={defaultShapeType:null,getShape(t){const e=this,n=e[t]||e[e.defaultShapeType];return n},draw(t,e,n){const r=this.getShape(t),i=r.draw(e,n);return r.afterDraw(e,n,i),i},update(t,e,n){const r=this.getShape(t);r.update&&(r.update(e,n),r.afterUpdate(e,n))},setState(t,e,n,r){const i=this.getShape(t);i.setState(e,n,r)},shouldUpdate(t){const e=this.getShape(t);return!!e.update},getControlPoints(t,e){const n=this.getShape(t);return n.getControlPoints(e)},getAnchorPoints(t,e){const n=this.getShape(t);return n.getAnchorPoints(e)}},u={options:{},getCustomConfig(){},draw(){},afterDraw(){},afterUpdate(){},setState(){},getControlPoints(t){return t.controlPoints},getAnchorPoints(t){const e=this.getCustomConfig(t)||{},{anchorPoints:n}=this.options,{anchorPoints:r}=e,i=t.anchorPoints||r||n;return i}};function c(t){const e="register"+t.className;i[e]=function(e,n,i){const a=i?t.getShape(i):u,o=r.mix({},a,n);return o.type=e,t[e]=o,o}}i.registerFactory=function(t,e){const n=o(t),a=r.mix({},s,e);return i[n]=a,a.className=n,c(a),a},i.getFactory=function(t){const e=this;return t=o(t),e[t]},t.exports=i},1290:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},"12d7":function(t,e,n){const r=n("1bb5"),i=n("9ceb");t.exports=r.mix({getDefaultCfg(){return{item:"edge",formatText(t){return"source:"+t.source+" target:"+t.target}}},getEvents(){return{"edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove"}}},i)},1304:function(t,e,n){var r=n("cd9d");function i(t){return"function"==typeof t?t:r}t.exports=i},1368:function(t,e,n){var r=n("da03"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function a(t){return!!i&&i in t}t.exports=a},"13ea":function(t,e,n){var r=n("03dd"),i=n("42a2"),a=n("d370"),o=n("6747"),s=n("30c9"),u=n("0d24"),c=n("eac5"),h=n("73ac"),f="[object Map]",l="[object Set]",d=Object.prototype,p=d.hasOwnProperty;function g(t){if(null==t)return!0;if(s(t)&&(o(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||h(t)||a(t)))return!t.length;var e=i(t);if(e==f||e==l)return!t.size;if(c(t))return!r(t).length;for(var n in t)if(p.call(t,n))return!1;return!0}t.exports=g},"14c8":function(t,e){function n(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}t.exports=n},"158c":function(t,e){var n=document.createElement("table"),r=document.createElement("tr"),i=/^\s*<(\w+|!)[^>]*>/,a={tr:document.createElement("tbody"),tbody:n,thead:n,tfoot:n,td:r,th:r,"*":document.createElement("div")};t.exports=function(t){var e=i.test(t)&&RegExp.$1;e in a||(e="*");var n=a[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var r=n.childNodes[0];return n.removeChild(r),r}},"159a":function(t,e,n){var r=n("32b3"),i=n("e2e4"),a=n("c0983"),o=n("1a8c"),s=n("f4d6");function u(t,e,n,u){if(!o(t))return t;e=i(e,t);var c=-1,h=e.length,f=h-1,l=t;while(null!=l&&++c0;--s)if(r=e[s].dequeue(),r){i=i.concat(c(t,e,n,r,!0));break}}return i}function c(t,e,n,i,a){var o=a?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),s=t.node(r.v);a&&o.push({v:r.v,w:r.w}),s.out-=i,f(e,n,s)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),a=r.w,o=t.node(a);o["in"]-=i,f(e,n,o)})),t.removeNode(i.v),o}function h(t,e){var n=new i,o=0,s=0;r.forEach(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=n.edge(t.v,t.w)||0,i=e(t),a=r+i;n.setEdge(t.v,t.w,a),s=Math.max(s,n.node(t.v).out+=i),o=Math.max(o,n.node(t.w)["in"]+=i)}));var u=r.range(s+o+3).map((function(){return new a})),c=o+1;return r.forEach(n.nodes(),(function(t){f(u,c,n.node(t))})),{graph:n,buckets:u,zeroIdx:c}}function f(t,e,n){n.out?n["in"]?t[n.out-n["in"]+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},"2a9f":function(t,e,n){"use strict";var r=n("6f9c"),i=n("e632"),a=n("d780"),o=n("38e2"),s=n("8817"),u=n("d4f3"),c=n("17d5").Graph,h=n("b50e");function f(t){var e=h.maxRank(t),n=l(t,r.range(1,e+1),"inEdges"),o=l(t,r.range(e-1,-1,-1),"outEdges"),s=i(t);p(t,s);for(var u,c=Number.POSITIVE_INFINITY,f=0,g=0;g<4;++f,++g){d(f%2?n:o,f%4>=2),s=h.buildLayerMatrix(t);var v=a(t,s);v=0&&O<=1&&T>=0&&T<=1&&(n?l++:l.push({x:I.x,y:I.y,t1:O,t2:T}))}}return l},C=function(t,e,n){var r,i,a,o,s,u,c,h,f,l;t=p(t),e=p(e);for(var d=n?0:[],g=0,v=t.length;gs&&(s=e),n{t&&t(),a.refreshPositions()};c.tick=e;const n=c.onLayoutEnd;c.onLayoutEnd=()=>{n&&n(),a.emit("afterlayout")}}try{h=new r[n](c)}catch(f){return console.warn("The layout method: "+c+" does not exist! Please specify it first."),!1}return h.init(e.data),a.emit("beforelayout"),h.execute(),e.layoutMethod=h,"force"!==n&&(a.emit("afterlayout"),e.refreshLayout()),!1}_layoutWithWorker(t,e){const{nodes:n,edges:r}=t,{layoutCfg:i,graph:a}=this,o=this._getWorker(),{workerData:u}=this;if(!o)return!1;u.requestId=null,u.requestId2=null,u.currentTick=null,u.currentTickData=null,a.emit("beforelayout");const c=f(i,t=>"function"!==typeof t);return o.postMessage({type:s.RUN,nodes:n,edges:r,layoutCfg:c}),o.onmessage=n=>{this._handleWorkerMessage(n,t,e)},!0}_handleWorkerMessage(t,e,n){const{graph:r,workerData:i,layoutCfg:a}=this,o=t.data,{type:c}=o,f=()=>{a.onTick&&a.onTick()},l=()=>{a.onLayoutEnd&&a.onLayoutEnd(),r.emit("afterlayout")};switch(c){case s.TICK:i.currentTick=o.currentTick,i.currentTickData=o,i.requestId||(i.requestId=u.requestAnimationFrame((function(){h(e,o),r.refreshPositions(),f(),1===o.currentTick&&n&&n(),o.currentTick===o.totalTicks?l():i.currentTick===o.totalTicks&&(i.requestId2=u.requestAnimationFrame((function(){h(e,i.currentTickData),r.refreshPositions(),i.requestId2=null,f(),l()}))),i.requestId=null})));break;case s.END:null==i.currentTick&&(h(e,o),this.refreshLayout(),n&&n(),r.emit("afterlayout"));break;case s.ERROR:break;default:break}}refreshLayout(){const t=this,e=t.graph;e.get("animate")?e.positionsAnimate():e.refreshPositions()}updateLayoutCfg(t){const e=this,n=e.graph;e.layoutType=t.type;const r=e.layoutMethod;e.data=e.setDataFromGraph(),this._stopWorker(),t.workerEnabled&&this._layoutWithWorker(e.data,null)||(r.init(e.data),r.updateCfg(t),n.emit("beforelayout"),r.execute(),"force"!==e.layoutType&&n.emit("afterlayout"),e.refreshLayout())}changeLayout(t){const e=this;e.layoutType=t,e.layoutCfg=e.graph.get("layout")||{},e.layoutCfg.type=t;const n=e.layoutMethod;n&&n.destroy(),e.layout()}changeData(){const t=this,e=t.layoutMethod;e&&e.destroy(),t.layout()}setDataFromGraph(){const t=this,e=[],n=[],r=t.graph.getNodes(),i=t.graph.getEdges();r.forEach(t=>{const n=t.getModel();e.push(n)}),i.forEach(t=>{const e=t.getModel();n.push(e)});const a={nodes:e,edges:n};return"fruchtermanGroup"===t.layoutType&&(a.graph=t.graph),a}relayout(){const t=this,e=t.graph,n=t.layoutMethod;"force"===t.layoutType&&(n.ticking=!1,n.forceSimulation.stop()),e.emit("beforelayout"),n.execute(),"force"!==t.layoutType&&e.emit("afterlayout"),t.refreshLayout()}layoutAnimate(){}_getLayout(){}moveToZero(){const t=this,e=t.graph,n=e.get("data"),r=n.nodes;if(void 0===r[0].x||null===r[0].x||isNaN(r[0].x))return;const i=[0,0];r.forEach(t=>{i[0]+=t.x,i[1]+=t.y}),i[0]/=r.length,i[1]/=r.length,r.forEach(t=>{t.x-=i[0],t.y-=i[1]})}initPositions(t,e){e&&e.forEach(e=>{e.x=t[0]+Math.random(),e.y=t[1]+Math.random()})}destroy(){const t=this;t.graph=null;const e=t.layoutMethod;e&&e.destroy();const{worker:n}=this;n&&(n.terminate(),this.worker=null),t.destroyed=!0}}function h(t,e){const{nodes:n}=t,{nodes:r}=e;n.forEach((t,e)=>{t.x=r[e].x,t.y=r[e].y})}function f(t,e){const n={};if(t&&"object"===typeof t){for(const r in t)t.hasOwnProperty(r)&&e(t[r])&&(n[r]=t[r]);return n}return t}t.exports=c},"8c55":function(t,e,n){"use strict";var r=n("6f9c"),i=n("17d5").Graph,a=n("b50e");function o(t,e){var n={};function i(e,i){var a=0,o=0,s=e.length,h=r.last(i);return r.forEach(i,(function(e,f){var l=u(t,e),d=l?t.node(l).order:s;(l||e===h)&&(r.forEach(i.slice(o,f+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),o=i.order;!(os)&&c(n,e,u)}))}))}function a(e,n){var a,o=-1,s=0;return r.forEach(n,(function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(a=t.node(c[0]).order,i(n,s,u,o,a),s=u,o=a)}i(n,s,n.length,a,e.length)})),n}return r.reduce(e,a),n}function u(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}function c(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function h(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function f(t,e,n,i){var a={},o={},s={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){a[t]=t,o[t]=t,s[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var u=i(t);if(u.length){u=r.sortBy(u,(function(t){return s[t]}));for(var c=(u.length-1)/2,f=Math.floor(c),l=Math.ceil(c);f<=l;++f){var d=u[f];o[t]===t&&e{c.indexOf(n)<0&&(e[n]=t)}),e}}_resetStates(t,e){const n=this,i=n.get("states");r.each(i,r=>{t.setState(e,r,!0,n)})}getStates(){return this.get("states")}hasState(t){return this.get("states").indexOf(t)>=0}getStateStyle(t){const e=this,n=a[e.getType()+s][t],i=this.get("styles"),o=i&&i[t],c=t+u;return r.mix({},n,o,e.get(c))}getOriginStyle(){return this.get("originStyle")}getCurrentStatesStyle(){const t=this,e=r.mix({},t.getOriginStyle());return r.each(t.getStates(),n=>{r.mix(e,t.getStateStyle(n))}),e}setState(t,e){const n=this.get("states"),r=this.get("shapeFactory"),i=n.indexOf(t);if(e){if(i>-1)return;n.push(t)}else i>-1&&n.splice(i,1);if(r){const n=this.get("model");r.setState(n.shape,t,e,this)}}clearStates(t){const e=this,n=e.getStates(),i=e.get("shapeFactory"),a=e.get("model").shape;if(!t)return e.set("states",[]),void i.setState(a,n[0],!1,e);r.isString(t)&&(t=[t]);const o=n.filter(n=>(i.setState(a,n,!1,e),!(t.indexOf(n)>=0)));e.set("states",o)}getContainer(){return this.get("group")}getKeyShape(){return this.get("keyShape")}getModel(){return this.get("model")}getType(){return this.get("type")}beforeDraw(){}afterDraw(){}getShapeCfg(t){const e=this.get("styles");if(e&&e.default){const n=r.mix({},t);return n.style=r.mix({},e.default,t.style),n}return t}refresh(){const t=this.get("model");this.updatePosition(t),this.updateShape(),this.afterUpdate(),this.clearCache()}update(t){const e=this.get("model"),n={x:e.x,y:e.y};r.mix(e,t);const i=this._isOnlyMove(t);i?this.updatePosition(e):(n.x===e.x&&n.y===e.y||this.updatePosition(e),this.updateShape()),this.afterUpdate(),this.clearCache()}updateShape(){const t=this.get("shapeFactory"),e=this.get("model"),n=e.shape;if(t.shouldUpdate(n)&&n===this.get("currentShape")){const r=this.getShapeCfg(e);t.update(n,r,this)}else this.draw();this.set("originStyle",this.getKeyShapeStyle()),this._resetStates(t,n)}updatePosition(t){const e=this.get("model"),n=r.isNil(t.x)?e.x:t.x,i=r.isNil(t.y)?e.y:t.y,a=this.get("group");r.isNil(n)||r.isNil(i)||(a.resetMatrix(),a.translate(n,i),e.x=n,e.y=i,this.clearCache())}afterUpdate(){}clearCache(){this.set(o,null)}draw(){this.beforeDraw(),this._drawInner(),this.afterDraw()}getBBox(){let t=this.get(o);return t||(t=this._calculateBBox(),this.set(o,t)),t}toFront(){this.get("group").toFront()}toBack(){this.get("group").toBack()}show(){this.changeVisibility(!0)}hide(){this.changeVisibility(!1)}changeVisibility(t){const e=this.get("group");t?e.show():e.hide(),this.set("visible",t)}enableCapture(t){const e=this.get("group");e&&e.attr("capture",t)}isVisible(){return this.get("visible")}destroy(){if(!this.destroyed){const t=this.get("animate"),e=this.get("group");t&&e.stopAnimate(),e.remove(),this._cfg=null,this.destroyed=!0}}}t.exports=h},"8d60":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setMatrixArrayType=i,e.toRadian=o,e.equals=s;var r=e.EPSILON=1e-6;e.ARRAY_TYPE="undefined"!==typeof Float32Array?Float32Array:Array,e.RANDOM=Math.random;function i(t){e.ARRAY_TYPE=t}var a=Math.PI/180;function o(t){return t*a}function s(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))}},"8d88":function(t,e,n){var r=n("06bb"),i=n("61e7"),a=n("503e"),o=function(t){for(var e=i(arguments),n=1;n=3&&s.push(a[0]),i.polyline(s,o,t,e)}return r&&a?u(t,e,n)||o():r?u(t,e,n):!!a&&o()},m=function(t,e){var n=this._attrs,r=n.x,a=n.y,o=n.radius||n.r,s=this.getHitLineWidth();return i.circle(r,a,o+s/2,t,e)},y=function(t,e){var n=this,r=n._attrs;if(n.hasStroke()){var a=r.points;if(a.length<2)return!1;var o=r.lineWidth;return i.polyline(a,o,t,e)}return!1},x=function(t,e){var n=this,r=n.hasFill(),a=n.hasStroke();function o(){var r=n._attrs,a=r.x,o=r.y,s=r.width,u=r.height,c=r.radius,h=n.getHitLineWidth();if(0===c){var f=h/2;return i.line(a-f,o,a+s+f,o,h,t,e)||i.line(a+s,o-f,a+s,o+u+f,h,t,e)||i.line(a+s+f,o+u,a-f,o+u,h,t,e)||i.line(a,o+u+f,a,o-f,h,t,e)}return i.line(a+c,o,a+s-c,o,h,t,e)||i.line(a+s,o+c,a+s,o+u-c,h,t,e)||i.line(a+s-c,o+u,a+c,o+u,h,t,e)||i.line(a,o+u-c,a,o+c,h,t,e)||i.arcline(a+s-c,o+c,c,1.5*Math.PI,2*Math.PI,!1,h,t,e)||i.arcline(a+s-c,o+u-c,c,0,.5*Math.PI,!1,h,t,e)||i.arcline(a+c,o+u-c,c,.5*Math.PI,Math.PI,!1,h,t,e)||i.arcline(a+c,o+c,c,Math.PI,1.5*Math.PI,!1,h,t,e)}return r&&a?u(t,e,n)||o():r?u(t,e,n):!!a&&o()},b=function(t,e){var n=this,r=n.getBBox();if(n.hasFill()||n.hasStroke())return i.box(r.minX,r.maxX,r.minY,r.maxY,t,e)},w=function(t,e){if(!this._cfg.el)return!1;var n=this._cfg.el.getBBox();return i.box(n.x,n.x+n.width,n.y,n.y+n.height,t,e)},_={arc:c,circle:h,dom:w,ellipse:f,fan:l,image:d,line:p,path:g,marker:m,polygon:v,polyline:y,rect:x,text:b};t.exports={isPointInPath:function(t,e){var n=_[this.type];return!!n&&n.call(this,t,e)}}},"9aff":function(t,e,n){var r=n("9638"),i=n("30c9"),a=n("c0983"),o=n("1a8c");function s(t,e,n){if(!o(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&a(e,n.length):"string"==s&&e in n)&&r(n[e],t)}t.exports=s},"9b02":function(t,e,n){var r=n("656b");function i(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}t.exports=i},"9ceb":function(t,e,n){const r=n("1bb5"),i=12;t.exports={onMouseEnter(t){const e=this;if(!e.shouldBegin(t))return;const n=t.item;e.currentTarget=n,e.showTooltip(t),e.graph.emit("tooltipchange",{item:t.item,action:"show"})},onMouseMove(t){this.shouldUpdate(t)?this.currentTarget&&t.item===this.currentTarget&&this.updatePosition(t):this.hideTooltip()},onMouseLeave(t){this.shouldEnd(t)&&(this.hideTooltip(),this.graph.emit("tooltipchange",{item:this.currentTarget,action:"hide"}),this.currentTarget=null)},showTooltip(t){const e=this;if(!t.item)return;let n=e.container;n||(n=e._createTooltip(e.graph.get("canvas")),e.container=n);const i=e.formatText(t.item.get("model"),t);n.innerHTML=i,this.updatePosition(t),r.modifyCSS(this.container,{visibility:"visible"})},hideTooltip(){r.modifyCSS(this.container,{visibility:"hidden"})},updatePosition(t){const e=this.width,n=this.height,a=this.container;let o=t.canvasX,s=t.canvasY;const u=a.getBoundingClientRect();o>e/2?o-=u.width:o+=i,s>n/2?s-=u.height:s+=i;const c=o+"px",h=s+"px";r.modifyCSS(this.container,{left:c,top:h,visibility:"visible"})},_createTooltip(t){const e=t.get("el");e.style.position="relative";const n=r.createDom('');return e.parentNode.appendChild(n),r.modifyCSS(n,{position:"absolute",visibility:"visible"}),this.width=t.get("width"),this.height=t.get("height"),this.container=n,n}}},"9d1d":function(t,e,n){const r=n("1249"),i=n("1b95"),a=n("9ed2");r.registerNode("star",{options:{size:60,style:{stroke:a.defaultShapeStrokeColor,fill:a.defaultShapeFillColor,lineWidth:1},labelCfg:{style:{fill:"#595959"},offset:0},stateStyles:{hover:{fillOpacity:.8},selected:{lineWidth:3}},linkPoints:{top:!1,right:!1,left:!1,leftBottom:!1,rightBottom:!1,size:3,lineWidth:1,fill:"#fff",stroke:"#72CC4A"},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/basement_prod/012bcf4f-423b-4922-8c24-32a89f8c41ce.svg",width:16,height:16}},shapeType:"star",labelPosition:"center",drawShape(t,e){const n=this.getCustomConfig(t)||{},{icon:r}=this.options,{icon:a}=n,o=this.getShapeStyle(t),s=i({},r,a,t.icon),u=e.addShape("path",{attrs:o}),{width:c,height:h,show:f}=s;if(f){const t=e.addShape("image",{attrs:{x:-c/2,y:-h/2,...s},className:"star-icon"});t.set("capture",!1)}return this.drawLinkPoints(t,e),u},drawLinkPoints(t,e){const n=this.getCustomConfig(t)||{},{linkPoints:r}=this.options,{linkPoints:a}=n,o=i({},r,a,t.linkPoints),{top:s,left:u,right:c,leftBottom:h,rightBottom:f,size:l,...d}=o,p=this.getSize(t),g=p[0];if(c){const t=Math.cos(.1*Math.PI)*g,n=Math.sin(.1*Math.PI)*g;e.addShape("circle",{attrs:{...d,x:t,y:-n,r:l},className:"star-mark-right"})}if(s){const t=Math.cos(.5*Math.PI)*g,n=Math.sin(.5*Math.PI)*g;e.addShape("circle",{attrs:{...d,x:t,y:-n,r:l},className:"star-mark-top"})}if(u){const t=Math.cos(.9*Math.PI)*g,n=Math.sin(.9*Math.PI)*g;e.addShape("circle",{attrs:{...d,x:t,y:-n,r:l},className:"star-mark-left"})}if(h){const t=Math.cos(1.3*Math.PI)*g,n=Math.sin(1.3*Math.PI)*g;e.addShape("circle",{attrs:{...d,x:t,y:-n,r:l},className:"star-mark-left-bottom"})}if(f){const t=Math.cos(1.7*Math.PI)*g,n=Math.sin(1.7*Math.PI)*g;e.addShape("circle",{attrs:{...d,x:t,y:-n,r:l},className:"star-mark-right-bottom"})}},getPath(t){const e=this.getCustomConfig(t)||{},{innerR:n}=e,r=this.getSize(t),i=r[0],a=3*i/8,o=t.innerR||n||a,s=[];for(let u=0;u<5;u++){const t=Math.cos((18+72*u)/180*Math.PI)*i,e=Math.sin((18+72*u)/180*Math.PI)*i,n=Math.cos((54+72*u)/180*Math.PI)*o,r=Math.sin((54+72*u)/180*Math.PI)*o;0===u?s.push(["M",t,-e]):s.push(["L",t,-e]),s.push(["L",n,-r])}return s.push(["Z"]),s},getShapeStyle(t){const e=this.getCustomConfig(t)||{},{style:n}=this.options,{style:r}=e,a={stroke:t.color},o=i({},n,r,a,t.style),s=this.getPath(t),u={path:s,...o};return u},update(t,e){const n=e.getContainer(),r=this.getCustomConfig(t)||{},{style:a,icon:o,labelCfg:s}=this.options,{style:u,icon:c,labelCfg:h}=r,f=i({},a,u,t.style),l=i({},o,c,t.icon),d=e.get("keyShape"),p=this.getPath(t);d.attr({path:p,...f});const g=i({},s,h,t.labelCfg),v=this.getLabelStyle(t,g,n),m=n.findByClassName("node-label");m&&m.attr({...v});const y=n.findByClassName("star-icon");if(y){const{width:t,height:e}=l;y.attr({x:-t/2,y:-e/2,...l})}this.updateLinkPoints(t,n)},updateLinkPoints(t,e){const n=this.getCustomConfig(t)||{},{linkPoints:r}=this.options,{linkPoints:a}=n,o=i({},r,a,t.linkPoints),{size:s,...u}=o,c=this.getSize(t),h=c[0],f=e.findByClassName("star-mark-right");if(f){const t=Math.cos(.1*Math.PI)*h,e=Math.sin(.1*Math.PI)*h;f.attr({...u,x:t,y:-e,r:s})}const l=e.findByClassName("star-mark-top");if(l){const t=Math.cos(.5*Math.PI)*h,e=Math.sin(.5*Math.PI)*h;l.attr({...u,x:t,y:-e,r:s})}const d=e.findByClassName("star-mark-left");if(d){const t=Math.cos(.9*Math.PI)*h,e=Math.sin(.9*Math.PI)*h;d.attr({...u,x:t,y:-e,r:s})}const p=e.findByClassName("star-mark-left-bottom");if(p){const t=Math.cos(1.3*Math.PI)*h,e=Math.sin(1.3*Math.PI)*h;p.attr({...u,x:t,y:-e,r:s})}const g=e.findByClassName("star-mark-right-bottom");if(g){const t=Math.cos(1.7*Math.PI)*h,e=Math.sin(1.7*Math.PI)*h;g.attr({...u,x:t,y:-e,r:s})}}},"single-shape")},"9d67":function(t,e,n){const r=n("9ed2"),i=n("b0b3"),a=n("bcd0"),o=n("e00d"),s=n("3b0b"),u={Graph:n("c02a"),TreeGraph:n("3501"),Util:n("1bb5"),G:i,Global:r,Shape:a,Layout:o,registerNode:a.registerNode,registerEdge:a.registerEdge,registerBehavior:s.registerBehavior,registerLayout:o.registerLayout,version:r.version};t.exports=u},"9dfc":function(t,e,n){const r=n("1249"),i=n("1bb5"),a=n("9ed2"),o=n("15e8");r.registerFactory("node",{defaultShapeType:"circle"});const s=i.mix({},o,{itemType:"node",shapeType:"",labelPosition:"center",getSize(t){const e=this.getCustomConfig(t)||{};let n=t.size||e.size||this.options.size||a.defaultNode.size;return i.isArray(n)||(n=[n,n]),n},getLabelStyleByPosition(t,e){const n=e.position||this.labelPosition;if("center"===n)return{x:0,y:0};let r=e.offset;i.isNil(r)&&(r=a.nodeLabel.offset);const o=this.getSize(t),s=o[0],u=o[1];let c;switch(n){case"top":c={x:0,y:0-u/2-r,textBaseline:"bottom"};break;case"bottom":c={x:0,y:u/2+r,textBaseline:"top"};break;case"left":c={x:0-s/2-r,y:0,textAlign:"right"};break;default:c={x:s/2+r,y:0,textAlign:"left"};break}return c},drawShape(t,e){const n=this.shapeType,r=this.getShapeStyle(t),i=e.addShape(n,{attrs:r});return i}});r.registerNode("single-shape",s)},"9e86":function(t,e,n){var r=n("872a"),i=n("242e"),a=n("badf");function o(t,e){var n={};return e=a(e,3),i(t,(function(t,i,a){r(n,i,e(t,i,a))})),n}t.exports=o},"9ed2":function(t,e){t.exports={version:"3.1.10",rootContainerClassName:"root-container",nodeContainerClassName:"node-container",edgeContainerClassName:"edge-container",customGroupContainerClassName:"custom-group-container",delegateContainerClassName:"delegate-container",defaultShapeFillColor:"#91d5ff",defaultShapeStrokeColor:"#91d5ff",defaultNode:{shape:"circle",style:{fill:"#fff"},size:40,color:"#333"},defaultEdge:{shape:"line",style:{},size:1,color:"#333"},nodeLabel:{style:{fill:"#595959",textAlign:"center",textBaseline:"middle"},offset:5},edgeLabel:{style:{fill:"#595959",textAlign:"center",textBaseline:"middle"}},nodeStateStyle:{active:{fillOpacity:.8},selected:{lineWidth:2}},edgeStateStyle:{active:{strokeOpacity:.8},selected:{lineWidth:2}},loopPosition:"top",delegateStyle:{fill:"#F3F9FF",fillOpacity:.5,stroke:"#1890FF",strokeOpacity:.9,lineDash:[5,5]}}},"9edc":function(t,e,n){var r=n("1c6a"),i=function(){function t(t){this.type="clip";var e=document.createElementNS("http://www.w3.org/2000/svg","clipPath");this.el=e,this.id=r.uniqueId("clip_"),e.id=this.id;var n=t._cfg.el;return e.appendChild(n.cloneNode(!0)),this.cfg=t,this}var e=t.prototype;return e.match=function(){return!1},e.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();t.exports=i},"9f57":function(t,e,n){var r=n("1c6a"),i=function(t,e,n,r){this.type=t,this.target=null,this.currentTarget=null,this.bubbles=n,this.cancelable=r,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.removed=!1,this.event=e};r.augment(i,{preventDefault:function(){this.defaultPrevented=this.cancelable&&!0},stopPropagation:function(){this.propagationStopped=!0},remove:function(){this.remove=!0},clone:function(){return r.clone(this)},toString:function(){return"[Event (type="+this.type+")]"}}),t.exports=i},"9f74":function(t,e,n){var r=n("48a0");function i(t,e){var n=[];return r(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}t.exports=i},a029:function(t,e,n){var r=n("087d"),i=n("2dcb"),a=n("32f4"),o=n("d327"),s=Object.getOwnPropertySymbols,u=s?function(t){var e=[];while(t)r(e,a(t)),t=i(t);return e}:o;t.exports=u},a1b0:function(t,e,n){const r=n("1bb5"),i=16;let a=null;class o{constructor(t){this.graph=t,this.cachedStates={enabled:{},disabled:{}}}updateState(t,e,n){if(t.destroyed)return;const r=this,o=r.cachedStates,s=o.enabled,u=o.disabled;n?(r._checkCache(t,e,u),r._cacheState(t,e,s)):(r._checkCache(t,e,s),r._cacheState(t,e,u)),a&&clearTimeout(a),a=setTimeout(()=>{a=null,r.updateGraphStates()},i)}updateStates(t,e,n){const i=this;r.isString(e)?i.updateState(t,e,n):e.forEach(e=>{i.updateState(t,e,n)})}_checkCache(t,e,n){if(!n[e])return;const r=n[e].indexOf(t);r>=0&&n[e].splice(r,1)}_cacheState(t,e,n){n[e]||(n[e]=[]),n[e].push(t)}updateGraphStates(){const t=this.graph.get("states"),e=this.cachedStates;r.each(e.disabled,(e,n)=>{t[n]&&(t[n]=t[n].filter(t=>e.indexOf(t)<0&&!e.destroyed))}),r.each(e.enabled,(e,n)=>{if(t[n]){const r={};t[n].forEach(t=>{t.destroyed||(r[t.get("id")]=!0)}),e.forEach(e=>{if(!e.destroyed){const i=e.get("id");r[i]||(r[i]=!0,t[n].push(e))}})}else t[n]=e}),this.graph.emit("graphstatechange",{states:t}),this.cachedStates={enabled:{},disabled:{}}}destroy(){this.graph=null,this.cachedStates=null,a&&clearTimeout(a),a=null,this.destroyed=!0}}t.exports=o},a2be:function(t,e,n){var r=n("d612"),i=n("4284"),a=n("c584"),o=1,s=2;function u(t,e,n,u,c,h){var f=n&o,l=t.length,d=e.length;if(l!=d&&!(f&&d>l))return!1;var p=h.get(t);if(p&&h.get(e))return p==e;var g=-1,v=!0,m=n&s?new r:void 0;h.set(t,e),h.set(e,t);while(++g=0&&O<=1&&T>=0&&T<=1&&(n?l++:l.push({x:I.x,y:I.y,t1:O,t2:T}))}}return l},C=function(t,e,n){var r,i,a,o,s,u,c,h,f,l;t=p(t),e=p(e);for(var d=n?0:[],g=0,v=t.length;g2*Math.PI&&(t=t/180*Math.PI),this.transform([["t",-e,-n],["r",t],["t",e,n]])},move:function(t,e){var n=this.get("x")||0,r=this.get("y")||0;return this.translate(t-n,e-r),this.set("x",t),this.set("y",e),this},transform:function(t){var e=this,n=this._attrs.matrix;return r.each(t,(function(t){switch(t[0]){case"t":e.translate(t[1],t[2]);break;case"s":e.scale(t[1],t[2]);break;case"r":e.rotate(t[1]);break;case"m":e.attr("matrix",r.mat3.multiply([],n,t[1])),e.clearTotalMatrix();break;default:break}})),e},setTransform:function(t){return this.attr("matrix",[1,0,0,0,1,0,0,0,1]),this.transform(t)},getMatrix:function(){return this.attr("matrix")},setMatrix:function(t){return this.attr("matrix",t),this.clearTotalMatrix(),this},apply:function(t,e){var n;return n=e?this._getMatrixByRoot(e):this.attr("matrix"),r.vec3.transformMat3(t,t,n),this},_getMatrixByRoot:function(t){var e=this;t=t||e;var n=e,i=[];while(n!==t)i.unshift(n),n=n.get("parent");i.unshift(n);var a=[1,0,0,0,1,0,0,0,1];return r.each(i,(function(t){r.mat3.multiply(a,t.attr("matrix"),a)})),a},getTotalMatrix:function(){var t=this._cfg.totalMatrix;if(!t){t=[1,0,0,0,1,0,0,0,1];var e=this._cfg.parent;if(e){var n=e.getTotalMatrix();o(t,n)}o(t,this.attr("matrix")),this._cfg.totalMatrix=t}return t},clearTotalMatrix:function(){},invert:function(t){var e=this.getTotalMatrix();if(a(e))t[0]/=e[0],t[1]/=e[4];else{var n=r.mat3.invert([],e);n&&r.vec3.transformMat3(t,t,n)}return this},resetTransform:function(t){var e=this.attr("matrix");i(e)||t.transform(e[0],e[1],e[3],e[4],e[6],e[7])}}},function(t,e,n){function r(){return r=Object.assign||function(t){for(var e=1;e=3&&s.push(a[0]),i.polyline(s,o,t,e)}return r&&a?u(t,e,n)||o():r?u(t,e,n):!!a&&o()},m=function(t,e){var n=this._attrs,r=n.x,a=n.y,o=n.radius||n.r,s=this.getHitLineWidth();return i.circle(r,a,o+s/2,t,e)},y=function(t,e){var n=this,r=n._attrs;if(n.hasStroke()){var a=r.points;if(a.length<2)return!1;var o=r.lineWidth;return i.polyline(a,o,t,e)}return!1},x=function(t,e){var n=this,r=n.hasFill(),a=n.hasStroke();function o(){var r=n._attrs,a=r.x,o=r.y,s=r.width,u=r.height,c=r.radius,h=n.getHitLineWidth();if(0===c){var f=h/2;return i.line(a-f,o,a+s+f,o,h,t,e)||i.line(a+s,o-f,a+s,o+u+f,h,t,e)||i.line(a+s+f,o+u,a-f,o+u,h,t,e)||i.line(a,o+u+f,a,o-f,h,t,e)}return i.line(a+c,o,a+s-c,o,h,t,e)||i.line(a+s,o+c,a+s,o+u-c,h,t,e)||i.line(a+s-c,o+u,a+c,o+u,h,t,e)||i.line(a,o+u-c,a,o+c,h,t,e)||i.arcline(a+s-c,o+c,c,1.5*Math.PI,2*Math.PI,!1,h,t,e)||i.arcline(a+s-c,o+u-c,c,0,.5*Math.PI,!1,h,t,e)||i.arcline(a+c,o+u-c,c,.5*Math.PI,Math.PI,!1,h,t,e)||i.arcline(a+c,o+c,c,Math.PI,1.5*Math.PI,!1,h,t,e)}return r&&a?u(t,e,n)||o():r?u(t,e,n):!!a&&o()},b=function(t,e){var n=this,r=n.getBBox();if(n.hasFill()||n.hasStroke())return i.box(r.minX,r.maxX,r.minY,r.maxY,t,e)},w=function(t,e){if(!this._cfg.el)return!1;var n=this._cfg.el.getBBox();return i.box(n.x,n.x+n.width,n.y,n.y+n.height,t,e)},_={arc:c,circle:h,dom:w,ellipse:f,fan:l,image:d,line:p,path:g,marker:m,polygon:v,polyline:y,rect:x,text:b};t.exports={isPointInPath:function(t,e){var n=_[this.type];return!!n&&n.call(this,t,e)}}},function(t,e,n){var r=n(0),i=n(22),a=n(100),o=n(103),s=n(114),u=s.interpolate,c=s.interpolateArray,h=function(t){this._animators=[],this._current=0,this._timer=null,this.canvas=t};function f(t,e,n){var a={},o=e.toAttrs,s=e.fromAttrs,h=e.toMatrix;if(!t.get("destroyed")){var f;for(var l in o)if(!r.isEqual(s[l],o[l]))if("path"===l){var d=o[l],p=s[l];d.length>p.length?(d=i.parsePathString(o[l]),p=i.parsePathString(s[l]),p=i.fillPathByDiff(p,d),p=i.formatPath(p,d),e.fromAttrs.path=p,e.toAttrs.path=d):e.pathFormatted||(d=i.parsePathString(o[l]),p=i.parsePathString(s[l]),p=i.formatPath(p,d),e.fromAttrs.path=p,e.toAttrs.path=d,e.pathFormatted=!0),a[l]=[];for(var g=0;g