点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 行业软件>> 在线考试系统>> 源文件浏览
[免费版 Free] WebForm,下载次数:252 次 | 关键字: 考试 办公 高校 竞赛 企事业单位

源码截图

源码目录树

;
当前路径:public/static/control/p__questionBank__statistics.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[30],{"+0CZ":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r=n("Ydjw"),o=n("IEcg");function a(t,e){var n;if(o.default(e))n=function(t,n){return e(t)-e(n)};else{var a=[];r.default(e)?a.push(e):i.default(e)&&(a=e),n=function(t,e){for(var n=0;n<a.length;n+=1){var i=a[n];if(t[i]>e[i])return 1;if(t[i]<e[i])return-1}return 0}}return t.sort(n),t}e.default=a},"+3eq":function(t,e,n){"use strict";function i(t){return+t}function r(t){return t*t}function o(t){return t*(2-t)}function a(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}n.r(e),n.d(e,"easeLinear",(function(){return i})),n.d(e,"easeQuad",(function(){return a})),n.d(e,"easeQuadIn",(function(){return r})),n.d(e,"easeQuadOut",(function(){return o})),n.d(e,"easeQuadInOut",(function(){return a})),n.d(e,"easeCubic",(function(){return s["b"]})),n.d(e,"easeCubicIn",(function(){return s["a"]})),n.d(e,"easeCubicOut",(function(){return s["c"]})),n.d(e,"easeCubicInOut",(function(){return s["b"]})),n.d(e,"easePoly",(function(){return h})),n.d(e,"easePolyIn",(function(){return l})),n.d(e,"easePolyOut",(function(){return u})),n.d(e,"easePolyInOut",(function(){return h})),n.d(e,"easeSin",(function(){return v})),n.d(e,"easeSinIn",(function(){return d})),n.d(e,"easeSinOut",(function(){return g})),n.d(e,"easeSinInOut",(function(){return v})),n.d(e,"easeExp",(function(){return x})),n.d(e,"easeExpIn",(function(){return m})),n.d(e,"easeExpOut",(function(){return b})),n.d(e,"easeExpInOut",(function(){return x})),n.d(e,"easeCircle",(function(){return j})),n.d(e,"easeCircleIn",(function(){return O})),n.d(e,"easeCircleOut",(function(){return w})),n.d(e,"easeCircleInOut",(function(){return j})),n.d(e,"easeBounce",(function(){return L})),n.d(e,"easeBounceIn",(function(){return B})),n.d(e,"easeBounceOut",(function(){return L})),n.d(e,"easeBounceInOut",(function(){return D})),n.d(e,"easeBack",(function(){return Y})),n.d(e,"easeBackIn",(function(){return R})),n.d(e,"easeBackOut",(function(){return N})),n.d(e,"easeBackInOut",(function(){return Y})),n.d(e,"easeElastic",(function(){return H})),n.d(e,"easeElasticIn",(function(){return V})),n.d(e,"easeElasticOut",(function(){return H})),n.d(e,"easeElasticInOut",(function(){return W}));var s=n("iSFD"),c=3,l=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(c),u=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(c),h=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(c),p=Math.PI,f=p/2;function d(t){return 1===+t?1:1-Math.cos(t*f)}function g(t){return Math.sin(t*f)}function v(t){return(1-Math.cos(p*t))/2}function y(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function m(t){return y(1-+t)}function b(t){return 1-y(t)}function x(t){return((t*=2)<=1?y(1-t):2-y(t-1))/2}function O(t){return 1-Math.sqrt(1-t*t)}function w(t){return Math.sqrt(1- --t*t)}function j(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var S=4/11,M=6/11,_=8/11,C=3/4,k=9/11,E=10/11,P=15/16,A=21/22,T=63/64,I=1/S/S;function B(t){return 1-L(1-t)}function L(t){return(t=+t)<S?I*t*t:t<_?I*(t-=M)*t+C:t<E?I*(t-=k)*t+P:I*(t-=A)*t+T}function D(t){return((t*=2)<=1?1-L(1-t):L(t-1)+1)/2}var F=1.70158,R=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(F),N=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(F),Y=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(F),G=2*Math.PI,X=1,z=.3,V=function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=G);function r(t){return e*y(- --t)*Math.sin((i-t)/n)}return r.amplitude=function(e){return t(e,n*G)},r.period=function(n){return t(e,n)},r}(X,z),H=function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=G);function r(t){return 1-e*y(t=+t)*Math.sin((t+i)/n)}return r.amplitude=function(e){return t(e,n*G)},r.period=function(n){return t(e,n)},r}(X,z),W=function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=G);function r(t){return((t=2*t-1)<0?e*y(-t)*Math.sin((i-t)/n):2-e*y(t)*Math.sin((i+t)/n))/2}return r.amplitude=function(e){return t(e,n*G)},r.period=function(n){return t(e,n)},r}(X,z)},"+5io":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Array.prototype,r=i.splice,o=i.indexOf,a=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=0;i<e.length;i++){var a=e[i],s=-1;while((s=o.call(t,a))>-1)r.call(t,s,1)}return t};e.default=a},"+Aqi":function(t,e,n){var i=n("NY6U");function r(t,e){void 0===t&&(t=0),void 0===e&&(e=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=e}var o={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function a(t,e,n){n?(e.x=t.x,e.y=t.y):(e.x=t.y,e.y=t.x),t.children.forEach((function(t,i){a(t,e.children[i],n)}))}t.exports=function(t,e){void 0===e&&(e={}),e=i.assign({},o,e);var n,s=0;function c(t){if(!t)return null;t.width=0,t.depth&&t.depth>s&&(s=t.depth);var e=t.children,n=e.length,i=new r(t.height,[]);return e.forEach((function(t,e){var r=c(t);i.children.push(r),0===e&&(i.leftChild=r),e===n-1&&(i.rightChild=r)})),i.originNode=t,i.isLeaf=t.isLeaf(),i}function l(t){if(t.isLeaf||0===t.children.length)t.drawingDepth=s;else{var e=t.children.map((function(t){return l(t)})),n=Math.min.apply(null,e);t.drawingDepth=n-1}return t.drawingDepth}function u(t){t.x=t.drawingDepth*e.rankSep,t.isLeaf?(t.y=0,n&&(t.y=n.y+n.height+e.nodeSep,t.originNode.parent!==n.originNode.parent&&(t.y+=e.subTreeSep)),n=t):(t.children.forEach((function(t){u(t)})),t.y=(t.leftChild.y+t.rightChild.y)/2)}var h=c(t);return l(h),u(h),a(h,t,e.isHorizontal),t}},"+BNd":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("8vsG");e.Scale=i.Scale},"+K+b":function(t,e,n){var i=n("JHRd");function r(t){var e=new t.constructor(t.byteLength);return new i(e).set(new i(t)),e}t.exports=r},"+Oe8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReplaceAttrs=e.getPolygonCentroid=e.getAngle=e.getArcPath=e.getSectorPath=e.polarToCartesian=void 0;var i=n("iTfj");function r(t){if(i.isEmpty(t))return null;var e=t[0].x,n=t[0].x,r=t[0].y,o=t[0].y;return i.each(t,(function(t){e=e>t.x?t.x:e,n=n<t.x?t.x:n,r=r>t.y?t.y:r,o=o<t.y?t.y:o})),{minX:e,maxX:n,minY:r,maxY:o,centerX:(e+n)/2,centerY:(r+o)/2}}function o(t,e,n,i){return{x:t+n*Math.cos(i),y:e+n*Math.sin(i)}}function a(t,e,n,i,r,a){void 0===a&&(a=0);var s=o(t,e,n,i),c=o(t,e,n,r),l=o(t,e,a,i),u=o(t,e,a,r);if(r-i===2*Math.PI){var h=o(t,e,n,i+Math.PI),p=o(t,e,a,i+Math.PI),f=[["M",s.x,s.y],["A",n,n,0,1,1,h.x,h.y],["A",n,n,0,1,1,c.x,c.y],["M",l.x,l.y]];return a&&(f.push(["A",a,a,0,1,0,p.x,p.y]),f.push(["A",a,a,0,1,0,u.x,u.y])),f.push(["M",s.x,s.y]),f.push(["Z"]),f}var d=r-i<=Math.PI?0:1,g=[["M",s.x,s.y],["A",n,n,0,d,1,c.x,c.y],["L",u.x,u.y]];return a&&g.push(["A",a,a,0,d,0,l.x,l.y]),g.push(["L",s.x,s.y]),g.push(["Z"]),g}function s(t,e,n,r,a){var s=o(t,e,n,r),c=o(t,e,n,a);if(i.isNumberEqual(a-r,2*Math.PI)){var l=o(t,e,n,r+Math.PI);return[["M",s.x,s.y],["A",n,n,0,1,1,l.x,l.y],["A",n,n,0,1,1,s.x,s.y],["A",n,n,0,1,0,l.x,l.y],["A",n,n,0,1,0,s.x,s.y],["Z"]]}var u=a-r<=Math.PI?0:1;return[["M",s.x,s.y],["A",n,n,0,u,1,c.x,c.y]]}function c(t,e){var n,i,o=t.points,a=r(o),s=e.startAngle,c=e.endAngle,l=c-s;return e.isTransposed?(n=a.maxY*l,i=a.minY*l):(n=a.maxX*l,i=a.minX*l),n+=s,i+=s,{startAngle:i,endAngle:n}}function l(t,e){if(i.isNumber(t)&&i.isNumber(e))return[t,e];var n,r,o=-1,a=0,s=0,c=t.length-1,l=0;while(++o<t.length)n=c,c=o,l+=r=t[n]*e[c]-t[c]*e[n],a+=(t[n]+t[c])*r,s+=(e[n]+e[c])*r;return l*=3,[a/l,s/l]}function u(t,e){var n=t.attr(),r=e.attr();return i.each(n,(function(t,e){void 0===r[e]&&(r[e]=void 0)})),r}e.polarToCartesian=o,e.getSectorPath=a,e.getArcPath=s,e.getAngle=c,e.getPolygonCentroid=l,e.getReplaceAttrs=u},"+Qka":function(t,e,n){var i=n("fmRc"),r=n("t2Dn"),o=n("cq/+"),a=n("T1AV"),s=n("GoyQ"),c=n("mTTR"),l=n("itsj");function u(t,e,n,h,p){t!==e&&o(e,(function(o,c){if(p||(p=new i),s(o))a(t,e,c,n,u,h,p);else{var f=h?h(l(t,c),o,c+"",t,e,p):void 0;void 0===f&&(f=o),r(t,c,f)}}),c)}t.exports=u},"+c4W":function(t,e,n){var i=n("711d"),r=n("4/ic"),o=n("9ggG"),a=n("9Nap");function s(t){return o(t)?i(a(t)):r(t)}t.exports=s},"+dif":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return t<e?e:t>n?n:t};e.default=i},"+iFO":function(t,e,n){var i=n("dTAl"),r=n("LcsW"),o=n("6sVZ");function a(t){return"function"!=typeof t.constructor||o(t)?{}:i(r(t))}t.exports=a},"+oF3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("F/3T"),o=n("vRma");function a(t){return t instanceof HTMLElement&&o.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(o.isString(t)){var i=new Image;i.onload=function(){if(e.destroyed)return!1;e.attr("img",i),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},i.crossOrigin="Anonymous",i.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):a(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",t);var e=this.attr(),n=e.x,i=e.y,r=e.width,s=e.height,c=e.sx,l=e.sy,u=e.swidth,h=e.sheight,p=e.img;(p instanceof Image||a(p))&&(o.isNil(c)||o.isNil(l)||o.isNil(u)||o.isNil(h)?t.drawImage(p,n,i,r,s):t.drawImage(p,c,l,u,h,n,i,r,s))},e}(r.default);e.default=s},"+olp":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r=function t(e,n){if(void 0===n&&(n=[]),i.default(e))for(var r=0;r<e.length;r+=1)t(e[r],n);else n.push(e);return n};e.default=r},"+q5a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipItems=e.findDataByPoint=void 0;var i=n("t0W4"),r=n("iTfj"),o=n("yLks"),a=n("EIvI");function s(t,e,n){var i=n.translate(t),o=n.translate(e);return r.isNumberEqual(i,o)}function c(t,e){var n=e.coordinate,i=e.getXScale(),r=i.range,o=r[r.length-1],a=r[0],s=n.invert(t),c=s.x;return n.isPolar&&c>(1+o)/2&&(c=a),i.translate(i.invert(c))}function l(t,e,n){var i=n.coordinate,a=n.getYScale(),s=a.field,c=i.invert(e),l=a.invert(c.y),u=r.find(t,(function(t){var e=t[o.FIELD_ORIGIN];return e[s][0]<=l&&e[s][1]>=l}));return u||t[t.length-1]}var u=r.memoize((function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,i=t.translate(e[0]),r=i,o=0;o<n;o++){var a=e[o],s=t.translate(a);s<i&&(i=s),s>r&&(r=s)}return(r-i)/(n-1)}));function h(t,e,n){var i=n;if(!n){var o=e.getAttribute("position"),a=o.getFields();i=a[0]}var s=e.scales;return s[i]?s[i].getText(t[i]):r.hasKey(t,i)?t[i]:i}function p(t){var e=r.values(t.attributes);return r.filter(e,(function(t){return r.contains(o.GROUP_ATTRS,t.type)}))}function f(t){for(var e,n=p(t),i=0,r=n;i<r.length;i++){var o=r[i],a=o.getScale(o.type);if(a&&a.isLinear){e=a;break}}var s=t.getXScale(),c=t.getYScale();return e||c||s}function d(t,e){var n=e.field,i=t[n];if(r.isArray(i)){var o=i.map((function(t){return e.getText(t)}));return o.join("-")}return e.getText(i)}function g(t,e){var n,i=e.getGroupScales();if(i.length&&(n=i[0]),n){var r=n.field;return n.getText(t[r])}var o=f(e);return a.getName(o)}function v(t,e,n){if(0===e.length)return null;var i=n.type,a=n.getXScale(),h=n.getYScale(),p=a.field,f=h.field,d=null;if("heatmap"===i||"point"===i){for(var g=n.coordinate,v=g.invert(t),y=a.invert(v.x),m=h.invert(v.y),b=1/0,x=0;x<e.length;x++){var O=e[x],w=O[o.FIELD_ORIGIN],j=Math.pow(w[p]-y,2)+Math.pow(w[f]-m,2);j<b&&(b=j,d=O)}return d}var S=e[0],M=e[e.length-1],_=c(t,n),C=S[o.FIELD_ORIGIN][p],k=S[o.FIELD_ORIGIN][f],E=M[o.FIELD_ORIGIN][p],P=h.isLinear&&r.isArray(k);if(r.isArray(C)){for(x=0;x<e.length;x++){var A=e[x];w=A[o.FIELD_ORIGIN];if(a.translate(w[p][0])<=_&&a.translate(w[p][1])>=_){if(!P){d=A;break}r.isArray(d)||(d=[]),d.push(A)}}r.isArray(d)&&(d=l(d,t,n))}else{var T=void 0;if(a.isLinear||"timeCat"===a.type){if((_>a.translate(E)||_<a.translate(C))&&(_>a.max||_<a.min))return null;var I=0,B=e.length-1,L=void 0;while(I<=B){L=Math.floor((I+B)/2);var D=e[L][o.FIELD_ORIGIN][p];if(s(D,_,a))return e[L];a.translate(D)<=a.translate(_)?(I=L+1,M=e[L],T=e[L+1]):(0===B&&(M=e[0]),B=L-1)}}else{for(x=0;x<e.length;x++){A=e[x],w=A[o.FIELD_ORIGIN];if(s(w[p],_,a)){if(!P){d=A;break}r.isArray(d)||(d=[]),d.push(A)}else a.translate(w[p])<=_&&(M=A,T=e[x+1])}r.isArray(d)&&(d=l(d,t,n))}M&&T&&Math.abs(a.translate(M[o.FIELD_ORIGIN][p])-_)>Math.abs(a.translate(T[o.FIELD_ORIGIN][p])-_)&&(M=T)}var F=u(n.getXScale());return!d&&Math.abs(a.translate(M[o.FIELD_ORIGIN][p])-_)<=F/2&&(d=M),d}function y(t,e,n){void 0===n&&(n="");var s,c,l=t[o.FIELD_ORIGIN],u=h(l,e,n),p=e.tooltipOption,v=e.theme.defaultColor,y=[];function m(e,n){if(!r.isNil(n)&&""!==n){var i={title:u,data:l,mappingData:t,name:e,value:n,color:t.color||v,marker:!0};y.push(i)}}if(r.isObject(p)){var b=p.fields,x=p.callback;if(x){var O=b.map((function(e){return t[o.FIELD_ORIGIN][e]})),w=x.apply(void 0,O),j=i.__assign({data:t[o.FIELD_ORIGIN],mappingData:t,title:u,color:t.color||v,marker:!0},w);y.push(j)}else for(var S=e.scales,M=0,_=b;M<_.length;M++){var C=_[M];if(!r.isNil(l[C])){var k=S[C];s=a.getName(k),c=k.getText(l[C]),m(s,c)}}}else{var E=f(e);r.isNil(l[E.field])||(c=d(l,E),s=g(l,e),m(s,c))}return y}e.findDataByPoint=v,e.getTooltipItems=y},"/4xe":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return t>=e&&t<=n};function r(t,e,n,r){var o=.001,a={x:n.x-t.x,y:n.y-t.y},s={x:e.x-t.x,y:e.y-t.y},c={x:r.x-n.x,y:r.y-n.y},l=s.x*c.y-s.y*c.x,u=l*l,h=s.x*s.x+s.y*s.y,p=c.x*c.x+c.y*c.y,f=null;if(u>o*h*p){var d=(a.x*c.y-a.y*c.x)/l,g=(a.x*s.y-a.y*s.x)/l;i(d,0,1)&&i(g,0,1)&&(f={x:t.x+d*s.x,y:t.y+d*s.y})}return f}e.default=r},"/8cY":function(t,e,n){"use strict";var i=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){var t=this.type;return"[Event (type="+t+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e["a"]=i},"/OH1":function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});var r=n("CtsN"),o=n("nkna");e.default=(i={},i[""+o.CONTAINER_CLASS]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:r.default.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},i[""+o.TITLE_CLASS]={marginBottom:"4px"},i[""+o.LIST_CLASS]={margin:"0px",listStyleType:"none",padding:"0px"},i[""+o.LIST_ITEM_CLASS]={listStyleType:"none",marginBottom:"4px"},i[""+o.MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},i[""+o.VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},i[""+o.CROSSHAIR_X]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},i[""+o.CROSSHAIR_Y]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},i)},"/QBt":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("iTfj"),r=n("8SgM"),o=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,a=function(){function t(t){this.cfg={};var e=r.createSVGElement("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=r.createSVGElement("image");e.appendChild(n);var a=i.uniqueId("pattern_");e.id=a,this.el=e,this.id=a,this.cfg=t;var s=o.exec(t),c=s[2];n.setAttribute("href",c);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return c.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=c,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=a},"/WcD":function(t,e,n){"use strict";function i(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"/tnv":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("W42+");function r(t){if(i.default(t)){var e=t;return e[e.length-1]}}e.default=r},"0IC1":function(t,e,n){"use strict";function i(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}Object.defineProperty(e,"__esModule",{value:!0}),e.removeFromArray=i,e.isBrowser="undefined"!==typeof window&&"undefined"!==typeof window.document;var r=n("KPlw");e.isNil=r.default;var o=n("IEcg");e.isFunction=o.default;var a=n("Ydjw");e.isString=a.default;var s=n("mrT1");e.isObject=s.default;var c=n("Afl5");e.isArray=c.default;var l=n("UD5B");e.mix=l.default;var u=n("cvtA");e.each=u.default;var h=n("PFw5");function p(t,e){if(t.isCanvas())return!0;var n=e.getParent(),i=!1;while(n){if(n===t){i=!0;break}n=n.getParent()}return i}function f(t){return t.cfg.visible&&t.cfg.capture}e.upperFirst=h.default,e.isParent=p,e.isAllowCapture=f},"0ICj":function(t,e,n){"use strict";function i(t){var e=t.attr(),n=e.x,i=e.y,r=e.rx,o=e.ry;return{x:n-r,y:i-o,width:2*r,height:2*o}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"0Khy":function(t,e,n){function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var r=n("SkHP"),o=n("w6We"),a=n("OHtD"),s=n("NY6U"),c=function(t){function e(){return t.apply(this,arguments)||this}i(e,t);var n=e.prototype;return n.execute=function(){var t=this;return a(t.rootNode,t.options,o)},e}(r),l={};function u(t,e){return e=s.assign({},l,e),new c(t,e).execute()}t.exports=u},"0Ol7":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("iTfj"),o=n("b8s6"),a=n("U7jg"),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),a=this.get("el");r.each(e||i,(function(e,s){if("path"===s&&r.isArray(e))a.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s)if(e){var c=r.isObject(e)?t.addArrow(i,o.SVG_ATTR_MAP[s]):t.getDefaultArrow(i,o.SVG_ATTR_MAP[s]);a.setAttribute(o.SVG_ATTR_MAP[s],"url(#"+c+")")}else a.removeAttribute(o.SVG_ATTR_MAP[s]);else o.SVG_ATTR_MAP[s]&&a.setAttribute(o.SVG_ATTR_MAP[s],e)}))},e.prototype._formatPath=function(t){var e=t.map((function(t){return t.join(" ")})).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var i=e?e.getPointAtLength(t*n):null;return i?{x:i.x,y:i.y}:null},e}(a.default);e.default=s},"0Xep":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var i=0,r=.5,o=.5,a=.05},"0Zeg":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("wxvu"),r=n("fRZY"),o=n("oStm"),a=n("vm5F"),s=n("KfSZ"),c=n("pzOv");function l(t,e){for(var n=[],a=[],s=[],c=0;c<t.length;c++){var l=t[c],h=l.currentPoint,p=l.params,f=l.prePoint,d=void 0;switch(l.command){case"Q":d=i.default.box(f[0],f[1],p[1],p[2],p[3],p[4]);break;case"C":d=r.default.box(f[0],f[1],p[1],p[2],p[3],p[4],p[5],p[6]);break;case"A":var g=l.arcParams;d=o.default.box(g.cx,g.cy,g.rx,g.ry,g.xRotation,g.startAngle,g.endAngle);break;default:n.push(h[0]),a.push(h[1]);break}d&&(l.box=d,n.push(d.x,d.x+d.width),a.push(d.y,d.y+d.height)),e&&("L"===l.command||"M"===l.command)&&l.prePoint&&l.nextPoint&&s.push(l)}n=n.filter((function(t){return!Number.isNaN(t)})),a=a.filter((function(t){return!Number.isNaN(t)}));var v=Math.min.apply(null,n),y=Math.min.apply(null,a),m=Math.max.apply(null,n),b=Math.max.apply(null,a);if(0===s.length)return{x:v,y:y,width:m-v,height:b-y};for(c=0;c<s.length;c++){l=s[c],h=l.currentPoint;var x=void 0;h[0]===v?(x=u(l,e),v-=x.xExtra):h[0]===m&&(x=u(l,e),m+=x.xExtra),h[1]===y?(x=u(l,e),y-=x.yExtra):h[1]===b&&(x=u(l,e),b+=x.yExtra)}return{x:v,y:y,width:m-v,height:b-y}}function u(t,e){var n=t.prePoint,i=t.currentPoint,r=t.nextPoint,o=Math.pow(i[0]-n[0],2)+Math.pow(i[1]-n[1],2),a=Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2),c=Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2),l=Math.acos((o+a-c)/(2*Math.sqrt(o)*Math.sqrt(a)));if(!l||0===Math.sin(l)||s.default(l,0))return{xExtra:0,yExtra:0};var u=Math.abs(Math.atan2(r[1]-i[1],r[0]-i[0])),h=Math.abs(Math.atan2(r[0]-i[0],r[1]-i[1]));u=u>Math.PI/2?Math.PI-u:u,h=h>Math.PI/2?Math.PI-h:h;var p={xExtra:Math.cos(l/2-u)*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos(h-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0};return p}function h(t){var e=t.attr(),n=e.path,i=e.stroke,r=i?e.lineWidth:0,o=t.get("segments")||a.default(n),s=l(o,r),u=s.x,h=s.y,p=s.width,f=s.height,d={minX:u,minY:h,maxX:u+p,maxY:h+f};return d=c.mergeArrowBBox(t,d),{x:d.minX,y:d.minY,width:d.maxX-d.minX,height:d.maxY-d.minY}}e.default=h},"0em9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("F/3T");function o(t,e,n,i){return t/(n*n)+e/(i*i)}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var a=this.attr(),s=r/2,c=a.x,l=a.y,u=a.rx,h=a.ry,p=(t-c)*(t-c),f=(e-l)*(e-l);return i&&n?o(p,f,u+s,h+s)<=1:i?o(p,f,u,h)<=1:!!n&&(o(p,f,u-s,h-s)>=1&&o(p,f,u+s,h+s)<=1)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,i,r,o,0,0,2*Math.PI,!1);else{var a=r>o?r:o,s=r>o?1:r/o,c=r>o?o/r:1;t.save(),t.translate(n,i),t.scale(s,c),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(r.default);e.default=a},"0li4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t}},"0wF3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Kn3w"),r=n("/4xe"),o=n("iTfj");function a(t){for(var e=[],n=t.length,i=0;i<n-1;i++){var r=t[i],o=t[i+1];e.push({from:{x:r[0],y:r[1]},to:{x:o[0],y:o[1]}})}if(e.length>1){var a=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:a[0],y:a[1]}})}return e}function s(t,e){var n=!1;return o.each(t,(function(t){if(r.default(t.from,t.to,e.from,e.to))return n=!0,!1})),n}function c(t){var e=t.map((function(t){return t[0]})),n=t.map((function(t){return t[1]}));return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}function l(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function u(t,e){if(t.length<2||e.length<2)return!1;var n=c(t),r=c(e);if(!l(n,r))return!1;var u=!1;if(o.each(e,(function(e){if(i.default(t,e[0],e[1]))return u=!0,!1})),u)return!0;if(o.each(t,(function(t){if(i.default(e,t[0],t[1]))return u=!0,!1})),u)return!0;var h=a(t),p=a(e),f=!1;return o.each(p,(function(t){if(s(h,t))return f=!0,!1})),f}e.default=u},"0xIU":function(t,e,n){var i=n("pHPU"),r=n("M96O");function o(t,e,n){return r.transform(t.nodes(),(function(r,o){r[o]=i(t,o,e,n)}),{})}t.exports=o},"1+5i":function(t,e,n){var i=n("w/wX"),r=n("sEf8"),o=n("mdPL"),a=o&&o.isSet,s=a?r(a):i;t.exports=s},"14Cm":function(t,e,n){"use strict";var i=n("b5wT");function r(t,e){for(var n=0,i=1;i<e.length;++i)n+=o(t,e[i-1],e[i]);return n}function o(t,e,n){var r=i.zipObject(n,i.map(n,(function(t,e){return e}))),o=i.flatten(i.map(e,(function(e){return i.sortBy(i.map(t.outEdges(e),(function(e){return{pos:r[e.w],weight:t.edge(e).weight}})),"pos")})),!0),a=1;while(a<n.length)a<<=1;var s=2*a-1;a-=1;var c=i.map(new Array(s),(function(){return 0})),l=0;return i.forEach(o.forEach((function(t){var e=t.pos+a;c[e]+=t.weight;var n=0;while(e>0)e%2&&(n+=c[e+1]),e=e-1>>1,c[e]+=t.weight;l+=t.weight*n}))),l}t.exports=r},"17Tr":function(t,e,n){"use strict";n.r(e),n.d(e,"Component",(function(){return V})),n.d(e,"GroupComponent",(function(){return Z})),n.d(e,"HtmlComponent",(function(){return ie})),n.d(e,"Axis",(function(){return c})),n.d(e,"Annotation",(function(){return i})),n.d(e,"Grid",(function(){return u})),n.d(e,"Legend",(function(){return h})),n.d(e,"Tooltip",(function(){return f})),n.d(e,"Crosshair",(function(){return l})),n.d(e,"Slider",(function(){return ln})),n.d(e,"Scrollbar",(function(){return pn}));var i={};n.r(i),n.d(i,"Line",(function(){return ct})),n.d(i,"Text",(function(){return ut})),n.d(i,"Arc",(function(){return pt})),n.d(i,"Region",(function(){return dt})),n.d(i,"Image",(function(){return vt})),n.d(i,"DataMarker",(function(){return mt})),n.d(i,"DataRegion",(function(){return xt})),n.d(i,"RegionFilter",(function(){return wt}));var r={};n.r(r),n.d(r,"getDefault",(function(){return Ct})),n.d(r,"ellipsisHead",(function(){return kt})),n.d(r,"ellipsisTail",(function(){return Et})),n.d(r,"ellipsisMiddle",(function(){return Pt}));var o={};n.r(o),n.d(o,"getDefault",(function(){return Bt})),n.d(o,"reserveFirst",(function(){return Lt})),n.d(o,"reserveLast",(function(){return Dt})),n.d(o,"reserveBoth",(function(){return Ft})),n.d(o,"equidistance",(function(){return Rt}));var a={};n.r(a),n.d(a,"getDefault",(function(){return Gt})),n.d(a,"fixedAngle",(function(){return Xt})),n.d(a,"unfixedAngle",(function(){return zt}));var s={};n.r(s),n.d(s,"autoHide",(function(){return o})),n.d(s,"autoRotate",(function(){return a})),n.d(s,"autoEllipsis",(function(){return r}));var c={};n.r(c),n.d(c,"Line",(function(){return Wt})),n.d(c,"Circle",(function(){return Ut})),n.d(c,"Base",(function(){return Mt}));var l={};n.r(l),n.d(l,"Line",(function(){return Jt})),n.d(l,"Circle",(function(){return te})),n.d(l,"Base",(function(){return Kt})),n.d(l,"Html",(function(){return le}));var u={};n.r(u),n.d(u,"Base",(function(){return he})),n.d(u,"Circle",(function(){return ge})),n.d(u,"Line",(function(){return ye}));var h={};n.r(h),n.d(h,"Category",(function(){return Oe})),n.d(h,"Continuous",(function(){return Me})),n.d(h,"Base",(function(){return be}));var p={};n.r(p),n.d(p,"CONTAINER_CLASS",(function(){return Ce})),n.d(p,"TITLE_CLASS",(function(){return ke})),n.d(p,"LIST_CLASS",(function(){return Ee})),n.d(p,"LIST_ITEM_CLASS",(function(){return Pe})),n.d(p,"MARKER_CLASS",(function(){return Ae})),n.d(p,"VALUE_CLASS",(function(){return Te})),n.d(p,"NAME_CLASS",(function(){return Ie})),n.d(p,"CROSSHAIR_X",(function(){return Be})),n.d(p,"CROSSHAIR_Y",(function(){return Le}));var f={};n.r(f),n.d(f,"Html",(function(){return Xe}));var d=n("mrSG"),g=n("iTfj"),v=n("kzId"),y=n.n(v);function m(t,e,n){var i=new y.a(e,n);i.target=t,i.propagationPath.push(t),t.emitDelegation(e,i);var r=t.getParent();while(r)r.emitDelegation(e,i),i.propagationPath.push(r),r=r.getParent()}var b=n("6JdA"),x=[1,0,0,0,1,0,0,0,1];function O(t,e,n){if(void 0===n&&(n=x),!e)return null;var i=b["ext"].transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]);return i}function w(t,e){return t.x||t.y?b["ext"].transform(e||x,[["t",t.x,t.y]]):null}function j(t,e){var n=[0,0];return b["vec2"].transformMat3(n,e,t),n}function S(t,e){var n=j(t,[e.minX,e.minY]),i=j(t,[e.maxX,e.minY]),r=j(t,[e.minX,e.maxY]),o=j(t,[e.maxX,e.maxY]),a=Math.min(n[0],i[0],r[0],o[0]),s=Math.max(n[0],i[0],r[0],o[0]),c=Math.min(n[1],i[1],r[1],o[1]),l=Math.max(n[1],i[1],r[1],o[1]);return{x:a,y:c,minX:a,minY:c,maxX:s,maxY:l,width:s-a,height:l-c}}function M(t,e,n,i){if(e){var r=O({x:n,y:i},e,t.getMatrix());t.setMatrix(r)}}function _(t,e,n){var i=w({x:e,y:n});t.attr("matrix",i)}function C(t){var e=0,n=0,i=0,r=0;return Object(g["isNumber"])(t)?e=n=i=r=t:Object(g["isArray"])(t)&&(e=t[0],i=Object(g["isNil"])(t[1])?t[0]:t[1],r=Object(g["isNil"])(t[2])?t[0]:t[2],n=Object(g["isNil"])(t[3])?i:t[3]),[e,i,r,n]}function k(t){for(var e=t.childNodes,n=e.length,i=n-1;i>=0;i--)t.removeChild(e[i])}function E(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function P(t){var e=t.start,n=t.end,i=Math.min(e.x,n.x),r=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:i,y:r,minX:i,minY:r,maxX:o,maxY:a,width:o-i,height:a-r}}function A(t){var e=t.map((function(t){return t.x})),n=t.map((function(t){return t.y})),i=Math.min.apply(Math,e),r=Math.min.apply(Math,n),o=Math.max.apply(Math,e),a=Math.max.apply(Math,n);return{x:i,y:r,minX:i,minY:r,maxX:o,maxY:a,width:o-i,height:a-r}}function T(t,e,n,i){return{x:t,y:e,width:n,height:i,minX:t,minY:e,maxX:t+n,maxY:e+i}}function I(t,e,n){return(1-n)*t+e*n}function B(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}function L(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.sqrt(n*n+i*i)}function D(t,e){var n=Math.max(t.minX,e.minX),i=Math.max(t.minY,e.minY),r=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return T(n,i,r-n,o-i)}function F(t){var e,n=t.getClip(),i=n&&n.getBBox();if(t.isGroup()){var r=1/0,o=-1/0,a=1/0,s=-1/0,c=t.getChildren();c.length>0?Object(g["each"])(c,(function(t){if(t.get("visible")){if(t.isGroup()&&0===t.get("children").length)return!0;var e=F(t),n=t.applyToMatrix([e.minX,e.minY,1]),i=t.applyToMatrix([e.minX,e.maxY,1]),c=t.applyToMatrix([e.maxX,e.minY,1]),l=t.applyToMatrix([e.maxX,e.maxY,1]),u=Math.min(n[0],i[0],c[0],l[0]),h=Math.max(n[0],i[0],c[0],l[0]),p=Math.min(n[1],i[1],c[1],l[1]),f=Math.max(n[1],i[1],c[1],l[1]);u<r&&(r=u),h>o&&(o=h),p<a&&(a=p),f>s&&(s=f)}})):(r=0,o=0,a=0,s=0),e=T(r,a,o-r,s-a)}else e=t.getBBox();return i?D(e,i):e}function R(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(n){var i={type:n.get("type"),attrs:n.attr()};t.setClip(i)}else t.setClip(null)}}function N(t){return t+"px"}function Y(t,e,n,i){var r=L(t,e),o=i/r,a=0;return"start"===n?a=0-o:"end"===n&&(a=1+o),{x:I(t.x,e.x,a),y:I(t.y,e.y,a)}}var G=n("aFU3"),X={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},z=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get("defaultCfg");Object(g["each"])(t,(function(t,i){var r=e.get(i),o=t;r!==t&&(Object(g["isObject"])(t)&&n[i]&&(o=Object(g["deepMix"])({},n[i],t)),e.set(i,o))})),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Object(g["hasKey"])(t,"visible")&&(t.visible?this.show():this.hide()),Object(g["hasKey"])(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=Object(d["__assign"])({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=this.get("locationType"),i=X[n];return Object(g["each"])(i,(function(n){e[n]=t.get(n)})),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get("defaultCfg");Object(g["each"])(e,(function(e,n){var i=t.get(n);if(Object(g["isObject"])(i)){var r=Object(g["deepMix"])({},e,i);t.set(n,r)}}))},e}(G["Base"]),V=z,H="update_status",W=["visible","tip","delegateObject"],q=["container","group","shapesMap","isRegister","isUpdating","destroyed"],U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t),n=e&&e.get("component");return n},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return Object(g["each"])(this.get("shapesMap"),(function(n){n.get("name")===t&&e.push(n)})),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.get("group");e.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=S(n,e)),e},e.prototype.on=function(t,e,n){var i=this.get("group");return i.on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){var n=this.get("group");n.emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),m(n,t,e)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),e=t.getGroupBase(),n=new e({delegateObject:this.getDelegateObject()});return n},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",F(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,i=e.component,r=Object(d["__rest"])(e,["id","component"]),o=new i(Object(d["__assign"])(Object(d["__assign"])({},r),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return o.init(),o.render(),this.get("isRegister")&&this.registerElement(o.get("group")),o},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var e=this.get("id"),n=this.get("name");return e+"-"+n+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=w(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var i=e.attr("opacity");Object(g["isNil"])(i)&&(i=1),e.attr("opacity",0),e.animate({opacity:i},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,i){e.animate(n,i)},e.prototype.updateElements=function(t,e){var n,i=this,r=this.get("animate"),o=this.get("animateOption"),a=t.getChildren().slice(0);Object(g["each"])(a,(function(t){var a=t.get("id"),s=i.getElementById(a),c=t.get("name");if(s)if(t.get("isComponent")){var l=t.get("component"),u=s.get("component"),h=Object(g["pick"])(l.cfg,Object(g["difference"])(Object(g["keys"])(l.cfg),q));u.update(h),s.set(H,"update")}else{var p=i.getReplaceAttrs(s,t);r&&o.update?i.updateAnimation(c,s,p,o.update):s.attr(p),t.isGroup()&&i.updateElements(t,s),Object(g["each"])(W,(function(e){s.set(e,t.get(e))})),R(s,t),n=s,s.set(H,"update")}else{e.add(t);var f=e.getChildren();if(f.splice(f.length-1,1),n){var d=f.indexOf(n);f.splice(d+1,0,t)}else f.unshift(t);if(i.registerElement(t),t.set(H,"add"),t.get("isComponent")){l=t.get("component");l.set("container",e)}else t.isGroup()&&i.registerNewGroup(t);if(n=t,r){var v=i.get("isInit")?o.appear:o.enter;v&&i.addAnimation(c,t,v)}}}))},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();Object(g["each"])(e,(function(t){t.set(H,null)}))},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name"),n=(t={},t[e]=this,t.component=this,t);return n},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),Object(g["mix"])(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),i=e.attr();return Object(g["each"])(n,(function(t,e){void 0===i[e]&&(i[e]=void 0)})),i},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();Object(g["each"])(n,(function(t){e.registerElement(t),t.set(H,"add"),t.isGroup()&&e.registerNewGroup(t)}))},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];Object(g["each"])(e,(function(t,e){!t.get(H)||t.destroyed?n.push([e,t]):t.set(H,null)}));var i=this.get("animate"),r=this.get("animateOption");Object(g["each"])(n,(function(n){var o=n[0],a=n[1];if(!a.destroyed){var s=a.get("name");if(i&&r.leave){var c=Object(g["mix"])({callback:function(){t.removeElement(a)}},r.leave);t.removeAnimation(s,a,c)}else t.removeElement(a)}delete e[o]}))},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(V),Z=U,K="\u2026";function Q(t){for(var e=0,n=0;n<t.length;n++)e+=J(t,n);return e}function J(t,e){return t.charCodeAt(e)>0&&t.charCodeAt(e)<128?1:2}function $(t,e,n){void 0===n&&(n="tail");var i=t.length,r="";if("tail"===n){for(var o=0,a=0;o<e;){var s=J(t,a);if(!(o+s<=e))break;r+=t[a],o+=J(t,a),a++}r+=K}else if("head"===n){for(o=0,a=i-1;o<e;){s=J(t,a);if(!(o+s<=e))break;r+=t[a],o+=J(t,a),a--}r=K+r}else{for(var c="",l="",u=(o=0,0),h=i-1;o<e;){var p=J(t,u),f=!1;p+o<=e&&(c+=t[u],u++,o+=p,f=!0);var d=J(t,h);if(d+o<=e&&(l=t[h]+l,o+=d,h--,f=!0),!f)break}r=c+K+l}return r}var tt="\u2026",et=2;function nt(t){var e=0;return Object(g["each"])(t,(function(t){var n=t.getBBox(),i=n.width;e<i&&(e=i)})),e}function it(t,e){var n=e.getCanvasBBox();return t?n.width:n.height}function rt(t,e,n,i){void 0===i&&(i="tail");var r=e.attr("text"),o=it(t,e),a=Q(r),s=!1;if(n<o){var c=Math.floor(n/o*a)-et,l=void 0;l=c>=0?$(r,c,i):tt,l&&(e.attr("text",l),s=!0)}return s?e.set("tip",r):e.set("tip",null),s}function ot(t,e){var n=e.x,i=e.y,r=e.content,o=e.style,a=e.id,s=e.name,c=e.rotate,l=e.maxLength,u=e.autoEllipsis,h=e.isVertical,p=e.ellipsisPosition,f=e.background,v=t.addGroup({id:a+"-group",name:s+"-group",attrs:{x:n,y:i}}),y=v.addShape({type:"text",id:a,name:s,attrs:Object(d["__assign"])({x:0,y:0,text:r},o)}),m=C(Object(g["get"])(f,"padding",0));if(l&&u){var b=l-(m[1]+m[3]);rt(!h,y,b,p)}if(f){var x=Object(g["get"])(f,"style",{}),O=y.getCanvasBBox(),w=O.minX,j=O.minY,S=O.width,k=O.height,E=v.addShape("rect",{id:a+"-bg",name:a+"-bg",attrs:Object(d["__assign"])({x:w-m[3],y:j-m[0],width:S+m[1]+m[3],height:k+m[0]+m[2]},x)});E.toBack()}_(v,n,i),M(v,c,n,i)}var at={fontFamily:'\n  "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue",\n  Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",\n  SimSun, "sans-serif"',textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4},st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:at.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:at.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:at.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:Object(d["__assign"])({x1:e.x,y1:e.y,x2:n.x,y2:n.y},i)})},e.prototype.getLabelPoint=function(t,e,n){var i;return i="start"===n?0:"center"===n?.5:Object(g["isString"])(n)&&-1!==n.indexOf("%")?parseInt(n,10)/100:Object(g["isNumber"])(n)?n:1,(i>1||i<0)&&(i=1),{x:I(t.x,e.x,i),y:I(t.y,e.y,i)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),i=this.get("end"),r=e.position,o=e.content,a=e.style,s=e.offsetX,c=e.offsetY,l=e.autoRotate,u=e.maxLength,h=e.autoEllipsis,p=e.ellipsisPosition,f=e.background,d=e.isVertical,g=void 0!==d&&d,v=this.getLabelPoint(n,i,r),y=v.x+s,m=v.y+c,b={id:this.getElementId("line-text"),name:"annotation-line-text",x:y,y:m,content:o,style:a,maxLength:u,autoEllipsis:h,ellipsisPosition:p,background:f,isVertical:g};if(l){var x=[i.x-n.x,i.y-n.y];b.rotate=Math.atan2(x[1],x[0])}ot(t,b)},e}(Z),ct=st,lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:at.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:at.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var e=this.getLocation(),n=e.x,i=e.y,r=this.get("content"),o=this.get("style"),a=this.getElementId("text"),s=this.get("name")+"-text",c=this.get("maxLength"),l=this.get("autoEllipsis"),u=this.get("isVertical"),h=this.get("ellipsisPosition"),p=this.get("background"),f=this.get("rotate"),d={id:a,name:s,x:n,y:i,content:r,style:o,maxLength:c,autoEllipsis:l,isVertical:u,ellipsisPosition:h,background:p,rotate:f};ot(t,d)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var e=this.getLocation(),n=e.x,i=e.y,r=this.get("rotate");_(t,n,i),M(t,r,n,i)}},e}(Z),ut=lt,ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),e=t.center,n=t.radius,i=t.startAngle,r=t.endAngle,o=B(e,n,i),a=B(e,n,r),s=r-i>Math.PI?1:0,c=[["M",o.x,o.y]];if(r-i===2*Math.PI){var l=B(e,n,i+Math.PI);c.push(["A",n,n,0,s,1,l.x,l.y]),c.push(["A",n,n,0,s,1,a.x,a.y])}else c.push(["A",n,n,0,s,1,a.x,a.y]);return c},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:Object(d["__assign"])({path:e},n)})},e}(Z),pt=ht,ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:at.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style"),r=P({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:Object(d["__assign"])({x:r.x,y:r.y,width:r.width,height:r.height},i)})},e}(Z),dt=ft,gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),i=P({start:t,end:e}),r=this.get("src");return Object(d["__assign"])({x:i.x,y:i.y,img:r,width:i.width,height:i.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(Z),vt=gt,yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:at.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:at.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:at.fontFamily}}}})},e.prototype.renderInner=function(t){Object(g["get"])(this.get("line"),"display")&&this.renderLine(t),Object(g["get"])(this.get("text"),"display")&&this.renderText(t),Object(g["get"])(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,i=e.y,r=e.text,o=Object(d["__rest"])(e,["x","y","text"]),a=this.get("text"),s=a.background,c=a.maxLength,l=a.autoEllipsis,u=a.isVertival,h=a.ellipsisPosition,p={x:n,y:i,id:this.getElementId("text"),name:"annotation-text",content:r,style:o,background:s,maxLength:c,autoEllipsis:l,isVertival:u,ellipsisPosition:h};ot(t,p)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),i=this.get("y"),r=Object(g["get"])(this.get("line"),"length",0),o=this.get("coordinateBBox"),a=t.getBBox(),s=a.minX,c=a.maxX,l=a.minY,u=a.maxY,h=t.findById(this.getElementId("text-group")),p=t.findById(this.getElementId("text")),f=t.findById(this.getElementId("line"));if(o){if(h){if(n+s<=o.minX){var d=o.minX-(n+s);_(h,h.attr("x")+d,h.attr("y"))}if(n+c>=o.maxX){d=n+c-o.maxX;_(h,h.attr("x")-d,h.attr("y"))}}if("upward"===e&&i+l<=o.minY||"upward"!==e&&i+u>=o.maxY){var v=void 0,y=void 0;"upward"===e&&i+l<=o.minY?(v="top",y=1):(v="bottom",y=-1),p.attr("textBaseline",v),f&&f.attr("path",[["M",0,0],["L",0,r*y]]),_(h,h.attr("x"),(r+2)*y)}}},e.prototype.getShapeAttrs=function(){var t=Object(g["get"])(this.get("line"),"display"),e=Object(g["get"])(this.get("point"),"style",{}),n=Object(g["get"])(this.get("line"),"style",{}),i=Object(g["get"])(this.get("text"),"style",{}),r=this.get("direction"),o=t?Object(g["get"])(this.get("line"),"length",0):0,a="upward"===r?-1:1;return{point:Object(d["__assign"])({x:0,y:0},e),line:Object(d["__assign"])({path:[["M",0,0],["L",0,o*a]]},n),text:Object(d["__assign"])({x:0,y:(o+2)*a,text:Object(g["get"])(this.get("text"),"content",""),textBaseline:"upward"===r?"bottom":"top"},i)}},e}(Z),mt=yt,bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:at.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:at.textColor,fontFamily:at.fontFamily}}}})},e.prototype.renderInner=function(t){var e=Object(g["get"])(this.get("region"),"style",{}),n=(Object(g["get"])(this.get("text"),"style",{}),this.get("lineLength")||0),i=this.get("points");if(i.length){var r=A(i),o=[];o.push(["M",i[0].x,r.minY-n]),i.forEach((function(t){o.push(["L",t.x,t.y])})),o.push(["L",i[i.length-1].x,i[i.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:Object(d["__assign"])({path:o},e)});var a=Object(d["__assign"])({id:this.getElementId("text"),name:"annotation-text",x:(r.minX+r.maxX)/2,y:r.minY-n},this.get("text"));ot(t,a)}},e}(Z),xt=bt,Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),i=this.get("end"),r=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});Object(g["each"])(this.get("shapes"),(function(t,n){var i=t.get("type"),o=Object(g["clone"])(t.attr());e.adjustShapeAttrs(o),e.addShape(r,{id:e.getElementId("shape-"+i+"-"+n),capture:!1,type:i,attrs:o})}));var o=P({start:n,end:i});r.setClip({type:"rect",attrs:{x:o.minX,y:o.minY,width:o.width,height:o.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(Z),wt=Ot;function jt(t,e,n){var i=e+"Style",r=null;return Object(g["each"])(n,(function(e,n){t[n]&&e[i]&&(r||(r={}),Object(g["mix"])(r,e[i]))})),r}var St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},defaultCfg:{line:{style:{lineWidth:1,stroke:at.lineColor}},tickLine:{style:{lineWidth:1,stroke:at.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:at.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:at.textColor,textBaseline:"middle",fontFamily:at.fontFamily,fontWeight:"normal"},offset:10},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:at.textColor,textBaseline:"middle",fontFamily:at.fontFamily,textAlign:"center"}},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:at.uncheckedColor}}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,e){Object(g["mix"])(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("tickStates"),n=[];return Object(g["each"])(e,(function(e,i){t[i]&&n.push(i)})),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(g["each"])(n,(function(n){e.setItemState(n,t,!1)}))},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(g["filter"])(n,(function(n){return e.hasState(n,t)}))},e.prototype.getSidePoint=function(t,e){var n=this,i=n.getSideVector(e,t);return{x:t.x+i[0],y:t.y+i[1]}},e.prototype.getTextAnchor=function(t){var e;return Object(g["isNumberEqual"])(t[0],0)?e="center":t[0]>0?e="start":t[0]<0&&(e="end"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:Object(g["mix"])({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],i=this.get("tickLine"),r=i.alignTick,o=i.length,a=1,s=t.length;return s>=2&&(a=t[1].value-t[0].value),Object(g["each"])(t,(function(t){var i=t.point;r||(i=e.getTickPoint(t.value-a/2));var s=e.getSidePoint(i,o);n.push({startPoint:i,tickValue:t.value,endPoint:s,tickId:t.id,id:"tickline-"+t.id})})),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),i=n.count,r=t.length;if(r>=2)for(var o=0;o<r-1;o++)for(var a=t[o],s=t[o+1],c=0;c<i;c++){var l=(c+1)/(i+1),u=(1-l)*a.tickValue+l*s.tickValue,h=this.getTickPoint(u),p=this.getSidePoint(h,n.length);e.push({startPoint:h,endPoint:p,tickValue:u,id:"sub-"+a.id+"-"+c})}return e},e.prototype.getTickLineAttrs=function(t,e){var n=this.get(e).style,i=t.startPoint,r=t.endPoint,o=Object(g["mix"])({x1:i.x,y1:i.y,x2:r.x,y2:r.y},n);return o},e.prototype.drawTick=function(t,e,n){this.addShape(e,{type:"line",id:this.getElementId(t.id),name:"axis-"+n,attrs:this.getTickLineAttrs(t,n)})},e.prototype.drawTickLines=function(t){var e=this,n=this.get("ticks"),i=this.get("subTickLine"),r=this.getTickLineItems(n),o=this.addGroup(t,{name:"axis-tickline-group",id:this.getElementId("tickline-group")}),a=this.get("tickLine");if(Object(g["each"])(r,(function(n){if(a.displayWithLabel){var i=e.getElementId("label-"+n.tickId);t.findById(i)&&e.drawTick(n,o,"tickLine")}else e.drawTick(n,o,"tickLine")})),i){var s=this.getSubTickLineItems(r);Object(g["each"])(s,(function(t){e.drawTick(t,o,"subTickLine")}))}},e.prototype.processTicks=function(){var t=this,e=this.get("ticks");Object(g["each"])(e,(function(e){e.point=t.getTickPoint(e.value),Object(g["isNil"])(e.id)&&(e.id=e.name)}))},e.prototype.drawTicks=function(t){var e=this;this.processTicks(),this.get("label")&&this.drawLabels(t),this.get("tickLine")&&this.drawTickLines(t);var n=this.get("ticks");Object(g["each"])(n,(function(n){e.applyTickStates(n,t)}))},e.prototype.getLabelAttrs=function(t,e){var n=this.get("label"),i=n.offset,r=n.style,o=n.rotate,a=n.formatter,s=this.getSidePoint(t.point,i),c=this.getSideVector(i,s),l=a?a(t.name,t,e):t.name,u=Object(g["mix"])({x:s.x,y:s.y,text:l,textAlign:this.getTextAnchor(c)},r);return o&&(u.matrix=O(s,o)),u},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),i=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});Object(g["each"])(n,(function(t,n){e.addShape(i,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,n),delegateObject:{tick:t,item:t,index:n}})})),this.processOverlap(i)},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,i=t.offset,r=t.spacing,o=void 0===r?0:r,a=t.autoRotate,s=e.fontSize,c=.5;"start"===n?c=0:"end"===n&&(c=1);var l=this.getTickPoint(c),u=this.getSidePoint(l,i||o+s/2),h=Object(g["mix"])({x:u.x,y:u.y,text:t.text},e),p=t.rotate,f=p;if(Object(g["isNil"])(p)&&a){var d=this.getAxisVector(l),v=[1,0];f=b["ext"].angleTo(d,v,!0)}if(f){var y=O(u,f);h.matrix=y}return h},e.prototype.drawTitle=function(t){this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:this.getTitleAttrs()})},e.prototype.applyTickStates=function(t,e){var n=this.getItemStates(t);if(n.length){var i=this.get("tickStates"),r=this.getElementId("label-"+t.id),o=e.findById(r);if(o){var a=jt(t,"label",i);a&&o.attr(a)}var s=this.getElementId("tickline-"+t.id),c=e.findById(s);if(c){var l=jt(t,"tickLine",i);l&&c.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),i=this.get("label"),r=this.getElementByLocalId("label-"+t.id),o=this.get("tickLine"),a=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(r){var s=jt(t,"label",n);s&&r.attr(s)}if(a){var c=jt(t,"tickLine",n);c&&a.attr(c)}}else r&&r.attr(i.style),a&&a.attr(o.style)},e}(Z),Mt=St;function _t(t,e,n,i){var r=e.getChildren(),o=!1;return Object(g["each"])(r,(function(e){var r=rt(t,e,n,i);o=o||r})),o}function Ct(){return Et}function kt(t,e,n){return _t(t,e,n,"head")}function Et(t,e,n){return _t(t,e,n,"tail")}function Pt(t,e,n){return _t(t,e,n,"middle")}function At(t){var e=t.attr("matrix");return e&&1!==e[0]}function Tt(t,e,n,i,r){void 0===r&&(r=!1);var o=!1;if(t)o=Math.abs(n.y-i.y)<n.height;else if(e){var a=r?i.height:n.height;o=Math.abs(n.x-i.x)<a}else{var s=r?i.width:n.width;o=Math.abs(n.x-i.x)<s}return o}function It(t,e,n){var i=e.getChildren().slice();if(!i.length)return!1;var r=!1;n&&i.reverse();for(var o=i.length,a=i[0],s=At(a),c=a.getBBox(),l=1;l<o;l++){var u=i[l],h=u.getBBox(),p=Tt(t,s,c,h,n);p?(u.hide(),r=!0):c=h}return r}function Bt(){return Rt}function Lt(t,e){return It(t,e,!1)}function Dt(t,e){return It(t,e,!0)}function Ft(t,e){var n=e.getChildren().slice();if(n.length<=2)return!1;for(var i=!1,r=n.length,o=n[0],a=n[r-1],s=At(o),c=o.getBBox(),l=o,u=1;u<r-1;u++){var h=n[u],p=h.getBBox(),f=Tt(t,s,c,p);f?(h.hide(),i=!0):(c=p,l=h)}var d=a.getBBox(),g=Tt(t,s,c,d);return g&&(l.hide(),i=!0),i}function Rt(t,e){var n=e.getChildren().slice();if(n.length<2)return!1;var i=!1,r=n[0],o=r.getBBox(),a=n[1],s=At(r),c=n.length,l=0;if(t){var u=Math.abs(a.attr("y")-r.attr("y"));l=o.height/u}else if(s){u=Math.abs(a.attr("x")-r.attr("x"));l=o.width/u}else{var h=nt(n);u=Math.abs(a.attr("x")-r.attr("x"));l=h/u}if(l>1){l=Math.ceil(l);for(var p=0;p<c;p++)p%l!==0&&(n[p].hide(),i=!0)}return i}function Nt(t,e){Object(g["each"])(t,(function(t){var n=t.attr("x"),i=t.attr("y"),r=O({x:n,y:i},e);t.attr("matrix",r)}))}function Yt(t,e,n,i){var r=e.getChildren();if(!r.length)return!1;if(!t&&r.length<2)return!1;var o=nt(r),a=!1;if(t)a=!!n&&o>n;else{var s=Math.abs(r[1].attr("x")-r[0].attr("x"));a=o>s}if(a){var c=i(n,o);Nt(r,c)}return a}function Gt(){return Xt}function Xt(t,e,n){return Yt(t,e,n,(function(){return t?at.verticalAxisRotate:at.horizontalAxisRotate}))}function zt(t,e,n){return Yt(t,e,n,(function(e,n){if(!e)return t?at.verticalAxisRotate:at.horizontalAxisRotate;if(t)return-Math.acos(e/n);var i=0;return e>n?i=Math.PI/4:(i=Math.asin(e/n),i>Math.PI/4&&(i=Math.PI/4)),i}))}var Vt,Ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),i=t.prototype.getInnerLayoutBBox.call(this),r=Math.min(e.x,n.x,i.x),o=Math.min(e.y,n.y,i.y),a=Math.max(e.x,n.x,i.maxX),s=Math.max(e.y,n.y,i.maxY);return{x:r,y:o,minX:r,minY:o,maxX:a,maxY:s,width:a-r,height:s-o}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return Object(g["isNumberEqual"])(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return Object(g["isNumberEqual"])(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this,n=e.get("start"),i=e.get("end"),r=i.x-n.x,o=i.y-n.y;return{x:n.x+r*t,y:n.y+o*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=b["vec2"].normalize([0,0],e),i=this.get("verticalFactor"),r=[n[1],-1*n[0]];return b["vec2"].scale([0,0],r,t*i)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),i=this.isHorizontal();if(n||i){var r=this.get("label"),o=this.get("title"),a=this.get("verticalLimitLength"),s=r.offset,c=a,l=0,u=0;o&&(l=o.style.fontSize,u=o.spacing),c&&(c=c-s-u-l);var h=this.get("overlapOrder");if(Object(g["each"])(h,(function(n){r[n]&&e.autoProcessOverlap(n,r[n],t,c)})),o){var p=t.getBBox(),f=n?p.width:p.height;Object(g["isNil"])(o.offset)&&(o.offset=s+f+u+l/2)}}},e.prototype.autoProcessOverlap=function(t,e,n,i){var r=this,o=this.isVertical(),a=!1,c=s[t];if(!0===e?a=c.getDefault()(o,n,i):Object(g["isFunction"])(e)?a=e(o,n,i):c[e]&&(a=c[e](o,n,i)),"autoRotate"===t){if(a){var l=n.getChildren(),u=this.get("verticalFactor");Object(g["each"])(l,(function(t){var e=t.attr("textAlign");if("center"===e){var n=u>0?"end":"start";t.attr("textAlign",n)}}))}}else if("autoHide"===t){var h=n.getChildren().slice(0);Object(g["each"])(h,(function(t){t.get("visible")||(r.get("isRegister")&&r.unregisterElement(t),t.remove())}))}},e}(Mt),Wt=Ht,qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,i=this.get("radius"),r=i,o=this.get("startAngle"),a=this.get("endAngle"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[["M",e,n-r],["A",i,r,0,1,1,e,n+r],["A",i,r,0,1,1,e,n-r],["Z"]];else{var c=this.getCirclePoint(o),l=this.getCirclePoint(a),u=Math.abs(a-o)>Math.PI?1:0,h=o>a?0:1;s=[["M",e,n],["L",c.x,c.y],["A",i,r,0,u,h,l.x,l.y],["L",e,n]]}return s},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle"),i=e+(n-e)*t;return this.getCirclePoint(i)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),i=[e.x-n.x,e.y-n.y],r=this.get("verticalFactor"),o=b["vec2"].length(i);return b["vec2"].scale(i,i,r*t/o),i},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e}(Mt),Ut=qt,Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:at.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:at.textColor,textAlign:"center",textBaseline:"middle",fontFamily:at.fontFamily}},textBackground:{padding:5,style:{stroke:at.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,i=e.autoRotate,r=e.content;if(!Object(g["isNil"])(r)){var o=this.getTextPoint(),a=null;if(i){var s=this.getRotateAngle();a=O(o,s)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:Object(d["__assign"])(Object(d["__assign"])(Object(d["__assign"])({},o),{text:r,matrix:a}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line"),i=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:Object(d["__assign"])({path:e},i)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),i=this.get("textBackground");if(i&&n){var r=n.getBBox(),o=C(i.padding),a=i.style,s=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:Object(d["__assign"])({x:r.x-o[3],y:r.y-o[0],width:r.width+o[1]+o[3],height:r.height+o[0]+o[2],matrix:n.attr("matrix")},a)});s.toBack()}},e}(Z),Kt=Zt,Qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get("text").position,r=Math.atan2(n.y-e.y,n.x-e.x),o="start"===i?r-Math.PI/2:r+Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get("text"),r=i.position,o=i.offset;return Y(e,n,r,o)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(Kt),Jt=Qt,$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle,i=this.get("text").position,r="start"===i?e+Math.PI/2:n-Math.PI/2;return r},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,i=this.getLocation(),r=i.center,o=i.radius,a=i.startAngle,s=i.endAngle,c="start"===e?a:s,l=this.getRotateAngle()-Math.PI,u=B(r,o,c),h=Math.cos(l)*n,p=Math.sin(l)*n;return{x:u.x+h,y:u.y+p}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,i=t.startAngle,r=t.endAngle,o=null;if(r-i===2*Math.PI){var a=e.x,s=e.y;o=[["M",a,s-n],["A",n,n,0,1,1,a,s+n],["A",n,n,0,1,1,a,s-n],["Z"]]}else{var c=B(e,n,i),l=B(e,n,r),u=Math.abs(r-i)>Math.PI?1:0,h=i>r?0:1;o=[["M",c.x,c.y],["A",n,n,0,u,h,l.x,l.y]]}return o},e}(Kt),te=$t,ee=n("fIp6"),ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{container:null,containerTpl:"<div></div>",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return T(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");k(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(Object(g["isNil"])(t)){t=this.createDom();var e=this.get("parent");Object(g["isString"])(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.set("container",t)}else Object(g["isString"])(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?Object(g["deepMix"])({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&E(e,n)){var i=t[n];Object(ee["modifyCSS"])(e,i)}}},e.prototype.applyChildrenStyles=function(t,e){Object(g["each"])(e,(function(e,n){var i=t.getElementsByClassName(n);Object(g["each"])(i,(function(t){Object(ee["modifyCSS"])(t,e)}))}))},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");Object(ee["modifyCSS"])(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Object(ee["createDom"])(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Object(g["hasKey"])(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(V),ie=ne,re="g2-crosshair",oe=re+"-line",ae=re+"-text",se=(Vt={},Vt[""+re]={position:"relative"},Vt[""+oe]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},Vt[""+ae]={position:"absolute",color:at.textColor,fontFamily:at.fontFamily},Vt),ce=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'<div class="'+re+'"></div>',crosshairTpl:'<div class="'+oe+'"></div>',textTpl:'<span class="'+ae+'">{content}</span>',domStyles:null,containerClassName:re,defaultStyles:se,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=this.get("crosshairTpl"),n=Object(ee["createDom"])(e);t.appendChild(n),this.applyStyle(oe,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get("text"),r=i.position,o=i.offset;return Y(e,n,r,o)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var i=this.getContainer(),r=Object(g["substitute"])(this.get("textTpl"),t);e=Object(ee["createDom"])(r),i.appendChild(e),this.applyStyle(ae,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),i=Math.min(e.x,n.x),r=Math.min(e.y,n.y);this.isVertical(e,n)?Object(ee["modifyCSS"])(t,{width:"1px",height:N(Math.abs(n.y-e.y))}):Object(ee["modifyCSS"])(t,{height:"1px",width:N(Math.abs(n.x-e.x))}),Object(ee["modifyCSS"])(t,{top:N(r),left:N(i)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,i=this.getTextPoint();switch(e){case"center":i.x=i.x-n/2;break;case"right":i.x=i.x-n;case"left":break}Object(ee["modifyCSS"])(t,{top:N(i.y),left:N(i.x)})}},e.prototype.updateInner=function(e){Object(g["hasKey"])(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(ie),le=ce,ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:at.lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),i=e.slice(0).reverse(),r=this.getGridPath(i,!0),o=this.get("closed");return o?n=n.concat(r):(r[0][0]="L",n=n.concat(r),n.push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),i=this.get("items"),r=this.get("alternateColor"),o=null;Object(g["each"])(i,(function(i,a){var s=i.id||a;if(n){var c=e.getPathStyle(),l=e.getElementId("line-"+s),u=e.getGridPath(i.points);e.addShape(t,{type:"path",name:"grid-line",id:l,attrs:Object(g["mix"])({path:u},c)})}if(r&&a>0){var h=e.getElementId("region-"+s),p=a%2===0;if(Object(g["isString"])(r))p&&e.drawAlternateRegion(h,t,o.points,i.points,r);else{var f=p?r[1]:r[0];e.drawAlternateRegion(h,t,o.points,i.points,f)}}o=i}))},e.prototype.drawAlternateRegion=function(t,e,n,i,r){var o=this.getAlternatePath(n,i);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:o,fill:r}})},e}(Z),he=ue;function pe(t,e,n,i){var r=n-t,o=i-e;return Math.sqrt(r*r+o*o)}var fe,de=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),i=this.get("closed"),r=[];if(t.length)if("circle"===n){var o=this.get("center"),a=t[0],s=pe(o.x,o.y,a.x,a.y),c=e?0:1;i?(r.push(["M",o.x,o.y-s]),r.push(["A",s,s,0,0,c,o.x,o.y+s]),r.push(["A",s,s,0,0,c,o.x,o.y-s]),r.push(["Z"])):Object(g["each"])(t,(function(t,e){0===e?r.push(["M",t.x,t.y]):r.push(["A",s,s,0,0,c,t.x,t.y])}))}else Object(g["each"])(t,(function(t,e){0===e?r.push(["M",t.x,t.y]):r.push(["L",t.x,t.y])})),i&&r.push(["Z"]);return r},e}(he),ge=de,ve=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return Object(g["each"])(t,(function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])})),e},e}(he),ye=ve,me=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("x"),i=this.get("y"),r=this.get("offsetX"),o=this.get("offsetY"),a=this.get("maxWidth"),s=this.get("maxHeight"),c=n+r,l=i+o,u=e.maxX-c,h=e.maxY-l;return a&&(u=Math.min(u,a)),s&&(h=Math.min(h,s)),T(c,l,u,h)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),i=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+i})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),i=C(e.padding),r=Object(d["__assign"])({x:0,y:0,width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},e.style),o=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:r});o.toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),i=n.spacing,r=n.style,o=n.text,a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:Object(d["__assign"])({text:o,x:e.x,y:e.y},r)}),s=a.getBBox();this.set("currentPoint",{x:e.x,y:s.maxY+i})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=C(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(Z),be=me,xe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex<e.totalPagesCnt){e.currentPageIndex+=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"legend",type:"category",itemSpacing:24,maxItemWidth:null,itemWidth:null,itemHeight:null,itemName:{},itemValue:null,maxWidth:null,maxHeight:null,marker:{},items:[],itemStates:{},itemBackground:{},defaultCfg:{title:{spacing:5,style:{fill:at.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}},background:{padding:5,style:{stroke:at.lineColor}},itemBackground:{style:{opacity:0,fill:"#fff"}},itemName:{spacing:16,style:{fill:at.textColor,fontSize:12,textAlign:"start",textBaseline:"middle"}},marker:{spacing:8,style:{r:6,symbol:"circle"}},itemValue:{alignRight:!1,formatter:null,style:{fill:at.textColor,fontSize:12,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:at.uncheckedColor},markerStyle:{fill:at.uncheckedColor,stroke:at.uncheckedColor}},inactive:{nameStyle:{fill:at.uncheckedColor},markerStyle:{opacity:.2}}}}})},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("items")},e.prototype.setItems=function(t){this.update({items:t})},e.prototype.updateItem=function(t,e){Object(g["mix"])(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("item-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n;var i=this.getElementByLocalId("item-"+t.id);if(i){var r=this.getItems(),o=r.indexOf(t),a=this.createOffScreenGroup(),s=this.drawItem(t,o,this.getItemHeight(),a);this.updateElements(s,i),this.clearUpdateStatus(i)}},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("itemStates"),n=[];return Object(g["each"])(e,(function(e,i){t[i]&&n.push(i)})),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(g["each"])(n,(function(n){e.setItemState(n,t,!1)}))},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(g["filter"])(n,(function(n){return e.hasState(n,t)}))},e.prototype.drawLegendContent=function(t){this.processItems(),this.drawItems(t)},e.prototype.processItems=function(){var t=this.get("items");Object(g["each"])(t,(function(t){t.id||(t.id=t.name)}))},e.prototype.drawItems=function(t){var e=this,n=this.addGroup(t,{id:this.getElementId("item-container-group"),name:"legend-item-container-group"}),i=this.addGroup(n,{id:this.getElementId("item-group"),name:"legend-item-group"}),r=this.getItemHeight(),o=this.get("itemWidth"),a=this.get("itemSpacing"),s=this.get("currentPoint"),c=s.x,l=s.y,u=this.get("layout"),h=this.get("items"),p=!1,f=0,d=this.get("maxWidth"),v=this.get("maxHeight");Object(g["each"])(h,(function(t,n){var h=e.drawItem(t,n,r,i),g=h.getBBox(),y=o||g.width;y>f&&(f=y),"horizontal"===u?(d&&d<s.x+y-c&&(p=!0,s.x=c,s.y+=r),e.moveElementTo(h,s),s.x+=y+a):(v&&v<s.y+r-l&&(p=!0,s.x+=f+a,s.y=l,f=0),e.moveElementTo(h,s),s.y+=r)})),p&&this.get("flipPage")&&(this.pageHeight=0,this.pageWidth=0,this.totalPagesCnt=1,this.startX=c,this.startY=l,this.adjustNavigation(t,i))},e.prototype.getItemHeight=function(){var t=this.get("itemHeight");if(!t){var e=this.get("itemName");e&&(t=e.style.fontSize+8)}return t},e.prototype.drawMarker=function(t,e,n,i){var r=Object(d["__assign"])(Object(d["__assign"])(Object(d["__assign"])({x:0,y:i/2},e.style),{symbol:Object(g["get"])(n.marker,"symbol","circle")}),Object(g["get"])(n.marker,"style",{})),o=this.addShape(t,{type:"marker",id:this.getElementId("item-"+n.id+"-marker"),name:"legend-item-marker",attrs:r}),a=o.getBBox();o.attr("x",a.width/2);var s=o.attr(),c=s.stroke,l=s.fill;return c&&o.set("isStroke",!0),l&&o.set("isFill",!0),o},e.prototype.drawItemText=function(t,e,n,i,r,o,a){var s=n.formatter,c=Object(d["__assign"])({x:o,y:r/2,text:s?s(i[e],i,a):i[e]},n.style);return this.addShape(t,{type:"text",id:this.getElementId("item-"+i.id+"-"+e),name:"legend-item-"+e,attrs:c})},e.prototype.drawItem=function(t,e,n,i){var r="item-"+t.id,o=this.addGroup(i,{name:"legend-item-container",id:this.getElementId("item-container-"+r),delegateObject:{item:t,index:e}}),a=this.addGroup(o,{name:"legend-item",id:this.getElementId(r),delegateObject:{item:t,index:e}}),s=this.get("marker"),c=this.get("itemName"),l=this.get("itemValue"),u=this.get("itemBackground"),h=this.getLimitItemWidth(),p=0;if(s){var f=this.drawMarker(a,s,t,n);p=f.getBBox().maxX+s.spacing}if(c){var v=this.drawItemText(a,"name",c,t,n,p,e);h&&rt(!0,v,Object(g["clamp"])(h-p,0,h)),p=v.getBBox().maxX+c.spacing}if(l){var y=this.drawItemText(a,"value",l,t,n,p,e);h&&(l.alignRight?(y.attr({textAlign:"right",x:h}),rt(!0,y,Object(g["clamp"])(h-p,0,h),"head")):rt(!0,y,Object(g["clamp"])(h-p,0,h)))}if(u){var m=a.getBBox(),b=this.addShape(a,{type:"rect",name:"legend-item-background",id:this.getElementId(r+"-background"),attrs:Object(d["__assign"])({x:0,y:0,width:m.width,height:n},u.style)});b.toBack()}return this.applyItemStates(t,a),a},e.prototype.adjustNavigation=function(t,e){var n=this,i=this.startX,r=this.startY,o=this.get("layout"),a=e.findAll((function(t){return"legend-item"===t.get("name")})),s=this.get("maxWidth"),c=this.get("maxHeight"),l=this.get("itemWidth"),u=this.get("itemSpacing"),h=this.getItemHeight(),p=this.drawNavigation(t,o,"00/00",12),f=p.getBBox(),d={x:i,y:r},v=1,y=0,m=0,b=0;if("horizontal"===o)this.pageHeight=h,Object(g["each"])(a,(function(t){var e=t.getBBox(),r=l||e.width;(y&&y<d.x+r+u||s<d.x+r+u+f.width)&&(1===v&&(y=d.x+u,n.pageWidth=y,n.moveElementTo(p,{x:s-u-f.width-f.minX,y:d.y+h/2-f.height/2-f.minY})),v+=1,d.x=i,d.y+=h),n.moveElementTo(t,d),t.getParent().setClip({type:"rect",attrs:{x:d.x,y:d.y,width:r+u,height:h}}),d.x+=r+u}));else{Object(g["each"])(a,(function(t){var e=t.getBBox();e.width>m&&(m=e.width)})),b=m,m+=u,s&&(m=Math.min(s,m),b=Math.min(s,b)),this.pageWidth=m,this.pageHeight=c-Math.max(f.height,h);var x=Math.floor(this.pageHeight/h);Object(g["each"])(a,(function(t,e){0!==e&&e%x===0&&(v+=1,d.x+=m,d.y=r),n.moveElementTo(t,d),t.getParent().setClip({type:"rect",attrs:{x:d.x,y:d.y,width:m,height:h}}),d.y+=h})),this.totalPagesCnt=v,this.moveElementTo(p,{x:i+b/2-f.width/2-f.minX,y:c-f.height-f.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),this.totalPagesCnt=v,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,i){var r={x:0,y:0},o=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),a=this.drawArrow(o,r,"navigation-arrow-left","horizontal"===e?"up":"left",i);a.on("click",this.onNavigationBack);var s=a.getBBox();r.x+=s.width+2;var c=this.addShape(o,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:{x:r.x,y:r.y+i/2,text:n,fontSize:12,fill:"#ccc",textBaseline:"middle"}}),l=c.getBBox();r.x+=l.width+2;var u=this.drawArrow(o,r,"navigation-arrow-right","horizontal"===e?"down":"right",i);return u.on("click",this.onNavigationAfter),o},e.prototype.updateNavigation=function(t){var e=this.currentPageIndex+"/"+this.totalPagesCnt,n=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),i=t?t.findById(this.getElementId("navigation-arrow-left")):this.getElementByLocalId("navigation-arrow-left"),r=t?t.findById(this.getElementId("navigation-arrow-right")):this.getElementByLocalId("navigation-arrow-right"),o=n.getBBox();n.attr("text",e);var a=n.getBBox();n.attr("x",n.attr("x")-(a.width-o.width)/2),i.attr("opacity",1===this.currentPageIndex?.45:1),i.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),r.attr("opacity",this.currentPageIndex===this.totalPagesCnt?.45:1),r.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer")},e.prototype.drawArrow=function(t,e,n,i,r){var o=e.x,a=e.y,s={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:{path:[["M",o+r/2,a],["L",o,a+r],["L",o+r,a+r],["Z"]],fill:"#000",cursor:"pointer"}});return c.attr("matrix",O({x:o+r/2,y:a+r/2},s[i])),c},e.prototype.getCurrentNavigationMatrix=function(){var t=this,e=t.currentPageIndex,n=t.pageWidth,i=t.pageHeight,r=this.get("layout"),o="horizontal"===r?{x:0,y:i*(1-e)}:{x:n*(1-e),y:0};return w(o)},e.prototype.applyItemStates=function(t,e){var n=this.getItemStates(t),i=n.length>0;if(i){var r=e.getChildren(),o=this.get("itemStates");Object(g["each"])(r,(function(e){var n=e.get("name"),i=n.split("-")[2],r=jt(t,i,o);r&&(e.attr(r),"marker"!==i||e.get("isStroke")&&e.get("isFill")||(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))}))}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(be),Oe=xe,we=1.4,je=.4,Se=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:at.textColor,textBaseline:"middle",fontFamily:at.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:at.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",(function(t){var n=e.getValueByCanvasPoint(t.x,t.y),i=e.getCurrentValue(),r=i[1];r<n&&(r=n),e.setValue([n,r])})),t.on("legend-handler-max:drag",(function(t){var n=e.getValueByCanvasPoint(t.x,t.y),i=e.getCurrentValue(),r=i[0];r>n&&(r=n),e.setValue([r,n])}))},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",(function(t){n={x:t.x,y:t.y}})),t.on("legend-track:drag",(function(t){if(n){var i=e.getValueByCanvasPoint(n.x,n.y),r=e.getValueByCanvasPoint(t.x,t.y),o=e.getCurrentValue(),a=o[1]-o[0],s=e.getRange(),c=r-i;c<0?o[0]+c>s.min?e.setValue([o[0]+c,o[1]+c]):e.setValue([s.min,s.min+a]):c>0&&(c>0&&o[1]+c<s.max?e.setValue([o[0]+c,o[1]+c]):e.setValue([s.max-a,s.max])),n={x:t.x,y:t.y}}})),t.on("legend-track:dragend",(function(t){n=null}))},e.prototype.drawLabels=function(t){this.drawLabel("min",t),this.drawLabel("max",t)},e.prototype.drawLabel=function(t,e){var n=this.get("label"),i=n.style,r=n.align,o=this.get(t),a=this.getLabelAlignAttrs(t,r),s="label-"+t;this.addShape(e,{type:"text",id:this.getElementId(s),name:"legend-label-"+t,attrs:Object(d["__assign"])(Object(d["__assign"])({x:0,y:0,text:o},i),a)})},e.prototype.getLabelAlignAttrs=function(t,e){var n=this.isVertical(),i="center",r="middle";return n?(i="start",r="rail"!==e?"min"===t?"top":"bottom":"top"):"rail"!==e?(r="top",i="min"===t?"start":"end"):(i="start",r="middle"),{textAlign:i,textBaseline:r}},e.prototype.getRailPath=function(t,e,n,i){var r=this.get("rail"),o=r.size,a=r.defaultLength,s=r.type,c=this.isVertical(),l=a,u=n,h=i;u||(u=c?o:l),h||(h=c?l:o);var p=[];return"color"===s?(p.push(["M",t,e]),p.push(["L",t+u,e]),p.push(["L",t+u,e+h]),p.push(["L",t,e+h]),p.push(["Z"])):(p.push(["M",t+u,e]),p.push(["L",t+u,e+h]),p.push(["L",t,e+h]),p.push(["Z"])),p},e.prototype.drawRail=function(t){var e=this.get("rail"),n=e.style;this.addShape(t,{type:"path",id:this.getElementId("rail"),name:"legend-rail",attrs:Object(d["__assign"])({path:this.getRailPath(0,0)},n)})},e.prototype.getTrackColor=function(t){var e,n=t.length;if(!n)return null;if(1===n)return t[0];e=this.isVertical()?"l(90)":"l(0)";for(var i=0;i<n;i++){var r=i/(n-1);e+=" "+r+":"+t[i]}return e},e.prototype.getTrackPath=function(t){var e=this.getRailShape(t),n=e.attr("path");return Object(g["clone"])(n)},e.prototype.getClipTrackAttrs=function(t){var e,n,i,r,o=this.getCurrentValue(),a=o[0],s=o[1],c=this.getRailBBox(t),l=this.getPointByValue(a,t),u=this.getPointByValue(s,t),h=this.isVertical();return h?(e=c.minX,n=l.y,i=c.width,r=u.y-l.y):(e=l.x,n=c.minY,i=u.x-l.x,r=c.height),{x:e,y:n,width:i,height:r}},e.prototype.getTrackAttrs=function(t){var e=this.get("track"),n=this.get("colors"),i=this.getTrackPath(t);return Object(g["mix"])({path:i,fill:this.getTrackColor(n)},e.style)},e.prototype.resetTrackClip=function(t){var e=t||this.get("group"),n=this.getElementId("track"),i=e.findById(n),r=i.getClip(),o=this.getClipTrackAttrs(t);r?r.attr(o):i.setClip({type:"rect",attrs:o})},e.prototype.resetTrack=function(t){var e=this.getElementId("track"),n=t.findById(e),i=this.getTrackAttrs(t);n?n.attr(i):this.addShape(t,{type:"path",id:e,draggable:this.get("slidable"),name:"legend-track",attrs:i})},e.prototype.getPointByValue=function(t,e){var n=this.getRange(),i=n.min,r=n.max,o=(t-i)/(r-i),a=this.getRailBBox(e),s=this.isVertical(),c={x:0,y:0};return s?(c.x=a.minX+a.width/2,c.y=I(a.minY,a.maxY,o)):(c.x=I(a.minX,a.maxX,o),c.y=a.minY+a.height/2),c},e.prototype.getRailShape=function(t){var e=t||this.get("group");return e.findById(this.getElementId("rail"))},e.prototype.getRailBBox=function(t){var e=this.getRailShape(t),n=e.getBBox();return n},e.prototype.getRailCanvasBBox=function(){var t=this.get("group"),e=t.findById(this.getElementId("rail")),n=e.getCanvasBBox();return n},e.prototype.isVertical=function(){return"vertical"===this.get("layout")},e.prototype.getValueByCanvasPoint=function(t,e){var n,i=this.getRange(),r=i.min,o=i.max,a=this.getRailCanvasBBox(),s=this.isVertical(),c=this.get("step");n=s?(e-a.minY)/a.height:(t-a.minX)/a.width;var l=I(r,o,n);if(c){var u=Math.round((l-r)/c);l=r+u*c}return l>o&&(l=o),l<r&&(l=r),l},e.prototype.getCurrentValue=function(){var t=this.get("value");return t||(t=[this.get("min"),this.get("max")]),t},e.prototype.resetHandlers=function(t){var e=this.getCurrentValue(),n=e[0],i=e[1];this.resetHandler(t,"min",n),this.resetHandler(t,"max",i)},e.prototype.getHandlerPath=function(t,e){var n=this.isVertical(),i=[],r=t.size,o=e.x,a=e.y,s=r*we,c=r/2,l=r/6;if(n){var u=o+s*je;i.push(["M",o,a]),i.push(["L",u,a+c]),i.push(["L",o+s,a+c]),i.push(["L",o+s,a-c]),i.push(["L",u,a-c]),i.push(["Z"]),i.push(["M",u,a+l]),i.push(["L",o+s-2,a+l]),i.push(["M",u,a-l]),i.push(["L",o+s-2,a-l])}else{var h=a+s*je;i.push(["M",o,a]),i.push(["L",o-c,h]),i.push(["L",o-c,a+s]),i.push(["L",o+c,a+s]),i.push(["L",o+c,h]),i.push(["Z"]),i.push(["M",o-l,h]),i.push(["L",o-l,a+s-2]),i.push(["M",o+l,h]),i.push(["L",o+l,a+s-2])}return i},e.prototype.resetHandler=function(t,e,n){var i=this.getPointByValue(n,t),r=this.get("handler"),o=this.getHandlerPath(r,i),a=this.getElementId("handler-"+e),s=t.findById(a),c=this.isVertical();s?s.attr("path",o):this.addShape(t,{type:"path",name:"legend-handler-"+e,draggable:!0,id:a,attrs:Object(d["__assign"])(Object(d["__assign"])({path:o},r.style),{cursor:c?"ns-resize":"ew-resize"})})},e.prototype.fixedElements=function(t){var e=t.findById(this.getElementId("rail")),n=t.findById(this.getElementId("label-min")),i=t.findById(this.getElementId("label-max")),r=this.getDrawPoint();this.isVertical()?this.fixedVertail(n,i,e,r):this.fixedHorizontal(n,i,e,r)},e.prototype.fitRailLength=function(t,e,n,i){var r=this.isVertical(),o=r?"height":"width",a=this.get("label"),s=a.align,c=a.spacing,l=this.get("max"+Object(g["upperFirst"])(o));if(l){var u="rail"===s?n[o]+t[o]+e[o]+2*c:n[o],h=u-l;h>0&&this.changeRailLength(i,o,n[o]-h)}},e.prototype.changeRailLength=function(t,e,n){var i,r=t.getBBox();i="height"===e?this.getRailPath(r.x,r.y,r.width,n):this.getRailPath(r.x,r.y,n,r.height),t.attr("path",i)},e.prototype.changeRailPosition=function(t,e,n){var i=t.getBBox(),r=this.getRailPath(e,n,i.width,i.height);t.attr("path",r)},e.prototype.fixedHorizontal=function(t,e,n,i){var r=this.get("label"),o=r.align,a=r.spacing,s=n.getBBox(),c=t.getBBox(),l=e.getBBox(),u=s.height;this.fitRailLength(c,l,s,n),s=n.getBBox(),"rail"===o?(t.attr({x:i.x,y:i.y+u/2}),this.changeRailPosition(n,i.x+c.width+a,i.y),e.attr({x:i.x+c.width+s.width+2*a,y:i.y+u/2})):"top"===o?(t.attr({x:i.x,y:i.y}),e.attr({x:i.x+s.width,y:i.y}),this.changeRailPosition(n,i.x,i.y+c.height+a)):(this.changeRailPosition(n,i.x,i.y),t.attr({x:i.x,y:i.y+s.height+a}),e.attr({x:i.x+s.width,y:i.y+s.height+a}))},e.prototype.fixedVertail=function(t,e,n,i){var r=this.get("label"),o=r.align,a=r.spacing,s=n.getBBox(),c=t.getBBox(),l=e.getBBox();if(this.fitRailLength(c,l,s,n),s=n.getBBox(),"rail"===o)t.attr({x:i.x,y:i.y}),this.changeRailPosition(n,i.x,i.y+c.height+a),e.attr({x:i.x,y:i.y+c.height+s.height+2*a});else if("right"===o)t.attr({x:i.x+s.width+a,y:i.y}),this.changeRailPosition(n,i.x,i.y),e.attr({x:i.x+s.width+a,y:i.y+s.height});else{var u=Math.max(c.width,l.width);t.attr({x:i.x,y:i.y}),this.changeRailPosition(n,i.x+u+a,i.y),e.attr({x:i.x,y:i.y+s.height})}},e}(be),Me=Se,_e=n("6UX8"),Ce="g2-tooltip",ke="g2-tooltip-title",Ee="g2-tooltip-list",Pe="g2-tooltip-list-item",Ae="g2-tooltip-marker",Te="g2-tooltip-value",Ie="g2-tooltip-name",Be="g2-tooltip-crosshair-x",Le="g2-tooltip-crosshair-y",De=(fe={},fe[""+Ce]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:at.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},fe[""+ke]={marginBottom:"4px"},fe[""+Ee]={margin:"0px",listStyleType:"none",padding:"0px"},fe[""+Pe]={listStyleType:"none",marginBottom:"4px"},fe[""+Ae]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},fe[""+Te]={display:"inline-block",float:"right",marginLeft:"30px"},fe[""+Be]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},fe[""+Le]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},fe);function Fe(t,e,n,i,r){var o={left:t<r.x,right:t+n>r.x+r.width,top:e<r.y,bottom:e+i>r.y+r.height};return o}function Re(t,e,n,i,r,o){var a=t,s=e;switch(o){case"left":a=t-i-n,s=e-r/2;break;case"right":a=t+n,s=e-r/2;break;case"top":a=t-i/2,s=e-r-n;break;case"bottom":a=t-i/2,s=e+n;break;default:a=t+n,s=e-r-n;break}return{x:a,y:s}}function Ne(t,e,n,i,r,o,a){var s=Re(t,e,n,i,r,o);if(a){var c=Fe(s.x,s.y,i,r,a);"auto"===o?(c.right&&(s.x=Math.max(0,t-i-n)),c.top&&(s.y=Math.max(0,e-r-n))):"top"===o||"bottom"===o?(c.left&&(s.x=a.x),c.right&&(s.x=a.x+a.width-i),"top"===o&&c.top&&(s.y=e+n),"bottom"===o&&c.bottom&&(s.y=e-r-n)):(c.top&&(s.y=a.y),c.bottom&&(s.y=a.y+a.height-r),"left"===o&&c.left&&(s.x=t+n),"right"===o&&c.right&&(s.x=t-i-n))}return s}function Ye(t,e){var n=!1;return Object(g["each"])(e,(function(e){if(Object(g["hasKey"])(t,e))return n=!0,!1})),n}var Ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'<div class="'+Ce+'"><div class="'+ke+'"></div><ul class="'+Ee+'"></ul></div>',itemTpl:'<li class="'+Pe+'" data-index={index}>\n          <span class="'+Ae+'" style="background:{color}"></span>\n          <span class="'+Ie+'">{name}</span>:\n          <span class="'+Te+'">{value}</span>\n        </li>',xCrosshairTpl:'<div class="'+Be+'"></div>',yCrosshairTpl:'<div class="'+Le+'"></div>',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:Ce,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:De})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),Object(ee["modifyCSS"])(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),Object(ee["modifyCSS"])(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");n&&Object(ee["modifyCSS"])(n,{display:e}),i&&Object(ee["modifyCSS"])(i,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){this.get("customContent")?this.renderCustomContent():(Ye(e,["title","showTitle"])&&this.resetTitle(),Object(g["hasKey"])(e,"items")&&this.renderItems()),t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),i=this.get("offset"),r=this.getOffset(),o=r.offsetX,a=r.offsetY,s=this.get("position"),c=this.get("region"),l=this.getContainer(),u=this.getBBox(),h=u.width,p=u.height;c&&(t=P(c));var f=Ne(e,n,i,h,p,s,t);Object(ee["modifyCSS"])(l,{left:N(f.x+o),top:N(f.y+a)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=Object(g["isElement"])(n)?n:Object(ee["createDom"])(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(ke)[0],n=t.getElementsByClassName(Ee)[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title"),e=this.get("showTitle");e&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=P(t),i=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),r&&(r.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),i&&(i.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),i=this.get(t);"x"===t?Object(ee["modifyCSS"])(n,{left:N(i),top:N(e.y),height:N(e.height)}):Object(ee["modifyCSS"])(n,{top:N(i),left:N(e.x),width:N(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=t+"CrosshairTpl",i="CROSSHAIR_"+t.toUpperCase(),r=p[i],o=this.get(e),a=this.get("parent");return o||(o=Object(ee["createDom"])(this.get(n)),this.applyStyle(r,o),a.appendChild(o),this.set(e,o)),o},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&(Object(g["each"])(t,(function(t){var i=_e["default"].toCSSGradient(t.color),r=Object(d["__assign"])(Object(d["__assign"])({},t),{color:i}),o=Object(g["substitute"])(e,r),a=Object(ee["createDom"])(o);n.appendChild(a)})),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&k(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(ie),Xe=Ge,ze={opacity:0},Ve={stroke:"#C5C5C5",strokeOpacity:.85},He={fill:"#CACED4",opacity:.85},We=n("LvGN"),qe=n("8vsG");function Ue(t){return Object(g["map"])(t,(function(t,e){var n=0===e?"M":"L",i=t[0],r=t[1];return[n,i,r]}))}function Ze(t){return Ue(t)}function Ke(t){if(t.length<=2)return Ze(t);var e=[];Object(g["each"])(t,(function(t){Object(g["isEqual"])(t,e.slice(e.length-2))||e.push(t[0],t[1])}));var n=Object(We["a"])(e,!1),i=Object(g["head"])(t),r=i[0],o=i[1];return n.unshift(["M",r,o]),n}function Qe(t,e,n,i){void 0===i&&(i=!0);var r=new qe["Linear"]({values:t}),o=new qe["Category"]({values:Object(g["map"])(t,(function(t,e){return e}))}),a=Object(g["map"])(t,(function(t,i){return[o.scale(i)*e,n-r.scale(t)*n]}));return i?Ke(a):Ze(a)}function Je(t,e,n){var i=Object(d["__spreadArrays"])(t);return i.push(["L",e,0]),i.push(["L",0,n]),i.push(["Z"]),i}var $e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:ze,lineStyle:Ve,areaStyle:He})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,i=e.height,r=e.data,o=e.smooth,a=e.isArea,s=e.backgroundStyle,c=e.lineStyle,l=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:Object(d["__assign"])({x:0,y:0,width:n,height:i},s)});var u=Qe(r,n,i,o);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:Object(d["__assign"])({path:u},c)}),a){var h=Je(u,n,i);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:Object(d["__assign"])({path:h},l)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(Z),tn={fill:"#416180",opacity:.05},en={fill:"#5B8FF9",opacity:.15,cursor:"move"},nn=10,rn={width:nn,height:24},on={textBaseline:"middle",fill:"#000",opacity:.45},an="sliderchange",sn={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},cn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(d["__extends"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"handler",x:0,y:0,width:10,height:24,style:sn})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,i=e.height,r=e.style,o=r.fill,a=r.stroke,s=r.radius,c=r.opacity,l=r.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:i,fill:o,stroke:a,radius:s,opacity:c,cursor:l}});var u=1/3*n,h=2/3*n,p=1/4*i,f=3/4*i;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:u,y1:p,x2:u,y2:f,stroke:a,cursor:l}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:h,y1:p,x2:h,y2:f,stroke:a,cursor:l}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",(function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()})),this.get("group").on("mouseleave",(function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()}))},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(Z),ln=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var i=n.originalEvent;i.stopPropagation(),i.preventDefault(),e.prevX=Object(g["get"])(i,"touches.0.pageX",i.pageX),e.prevY=Object(g["get"])(i,"touches.0.pageY",i.pageY);var r=e.getContainerDOM();r.addEventListener("mousemove",e.onMouseMove),r.addEventListener("mouseup",e.onMouseUp),r.addEventListener("mouseleave",e.onMouseUp),r.addEventListener("touchmove",e.onMouseMove),r.addEventListener("touchend",e.onMouseUp),r.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,i=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var r=Object(g["get"])(t,"touches.0.pageX",t.pageX),o=Object(g["get"])(t,"touches.0.pageY",t.pageY),a=r-e.prevX,s=e.adjustOffsetRange(a/n);e.updateStartEnd(s),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=r,e.prevY=o,e.draw(),e.emit(an,[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:i,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return Object(d["__extends"])(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),i=this.get("end"),r=Object(g["clamp"])(n,t,e),o=Object(g["clamp"])(i,t,e);this.get("isInit")||n===r&&i===o||this.setValue([r,o])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if(Object(g["isArray"])(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:Object(g["clamp"])(t[0],e.min,e.max),end:Object(g["clamp"])(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:tn,foregroundStyle:en,handlerStyle:rn,textStyle:on}})},e.prototype.update=function(e){var n=e.start,i=e.end,r=Object(d["__assign"])({},e);Object(g["isNil"])(n)||(r.start=Object(g["clamp"])(n,0,1)),Object(g["isNil"])(i)||(r.end=Object(g["clamp"])(i,0,1)),t.prototype.update.call(this,r),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler"))},e.prototype.init=function(){this.set("start",Object(g["clamp"])(this.get("start"),0,1)),this.set("end",Object(g["clamp"])(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),i=e.height,r=e.trendCfg,o=void 0===r?{}:r,a=e.minText,s=e.maxText,c=e.backgroundStyle,l=void 0===c?{}:c,u=e.foregroundStyle,h=void 0===u?{}:u,p=e.textStyle,f=void 0===p?{}:p,v=e.handlerStyle,y=void 0===v?{}:v;Object(g["size"])(Object(g["get"])(o,"data"))&&this.addComponent(t,Object(d["__assign"])({component:$e,id:this.getElementId("trend"),x:0,y:0,width:n,height:i},o)),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:Object(d["__assign"])({x:0,y:0,width:n,height:i},l)});var m=this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:Object(d["__assign"])({y:i/2,textAlign:"right",text:a,silent:!1},f)}),b=this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:Object(d["__assign"])({y:i/2,textAlign:"left",text:s,silent:!1},f)}),x=this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:Object(d["__assign"])({y:0,height:i},h)}),O=Object(g["get"])(y,"height",24);this.minHandler=this.addComponent(t,Object(d["__assign"])({component:cn,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(i-O)/2,width:n,height:O,cursor:"ew-resize"},y)),this.maxHandler=this.addComponent(t,Object(d["__assign"])({component:cn,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(i-O)/2,width:n,height:O,cursor:"ew-resize"},y)),this.updateUI(x,m,b)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var i=this.cfg,r=i.start,o=i.end,a=i.width,s=i.minText,c=i.maxText,l=i.handlerStyle,u=r*a,h=o*a;t.attr("x",u),t.attr("width",h-u);var p=Object(g["get"])(l,"width",nn);e.attr("text",s),n.attr("text",c);var f=this._dodgeText([u,h],e,n),d=f[0],v=f[1];this.minHandler&&(this.minHandler.update({x:u-p/2}),this.get("updateAutoRender")||this.minHandler.render()),Object(g["each"])(d,(function(t,n){return e.attr(n,t)})),this.maxHandler&&(this.maxHandler.update({x:h-p/2}),this.get("updateAutoRender")||this.maxHandler.render()),Object(g["each"])(v,(function(t,e){return n.attr(e,t)}))},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,i=e.end;switch(this.currentTarget){case"minHandler":var r=0-n,o=1-n;return Math.min(o,Math.max(r,t));case"maxHandler":r=0-i,o=1-i;return Math.min(o,Math.max(r,t));case"foreground":r=0-n,o=1-i;return Math.min(o,Math.max(r,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,i=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":i+=t;break;case"foreground":n+=t,i+=t;break}this.set("start",n),this.set("end",i)},e.prototype._dodgeText=function(t,e,n){var i,r,o=this.cfg,a=o.handlerStyle,s=o.width,c=2,l=Object(g["get"])(a,"width",nn),u=t[0],h=t[1],p=!1;u>h&&(i=[h,u],u=i[0],h=i[1],r=[n,e],e=r[0],n=r[1],p=!0);var f=e.getBBox(),d=n.getBBox(),v=f.width>u-c?{x:u+l/2+c,textAlign:"left"}:{x:u-l/2-c,textAlign:"right"},y=d.width>s-h-c?{x:h-l/2-c,textAlign:"right"}:{x:h+l/2+c,textAlign:"left"};return p?[y,v]:[v,y]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(Z),un={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},hn={default:un,hover:{thumbColor:"rgba(0,0,0,0.2)"}},pn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=g["noop"],e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var i=t?Object(g["get"])(n.originalEvent,"touches.0.clientX"):n.clientX,r=t?Object(g["get"])(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?i:r,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[Object(ee["addEventListener"])(t,"touchmove",e.onMouseMove),Object(ee["addEventListener"])(t,"touchend",e.onMouseUp),Object(ee["addEventListener"])(t,"touchcancel",e.onMouseUp)]:[Object(ee["addEventListener"])(t,"mousemove",e.onMouseMove),Object(ee["addEventListener"])(t,"mouseup",e.onMouseUp),Object(ee["addEventListener"])(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach((function(t){t.remove()}))}},e.onMouseMove=function(t){var n=e.cfg,i=n.isHorizontal,r=n.thumbOffset;t.preventDefault();var o=e.isMobile?Object(g["get"])(t,"touches.0.clientX"):t.clientX,a=e.isMobile?Object(g["get"])(t,"touches.0.clientY"):t.clientY,s=i?o:a,c=s-e.startPos;e.startPos=s,e.updateThumbOffset(r+c)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,i=n.isHorizontal,r=n.x,o=n.y,a=n.thumbLen,s=e.getContainerDOM(),c=s.getBoundingClientRect(),l=t.clientX,u=t.clientY,h=i?l-c.left-r-a/2:u-c.top-o-a/2,p=e.validateRange(h);e.updateThumbOffset(p)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return Object(d["__extends"])(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),i=Object(g["clamp"])(n,t,e);n===i||this.get("isInit")||this.setValue(i)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,e=this.get("maxLimit")||1;return{min:t,max:e}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*Object(g["clamp"])(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return Object(g["clamp"])(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(d["__assign"])(Object(d["__assign"])({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:hn})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,i=e.theme,r=void 0===i?{default:{}}:i,o=r.default,a=o.lineCap,s=o.trackColor,c=o.size,l=this.get("isHorizontal")?{x1:0+c/2,y1:c/2,x2:n-c/2,y2:c/2,lineWidth:c,stroke:s,lineCap:a}:{x1:c/2,y1:0+c/2,x2:c/2,y2:n-c/2,lineWidth:c,stroke:s,lineCap:a};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:l})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,i=e.thumbLen,r=e.theme,o=void 0===r?{default:{}}:r,a=o.default,s=a.size,c=a.lineCap,l=a.thumbColor,u=this.get("isHorizontal")?{x1:n+s/2,y1:s/2,x2:n+i-s/2,y2:s/2,lineWidth:s,stroke:l,lineCap:c,cursor:"default"}:{x1:s/2,y1:n+s/2,x2:s/2,y2:n+i-s/2,lineWidth:s,stroke:l,lineCap:c,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:u})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var e=t.findById(this.getElementId("track"));e.on("click",this.onTrackClick);var n=t.findById(this.getElementId("thumb"));n.on("mouseover",this.onThumbMouseOver),n.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,i=e.trackLen,r=t;return t+n>i?r=i-n:t+n<n&&(r=0),r},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.updateThumbOffset=function(t){var e=this.cfg,n=e.thumbOffset,i=e.isHorizontal,r=e.thumbLen,o=e.size,a=this.validateRange(t);if(a!==n){var s=this.getElementByLocalId("thumb");i?s.attr({x1:a+o/2,x2:a+r-o/2}):s.attr({y1:a+o/2,y2:a+r-o/2}),this.emitOffsetChange(a)}},e.prototype.emitOffsetChange=function(t){var e=this.cfg,n=e.thumbOffset,i=e.trackLen,r=e.thumbLen;this.cfg.thumbOffset=t,this.emit("scrollchange",{thumbOffset:t,ratio:Object(g["clamp"])(t/(i-r),0,1)}),this.delegateEmit("valuechange",{originalValue:n,value:t})},e}(Z)},"1LK5":function(t,e){function n(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}t.exports=n},"1PPP":function(t,e,n){var i=n("b5wT");function r(t,e,n){var r,o={};i.forEach(n,(function(n){var i,a,s=t.parent(n);while(s){if(i=t.parent(s),i?(a=o[i],o[i]=s):(a=r,r=s),a&&a!==s)return void e.setEdge(a,s);s=i}}))}t.exports=r},"1Pq3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return void 0===t};e.default=i},"1fO8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("PX1s");function r(t){var e=t.attr(),n=e.x1,r=e.y1,o=e.x2,a=e.y2,s=Math.min(n,o),c=Math.max(n,o),l=Math.min(r,a),u=Math.max(r,a),h={minX:s,maxX:c,minY:l,maxY:u};return h=i.mergeArrowBBox(t,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}}e.default=r},"1gqn":function(t,e){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},"1iNE":function(t,e,n){var i=n("A90E"),r=n("QqLw"),o=n("MMmD"),a=n("4qC0"),s=n("Z1HP"),c="[object Map]",l="[object Set]";function u(t){if(null==t)return 0;if(o(t))return a(t)?s(t):t.length;var e=r(t);return e==c||e==l?t.size:i(t).length}t.exports=u},"1qOd":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("JBI2"),r=n("tFXZ");e.default={box:function(t){for(var e=[],n=[],i=0;i<t.length;i++){var o=t[i];e.push(o[0]),n.push(o[1])}return r.getBBoxByArray(e,n)},length:function(t){return i.lengthOfSegment(t)},pointAt:function(t,e){return i.pointAtSegments(t,e)},pointDistance:function(t,e,n){return i.distanceAtSegment(t,e,n)},tangentAngle:function(t,e){return i.angleAtSegments(t,e)}}},"1w02":function(t,e){function n(t,e,n){var i=-1,r=t.length,o=e.length,a={};while(++i<r){var s=i<o?e[i]:void 0;n(a,t[i],s)}return a}t.exports=n},"1wcP":function(t,e,n){},"25X8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setClip=e.setTransform=e.setShadow=void 0;var i=n("8SgM");function r(t,e){var n=t.cfg.el,i=t.attr(),r={dx:i.shadowOffsetX,dy:i.shadowOffsetY,blur:i.shadowBlur,color:i.shadowColor};if(r.dx||r.dy||r.blur||r.color){var o=e.find("filter",r);o||(o=e.addShadow(r)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")}function o(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,i=[],r=0;r<9;r+=3)i.push(e[r]+","+e[r+1]);i=i.join(","),-1===i.indexOf("NaN")?n.setAttribute("transform","matrix("+i+")"):console.warn("invalid matrix:",e)}}function a(t,e){var n=t.getClip(),r=t.get("el");if(n){if(n&&!r.hasAttribute("clip-path")){i.createDom(n),n.createPath(e);var o=e.addClip(n);r.setAttribute("clip-path","url(#"+o+")")}}else r.removeAttribute("clip-path")}e.setShadow=r,e.setTransform=o,e.setClip=a},"2J+T":function(t,e,n){t.exports={components:n("5EqP"),dijkstra:n("pHPU"),dijkstraAll:n("0xIU"),findCycles:n("3azA"),floydWarshall:n("ZzYp"),isAcyclic:n("Q+g8"),postorder:n("Txda"),preorder:n("qvmO"),prim:n("Yen4"),tarjan:n("z6cq"),topsort:n("gYXE")}},"2ajD":function(t,e){function n(t){return t!==t}t.exports=n},"2fNS":function(t,e,n){"use strict";var i=n("b5wT");function r(t,e){var n={};i.forEach(t,(function(t,e){var r=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};i.isUndefined(t.barycenter)||(r.barycenter=t.barycenter,r.weight=t.weight)})),i.forEach(e.edges(),(function(t){var e=n[t.v],r=n[t.w];i.isUndefined(e)||i.isUndefined(r)||(r.indegree++,e.out.push(n[t.w]))}));var r=i.filter(n,(function(t){return!t.indegree}));return o(r)}function o(t){var e=[];function n(t){return function(e){e.merged||(i.isUndefined(e.barycenter)||i.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&a(t,e)}}function r(e){return function(n){n["in"].push(e),0===--n.indegree&&t.push(n)}}while(t.length){var o=t.pop();e.push(o),i.forEach(o["in"].reverse(),n(o)),i.forEach(o.out,r(o))}return i.map(i.filter(e,(function(t){return!t.merged})),(function(t){return i.pick(t,["vs","i","barycenter","weight"])}))}function a(t,e){var n=0,i=0;t.weight&&(n+=t.barycenter*t.weight,i+=t.weight),e.weight&&(n+=e.barycenter*e.weight,i+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0}t.exports=r},"2gpV":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i,r,o,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:Date.now(),i=null,a=t.apply(r,o),i||(r=o=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var u=e-(l-s);return r=this,o=arguments,u<=0||u>e?(i&&(clearTimeout(i),i=null),s=l,a=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(i),s=0,i=r=o=null},l}},"2l5n":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mergeView=e.getMergedRegion=e.getRefreshRegion=e.refreshElement=e.drawPath=e.clearChanged=e.checkChildrenRefresh=e.checkRefresh=e.drawChildren=e.applyAttrsToContext=void 0;var i=n("iTfj"),r=n("XrzW"),o=n("ex0E"),a=n("vRma"),s=n("wUyF"),c={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function l(t,e){var n=e.attr();for(var o in n){var a=n[o],s=c[o]?c[o]:o;"matrix"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):"lineDash"===s&&t.setLineDash?i.isArray(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=r.parseStyle(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}}function u(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];r.cfg.visible?r.draw(t,n):r.skipDraw()}}function h(t,e,n){var r=t.get("refreshElements");i.each(r,(function(e){if(e!==t){var n=e.cfg.parent;while(n&&n!==t&&!n.cfg.refresh)n.cfg.refresh=!0,n=n.cfg.parent}})),r[0]===t?d(e,n):p(e,n)}function p(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(i.cfg.visible)if(i.cfg.hasChanged)i.cfg.refresh=!0,i.isGroup()&&d(i.cfg.children,e);else if(i.cfg.refresh)i.isGroup()&&p(i.cfg.children,e);else{var r=g(i,e);i.cfg.refresh=r,r&&i.isGroup()&&p(i.cfg.children,e)}}}function f(t){for(var e=0;e<t.length;e++){var n=t[e];n.cfg.hasChanged=!1,n.isGroup()&&!n.destroyed&&f(n.cfg.children)}}function d(t,e){for(var n=0;n<t.length;n++){var i=t[n];i.cfg.refresh=!0,i.isGroup()&&d(i.get("children"),e)}}function g(t,e){var n=t.cfg.cacheCanvasBBox,i=t.cfg.isInView&&n&&a.intersectRect(n,e);return i}function v(t,e,n,i){var r=n.path,a=n.startArrow,c=n.endArrow,l=[0,0],u=[0,0],h={dx:0,dy:0};e.beginPath();for(var p=0;p<r.length;p++){var f=r[p],d=f[0];if(0===p&&a&&a.d){var g=t.getStartTangent();h=s.getShortenOffset(g[0][0],g[0][1],g[1][0],g[1][1],a.d)}else if(p===r.length-2&&"Z"===r[p+1][0]&&c&&c.d){var v=r[p+1];if("Z"===v[0]){g=t.getEndTangent();h=s.getShortenOffset(g[0][0],g[0][1],g[1][0],g[1][1],c.d)}}else if(p===r.length-1&&c&&c.d&&"Z"!==r[0]){g=t.getEndTangent();h=s.getShortenOffset(g[0][0],g[0][1],g[1][0],g[1][1],c.d)}var y=h.dx,m=h.dy;switch(d){case"M":e.moveTo(f[1]-y,f[2]-m),u=[f[1],f[2]];break;case"L":e.lineTo(f[1]-y,f[2]-m);break;case"Q":e.quadraticCurveTo(f[1],f[2],f[3]-y,f[4]-m);break;case"C":e.bezierCurveTo(f[1],f[2],f[3],f[4],f[5]-y,f[6]-m);break;case"A":var b=void 0;i?(b=i[p],b||(b=o.default(l,f),i[p]=b)):b=o.default(l,f);var x=b.cx,O=b.cy,w=b.rx,j=b.ry,S=b.startAngle,M=b.endAngle,_=b.xRotation,C=b.sweepFlag;if(e.ellipse)e.ellipse(x,O,w,j,_,S,M,1-C);else{var k=w>j?w:j,E=w>j?1:w/j,P=w>j?j/w:1;e.translate(x,O),e.rotate(_),e.scale(E,P),e.arc(0,0,k,S,M,1-C),e.scale(1/E,1/P),e.rotate(-_),e.translate(-x,-O)}break;case"Z":e.closePath();break;default:break}if("Z"===d)l=u;else{var A=f.length;l=[f[A-2],f[A-1]]}}}function y(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),t.cfg.parent&&t.cfg.parent.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))}function m(t){var e;if(t.destroyed)e=t["_cacheCanvasBBox"];else{var n=t.get("cacheCanvasBBox"),i=n&&!(!n.width||!n.height),r=t.getCanvasBBox(),o=r&&!(!r.width||!r.height);i&&o?e=a.mergeRegion(n,r):i?e=n:o&&(e=r)}return e}function b(t){if(!t.length)return null;var e=[],n=[],r=[],o=[];return i.each(t,(function(t){var i=m(t);i&&(e.push(i.minX),n.push(i.minY),r.push(i.maxX),o.push(i.maxY))})),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,r),maxY:Math.max.apply(null,o)}}function x(t,e){return t&&e&&a.intersectRect(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}e.applyAttrsToContext=l,e.drawChildren=u,e.checkRefresh=h,e.checkChildrenRefresh=p,e.clearChanged=f,e.drawPath=v,e.refreshElement=y,e.getRefreshRegion=m,e.getMergedRegion=b,e.mergeView=x},"2qtc":function(t,e,n){"use strict";n("cIOH"),n("1wcP"),n("+L6B")},"3BsE":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("iTfj"),r=function(t,e){return i.isString(e)?e:t.invert(t.scale(e))},o=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=e.map((function(e,n){return t._toOriginParam(e,t.scales[n])}));return this.callback.apply(this,i)},t.prototype.getLinearValue=function(t){var e=this.values.length-1,n=Math.floor(e*t),i=e*t-n,r=this.values[n],o=n===e?r:this.values[n+1];return r+(o-r)*i},t.prototype.getNames=function(){for(var t=this.scales,e=this.names,n=Math.min(t.length,e.length),i=[],r=0;r<n;r+=1)i.push(e[r]);return i},t.prototype.getFields=function(){return this.scales.map((function(t){return t.field}))},t.prototype.getScale=function(t){return this.scales[this.names.indexOf(t)]},t.prototype.defaultCallback=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 0===e.length?this.values:e.map((function(e,n){var i=t.scales[n];return"identity"===i.type?i.values[0]:t._getAttributeValue(i,e)}))},t.prototype._parseCfg=function(t){var e=this,n=t.type,r=void 0===n?"base":n,o=t.names,a=void 0===o?[]:o,s=t.scales,c=void 0===s?[]:s,l=t.values,u=void 0===l?[]:l,h=t.callback;this.type=r,this.scales=c,this.values=u,this.names=a,this.callback=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(h){var r=h.apply(void 0,t);if(!i.isNil(r))return[r]}return e.defaultCallback.apply(e,t)}},t.prototype._getAttributeValue=function(t,e){if(t.isCategory&&!this.linear){var n=t.translate(e);return this.values[n%this.values.length]}var i=t.scale(e);return this.getLinearValue(i)},t.prototype._toOriginParam=function(t,e){return e.isLinear?t:i.isArray(t)?t.map((function(t){return r(e,t)})):r(e,t)},t}();e.default=o},"3E22":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Adjust=e.registerAdjust=e.getAdjust=void 0;var i=n("mrSG"),r=n("KJJl");e.Adjust=r.default;var o={},a=function(t){return o[t.toLowerCase()]};e.getAdjust=a;var s=function(t,e){if(a(t))throw new Error("Adjust type '"+t+"' existed.");o[t.toLowerCase()]=e};e.registerAdjust=s,i.__exportStar(n("WQpR"),e)},"3L66":function(t,e,n){var i=n("MMmD"),r=n("ExA7");function o(t){return r(t)&&i(t)}t.exports=o},"3MAE":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("t0W4"),r=i.__importDefault(n("ZeSx")),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(r.default);e.default=o},"3WF5":function(t,e,n){var i=n("eUgh"),r=n("ut/Y"),o=n("l9OW"),a=n("Z0cm");function s(t,e){var n=a(t)?i:o;return n(t,r(e,3))}t.exports=s},"3azA":function(t,e,n){var i=n("M96O"),r=n("z6cq");function o(t){return i.filter(r(t),(function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])}))}t.exports=o},"3wFy":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e){return(t%e+e)%e};e.default=i},"3y7U":function(t,e,n){var i=n("M96O");function r(t,e,n){i.isArray(e)||(e=[e]);var r=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],s={};return i.each(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);o(t,e,"post"===n,s,r,a)})),a}function o(t,e,n,r,a,s){i.has(r,e)||(r[e]=!0,n||s.push(e),i.each(a(e),(function(e){o(t,e,n,r,a,s)})),n&&s.push(e))}t.exports=r},"4/ic":function(t,e,n){var i=n("ZWtO");function r(t){return function(e){return i(e,t)}}t.exports=r},"409L":function(t,e,n){t.exports={graphlib:n("F9We"),layout:n("epwv"),debug:n("4JAw"),util:{time:n("tQ6r").time,notime:n("tQ6r").notime},version:n("khRU")}},"44Ds":function(t,e,n){var i=n("e4Nc"),r="Expected a function";function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(r);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(o.Cache||i),n}o.Cache=i,t.exports=o},"462U":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("HVwg"),r=/[a-z]/;function o(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function a(t){var e=i.default(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,a=0;a<e.length;a++){var s=e[a][0];if(r.test(s)||["V","H","T","S"].indexOf(s)>=0){n=!0;break}}if(!n)return e;var c=[],l=0,u=0,h=0,p=0,f=0,d=e[0];"M"!==d[0]&&"m"!==d[0]||(l=+d[1],u=+d[2],h=l,p=u,f++,c[0]=["M",l,u]);a=f;for(var g=e.length;a<g;a++){var v=e[a],y=c[a-1],m=[],b=(s=v[0],s.toUpperCase());if(s!==b)switch(m[0]=b,b){case"A":m[1]=v[1],m[2]=v[2],m[3]=v[3],m[4]=v[4],m[5]=v[5],m[6]=+v[6]+l,m[7]=+v[7]+u;break;case"V":m[1]=+v[1]+u;break;case"H":m[1]=+v[1]+l;break;case"M":h=+v[1]+l,p=+v[2]+u;break;default:for(var x=1,O=v.length;x<O;x++)m[x]=+v[x]+(x%2?l:u)}else m=e[a];switch(b){case"Z":l=+h,u=+p;break;case"H":l=m[1],m=["L",l,u];break;case"V":u=m[1],m=["L",l,u];break;case"T":l=m[1],u=m[2];var w=o([y[1],y[2]],[y[3],y[4]]);m=["Q",w[0],w[1],l,u];break;case"S":l=m[m.length-2],u=m[m.length-1];var j=y.length,S=o([y[j-4],y[j-3]],[y[j-2],y[j-1]]);m=["C",S[0],S[1],m[1],m[2],l,u];break;case"M":h=m[m.length-2],p=m[m.length-1];break;default:l=m[m.length-2],u=m[m.length-1]}c.push(m)}return c}e.default=a},"4Ai+":function(t,e,n){var i=n("Ac7g");t.exports={Graph:i.Graph,json:n("GbLa"),alg:n("2J+T"),version:i.version}},"4JAw":function(t,e,n){var i=n("b5wT"),r=n("tQ6r"),o=n("F9We").Graph;function a(t){var e=r.buildLayerMatrix(t),n=new o({compound:!0,multigraph:!0}).setGraph({});return i.forEach(t.nodes(),(function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)})),i.forEach(t.edges(),(function(t){n.setEdge(t.v,t.w,{},t.name)})),i.forEach(e,(function(t,e){var r="layer"+e;n.setNode(r,{rank:"same"}),i.reduce(t,(function(t,e){return n.setEdge(t,e,{style:"invis"}),e}))})),n}t.exports={debugOrdering:a}},"4L8f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("KPlw"),r=n("W42+"),o=n("vsFu"),a=n("oI58"),s=Object.prototype.hasOwnProperty;function c(t){if(i.default(t))return!0;if(r.default(t))return!t.length;var e=o.default(t);if("Map"===e||"Set"===e)return!t.size;if(a.default(t))return!Object.keys(t).length;for(var n in t)if(s.call(t,n))return!1;return!0}e.default=c},"4O9y":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r=function t(e){if("object"!==typeof e||null===e)return e;var n;if(i.default(e)){n=[];for(var r=0,o=e.length;r<o;r++)"object"===typeof e[r]&&null!=e[r]?n[r]=t(e[r]):n[r]=e[r]}else for(var a in n={},e)"object"===typeof e[a]&&null!=e[a]?n[a]=t(e[a]):n[a]=e[a];return n};e.default=r},"4bHW":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("cvtA");e.default=i.default},"4eXA":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("w+JD");function r(t,e,n,r,o,a,s){var c=Math.min(t,n),l=Math.max(t,n),u=Math.min(e,r),h=Math.max(e,r),p=o/2;return a>=c-p&&a<=l+p&&s>=u-p&&s<=h+p&&i.default.pointToLine(t,e,n,r,a,s)<=o/2}e.default=r},"4jnO":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("vYtJ"),r=function(t){return i.default(t,"Arguments")};e.default=r},"4nVU":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("W42+"),r=function(t,e){return!!i.default(t)&&t.indexOf(e)>-1};e.default=r},"4qC0":function(t,e,n){var i=n("NykK"),r=n("Z0cm"),o=n("ExA7"),a="[object String]";function s(t){return"string"==typeof t||!r(t)&&o(t)&&i(t)==a}t.exports=s},"4sDh":function(t,e,n){var i=n("4uTw"),r=n("03A+"),o=n("Z0cm"),a=n("wJg7"),s=n("shjB"),c=n("9Nap");function l(t,e,n){e=i(e,t);var l=-1,u=e.length,h=!1;while(++l<u){var p=c(e[l]);if(!(h=null!=t&&n(t,p)))break;t=t[p]}return h||++l!=u?h:(u=null==t?0:t.length,!!u&&s(u)&&a(p,u)&&(o(t)||r(t)))}t.exports=l},"4uTw":function(t,e,n){var i=n("Z0cm"),r=n("9ggG"),o=n("GNiM"),a=n("dt0z");function s(t,e){return i(t)?t:r(t,e)?[t]:o(a(t))}t.exports=s},"4y0h":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("W42+"),r=function(t,e){if(!i.default(t))return t;for(var n=[],r=0;r<t.length;r++){var o=t[r];e(o,r)&&n.push(o)}return n};e.default=r},"52ss":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){var t=this.type;return"[Event (type="+t+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e.default=i},"5EqP":function(t,e,n){var i=n("M96O");function r(t){var e,n={},r=[];function o(r){i.has(n,r)||(n[r]=!0,e.push(r),i.each(t.successors(r),o),i.each(t.predecessors(r),o))}return i.each(t.nodes(),(function(t){e=[],o(t),e.length&&r.push(e)})),r}t.exports=r},"5LKx":function(t,e,n){"use strict";function i(t,e){var n=[],i=t[0],r=t[1],o=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],h=t[8],p=e[0],f=e[1],d=e[2],g=e[3],v=e[4],y=e[5],m=e[6],b=e[7],x=e[8];return n[0]=p*i+f*a+d*l,n[1]=p*r+f*s+d*u,n[2]=p*o+f*c+d*h,n[3]=g*i+v*a+y*l,n[4]=g*r+v*s+y*u,n[5]=g*o+v*c+y*h,n[6]=m*i+b*a+x*l,n[7]=m*r+b*s+x*u,n[8]=m*o+b*c+x*h,n}function r(t,e){var n=[],i=e[0],r=e[1];return n[0]=t[0]*i+t[3]*r+t[6],n[1]=t[1]*i+t[4]*r+t[7],n}function o(t){var e=[],n=t[0],i=t[1],r=t[2],o=t[3],a=t[4],s=t[5],c=t[6],l=t[7],u=t[8],h=u*a-s*l,p=-u*o+s*c,f=l*o-a*c,d=n*h+i*p+r*f;return d?(d=1/d,e[0]=h*d,e[1]=(-u*i+r*l)*d,e[2]=(s*i-r*a)*d,e[3]=p*d,e[4]=(u*n-r*c)*d,e[5]=(-s*n+r*o)*d,e[6]=f*d,e[7]=(-l*n+i*c)*d,e[8]=(a*n-i*o)*d,e):null}n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}))},"5RLg":function(t,e,n){"use strict";var i=n("mrSG"),r=n("f6Jy"),o=n("O/MF"),a=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var i=n.getDefaultCfg();return n.cfg=Object(o["i"])(i,e),n}return Object(i["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(r["default"]);e["a"]=a},"5Tg0":function(t,e,n){(function(t){var i=n("Kz5y"),r=e&&!e.nodeType&&e,o=r&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===r,s=a?i.Buffer:void 0,c=s?s.allocUnsafe:void 0;function l(t,e){if(e)return t.slice();var n=t.length,i=c?c(n):new t.constructor(n);return t.copy(i),i}t.exports=l}).call(this,n("YuTi")(t))},"5Wne":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var i=n("t0W4"),r=i.__importDefault(n("3MAE")),o=n("iTfj"),a={};function s(t,e){var n=a[t],i=null;if(n){var r=n.ActionClass,o=n.cfg;i=new r(e,o),i.name=t,i.init()}return i}function c(t){var e=a[t];return o.get(e,"ActionClass")}function l(t,e,n){a[t]={ActionClass:e,cfg:n}}function u(t){delete a[t]}function h(t,e){var n=new r.default(e);return n.callback=t,n.name="callback",n}e.createAction=s,e.getActionClass=c,e.registerAction=l,e.unregisterAction=u,e.createCallbackAction=h},"5jIi":function(t,e,n){"use strict";var i=n("b5wT");function r(t){var e={},n=i.filter(t.nodes(),(function(e){return!t.children(e).length})),r=i.max(i.map(n,(function(e){return t.node(e).rank}))),o=i.map(i.range(r+1),(function(){return[]}));function a(n){if(!i.has(e,n)){e[n]=!0;var r=t.node(n);o[r.rank].push(n),i.forEach(t.successors(n),a)}}var s=i.sortBy(n,(function(e){return t.node(e).rank}));return i.forEach(s,a),o}t.exports=r},"5jJX":function(t,e,n){"use strict";(function(t){var n=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i};Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,n){this.name=t,this.version=e,this.os=n}return t}();e.BrowserInfo=i;var r=function(){function e(e){this.version=e,this.name="node",this.os=t.platform}return e}();e.NodeInfo=r;var o=function(){function t(){this.bot=!0,this.name="bot",this.version=null,this.os=null}return t}();e.BotInfo=o;var a=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,s=/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/,c=3,l=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",a]],u=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",s]];function h(t){return t?p(t):"undefined"!==typeof navigator?p(navigator.userAgent):d()}function p(t){var e=""!==t&&l.reduce((function(e,n){var i=n[0],r=n[1];if(e)return e;var o=r.exec(t);return!!o&&[i,o]}),!1);if(!e)return null;var r=e[0],a=e[1];if("searchbot"===r)return new o;var s=a[1]&&a[1].split(/[._]/).slice(0,3);return s?s.length<c&&(s=n(s,g(c-s.length))):s=[],new i(r,s.join("."),f(t))}function f(t){for(var e=0,n=u.length;e<n;e++){var i=u[e],r=i[0],o=i[1],a=o.test(t);if(a)return r}return null}function d(){var e="undefined"!==typeof t&&t.version;return e?new r(t.version.slice(1)):null}function g(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}e.detect=h,e.parseUserAgent=p,e.detectOS=f,e.getNodeVersion=d}).call(this,n("Q2Ig"))},"5u1N":function(t,e,n){function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var r=n("SkHP"),o=n("Y49A"),a=n("OHtD"),s=n("NY6U"),c=function(t){function e(){return t.apply(this,arguments)||this}i(e,t);var n=e.prototype;return n.execute=function(){var t=this;return a(t.rootNode,t.options,o)},e}(r),l={};function u(t,e){return e=s.assign({},l,e),new c(t,e).execute()}t.exports=u},"62Ap":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("rBL4"),o=n("wxvu"),a=n("fRZY"),s=n("vRma"),c=n("4eXA"),l=n("sqv5"),u=n("J323"),h=n("n+fv"),p=u.ext.transform;function f(t){for(var e=!1,n=t.length,i=0;i<n;i++){var r=t[i],o=r[0];if("C"===o||"A"===o||"Q"===o){e=!0;break}}return e}function d(t,e,n,i,r){for(var u=!1,f=e/2,d=0;d<t.length;d++){var g=t[d],v=g.currentPoint,y=g.params,m=g.prePoint,b=g.box;if(!b||s.inBox(b.x-f,b.y-f,b.width+e,b.height+e,n,i)){switch(g.command){case"L":case"Z":u=c.default(m[0],m[1],v[0],v[1],e,n,i);break;case"Q":var x=o.default.pointDistance(m[0],m[1],y[1],y[2],y[3],y[4],n,i);u=x<=e/2;break;case"C":var O=a.default.pointDistance(m[0],m[1],y[1],y[2],y[3],y[4],y[5],y[6],n,i,r);u=O<=e/2;break;case"A":var w=g.arcParams,j=w.cx,S=w.cy,M=w.rx,_=w.ry,C=w.startAngle,k=w.endAngle,E=w.xRotation,P=[n,i,1],A=M>_?M:_,T=M>_?1:M/_,I=M>_?_/M:1,B=p(null,[["t",-j,-S],["r",-E],["s",1/T,1/I]]);h.transformMat3(P,P,B),u=l.default(0,0,A,C,k,e,P[0],P[1]);break;default:break}if(u)break}}return u}function g(t){for(var e=t.length,n=[],i=[],r=[],o=0;o<e;o++){var a=t[o],s=a[0];"M"===s?(r.length&&(i.push(r),r=[]),r.push([a[1],a[2]])):"Z"===s?r.length&&(n.push(r),r=[]):r.push([a[1],a[2]])}return r.length>0&&i.push(r),{polygons:n,polylines:i}}e.default=i.__assign({hasArc:f,extractPolygons:g,isPointInStroke:d},r.PathUtil)},"6Ekc":function(t,e,n){"use strict";var i=n("b5wT");function r(t){var e={};function n(r){var o=t.node(r);if(i.has(e,r))return o.rank;e[r]=!0;var a=i.min(i.map(t.outEdges(r),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&void 0!==a&&null!==a||(a=0),o.rank=a}i.forEach(t.sources(),n)}function o(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}t.exports={longestPath:r,slack:o}},"6JdA":function(t,e,n){"use strict";n.r(e),n.d(e,"mat3",(function(){return r["a"]})),n.d(e,"vec2",(function(){return r["b"]})),n.d(e,"vec3",(function(){return r["c"]})),n.d(e,"ext",(function(){return i}));var i={};n.r(i),n.d(i,"leftTranslate",(function(){return o})),n.d(i,"leftRotate",(function(){return a})),n.d(i,"leftScale",(function(){return s})),n.d(i,"transform",(function(){return l})),n.d(i,"direction",(function(){return u})),n.d(i,"angleTo",(function(){return h})),n.d(i,"vertical",(function(){return p}));var r=n("IOcx");function o(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r["a"].fromTranslation(i,n),r["a"].multiply(t,i,e)}function a(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r["a"].fromRotation(i,n),r["a"].multiply(t,i,e)}function s(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r["a"].fromScaling(i,n),r["a"].multiply(t,i,e)}function c(t,e,n){return r["a"].multiply(t,n,e)}function l(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],i=0,r=e.length;i<r;i++){var l=e[i];switch(l[0]){case"t":o(n,n,[l[1],l[2]]);break;case"s":s(n,n,[l[1],l[2]]);break;case"r":a(n,n,l[1]);break;case"m":c(n,n,l[1]);break;default:break}}return n}function u(t,e){return t[0]*e[1]-e[0]*t[1]}function h(t,e,n){var i=r["b"].angle(t,e),o=u(t,e)>=0;return n?o?2*Math.PI-i:i:o?i:2*Math.PI-i}function p(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}},"6Kj5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("8aa9");function r(t){var e=t.attr(),n=e.x,r=e.y,o=e.text,a=e.fontSize,s=e.lineHeight,c=e.font;c||(c=i.assembleFont(e));var l,u=i.getTextWidth(o,c);if(u){var h=e.textAlign,p=e.textBaseline,f=i.getTextHeight(o,a,s),d={x:n,y:r-f};h&&("end"===h||"right"===h?d.x-=u:"center"===h&&(d.x-=u/2)),p&&("top"===p?d.y+=f:"middle"===p&&(d.y+=f/2)),l={x:d.x,y:d.y,width:u,height:f}}else l={x:n,y:r,width:0,height:0};return l}e.default=r},"6RiJ":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("t0W4"),r=n("rYCd"),o=250,a=function(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.abs(n)>Math.abs(i)?n>0?"right":"left":i>0?"down":"up"},s=function(t,e){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.sqrt(n*n+i*i)},c=function(t,e){var n=(t.x+e.x)/2,i=(t.y+e.y)/2;return{x:n,y:i}},l=function(t,e){if(t){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r],a=o.clientX,s=o.clientY,c=e.getPointByClient(a,s);n.push(c)}return n}},u=function(t){function e(e){var n=t.call(this,e)||this;return n.processEvent={},n.touchStart=function(t){var e=l(t.originalEvent.touches,n.canvas);e&&(t.points=e,n.reset(),n.startTime=Date.now(),n.startPoints=e,e.length>1?(n.startDistance=s(e[0],e[1]),n.center=c(e[0],e[1])):n.pressTimeout=setTimeout((function(){var e="press";t.direction="none",n.emitStart(e,t),n.emitEvent(e,t),n.eventType=e}),o))},n.touchMove=function(t){var e=l(t.originalEvent.touches,n.canvas);if(e){n.clearPressTimeout(),t.points=e;var i=n.startPoints;if(i)if(e.length>1){var r=n.startDistance,o=s(e[0],e[1]);t.zoom=o/r,t.center=n.center,n.emitStart("pinch",t),n.emitEvent("pinch",t)}else{var c=e[0].x-i[0].x,u=e[0].y-i[0].y,h=n.direction||a(i[0],e[0]);n.direction=h;var p=n.getEventType(e);t.direction=h,t.deltaX=c,t.deltaY=u,n.emitStart(p,t),n.emitEvent(p,t);var f=n.lastMoveTime,d=Date.now();d-f>0&&(n.prevMoveTime=f,n.prevMovePoints=n.lastMovePoints,n.lastMoveTime=d,n.lastMovePoints=e)}}},n.touchEnd=function(t){n.emitEnd(t);var e=n.lastMoveTime,i=Date.now();if(i-e<100){var r=n.prevMoveTime||n.startTime,o=e-r;if(o>0){var c=n.prevMovePoints||n.startPoints,l=n.lastMovePoints,u=s(c[0],l[0])/o;u>.3&&(t.velocity=u,t.direction=a(c[0],l[0]),n.emitEvent("swipe",t))}}n.reset();var h=t.touches;h&&h.length>0&&n.touchStart(t)},n.canvas=e.getCanvas(),n.delegateEvent(),n.processEvent={},n}return i.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"gesture"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){},e.prototype.layout=function(){},e.prototype.update=function(){},e.prototype.destroy=function(){this.reset(),this.offEvent(),this.processEvent=null},e.prototype.delegateEvent=function(){this.canvas.on("touchstart",this.touchStart),this.canvas.on("touchmove",this.touchMove),this.canvas.on("touchend",this.touchEnd)},e.prototype.offEvent=function(){this.canvas.off("touchstart",this.touchStart),this.canvas.off("touchmove",this.touchMove),this.canvas.off("touchend",this.touchEnd)},e.prototype.emitEvent=function(t,e){var n=this.view;n.emit(t,e)},e.prototype.emitStart=function(t,e){this.isProcess(t)||(this.enable(t),this.emitEvent(t+"start",e))},e.prototype.emitEnd=function(t){var e=this,n=this.processEvent;Object.keys(n).forEach((function(i){e.emitEvent(i+"end",t),delete n[i]}))},e.prototype.enable=function(t){this.processEvent[t]=!0},e.prototype.isProcess=function(t){return this.processEvent[t]},e.prototype.reset=function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null},e.prototype.clearPressTimeout=function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=0)},e.prototype.getEventType=function(t){var e,n=this,i=n.eventType,r=n.view,a=n.startTime,c=n.startPoints;if(i)return i;var l=r.getEvents().pan;if(l&&l.length){var u=Date.now();e=u-a>o&&s(c[0],t[0])<10?"press":"pan"}else e="press";return this.eventType=e,e},e}(r.Controller);e.default=u},"6UX8":function(t,e,n){"use strict";n.r(e);var i=n("iTfj"),r=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,c=function(t){return/^[r,R,L,l]{1}[\s]*\(/.test(t)},l=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t},u=function(t,e,n,i){return t[i]+(e[i]-t[i])*n};function h(t){return"#"+d(t[0])+d(t[1])+d(t[2])}var p,f=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},d=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},g=function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),i=t.length-1,r=Math.floor(i*n),o=i*n-r,a=t[r],s=r===i?a:t[r+1];return h([u(a,s,o,0),u(a,s,o,1),u(a,s,o,2)])},v=function(t){if("#"===t[0]&&7===t.length)return t;p||(p=l()),p.style.color=t;var e=document.defaultView.getComputedStyle(p,"").getPropertyValue("color"),n=r.exec(e),i=n[1].split(/\s*,\s*/).map((function(t){return Number(t)}));return e=h(i),e},y=function(t){var e=Object(i["isString"])(t)?t.split("-"):t,n=Object(i["map"])(e,(function(t){return f(-1===t.indexOf("#")?v(t):t)}));return function(t){return g(n,t)}},m=function(t){if(c(t)){var e,n=void 0;if("l"===t[0]){var r=o.exec(t),l=+r[1]+90;n=r[2],e="linear-gradient("+l+"deg, "}else if("r"===t[0]){e="radial-gradient(";r=a.exec(t);n=r[4]}var u=n.match(s);return Object(i["each"])(u,(function(t,n){var i=t.split(":");e+=i[1]+" "+100*i[0]+"%",n!==u.length-1&&(e+=", ")})),e+=")",e}return t};e["default"]={rgb2arr:f,gradient:y,toRGB:Object(i["memoize"])(v),toCSSGradient:m}},"6h3Y":function(t,e,n){"use strict";var i=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function r(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function o(){}var a=.7,s=1/a,c="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,p=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgba\\("+[c,c,c,l]+"\\)$"),g=new RegExp("^rgba\\("+[u,u,u,l]+"\\)$"),v=new RegExp("^hsl\\("+[l,u,u]+"\\)$"),y=new RegExp("^hsla\\("+[l,u,u,l]+"\\)$"),m={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function x(){return T(this).formatHsl()}function O(){return this.rgb().formatRgb()}function w(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=h.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?j(e):3===n?new C(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?S(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?S(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=p.exec(t))?new C(e[1],e[2],e[3],1):(e=f.exec(t))?new C(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?S(e[1],e[2],e[3],e[4]):(e=g.exec(t))?S(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=v.exec(t))?A(e[1],e[2]/100,e[3]/100,1):(e=y.exec(t))?A(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?j(m[t]):"transparent"===t?new C(NaN,NaN,NaN,0):null}function j(t){return new C(t>>16&255,t>>8&255,255&t,1)}function S(t,e,n,i){return i<=0&&(t=e=n=NaN),new C(t,e,n,i)}function M(t){return t instanceof o||(t=w(t)),t?(t=t.rgb(),new C(t.r,t.g,t.b,t.opacity)):new C}function _(t,e,n,i){return 1===arguments.length?M(t):new C(t,e,n,null==i?1:i)}function C(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function k(){return"#"+P(this.r)+P(this.g)+P(this.b)}function E(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function P(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function A(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new B(t,e,n,i)}function T(t){if(t instanceof B)return new B(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=w(t)),!t)return new B;if(t instanceof B)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),s=NaN,c=a-r,l=(a+r)/2;return c?(s=e===a?(n-i)/c+6*(n<i):n===a?(i-e)/c+2:(e-n)/c+4,c/=l<.5?a+r:2-a-r,s*=60):c=l>0&&l<1?0:s,new B(s,c,l,t.opacity)}function I(t,e,n,i){return 1===arguments.length?T(t):new B(t,e,n,null==i?1:i)}function B(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function L(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function D(t,e,n,i,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*i+a*r)/6}i(o,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:x,formatRgb:O,toString:O}),i(C,_,r(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new C(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new C(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:k,formatHex:k,formatRgb:E,toString:E})),i(B,I,r(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new B(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new B(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new C(L(t>=240?t-240:t+120,r,i),L(t,r,i),L(t<120?t+240:t-120,r,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var F=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],o=t[i+1],a=i>0?t[i-1]:2*r-o,s=i<e-1?t[i+2]:2*o-r;return D((n-i/e)*e,a,r,o,s)}},R=function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e),r=t[(i+e-1)%e],o=t[i%e],a=t[(i+1)%e],s=t[(i+2)%e];return D((n-i/e)*e,r,o,a,s)}},N=function(t){return function(){return t}};function Y(t,e){return function(n){return t+n*e}}function G(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function X(t){return 1===(t=+t)?z:function(e,n){return n-e?G(e,n,t):N(isNaN(e)?n:e)}}function z(t,e){var n=e-t;return n?Y(t,n):N(isNaN(t)?e:t)}var V=function t(e){var n=X(e);function i(t,e){var i=n((t=_(t)).r,(e=_(e)).r),r=n(t.g,e.g),o=n(t.b,e.b),a=z(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function H(t){return function(e){var n,i,r=e.length,o=new Array(r),a=new Array(r),s=new Array(r);for(n=0;n<r;++n)i=_(e[n]),o[n]=i.r||0,a[n]=i.g||0,s[n]=i.b||0;return o=t(o),a=t(a),s=t(s),i.opacity=1,function(t){return i.r=o(t),i.g=a(t),i.b=s(t),i+""}}}H(F),H(R);var W=n("ZzDG"),q=function(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}},U=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}},Z=function(t,e){var n,i={},r={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?i[n]=nt(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}},K=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Q=new RegExp(K.source,"g");function J(t){return function(){return t}}function $(t){return function(e){return t(e)+""}}var tt=function(t,e){var n,i,r,o=K.lastIndex=Q.lastIndex=0,a=-1,s=[],c=[];t+="",e+="";while((n=K.exec(t))&&(i=Q.exec(e)))(r=i.index)>o&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,c.push({i:a,x:U(n,i)})),o=Q.lastIndex;return o<e.length&&(r=e.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?c[0]?$(c[0].x):J(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)s[(n=c[i]).i]=n.x(t);return s.join("")})},et=n("Ud7J"),nt=e["a"]=function(t,e){var n,i=typeof e;return null==e||"boolean"===i?N(e):("number"===i?U:"string"===i?(n=w(e))?(e=n,V):tt:e instanceof w?V:e instanceof Date?q:Object(et["b"])(e)?et["a"]:Array.isArray(e)?W["b"]:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?Z:U)(t,e)}},"6lh5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("hCvy");function r(t){return i.default(t)&&isFinite(t)}e.default=r},"6v7f":function(t,e,n){"use strict";function i(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"711d":function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},"7Ix3":function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},"7Sck":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("IEcg"),r=n("kd6+");e.default=function(t,e,n){return i.default(n)?!!n(t,e):r.default(t,e)}},"7UYb":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=e.parseRadius=void 0;var i=n("iTfj"),r=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,o=/[^\s\,]+/gi;function a(t){var e=0,n=0,r=0,o=0;return i.isArray(t)?1===t.length?e=n=r=o=t[0]:2===t.length?(e=r=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],o=t[3]):e=n=r=o=t,{r1:e,r2:n,r3:r,r4:o}}function s(t){return t=t||[],i.isArray(t)?t:i.isString(t)?(t=t.match(r),i.each(t,(function(e,n){if(e=e.match(o),e[0].length>1){var r=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=r}i.each(e,(function(t,n){isNaN(t)||(e[n]=+t)})),t[n]=e})),t):void 0}e.parseRadius=a,e.parsePath=s},"7np+":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var i=n("iTfj");function r(t,e,n){var i=Math.min(e,n),r=Math.max(e,n);return t>=i&&t<=r}function o(t,e,n){if(i.isString(t))return t.padEnd(e,n);if(i.isArray(t)){var r=t.length;if(r<e)for(var o=e-r,a=0;a<o;a++)t.push(n)}return t}function a(t,e){return e.forEach((function(e){delete t[e]})),t}function s(t,e,n){void 0===e&&(e=[]),void 0===n&&(n={});for(var i=0,r=t;i<r.length;i++){var o=r[i];n[o]||(e.push(o),n[o]=!0)}return e}e.isBetween=r,e.padEnd=o,e.omit=a,e.uniq=s},"7s0d":function(t,e,n){"use strict";var i=n("FH2j");n.d(e,"getAdjust",(function(){return i["getAdjust"]}));n("Qci9");var r=n("lOPJ"),o=n("KavR"),a=n("8FoI"),s=n("96lr");n("WbAE");Object(i["registerAdjust"])("Dodge",r["a"]),Object(i["registerAdjust"])("Jitter",o["a"]),Object(i["registerAdjust"])("Stack",a["a"]),Object(i["registerAdjust"])("Symmetric",s["a"])},"81LO":function(t,e,n){var i=n("b5wT"),r=n("tQ6r");function o(t,e){var n=r.partition(t,(function(t){return i.has(t,"barycenter")})),o=n.lhs,c=i.sortBy(n.rhs,(function(t){return-t.i})),l=[],u=0,h=0,p=0;o.sort(s(!!e)),p=a(l,c,p),i.forEach(o,(function(t){p+=t.vs.length,l.push(t.vs),u+=t.barycenter*t.weight,h+=t.weight,p=a(l,c,p)}));var f={vs:i.flatten(l,!0)};return h&&(f.barycenter=u/h,f.weight=h),f}function a(t,e,n){var r;while(e.length&&(r=i.last(e)).i<=n)e.pop(),t.push(r.vs),n++;return n}function s(t){return function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:t?n.i-e.i:e.i-n.i}}t.exports=o},"88Gu":function(t,e){var n=800,i=16,r=Date.now;function o(t){var e=0,o=0;return function(){var a=r(),s=i-(a-o);if(o=a,s>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}t.exports=o},"8FoI":function(t,e,n){"use strict";var i=n("mrSG"),r=n("iTfj"),o=n("Qci9"),a=r["Cache"],s=function(t){function e(e){var n=t.call(this,e)||this,i=e.adjustNames,r=void 0===i?["y"]:i,o=e.height,a=void 0===o?NaN:o,s=e.size,c=void 0===s?10:s,l=e.reverseOrder,u=void 0!==l&&l;return n.adjustNames=r,n.height=a,n.size=c,n.reverseOrder=u,n}return Object(i["__extends"])(e,t),e.prototype.process=function(t){var e=this,n=e.yField,i=e.reverseOrder,r=n?this.processStack(t):this.processOneDimStack(t);return i?this.reverse(r):r},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this,n=e.xField,o=e.yField,s=e.reverseOrder,c=s?this.reverse(t):t,l=new a,u=new a;return c.map((function(t){return t.map((function(t){var e,a=r["get"](t,n,0),s=r["get"](t,[o]),c=a.toString();if(s=r["isArray"](s)?s[1]:s,!r["isNil"](s)){var h=s>=0?l:u;h.has(c)||h.set(c,0);var p=h.get(c),f=s+p;return h.set(c,f),Object(i["__assign"])(Object(i["__assign"])({},t),(e={},e[o]=[p,f],e))}return t}))}))},e.prototype.processOneDimStack=function(t){var e=this,n=this,r=n.xField,o=n.height,s=n.reverseOrder,c="y",l=s?this.reverse(t):t,u=new a;return l.map((function(t){return t.map((function(t){var n,a=e.size,s=t[r],l=2*a/o;u.has(s)||u.set(s,l/2);var h=u.get(s);return u.set(s,h+l),Object(i["__assign"])(Object(i["__assign"])({},t),(n={},n[c]=h,n))}))}))},e}(o["a"]);e["a"]=s},"8HuE":function(t,e){},"8QU+":function(t,e,n){"use strict";function i(t){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)};return e(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"8SgM":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveTo=e.sortDom=e.createDom=e.createSVGElement=void 0;var i=n("iTfj"),r=n("b8s6");function o(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function a(t){var e=r.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw new Error("the type "+t.type+" is not supported by svg");var i=o(e);if(t.get("id")&&(i.id=t.get("id")),t.set("el",i),t.set("attrs",{}),n){var a=n.get("el");a||(a=n.createDom(),n.set("el",a)),a.appendChild(i)}return i}function s(t,e){var n=t.get("el"),r=i.toArray(n.children).sort(e),o=document.createDocumentFragment();r.forEach((function(t){o.appendChild(t)})),n.appendChild(o)}function c(t,e){var n=t.parentNode,i=Array.from(n.childNodes).filter((function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()})),r=i[e],o=i.indexOf(t);if(r){if(o>e)n.insertBefore(t,r);else if(o<e){var a=i[e+1];a?n.insertBefore(t,a):n.appendChild(t)}}else n.appendChild(t)}e.createSVGElement=o,e.createDom=a,e.sortDom=s,e.moveTo=c},"8aa9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assembleFont=e.getTextWidth=e.getLineSpaceing=e.getTextHeight=void 0;var i=n("DRIM"),r=n("M3P5");function o(t,e,n){var r=1;if(i.isString(t)&&(r=t.split("\n").length),r>1){var o=a(e,n);return e*r+o*(r-1)}return e}function a(t,e){return e?e-t:.14*t}function s(t,e){var n=r.getOffScreenContext(),o=0;if(i.isNil(t)||""===t)return o;if(n.save(),n.font=e,i.isString(t)&&t.includes("\n")){var a=t.split("\n");i.each(a,(function(t){var e=n.measureText(t).width;o<e&&(o=e)}))}else o=n.measureText(t).width;return n.restore(),o}function c(t){var e=t.fontSize,n=t.fontFamily,i=t.fontWeight,r=t.fontStyle,o=t.fontVariant;return[r,o,i,e+"px",n].join(" ").trim()}e.getTextHeight=o,e.getLineSpaceing=a,e.getTextWidth=s,e.assembleFont=c},"8c2E":function(t,e,n){var i=n("b5wT");function r(t){var e=a(t);i.forEach(t.graph().dummyChains,(function(n){var i=t.node(n),r=i.edgeObj,a=o(t,e,r.v,r.w),s=a.path,c=a.lca,l=0,u=s[l],h=!0;while(n!==r.w){if(i=t.node(n),h){while((u=s[l])!==c&&t.node(u).maxRank<i.rank)l++;u===c&&(h=!1)}if(!h){while(l<s.length-1&&t.node(u=s[l+1]).minRank<=i.rank)l++;u=s[l]}t.setParent(n,u),n=t.successors(n)[0]}}))}function o(t,e,n,i){var r,o,a=[],s=[],c=Math.min(e[n].low,e[i].low),l=Math.max(e[n].lim,e[i].lim);r=n;do{r=t.parent(r),a.push(r)}while(r&&(e[r].low>c||l>e[r].lim));o=r,r=i;while((r=t.parent(r))!==o)s.push(r);return{path:a.concat(s.reverse()),lca:o}}function a(t){var e={},n=0;function r(o){var a=n;i.forEach(t.children(o),r),e[o]={low:a,lim:n++}}return i.forEach(t.children(),r),e}t.exports=r},"8dk4":function(t){t.exports=JSON.parse('{"name":"@antv/g-svg","version":"0.4.7","description":"A canvas library which providing 2d","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/g.min.js","types":"lib/index.d.ts","files":["package.json","esm","lib","dist","LICENSE","README.md"],"scripts":{"build":"npm run clean && run-p build:*","build:esm":"tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm","build:cjs":"tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib","build:umd":"webpack --config webpack.config.js --mode production","clean":"rm -rf esm lib dist","coverage":"npm run coverage-generator && npm run coverage-viewer","coverage-generator":"torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts","coverage-viewer":"torch-coverage","test":"torch --renderer --compile --opts tests/mocha.opts","test-live":"torch --compile --interactive --opts tests/mocha.opts","tsc":"tsc --noEmit","typecheck":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/antvis/g.git"},"keywords":["util","antv","g"],"publishConfig":{"access":"public"},"author":"https://github.com/orgs/antvis/people","license":"ISC","bugs":{"url":"https://github.com/antvis/g/issues"},"devDependencies":{"@antv/torch":"^1.0.0","less":"^3.9.0","npm-run-all":"^4.1.5","webpack":"^4.39.3","webpack-cli":"^3.3.7"},"homepage":"https://github.com/antvis/g#readme","dependencies":{"@antv/g-base":"^0.4.7","@antv/g-math":"^0.1.3","@antv/util":"~2.0.0","detect-browser":"^4.6.0"},"__npminstall_done":false,"gitHead":"eb6a2503cb7bb8154697592b10680939d954a31a"}')},"8vsG":function(t,e,n){"use strict";n.r(e),n.d(e,"Category",(function(){return f})),n.d(e,"Identity",(function(){return K})),n.d(e,"Linear",(function(){return T})),n.d(e,"Log",(function(){return F})),n.d(e,"Pow",(function(){return N})),n.d(e,"Time",(function(){return G})),n.d(e,"TimeCat",(function(){return k})),n.d(e,"Quantile",(function(){return H})),n.d(e,"Quantize",(function(){return z})),n.d(e,"Scale",(function(){return c})),n.d(e,"getScale",(function(){return q})),n.d(e,"registerScale",(function(){return U})),n.d(e,"getTickMethod",(function(){return o})),n.d(e,"registerTickMethod",(function(){return a}));var i=n("iTfj"),r={};function o(t){return r[t]}function a(t,e){r[t]=e}var s=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){Object(i["assign"])(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return Object(i["map"])(this.ticks,(function(e,n){return Object(i["isObject"])(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,r=n?n(t,e):t;return Object(i["isNil"])(r)||!Object(i["isFunction"])(r.toString)?"":r.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){Object(i["assign"])(this,this.__cfg__),this.setDomain(),Object(i["isEmpty"])(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(i["isString"])(t)){var n=o(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else Object(i["isFunction"])(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return Object(i["head"])(this.range)},t.prototype.rangeMax=function(){return Object(i["last"])(this.range)},t.prototype.calcPercent=function(t,e,n){return Object(i["isNumber"])(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),c=s,l=function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},l(t,e)};function u(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function h(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}Object.create;var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return u(e,t),e.prototype.translate=function(t){var e=Object(i["indexOf"])(this.values,t);return-1===e?Object(i["isNumber"])(t)?t:NaN:e},e.prototype.scale=function(t){var e=this.translate(t),n=this.calcPercent(e,this.min,this.max);return this.calcValue(n,this.rangeMin(),this.rangeMax())},e.prototype.invert=function(t){var e=this.max-this.min,n=this.calcPercent(t,this.rangeMin(),this.rangeMax()),i=Math.round(e*n)+this.min;return i<this.min||i>this.max?NaN:this.values[i]},e.prototype.getText=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=e;return Object(i["isNumber"])(e)&&!this.values.includes(e)&&(o=this.values[o]),t.prototype.getText.apply(this,h([o],n))},e.prototype.initCfg=function(){this.tickMethod="cat"},e.prototype.setDomain=function(){if(Object(i["isNil"])(this.getConfig("min"))&&(this.min=0),Object(i["isNil"])(this.getConfig("max"))){var t=this.values.length;this.max=t>1?t-1:t}},e}(c),f=p,d=n("F4kd"),g=function(t){return function(e,n,r,o){var a=Object(i["isNil"])(r)?0:r,s=Object(i["isNil"])(o)?e.length:o;while(a<s){var c=a+s>>>1;t(e[c])>n?s=c:a=c+1}return a}},v="format";function y(t,e){var n=d[v]||d["default"][v];return n(t,e)}function m(t){return Object(i["isString"])(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),Object(i["isDate"])(t)&&(t=t.getTime()),t}var b=1e3,x=60*b,O=60*x,w=24*O,j=31*w,S=365*w,M=[["HH:mm:ss",b],["HH:mm:ss",10*b],["HH:mm:ss",30*b],["HH:mm",x],["HH:mm",10*x],["HH:mm",30*x],["HH",O],["HH",6*O],["HH",12*O],["YYYY-MM-DD",w],["YYYY-MM-DD",4*w],["YYYY-WW",7*w],["YYYY-MM",j],["YYYY-MM",4*j],["YYYY-MM",6*j],["YYYY",380*w]];function _(t,e,n){var r=(e-t)/n,o=g((function(t){return t[1]}))(M,r)-1,a=M[o];return o<0?a=M[0]:o>=M.length&&(a=Object(i["last"])(M)),a}var C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return u(e,t),e.prototype.translate=function(t){t=m(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(i["isNumber"])(t)&&t<this.values.length?t:NaN),e},e.prototype.getText=function(t,e){var n=this.translate(t);if(n>-1){var i=this.values[n],r=this.formatter;return i=r?r(i,e):y(i,this.mask),i}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;Object(i["each"])(e,(function(t,n){e[n]=m(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(f),k=C,E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return u(e,t),e.prototype.scale=function(t){if(Object(i["isNil"])(t))return NaN;var e=this.rangeMin(),n=this.rangeMax(),r=this.max,o=this.min;if(r===o)return e;var a=this.getScalePercent(t);return e+a*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=Object(i["head"])(e),r=Object(i["last"])(e);n<this.min&&(this.min=n),r>this.max&&(this.max=r),Object(i["isNil"])(this.minLimit)||(this.min=n),Object(i["isNil"])(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=Object(i["getRange"])(this.values),e=t.min,n=t.max;Object(i["isNil"])(this.min)&&(this.min=e),Object(i["isNil"])(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=Object(i["filter"])(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(c),P=E,A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return u(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(P),T=A;function I(t,e){var n,i=Math.E;return n=e>=0?Math.pow(i,Math.log(e)/t):-1*Math.pow(i,Math.log(-e)/t),n}function B(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function L(t,e,n){Object(i["isNil"])(n)&&(n=Math.max.apply(null,t));var r=n;return Object(i["each"])(t,(function(t){t>0&&t<r&&(r=t)})),r===n&&(r=n/e),r>1&&(r=1),r}var D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return u(e,t),e.prototype.invert=function(t){var e,n=this.base,i=B(n,this.max),r=this.rangeMin(),o=this.rangeMax()-r,a=this.positiveMin;if(a){if(0===t)return 0;e=B(n,a/n);var s=1/(i-e)*o;if(t<s)return t/s*a}else e=B(n,this.min);var c=(t-r)/o,l=c*(i-e)+e;return Math.pow(n,l)},e.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},e.prototype.setDomain=function(){t.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");0===e&&(this.positiveMin=L(this.values,this.base,this.max))},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;if(t<=0)return 0;var i,r=this.base,o=this.positiveMin;return o&&(n=1*o/r),i=t<o?t/o/(B(r,e)-B(r,n)):(B(r,t)-B(r,n))/(B(r,e)-B(r,n)),i},e}(P),F=D,R=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pow",e}return u(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t),n=this.exponent,i=I(n,this.max),r=I(n,this.min),o=e*(i-r)+r,a=o>=0?1:-1;return Math.pow(o,n)*a},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var i=this.exponent,r=(I(i,t)-I(i,n))/(I(i,e)-I(i,n));return r},e}(P),N=R,Y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return u(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):y(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(i["isString"])(n)||Object(i["isDate"])(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return m(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(Object(i["isNil"])(e)&&Object(i["isNumber"])(e)||(this.min=this.translate(this.min)),Object(i["isNil"])(n)&&Object(i["isNumber"])(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],o=1/0,a=o,s=0;Object(i["each"])(t,(function(t){var e=m(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");o>e?(a=o,o=e):a>e&&(a=e),s<e&&(s=e),r.push(e)})),t.length>1&&(this.minTickInterval=a-o),Object(i["isNil"])(e)&&(this.min=o),Object(i["isNil"])(n)&&(this.max=s)}},e}(T),G=Y,X=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return u(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),o=Math.floor(r*(n-1));if(o>=n-1)return Object(i["last"])(e);if(o<0)return Object(i["head"])(e);var a=e[o],s=e[o+1],c=o/(n-1),l=(o+1)/(n-1);return a+(r-c)/(l-c)*(s-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(Object(i["last"])(e)!==this.max&&e.push(this.max),Object(i["head"])(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<Object(i["head"])(e))return 0;if(t>Object(i["last"])(e))return 1;var n=0;return Object(i["each"])(e,(function(e,i){if(!(t>=e))return!1;n=i})),n/(e.length-1)},e}(P),z=X,V=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return u(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(z),H=V,W={};function q(t){return W[t]}function U(t,e){if(q(t))throw new Error("type '"+t+"' existed.");W[t]=e}var Z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return u(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(i["isNumber"])(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return t<e[0]||t>e[1]?NaN:this.values[0]},e}(c),K=Z,Q=[1,5,2,2.5,4,3],J=100*Number.EPSILON;function $(t,e){return(t%e+e)%e}function tt(t,e,n,r,o,a){var s=Object(i["size"])(e),c=Object(i["indexOf"])(e,t),l=0,u=$(r,a);return(u<J||a-u<J)&&r<=0&&o>=0&&(l=1),1-c/(s-1)-n+l}function et(t,e,n){var r=Object(i["size"])(e),o=Object(i["indexOf"])(e,t),a=1;return 1-o/(r-1)-n+a}function nt(t,e,n,i,r,o){var a=(t-1)/(o-r),s=(e-1)/(Math.max(o,i)-Math.min(n,r));return 2-Math.max(a/s,s/a)}function it(t,e){return t>=e?2-(t-1)/(e-1):1}function rt(t,e,n,i){var r=e-t;return 1-.5*(Math.pow(e-i,2)+Math.pow(t-n,2))/Math.pow(.1*r,2)}function ot(t,e,n){var i=e-t;if(n>i){var r=(n-i)/2;return 1-Math.pow(r,2)/Math.pow(.1*i,2)}return 1}function at(){return 1}function st(t,e,n,r,o,a){if(void 0===n&&(n=5),void 0===r&&(r=!0),void 0===o&&(o=Q),void 0===a&&(a=[.25,.2,.5,.05]),"number"!==typeof t||"number"!==typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};var s={score:-2,lmin:0,lmax:0,lstep:0},c=1;while(c<1/0){for(var l=0,u=o;l<u.length;l++){var h=u[l],p=et(h,o,c);if(Number.isNaN(p))throw new Error("NaN");if(a[0]*p+a[1]+a[2]+a[3]<s.score){c=1/0;break}var f=2;while(f<1/0){var d=it(f,n);if(a[0]*p+a[1]+a[2]*d+a[3]<s.score)break;var g=(e-t)/(f+1)/c/h,v=Math.ceil(Math.log10(g));while(v<1/0){var y=c*h*Math.pow(10,v),m=ot(t,e,y*(f-1));if(a[0]*p+a[1]*m+a[2]*d+a[3]<s.score)break;var b=Math.floor(e/y)*c-(f-1)*c,x=Math.ceil(t/y)*c;if(b>x)v+=1;else{for(var O=b;O<=x;O+=1){var w=O*(y/c),j=w+y*(f-1),S=y,M=tt(h,o,c,w,j,S),_=rt(t,e,w,j),C=nt(f,n,t,e,w,j),k=at(),E=a[0]*M+a[1]*_+a[2]*C+a[3]*k;E>s.score&&(!r||w<=t&&j>=e)&&(s.lmin=w,s.lmax=j,s.lstep=S,s.score=E)}v+=1}}f+=1}}c+=1}for(var P=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),A=[],T=s.lmin;T<=s.lmax;T+=s.lstep)A.push(T);var I=P?Object(i["map"])(A,(function(t){return Number.parseFloat(t.toFixed(P))})):A;return{min:Math.min(t,Object(i["head"])(I)),max:Math.max(e,Object(i["last"])(I)),ticks:I}}function ct(t){var e=t.values,n=t.tickInterval,r=t.tickCount,o=e;if(Object(i["isNumber"])(n))return Object(i["filter"])(o,(function(t,e){return e%n===0}));var a=t.min,s=t.max;if(Object(i["isNil"])(a)&&(a=0),Object(i["isNil"])(s)&&(s=e.length-1),Object(i["isNumber"])(r)&&r<s-a){var c=st(a,s,r,!1,[1,2,5,3,4,7,6,8,9]).ticks,l=Object(i["filter"])(c,(function(t){return t>=a&&t<=s}));return l.map((function(t){return e[t]}))}return e.slice(a,s+1)}function lt(t){var e=t.min,n=t.max,i=t.nice,r=t.tickCount,o=new dt;return o.domain([e,n]),i&&o.nice(r),o.ticks(r)}var ut=5,ht=Math.sqrt(50),pt=Math.sqrt(10),ft=Math.sqrt(2),dt=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=ut);var i,r=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],c=this._domain[a];return c<s&&(e=[c,s],s=e[0],c=e[1],n=[a,o],o=n[0],a=n[1]),i=vt(s,c,t),i>0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=vt(s,c,t)):i<0&&(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,i=vt(s,c,t)),i>0?(r[o]=Math.floor(s/i)*i,r[a]=Math.ceil(c/i)*i,this.domain(r)):i<0&&(r[o]=Math.ceil(s*i)/i,r[a]=Math.floor(c*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=ut),gt(this._domain[0],this._domain[this._domain.length-1],t||ut)},t}();function gt(t,e,n){var i,r,o,a,s=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((i=e<t)&&(r=t,t=e,e=r),0===(a=vt(t,e,n))||!isFinite(a))return[];if(a>0){t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(r=Math.ceil(e-t+1));while(++s<r)o[s]=(t+s)*a}else{t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(r=Math.ceil(t-e+1));while(++s<r)o[s]=(t-s)/a}return i&&o.reverse(),o}function vt(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),o=i/Math.pow(10,r);return r>=0?(o>=ht?10:o>=pt?5:o>=ft?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=ht?10:o>=pt?5:o>=ft?2:1)}function yt(t,e,n){var i;return i="ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e),i*e}function mt(t,e,n){var r=yt(t,n,"floor"),o=yt(e,n,"ceil");r=Object(i["fixedBase"])(r,n),o=Object(i["fixedBase"])(o,n);for(var a=[],s=r;s<=o;s+=n){var c=Object(i["fixedBase"])(s,n);a.push(c)}return{min:r,max:o,ticks:a}}function bt(t,e,n){var r,o=t.minLimit,a=t.maxLimit,s=t.min,c=t.max,l=t.tickCount,u=void 0===l?5:l,h=Object(i["isNil"])(o)?Object(i["isNil"])(e)?s:e:o,p=Object(i["isNil"])(a)?Object(i["isNil"])(n)?c:n:a;if(h>p&&(r=[h,p],p=r[0],h=r[1]),u<=2)return[h,p];for(var f=(p-h)/(u-1),d=[],g=0;g<u;g++)d.push(h+f*g);return d}function xt(t){var e=t.min,n=t.max,r=t.tickInterval,o=t.minLimit,a=t.maxLimit,s=lt(t);return Object(i["isNil"])(o)&&Object(i["isNil"])(a)?r?mt(e,n,r).ticks:s:bt(t,Object(i["head"])(s),Object(i["last"])(s))}function Ot(t){var e=t.min,n=t.max,r=t.tickCount,o=t.nice,a=t.tickInterval,s=t.minLimit,c=t.maxLimit,l=st(e,n,r,o).ticks;return Object(i["isNil"])(s)&&Object(i["isNil"])(c)?a?mt(e,n,a).ticks:l:bt(t,Object(i["head"])(l),Object(i["last"])(l))}function wt(t){var e,n=t.base,i=t.tickCount,r=t.min,o=t.max,a=t.values,s=B(n,o);if(r>0)e=Math.floor(B(n,r));else{var c=L(a,n,o);e=Math.floor(B(n,c))}for(var l=s-e,u=Math.ceil(l/i),h=[],p=e;p<s+u;p+=u)h.push(Math.pow(n,p));return r<=0&&h.unshift(0),h}function jt(t,e,n){void 0===n&&(n=5);var i={max:0,min:0,ticks:[]};if(t===e)return{max:e,min:t,ticks:[t]};var r=1.5,o=.5+1.5*r,a=e-t,s=a/n,c=Math.pow(10,Math.floor(Math.log10(s))),l=c<1?Math.ceil(Math.abs(Math.log10(c))):0,u=c;2*c-s<r*(s-u)&&(u=2*c,5*c-s<o*(s-u)&&(u=5*c,10*c-s<r*(s-u)&&(u=10*c)));var h=Math.ceil(e/u),p=Math.floor(t/u);i.max=Math.max(h*u,e),i.min=Math.min(p*u,t);var f=Number.parseFloat((p*u).toFixed(l));while(f<e)i.ticks.push(f),f+=u,l&&(f=Number.parseFloat(f.toFixed(l)));return i.ticks.push(f),i}function St(t){var e=t.exponent,n=t.tickCount,i=Math.ceil(I(e,t.max)),r=Math.floor(I(e,t.min)),o=jt(r,i,n).ticks;return o.map((function(t){var n=t>=0?1:-1;return Math.pow(t,e)*n}))}function Mt(t,e){var n=t.length*e;return 1===e?t[t.length-1]:0===e?t[0]:n%1!==0?t[Math.ceil(n)-1]:t.length%2===0?(t[n-1]+t[n])/2:t[n]}function _t(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort((function(t,e){return t-e})),r=[],o=0;o<e;o++){var a=o/(e-1);r.push(Mt(i,a))}return r}function Ct(t){var e=t.min,n=t.max,r=t.tickCount,o=t.tickInterval,a=t.minLimit,s=t.maxLimit,c=jt(e,n,r).ticks;return Object(i["isNil"])(a)&&Object(i["isNil"])(s)?o?mt(e,n,o).ticks:c:bt(t,Object(i["head"])(c),Object(i["last"])(c))}function kt(t){var e=t.min,n=t.max,i=t.minTickInterval,r=t.tickInterval,o=t.tickCount;if(r)o=Math.ceil((n-e)/r);else{r=_(e,n,o)[1];var a=(n-e)/r,s=a/o;s>1&&(r*=Math.ceil(s)),i&&r<i&&(r=i)}for(var c=[],l=e;l<n+r;l+=r)c.push(l);return c}function Et(t){var e=ct(t),n=Object(i["last"])(t.values);return n!==Object(i["last"])(e)&&e.push(n),e}function Pt(t){return new Date(t).getFullYear()}function At(t){return new Date(t,0,1).getTime()}function Tt(t){return new Date(t).getMonth()}function It(t,e){var n=Pt(t),i=Pt(e),r=Tt(t),o=Tt(e);return 12*(i-n)+(o-r)%12}function Bt(t,e){return new Date(t,e,1).getTime()}function Lt(t,e){return Math.ceil((e-t)/w)}function Dt(t,e){return Math.ceil((e-t)/O)}function Ft(t,e){return Math.ceil((e-t)/6e4)}function Rt(t){var e=t.min,n=t.max,i=t.minTickInterval,r=t.tickCount,o=t.tickInterval,a=[];o||(o=(n-e)/r,i&&o<i&&(o=i));var s=Pt(e);if(o>S)for(var c=Pt(n),l=Math.ceil(o/S),u=s;u<=c+l;u+=l)a.push(At(u));else if(o>j){var h=Math.ceil(o/j),p=Tt(e),f=It(e,n);for(u=0;u<=f+h;u+=h)a.push(Bt(s,u+p))}else if(o>w){var d=new Date(e),g=d.getFullYear(),v=d.getMonth(),y=d.getDate(),m=Math.ceil(o/w),M=Lt(e,n);for(u=0;u<M+m;u+=m)a.push(new Date(g,v,y+u).getTime())}else if(o>O){d=new Date(e),g=d.getFullYear(),v=d.getMonth(),m=d.getDate();var _=d.getHours(),C=Math.ceil(o/O),k=Dt(e,n);for(u=0;u<=k+C;u+=C)a.push(new Date(g,v,m,_+u).getTime())}else if(o>x){var E=Ft(e,n),P=Math.ceil(o/x);for(u=0;u<=E+P;u+=P)a.push(e+u*x)}else{var A=o;A<b&&(A=b);var T=Math.floor(e/b)*b,I=Math.ceil((n-e)/b),B=Math.ceil(A/b);for(u=0;u<I+B;u+=B)a.push(T+u*b)}return a.length>=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a}a("cat",ct),a("time-cat",Et),a("wilkinson-extended",Ot),a("r-pretty",Ct),a("time",kt),a("time-pretty",Rt),a("log",wt),a("pow",St),a("quantile",_t),a("d3-linear",xt),U("cat",f),U("category",f),U("identity",K),U("linear",T),U("log",F),U("pow",N),U("time",G),U("timeCat",k),U("quantize",z),U("quantile",H)},"96lr":function(t,e,n){"use strict";var i=n("mrSG"),r=n("iTfj"),o=n("Qci9"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["__extends"])(e,t),e.prototype.process=function(t){var e=r["flatten"](t),n=this,o=n.xField,a=n.yField,s=this.getXValuesMaxMap(e),c=Math.max.apply(Math,Object.keys(s).map((function(t){return s[t]})));return r["map"](t,(function(t){return r["map"](t,(function(t){var e,n,l=t[a],u=t[o];if(r["isArray"](l)){var h=(c-s[u])/2;return Object(i["__assign"])(Object(i["__assign"])({},t),(e={},e[a]=r["map"](l,(function(t){return h+t})),e))}var p=(c-l)/2;return Object(i["__assign"])(Object(i["__assign"])({},t),(n={},n[a]=[p,l+p],n))}))}))},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this,i=n.xField,o=n.yField,a=r["groupBy"](t,(function(t){return t[i]}));return r["mapValues"](a,(function(t){return e.getDimMaxValue(t,o)}))},e.prototype.getDimMaxValue=function(t,e){var n=r["map"](t,(function(t){return r["get"](t,e,[])})),i=r["flatten"](n);return Math.max.apply(Math,i)},e}(o["a"]);e["a"]=a},"9Mg7":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=null;function r(){if(!i){var t=document.createElement("canvas");t.width=1,t.height=1,i=t.getContext("2d")}return i}e.getOffScreenContext=r},"9Nap":function(t,e,n){var i=n("/9aa"),r=1/0;function o(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}t.exports=o},"9Vt5":function(t,e,n){"use strict";var i={};n.r(i),n.d(i,"leftTranslate",(function(){return s})),n.d(i,"leftRotate",(function(){return c})),n.d(i,"leftScale",(function(){return l})),n.d(i,"transform",(function(){return h})),n.d(i,"direction",(function(){return p})),n.d(i,"angleTo",(function(){return f})),n.d(i,"vertical",(function(){return d}));var r=n("mrSG"),o=n("iTfj"),a=n("IOcx");function s(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return a["a"].fromTranslation(i,n),a["a"].multiply(t,i,e)}function c(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return a["a"].fromRotation(i,n),a["a"].multiply(t,i,e)}function l(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return a["a"].fromScaling(i,n),a["a"].multiply(t,i,e)}function u(t,e,n){return a["a"].multiply(t,n,e)}function h(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],i=0,r=e.length;i<r;i++){var o=e[i];switch(o[0]){case"t":s(n,n,[o[1],o[2]]);break;case"s":l(n,n,[o[1],o[2]]);break;case"r":c(n,n,o[1]);break;case"m":u(n,n,o[1]);break;default:break}}return n}function p(t,e){return t[0]*e[1]-e[0]*t[1]}function f(t,e,n){var i=a["b"].angle(t,e),r=p(t,e)>=0;return n?r?2*Math.PI-i:i:r?i:2*Math.PI-i}function d(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}var g=n("O/MF"),v=n("5LKx"),y=n("5RLg"),m=i.transform,b="matrix",x=["zIndex","capture","visible","type"],O=["repeat"],w=":",j="*";function S(t){for(var e=[],n=0;n<t.length;n++)Object(o["isArray"])(t[n])?e.push([].concat(t[n])):e.push(t[n]);return e}function M(t,e){var n={},i=e.attrs;for(var r in t)n[r]=i[r];return n}function _(t,e){var n={},i=e.attr();return Object(o["each"])(t,(function(t,e){-1!==O.indexOf(e)||Object(o["isEqual"])(i[e],t)||(n[e]=t)})),n}function C(t,e){if(e.onFrame)return t;var n=e.startTime,i=e.delay,r=e.duration,a=Object.prototype.hasOwnProperty;return Object(o["each"])(t,(function(t){n+i<t.startTime+t.delay+t.duration&&r>t.delay&&Object(o["each"])(e.toAttrs,(function(e,n){a.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])}))})),t}var k=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var i=n.getDefaultAttrs();return Object(o["mix"])(i,e.attrs),n.attrs=i,n.initAttrs(i),n.initAnimate(),n}return Object(r["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=e[0],r=e[1];if(!i)return this.attrs;if(Object(o["isObject"])(i)){for(var a in i)this.setAttr(a,i[a]);return this.afterAttrsChange(i),this}return 2===e.length?(this.setAttr(i,r),this.afterAttrsChange((t={},t[i]=r,t)),this):this.attrs[i]},e.prototype.isClipped=function(t,e){var n=this.getClip();return n&&!n.isHit(t,e)},e.prototype.setAttr=function(t,e){var n=this.attrs[t];n!==e&&(this.attrs[t]=e,this.onAttrChange(t,e,n))},e.prototype.onAttrChange=function(t,e,n){"matrix"===t&&this.set("totalMatrix",null)},e.prototype.afterAttrsChange=function(t){if(this.cfg.isClipShape){var e=this.cfg.applyTo;e&&e.onCanvasChange("clip")}else this.onCanvasChange("attr")},e.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},e.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},e.prototype.setZIndex=function(t){this.set("zIndex",t);var e=this.getParent();return e&&e.sort(),this},e.prototype.toFront=function(){var t=this.getParent();if(t){var e=t.getChildren(),n=(this.get("el"),e.indexOf(this));e.splice(n,1),e.push(this),this.onCanvasChange("zIndex")}},e.prototype.toBack=function(){var t=this.getParent();if(t){var e=t.getChildren(),n=(this.get("el"),e.indexOf(this));e.splice(n,1),e.unshift(this),this.onCanvasChange("zIndex")}},e.prototype.remove=function(t){void 0===t&&(t=!0);var e=this.getParent();e?(Object(g["j"])(e.getChildren(),this),e.get("clearing")||this.onCanvasChange("remove")):this.onCanvasChange("remove"),t&&this.destroy()},e.prototype.resetMatrix=function(){this.attr(b,this.getDefaultMatrix()),this.onCanvasChange("matrix")},e.prototype.getMatrix=function(){return this.attr(b)},e.prototype.setMatrix=function(t){this.attr(b,t),this.onCanvasChange("matrix")},e.prototype.getTotalMatrix=function(){var t=this.cfg.totalMatrix;if(!t){var e=this.attr("matrix"),n=this.cfg.parentMatrix;t=n&&e?Object(v["b"])(n,e):e||n,this.set("totalMatrix",t)}return t},e.prototype.applyMatrix=function(t){var e=this.attr("matrix"),n=null;n=t&&e?Object(v["b"])(t,e):e||t,this.set("totalMatrix",n),this.set("parentMatrix",t)},e.prototype.getDefaultMatrix=function(){return null},e.prototype.applyToMatrix=function(t){var e=this.attr("matrix");return e?Object(v["c"])(e,t):t},e.prototype.invertFromMatrix=function(t){var e=this.attr("matrix");if(e){var n=Object(v["a"])(e);if(n)return Object(v["c"])(n,t)}return t},e.prototype.setClip=function(t){var e=this.getCanvas(),n=null;if(t){var i=this.getShapeBase(),r=Object(o["upperFirst"])(t.type),a=i[r];a&&(n=new a({type:t.type,isClipShape:!0,applyTo:this,attrs:t.attrs,canvas:e}))}return this.set("clipShape",n),this.onCanvasChange("clip"),n},e.prototype.getClip=function(){var t=this.cfg.clipShape;return t||null},e.prototype.clone=function(){var t=this,e=this.attrs,n={};Object(o["each"])(e,(function(t,i){Object(o["isArray"])(e[i])?n[i]=S(e[i]):n[i]=e[i]}));var i=this.constructor,r=new i({attrs:n});return Object(o["each"])(x,(function(e){r.set(e,t.get(e))})),r},e.prototype.destroy=function(){var e=this.destroyed;e||(this.attrs={},t.prototype.destroy.call(this))},e.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},e.prototype.animate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.set("animating",!0);var n=this.get("timeline");n||(n=this.get("canvas").get("timeline"),this.set("timeline",n));var i=this.get("animations")||[];n.timer||n.initTimer();var r,a,s,c,l,u=t[0],h=t[1],p=t[2],f=void 0===p?"easeLinear":p,d=t[3],g=void 0===d?o["noop"]:d,v=t[4],y=void 0===v?0:v;Object(o["isFunction"])(u)?(r=u,u={}):Object(o["isObject"])(u)&&u.onFrame&&(r=u.onFrame,a=u.repeat),Object(o["isObject"])(h)?(l=h,h=l.duration,f=l.easing||"easeLinear",y=l.delay||0,a=l.repeat||a||!1,g=l.callback||o["noop"],s=l.pauseCallback||o["noop"],c=l.resumeCallback||o["noop"]):(Object(o["isNumber"])(g)&&(y=g,g=null),Object(o["isFunction"])(f)?(g=f,f="easeLinear"):f=f||"easeLinear");var m=_(u,this),b={fromAttrs:M(m,this),toAttrs:m,duration:h,easing:f,repeat:a,callback:g,pauseCallback:s,resumeCallback:c,delay:y,startTime:n.getTime(),id:Object(o["uniqueId"])(),onFrame:r,pathFormatted:!1};i.length>0?i=C(i,b):n.addAnimator(this),i.push(b),this.set("animations",i),this.set("_pause",{isPaused:!1})},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");Object(o["each"])(n,(function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()})),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return Object(o["each"])(e,(function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()})),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline"),e=t.getTime(),n=this.get("animations"),i=this.get("_pause").pauseTime;return Object(o["each"])(n,(function(t){t.startTime=t.startTime+(e-i),t._paused=!1,t._pauseTime=null,t.resumeCallback&&t.resumeCallback()})),this.set("_pause",{isPaused:!1}),this.set("animations",n),this},e.prototype.emitDelegation=function(t,e){var n,i=this,r=e.propagationPath;this.getEvents();"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var a=function(t){var a=r[t],c=a.get("name");if(c){if((a.isGroup()||a.isCanvas&&a.isCanvas())&&n&&Object(g["g"])(a,n))return"break";Object(o["isArray"])(c)?Object(o["each"])(c,(function(t){i.emitDelegateEvent(a,t,e)})):s.emitDelegateEvent(a,c,e)}},s=this,c=0;c<r.length;c++){var l=a(c);if("break"===l)break}},e.prototype.emitDelegateEvent=function(t,e,n){var i=this.getEvents(),r=e+w+n.type;(i[r]||i[j])&&(n.name=r,n.currentTarget=t,n.delegateTarget=this,n.delegateObject=t.get("delegateObject"),this.emit(r,n))},e.prototype.translate=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=this.getMatrix(),i=m(n,[["t",t,e]]);return this.setMatrix(i),this},e.prototype.move=function(t,e){var n=this.attr("x")||0,i=this.attr("y")||0;return this.translate(t-n,e-i),this},e.prototype.moveTo=function(t,e){return this.move(t,e)},e.prototype.scale=function(t,e){var n=this.getMatrix(),i=m(n,[["s",t,e||t]]);return this.setMatrix(i),this},e.prototype.rotate=function(t){var e=this.getMatrix(),n=m(e,[["r",t]]);return this.setMatrix(n),this},e.prototype.rotateAtStart=function(t){var e=this.attr(),n=e.x,i=e.y,r=this.getMatrix(),o=m(r,[["t",-n,-i],["r",t],["t",n,i]]);return this.setMatrix(o),this},e.prototype.rotateAtPoint=function(t,e,n){var i=this.getMatrix(),r=m(i,[["t",-t,-e],["r",n],["t",t,e]]);return this.setMatrix(r),this},e}(y["a"]);e["a"]=k},"9eUa":function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return d})),n.d(e,"f",(function(){return g})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return m}));var i=n("iTfj"),r=n("r0DC"),o=n("cyZq");function a(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function s(t,e){return a(t)*a(e)?(t[0]*e[0]+t[1]*e[1])/(a(t)*a(e)):1}function c(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(s(t,e))}function l(t,e){var n=e[1],i=e[2],r=Object(o["m"])(Object(o["o"])(e[3]),2*Math.PI),a=e[4],l=e[5],u=t[0],h=t[1],p=e[6],f=e[7],d=Math.cos(r)*(u-p)/2+Math.sin(r)*(h-f)/2,g=-1*Math.sin(r)*(u-p)/2+Math.cos(r)*(h-f)/2,v=d*d/(n*n)+g*g/(i*i);v>1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(d*d),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;a===l&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?m*-i*d/n:0,O=(u+p)/2+Math.cos(r)*b-Math.sin(r)*x,w=(h+f)/2+Math.sin(r)*b+Math.cos(r)*x,j=[(d-b)/n,(g-x)/i],S=[(-1*d-b)/n,(-1*g-x)/i],M=c([1,0],j),_=c(j,S);return s(j,S)<=-1&&(_=Math.PI),s(j,S)>=1&&(_=0),0===l&&_>0&&(_-=2*Math.PI),1===l&&_<0&&(_+=2*Math.PI),{cx:O,cy:w,rx:Object(o["j"])(t,[p,f])?0:n,ry:Object(o["j"])(t,[p,f])?0:i,startAngle:M,endAngle:M+_,xRotation:r,arcFlag:a,sweepFlag:l}}var u=n("nycV"),h={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function p(t,e){var n=e.attr();for(var o in n){var a=n[o],s=h[o]?h[o]:o;"matrix"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):"lineDash"===s&&t.setLineDash?Object(i["isArray"])(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=Object(r["b"])(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}}function f(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];r.get("visible")?r.draw(t,n):r.skipDraw()}}function d(t,e,n,i){var r=n.path,o=n.startArrow,a=n.endArrow,s=[0,0],c=[0,0],h={dx:0,dy:0};e.beginPath();for(var p=0;p<r.length;p++){var f=r[p],d=f[0];if(0===p&&o&&o.d){var g=t.getStartTangent();h=u["c"](g[0][0],g[0][1],g[1][0],g[1][1],o.d)}else if(p===r.length-2&&"Z"===r[p+1][0]&&a&&a.d){var v=r[p+1];if("Z"===v[0]){g=t.getEndTangent();h=u["c"](g[0][0],g[0][1],g[1][0],g[1][1],a.d)}}else if(p===r.length-1&&a&&a.d&&"Z"!==r[0]){g=t.getEndTangent();h=u["c"](g[0][0],g[0][1],g[1][0],g[1][1],a.d)}var y=h.dx,m=h.dy;switch(d){case"M":e.moveTo(f[1]-y,f[2]-m),c=[f[1],f[2]];break;case"L":e.lineTo(f[1]-y,f[2]-m);break;case"Q":e.quadraticCurveTo(f[1],f[2],f[3]-y,f[4]-m);break;case"C":e.bezierCurveTo(f[1],f[2],f[3],f[4],f[5]-y,f[6]-m);break;case"A":var b=void 0;i?(b=i[p],b||(b=l(s,f),i[p]=b)):b=l(s,f);var x=b.cx,O=b.cy,w=b.rx,j=b.ry,S=b.startAngle,M=b.endAngle,_=b.xRotation,C=b.sweepFlag;if(e.ellipse)e.ellipse(x,O,w,j,_,S,M,1-C);else{var k=w>j?w:j,E=w>j?1:w/j,P=w>j?j/w:1;e.translate(x,O),e.rotate(_),e.scale(E,P),e.arc(0,0,k,S,M,1-C),e.scale(1/E,1/P),e.rotate(-_),e.translate(-x,-O)}break;case"Z":e.closePath();break;default:break}if("Z"===d)s=c;else{var A=f.length;s=[f[A-2],f[A-1]]}}}function g(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw(),t.set("hasChanged",!0)))}function v(t){var e;if(t.destroyed)e=t["_cacheCanvasBBox"];else{var n=t.get("cacheCanvasBBox"),i=n&&!(!n.width||!n.height),r=t.getCanvasBBox(),a=r&&!(!r.width||!r.height);i&&a?e=Object(o["l"])(n,r):i?e=n:a&&(e=r)}return e}function y(t){if(!t.length)return null;var e=[],n=[],r=[],o=[];return Object(i["each"])(t,(function(t){var i=v(t);i&&(e.push(i.minX),n.push(i.minY),r.push(i.maxX),o.push(i.maxY))})),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,r),maxY:Math.max.apply(null,o)}}function m(t,e){return t&&e&&Object(o["f"])(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},"9f2G":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doGroupAppearAnimate=e.doAnimate=e.getDefaultAnimateCfg=e.DEFAULT_ANIMATE_CFG=void 0;var i=n("t0W4"),r=n("iTfj"),o=n("yLks"),a=n("sB4O");e.DEFAULT_ANIMATE_CFG={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}};var s={interval:function(t){return{enter:{animation:t.isRect?t.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:t.isPolar&&t.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},c={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(t){var e;return t.isRect?e=t.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",t.isPolar&&t.isTransposed&&(e="wave-in")),{animation:e}},schema:function(t){var e;return e=t.isRect?t.isTransposed?"grow-in-x":"grow-in-y":"grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function l(t,e){return{delay:r.isFunction(t.delay)?t.delay(e):t.delay,easing:r.isFunction(t.easing)?t.easing(e):t.easing,duration:r.isFunction(t.duration)?t.duration(e):t.duration,callback:t.callback}}function u(t,n,i){var o=s[t];return o&&(r.isFunction(o)&&(o=o(n)),o=r.deepMix({},e.DEFAULT_ANIMATE_CFG,o),i)?o[i]:o}function h(t,e,n){var i=r.get(t.get("origin"),"data",o.FIELD_ORIGIN),s=e.animation,c=l(e,i);if(s){var u=a.getAnimation(s);u&&u(t,c,n)}else t.animate(n.toAttrs,c)}function p(t,n,o,s,l){if(c[o]){var u=c[o](s),h=a.getAnimation(r.get(u,"animation",""));if(h){var p=i.__assign(i.__assign(i.__assign({},e.DEFAULT_ANIMATE_CFG.appear),u),n);t.stopAnimate(),h(t,p,{coordinate:s,minYPoint:l,toAttrs:null})}}}e.getDefaultAnimateCfg=u,e.doAnimate=h,e.doGroupAppearAnimate=p},"9ggG":function(t,e,n){var i=n("Z0cm"),r=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}t.exports=s},AE40:function(t,e,n){var i=n("dunj"),r=n("jSBL"),o=n("zZ0H");function a(t){return t&&t.length?i(t,o,r):void 0}t.exports=a},AMAt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=new Map;function r(t,e){i.set(t,e)}function o(t){return i.get(t)}e.register=r,e.getMethod=o},ASW0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("cvtA"),r=n("IEcg"),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return i.default(t,(function(n,i){r.default(t)&&"prototype"===i||e.push(n)})),e};e.default=o},Ac7g:function(t,e,n){t.exports={Graph:n("lnHP"),version:n("w802")}},AevD:function(t,e,n){var i=n("M96O");function r(){this._arr=[],this._keyIndices={}}t.exports=r,r.prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map((function(t){return t.key}))},r.prototype.has=function(t){return i.has(this._keyIndices,t)},r.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},r.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!i.has(n,t)){var r=this._arr,o=r.length;return n[t]=o,r.push({key:t,priority:e}),this._decrease(o),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},r.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},r.prototype._heapify=function(t){var e=this._arr,n=2*t,i=n+1,r=t;n<e.length&&(r=e[n].priority<e[r].priority?n:r,i<e.length&&(r=e[i].priority<e[r].priority?i:r),r!==t&&(this._swap(t,r),this._heapify(r)))},r.prototype._decrease=function(t){var e,n=this._arr,i=n[t].priority;while(0!==t){if(e=t>>1,n[e].priority<i)break;this._swap(t,e),t=e}},r.prototype._swap=function(t,e){var n=this._arr,i=this._keyIndices,r=n[t],o=n[e];n[t]=o,n[e]=r,i[o.key]=t,i[r.key]=e}},Afl5:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("vYtJ");e.default=function(t){return Array.isArray?Array.isArray(t):i.default(t,"Array")}},"AmJ+":function(t,e,n){"use strict";function i(t,e,n,i,r){var o={left:t<r.x,right:t+n>r.x+r.width,top:e<r.y,bottom:e+i>r.y+r.height};return o}function r(t,e,n,i,r,o){var a=t,s=e;switch(o){case"left":a=t-i-n,s=e-r/2;break;case"right":a=t+n,s=e-r/2;break;case"top":a=t-i/2,s=e-r-n;break;case"bottom":a=t-i/2,s=e+n;break;default:a=t+n,s=e-r-n;break}return{x:a,y:s}}function o(t,e,n,o,a,s,c){var l=r(t,e,n,o,a,s);if(c){var u=i(l.x,l.y,o,a,c);"auto"===s?(u.right&&(l.x=Math.max(0,t-o-n)),u.top&&(l.y=Math.max(0,e-a-n))):"top"===s||"bottom"===s?(u.left&&(l.x=c.x),u.right&&(l.x=c.x+c.width-o),"top"===s&&u.top&&(l.y=e+n),"bottom"===s&&u.bottom&&(l.y=e-a-n)):(u.top&&(l.y=c.y),u.bottom&&(l.y=c.y+c.height-a),"left"===s&&u.left&&(l.x=t+n),"right"===s&&u.right&&(l.x=t-o-n))}return l}Object.defineProperty(e,"__esModule",{value:!0}),e.getAlignPoint=e.getPointByPosition=e.getOutSides=void 0,e.getOutSides=i,e.getPointByPosition=r,e.getAlignPoint=o},"B+pL":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r=n("IEcg"),o=Object.prototype.hasOwnProperty;function a(t,e){if(!e||!i.default(t))return{};for(var n,a={},s=r.default(e)?e:function(t){return t[e]},c=0;c<t.length;c++){var l=t[c];n=s(l),o.call(a,n)?a[n].push(l):a[n]=[l]}return a}e.default=a},B0RU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("iTfj"),r=n("omAN"),o=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length)return this.cacheMap[t[0]];2===t.length&&(this.cacheMap[t[0]]=t[1])},t.prototype.getAction=function(t){return this.actions.find((function(e){return e.name===t}))},t.prototype.addAction=function(t){this.actions.push(t)},t.prototype.removeAction=function(t){var e=this.actions,n=this.actions.indexOf(t);n>=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;if(t){if(t.target instanceof HTMLElement){var e=this.view.getCanvas(),n=e.getPointByClient(t.clientX,t.clientY);return n}return{x:t.x,y:t.y}}return null},t.prototype.getCurrentShape=function(){return i.get(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=r.getComponents(this.view),n=this.getCurrentPoint();return!!n&&!!e.find((function(e){var i=e.getBBox();return t?e.get("name")===t&&r.isInBox(i,n):r.isInBox(i,n)}))},t.prototype.destroy=function(){this.view=null,this.event=null,i.each(this.actions.slice(),(function(t){t.destroy()})),this.actions=null,this.cacheMap=null},t}();e.default=o},BQ7c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("3BsE");e.Attribute=r.default;var o={},a=function(t){return o[t.toLowerCase()]};e.getAttribute=a;var s=function(t,e){if(a(t))throw new Error("Attribute type '"+t+"' existed.");o[t.toLowerCase()]=e};e.registerAttribute=s,i.__exportStar(n("+BNd"),e)},BiGR:function(t,e,n){var i=n("nmnc"),r=n("03A+"),o=n("Z0cm"),a=i?i.isConcatSpreadable:void 0;function s(t){return o(t)||r(t)||!!(a&&t&&t[a])}t.exports=s},BkRI:function(t,e,n){var i=n("OBhP"),r=1,o=4;function a(t){return i(t,r|o)}t.exports=a},Bu9b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return"object"===typeof t&&null!==t};e.default=i},C4tZ:function(t,e,n){"use strict";var i=n("6Ekc"),r=i.longestPath,o=n("GEWS"),a=n("dOj1");function s(t){switch(t.graph().ranker){case"network-simplex":u(t);break;case"tight-tree":l(t);break;case"longest-path":c(t);break;default:u(t)}}t.exports=s;var c=r;function l(t){r(t),o(t)}function u(t){a(t)}},CMye:function(t,e,n){var i=n("GoyQ");function r(t){return t===t&&!i(t)}t.exports=r},COAR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("hCvy"),r=function(t){return i.default(t)&&t%2!==0};e.default=r},CZoQ:function(t,e){function n(t,e,n){var i=n-1,r=t.length;while(++i<r)if(t[i]===e)return i;return-1}t.exports=n},CsQa:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("w+JD"),o=n("iTfj"),a=n("b8s6"),s=n("U7jg"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");o.each(e||n,(function(e,r){if("startArrow"===r||"endArrow"===r)if(e){var s=o.isObject(e)?t.addArrow(n,a.SVG_ATTR_MAP[r]):t.getDefaultArrow(n,a.SVG_ATTR_MAP[r]);i.setAttribute(a.SVG_ATTR_MAP[r],"url(#"+s+")")}else i.removeAttribute(a.SVG_ATTR_MAP[r]);else a.SVG_ATTR_MAP[r]&&i.setAttribute(a.SVG_ATTR_MAP[r],e)}))},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,i=t.x2,o=t.y2;return r.default.length(e,n,i,o)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,i=e.y1,o=e.x2,a=e.y2;return r.default.pointAt(n,i,o,a,t)},e}(s.default);e.default=c},CtsN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={fontFamily:'\n  "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue",\n  Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",\n  SimSun, "sans-serif"',textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4}},"D+Hr":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.propagationDelegate=void 0;var i=n("kzId");function r(t,e,n){var r=new i.default(e,n);r.target=t,r.propagationPath.push(t),t.emitDelegation(e,r);var o=t.getParent();while(o)o.emitDelegation(e,r),r.propagationPath.push(o),o=o.getParent()}e.propagationDelegate=r},D36i:function(t,e,n){"use strict";n.r(e);var i=n("NIAQ");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r)},D5zP:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCoordinateClipCfg=e.getAngleByPoint=e.isPointInCoordinate=e.getDistanceToCenter=e.isFullCircle=e.getXDimensionLength=void 0;var i=n("+Oe8"),r=n("7np+");function o(t){if(t.isPolar&&!t.isTransposed)return(t.endAngle-t.startAngle)*t.getRadius();var e=t.convert({x:0,y:0}),n=t.convert({x:1,y:0});return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function a(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function s(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function c(t,e){var n=!1;if(t)if("theta"===t.type){var i=t.start,o=t.end;n=r.isBetween(e.x,i.x,o.x)&&r.isBetween(e.y,i.y,o.y)}else{var a=t.invert(e);n=r.isBetween(a.x,0,1)&&r.isBetween(a.y,0,1)}return n}function l(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function u(t,e){void 0===e&&(e=0);var n,r=t.start,o=t.end,a=t.getWidth(),s=t.getHeight();if(t.isPolar){var c=t.startAngle,l=t.endAngle,u=t.getCenter(),h=t.getRadius();return{type:"path",startState:{path:i.getSectorPath(u.x,u.y,h+e,c,c)},endState:function(t){var n=(l-c)*t+c,r=i.getSectorPath(u.x,u.y,h+e,c,n);return{path:r}},attrs:{path:i.getSectorPath(u.x,u.y,h+e,c,l)}}}return n=t.isTransposed?{height:s+2*e}:{width:a+2*e},{type:"rect",startState:{x:r.x-e,y:o.y-e,width:t.isTransposed?a+2*e:0,height:t.isTransposed?0:s+2*e},endState:n,attrs:{x:r.x-e,y:o.y-e,width:a+2*e,height:s+2*e}}}e.getXDimensionLength=o,e.isFullCircle=a,e.getDistanceToCenter=s,e.isPointInCoordinate=c,e.getAngleByPoint=l,e.getCoordinateClipCfg=u},DLid:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("iTfj"),o=n("b8s6"),a=n("U7jg"),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");r.each(e||n,(function(t,e){"x"===e||"y"===e?i.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&i.setAttribute(o.SVG_ATTR_MAP[e],t)}))},e}(a.default);e.default=s},DRIM:function(t,e,n){"use strict";function i(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}Object.defineProperty(e,"__esModule",{value:!0}),e.isAllowCapture=e.isParent=e.isBrowser=e.removeFromArray=void 0,e.removeFromArray=i,e.isBrowser="undefined"!==typeof window&&"undefined"!==typeof window.document;var r=n("KPlw");Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return r.default}});var o=n("IEcg");Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return o.default}});var a=n("Ydjw");Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return a.default}});var s=n("mrT1");Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return s.default}});var c=n("Afl5");Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return c.default}});var l=n("UD5B");Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return l.default}});var u=n("cvtA");Object.defineProperty(e,"each",{enumerable:!0,get:function(){return u.default}});var h=n("PFw5");function p(t,e){if(t.isCanvas())return!0;var n=e.getParent(),i=!1;while(n){if(n===t){i=!0;break}n=n.getParent()}return i}function f(t){return t.cfg.visible&&t.cfg.capture}Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return h.default}}),e.isParent=p,e.isAllowCapture=f},DaSU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("cvtA"),r=n("IEcg"),o=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return i.default(t,(function(n,i){r.default(t)&&"prototype"===i||e.push(i)})),e};e.default=o},"Dw+G":function(t,e,n){var i=n("juv8"),r=n("mTTR");function o(t,e){return t&&i(e,r(e),t)}t.exports=o},"E+oP":function(t,e,n){var i=n("A90E"),r=n("QqLw"),o=n("03A+"),a=n("Z0cm"),s=n("MMmD"),c=n("DSRE"),l=n("6sVZ"),u=n("c6wG"),h="[object Map]",p="[object Set]",f=Object.prototype,d=f.hasOwnProperty;function g(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||u(t)||o(t)))return!t.length;var e=r(t);if(e==h||e==p)return!t.size;if(l(t))return!i(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}t.exports=g},EA7m:function(t,e,n){var i=n("zZ0H"),r=n("Ioao"),o=n("wclG");function a(t,e){return o(r(t,e,i),t+"")}t.exports=a},EEGq:function(t,e,n){var i=n("juv8"),r=n("oCl/");function o(t,e){return i(t,r(t),e)}t.exports=o},EIvI:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getName=e.syncScale=e.createScaleByField=void 0;var i=n("t0W4"),r=n("iTfj"),o=n("Nzmt"),a=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function s(t){var e="linear";return a.test(t)?e="time":r.isString(t)&&(e="cat"),e}function c(t,e,n){var a=e||[];if(r.isNumber(t)||r.isNil(r.firstValue(a,t))&&r.isEmpty(n)){var c=o.getScale("identity");return new c({field:t.toString(),values:[t]})}var l=r.valuesOfKey(a,t),u=r.get(n,"type",s(l[0])),h=o.getScale(u);return new h(i.__assign({field:t,values:l},n))}function l(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);t.change(n)}}function u(t){return t.alias||t.field}e.createScaleByField=c,e.syncScale=l,e.getName=u},EwQA:function(t,e,n){var i=n("zZ0H");function r(t){return"function"==typeof t?t:i}t.exports=r},EyIT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("AMAt");e.getBBoxMethod=i.getMethod;var r=n("KdeF"),o=n("bKyV"),a=n("KyOh"),s=n("ec97"),c=n("g7yy"),l=n("LR9c"),u=n("1fO8"),h=n("cfVq");i.register("rect",r.default),i.register("image",r.default),i.register("circle",o.default),i.register("marker",o.default),i.register("polyline",a.default),i.register("polygon",s.default),i.register("text",c.default),i.register("path",l.default),i.register("line",u.default),i.register("ellipse",h.default)},"F/3T":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("rBL4"),o=n("vRma"),a=n("2l5n"),s=n("Ht5m"),c=n("xZHb"),l=n("Kf4O"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return c},e.prototype.getGroupBase=function(){return l.default},e.prototype.onCanvasChange=function(t){a.refreshElement(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),e=this.getHitLineWidth(),n=s.getBBoxMethod(t),i=n(this),r=e/2,o=i.x-r,a=i.y-r,c=i.x+i.width+r,l=i.y+i.height+r;return{x:o,minX:o,y:a,minY:a,width:i.width+e,height:i.height+e,maxX:c,maxY:l}},e.prototype.isFill=function(){return!!this.attrs["fill"]||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs["stroke"]},e.prototype._applyClip=function(t,e){e&&(t.save(),a.applyAttrsToContext(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);var i=this.getCanvasBBox();if(!o.intersectRect(e,i))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}t.save(),a.applyAttrsToContext(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=o.intersectRect(e,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,i=e.opacity,r=e.strokeOpacity,a=e.fillOpacity;this.isFill()&&(o.isNil(a)||1===a?this.fill(t):(t.globalAlpha=a,this.fill(t),t.globalAlpha=i)),this.isStroke()&&n>0&&(o.isNil(r)||1===r||(t.globalAlpha=r),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),i=this.isFill(),r=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,i,r)},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t["lineWidth"]+t["lineAppendWidth"]},e}(r.AbstractShape);e.default=u},F4kd:function(t,e,n){"use strict";n.r(e),n.d(e,"assign",(function(){return p})),n.d(e,"format",(function(){return A})),n.d(e,"parse",(function(){return T})),n.d(e,"defaultI18n",(function(){return y})),n.d(e,"setGlobalDateI18n",(function(){return b})),n.d(e,"setGlobalDateMasks",(function(){return P}));var i=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,r="[1-9]\\d?",o="\\d\\d",a="\\d{3}",s="\\d{4}",c="[^\\s]+",l=/\[([^]*?)\]/gm;function u(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n.push(t[i].substr(0,e));return n}var h=function(t){return function(e,n){var i=n[t].map((function(t){return t.toLowerCase()})),r=i.indexOf(e.toLowerCase());return r>-1?r:null}};function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=0,r=e;i<r.length;i++){var o=r[i];for(var a in o)t[a]=o[a]}return t}var f=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"],g=u(d,3),v=u(f,3),y={dayNamesShort:v,dayNames:f,monthNamesShort:g,monthNames:d,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!==10?1:0)*t%10]}},m=p({},y),b=function(t){return m=p(m,t)},x=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},O=function(t,e){void 0===e&&(e=2),t=String(t);while(t.length<e)t="0"+t;return t},w={D:function(t){return String(t.getDate())},DD:function(t){return O(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return String(t.getDay())},dd:function(t){return O(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return String(t.getMonth()+1)},MM:function(t){return O(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return O(String(t.getFullYear()),4).substr(2)},YYYY:function(t){return O(t.getFullYear(),4)},h:function(t){return String(t.getHours()%12||12)},hh:function(t){return O(t.getHours()%12||12)},H:function(t){return String(t.getHours())},HH:function(t){return O(t.getHours())},m:function(t){return String(t.getMinutes())},mm:function(t){return O(t.getMinutes())},s:function(t){return String(t.getSeconds())},ss:function(t){return O(t.getSeconds())},S:function(t){return String(Math.round(t.getMilliseconds()/100))},SS:function(t){return O(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return O(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+O(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+O(Math.floor(Math.abs(e)/60),2)+":"+O(Math.abs(e)%60,2)}},j=function(t){return+t-1},S=[null,r],M=[null,c],_=["isPm",c,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],C=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],k={D:["day",r],DD:["day",o],Do:["day",r+c,function(t){return parseInt(t,10)}],M:["month",r,j],MM:["month",o,j],YY:["year",o,function(t){var e=new Date,n=+(""+e.getFullYear()).substr(0,2);return+(""+(+t>68?n-1:n)+t)}],h:["hour",r,void 0,"isPm"],hh:["hour",o,void 0,"isPm"],H:["hour",r],HH:["hour",o],m:["minute",r],mm:["minute",o],s:["second",r],ss:["second",o],YYYY:["year",s],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond",o,function(t){return 10*+t}],SSS:["millisecond",a],d:S,dd:S,ddd:M,dddd:M,MMM:["month",c,h("monthNamesShort")],MMMM:["month",c,h("monthNames")],a:_,A:_,ZZ:C,Z:C},E={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},P=function(t){return p(E,t)},A=function(t,e,n){if(void 0===e&&(e=E["default"]),void 0===n&&(n={}),"number"===typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");e=E[e]||e;var r=[];e=e.replace(l,(function(t,e){return r.push(e),"@@@"}));var o=p(p({},m),n);return e=e.replace(i,(function(e){return w[e](t,o)})),e.replace(/@@@/g,(function(){return r.shift()}))};function T(t,e,n){if(void 0===n&&(n={}),"string"!==typeof e)throw new Error("Invalid format in fecha parse");if(e=E[e]||e,t.length>1e3)return null;var r=new Date,o={year:r.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],s=[],c=e.replace(l,(function(t,e){return s.push(x(e)),"@@@"})),u={},h={};c=x(c).replace(i,(function(t){var e=k[t],n=e[0],i=e[1],r=e[3];if(u[n])throw new Error("Invalid format. "+n+" specified twice in format");return u[n]=!0,r&&(h[r]=!0),a.push(e),"("+i+")"})),Object.keys(h).forEach((function(t){if(!u[t])throw new Error("Invalid format. "+t+" is required in specified format")})),c=c.replace(/@@@/g,(function(){return s.shift()}));var f=t.match(new RegExp(c,"i"));if(!f)return null;for(var d=p(p({},m),n),g=1;g<f.length;g++){var v=a[g-1],y=v[0],b=v[2],O=b?b(f[g],d):+f[g];if(null==O)return null;o[y]=O}1===o.isPm&&null!=o.hour&&12!==+o.hour?o.hour=+o.hour+12:0===o.isPm&&12===+o.hour&&(o.hour=0);for(var w=new Date(o.year,o.month,o.day,o.hour,o.minute,o.second,o.millisecond),j=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],S=(g=0,j.length);g<S;g++)if(u[j[g][0]]&&o[j[g][0]]!==w[j[g][1]]())return null;return null==o.timezoneOffset?w:new Date(Date.UTC(o.year,o.month,o.day,o.hour,o.minute-o.timezoneOffset,o.second,o.millisecond))}var I={format:A,parse:T,defaultI18n:y,setGlobalDateI18n:b,setGlobalDateMasks:P};e["default"]=I},F7b9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GAP=e.DODGE_RATIO=e.MARGIN_RATIO=e.DEFAULT_Y=void 0,e.DEFAULT_Y=0,e.MARGIN_RATIO=.5,e.DODGE_RATIO=.5,e.GAP=.05},F9We:function(t,e,n){var i;try{i=n("4Ai+")}catch(r){}i||(i=window.graphlib),t.exports=i},FH2j:function(t,e,n){"use strict";n.d(e,"getAdjust",(function(){return r})),n.d(e,"registerAdjust",(function(){return o}));n("Qci9"),n("WbAE");var i={},r=function(t){return i[t.toLowerCase()]},o=function(t,e){if(r(t))throw new Error("Adjust type '"+t+"' existed.");i[t.toLowerCase()]=e}},FZoo:function(t,e,n){var i=n("MrPd"),r=n("4uTw"),o=n("wJg7"),a=n("GoyQ"),s=n("9Nap");function c(t,e,n,c){if(!a(t))return t;e=r(e,t);var l=-1,u=e.length,h=u-1,p=t;while(null!=p&&++l<u){var f=s(e[l]),d=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(l!=h){var g=p[f];d=c?c(g,f,p):void 0,void 0===d&&(d=a(g)?g:o(e[l+1])?[]:{})}i(p,f,d),p=p[f]}return t}t.exports=c},FfPP:function(t,e,n){var i=n("idmN"),r=n("hgQt");function o(t,e){return i(t,e,(function(e,n){return r(t,n)}))}t.exports=o},G4qy:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.default=i},G5Vh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r=n("zco6"),o=5;function a(t,e,n,s){for(var c in n=n||0,s=s||o,e)if(e.hasOwnProperty(c)){var l=e[c];null!==l&&r.default(l)?(r.default(t[c])||(t[c]={}),n<s?a(t[c],l,n+1,s):t[c]=e[c]):i.default(l)?(t[c]=[],t[c]=t[c].concat(l)):void 0!==l&&(t[c]=l)}}var s=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=0;i<e.length;i+=1)a(t,e[i]);return t};e.default=s},G6kk:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("hCvy"),r=function(t){return i.default(t)&&t>0};e.default=r},G6z8:function(t,e,n){var i=n("fR/l"),r=n("oCl/"),o=n("mTTR");function a(t){return i(t,o,r)}t.exports=a},GDhZ:function(t,e,n){var i=n("wF/u"),r=n("mwIZ"),o=n("hgQt"),a=n("9ggG"),s=n("CMye"),c=n("IOzZ"),l=n("9Nap"),u=1,h=2;function p(t,e){return a(t)&&s(e)?c(l(t),e):function(n){var a=r(n,t);return void 0===a&&a===e?o(n,t):i(e,a,u|h)}}t.exports=p},GDtP:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("pzOv");function r(t){var e=t.attr(),n=e.x1,r=e.y1,o=e.x2,a=e.y2,s=Math.min(n,o),c=Math.max(n,o),l=Math.min(r,a),u=Math.max(r,a),h={minX:s,maxX:c,minY:l,maxY:u};return h=i.mergeArrowBBox(t,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}}e.default=r},GEWS:function(t,e,n){"use strict";var i=n("b5wT"),r=n("F9We").Graph,o=n("6Ekc").slack;function a(t){var e,n,i=new r({directed:!1}),a=t.nodes()[0],u=t.nodeCount();i.setNode(a,{});while(s(i,t)<u)e=c(i,t),n=i.hasNode(e.v)?o(t,e):-o(t,e),l(i,t,n);return i}function s(t,e){function n(r){i.forEach(e.nodeEdges(r),(function(i){var a=i.v,s=r===a?i.w:a;t.hasNode(s)||o(e,i)||(t.setNode(s,{}),t.setEdge(r,s,{}),n(s))}))}return i.forEach(t.nodes(),n),t.nodeCount()}function c(t,e){return i.minBy(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return o(e,n)}))}function l(t,e,n){i.forEach(t.nodes(),(function(t){e.node(t).rank+=n}))}t.exports=a},GNiM:function(t,e,n){var i=n("I01J"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(o,"$1"):n||t)})),e}));t.exports=a},GPLX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("cvtA"),r=n("Afl5"),o=n("Ydjw"),a=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,s=/[^\s\,]+/gi;function c(t){var e=t||[];return r.default(e)?e:o.default(e)?(e=e.match(a),i.default(e,(function(t,n){if(t=t.match(s),t[0].length>1){var r=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=r}i.default(t,(function(e,n){isNaN(e)||(t[n]=+e)})),e[n]=t})),e):void 0}e.default=c},GbLa:function(t,e,n){var i=n("M96O"),r=n("lnHP");function o(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:a(t),edges:s(t)};return i.isUndefined(t.graph())||(e.value=i.clone(t.graph())),e}function a(t){return i.map(t.nodes(),(function(e){var n=t.node(e),r=t.parent(e),o={v:e};return i.isUndefined(n)||(o.value=n),i.isUndefined(r)||(o.parent=r),o}))}function s(t){return i.map(t.edges(),(function(e){var n=t.edge(e),r={v:e.v,w:e.w};return i.isUndefined(e.name)||(r.name=e.name),i.isUndefined(n)||(r.value=n),r}))}function c(t){var e=new r(t.options).setGraph(t.value);return i.each(t.nodes,(function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)})),i.each(t.edges,(function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),e}t.exports={write:o,read:c}},Gi0A:function(t,e,n){var i=n("QqLw"),r=n("ExA7"),o="[object Map]";function a(t){return r(t)&&i(t)==o}t.exports=a},GwhO:function(t,e,n){"use strict";n.r(e),n.d(e,"registerAttribute",(function(){return w})),n.d(e,"getAttribute",(function(){return O})),n.d(e,"Attribute",(function(){return a})),n.d(e,"Color",(function(){return u})),n.d(e,"Opacity",(function(){return p})),n.d(e,"Position",(function(){return d})),n.d(e,"Shape",(function(){return v})),n.d(e,"Size",(function(){return m})),n.d(e,"Scale",(function(){return b["Scale"]}));var i=n("iTfj"),r=function(t,e){return Object(i["isString"])(e)?e:t.invert(t.scale(e))},o=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=e.map((function(e,n){return t._toOriginParam(e,t.scales[n])}));return this.callback.apply(this,i)},t.prototype.getLinearValue=function(t){var e=this.values.length-1,n=Math.floor(e*t),i=e*t-n,r=this.values[n],o=n===e?r:this.values[n+1];return r+(o-r)*i},t.prototype.getNames=function(){for(var t=this.scales,e=this.names,n=Math.min(t.length,e.length),i=[],r=0;r<n;r+=1)i.push(e[r]);return i},t.prototype.getFields=function(){return this.scales.map((function(t){return t.field}))},t.prototype.getScale=function(t){return this.scales[this.names.indexOf(t)]},t.prototype.defaultCallback=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 0===e.length?this.values:e.map((function(e,n){var i=t.scales[n];return"identity"===i.type?i.values[0]:t._getAttributeValue(i,e)}))},t.prototype._parseCfg=function(t){var e=this,n=t.type,r=void 0===n?"base":n,o=t.names,a=void 0===o?[]:o,s=t.scales,c=void 0===s?[]:s,l=t.values,u=void 0===l?[]:l,h=t.callback;this.type=r,this.scales=c,this.values=u,this.names=a,this.callback=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(h){var r=h.apply(void 0,t);if(!Object(i["isNil"])(r))return[r]}return e.defaultCallback.apply(e,t)}},t.prototype._getAttributeValue=function(t,e){if(t.isCategory&&!this.linear){var n=t.translate(e);return this.values[n%this.values.length]}var i=t.scale(e);return this.getLinearValue(i)},t.prototype._toOriginParam=function(t,e){return e.isLinear?t:Object(i["isArray"])(t)?t.map((function(t){return r(e,t)})):r(e,t)},t}(),a=o,s=n("mrSG"),c=n("6UX8"),l=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],Object(i["isString"])(n.values)&&(n.linear=!0),n.gradient=c["default"].gradient(n.values),n}return Object(s["__extends"])(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(a),u=l,h=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return Object(s["__extends"])(e,t),e}(a),p=h,f=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return Object(s["__extends"])(e,t),e.prototype.mapping=function(t,e){var n=this.scales,r=n[0],o=n[1];return Object(i["isNil"])(t)||Object(i["isNil"])(e)?[]:[Object(i["isArray"])(t)?t.map((function(t){return r.scale(t)})):r.scale(t),Object(i["isArray"])(e)?e.map((function(t){return o.scale(t)})):o.scale(e)]},e}(a),d=f,g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return Object(s["__extends"])(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(a),v=g,y=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return Object(s["__extends"])(e,t),e}(a),m=y,b=n("8vsG"),x={},O=function(t){return x[t.toLowerCase()]},w=function(t,e){if(O(t))throw new Error("Attribute type '"+t+"' existed.");x[t.toLowerCase()]=e};w("Color",u),w("Opacity",p),w("Position",d),w("Shape",v),w("Size",m)},H1Ms:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("WsbV"),r=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.default([].concat.apply([],t))};e.default=r},H3oo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("iTfj"),o=n("b8s6"),a=n("U7jg"),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return i.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get("el");r.each(e||n,(function(t,e){"points"===e&&r.isArray(t)&&t.length>=2?i.setAttribute("points",t.map((function(t){return t[0]+","+t[1]})).join(" ")):o.SVG_ATTR_MAP[e]&&i.setAttribute(o.SVG_ATTR_MAP[e],t)}))},e}(a.default);e.default=s},HLqC:function(t,e,n){var i=n("R5Y4"),r=n("mv/X"),o=n("ZCgT");function a(t){return function(e,n,a){return a&&"number"!=typeof a&&r(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),i(e,n,a,t)}}t.exports=a},HVwg:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",o=new RegExp("([a-z])["+r+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+r+"]*,?["+r+"]*)+)","ig"),a=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+r+"]*,?["+r+"]*","ig");function s(t){if(!t)return null;if(i.default(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(o,(function(t,i,r){var o=[],s=i.toLowerCase();if(r.replace(a,(function(t,e){e&&o.push(+e)})),"m"===s&&o.length>2&&(n.push([i].concat(o.splice(0,2))),s="l",i="m"===i?"l":"L"),"o"===s&&1===o.length&&n.push([i,o[0]]),"r"===s)n.push([i].concat(o));else while(o.length>=e[s])if(n.push([i].concat(o.splice(0,e[s]))),!e[s])break;return""})),n}e.default=s},Hdpx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("fRZY"),o=n("iTfj"),a=n("F/3T"),s=n("462U"),c=n("vm5F"),l=n("2l5n"),u=n("YKzO"),h=n("Nt6N"),p=n("62Ap"),f=n("wUyF");function d(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];if(i=h.default(o,e,n),i)break}return i}var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this._setPathArr(t.path),this.setArrow()},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),"path"===e&&this._setPathArr(n),this.setArrow()},e.prototype._setPathArr=function(t){this.attrs.path=s.default(t);var e=p.default.hasArc(t);this.set("hasArc",e),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},e.prototype.getSegments=function(){var t=this.get("segements");return t||(t=c.default(this.attr("path")),this.set("segments",t)),t},e.prototype.setArrow=function(){var t=this.attr(),e=t.startArrow,n=t.endArrow;if(e){var i=this.getStartTangent();f.addStartArrow(this,t,i[0][0],i[0][1],i[1][0],i[1][1])}if(n){i=this.getEndTangent();f.addEndArrow(this,t,i[0][0],i[0][1],i[1][0],i[1][1])}},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o=this.getSegments(),a=this.get("hasArc"),s=!1;if(n){var c=this.getTotalLength();s=p.default.isPointInStroke(o,r,t,e,c)}if(!s&&i)if(a)s=u.default(this,t,e);else{var l=this.attr("path"),h=p.default.extractPolygons(l);s=d(h.polygons,t,e)||d(h.polylines,t,e)}return s},e.prototype.createPath=function(t){var e=this.attr(),n=this.get("paramsCache");l.drawPath(this,t,e,n)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.get("totalLength");return o.isNil(t)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):t},e.prototype.getPoint=function(t){var e,n,i=this.get("tCache");i||(this._calculateCurve(),this._setTcache(),i=this.get("tCache"));var a=this.get("curve");if(!i||0===i.length)return a?{x:a[0][1],y:a[0][2]}:null;o.each(i,(function(i,r){t>=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)}));var s=a[n];if(o.isNil(s)||o.isNil(n))return null;var c=s.length,l=a[n+1];return r.default.pointAt(s[c-2],s[c-1],l[1],l[2],l[3],l[4],l[5],l[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",p.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,i,a=0,s=0,c=[],l=this.get("curve");l&&(o.each(l,(function(t,e){n=l[e+1],i=t.length,n&&(a+=r.default.length(t[i-2],t[i-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set("totalLength",a),0!==a?(o.each(l,(function(o,u){n=l[u+1],i=o.length,n&&(t=[],t[0]=s/a,e=r.default.length(o[i-2],o[i-1],n[1],n[2],n[3],n[4],n[5],n[6]),s+=e||0,t[1]=s/a,c.push(t))})),this.set("tCache",c)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,i=e[1].currentPoint,r=e[1].startTangent;t=[],r?(t.push([n[0]-r[0],n[1]-r[1]]),t.push([n[0],n[1]])):(t.push([i[0],i[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var i=e[n-2].currentPoint,r=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([r[0]-o[0],r[1]-o[1]]),t.push([r[0],r[1]])):(t.push([i[0],i[1]]),t.push([r[0],r[1]]))}return t},e}(a.default);e.default=g},"HoV/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Afl5"),r=n("Ydjw");function o(t,e){return!(!i.default(t)&&!r.default(t))&&t[t.length-1]===e}e.default=o},Ht5m:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBBoxMethod=void 0;var i=n("Njfj");Object.defineProperty(e,"getBBoxMethod",{enumerable:!0,get:function(){return i.getMethod}});var r=n("SQs2"),o=n("RlPo"),a=n("LA+T"),s=n("pK/+"),c=n("6Kj5"),l=n("0Zeg"),u=n("GDtP"),h=n("0ICj");i.register("rect",r.default),i.register("image",r.default),i.register("circle",o.default),i.register("marker",o.default),i.register("polyline",a.default),i.register("polygon",s.default),i.register("text",c.default),i.register("path",l.default),i.register("line",u.default),i.register("ellipse",h.default)},HwUG:function(t,e,n){"use strict";n.r(e),n.d(e,"create",(function(){return r})),n.d(e,"fromMat4",(function(){return o})),n.d(e,"clone",(function(){return a})),n.d(e,"copy",(function(){return s})),n.d(e,"fromValues",(function(){return c})),n.d(e,"set",(function(){return l})),n.d(e,"identity",(function(){return u})),n.d(e,"transpose",(function(){return h})),n.d(e,"invert",(function(){return p})),n.d(e,"adjoint",(function(){return f})),n.d(e,"determinant",(function(){return d})),n.d(e,"multiply",(function(){return g})),n.d(e,"translate",(function(){return v})),n.d(e,"rotate",(function(){return y})),n.d(e,"scale",(function(){return m})),n.d(e,"fromTranslation",(function(){return b})),n.d(e,"fromRotation",(function(){return x})),n.d(e,"fromScaling",(function(){return O})),n.d(e,"fromMat2d",(function(){return w})),n.d(e,"fromQuat",(function(){return j})),n.d(e,"normalFromMat4",(function(){return S})),n.d(e,"projection",(function(){return M})),n.d(e,"str",(function(){return _})),n.d(e,"frob",(function(){return C})),n.d(e,"add",(function(){return k})),n.d(e,"subtract",(function(){return E})),n.d(e,"multiplyScalar",(function(){return P})),n.d(e,"multiplyScalarAndAdd",(function(){return A})),n.d(e,"exactEquals",(function(){return T})),n.d(e,"equals",(function(){return I})),n.d(e,"mul",(function(){return B})),n.d(e,"sub",(function(){return L}));var i=n("yU0y");function r(){var t=new i["a"](9);return i["a"]!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function a(t){var e=new i["a"](9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function c(t,e,n,r,o,a,s,c,l){var u=new i["a"](9);return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=o,u[5]=a,u[6]=s,u[7]=c,u[8]=l,u}function l(t,e,n,i,r,o,a,s,c,l){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a,t[6]=s,t[7]=c,t[8]=l,t}function u(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function h(t,e){if(t===e){var n=e[1],i=e[2],r=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=i,t[7]=r}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function p(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],u=e[8],h=u*a-s*l,p=-u*o+s*c,f=l*o-a*c,d=n*h+i*p+r*f;return d?(d=1/d,t[0]=h*d,t[1]=(-u*i+r*l)*d,t[2]=(s*i-r*a)*d,t[3]=p*d,t[4]=(u*n-r*c)*d,t[5]=(-s*n+r*o)*d,t[6]=f*d,t[7]=(-l*n+i*c)*d,t[8]=(a*n-i*o)*d,t):null}function f(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],u=e[8];return t[0]=a*u-s*l,t[1]=r*l-i*u,t[2]=i*s-r*a,t[3]=s*c-o*u,t[4]=n*u-r*c,t[5]=r*o-n*s,t[6]=o*l-a*c,t[7]=i*c-n*l,t[8]=n*a-i*o,t}function d(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=t[6],c=t[7],l=t[8];return e*(l*o-a*c)+n*(-l*r+a*s)+i*(c*r-o*s)}function g(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],h=e[8],p=n[0],f=n[1],d=n[2],g=n[3],v=n[4],y=n[5],m=n[6],b=n[7],x=n[8];return t[0]=p*i+f*a+d*l,t[1]=p*r+f*s+d*u,t[2]=p*o+f*c+d*h,t[3]=g*i+v*a+y*l,t[4]=g*r+v*s+y*u,t[5]=g*o+v*c+y*h,t[6]=m*i+b*a+x*l,t[7]=m*r+b*s+x*u,t[8]=m*o+b*c+x*h,t}function v(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],h=e[8],p=n[0],f=n[1];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=c,t[6]=p*i+f*a+l,t[7]=p*r+f*s+u,t[8]=p*o+f*c+h,t}function y(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],h=e[8],p=Math.sin(n),f=Math.cos(n);return t[0]=f*i+p*a,t[1]=f*r+p*s,t[2]=f*o+p*c,t[3]=f*a-p*i,t[4]=f*s-p*r,t[5]=f*c-p*o,t[6]=l,t[7]=u,t[8]=h,t}function m(t,e,n){var i=n[0],r=n[1];return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=r*e[3],t[4]=r*e[4],t[5]=r*e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function b(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t}function x(t,e){var n=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=n,t[2]=0,t[3]=-n,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function O(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function w(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t}function j(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n+n,s=i+i,c=r+r,l=n*a,u=i*a,h=i*s,p=r*a,f=r*s,d=r*c,g=o*a,v=o*s,y=o*c;return t[0]=1-h-d,t[3]=u-y,t[6]=p+v,t[1]=u+y,t[4]=1-l-d,t[7]=f-g,t[2]=p-v,t[5]=f+g,t[8]=1-l-h,t}function S(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],u=e[8],h=e[9],p=e[10],f=e[11],d=e[12],g=e[13],v=e[14],y=e[15],m=n*s-i*a,b=n*c-r*a,x=n*l-o*a,O=i*c-r*s,w=i*l-o*s,j=r*l-o*c,S=u*g-h*d,M=u*v-p*d,_=u*y-f*d,C=h*v-p*g,k=h*y-f*g,E=p*y-f*v,P=m*E-b*k+x*C+O*_-w*M+j*S;return P?(P=1/P,t[0]=(s*E-c*k+l*C)*P,t[1]=(c*_-a*E-l*M)*P,t[2]=(a*k-s*_+l*S)*P,t[3]=(r*k-i*E-o*C)*P,t[4]=(n*E-r*_+o*M)*P,t[5]=(i*_-n*k-o*S)*P,t[6]=(g*j-v*w+y*O)*P,t[7]=(v*x-d*j-y*b)*P,t[8]=(d*w-g*x+y*m)*P,t):null}function M(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t}function _(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"}function C(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])}function k(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t}function E(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}function P(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t}function A(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t[3]=e[3]+n[3]*i,t[4]=e[4]+n[4]*i,t[5]=e[5]+n[5]*i,t[6]=e[6]+n[6]*i,t[7]=e[7]+n[7]*i,t[8]=e[8]+n[8]*i,t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]}function I(t,e){var n=t[0],r=t[1],o=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],h=t[8],p=e[0],f=e[1],d=e[2],g=e[3],v=e[4],y=e[5],m=e[6],b=e[7],x=e[8];return Math.abs(n-p)<=i["b"]*Math.max(1,Math.abs(n),Math.abs(p))&&Math.abs(r-f)<=i["b"]*Math.max(1,Math.abs(r),Math.abs(f))&&Math.abs(o-d)<=i["b"]*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(a-g)<=i["b"]*Math.max(1,Math.abs(a),Math.abs(g))&&Math.abs(s-v)<=i["b"]*Math.max(1,Math.abs(s),Math.abs(v))&&Math.abs(c-y)<=i["b"]*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(l-m)<=i["b"]*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(u-b)<=i["b"]*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(h-x)<=i["b"]*Math.max(1,Math.abs(h),Math.abs(x))}var B=g,L=E},HzoJ:function(t,e,n){var i=n("b5wT");function r(t,e){return i.map(e,(function(e){var n=t.inEdges(e);if(n.length){var r=i.reduce(n,(function(e,n){var i=t.edge(n),r=t.node(n.v);return{sum:e.sum+i.weight*r.order,weight:e.weight+i.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}t.exports=r},I01J:function(t,e,n){var i=n("44Ds"),r=500;function o(t){var e=i(t,(function(t){return n.size===r&&n.clear(),t})),n=e.cache;return e}t.exports=o},IEcg:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("vYtJ");e.default=function(t){return i.default(t,"Function")}},IOcx:function(t,e,n){"use strict";var i=n("HwUG");n.d(e,"a",(function(){return i}));var r=n("ZxFD");n.d(e,"b",(function(){return r}));var o=n("n+fv");n.d(e,"c",(function(){return o}))},IOzZ:function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},IWTy:function(t,e,n){var i=n("yue5");function r(t,e,n){var r=-1,o=t.criteria,a=e.criteria,s=o.length,c=n.length;while(++r<s){var l=i(o[r],a[r]);if(l){if(r>=c)return l;var u=n[r];return l*("desc"==u?-1:1)}}return t.index-e.index}t.exports=r},IdwV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r=n("F/3T"),o=n("XrzW"),a=n("vRma"),s=n("ecAL"),c=n("bL0d"),l=n("YKzO"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o=this.attr(),u=o.x,h=o.y,p=o.width,f=o.height,d=o.radius;if(d){var g=!1;return n&&(g=c.default(u,h,p,f,d,r,t,e)),!g&&i&&(g=l.default(this,t,e)),g}var v=r/2;return i&&n?a.inBox(u-v,h-v,p+v,f+v,t,e):i?a.inBox(u,h,p,f,t,e):n?s.default(u,h,p,f,r,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.width,a=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,i,r,a);else{var c=o.parseRadius(s),l=c[0],u=c[1],h=c[2],p=c[3];t.moveTo(n+l,i),t.lineTo(n+r-u,i),0!==u&&t.arc(n+r-u,i+u,u,-Math.PI/2,0),t.lineTo(n+r,i+a-h),0!==h&&t.arc(n+r-h,i+a-h,h,0,Math.PI/2),t.lineTo(n+p,i+a),0!==p&&t.arc(n+p,i+a-p,p,Math.PI/2,Math.PI),t.lineTo(n,i+l),0!==l&&t.arc(n+l,i+l,l,Math.PI,1.5*Math.PI),t.closePath()}},e}(r.default);e.default=u},Ig6t:function(t,e,n){var i=n("b5wT"),r=n("tQ6r");function o(t){function e(n){var r=t.children(n),o=t.node(n);if(r.length&&i.forEach(r,e),i.has(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var s=o.minRank,c=o.maxRank+1;s<c;+&