(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"+6XX":function(t,e,n){var r=n("y1pI");function i(t){return r(this.__data__,t)>-1}t.exports=i},"+DwW":function(t,e,n){"use strict";var r=n("mrSG"),i=n("Mw2x"),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;rt.x?t.x:e,n=nt.y?t.y:i,o=o1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):g=f:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),p&&(h||e.shape("",function(){return[p,1,g]}),h)){var y=i.map(function(t){return t[h]}),v=Math.min.apply(Math,y),m=Math.max.apply(Math,y);e.shape(h,function(t){return[p,(t-v)/(m-v),g]})}return t}function u(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,s=n.yField;return Object(o["e"])(Object(c["f"])((e={},e[a]=r,e[s]=i,e)))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function f(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return r?e.legend(i,r):e.legend(!1),t}function p(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.colorField,s=n.sizeField,c=n.heatmapStyle,l=e.geometries[0];return c&&l&&(Object(a["isFunction"])(c)?l.style(r+"*"+i+"*"+o+"*"+s,c):Object(a["isObject"])(c)&&l.style(c)),t}function d(t){var e=t.chart,n=t.options,i=n.label,a=n.colorField,s=n.type,c=Object(o["c"])(e,"density"===s?"heatmap":"polygon");if(i){if(a){var l=i.callback,u=Object(r["c"])(i,["callback"]);c.label({fields:[a],callback:l,cfg:Object(o["r"])(u)})}}else c.label(!1);return t}function g(t){return Object(o["e"])(l,u,c["j"],h,f,c["k"],p,d,Object(c["b"])(),c["c"],c["a"],c["i"])(t)}var y=n("kXyF");Object(y["l"])("polygon","circle",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l)/2,h=Number(t.shape[1]),f=Number(t.shape[2]),p=Math.sqrt(f),d=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill),y=e.addShape("circle",{attrs:Object(r["a"])(Object(r["a"])(Object(r["a"])({x:o,y:a,r:d},t.defaultStyle),t.style),{fill:g})});return y}}),Object(y["l"])("polygon","square",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l),h=Number(t.shape[1]),f=Number(t.shape[2]),p=Math.sqrt(f),d=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill),y=e.addShape("rect",{attrs:Object(r["a"])(Object(r["a"])(Object(r["a"])({x:o-d/2,y:a-d/2,width:d,height:d},t.defaultStyle),t.style),{fill:g})});return y}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return g},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{type:"polygon",legend:!1,xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})}})(i["b"])},"/+3i":function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("zJSt"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l="$$stock-range$$",u="trend",h="up",f="down",p=["#ef5350","#26a69a"],d={showTitle:!1,showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0},itemTpl:'
  • {name}{value}
  • '};function g(t,e){return Object(a["map"])(t,function(t){if(Object(a["isArray"])(e)){var n=e[0],r=e[1],i=e[2],o=e[3];t[u]=t[n]<=t[r]?h:f,t[l]=[t[n],t[r],t[i],t[o]]}return t})}function y(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.data;e.data(g(o,i));var a=e.schema().position(r+"*"+l).shape("candle");return a.color(u,p),t}function v(t){var e,n,r=t.chart,o=t.options,a=o.meta,s=o.xAxis,p=o.yAxis,d=o.xField,g=(e={},e[d]={type:"timeCat",tickCount:6},e[u]={values:[h,f]},e),y=Object(i["b"])(g,a,(n={},n[d]=Object(i["n"])(s,c["a"]),n[l]=Object(i["n"])(p,c["a"]),n));return r.scale(y),t}function m(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(l,i),t}function b(t){var e=t.chart,n=t.options,r=n.xField,o=n.yField,s=n.meta,c=void 0===s?{}:s,l=n.tooltip,u=void 0===l?{}:l,h=Object(i["c"])(e,"schema"),f=o[0],p=o[1],d=o[2],g=o[3],y=c[f]&&c[f].alias||f,v=c[p]?c[p].alias||f:p,m=c[d]&&c[d].alias||d,b=c[g]&&c[g].alias||g,x={fields:[r,f,p,d,g],callback:function(t,e,n,r,i){var o={name:t,value:'\n
    '+y+"\uff1a"+e+'\n
    '+v+"\uff1a"+n+'\n
    '+m+"\uff1a"+r+'\n
    '+b+"\uff1a"+i+"\n "};return o}},O={crosshairs:{text:function(t,e,n){var i={position:"end"};if("x"===t){var o=n[0];i["content"]=o?o.data[r]:e}else i["content"]=e;return i}}};if(u){if(Object(a["isObject"])(u)){var j=Object(i["b"])({},O,u);e.tooltip(j),h.tooltip(x)}}else e.tooltip(!1);return t}function x(t){var e=t.chart,n=t.options,r=n.legend;return r?e.legend(u,r):!1===r&&e.legend(!1),t}function O(t){Object(i["e"])(y,v,s["j"],m,b,x,s["c"],s["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="stock",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(i["b"])({},t.prototype.getDefaultOptions.call(this),{tooltip:d,interactions:[{type:"tooltip"}],legend:{position:"top-left"}})},e.prototype.getSchemaAdaptor=function(){return O},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField;this.chart.changeData(g(t,e))}})(o["b"])},"/3+T":function(t,e,n){"use strict";n.r(e);var r,i=n("mrSG"),o=n("5UbV"),a=n("iTfj"),s=n("MeYt"),c=n("jqgP"),l=n("L16w"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l["a"].lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l["a"].textColor,textAlign:"center",textBaseline:"middle",fontFamily:l["a"].fontFamily}},textBackground:{padding:5,style:{stroke:l["a"].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,r=e.autoRotate,o=e.content;if(!Object(a["isNil"])(o)){var s=this.getTextPoint(),l=null;if(r){var u=this.getRotateAngle();l=Object(c["e"])(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:Object(i["a"])(Object(i["a"])(Object(i["a"])({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line"),r=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:Object(i["a"])({path:e},r)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),s=Object(o["c"])(r.padding),c=r.style,l=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:Object(i["a"])({x:a.x-s[3],y:a.y-s[0],width:a.width+s[1]+s[3],height:a.height+s[0]+s[2],matrix:n.attr("matrix")},c)});l.toBack()}},e}(s["a"]),h=u,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x),o="start"===r?i-Math.PI/2:i+Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o["f"])(e,n,i,a)},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}(h),p=f,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},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,r=this.get("text").position,i="start"===r?e+Math.PI/2:n-Math.PI/2;return i},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,a=r.radius,s=r.startAngle,c=r.endAngle,l="start"===e?s:c,u=this.getRotateAngle()-Math.PI,h=Object(o["e"])(i,a,l),f=Math.cos(u)*n,p=Math.sin(u)*n;return{x:h.x+f,y:h.y+p}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,a=null;if(i-r===2*Math.PI){var s=e.x,c=e.y;a=[["M",s,c-n],["A",n,n,0,1,1,s,c+n],["A",n,n,0,1,1,s,c-n],["Z"]]}else{var l=Object(o["e"])(e,n,r),u=Object(o["e"])(e,n,i),h=Math.abs(i-r)>Math.PI?1:0,f=r>i?0:1;a=[["M",l.x,l.y],["A",n,n,0,h,f,u.x,u.y]]}return a},e}(h),g=d,y=n("fIp6"),v=n("de35"),m="g2-crosshair",b=m+"-line",x=m+"-text",O=(r={},r[""+m]={position:"relative"},r[""+b]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+x]={position:"absolute",color:l["a"].textColor,fontFamily:l["a"].fontFamily},r),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
    ',crosshairTpl:'
    ',textTpl:'{content}',domStyles:null,containerClassName:m,defaultStyles:O,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(y["b"])(e);t.appendChild(n),this.applyStyle(b,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o["f"])(e,n,i,a)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var r=this.getContainer(),i=Object(a["substitute"])(this.get("textTpl"),t);e=Object(y["b"])(i),r.appendChild(e),this.applyStyle(x,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"),r=Math.min(e.x,n.x),i=Math.min(e.y,n.y);this.isVertical(e,n)?Object(y["e"])(t,{width:"1px",height:Object(o["l"])(Math.abs(n.y-e.y))}):Object(y["e"])(t,{height:"1px",width:Object(o["l"])(Math.abs(n.x-e.x))}),Object(y["e"])(t,{top:Object(o["l"])(i),left:Object(o["l"])(r)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,r=this.getTextPoint();switch(e){case"center":r.x=r.x-n/2;break;case"right":r.x=r.x-n;case"left":break}Object(y["e"])(t,{top:Object(o["l"])(r.y),left:Object(o["l"])(r.x)})}},e.prototype.updateInner=function(e){Object(a["hasKey"])(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(v["a"]),w=j;n.d(e,"Line",function(){return p}),n.d(e,"Circle",function(){return g}),n.d(e,"Base",function(){return h}),n.d(e,"Html",function(){return w})},"/9aa":function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Symbol]";function a(t){return"symbol"==typeof t||i(t)&&r(t)==o}t.exports=a},"/f6Q":function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(l++),42!==o&&45!==o&&95!==o)return!1;a=1;while(l
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},l={appendPadding:2,tooltip:Object(r["a"])({},c),animation:{}};n.d(e,"a",function(){return u});var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return l},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(a["b"])({chart:n,options:r}),n.changeData(Object(o["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},"03A+":function(t,e,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},"05BJ":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("lFe4"),a=n("hYLx"),s=n("7cv3"),c={appendPadding:2,tooltip:Object(r["a"])({},s["b"]),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}};n.d(e,"a",function(){return l});var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(a["b"])({chart:n,options:r}),n.changeData(Object(o["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},"0Cz8":function(t,e,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.lengthMath.PI/2?Math.PI-l:l,u=u>Math.PI/2?Math.PI-u:u;var h={xExtra:Math.cos(c/2-l)*(e/2*(1/Math.sin(c/2)))-e/2||0,yExtra:Math.cos(u-c/2)*(e/2*(1/Math.sin(c/2)))-e/2||0};return h}var b=function(t){var e=t.attr(),n=e.path,r=e.stroke,i=r?e.lineWidth:0,o=t.get("segments")||Object(g["e"])(n),a=v(o,i),s=a.x,c=a.y,l=a.width,h=a.height,f={minX:s,minY:c,maxX:s+l,maxY:c+h};return f=u(t,f),{x:f.minX,y:f.minY,width:f.maxX-f.minX,height:f.maxY-f.minY}},x=function(t){var e=t.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=Math.min(n,i),s=Math.max(n,i),c=Math.min(r,o),l=Math.max(r,o),h={minX:a,maxX:s,minY:c,maxY:l};return h=u(t,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}},O=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;return{x:n-i,y:r-o,width:2*i,height:2*o}};n.d(e,"a",function(){return o}),i("rect",a),i("image",a),i("circle",s),i("marker",s),i("polyline",h),i("polygon",f),i("text",d),i("path",b),i("line",x),i("ellipse",O)},"1nBO":function(t,e,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;t.exports=function(t,e,n,o){var a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,j=0,w=t.bMarks[e]+t.tShift[e],k=t.eMarks[e],S=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(w))return!1;while(++w3)&&!(t.sCount[S]<0)){for(b=!1,h=0,f=x.length;hr?i=r-n:t+n32))return c;if(41===i){if(0===o)break;o--}e++}}return s===e?c:0!==o?c:(c.str=r(t.slice(s,e)),c.lines=a,c.pos=e,c.ok=!0,c)}},"5OoT":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t,e){return Object(r["isNumber"])(t)&&Object(r["isNumber"])(e)?t===e?"100%":0===t?"\u221e":0===e?"-\u221e":(100*e/t).toFixed(2)+"%":"-"}},"5Tg0":function(t,e,n){(function(t){var r=n("Kz5y"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?r.Buffer:void 0,c=s?s.allocUnsafe:void 0;function l(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}t.exports=l}).call(this,n("YuTi")(t))},"5UbV":function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"h",function(){return a}),n.d(e,"k",function(){return s}),n.d(e,"j",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"g",function(){return u}),n.d(e,"e",function(){return h}),n.d(e,"i",function(){return p}),n.d(e,"d",function(){return g}),n.d(e,"m",function(){return y}),n.d(e,"l",function(){return v}),n.d(e,"f",function(){return m});var r=n("iTfj");function i(t){var e=0,n=0,i=0,o=0;return Object(r["isNumber"])(t)?e=n=i=o=t:Object(r["isArray"])(t)&&(e=t[0],i=Object(r["isNil"])(t[1])?t[0]:t[1],o=Object(r["isNil"])(t[2])?t[0]:t[2],n=Object(r["isNil"])(t[3])?i:t[3]),[e,i,o,n]}function o(t){for(var e=t.childNodes,n=e.length,r=n-1;r>=0;r--)t.removeChild(e[r])}function a(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function s(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function c(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),o=Math.max.apply(Math,e),a=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function l(t,e,n,r){var i=t+n,o=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(o)?0:o}}function u(t,e,n){return(1-n)*t+e*n}function h(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}function f(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}var p=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)0?Object(r["each"])(u,function(t){if(t.get("visible")){if(t.isGroup()&&0===t.get("children").length)return!0;var e=g(t),n=t.applyToMatrix([e.minX,e.minY,1]),r=t.applyToMatrix([e.minX,e.maxY,1]),i=t.applyToMatrix([e.maxX,e.minY,1]),l=t.applyToMatrix([e.maxX,e.maxY,1]),u=Math.min(n[0],r[0],i[0],l[0]),h=Math.max(n[0],r[0],i[0],l[0]),f=Math.min(n[1],r[1],i[1],l[1]),p=Math.max(n[1],r[1],i[1],l[1]);ua&&(a=h),fc&&(c=p)}}):(o=0,a=0,s=0,c=0),e=l(o,s,a-o,c-s)}else e=t.getBBox();return i?d(e,i):e}function y(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(n){var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}else t.setClip(null)}}function v(t){return t+"px"}function m(t,e,n,r){var i=f(t,e),o=r/i,a=0;return"start"===n?a=0-o:"end"===n&&(a=1+o),{x:u(t.x,e.x,a),y:u(t.y,e.y,a)}}},"5bFI":function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("iTfj"),o=n("BgvD"),a=n("jqgP"),s=n("l3hu"),c=n("L16w"),l=n("MeYt"),u=n("5UbV"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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("maxWidth"),r=this.get("maxHeight"),i=e.width,o=e.height;return n&&(i=Math.min(i,n)),r&&(o=Math.min(o,r)),Object(u["b"])(e.minX,e.minY,i,o)},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"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},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=Object(u["c"])(e.padding),o=Object(r["a"])({x:0,y:0,width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},e.style),a=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});a.toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),i=n.spacing,o=n.style,a=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:Object(r["a"])({text:a,x:e.x,y:e.y},o)}),c=s.getBBox();this.set("currentPoint",{x:e.x,y:c.maxY+i})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=Object(u["c"])(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(l["a"]),f=h,p=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.currentPageIndexg&&(g=m),"horizontal"===f?(y&&ym&&(m=e.width)}),b=m,m+=h,c&&(m=Math.min(c,m),b=Math.min(c,b)),this.pageWidth=m,this.pageHeight=l-Math.max(d.height,f+x);var O=Math.floor(this.pageHeight/(f+x));Object(i["each"])(s,function(t,e){0!==e&&e%O===0&&(y+=1,g.x+=m,g.y=o),n.moveElementTo(t,g),t.getParent().setClip({type:"rect",attrs:{x:g.x,y:g.y,width:m,height:f}}),g.y+=f+x}),this.totalPagesCnt=y,this.moveElementTo(p,{x:r+b/2-d.width/2-d.minX,y:l-d.height-d.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=y,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,r){var i={x:0,y:0},o=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),a=this.drawArrow(o,i,"navigation-arrow-left","horizontal"===e?"up":"left",r);a.on("click",this.onNavigationBack);var s=a.getBBox();i.x+=s.width+2;var c=this.addShape(o,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:{x:i.x,y:i.y+r/2,text:n,fontSize:12,fill:"#ccc",textBaseline:"middle"}}),l=c.getBBox();i.x+=l.width+2;var u=this.drawArrow(o,i,"navigation-arrow-right","horizontal"===e?"down":"right",r);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"),r=t?t.findById(this.getElementId("navigation-arrow-left")):this.getElementByLocalId("navigation-arrow-left"),i=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),r.attr("opacity",1===this.currentPageIndex?.45:1),r.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),i.attr("opacity",this.currentPageIndex===this.totalPagesCnt?.45:1),i.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer")},e.prototype.drawArrow=function(t,e,n,r,i){var o=e.x,s=e.y,c={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},l=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:{path:[["M",o+i/2,s],["L",o,s+i],["L",o+i,s+i],["Z"]],fill:"#000",cursor:"pointer"}});return l.attr("matrix",Object(a["e"])({x:o+i/2,y:s+i/2},c[r])),l},e.prototype.getCurrentNavigationMatrix=function(){var t=this,e=t.currentPageIndex,n=t.pageWidth,r=t.pageHeight,i=this.get("layout"),o="horizontal"===i?{x:0,y:r*(1-e)}:{x:n*(1-e),y:0};return Object(a["f"])(o)},e.prototype.applyItemStates=function(t,e){var n=this.getItemStates(t),r=n.length>0;if(r){var o=e.getChildren(),a=this.get("itemStates");Object(i["each"])(o,function(e){var n=e.get("name"),r=n.split("-")[2],i=Object(s["a"])(t,r,a);i&&(e.attr(i),"marker"!==r||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}(f),d=p,g=1.4,y=.4,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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:c["a"].textColor,textBaseline:"middle",fontFamily:c["a"].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:c["a"].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),r=e.getCurrentValue(),i=r[1];in&&(i=n),e.setValue([i,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 r=e.getValueByCanvasPoint(n.x,n.y),i=e.getValueByCanvasPoint(t.x,t.y),o=e.getCurrentValue(),a=o[1]-o[0],s=e.getRange(),c=i-r;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]+co&&(l=o),l0&&this.changeRailLength(r,a,n[a]-f)}},e.prototype.changeRailLength=function(t,e,n){var r,i=t.getBBox();r="height"===e?this.getRailPath(i.x,i.y,i.width,n):this.getRailPath(i.x,i.y,n,i.height),t.attr("path",r)},e.prototype.changeRailPosition=function(t,e,n){var r=t.getBBox(),i=this.getRailPath(e,n,r.width,r.height);t.attr("path",i)},e.prototype.fixedHorizontal=function(t,e,n,r){var i=this.get("label"),o=i.align,a=i.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:r.x,y:r.y+u/2}),this.changeRailPosition(n,r.x+c.width+a,r.y),e.attr({x:r.x+c.width+s.width+2*a,y:r.y+u/2})):"top"===o?(t.attr({x:r.x,y:r.y}),e.attr({x:r.x+s.width,y:r.y}),this.changeRailPosition(n,r.x,r.y+c.height+a)):(this.changeRailPosition(n,r.x,r.y),t.attr({x:r.x,y:r.y+s.height+a}),e.attr({x:r.x+s.width,y:r.y+s.height+a}))},e.prototype.fixedVertail=function(t,e,n,r){var i=this.get("label"),o=i.align,a=i.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:r.x,y:r.y}),this.changeRailPosition(n,r.x,r.y+c.height+a),e.attr({x:r.x,y:r.y+c.height+s.height+2*a});else if("right"===o)t.attr({x:r.x+s.width+a,y:r.y}),this.changeRailPosition(n,r.x,r.y),e.attr({x:r.x+s.width+a,y:r.y+s.height});else{var u=Math.max(c.width,l.width);t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x+u+a,r.y),e.attr({x:r.x,y:r.y+s.height})}},e}(f),m=v;n.d(e,"Category",function(){return d}),n.d(e,"Continuous",function(){return m}),n.d(e,"Base",function(){return f})},"5eLp":function(t,e,n){"use strict";var r=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"]=r},"5z4m":function(t,e,n){"use strict";var r=n("mrSG"),i=n("aFU3"),o=n("iTfj"),a=n("aN7R"),s=n("c0lT"),c=n("APlK"),l=n("IvmH"),u=n("c+wO"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=Object(u["b"])("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n?n.appendChild(t):(n=e.createDom(),e.set("el",n),n.appendChild(t))}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){Object(s["b"])(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),Object(c["a"])(this,t),this.createPath(t),e.length&&Object(s["a"])(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(o["each"])(e||n,function(t,e){l["b"][e]&&r.setAttribute(l["b"][e],t)}),Object(c["c"])(this)},e}(i["AbstractGroup"]);e["a"]=h},"6A5J":function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,j,w,k,S=t.lineMax,C=t.bMarks[e]+t.tShift[e],M=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(C++))return!1;if(i)return!0;c=p=t.sCount[e]+1,32===t.src.charCodeAt(C)?(C++,c++,p++,o=!1,x=!0):9===t.src.charCodeAt(C)?(x=!0,(t.bsCount[e]+p)%4===3?(C++,c++,p++,o=!1):o=!0):x=!1,d=[t.bMarks[e]],t.bMarks[e]=C;while(C=M,m=[t.sCount[e]],t.sCount[e]=p-c,b=[t.tShift[e]],t.tShift[e]=C-t.bMarks[e],j=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",f=e+1;f=M)break;if(62!==t.src.charCodeAt(C++)||k){if(u)break;for(O=!1,s=0,l=j.length;s=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(x?1:0),m.push(t.sCount[f]),t.sCount[f]=p-c,b.push(t.tShift[f]),t.tShift[f]=C-t.bMarks[f]}}for(y=t.blkIndent,t.blkIndent=0,w=t.push("blockquote_open","blockquote",1),w.markup=">",w.map=h=[e,0],t.md.block.tokenize(t,e,f),w=t.push("blockquote_close","blockquote",-1),w.markup=">",t.lineMax=S,t.parentType=v,h[1]=t.line,s=0;s=0;return n?o?2*Math.PI-r:r:o?r:2*Math.PI-r}function f(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}n.d(e,"b",function(){return i["a"]}),n.d(e,"c",function(){return i["b"]}),n.d(e,"d",function(){return i["c"]}),n.d(e,"a",function(){return r})},"6UX8":function(t,e,n){"use strict";var r=n("iTfj"),i=/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,r){return t[r]+(e[r]-t[r])*n};function h(t){return"#"+d(t[0])+d(t[1])+d(t[2])}var f,p=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),r=t.length-1,i=Math.floor(r*n),o=r*n-i,a=t[i],s=i===r?a:t[i+1];return h([u(a,s,o,0),u(a,s,o,1),u(a,s,o,2)])},y=function(t){if("#"===t[0]&&7===t.length)return t;f||(f=l()),f.style.color=t;var e=document.defaultView.getComputedStyle(f,"").getPropertyValue("color"),n=i.exec(e),r=n[1].split(/\s*,\s*/).map(function(t){return Number(t)});return e=h(r),e},v=function(t){var e=Object(r["isString"])(t)?t.split("-"):t,n=Object(r["map"])(e,function(t){return p(-1===t.indexOf("#")?y(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 i=o.exec(t),l=+i[1]+90;n=i[2],e="linear-gradient("+l+"deg, "}else if("r"===t[0]){e="radial-gradient(";i=a.exec(t);n=i[4]}var u=n.match(s);return Object(r["each"])(u,function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==u.length-1&&(e+=", ")}),e+=")",e}return t};e["a"]={rgb2arr:p,gradient:v,toRGB:Object(r["memoize"])(y),toCSSGradient:m}},"6YkS":function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserRouter",function(){return h}),n.d(e,"HashRouter",function(){return f}),n.d(e,"Link",function(){return b}),n.d(e,"NavLink",function(){return w});var r=n("CxXe");n.d(e,"MemoryRouter",function(){return r["a"]}),n.d(e,"Prompt",function(){return r["b"]}),n.d(e,"Redirect",function(){return r["c"]}),n.d(e,"Route",function(){return r["d"]}),n.d(e,"Router",function(){return r["e"]}),n.d(e,"StaticRouter",function(){return r["f"]}),n.d(e,"Switch",function(){return r["g"]}),n.d(e,"__RouterContext",function(){return r["h"]}),n.d(e,"generatePath",function(){return r["i"]}),n.d(e,"matchPath",function(){return r["j"]}),n.d(e,"useHistory",function(){return r["k"]}),n.d(e,"useLocation",function(){return r["l"]}),n.d(e,"useParams",function(){return r["m"]}),n.d(e,"useRouteMatch",function(){return r["n"]}),n.d(e,"withRouter",function(){return r["o"]});var i=n("ohPV"),o=n("q1tI"),a=n.n(o),s=n("g0MP"),c=(n("17x9"),n("EVqI")),l=n("MWgS"),u=n("9R94"),h=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i=a.left?o.left:a.left;r.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,u),i.autoPadding=n.instance(o.bottom/2+5,a.right,a.bottom,u)}if(!d(c)&&"top"===l){u=o.left>=a.left?o.left:a.left;r.autoPadding=n.instance(o.top,o.right,0,u),i.autoPadding=n.instance(0,a.right,o.top,u)}}function y(t){var e,n,r=t.chart,i=t.options,o=i.data,s=i.xField,c=i.yField,g=i.color,y=i.barStyle,v=i.widthRatio,m=i.legend,b=i.layout,x=p(s,c,f,o,d(b));m?r.legend(f,m):!1===m&&r.legend(!1);var O=x[0],j=x[1];d(b)?(e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:u}),e.coordinate().transpose().reflect("x"),n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:h}),n.coordinate().transpose(),e.data(O),n.data(j)):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:u}),n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:h}),n.coordinate().reflect("y").rotate(0*Math.PI),e.data(O),n.data(j));var w=Object(a["b"])({},t,{chart:e,options:{widthRatio:v,xField:s,yField:c[0],seriesField:f,interval:{color:g,style:y}}});Object(l["c"])(w);var k=Object(a["b"])({},t,{chart:n,options:{xField:s,yField:c[1],seriesField:f,widthRatio:v,interval:{color:g,style:y}}});return Object(l["c"])(k),t}function v(t){var e,n,r,i=t.options,o=t.chart,l=i.xAxis,p=i.yAxis,d=i.xField,g=i.yField,y=Object(a["d"])(o,u),v=Object(a["d"])(o,h),m={};return Object(s["keys"])((null===i||void 0===i?void 0:i.meta)||{}).map(function(t){Object(s["get"])(null===i||void 0===i?void 0:i.meta,[t,"alias"])&&(m[t]=i.meta[t].alias)}),o.scale((e={},e[f]={sync:!0,formatter:function(t){return Object(s["get"])(m,t,t)}},e)),Object(c["f"])((n={},n[d]=l,n[g[0]]=p[g[0]],n))(Object(a["b"])({},t,{chart:y})),Object(c["f"])((r={},r[d]=l,r[g[1]]=p[g[1]],r))(Object(a["b"])({},t,{chart:v})),t}function m(t){var e=t.chart,n=t.options,i=n.xAxis,o=n.yAxis,s=n.xField,c=n.yField,l=n.layout,f=Object(a["d"])(e,u),p=Object(a["d"])(e,h);return p.axis(s,!1),!1===i?f.axis(s,!1):f.axis(s,Object(r["a"])({position:d(l)?"top":"bottom"},i)),!1===o?(f.axis(c[0],!1),p.axis(c[1],!1)):(f.axis(c[0],o[c[0]]),p.axis(c[1],o[c[1]])),e.__axisPosition={position:f.getOptions().axes[s].position,layout:l},t}function b(t){var e=t.chart;return Object(c["c"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u)})),Object(c["c"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h)})),t}function x(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return Object(c["e"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u),options:{yAxis:i[r[0]]}})),Object(c["e"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h),options:{yAxis:i[r[1]]}})),t}function O(t){var e=t.chart;return Object(c["j"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u)})),Object(c["j"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h)})),t}function j(t){var e=t.chart;return Object(c["a"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u)})),Object(c["a"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h)})),t}function w(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=Object(a["d"])(e,u),c=Object(a["d"])(e,h),l=Object(a["c"])(s,"interval"),f=Object(a["c"])(c,"interval");if(i){var p=i.callback,d=Object(r["c"])(i,["callback"]);l.label({fields:[o[0]],callback:p,cfg:Object(a["r"])(d)}),f.label({fields:[o[1]],callback:p,cfg:Object(a["r"])(d)})}else l.label(!1),f.label(!1);return t}function k(t){return Object(a["e"])(y,v,m,x,O,w,c["k"],b,j)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){void 0===t&&(t=[]),this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null)),this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,o=e.layout,s=p(n,r,f,t,d(o)),c=s[0],l=s[1],g=Object(a["d"])(this.chart,u),y=Object(a["d"])(this.chart,h);g.data(c),y.data(l),this.chart.render(!0),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return Object(a["b"])({},t.prototype.getDefaultOptions.call(this),{syncViewPadding:g})},e.prototype.getSchemaAdaptor=function(){return k}})(o["b"])},"7bO/":function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"take",function(){return Mt}),n.d(r,"takem",function(){return At}),n.d(r,"put",function(){return Tt}),n.d(r,"all",function(){return Et}),n.d(r,"race",function(){return Pt}),n.d(r,"call",function(){return Lt}),n.d(r,"apply",function(){return Ft}),n.d(r,"cps",function(){return It}),n.d(r,"fork",function(){return Dt}),n.d(r,"spawn",function(){return Bt}),n.d(r,"join",function(){return Rt}),n.d(r,"cancel",function(){return Nt}),n.d(r,"select",function(){return zt}),n.d(r,"actionChannel",function(){return Yt}),n.d(r,"cancelled",function(){return Gt}),n.d(r,"flush",function(){return Vt}),n.d(r,"getContext",function(){return Wt}),n.d(r,"setContext",function(){return Ht}),n.d(r,"takeEvery",function(){return me}),n.d(r,"takeLatest",function(){return be}),n.d(r,"throttle",function(){return xe});var i=Object.assign||function(t){for(var e=1;e=0&&t.splice(n,1)}var w={from:function(t){var e=Array(t.length);for(var n in t)b(t,n)&&(e[n]=t[n]);return e}};function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i({},t),n=new Promise(function(t,n){e.resolve=t,e.reject=n});return e.promise=n,e}function S(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(e)},t)});return r[u]=function(){return clearTimeout(n)},r}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}var M=C(),A=function(t){throw t},T=function(t){return{value:t,done:!0}};function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i={name:n,next:t,throw:e,return:T};return r&&(i[c]=!0),"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"===typeof window?console.log("redux-saga "+t+": "+e+"\n"+(n&&n.stack||n)):console[t](e,n)}function _(t,e){return function(){return t.apply(void 0,arguments)}}var L=function(t,e){return t+" has been deprecated in favor of "+e+", please update your code"},F=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")},I=function(t,e){return(t?t+".":"")+"setContext(props): argument "+e+" is not a plain object"},D=function(t){return function(e){return t(Object.defineProperty(e,h,{value:!0}))}},B="Channel's Buffer overflow!",R=1,N=2,z=3,Y=4,G={isEmpty:d,put:g,take:g};function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,i=0,o=0,a=function(e){n[i]=e,i=(i+1)%t,r++},s=function(){if(0!=r){var e=n[o];return n[o]=null,r--,o=(o+1)%t,e}},c=function(){var t=[];while(r)t.push(s());return t};return{isEmpty:function(){return 0==r},put:function(s){if(r0&&void 0!==arguments[0]?arguments[0]:W.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw F("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw F("Cannot have pending takers with non empty buffer")}function i(i){if(r(),v(i,x.notUndef,it),!e){if(!n.length)return t.put(i);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:W.none(),n=arguments[2];arguments.length>2&&v(n,x.func,"Invalid match function passed to eventChannel");var r=ot(e),i=function(){r.__closed__||(o&&o(),r.close())},o=t(function(t){et(t)?i():n&&!n(t)||r.put(t)});if(r.__closed__&&o(),!x.func(o))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:i}}function st(t){var e=at(function(e){return t(function(t){t[h]?e(t):q(function(){return e(t)})})});return $({},e,{take:function(t,n){arguments.length>1&&(v(n,x.func,"channel.take's matcher argument must be a function"),t[l]=n),e.take(t)}})}var ct=a("IO"),lt="TAKE",ut="PUT",ht="ALL",ft="RACE",pt="CALL",dt="CPS",gt="FORK",yt="JOIN",vt="CANCEL",mt="SELECT",bt="ACTION_CHANNEL",xt="CANCELLED",Ot="FLUSH",jt="GET_CONTEXT",wt="SET_CONTEXT",kt="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",St=function(t,e){var n;return n={},n[ct]=!0,n[t]=e,n},Ct=function(t){return v(Ut.fork(t),x.object,"detach(eff): argument must be a fork effect"),t[gt].detached=!0,t};function Mt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&v(arguments[0],x.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),x.pattern(t))return St(lt,{pattern:t});if(x.channel(t))return St(lt,{channel:t});throw new Error("take(patternOrChannel): argument "+String(t)+" is not valid channel or a valid pattern")}Mt.maybe=function(){var t=Mt.apply(void 0,arguments);return t[lt].maybe=!0,t};var At=_(Mt.maybe,L("takem","take.maybe"));function Tt(t,e){return arguments.length>1?(v(t,x.notUndef,"put(channel, action): argument channel is undefined"),v(t,x.channel,"put(channel, action): argument "+t+" is not a valid channel"),v(e,x.notUndef,"put(channel, action): argument action is undefined")):(v(t,x.notUndef,"put(action): argument action is undefined"),e=t,t=null),St(ut,{channel:t,action:e})}function Et(t){return St(ht,t)}function Pt(t){return St(ft,t)}function _t(t,e,n){v(e,x.notUndef,t+": argument fn is undefined");var r=null;if(x.array(e)){var i=e;r=i[0],e=i[1]}else if(e.fn){var o=e;r=o.context,e=o.fn}return r&&x.string(e)&&x.func(r[e])&&(e=r[e]),v(e,x.func,t+": argument "+e+" is not a function"),{context:r,fn:e,args:n}}function Lt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:[];return St(pt,_t("apply",{context:t,fn:e},n))}function It(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1)return Et(e.map(function(t){return Rt(t)}));var r=e[0];return v(r,x.notUndef,"join(task): argument task is undefined"),v(r,x.task,"join(task): argument "+r+" is not a valid Task object "+kt),St(yt,r)}function Nt(){for(var t=arguments.length,e=Array(t),n=0;n1)return Et(e.map(function(t){return Nt(t)}));var r=e[0];return 1===e.length&&(v(r,x.notUndef,"cancel(task): argument task is undefined"),v(r,x.task,"cancel(task): argument "+r+" is not a valid Task object "+kt)),St(vt,r||f)}function zt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1&&(v(e,x.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),v(e,x.buffer,"actionChannel(pattern, buffer): argument "+e+" is not a valid buffer")),St(bt,{pattern:t,buffer:e})}function Gt(){return St(xt,{})}function Vt(t){return v(t,x.channel,"flush(channel): argument "+t+" is not valid channel"),St(Ot,t)}function Wt(t){return v(t,x.string,"getContext(prop): argument "+t+" is not a string"),St(jt,t)}function Ht(t){return v(t,x.object,I(null,t)),St(wt,t)}Tt.resolve=function(){var t=Tt.apply(void 0,arguments);return t[ut].resolve=!0,t},Tt.sync=_(Tt.resolve,L("put.sync","put.resolve"));var Xt=function(t){return function(e){return e&&e[ct]&&e[t]}},Ut={take:Xt(lt),put:Xt(ut),all:Xt(ht),race:Xt(ft),call:Xt(pt),cps:Xt(dt),fork:Xt(gt),join:Xt(yt),cancel:Xt(vt),select:Xt(mt),actionChannel:Xt(bt),cancelled:Xt(xt),flush:Xt(Ot),getContext:Xt(jt),setContext:Xt(wt)},qt=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:function(){return g},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"anonymous",l=arguments[8];v(t,x.iterator,Qt);var h="[...effects]",p=_(tt,L(h,"all("+h+")")),d=o.sagaMonitor,y=o.logger,m=o.onError,b=y||P,S=function(t){var e=t.sagaStack;!e&&t.stack&&(e=-1!==t.stack.split("\n")[0].indexOf(t.message)?t.stack:"Error: "+t.message+"\n"+t.stack),b("error","uncaught at "+c,e||t.message||t)},C=st(e),A=Object.create(i);R.cancel=g;var T=ht(a,c,t,l),E={name:c,cancel:D,isRunning:!0},F=ne(c,E,N);function D(){E.isRunning&&!E.isCancelled&&(E.isCancelled=!0,R(Jt))}function B(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,F.cancelAll(),N(Jt))}return l&&(l.cancel=B),t._isRunning=!0,R(),T;function R(e,n){if(!E.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=t.throw(e):e===Jt?(E.isCancelled=!0,R.cancel(),r=x.func(t.return)?t.return(Jt):{done:!0,value:Jt}):r=e===$t?x.func(t.return)?t.return():{done:!0}:t.next(e),r.done?(E.isMainRunning=!1,E.cont&&E.cont(r.value)):z(r.value,a,"",R)}catch(t){E.isCancelled&&S(t),E.isMainRunning=!1,E.cont(t,!0)}}function N(e,n){t._isRunning=!1,C.close(),n?(e instanceof Error&&Object.defineProperty(e,"sagaStack",{value:"at "+c+" \n "+(e.sagaStack||e.stack),configurable:!0}),T.cont||(e instanceof Error&&m?m(e):S(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),T.cont&&T.cont(e,n),T.joiners.forEach(function(t){return t.cb(e,n)}),T.joiners=null}function z(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i=M();d&&d.effectTriggered({effectId:i,parentEffectId:e,label:n,effect:t});var o=void 0;function a(t,e){o||(o=!0,r.cancel=g,d&&(e?d.effectRejected(i,t):d.effectResolved(i,t)),r(t,e))}a.cancel=g,r.cancel=function(){if(!o){o=!0;try{a.cancel()}catch(t){S(t)}a.cancel=g,d&&d.effectCancelled(i)}};var s=void 0;return x.promise(t)?Y(t,a):x.helper(t)?K(ie(t),i,a):x.iterator(t)?G(t,i,c,a):x.array(t)?p(t,i,a):(s=Ut.take(t))?V(s,a):(s=Ut.put(t))?H(s,a):(s=Ut.all(t))?tt(s,i,a):(s=Ut.race(t))?nt(s,i,a):(s=Ut.call(t))?X(s,i,a):(s=Ut.cps(t))?U(s,a):(s=Ut.fork(t))?K(s,i,a):(s=Ut.join(t))?$(s,a):(s=Ut.cancel(t))?J(s,a):(s=Ut.select(t))?rt(s,a):(s=Ut.actionChannel(t))?it(s,a):(s=Ut.flush(t))?ct(s,a):(s=Ut.cancelled(t))?ot(s,a):(s=Ut.getContext(t))?lt(s,a):(s=Ut.setContext(t))?ut(s,a):a(t)}function Y(t,e){var n=t[u];x.func(n)?e.cancel=n:x.func(t.abort)&&(e.cancel=function(){return t.abort()}),t.then(e,function(t){return e(t,!0)})}function G(t,i,a,s){oe(t,e,n,r,A,o,i,a,s)}function V(t,e){var n=t.channel,r=t.pattern,i=t.maybe;n=n||C;var o=function(t){return t instanceof Error?e(t,!0):et(t)&&!i?e($t):e(t)};try{n.take(o,ee(r))}catch(t){return e(t,!0)}e.cancel=o.cancel}function H(t,e){var r=t.channel,i=t.action,o=t.resolve;q(function(){var t=void 0;try{t=(r?r.put:n)(i)}catch(t){if(r||o)return e(t,!0);S(t)}if(!o||!x.promise(t))return e(t);Y(t,e)})}function X(t,e,n){var r=t.context,i=t.fn,o=t.args,a=void 0;try{a=i.apply(r,o)}catch(t){return n(t,!0)}return x.promise(a)?Y(a,n):x.iterator(a)?G(a,e,i.name,n):n(a)}function U(t,e){var n=t.context,r=t.fn,i=t.args;try{var o=function(t,n){return x.undef(t)?e(n):e(t,!0)};r.apply(n,i.concat(o)),o.cancel&&(e.cancel=function(){return o.cancel()})}catch(t){return e(t,!0)}}function K(t,i,a){var s=t.context,c=t.fn,l=t.args,u=t.detached,h=re({context:s,fn:c,args:l});try{Z();var f=oe(h,e,n,r,A,o,i,c.name,u?null:g);u?a(f):h._isRunning?(F.addTask(f),a(f)):h._error?F.abort(h._error):a(f)}finally{Q()}}function $(t,e){if(t.isRunning()){var n={task:T,cb:e};e.cancel=function(){return j(t.joiners,n)},t.joiners.push(n)}else t.isAborted()?e(t.error(),!0):e(t.result())}function J(t,e){t===f&&(t=T),t.isRunning()&&t.cancel(),e()}function tt(t,e,n){var r=Object.keys(t);if(!r.length)return n(x.array(t)?[]:{});var i=0,o=void 0,a={},s={};function c(){i===r.length&&(o=!0,n(x.array(t)?w.from(qt({},a,{length:r.length})):a))}r.forEach(function(t){var e=function(e,r){o||(r||et(e)||e===$t||e===Jt?(n.cancel(),n(e,r)):(a[t]=e,i++,c()))};e.cancel=g,s[t]=e}),n.cancel=function(){o||(o=!0,r.forEach(function(t){return s[t].cancel()}))},r.forEach(function(n){return z(t[n],e,n,s[n])})}function nt(t,e,n){var r=void 0,i=Object.keys(t),o={};i.forEach(function(e){var a=function(o,a){if(!r)if(a)n.cancel(),n(o,!0);else if(!et(o)&&o!==$t&&o!==Jt){var s;n.cancel(),r=!0;var c=(s={},s[e]=o,s);n(x.array(t)?[].slice.call(qt({},c,{length:i.length})):c)}};a.cancel=g,o[e]=a}),n.cancel=function(){r||(r=!0,i.forEach(function(t){return o[t].cancel()}))},i.forEach(function(n){r||z(t[n],e,n,o[n])})}function rt(t,e){var n=t.selector,i=t.args;try{var o=n.apply(void 0,[r()].concat(i));e(o)}catch(t){e(t,!0)}}function it(t,n){var r=t.pattern,i=t.buffer,o=ee(r);o.pattern=r,n(at(e,i||W.fixed(),o))}function ot(t,e){e(!!E.isCancelled)}function ct(t,e){t.flush(e)}function lt(t,e){e(A[t])}function ut(t,e){O.assign(A,t),e()}function ht(t,e,n,r){var i,o,a;return n._deferredEnd=null,o={},o[s]=!0,o.id=t,o.name=e,i="done",a={},a[i]=a[i]||{},a[i].get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var t=k();return n._deferredEnd=t,n._isRunning||(n._error?t.reject(n._error):t.resolve(n._result)),t.promise},o.cont=r,o.joiners=[],o.cancel=B,o.isRunning=function(){return n._isRunning},o.isCancelled=function(){return n._isCancelled},o.isAborted=function(){return n._isAborted},o.result=function(){return n._result},o.error=function(){return n._error},o.setContext=function(t){v(t,x.object,I("task",t)),O.assign(A,t)},Kt(o,a),o}}var ae="runSaga(storeInterface, saga, ...args)",se=ae+": saga argument must be a Generator function!";function ce(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function ue(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.context,n=void 0===e?{}:e,r=le(t,["context"]),i=r.sagaMonitor,o=r.logger,a=r.onError;if(x.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(o&&!x.func(o))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(a&&!x.func(a))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!x.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function s(t){var e=t.getState,c=t.dispatch,l=nt();return l.emit=(r.emitter||y)(l.emit),s.run=ce.bind(null,{context:n,subscribe:l.subscribe,dispatch:c,getState:e,sagaMonitor:i,logger:o,onError:a}),function(t){return function(e){i&&i.actionDispatched&&i.actionDispatched(e);var n=t(e);return l.emit(e),n}}}return s.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},s.setContext=function(t){v(t,x.object,I("sagaMiddleware",t)),O.assign(n,t)},s}var he={done:!0,value:void 0},fe={};function pe(t){return x.channel(t)?"channel":Array.isArray(t)?String(t.map(function(t){return String(t)})):String(t)}function de(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",r=void 0,i=e;function o(e,n){if(i===fe)return he;if(n)throw i=fe,n;r&&r(e);var o=t[i](),a=o[0],s=o[1],c=o[2];return i=a,r=c,i===fe?he:s}return E(o,function(t){return o(null,t)},n,!0)}function ge(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},c={appendPadding:2,tooltip:Object(r["a"])({},s),animation:{}}},"7s0d":function(t,e,n){"use strict";var r=n("FH2j");n.d(e,"getAdjust",function(){return r["getAdjust"]});n("Qci9");var i=n("lOPJ"),o=n("KavR"),a=n("8FoI"),s=n("96lr");n("WbAE");Object(r["registerAdjust"])("Dodge",i["a"]),Object(r["registerAdjust"])("Jitter",o["a"]),Object(r["registerAdjust"])("Stack",a["a"]),Object(r["registerAdjust"])("Symmetric",s["a"])},"88Gu":function(t,e){var n=800,r=16,i=Date.now;function o(t){var e=0,o=0;return function(){var a=i(),s=r-(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 r=n("AA7f"),i=n("iTfj"),o=n("Qci9"),a=i["Cache"],s=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=void 0===r?["y"]:r,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=i,n.height=a,n.size=c,n.reverseOrder=u,n}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=this,n=e.yField,r=e.reverseOrder,i=n?this.processStack(t):this.processOneDimStack(t);return r?this.reverse(i):i},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=i["get"](t,n,0),s=i["get"](t,[o]),c=a.toString();if(s=i["isArray"](s)?s[1]:s,!i["isNil"](s)){var h=s>=0?l:u;h.has(c)||h.set(c,0);var f=h.get(c),p=s+f;return h.set(c,p),Object(r["a"])(Object(r["a"])({},t),(e={},e[o]=[f,p],e))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this,i=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[i],l=2*a/o;u.has(s)||u.set(s,l/2);var h=u.get(s);return u.set(s,h+l),Object(r["a"])(Object(r["a"])({},t),(n={},n[c]=h,n))})})},e}(o["a"]);e["a"]=s},"8vsG":function(t,e,n){"use strict";var r=n("iTfj"),i={};function o(t){return i[t]}function a(t,e){i[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(r["assign"])(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return Object(r["map"])(this.ticks,function(e,n){return Object(r["isObject"])(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return Object(r["isNil"])(i)||!Object(r["isFunction"])(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){Object(r["assign"])(this,this.__cfg__),this.setDomain(),Object(r["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(r["isString"])(t)){var n=o(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else Object(r["isFunction"])(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return Object(r["head"])(this.range)},t.prototype.rangeMax=function(){return Object(r["last"])(this.range)},t.prototype.calcPercent=function(t,e,n){return Object(r["isNumber"])(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),c=s,l=n("mrSG"),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return Object(l["b"])(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[r]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(c),h=u,f=n("F4kd"),p=function(t){return function(e,n,i,o){var a=Object(r["isNil"])(i)?0:i,s=Object(r["isNil"])(o)?e.length:o;while(a>>1;t(e[c])>n?s=c:a=c+1}return a}},d="format";function g(t,e){var n=f[d]||f["default"][d];return n(t,e)}function y(t){return Object(r["isString"])(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),Object(r["isDate"])(t)&&(t=t.getTime()),t}var v=1e3,m=60*v,b=60*m,x=24*b,O=31*x,j=365*x,w=[["HH:mm:ss",v],["HH:mm:ss",10*v],["HH:mm:ss",30*v],["HH:mm",m],["HH:mm",10*m],["HH:mm",30*m],["HH",b],["HH",6*b],["HH",12*b],["YYYY-MM-DD",x],["YYYY-MM-DD",4*x],["YYYY-WW",7*x],["YYYY-MM",O],["YYYY-MM",4*O],["YYYY-MM",6*O],["YYYY",380*x]];function k(t,e,n){var i=(e-t)/n,o=p(function(t){return t[1]})(w,i)-1,a=w[o];return o<0?a=w[0]:o>=w.length&&(a=Object(r["last"])(w)),a}var S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return Object(l["b"])(e,t),e.prototype.translate=function(t){t=y(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(r["isNumber"])(t)&&t-1){var r=this.values[n],i=this.formatter;return r=i?i(r,e):g(r,this.mask),r}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(r["each"])(e,function(t,n){e[n]=y(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(h),C=S,M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(l["b"])(e,t),e.prototype.scale=function(t){if(Object(r["isNil"])(t))return NaN;var e=this.rangeMin(),n=this.rangeMax(),i=this.max,o=this.min;if(i===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(r["head"])(e),i=Object(r["last"])(e);nthis.max&&(this.max=i),Object(r["isNil"])(this.minLimit)||(this.min=n),Object(r["isNil"])(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=Object(r["getRange"])(this.values),e=t.min,n=t.max;Object(r["isNil"])(this.min)&&(this.min=e),Object(r["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(r["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),A=M,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return Object(l["b"])(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}(A),E=T;function P(t,e){var n,r=Math.E;return n=e>=0?Math.pow(r,Math.log(e)/t):-1*Math.pow(r,Math.log(-e)/t),n}function _(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function L(t,e,n){Object(r["isNil"])(n)&&(n=Math.max.apply(null,t));var i=n;return Object(r["each"])(t,function(t){t>0&&t1&&(i=1),i}var F=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return Object(l["b"])(e,t),e.prototype.invert=function(t){var e,n=this.base,r=_(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;e=_(n,a/n);var s=1/(r-e)*o;if(t=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 r=this.exponent,i=(P(r,t)-P(r,n))/(P(r,e)-P(r,n));return i},e}(A),B=D,R=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return Object(l["b"])(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):g(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(r["isString"])(n)||Object(r["isDate"])(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return y(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(r["isNil"])(e)&&Object(r["isNumber"])(e)||(this.min=this.translate(this.min)),Object(r["isNil"])(n)&&Object(r["isNumber"])(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],o=1/0,a=o,s=0;Object(r["each"])(t,function(t){var e=y(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");o>e?(a=o,o=e):a>e&&(a=e),s1&&(this.minTickInterval=a-o),Object(r["isNil"])(e)&&(this.min=o),Object(r["isNil"])(n)&&(this.max=s)}},e}(E),N=R,z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return Object(l["b"])(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),o=Math.floor(i*(n-1));if(o>=n-1)return Object(r["last"])(e);if(o<0)return Object(r["head"])(e);var a=e[o],s=e[o+1],c=o/(n-1),l=(o+1)/(n-1);return a+(i-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(r["last"])(e)!==this.max&&e.push(this.max),Object(r["head"])(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tObject(r["last"])(e))return 1;var n=0;return Object(r["each"])(e,function(e,r){if(!(t>=e))return!1;n=r}),n/(e.length-1)},e}(A),Y=z,G=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return Object(l["b"])(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Y),V=G,W={};function H(t){return W[t]}function X(t,e){if(H(t))throw new Error("type '"+t+"' existed.");W[t]=e}var U=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return Object(l["b"])(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(r["isNumber"])(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(c),q=U,Z=[1,5,2,2.5,4,3],K=100*Number.EPSILON;function Q(t,e){return(t%e+e)%e}function $(t,e,n,i,o,a){var s=Object(r["size"])(e),c=Object(r["indexOf"])(e,t),l=0,u=Q(i,a);return(u=0&&(l=1),1-c/(s-1)-n+l}function J(t,e,n){var i=Object(r["size"])(e),o=Object(r["indexOf"])(e,t),a=1;return 1-o/(i-1)-n+a}function tt(t,e,n,r,i,o){var a=(t-1)/(o-i),s=(e-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/s,s/a)}function et(t,e){return t>=e?2-(t-1)/(e-1):1}function nt(t,e,n,r){var i=e-t;return 1-.5*(Math.pow(e-r,2)+Math.pow(t-n,2))/Math.pow(.1*i,2)}function rt(t,e,n){var r=e-t;if(n>r){var i=(n-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function it(){return 1}function ot(t,e,n,i,o,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===o&&(o=Z),void 0===a&&(a=[.25,.2,.5,.05]),"number"!==typeof t||"number"!==typeof e||!n)return{min:0,max:0,ticks:[]};if(e-t<1e-15||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;lx)y+=1;else{for(var O=b;O<=x;O+=1){var j=O*(v/c),w=j+v*(p-1),k=v,S=$(h,o,c,j,w,k),C=nt(t,e,j,w),M=tt(p,n,t,e,j,w),A=it(),T=a[0]*S+a[1]*C+a[2]*M+a[3]*A;T>s.score&&(!i||j<=t&&w>=e)&&(s.lmin=j,s.lmax=w,s.lstep=k,s.score=T)}y+=1}}p+=1}}c+=1}for(var E=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),P=[],_=s.lmin;_<=s.lmax;_+=s.lstep)P.push(_);var L=E?Object(r["map"])(P,function(t){return Number.parseFloat(t.toFixed(E))}):P;return{min:Math.min(t,Object(r["head"])(L)),max:Math.max(e,Object(r["last"])(L)),ticks:L}}function at(t){var e=t.values,n=t.tickInterval,i=t.tickCount,o=e;if(Object(r["isNumber"])(n))return Object(r["filter"])(o,function(t,e){return e%n===0});var a=t.min,s=t.max;if(Object(r["isNil"])(a)&&(a=0),Object(r["isNil"])(s)&&(s=e.length-1),Object(r["isNumber"])(i)&&i=a&&t<=s});return l.map(function(t){return e[t]})}return e.slice(a,s+1)}function st(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,o=new ft;return o.domain([e,n]),r&&o.nice(i),o.ticks(i)}var ct=5,lt=Math.sqrt(50),ut=Math.sqrt(10),ht=Math.sqrt(2),ft=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=ct);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],c=this._domain[a];return c0?(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,r=dt(s,c,t)):r<0&&(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,r=dt(s,c,t)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,this.domain(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=ct),pt(this._domain[0],this._domain[this._domain.length-1],t||ct)},t}();function pt(t,e,n){var r,i,o,a,s=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((r=e0){t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));while(++s=0?(o>=lt?10:o>=ut?5:o>=ht?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=lt?10:o>=ut?5:o>=ht?2:1)}function gt(t,e,n){var r;return r="ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e),r*e}function yt(t,e,n){var i=gt(t,n,"floor"),o=gt(e,n,"ceil");i=Object(r["fixedBase"])(i,n),o=Object(r["fixedBase"])(o,n);for(var a=[],s=i;s<=o;s+=n){var c=Object(r["fixedBase"])(s,n);a.push(c)}return{min:i,max:o,ticks:a}}function vt(t,e,n){var i,o=t.minLimit,a=t.maxLimit,s=t.min,c=t.max,l=t.tickCount,u=void 0===l?5:l,h=Object(r["isNil"])(o)?Object(r["isNil"])(e)?s:e:o,f=Object(r["isNil"])(a)?Object(r["isNil"])(n)?c:n:a;if(h>f&&(i=[h,f],f=i[0],h=i[1]),u<=2)return[h,f];for(var p=(f-h)/(u-1),d=[],g=0;g0)e=Math.floor(_(n,i));else{var c=L(a,n,o);e=Math.floor(_(n,c))}for(var l=s-e,u=Math.ceil(l/r),h=[],f=e;f=0?1:-1;return Math.pow(t,e)*n})}function wt(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 kt(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],o=0;o1&&(i*=Math.ceil(s)),r&&ij)for(var c=At(n),l=Math.ceil(o/j),u=s;u<=c+l;u+=l)a.push(Tt(u));else if(o>O){var h=Math.ceil(o/O),f=Et(e),p=Pt(e,n);for(u=0;u<=p+h;u+=h)a.push(_t(s,u+f))}else if(o>x){var d=new Date(e),g=d.getFullYear(),y=d.getMonth(),w=d.getDate(),k=Math.ceil(o/x),S=Lt(e,n);for(u=0;ub){d=new Date(e),g=d.getFullYear(),y=d.getMonth(),k=d.getDate();var C=d.getHours(),M=Math.ceil(o/b),A=Ft(e,n);for(u=0;u<=A+M;u+=M)a.push(new Date(g,y,k,C+u).getTime())}else if(o>m){var T=It(e,n),E=Math.ceil(o/m);for(u=0;u<=T+E;u+=E)a.push(e+u*m)}else{var P=o;P=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",at),a("time-cat",Mt),a("wilkinson-extended",bt),a("r-pretty",St),a("time",Ct),a("time-pretty",Dt),a("log",xt),a("pow",jt),a("quantile",kt),a("d3-linear",mt),n.d(e,"a",function(){return h}),n.d(e,"b",function(){return E}),n.d(e,"c",function(){return H}),X("cat",h),X("category",h),X("identity",q),X("linear",E),X("log",I),X("pow",B),X("time",N),X("timeCat",C),X("quantize",Y),X("quantile",V)},"8wmI":function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},"96lr":function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("Qci9"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["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 i["map"](t,function(t){return i["map"](t,function(t){var e,n,l=t[a],u=t[o];if(i["isArray"](l)){var h=(c-s[u])/2;return Object(r["a"])(Object(r["a"])({},t),(e={},e[a]=i["map"](l,function(t){return h+t}),e))}var f=(c-l)/2;return Object(r["a"])(Object(r["a"])({},t),(n={},n[a]=[f,l+f],n))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this,r=n.xField,o=n.yField,a=i["groupBy"](t,function(t){return t[r]});return i["mapValues"](a,function(t){return e.getDimMaxValue(t,o)})},e.prototype.getDimMaxValue=function(t,e){var n=i["map"](t,function(t){return i["get"](t,e,[])}),r=i["flatten"](n);return Math.max.apply(Math,r)},e}(o["a"]);e["a"]=a},"9B5s":function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return s});var r=n("iTfj"),i=n("w+x+");function o(t){return t.map(function(e,n){var r;return r={},r[i["g"]]=e-(t[n-1]||0),r[i["f"]]=""+n,r}).filter(function(t){return!!t[i["g"]]})}function a(t){var e;return[(e={},e[i["e"]]=Object(r["clamp"])(t,0,1),e)]}function s(t,e){var n=Object(r["get"])(e,["ticks"],[]),i=Object(r["size"])(n)?n:[0,Object(r["clamp"])(t,0,1),1];return o(i)}},"9Nap":function(t,e,n){var r=n("/9aa"),i=1/0;function o(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}t.exports=o},"9eUa":function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return p}),n.d(e,"e",function(){return y}),n.d(e,"h",function(){return v}),n.d(e,"f",function(){return b}),n.d(e,"g",function(){return x});var r=n("iTfj"),i=n("r0DC"),o=n("nCnq"),a=n("cyZq"),s=n("nycV"),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?Object(r["isArray"])(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=Object(i["b"])(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}}function u(t,e,n){for(var r=0;rw?j:w,T=j>w?1:j/w,E=j>w?w/j:1;e.translate(x,O),e.rotate(C),e.scale(T,E),e.arc(0,0,A,k,S,1-M),e.scale(1/T,1/E),e.rotate(-C),e.translate(-x,-O)}break;case"Z":e.closePath();break;default:break}if("Z"===d)l=u;else{var P=p.length;l=[p[P-2],p[P-1]]}}}}function v(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"),r=n&&!(!n.width||!n.height),i=t.getCanvasBBox(),o=i&&!(!i.width||!i.height);r&&o?e=Object(a["l"])(n,i):r?e=n:o&&(e=i)}return e}function b(t){if(!t.length)return null;var e=[],n=[],i=[],o=[];return Object(r["each"])(t,function(t){var r=m(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),o.push(r.maxY))}),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,i),maxY:Math.max.apply(null,o)}}function x(t,e){return t&&e&&Object(a["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}},"9ggG":function(t,e,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}t.exports=s},AA7f:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!==(65535&t)&&65534!==(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function u(t){if(t>65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}var h=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,f=/&([a-z#][a-z0-9]{1,31});/gi,p=new RegExp(h.source+"|"+f.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=n("vWgF");function y(t,e){var n=0;return a(g,e)?g[e]:35===e.charCodeAt(0)&&d.test(e)&&(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10),l(n))?u(n):t}function v(t){return t.indexOf("\\")<0?t:t.replace(h,"$1")}function m(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(p,function(t,e,n){return e||y(t,n)})}var b=/[&<>"]/,x=/[&<>"]/g,O={"&":"&","<":"<",">":">",'"':"""};function j(t){return O[t]}function w(t){return b.test(t)?t.replace(x,j):t}var k=/[.?*+^$[\]\\(){}|-]/g;function S(t){return t.replace(k,"\\$&")}function C(t){switch(t){case 9:case 32:return!0}return!1}function M(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var A=n("fKCf");function T(t){return A.test(t)}function E(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function P(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=n("2KYT"),e.lib.ucmicro=n("1dGX"),e.assign=s,e.isString=i,e.has=a,e.unescapeMd=v,e.unescapeAll=m,e.isValidEntityCode=l,e.fromCodePoint=u,e.escapeHtml=w,e.arrayReplaceAt=c,e.isSpace=C,e.isWhiteSpace=M,e.isMdAsciiPunct=E,e.isPunctChar=T,e.escapeRE=S,e.normalizeReference=P},AP2z:function(t,e,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=c},APlK:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a});var r=n("c+wO");function i(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var o=e.find("filter",i);o||(o=e.addShadow(i)),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,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);r=r.join(","),-1===r.indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}}function a(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){Object(r["a"])(n),n.createPath(e);var o=e.addClip(n);i.setAttribute("clip-path","url(#"+o+")")}}else i.removeAttribute("clip-path")}},B0vJ:function(t,e){},B1jb:function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(l),35!==o||l>=u)return!1;a=1,o=t.src.charCodeAt(++l);while(35===o&&l6||ll&&r(t.src.charCodeAt(s-1))&&(u=s),t.line=e+1,c=t.push("heading_open","h"+String(a),1),c.markup="########".slice(0,a),c.map=[e,t.line],c=t.push("inline","",0),c.content=t.src.slice(l,u).trim(),c.map=[e,t.line],c.children=[],c=t.push("heading_close","h"+String(a),-1),c.markup="########".slice(0,a),!0))}},"B2d+":function(t,e){},B3DA:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("iTfj"),i=n("F/eT");function o(t){var e=Object(r["clamp"])(Object(i["b"])(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},B8du:function(t,e){function n(){return!1}t.exports=n},BYeR:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa");function l(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,o=t.targetField,a=t.layout,s=[],c=[];e.forEach(function(t,e){var a;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,o){var a,c=0===o?r:t[i][o]-t[i][o-1];s.push((a={rKey:i+"_"+o},a[n]=n?t[n]:String(e),a[i]=c,a))}),t[r].forEach(function(i,o){var a;s.push((a={mKey:t[r].length>1?r+"_"+o:""+r},a[n]=n?t[n]:String(e),a[r]=i,a))}),s.push((a={tKey:""+o},a[n]=n?t[n]:String(e),a[o]=t[o],a)),c.push(t[i],t[r],t[o])});var l=Math.min.apply(Math,c.flat(1/0)),u=Math.max.apply(Math,c.flat(1/0));return l=l>0?0:l,"vertical"===a&&s.reverse(),{min:l,max:u,ds:s}}function u(t){var e=t.chart,n=t.options,i=n.bulletStyle,s=n.targetField,u=n.rangeField,h=n.measureField,f=n.xField,p=n.color,d=n.layout,g=n.size,y=n.label,v=l(n),m=v.min,b=v.max,x=v.ds;e.data(x);var O=Object(o["b"])({},t,{options:{xField:f,yField:u,seriesField:"rKey",isStack:!0,label:Object(a["get"])(y,"range"),interval:{color:Object(a["get"])(p,"range"),style:Object(a["get"])(i,"range"),size:Object(a["get"])(g,"range")}}});Object(c["c"])(O),e.geometries[0].tooltip(!1);var j=Object(o["b"])({},t,{options:{xField:f,yField:h,seriesField:"mKey",isStack:!0,label:Object(a["get"])(y,"measure"),interval:{color:Object(a["get"])(p,"measure"),style:Object(a["get"])(i,"measure"),size:Object(a["get"])(g,"measure")}}});Object(c["c"])(j);var w=Object(o["b"])({},t,{options:{xField:f,yField:s,seriesField:"tKey",label:Object(a["get"])(y,"target"),point:{color:Object(a["get"])(p,"target"),style:Object(a["get"])(i,"target"),size:Object(a["get"])(g,"target")/2,shape:"horizontal"===d?"line":"hyphen"}}});return Object(c["e"])(w),"horizontal"===d&&e.coordinate().transpose(),Object(r["a"])(Object(r["a"])({},t),{ext:{data:{min:m,max:b}}})}function h(t){var e,n,r=t.options,i=t.ext,a=r.xAxis,c=r.yAxis,l=r.targetField,u=r.rangeField,h=r.measureField,f=r.xField,p=i.data;return Object(o["e"])(Object(s["f"])((e={},e[f]=a,e[h]=c,e),(n={},n[h]={min:null===p||void 0===p?void 0:p.min,max:null===p||void 0===p?void 0:p.max},n[l]={sync:""+h},n[u]={sync:""+h},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.measureField,s=n.rangeField,c=n.targetField;return e.axis(""+s,!1),e.axis(""+c,!1),!1===r?e.axis(""+o,!1):e.axis(""+o,r),!1===i?e.axis(""+a,!1):e.axis(""+a,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend;return e.removeInteraction("legend-filter"),e.legend(r),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function d(t){var e=t.chart,n=t.options,i=n.label,s=n.measureField,c=n.targetField,l=n.rangeField,u=e.geometries,h=u[0],f=u[1],p=u[2];return Object(a["get"])(i,"range")?h.label(""+l,Object(r["a"])({layout:[{type:"limit-in-plot"}]},Object(o["r"])(i.range))):h.label(!1),Object(a["get"])(i,"measure")?f.label(""+s,Object(r["a"])({layout:[{type:"limit-in-plot"}]},Object(o["r"])(i.measure))):f.label(!1),Object(a["get"])(i,"target")?p.label(""+c,Object(r["a"])({layout:[{type:"limit-in-plot"}]},Object(o["r"])(i.target))):p.label(!1),t}function g(t){Object(o["e"])(u,h,f,p,s["j"],d,s["k"],s["c"],s["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bullet",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=l(this.options),n=e.min,r=e.max,i=e.ds;h({options:this.options,ext:{data:{min:n,max:r}},chart:this.chart}),this.chart.changeData(i)},e.prototype.getSchemaAdaptor=function(){return g},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})}})(i["b"])},BgvD:function(t,e,n){"use strict";var r=n("iTfj"),i="\u2026";function o(t){for(var e=0,n=0;n0&&t.charCodeAt(e)<128?1:2}function s(t,e,n){void 0===n&&(n="tail");var r=t.length,o="";if("tail"===n){for(var s=0,c=0;s=19968&&c<=40869?2:1}a>n&&(n=a,i=o)}return t[i].getBBox().width}function f(t){if(t.length>u)return h(t);var e=0;return Object(r["each"])(t,function(t){var n=t.getBBox(),r=n.width;e=0?s(i,f,r):c,d&&(e.attr("text",d),h=!0)}return h?e.set("tip",i):e.set("tip",null),h}},BwSJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj");function s(t,e){var n=Math.floor(t/e);return[e*n,e*(n+1)]}function c(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function l(t,e,n,r,i){var o=Object(a["clone"])(t);Object(a["sortBy"])(o,e);var l=Object(a["valuesOfKey"])(o,e),u=Object(a["getRange"])(l),h=u.max-u.min,f=n;if(!n&&r&&(f=h/r),!n&&!r){var p=c(l);f=h/p}var d={},g=Object(a["groupBy"])(o,i);Object(a["isEmpty"])(g)?Object(a["each"])(o,function(t){var n=t[e],r=s(n,f),i=r[0]+"-"+r[1];Object(a["hasKey"])(d,i)||(d[i]={range:r,count:0}),d[i].count+=1}):Object.keys(g).forEach(function(t){Object(a["each"])(g[t],function(n){var r=n[e],o=s(r,f),c=o[0]+"-"+o[1],l=c+"-"+t;Object(a["hasKey"])(d,l)||(d[l]={range:o,count:0},d[l][i]=t),d[l].count+=1})});var y=[];return Object(a["each"])(d,function(t){y.push(t)}),y}var u=n("w02o"),h=n("tKoa");function f(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,s=n.binWidth,c=n.color,u=n.stackField,f=n.legend,p=n.columnStyle,d=l(r,i,s,a,u);e.data(d);var g=Object(o["b"])({},t,{options:{xField:"range",yField:"count",seriesField:u,isStack:!0,interval:{color:c,style:p}}});return Object(h["c"])(g),f&&u&&e.legend(u,f),t}function p(t){var e=t.options,n=e.xAxis,r=e.yAxis;return Object(o["e"])(Object(u["f"])({range:n,count:r}))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis("range",!1):e.axis("range",r),!1===i?e.axis("count",!1):e.axis("count",i),t}function g(t){var e=t.chart,n=t.options,i=n.label,a=Object(o["c"])(e,"interval");if(i){var s=i.callback,c=Object(r["c"])(i,["callback"]);a.label({fields:["count"],callback:s,cfg:Object(o["r"])(c)})}else a.label(!1);return t}function y(t){return Object(o["e"])(f,p,d,u["j"],u["i"],g,u["k"],u["c"],u["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="histogram",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.binField,r=e.binNumber,i=e.binWidth,o=e.stackField;this.chart.changeData(l(t,n,i,r,o))},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return y}})(i["b"])},CK61:function(t,e,n){"use strict";var r=n("AGgm"),i=n("Vlv/"),o=n("fMI+"),a=n("qRUV"),s=n("dpam"),c=n("TLR5"),l=n("+80P"),u=n("2KYT"),h=n("GYWy"),f={default:n("ijE+"),zero:n("HKru"),commonmark:n("Qo0+")},p=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function g(t){var e=t.trim().toLowerCase();return!p.test(e)||!!d.test(e)}var y=["http:","https:","mailto:"];function v(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||y.indexOf(e.protocol)>=0))try{e.hostname=h.toASCII(e.hostname)}catch(t){}return u.encode(u.format(e))}function m(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||y.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(t){}return u.decode(u.format(e),u.decode.defaultChars+"%")}function b(t,e){if(!(this instanceof b))return new b(t,e);e||r.isString(t)||(e=t||{},t="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new l,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=m,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),e&&this.set(e)}b.prototype.set=function(t){return r.assign(this.options,t),this},b.prototype.configure=function(t){var e,n=this;if(r.isString(t)&&(e=t,t=f[e],!t))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},b.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},b.prototype.parse=function(t,e){if("string"!==typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},b.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},b.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=b},CWsV:function(t,e,n){"use strict";function r(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(t){var e,n,r;if(!this.attrs)return-1;for(e=this.attrs,n=0,r=e.length;n=0&&(n=this.attrs[e][1]),n},r.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=r},CXva:function(t,e,n){"use strict";var r=n("CWsV"),i=n("AGgm").isWhiteSpace,o=n("AGgm").isPunctChar,a=n("AGgm").isMdAsciiPunct;function s(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var t=new r("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},s.prototype.push=function(t,e,n){this.pending&&this.pushPending();var i=new r(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(t,e){var n,r,s,c,l,u,h,f,p,d=t,g=!0,y=!0,v=this.posMax,m=this.src.charCodeAt(t);n=t>0?this.src.charCodeAt(t-1):32;while(di.x+i.width,top:ei.y+i.height};return o}function d(t,e,n,r,i,o){var a=t,s=e;switch(o){case"left":a=t-r-n,s=e-i/2;break;case"right":a=t+n,s=e-i/2;break;case"top":a=t-r/2,s=e-i-n;break;case"bottom":a=t-r/2,s=e+n;break;default:a=t+n,s=e-i-n;break}return{x:a,y:s}}function g(t,e,n,r,i,o,a){var s=d(t,e,n,r,i,o);if(a){var c=p(s.x,s.y,r,i,a);"auto"===o?(c.right&&(s.x=Math.max(0,t-r-n)),c.top&&(s.y=Math.max(0,e-i-n))):"top"===o||"bottom"===o?(c.left&&(s.x=a.x),c.right&&(s.x=a.x+a.width-r),"top"===o&&c.top&&(s.y=e+n),"bottom"===o&&c.bottom&&(s.y=e-i-n)):(c.top&&(s.y=a.y),c.bottom&&(s.y=a.y+a.height-i),"left"===o&&c.left&&(s.x=t+n),"right"===o&&c.right&&(s.x=t-r-n))}return s}function y(t,e){var n=!1;return Object(s["each"])(e,function(e){if(Object(s["hasKey"])(t,e))return n=!0,!1}),n}var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
      ',itemTpl:'
    • \n \n {name}:\n {value}\n
    • ',xCrosshairTpl:'
      ',yCrosshairTpl:'
      ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:u["CONTAINER_CLASS"],crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:f})},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(a["e"])(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),Object(a["e"])(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"),r=this.get("yCrosshairDom");n&&Object(a["e"])(n,{display:e}),r&&Object(a["e"])(r,{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():(y(e,["title","showTitle"])&&this.resetTitle(),Object(s["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"),r=this.get("offset"),i=this.getOffset(),o=i.offsetX,s=i.offsetY,c=this.get("position"),u=this.get("region"),h=this.getContainer(),f=this.getBBox(),p=f.width,d=f.height;u&&(t=Object(l["k"])(u));var y=g(e,n,r,p,d,c,t);Object(a["e"])(h,{left:Object(l["l"])(y.x+o),top:Object(l["l"])(y.y+s)}),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(s["isElement"])(n)?n:Object(a["b"])(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(u["TITLE_CLASS"])[0],n=t.getElementsByClassName(u["LIST_CLASS"])[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=Object(l["k"])(t),r=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),i&&(i.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),r&&(r.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),r=this.get(t);"x"===t?Object(a["e"])(n,{left:Object(l["l"])(r),top:Object(l["l"])(e.y),height:Object(l["l"])(e.height)}):Object(a["e"])(n,{top:Object(l["l"])(r),left:Object(l["l"])(e.x),width:Object(l["l"])(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=t+"CrosshairTpl",r="CROSSHAIR_"+t.toUpperCase(),i=u[r],o=this.get(e),s=this.get("parent");return o||(o=Object(a["b"])(this.get(n)),this.applyStyle(i,o),s.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(s["each"])(t,function(t){var r=o["a"].toCSSGradient(t.color),c=Object(i["a"])(Object(i["a"])({},t),{color:r}),l=Object(s["substitute"])(e,c),u=Object(a["b"])(l);n.appendChild(u)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&Object(l["a"])(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}(c["a"]),m=v;n.d(e,"Html",function(){return m})},Cr25:function(t,e,n){"use strict";var r=n("mrSG"),i=n("kXyF"),o=n("zJSt"),a=n("TZmy"),s=n("PLvT"),c=n("iIqE"),l=n("iTfj"),u=n("qaDU"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getActiveElements=function(){var t=i["f"].getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,o=n.get("field");if(o){var a=e.geometries[0].elements;return a.filter(function(t){return t.getModel().data[o]===r.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements(),n=t.geometries[0].labelsContainer.getChildren();return n.filter(function(t){return e.find(function(e){return Object(l["isEqual"])(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var o=n[r],a=e.geometry.coordinate;if(a.isPolar&&a.isTransposed){var s=i["f"].getAngle(e.getModel(),a),c=s.startAngle,l=s.endAngle,h=(c+l)/2,f=t,p=f*Math.cos(h),d=f*Math.sin(h);e.shape.setMatrix(Object(u["a"])([["t",p,d]])),o.setMatrix(Object(u["a"])([["t",p,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i["a"]),f=n("mj6g"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getAnnotations=function(t){var e=t||this.context.view;return e.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(){var t=this.context,e=t.view,n=t.event,o=this.getAnnotations();this.initialAnnotation||(this.initialAnnotation=o);var a=((null===n||void 0===n?void 0:n.data)||{}).data;if(n.type.match("legend-item")){var s=i["f"].getDelegationObject(this.context),c=e.getGroupedFields()[0];if(s&&c){var u=s.item;a=e.getData().find(function(t){return t[c]===u.value})}}if(a){var h=e.getController("annotation");h.clear(!0);var p=e.getScaleFields(),d=p[1],g=p[2],y=e.getScaleByField(d),v=e.getScaleByField(g),m=o.filter(function(t){return!Object(l["get"])(t,"key","").match("statistic")}),b=o.filter(function(t){return Object(l["get"])(t,"key","").match("statistic")}),x=b.filter(function(t){return"top-statistic"===t.key}),O=b.filter(function(t){return"bottom-statistic"===t.key});Object(l["each"])(b,function(t){var n,i;"top-statistic"===t.key?(n=v?v.getText(a[g]):null,i=O?"translate(-50%, -100%)":"translate(-50%, -50%)"):(n=y?y.getText(a[d]):a[d],i=x?"translate(-50%, 0)":"translate(-50%,-50%)"),m.push(Object(r["a"])(Object(r["a"])({},t),{html:function(e,o){var s=o.getCoordinate(),c=s.getRadius()*s.innerRadius*2,u=Object(l["isFunction"])(t.style)?t.style():t.style;Object(f["d"])(e,Object(r["a"])({width:c+"px",transform:i},Object(f["a"])(u)));var h=o.getData();return t.customHtml?t.customHtml(e,o,a,h):(t.formatter&&(n=t.formatter(a,h)),n?Object(l["isString"])(n)?n:""+n:"
      ")}})),m.forEach(function(t){h.annotation(t)}),e.render(!0)})}},e.prototype.reset=function(){var t=this.context.view,e=t.getController("annotation");e.clear(!0);var n=this.getInitialAnnotation();Object(l["each"])(n,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(i["a"]);Object(i["i"])("pie-statistic",p),Object(i["k"])("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Object(i["i"])("pie-legend",h),Object(i["k"])("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]}),n.d(e,"a",function(){return d});var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return s["a"]},e.prototype.changeData=function(t){this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=Object(c["d"])(e.data,n),o=Object(c["d"])(t,n);Object(c["c"])(r,n)||Object(c["c"])(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),Object(a["b"])({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(o["b"])},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");function o(t,e){var n=i(t,e);return r(n)?n:void 0}t.exports=o},CxXe:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return C}),n.d(e,"d",function(){return _}),n.d(e,"e",function(){return v}),n.d(e,"f",function(){return N}),n.d(e,"g",function(){return z}),n.d(e,"h",function(){return y}),n.d(e,"i",function(){return S}),n.d(e,"j",function(){return P}),n.d(e,"k",function(){return V}),n.d(e,"l",function(){return W}),n.d(e,"m",function(){return H}),n.d(e,"n",function(){return X}),n.d(e,"o",function(){return Y});var r=n("ohPV"),i=n("q1tI"),o=n.n(i),a=(n("17x9"),n("g0MP")),s=n("8ifW"),c=n("9R94"),l=n("EVqI"),u=n("bALw"),h=n.n(u),f=(n("TOwV"),n("MWgS")),p=n("2mql"),d=n.n(p),g=function(t){var e=Object(s["a"])();return e.displayName=t,e},y=g("Router"),v=function(t){function e(e){var n;return n=t.call(this,e)||this,n.state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen(function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t})),n}Object(r["a"])(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(y.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},e}(o.a.Component);var m=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;iO){var w=j/v.length,k=Math.max(1,Math.ceil(O/w)-1),S=v.slice(0,k)+"...";x.attr("text",S)}}}}function p(t,e,n){h(t,e,n),f(t,e,n)}function d(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!1),function(r){var o=r.options,c=r.chart,u=o.conversionTag,h=o.theme;return u&&!n&&(c.theme(Object(i["b"])({},Object(a["isObject"])(h)?h:Object(s["h"])(h),{columnWidthRatio:1/3})),c.annotation().shape({render:function(n,r){var i=n.addGroup({id:c.id+"-conversion-tag-group",name:"conversion-tag-group"}),o=Object(a["find"])(c.geometries,function(t){return"interval"===t.type}),s={view:r,geometry:o,group:i,field:t,horizontal:e,options:l(u,e)},h=e?o.elements:o.elements.slice().reverse();Object(a["each"])(h,function(t,e){e>0&&p(s,h[e-1],t)})}})),r}}var g={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"};function y(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options,i=r.connectedArea,o=function(){n.removeInteraction(g.hover),n.removeInteraction(g.click)};if(!t&&i){var a=i.trigger||"hover";o(),n.interaction(g[a])}else o();return e}}Object(s["k"])(g.hover,{start:[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"]}],end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),Object(s["k"])(g.click,{start:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"]}],end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]});var v=n("tKoa"),m=n("sqD9"),b=n("DyAw");function x(t){var e=t.options,n=e.legend,i=e.seriesField,o=e.isStack;return i?!1!==n&&(n=Object(r["a"])({position:o?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function O(t){var e=t.chart,n=t.options,o=n.data,a=n.columnStyle,s=n.color,c=n.columnWidthRatio,l=n.isPercent,u=n.xField,h=n.yField,f=n.seriesField,p=n.tooltip;e.data(Object(m["a"])(o,h,u,h,l));var d=l?Object(r["a"])({formatter:function(t){return{name:t[f]||t[u],value:(100*Number(t[h])).toFixed(2)+"%"}}},p):p,g=Object(i["b"])({},t,{options:{widthRatio:c,tooltip:d,interval:{style:a,color:s}}});return Object(v["c"])(g),t}function j(t){var e,n,a=t.options,s=a.xAxis,c=a.yAxis,l=a.xField,u=a.yField,h=a.data,f=a.isPercent,p=f?{max:1,min:0,minLimit:0,maxLimit:1}:{};return Object(i["e"])(Object(o["f"])((e={},e[l]=s,e[u]=c,e),(n={},n[l]={type:"cat"},n[u]=Object(r["a"])(Object(r["a"])({},Object(b["a"])(h,u)),p),n)))(t)}function w(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function k(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function S(t){var e=t.chart,n=t.options,o=n.label,a=n.yField,s=n.isRange,c=Object(i["c"])(e,"interval");if(o){var l=o.callback,u=Object(r["c"])(o,["callback"]);c.label({fields:[a],callback:l,cfg:Object(r["a"])({layout:(null===u||void 0===u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(i["r"])(s?Object(r["a"])({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else c.label(!1);return t}function C(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return Object(i["e"])(x,o["j"],o["i"],O,j,w,k,o["k"],o["h"],o["g"],S,o["c"],o["a"],Object(o["b"])(),d(n.yField,!e,!!r),y(!n.isStack),o["e"])(t)}n.d(e,"b",function(){return j}),n.d(e,"a",function(){return C})},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o,c=s?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(this,n("YuTi")(t))},Djfg:function(t,e,n){"use strict";n("XiRp"),n("h4/5"),n("N9hJ"),n("3T7b"),n("B0vJ"),n("B2d+")},DyAw:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=n("iTfj");function i(t,e){var n=t.filter(function(t){var n=Object(r["get"])(t,[e]);return Object(r["isNumber"])(n)&&!isNaN(n)}),i=n.every(function(t){return Object(r["get"])(t,[e])>=0}),o=n.every(function(t){return Object(r["get"])(t,[e])<=0});return i?{min:0}:o?{max:0}:{}}function o(t,e,n,r){if(!Array.isArray(t))return{nodes:[],links:[]};var i=[],o={},a=-1;return t.forEach(function(t){var s=t[e],c=t[n],l=t[r];o[s]||(o[s]={id:++a,name:s}),o[c]||(o[c]={id:++a,name:c}),i.push({source:o[s].id,target:o[c].id,value:l})}),{nodes:Object.values(o),links:i}}},E2jh:function(t,e,n){var r=n("2gN3"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!i&&i in t}t.exports=o},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");function a(t,e){return o(i(t,e,r),t+"")}t.exports=a},EYNi:function(t,e,n){"use strict";var r={};function i(t){return Math.min.apply(null,t)}function o(t){return Math.max.apply(null,t)}function a(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function s(t,e){return Math.abs(t-e)<.001}function c(t,e){var n=i(t),r=i(e),a=o(t),s=o(e);return{x:n,y:r,width:a-n,height:s-r}}function l(t,e,n,r){return{minX:i([t,n]),maxX:o([t,n]),minY:i([e,r]),maxY:o([e,r])}}function u(t){return(t+2*Math.PI)%(2*Math.PI)}n.r(r),n.d(r,"distance",function(){return a}),n.d(r,"isNumberEqual",function(){return s}),n.d(r,"getBBoxByArray",function(){return c}),n.d(r,"getBBoxRange",function(){return l}),n.d(r,"piMod",function(){return u});var h=n("ZxFD"),f={box:function(t,e,n,r){return c([t,n],[e,r])},length:function(t,e,n,r){return a(t,e,n,r)},pointAt:function(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}},pointDistance:function(t,e,n,r,i,o){var s=(n-t)*(i-t)+(r-e)*(o-e);if(s<0)return a(t,e,i,o);var c=(n-t)*(n-t)+(r-e)*(r-e);return s>c?a(n,r,i,o):this.pointToLine(t,e,n,r,i,o)},pointToLine:function(t,e,n,r,i,o){var a=[n-t,r-e];if(h["exactEquals"](a,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var s=[-a[1],a[0]];h["normalize"](s,s);var c=[i-t,o-e];return Math.abs(h["dot"](c,s))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}},p=1e-4;function d(t,e,n,r,i,o){var s,c=1/0,l=[n,r],u=20;o&&o>200&&(u=o/10);for(var h=1/u,f=h/10,d=0;d<=u;d++){var g=d*h,y=[i.apply(null,t.concat([g])),i.apply(null,e.concat([g]))],v=a(l[0],l[1],y[0],y[1]);v=0&&v=0?[i]:[]}function m(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function b(t,e,n,r,i,o,a){var s=y(t,n,i,a),c=y(e,r,o,a),l=f.pointAt(t,e,n,r,a),u=f.pointAt(n,r,i,o,a);return[[t,e,l.x,l.y,s,c],[s,c,u.x,u.y,i,o]]}function x(t,e,n,r,i,o,s){if(0===s)return(a(t,e,n,r)+a(n,r,i,o)+a(t,e,i,o))/2;var c=b(t,e,n,r,i,o,.5),l=c[0],u=c[1];return l.push(s-1),u.push(s-1),x.apply(null,l)+x.apply(null,u)}var O={box:function(t,e,n,r,i,o){var a=v(t,n,i)[0],s=v(e,r,o)[0],l=[t,i],u=[e,o];return void 0!==a&&l.push(y(t,n,i,a)),void 0!==s&&u.push(y(e,r,o,s)),c(l,u)},length:function(t,e,n,r,i,o){return x(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,o,a,s){return d([t,n,i],[e,r,o],a,s,y)},pointDistance:function(t,e,n,r,i,o,s,c){var l=this.nearestPoint(t,e,n,r,i,o,s,c);return a(l.x,l.y,s,c)},interpolationAt:y,pointAt:function(t,e,n,r,i,o,a){return{x:y(t,n,i,a),y:y(e,r,o,a)}},divide:function(t,e,n,r,i,o,a){return b(t,e,n,r,i,o,a)},tangentAngle:function(t,e,n,r,i,o,a){var s=m(t,n,i,a),c=m(e,r,o,a),l=Math.atan2(c,s);return u(l)}};function j(t,e,n,r,i){var o=1-i;return o*o*o*t+3*e*i*o*o+3*n*i*i*o+r*i*i*i}function w(t,e,n,r,i){var o=1-i;return 3*(o*o*(e-t)+2*o*i*(n-e)+i*i*(r-n))}function k(t,e,n,r){var i,o,a,c=-3*t+9*e-9*n+3*r,l=6*t-12*e+6*n,u=3*e-3*t,h=[];if(s(c,0))s(l,0)||(i=-u/l,i>=0&&i<=1&&h.push(i));else{var f=l*l-4*c*u;s(f,0)?h.push(-l/(2*c)):f>0&&(a=Math.sqrt(f),i=(-l+a)/(2*c),o=(-l-a)/(2*c),i>=0&&i<=1&&h.push(i),o>=0&&o<=1&&h.push(o))}return h}function S(t,e,n,r,i,o,a,s,c){var l=j(t,n,i,a,c),u=j(e,r,o,s,c),h=f.pointAt(t,e,n,r,c),p=f.pointAt(n,r,i,o,c),d=f.pointAt(i,o,a,s,c),g=f.pointAt(h.x,h.y,p.x,p.y,c),y=f.pointAt(p.x,p.y,d.x,d.y,c);return[[t,e,h.x,h.y,g.x,g.y,l,u],[l,u,y.x,y.y,d.x,d.y,a,s]]}function C(t,e,n,r,i,o,a,s,c){if(0===c)return g([t,n,i,a],[e,r,o,s]);var l=S(t,e,n,r,i,o,a,s,.5),u=l[0],h=l[1];return u.push(c-1),h.push(c-1),C.apply(null,u)+C.apply(null,h)}var M={extrema:k,box:function(t,e,n,r,i,o,a,s){for(var l=[t,a],u=[e,s],h=k(t,n,i,a),f=k(e,r,o,s),p=0;p0?n:-1*n}var T={box:function(t,e,n,r){return{x:t-n,y:e-r,width:2*n,height:2*r}},length:function(t,e,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(t,e,n,r,i,o){var a=n,s=r;if(0===a||0===s)return{x:t,y:e};for(var c,l,u=i-t,h=o-e,f=Math.abs(u),p=Math.abs(h),d=a*a,g=s*s,y=Math.PI/4,v=0;v<4;v++){c=a*Math.cos(y),l=s*Math.sin(y);var m=(d-g)*Math.pow(Math.cos(y),3)/a,b=(g-d)*Math.pow(Math.sin(y),3)/s,x=c-m,O=l-b,j=f-m,w=p-b,k=Math.hypot(O,x),S=Math.hypot(w,j),C=k*Math.asin((x*w-O*j)/(k*S)),M=C/Math.sqrt(d+g-c*c-l*l);y+=M,y=Math.min(Math.PI/2,Math.max(0,y))}return{x:t+A(c,u),y:e+A(l,h)}},pointDistance:function(t,e,n,r,i,o){var s=this.nearestPoint(t,e,n,r,i,o);return a(s.x,s.y,i,o)},pointAt:function(t,e,n,r,i){var o=2*Math.PI*i;return{x:t+n*Math.cos(o),y:e+r*Math.sin(o)}},tangentAngle:function(t,e,n,r,i){var o=2*Math.PI*i,a=Math.atan2(r*Math.cos(o),-n*Math.sin(o));return u(a)}};function E(t,e,n,r,i,o,a,s){return-1*n*Math.cos(i)*Math.sin(s)-r*Math.sin(i)*Math.cos(s)}function P(t,e,n,r,i,o,a,s){return-1*n*Math.sin(i)*Math.sin(s)+r*Math.cos(i)*Math.cos(s)}function _(t,e,n){return Math.atan(-e/t*Math.tan(n))}function L(t,e,n){return Math.atan(e/(t*Math.tan(n)))}function F(t,e,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+t}function I(t,e,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+e}function D(t,e,n,r){var i=Math.atan2(r*t,n*e);return(i+2*Math.PI)%(2*Math.PI)}function B(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function R(t,e,n){var r=Math.cos(n),i=Math.sin(n);return[t*r-e*i,t*i+e*r]}var N={box:function(t,e,n,r,i,o,a){for(var s=_(n,r,i),c=1/0,l=-1/0,u=[o,a],h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var f=s+h;ol&&(l=p)}var d=L(n,r,i),g=1/0,y=-1/0,v=[o,a];for(h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var m=d+h;oy&&(y=b)}return{x:c,y:g,width:l-c,height:y-g}},length:function(t,e,n,r,i,o,a){},nearestPoint:function(t,e,n,r,i,o,a,s,c){var l=R(s-t,c-e,-i),u=l[0],h=l[1],f=T.nearestPoint(0,0,n,r,u,h),p=D(n,r,f.x,f.y);pa&&(f=B(n,r,a));var d=R(f.x,f.y,i);return{x:d[0]+t,y:d[1]+e}},pointDistance:function(t,e,n,r,i,o,s,c,l){var u=this.nearestPoint(t,e,n,r,c,l);return a(u.x,u.y,c,l)},pointAt:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o;return{x:F(t,e,n,r,i,c),y:I(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o,l=E(t,e,n,r,i,o,a,c),h=P(t,e,n,r,i,o,a,c);return u(Math.atan2(h,l))}};function z(t){for(var e=0,n=[],r=0;r1||e<0||t.length<2)return null;var n=z(t),r=n.segments,i=n.totalLength;if(0===i)return{x:t[0][0],y:t[0][1]};for(var o=0,a=null,s=0;s=o&&e<=o+h){var p=(e-o)/h;a=f.pointAt(l[0],l[1],u[0],u[1],p);break}o+=h}return a}function V(t,e){if(e>1||e<0||t.length<2)return 0;for(var n=z(t),r=n.segments,i=n.totalLength,o=0,a=0,s=0;s=o&&e<=o+h){a=Math.atan2(u[1]-l[1],u[0]-l[0]);break}o+=h}return a}function W(t,e,n){for(var r=1/0,i=0;iy.length?(l=f["parsePathString"](o[c]),y=f["parsePathString"](i[c]),y=f["fillPathByDiff"](y,l),y=f["formatPath"](y,l),e.fromAttrs.path=y,e.toAttrs.path=l):e.pathFormatted||(l=f["parsePathString"](o[c]),y=f["parsePathString"](i[c]),y=f["formatPath"](y,l),e.fromAttrs.path=y,e.toAttrs.path=l,e.pathFormatted=!0),r[c]=[];for(var v=0;v0){for(var a=r.animators.length-1;a>=0;a--)if(t=r.animators[a],t.destroyed)r.removeAnimator(a);else{if(!t.isAnimatePaused()){e=t.get("animations");for(var s=e.length-1;s>=0;s--)n=e[s],i=v(t,n,o),i&&(e.splice(s,1),i=!1,n.callback&&n.callback())}0===e.length&&r.removeAnimator(a)}var c=r.canvas.get("autoDraw");c||r.canvas.draw()}})},t.prototype.addAnimator=function(t){this.animators.push(t)},t.prototype.removeAnimator=function(t){this.animators.splice(t,1)},t.prototype.isAnimating=function(){return!!this.animators.length},t.prototype.stop=function(){this.timer&&this.timer.stop()},t.prototype.stopAllAnimations=function(t){void 0===t&&(t=!0),this.animators.forEach(function(e){e.stopAnimate(t)}),this.animators=[],this.canvas.draw()},t.prototype.getTime=function(){return this.current},t}(),b=m,x=n("5eLp"),O=40,j=0,w=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function k(t,e,n){n.name=e,n.target=t,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}function S(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),t.isCanvas()&&i)return;if(r&&Object(a["g"])(t,r))return void(n.bubbles=!1);n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}var C=function(){function t(t){var e=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(t){var n=t.type;e._triggerEvent(n,t)},this._onDocumentMove=function(t){var n=e.canvas,r=n.get("el");if(r!==t.target&&(e.dragging||e.currentShape)){var i=e._getPointInfo(t);e.dragging&&e._emitEvent("drag",t,i,e.draggingShape)}},this._onDocumentMouseUp=function(t){var n=e.canvas,r=n.get("el");if(r!==t.target&&e.dragging){var i=e._getPointInfo(t);e.draggingShape&&e._emitEvent("drop",t,i,null),e._emitEvent("dragend",t,i,e.draggingShape),e._afterDrag(e.draggingShape,i,t)}},this.canvas=t.canvas}return t.prototype.init=function(){this._bindEvents()},t.prototype._bindEvents=function(){var t=this,e=this.canvas.get("el");Object(a["a"])(w,function(n){e.addEventListener(n,t._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._clearEvents=function(){var t=this,e=this.canvas.get("el");Object(a["a"])(w,function(n){e.removeEventListener(n,t._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._getEventObj=function(t,e,n,r,i,o){var a=new x["a"](t,e);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},t.prototype._getShape=function(t,e){return this.canvas.getShape(t.x,t.y,e)},t.prototype._getPointInfo=function(t){var e=this.canvas,n=e.getClientByEvent(t),r=e.getPointByEvent(t);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},t.prototype._triggerEvent=function(t,e){var n=this._getPointInfo(e),r=this._getShape(n,e),i=this["_on"+t],o=!1;if(i)i.call(this,n,r,e);else{var a=this.currentShape;"mouseenter"===t||"dragenter"===t||"mouseover"===t?(this._emitEvent(t,e,n,null,null,r),r&&this._emitEvent(t,e,n,r,null,r),"mouseenter"===t&&this.draggingShape&&this._emitEvent("dragenter",e,n,null)):"mouseleave"===t||"dragleave"===t||"mouseout"===t?(o=!0,a&&this._emitEvent(t,e,n,a,a,null),this._emitEvent(t,e,n,null,a,null),"mouseleave"===t&&this.draggingShape&&this._emitEvent("dragleave",e,n,null)):this._emitEvent(t,e,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas,c=s.get("el");c.style.cursor=r.attr("cursor")||s.get("cursor")}},t.prototype._onmousedown=function(t,e,n){n.button===j&&(this.mousedownShape=e,this.mousedownPoint=t,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,t,e,null,null)},t.prototype._emitMouseoverEvents=function(t,e,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",t,e,n,n,r),this._emitEvent("mouseleave",t,e,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",t,e,r,n,r),this._emitEvent("mouseenter",t,e,r,n,r)))},t.prototype._emitDragoverEvents=function(t,e,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",t,e,n,n,r),this._emitEvent("dragenter",t,e,r,n,r)),i||this._emitEvent("dragover",t,e,r)):n&&this._emitEvent("dragleave",t,e,n,n,r),i&&this._emitEvent("dragover",t,e,r)},t.prototype._afterDrag=function(t,e,n){t&&(t.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(e,n);r!==t&&this._emitMouseoverEvents(n,e,t,r),this.currentShape=r},t.prototype._onmouseup=function(t,e,n){if(n.button===j){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,t,e),this._emitEvent("dragend",n,t,r),this._afterDrag(r,t,n)):(this._emitEvent("mouseup",n,t,e),e===this.mousedownShape&&this._emitEvent("click",n,t,e),this.mousedownShape=null,this.mousedownPoint=null)}},t.prototype._ondragover=function(t,e,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,t,r,e,!0)},t.prototype._onmousemove=function(t,e,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,t,i,e,!1),this._emitEvent("drag",n,t,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,c=n.timeStamp,l=c-this.mousedownTimeStamp,u=a.clientX-t.clientX,h=a.clientY-t.clientY,f=u*u+h*h;l>120||f>O?s&&s.get("draggable")?(o=this.mousedownShape,o.set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,t,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var a=this._getEventObj(t,e,n,r,i,o);if(r){a.shape=r,k(r,t,a);var s=r.getParent();while(s)s.emitDelegation(t,a),a.propagationStopped||S(s,t,a),a.propagationPath.push(s),s=s.getParent()}else{var c=this.canvas;k(c,t,a)}},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}(),M=C,A="px",T=Object(i["a"])(),E=T&&"firefox"===T.name,P=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["cursor"]="default",e["supportCSSTransform"]=!1,e},e.prototype.initContainer=function(){var t=this.get("container");Object(a["h"])(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t);var e=this.get("container");e.appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new M({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new b(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");a["c"]&&(n.style.width=t+A,n.style.height=e+A)},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");a["c"]&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){var e=this.get("supportCSSTransform");if(e){if(E&&!Object(a["e"])(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!Object(a["e"])(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),r=n.x,i=n.y;return this.getPointByClient(r,i)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect();return{x:t-r.left,y:e-r.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect();return{x:t+r.left,y:e+r.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){var t=this.get("eventController");t.destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(o["a"]);e["a"]=P},EpBk:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},ExA7:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},"F/eT":function(t,e,n){"use strict";function r(t){return"number"===typeof t&&!isNaN(t)}function i(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i})},FAXy:function(t,e,n){"use strict";var r=n("mrSG"),i=n("kXyF"),o=n("zJSt"),a=n("iTfj"),s=n("w02o"),c=n("YuPD"),l=n("tKoa"),u="liquid";function h(t){return[{percent:t,type:u}]}function f(t){var e=t.chart,n=t.options,r=n.percent,i=n.color,o=n.liquidStyle,a=n.radius,s=n.outline,u=n.wave,f=n.shape;e.scale({percent:{min:0,max:1}}),e.data(h(r));var p=Object(c["b"])({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:i,style:o,shape:"liquid-fill-gauge"}}}),d=Object(l["c"])(p).ext,g=d.geometry;return g.customInfo({radius:a,outline:s,wave:u,shape:f}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function p(t,e){var n=t.chart,r=t.options,i=r.statistic,o=r.percent,s=r.meta;if(n.getController("annotation").clear(!0),i.content&&!i.content.formatter){var l=Object(a["get"])(s,["percent","formatter"]);i.content.formatter=function(t){var e=t.percent;return l?l(e):(100*e).toFixed(2)+"%"}}return Object(c["p"])(n,{statistic:i,plotType:"liquid"},{percent:o}),e&&n.render(!0),t}function d(t){return Object(c["e"])(f,p,Object(s["f"])({}),s["a"],s["j"],s["c"])(t)}var g=n("qaDU"),y=5e3;function v(t,e,n){return t+(e-t)*n}function m(t){var e=Object(r["a"])({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}function b(t){var e={fill:"#fff",fillOpacity:0,lineWidth:4},n=Object(a["mix"])({},e,t.style);return t.color&&!n.stroke&&(n.stroke=t.color),Object(a["isNumber"])(t.opacity)&&(n.opacity=n.strokeOpacity=t.opacity),n}function x(t,e,n,r){return 0===e?[[t+.5*n/Math.PI/2,r/2],[t+.5*n/Math.PI,r],[t+n/4,r]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),r],[t+.5*n/Math.PI/2*(Math.PI-1),r/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-r/2],[t+.5*n/Math.PI,-r],[t+n/4,-r]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-r],[t+.5*n/Math.PI/2*(Math.PI-1),-r/2],[t+n/4,0]]}function O(t,e,n,r,i,o,a){var s=4*Math.ceil(2*t/n*4),c=[],l=r;while(l<2*-Math.PI)l+=2*Math.PI;while(l>0)l-=2*Math.PI;l=l/Math.PI/2*n;var u=o-t+l-2*t;c.push(["M",u,e]);for(var h=0,f=0;f0?v:m},O=Object(c["b"])({},t,{options:{xField:i,yField:l,seriesField:i,rawFields:[a,u,f,l],widthRatio:g,interval:{style:y,shape:"waterfall",color:x}}}),j=Object(s["c"])(O).ext,w=j.geometry;return w.customInfo({leaderLine:p}),t}function b(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,f=r.xField,p=r.yField,d=r.meta,g=Object(c["b"])({},{alias:p},Object(o["get"])(d,p));return Object(c["e"])(Object(a["f"])((e={},e[f]=i,e[p]=s,e[l]=s,e),Object(c["b"])({},d,(n={},n[l]=g,n[u]=g,n[h]=g,n))))(t)}function x(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?(e.axis(a,!1),e.axis(l,!1)):(e.axis(a,i),e.axis(l,i)),t}function O(t){var e=t.chart,n=t.options,r=n.legend,i=n.total,a=n.risingFill,s=n.fallingFill;if(!1===r)e.legend(!1);else{var l=[{name:"\u589e\u52a0",value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:"\u51cf\u5c11",value:"decrease",marker:{symbol:"square",style:{r:5,fill:s}}}];i&&l.push({name:i.label||"",value:"total",marker:{symbol:"square",style:Object(c["b"])({},{r:5},Object(o["get"])(i,"style"))}}),e.legend(Object(c["b"])({},{custom:!0,position:"top",items:l},r)),e.removeInteraction("legend-filter")}return t}function j(t){var e=t.chart,n=t.options,i=n.label,o=n.labelMode,a=n.xField,s=Object(c["c"])(e,"interval");if(i){var l=i.callback,f=Object(r["c"])(i,["callback"]);s.label({fields:"absolute"===o?[h,a]:[u,a],callback:l,cfg:Object(c["r"])(f)})}else s.label(!1);return t}function w(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.xField,a=n.yField;if(!1!==i){e.tooltip(Object(r["a"])({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},i));var s=e.geometries[0];(null===i||void 0===i?void 0:i.formatter)?s.tooltip(o+"*"+a,i.formatter):s.tooltip(a)}else e.tooltip(!1);return t}function k(t){return Object(c["e"])(m,b,x,O,w,j,a["i"],a["j"],a["c"],a["a"],Object(a["b"])())(t)}Object(g["l"])("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,a=t.nextPoints,s=e.addGroup(),c=this.parsePath(y(i)),l=v(t);s.addShape("path",{attrs:Object(r["a"])(Object(r["a"])({},l),{path:c})});var u=Object(o["get"])(n,"leaderLine");if(u&&a){var h=[["M",i[2].x,i[2].y],["L",a[0].x,a[0].y]];i[2].y===a[1].y&&(h[1]=["L",a[1].x,a[1].y]),h=this.parsePath(h),s.addShape("path",{attrs:Object(r["a"])({path:h},u.style||{})})}return s}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="waterfall",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){var e=this.options,n=e.xField,r=e.yField,i=e.total;this.updateOption({data:t}),this.chart.changeData(d(t,n,r,i))},e.prototype.getSchemaAdaptor=function(){return k},e.prototype.getDefaultOptions=function(){return{label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{label:"\u603b\u8ba1",style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}}})(i["b"])},GNiM:function(t,e,n){var r=n("I01J"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=a},GZ5e:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o,a,s,c,l,u,h,f,p=e+1,d=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(f=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],l=t.eMarks[p],c=l)))){u=61===h?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,o=0,a=d.length;o0&&void 0!==arguments[0]?arguments[0]:{},e=t.history||Object(u["b"])(),n={initialReducer:{router:E(e)},setupMiddlewares:function(t){return[P(e)].concat(Object(o["a"])(t))},setupApp:function(t){t._history=R(e)}},r=Object(d["a"])(t,n),a=r.start;return r.router=s,r.start=c,r;function s(t){l()(_(t),"[app.router] router should be function, but got ".concat(Object(i["a"])(t))),r._router=t}function c(t){I(t)&&(t=f.a.querySelector(t),l()(t,"[app.start] container ".concat(t," not found"))),l()(!t||F(t),"[app.start] container should be HTMLElement"),l()(r._router,"[app.start] router must be registered before app.start()"),r._store||a.call(r);var e=r._store;if(r._getProvider=D.bind(null,e,r),!t)return D(e,this,this._router);B(t,e,r,r._router),r._plugin.apply("onHmr")(B.bind(null,t,e,r))}}function F(t){return"object"===Object(i["a"])(t)&&null!==t&&t.nodeType&&t.nodeName}function I(t){return"string"===typeof t}function D(t,e,n){var i=function(i){return s.a.createElement(p["a"],{store:t},n(Object(r["a"])({app:e,history:e._history},i)))};return i}function B(t,e,r,i){var o=n("i8i4");o.render(s.a.createElement(D(e,r,i)),t)}function R(t){var e=t.listen;return t.listen=function(n){var r=n.toString(),i="handleLocationChange"===n.name&&r.indexOf("onLocationChanged")>-1||r.indexOf(".inTimeTravelling")>-1&&r.indexOf(".inTimeTravelling")>-1&&r.indexOf("arguments[2]")>-1;return n(t.location,t.action),e.call(t,function(){for(var t=arguments.length,e=new Array(t),r=0;r0&&r++,"text"===i[e].type&&e+1\x00-\x20]*)$/;t.exports=function(t,e){var n,o,a,s,c,l,u=t.pos;if(60!==t.src.charCodeAt(u))return!1;for(c=t.pos,l=t.posMax;;){if(++u>=l)return!1;if(s=t.src.charCodeAt(u),60===s)return!1;if(62===s)break}return n=t.src.slice(c+1,u),i.test(n)?(o=t.md.normalizeLink(n),!!t.md.validateLink(o)&&(e||(a=t.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(n),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=n.length+2,!0)):!!r.test(n)&&(o=t.md.normalizeLink("mailto:"+n),!!t.md.validateLink(o)&&(e||(a=t.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(n),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=n.length+2,!0))}},KavR:function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("0Xep"),a=n("Qci9");function s(t,e){return(e-t)*Math.random()+t}var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["clone"](t),n=i["flatten"](e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,o=this.groupData(n,t);return i["each"](o,function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)})},e.prototype.getAdjustOffset=function(t){var e=t.pre,n=t.next,r=(n-e)*o["c"];return s(e+r,n-r)},e.prototype.adjustGroup=function(t,e,n,r){var o=this,a=this.getAdjustRange(e,n,r);return i["each"](t,function(t){t[e]=o.getAdjustOffset(a)}),t},e}(a["a"]);e["a"]=c},KfNM:function(t,e){var n=Object.prototype,r=n.toString;function i(t){return r.call(t)}t.exports=i},Kz5y:function(t,e,n){var r=n("WFqU"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},L16w:function(t,e,n){"use strict";e["a"]={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}},L8xA:function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},LcsW:function(t,e,n){var r=n("kekF"),i=r(Object.getPrototypeOf,Object);t.exports=i},LmB6:function(t,e,n){"use strict";var r=n("mrSG"),i=n("f6Jy"),o=n("sstZ"),a=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=Object(o["i"])(r,e),n}return Object(r["b"])(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}(i["a"]);e["a"]=a},LsHQ:function(t,e,n){var r=n("EA7m"),i=n("mv/X");function o(t){return r(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);while(++r1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}Object(r["each"])(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0}var s=a;function c(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var l="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",u=new RegExp("([a-z])["+l+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+l+"]*,?["+l+"]*)+)","ig"),h=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+l+"]*,?["+l+"]*","ig");function f(t){if(!t)return null;if(Object(r["isArray"])(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(u,function(t,r,i){var o=[],a=r.toLowerCase();if(i.replace(h,function(t,e){e&&o.push(+e)}),"m"===a&&o.length>2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else while(o.length>=e[a])if(n.push([r].concat(o.splice(0,e[a]))),!e[a])break;return""}),n}var p=/[a-z]/;function d(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function g(t){var e=f(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return e;var o=[],a=0,s=0,c=0,l=0,u=0,h=e[0];"M"!==h[0]&&"m"!==h[0]||(a=+h[1],s=+h[2],c=a,l=s,u++,o[0]=["M",a,s]);r=u;for(var g=e.length;r1&&(n*=Math.sqrt(d),i*=Math.sqrt(d));var g=n*n*(p*p)+i*i*(f*f),y=g?Math.sqrt((n*n*(i*i)-g)/g):1;a===s&&(y*=-1),isNaN(y)&&(y=0);var x=i?y*n*p/i:0,O=n?y*-i*f/n:0,j=(c+u)/2+Math.cos(o)*x-Math.sin(o)*O,w=(l+h)/2+Math.sin(o)*x+Math.cos(o)*O,k=[(f-x)/n,(p-O)/i],S=[(-1*f-x)/n,(-1*p-O)/i],C=m([1,0],k),M=m(k,S);return v(k,S)<=-1&&(M=Math.PI),v(k,S)>=1&&(M=0),0===s&&M>0&&(M-=2*Math.PI),1===s&&M<0&&(M+=2*Math.PI),{cx:j,cy:w,rx:b(t,[u,h])?0:n,ry:b(t,[u,h])?0:i,startAngle:C,endAngle:C+M,xRotation:o,arcFlag:a,sweepFlag:s}}function O(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function j(t){t=s(t);for(var e=[],n=null,r=null,i=null,o=0,a=t.length,c=0;c=e&&t<=n};function k(t,e,n,r){var i=.001,o={x:n.x-t.x,y:n.y-t.y},a={x:e.x-t.x,y:e.y-t.y},s={x:r.x-n.x,y:r.y-n.y},c=a.x*s.y-a.y*s.x,l=c*c,u=a.x*a.x+a.y*a.y,h=s.x*s.x+s.y*s.y,f=null;if(l>i*u*h){var p=(o.x*s.y-o.y*s.x)/c,d=(o.x*a.y-o.y*a.x)/c;w(p,0,1)&&w(d,0,1)&&(f={x:t.x+p*a.x,y:t.y+p*a.y})}return f}var S=1e-6;function C(t){return Math.abs(t)0!==C(s[1]-n)>0&&C(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function T(t){for(var e=[],n=t.length,r=0;r1){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 E(t,e){var n=!1;return Object(r["each"])(t,function(t){if(k(t.from,t.to,e.from,e.to))return n=!0,!1}),n}function P(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 _(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,a=t.maxY;if(e){var s=Object(o["c"])(e,[t.minX,t.minY]),c=Object(o["c"])(e,[t.maxX,t.minY]),l=Object(o["c"])(e,[t.minX,t.maxY]),u=Object(o["c"])(e,[t.maxX,t.maxY]);n=Math.min(s[0],c[0],l[0],u[0]),i=Math.max(s[0],c[0],l[0],u[0]),r=Math.min(s[1],c[1],l[1],u[1]),a=Math.max(s[1],c[1],l[1],u[1])}var h=this.attrs;if(h.shadowColor){var f=h.shadowBlur,p=void 0===f?0:f,d=h.shadowOffsetX,g=void 0===d?0:d,y=h.shadowOffsetY,v=void 0===y?0:y,m=n-p+g,b=i+p+g,x=r-p+v,O=a+p+v;n=Math.min(n,m),i=Math.max(i,b),r=Math.min(r,x),a=Math.max(a,O)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:a,width:i-n,height:a-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1];i=this.invertFromMatrix(i);var o=i[0],a=i[1],s=this._isInBBox(o,a);if(this.isOnlyHitBox())return s;if(s&&!this.isClipped(o,a)){if(this.isInShape(o,a))return!0;if(n&&n.isHit(o,a))return!0;if(r&&r.isHit(o,a))return!0}return!1},e}(i["a"]);e["a"]=a},MeYt:function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("1//c"),a=n("jqgP"),s=n("5UbV"),c=n("NmWf"),l="update_status",u=["visible","tip","delegateObject"],h=["container","group","shapesMap","isRegister","isUpdating","destroyed"],f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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(i["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=Object(a["a"])(n,e)),e},e.prototype.on=function(t,e,n){var r=this.get("group");return r.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),Object(o["a"])(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",Object(s["d"])(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,o=Object(r["c"])(e,["id","component"]),a=new i(Object(r["a"])(Object(r["a"])({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return a.init(),a.render(),this.get("isRegister")&&this.registerElement(a.get("group")),a},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=Object(a["f"])(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");Object(i["isNil"])(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,o=this.get("animate"),a=this.get("animateOption"),c=t.getChildren().slice(0);Object(i["each"])(c,function(t){var c=t.get("id"),f=r.getElementById(c),p=t.get("name");if(f)if(t.get("isComponent")){var d=t.get("component"),g=f.get("component"),y=Object(i["pick"])(d.cfg,Object(i["difference"])(Object(i["keys"])(d.cfg),h));g.update(y),f.set(l,"update")}else{var v=r.getReplaceAttrs(f,t);o&&a.update?r.updateAnimation(p,f,v,a.update):f.attr(v),t.isGroup()&&r.updateElements(t,f),Object(i["each"])(u,function(e){f.set(e,t.get(e))}),Object(s["m"])(f,t),n=f,f.set(l,"update")}else{e.add(t);var m=e.getChildren();if(m.splice(m.length-1,1),n){var b=m.indexOf(n);m.splice(b+1,0,t)}else m.unshift(t);if(r.registerElement(t),t.set(l,"add"),t.get("isComponent")){d=t.get("component");d.set("container",e)}else t.isGroup()&&r.registerNewGroup(t);if(n=t,o){var x=r.get("isInit")?a.appear:a.enter;x&&r.addAnimation(p,t,x)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();Object(i["each"])(e,function(t){t.set(l,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(i["mix"])(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return Object(i["each"])(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();Object(i["each"])(n,function(t){e.registerElement(t),t.set(l,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];Object(i["each"])(e,function(t,e){!t.get(l)||t.destroyed?n.push([e,t]):t.set(l,null)});var r=this.get("animate"),o=this.get("animateOption");Object(i["each"])(n,function(n){var a=n[0],s=n[1];if(!s.destroyed){var c=s.get("name");if(r&&o.leave){var l=Object(i["mix"])({callback:function(){t.removeElement(s)}},o.leave);t.removeAnimation(c,s,l)}else t.removeElement(s)}delete e[a]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(c["a"]);e["a"]=f},Mffy:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=["#FAAD14","#E8EDF3"],i={percent:.2,color:r,animation:{}}},Mj7Y:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa"),c=n("iTfj"),l={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function u(t,e){return e=Object(c["assign"])({},l,e),h(t,e)}function h(t,e){var n=P();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){Object(c["isNil"])(e[t])||n[t](e[t])}),n.words(t),e.imageMask&&n.createMask(e.imageMask);var r=n.start(),i=r._tags;i.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var o=e.size,a=o[0],s=o[1];return i.push({text:"",value:0,x:0,y:0,opacity:0}),i.push({text:"",value:0,x:a,y:s,opacity:0}),i}var f=Math.PI/180,p=64,d=2048;function g(t){return t.text}function y(){return"serif"}function v(){return"normal"}function m(t){return t.value}function b(){return 90*~~(2*Math.random())}function x(){return 1}function O(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,(p<<5)/o,d/o);var a=0,s=0,c=0,l=n.length;--r;while(++r>5<<5,h=~~Math.max(Math.abs(m+b),Math.abs(m-b))}else u=u+31>>5<<5;if(h>c&&(c=h),a+u>=p<<5&&(a=0,s+=c,c=0),s+h>=d)break;i.translate((a+(u>>1))/o,(s+(h>>1))/o),e.rotate&&i.rotate(e.rotate*f),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=u,e.height=h,e.xoff=a,e.yoff=s,e.x1=u>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,a+=u}var O=i.getImageData(0,0,(p<<5)/o,d/o).data,j=[];while(--r>=0)if(e=n[r],e.hasText){u=e.width;for(var w=u>>5,k=(h=e.y1-e.y0,0);k>5),T=O[(s+M)*(p<<5)+(a+k)<<2]?1<<31-k%32:0;j[A]|=T,S|=T}S?C=M:(e.y0++,h--,M--,s++)}e.y1=e.y0+C,e.sprite=j.slice(0,(e.y1-e.y0)*w)}}}function j(t,e,n){n>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,c=32-s,l=t.y1-t.y0,u=(t.y+t.y0)*n+(a>>5),h=0;h>>s:0))&e[u+f])return!0;u+=n}return!1}function w(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function k(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0>2);t.width=(p<<5)/e,t.height=d/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}function _(e,n,r){var i,o,c,l=n.x,u=n.y,h=Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=a(t),p=s()<.5?1:-1,d=-p;while(i=f(d+=p)){if(o=~~i[0],c=~~i[1],Math.min(Math.abs(o),Math.abs(c))>=h)break;if(n.x=l+o,n.y=u+c,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!r||!j(n,e,t[0]))&&(!r||k(n,r))){for(var g=n.sprite,y=n.width>>5,v=t[0]>>5,m=n.x-(y<<4),b=127&m,x=32-b,O=n.y1-n.y0,w=void 0,S=(n.y+n.y0)*v+(m>>5),C=0;C>>b:0);S+=v}return delete n.sprite,!0}}return!1}return C.start=function(){var a=t[0],p=t[1],d=P(f()),g=C.board?C.board:M((t[0]>>5)*t[1]),y=c.length,v=[],m=c.map(function(t,a,s){return t.text=u.call(this,t,a,s),t.font=e.call(this,t,a,s),t.style=h.call(this,t,a,s),t.weight=r.call(this,t,a,s),t.rotate=i.call(this,t,a,s),t.size=~~n.call(this,t,a,s),t.padding=o.call(this,t,a,s),t}).sort(function(t,e){return e.size-t.size}),b=-1,x=C.board?[{x:0,y:0},{x:a,y:p}]:null;function j(){var e=Date.now();while(Date.now()-e>1,n.y=p*(s()+.5)>>1,O(d,n,m,b),n.hasText&&_(g,n,x)&&(v.push(n),x?C.hasImage||w(x,n):x=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}C._tags=v,C._bounds=x}return j(),C},C.createMask=function(e){var n=document.createElement("canvas"),r=t[0],i=t[1];if(r&&i){var o=r>>5,a=M((r>>5)*i);n.width=r,n.height=i;var s=n.getContext("2d");s.drawImage(e,0,0,e.width,e.height,0,0,r,i);for(var c=s.getImageData(0,0,r,i).data,l=0;l>5),f=l*r+u<<2,p=c[f]>=250&&c[f+1]>=250&&c[f+2]>=250,d=p?1<<31-u%32:0;a[h]|=d}C.board=a,C.hasImage=!0}},C.timeInterval=function(t){l=null==t?1/0:t},C.words=function(t){c=t},C.size=function(e){t=[+e[0],+e[1]]},C.font=function(t){e=T(t)},C.fontWeight=function(t){r=T(t)},C.rotate=function(t){i=T(t)},C.spiral=function(t){a=E[t]||t},C.fontSize=function(t){n=T(t)},C.padding=function(t){o=T(t)},C.random=function(t){s=T(t)},C}function _(t){var e=t.options,n=t.chart,i=n,o=i.width,a=i.height,s=i.padding,l=i.appendPadding,h=i.ele,f=e.data,p=e.imageMask,d=e.wordField,g=e.weightField,y=e.colorField,v=e.wordStyle,m=e.timeInterval,b=e.random,x=e.spiral,O=e.autoFit,j=void 0===O||O,w=e.placementStrategy;if(!f||!f.length)return[];var k=v.fontFamily,S=v.fontWeight,C=v.padding,M=v.fontSize,A=R(f,g),E=[Y(A),G(A)],P=f.map(function(t){return{text:t[d],value:t[g],color:t[y],datum:t}}),_={imageMask:p,font:k,fontSize:B(M,E),fontWeight:S,size:L({width:o,height:a,padding:s,appendPadding:l,autoFit:j,container:h}),padding:C,timeInterval:m,random:b,spiral:x,rotate:N(e)};if(Object(c["isFunction"])(w)){var F=P.map(function(t,e,i){return Object(r["a"])(Object(r["a"])(Object(r["a"])({},t),{hasText:!!t.text,font:T(_.font)(t,e,i),weight:T(_.fontWeight)(t,e,i),rotate:T(_.rotate)(t,e,i),size:T(_.fontSize)(t,e,i),style:"normal"}),w.call(n,t,e,i))});return F.push({text:"",value:0,x:0,y:0,opacity:0}),F.push({text:"",value:0,x:_.size[0],y:_.size[1],opacity:0}),F}return u(P,_)}function L(t){var e=t.width,n=t.height,r=t.container,i=t.autoFit,a=t.padding,s=t.appendPadding;if(i){var c=Object(o["g"])(r);e=c.width,n=c.height}e=e||400,n=n||400;var l=F({padding:a,appendPadding:s}),u=l[0],h=l[1],f=l[2],p=l[3],d=[e-(p+h),n-(u+f)];return d}function F(t){var e=I(t.padding),n=I(t.appendPadding),r=e[0]+n[0],i=e[1]+n[1],o=e[2]+n[2],a=e[3]+n[3];return[r,i,o,a]}function I(t){if(Object(c["isNumber"])(t))return[t,t,t,t];if(Object(c["isArray"])(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}function D(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement)e(t);else{if(Object(c["isString"])(t)){var r=new Image;return r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},void(r.onerror=function(){Object(o["m"])(o["a"].ERROR,!1,"image %s load failed !!!",t),n()})}Object(o["m"])(o["a"].WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()}})}function B(t,e){if(Object(c["isFunction"])(t))return t;if(Object(c["isArray"])(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var i=e[0],o=e[1];return o===i?function(){return(r+n)/2}:function(t){var e=t.value;return(r-n)/(o-i)*(e-i)+n}}return function(){return t}}function R(t,e){return t.map(function(t){return t[e]}).filter(function(t){return"number"===typeof t&&!isNaN(t)})}function N(t){var e=z(t),n=e.rotation,r=e.rotationSteps;if(!Object(c["isArray"])(n))return n;var i=n[0],o=n[1],a=1===r?0:(o-i)/(r-1);return function(){return o===i?o:Math.floor(Math.random()*r)*a}}function z(t){var e=t.wordStyle.rotationSteps;return e<1&&(Object(o["m"])(o["a"].WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}function Y(t){return Math.min.apply(Math,t)}function G(t){return Math.max.apply(Math,t)}function V(t){var e=t.chart,n=t.options,r=n.colorField,i=n.color,a=_(t);e.data(a);var c=Object(o["b"])({},t,{options:{xField:"x",yField:"y",seriesField:r&&"color",point:{color:i,shape:"word-cloud"}}}),l=Object(s["e"])(c).ext;return l.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function W(t){return Object(o["e"])(Object(a["f"])({x:{nice:!1},y:{nice:!1}}))(t)}function H(t){Object(o["e"])(V,W,a["k"],a["d"],a["c"],a["a"],a["j"],a["i"])(t)}var X=n("kXyF");function U(t){return{fontSize:t.data.size,text:t.data.text,textAlign:"center",fontFamily:t.data.font,fontWeight:t.data.weight,fill:t.color||t.defaultStyle.stroke,textBaseline:"alphabetic"}}Object(X["l"])("point","word-cloud",{draw:function(t,e){var n=t.x,i=t.y,o=e.addShape("text",{attrs:Object(r["a"])(Object(r["a"])({},U(t)),{x:n,y:i})}),a=t.data.rotate;return"number"===typeof a&&X["f"].rotate(o,a*Math.PI/180),o}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(_({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value","color"],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i)return t.prototype.render.call(e),void n();var o=function(i){e.options=Object(r["a"])(Object(r["a"])({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};D(i).then(o).catch(o)})},e.prototype.getSchemaAdaptor=function(){return H},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))}})(i["b"])},MrPd:function(t,e,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype,a=o.hasOwnProperty;function s(t,e,n){var o=t[e];a.call(t,e)&&i(o,n)&&(void 0!==n||e in t)||r(t,e,n)}t.exports=s},Mw2x:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zK8m"),o=n("sstZ"),a={},s="_INDEX";function c(t,e){if(t.set("canvas",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach(function(t){c(t,e)})}}function l(t,e){if(t.set("timeline",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach(function(t){l(t,e)})}}function u(t,e,n){void 0===n&&(n=!0),n?e.destroy():(e.set("parent",null),e.set("canvas",null)),Object(o["j"])(t.getChildren(),e)}function h(t){return function(e,n){var r=t(e,n);return 0===r?e[s]-n[s]:r}}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});s.length>0?(Object(o["a"])(s,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)}),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n};return c},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});s.length>0?(Object(o["a"])(s,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)}),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n};return c},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["children"]=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();Object(o["a"])(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;a--){var s=t[a];if(Object(o["b"])(s)&&(s.isGroup()?i=s.getShape(e,n,r):s.isHit(e,n)&&(i=s)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&u(i,t,!1),t.set("parent",this),e&&c(t,e),r&&l(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();Object(o["a"])(t,function(t,e){return t[s]=e,t}),t.sort(h(function(t,e){return t.get("zIndex")-e.get("zIndex")})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){var e=this.getChildren();return e[t]},e.prototype.getCount=function(){var t=this.getChildren();return t.length},e.prototype.contain=function(t){var e=this.getChildren();return e.indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return Object(o["a"])(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return Object(o["a"])(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(i["a"]);e["a"]=f},N5VM:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&t.handleMarkers(O,e);for(r=0;r=0},t.prototype.getAdjustRange=function(t,e,n){var r,i,o=this.yField,a=n.indexOf(e),s=n.length;return!o&&this.isAdjust("y")?(r=0,i=1):s>1?(r=n[0===a?0:a-1],i=n[a===s-1?s-1:a+1],0!==a?r+=(e-r)/2:r-=(i-e)/2,a!==s-1?i-=(i-e)/2:i+=(e-n[s-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},t.prototype.adjustData=function(t,e){var n=this,i=this.getDimValues(e);r["each"](t,function(t,e){r["each"](i,function(r,i){n.adjustDim(i,r,t,e)})})},t.prototype.groupData=function(t,e){return r["each"](t,function(t){void 0===t[e]&&(t[e]=i["a"])}),r["groupBy"](t,e)},t.prototype.adjustDim=function(t,e,n,r){},t.prototype.getDimValues=function(t){var e=this,n=e.xField,o=e.yField,a={},s=[];if(n&&this.isAdjust("x")&&s.push(n),o&&this.isAdjust("y")&&s.push(o),s.forEach(function(e){a[e]=r["valuesOfKey"](t,e).sort(function(t,e){return t-e})}),!o&&this.isAdjust("y")){var c="y";a[c]=[i["a"],1]}return a},t}();e["a"]=o},QjYF:function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e){var n,i,o=t.pos;if(10!==t.src.charCodeAt(o))return!1;n=t.pending.length-1,i=t.posMax,e||(n>=0&&32===t.pending.charCodeAt(n)?n>=1&&32===t.pending.charCodeAt(n-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),o++;while(o0&&(Object(a["i"])(i)||1===i||(t.globalAlpha=i),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(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t["lineWidth"]+t["lineAppendWidth"]},e}(o["AbstractShape"]),u=l,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.r,u=i/2,h=Object(a["b"])(s,c,t,e);return r&&n?h<=l+u:r?h<=l:!!n&&(h>=l-u&&h<=l+u)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(u),f=h;function p(t,e,n,r){return t/(n*n)+e/(r*r)}var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),a=i/2,s=o.x,c=o.y,l=o.rx,u=o.ry,h=(t-s)*(t-s),f=(e-c)*(e-c);return r&&n?p(h,f,l+a,u+a)<=1:r?p(h,f,l,u)<=1:!!n&&(p(h,f,l-a,u-a)>=1&&p(h,f,l+a,u+a)<=1)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,c=i>o?o/i:1;t.save(),t.translate(n,r),t.scale(s,c),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(u),g=d;function y(t){return t instanceof HTMLElement&&Object(a["k"])(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},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(Object(a["k"])(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):y(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"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,r=e.y,i=e.width,o=e.height,s=e.sx,c=e.sy,l=e.swidth,u=e.sheight,h=e.img;(h instanceof Image||y(h))&&(Object(a["i"])(s)||Object(a["i"])(c)||Object(a["i"])(l)||Object(a["i"])(u)?t.drawImage(h,n,r,i,o):t.drawImage(h,s,c,l,u,n,r,i,o))},e}(u),m=v,b=n("EYNi");function x(t,e,n,r,i,o,a){var s=Math.min(t,n),c=Math.max(t,n),l=Math.min(e,r),u=Math.max(e,r),h=i/2;return o>=s-h&&o<=c+h&&a>=l-h&&a<=u+h&&b["c"].pointToLine(t,e,n,r,o,a)<=i/2}var O=n("nycV"),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=t.startArrow,a=t.endArrow;o&&O["b"](this,t,r,i,e,n),a&&O["a"](this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr(),a=o.x1,s=o.y1,c=o.x2,l=o.y2;return x(a,s,c,l,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,c={dx:0,dy:0},l={dx:0,dy:0};a&&a.d&&(c=O["c"](n,r,i,o,e.startArrow.d)),s&&s.d&&(l=O["c"](n,r,i,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,r+c.dy),t.lineTo(i-l.dx,o-l.dy)},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.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return b["c"].length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return b["c"].pointAt(n,r,i,o,t)},e}(u),w=j,k=n("iTfj"),S=n("LvGN"),C={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return Object(k["isNil"])(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,s=r.symbol||"circle",c=this._getR(r);if(Object(a["h"])(s))t=s,n=t(i,o,c),n=Object(S["d"])(n);else{if(t=e.Symbols[s],!t)return console.warn(s+" marker is not supported."),null;n=t(i,o,c)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");Object(s["e"])(this,t,{path:e},n)},e.Symbols=C,e}(u),A=M;function T(t,e,n){var r=Object(o["getOffScreenContext"])();return t.createPath(r),r.isPointInPath(e,n)}var E=1e-6;function P(t){return Math.abs(t)0!==P(s[1]-n)>0&&P(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}var F=n("6JdA"),I=n("n+fv");function D(t,e,n,r,i,o,s,c){var l=(Math.atan2(c-e,s-t)+2*Math.PI)%(2*Math.PI);if(li)return!1;var u={x:t+n*Math.cos(l),y:e+n*Math.sin(l)};return Object(a["b"])(u.x,u.y,s,c)<=o/2}var B=F["a"].transform;function R(t){for(var e=!1,n=t.length,r=0;rj?O:j,A=O>j?1:O/j,T=O>j?j/O:1,E=B(null,[["t",-v,-m],["r",-S],["s",1/A,1/T]]);I["transformMat3"](C,C,E),o=D(0,0,M,w,k,e,C[0],C[1]);break;default:break}if(o)break}}return o}function z(t){for(var e=t.length,n=[],r=[],i=[],o=0;o0&&r.push(i),{polygons:n,polylines:r}}var Y=Object(i["a"])({hasArc:R,extractPolygons:z,isPointInStroke:N},o["PathUtil"]);function G(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var o=i[n];if(Object(k["isNil"])(o)||Object(k["isNil"])(n))return null;var a=o.length,s=i[n+1];return b["b"].pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",Y.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(Object(k["each"])(s,function(t,e){n=s[e+1],r=t.length,n&&(i+=b["b"].length(t[r-2],t[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)}),this.set("totalLength",i),0!==i?(Object(k["each"])(s,function(c,l){n=s[l+1],r=c.length,n&&(t=[],t[0]=o/i,e=b["b"].length(c[r-2],c[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=e||0,t[1]=o/i,a.push(t))}),this.set("tCache",a)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[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 r=e[n-2].currentPoint,i=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([i[0]-o[0],i[1]-o[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(u),W=V;function H(t,e,n,r,i){var o=t.length;if(o<2)return!1;for(var a=0;a=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),b["c"].pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(k["each"])(t,function(a,s){t[s+1]&&(n=[],n[0]=i/e,r=b["c"].length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(u),Z=q,K=n("r0DC");function Q(t,e,n,r,i,o,s){var c=i/2;return Object(a["e"])(t-c,e-c,n,i,o,s)||Object(a["e"])(t+n-c,e-c,i,r,o,s)||Object(a["e"])(t+c,e+r-c,n,i,o,s)||Object(a["e"])(t-c,e+c,i,r,o,s)}function $(t,e,n,r,i,o,a,s){return x(t+i,e,t+n-i,e,o,a,s)||x(t+n,e+i,t+n,e+r-i,o,a,s)||x(t+n-i,e+r,t+i,e+r,o,a,s)||x(t,e+r-i,t,e+i,o,a,s)||D(t+n-i,e+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||D(t+n-i,e+r-i,i,0,.5*Math.PI,o,a,s)||D(t+i,e+r-i,i,.5*Math.PI,Math.PI,o,a,s)||D(t+i,e+i,i,Math.PI,1.5*Math.PI,o,a,s)}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.width,u=o.height,h=o.radius;if(h){var f=!1;return n&&(f=$(s,c,l,u,h,i,t,e)),!f&&r&&(f=T(this,t,e)),f}var p=i/2;return r&&n?Object(a["e"])(s-p,c-p,l+p,u+p,t,e):r?Object(a["e"])(s,c,l,u,t,e):n?Q(s,c,l,u,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,r,i,o);else{var s=Object(K["a"])(a),c=s[0],l=s[1],u=s[2],h=s[3];t.moveTo(n+c,r),t.lineTo(n+i-l,r),0!==l&&t.arc(n+i-l,r+l,l,-Math.PI/2,0),t.lineTo(n+i,r+o-u),0!==u&&t.arc(n+i-u,r+o-u,u,0,Math.PI/2),t.lineTo(n+h,r+o),0!==h&&t.arc(n+h,r+o-h,h,Math.PI/2,Math.PI),t.lineTo(n,r+c),0!==c&&t.arc(n+c,r+c,c,Math.PI,1.5*Math.PI),t.closePath()}},e}(u),tt=J,et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Object(o["assembleFont"])(t)},e.prototype._setText=function(t){var e=null;Object(a["k"])(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,c=i.x,l=i.y,u=1*i.fontSize,h=this._getSpaceingY(),f=Object(o["getTextHeight"])(i.text,i.fontSize,i.lineHeight);Object(a["c"])(e,function(e,i){r=l+i*(h+u)-f+u,"middle"===s&&(r+=f-u-(f-u)/2),"top"===s&&(r+=f-u),n?t.fillText(e,c,r):t.strokeText(e,c,r)})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;e?t.fillText(a,r,i):t.strokeText(a,r,i)}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(Object(a["i"])(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(Object(a["i"])(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(u),nt=et;n.d(e,"Base",function(){return u}),n.d(e,"Circle",function(){return f}),n.d(e,"Ellipse",function(){return g}),n.d(e,"Image",function(){return m}),n.d(e,"Line",function(){return w}),n.d(e,"Marker",function(){return A}),n.d(e,"Path",function(){return W}),n.d(e,"Polygon",function(){return U}),n.d(e,"Polyline",function(){return Z}),n.d(e,"Rect",function(){return tt}),n.d(e,"Text",function(){return nt})},RKh7:function(t,e,n){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,c=e+1,l=t.md.block.ruler.getRules("paragraph"),u=t.lineMax;for(s=t.parentType,t.parentType="paragraph";c3)&&!(t.sCount[c]<0)){for(r=!1,i=0,o=l.length;i=a)return-1;if(n=t.src.charCodeAt(o++),n<48||n>57)return-1;for(;;){if(o>=a)return-1;if(n=t.src.charCodeAt(o++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o=4)return!1;if(t.listIndent>=0&&t.sCount[e]-t.listIndent>=4&&t.sCount[e]=t.blkIndent&&(I=!0),(T=o(t,e))>=0){if(p=!0,P=t.bMarks[e]+t.tShift[e],b=Number(t.src.substr(P,T-P-1)),I&&1!==b)return!1}else{if(!((T=i(t,e))>=0))return!1;p=!1}if(I&&t.skipSpaces(T)>=t.eMarks[e])return!1;if(m=t.src.charCodeAt(T-1),r)return!0;v=t.tokens.length,p?(F=t.push("ordered_list_open","ol",1),1!==b&&(F.attrs=[["start",b]])):F=t.push("bullet_list_open","ul",1),F.map=y=[e,0],F.markup=String.fromCharCode(m),O=e,E=!1,L=t.md.block.ruler.getRules("list"),k=t.parentType,t.parentType="list";while(O=x?1:j-f,h>4&&(h=1),u=f+h,F=t.push("list_item_open","li",1),F.markup=String.fromCharCode(m),F.map=d=[e,0],M=t.tight,C=t.tShift[e],S=t.sCount[e],w=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=u,t.tight=!0,t.tShift[e]=c-t.bMarks[e],t.sCount[e]=j,c>=x&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!E||(D=!1),E=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[e]=C,t.sCount[e]=S,t.tight=M,F=t.push("list_item_close","li",-1),F.markup=String.fromCharCode(m),O=e=t.line,d[1]=O,c=t.bMarks[e],O>=n)break;if(t.sCount[O]=4)break;for(_=!1,l=0,g=L.length;l0?Math.max.apply(Math,r):0,o=Math.abs(t)%360;return o?360*i/o:i}function l(t){var e=t.chart,n=t.options,r=n.data,i=n.barStyle,a=n.color,c=n.tooltip,l=n.colorField,u=n.type,h=n.xField,f=n.yField;e.data(r);var p=Object(o["b"])({},t,{options:{tooltip:c,seriesField:l,interval:{style:i,color:a,shape:"line"===u?"line":"intervel"},minColumnWidth:n.minBarWidth,maxColumnWidth:n.maxBarWidth,columnBackground:n.barBackground}});return Object(s["c"])(p),"line"===u&&Object(s["e"])({chart:e,options:{xField:h,yField:f,seriesField:l,point:{shape:"circle",color:a}}}),t}function u(t){var e,n=t.options,r=n.yField,i=n.data,s=n.maxAngle;return Object(o["e"])(Object(a["f"])((e={},e[r]={min:0,max:c(s,r,i)},e)))(t)}function h(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}).transpose(),t}function f(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis;return e.axis(r,i),t}function p(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"interval");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(r["a"])(Object(r["a"])({},Object(o["r"])(l)),{type:"polar"})})}else s.label(!1);return t}function d(t){return Object(o["e"])(l,u,f,h,a["c"],a["a"],a["j"],a["k"],a["d"],Object(a["b"])(),p)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radial-bar",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),u({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240})},e.prototype.getSchemaAdaptor=function(){return d}})(i["b"])},TLR5:function(t,e,n){"use strict";var r=n("SINd"),i=[["text",n("usqY")],["newline",n("QjYF")],["escape",n("bgCn")],["backticks",n("SpRm")],["strikethrough",n("kiyR").tokenize],["emphasis",n("yKnv").tokenize],["link",n("zQ/W")],["image",n("ky0j")],["autolink",n("KOyK")],["html_inline",n("wtjL")],["entity",n("W1Rp")]],o=[["balance_pairs",n("g40J")],["strikethrough",n("kiyR").postProcess],["emphasis",n("yKnv").postProcess],["text_collapse",n("IIUr")]];function a(){var t;for(this.ruler=new r,t=0;t=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},a.prototype.parse=function(t,e,n,r){var i,o,a,s=new this.State(t,e,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;i=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),o=e.nodeWidthRatio;if(o<=0||o>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var a=0;t.forEach(function(t){a+=t.value}),t.forEach(function(t){t.weight=t.value/a,t.width=t.weight*(1-r),t.height=o}),t.forEach(function(n,r){for(var a=0,s=r-1;s>=0;s--)a+=t[s].width+2*i;var c=n.minX=i+a,l=n.maxX=n.minX+n.width,u=n.minY=e.y-o/2,h=n.maxY=u+o;n.x=[c,l,l,c],n.y=[u,u,h,h]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}function p(t,e,n){if(n.weight){var r={};Object(c["forIn"])(t,function(t,e){r[e]=t.value}),e.forEach(function(e){var i=n.source(e),o=n.target(e),a=t[i],s=t[o];if(a&&s){var c=r[i],l=n.sourceWeight(e),u=a.minX+(a.value-c)/a.value*a.width,h=u+l/a.value*a.width;r[i]-=l;var f=r[o],p=n.targetWeight(e),d=s.minX+(s.value-f)/s.value*s.width,g=d+p/s.value*s.width;r[o]-=p;var y=n.y;e.x=[u,h,d,g],e.y=[y,y,y,y],e.source=a,e.target=s}})}else e.forEach(function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)});return e}function d(t){return Object(c["assign"])({},l,t)}function g(t,e){var n=d(t),r={},i=e.nodes,o=e.links;i.forEach(function(t){var e=n.id(t);r[e]=t}),u(r,o,n),h(i,n);var a=f(i,n),s=p(r,o,n);return{nodes:a,links:s}}var y=n("DyAw"),v="x",m="y",b="name",x="source";function O(t){var e=t.options,n=e.data,i=e.sourceField,o=e.targetField,a=e.weightField,s=e.nodePaddingRatio,c=e.nodeWidthRatio,l=Object(y["b"])(n,i,o,a),u=g({weight:!0,nodePaddingRatio:s,nodeWidthRatio:c},l),h=u.nodes,f=u.links,p=h.map(function(t){return{id:t.id,x:t.x,y:t.y,name:t.name}}),d=f.map(function(t){return{source:t.source.name,target:t.target.name,x:t.x,y:t.y,value:t.value}});return Object(r["a"])(Object(r["a"])({},t),{ext:Object(r["a"])(Object(r["a"])({},t.ext),{chordData:{nodesData:p,edgesData:d}})})}function j(t){var e,n=t.chart;return n.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[b]={sync:"color"},e[x]={sync:"color"},e)),t}function w(t){var e=t.chart;return e.axis(!1),t}function k(t){var e=t.chart;return e.legend(!1),t}function S(t){var e=t.chart;return e.tooltip({showTitle:!1,showMarkers:!1}),t}function C(t){var e=t.chart;return e.coordinate("polar").reflect("y"),t}function M(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,o=n.label,a=e.createView();return a.data(r),Object(s["f"])({chart:a,options:{xField:v,yField:m,seriesField:b,polygon:{style:i},label:o,tooltip:!1}}),t}function A(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,o=n.tooltip,a=e.createView();a.data(r);var c={xField:v,yField:m,seriesField:x,edge:{style:i,shape:"arc"},tooltip:o};return Object(s["b"])({chart:a,options:c}),t}function T(t){return Object(a["e"])(O,C,j,w,k,S,A,M,o["c"],o["a"],o["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){var n=(t[0]+t[1])/2,r=n>.5?-4:4;return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:r,content:e}}},tooltip:{fields:["source","target","value"],formatter:function(t){var e=t.source,n=t.target,r=t.value;return{name:e+" -> "+n,value:r}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},e.prototype.getSchemaAdaptor=function(){return T}})(i["b"])},VaNO:function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},"Vlv/":function(t,e,n){"use strict";e.parseLinkLabel=n("31bW"),e.parseLinkDestination=n("5Mrk"),e.parseLinkTitle=n("fZFN")},Vwaf:function(t,e,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",o="'[^']*'",a='"[^"]*"',s="(?:"+i+"|"+o+"|"+a+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",h="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",f="<[?][\\s\\S]*?[?]>",p="]*>",d="",g=new RegExp("^(?:"+l+"|"+u+"|"+h+"|"+f+"|"+p+"|"+d+")"),y=new RegExp("^(?:"+l+"|"+u+")");t.exports.HTML_TAG_RE=g,t.exports.HTML_OPEN_CLOSE_TAG_RE=y},W1Rp:function(t,e,n){"use strict";var r=n("vWgF"),i=n("AGgm").has,o=n("AGgm").isValidEntityCode,a=n("AGgm").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,e){var n,l,u,h=t.pos,f=t.posMax;if(38!==t.src.charCodeAt(h))return!1;if(h+1|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,r){var i,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(l))return!1;for(c=t.src.slice(l,u),i=0;i0&&s<=1&&(u=c/((1-s)/s*(o-1)+o),h=u*(1-s)/s);var f=e.addGroup();if(h>0)for(var p=this.coordinate.getCenter(),d=this.coordinate.getRadius(),g=i["f"].getAngle(t,this.coordinate),y=g.startAngle,v=g.endAngle,m=y,b=0;m0&&(e?"stroke"in n?this._setColor(t,"stroke",o):"strokeStyle"in n&&this._setColor(t,"stroke",a):this._setColor(t,"stroke",o||a),c&&h.setAttribute(l["b"]["strokeOpacity"],c),u&&h.setAttribute(l["b"]["lineWidth"],u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(l["b"][e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(l["b"][e],"url(#"+i+")")}else r.setAttribute(l["b"][e],n);else r.setAttribute(l["b"][e],"none")},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,s=r.shadowBlur,c=r.shadowColor;(i||o||s||c)&&Object(a["b"])(this,t)},e.prototype.transform=function(t){var e=this.attr(),n=(t||e).matrix;n&&Object(a["c"])(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas"),i=r.get("el").getBoundingClientRect(),o=t+i.left,a=e+i.top,s=document.elementFromPoint(o,a);return!(!s||!s.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(o["AbstractShape"]),f=h,p=n("iTfj"),d=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 Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),g=d,y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(Object(p["each"])(e||n,function(t,e){l["b"][e]&&r.setAttribute(l["b"][e],t)}),"function"===typeof n["html"]){var i=n["html"].call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var o=r.childNodes,a=o.length-1;a>=0;a--)r.removeChild(o[a]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n["html"]},e}(f),v=y,m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),b=m,x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(p["each"])(e||r,function(t,e){"img"===e?n._setImage(r.img):l["b"][e]&&i.setAttribute(l["b"][e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(Object(p["isString"])(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&Object(p["isString"])(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(f),O=x,j=n("EYNi"),w=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 Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(e,i){if("startArrow"===i||"endArrow"===i)if(e){var o=Object(p["isObject"])(e)?t.addArrow(n,l["b"][i]):t.getDefaultArrow(n,l["b"][i]);r.setAttribute(l["b"][i],"url(#"+o+")")}else r.removeAttribute(l["b"][i]);else l["b"][i]&&r.setAttribute(l["b"][i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return j["c"].length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return j["c"].pointAt(n,r,i,o,t)},e}(f),k=w,S={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},C={get:function(t){return S[t]},register:function(t,e){S[t]=e},remove:function(t){delete S[t]},getAll:function(){return S}},M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t){var e=this.get("el");e.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return Object(p["isArray"])(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return t=Object(p["isFunction"])(o)?o:C.get(o),t?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=C,e}(f),A=M,T=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 Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(p["each"])(e||r,function(e,o){if("path"===o&&Object(p["isArray"])(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===o||"endArrow"===o)if(e){var a=Object(p["isObject"])(e)?t.addArrow(r,l["b"][o]):t.getDefaultArrow(r,l["b"][o]);i.setAttribute(l["b"][o],"url(#"+a+")")}else i.removeAttribute(l["b"][o]);else l["b"][o]&&i.setAttribute(l["b"][o],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 r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(f),E=T,P=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 Object(i["b"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"points"===e&&Object(p["isArray"])(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),_=P,L=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"points"===e&&Object(p["isArray"])(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return Object(p["isNil"])(e)?(this.set("totalLength",j["d"].length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),Object(p["each"])(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),j["c"].pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(p["each"])(t,function(a,s){t[s+1]&&(n=[],n[0]=i/e,r=j["c"].length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(f),F=L;function I(t){var e=0,n=0,r=0,i=0;return Object(p["isArray"])(t)?1===t.length?e=n=r=i=t[0]:2===t.length?(e=r=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],i=t[3]):e=n=r=i=t,{r1:e,r2:n,r3:r,r4:i}}var D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,a=["x","y","width","height","radius"];Object(p["each"])(e||r,function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&l["b"][e]&&i.setAttribute(l["b"][e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var a=I(o);Object(p["isArray"])(o)?1===o.length?a.r1=a.r2=a.r3=a.r4=o[0]:2===o.length?(a.r1=a.r3=o[0],a.r2=a.r4=o[1]):3===o.length?(a.r1=o[0],a.r2=a.r4=o[1],a.r3=o[2]):(a.r1=o[0],a.r2=o[1],a.r3=o[2],a.r4=o[3]):a.r1=a.r2=a.r3=a.r4=o;var s=[["M "+(e+a.r1)+","+n],["l "+(r-a.r1-a.r2)+",0"],["a "+a.r2+","+a.r2+",0,0,1,"+a.r2+","+a.r2],["l 0,"+(i-a.r2-a.r3)],["a "+a.r3+","+a.r3+",0,0,1,"+-a.r3+","+a.r3],["l "+(a.r3+a.r4-r)+",0"],["a "+a.r4+","+a.r4+",0,0,1,"+-a.r4+","+-a.r4],["l 0,"+(a.r4+a.r1-i)],["a "+a.r1+","+a.r1+",0,0,1,"+a.r1+","+-a.r1],["z"]];return s.join(" ")},e}(f),B=D,R=n("e0ae"),N=.3,z={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},Y={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},G={left:"left",start:"left",center:"middle",right:"end",end:"end"},V=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),Object(p["each"])(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?Object(a["c"])(n):l["b"][e]&&i.setAttribute(l["b"][e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=Object(R["a"])();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",Y[n]||"alphabetic"):t.setAttribute("alignment-baseline",z[n]||"baseline"),t.setAttribute("text-anchor",G[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t)if(~t.indexOf("\n")){var a=t.split("\n"),s=a.length-1,c="";Object(p["each"])(a,function(t,e){0===e?"alphabetic"===o?c+=''+t+"":"top"===o?c+=''+t+"":"middle"===o?c+=''+t+"":"bottom"===o?c+=''+t+"":"hanging"===o&&(c+=''+t+""):c+=''+t+""}),e.innerHTML=c}else e.innerHTML=t;else e.innerHTML=""},e}(f),W=V;n.d(e,"Base",function(){return f}),n.d(e,"Circle",function(){return g}),n.d(e,"Dom",function(){return v}),n.d(e,"Ellipse",function(){return b}),n.d(e,"Image",function(){return O}),n.d(e,"Line",function(){return k}),n.d(e,"Marker",function(){return A}),n.d(e,"Path",function(){return E}),n.d(e,"Polygon",function(){return _}),n.d(e,"Polyline",function(){return F}),n.d(e,"Rect",function(){return B}),n.d(e,"Text",function(){return W})},aSjE:function(t,e,n){"use strict";function r(t,e){var n=[],r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],h=t[8],f=e[0],p=e[1],d=e[2],g=e[3],y=e[4],v=e[5],m=e[6],b=e[7],x=e[8];return n[0]=f*r+p*a+d*l,n[1]=f*i+p*s+d*u,n[2]=f*o+p*c+d*h,n[3]=g*r+y*a+v*l,n[4]=g*i+y*s+v*u,n[5]=g*o+y*c+v*h,n[6]=m*r+b*a+x*l,n[7]=m*i+b*s+x*u,n[8]=m*o+b*c+x*h,n}function i(t,e){var n=[],r=e[0],i=e[1];return n[0]=t[0]*r+t[3]*i+t[6],n[1]=t[1]*r+t[4]*i+t[7],n}function o(t){var e=[],n=t[0],r=t[1],i=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,f=-u*o+s*c,p=l*o-a*c,d=n*h+r*f+i*p;return d?(d=1/d,e[0]=h*d,e[1]=(-u*r+i*l)*d,e[2]=(s*r-i*a)*d,e[3]=f*d,e[4]=(u*n-i*c)*d,e[5]=(-s*n+i*o)*d,e[6]=p*d,e[7]=(-l*n+r*c)*d,e[8]=(a*n-r*o)*d,e):null}n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o})},adU4:function(t,e,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(t){var e=this.__data__,n=r(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():o.call(e,n,1),--this.size,!0}t.exports=a},b80T:function(t,e,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),c=n("c6wG"),l=Object.prototype,u=l.hasOwnProperty;function h(t,e){var n=o(t),l=!n&&i(t),h=!n&&!l&&a(t),f=!n&&!l&&!h&&c(t),p=n||l||h||f,d=p?r(t.length,String):[],g=d.length;for(var y in t)!e&&!u.call(t,y)||p&&("length"==y||h&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||d.push(y);return d}t.exports=h},bgCn:function(t,e,n){"use strict";for(var r=n("AGgm").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){i[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o=t.pos,a=t.posMax;if(92!==t.src.charCodeAt(o))return!1;if(o++,oe)n.insertBefore(t,i);else if(o\n \n \n '+n+':\n '+r+"\n \n "}),l.innerHTML=u,l}function v(t){var e=t.chart,n=t.options,r=n.color,o=n.colorField,s=n.sunburstStyle,c=g(n);return e.data(c),Object(a["f"])(Object(i["b"])({},t,{options:{xField:"x",yField:"y",seriesField:o,polygon:{color:r,style:s}}})),t}function m(t){var e=t.chart;return e.axis(!1),t}function b(t){var e=t.chart;return e.legend(!1),t}function x(t){var e=t.chart,n=t.options,o=n.label,a=n.seriesField,s=Object(i["c"])(e,"polygon");if(o){var c=o.callback,l=Object(r["c"])(o,["callback"]);s.label({fields:[a],callback:c,cfg:Object(i["r"])(l)})}else s.label(!1);return t}function O(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius,o=n.reflect,a=e.coordinate({type:"polar",cfg:{innerRadius:r,radius:i}});return o&&a.reflect(o),t}function j(t){var e=t.chart,n=t.options,r=n.meta;return r&&e.scale(r),t}function w(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.seriesField,a=n.colorField;return i&&e.tooltip(Object(r["a"])(Object(r["a"])({},i),{customContent:i&&i.customContent?i.customContent:function(t,e){return y({value:t,items:e,formatter:i&&(null===i||void 0===i?void 0:i.formatter),fields:i&&i.fields||[o,a]})}})),t}function k(t){return Object(i["e"])(v,s["j"],m,j,b,O,w,x,s["c"],s["a"],Object(s["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sunburst",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(i["b"])({},t.prototype.getDefaultOptions.call(this),{type:"partition",innerRadius:0,seriesField:"value",tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1}})},e.prototype.getSchemaAdaptor=function(){return k}})(o["b"])},cTMM:function(t,e,n){"use strict";var r=n("CWsV");function i(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}i.prototype.Token=r,t.exports=i},"cq/+":function(t,e,n){var r=n("mc0g"),i=r();t.exports=i},cvCv:function(t,e){function n(t){return function(){return t}}t.exports=n},cyZq:function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"l",function(){return c}),n.d(e,"j",function(){return l});var r=n("iTfj");function i(){return window?window.devicePixelRatio:1}function o(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function a(t,e,n,r,i,o){return i>=t&&i<=t+n&&o>=e&&o<=e+r}function s(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY",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 Object(a["b"])(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");Object(a["a"])(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(o["isNil"])(t)){t=this.createDom();var e=this.get("parent");Object(o["isString"])(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.set("container",t)}else Object(o["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(o["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&&Object(a["h"])(e,n)){var r=t[n];Object(i["e"])(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){Object(o["each"])(e,function(e,n){var r=t.getElementsByClassName(n);Object(o["each"])(r,function(t){Object(i["e"])(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");Object(i["e"])(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Object(i["b"])(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Object(o["hasKey"])(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(s["a"]);e["a"]=c},dpam:function(t,e,n){"use strict";var r=n("SINd"),i=[["table",n("gNPE"),["paragraph","reference"]],["code",n("nBLk")],["fence",n("vys+"),["paragraph","reference","blockquote","list"]],["blockquote",n("6A5J"),["paragraph","reference","blockquote","list"]],["hr",n("/f6Q"),["paragraph","reference","blockquote","list"]],["list",n("Sz5L"),["paragraph","reference","blockquote"]],["reference",n("1nBO")],["heading",n("B1jb"),["paragraph","reference","blockquote"]],["lheading",n("GZ5e")],["html_block",n("X71X"),["paragraph","reference","blockquote"]],["paragraph",n("RKh7")]];function o(){this.ruler=new r;for(var t=0;t=n)break;if(t.sCount[s]=l){t.line=n;break}for(i=0;i0&&this.handleMarkers(w);var M=this.editor.$options;c.editorOptions.forEach(function(e){M.hasOwnProperty(e)?t.editor.setOption(e,t.props[e]):t.props[e]&&console.warn("ReactAce: editor option "+e+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(O)&&O.forEach(function(e){"string"===typeof e.exec?t.editor.commands.bindKey(e.bindKey,e.exec):t.editor.commands.addCommand(e)}),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),x&&x(this.editor),this.editor.resize(),a&&this.editor.focus()},e.prototype.componentDidUpdate=function(t){for(var e=t,n=this.props,r=0;r-1}function h(t,e){var n=u(t);return n?t.map(function(t){return"treemap-drill-down"===t.type?Object(c["b"])({},t,{cfg:{hierarchyConfig:e}}):t}):t}function f(t){var e=t.data,n=t.colorField,i=t.openDrillDown,o=t.hierarchyConfig,a=Object(l["a"])(e,Object(r["a"])(Object(r["a"])({},o),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),s=[];return a.forEach(function(t){if(0===t.depth)return null;if(i&&1!==t.depth)return null;if(!i&&t.children)return null;var e=Object.assign({},t.data,{x:t.x,y:t.y,depth:t.depth,value:t.value});if(!t.data[n]&&t.parent){var r=t.ancestors().find(function(t){return t.data[n]});e[n]=null===r||void 0===r?void 0:r.data[n]}else e[n]=t.data[n];s.push(e)}),s}function p(t){var e=t.options,n=e.colorField;return Object(c["b"])({options:{colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1,fields:["name","value",n],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function d(t){var e=t.chart,n=t.options,r=n.color,i=n.colorField,o=n.rectStyle,s=n.hierarchyConfig,l=f({data:n.data,colorField:n.colorField,openDrillDown:u(n.interactions),hierarchyConfig:s});return e.data(l),Object(a["a"])(Object(c["b"])({},t,{options:{xField:"x",yField:"y",seriesField:i,rawFields:["value"],polygon:{color:r,style:o}}})),e.coordinate().reflect("y"),t}function g(t){var e=t.chart;return e.axis(!1),t}function y(t){var e=t.chart,n=t.options,r=n.interactions,i=n.hierarchyConfig;Object(s["c"])({chart:e,options:{interactions:h(r,i)}});var a=Object(o["isArray"])(r)&&r.find(function(t){return"view-zoom"===t.type});return a&&(!1!==a.enable?e.getCanvas().on("mousewheel",function(t){t.preventDefault()}):e.getCanvas().off("mousewheel")),t}function v(t){return Object(c["e"])(p,d,g,s["j"],s["d"],s["k"],y,s["a"],Object(s["b"])())(t)}var m=n("kXyF"),b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cacheDataStack=[],e}return Object(r["b"])(e,t),e.prototype.drill=function(t){var e=this.context.view,n=e.getData(),r=e.getGroupScales(),i=Object(o["get"])(e,["interactions","treemap-drill-down","cfg","hierarchyConfig"],{}),a=f({data:t,colorField:Object(o["get"])(r,[0,"field"]),openDrillDown:!0,hierarchyConfig:i});e.changeData(a),this.cacheDataStack.push(n)},e.prototype.click=function(){var t=Object(o["get"])(this.context,["event","data","data"]);if(!t)return!1;this.drill(t)},e.prototype.reset=function(){var t=this.context.view;if(Object(o["isArray"])(this.cacheDataStack)&&!(this.cacheDataStack.length<=0)){var e=this.cacheDataStack.splice(this.cacheDataStack.length-1,1);t.changeData(e[0])}},e}(m["a"]);function x(t){var e=Object(o["get"])(t,["event","data","data"],{});return Object(o["isArray"])(e.children)&&e.children.length>0&&1===e.depth}function O(t){if(!t||!t.getAction)return!1;var e=t.getAction("treemap-drill-down-action");if(!e)return!1;var n=e.cacheDataStack;return Object(o["isArray"])(n)&&n.length>0}Object(m["i"])("treemap-drill-down-action",b),Object(m["k"])("treemap-drill-down",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:pointer"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"element:click",isEnable:x,action:["treemap-drill-down-action:click","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["treemap-drill-down-action:reset"]},{trigger:"reset-button:click",action:["reset-button:hide"],isEnable:function(t){return!O(t)}}]});n("hag6"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="treemap",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){var e=this.options,n=e.colorField,r=e.interactions,i=e.hierarchyConfig;this.updateOption({data:t});var o=f({data:t,colorField:n,openDrillDown:u(r),hierarchyConfig:i});this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return v}}(i["b"])},eUgh:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++nf&&(r=[f,h],h=r[0],f=r[1],o=[n,e],e=o[0],n=o[1],p=!0);var d=e.getBBox(),g=n.getBBox(),y=d.width>h-l?{x:h+u/2+l,textAlign:"left"}:{x:h-u/2-l,textAlign:"right"},v=g.width>c-f-l?{x:f-u/2-l,textAlign:"right"}:{x:f+u/2+l,textAlign:"left"};return p?[v,y]:[y,v]},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}(o["a"]);n.d(e,"a",function(){return C})},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}t.exports=a},fIp6:function(t,e,n){"use strict";function r(t,e,n){if(t){if("function"===typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"===typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}var i,o,a,s;function c(){i=document.createElement("table"),o=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,s={tr:document.createElement("tbody"),tbody:i,thead:i,tfoot:i,td:o,th:o,"*":document.createElement("div")}}function l(t){i||c();var e=a.test(t)&&RegExp.$1;e&&e in s||(e="*");var n=s[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var r=n.childNodes[0];return n.removeChild(r),r}function u(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{r=void 0===r?n:r}return r}function h(t,e){var n=u(t,"height",e);return"auto"===n&&(n=t.offsetHeight),parseFloat(n)}function f(t,e){var n=h(t,e),r=parseFloat(u(t,"borderTopWidth"))||0,i=parseFloat(u(t,"paddingTop"))||0,o=parseFloat(u(t,"paddingBottom"))||0,a=parseFloat(u(t,"borderBottomWidth"))||0,s=parseFloat(u(t,"marginTop"))||0,c=parseFloat(u(t,"marginBottom"))||0;return n+r+a+i+o+s+c}function p(t,e){var n=u(t,"width",e);return"auto"===n&&(n=t.offsetWidth),parseFloat(n)}function d(t,e){var n=p(t,e),r=parseFloat(u(t,"borderLeftWidth"))||0,i=parseFloat(u(t,"paddingLeft"))||0,o=parseFloat(u(t,"paddingRight"))||0,a=parseFloat(u(t,"borderRightWidth"))||0,s=parseFloat(u(t,"marginRight"))||0,c=parseFloat(u(t,"marginLeft"))||0;return n+r+a+i+o+c+s}function g(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}n.d(e,"a",function(){return r}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"e",function(){return g})},"fMI+":function(t,e,n){"use strict";var r=n("AGgm").assign,i=n("AGgm").unescapeAll,o=n("AGgm").escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(t,e,n,r,i){var a=t[e];return""+o(t[e].content)+""},a.code_block=function(t,e,n,r,i){var a=t[e];return""+o(t[e].content)+"\n"},a.fence=function(t,e,n,r,a){var s,c,l,u,h,f=t[e],p=f.info?i(f.info).trim():"",d="",g="";return p&&(l=p.split(/(\s+)/g),d=l[0],g=l.slice(2).join("")),s=n.highlight&&n.highlight(f.content,d,g)||o(f.content),0===s.indexOf(""+s+"\n"):"
      "+s+"
      \n"},a.image=function(t,e,n,r,i){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"
      \n":"
      \n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
      \n":"
      \n":"\n"},a.text=function(t,e){return o(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},s.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">",i)},s.prototype.renderInline=function(t,e,n){for(var r,i="",o=this.rules,a=0,s=t.length;a0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return Object(l["isNumberEqual"])(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),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(l["mix"])({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],r=this.get("tickLine"),i=r.alignTick,o=r.length,a=1,s=t.length;return s>=2&&(a=t[1].value-t[0].value),Object(l["each"])(t,function(t){var r=t.point;i||(r=e.getTickPoint(t.value-a/2));var s=e.getSidePoint(r,o);n.push({startPoint:r,tickValue:t.value,endPoint:s,tickId:t.id,id:"tickline-"+t.id})}),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),r=n.count,i=t.length;if(i>=2)for(var o=0;o0){var n=Object(l["size"])(e);if(n>t.threshold){var r=Math.ceil(n/t.threshold),i=e.filter(function(t,e){return e%r===0});this.set("ticks",i),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var r=this.get("label"),i=r.offset,o=r.rotate,a=r.formatter,s=this.getSidePoint(t.point,i),c=this.getSideVector(i,s),u=a?a(t.name,t,e):t.name,f=r.style;f=Object(l["isFunction"])(f)?Object(l["get"])(this.get("theme"),["label","style"],{}):f;var p=Object(l["mix"])({x:s.x,y:s.y,text:u,textAlign:this.getTextAnchor(c),textBaseline:this.getTextBaseline(c)},f);return o&&(p.matrix=Object(h["e"])(s,o)),p},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),r=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});Object(l["each"])(n,function(t,i){e.addShape(r,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,i,n),delegateObject:{tick:t,item:t,index:i}})}),this.processOverlap(r);var i=r.getChildren(),o=Object(l["get"])(this.get("theme"),["label","style"],{}),a=this.get("label"),s=a.style,c=a.formatter;if(Object(l["isFunction"])(s)){var u=i.map(function(t){return Object(l["get"])(t.get("delegateObject"),"tick")});Object(l["each"])(i,function(t,e){var n=t.get("delegateObject").tick,r=c?c(n.name,n,e):n.name,i=Object(l["mix"])({},o,s(r,e,u));t.attr(i)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,r=t.offset,i=t.spacing,o=void 0===i?0:i,a=t.autoRotate,s=e.fontSize,u=.5;"start"===n?u=0:"end"===n&&(u=1);var f=this.getTickPoint(u),p=this.getSidePoint(f,r||o+s/2),d=Object(l["mix"])({x:p.x,y:p.y,text:t.text},e),g=t.rotate,y=g;if(Object(l["isNil"])(g)&&a){var v=this.getAxisVector(f),m=[1,0];y=c["a"].angleTo(v,m,!0)}if(y){var b=Object(h["e"])(p,y);d.matrix=b}return d},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 r=this.get("tickStates"),i=this.getElementId("label-"+t.id),o=e.findById(i);if(o){var a=Object(f["a"])(t,"label",r);a&&o.attr(a)}var s=this.getElementId("tickline-"+t.id),c=e.findById(s);if(c){var l=Object(f["a"])(t,"tickLine",r);l&&c.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),r=this.get("label"),i=this.getElementByLocalId("label-"+t.id),o=this.get("tickLine"),a=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(i){var s=Object(f["a"])(t,"label",n);s&&i.attr(s)}if(a){var c=Object(f["a"])(t,"tickLine",n);c&&a.attr(c)}}else i&&i.attr(r.style),a&&a.attr(o.style)},e}(u["a"]),g=d,y=n("BgvD");function v(t,e,n,r){var i=e.getChildren(),o=!1;return Object(l["each"])(i,function(e){var i=Object(y["a"])(t,e,n,r);o=o||i}),o}function m(){return x}function b(t,e,n){return v(t,e,n,"head")}function x(t,e,n){return v(t,e,n,"tail")}function O(t,e,n){return v(t,e,n,"middle")}var j=n("5UbV");function w(t){var e=t.attr("matrix");return e&&1!==e[0]}function k(t){var e=w(t)?Object(h["d"])(t.attr("matrix")):0;return e%360}function S(t,e,n,r){var i=!1,o=k(e),a=t?Math.abs(n.attr("y")-e.attr("y")):Math.abs(n.attr("x")-e.attr("x")),s=(t?n.attr("y")>e.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(o));i=Object(j["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}else{c=Math.abs(Math.sin(o));i=Object(j["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}return i}function C(t,e,n,r){var i=(null===r||void 0===r?void 0:r.minGap)||0,o=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!o.length)return!1;var a=!1;n&&o.reverse();for(var s=o.length,c=o[0],l=c,u=1;u1){f=Math.ceil(f);for(var g=0;g2){var a=i[0],s=i[i.length-1];a.get("visible")||(a.show(),C(t,e,!1,r)&&(o=!0)),s.get("visible")||(s.show(),C(t,e,!0,r)&&(o=!0))}return o}function F(t,e){Object(l["each"])(t,function(t){var n=t.attr("x"),r=t.attr("y"),i=Object(h["e"])({x:n,y:r},e);t.attr("matrix",i)})}function I(t,e,n,r){var i=e.getChildren();if(!i.length)return!1;if(!t&&i.length<2)return!1;var o=Object(y["b"])(i),a=!1;if(t)a=!!n&&o>n;else{var s=Math.abs(i[1].attr("x")-i[0].attr("x"));a=o>s}if(a){var c=r(n,o);F(i,c)}return a}function D(){return B}function B(t,e,n,r){return I(t,e,n,function(){return Object(l["isNumber"])(r)?r:t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate})}function R(t,e,n){return I(t,e,n,function(e,n){if(!e)return t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate;if(t)return-Math.acos(e/n);var r=0;return e>n?r=Math.PI/4:(r=Math.asin(e/n),r>Math.PI/4&&(r=Math.PI/4)),r})}var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s["a"])(Object(s["a"])({},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"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),o=Math.min(e.y,n.y,r.y),a=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:o,minX:i,minY:o,maxX:a,maxY:s,width:a-i,height:s-o}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return Object(l["isNumberEqual"])(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return Object(l["isNumberEqual"])(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this,n=e.get("start"),r=e.get("end"),i=r.x-n.x,o=r.y-n.y;return{x:n.x+i*t,y:n.y+o*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=c["c"].normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return c["c"].scale([0,0],i,t*r)},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(),r=this.isHorizontal();if(n||r){var i=this.get("label"),o=this.get("title"),a=this.get("verticalLimitLength"),s=i.offset,c=a,u=0,h=0;o&&(u=o.style.fontSize,h=o.spacing),c&&(c=c-s-h-u);var f=this.get("overlapOrder");if(Object(l["each"])(f,function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,c)}),o&&Object(l["isNil"])(o.offset)){var p=t.getCanvasBBox(),d=n?p.width:p.height;o.offset=s+d+h+u/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||Object(l["isNil"])(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,o=this.isVertical(),s=!1,c=a[t];if(!0===e){this.get("label");s=c.getDefault()(o,n,r)}else if(Object(l["isFunction"])(e))s=e(o,n,r);else if(Object(l["isObject"])(e)){var u=e;c[u.type]&&(s=c[u.type](o,n,r,u.cfg))}else c[e]&&(s=c[e](o,n,r));if("autoRotate"===t){if(s){var h=n.getChildren(),f=this.get("verticalFactor");Object(l["each"])(h,function(t){var e=t.attr("textAlign");if("center"===e){var n=f>0?"end":"start";t.attr("textAlign",n)}})}}else if("autoHide"===t){var p=n.getChildren().slice(0);Object(l["each"])(p,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(g),z=N,Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s["a"])(Object(s["a"])({},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,r=this.get("radius"),i=r,o=this.get("startAngle"),a=this.get("endAngle"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[["M",e,n-i],["A",r,i,0,1,1,e,n+i],["A",r,i,0,1,1,e,n-i],["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",r,i,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"),r=e+(n-e)*t;return this.getCirclePoint(r)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),o=c["c"].length(r);return c["c"].scale(r,r,i*t/o),r},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}(g),G=Y;n.d(e,"Line",function(){return z}),n.d(e,"Circle",function(){return G}),n.d(e,"Base",function(){return g})},fZFN:function(t,e,n){"use strict";var r=n("AGgm").unescapeAll;t.exports=function(t,e,n){var i,o,a=0,s=e,c={ok:!1,pos:0,lines:0,str:""};if(e>=n)return c;if(o=t.charCodeAt(e),34!==o&&39!==o&&40!==o)return c;e++,40===o&&(o=41);while(e0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;tn)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,r){var o,a,s,c,l,u,h,f=t;if(t>=e)return"";for(u=new Array(e-t),o=0;fn?new Array(a-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},o.prototype.Token=r,t.exports=o},g40J:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s,c,l,u={},h=e.length;for(n=0;na;r-=o.jump+1)if(o=e[r],o.marker===i.marker&&o.open&&o.end<0&&(c=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(c=!0)),!c)){l=r>0&&!e[r-1].open?e[r-1].jump+1:0,i.jump=n-r+l,i.open=!1,o.end=n,o.jump=l,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.length||0)%3]=s)}}t.exports=function(t){var e,n=t.tokens_meta,i=t.tokens_meta.length;for(r(t,t.delimiters),e=0;en)return!1;if(f=e+1,t.sCount[f]=4)return!1;if(l=t.bMarks[f]+t.tShift[f],l>=t.eMarks[f])return!1;if(s=t.src.charCodeAt(l++),124!==s&&45!==s&&58!==s)return!1;while(l=4)return!1;if(p=o(c),p.length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),d=p.length,0===d||d!==y.length)return!1;if(a)return!0;for(x=t.parentType,t.parentType="table",j=t.md.block.ruler.getRules("blockquote"),g=t.push("table_open","table",1),g.map=m=[e,0],g=t.push("thead_open","thead",1),g.map=[e,e+1],g=t.push("tr_open","tr",1),g.map=[e,e+1],u=0;u=4)break;for(p=o(c),p.length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),f===e+2&&(g=t.push("tbody_open","tbody",1),g.map=b=[e+2,0]),g=t.push("tr_open","tr",1),g.map=[f,f+1],u=0;u0?n:e:e<0?e:n;case"outer":return n=12,Object(r["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}function s(t,e){var n=Object(r["filter"])(t,function(t){var n=t[e];return"number"===typeof n&&!isNaN(n)||null===n});return Object(i["m"])(i["a"].WARN,n.length===t.length,"illegal data existed in chart data."),n}function c(t,e){return Object(r["every"])(t,function(t){return 0===t[e]})}},iTfj:function(t,e,n){"use strict";n.r(e);var r=function(t){return null!==t&&"function"!==typeof t&&isFinite(t.length)},i=r,o=function(t,e){return!!i(t)&&t.indexOf(e)>-1},a=o,s=function(t,e){if(!i(t))return t;for(var n=[],r=0;r-1)W.call(t,o,1)}return t},U=X,q=Array.prototype.splice,Z=function(t,e){if(!i(t))return[];var n=t?e.length:0,r=n-1;while(n--){var o=void 0,a=e[n];n!==r&&a===o||(o=a,q.call(t,a,1))}return t},K=Z,Q=function(t,e,n){if(!v(t)&&!A(t))return t;var r=n;return x(t,function(t,n){r=e(r,t,n)}),r},$=Q,J=function(t,e){var n=[];if(!i(t))return n;var r=-1,o=[],a=t.length;while(++re[i])return 1;if(t[i]n?n:t},Lt=_t,Ft=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))},It=Ft,Dt=function(t){return p(t,"Number")},Bt=Dt,Rt=function(t){return Bt(t)&&t%1!==0},Nt=Rt,zt=function(t){return Bt(t)&&t%2===0},Yt=zt,Gt=Number.isInteger?Number.isInteger:function(t){return Bt(t)&&t%1===0},Vt=Gt,Wt=function(t){return Bt(t)&&t<0},Ht=Wt,Xt=1e-5;function Ut(t,e,n){return void 0===n&&(n=Xt),Math.abs(t-e)0},Qt=Kt,$t=function(t,e){if(v(t)){var n,r,i=t[0];return n=d(e)?e(t[0]):t[0][e],x(t,function(t){r=d(e)?e(t):t[e],r>n&&(i=t,n=r)}),i}},Jt=function(t,e){if(v(t)){var n,r,i=t[0];return n=d(e)?e(t[0]):t[0][e],x(t,function(t){r=d(e)?e(t):t[e],re?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},Pn=function(t){return i(t)?Array.prototype.slice.call(t):[]},_n={},Ln=function(t){return t=t||"g",_n[t]?_n[t]+=1:_n[t]=1,t+_n[t]},Fn=function(){},In=function(t){return t};function Dn(t){return y(t)?0:i(t)?t.length:Object.keys(t).length}var Bn=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}(),Rn=Bn;n.d(e,"contains",function(){return a}),n.d(e,"includes",function(){return a}),n.d(e,"difference",function(){return u}),n.d(e,"find",function(){return E}),n.d(e,"findIndex",function(){return _}),n.d(e,"firstValue",function(){return F}),n.d(e,"flatten",function(){return D}),n.d(e,"flattenDeep",function(){return R}),n.d(e,"getRange",function(){return G}),n.d(e,"pull",function(){return U}),n.d(e,"pullAt",function(){return K}),n.d(e,"reduce",function(){return $}),n.d(e,"remove",function(){return tt}),n.d(e,"sortBy",function(){return rt}),n.d(e,"union",function(){return at}),n.d(e,"uniq",function(){return it}),n.d(e,"valuesOfKey",function(){return st}),n.d(e,"head",function(){return ct}),n.d(e,"last",function(){return lt}),n.d(e,"startsWith",function(){return ht}),n.d(e,"endsWith",function(){return pt}),n.d(e,"filter",function(){return c}),n.d(e,"every",function(){return gt}),n.d(e,"some",function(){return vt}),n.d(e,"group",function(){return jt}),n.d(e,"groupBy",function(){return xt}),n.d(e,"groupToMap",function(){return Ot}),n.d(e,"getWrapBehavior",function(){return kt}),n.d(e,"wrapBehavior",function(){return Ct}),n.d(e,"number2color",function(){return Tt}),n.d(e,"parseRadius",function(){return Pt}),n.d(e,"clamp",function(){return Lt}),n.d(e,"fixedBase",function(){return It}),n.d(e,"isDecimal",function(){return Nt}),n.d(e,"isEven",function(){return Yt}),n.d(e,"isInteger",function(){return Vt}),n.d(e,"isNegative",function(){return Ht}),n.d(e,"isNumberEqual",function(){return Ut}),n.d(e,"isOdd",function(){return Zt}),n.d(e,"isPositive",function(){return Qt}),n.d(e,"max",function(){return N}),n.d(e,"maxBy",function(){return $t}),n.d(e,"min",function(){return z}),n.d(e,"minBy",function(){return Jt}),n.d(e,"mod",function(){return ee}),n.d(e,"toDegree",function(){return ie}),n.d(e,"toInteger",function(){return oe}),n.d(e,"toRadian",function(){return ce}),n.d(e,"forIn",function(){return le}),n.d(e,"has",function(){return ue}),n.d(e,"hasKey",function(){return he}),n.d(e,"hasValue",function(){return de}),n.d(e,"keys",function(){return j}),n.d(e,"isMatch",function(){return k}),n.d(e,"values",function(){return pe}),n.d(e,"lowerCase",function(){return ve}),n.d(e,"lowerFirst",function(){return be}),n.d(e,"substitute",function(){return Oe}),n.d(e,"upperCase",function(){return we}),n.d(e,"upperFirst",function(){return Se}),n.d(e,"getType",function(){return Ae}),n.d(e,"isArguments",function(){return Ee}),n.d(e,"isArray",function(){return v}),n.d(e,"isArrayLike",function(){return i}),n.d(e,"isBoolean",function(){return _e}),n.d(e,"isDate",function(){return Fe}),n.d(e,"isError",function(){return De}),n.d(e,"isFunction",function(){return d}),n.d(e,"isFinite",function(){return Be}),n.d(e,"isNil",function(){return y}),n.d(e,"isNull",function(){return Ne}),n.d(e,"isNumber",function(){return Bt}),n.d(e,"isObject",function(){return m}),n.d(e,"isObjectLike",function(){return C}),n.d(e,"isPlainObject",function(){return A}),n.d(e,"isPrototype",function(){return Ge}),n.d(e,"isRegExp",function(){return We}),n.d(e,"isString",function(){return et}),n.d(e,"isType",function(){return p}),n.d(e,"isUndefined",function(){return Xe}),n.d(e,"isElement",function(){return qe}),n.d(e,"requestAnimationFrame",function(){return Ze}),n.d(e,"clearAnimationFrame",function(){return Ke}),n.d(e,"augment",function(){return tn}),n.d(e,"clone",function(){return nn}),n.d(e,"debounce",function(){return on}),n.d(e,"memoize",function(){return an}),n.d(e,"deepMix",function(){return un}),n.d(e,"each",function(){return x}),n.d(e,"extend",function(){return fn}),n.d(e,"indexOf",function(){return dn}),n.d(e,"isEmpty",function(){return vn}),n.d(e,"isEqual",function(){return bn}),n.d(e,"isEqualWith",function(){return xn}),n.d(e,"map",function(){return jn}),n.d(e,"mapValues",function(){return kn}),n.d(e,"mix",function(){return $e}),n.d(e,"assign",function(){return $e}),n.d(e,"get",function(){return Sn}),n.d(e,"set",function(){return Cn}),n.d(e,"pick",function(){return An}),n.d(e,"omit",function(){return Tn}),n.d(e,"throttle",function(){return En}),n.d(e,"toArray",function(){return Pn}),n.d(e,"toString",function(){return ge}),n.d(e,"uniqueId",function(){return Ln}),n.d(e,"noop",function(){return Fn}),n.d(e,"identity",function(){return In}),n.d(e,"size",function(){return Dn}),n.d(e,"Cache",function(){return Rn})},"ijE+":function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},itsj:function(t,e){function n(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=n},jXQH:function(t,e,n){var r=n("TO8r"),i=/^\s+/;function o(t){return t?t.slice(0,r(t)+1).replace(i,""):t}t.exports=o},jYNY:function(t,e,n){var r=n("rgI+"),i=n("o9ul"),o=n("8wmI"),a="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,u=c.hasOwnProperty,h=l.call(Object);function f(t){if(!o(t)||r(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}t.exports=f},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");function o(t){return r(t,i(t))}t.exports=o},jqgP:function(t,e,n){"use strict";n.d(e,"e",function(){return o}),n.d(e,"f",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return h});var r=n("6JdA"),i=[1,0,0,0,1,0,0,0,1];function o(t,e,n){if(void 0===n&&(n=i),!e)return null;var o=r["a"].transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]);return o}function a(t,e){return t.x||t.y?r["a"].transform(e||i,[["t",t.x,t.y]]):null}function s(t){var e=[1,0,0],n=[0,0,0];return r["d"].transformMat3(n,e,t),Math.atan2(n[1],n[0])}function c(t,e){var n=[0,0];return r["c"].transformMat3(n,e,t),n}function l(t,e){var n=c(t,[e.minX,e.minY]),r=c(t,[e.maxX,e.minY]),i=c(t,[e.minX,e.maxY]),o=c(t,[e.maxX,e.maxY]),a=Math.min(n[0],r[0],i[0],o[0]),s=Math.max(n[0],r[0],i[0],o[0]),l=Math.min(n[1],r[1],i[1],o[1]),u=Math.max(n[1],r[1],i[1],o[1]);return{x:a,y:l,minX:a,minY:l,maxX:s,maxY:u,width:s-a,height:u-l}}function u(t,e,n,r){if(e){var i=o({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}}function h(t,e,n){var r=a({x:e,y:n});t.attr("matrix",r)}},juv8:function(t,e,n){var r=n("MrPd"),i=n("hypo");function o(t,e,n,o){var a=!n;n||(n={});var s=-1,c=e.length;while(++s=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;this.isTransposed&&(e=[r,n],n=e[0],r=e[1]);var i=this.convertDim(n,"x"),o=this.a*i,a=this.convertDim(r,"y");return{x:this.center.x+Math.cos(i)*(o+a),y:this.center.y+Math.sin(i)*(o+a)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,r=tt["c"].subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),i=tt["a"].angleTo(r,[1,0],!0),o=i*this.a;tt["c"].length(r)this.width/r?(e=this.width/r,this.circleCenter={x:this.center.x-(.5-o)*this.width,y:this.center.y-(.5-a)*e*i}):(e=this.height/i,this.circleCenter={x:this.center.x-(.5-o)*e*r,y:this.center.y-(.5-a)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),r=t.x,i=t.y;return this.isTransposed&&(e=[i,r],r=e[0],i=e[1]),r=this.convertDim(r,"x"),i=this.convertDim(i,"y"),{x:n.x+Math.cos(r)*i,y:n.y+Math.sin(r)*i}},e.prototype.invertPoint=function(t){var e=this.getCenter(),n=[t.x-e.x,t.y-e.y],r=[1,0,0,0,1,0,0,0,1];tt["a"].leftRotate(r,r,this.startAngle);var i=[1,0,0];tt["d"].transformMat3(i,i,r);var o=[i[0],i[1]],a=tt["a"].angleTo(o,n,this.endAngle0?l:-l;var u=this.invertDim(c,"y"),h={x:0,y:0};return h.x=this.isTransposed?u:l,h.y=this.isTransposed?l:u,h},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);it.x?t.x:e,n=nt.y?t.y:r,i=i=r&&t<=i}function At(t,e,n){if(Object(s["isString"])(t))return t.padEnd(e,n);if(Object(s["isArray"])(t)){var r=t.length;if(r=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();function _t(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}function Lt(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 Ft(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function It(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function Dt(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,i=t.end;n=Mt(e.x,r.x,i.x)&&Mt(e.y,r.y,i.y)}else{var o=t.invert(e);n=Mt(o.x,0,1)&&Mt(o.y,0,1)}return n}function Bt(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function Rt(t,e){void 0===e&&(e=0);var n,r=t.start,i=t.end,o=t.getWidth(),a=t.getHeight();if(t.isPolar){var s=t.startAngle,c=t.endAngle,l=t.getCenter(),u=t.getRadius();return{type:"path",startState:{path:jt(l.x,l.y,u+e,s,s)},endState:function(t){var n=(c-s)*t+s,r=jt(l.x,l.y,u+e,s,n);return{path:r}},attrs:{path:jt(l.x,l.y,u+e,s,c)}}}return n=t.isTransposed?{height:a+2*e}:{width:o+2*e},{type:"rect",startState:{x:r.x-e,y:i.y-e,width:t.isTransposed?o+2*e:0,height:t.isTransposed?0:a+2*e},endState:n,attrs:{x:r.x-e,y:i.y-e,width:o+2*e,height:a+2*e}}}function Nt(t,e){void 0===e&&(e=0);var n=t.start,r=t.end,i=t.getWidth(),o=t.getHeight(),a=Math.min(n.x,r.x),s=Math.min(n.y,r.y);return Pt.fromRange(a-e,s-e,a+i+e,s+o+e)}var zt=/^(?:(?!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 Yt(t){var e="linear";return zt.test(t)?e="timeCat":Object(s["isString"])(t)&&(e="cat"),e}function Gt(t,e,n){var r=e||[];if(Object(s["isNumber"])(t)||Object(s["isNil"])(Object(s["firstValue"])(r,t))&&Object(s["isEmpty"])(n)){var i=Object(U["c"])("identity");return new i({field:t.toString(),values:[t]})}var o=Object(s["valuesOfKey"])(r,t),c=Object(s["get"])(n,"type",Yt(o[0])),l=Object(U["c"])(c);return new l(Object(a["a"])({field:t,values:o},n))}function Vt(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}}function Wt(t){return t.alias||t.field}function Ht(t,e,n){var r,i=t.values,o=i.length;if(1===o)r=[.5,1];else{var a=1,c=0;Ft(e)?e.isTransposed?(a=Object(s["get"])(n,"widthRatio.multiplePie",1/1.3),c=1/o*a,r=[c/2,1-c/2]):r=[0,1-1/o]:(c=1/o/2,r=[c,1-c])}return r}function Xt(t){var e=t.values.filter(function(t){return!Object(s["isNil"])(t)&&!isNaN(t)});return Math.max.apply(Math,Object(a["d"])(e,[Object(s["isNil"])(t.max)?-1/0:t.max]))}function Ut(t){var e,n;switch(t){case i.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function qt(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function Zt(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=Ut(e):t.isPolar&&(n=qt(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}}function Kt(t){var e=t.start,n=t.end;return e.x===n.x}function Qt(t,e){var n=t.start,r=t.end,i=Kt(t);return i?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1}function $t(t,e){return Object(s["get"])(t,["components","axis",e],{})}function Jt(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,o=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),a=[o.x-r.x,o.y-r.y],s=[1,0],c=o.y>r.y?tt["c"].angle(a,s):-1*tt["c"].angle(a,s),l=c+(e.end-e.start),u=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2));return{center:r,radius:u,startAngle:c,endAngle:l}}function te(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e])}function ee(t,e){return Object(s["get"])(t,"position",e)}function ne(t,e){return Object(s["get"])(e,["title","text"],Wt(t))}var re=function(){function t(t,e){this.destroyed=!1,this.facets=[],this.view=t,this.cfg=Object(s["deepMix"])({},this.getDefaultCfg(),e)}return t.prototype.init=function(){this.container||(this.container=this.createContainer());var t=this.view.getData();this.facets=this.generateFacets(t)},t.prototype.render=function(){this.renderViews()},t.prototype.update=function(){},t.prototype.clear=function(){this.clearFacetViews()},t.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},t.prototype.facetToView=function(t){var e=t.region,n=t.data,r=t.padding,i=void 0===r?this.cfg.padding:r,o=this.view.createView({region:e,padding:i});o.data(n||[]),t.view=o,this.beforeEachView(o,t);var a=this.cfg.eachView;return a&&a(o,t),this.afterEachView(o,t),o},t.prototype.createContainer=function(){var t=this.view.getLayer(r.FORE);return t.addGroup()},t.prototype.renderViews=function(){this.createFacetViews()},t.prototype.createFacetViews=function(){var t=this;return this.facets.map(function(e){return t.facetToView(e)})},t.prototype.clearFacetViews=function(){var t=this;Object(s["each"])(this.facets,function(e){e.view&&(t.view.removeView(e.view),e.view=void 0)})},t.prototype.getFieldValues=function(t,e){var n=[],r={};return Object(s["each"])(t,function(t){var i=t[e];Object(s["isNil"])(i)||r[i]||(n.push(i),r[i]=!0)}),n},t.prototype.getRegion=function(t,e,n,r){var i=1/(0===e?1:e),o=1/(0===t?1:t),a={x:i*n,y:o*r},s={x:i*(n+1),y:o*(r+1)};return{start:a,end:s}},t.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,padding:10,fields:[]}},t.prototype.getDefaultTitleCfg=function(){var t=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:t}}},t.prototype.processAxis=function(t,e){var n=t.getOptions(),r=n.coordinate,i=t.geometries,o=Object(s["get"])(r,"type","rect");if("rect"===o&&i.length){Object(s["isNil"])(n.axes)&&(n.axes={});var a=n.axes,c=i[0].getXYFields(),l=c[0],u=c[1],h=te(a,l),f=te(a,u);!1!==h&&(n.axes[l]=this.getXAxisOption(l,a,h,e)),!1!==f&&(n.axes[u]=this.getYAxisOption(u,a,f,e))}},t.prototype.getFacetDataFilter=function(t){return function(e){return Object(s["every"])(t,function(t){var n=t.field,r=t.value;return!(!Object(s["isNil"])(r)&&n)||e[n]===r})}},t}(),ie={},oe=function(t){return ie[Object(s["lowerCase"])(t)]},ae=function(t,e){ie[Object(s["lowerCase"])(t)]=e},se=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){Object(s["assign"])(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}(),ce=se,le=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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}(ce),ue=le,he={};function fe(t,e){var n=he[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;r=new i(e,o),r.name=t,r.init()}return r}function pe(t,e,n){he[t]={ActionClass:e,cfg:n}}function de(t,e){var n=new ue(e);return n.callback=t,n.name="callback",n}function ge(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r=a[l]?1:0,f=u>Math.PI?1:0,p=n.convert(s),d=It(n,p);if(d>=.5)if(u===2*Math.PI){var g={x:(s.x+a.x)/2,y:(s.y+a.y)/2},y=n.convert(g);c.push(["A",d,d,0,f,h,y.x,y.y]),c.push(["A",d,d,0,f,h,p.x,p.y])}else c.push(["A",d,d,0,f,h,p.x,p.y]);return c}function be(t){Object(s["each"])(t,function(e,n){var r=e;if("a"===r[0].toLowerCase()){var i=t[n-1],o=t[n+1];o&&"a"===o[0].toLowerCase()?i&&"l"===i[0].toLowerCase()&&(i[0]="M"):i&&"a"===i[0].toLowerCase()&&o&&"l"===o[0].toLowerCase()&&(o[0]="M")}})}var xe=function(t,e,n,r){var i,o,a,s,c=[],l=!!r;if(l){a=[1/0,1/0],s=[-1/0,-1/0];for(var u=0,h=t.length;u=e||i.height>=e?i:null}function Ae(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?r.attr("path"):null}function Te(t){var e,n=t.event,r=n.target;return r&&(e=r.get("element")),e}function Ee(t){var e,n=t.event,r=n.target;return r&&(e=r.get("delegateObject")),e}function Pe(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function _e(t){return t&&t.component&&t.component.isList()}function Le(t){return t&&t.component&&t.component.isSlider()}function Fe(t){var e=t.event,n=e.target;return n&&"mask"===n.get("name")}function Ie(t,e){var n=t.event.target;if("path"===n.get("type")){var r=Ae(t,e);if(!r)return;return We(t.view,r)}var i=Me(t,e);return i?Ge(t.view,i):null}function De(t,e,n){var r=Me(t,n);if(!r)return null;var i=t.view,o=Qe(i,e,{x:r.x,y:r.y}),a=Qe(i,e,{x:r.maxX,y:r.maxY}),s={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return Ge(e,s)}function Be(t){var e=t.geometries,n=[];return Object(s["each"])(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&Object(s["each"])(t.views,function(t){n=n.concat(Be(t))}),n}function Re(t,e,n){var r=Be(t);return r.filter(function(t){return ze(t,e)===n})}function Ne(t,e){var n=t.geometries,r=[];return Object(s["each"])(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});r=r.concat(n)}),r}function ze(t,e){var n,r=t.getModel(),i=r.data;return n=Object(s["isArray"])(i)?i[0][e]:i[e],n}function Ye(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e.x&&t.y<=e.y&&t.maxY>e.y}function Ze(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function Ke(t,e){var n=t.getCoordinate();return n.invert(e)}function Qe(t,e,n){var r=Ke(t,n);return e.getCoordinate().convert(r)}function $e(t,e,n,r){var i=!1;return Object(s["each"])(t,function(t){if(t[n]===e[n]&&t[r]===e[r])return i=!0,!1}),i}function Je(t,e){var n=t.getScaleByField(e);return!n&&t.views&&Object(s["each"])(t.views,function(t){if(n=Je(t,e),n)return!1}),n}var tn=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=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 Object(s["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=He(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&qe(r,n):qe(r,n)})},t.prototype.destroy=function(){this.view=null,this.event=null,Object(s["each"])(this.actions.slice(),function(t){t.destroy()}),this.actions=null,this.cacheMap=null},t}(),en=tn,nn=function(){function t(t,e){this.view=t,this.cfg=e}return t.prototype.init=function(){this.initEvents()},t.prototype.initEvents=function(){},t.prototype.clearEvents=function(){},t.prototype.destroy=function(){this.clearEvents()},t}(),rn=nn;function on(t,e,n){var r=t.split(":"),i=r[0],o=e.getAction(i)||fe(i,e);if(!o)throw new Error("There is no action named "+i);var a=r[1];return{action:o,methodName:a,arg:n}}function an(t){var e=t.action,n=t.methodName,r=t.arg;if(!e[n])throw new Error("Action("+e.name+") doesn't have a method called "+n);e[n](r)}var sn={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},cn=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return Object(a["b"])(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;Object(s["each"])(this.steps,function(e,n){Object(s["each"])(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;Object(s["each"])(this.steps,function(e,n){Object(s["each"])(e,function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)})})},e.prototype.initContext=function(){var t=this.view,e=new en(t);this.context=e;var n=this.steps;Object(s["each"])(n,function(t){Object(s["each"])(t,function(t){if(Object(s["isFunction"])(t.action))t.actionObject={action:de(t.action,e),methodName:"execute"};else if(Object(s["isString"])(t.action))t.actionObject=on(t.action,e,t.arg);else if(Object(s["isArray"])(t.action)){var n=t.action,r=Object(s["isArray"])(t.arg)?t.arg:[t.arg];t.actionObject=[],Object(s["each"])(n,function(n,i){t.actionObject.push(on(n,e,r[i]))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===sn.SHOW_ENABLE)return!0;if(t===sn.PROCESSING)return e===sn.START;if(t===sn.START)return e!==sn.PROCESSING;if(t===sn.END)return e===sn.PROCESSING||e===sn.START;if(t===sn.ROLLBACK){if(n[sn.END])return e===sn.END;if(e===sn.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==sn.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,i=this.callbackCaches,o=e.actionObject;if(e.action&&o){var a=this.getKey(t,e);if(!i[a]){var c=function(i){r.event=i,n.isAllowExecute(t,e)?(Object(s["isArray"])(o)?Object(s["each"])(o,function(t){r.event=i,an(t)}):(r.event=i,an(o)),n.afterExecute(t,e),e.callback&&(r.event=i,e.callback(r))):r.event=null};e.debounce?i[a]=Object(s["debounce"])(c,e.debounce.wait,e.debounce.immediate):e.throttle?i[a]=Object(s["throttle"])(c,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):i[a]=c}return i[a]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(rn),ln=cn,un={};function hn(t){return un[Object(s["lowerCase"])(t)]}function fn(t,e){un[Object(s["lowerCase"])(t)]=e}function pn(t,e,n){var r=hn(t);if(!r)return null;if(Object(s["isPlainObject"])(r)){var i=Object(s["mix"])(Object(s["clone"])(r),n);return new ln(e,i)}var o=r;return new o(e,n)}function dn(t){return{title:{autoRotate:!0,position:"center",spacing:t.axisTitleSpacing,style:{fill:t.axisTitleTextFillColor,fontSize:t.axisTitleTextFontSize,lineHeight:t.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:t.axisLabelOffset,style:{fill:t.axisLabelFillColor,fontSize:t.axisLabelFontSize,lineHeight:t.axisLabelLineHeight,fontFamily:t.fontFamily}},line:{style:{lineWidth:t.axisLineBorder,stroke:t.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:t.axisGridBorderColor,lineWidth:t.axisGridBorder,lineDash:t.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:t.axisTickLineBorder,stroke:t.axisTickLineBorderColor},alignTick:!0,length:t.axisTickLineLength},subTickLine:null,animate:!0}}function gn(t){return{title:null,marker:{symbol:"circle",spacing:t.legendMarkerSpacing,style:{r:t.legendCircleMarkerSize,fill:t.legendMarkerColor}},itemName:{spacing:5,style:{fill:t.legendItemNameFillColor,fontFamily:t.fontFamily,fontSize:t.legendItemNameFontSize,lineHeight:t.legendItemNameLineHeight,fontWeight:t.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},flipPage:!0,animate:!1,maxItemWidth:200,itemSpacing:t.legendItemSpacing,itemMarginBottom:t.legendItemMarginBottom,padding:t.legendPadding}}function yn(t){var e,n={point:{default:{fill:t.pointFillColor,r:t.pointSize,stroke:t.pointBorderColor,lineWidth:t.pointBorder,fillOpacity:t.pointFillOpacity},active:{stroke:t.pointActiveBorderColor,lineWidth:t.pointActiveBorder},selected:{stroke:t.pointSelectedBorderColor,lineWidth:t.pointSelectedBorder},inactive:{fillOpacity:t.pointInactiveFillOpacity,strokeOpacity:t.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:t.hollowPointFillColor,lineWidth:t.hollowPointBorder,stroke:t.hollowPointBorderColor,strokeOpacity:t.hollowPointBorderOpacity,r:t.hollowPointSize},active:{stroke:t.hollowPointActiveBorderColor,strokeOpacity:t.hollowPointActiveBorderOpacity},selected:{lineWidth:t.hollowPointSelectedBorder,stroke:t.hollowPointSelectedBorderColor,strokeOpacity:t.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:t.hollowPointInactiveBorderOpacity}},area:{default:{fill:t.areaFillColor,fillOpacity:t.areaFillOpacity,stroke:null},active:{fillOpacity:t.areaActiveFillOpacity},selected:{fillOpacity:t.areaSelectedFillOpacity},inactive:{fillOpacity:t.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:t.hollowAreaBorderColor,lineWidth:t.hollowAreaBorder,strokeOpacity:t.hollowAreaBorderOpacity},active:{fill:null,lineWidth:t.hollowAreaActiveBorder},selected:{fill:null,lineWidth:t.hollowAreaSelectedBorder},inactive:{strokeOpacity:t.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:t.intervalFillColor,fillOpacity:t.intervalFillOpacity},active:{stroke:t.intervalActiveBorderColor,lineWidth:t.intervalActiveBorder},selected:{stroke:t.intervalSelectedBorderColor,lineWidth:t.intervalSelectedBorder},inactive:{fillOpacity:t.intervalInactiveFillOpacity,strokeOpacity:t.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:t.hollowIntervalFillColor,stroke:t.hollowIntervalBorderColor,lineWidth:t.hollowIntervalBorder,strokeOpacity:t.hollowIntervalBorderOpacity},active:{stroke:t.hollowIntervalActiveBorderColor,lineWidth:t.hollowIntervalActiveBorder,strokeOpacity:t.hollowIntervalActiveBorderOpacity},selected:{stroke:t.hollowIntervalSelectedBorderColor,lineWidth:t.hollowIntervalSelectedBorder,strokeOpacity:t.hollowIntervalSelectedBorderOpacity},inactive:{stroke:t.hollowIntervalInactiveBorderColor,lineWidth:t.hollowIntervalInactiveBorder,strokeOpacity:t.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:t.lineBorderColor,lineWidth:t.lineBorder,strokeOpacity:t.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:t.lineActiveBorder},selected:{lineWidth:t.lineSelectedBorder},inactive:{strokeOpacity:t.lineInactiveBorderOpacity}}},r=dn(t),i=gn(t);return{background:t.backgroundColor,defaultColor:t.brandColor,padding:"auto",fontFamily:t.fontFamily,columnWidthRatio:.5,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:t.paletteQualitative10,colors20:t.paletteQualitative20,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:function(t){var e=t.geometry.coordinate;if(e.isPolar&&e.isTransposed){var r=kt(t.getModel(),e),i=r.startAngle,o=r.endAngle,a=(i+o)/2,s=7.5,c=s*Math.cos(a),l=s*Math.sin(a);return{matrix:tt["a"].transform(null,[["t",c,l]])}}return n.interval.selected}}},"hollow-rect":{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},line:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},tick:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},funnel:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}},pyramid:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},line:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},dot:{default:{style:Object(a["a"])(Object(a["a"])({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:Object(a["a"])(Object(a["a"])({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:Object(a["a"])(Object(a["a"])({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:Object(a["a"])(Object(a["a"])({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:Object(a["a"])(Object(a["a"])({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:Object(a["a"])(Object(a["a"])({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:Object(a["a"])(Object(a["a"])({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:Object(a["a"])(Object(a["a"])({},n.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hvh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}},polygon:{polygon:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},point:{circle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},square:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},bowtie:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},diamond:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},hexagon:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},triangle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"triangle-down":{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"hollow-circle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-square":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-bowtie":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-diamond":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-hexagon":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle-down":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},cross:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},tick:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},plus:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},hyphen:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},line:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}}},area:{area:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},smooth:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},line:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},"smooth-line":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}},schema:{candle:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},box:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}}},edge:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},arc:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}}},components:{axis:{common:r,top:Object(s["deepMix"])({},r,{position:"top",grid:null,title:null,verticalLimitLength:.5}),bottom:Object(s["deepMix"])({},r,{position:"bottom",grid:null,title:null,verticalLimitLength:.5}),left:Object(s["deepMix"])({},r,{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),right:Object(s["deepMix"])({},r,{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),circle:Object(s["deepMix"])({},r,{title:null,grid:Object(s["deepMix"])({},r.grid,{line:{type:"line"}})}),radius:Object(s["deepMix"])({},r,{title:null,grid:Object(s["deepMix"])({},r.grid,{line:{type:"circle"}})})},legend:{common:i,right:Object(s["deepMix"])({},i,{layout:"vertical",padding:t.legendVerticalPadding}),left:Object(s["deepMix"])({},i,{layout:"vertical",padding:t.legendVerticalPadding}),top:Object(s["deepMix"])({},i,{layout:"horizontal",padding:t.legendHorizontalPadding}),bottom:Object(s["deepMix"])({},i,{layout:"horizontal",padding:t.legendHorizontalPadding}),continuous:{title:null,background:null,track:{},rail:{type:"color",size:t.sliderRailHeight,defaultLength:t.sliderRailWidth,style:{fill:t.sliderRailFillColor,stroke:t.sliderRailBorderColor,lineWidth:t.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:t.sliderLabelTextFillColor,fontSize:t.sliderLabelTextFontSize,lineHeight:t.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},handler:{size:t.sliderHandlerWidth,style:{fill:t.sliderHandlerFillColor,stroke:t.sliderHandlerBorderColor}},slidable:!0,padding:i.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffSetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:t.tooltipCrosshairsBorderColor,lineWidth:t.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e[""+ft["TOOLTIP_CSS_CONST"].CONTAINER_CLASS]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:t.tooltipContainerFillColor,opacity:t.tooltipContainerFillOpacity,boxShadow:t.tooltipContainerShadow,borderRadius:t.tooltipContainerBorderRadius+"px",color:t.tooltipTextFillColor,fontSize:t.tooltipTextFontSize+"px",fontFamily:t.fontFamily,lineHeight:t.tooltipTextLineHeight+"px",padding:"0 12px 0 12px"},e[""+ft["TOOLTIP_CSS_CONST"].TITLE_CLASS]={marginBottom:"12px",marginTop:"12px"},e[""+ft["TOOLTIP_CSS_CONST"].LIST_CLASS]={margin:0,listStyleType:"none",padding:0},e[""+ft["TOOLTIP_CSS_CONST"].LIST_ITEM_CLASS]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e[""+ft["TOOLTIP_CSS_CONST"].MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e[""+ft["TOOLTIP_CSS_CONST"].VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:t.annotationArcBorderColor,lineWidth:t.annotationArcBorder},animate:!0},line:{style:{stroke:t.annotationLineBorderColor,lineDash:t.annotationLineDash,lineWidth:t.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textAlign:"start",fontFamily:t.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:t.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:t.annotationRegionBorder,stroke:t.annotationRegionBorderColor,fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:t.brandColor,lineWidth:2}},line:{style:{stroke:t.annotationLineBorderColor,lineWidth:t.annotationLineBorder},length:t.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8]}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)"}},hover:{style:{thumbColor:"rgba(0,0,0,0.2)"}}}},labels:{offset:12,style:{fill:t.labelFillColor,fontSize:t.labelFontSize,fontFamily:t.fontFamily,stroke:t.labelBorderColor,lineWidth:t.labelBorder},fillColorDark:t.labelFillColorDark,fillColorLight:t.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:t.innerLabelFillColor,fontSize:t.innerLabelFontSize,fontFamily:t.fontFamily,stroke:t.innerLabelBorderColor,lineWidth:t.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:t.overflowLabelFillColor,fontSize:t.overflowLabelFontSize,fontFamily:t.fontFamily,stroke:t.overflowLabelBorderColor,lineWidth:t.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:t.labelLineBorder}},autoRotate:!0}}}var vn={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},mn={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},bn=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],xn=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],On=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"transparent":e,r=t.paletteQualitative10,i=void 0===r?bn:r,o=t.paletteQualitative20,a=void 0===o?xn:o,s=t.paletteSemanticRed,c=void 0===s?"#F4664A":s,l=t.paletteSemanticGreen,u=void 0===l?"#30BF78":l,h=t.paletteSemanticYellow,f=void 0===h?"#FAAD14":h,p=t.fontFamily,d=void 0===p?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':p,g=t.brandColor,y=void 0===g?i[0]:g;return{backgroundColor:n,brandColor:y,paletteQualitative10:i,paletteQualitative20:a,paletteSemanticRed:c,paletteSemanticGreen:u,paletteSemanticYellow:f,fontFamily:d,axisLineBorderColor:vn[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:vn[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:vn[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:vn[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:vn[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:vn[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:vn[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:y,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:vn[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:vn[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:vn[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:vn[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:vn[25],annotationArcBorderColor:vn[15],annotationArcBorder:1,annotationLineBorderColor:vn[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:vn[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:vn[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:vn[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:vn[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:vn[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:mn[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:vn[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:mn[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:vn[25],pointFillColor:y,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:mn[100],pointBorderOpacity:1,pointActiveBorderColor:vn[100],pointSelectedBorder:2,pointSelectedBorderColor:vn[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:y,hollowPointBorderOpacity:.95,hollowPointFillColor:mn[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:vn[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:vn[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:y,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:y,areaFillOpacity:.25,areaActiveFillColor:y,areaActiveFillOpacity:.5,areaSelectedFillColor:y,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:y,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:vn[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:vn[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:y,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:vn[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:vn[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:y,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:mn[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:vn[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:vn[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}};On();function jn(t){var e=t.styleSheet,n=void 0===e?{}:e,r=Object(a["c"])(t,["styleSheet"]),i=On(n);return Object(s["deepMix"])({},yn(i),r)}var wn=jn({}),kn={default:wn};function Sn(t){return Object(s["get"])(kn,Object(s["lowerCase"])(t),kn.default)}function Cn(t,e){kn[Object(s["lowerCase"])(t)]=jn(e)}function Mn(t,e,n){var r=n.translate(t),i=n.translate(e);return Object(s["isNumberEqual"])(r,i)}function An(t,e){var n=e.coordinate,r=e.getXScale(),i=r.range,o=i[i.length-1],a=i[0],s=n.invert(t),c=s.x;return n.isPolar&&c>(1+o)/2&&(c=a),r.translate(r.invert(c))}function Tn(t,e,n){var r=n.coordinate,i=n.getYScale(),o=i.field,a=r.invert(e),c=i.invert(a.y),l=Object(s["find"])(t,function(t){var e=t[d];return e[o][0]<=c&&e[o][1]>=c});return l||t[t.length-1]}var En=Object(s["memoize"])(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,o=0;oi&&(i=s)}return(i-r)/(n-1)});function Pn(t,e,n){var r=e.getAttribute("position"),i=r.getFields(),o=e.scales,a=Object(s["isFunction"])(n)||!n?i[0]:n,c=o[a],l=c?c.getText(t[a]):t[a]||a;return Object(s["isFunction"])(n)?n(l,t):l}function _n(t){var e=Object(s["values"])(t.attributes);return Object(s["filter"])(e,function(t){return Object(s["contains"])(p,t.type)})}function Ln(t){for(var e,n=_n(t),r=0,i=n;r=j){if(!C){l=M;break}Object(s["isArray"])(l)||(l=[]),l.push(M)}}Object(s["isArray"])(l)&&(l=Tn(l,t,n))}else{var A=void 0;if(i.isLinear||"timeCat"===i.type){if((j>i.translate(S)||ji.max||jMath.abs(i.translate(A[d][a])-j)&&(O=A)}var L=En(n.getXScale());return!l&&Math.abs(i.translate(O[d][a])-j)<=L/2&&(l=O),l}function Bn(t,e,n,r){void 0===n&&(n=""),void 0===r&&(r=!1);var i,o,c=t[d],l=Pn(c,e,n),u=e.tooltipOption,h=e.theme.defaultColor,f=[];function p(e,n){if(r||!Object(s["isNil"])(n)&&""!==n){var i={title:l,data:c,mappingData:t,name:e,value:n,color:t.color||h,marker:!0};f.push(i)}}if(Object(s["isObject"])(u)){var g=u.fields,y=u.callback;if(y){var v=g.map(function(e){return t[d][e]}),m=y.apply(void 0,v),b=Object(a["a"])({data:t[d],mappingData:t,title:l,color:t.color||h,marker:!0},m);f.push(b)}else for(var x=e.scales,O=0,j=g;O');P.appendChild(_);var L=k(P,l,i,o),F=b(d),I=new F.Canvas(Object(a["a"])({container:_,pixelRatio:g,localRefresh:v,supportCSSTransform:w},L));return n=t.call(this,{parent:null,canvas:I,backgroundGroup:I.addGroup({zIndex:f.BG}),middleGroup:I.addGroup({zIndex:f.MID}),foregroundGroup:I.addGroup({zIndex:f.FORE}),padding:u,appendPadding:h,visible:x,options:M,limitInPlot:A,theme:T,syncViewPadding:E})||this,n.onResize=Object(s["debounce"])(function(){n.forceFit()},300),n.ele=P,n.canvas=I,n.width=L.width,n.height=L.height,n.autoFit=l,n.localRefresh=v,n.renderer=d,n.wrapperElement=_,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(C),n}return Object(a["b"])(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;Object(s["each"])(t,function(t){e.interaction(t)})},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e?this:(this.emit(c.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(c.AFTER_CHANGE_SIZE),this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),S(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=k(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){Object(O["e"])(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(er),rr=nr,ir=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){Object(s["each"])(this.components,function(t){t.component.destroy()}),this.components=[]},t.prototype.destroy=function(){this.clear()},t.prototype.getComponents=function(){return this.components},t.prototype.changeVisible=function(t){this.visible!==t&&(this.components.forEach(function(e){t?e.component.show():e.component.hide()}),this.visible=t)},t}();function or(t){for(var e=[],n=function(n){var r=t[n],i=Object(s["find"])(e,function(t){return t.color===r.color&&t.name===r.name&&t.value===r.value&&t.title===r.title});i||e.push(r)},r=0;r1){for(var p=e[0],d=Math.abs(t.y-p[0].y),g=0,y=e;g'+r+"":r};return Object(a["a"])(Object(a["a"])({},t),{customContent:n})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),r=new bt(Object(a["a"])(Object(a["a"])({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));r.init(),this.tooltip=r},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),r=0,i=t;r-1)return;r.push(t),"active"!==t&&"selected"!==t||a.toFront()}else{if(-1===c)return;r.splice(c,1),"active"!==t&&"selected"!==t||a.toBack()}var l=i.drawShape(s,o,this.getOffscreenGroup());r.length?this.syncShapeStyle(a,l,r,null):this.syncShapeStyle(a,l,["reset"],null),l.remove(!0);var u={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",u),Object(ft["propagationDelegate"])(this.shape,"statechange",u)},e.prototype.clearStates=function(){var t=this,e=this.states;Object(s["each"])(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,e=t.shape,n=t.labelShape,r={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return e&&(r=e.getCanvasBBox()),n&&n.forEach(function(t){var e=t.getCanvasBBox();r.x=Math.min(e.x,r.x),r.y=Math.min(e.y,r.y),r.minX=Math.min(e.minX,r.minX),r.minY=Math.min(e.minY,r.minY),r.maxX=Math.max(e.maxX,r.maxX),r.maxY=Math.max(e.maxY,r.maxY)}),r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,e=t.shapeType,n=t.geometry,r=t.shapeFactory,i=n.stateOption,o=r.defaultShapeType,a=r.theme[e]||r.theme[o];this.statesStyle=Object(s["deepMix"])({},a,i)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=Object(s["get"])(n,[t,"style"],{}),i=r[e]||r;return Object(s["isFunction"])(i)?i(this):i},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var r=n[t];return r?Object(a["a"])(Object(a["a"])({},r),{callback:function(){var t;Object(s["isFunction"])(r.callback)&&r.callback(),null===(t=e.geometry)||void 0===t||t.emit(l.AFTER_DRAW_ANIMATE)}}):r}return null},e.prototype.drawShape=function(t,e){var n;void 0===e&&(e=!1);var r=this,i=r.shapeFactory,o=r.container,c=r.shapeType;if(this.shape=i.drawShape(c,t,o),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?Object(s["isString"])(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var h=e?"enter":"appear",f=this.getAnimateCfg(h);f&&(null===(n=this.geometry)||void 0===n||n.emit(l.BEFORE_DRAW_ANIMATE),yr(this.shape,f,{coordinate:i.coordinate,toAttrs:Object(a["a"])({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;if(t.cfg.origin=e,t.cfg.element=this,t.isGroup()){var r=t.get("children");r.forEach(function(t){n.setShapeInfo(t,e)})}},e.prototype.syncShapeStyle=function(t,e,n,r,i){var o,a=this;if(void 0===n&&(n=[]),void 0===i&&(i=0),t&&e){var c=t.get("clipShape"),u=e.get("clipShape");if(this.syncShapeStyle(c,u,n,r),t.isGroup())for(var h=t.get("children"),f=e.get("children"),p=0;p=0?n:r<=0?r:0,t},e.prototype.createAttrOption=function(t,e,n){if(Object(s["isNil"])(e)||Object(s["isObject"])(e))Object(s["isObject"])(e)&&Object(s["isEqual"])(Object.keys(e),["values"])?Object(s["set"])(this.attributeOption,t,{fields:e.values}):Object(s["set"])(this.attributeOption,t,e);else{var r={};Object(s["isNumber"])(e)?r.values=[e]:r.fields=Ir(e),n&&(Object(s["isFunction"])(n)?r.callback=n:r.values=n),Object(s["set"])(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this,n=e.attributes,r=e.attributeOption,i=e.theme,o=e.shapeType;this.groupScales=[];var s={},c=function(e){if(r.hasOwnProperty(e)){var c=r[e];if(!c)return{value:void 0};var l=Object(a["a"])({},c),u=l.callback,h=l.values,f=l.fields,d=void 0===f?[]:f,g=d.map(function(n){var r=t.scales[n];return r.isCategory&&!s[n]&&p.includes(e)&&(t.groupScales.push(r),s[n]=!0),r});l.scales=g,"position"!==e&&1===g.length&&"identity"===g[0].type?l.values=g[0].values:u||h||("size"===e?l.values=i.sizes:"shape"===e?l.values=i.shapes[o]||[]:"color"===e&&(g.length?l.values=g[0].values.length<=10?i.colors10:i.colors20:l.values=i.colors10));var y=Z(e);n[e]=new y(l)}};for(var l in r){var u=c(l);if("object"===typeof u)return u.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales,n=e.filter(function(t){return t.isCategory}),r=this.groupData(t),i=[],o=0,a=r.length;oo&&(o=u)}var h=this.scaleDefs,f={};it.max&&!Object(s["get"])(h,[r,"max"])&&(f.max=o),t.change(f)},e.prototype.beforeMapping=function(t){var e=t;if(this.sortable&&this.sort(e),this.generatePoints)for(var n=0,r=e.length;n1)for(var h=0;h0})}function qr(t,e,n){var r=n.data,i=n.origin,o=n.animateCfg,a=n.coordinate,c=Object(s["get"])(o,"update");t.set("data",r),t.set("origin",i),t.set("animateCfg",o),t.set("coordinate",a),t.set("visible",e.get("visible")),t.getChildren().forEach(function(s,l){var u=e.getChildByIndex(l);if(u){s.set("data",r),s.set("origin",i),s.set("animateCfg",o),s.set("coordinate",a);var h=Ct(s,u);c?yr(s,c,{toAttrs:h,coordinate:a}):s.attr(h),u.isGroup()&&qr(s,u,n)}else t.removeChild(s),s.remove(!0)}),Object(s["each"])(e.getChildren(),function(e,n){n>=t.getCount()&&(e.destroyed||t.add(e))})}var Zr=function(){function t(t){this.shapesMap={},this.lastShapesMap={};var e=t.layout,n=t.container;this.layout=e,this.container=n}return t.prototype.render=function(t,e,n){var r=this;void 0===n&&(n=!1),this.shapesMap={};var i=this.container,o=this.createOffscreenGroup();if(t.length){for(var c=0,l=t;c0||1===n?r*s:r*s*-1,c},t.prototype.getLabelPoint=function(t,e,n){var r=this.getCoordinate(),i=t.content.length;function o(e,n,r){void 0===r&&(r=!1);var i=e;return Object(s["isArray"])(i)&&(i=1===t.content.length?r?Qr(i):i.length<=2?i[e.length-1]:Qr(i):i[n]),i}var a={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},c=Object(s["isArray"])(e.shape)?e.shape[0]:e.shape,l="funnel"===c||"pyramid"===c;if("polygon"===this.geometry.type){var u=St(e.x,e.y);a.x=u[0],a.y=u[1]}else"interval"!==this.geometry.type||l?(a.x=o(e.x,n),a.y=o(e.y,n)):(a.x=o(e.x,n,!0),a.y=o(e.y,n));if(l){var h=Object(s["get"])(e,"nextPoints"),f=Object(s["get"])(e,"points");if(h){var p=r.convert(f[1]),d=r.convert(h[1]);a.x=(p.x+d.x)/2,a.y=(p.y+d.y)/2}else if("pyramid"===c){p=r.convert(f[1]),d=r.convert(f[2]);a.x=(p.x+d.x)/2,a.y=(p.y+d.y)/2}}t.position&&this.setLabelPosition(a,e,n,t.position);var g=this.getLabelOffsetPoint(t,n,i);return a.start={x:a.x,y:a.y},a.x+=g.x,a.y+=g.y,a.color=e.color,a},t.prototype.getLabelAlign=function(t,e,n){var r="center",i=this.getCoordinate();if(i.isTransposed){var o=t.offset;r=o<0?"right":0===o?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),o=t[d],a=e.getElementId(t);return"line"===n||"area"===n?a+=" "+o[r.field]:"path"===n&&(a+=" "+o[r.field]+"-"+o[i.field]),a},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,i=t.animateOption,o=this.geometry.coordinate,a=this.labelsRenderer;return a||(a=new Kr({container:e,layout:Object(s["get"])(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=a),a.region=r,a.animate=!!i&&gr("label",o),a},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,r=n.labelOption,i=n.scales,o=n.coordinate,c=r,l=c.fields,u=c.callback,h=c.cfg,f=l.map(function(t){return i[t]}),p=[];return Object(s["each"])(t,function(t,n){var r,i=t[d],c=e.getLabelText(i,f);if(u){var g=l.map(function(t){return i[t]});if(r=u.apply(void 0,g),Object(s["isNil"])(r))return void p.push(null)}var y=Object(a["a"])(Object(a["a"])({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:i,mappingData:t,coordinate:o},h),r);Object(s["isFunction"])(y.position)&&(y.position=y.position(i,t,n));var v=e.getLabelOffset(y.offset||0),m=e.getDefaultLabelCfg(v,y.position);y=Object(s["deepMix"])({},m,y),y.offset=e.getLabelOffset(y.offset||0);var b=y.content;Object(s["isFunction"])(b)?y.content=b(i,t,n):Object(s["isUndefined"])(b)&&(y.content=c[0]),p.push(y)}),p},t.prototype.getLabelText=function(t,e){var n=[];return Object(s["each"])(e,function(e){var r=t[e.field];r=Object(s["isArray"])(r)?r.map(function(t){return e.getText(t)}):e.getText(r),Object(s["isNil"])(r)||""===r?n.push(null):n.push(r)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return Object(s["isNumber"])(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return Object(s["each"])(t.elementsMap,function(t,n){e[n]=t.shape}),Object(s["each"])(t.getOffscreenGroup().getChildren(),function(n){var r=t.getElementId(n.get("origin").mappingData);e[r]=n}),e},t}(),Jr=$r;n("WXeg");function ti(t,e,n){if(!t)return n;var r;if(t.callback&&t.callback.length>1){var i=Array(t.callback.length-1).fill("");r=t.mapping.apply(t,Object(a["d"])([e],i)).join("")}else r=t.mapping(e).join("");return r||n}var ei={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}},ni=["line","cross","tick","plus","hyphen"];function ri(t,e){return Object(s["isFunction"])(e)?e(t):Object(s["deepMix"])({},t,e)}function ii(t,e){var n=t.symbol;if(Object(s["isString"])(n)&&-1!==ni.indexOf(n)){var r=Object(s["get"])(t,"style",{}),i=Object(s["get"])(r,"lineWidth",1),o=r.stroke||r.fill||e;t.style=Object(s["deepMix"])({},t.style,{lineWidth:i,stroke:o,fill:null})}}function oi(t){var e=t.symbol;Object(s["isString"])(e)&&ei[e]&&(t.symbol=ei[e])}function ai(t){return t.startsWith(i.LEFT)||t.startsWith(i.RIGHT)?"vertical":"horizontal"}function si(t,e,n,r,i){var o=n.getScale(n.type);if(o.isCategory){var c=o.field,l=e.getAttribute("color"),u=e.getAttribute("shape"),h=t.getTheme().defaultColor,f=e.coordinate.isPolar;return o.getTicks().map(function(n){var p,d=n.text,g=n.value,y=d,v=o.invert(g),m=0===t.filterFieldData(c,[(p={},p[c]=v,p)]).length;Object(s["each"])(t.views,function(t){var e;t.filterFieldData(c,[(e={},e[c]=v,e)]).length||(m=!0)});var b=ti(l,v,h),x=ti(u,v,"point"),O=e.getShapeMarker(x,{color:b,isInPolar:f});return O=Object(s["deepMix"])({},r,O,Tt(Object(a["a"])({},i),["style"])),ii(O,b),i&&i.style&&(O.style=ri(O.style,i.style)),oi(O),{id:v,name:y,value:v,marker:O,unchecked:m}})}return[]}function ci(t,e,n){return n.map(function(n){var r=Object(s["deepMix"])({},t,e,n.marker);return oi(r),n.marker=r,n})}var li={getLegendItems:si,translate:zr,rotate:Gr,zoom:Vr,transform:Nr,getAngle:kt,getSectorPath:jt,polarToCartesian:Ot,getDelegationObject:Ee,getTooltipItems:Bn},ui={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},hi={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},fi=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#E86452","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],pi=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#E86452","#F8D0CB","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],di=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"#141414":e,r=t.paletteQualitative10,i=void 0===r?fi:r,o=t.paletteQualitative20,a=void 0===o?pi:o,s=t.paletteSemanticRed,c=void 0===s?"#F4664A":s,l=t.paletteSemanticGreen,u=void 0===l?"#30BF78":l,h=t.paletteSemanticYellow,f=void 0===h?"#FAAD14":h,p=t.fontFamily,d=void 0===p?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':p,g=t.brandColor,y=void 0===g?i[0]:g;return{backgroundColor:n,brandColor:y,paletteQualitative10:i,paletteQualitative20:a,paletteSemanticRed:c,paletteSemanticGreen:u,paletteSemanticYellow:f,fontFamily:d,axisLineBorderColor:hi[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:hi[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:hi[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:hi[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:hi[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:hi[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:hi[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:fi[0],legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:hi[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendSpacing:16,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:hi[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:hi[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:ui[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:ui[25],annotationArcBorderColor:hi[15],annotationArcBorder:1,annotationLineBorderColor:hi[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:hi[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:hi[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:hi[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"#1f1f1f",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 2px 4px rgba(0,0,0,.5)",tooltipContainerBorderRadius:3,tooltipTextFillColor:hi[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:hi[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:ui[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:hi[65],overflowLabelFillColorDark:"#2c3542",overflowLabelFillColorLight:"#ffffff",overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:ui[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:hi[25],pointFillColor:fi[0],pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:ui[100],pointBorderOpacity:1,pointActiveBorderColor:hi[100],pointSelectedBorder:2,pointSelectedBorderColor:hi[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:fi[0],hollowPointBorderOpacity:.95,hollowPointFillColor:ui[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:hi[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:hi[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:fi[0],lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:fi[0],areaFillOpacity:.25,areaActiveFillColor:fi[0],areaActiveFillOpacity:.5,areaSelectedFillColor:fi[0],areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:fi[0],hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:hi[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:hi[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:fi[0],intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:hi[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:hi[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:fi[0],hollowIntervalBorderOpacity:1,hollowIntervalFillColor:ui[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:hi[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:hi[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}},gi=di(),yi=n("U8jP"),vi=n("v7Ed");function mi(t){return!t&&(null===t||void 0===t||isNaN(t))}function bi(t){if(Object(s["isArray"])(t))return mi(t[1].y);var e=t.y;return Object(s["isArray"])(e)?mi(e[0]):mi(e)}function xi(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,o=t.length;i0&&(l[0][0]="L")),o=o.concat(l)}),o.push(["Z"])}return o}function Li(t,e,n,r,i){for(var o=Oi(t,e,!e,"lineWidth"),a=t.connectNulls,s=t.isInCircle,c=t.points,l=t.showSinglePoint,u=xi(c,a,l),h=[],f=0,p=u.length;fi&&(i=e),e=e[0]}));for(var f=this.scales[u],p=0,g=t;pe&&(n=n?e/(1+r/n):0,r=e-n),i+o>e&&(i=i?e/(1+o/i):0,o=e-i),[n||0,r||0,i||0,o||0]}function Wi(t,e,n){var r=[];if(n.isRect){var i=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},o=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},a=Object(s["get"])(t,["background","style","radius"]);if(a){var c=n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=n.isTransposed?n.getWidth():n.getHeight(),u=Vi(a,Math.min(c,l)),h=u[0],f=u[1],p=u[2],d=u[3];r.push(["M",i.x,o.y+h]),0!==h&&r.push(["A",h,h,0,0,1,i.x+h,o.y]),r.push(["L",o.x-f,o.y]),0!==f&&r.push(["A",f,f,0,0,1,o.x,o.y+f]),r.push(["L",o.x,i.y-p]),0!==p&&r.push(["A",p,p,0,0,1,o.x-p,i.y]),r.push(["L",i.x+d,i.y]),0!==d&&r.push(["A",d,d,0,0,1,i.x,i.y-d])}else r.push(["M",i.x,i.y]),r.push(["L",o.x,i.y]),r.push(["L",o.x,o.y]),r.push(["L",i.x,o.y]),r.push(["L",i.x,i.y]);r.push(["z"])}if(n.isPolar){var g=n.getCenter(),y=kt(t,n),v=y.startAngle,m=y.endAngle;if("theta"===n.type||n.isTransposed){var b=function(t){return Math.pow(t,2)};h=Math.sqrt(b(g.x-e[0].x)+b(g.y-e[0].y)),f=Math.sqrt(b(g.x-e[2].x)+b(g.y-e[2].y));r=jt(g.x,g.y,h,n.startAngle,n.endAngle,f)}else r=jt(g.x,g.y,n.getRadius(),v,m)}return r}function Hi(t,e,n){var r=n.getWidth(),i=n.getHeight(),o="rect"===n.type,a=[],s=(t[2].x-t[1].x)/2,c=n.isTransposed?s*i/r:s*r/i;return"round"===e?(o?(a.push(["M",t[0].x,t[0].y+c]),a.push(["L",t[1].x,t[1].y-c]),a.push(["A",s,s,0,0,1,t[2].x,t[2].y-c]),a.push(["L",t[3].x,t[3].y+c]),a.push(["A",s,s,0,0,1,t[0].x,t[0].y+c])):(a.push(["M",t[0].x,t[0].y]),a.push(["L",t[1].x,t[1].y]),a.push(["A",s,s,0,0,1,t[2].x,t[2].y]),a.push(["L",t[3].x,t[3].y]),a.push(["A",s,s,0,0,1,t[0].x,t[0].y])),a.push(["z"])):a=Gi(t),a}function Xi(t,e,n){var r=[];return Object(s["isNil"])(e)?n?r.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[2].x,t[2].y],["Z"]):r.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):r.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),r}function Ui(t,e,n){var r,i,o,a,s=t[0],c=t[1],l=t[2],u=t[3],h=[0,0,0,0],f=h[0],p=h[1],d=h[2],g=h[3];s.yt[1].x?(u=t[0],s=t[1],c=t[2],l=t[3],o=Vi(n,Math.min(u.x-s.x,s.y-c.y)),f=o[0],g=o[1],d=o[2],p=o[3]):(a=Vi(n,Math.min(u.x-s.x,s.y-c.y)),p=a[0],d=a[1],g=a[2],f=a[3]));var y=[];return y.push(["M",c.x,c.y+f]),0!==f&&y.push(["A",f,f,0,0,1,c.x+f,c.y]),y.push(["L",l.x-p,l.y]),0!==p&&y.push(["A",p,p,0,0,1,l.x,l.y+p]),y.push(["L",u.x,u.y-d]),0!==d&&y.push(["A",d,d,0,0,1,u.x-d,u.y]),y.push(["L",s.x+g,s.y]),0!==g&&y.push(["A",g,g,0,0,1,s.x,s.y-g]),y.push(["L",c.x,c.y+f]),y.push(["z"]),y}Er("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Yi(t)}});Pr("interval","rect",{draw:function(t,e){var n,r=Oi(t,!1,!0),i=e,o=null===t||void 0===t?void 0:t.background;if(o){i=e.addGroup();var s=ji(t),c=Wi(t,this.parsePoints(t.points),this.coordinate);i.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},s),{path:c}),zIndex:-1,name:mr})}n=r.radius&&this.coordinate.isRect?Ui(this.parsePoints(t.points),this.coordinate,r.radius):this.parsePath(Hi(t.points,r.lineCap,this.coordinate));var l=i.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n}),name:"interval"});return o?i:l},getMarker:function(t){var e=t.color,n=t.isInPolar;return n?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}});function qi(t,e){var n=t.length,r=t;Object(s["isString"])(r[0])&&(r=t.map(function(t){return e.translate(t)}));for(var i=r[1]-r[0],o=2;oa&&(i=a)}return i}function Zi(t,e){if(e){var n=Object(s["flatten"])(t),r=Object(s["valuesOfKey"])(n,e);return r.length}return t.length}function Ki(t){var e=t.theme,n=t.coordinate,r=t.getXScale(),i=r.values,o=t.beforeMappingData,a=i.length,c=Lt(t.coordinate),l=t.intervalPadding,u=t.dodgePadding,h=t.maxColumnWidth||e.maxColumnWidth,f=t.minColumnWidth||e.minColumnWidth,p=t.columnWidthRatio||e.columnWidthRatio,d=t.multiplePieWidthRatio||e.multiplePieWidthRatio,g=t.roseWidthRatio||e.roseWidthRatio;if(r.isLinear&&i.length>1){i.sort();var y=qi(i,r);a=(r.max-r.min)/y,i.length>a&&(a=i.length)}var v=r.range,m=1/a,b=1;if(n.isPolar?b=n.isTransposed&&a>1?d:g:(r.isLinear&&(m*=v[1]-v[0]),b=p),!Object(s["isNil"])(l)&&l>=0){var x=l/c;m=(1-(a-1)*x)/a}else m*=b;if(t.getAdjust("dodge")){var O=t.getAdjust("dodge"),j=O.dodgeBy,w=Zi(o,j);if(!Object(s["isNil"])(u)&&u>=0){var k=u/c;m=(m-k*(w-1))/w}else!Object(s["isNil"])(l)&&l>=0?(m*=b,m/=w):m/=w;m=m>=0?m:0}if(!Object(s["isNil"])(h)&&h>=0){var S=h/c;m>S&&(m=S)}if(!Object(s["isNil"])(f)&&f>=0){var C=f/c;m0&&!Object(s["get"])(n,[r,"min"])&&e.change({min:0}),o<=0&&!Object(s["get"])(n,[r,"max"])&&e.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(Rr),$i=Qi,Ji=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable,i=void 0!==r&&r;return n.sortable=i,n}return Object(a["b"])(e,t),e}(Pi),to=Ji,eo=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],no=["cross","tick","plus","hyphen","line"];function ro(t,e,n,r,i){var o=Oi(e,i,!i,"r"),s=t.parsePoints(e.points),c=s[0];if(e.isStack)c=s[1];else if(s.length>1){for(var l=n.addGroup(),u=0,h=s;u2?"weight":"normal";if(t.isInCircle){var s={x:0,y:1};return"normal"===o?n=po(i[0],i[1],s):(r.fill=r.stroke,n=go(i,s)),n=this.parsePath(n),e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n})})}if("normal"===o)return i=this.parsePoints(i),n=wt((i[1].x+i[0].x)/2,i[0].y,Math.abs(i[1].x-i[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n})});var c=ho(i[1],i[3]),l=ho(i[2],i[0]);return n=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],c,["L",i[3].x,i[3].y],["L",i[2].x,i[2].y],l,["Z"]],n=this.parsePath(n),r.fill=r.stroke,e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),Pr("edge","smooth",{draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(yo(r[0],r[1]));return e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var vo=1/3;function mo(t,e){var n=[];n.push({x:t.x,y:t.y*(1-vo)+e.y*vo}),n.push({x:e.x,y:t.y*(1-vo)+e.y*vo}),n.push(e);var r=[["M",t.x,t.y]];return Object(s["each"])(n,function(t){r.push(["L",t.x,t.y])}),r}function bo(t){var e=t.x,n=t.y,r=t.y0;return Object(s["isArray"])(n)?n.map(function(t,n){return{x:Object(s["isArray"])(e)?e[n]:e,y:t}}):[{x:e,y:r},{x:e,y:n}]}function xo(t){var e,n,r=t.x,i=t.y,o=t.y0,a=t.size;Object(s["isArray"])(i)?(e=i[0],n=i[1]):(e=o,n=i);var c=r+a/2,l=r-a/2;return[{x:r,y:e},{x:r,y:n},{x:l,y:e},{x:c,y:e},{x:l,y:n},{x:c,y:n}]}function Oo(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y]]}Pr("edge","vhv",{draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(mo(r[0],r[1]));return e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),Pr("interval","funnel",{getPoints:function(t){return t.size=2*t.size,Yi(t)},draw:function(t,e){var n=Oi(t,!1,!0),r=this.parsePath(Xi(t.points,t.nextPoints,!1)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),Pr("interval","hollow-rect",{draw:function(t,e){var n=Oi(t,!0,!1),r=e,i=null===t||void 0===t?void 0:t.background;if(i){r=e.addGroup();var o=ji(t),s=Wi(t,this.parsePoints(t.points),this.coordinate);r.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},o),{path:s}),zIndex:-1,name:mr})}var c=this.parsePath(Gi(t.points)),l=r.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:c}),name:"interval"});return i?r:l},getMarker:function(t){var e=t.color,n=t.isInPolar;return n?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}}),Pr("interval","line",{getPoints:function(t){return bo(t)},draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=Tt(Object(a["a"])({},n),["fill"]),i=this.parsePath(Gi(t.points,!1)),o=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:i}),name:"interval"});return o},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]},style:{r:5,stroke:e}}}}),Pr("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,Yi(t,!0)},draw:function(t,e){var n=Oi(t,!1,!0),r=this.parsePath(Xi(t.points,t.nextPoints,!0)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),Pr("interval","tick",{getPoints:function(t){return xo(t)},draw:function(t,e){var n=Oi(t,!0,!1),r=this.parsePath(Oo(t.points)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},style:{r:5,stroke:e}}}});var jo=function(t,e,n){var r,i=t.x,o=t.y,a=e.x,s=e.y;switch(n){case"hv":r=[{x:a,y:o}];break;case"vh":r=[{x:i,y:s}];break;case"hvh":var c=(a+i)/2;r=[{x:c,y:o},{x:c,y:s}];break;case"vhv":var l=(o+s)/2;r=[{x:i,y:l},{x:a,y:l}];break;default:break}return r};function wo(t,e){var n=[];return Object(s["each"])(t,function(r,i){var o=t[i+1];if(n.push(r),o){var a=jo(r,o,e);n=n.concat(a)}}),n}function ko(t){return t.map(function(t,e){return 0===e?["M",t.x,t.y]:["L",t.x,t.y]})}function So(t,e){var n=xi(t.points,t.connectNulls,t.showSinglePoint),r=[];return Object(s["each"])(n,function(t){var n=wo(t,e);r=r.concat(ko(n))}),Object(a["a"])(Object(a["a"])({},Oi(t,!0,!1,"lineWidth")),{path:r})}function Co(t){var e=Object(s["isArray"])(t)?t:[t],n=e[0],r=e[e.length-1],i=e.length>1?e[1]:n,o=e.length>3?e[3]:r,a=e.length>2?e[2]:i;return{min:n,max:r,min1:i,max1:o,median:a}}function Mo(t,e,n){var r,i=n/2;if(Object(s["isArray"])(e)){var o=Co(e),a=o.min,c=o.max,l=o.median,u=o.min1,h=o.max1,f=t-i,p=t+i;r=[[f,c],[p,c],[t,c],[t,h],[f,u],[f,h],[p,h],[p,u],[t,u],[t,a],[f,a],[p,a],[f,l],[p,l]]}else{e=Object(s["isNil"])(e)?.5:e;var d=Co(t),g=(a=d.min,c=d.max,l=d.median,u=d.min1,h=d.max1,e-i),y=e+i;r=[[a,g],[a,y],[a,e],[u,e],[u,g],[u,y],[h,y],[h,g],[h,e],[c,e],[c,g],[c,y],[l,g],[l,y]]}return r.map(function(t){return{x:t[0],y:t[1]}})}function Ao(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y],["L",t[6].x,t[6].y],["L",t[7].x,t[7].y],["L",t[4].x,t[4].y],["Z"],["M",t[8].x,t[8].y],["L",t[9].x,t[9].y],["M",t[10].x,t[10].y],["L",t[11].x,t[11].y],["M",t[12].x,t[12].y],["L",t[13].x,t[13].y]]}function To(t){var e=Object(s["isArray"])(t)?t:[t],n=e.sort(function(t,e){return e-t});return At(n,4,n[n.length-1])}function Eo(t,e,n){var r=To(e);return[{x:t,y:r[0]},{x:t,y:r[1]},{x:t-n/2,y:r[2]},{x:t-n/2,y:r[1]},{x:t+n/2,y:r[1]},{x:t+n/2,y:r[2]},{x:t,y:r[2]},{x:t,y:r[3]}]}function Po(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["L",t[4].x,t[4].y],["L",t[5].x,t[5].y],["Z"],["M",t[6].x,t[6].y],["L",t[7].x,t[7].y]]}function _o(t,e){var n=Math.abs(t[0].x-t[2].x),r=Math.abs(t[0].y-t[2].y),i=Math.min(n,r);e&&(i=Object(s["clamp"])(e,0,Math.min(n,r))),i/=2;var o=(t[0].x+t[2].x)/2,a=(t[0].y+t[2].y)/2;return{x:o-i,y:a-i,width:2*i,height:2*i}}Object(s["each"])(["hv","vh","hvh","vhv"],function(t){Pr("line",t,{draw:function(e,n){var r=So(e,t),i=n.addShape({type:"path",attrs:r,name:"line"});return i},getMarker:function(e){return Si(e,t)}})}),Object(s["each"])(no,function(t){Pr("point",t,{draw:function(e,n){return ro(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:ei[t],style:{r:4.5,stroke:n,fill:null}}}})}),Pr("point","image",{draw:function(t,e){var n=Oi(t,!1,!1,"r").r,r=this.parsePoints(t.points),i=r[0];if(t.isStack)i=r[1];else if(r.length>1){for(var o=e.addGroup(),a=0,s=r;a0?"left":"right");break;case"left":t.x=c,t.y=(i+a)/2,t.textAlign=Object(s["get"])(t,"textAlign",d>0?"left":"right");break;case"bottom":u&&(t.x=(o+c)/2),t.y=a,t.textAlign=Object(s["get"])(t,"textAlign","center"),t.textBaseline=Object(s["get"])(t,"textBaseline",d>0?"bottom":"top");break;case"middle":u&&(t.x=(o+c)/2),t.y=(i+a)/2,t.textAlign=Object(s["get"])(t,"textAlign","center"),t.textBaseline=Object(s["get"])(t,"textBaseline","middle");break;case"top":u&&(t.x=(o+c)/2),t.y=i,t.textAlign=Object(s["get"])(t,"textAlign","center"),t.textBaseline=Object(s["get"])(t,"textBaseline",d>0?"bottom":"top");break;default:break}},e}(Jr),Fo=Lo,Io=Math.PI/2,Do=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=0;if(Object(s["isNumber"])(t))n=t;else if(Object(s["isString"])(t)&&-1!==t.indexOf("%")){var r=e.getRadius();e.innerRadius>0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),r=this.geometry.getYScale();return Object(s["map"])(n,function(t){if(t&&r){var e=r.scale(Object(s["get"])(t.data,r.field));return Object(a["a"])(Object(a["a"])({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=Math.abs(t.x-r.x)<1?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,o=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var a=t.offset*i,s=this.getPointAngle(r),c=t.labelEmit,l=this.getCirclePoint(s,a,r,c);return 0===l.r?l.content="":(l.content=o,l.angle=s,l.color=e.color),l.rotate=t.autoRotate?this.getLabelRotate(s,a,c):t.rotate,l.start={x:r.x,y:r.y},l},e.prototype.getArcPoint=function(t,e){return void 0===e&&(e=0),Object(s["isArray"])(t.x)||Object(s["isArray"])(t.y)?{x:Object(s["isArray"])(t.x)?t.x[e]:t.x,y:Object(s["isArray"])(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return Bt(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,r){var i=this.getCoordinate(),o=i.getCenter(),s=It(i,n);if(0===s)return Object(a["a"])(Object(a["a"])({},o),{r:s});var c=t;if(i.isTransposed&&s>e&&!r){var l=Math.asin(e/(2*s));c=t+2*l}else s+=e;return{x:o.x+s*Math.cos(c),y:o.y+s*Math.sin(c),r:s}},e.prototype.getLabelRotate=function(t,e,n){var r=t+Io;return n&&(r-=Io),r&&(r>Io?r-=Math.PI:r<-Io&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return Object(s["each"])(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r),r},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(Jr),Bo=Do,Ro=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return Object(a["b"])(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return Object(s["deepMix"])({},r,Object(s["get"])(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&(r=t,r>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate(),r=n.getCenter();return e=t.angle<=Math.PI/2&&t.x>=r.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:Object(s["isArray"])(t.x)?t.x[0]:t.x,y:t.y[0]},i={x:Object(s["isArray"])(t.x)?t.x[1]:t.x,y:t.y[1]},o=Bt(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=o;else{var a=Bt(n,i);o>=a&&(a+=2*Math.PI),e=o+(a-o)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),r=n.getCenter(),i=n.getRadius()+e;return Object(a["a"])(Object(a["a"])({},Ot(r.x,r.y,i,t)),{angle:t,r:i})},e}(Bo),No=Ro,zo=4;function Yo(t,e,n,r,i,o){var a,c=!0,l=r.start,u=r.end,h=Math.min(l.y,u.y),f=Math.abs(l.y-u.y),p=0,d=Number.MIN_VALUE,g=e.map(function(t){return t.y>p&&(p=t.y),t.yf&&(f=p-h);while(c){g.forEach(function(t){var e=(Math.min.apply(d,t.targets)+Math.max.apply(d,t.targets))/2;t.pos=Math.min(Math.max(d,e-t.size/2),f-t.size)}),c=!1,a=g.length;while(a--)if(a>0){var y=g[a-1],v=g[a];y.pos+y.size>v.pos&&(y.size+=v.size,y.targets=y.targets.concat(v.targets),y.pos+y.size>f&&(y.pos=f-y.size),g.splice(a,1),c=!0)}}a=0,g.forEach(function(t){var r=h+n/2;t.targets.forEach(function(){e[a].y=t.pos+r,r+=n,a++})});for(var m={},b=0,x=t;b0){var l=14,u=a+i,h=2*u+2*l,f={start:o.start,end:o.end},p=[[],[]];t.forEach(function(t){t&&("right"===t.textAlign?p[0].push(t):p[1].push(t))}),p.forEach(function(t,n){var r=h/l;t.length>r&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(r,t.length-r)),t.sort(function(t,e){return t.y-e.y}),Yo(e,t,l,f,c,n)})}Object(s["each"])(t,function(t){if(t&&t.labelLine){var e=t.offset,n=t.angle,r=Ot(c.x,c.y,a,n),i=Ot(c.x,c.y,a+e/2,n),o=t.x+Object(s["get"])(t,"offsetX",0),l=t.y+Object(s["get"])(t,"offsetY",0),u={x:o-Math.cos(n)*zo,y:l-Math.sin(n)*zo};Object(s["isObject"])(t.labelLine)||(t.labelLine={}),t.labelLine.path=["M "+r.x,r.y+" Q"+i.x,i.y+" "+u.x,u.y].join(",")}})}}function Vo(t,e,n){var r=t.filter(function(t){return!t.invisible});r.sort(function(t,e){return t.y-e.y});var i,o=!0,a=n.minY,s=n.maxY,c=Math.abs(a-s),l=0,u=Number.MIN_VALUE,h=r.map(function(t){return t.y>l&&(l=t.y),t.yc&&(c=l-a);while(o){h.forEach(function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),c-t.size),t.pos=Math.max(0,t.pos)}),o=!1,i=h.length;while(i--)if(i>0){var f=h[i-1],p=h[i];f.pos+f.size>p.pos&&(f.size+=p.size,f.targets=f.targets.concat(p.targets),f.pos+f.size>c&&(f.pos=c-f.size),h.splice(i,1),o=!0)}}i=0,h.forEach(function(t){var n=a+e/2;t.targets.forEach(function(){r[i].y=t.pos+n,n+=e,i++})})}var Wo=4;function Ho(t,e){var n=e.getCenter(),r=e.getRadius();if(t&&t.labelLine){var i=t.angle,o=t.offset,a=Ot(n.x,n.y,r,i),c=t.x+Object(s["get"])(t,"offsetX",0)*(Math.cos(i)>0?1:-1),l=t.y+Object(s["get"])(t,"offsetY",0)*(Math.sin(i)>0?1:-1),u={x:c-Math.cos(i)*Wo,y:l-Math.sin(i)*Wo},h=t.labelLine.smooth,f=[],p=u.x-n.x,d=u.y-n.y,g=Math.atan(d/p);if(p<0&&(g+=Math.PI),!1===h){Object(s["isObject"])(t.labelLine)||(t.labelLine={});var y=0;(i<0&&i>-Math.PI/2||i>1.5*Math.PI)&&u.y>a.y&&(y=1),i>=0&&ia.y&&(y=1),i>=Math.PI/2&&iu.y&&(y=1),(i<-Math.PI/2||i>=Math.PI&&i<1.5*Math.PI)&&a.y>u.y&&(y=1);var v=o/2>4?4:Math.max(o/2-1,0),m=Ot(n.x,n.y,r+v,i),b=Ot(n.x,n.y,r+o/2,g),x=0;f.push("M "+a.x+" "+a.y),f.push("L "+m.x+" "+m.y),f.push("A "+n.x+" "+n.y+" 0 "+x+" "+y+" "+b.x+" "+b.y),f.push("L "+u.x+" "+u.y)}else{m=Ot(n.x,n.y,r+(o/2>4?4:Math.max(o/2-1,0)),i);var O=a.xMath.pow(Math.E,-16)&&f.push.apply(f,["C",u.x+4*O,u.y,2*m.x-a.x,2*m.y-a.y,a.x,a.y]),f.push("L "+a.x+" "+a.y)}t.labelLine.path=f.join(" ")}}function Xo(t,e,n,r){var i=Object(s["filter"])(t,function(t){return!Object(s["isNil"])(t)}),o=e[0]&&e[0].get("coordinate");if(o){for(var a=o.getCenter(),c=o.getRadius(),l={},u=0,h=e;un&&(t.sort(function(t,e){return e.percent-t.percent}),Object(s["each"])(t,function(t,e){e+1>n&&(l[t.id].set("visible",!1),t.invisible=!0)})),Vo(t,p,j)}),Object(s["each"])(v,function(t,e){Object(s["each"])(t,function(t){var n=e===y,r=l[t.id],i=r.getChildByIndex(0);if(i){var s=c+d,u=t.y-a.y,h=Math.pow(s,2),f=Math.pow(u,2),p=h-f>0?h-f:0,g=Math.sqrt(p),v=Math.abs(Math.cos(t.angle)*s);t.x=n?a.x+Math.max(g,v):a.x-Math.max(g,v)}i&&(i.attr("y",t.y),i.attr("x",t.x)),Ho(t,o)})})}}}var Uo=4,qo=4,Zo=4;function Ko(t,e,n){var r=e.getCenter(),i=e.getRadius(),o={x:t.x-(n?Zo:-Zo),y:t.y},a=Ot(r.x,r.y,i+Uo,t.angle),c={x:o.x,y:o.y},l={x:a.x,y:a.y},u=Ot(r.x,r.y,i,t.angle),h="";if(o.y!==a.y){var f=n?4:-4;c.y=o.y,t.angle<0&&t.angle>=-Math.PI/2&&(c.x=Math.max(a.x,o.x-f),o.y0&&t.anglea.y?l.y=c.y:(l.y=a.y,l.x=Math.max(l.x,c.x-f))),t.angle>Math.PI/2&&(c.x=Math.min(a.x,o.x-f),o.y>a.y?l.y=c.y:(l.y=a.y,l.x=Math.min(l.x,c.x-f))),t.angle<-Math.PI/2&&(c.x=Math.min(a.x,o.x-f),o.yo.x||t.x===o.x&&t.y>o.y,r=Object(s["isNil"])(t.offsetX)?qo:t.offsetX,i=Ot(o.x,o.y,a+Uo,t.angle),l=p+r;t.x=o.x+(n?1:-1)*(a+l),t.y=i.y}});var d=i.start,g=i.end,y="left",v="right",m=Object(s["groupBy"])(t,function(t){return t.xb&&(b=Math.min(e,Math.abs(d.y-g.y)))});var x={minX:d.x,maxX:g.x,minY:o.y-b/2,maxY:o.y+b/2};Object(s["each"])(m,function(t,e){var n=b/f;t.length>n&&(t.sort(function(t,e){return e.percent-t.percent}),Object(s["each"])(t,function(t,e){e>n&&(c[t.id].set("visible",!1),t.invisible=!0)})),Vo(t,f,x)});var O=x.minY,j=x.maxY;Object(s["each"])(m,function(t,e){var n=e===v;Object(s["each"])(t,function(t){var e=Object(s["get"])(c,t&&t.id);if(e)if(t.yj)e.set("visible",!1);else{var r=e.getChildByIndex(0),o=r.getCanvasBBox(),a={x:n?o.x:o.maxX,y:o.y+o.height/2};zr(r,t.x-a.x,t.y-a.y),t.labelLine&&Ko(t,i,n)}})})}}function $o(t,e,n,r){Object(s["each"])(e,function(t){var e=r.minX,n=r.minY,i=r.maxX,o=r.maxY,a=t.getCanvasBBox(),s=a.minX,c=a.minY,l=a.maxX,u=a.maxY,h=a.x,f=a.y,p=a.width,d=a.height,g=h,y=f;(si?g=i-p:l>i&&(g-=l-i),c>o?y=o-d:u>o&&(y-=u-o),g===h&&y===f||zr(t,g-h,y-f)})}function Jo(t,e,n,r){Object(s["each"])(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minXi.maxX||r.maxY>i.maxY)&&t.remove(!0)})}var ta=100,ea=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=void 0===e?1:e,r=t.yGap,i=void 0===r?8:r;this.xGap=n,this.yGap=i}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),o=Math.round(t.minY),a=Math.round(t.maxY),s=r;s<=i;s+=1)if(n[s]){if(s===r||s===i){for(var c=o;c<=a;c++)if(n[s][c]){e=!1;break}}else if(n[s][o]||n[s][a]){e=!1;break}}else n[s]={};return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),o=Math.round(t.maxY),a=n;a<=r;a+=1)e[a]||(e[a]={});for(a=n;a<=r;a+=this.xGap){for(var s=i;s<=o;s+=this.yGap)e[a][s]=!0;e[a][o]=!0}if(1!==this.yGap)for(a=i;a<=o;a+=1)e[n][a]=!0,e[r][a]=!0;if(1!==this.xGap)for(a=n;a<=r;a+=1)e[a][i]=!0,e[a][o]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();function na(t,e,n){void 0===n&&(n=ta);var r,i=-1,o=t.attr(),a=o.x,s=o.y,c=t.getCanvasBBox(),l=Math.sqrt(c.width*c.width+c.height*c.height),u=-i,h=0,f=0,p=function(t){var e=.1*t;return[e*Math.cos(e),e*Math.sin(e)]};if(e.hasGap(c))return e.fillGap(c),!0;var d=!1,g=0,y={};while(Math.min(Math.abs(h),Math.abs(f))4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]},n=e(t[0],t[1]),r=e(t[1],t[2]);return[n,r]}function ca(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function la(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[ca(e[0],n,e[0]),ca(e[1],n,e[0]),ca(e[2],n,e[0]),ca(e[3],n,e[0])]:e}function ua(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(aa([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function ha(t,e){return t.max>e.min&&t.mint.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.height=o.height:a.width>=o.width}function xa(t,e,n){var r=!!t.getAdjust("stack");return r||e.every(function(e,r){var i=n[r];return ba(t,e,i)})}function Oa(t,e,n){var r=t.coordinate,i=Pt.fromObject(n.getBBox()),o=Wr(e);r.isTransposed?o.attr({x:i.minX+i.width/2,textAlign:"center"}):o.attr({y:i.minY+i.height/2,textBaseline:"middle"})}function ja(t,e,n){var r;if(0!==n.length){var i=null===(r=n[0])||void 0===r?void 0:r.get("element"),o=null===i||void 0===i?void 0:i.geometry;if(o&&"interval"===o.type){var a=xa(o,e,n);a&&n.forEach(function(t,n){var r=e[n];Oa(o,r,t)})}}}function wa(t){var e=500,n=[],r=Math.max(Math.floor(t.length/e),1);return Object(s["each"])(t,function(t,e){e%r===0?n.push(t):t.set("visible",!1)}),n}function ka(t,e,n){var r;if(0!==n.length){var i=null===(r=n[0])||void 0===r?void 0:r.get("element"),o=null===i||void 0===i?void 0:i.geometry;if(o&&"interval"===o.type){var a,c=wa(e),l=o.getXYFields()[0],u=[],h=[],f=Object(s["groupBy"])(c,function(t){return t.get("data")[l]}),p=Object(s["uniq"])(Object(s["map"])(c,function(t){return t.get("data")[l]}));c.forEach(function(t){t.set("visible",!0)});var d=function(t){t&&(t.length&&h.push(t.pop()),h.push.apply(h,t))};Object(s["size"])(p)>0&&(a=p.shift(),d(f[a])),Object(s["size"])(p)>0&&(a=p.pop(),d(f[a])),Object(s["each"])(p.reverse(),function(t){d(f[t])});while(h.length>0){var g=h.shift();g.get("visible")&&(Ur(g,u)?g.set("visible",!1):u.push(g))}}}}function Sa(t,e){var n=t.getXYFields()[1],r=[],i=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]});return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}function Ca(t,e,n){return t.some(function(t){return n(t,e)})}function Ma(t,e,n){void 0===n&&(n=0);var r=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),i=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return r*i}function Aa(t,e){return Ca(t,e,function(t,e){var n=Wr(t),r=Wr(e);return Ma(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Ta(t,e,n,r,i){var o,a;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null===c||void 0===c?void 0:c.geometry;if(l&&"point"===l.type){var u=l.getXYFields(),h=u[0],f=u[1],p=Object(s["groupBy"])(e,function(t){return t.get("data")[h]}),d=[],g=i&&i.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;Object(s["map"])(Object(s["keys"])(p).reverse(),function(t){var e=Sa(l,p[t]);while(e.length){var n=e.shift(),r=Wr(n);if(Ca(d,n,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[f]===e.get("data")[f]}))r.set("visible",!1);else{var i=Aa(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=Aa(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function Ea(t,e){var n=t.getXYFields()[1],r=[],i=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]});return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}function Pa(t,e,n){return t.some(function(t){return n(t,e)})}function _a(t,e,n){void 0===n&&(n=0);var r=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),i=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return r*i}function La(t,e){return Pa(t,e,function(t,e){var n=Wr(t),r=Wr(e);return _a(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Fa(t,e,n,r,i){var o,a;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null===c||void 0===c?void 0:c.geometry;if(l&&!(["path","line","area"].indexOf(l.type)<0)){var u=l.getXYFields(),h=u[0],f=u[1],p=Object(s["groupBy"])(e,function(t){return t.get("data")[h]}),d=[],g=i&&i.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;Object(s["map"])(Object(s["keys"])(p).reverse(),function(t){var e=Ea(l,p[t]);while(e.length){var n=e.shift(),r=Wr(n);if(Pa(d,n,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[f]===e.get("data")[f]}))r.set("visible",!1);else{var i=La(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=La(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function Ia(){return ga||(ga=document.createElement("canvas").getContext("2d")),ga}var Da=Object(s["memoize"])(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,o=e.fontStyle,a=e.fontVariant,c=Ia();return c.font=[o,a,i,n+"px",r].join(" "),c.measureText(Object(s["isString"])(t)?t:"").width},function(t,e){return void 0===e&&(e={}),Object(a["d"])([t],Object(s["values"])(e)).join("")}),Ba=function(t,e,n){var r,i=16,o=Da("...",n);r=Object(s["isString"])(t)?t:Object(s["toString"])(t);var a,c,l=e,u=[];if(Da(t,n)<=e)return t;while(1){if(a=r.substr(0,i),c=Da(a,n),c+o>l&&c>l)break;if(u.push(a),l-=c,r=r.substr(i),!r)return u.join("")}while(1){if(a=r.substr(0,1),c=Da(a,n),c+o>l)break;if(u.push(a),l-=c,r=r.substr(1),!r)return u.join("")}return u.join("")+"..."};function Ra(t,e,n,r,i){if(!(e.length<=0)){var o=(null===i||void 0===i?void 0:i.direction)||["top","right","bottom","left"],a=(null===i||void 0===i?void 0:i.action)||"translate",c=(null===i||void 0===i?void 0:i.margin)||0,l=e[0].get("coordinate");if(l){var u=Nt(l,c),h=u.minX,f=u.minY,p=u.maxX,d=u.maxY;Object(s["each"])(e,function(t){var e=t.getCanvasBBox(),n=e.minX,r=e.minY,i=e.maxX,c=e.maxY,l=e.x,u=e.y,g=e.width,y=e.height,v=l,m=u;if(o.indexOf("left")>=0&&(n=0&&(r=0&&(n>p?v=p-g:i>p&&(v-=i-p)),o.indexOf("bottom")>=0&&(r>d?m=d-y:c>d&&(m-=c-d)),v!==l||m!==u){var b=v-l;if("translate"===a)zr(t,b,m-u);else if("ellipsis"===a){var x=t.findAll(function(t){return"text"===t.get("type")});x.forEach(function(t){var e=Object(s["pick"])(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),r=Ba(t.attr("text"),n.width-Math.abs(b),e);t.attr("text",r)})}else t.hide()}})}}}function Na(t,e,n){var r={fillOpacity:Object(s["isNil"])(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:Object(s["isNil"])(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:Object(s["isNil"])(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(r,e)}function za(t,e,n){var r={fillOpacity:0,strokeOpacity:0,opacity:0},i=e.easing,o=e.duration,a=e.delay;t.animate(r,o,i,function(){t.remove(!0)},a)}function Ya(t,e,n){var r,i=e[0],o=e[1];return t.applyToMatrix([i,o,1]),"x"===n?(t.setMatrix(tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,1],["t",i,o]])),r=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",100,1],["t",i,o]])):"y"===n?(t.setMatrix(tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",1,.01],["t",i,o]])),r=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",1,100],["t",i,o]])):"xy"===n&&(t.setMatrix(tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]])),r=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",100,100],["t",i,o]])),r}function Ga(t,e,n,r,i){var o,a,s=n.start,c=n.end,l=n.getWidth(),u=n.getHeight();"y"===i?(o=s.x+l/2,a=r.ys.x?r.x:s.x,a=s.y+u/2):"xy"===i&&(n.isPolar?(o=n.getCenter().x,a=n.getCenter().y):(o=(s.x+c.x)/2,a=(s.y+c.y)/2));var h=Ya(t,[o,a],i);t.animate({matrix:h},e)}function Va(t,e,n){var r=n.coordinate,i=n.minYPoint;Ga(t,e,r,i,"x")}function Wa(t,e,n){var r=n.coordinate,i=n.minYPoint;Ga(t,e,r,i,"y")}function Ha(t,e,n){var r=n.coordinate,i=n.minYPoint;Ga(t,e,r,i,"xy")}function Xa(t,e,n){var r=t.getTotalLength();t.attr("lineDash",[r]),t.animate(function(t){return{lineDashOffset:(1-t)*r}},e)}function Ua(t,e,n){var r=n.toAttrs,i=r.x,o=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:o},e)}function qa(t,e,n){var r=t.getBBox(),i=t.get("origin").mappingData,o=i.points,a=o[0].y-o[1].y>0?r.maxX:r.minX,s=(r.minY+r.maxY)/2;t.applyToMatrix([a,s,1]);var c=tt["a"].transform(t.getMatrix(),[["t",-a,-s],["s",.01,1],["t",a,s]]);t.setMatrix(c),t.animate({matrix:tt["a"].transform(t.getMatrix(),[["t",-a,-s],["s",100,1],["t",a,s]])},e)}function Za(t,e,n){var r=t.getBBox(),i=t.get("origin").mappingData,o=(r.minX+r.maxX)/2,a=i.points,s=a[0].y-a[1].y<=0?r.maxY:r.minY;t.applyToMatrix([o,s,1]);var c=tt["a"].transform(t.getMatrix(),[["t",-o,-s],["s",1,.01],["t",o,s]]);t.setMatrix(c),t.animate({matrix:tt["a"].transform(t.getMatrix(),[["t",-o,-s],["s",1,100],["t",o,s]])},e)}function Ka(t,e){var n,r=Object(yi["getArcParams"])(t,e),i=r.startAngle,o=r.endAngle;return!Object(s["isNumberEqual"])(i,.5*-Math.PI)&&i<.5*-Math.PI&&(i+=2*Math.PI),!Object(s["isNumberEqual"])(o,.5*-Math.PI)&&o<.5*-Math.PI&&(o+=2*Math.PI),0===e[5]&&(n=[o,i],i=n[0],o=n[1]),Object(s["isNumberEqual"])(i,1.5*Math.PI)&&(i=-.5*Math.PI),Object(s["isNumberEqual"])(o,-.5*Math.PI)&&(o=1.5*Math.PI),{startAngle:i,endAngle:o}}function Qa(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:"a"!==t[0]&&"A"!==t[0]||(e=[t[t.length-2],t[t.length-1]]),e}function $a(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]});if(0===i.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=i[0],a=i.length>1?i[1]:i[0],c=t.indexOf(o),l=t.indexOf(a),u=Qa(t[c-1]),h=Qa(t[l-1]),f=Ka(u,o),p=f.startAngle,d=f.endAngle,g=Ka(h,a),y=g.startAngle,v=g.endAngle;Object(s["isNumberEqual"])(p,y)&&Object(s["isNumberEqual"])(d,v)?(n=p,r=d):(n=Math.min(p,y),r=Math.max(d,v));var m=o[1],b=i[i.length-1][1];return m=0;o--)for(var a=this.getFacetsByLevel(t,o),s=0,c=a;s=n){var i=r.parsePosition([t[c],t[a.field]]);i&&f.push(i)}if(t[c]===h)return!1}),f},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,r=this.view.getCoordinate(),i=r.start,o=r.end,a={x:Math.min(i.x,o.x),y:Math.min(i.y,o.y)},s=r.getWidth()*e+a.x,c=r.getHeight()*n+a.y;return{x:s,y:c}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,r=t.getWidth(),i=t.getHeight(),o={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:o.x,y:o.y,minX:o.x,minY:o.y,maxX:o.x+r,maxY:o.y+i,width:r,height:i}},e.prototype.getAnnotationCfg=function(t,e,n){var r=this,i=this.view.getCoordinate(),o=this.view.getCanvas(),c={};if(Object(s["isNil"])(e))return null;if("arc"===t){var l=e,u=l.start,h=l.end,f=this.parsePosition(u),p=this.parsePosition(h),d=Bt(i,f),g=Bt(i,p);d>g&&(g=2*Math.PI+g),c={center:i.getCenter(),radius:It(i,f),startAngle:d,endAngle:g}}else if("image"===t){var y=e;u=y.start,h=y.end;c={start:this.parsePosition(u),end:this.parsePosition(h),src:e.src}}else if("line"===t){var v=e;u=v.start,h=v.end;c={start:this.parsePosition(u),end:this.parsePosition(h),text:Object(s["get"])(e,"text",null)}}else if("region"===t){var m=e;u=m.start,h=m.end;c={start:this.parsePosition(u),end:this.parsePosition(h)}}else if("text"===t){var b=this.view.getData(),x=e,O=x.position,j=x.content,w=Object(a["c"])(x,["position","content"]),k=j;Object(s["isFunction"])(j)&&(k=j(b)),c=Object(a["a"])(Object(a["a"])(Object(a["a"])({},this.parsePosition(O)),w),{content:k})}else if("dataMarker"===t){var S=e,C=(O=S.position,S.point),M=S.line,A=S.text,T=S.autoAdjust,E=S.direction;c=Object(a["a"])(Object(a["a"])({},this.parsePosition(O)),{coordinateBBox:this.getCoordinateBBox(),point:C,line:M,text:A,autoAdjust:T,direction:E})}else if("dataRegion"===t){var P=e,_=(u=P.start,h=P.end,P.region),L=(A=P.text,P.lineLength);c={points:this.getRegionPoints(u,h),region:_,text:A,lineLength:L}}else if("regionFilter"===t){var F=e,I=(u=F.start,h=F.end,F.apply),D=F.color,B=this.view.geometries,R=[],N=function(t){t&&(t.isGroup()?t.getChildren().forEach(function(t){return N(t)}):R.push(t))};Object(s["each"])(B,function(t){I?Object(s["contains"])(I,t.type)&&Object(s["each"])(t.elements,function(t){N(t.shape)}):Object(s["each"])(t.elements,function(t){N(t.shape)})}),c={color:D,shapes:R,start:this.parsePosition(u),end:this.parsePosition(h)}}else if("shape"===t){var z=e,Y=z.render,G=Object(a["c"])(z,["render"]),V=function(t){if(Object(s["isFunction"])(e.render))return Y(t,r.view,{parsePosition:r.parsePosition.bind(r)})};c=Object(a["a"])(Object(a["a"])({},G),{render:V})}else if("html"===t){var W=e,H=W.html,X=(O=W.position,G=Object(a["c"])(W,["html","position"]),function(t){return Object(s["isFunction"])(H)?H(t,r.view):H});c=Object(a["a"])(Object(a["a"])(Object(a["a"])({},G),this.parsePosition(O)),{parent:o.get("el").parentNode,html:X})}var U=Object(s["deepMix"])({},n,Object(a["a"])(Object(a["a"])({},c),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(U.container=this.getComponentContainer(U)),U.animate=this.view.getOptions().animate&&U.animate&&Object(s["get"])(e,"animate",U.animate),U.animateOption=Object(s["deepMix"])({},hr,U.animateOption,e.animateOption),U},e.prototype.isTop=function(t){return Object(s["get"])(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return Object(s["get"])(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),i=this.getAnnotationCfg(n,t,r);Tt(i,["container"]),e.component.update(i),Object(s["includes"])(Os,t.type)&&e.component.render()}else e=this.createAnnotation(t),e&&(e.component.init(),Object(s["includes"])(Os,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,r){Object(s["find"])(e.option,function(t){return r===e.getCacheKey(t)})||(t.component.destroy(),n.delete(r))}),n},e.prototype.getCacheKey=function(t){return t},e}(ir),ws=js;function ks(t,e){return Object(s["get"])(t,["components","axis",e,"grid"],{})}function Ss(t,e,n,r){var i=[],o=e.getTicks();return t.isPolar&&o.push({value:1,text:"",tickValue:""}),o.reduce(function(e,o,a){var s=o.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(a){var c=e.value,l=(c+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return o},o[0]),i}function Cs(t,e,n,r,i){var o=e.values.length,a=[],c=n.getTicks();return c.reduce(function(e,n){var c=e?e.value:n.value,l=n.value,u=(c+l)/2;return"x"===i?a.push({points:[t.convert({x:r?l:u,y:0}),t.convert({x:r?l:u,y:1})]}):a.push({points:Object(s["map"])(Array(o+1),function(e,n){return t.convert({x:n/o,y:r?l:u})})}),n},c[0]),a}function Ms(t,e){var n=Object(s["get"])(e,"grid");if(null===n)return!1;var r=Object(s["get"])(t,"grid");return!(void 0===n&&null===r)}var As=["container"],Ts=Object(a["a"])(Object(a["a"])({},hr),{appear:null}),Es=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(r.BG).addGroup(),n.gridForeContainer=n.view.getLayer(r.FORE).addGroup(),n.axisContainer=n.view.getLayer(r.BG).addGroup(),n.axisForeContainer=n.view.getLayer(r.FORE).addGroup(),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,e=this.view.getCoordinate();Object(s["each"])(this.getComponents(),function(n){var r,i=n.component,a=n.direction,s=n.type,c=n.extra,l=c.dim,u=c.scale,h=c.alignTick;if(s===o.AXIS)e.isPolar?"x"===l?r=e.isTransposed?Zt(e,a):Jt(e):"y"===l&&(r=e.isTransposed?Jt(e):Zt(e,a)):r=Zt(e,a);else if(s===o.GRID)if(e.isPolar){var f=void 0;f=e.isTransposed?"x"===l?Cs(e,t.view.getYScales()[0],u,h,l):Ss(e,u,l,h):"x"===l?Ss(e,u,l,h):Cs(e,t.view.getXScale(),u,h,l),r={items:f,center:t.view.getCoordinate().getCenter()}}else r={items:Ss(e,u,l,h)};i.update(r)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var e=new Map;this.cache.forEach(function(n,r){t.has(r)?e.set(r,n):n.component.destroy()}),this.cache=e},e.prototype.clear=function(){t.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(e){t.push(e)}),t},e.prototype.updateXAxes=function(t){var e=this.view.getXScale();if(e&&!e.isIdentity){var n=te(this.option,e.field);if(!1!==n){var o=ee(n,i.BOTTOM),a=r.BG,c="x",l=this.view.getCoordinate(),u=this.getId("axis",e.field),h=this.getId("grid",e.field);if(l.isRect){var f=this.cache.get(u);if(f){var p=this.getLineAxisCfg(e,n,o);Tt(p,As),f.component.update(p),t.set(u,f)}else f=this.createLineAxis(e,n,a,o,c),this.cache.set(u,f),t.set(u,f);var d=this.cache.get(h);if(d){p=this.getLineGridCfg(e,n,o,c);Tt(p,As),d.component.update(p),t.set(h,d)}else d=this.createLineGrid(e,n,a,o,c),d&&(this.cache.set(h,d),t.set(h,d))}else if(l.isPolar){f=this.cache.get(u);if(f){p=l.isTransposed?this.getLineAxisCfg(e,n,i.RADIUS):this.getCircleAxisCfg(e,n,o);Tt(p,As),f.component.update(p),t.set(u,f)}else{if(l.isTransposed){if(Object(s["isUndefined"])(n))return;f=this.createLineAxis(e,n,a,i.RADIUS,c)}else f=this.createCircleAxis(e,n,a,o,c);this.cache.set(u,f),t.set(u,f)}d=this.cache.get(h);if(d){p=l.isTransposed?this.getCircleGridCfg(e,n,i.RADIUS,c):this.getLineGridCfg(e,n,i.CIRCLE,c);Tt(p,As),d.component.update(p),t.set(h,d)}else{if(l.isTransposed){if(Object(s["isUndefined"])(n))return;d=this.createCircleGrid(e,n,a,i.RADIUS,c)}else d=this.createLineGrid(e,n,a,i.CIRCLE,c);d&&(this.cache.set(h,d),t.set(h,d))}}}}},e.prototype.updateYAxes=function(t){var e=this,n=this.view.getYScales();Object(s["each"])(n,function(n,o){if(n&&!n.isIdentity){var a=n.field,c=te(e.option,a);if(!1!==c){var l=r.BG,u="y",h=e.getId("axis",a),f=e.getId("grid",a),p=e.view.getCoordinate();if(p.isRect){var d=ee(c,0===o?i.LEFT:i.RIGHT),g=e.cache.get(h);if(g){var y=e.getLineAxisCfg(n,c,d);Tt(y,As),g.component.update(y),t.set(h,g)}else g=e.createLineAxis(n,c,l,d,u),e.cache.set(h,g),t.set(h,g);var v=e.cache.get(f);if(v){y=e.getLineGridCfg(n,c,d,u);Tt(y,As),v.component.update(y),t.set(f,v)}else v=e.createLineGrid(n,c,l,d,u),v&&(e.cache.set(f,v),t.set(f,v))}else if(p.isPolar){g=e.cache.get(h);if(g){y=p.isTransposed?e.getCircleAxisCfg(n,c,i.CIRCLE):e.getLineAxisCfg(n,c,i.RADIUS);Tt(y,As),g.component.update(y),t.set(h,g)}else{if(p.isTransposed){if(Object(s["isUndefined"])(c))return;g=e.createCircleAxis(n,c,l,i.CIRCLE,u)}else g=e.createLineAxis(n,c,l,i.RADIUS,u);e.cache.set(h,g),t.set(h,g)}v=e.cache.get(f);if(v){y=p.isTransposed?e.getLineGridCfg(n,c,i.CIRCLE,u):e.getCircleGridCfg(n,c,i.RADIUS,u);Tt(y,As),v.component.update(y),t.set(f,v)}else{if(p.isTransposed){if(Object(s["isUndefined"])(c))return;v=e.createLineGrid(n,c,l,i.CIRCLE,u)}else v=e.createCircleGrid(n,c,l,i.RADIUS,u);v&&(e.cache.set(f,v),t.set(f,v))}}}}})},e.prototype.createLineAxis=function(t,e,n,r,a){var s={component:new pt(this.getLineAxisCfg(t,e,r)),layer:n,direction:r===i.RADIUS?i.NONE:r,type:o.AXIS,extra:{dim:a,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,e,n,r,a){var c=this.getLineGridCfg(t,e,r,a);if(c){var l={component:new gt(c),layer:n,direction:i.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s["get"])(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,e,n,r,i){var a={component:new dt(this.getCircleAxisCfg(t,e,r)),layer:n,direction:r,type:o.AXIS,extra:{dim:i,scale:t}};return a.component.set("field",t.field),a.component.init(),a},e.prototype.createCircleGrid=function(t,e,n,r,a){var c=this.getCircleGridCfg(t,e,r,a);if(c){var l={component:new yt(c),layer:n,direction:i.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s["get"])(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,e,n){var r=Object(s["get"])(e,["top"])?this.axisForeContainer:this.axisContainer,i=this.view.getCoordinate(),o=Zt(i,n),c=ne(t,e),l=$t(this.view.getTheme(),n),u=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:c}}},{title:Object(s["get"])($t(this.view.getTheme(),"common"),"title")},e):e,h=Object(s["deepMix"])(Object(a["a"])(Object(a["a"])({container:r},o),{ticks:t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}}),verticalFactor:i.isPolar?-1*Qt(o,i.getCenter()):Qt(o,i.getCenter()),theme:l}),l,u),f=this.getAnimateCfg(h),p=f.animate,d=f.animateOption;h.animateOption=d,h.animate=p;var g=Kt(o),y=Object(s["get"])(h,"verticalLimitLength",g?1/3:.5);if(y<=1){var v=this.view.getCanvas().get("width"),m=this.view.getCanvas().get("height");h.verticalLimitLength=y*(g?v:m)}return h},e.prototype.getLineGridCfg=function(t,e,n,r){if(Ms($t(this.view.getTheme(),n),e)){var i=ks(this.view.getTheme(),n),o=Object(s["deepMix"])({container:Object(s["get"])(e,["top"])?this.gridForeContainer:this.gridContainer},i,Object(s["get"])(e,"grid"),this.getAnimateCfg(e));return o.items=Ss(this.view.getCoordinate(),t,r,Object(s["get"])(o,"alignTick",!0)),o}},e.prototype.getCircleAxisCfg=function(t,e,n){var r=Object(s["get"])(e,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),c=t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}});t.isCategory||Math.abs(o.endAngle-o.startAngle)!==2*Math.PI||c.pop();var l=ne(t,e),u=$t(this.view.getTheme(),i.CIRCLE),h=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:l}}},{title:Object(s["get"])($t(this.view.getTheme(),"common"),"title")},e):e,f=Object(s["deepMix"])(Object(a["a"])(Object(a["a"])({container:r},Jt(this.view.getCoordinate())),{ticks:c,verticalFactor:1,theme:u}),u,h),p=this.getAnimateCfg(f),d=p.animate,g=p.animateOption;return f.animate=d,f.animateOption=g,f},e.prototype.getCircleGridCfg=function(t,e,n,r){if(Ms($t(this.view.getTheme(),n),e)){var o=ks(this.view.getTheme(),i.RADIUS),a=Object(s["deepMix"])({container:Object(s["get"])(e,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,Object(s["get"])(e,"grid"),this.getAnimateCfg(e)),c=Object(s["get"])(a,"alignTick",!0),l="x"===r?this.view.getYScales()[0]:this.view.getXScale();return a.items=Cs(this.view.getCoordinate(),l,t,c,r),a}},e.prototype.getId=function(t,e){var n=this.view.getCoordinate();return t+"-"+e+"-"+n.type},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&Object(s["get"])(t,"animate"),animateOption:t&&t.animateOption?Object(s["deepMix"])({},Ts,t.animateOption):Ts}},e}(ir),Ps=Es;function _s(t,e,n){return n===i.TOP?[t.minX+t.width/2-e.width/2,t.minY]:n===i.BOTTOM?[t.minX+t.width/2-e.width/2,t.maxY-e.height]:n===i.LEFT?[t.minX,t.minY+t.height/2-e.height/2]:n===i.RIGHT?[t.maxX-e.width,t.minY+t.height/2-e.height/2]:n===i.TOP_LEFT||n===i.LEFT_TOP?[t.tl.x,t.tl.y]:n===i.TOP_RIGHT||n===i.RIGHT_TOP?[t.tr.x-e.width,t.tr.y]:n===i.BOTTOM_LEFT||n===i.LEFT_BOTTOM?[t.bl.x,t.bl.y-e.height]:n===i.BOTTOM_RIGHT||n===i.RIGHT_BOTTOM?[t.br.x-e.width,t.br.y-e.height]:[0,0]}function Ls(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e],t)}function Fs(t){return Object(s["get"])(t,"position",i.BOTTOM)}var Is=function(t){function e(e){var n=t.call(this,e)||this;return n.container=n.view.getLayer(r.FORE).addGroup(),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,Object(s["each"])(this.components,function(e){var n=e.component,r=e.direction,i=ai(r),o=t.getCategoryLegendSizeCfg(i),a=n.get("maxWidth"),s=n.get("maxHeight");n.update({maxWidth:Math.min(o.maxWidth,a||0),maxHeight:Math.min(o.maxHeight,s||0)});var c=n.get("padding"),l=n.getLayoutBBox(),u=new Pt(l.x,l.y,l.width,l.height).expand(c),h=_s(t.view.viewBBox,u,r),f=h[0],p=h[1],d=_s(t.layoutBBox,u,r),g=d[0],y=d[1],v=0,m=0;r.startsWith("top")||r.startsWith("bottom")?(v=f,m=y):(v=g,m=p),n.setLocation({x:v+c[3],y:m+c[0]}),t.layoutBBox=t.layoutBBox.cut(u,r)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var e={},n=function(n,r,i){var o=t.getId(i.field),a=t.getComponentById(o);if(a){var c=void 0,l=Ls(t.option,i.field);!1!==l&&(Object(s["get"])(l,"custom")?c=t.getCategoryCfg(n,r,i,l,!0):i.isLinear?c=t.getContinuousCfg(n,r,i,l):i.isCategory&&(c=t.getCategoryCfg(n,r,i,l))),c&&(Tt(c,["container"]),a.direction=Fs(l),a.component.update(c),e[o]=!0)}else{var u=t.createFieldLegend(n,r,i);u&&(u.component.init(),t.components.push(u),e[o]=!0)}};if(Object(s["get"])(this.option,"custom")){var i="global-custom",a=this.getComponentById(i);if(a){var c=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);Tt(c,["container"]),a.component.update(c),e[i]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=r.FORE,h=Fs(this.option);this.components.push({id:i,component:l,layer:u,direction:h,type:o.LEGEND,extra:void 0}),e[i]=!0}}}else this.loopLegends(n);var f=[];Object(s["each"])(this.getComponents(),function(t){e[t.id]?f.push(t):t.component.destroy()}),this.components=f},e.prototype.clear=function(){t.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var e=this,n=t.geometries;return Object(s["each"])(t.views,function(t){n=n.concat(e.getGeometries(t))}),n},e.prototype.loopLegends=function(t){var e=this.view.getRootView()===this.view;if(e){var n=this.getGeometries(this.view),r={};Object(s["each"])(n,function(e){var n=e.getGroupAttributes();Object(s["each"])(n,function(n){var i=n.getScale(n.type);i&&"identity"!==i.type&&!r[i.field]&&(t(e,n,i),r[i.field]=!0)})})}},e.prototype.createFieldLegend=function(t,e,n){var i,a=Ls(this.option,n.field),c=r.FORE,l=Fs(a);if(!1!==a&&(Object(s["get"])(a,"custom")?i=this.createCustomLegend(t,e,n,a):n.isLinear?i=this.createContinuousLegend(t,e,n,a):n.isCategory&&(i=this.createCategoryLegend(t,e,n,a))),i)return i.set("field",n.field),{id:this.getId(n.field),component:i,layer:c,direction:l,type:o.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r,!0);return new vt(i)},e.prototype.createContinuousLegend=function(t,e,n,r){var i=this.getContinuousCfg(t,e,n,r);return new mt(i)},e.prototype.createCategoryLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r);return new vt(i)},e.prototype.getContinuousCfg=function(t,e,n,r){var i=n.getTicks(),o=Object(s["find"])(i,function(t){return 0===t.value}),a=Object(s["find"])(i,function(t){return 1===t.value}),c=i.map(function(t){var r=t.value,i=t.tickValue,o=e.mapping(n.invert(r)).join("");return{value:i,attrValue:o,color:o,scaleValue:r}});o||c.push({value:n.min,attrValue:e.mapping(n.invert(0)).join(""),color:e.mapping(n.invert(0)).join(""),scaleValue:0}),a||c.push({value:n.max,attrValue:e.mapping(n.invert(1)).join(""),color:e.mapping(n.invert(1)).join(""),scaleValue:1}),c.sort(function(t,e){return t.value-e.value});var l={min:Object(s["head"])(c).value,max:Object(s["last"])(c).value,colors:[],rail:{type:e.type},track:{}};"size"===e.type&&(l.track={style:{fill:"size"===e.type?this.view.getTheme().defaultColor:void 0}}),"color"===e.type&&(l.colors=c.map(function(t){return t.attrValue}));var u=this.container,h=Fs(r),f=ai(h),p=Object(s["get"])(r,"title");return p&&(p=Object(s["deepMix"])({text:Wt(n)},p)),l.container=u,l.layout=f,l.title=p,l.animateOption=hr,this.mergeLegendCfg(l,r,"continuous")},e.prototype.getCategoryCfg=function(t,e,n,r,o){var a=this.container,c=Object(s["get"])(r,"position",i.BOTTOM),l=Object(s["get"])(this.view.getTheme(),["components","legend",c,"marker"]),u=Object(s["get"])(r,"marker"),h=ai(c),f=o?ci(l,u,r.items):si(this.view,t,e,l,u),p=Object(s["get"])(r,"title");p&&(p=Object(s["deepMix"])({text:n?Wt(n):""},p));var d=this.getCategoryLegendSizeCfg(h);d.container=a,d.layout=h,d.items=f,d.title=p,d.animateOption=hr;var g=this.mergeLegendCfg(d,r,c);g.reversed&&g.items.reverse();var y=Object(s["get"])(g,"maxItemWidth");return y&&y<=1&&(g.maxItemWidth=this.view.viewBBox.width*y),g},e.prototype.mergeLegendCfg=function(t,e,n){var r=n.split("-")[0],i=Object(s["get"])(this.view.getTheme(),["components","legend",r],{});return Object(s["deepMix"])({},i,t,e)},e.prototype.getId=function(t){return this.name+"-"+t},e.prototype.getComponentById=function(t){return Object(s["find"])(this.components,function(e){return e.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t){var e=this.view.viewBBox,n=e.width,r=e.height;return"vertical"===t?{maxWidth:n*v,maxHeight:r}:{maxWidth:n,maxHeight:r*v}},e}(ir),Ds=Is,Bs=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s["noop"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t[0],r=t[1];n.start=e,n.end=r,n.changeViewData(e,r)},n.container=n.view.getLayer(r.FORE).addGroup(),n.onChangeFn=Object(s["throttle"])(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(c.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),e=t.start,n=t.end;Object(s["isNil"])(this.start)&&(this.start=e,this.end=n);var r=this.view.getOptions().data;this.option&&!Object(s["isEmpty"])(r)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var e=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),r=n[0],o=(n[1],n[2],n[3]),s=this.slider.component.getLayoutBBox(),c=new Pt(s.x,s.y,Math.min(s.width,e),s.height).expand(n),l=this.getMinMaxText(this.start,this.end),u=l.minText,h=l.maxText,f=_s(this.view.viewBBox,c,i.BOTTOM),p=(f[0],f[1]),d=_s(this.view.coordinateBBox,c,i.BOTTOM),g=d[0];d[1];this.slider.component.update(Object(a["a"])(Object(a["a"])({},this.getSliderCfg()),{x:g+o,y:p+r,width:this.width,start:this.start,end:this.end,minText:u,maxText:h})),this.view.viewBBox=this.view.viewBBox.cut(c,i.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),e=new ft["Slider"](Object(a["a"])({container:this.container},t));return e.init(),{component:e,layer:r.FORE,direction:i.BOTTOM,type:o.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var e=this.getMinMaxText(this.start,this.end),n=e.minText,r=e.maxText;t=Object(a["a"])(Object(a["a"])({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:r})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(Object(s["isObject"])(this.option)){var e=Object(a["a"])({data:this.getData()},Object(s["get"])(this.option,"trendCfg",{}));t=Object(s["deepMix"])({},t,this.getThemeOptions(),this.option),t=Object(a["a"])(Object(a["a"])({},t),{trendCfg:e})}return t.start=Object(s["clamp"])(Math.min(Object(s["isNil"])(t.start)?0:t.start,Object(s["isNil"])(t.end)?1:t.end),0,1),t.end=Object(s["clamp"])(Math.max(Object(s["isNil"])(t.start)?0:t.start,Object(s["isNil"])(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,e=this.view.getYScales()[0],n=this.view.getGroupScales();if(n.length){var r=n[0],i=r.field,o=r.ticks;return t.reduce(function(t,n){return n[i]===o[0]&&t.push(n[e.field]),t},[])}return t.map(function(t){return t[e.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s["get"])(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),i=!0,o=Object(s["valuesOfKey"])(n,r.field),a=i?o:o.reverse(),c=Object(s["size"])(n);if(!r||!c)return{};var l=Object(s["size"])(a),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1)),f=Object(s["get"])(a,[u]),p=Object(s["get"])(a,[h]),d=this.getSliderCfg().formatter;return d&&(f=d(f,n[u],u),p=d(p,n[h],h)),{minText:f,maxText:p}},e.prototype.changeViewData=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),i=Object(s["size"])(n);if(r&&i){var o=!0,a=Object(s["valuesOfKey"])(n,r.field),c=o?a:a.reverse(),l=Object(s["size"])(c),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1));this.view.filter(r.field,function(t,e){var n=c.indexOf(t);return!(n>-1)||Mt(n,u,h)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(ir),Rs=Bs,Ns=0,zs=8,Ys=32,Gs=20,Vs=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s["noop"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=Object(s["clamp"])(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(r.FORE).addGroup(),n.onChangeFn=Object(s["throttle"])(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(c.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),r=this.scrollbar.component.getLayoutBBox(),o=new Pt(r.x,r.y,Math.min(r.width,e),r.height).expand(n),s=this.getScrollbarComponentCfg(),c=void 0,l=void 0;if(s.isHorizontal){var u=_s(this.view.viewBBox,o,i.BOTTOM),h=(u[0],u[1]),f=_s(this.view.coordinateBBox,o,i.BOTTOM),p=f[0];f[1];c=p,l=h}else{var d=_s(this.view.viewBBox,o,i.RIGHT),g=(d[0],h=d[1],_s(this.view.viewBBox,o,i.RIGHT));p=g[0],g[1];c=p,l=h}c+=n[3],l+=n[0],this.trackLen?this.scrollbar.component.update(Object(a["a"])(Object(a["a"])({},s),{x:c,y:l,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(Object(a["a"])(Object(a["a"])({},s),{x:c,y:l})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?i.BOTTOM:i.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s["get"])(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var e=Object(s["get"])(this.view.getTheme(),["components","scrollbar"]),n=t||{},r=n.thumbHighlightColor,i=Object(a["c"])(n,["thumbHighlightColor"]);return{default:Object(s["deepMix"])({},Object(s["get"])(e,["default","style"],{}),i),hover:Object(s["deepMix"])({},Object(s["get"])(e,["hover","style"],{}),{thumbColor:r})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.view.getOptions().data,this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*Object(s["clamp"])(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],o=this.getValidScrollbarCfg().type,a="vertical"!==o,c=Object(s["valuesOfKey"])(this.data,this.xScaleCfg.field),l=a?c:c.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=l.indexOf(t);return!(e>-1)||Mt(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e="vertical"!==t,n=new ft["Scrollbar"](Object(a["a"])(Object(a["a"])({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:r.FORE,direction:e?i.BOTTOM:i.RIGHT,type:o.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?Object(a["a"])(Object(a["a"])({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):Object(a["a"])({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize,i="vertical"!==n;return Math.floor((i?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.view.getOptions().data,n=Object(s["valuesOfKey"])(e,t.field);return Object(s["size"])(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,r=this.getValidScrollbarCfg(),i=r.type,o=r.padding,c=r.width,l=r.height,u=r.style,h="vertical"!==i,f=o[0],p=o[1],d=o[2],g=o[3],y=h?{x:e.minX+g,y:n.maxY-l-d}:{x:n.maxX-c-p,y:e.minY+f},v=this.getStep(),m=this.getCnt(),b=h?e.width-g-p:e.height-f-d,x=Math.max(b*Object(s["clamp"])(v/m,0,1),Gs);return Object(a["a"])(Object(a["a"])({},this.getThemeOptions()),{x:y.x,y:y.y,size:h?l:c,isHorizontal:h,trackLen:b,thumbLen:x,thumbOffset:0,theme:this.getScrollbarTheme(u)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:Ys,width:zs,height:zs,padding:[0,0,0,0],animate:!0,style:{}};return Object(s["isObject"])(this.option)&&(t=Object(a["a"])(Object(a["a"])({},t),this.option)),Object(s["isObject"])(this.option)&&this.option.padding||(t.padding="horizontal"===t.type?[Ns,0,Ns,0]:[0,Ns,0,Ns]),t},e}(ir),Ws=Vs,Hs={fill:"#CCD6EC",opacity:.3},Xs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.show=function(t){var e=this.context.view,n=this.context.event,r=e.getTooltipItems({x:n.x,y:n.y});if(!Object(s["isEqual"])(r,this.items)&&(this.items=r,r.length)){var i=e.getXScale().field,o=r[0].data[i],c=[],l=e.geometries;if(Object(s["each"])(l,function(t){if("interval"===t.type||"schema"===t.type){var e=t.getElementsBy(function(t){var e=t.getData();return e[i]===o});c=c.concat(e)}}),c.length){var u=e.getCoordinate(),h=c[0].shape.getCanvasBBox(),f=c[0].shape.getCanvasBBox(),p=h;Object(s["each"])(c,function(t){var e=t.shape.getCanvasBBox();u.isTransposed?(e.minYf.maxY&&(f=e)):(e.minXf.maxX&&(f=e)),p.x=Math.min(e.minX,p.minX),p.y=Math.min(e.minY,p.minY),p.width=Math.max(e.maxX,p.maxX)-p.x,p.height=Math.max(e.maxY,p.maxY)-p.y});var d=e.backgroundGroup,g=e.coordinateBBox,y=void 0;if(u.isRect){var v=e.getXScale(),m=v.isLinear?0:.25,b=void 0,x=void 0,O=void 0,j=void 0;u.isTransposed?(b=g.minX,x=Math.min(f.minY,h.minY)-m*f.height,O=g.width,j=p.height+2*m*f.height):(b=Math.min(h.minX,f.minX)-m*h.width,x=Math.min(g.minY,h.minY),O=p.width+2*m*h.width,j=g.height),y=[["M",b,x],["L",b+O,x],["L",b+O,x+j],["L",b,x+j],["Z"]]}else{var w=Object(s["head"])(c),k=Object(s["last"])(c),S=kt(w.getModel(),u).startAngle,C=kt(k.getModel(),u).endAngle,M=u.getCenter(),A=u.getRadius(),T=u.innerRadius*A;y=jt(M.x,M.y,A,S,C,T)}if(this.regionPath)this.regionPath.attr("path",y),this.regionPath.show();else{var E=Object(s["get"])(t,"style",Hs);this.regionPath=d.addShape({type:"path",name:"active-region",capture:!1,attrs:Object(a["a"])(Object(a["a"])({},E),{path:y})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(ce),Us=Xs,qs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["b"])(e,t),e.prototype.show=function(){var t=this.context,e=t.event,n=t.view,r=n.isTooltipLocked();if(!r){var i=this.timeStamp,o=+new Date,a=Object(s["get"])(t.view.getOptions(),"tooltip.showDelay",16);if(o-i>a){var c=this.location,l={x:e.x,y:e.y};c&&Object(s["isEqual"])(c,l)||this.showTooltip(n,l),this.timeStamp=o,this.location=l}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(ce),Zs=qs,Ks=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.showTooltip=function(t,e){var n=Ze(t);Object(s["each"])(n,function(n){var r=Qe(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=Ze(t);Object(s["each"])(e,function(t){t.hideTooltip()})},e}(Zs),Qs=Ks,$s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["b"])(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,e=t.event,n=this.timeStamp,r=+new Date;if(r-n>16){var i=this.location,o={x:e.x,y:e.y};i&&Object(s["isEqual"])(i,o)||this.showTooltip(o),this.timeStamp=r,this.location=o}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context,n=e.event,r=n.target;if(r&&r.get("tip")){this.tooltip||this.renderTooltip();var i=r.get("tip");this.tooltip.update(Object(a["a"])({title:i},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,r={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},i=e.getTheme(),o=Object(s["get"])(i,["components","tooltip","domStyles"],{}),c=new bt({parent:n.get("el").parentNode,region:r,visible:!1,crosshairs:null,domStyles:Object(a["a"])({},Object(s["deepMix"])({},o,(t={},t[ft["TOOLTIP_CSS_CONST"].CONTAINER_CLASS]={"max-width":"50%"},t[ft["TOOLTIP_CSS_CONST"].TITLE_CLASS]={"word-break":"break-all"},t)))});c.init(),c.setCapture(!1),this.tooltip=c},e}(ce),Js=$s,tc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e}return Object(a["b"])(e,t),e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,e){t.setState(this.stateName,e)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var e=this,n=Ne(t,this.stateName);Object(s["each"])(n,function(t){e.setElementState(t,!1)})},e}(ce),ec=tc;function nc(t){return Object(s["get"])(t.get("delegateObject"),"item")}var rc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=["unchecked"],e}return Object(a["b"])(e,t),e.prototype.isItemIgnore=function(t,e){var n=this.ignoreListItemStates,r=n.filter(function(n){return e.hasState(t,n)});return!!r.length},e.prototype.setStateByComponent=function(t,e,n){var r=this.context.view,i=t.get("field"),o=Be(r);this.setElementsStateByItem(o,i,e,n)},e.prototype.setStateByElement=function(t,e){this.setElementState(t,e)},e.prototype.isMathItem=function(t,e,n){var r=this.context.view,i=Je(r,e),o=ze(t,e);return!Object(s["isNil"])(o)&&n.name===i.getText(o)},e.prototype.setElementsStateByItem=function(t,e,n,r){var i=this;Object(s["each"])(t,function(t){i.isMathItem(t,e,n)&&t.setState(i.stateName,r)})},e.prototype.setStateEnable=function(t){var e=Te(this.context);if(e)Pe(this.context)&&this.setStateByElement(e,t);else{var n=Ee(this.context);if(_e(n)){var r=n.item,i=n.component;if(r&&i&&!this.isItemIgnore(r,i)){var o=this.context.event.gEvent;if(o&&o.fromShape&&o.toShape&&nc(o.fromShape)===nc(o.toShape))return;this.setStateByComponent(i,r,t)}}}},e.prototype.toggle=function(){var t=Te(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(ec),ic=rc,oc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.active=function(){this.setState()},e}(ic),ac=oc,sc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return Object(a["b"])(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");if(!n)return null;var r=t.getScaleByField(n.getFields()[0]);return r},e.prototype.getLinkPath=function(t,e){var n=this.context.view,r=n.getCoordinate().isTransposed,i=t.shape.getCanvasBBox(),o=e.shape.getCanvasBBox(),a=r?[["M",i.minX,i.minY],["L",o.minX,o.maxY],["L",o.maxX,o.maxY],["L",i.maxX,i.minY],["Z"]]:[["M",i.maxX,i.minY],["L",o.minX,o.minY],["L",o.minX,o.maxY],["L",i.maxX,i.maxY],["Z"]];return a},e.prototype.addLinkShape=function(t,e,n){t.addShape({type:"path",attrs:{opacity:.4,fill:e.shape.attr("fill"),path:this.getLinkPath(e,n)}})},e.prototype.linkByElement=function(t){var e=this,n=this.context.view,r=this.getColorScale(n,t);if(r){var i=ze(t,r.field);if(!this.cache[i]){var o=Re(n,r.field,i),a=this.linkGroup,c=a.addGroup();this.cache[i]=c;var l=o.length;Object(s["each"])(o,function(t,n){if(n=0},e)},e}(uc),Ec=Tc,Pc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){var n=this.context.view,r=Be(n);xc(r,function(e){return t===e},e)},e.prototype.clear=function(){var t=this.context.view;bc(t)},e}(dc),_c=Pc,Lc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(uc),Fc=Lc,Ic=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(ic),Dc=Ic,Bc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(dc),Rc=Bc,Nc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return Object(a["b"])(e,t),e.prototype.getTriggerListInfo=function(){var t=Ee(this.context),e=null;return _e(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=He(e),r=[];return Object(s["each"])(n,function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)}),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();Object(s["each"])(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=Je(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;if(n.length){var r=n.filter(function(n){return e.hasState(t,n)});return 0===r.length}return!0},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,o=Je(i,r),a=ze(e,r),s=o.getText(a);this.setItemsState(t,s,n)},e.prototype.setStateEnable=function(t){var e=this,n=Te(this.context);if(n){var r=this.getAllowComponents();Object(s["each"])(r,function(r){e.setStateByElement(r,n,t)})}else{var i=Ee(this.context);if(_e(i)){var o=i.item,a=i.component;this.allowSetStateByElement(a)&&this.allowSetStateByItem(o,a)&&this.setItemState(a,o,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,i=t.getItems();Object(s["each"])(i,function(i){i.name===e&&r.setItemState(t,i,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(ce),zc=Nc,Yc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.active=function(){this.setState()},e}(zc),Gc=Yc,Vc="inactive",Wc="active";function Hc(t){var e=t.getItems();Object(s["each"])(e,function(e){t.hasState(e,Wc)&&t.setItemState(e,Wc,!1),t.hasState(e,Vc)&&t.setItemState(e,Vc,!1)})}var Xc="inactive",Uc="active",qc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=Uc,e.ignoreItemStates=["unchecked"],e}return Object(a["b"])(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems();this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)Object(s["each"])(r,function(n){e(n)?(t.hasState(n,Xc)&&t.setItemState(n,Xc,!1),t.setItemState(n,Uc,!0)):t.hasState(n,Uc)||t.setItemState(n,Xc,!0)});else{var i=t.getItemsByState(Uc),o=!0;Object(s["each"])(i,function(t){if(!e(t))return o=!1,!1}),o?this.clear():Object(s["each"])(r,function(n){e(n)&&(t.hasState(n,Uc)&&t.setItemState(n,Uc,!1),t.setItemState(n,Xc,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)Hc(t.list);else{var e=this.getAllowComponents();Object(s["each"])(e,function(t){t.clearItemsState(Uc),t.clearItemsState(Xc)})}},e}(zc),Zc=qc,Kc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(zc),Qc=Kc,$c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="unchecked",e}return Object(a["b"])(e,t),e.prototype.unchecked=function(){this.setState()},e}(zc),Jc=$c,tl="unchecked",el="checked",nl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=el,e}return Object(a["b"])(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,function(t){return t===e},n)},e.prototype.setCheckedBy=function(t,e,n){var r=t.getItems();n&&Object(s["each"])(r,function(n){e(n)?(t.hasState(n,tl)&&t.setItemState(n,tl,!1),t.setItemState(n,el,!0)):t.hasState(n,el)||t.setItemState(n,tl,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=!Object(s["some"])(e.getItems(),function(t){return e.hasState(t,tl)});r||e.hasState(n,tl)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();Object(s["each"])(t,function(t){t.clearItemsState(el),t.clearItemsState(tl)})},e}(zc),rl=nl,il=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.maskShape=null,e.points=[],e.starting=!1,e.moving=!1,e.preMovePoint=null,e.shapeType="path",e}return Object(a["b"])(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var e="mask:"+t,n=this.context.view,r=this.context.event;n.emit(e,{target:this.maskShape,shape:this.maskShape,points:this.points,x:r.x,y:r.y})},e.prototype.createMask=function(){var t=this.context.view,e=this.getMaskAttrs(),n=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:Object(a["a"])({fill:"#C5D4EB",opacity:.3},e)});return n},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(this.moving&&this.maskShape){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,r=t.y-e.y,i=this.points;Object(s["each"])(i,function(t){t.x+=n,t.y+=r}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(){var t=this.getMaskAttrs();this.maskShape.attr(t)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,t.prototype.destroy.call(this)},e}(ce),ol=il,al=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return Object(a["b"])(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=Object(s["last"])(this.points),n=0,r=0,i=0;if(t.length){var o=t[0];n=Xe(o,e)/2,r=(e.x+o.x)/2,i=(e.y+o.y)/2}return{x:r,y:i,r:n}},e}(ol),sl=al,cl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return Object(a["b"])(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:Object(s["head"])(t),end:Object(s["last"])(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.abs(n.x-e.x),a=Math.abs(n.y-e.y);return{x:r,y:i,width:o,height:a}},e}(ol),ll=cl;function ul(t){t.x=Object(s["clamp"])(t.x,0,1),t.y=Object(s["clamp"])(t.y,0,1)}var hl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return Object(a["b"])(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,i=this.context.view.getCoordinate(),o=i.invert(Object(s["head"])(n)),a=i.invert(Object(s["last"])(n));return this.inPlot&&(ul(o),ul(a)),"x"===r?(t=i.convert({x:o.x,y:0}),e=i.convert({x:a.x,y:1})):(t=i.convert({x:0,y:o.y}),e=i.convert({x:1,y:a.y})),{start:t,end:e}},e}(ll),fl=hl,pl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&(Object(s["each"])(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}(ol),dl=pl,gl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getMaskPath=function(){var t=this.points;return Ue(t,!0)},e}(dl),yl=gl,vl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.setCursor=function(t){var e=this.context.view;e.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e}(ce),ml=vl,bl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.filterView=function(t,e,n){var r=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&Object(s["each"])(t.views,function(t){r.filterView(t,e,n)})},e.prototype.filter=function(){var t=Ee(this.context);if(t){var e=this.context.view,n=t.component,r=n.get("field");if(_e(t)){if(r){var i=n.getItemsByState("unchecked"),o=Je(e,r),a=i.map(function(t){return t.name});a.length?this.filterView(e,r,function(t){var e=o.getText(t);return!a.includes(e)}):this.filterView(e,r,null),e.render(!0)}}else if(Le(t)){var s=n.getValue(),c=s[0],l=s[1];this.filterView(e,r,function(t){return t>=c&&t<=l}),e.render(!0)}}},e}(ce),xl=bl;function Ol(t,e,n,r){var i=Math.min(n[e],r[e]),o=Math.max(n[e],r[e]),a=t.range,s=a[0],c=a[1];if(ic&&(o=c),i===c&&o===c)return null;var l=t.invert(i),u=t.invert(o);if(t.isCategory){var h=t.values.indexOf(l),f=t.values.indexOf(u),p=t.values.slice(h,f+1);return function(t){return p.includes(t)}}return function(t){return t>=l&&t<=u}}var jl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return Object(a["b"])(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,e;if(Fe(this.context)){var n=this.context.event.target,r=n.getCanvasBBox();t={x:r.x,y:r.y},e={x:r.maxX,y:r.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(Math.abs(t.x-e.x)<5||Math.abs(t.x-e.y)<5)){var i=this.context.view,o=i.getCoordinate(),a=o.invert(e),s=o.invert(t);if(this.hasDim("x")){var c=i.getXScale(),l=Ol(c,"x",a,s);this.filterView(i,c.field,l)}if(this.hasDim("y")){var u=i.getYScales()[0];l=Ol(u,"y",a,s);this.filterView(i,u.field,l)}this.reRender(i)}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t)},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t){t.render(!0)},e}(ce),wl=jl,kl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.filterView=function(t,e,n){var r=Ze(t);Object(s["each"])(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=Ze(t);Object(s["each"])(e,function(t){t.render(!0)})},e}(wl),Sl=kl,Cl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.filter=function(){var t=Ee(this.context),e=this.context.view,n=Be(e);if(Fe(this.context)){var r=Ie(this.context,10);r&&Object(s["each"])(n,function(t){r.includes(t)?t.show():t.hide()})}else if(t){var i=t.component,o=i.get("field");if(_e(t)){if(o){var a=i.getItemsByState("unchecked"),c=Je(e,o),l=a.map(function(t){return t.name});Object(s["each"])(n,function(t){var e=ze(t,o),n=c.getText(e);l.indexOf(n)>=0?t.hide():t.show()})}}else if(Le(t)){var u=i.getValue(),h=u[0],f=u[1];Object(s["each"])(n,function(t){var e=ze(t,o);e>=h&&e<=f?t.show():t.hide()})}}},e.prototype.clear=function(){var t=Be(this.context.view);Object(s["each"])(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(ce),Ml=Cl,Al=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return Object(a["b"])(e,t),e.prototype.filter=function(){Fe(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=Ie(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,i=e.map(function(t){return t.getModel().data}),o=Ze(t);Object(s["each"])(o,function(t){var e=Be(t);Object(s["each"])(e,function(t){var e=t.getModel().data;$e(i,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=Ze(e);Object(s["each"])(n,function(e){var n=De(t.context,e,10),r=Be(e);n&&Object(s["each"])(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=Ze(this.context.view);Object(s["each"])(t,function(t){var e=Be(t);Object(s["each"])(e,function(t){t.show()})})},e}(ce),Tl=Al,El=10,Pl=5,_l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return Object(a["b"])(e,t),e.prototype.getButtonCfg=function(){return Object(s["deepMix"])(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:Object(a["a"])({text:t.text},t.textStyle)}),r=n.getBBox(),i=Nn(t.padding),o=e.addShape({type:"rect",name:"button-rect",attrs:Object(a["a"])({x:r.x-i[3],y:r.y-i[0],width:r.width+i[1]+i[3],height:r.height+i[0]+i[2]},t.style)});o.toBack(),e.on("mouseenter",function(){o.attr(t.activeStyle)}),e.on("mouseleave",function(){o.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view,e=t.getCoordinate(),n=e.convert({x:1,y:1}),r=this.buttonGroup,i=r.getBBox(),o=tt["a"].transform(null,[["t",n.x-i.width-El,n.y+i.height+Pl]]);r.setMatrix(o)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(ce),Ll=_l,Fl=4,Il=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return Object(a["b"])(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):Xe(t,this.startPoint)>Fl&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(ce),Dl=Il,Bl=5,Rl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return Object(a["b"])(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint(),n=Xe(t,e);if(n>Bl&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var r=this.context.view,i=tt["a"].transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);r.backgroundGroup.setMatrix(i),r.foregroundGroup.setMatrix(i),r.middleGroup.setMatrix(i)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(ce),Nl=Rl,zl="x",Yl="y",Gl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=[zl,Yl],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return Object(a["b"])(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(zl),this.resetDim(Yl);var t=this.context.view;t.render(!0)},e}(ce),Vl=Gl,Wl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return Object(a["b"])(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;Object(s["each"])(e,function(e){var n=t.getScale(e),r=n.min,i=n.max,o=n.values;t.startCache[e]={min:r,max:i,values:o}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),i=n.invert(e),o=n.invert(r),a=o.x-i.x,c=o.y-i.y,l=this.context.view,u=this.dims;Object(s["each"])(u,function(e){t.translateDim(e,{x:-1*a,y:-1*c})}),l.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],o=i.min,a=i.max,s=a-o,c=n[t]*s;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:o,max:a}),r.scale(e.field,{nice:!1,min:o+c,max:a+c})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(Vl),Hl=Wl,Xl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return Object(a["b"])(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;Object(s["each"])(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],o=i.max-i.min,a=e.min,s=e.max,c=n*o,l=a-c,u=s+c,h=u-l,f=h/o;u>l&&f<100&&f>.01&&r.scale(e.field,{nice:!1,min:a-c,max:s+c})},e}(Vl),Ul=Xl;function ql(t){return t.isInPlot()}function Zl(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}n.d(e,"g",function(){return c}),n.d(e,"b",function(){return rr}),n.d(e,"c",function(){return Un}),n.d(e,"e",function(){return sr}),n.d(e,"a",function(){return ce}),n.d(e,"d",function(){return ce}),n.d(e,"j",function(){return Yn}),n.d(e,"l",function(){return Pr}),n.d(e,"k",function(){return fn}),n.d(e,"i",function(){return pe}),n.d(e,"h",function(){return Sn}),n.d(e,"f",function(){return li}),Cn("dark",yn(gi)),x("canvas",yi),x("svg",vi),tr("Polygon",co),tr("Interval",$i),tr("Schema",uo),tr("Path",Pi),tr("Point",oo),tr("Line",to),tr("Area",Di),tr("Edge",Ri),tr("Heatmap",zi),kr("base",Jr),kr("interval",Fo),kr("pie",No),kr("polar",Bo),Cr("overlap",oa),Cr("distribute",Go),Cr("fixed-overlap",ia),Cr("hide-overlap",da),Cr("limit-in-shape",Jo),Cr("limit-in-canvas",$o),Cr("limit-in-plot",Ra),Cr("pie-outer",Xo),Cr("adjust-color",ma),Cr("interval-adjust-position",ja),Cr("interval-hide-overlap",ka),Cr("point-adjust-position",Ta),Cr("pie-spider",Qo),Cr("path-adjust-position",Fa),ur("fade-in",Na),ur("fade-out",za),ur("grow-in-x",Va),ur("grow-in-xy",Ha),ur("grow-in-y",Wa),ur("scale-in-x",qa),ur("scale-in-y",Za),ur("wave-in",ts),ur("zoom-in",ns),ur("zoom-out",rs),ur("position-update",Ua),ur("sector-path-update",Ja),ur("path-in",Xa),ae("rect",gs),ae("mirror",ps),ae("list",ls),ae("matrix",hs),ae("circle",ss),ae("tree",vs),Yn("axis",Ps),Yn("legend",Ds),Yn("tooltip",sr),Yn("annotation",ws),Yn("slider",Rs),Yn("scrollbar",Ws),pe("tooltip",Zs),pe("sibling-tooltip",Qs),pe("ellipsis-text",Js),pe("element-active",ac),pe("element-single-active",yc),pe("element-range-active",fc),pe("element-highlight",kc),pe("element-highlight-by-x",Ac),pe("element-highlight-by-color",Cc),pe("element-single-highlight",_c),pe("element-range-highlight",Ec),pe("element-sibling-highlight",Ec,{effectSiblings:!0,effectByRecord:!0}),pe("element-selected",Dc),pe("element-single-selected",Rc),pe("element-range-selected",Fc),pe("element-link-by-color",cc),pe("active-region",Us),pe("list-active",Gc),pe("list-selected",Qc),pe("list-highlight",Zc),pe("list-unchecked",Jc),pe("list-checked",rl),pe("legend-item-highlight",Zc,{componentNames:["legend"]}),pe("axis-label-highlight",Zc,{componentNames:["axis"]}),pe("rect-mask",ll),pe("x-rect-mask",fl,{dim:"x"}),pe("y-rect-mask",fl,{dim:"y"}),pe("circle-mask",sl),pe("path-mask",dl),pe("smooth-path-mask",yl),pe("cursor",ml),pe("data-filter",xl),pe("brush",wl),pe("brush-x",wl,{dims:["x"]}),pe("brush-y",wl,{dims:["y"]}),pe("sibling-filter",Sl),pe("sibling-x-filter",Sl),pe("sibling-y-filter",Sl),pe("element-filter",Ml),pe("element-sibling-filter",Tl),pe("element-sibling-filter-record",Tl,{byRecord:!0}),pe("view-drag",Dl),pe("view-move",Nl),pe("scale-translate",Hl),pe("scale-zoom",Ul),pe("reset-button",Ll,{name:"reset-button",text:"reset"}),fn("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),fn("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),fn("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),fn("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),fn("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),fn("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),fn("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),fn("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),fn("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),fn("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),fn("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),fn("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),fn("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ql,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:ql,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:ql,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),fn("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),fn("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ql,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:ql,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:ql,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),fn("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ql,action:"path-mask:start"},{trigger:"mousedown",isEnable:ql,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),fn("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),fn("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),fn("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),fn("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),fn("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),fn("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),fn("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return Zl(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!Zl(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),fn("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]})},kekF:function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},kewz:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},kiyR:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s=[],c=e.length;for(n=0;n=b)return!1;for(y=u,f=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),f.ok&&(v=t.md.normalizeLink(f.str),t.md.validateLink(v)?u=f.pos:v=""),y=u;u=b||41!==t.src.charCodeAt(u))return t.pos=m,!1;u++}else{if("undefined"===typeof t.env.references)return!1;if(u=0?s=t.src.slice(y,u++):u=c+1):u=c+1,s||(s=t.src.slice(l,c)),h=t.env.references[r(s)],!h)return t.pos=m,!1;v=h.href,p=h.title}return e||(a=t.src.slice(l,c),t.md.inline.parse(a,t.md,t.env,g=[]),d=t.push("image","img",0),d.attrs=n=[["src",v],["alt",""]],d.children=g,d.content=a,p&&n.push(["title",p])),t.pos=u,t.posMax=b,!0}},l3hu:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t,e,n){var i=e+"Style",o=null;return Object(r["each"])(n,function(e,n){t[n]&&e[i]&&(o||(o={}),Object(r["mix"])(o,e[i]))}),o}},lFe4:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t){return Object(r["map"])(t||[],function(t,e){return{x:""+e,y:t}})}},lOPJ:function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("0Xep"),a=n("Qci9"),s=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?o["d"]:r,a=e.dodgeRatio,s=void 0===a?o["b"]:a,c=e.dodgeBy,l=e.intervalPadding,u=e.dodgePadding,h=e.xDimensionLength,f=e.groupNum,p=e.defaultSize,d=e.maxColumnWidth,g=e.minColumnWidth,y=e.columnWidthRatio;return n.marginRatio=i,n.dodgeRatio=s,n.dodgeBy=c,n.intervalPadding=l,n.dodgePadding=u,n.xDimensionLegenth=h,n.groupNum=f,n.defaultSize=p,n.maxColumnWidth=d,n.minColumnWidth=g,n.columnWidthRatio=y,n}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["clone"](t),n=i["flatten"](e),r=this.dodgeBy,o=r?i["group"](n,r):e;return this.cacheMap={},this.adjustDataArray=o,this.mergeData=n,this.adjustData(o,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var o=this,a=this.getDistribution(t),s=this.groupData(n,t);return i["each"](s,function(n,s){var c;c=1===e.length?{pre:e[0]-1,next:e[0]+1}:o.getAdjustRange(t,parseFloat(s),e),i["each"](n,function(e){var n=e[t],i=a[n],s=i.indexOf(r);e[t]=o.getDodgeOffset(c,s,i.length)})}),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,o=this,a=o.dodgeRatio,s=o.marginRatio,c=o.intervalPadding,l=o.dodgePadding,u=t.pre,h=t.next,f=h-u;if(!i["isNil"](c)&&i["isNil"](l)&&c>=0){var p=this.getIntervalOnlyOffset(n,e);r=u+p}else if(!i["isNil"](l)&&i["isNil"](c)&&l>=0){p=this.getDodgeOnlyOffset(n,e);r=u+p}else if(!i["isNil"](c)&&!i["isNil"](l)&&c>=0&&l>=0){p=this.getIntervalAndDodgeOffset(n,e);r=u+p}else{var d=f*a/n,g=s*d;p=.5*(f-n*d-(n-1)*g)+((e+1)*d+e*g)-.5*d-.5*f;r=(u+h)/2+p}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.intervalPadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.dodgeRatio,l=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,f=o/a,p=(1-(s-1)*f)/s*c/(t-1),d=((1-f*(s-1))/s-p*(t-1))/t;if(d=i["isNil"](h)?d:1/s/t*h,!i["isNil"](l)){var g=l/a;d=Math.min(d,g)}if(!i["isNil"](u)){var y=u/a;d=Math.max(d,y)}d=r?r/a:d,p=((1-(s-1)*f)/s-t*d)/(t-1);var v=((.5+e)*d+e*p+.5*f)*s-f/2;return v},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.dodgePadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.marginRatio,l=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,f=o/a,p=1*c/(s-1),d=((1-p*(s-1))/s-f*(t-1))/t;if(d=h?1/s/t*h:d,!i["isNil"](l)){var g=l/a;d=Math.min(d,g)}if(!i["isNil"](u)){var y=u/a;d=Math.max(d,y)}d=r?r/a:d,p=(1-(d*t+f*(t-1))*s)/(s-1);var v=((.5+e)*d+e*f+.5*p)*s-p/2;return v},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this,r=n.intervalPadding,i=n.dodgePadding,o=n.xDimensionLegenth,a=n.groupNum,s=r/o,c=i/o,l=((1-s*(a-1))/a-c*(t-1))/t,u=((.5+e)*l+e*c+.5*s)*a-s/2;return u},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},i["each"](e,function(e,n){var o=i["valuesOfKey"](e,t);o.length||o.push(0),i["each"](o,function(t){r[t]||(r[t]=[]),r[t].push(n)})}),n[t]=r),r},e}(a["a"]);e["a"]=s},lSCD:function(t,e,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function l(t){if(!i(t))return!1;var e=r(t);return e==a||e==s||e==o||e==c}t.exports=l},lc5D:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("eF/C"),i=n("Uf63");e.diff=i.default;var o=n("N5VM");e.split=o.default,e.default=r.default},ljhN:function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},lr9b:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l="$$range$$",u="low-q1-median-q3-high",h="$$y_outliers$$",f="outliers_view",p=function(t,e){var n=t;if(Array.isArray(e)){var r=e[0],i=e[1],o=e[2],s=e[3],c=e[4];n=Object(a["map"])(t,function(t){return t[l]=[t[r],t[i],t[o],t[s],t[c]],t})}return n};function d(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.groupField,a=n.color,s=Array.isArray(i)?l:i,c=e.schema().position(r+"*"+s).shape("box");return o&&c.color(o,a).adjust("dodge"),e.data(p(n.data,i)),t}function g(t){var e=t.chart,n=t.options,r=n.xField,i=n.data,o=n.outliersField,s=n.outliersStyle,c=n.padding;if(!o)return t;var l=e.createView({padding:c,id:f});l.data(i),l.axis(!1);var u=l.point().position(r+"*"+o).shape("circle");return Object(a["isFunction"])(s)?u.style(r+"*"+o,function(t,e){var n;return s((n={},n[r]=t,n[o]=e,n))}):Object(a["isObject"])(s)&&u.style(s),t}function y(t){var e,n,r=t.chart,i=t.options,a=i.meta,s=i.xAxis,u=i.yAxis,f=i.xField,p=i.yField,d=i.outliersField,g=Array.isArray(p)?l:p,y={};if(d){var v=h;e={},e[d]={sync:v,nice:!0},e[g]={sync:v,nice:!0},y=e}var m=Object(o["b"])(y,a,(n={},n[f]=Object(o["n"])(s,c["a"]),n[g]=Object(o["n"])(u,c["a"]),n));return r.scale(m),t}function v(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField,s=Array.isArray(a)?l:a;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(s,i),t}function m(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}function b(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,s=n.boxStyle,c=Object(o["c"])(e,"schema"),u=Array.isArray(i)?l:i;return Object(a["isFunction"])(s)?c.style(r+"*"+u,function(t,e){var n;return s((n={},n[r]=t,n[u]=e,n))}):Object(a["isObject"])(s)&&c.style(s),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip;return void 0!==r&&e.tooltip(r),t}function O(t){return Object(o["e"])(d,g,y,v,b,m,x,s["c"],s["a"],s["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===f});n&&n.data(t),this.chart.changeData(p(t,e))},e.prototype.getDefaultOptions=function(){var e;return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{meta:(e={},e[l]={min:0,alias:u},e),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,showCrosshairs:!0,shared:!0}})},e.prototype.getSchemaAdaptor=function(){return O}})(i["b"])},lt7v:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=null;function i(){if(!r){var t=document.createElement("canvas");t.width=1,t.height=1,r=t.getContext("2d")}return r}},mI1Z:function(t,e,n){"use strict";n.d(e,"b",function(){return u}),n.d(e,"a",function(){return h});var r=n("mrSG"),i=n("iTfj"),o=n("YuPD"),a=n("w02o"),s=n("u9/z"),c=n("w+x+");function l(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function u(t,e){var n=t.chart,a=t.options,s=a.innerRadius,l=a.statistic,u=a.percent,h=a.meta;if(n.getController("annotation").clear(!0),s&&l){var f=l.content;f&&!f.formatter&&(f.formatter=function(t){var e=t.percent,n=Object(i["get"])(h,[c["e"],"formatter"]);return n?n(e):e}),Object(o["p"])(n,{statistic:Object(r["a"])(Object(r["a"])({},l),{content:f}),plotType:"ring-progress"},{percent:u})}return e&&n.render(!0),t}function h(t){return Object(o["e"])(s["b"],Object(a["f"])({}),l,u,a["a"],a["j"],Object(a["b"])())(t)}},mSF0:function(t,e,n){"use strict";var r=n("AGgm").arrayReplaceAt;function i(t){return/^\s]/i.test(t)}function o(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var e,n,a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O=t.tokens;if(t.md.options.linkify)for(n=0,a=O.length;n=0;e--)if(l=s[e],"link_close"!==l.type){if("html_inline"===l.type&&(i(l.content)&&y>0&&y--,o(l.content)&&y++),!(y>0)&&"text"===l.type&&t.md.linkify.test(l.content)){for(f=l.content,x=t.md.linkify.match(f),u=[],g=l.level,d=0,h=0;hd&&(c=new t.Token("text","",0),c.content=f.slice(d,p),c.level=g,u.push(c)),c=new t.Token("link_open","a",1),c.attrs=[["href",m]],c.level=g++,c.markup="linkify",c.info="auto",u.push(c),c=new t.Token("text","",0),c.content=b,c.level=g,u.push(c),c=new t.Token("link_close","a",-1),c.level=--g,c.markup="linkify",c.info="auto",u.push(c),d=x[h].lastIndex);d")},key:(0===c?"top":"bottom")+"-statistic"},Object(o["n"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})},l=function(t,e,n){var c=e.statistic,l=c.title,u=c.content;[l,u].forEach(function(e){if(e){var c="",l=Object(i["isFunction"])(e.style)?e.style(n):e.style;t.annotation().html(Object(r["a"])({position:["50%","100%"],html:function(t,o){var u=o.getCoordinate(),h=o.views[0].getCoordinate(),f=h.getCenter(),p=h.getRadius(),d=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*p,g=f.y+d-u.y.start-parseFloat(Object(i["get"])(l,"fontSize",0)),y=u.getRadius()*u.innerRadius*2;s(t,Object(r["a"])({width:y+"px",transform:"translate(-50%, "+g+"px)"},a(l)));var v=o.getData();return e.customHtml?e.customHtml(t,o,n,v):(e.formatter&&(c=e.formatter(n,v)),c?Object(i["isString"])(c)?c:""+c:"
      ")}},Object(o["n"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},mttH:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("zJSt"),o=n("sshJ"),a=n("7cv3"),s=n("lFe4"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return a["a"]},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(o["b"])({chart:n,options:r}),n.changeData(Object(s["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o["a"]},e}(i["b"])},"mv/X":function(t,e,n){var r=n("ljhN"),i=n("MMmD"),o=n("wJg7"),a=n("GoyQ");function s(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}t.exports=s},mwIZ:function(t,e,n){var r=n("ZWtO");function i(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}t.exports=i},"n/J0":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],i={GRADIENT:{CONTINUOUS:"#BAE7FF-#1890FF-#0050B3"}}},nBLk:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o;if(t.sCount[e]-t.blkIndent<4)return!1;i=r=e+1;while(r=4))break;r++,i=r}return t.line=i,o=t.push("code_block","code",0),o.content=t.getLines(e,i,4+t.blkIndent,!0),o.map=[e,t.line],!0}},nCnq:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("cyZq");function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function o(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function a(t,e){return(t[0]*e[1]1&&(n*=Math.sqrt(y),i*=Math.sqrt(y));var v=n*n*(g*g)+i*i*(d*d),m=v?Math.sqrt((n*n*(i*i)-v)/v):1;c===l&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?m*-i*d/n:0,O=(u+f)/2+Math.cos(s)*b-Math.sin(s)*x,j=(h+p)/2+Math.sin(s)*b+Math.cos(s)*x,w=[(d-b)/n,(g-x)/i],k=[(-1*d-b)/n,(-1*g-x)/i],S=a([1,0],w),C=a(w,k);return o(w,k)<=-1&&(C=Math.PI),o(w,k)>=1&&(C=0),0===l&&C>0&&(C-=2*Math.PI),1===l&&C<0&&(C+=2*Math.PI),{cx:O,cy:j,rx:Object(r["j"])(t,[f,p])?0:n,ry:Object(r["j"])(t,[f,p])?0:i,startAngle:S,endAngle:S+C,xRotation:s,arcFlag:c,sweepFlag:l}}},nmnc:function(t,e,n){var r=n("Kz5y"),i=r.Symbol;t.exports=i},nycV:function(t,e,n){"use strict";n.d(e,"c",function(){return h}),n.d(e,"b",function(){return f}),n.d(e,"a",function(){return p});var r=n("mrSG"),i=n("R5nb"),o=Math.sin,a=Math.cos,s=Math.atan2,c=Math.PI;function l(t,e,n,r,l,u,h){var f=e.stroke,p=e.lineWidth,d=n-l,g=r-u,y=s(g,d),v=new i["Path"]({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*a(c/6)+","+10*o(c/6)+" L0,0 L"+10*a(c/6)+",-"+10*o(c/6),stroke:f,lineWidth:p}});v.translate(l,u),v.rotateAtPoint(l,u,y),t.set(h?"startArrowShape":"endArrowShape",v)}function u(t,e,n,c,l,u,h){var f=e.startArrow,p=e.endArrow,d=e.stroke,g=e.lineWidth,y=h?f:p,v=y.d,m=y.fill,b=y.stroke,x=y.lineWidth,O=Object(r["c"])(y,["d","fill","stroke","lineWidth"]),j=n-l,w=c-u,k=s(w,j);v&&(l-=a(k)*v,u-=o(k)*v);var S=new i["Path"]({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:Object(r["a"])(Object(r["a"])({},O),{stroke:b||d,lineWidth:x||g,fill:m})});S.translate(l,u),S.rotateAtPoint(l,u,k),t.set(h?"startArrowShape":"endArrowShape",S)}function h(t,e,n,r,i){var c=s(r-e,n-t);return{dx:a(c)*i,dy:o(c)*i}}function f(t,e,n,r,i,o){"object"===typeof e.startArrow?u(t,e,n,r,i,o,!0):e.startArrow?l(t,e,n,r,i,o,!0):t.set("startArrowShape",null)}function p(t,e,n,r,i,o){"object"===typeof e.endArrow?u(t,e,n,r,i,o,!1):e.endArrow?l(t,e,n,r,i,o,!1):t.set("startArrowShape",null)}},o9ul:function(t,e,n){var r=n("qxrA"),i=r(Object.getPrototypeOf,Object);t.exports=i},oSSR:function(t,e,n){"use strict";t.exports=function(t){var e,n,r,i=t.tokens;for(n=0,r=i.length;n=0&&s<.5*Math.PI?(r={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=s&&sn)throw new Error("circular link");r=i,i=new Set}}function m(t){var e=t.nodes,n=e.length,r=new Set(e),i=new Set,o=0;while(r.size){if(r.forEach(function(t){t.height=o;for(var e=0,n=t.targetLinks;en)throw new Error("circular link");r=i,i=new Set}}function x(t){for(var n=t.nodes,i=Math.max(w(n,function(t){return t.depth})+1,0),a=(o-r-s)/(i-1),c=new Array(i).fill(0).map(function(){return[]}),l=0,h=n;l0){var m=(u/h-l.y0)*n;l.y0+=m,l.y1+=m,Y(l)}}void 0===e&&a.sort(M),a.length&&R(a,r)}}function B(t,n,r){for(var i=t.length,o=i-2;o>=0;--o){for(var a=t[o],s=0,c=a;s0){var m=(u/h-l.y0)*n;l.y0+=m,l.y1+=m,Y(l)}}void 0===e&&a.sort(M),a.length&&R(a,r)}}function R(e,n){var r=e.length>>1,o=e[r];z(e,o.y0-t,r-1,n),N(e,o.y1+t,r+1,n),z(e,a,e.length-1,n),N(e,i,0,n)}function N(e,n,r,i){for(;r1e-6&&(o.y0+=a,o.y1+=a),n=o.y1+t}}function z(e,n,r,i){for(;r>=0;--r){var o=e[r],a=(o.y1-n)*i;a>1e-6&&(o.y0-=a,o.y1-=a),n=o.y0-t}}function Y(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){for(var i=0,o=r;i "+n,value:r}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=W(this.options,this.chart.width,this.chart.height),n=e.nodes,r=e.edges,i=Object(a["d"])(this.chart,f),o=Object(a["d"])(this.chart,p);i.changeData(n),o.changeData(r)},e.prototype.getSchemaAdaptor=function(){return U},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}})(o["b"])},rzDG:function(t,e,n){"use strict";var r=n("AGgm").isWhiteSpace,i=n("AGgm").isPunctChar,o=n("AGgm").isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="\u2019";function l(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function u(t,e){var n,a,u,h,f,p,d,g,y,v,m,b,x,O,j,w,k,S,C,M,A;for(C=[],n=0;n=0;k--)if(C[k].level<=d)break;if(C.length=k+1,"text"===a.type){u=a.content,f=0,p=u.length;t:while(f=0)y=u.charCodeAt(h.index-1);else for(k=n-1;k>=0;k--){if("softbreak"===t[k].type||"hardbreak"===t[k].type)break;if(t[k].content){y=t[k].content.charCodeAt(t[k].content.length-1);break}}if(v=32,f=48&&y<=57&&(w=j=!1),j&&w&&(j=m,w=b),j||w){if(w)for(k=C.length-1;k>=0;k--){if(g=C[k],C[k].level=0;e--)"inline"===t.tokens[e].type&&a.test(t.tokens[e].content)&&u(t.tokens[e].children,t)}},sEf8:function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},sEfC:function(t,e,n){var r=n("GoyQ"),i=n("QIyF"),o=n("tLB3"),a="Expected a function",s=Math.max,c=Math.min;function l(t,e,n){var l,u,h,f,p,d,g=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=l,r=u;return l=u=void 0,g=e,f=t.apply(r,n),f}function x(t){return g=t,p=setTimeout(w,e),y?b(t):f}function O(t){var n=t-d,r=t-g,i=e-n;return v?c(i,h-r):i}function j(t){var n=t-d,r=t-g;return void 0===d||n>=e||n<0||v&&r>=h}function w(){var t=i();if(j(t))return k(t);p=setTimeout(w,O(t))}function k(t){return p=void 0,m&&l?b(t):(l=u=void 0,f)}function S(){void 0!==p&&clearTimeout(p),g=0,l=d=u=p=void 0}function C(){return void 0===p?f:k(i())}function M(){var t=i(),n=j(t);if(l=arguments,u=this,d=t,n){if(void 0===p)return x(d);if(v)return clearTimeout(p),p=setTimeout(w,e),b(d)}return void 0===p&&(p=setTimeout(w,e)),f}return e=o(e)||0,r(n)&&(y=!!n.leading,v="maxWait"in n,h=v?s(o(n.maxWait)||0,e):h,m="trailing"in n?!!n.trailing:m),M.cancel=S,M.flush=C,M}t.exports=l},sYIZ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("aFU3");function o(t,e){if(e){var n=Object(i["invert"])(e);return Object(i["multiplyVec2"])(n,t)}return t}function a(t,e,n){var r=t.getTotalMatrix();if(r){var i=o([e,n,1],r),a=i[0],s=i[1];return[a,s]}return[e,n]}function s(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!Object(i["isAllowCapture"])(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var r=a(t,e,n),o=r[0],s=r[1];if(t.isClipped(o,s))return!1}var c=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=c.minX&&e<=c.maxX&&n>=c.minY&&n<=c.maxY}function c(t,e,n){if(!s(t,e,n))return null;for(var r=null,i=t.getChildren(),o=i.length,l=o-1;l>=0;l--){var u=i[l];if(u.isGroup())r=c(u,e,n);else if(s(u,e,n)){var h=u,f=a(u,e,n),p=f[0],d=f[1];h.isInShape(p,d)&&(r=u)}if(r)break}return r}var l=n("R5nb"),u=n("wq2r"),h=n("cyZq"),f=n("9eUa"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["renderer"]="canvas",e["autoDraw"]=!0,e["localRefresh"]=!0,e["refreshElements"]=[],e["clipView"]=!0,e["quickHit"]=!1,e},e.prototype.onCanvasChange=function(t){"attr"!==t&&"sort"!==t&&"changeSize"!==t||(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u["a"]},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||Object(h["d"])();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*e,i.height=o*n,o>1&&r.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){var r;return r=this.get("quickHit")?c(this,e,n):t.prototype.getShape.call(this,e,n,null),r},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();if(e.length&&e[0]===this)t=n;else if(t=Object(f["f"])(e),t){t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1;var r=this.get("clipView");r&&(t=Object(f["g"])(t,n))}return t},e.prototype.refreshElement=function(t){var e=this.get("refreshElements");e.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Object(h["a"])(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),Object(f["a"])(t,this),Object(f["d"])(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),Object(f["a"])(t,this),Object(f["b"])(this,n,r),Object(f["d"])(t,n,r),t.restore()):e.length&&Object(f["c"])(e),Object(h["c"])(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=Object(h["n"])(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e}(i["AbstractCanvas"]);e["a"]=p},shjB:function(t,e){var n=9007199254740991;function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}t.exports=r},sqD9:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("iTfj"),o=n("F/eT");function a(t,e,n,a){var s=Object(i["reduce"])(t,function(t,r){var i=r[n],a=t.has(i)?t.get(i):0,s=r[e];return a=Object(o["b"])(s)?a+s:a,t.set(i,a),t},new Map);return Object(i["map"])(t,function(t){var i,c=t[e],l=t[n],u=Object(o["b"])(c)?c/s.get(l):0;return Object(r["a"])(Object(r["a"])({},t),(i={},i[a]=u,i))})}function s(t,e,n,r,i){return i?a(t,e,n,r):t}},sshJ:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("YuPD"),i=n("w02o"),o=n("tKoa"),a=n("hYLx");n.d(e,"b",function(){return a["b"]});var s=n("lFe4"),c=n("7cv3");function l(t){var e=t.chart,n=t.options,i=n.data,a=n.color,l=n.lineStyle,u=n.point,h=Object(s["a"])(i);e.data(h);var f=Object(r["b"])({},t,{options:{xField:c["c"],yField:c["d"],line:{color:a,style:l},point:u}}),p=Object(r["b"])({},f,{options:{tooltip:!1}});return Object(o["d"])(f),Object(o["e"])(p),e.axis(!1),e.legend(!1),t}function u(t){return Object(r["e"])(l,a["b"],i["j"],i["k"],i["a"],Object(i["b"])())(t)}},sstZ:function(t,e,n){"use strict";n.d(e,"j",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"b",function(){return s});var r=n("iTfj");function i(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}n.d(e,"e",function(){return r["isNil"]}),n.d(e,"d",function(){return r["isFunction"]}),n.d(e,"h",function(){return r["isString"]}),n.d(e,"f",function(){return r["isObject"]}),n.d(e,"i",function(){return r["mix"]}),n.d(e,"a",function(){return r["each"]}),n.d(e,"k",function(){return r["upperFirst"]});var o="undefined"!==typeof window&&"undefined"!==typeof window.document;function a(t,e){if(t.isCanvas())return!0;var n=e.getParent(),r=!1;while(n){if(n===t){r=!0;break}n=n.getParent()}return r}function s(t){return t.cfg.visible&&t.cfg.capture}},t2Dn:function(t,e,n){var r=n("hypo"),i=n("ljhN");function o(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}t.exports=o},tE4n:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("tKoa"),c=n("w02o"),l=n("Tc6Q"),u={exp:l["regressionExp"],linear:l["regressionLinear"],loess:l["regressionLoess"],log:l["regressionLog"],poly:l["regressionPoly"],pow:l["regressionPow"],quad:l["regressionQuad"]};function h(t,e){var n=10,r={regionStyle:[{position:{start:[t,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[t,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[t,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[t,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-n,offsetY:-n,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:-n,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:n,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-n,offsetY:n,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return r}var f=function(t,e){var n=e.view,r=e.options,i=r.xField,a=r.yField,s=n.getScaleByField(i),c=n.getScaleByField(a),l=t.map(function(t){return n.getCoordinate().convert({x:s.scale(t[0]),y:c.scale(t[1])})});return Object(o["i"])(l,!1)},p=function(t){var e,n=t.options,r=n.xField,i=n.yField,o=n.data,s=n.regressionLine,c=s.type,l=void 0===c?"linear":c,h=s.algorithm;if(h)e=Object(a["isArray"])(h)?h:h(o);else{var p=u[l]().x(function(t){return t[r]}).y(function(t){return t[i]});e=p(o)}return f(e,t)},d=function(t){var e,n=t.meta,i=void 0===n?{}:n,o=t.xField,s=t.yField,c=t.data,l=c[0][o],u=c[0][s],h=l>0,f=u>0,p=function(t,e,n){var r=Object(a["get"])(i,[t,e]);if(Object(a["isNumber"])(r))return r;if("x"===n){var o={min:h?0:2*l,max:h?2*l:0};return o[e]}var s={min:f?0:2*u,max:f?2*u:0};return s[e]};return Object(r["a"])(Object(r["a"])({},i),(e={},e[o]=Object(r["a"])(Object(r["a"])({},i[o]),{min:p(o,"min","x"),max:p(o,"max","x")}),e[s]=Object(r["a"])(Object(r["a"])({},i[s]),{min:p(s,"min","y"),max:p(s,"max","y")}),e))};function g(t){var e=t.data,n=void 0===e?[]:e;return 1===n.length?Object(o["b"])({},t,{meta:d(t)}):t}function y(t){var e=t.chart,n=t.options,i=n.data,c=n.type,l=n.color,u=n.shape,h=n.pointStyle,f=n.shapeField,p=n.colorField,d=n.xField,g=n.yField,y=n.sizeField,v=n.size,m=n.tooltip;y&&(v||(v=[2,8]),Object(a["isNumber"])(v)&&(v=[v,v])),m&&!m.fields&&(m=Object(r["a"])(Object(r["a"])({},m),{fields:[d,g,p,y,f]})),e.data(i),Object(s["e"])(Object(o["b"])({},t,{options:{seriesField:p,point:{color:l,shape:u,size:v,style:h},tooltip:m}}));var b=Object(o["c"])(e,"point");return c&&b.adjust(c),t}function v(t){var e,n=t.options,r=n.data,i=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField,u=n;return 1===r.length&&(u=g(Object(o["b"])({},n,{meta:d(n)}))),Object(o["e"])(Object(c["f"])((e={},e[s]=i,e[l]=a,e)))(Object(o["b"])({},t,{options:u}))}function m(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return e.axis(o,r),e.axis(a,i),t}function b(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.shapeField,s=n.sizeField,c=Object(a["isBoolean"])(r)?r:r||!(!o&&!i);return c?(e.legend(i||o,r),s&&e.legend(s,!1)):e.legend(!1),t}function x(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"point");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o["r"])(l)})}else s.label(!1);return t}function O(t){var e=t.options,n=e.quadrant,i=[];if(n){var a=n.xBaseline,s=void 0===a?0:a,l=n.yBaseline,u=void 0===l?0:l,f=n.labels,p=n.regionStyle,d=n.lineStyle,g=h(s,u),y=new Array(4).join(",").split(",");y.forEach(function(t,e){i.push(Object(r["a"])(Object(r["a"])({type:"region",top:!1},g.regionStyle[e].position),{style:Object(o["b"])({},g.regionStyle[e].style,null===p||void 0===p?void 0:p[e])}),Object(r["a"])({type:"text",top:!0},Object(o["b"])({},g.labelStyle[e],null===f||void 0===f?void 0:f[e])))}),i.push({type:"line",top:!1,start:["min",u],end:["max",u],style:Object(o["b"])({},g.lineStyle,d)},{type:"line",top:!1,start:[s,"min"],end:[s,"max"],style:Object(o["b"])({},g.lineStyle,d)})}return Object(o["e"])(Object(c["b"])(i))(t)}function j(t){var e=t.options,n=t.chart,i=e.regressionLine;if(i){var o=i.style,a=i.top,s=void 0!==a&&a,c={stroke:"#9ba29a",lineWidth:2,opacity:.5};n.annotation().shape({top:s,render:function(t,i){var a=t.addGroup({id:n.id+"-regression-line",name:"regression-line-group"}),s=p({view:i,options:e});a.addShape("path",{name:"regression-line",attrs:Object(r["a"])(Object(r["a"])({path:s},c),o)})}})}return t}function w(t){var e=t.chart,n=t.options,r=n.tooltip;return r?e.tooltip(r):!1===r&&e.tooltip(!1),t}function k(t){return Object(o["e"])(y,v,m,b,w,x,c["c"],O,c["a"],c["j"],j)(t)}n("hag6"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption(g(Object(o["b"])({},this.options,{data:t})));var e=this,n=e.options,r=e.chart;v({chart:r,options:n}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return k},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})}}(i["b"])},tGEx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];e.editorOptions=r;var i=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];e.editorEvents=i;var o=function(){var t;return window.ace?(t=window.ace,t.acequire=window.ace.require||window.ace.acequire):t=n("bU/s"),t};e.getAceInstance=o;var a=function(t,e){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(r,i)},e)}};e.debounce=a},tKoa:function(t,e,n){"use strict";var r=n("mrSG"),i=n("5HRO"),o=n("YuPD"),a=n("WOQw");function s(t){var e=t.options,n=e.area,s=e.xField,c=e.yField,l=e.seriesField,u=e.smooth,h=e.tooltip,f=Object(i["a"])(h,[s,c,l]),p=f.fields,d=f.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"area",colorField:l,tooltipFields:p,mapping:Object(r["a"])({shape:u?"smooth":"area",tooltip:d},n)}})):t}var c=n("iTfj");function l(t){var e=t.options,n=e.line,r=e.stepType,s=e.xField,l=e.yField,u=e.seriesField,h=e.smooth,f=e.connectNulls,p=e.tooltip,d=Object(i["a"])(p,[s,l,u]),g=d.fields,y=d.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"line",colorField:u,tooltipFields:g,mapping:Object(c["deepMix"])({shape:r||(h?"smooth":"line"),tooltip:y},n),args:{connectNulls:f}}})):t}function u(t){var e=t.options,n=e.point,s=e.xField,c=e.yField,l=e.seriesField,u=e.sizeField,h=e.shapeField,f=e.tooltip,p=Object(i["a"])(f,[s,c,l,u,h]),d=p.fields,g=p.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"point",colorField:l,shapeField:h,tooltipFields:d,mapping:Object(r["a"])({tooltip:g},n)}})):t}var h=n("kXyF");function f(t){var e=t.chart,n=t.options,r=t.ext,i=n.seriesField,a=n.isGroup,s=n.isStack,l=n.marginRatio,u=n.widthRatio,f=n.groupField,p=n.theme,d=[];if(i&&(a&&d.push({type:"dodge",dodgeBy:f||i,marginRatio:l}),s&&d.push({type:"stack",marginRatio:l})),d.length&&(null===r||void 0===r?void 0:r.geometry)){var g=null===r||void 0===r?void 0:r.geometry;g.adjust(d)}return Object(c["isNil"])(u)||e.theme(Object(o["b"])({},Object(c["isObject"])(p)?p:Object(h["h"])(p),{columnWidthRatio:u})),t}function p(t){var e=t.options,n=e.xField,s=e.yField,c=e.interval,l=e.seriesField,u=e.tooltip,h=e.minColumnWidth,p=e.maxColumnWidth,d=e.columnBackground,g=Object(i["a"])(u,[n,s,l]),y=g.fields,v=g.formatter,m=(c?Object(a["a"])(Object(o["b"])({},t,{options:{type:"interval",colorField:l,tooltipFields:y,mapping:Object(r["a"])({tooltip:v},c),args:{minColumnWidth:h,maxColumnWidth:p,background:d}}})):t).ext;return f(Object(r["a"])(Object(r["a"])({},t),{ext:m}))}var d=n("KMYG");function g(t){var e=t.options,n=e.edge,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,h=Object(i["a"])(u,[s,c,l]),f=h.fields,p=h.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"edge",colorField:l,tooltipFields:f,mapping:Object(r["a"])({tooltip:p},n)}})):t}n.d(e,"a",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return u}),n.d(e,"c",function(){return p}),n.d(e,"f",function(){return d["a"]}),n.d(e,"b",function(){return g})},tLB3:function(t,e,n){var r=n("jXQH"),i=n("GoyQ"),o=n("/9aa"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;function h(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):s.test(t)?a:+t}t.exports=h},tMB7:function(t,e,n){var r=n("y1pI");function i(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}t.exports=i},tdXX:function(t,e){},tvuL:function(t,e,n){"use strict";n.r(e),n.d(e,"catmullRomToBezier",function(){return c}),n.d(e,"fillPath",function(){return L}),n.d(e,"fillPathByDiff",function(){return B}),n.d(e,"formatPath",function(){return z}),n.d(e,"intersection",function(){return T}),n.d(e,"parsePathArray",function(){return y}),n.d(e,"parsePathString",function(){return s}),n.d(e,"pathToAbsolute",function(){return u}),n.d(e,"pathToCurve",function(){return d}),n.d(e,"rectPath",function(){return j});var r=n("iTfj"),i="\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])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),a=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig"),s=function(t){if(!t)return null;if(Object(r["isArray"])(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(r,i,o){var s=[],c=i.toLowerCase();if(o.replace(a,function(t,e){e&&s.push(+e)}),"m"===c&&s.length>2&&(n.push([i].concat(s.splice(0,2))),c="l",i="m"===i?"l":"L"),"o"===c&&1===s.length&&n.push([i,s[0]]),"r"===c)n.push([i].concat(s));else while(s.length>=e[c])if(n.push([i].concat(s.splice(0,e[c]))),!e[c])break;return t}),n},c=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},l=function(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,s=t+n*Math.cos(-r*a),c=t+n*Math.cos(-i*a),l=e+n*Math.sin(-r*a),u=e+n*Math.sin(-i*a);o=[["M",s,l],["A",n,n,0,+(i-r>180),0,c,u]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},u=function(t){if(t=s(t),!t||!t.length)return[["M",0,0]];var e,n,r=[],i=0,o=0,a=0,u=0,h=0;"M"===t[0][0]&&(i=+t[0][1],o=+t[0][2],a=i,u=o,h++,r[0]=["M",i,o]);for(var f=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,d=void 0,g=h,y=t.length;g1&&(j=Math.sqrt(j),n*=j,r*=j);var w=n*n,k=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((w*k-w*O*O-k*x*x)/(w*O*O+k*x*x)));d=S*n*O/r+(t+s)/2,g=S*-r*x/n+(e+c)/2,h=Math.asin(((e-g)/r).toFixed(9)),f=Math.asin(((c-g)/r).toFixed(9)),h=tf&&(h-=2*Math.PI),!a&&f>h&&(f-=2*Math.PI)}var C=f-h;if(Math.abs(C)>y){var M=f,A=s,T=c;f=h+y*(a&&f>h?1:-1),s=d+n*Math.cos(f),c=g+r*Math.sin(f),m=p(s,c,n,r,i,0,a,A,T,[f,M,d,g])}C=f-h;var E=Math.cos(h),P=Math.sin(h),_=Math.cos(f),L=Math.sin(f),F=Math.tan(C/4),I=4/3*n*F,D=4/3*r*F,B=[t,e],R=[t+I*P,e-D*E],N=[s+I*L,c-D*_],z=[s,c];if(R[0]=2*B[0]-R[0],R[1]=2*B[1]-R[1],l)return[R,N,z].concat(m);m=[R,N,z].concat(m).join().split(",");for(var Y=[],G=0,V=m.length;G7){t[e].shift();var o=t[e];while(o.length)s[e]="A",i&&(c[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},v=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var m=0;m1?1:c<0?0:c;for(var l=c/2,u=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,d=0;d0&&h<1&&f.push(h)}else{var g=l*l-4*u*c,y=Math.sqrt(g);if(!(g<0)){var v=(-l+y)/(2*c);v>0&&v<1&&f.push(v);var m=(-l-y)/(2*c);m>0&&m<1&&f.push(m)}}var b,x=f.length,O=x;while(x--)h=f[x],b=1-h,p[0][x]=b*b*b*t+3*b*b*h*n+3*b*h*h*i+h*h*h*a,p[1][x]=b*b*b*e+3*b*b*h*r+3*b*h*h*o+h*h*h*s;return p[0][O]=t,p[1][O]=e,p[0][O+1]=a,p[1][O+1]=s,p[0].length=p[1].length=O+2,{min:{x:Math.min.apply(0,p[0]),y:Math.min.apply(0,p[1])},max:{x:Math.max.apply(0,p[0]),y:Math.max.apply(0,p[1])}}},x=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)Math.max(i,a)||Math.max(e,r)Math.max(o,s))){var c=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),l=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),u=(t-n)*(o-s)-(e-r)*(i-a);if(u){var h=c/u,f=l/u,p=+h.toFixed(2),d=+f.toFixed(2);if(!(p<+Math.min(t,n).toFixed(2)||p>+Math.max(t,n).toFixed(2)||p<+Math.min(i,a).toFixed(2)||p>+Math.max(i,a).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(o,s).toFixed(2)||d>+Math.max(o,s).toFixed(2)))return{x:h,y:f}}}},O=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},j=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=y,o},w=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:j(t,e,n,r),vb:[t,e,n,r].join(" ")}},k=function(t,e){return t=w(t),e=w(e),O(e,t.x,t.y)||O(e,t.x2,t.y)||O(e,t.x,t.y2)||O(e,t.x2,t.y2)||O(t,e.x,e.y)||O(t,e.x2,e.y)||O(t,e.x,e.y2)||O(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)},S=function(t,e,n,i,o,a,s,c){Object(r["isArray"])(t)||(t=[t,e,n,i,o,a,s,c]);var l=b.apply(null,t);return w(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},C=function(t,e,n,r,i,o,a,s,c){var l=1-c,u=Math.pow(l,3),h=Math.pow(l,2),f=c*c,p=f*c,d=u*t+3*h*c*n+3*l*c*c*i+p*a,g=u*e+3*h*c*r+3*l*c*c*o+p*s,y=t+2*c*(n-t)+f*(i-2*n+t),v=e+2*c*(r-e)+f*(o-2*r+e),m=n+2*c*(i-n)+f*(a-2*i+n),b=r+2*c*(o-r)+f*(s-2*o+r),x=l*t+c*n,O=l*e+c*r,j=l*i+c*a,w=l*o+c*s,k=90-180*Math.atan2(y-m,v-b)/Math.PI;return{x:d,y:g,m:{x:y,y:v},n:{x:m,y:b},start:{x:x,y:O},end:{x:j,y:w},alpha:k}},M=function(t,e,n){var r=S(t),i=S(e);if(!k(r,i))return n?0:[];for(var o=m.apply(0,t),a=m.apply(0,e),s=~~(o/8),c=~~(a/8),l=[],u=[],h={},f=n?0:[],p=0;p=0&&A<=1&&T>=0&&T<=1&&(n?f+=1:f.push({x:M.x,y:M.y,t1:A,t2:T}))}}return f},A=function(t,e,n){var r,i,o,a,s,c,l,u,h,f;t=d(t),e=d(e);for(var p=n?0:[],g=0,y=t.length;g=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1]),e});return u}var _=function(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(P(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r},L=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a=0;c--)a=o[c].index,"add"===o[c].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}r=t.length;var h=i-r;if(r0)){t[r]=e[r];break}n=R(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],2)}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],1)}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t}},u0qK:function(t,e,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(t,e){return a[e.toLowerCase()]}function c(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],"text"!==n.type||r||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(t){var e,n,i=0;for(e=t.length-1;e>=0;e--)n=t[e],"text"!==n.type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(i.test(t.tokens[e].content)&&c(t.tokens[e].children),r.test(t.tokens[e].content)&&l(t.tokens[e].children))}},u60a:function(t,e,n){"use strict";n.r(e),n.d(e,"CONTAINER_CLASS",function(){return r}),n.d(e,"TITLE_CLASS",function(){return i}),n.d(e,"LIST_CLASS",function(){return o}),n.d(e,"LIST_ITEM_CLASS",function(){return a}),n.d(e,"MARKER_CLASS",function(){return s}),n.d(e,"VALUE_CLASS",function(){return c}),n.d(e,"NAME_CLASS",function(){return l}),n.d(e,"CROSSHAIR_X",function(){return u}),n.d(e,"CROSSHAIR_Y",function(){return h});var r="g2-tooltip",i="g2-tooltip-title",o="g2-tooltip-list",a="g2-tooltip-list-item",s="g2-tooltip-marker",c="g2-tooltip-value",l="g2-tooltip-name",u="g2-tooltip-crosshair-x",h="g2-tooltip-crosshair-y"},u8Dt:function(t,e,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(t){var e=this.__data__;if(r){var n=e[t];return n===i?void 0:n}return a.call(e,t)?e[t]:void 0}t.exports=s},"u9/z":function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return h});var r=n("iTfj"),i=n("YuPD"),o=n("w02o"),a=n("tKoa"),s=n("Mffy"),c=n("B3DA");function l(t){var e=t.chart,n=t.options,o=n.percent,l=n.progressStyle,u=n.color,h=n.barWidthRatio;e.data(Object(c["a"])(o));var f=Object(i["b"])({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:h,interval:{style:l,color:Object(r["isString"])(u)?[u,s["a"][1]]:u},args:{zIndexReversed:!0}}});return Object(a["c"])(f),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function u(t){var e=t.chart;return e.coordinate("rect").transpose(),t}function h(t){return Object(i["e"])(l,Object(o["f"])({}),u,o["a"],o["j"],Object(o["b"])())(t)}},u9VJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("sqD9"),a=n("DMQx"),s=n("YuPD"),c=Object(s["b"])({},i["b"].getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});n.d(e,"a",function(){return l});var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this,c=s.chart,l=s.options;Object(a["b"])({chart:c,options:l}),this.chart.changeData(Object(o["a"])(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},uCX8:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("iTfj"),o=n("MeYt"),a=n("BgvD"),s=n("jqgP"),c=n("5UbV");function l(t,e){var n=e.x,o=e.y,l=e.content,u=e.style,h=e.id,f=e.name,p=e.rotate,d=e.maxLength,g=e.autoEllipsis,y=e.isVertical,v=e.ellipsisPosition,m=e.background,b=t.addGroup({id:h+"-group",name:f+"-group",attrs:{x:n,y:o}}),x=b.addShape({type:"text",id:h,name:f,attrs:Object(r["a"])({x:0,y:0,text:l},u)}),O=Object(c["c"])(Object(i["get"])(m,"padding",0));if(d&&g){var j=d-(O[1]+O[3]);Object(a["a"])(!y,x,j,v)}if(m){var w=Object(i["get"])(m,"style",{}),k=x.getCanvasBBox(),S=k.minX,C=k.minY,M=k.width,A=k.height,T=b.addShape("rect",{id:h+"-bg",name:h+"-bg",attrs:Object(r["a"])({x:S-O[3],y:C-O[0],width:M+O[1]+O[3],height:A+O[0]+O[2]},w)});T.toBack()}Object(s["c"])(b,n,o),Object(s["b"])(b,p,n,o)}var u=n("L16w"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:u["a"].textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:u["a"].fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:u["a"].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(r["a"])({x1:e.x,y1:e.y,x2:n.x,y2:n.y},i)})},e.prototype.getLabelPoint=function(t,e,n){var r;return r="start"===n?0:"center"===n?.5:Object(i["isString"])(n)&&-1!==n.indexOf("%")?parseInt(n,10)/100:Object(i["isNumber"])(n)?n:1,(r>1||r<0)&&(r=1),{x:Object(c["g"])(t.x,e.x,r),y:Object(c["g"])(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,o=e.content,a=e.style,s=e.offsetX,c=e.offsetY,u=e.autoRotate,h=e.maxLength,f=e.autoEllipsis,p=e.ellipsisPosition,d=e.background,g=e.isVertical,y=void 0!==g&&g,v=this.getLabelPoint(n,r,i),m=v.x+s,b=v.y+c,x={id:this.getElementId("line-text"),name:"annotation-line-text",x:m,y:b,content:o,style:a,maxLength:h,autoEllipsis:f,ellipsisPosition:p,background:d,isVertical:y};if(u){var O=[r.x-n.x,r.y-n.y];x.rotate=Math.atan2(O[1],O[0])}l(t,x)},e}(o["a"]),f=h,p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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:u["a"].textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:u["a"].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,r=e.y,i=this.get("content"),o=this.get("style"),a=this.getElementId("text"),s=this.get("name")+"-text",c=this.get("maxLength"),u=this.get("autoEllipsis"),h=this.get("isVertical"),f=this.get("ellipsisPosition"),p=this.get("background"),d=this.get("rotate"),g={id:a,name:s,x:n,y:r,content:i,style:o,maxLength:c,autoEllipsis:u,isVertical:h,ellipsisPosition:f,background:p,rotate:d};l(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("rotate");Object(s["c"])(t,n,r),Object(s["b"])(t,i,n,r)}},e}(o["a"]),d=p,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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,r=t.startAngle,i=t.endAngle,o=Object(c["e"])(e,n,r),a=Object(c["e"])(e,n,i),s=i-r>Math.PI?1:0,l=[["M",o.x,o.y]];if(i-r===2*Math.PI){var u=Object(c["e"])(e,n,r+Math.PI);l.push(["A",n,n,0,s,1,u.x,u.y]),l.push(["A",n,n,0,s,1,a.x,a.y])}else l.push(["A",n,n,0,s,1,a.x,a.y]);return l},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(r["a"])({path:e},n)})},e}(o["a"]),y=g,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:u["a"].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"),o=Object(c["k"])({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r["a"])({x:o.x,y:o.y,width:o.width,height:o.height},i)})},e}(o["a"]),m=v,b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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=Object(c["k"])({start:t,end:e}),o=this.get("src");return Object(r["a"])({x:i.x,y:i.y,img:o,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}(o["a"]),x=b,O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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:u["a"].lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u["a"].textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u["a"].fontFamily}}}})},e.prototype.renderInner=function(t){Object(i["get"])(this.get("line"),"display")&&this.renderLine(t),Object(i["get"])(this.get("text"),"display")&&this.renderText(t),Object(i["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,o=e.text,a=Object(r["c"])(e,["x","y","text"]),s=this.get("text"),c=s.background,u=s.maxLength,h=s.autoEllipsis,f=s.isVertival,p=s.ellipsisPosition,d={x:n,y:i,id:this.getElementId("text"),name:"annotation-text",content:o,style:a,background:c,maxLength:u,autoEllipsis:h,isVertival:f,ellipsisPosition:p};l(t,d)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),o=Object(i["get"])(this.get("line"),"length",0),a=this.get("coordinateBBox"),c=t.getBBox(),l=c.minX,u=c.maxX,h=c.minY,f=c.maxY,p=t.findById(this.getElementId("text-group")),d=t.findById(this.getElementId("text")),g=t.findById(this.getElementId("line"));if(a){if(p){if(n+l<=a.minX){var y=a.minX-(n+l);Object(s["c"])(p,p.attr("x")+y,p.attr("y"))}if(n+u>=a.maxX){y=n+u-a.maxX;Object(s["c"])(p,p.attr("x")-y,p.attr("y"))}}if("upward"===e&&r+h<=a.minY||"upward"!==e&&r+f>=a.maxY){var v=void 0,m=void 0;"upward"===e&&r+h<=a.minY?(v="top",m=1):(v="bottom",m=-1),d.attr("textBaseline",v),g&&g.attr("path",[["M",0,0],["L",0,o*m]]),Object(s["c"])(p,p.attr("x"),(o+2)*m)}}},e.prototype.getShapeAttrs=function(){var t=Object(i["get"])(this.get("line"),"display"),e=Object(i["get"])(this.get("point"),"style",{}),n=Object(i["get"])(this.get("line"),"style",{}),o=Object(i["get"])(this.get("text"),"style",{}),a=this.get("direction"),s=t?Object(i["get"])(this.get("line"),"length",0):0,c="upward"===a?-1:1;return{point:Object(r["a"])({x:0,y:0},e),line:Object(r["a"])({path:[["M",0,0],["L",0,s*c]]},n),text:Object(r["a"])({x:0,y:(s+2)*c,text:Object(i["get"])(this.get("text"),"content",""),textBaseline:"upward"===a?"bottom":"top"},o)}},e}(o["a"]),j=O,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:u["a"].regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:u["a"].textColor,fontFamily:u["a"].fontFamily}}}})},e.prototype.renderInner=function(t){var e=Object(i["get"])(this.get("region"),"style",{}),n=(Object(i["get"])(this.get("text"),"style",{}),this.get("lineLength")||0),o=this.get("points");if(o.length){var a=Object(c["j"])(o),s=[];s.push(["M",o[0].x,a.minY-n]),o.forEach(function(t){s.push(["L",t.x,t.y])}),s.push(["L",o[o.length-1].x,o[o.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r["a"])({path:s},e)});var u=Object(r["a"])({id:this.getElementId("text"),name:"annotation-text",x:(a.minX+a.maxX)/2,y:a.minY-n},this.get("text"));l(t,u)}},e}(o["a"]),k=w,S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},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"),r=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});Object(i["each"])(this.get("shapes"),function(t,n){var r=t.get("type"),a=Object(i["clone"])(t.attr());e.adjustShapeAttrs(a),e.addShape(o,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:a})});var a=Object(c["k"])({start:n,end:r});o.setClip({type:"rect",attrs:{x:a.minX,y:a.minY,width:a.width,height:a.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o["a"]),C=S,M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"shape",draw:i["noop"]})},e.prototype.renderInner=function(t){var e=this.get("render");Object(i["isFunction"])(e)&&e(t)},e}(o["a"]),A=M,T=n("fIp6"),E=n("de35"),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
      ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");Object(c["a"])(t);var n=Object(i["isFunction"])(e)?e(t):e;Object(i["isElement"])(n)?t.appendChild(n):Object(i["isString"])(n)&&t.appendChild(Object(T["b"])(n)),this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),a=this.get("offsetX"),s=this.get("offsetY"),c=Object(T["d"])(t),l=Object(T["c"])(t),u={x:n,y:r};"middle"===i?u.x-=Math.round(c/2):"right"===i&&(u.x-=Math.round(c)),"middle"===o?u.y-=Math.round(l/2):"bottom"===o&&(u.y-=Math.round(l)),a&&(u.x+=a),s&&(u.y+=s),Object(T["e"])(t,{position:"absolute",left:u.x+"px",top:u.y+"px",zIndex:this.get("zIndex")})},e}(E["a"]),_=P;n.d(e,"Line",function(){return f}),n.d(e,"Text",function(){return d}),n.d(e,"Arc",function(){return y}),n.d(e,"Region",function(){return m}),n.d(e,"Image",function(){return x}),n.d(e,"DataMarker",function(){return j}),n.d(e,"DataRegion",function(){return k}),n.d(e,"RegionFilter",function(){return C}),n.d(e,"Shape",function(){return A}),n.d(e,"Html",function(){return _})},ugOi:function(t,e,n){var r=n("kewz"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},usqY:function(t,e,n){"use strict";function r(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){var n=t.pos;while(n1){var o=a(e,n);return e*i+o*(i-1)}return e}function a(t,e){return e?e-t:.14*t}function s(t,e){var n=Object(i["a"])(),o=0;if(Object(r["e"])(t)||""===t)return o;if(n.save(),n.font=e,Object(r["h"])(t)&&t.includes("\n")){var a=t.split("\n");Object(r["a"])(a,function(t){var e=n.measureText(t).width;o_.length&&_.push(t)}function I(t,e,n,r){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var s=!1;if(null===t)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return n(r,t,""===e?"."+B(t,0):e),1;if(s=0,e=""===e?".":e+":",Array.isArray(t))for(var c=0;c=4)return!1;if(f+3>p)return!1;if(i=t.src.charCodeAt(f),126!==i&&96!==i)return!1;if(c=f,f=t.skipChars(f,i),o=f-c,o<3)return!1;if(u=t.src.slice(c,f),a=t.src.slice(f,p),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=e;;){if(s++,s>=n)break;if(f=c=t.bMarks[s]+t.tShift[s],p=t.eMarks[s],f=4)&&(f=t.skipChars(f,i),!(f-c'}),n}function y(t,e){var n,r,i=f.exec(t),o=Object(h["mod"])(Object(h["toRadian"])(parseFloat(i[1])),2*Math.PI),a=i[2];o>=0&&o<.5*Math.PI?(n={x:0,y:0},r={x:1,y:1}):.5*Math.PI<=o&&o';e.innerHTML=n},t}(),w=j,k=function(){function t(t,e){this.cfg={};var n=Object(c["b"])("marker"),r=Object(h["uniqueId"])("marker_");n.setAttribute("id",r);var i=Object(c["b"])("path");i.setAttribute("stroke",t.stroke||"none"),i.setAttribute("fill",t.fill||"none"),n.appendChild(i),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=i,this.id=r;var o=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===o?this._setDefaultPath(e,i):(this.cfg=o,this._setMarker(t.lineWidth,i)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,r=this.cfg.path,i=this.cfg.d;Object(h["isArray"])(r)&&(r=r.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",r),n.appendChild(e),i&&n.setAttribute("refX",""+i/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}(),S=k,C=function(){function t(t){this.type="clip",this.cfg={};var e=Object(c["b"])("clipPath");this.el=e,this.id=Object(h["uniqueId"])("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}(),M=C,A=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,T=function(){function t(t){this.cfg={};var e=Object(c["b"])("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=Object(c["b"])("image");e.appendChild(n);var r=Object(h["uniqueId"])("pattern_");e.id=r,this.el=e,this.id=r,this.cfg=t;var i=A.exec(t),o=i[2];n.setAttribute("href",o);var a=new Image;function s(){e.setAttribute("width",""+a.width),e.setAttribute("height",""+a.height)}return o.match(/^data:/i)||(a.crossOrigin="Anonymous"),a.src=o,a.complete?s():(a.onload=s,a.src=a.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),E=T,P=function(){function t(t){var e=Object(c["b"])("defs"),n=Object(h["uniqueId"])("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i-1&&t%1==0&&t>>0;for(e=0;e0)for(n=0;n=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},z={};function Y(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(B);for(e=0,n=r.length;e=0&&R.test(t))t=t.replace(R,r),R.lastIndex=0,n-=1;return t}var X={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function U(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(B).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}var q="Invalid date";function Z(){return this._invalidDate}var K="%d",Q=/\d{1,2}/;function $(t){return this._ordinal.replace("%d",t)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tt(t,e,n,r){var i=this._relativeTime[n];return E(i)?i(t,e,n,r):i.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)}var nt={};function rt(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function it(t){return"string"===typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,r={};for(n in t)c(t,n)&&(e=it(n),e&&(r[e]=t[n]));return r}var at={};function st(t,e){at[t]=e}function ct(t){var e,n=[];for(e in t)c(t,e)&&n.push({unit:e,priority:at[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}function lt(t){return t%4===0&&t%100!==0||t%400===0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ht(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function ft(t,e){return function(n){return null!=n?(dt(this,t,n),i.updateOffset(this,e),this):pt(this,t)}}function pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&<(t.year())&&1===t.month()&&29===t.date()?(n=ht(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return t=it(t),E(this[t])?this[t]():this}function yt(t,e){if("object"===typeof t){t=ot(t);var n,r=ct(t);for(n=0;n68?1900:2e3)};var ve=ft("FullYear",!0);function me(){return lt(this.year())}function be(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function xe(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Oe(t,e,n){var r=7+e-n,i=(7+xe(t,0,r).getUTCDay()-e)%7;return-i+r-1}function je(t,e,n,r,i){var o,a,s=(7+n-r)%7,c=Oe(t,r,i),l=1+7*(e-1)+s+c;return l<=0?(o=t-1,a=ye(o)+l):l>ye(t)?(o=t+1,a=l-ye(t)):(o=t,a=l),{year:o,dayOfYear:a}}function we(t,e,n){var r,i,o=Oe(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+ke(i,e,n)):a>ke(t.year(),e,n)?(r=a-ke(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function ke(t,e,n){var r=Oe(t,e,n),i=Oe(t+1,e,n);return(ye(t)-r+i)/7}function Se(t){return we(t,this._week.dow,this._week.doy).week}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),st("week",5),st("isoWeek",5),It("w",wt),It("ww",wt,bt),It("W",wt),It("WW",wt,bt),Yt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ht(t)});var Ce={dow:0,doy:6};function Me(){return this._week.dow}function Ae(){return this._week.doy}function Te(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ee(t){var e=we(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Pe(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function _e(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Le(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),It("d",wt),It("e",wt),It("E",wt),It("dd",function(t,e){return e.weekdaysMinRegex(t)}),It("ddd",function(t,e){return e.weekdaysShortRegex(t)}),It("dddd",function(t,e){return e.weekdaysRegex(t)}),Yt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:v(n).invalidWeekday=t}),Yt(["d","e","E"],function(t,e,n,r){e[r]=ht(t)});var Fe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ie="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),De="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Be=Ft,Re=Ft,Ne=Ft;function ze(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Le(n,this._week.dow):t?n[t.day()]:n}function Ye(t){return!0===t?Le(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ge(t){return!0===t?Le(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ve(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=Vt.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function We(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ve.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function He(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Pe(t,this.localeData()),this.add(t-e,"d")):e}function Xe(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ue(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=_e(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Be),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ze(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Re),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ke(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ne),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qe(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=g([2e3,1]).day(e),r=Rt(this.weekdaysMin(n,"")),i=Rt(this.weekdaysShort(n,"")),o=Rt(this.weekdays(n,"")),a.push(r),s.push(i),c.push(o),l.push(r),l.push(i),l.push(o);a.sort(t),s.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function Je(){return this.hours()||24}function tn(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,$e),Y("k",["kk",2],0,Je),Y("hmm",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),tn("a",!0),tn("A",!1),rt("hour","h"),st("hour",13),It("a",en),It("A",en),It("H",wt),It("h",wt),It("k",wt),It("HH",wt,bt),It("hh",wt,bt),It("kk",wt,bt),It("hmm",kt),It("hmmss",St),It("Hmm",kt),It("Hmmss",St),zt(["H","HH"],Ut),zt(["k","kk"],function(t,e,n){var r=ht(t);e[Ut]=24===r?0:r}),zt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),zt(["h","hh"],function(t,e,n){e[Ut]=ht(t),v(n).bigHour=!0}),zt("hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r)),v(n).bigHour=!0}),zt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r,2)),e[Zt]=ht(t.substr(i)),v(n).bigHour=!0}),zt("Hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r))}),zt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r,2)),e[Zt]=ht(t.substr(i))});var rn=/[ap]\.?m?\.?/i,on=ft("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var sn,cn={calendar:F,longDateFormat:X,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:Q,relativeTime:J,months:ee,monthsShort:ne,week:Ce,weekdays:Fe,weekdaysMin:De,weekdaysShort:Ie,meridiemParse:rn},ln={},un={};function hn(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n0){if(r=dn(i.slice(0,e).join("-")),r)return r;if(n&&n.length>=e&&hn(i,n)>=e-1)break;e--}o++}return sn}function dn(n){var r=null;if(void 0===ln[n]&&"undefined"!==typeof t&&t&&t.exports)try{r=sn._abbr,e,function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),gn(r)}catch(t){ln[n]=null}return ln[n]}function gn(t,e){var n;return t&&(n=u(e)?mn(t):yn(t,e),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sn._abbr}function yn(t,e){if(null!==e){var n,r=cn;if(e.abbr=t,null!=ln[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[t]._config;else if(null!=e.parentLocale)if(null!=ln[e.parentLocale])r=ln[e.parentLocale]._config;else{if(n=dn(e.parentLocale),null==n)return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ln[t]=new L(_(r,e)),un[t]&&un[t].forEach(function(t){yn(t.name,t.config)}),gn(t),ln[t]}return delete ln[t],null}function vn(t,e){if(null!=e){var n,r,i=cn;null!=ln[t]&&null!=ln[t].parentLocale?ln[t].set(_(ln[t]._config,e)):(r=dn(t),null!=r&&(i=r._config),e=_(i,e),null==r&&(e.abbr=t),n=new L(e),n.parentLocale=ln[t],ln[t]=n),gn(t)}else null!=ln[t]&&(null!=ln[t].parentLocale?(ln[t]=ln[t].parentLocale,t===gn()&&gn(t)):null!=ln[t]&&delete ln[t]);return ln[t]}function mn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sn;if(!a(t)){if(e=dn(t),e)return e;t=[t]}return pn(t)}function bn(){return M(ln)}function xn(t){var e,n=t._a;return n&&-2===v(t).overflow&&(e=n[Ht]<0||n[Ht]>11?Ht:n[Xt]<1||n[Xt]>te(n[Wt],n[Ht])?Xt:n[Ut]<0||n[Ut]>24||24===n[Ut]&&(0!==n[qt]||0!==n[Zt]||0!==n[Kt])?Ut:n[qt]<0||n[qt]>59?qt:n[Zt]<0||n[Zt]>59?Zt:n[Kt]<0||n[Kt]>999?Kt:-1,v(t)._overflowDayOfYear&&(eXt)&&(e=Xt),v(t)._overflowWeeks&&-1===e&&(e=Qt),v(t)._overflowWeekday&&-1===e&&(e=$t),v(t).overflow=e),t}var On=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,jn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Cn=/^\/?Date\((-?\d+)/i,Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tn(t){var e,n,r,i,o,a,s=t._i,c=On.exec(s)||jn.exec(s);if(c){for(v(t).iso=!0,e=0,n=kn.length;eye(o)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Ht]=n.getUTCMonth(),t._a[Xt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Ut]&&0===t._a[qt]&&0===t._a[Zt]&&0===t._a[Kt]&&(t._nextDay=!0,t._a[Ut]=0),t._d=(t._useUTC?xe:be).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ut]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(v(t).weekdayMismatch=!0)}}function zn(t){var e,n,r,i,o,a,s,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=Bn(e.GG,t._a[Wt],we(Zn(),1,4).year),r=Bn(e.W,1),i=Bn(e.E,1),(i<1||i>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=we(Zn(),o,a),n=Bn(e.gg,t._a[Wt],l.year),r=Bn(e.w,l.week),null!=e.d?(i=e.d,(i<0||i>6)&&(c=!0)):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(c=!0)):i=o),r<1||r>ke(n,o,a)?v(t)._overflowWeeks=!0:null!=c?v(t)._overflowWeekday=!0:(s=je(n,r,i,o,a),t._a[Wt]=s.year,t._dayOfYear=s.dayOfYear)}function Yn(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],v(t).empty=!0;var e,n,r,o,a,s,c=""+t._i,l=c.length,u=0;for(r=H(t._f,t._locale).match(B)||[],e=0;e0&&v(t).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),z[o]?(n?v(t).empty=!1:v(t).unusedTokens.push(o),Gt(o,n,t)):t._strict&&!n&&v(t).unusedTokens.push(o);v(t).charsLeftOver=l-u,c.length>0&&v(t).unusedInput.push(c),t._a[Ut]<=12&&!0===v(t).bigHour&&t._a[Ut]>0&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[Ut]=Gn(t._locale,t._a[Ut],t._meridiem),s=v(t).era,null!==s&&(t._a[Wt]=t._locale.erasConvertYear(s,t._a[Wt])),Nn(t),xn(t)}else In(t);else Tn(t)}function Gn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Vn(t){var e,n,r,i,o,a,s=!1;if(0===t._f.length)return v(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:b()});function $n(t,e){var n,r;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function jr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return j(e,this),e=Xn(e),e._a?(t=e._isUTC?g(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&lr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var Cr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ar(t,e){var n,r,i,o=t,a=null;return sr(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Cr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ht(a[Xt])*n,h:ht(a[Ut])*n,m:ht(a[qt])*n,s:ht(a[Zt])*n,ms:ht(cr(1e3*a[Kt]))*n}):(a=Mr.exec(t))?(n="-"===a[1]?-1:1,o={y:Tr(a[2],n),M:Tr(a[3],n),w:Tr(a[4],n),d:Tr(a[5],n),h:Tr(a[6],n),m:Tr(a[7],n),s:Tr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Pr(Zn(o.from),Zn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(t)&&c(t,"_locale")&&(r._locale=t._locale),sr(t)&&c(t,"_isValid")&&(r._isValid=t._isValid),r}function Tr(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Er(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Pr(t,e){var n;return t.isValid()&&e.isValid()?(e=pr(e,t),t.isBefore(e)?n=Er(t,e):(n=Er(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function _r(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Ar(n,r),Lr(this,i,t),this}}function Lr(t,e,n,r){var o=e._milliseconds,a=cr(e._days),s=cr(e._months);t.isValid()&&(r=null==r||r,s&&ue(t,pt(t,"Month")+s*n),a&&dt(t,"Date",pt(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,a||s))}Ar.fn=ar.prototype,Ar.invalid=or;var Fr=_r(1,"add"),Ir=_r(-1,"subtract");function Dr(t){return"string"===typeof t||t instanceof String}function Br(t){return k(t)||f(t)||Dr(t)||h(t)||Nr(t)||Rr(t)||null===t||void 0===t}function Rr(t){var e,n,r=s(t)&&!l(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;en.valueOf():n.valueOf()9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(t+e+n+r)}function ei(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ni(t,e){return this.isValid()&&(k(t)&&t.isValid()||Zn(t).isValid())?Ar({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ri(t){return this.from(Zn(),t)}function ii(t,e){return this.isValid()&&(k(t)&&t.isValid()||Zn(t).isValid())?Ar({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function oi(t){return this.to(Zn(),t)}function ai(t){var e;return void 0===t?this._locale._abbr:(e=mn(t),null!=e&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ci(){return this._locale}var li=1e3,ui=60*li,hi=60*ui,fi=3506328*hi;function pi(t,e){return(t%e+e)%e}function di(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function gi(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function yi(t){var e,n;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gi:di,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=pi(e+(this._isUTC?0:this.utcOffset()*ui),hi);break;case"minute":e=this._d.valueOf(),e-=pi(e,ui);break;case"second":e=this._d.valueOf(),e-=pi(e,li);break}return this._d.setTime(e),i.updateOffset(this,!0),this}function vi(t){var e,n;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gi:di,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=hi-pi(e+(this._isUTC?0:this.utcOffset()*ui),hi)-1;break;case"minute":e=this._d.valueOf(),e+=ui-pi(e,ui)-1;break;case"second":e=this._d.valueOf(),e+=li-pi(e,li)-1;break}return this._d.setTime(e),i.updateOffset(this,!0),this}function mi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function Oi(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function ji(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function wi(){return this.isValid()?this.toISOString():null}function ki(){return m(this)}function Si(){return d({},v(this))}function Ci(){return v(this).overflow}function Mi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ai(t,e){var n,r,o,a=this._eras||mn("en")._eras;for(n=0,r=a.length;n=0)return c[r]}function Ei(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n}function Pi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;to&&(e=o),Qi.call(this,t,e,n,r,i))}function Qi(t,e,n,r,i){var o=je(t,e,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function $i(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),It("N",Ri),It("NN",Ri),It("NNN",Ri),It("NNNN",Ni),It("NNNNN",zi),zt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?v(n).era=i:v(n).invalidEra=t}),It("y",Tt),It("yy",Tt),It("yyy",Tt),It("yyyy",Tt),It("yo",Yi),zt(["y","yy","yyy","yyyy"],Wt),zt(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,i):e[Wt]=parseInt(t,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Vi("gggg","weekYear"),Vi("ggggg","weekYear"),Vi("GGGG","isoWeekYear"),Vi("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),st("weekYear",1),st("isoWeekYear",1),It("G",Et),It("g",Et),It("GG",wt,bt),It("gg",wt,bt),It("GGGG",Mt,Ot),It("gggg",Mt,Ot),It("GGGGG",At,jt),It("ggggg",At,jt),Yt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ht(t)}),Yt(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),rt("quarter","Q"),st("quarter",7),It("Q",mt),zt("Q",function(t,e){e[Ht]=3*(ht(t)-1)}),Y("D",["DD",2],"Do","date"),rt("date","D"),st("date",9),It("D",wt),It("DD",wt,bt),It("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),zt(["D","DD"],Xt),zt("Do",function(t,e){e[Xt]=ht(t.match(wt)[0])});var Ji=ft("Date",!0);function to(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}Y("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),st("dayOfYear",4),It("DDD",Ct),It("DDDD",xt),zt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ht(t)}),Y("m",["mm",2],0,"minute"),rt("minute","m"),st("minute",14),It("m",wt),It("mm",wt,bt),zt(["m","mm"],qt);var eo=ft("Minutes",!1);Y("s",["ss",2],0,"second"),rt("second","s"),st("second",15),It("s",wt),It("ss",wt,bt),zt(["s","ss"],Zt);var no,ro,io=ft("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),st("millisecond",16),It("S",Ct,mt),It("SS",Ct,bt),It("SSS",Ct,xt),no="SSSS";no.length<=9;no+="S")It(no,Tt);function oo(t,e){e[Kt]=ht(1e3*("0."+t))}for(no="S";no.length<=9;no+="S")zt(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=ft("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var co=w.prototype;function lo(t){return Zn(1e3*t)}function uo(){return Zn.apply(null,arguments).parseZone()}function ho(t){return t}co.add=Fr,co.calendar=Gr,co.clone=Vr,co.diff=Kr,co.endOf=vi,co.format=ei,co.from=ni,co.fromNow=ri,co.to=ii,co.toNow=oi,co.get=gt,co.invalidAt=Ci,co.isAfter=Wr,co.isBefore=Hr,co.isBetween=Xr,co.isSame=Ur,co.isSameOrAfter=qr,co.isSameOrBefore=Zr,co.isValid=ki,co.lang=si,co.locale=ai,co.localeData=ci,co.max=Qn,co.min=Kn,co.parsingFlags=Si,co.set=yt,co.startOf=yi,co.subtract=Ir,co.toArray=Oi,co.toObject=ji,co.toDate=xi,co.toISOString=Jr,co.inspect=ti,"undefined"!==typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=wi,co.toString=$r,co.unix=bi,co.valueOf=mi,co.creationData=Mi,co.eraName=Pi,co.eraNarrow=_i,co.eraAbbr=Li,co.eraYear=Fi,co.year=ve,co.isLeapYear=me,co.weekYear=Wi,co.isoWeekYear=Hi,co.quarter=co.quarters=$i,co.month=he,co.daysInMonth=fe,co.week=co.weeks=Te,co.isoWeek=co.isoWeeks=Ee,co.weeksInYear=qi,co.weeksInWeekYear=Zi,co.isoWeeksInYear=Xi,co.isoWeeksInISOWeekYear=Ui,co.date=Ji,co.day=co.days=He,co.weekday=Xe,co.isoWeekday=Ue,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=eo,co.second=co.seconds=io,co.millisecond=co.milliseconds=ro,co.utcOffset=gr,co.utc=vr,co.local=mr,co.parseZone=br,co.hasAlignedHourOffset=xr,co.isDST=Or,co.isLocal=wr,co.isUtcOffset=kr,co.isUtc=Sr,co.isUTC=Sr,co.zoneAbbr=ao,co.zoneName=so,co.dates=C("dates accessor is deprecated. Use date instead.",Ji),co.months=C("months accessor is deprecated. Use month instead",he),co.years=C("years accessor is deprecated. Use year instead",ve),co.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",jr);var fo=L.prototype;function po(t,e,n,r){var i=mn(),o=g().set(r,e);return i[n](o,t)}function go(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return po(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(t,r,n,"month");return i}function yo(t,e,n,r){"boolean"===typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var i,o=mn(),a=t?o._week.dow:0,s=[];if(null!=n)return po(e,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(e,(i+a)%7,r,"day");return s}function vo(t,e){return go(t,e,"months")}function mo(t,e){return go(t,e,"monthsShort")}function bo(t,e,n){return yo(t,e,n,"weekdays")}function xo(t,e,n){return yo(t,e,n,"weekdaysShort")}function Oo(t,e,n){return yo(t,e,n,"weekdaysMin")}fo.calendar=I,fo.longDateFormat=U,fo.invalidDate=Z,fo.ordinal=$,fo.preparse=ho,fo.postformat=ho,fo.relativeTime=tt,fo.pastFuture=et,fo.set=P,fo.eras=Ai,fo.erasParse=Ti,fo.erasConvertYear=Ei,fo.erasAbbrRegex=Di,fo.erasNameRegex=Ii,fo.erasNarrowRegex=Bi,fo.months=ae,fo.monthsShort=se,fo.monthsParse=le,fo.monthsRegex=de,fo.monthsShortRegex=pe,fo.week=Se,fo.firstDayOfYear=Ae,fo.firstDayOfWeek=Me,fo.weekdays=ze,fo.weekdaysMin=Ge,fo.weekdaysShort=Ye,fo.weekdaysParse=We,fo.weekdaysRegex=qe,fo.weekdaysShortRegex=Ze,fo.weekdaysMinRegex=Ke,fo.isPM=nn,fo.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===ht(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),i.lang=C("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=C("moment.langData is deprecated. Use moment.localeData instead.",mn);var jo=Math.abs;function wo(){var t=this._data;return this._milliseconds=jo(this._milliseconds),this._days=jo(this._days),this._months=jo(this._months),t.milliseconds=jo(t.milliseconds),t.seconds=jo(t.seconds),t.minutes=jo(t.minutes),t.hours=jo(t.hours),t.months=jo(t.months),t.years=jo(t.years),this}function ko(t,e,n,r){var i=Ar(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function So(t,e){return ko(this,t,e,1)}function Co(t,e){return ko(this,t,e,-1)}function Mo(t){return t<0?Math.floor(t):Math.ceil(t)}function Ao(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Mo(Eo(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=ut(o/1e3),c.seconds=t%60,e=ut(t/60),c.minutes=e%60,n=ut(e/60),c.hours=n%24,a+=ut(n/24),i=ut(To(a)),s+=i,a-=Mo(Eo(i)),r=ut(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function To(t){return 4800*t/146097}function Eo(t){return 146097*t/4800}function Po(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=it(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+To(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Eo(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function _o(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ht(this._months/12):NaN}function Lo(t){return function(){return this.as(t)}}var Fo=Lo("ms"),Io=Lo("s"),Do=Lo("m"),Bo=Lo("h"),Ro=Lo("d"),No=Lo("w"),zo=Lo("M"),Yo=Lo("Q"),Go=Lo("y");function Vo(){return Ar(this)}function Wo(t){return t=it(t),this.isValid()?this[t+"s"]():NaN}function Ho(t){return function(){return this.isValid()?this._data[t]:NaN}}var Xo=Ho("milliseconds"),Uo=Ho("seconds"),qo=Ho("minutes"),Zo=Ho("hours"),Ko=Ho("days"),Qo=Ho("months"),$o=Ho("years");function Jo(){return ut(this.days()/7)}var ta=Math.round,ea={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function ra(t,e,n,r){var i=Ar(t).abs(),o=ta(i.as("s")),a=ta(i.as("m")),s=ta(i.as("h")),c=ta(i.as("d")),l=ta(i.as("M")),u=ta(i.as("w")),h=ta(i.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,na.apply(null,f)}function ia(t){return void 0===t?ta:"function"===typeof t&&(ta=t,!0)}function oa(t,e){return void 0!==ea[t]&&(void 0===e?ea[t]:(ea[t]=e,"s"===t&&(ea.ss=e-1),!0))}function aa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ea;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},ea,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),n=this.localeData(),r=ra(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function ca(t){return(t>0)-(t<0)||+t}function la(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,a,s,c=sa(this._milliseconds)/1e3,l=sa(this._days),u=sa(this._months),h=this.asSeconds();return h?(t=ut(c/60),e=ut(t/60),c%=60,t%=60,n=ut(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=ca(this._months)!==ca(h)?"-":"",a=ca(this._days)!==ca(h)?"-":"",s=ca(this._milliseconds)!==ca(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(l?a+l+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=ir,ua.abs=wo,ua.add=So,ua.subtract=Co,ua.as=Po,ua.asMilliseconds=Fo,ua.asSeconds=Io,ua.asMinutes=Do,ua.asHours=Bo,ua.asDays=Ro,ua.asWeeks=No,ua.asMonths=zo,ua.asQuarters=Yo,ua.asYears=Go,ua.valueOf=_o,ua._bubble=Ao,ua.clone=Vo,ua.get=Wo,ua.milliseconds=Xo,ua.seconds=Uo,ua.minutes=qo,ua.hours=Zo,ua.days=Ko,ua.weeks=Jo,ua.months=Qo,ua.years=$o,ua.humanize=aa,ua.toISOString=la,ua.toString=la,ua.toJSON=la,ua.locale=ai,ua.localeData=ci,ua.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ua.lang=si,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),It("x",Et),It("X",Lt),zt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),zt("x",function(t,e,n){n._d=new Date(ht(t))}),i.version="2.29.1",o(Zn),i.fn=co,i.min=Jn,i.max=tr,i.now=er,i.utc=g,i.unix=lo,i.months=vo,i.isDate=f,i.locale=gn,i.invalid=b,i.duration=Ar,i.isMoment=k,i.weekdays=bo,i.parseZone=uo,i.localeData=mn,i.isDuration=sr,i.monthsShort=mo,i.weekdaysMin=Oo,i.defineLocale=yn,i.updateLocale=vn,i.locales=bn,i.weekdaysShort=xo,i.normalizeUnits=it,i.relativeTimeRounding=ia,i.relativeTimeThreshold=oa,i.calendarFormat=Yr,i.prototype=co,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})}).call(this,n("YuTi")(t))},wq2r:function(t,e,n){"use strict";var r=n("mrSG"),i=n("aFU3"),o=n("R5nb"),a=n("9eUa"),s=n("iTfj"),c=n("cyZq"),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.onCanvasChange=function(t){Object(a["h"])(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(a["a"])(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];Object(s["each"])(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=Math.min.apply(null,e),o=Math.max.apply(null,e),a=Math.min.apply(null,n),l=Math.max.apply(null,n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:l,width:o-i,height:l-a};var u=this.cfg.canvas;if(u){var h=u.getViewRange();this.set("isInView",Object(c["f"])(r,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),Object(a["a"])(t,this),this._applyClip(t,this.getClip()),Object(a["d"])(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i["AbstractGroup"]);e["a"]=l},wtjL:function(t,e,n){"use strict";var r=n("Vwaf").HTML_TAG_RE;function i(t){var e=32|t;return e>=97&&e<=122}t.exports=function(t,e){var n,o,a,s,c=t.pos;return!!t.md.options.html&&(a=t.posMax,!(60!==t.src.charCodeAt(c)||c+2>=a)&&(n=t.src.charCodeAt(c+1),!(33!==n&&63!==n&&47!==n&&!i(n))&&(o=t.src.slice(c).match(r),!!o&&(e||(s=t.push("html_inline","",0),s.content=t.src.slice(c,c+o[0].length)),t.pos+=o[0].length,!0))))}},x3EW:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("iTfj"),o=n("MeYt"),a=n("L16w"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:a["a"].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),r=e.slice(0).reverse(),i=this.getGridPath(r,!0),o=this.get("closed");return o?n=n.concat(i):(i[0][0]="L",n=n.concat(i),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"),r=this.get("items"),o=this.get("alternateColor"),a=null;Object(i["each"])(r,function(s,c){var l=s.id||c;if(n){var u=e.getPathStyle();u=Object(i["isFunction"])(u)?u(s,c,r):u;var h=e.getElementId("line-"+l),f=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:h,attrs:Object(i["mix"])({path:f},u)})}if(o&&c>0){var p=e.getElementId("region-"+l),d=c%2===0;if(Object(i["isString"])(o))d&&e.drawAlternateRegion(p,t,a.points,s.points,o);else{var g=d?o[1]:o[0];e.drawAlternateRegion(p,t,a.points,s.points,g)}}a=s})},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var o=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:o,fill:i}})},e}(o["a"]),c=s;function l(t,e,n,r){var i=n-t,o=r-e;return Math.sqrt(i*i+o*o)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),o=[];if(t.length)if("circle"===n){var a=this.get("center"),s=t[0],c=l(a.x,a.y,s.x,s.y),u=e?0:1;r?(o.push(["M",a.x,a.y-c]),o.push(["A",c,c,0,0,u,a.x,a.y+c]),o.push(["A",c,c,0,0,u,a.x,a.y-c]),o.push(["Z"])):Object(i["each"])(t,function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["A",c,c,0,0,u,t.x,t.y])})}else Object(i["each"])(t,function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["L",t.x,t.y])}),r&&o.push(["Z"]);return o},e}(c),h=u,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return Object(i["each"])(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(c),p=f;n.d(e,"Base",function(){return c}),n.d(e,"Circle",function(){return h}),n.d(e,"Line",function(){return p})},y1pI:function(t,e,n){var r=n("ljhN");function i(t,e){var n=t.length;while(n--)if(r(t[n][0],e))return n;return-1}t.exports=i},y753:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa");function c(t){var e=t.chart,n=t.options,i=n.data,a=n.lineStyle,c=n.color,l=n.point,u=n.area;e.data(i);var h=Object(o["b"])({},t,{options:{line:{style:a,color:c},point:l?Object(r["a"])({color:c},l):l,area:u?Object(r["a"])({color:c},u):u,label:void 0}}),f=Object(o["b"])({},h,{options:{tooltip:!1}});return Object(s["d"])(h),Object(s["e"])(f),Object(s["a"])(f),t}function l(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return Object(o["e"])(Object(a["f"])((e={},e[s]=r,e[c]=i,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,o=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:o}),t}function h(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(r,i),e.axis(o,a),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"line");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o["r"])(l)})}else s.label(!1);return t}function p(t){return Object(o["e"])(c,l,a["j"],u,h,a["d"],a["k"],f,a["c"],a["a"],Object(a["b"])())(t)}var d=n("kXyF"),g=n("iTfj"),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),i=n.shared,o=n.title,a=t.prototype.getTooltipItems.call(this,e);if(a.length>0){var s=this.view.geometries[0],c=s.dataArray,l=a[0].name,u=[];return c.forEach(function(t){t.forEach(function(t){var e=d["f"].getTooltipItems(t,s),n=e[0];if(!i&&n&&n.name===l){var a=Object(g["isNil"])(o)?l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}else if(i&&n){a=Object(g["isNil"])(o)?n.name||l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}})}),u}return[]},e}(d["e"]);Object(d["j"])("radar-tooltip",y);var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,e=this.getTooltipController();e.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(d["a"]);Object(d["i"])("radar-tooltip",v),Object(d["k"])("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return p}})(i["b"])},yKnv:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s,c=e.length;for(n=c-1;n>=0;n--)r=e[n],95!==r.marker&&42!==r.marker||-1!==r.end&&(i=e[r.end],s=n>0&&e[n-1].end===r.end+1&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1&&e[n-1].marker===r.marker,a=String.fromCharCode(r.marker),o=t.tokens[r.token],o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",o=t.tokens[i.token],o.type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}t.exports.tokenize=function(t,e){var n,r,i,o=t.pos,a=t.src.charCodeAt(o);if(e)return!1;if(95!==a&&42!==a)return!1;for(r=t.scanDelims(t.pos,42===a),n=0;ne}return!1}function K(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Q[t]=new K(t,0,!1,t,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Q[e]=new K(e,1,!1,t[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){Q[t]=new K(t,2,!1,t.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Q[t]=new K(t,2,!1,t,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){Q[t]=new K(t,3,!1,t.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(t){Q[t]=new K(t,3,!0,t,null,!1)}),["capture","download"].forEach(function(t){Q[t]=new K(t,4,!1,t,null,!1)}),["cols","rows","size","span"].forEach(function(t){Q[t]=new K(t,6,!1,t,null,!1)}),["rowSpan","start"].forEach(function(t){Q[t]=new K(t,5,!1,t.toLowerCase(),null,!1)});var $=/[\-:]([a-z])/g;function J(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace($,J);Q[e]=new K(e,1,!1,t,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace($,J);Q[e]=new K(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace($,J);Q[e]=new K(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(t){Q[t]=new K(t,1,!1,t.toLowerCase(),null,!1)}),Q.xlinkHref=new K("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(t){Q[t]=new K(t,1,!1,t.toLowerCase(),null,!0)});var tt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function et(t,e,n,r){var i=Q.hasOwnProperty(e)?Q[e]:null,o=null!==i?0===i.type:!r&&(2=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:wt(n)}}function Nt(t,e){var n=wt(e.value),r=wt(e.defaultValue);null!=n&&(n=""+n,n!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function zt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var Yt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Gt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Gt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Wt,Ht=function(t){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!==Yt.svg||"innerHTML"in t)t.innerHTML=e;else{for(Wt=Wt||document.createElement("div"),Wt.innerHTML=""+e.valueOf().toString()+"",e=Wt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Xt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function Ut(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var qt={animationend:Ut("Animation","AnimationEnd"),animationiteration:Ut("Animation","AnimationIteration"),animationstart:Ut("Animation","AnimationStart"),transitionend:Ut("Transition","TransitionEnd")},Zt={},Kt={};function Qt(t){if(Zt[t])return Zt[t];if(!qt[t])return t;var e,n=qt[t];for(e in n)if(n.hasOwnProperty(e)&&e in Kt)return Zt[t]=n[e];return t}A&&(Kt=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);var $t=Qt("animationend"),Jt=Qt("animationiteration"),te=Qt("animationstart"),ee=Qt("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=new("function"===typeof WeakMap?WeakMap:Map);function ie(t){var e=re.get(t);return void 0===e&&(e=new Map,re.set(t,e)),e}function oe(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{e=t,0!==(1026&e.effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function ae(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(t=t.alternate,null!==t&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function se(t){if(oe(t)!==t)throw Error(a(188))}function ce(t){var e=t.alternate;if(!e){if(e=oe(t),null===e)throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(r=i.return,null!==r){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return se(i),t;if(o===r)return se(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}function le(t){if(t=ce(t),!t)return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function ue(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function he(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var fe=null;function pe(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;rve.length&&ve.push(t)}function be(t,e,n,r){if(ve.length){var i=ve.pop();return i.topLevelType=t,i.eventSystemFlags=r,i.nativeEvent=e,i.targetInst=n,i}return{topLevelType:t,eventSystemFlags:r,nativeEvent:e,targetInst:n,ancestors:[]}}function xe(t){var e=t.targetInst,n=e;do{if(!n){t.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;e=n.tag,5!==e&&6!==e||t.ancestors.push(n),n=Yn(r)}while(n);for(n=0;n=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=xn(r)}}function jn(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?jn(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function wn(){for(var t=window,e=bn();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;t=e.contentWindow,e=bn(t.document)}return e}function kn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var Sn="$",Cn="/$",Mn="$?",An="$!",Tn=null,En=null;function Pn(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function _n(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Ln="function"===typeof setTimeout?setTimeout:void 0,Fn="function"===typeof clearTimeout?clearTimeout:void 0;function In(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Dn(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if(n===Sn||n===An||n===Mn){if(0===e)return t;e--}else n===Cn&&e++}t=t.previousSibling}return null}var Bn=Math.random().toString(36).slice(2),Rn="__reactInternalInstance$"+Bn,Nn="__reactEventHandlers$"+Bn,zn="__reactContainere$"+Bn;function Yn(t){var e=t[Rn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[zn]||n[Rn]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Dn(t);null!==t;){if(n=t[Rn])return n;t=Dn(t)}return e}t=n,n=t.parentNode}return null}function Gn(t){return t=t[Rn]||t[zn],!t||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function Vn(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function Wn(t){return t[Nn]||null}function Hn(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Xn(t,e){var n=t.stateNode;if(!n)return null;var r=g(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!("button"===t||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(a(231,e,typeof n));return n}function Un(t,e,n){(e=Xn(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=ue(n._dispatchListeners,e),n._dispatchInstances=ue(n._dispatchInstances,t))}function qn(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=Hn(e);for(e=n.length;0this.eventPool.length&&this.eventPool.push(t)}function sr(t){t.eventPool=[],t.getPooled=or,t.release=ar}i(ir.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){this.isPersistent=nr},isPersistent:rr,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rr,this._dispatchInstances=this._dispatchListeners=null}}),ir.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ir.extend=function(t){function e(){}function n(){return r.apply(this,arguments)}var r=this;e.prototype=r.prototype;var o=new e;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,t),n.extend=r.extend,sr(n),n},sr(ir);var cr=ir.extend({data:null}),lr=ir.extend({data:null}),ur=[9,13,27,32],hr=A&&"CompositionEvent"in window,fr=null;A&&"documentMode"in document&&(fr=document.documentMode);var pr=A&&"TextEvent"in window&&!fr,dr=A&&(!hr||fr&&8=fr),gr=String.fromCharCode(32),yr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},vr=!1;function mr(t,e){switch(t){case"keyup":return-1!==ur.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function br(t){return t=t.detail,"object"===typeof t&&"data"in t?t.data:null}var xr=!1;function Or(t,e){switch(t){case"compositionend":return br(e);case"keypress":return 32!==e.which?null:(vr=!0,gr);case"textInput":return t=e.data,t===gr&&vr?null:t;default:return null}}function jr(t,e){if(xr)return"compositionend"===t||!hr&&mr(t,e)?(t=er(),tr=Jn=$n=null,xr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=document.documentMode,ii={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},oi=null,ai=null,si=null,ci=!1;function li(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return ci||null==oi||oi!==bn(n)?null:(n=oi,"selectionStart"in n&&kn(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),si&&ni(si,n)?null:(si=n,t=ir.getPooled(ii.select,ai,t,e),t.type="select",t.target=oi,Qn(t),t))}var ui={eventTypes:ii,extractEvents:function(t,e,n,r,i,o){if(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(o=!i)){t:{i=ie(i),o=C.onSelect;for(var a=0;aSi||(t.current=ki[Si],ki[Si]=null,Si--)}function Mi(t,e){Si++,ki[Si]=t.current,t.current=e}var Ai={},Ti={current:Ai},Ei={current:!1},Pi=Ai;function _i(t,e){var n=t.type.contextTypes;if(!n)return Ai;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function Li(t){return t=t.childContextTypes,null!==t&&void 0!==t}function Fi(){Ci(Ei),Ci(Ti)}function Ii(t,e,n){if(Ti.current!==Ai)throw Error(a(168));Mi(Ti,e),Mi(Ei,n)}function Di(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in t))throw Error(a(108,Ot(e)||"Unknown",o));return i({},n,{},r)}function Bi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ai,Pi=Ti.current,Mi(Ti,t),Mi(Ei,Ei.current),!0}function Ri(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Di(t,e,Pi),r.__reactInternalMemoizedMergedChildContext=t,Ci(Ei),Ci(Ti),Mi(Ti,t)):Ci(Ei),Mi(Ei,n)}var Ni=o.unstable_runWithPriority,zi=o.unstable_scheduleCallback,Yi=o.unstable_cancelCallback,Gi=o.unstable_requestPaint,Vi=o.unstable_now,Wi=o.unstable_getCurrentPriorityLevel,Hi=o.unstable_ImmediatePriority,Xi=o.unstable_UserBlockingPriority,Ui=o.unstable_NormalPriority,qi=o.unstable_LowPriority,Zi=o.unstable_IdlePriority,Ki={},Qi=o.unstable_shouldYield,$i=void 0!==Gi?Gi:function(){},Ji=null,to=null,eo=!1,no=Vi(),ro=1e4>no?Vi:function(){return Vi()-no};function io(){switch(Wi()){case Hi:return 99;case Xi:return 98;case Ui:return 97;case qi:return 96;case Zi:return 95;default:throw Error(a(332))}}function oo(t){switch(t){case 99:return Hi;case 98:return Xi;case 97:return Ui;case 96:return qi;case 95:return Zi;default:throw Error(a(332))}}function ao(t,e){return t=oo(t),Ni(t,e)}function so(t,e,n){return t=oo(t),zi(t,e,n)}function co(t){return null===Ji?(Ji=[t],to=zi(Hi,uo)):Ji.push(t),Ki}function lo(){if(null!==to){var t=to;to=null,Yi(t)}uo()}function uo(){if(!eo&&null!==Ji){eo=!0;var t=0;try{var e=Ji;ao(99,function(){for(;t=e&&(qa=!0),t.firstContext=null)}function jo(t,e){if(vo!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(vo=t,e=1073741823),e={context:t,observedBits:e,next:null},null===yo){if(null===go)throw Error(a(308));yo=e,go.dependencies={expirationTime:0,firstContext:e,responders:null}}else yo=yo.next=e;return t._currentValue}var wo=!1;function ko(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function So(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function Co(t,e){return t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null},t.next=t}function Mo(t,e){if(t=t.updateQueue,null!==t){t=t.shared;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function Ao(t,e){var n=t.alternate;null!==n&&So(n,t),t=t.updateQueue,n=t.baseQueue,null===n?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function To(t,e,n,r){var o=t.updateQueue;wo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,c=t.alternate,null!==c&&(c=c.updateQueue,null!==c&&(c.baseQueue=s))}if(null!==a){c=a.next;var l=o.baseState,u=0,h=null,f=null,p=null;if(null!==c){var d=c;do{if(s=d.expirationTime,su&&(u=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:d.suspenseConfig,tag:d.tag,payload:d.payload,callback:d.callback,next:null}),Dc(s,d.suspenseConfig);t:{var y=t,v=d;switch(s=e,g=n,v.tag){case 1:if(y=v.payload,"function"===typeof y){l=y.call(g,l,s);break t}l=y;break t;case 3:y.effectTag=-4097&y.effectTag|64;case 0:if(y=v.payload,s="function"===typeof y?y.call(g,l,s):y,null===s||void 0===s)break t;l=i({},l,s);break t;case 2:wo=!0}}null!==d.callback&&(t.effectTag|=32,s=o.effects,null===s?o.effects=[d]:s.push(d))}if(d=d.next,null===d||d===c){if(s=o.shared.pending,null===s)break;d=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}while(1)}null===p?h=l:p.next=f,o.baseState=h,o.baseQueue=p,Bc(u),t.expirationTime=u,t.memoizedState=l}}function Eo(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;eg?(y=h,h=null):y=h.sibling;var v=p(i,h,s[g],c);if(null===v){null===h&&(h=y);break}t&&h&&null===v.alternate&&e(i,h),a=o(v,a,g),null===u?l=v:u.sibling=v,u=v,h=y}if(g===s.length)return n(i,h),l;if(null===h){for(;gy?(v=g,g=null):v=g.sibling;var b=p(i,g,m.value,l);if(null===b){null===g&&(g=v);break}t&&g&&null===b.alternate&&e(i,g),s=o(b,s,y),null===h?u=b:h.sibling=b,h=b,g=v}if(m.done)return n(i,g),u;if(null===g){for(;!m.done;y++,m=c.next())m=f(i,m.value,l),null!==m&&(s=o(m,s,y),null===h?u=m:h.sibling=m,h=m);return u}for(g=r(i,g);!m.done;y++,m=c.next())m=d(g,i,y,m.value,l),null!==m&&(t&&null!==m.alternate&&g.delete(null===m.key?y:m.key),s=o(m,s,y),null===h?u=m:h.sibling=m,h=m);return t&&g.forEach(function(t){return e(i,t)}),u}return function(t,r,o,c){var l="object"===typeof o&&null!==o&&o.type===at&&null===o.key;l&&(o=o.props.children);var u="object"===typeof o&&null!==o;if(u)switch(o.$$typeof){case it:t:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===at){n(t,l.sibling),r=i(l,o.props.children),r.return=t,t=r;break t}break;default:if(l.elementType===o.type){n(t,l.sibling),r=i(l,o.props),r.ref=zo(t,l,o),r.return=t,t=r;break t}}n(t,l);break}e(t,l),l=l.sibling}o.type===at?(r=sl(o.props.children,t.mode,c,o.key),r.return=t,t=r):(c=al(o.type,o.key,o.props,null,t.mode,c),c.ref=zo(t,r,o),c.return=t,t=c)}return s(t);case ot:t:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),r=i(r,o.children||[]),r.return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}r=ll(o,t.mode,c),r.return=t,t=r}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),r=i(r,o),r.return=t,t=r):(n(t,r),r=cl(o,t.mode,c),r.return=t,t=r),s(t);if(No(o))return g(t,r,o,c);if(bt(o))return y(t,r,o,c);if(u&&Yo(t,o),"undefined"===typeof o&&!l)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return n(t,r)}}var Vo=Go(!0),Wo=Go(!1),Ho={},Xo={current:Ho},Uo={current:Ho},qo={current:Ho};function Zo(t){if(t===Ho)throw Error(a(174));return t}function Ko(t,e){switch(Mi(qo,e),Mi(Uo,t),Mi(Xo,Ho),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Vt(null,"");break;default:t=8===t?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Vt(e,t)}Ci(Xo),Mi(Xo,e)}function Qo(){Ci(Xo),Ci(Uo),Ci(qo)}function $o(t){Zo(qo.current);var e=Zo(Xo.current),n=Vt(e,t.type);e!==n&&(Mi(Uo,t),Mi(Xo,n))}function Jo(t){Uo.current===t&&(Ci(Xo),Ci(Uo))}var ta={current:0};function ea(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Mn||n.data===An))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function na(t,e){return{responder:t,props:e}}var ra=tt.ReactCurrentDispatcher,ia=tt.ReactCurrentBatchConfig,oa=0,aa=null,sa=null,ca=null,la=!1;function ua(){throw Error(a(321))}function ha(t,e){if(null===e)return!1;for(var n=0;no))throw Error(a(301));o+=1,ca=sa=null,e.updateQueue=null,ra.current=Ba,t=n(r,i)}while(e.expirationTime===oa)}if(ra.current=Fa,e=null!==sa&&null!==sa.next,oa=0,ca=sa=aa=null,la=!1,e)throw Error(a(300));return t}function pa(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?aa.memoizedState=ca=t:ca=ca.next=t,ca}function da(){if(null===sa){var t=aa.alternate;t=null!==t?t.memoizedState:null}else t=sa.next;var e=null===ca?aa.memoizedState:ca.next;if(null!==e)ca=e,sa=t;else{if(null===t)throw Error(a(310));sa=t,t={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===ca?aa.memoizedState=ca=t:ca=ca.next=t}return ca}function ga(t,e){return"function"===typeof e?e(t):e}function ya(t){var e=da(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=sa,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var c=s=o=null,l=i;do{var u=l.expirationTime;if(uaa.expirationTime&&(aa.expirationTime=u,Bc(u))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),Dc(u,l.suspenseConfig),r=l.eagerReducer===t?l.eagerState:t(r,l.action);l=l.next}while(null!==l&&l!==i);null===c?o=r:c.next=s,ti(r,e.memoizedState)||(qa=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=c,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function va(t){var e=da(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);ti(o,e.memoizedState)||(qa=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function ma(t){var e=pa();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=e.queue={pending:null,dispatch:null,lastRenderedReducer:ga,lastRenderedState:t},t=t.dispatch=La.bind(null,aa,t),[e.memoizedState,t]}function ba(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},e=aa.updateQueue,null===e?(e={lastEffect:null},aa.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,null===n?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t)),t}function xa(){return da().memoizedState}function Oa(t,e,n,r){var i=pa();aa.effectTag|=t,i.memoizedState=ba(1|e,n,void 0,void 0===r?null:r)}function ja(t,e,n,r){var i=da();r=void 0===r?null:r;var o=void 0;if(null!==sa){var a=sa.memoizedState;if(o=a.destroy,null!==r&&ha(r,a.deps))return void ba(e,n,o,r)}aa.effectTag|=t,i.memoizedState=ba(1|e,n,o,r)}function wa(t,e){return Oa(516,4,t,e)}function ka(t,e){return ja(516,4,t,e)}function Sa(t,e){return ja(4,2,t,e)}function Ca(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Ma(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,ja(4,2,Ca.bind(null,e,t),n)}function Aa(){}function Ta(t,e){return pa().memoizedState=[t,void 0===e?null:e],t}function Ea(t,e){var n=da();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ha(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Pa(t,e){var n=da();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ha(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function _a(t,e,n){var r=io();ao(98>r?98:r,function(){t(!0)}),ao(97<\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=c.createElement(o,{is:r.is}):(t=c.createElement(o),"select"===o&&(c=t,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):t=c.createElementNS(t,o),t[Rn]=e,t[Nn]=r,is(t,e,!1,!1),e.stateNode=t,c=gn(o,r),o){case"iframe":case"object":case"embed":nn("load",t),l=r;break;case"video":case"audio":for(l=0;lr.tailExpiration&&1e)&&mc.set(t,e)))}}function Sc(t,e){t.expirationTimet?n:t,2>=t&&e!==t?0:t}function Mc(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=co(Tc.bind(null,t));else{var e=Cc(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=jc();if(1073741823===e?r=99:1===e||2===e?r=95:(r=10*(1073741821-e)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==Ki&&Yi(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?co(Tc.bind(null,t)):so(r,Ac.bind(null,t),{timeout:10*(1073741821-e)-ro()}),t.callbackNode=e}}}function Ac(t,e){if(Oc=0,e)return e=jc(),dl(t,e),Mc(t),null;var n=Cc(t);if(0!==n){if(e=t.callbackNode,($s&(Ws|Hs))!==Gs)throw Error(a(327));if(Xc(),t===Js&&n===ec||Lc(t,n),null!==tc){var r=$s;$s|=Ws;var i=Ic();do{try{Nc();break}catch(e){Fc(t,e)}}while(1);if(mo(),$s=r,zs.current=i,nc===Us)throw e=rc,Lc(t,n),fl(t,n),Mc(t),e;if(null===tc)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,r=nc,Js=null,r){case Xs:case Us:throw Error(a(345));case qs:dl(t,2=n){t.lastPingedTime=n,Lc(t,n);break}}if(o=Cc(t),0!==o&&o!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Ln(Vc.bind(null,t),i);break}Vc(t);break;case Ks:if(fl(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=Gc(i)),cc&&(i=t.lastPingedTime,0===i||i>=n)){t.lastPingedTime=n,Lc(t,n);break}if(i=Cc(t),0!==i&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==oc?r=10*(1073741821-oc)-ro():1073741823===ic?r=0:(r=10*(1073741821-ic)-5e3,i=ro(),n=10*(1073741821-n)-i,r=i-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ns(r/1960))-r,n=r?r=0:(i=0|s.busyDelayMs,o=ro()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)),r=o<=i?0:i+r-o),10 component higher in the tree to provide a loading indicator or placeholder to display."+jt(a))}nc!==Qs&&(nc=qs),s=vs(s,a),h=o;do{switch(h.tag){case 3:c=s,h.effectTag|=4096,h.expirationTime=e;var x=Ds(h,c,e);Ao(h,x);break t;case 1:c=s;var O=h.type,j=h.stateNode;if(0===(64&h.effectTag)&&("function"===typeof O.getDerivedStateFromError||null!==j&&"function"===typeof j.componentDidCatch&&(null===dc||!dc.has(j)))){h.effectTag|=4096,h.expirationTime=e;var w=Bs(h,c,e);Ao(h,w);break t}}h=h.return}while(null!==h)}tc=Yc(tc)}catch(t){e=t;continue}break}while(1)}function Ic(){var t=zs.current;return zs.current=Fa,null===t?Fa:t}function Dc(t,e){tsc&&(sc=t)}function Rc(){for(;null!==tc;)tc=zc(tc)}function Nc(){for(;null!==tc&&!Qi();)tc=zc(tc)}function zc(t){var e=Rs(t.alternate,t,ec);return t.memoizedProps=t.pendingProps,null===e&&(e=Yc(t)),Ys.current=null,e}function Yc(t){tc=t;do{var e=tc.alternate;if(t=tc.return,0===(2048&tc.effectTag)){if(e=gs(e,tc,ec),1===ec||1!==tc.childExpirationTime){for(var n=0,r=tc.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}tc.childExpirationTime=n}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=tc.firstEffect),null!==tc.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=tc.firstEffect),t.lastEffect=tc.lastEffect),1t?e:t}function Vc(t){var e=io();return ao(99,Wc.bind(null,t,e)),null}function Wc(t,e){do{Xc()}while(null!==yc);if(($s&(Ws|Hs))!==Gs)throw Error(a(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=Gc(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Js&&(tc=Js=null,ec=0),1c&&(u=c,c=s,s=u),u=On(x,s),h=On(x,c),u&&h&&(1!==j.rangeCount||j.anchorNode!==u.node||j.anchorOffset!==u.offset||j.focusNode!==h.node||j.focusOffset!==h.offset)&&(O=O.createRange(),O.setStart(u.node,u.offset),j.removeAllRanges(),s>c?(j.addRange(O),j.extend(h.node,h.offset)):(O.setEnd(h.node,h.offset),j.addRange(O)))))),O=[];for(j=x;j=j.parentNode;)1===j.nodeType&&O.push({element:j,left:j.scrollLeft,top:j.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x=n?ls(t,e,n):(Mi(ta,1&ta.current),e=ps(t,e,n),null!==e?e.sibling:null);Mi(ta,1&ta.current);break;case 19:if(r=e.childExpirationTime>=n,0!==(64&t.effectTag)){if(r)return fs(t,e,n);e.effectTag|=64}if(i=e.memoizedState,null!==i&&(i.rendering=null,i.tail=null),Mi(ta,ta.current),!r)return null}return ps(t,e,n)}qa=!1}}else qa=!1;switch(e.expirationTime=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=_i(e,Ti.current),Oo(e,n),i=fa(null,e,r,t,i,n),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,Li(r)){var o=!0;Bi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,ko(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&Lo(e,r,s,t),i.updater=Fo,e.stateNode=i,i._reactInternalFiber=e,Ro(e,r,t,n),e=ns(null,e,r,!0,o,n)}else e.tag=0,Za(null,e,i,n),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,xt(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=il(i),t=fo(i,t),o){case 0:e=ts(null,e,i,t,n);break t;case 1:e=es(null,e,i,t,n);break t;case 11:e=Ka(null,e,i,t,n);break t;case 14:e=Qa(null,e,i,fo(i.type,t),r,n);break t}throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),ts(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),es(t,e,r,i,n);case 3:if(rs(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,i=e.memoizedState,i=null!==i?i.element:null,So(t,e),To(e,r,null,n),r=e.memoizedState.element,r===i)Xa(),e=ps(t,e,n);else{if((i=e.stateNode.hydrate)&&(Na=In(e.stateNode.containerInfo.firstChild),Ra=e,i=za=!0),i)for(n=Wo(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Za(t,e,r,n),Xa();e=e.child}return e;case 5:return $o(e),null===t&&Va(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,_n(r,i)?s=null:null!==o&&_n(r,o)&&(e.effectTag|=16),Ja(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Za(t,e,s,n),e=e.child),e;case 6:return null===t&&Va(e),null;case 13:return ls(t,e,n);case 4:return Ko(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Vo(e,null,r,n):Za(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),Ka(t,e,r,i,n);case 7:return Za(t,e,e.pendingProps,n),e.child;case 8:return Za(t,e,e.pendingProps.children,n),e.child;case 12:return Za(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var c=e.type._context;if(Mi(po,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,o=ti(c,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823),0===o){if(s.children===i.children&&!Ei.current){e=ps(t,e,n);break t}}else for(c=e.child,null!==c&&(c.return=e);null!==c;){var l=c.dependencies;if(null!==l){s=c.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&o)){1===c.tag&&(u=Co(n,null),u.tag=2,Mo(c,u)),c.expirationTime=e&&t<=e}function fl(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;ne||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function pl(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function dl(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}function gl(t,e,n,r){var i=e.current,o=jc(),s=Po.suspense;o=wc(o,i,s);t:if(n){n=n._reactInternalFiber;e:{if(oe(n)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Li(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var l=n.type;if(Li(l)){n=Di(n,l,c);break t}}n=c}else n=Ai;return null===e.context?e.context=n:e.pendingContext=n,e=Co(o,s),e.payload={element:t},r=void 0===r?null:r,null!==r&&(e.callback=r),Mo(i,e),kc(i,o),o}function yl(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function vl(t,e){t=t.memoizedState,null!==t&&null!==t.dehydrated&&t.retryTime-1)||Object(s["k"])(e,p,d)}),t.render(!0)}};function M(t){var e,n=t.options,r=n.geometryOptions,o=void 0===r?[]:r,a=n.xField,l=n.yField,u=Object(c["every"])(o,function(t){var e=t.geometry;return e===i.Line||void 0===e});return Object(s["b"])({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:u?[0,1]:void 0},e),tooltip:{showMarkers:u,showCrosshairs:u,shared:!0,crosshairs:{type:"x"}},interactions:u?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:x(l,n.yAxis),geometryOptions:[b(a,l[0],o[0]),b(a,l[1],o[1])],annotations:x(l,n.annotations)}})}function A(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,a=n.geometryOptions,s=n.data,c=n.tooltip,l={line:0,column:1},h=[Object(o["a"])(Object(o["a"])({},a[0]),{id:f,data:s[0],yField:i[0]}),Object(o["a"])(Object(o["a"])({},a[1]),{id:p,data:s[1],yField:i[1]})];return h.sort(function(t,e){return-l[t.geometry]+l[e.geometry]}).forEach(function(t){var n=t.id,i=t.data,a=t.yField,s=m(t)&&t.isPercent,l=s?Object(u["b"])(i,a,r,a):i,h=e.createView({id:n}).data(l),f=s?Object(o["a"])({formatter:function(e){return{name:e[t.seriesField]||a,value:(100*Number(e[a])).toFixed(2)+"%"}}},c):c;S({chart:h,options:{xField:r,yField:a,tooltip:f,geometryOption:t}})}),t}function T(t){var e,n=t.chart,r=t.options,i=r.geometryOptions,o=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],a=0;return n.once("beforepaint",function(){Object(c["each"])(i,function(t,e){var r=Object(h["a"])(n,0===e?f:p);if(!t.color){var i=r.getGroupScales(),s=Object(c["get"])(i,[0,"values","length"],1),l=o.slice(a,a+s).concat(0===e?[]:o);r.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,l):e.color(l[0])}),a+=s}}),n.render(!0)}),t}function E(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,a=i.yAxis,c=i.xField,u=i.yField;return Object(l["f"])((e={},e[c]=o,e[u[0]]=a[0],e))(Object(s["b"])({},t,{chart:Object(h["a"])(r,f)})),Object(l["f"])((n={},n[c]=o,n[u[1]]=a[1],n))(Object(s["b"])({},t,{chart:Object(h["a"])(r,p)})),t}function P(t){var e=t.chart,n=t.options,i=Object(h["a"])(e,f),o=Object(h["a"])(e,p),a=n.xField,s=n.yField,c=n.xAxis,l=n.yAxis;return e.axis(a,!1),e.axis(s[0],!1),e.axis(s[1],!1),i.axis(a,c),i.axis(s[0],O(l[0],r.Left)),o.axis(a,!1),o.axis(s[1],O(l[1],r.Right)),t}function _(t){var e=t.chart,n=t.options,r=n.tooltip,i=Object(h["a"])(e,f),o=Object(h["a"])(e,p);return e.tooltip(r),i.tooltip({shared:!0}),o.tooltip({shared:!0}),t}function L(t){var e=t.chart;return Object(l["c"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f)})),Object(l["c"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p)})),t}function F(t){var e=t.chart,n=t.options,r=n.annotations,i=Object(c["get"])(r,[0]),o=Object(c["get"])(r,[1]);return Object(l["b"])(i)(Object(s["b"])({},t,{chart:Object(h["a"])(e,f),options:{annotations:i}})),Object(l["b"])(o)(Object(s["b"])({},t,{chart:Object(h["a"])(e,p),options:{annotations:o}})),t}function I(t){var e=t.chart;return Object(l["a"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f)})),Object(l["a"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p)})),t}function D(t){var e=t.chart,n=t.options,r=n.yAxis;return Object(l["e"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f),options:{yAxis:r[0]}})),Object(l["e"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p),options:{yAxis:r[1]}})),t}function B(t){var e=t.chart,n=t.options,r=n.legend,i=n.geometryOptions,o=n.yField,a=n.data,l=Object(h["a"])(e,f),u=Object(h["a"])(e,p);return!1===r?e.legend(!1):Object(c["isObject"])(r)&&!0===r.custom?e.legend(r):(e.once("beforepaint",function(){var t=a[0].length?w({view:l,geometryOption:i[0],yField:o[0],legend:r}):[],n=a[1].length?w({view:u,geometryOption:i[1],yField:o[1],legend:r}):[];e.legend(Object(s["b"])({},r,{custom:!0,items:t.concat(n)}))}),e.on("legend-item:click",function(t){var n=Object(c["get"])(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,i=r.value,a=r.isGeometry,s=r.viewId;if(a){var l=Object(c["findIndex"])(o,function(t){return t===i});if(l>-1){var u=Object(c["get"])(Object(h["a"])(e,s),"geometries");Object(c["each"])(u,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=Object(c["get"])(e.getController("legend"),"option.items",[]);Object(c["each"])(e.views,function(t){var n=t.getGroupScales();Object(c["each"])(n,function(e){e.values&&e.values.indexOf(i)>-1&&t.filter(e.field,function(t){var e=Object(c["find"])(f,function(e){return e.value===t});return!e.unchecked})}),e.render(!0)})}}})),t}function R(t){var e=t.chart,n=t.options,r=n.slider,i=Object(h["a"])(e,f),o=Object(h["a"])(e,p);return r&&(i.option("slider",r),i.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;Object(c["isEqual"])(n,r)||C(o,n)}),e.once("afterpaint",function(){if(!Object(c["isBoolean"])(r)){var t=r.start,e=r.end;(t||e)&&C(o,[t,e])}})),t}function N(t){return Object(s["e"])(M,A,E,P,D,_,L,F,l["j"],I,T,B,R)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}Object(o["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(s["b"])({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return N}})(a["b"])},z4Vf:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa");function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,a=n.color;return e.data(r),Object(o["e"])(c["c"])(Object(o["b"])({},t,{options:{marginRatio:1,interval:{style:i,color:a}}})),t}function u(t){var e=t.chart,n=t.options,i=n.label,s=n.xField,c=Object(o["c"])(e,"interval");if(!1===i)c.label(!1);else if(Object(a["isObject"])(i)){var l=i.callback,u=i.fields,h=Object(r["c"])(i,["callback","fields"]),f=h.offset,p=h.layout;(void 0===f||f>=0)&&(p=p?Object(a["isArray"])(p)?p:[p]:[],h.layout=Object(a["filter"])(p,function(t){return"limit-in-shape"!==t.type}),h.layout.length||delete h.layout),c.label({fields:u||[s],callback:l,cfg:Object(o["r"])(h)})}else Object(o["m"])(o["a"].WARN,null===i,"the label option must be an Object."),c.label({fields:[s]});return t}function h(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}),t}function p(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,c=n.yField;return Object(o["e"])(Object(s["f"])((e={},e[a]=r,e[c]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return r?e.axis(o,r):e.axis(o,!1),i?e.axis(a,i):e.axis(a,!1),t}function g(t){Object(o["e"])(l,p,u,f,d,h,s["k"],s["c"],s["a"],s["j"],Object(s["b"])(),s["i"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{xAxis:!1,yAxis:!1,legend:{position:"right",offsetX:-10},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return g}})(i["b"])},zJSt:function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return h});var r=n("mrSG"),i=n("kXyF"),o=n("iTfj"),a=n("f6Jy"),s=n("u3os"),c=n("YuPD"),l="data-chart-source-type",u=["padding","appendPadding","renderer","pixelRatio","syncViewPadding","supportCSSTransform","limitInPlot"],h=function(t){function e(e,n){var r=t.call(this)||this;return r.type="base",r.container="string"===typeof e?document.getElementById(e):e,r.options=Object(c["b"])({},r.getDefaultOptions(),n),r.createG2(),r.bindEvents(),r}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return{renderer:"canvas",xAxis:{nice:!0,label:{autoRotate:!1,autoHide:{type:"equidistance",cfg:{minGap:6}}}},yAxis:{nice:!0,label:{autoHide:!0,autoRotate:!1}},animation:!0}},e.prototype.createG2=function(){var t=this.options,e=t.width,n=t.height;this.chart=new i["b"](Object(r["a"])(Object(r["a"])(Object(r["a"])({container:this.container,autoFit:!1},this.getChartSize(e,n)),{localRefresh:!1}),Object(c["n"])(this.options,u))),this.container.setAttribute(l,"G2Plot")},e.prototype.getChartSize=function(t,e){var n=Object(c["g"])(this.container);return{width:t||n.width||400,height:e||n.height||400}},e.prototype.bindEvents=function(){var t=this;this.chart&&this.chart.on("*",function(e){(null===e||void 0===e?void 0:e.type)&&t.emit(e.type,e)})},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){this.chart.clear(),this.chart.options={data:[],animate:!0},this.chart.views=[],this.execAdaptor(),this.chart.render(),this.bindSizeSensor()},e.prototype.update=function(t){this.updateOption(t),this.render()},e.prototype.updateOption=function(t){this.options=Object(c["b"])({},this.options,t)},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=Object(c["f"])(this.chart);Object(o["each"])(r,function(r){e(r.getData())&&r.setState(t,n)})},e.prototype.getStates=function(){var t=Object(c["f"])(this.chart),e=[];return Object(o["each"])(t,function(t){var n=t.getData(),r=t.getStates();Object(o["each"])(r,function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})})}),e},e.prototype.changeData=function(t){this.update({data:t})},e.prototype.changeSize=function(t,e){this.chart.changeSize(t,e)},e.prototype.destroy=function(){this.unbindSizeSensor(),this.chart.destroy(),this.off(),this.container.removeAttribute(l)},e.prototype.execAdaptor=function(){var t=this.getSchemaAdaptor(),e=this.options,n=e.padding,r=e.appendPadding;this.chart.padding=n,this.chart.appendPadding=r,t({chart:this.chart,options:this.options})},e.prototype.triggerResize=function(){this.chart.forceFit()},e.prototype.bindSizeSensor=function(){var t=this;if(!this.unbind){var e=this.options.autoFit,n=void 0===e||e;n&&(this.unbind=Object(s["bind"])(this.container,function(){var e=Object(c["g"])(t.container),n=e.width,r=e.height;n===t.chart.width&&r===t.chart.height||t.triggerResize()}))}},e.prototype.unbindSizeSensor=function(){this.unbind&&(this.unbind(),this.unbind=void 0)},e}(a["a"])},zK8m:function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("6JdA"),a=n("sstZ"),s=n("aSjE"),c=n("LmB6"),l=o["a"].transform,u="matrix",h=["zIndex","capture","visible","type"],f=["repeat"],p=":",d="*";function g(t){for(var e=[],n=0;nt.delay&&Object(i["each"])(e.toAttrs,function(e,n){a.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}var b=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return Object(i["mix"])(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return Object(r["b"])(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;n0?o=m(o,w):r.addAnimator(this),o.push(w),this.set("animations",o),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");Object(i["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(i["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"),r=this.get("_pause").pauseTime;return Object(i["each"])(n,function(t){t.startTime=t.startTime+(e-r),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,r=this,o=e.propagationPath;this.getEvents();"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var s=function(t){var s=o[t],l=s.get("name");if(l){if((s.isGroup()||s.isCanvas&&s.isCanvas())&&n&&Object(a["g"])(s,n))return"break";Object(i["isArray"])(l)?Object(i["each"])(l,function(t){r.emitDelegateEvent(s,t,e)}):c.emitDelegateEvent(s,l,e)}},c=this,l=0;l=y)return!1;if(v=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok){for(p=t.md.normalizeLink(u.str),t.md.validateLink(p)?l=u.pos:p="",v=l;l=y||41!==t.src.charCodeAt(l))&&(m=!0),l++}if(m){if("undefined"===typeof t.env.references)return!1;if(l=0?a=t.src.slice(v,l++):l=s+1):l=s+1,a||(a=t.src.slice(c,s)),h=t.env.references[r(a)],!h)return t.pos=g,!1;p=h.href,d=h.title}return e||(t.pos=c,t.posMax=s,f=t.push("link_open","a",1),f.attrs=n=[["href",p]],d&&n.push(["title",d]),t.md.inline.tokenize(t),f=t.push("link_close","a",-1)),t.pos=l,t.posMax=y,!0}},zZ0H:function(t,e){function n(t){return t}t.exports=n},zoYe:function(t,e,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),s=1/0,c=r?r.prototype:void 0,l=c?c.toString:void 0;function u(t){if("string"==typeof t)return t;if(o(t))return i(t,u)+"";if(a(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}t.exports=u}}]);