mirror of
https://github.com/v2board/v2board.git
synced 2024-11-15 00:09:13 +08:00
1 line
1.0 MiB
Vendored
1 line
1.0 MiB
Vendored
(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("AMYk"),i=n("Mw2x"),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(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;r<n.length;r++){var i=n[r];e.add(i.clone())}return e},e}(i["a"]);e["a"]=o},"+K+b":function(t,e,n){var r=n("JHRd");function i(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}t.exports=i},"+Oe8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReplaceAttrs=e.getPolygonCentroid=e.getAngle=e.getArcPath=e.getSectorPath=e.polarToCartesian=void 0;var r=n("iTfj");function i(t){if(r.isEmpty(t))return null;var e=t[0].x,n=t[0].x,i=t[0].y,o=t[0].y;return r.each(t,function(t){e=e>t.x?t.x:e,n=n<t.x?t.x:n,i=i>t.y?t.y:i,o=o<t.y?t.y:o}),{minX:e,maxX:n,minY:i,maxY:o,centerX:(e+n)/2,centerY:(i+o)/2}}function o(t,e,n,r){return{x:t+n*Math.cos(r),y:e+n*Math.sin(r)}}function a(t,e,n,r,i,a){void 0===a&&(a=0);var s=o(t,e,n,r),c=o(t,e,n,i),l=o(t,e,a,r),u=o(t,e,a,i);if(i-r===2*Math.PI){var h=o(t,e,n,r+Math.PI),f=o(t,e,a,r+Math.PI),p=[["M",s.x,s.y],["A",n,n,0,1,1,h.x,h.y],["A",n,n,0,1,1,c.x,c.y],["M",l.x,l.y]];return a&&(p.push(["A",a,a,0,1,0,f.x,f.y]),p.push(["A",a,a,0,1,0,u.x,u.y])),p.push(["M",s.x,s.y]),p.push(["Z"]),p}var d=i-r<=Math.PI?0:1,g=[["M",s.x,s.y],["A",n,n,0,d,1,c.x,c.y],["L",u.x,u.y]];return a&&g.push(["A",a,a,0,d,0,l.x,l.y]),g.push(["L",s.x,s.y]),g.push(["Z"]),g}function s(t,e,n,i,a){var s=o(t,e,n,i),c=o(t,e,n,a);if(r.isNumberEqual(a-i,2*Math.PI)){var l=o(t,e,n,i+Math.PI);return[["M",s.x,s.y],["A",n,n,0,1,1,l.x,l.y],["A",n,n,0,1,1,s.x,s.y],["A",n,n,0,1,0,l.x,l.y],["A",n,n,0,1,0,s.x,s.y],["Z"]]}var u=a-i<=Math.PI?0:1;return[["M",s.x,s.y],["A",n,n,0,u,1,c.x,c.y]]}function c(t,e){var n,r,o=t.points,a=i(o),s=e.startAngle,c=e.endAngle,l=c-s;return e.isTransposed?(n=a.maxY*l,r=a.minY*l):(n=a.maxX*l,r=a.minX*l),n+=s,r+=s,{startAngle:r,endAngle:n}}function l(t,e){if(r.isNumber(t)&&r.isNumber(e))return[t,e];var n,i,o=-1,a=0,s=0,c=t.length-1,l=0;while(++o<t.length)n=c,c=o,l+=i=t[n]*e[c]-t[c]*e[n],a+=(t[n]+t[c])*i,s+=(e[n]+e[c])*i;return l*=3,[a/l,s/l]}function u(t,e){var n=t.attr(),i=e.attr();return r.each(n,function(t,e){void 0===i[e]&&(i[e]=void 0)}),i}e.polarToCartesian=o,e.getSectorPath=a,e.getArcPath=s,e.getAngle=c,e.getPolygonCentroid=l,e.getReplaceAttrs=u},"+Qka":function(t,e,n){var r=n("fmRc"),i=n("t2Dn"),o=n("cq/+"),a=n("T1AV"),s=n("GoyQ"),c=n("mTTR"),l=n("itsj");function u(t,e,n,h,f){t!==e&&o(e,function(o,c){if(f||(f=new r),s(o))a(t,e,c,n,u,h,f);else{var p=h?h(l(t,c),o,c+"",t,e,f):void 0;void 0===p&&(p=o),i(t,c,p)}},c)}t.exports=u},"+iFO":function(t,e,n){var r=n("dTAl"),i=n("LcsW"),o=n("6sVZ");function a(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}t.exports=a},"+q5a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipItems=e.findDataByPoint=void 0;var r=n("t0W4"),i=n("iTfj"),o=n("yLks"),a=n("EIvI");function s(t,e,n){var r=n.translate(t),o=n.translate(e);return i.isNumberEqual(r,o)}function c(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 l(t,e,n){var r=n.coordinate,a=n.getYScale(),s=a.field,c=r.invert(e),l=a.invert(c.y),u=i.find(t,function(t){var e=t[o.FIELD_ORIGIN];return e[s][0]<=l&&e[s][1]>=l});return u||t[t.length-1]}var u=i.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;o<n;o++){var a=e[o],s=t.translate(a);s<r&&(r=s),s>i&&(i=s)}return(i-r)/(n-1)});function h(t,e,n){var r=n;if(!n){var o=e.getAttribute("position"),a=o.getFields();r=a[0]}var s=e.scales;return s[r]?s[r].getText(t[r]):i.hasKey(t,r)?t[r]:r}function f(t){var e=i.values(t.attributes);return i.filter(e,function(t){return i.contains(o.GROUP_ATTRS,t.type)})}function p(t){for(var e,n=f(t),r=0,i=n;r<i.length;r++){var o=i[r],a=o.getScale(o.type);if(a&&a.isLinear){e=a;break}}var s=t.getXScale(),c=t.getYScale();return e||c||s}function d(t,e){var n=e.field,r=t[n];if(i.isArray(r)){var o=r.map(function(t){return e.getText(t)});return o.join("-")}return e.getText(r)}function g(t,e){var n,r=e.getGroupScales();if(r.length&&(n=r[0]),n){var i=n.field;return n.getText(t[i])}var o=p(e);return a.getName(o)}function y(t,e,n){if(0===e.length)return null;var r=n.type,a=n.getXScale(),h=n.getYScale(),f=a.field,p=h.field,d=null;if("heatmap"===r||"point"===r){for(var g=n.coordinate,y=g.invert(t),v=a.invert(y.x),m=h.invert(y.y),b=1/0,x=0;x<e.length;x++){var O=e[x],w=O[o.FIELD_ORIGIN],j=Math.pow(w[f]-v,2)+Math.pow(w[p]-m,2);j<b&&(b=j,d=O)}return d}var C=e[0],S=e[e.length-1],k=c(t,n),M=C[o.FIELD_ORIGIN][f],_=C[o.FIELD_ORIGIN][p],A=S[o.FIELD_ORIGIN][f],T=h.isLinear&&i.isArray(_);if(i.isArray(M)){for(x=0;x<e.length;x++){var E=e[x];w=E[o.FIELD_ORIGIN];if(a.translate(w[f][0])<=k&&a.translate(w[f][1])>=k){if(!T){d=E;break}i.isArray(d)||(d=[]),d.push(E)}}i.isArray(d)&&(d=l(d,t,n))}else{var P=void 0;if(a.isLinear||"timeCat"===a.type){if((k>a.translate(A)||k<a.translate(M))&&(k>a.max||k<a.min))return null;var L=0,I=e.length-1,F=void 0;while(L<=I){F=Math.floor((L+I)/2);var D=e[F][o.FIELD_ORIGIN][f];if(s(D,k,a))return e[F];a.translate(D)<=a.translate(k)?(L=F+1,S=e[F],P=e[F+1]):(0===I&&(S=e[0]),I=F-1)}}else{for(x=0;x<e.length;x++){E=e[x],w=E[o.FIELD_ORIGIN];if(s(w[f],k,a)){if(!T){d=E;break}i.isArray(d)||(d=[]),d.push(E)}else a.translate(w[f])<=k&&(S=E,P=e[x+1])}i.isArray(d)&&(d=l(d,t,n))}S&&P&&Math.abs(a.translate(S[o.FIELD_ORIGIN][f])-k)>Math.abs(a.translate(P[o.FIELD_ORIGIN][f])-k)&&(S=P)}var B=u(n.getXScale());return!d&&Math.abs(a.translate(S[o.FIELD_ORIGIN][f])-k)<=B/2&&(d=S),d}function v(t,e,n){void 0===n&&(n="");var s,c,l=t[o.FIELD_ORIGIN],u=h(l,e,n),f=e.tooltipOption,y=e.theme.defaultColor,v=[];function m(e,n){if(!i.isNil(n)&&""!==n){var r={title:u,data:l,mappingData:t,name:e,value:n,color:t.color||y,marker:!0};v.push(r)}}if(i.isObject(f)){var b=f.fields,x=f.callback;if(x){var O=b.map(function(e){return t[o.FIELD_ORIGIN][e]}),w=x.apply(void 0,O),j=r.__assign({data:t[o.FIELD_ORIGIN],mappingData:t,title:u,color:t.color||y,marker:!0},w);v.push(j)}else for(var C=e.scales,S=0,k=b;S<k.length;S++){var M=k[S];if(!i.isNil(l[M])){var _=C[M];s=a.getName(_),c=_.getText(l[M]),m(s,c)}}}else{var A=p(e);i.isNil(l[A.field])||(c=d(l,A),s=g(l,e),m(s,c))}return v}e.findDataByPoint=y,e.getTooltipItems=v},"+wVF":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("n/J0"),c=n("w02o");function l(t){var e,n=t.chart,r=t.options,i=r.data,o=r.type,a=r.reflect,c=r.xField,l=r.yField,u=r.colorField,h=r.sizeField,f=r.sizeRatio,p=r.shape,d=r.color;n.data(i),e="density"===o?n.heatmap().position(c+"*"+l):n.polygon().position(c+"*"+l),u&&e.color(u,d||s["b"].GRADIENT.CONTINUOUS),a&&n.coordinate().reflect(a);var g=1;if((f||0===f)&&(p||h?f<0||f>1?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["o"])(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"])(t)}var y=n("kXyF");Object(y["h"])("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["h"])("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["a"])},"/+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:'<li class="g2-tooltip-list-item" data-index={index}><span style="background-color:{color};" class="g2-tooltip-marker"></span>{name}{value}</li>'};function g(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.data;o=Object(a["map"])(o,function(t){if(Object(a["isArray"])(i)){var e=i[0],n=i[1],r=i[2],o=i[3];t[u]=t[e]<=t[n]?h:f,t[l]=[t[e],t[n],t[r],t[o]]}return t}),e.data(o);var s=e.schema().position(r+"*"+l).shape("candle");return s.color(u,p),t}function y(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["k"])(s,c["a"]),n[l]=Object(i["k"])(p,c["a"]),n));return r.scale(y),t}function v(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 m(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 <br><span data-label="'+y+'" style="padding-left: 16px">'+y+"\uff1a"+e+'</span>\n <br><span data-label="'+v+'" style="padding-left: 16px">'+v+"\uff1a"+n+'</span>\n <br><span data-label="'+m+'" style="padding-left: 16px">'+m+"\uff1a"+r+'</span>\n <br><span data-label="'+b+'" style="padding-left: 16px">'+b+"\uff1a"+i+"</span>\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 w=Object(i["b"])({},O,u);e.tooltip(w),h.tooltip(x)}}else e.tooltip(!1);return t}function b(t){var e=t.chart,n=t.options,r=n.legend;return r?e.legend(u,r):!1===r&&e.legend(!1),t}function x(t){Object(i["e"])(g,y,s["j"],v,m,b,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 x}})(o["a"])},"/3+T":function(t,e,n){"use strict";n.r(e);var r,i=n("LHnb"),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),w=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:'<div class="'+m+'"></div>',crosshairTpl:'<div class="'+b+'"></div>',textTpl:'<span class="'+x+'">{content}</span>',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"]),j=w;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 j})},"/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<u){if(s=t.src.charCodeAt(l++),s!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(!!i||(t.line=e+1,c=t.push("hr","hr",0),c.map=[e,t.line],c.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},"027J":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+Object(o["get"])(e,[0,"data","y"],0)},containerTpl:'<div class="g2-tooltip"><div class="g2-tooltip-list"></div></div>',itemTpl:"<span>{value}</span>",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},s=n("w02o"),c=n("YuPD"),l=n("tKoa"),u=n("7cv3"),h=n("DyAw");function f(t){var e,n,r=t.chart,i=t.options,o=i.data,a=i.xAxis,f=i.yAxis,p=i.color,d=i.columnStyle,g=i.columnWidthRatio,y=o.map(function(t,e){return{x:""+e,y:t}});r.data(y);var v=Object(c["b"])({},t,{options:{xField:u["b"],yField:u["c"],widthRatio:g,interval:{style:d,color:p}}});return Object(l["c"])(v),r.axis(!1),r.legend(!1),r.interaction("element-active"),Object(s["f"])((e={},e[u["b"]]=a,e[u["c"]]=f,e),(n={},n[u["b"]]={type:"cat"},n[u["c"]]=Object(h["a"])(y,u["c"]),n))(t),t}function p(t){return Object(c["e"])(f,s["k"],s["j"],s["a"],Object(s["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r["a"])({},a)}},e.prototype.getSchemaAdaptor=function(){return p}})(i["a"])},"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("7cv3"),a=n("w02o"),s=n("YuPD"),c=n("tKoa"),l=n("DyAw");function u(t){var e,n,r=t.chart,i=t.options,u=i.data,h=i.xAxis,f=i.yAxis,p=i.color,d=i.areaStyle,g=i.point,y=i.line,v=u.map(function(t,e){return{x:e,y:t}});r.data(v);var m=Object(s["b"])({},t,{options:{xField:o["b"],yField:o["c"],area:{color:p,style:d},line:y,point:g}}),b=Object(s["b"])({},m,{options:{tooltip:!1}});return Object(c["a"])(m),Object(c["d"])(b),Object(c["e"])(b),r.axis(!1),r.legend(!1),Object(a["f"])((e={},e[o["b"]]=h,e[o["c"]]=f,e),(n={},n[o["b"]]={type:"cat"},n[o["c"]]=Object(l["a"])(v,o["c"]),n))(t),t}function h(t){return Object(s["e"])(u,a["k"],a["j"],a["a"],Object(a["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r["a"])({},o["a"]),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"}}},e.prototype.getSchemaAdaptor=function(){return h}})(i["a"])},"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.length<a-1)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(t,e),this.size=n.size,this}t.exports=s},"0Xep":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"d",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a});var r=0,i=.5,o=.5,a=.05},"1//c":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("aFU3");function i(t,e,n){var i=new r["Event"](e,n);i.target=t,i.propagationPath.push(t),t.emitDelegation(e,i);var o=t.getParent();while(o)o.emitDelegation(e,i),i.propagationPath.push(o),o=o.getParent()}},"17Tr":function(t,e,n){"use strict";n.r(e);var r=n("uCX8");n.d(e,"Annotation",function(){return r});var i=n("fP0w");n.d(e,"Axis",function(){return i});var o=n("/3+T");n.d(e,"Crosshair",function(){return o});var a=n("x3EW");n.d(e,"Grid",function(){return a});var s=n("5bFI");n.d(e,"Legend",function(){return s});var c=n("Ch+T");n.d(e,"Tooltip",function(){return c});var l=n("NmWf");n.d(e,"Component",function(){return l["a"]});var u=n("MeYt");n.d(e,"GroupComponent",function(){return u["a"]});var h=n("de35");n.d(e,"HtmlComponent",function(){return h["a"]});var f=n("fFDA");n.d(e,"Slider",function(){return f["a"]});var p=n("3u8d");n.d(e,"Scrollbar",function(){return p["a"]});var d=n("vk7d");for(var g in d)["Component","GroupComponent","HtmlComponent","Axis","Annotation","Grid","Legend","Tooltip","Crosshair","Slider","Scrollbar","propagationDelegate","TOOLTIP_CSS_CONST","default"].indexOf(g)<0&&function(t){n.d(e,t,function(){return d[t]})}(g);var y=n("uzHj");for(var g in y)["Component","GroupComponent","HtmlComponent","Axis","Annotation","Grid","Legend","Tooltip","Crosshair","Slider","Scrollbar","propagationDelegate","TOOLTIP_CSS_CONST","default"].indexOf(g)<0&&function(t){n.d(e,t,function(){return y[t]})}(g);var v=n("1//c");n.d(e,"propagationDelegate",function(){return v["a"]});var m=n("u60a");n.d(e,"TOOLTIP_CSS_CONST",function(){return m})},"1M3H":function(t,e,n){"use strict";t.exports=n("CK61")},"1MZV":function(t,e,n){"use strict";var r=new Map;function i(t,e){r.set(t,e)}function o(t){return r.get(t)}var a=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.width,o=e.height;return{x:n,y:r,width:i,height:o}},s=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.r;return{x:n-i,y:r-i,width:2*i,height:2*i}},c=n("EYNi");function l(t,e){return t&&e?{minX:Math.min(t.minX,e.minX),minY:Math.min(t.minY,e.minY),maxX:Math.max(t.maxX,e.maxX),maxY:Math.max(t.maxY,e.maxY)}:t||e}function u(t,e){var n=t.get("startArrowShape"),r=t.get("endArrowShape"),i=null,o=null;return n&&(i=n.getCanvasBBox(),e=l(e,i)),r&&(o=r.getCanvasBBox(),e=l(e,o)),e}var h=function(t){for(var e=t.attr(),n=e.points,r=[],i=[],o=0;o<n.length;o++){var a=n[o];r.push(a[0]),i.push(a[1])}var s=c["f"].getBBoxByArray(r,i),l=s.x,h=s.y,f=s.width,p=s.height,d={minX:l,minY:h,maxX:l+f,maxY:h+p};return d=u(t,d),{x:d.minX,y:d.minY,width:d.maxX-d.minX,height:d.maxY-d.minY}},f=function(t){for(var e=t.attr(),n=e.points,r=[],i=[],o=0;o<n.length;o++){var a=n[o];r.push(a[0]),i.push(a[1])}return c["f"].getBBoxByArray(r,i)},p=n("vIgC"),d=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.text,o=e.fontSize,a=e.lineHeight,s=e.font;s||(s=Object(p["a"])(e));var c,l=Object(p["c"])(i,s);if(l){var u=e.textAlign,h=e.textBaseline,f=Object(p["b"])(i,o,a),d={x:n,y:r-f};u&&("end"===u||"right"===u?d.x-=l:"center"===u&&(d.x-=l/2)),h&&("top"===h?d.y+=f:"middle"===h&&(d.y+=f/2)),c={x:d.x,y:d.y,width:l,height:f}}else c={x:n,y:r,width:0,height:0};return c},g=n("LvGN"),y=n("iTfj");function v(t,e){for(var n=[],r=[],i=[],o=0;o<t.length;o++){var a=t[o],s=a.currentPoint,l=a.params,u=a.prePoint,h=void 0;switch(a.command){case"Q":h=c["e"].box(u[0],u[1],l[1],l[2],l[3],l[4]);break;case"C":h=c["b"].box(u[0],u[1],l[1],l[2],l[3],l[4],l[5],l[6]);break;case"A":var f=a.arcParams;h=c["a"].box(f.cx,f.cy,f.rx,f.ry,f.xRotation,f.startAngle,f.endAngle);break;default:n.push(s[0]),r.push(s[1]);break}h&&(a.box=h,n.push(h.x,h.x+h.width),r.push(h.y,h.y+h.height)),e&&("L"===a.command||"M"===a.command)&&a.prePoint&&a.nextPoint&&i.push(a)}n=n.filter(function(t){return!Number.isNaN(t)}),r=r.filter(function(t){return!Number.isNaN(t)});var p=Math.min.apply(null,n),d=Math.min.apply(null,r),g=Math.max.apply(null,n),y=Math.max.apply(null,r);if(0===i.length)return{x:p,y:d,width:g-p,height:y-d};for(o=0;o<i.length;o++){a=i[o],s=a.currentPoint;var v=void 0;s[0]===p?(v=m(a,e),p-=v.xExtra):s[0]===g&&(v=m(a,e),g+=v.xExtra),s[1]===d?(v=m(a,e),d-=v.yExtra):s[1]===y&&(v=m(a,e),y+=v.yExtra)}return{x:p,y:d,width:g-p,height:y-d}}function m(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2),c=Math.acos((o+a-s)/(2*Math.sqrt(o)*Math.sqrt(a)));if(!c||0===Math.sin(c)||Object(y["isNumberEqual"])(c,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));l=l>Math.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["path2Segments"])(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,w=0,j=t.bMarks[e]+t.tShift[e],C=t.eMarks[e],S=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(j))return!1;while(++j<C)if(93===t.src.charCodeAt(j)&&92!==t.src.charCodeAt(j-1)){if(j+1===C)return!1;if(58!==t.src.charCodeAt(j+1))return!1;break}for(l=t.lineMax,x=t.md.block.ruler.getRules("reference"),g=t.parentType,t.parentType="reference";S<l&&!t.isEmpty(S);S++)if(!(t.sCount[S]-t.blkIndent>3)&&!(t.sCount[S]<0)){for(b=!1,h=0,f=x.length;h<f;h++)if(x[h](t,S,l,!0)){b=!0;break}if(b)break}for(m=t.getLines(e,S,t.blkIndent,!1).trim(),C=m.length,j=1;j<C;j++){if(a=m.charCodeAt(j),91===a)return!1;if(93===a){d=j;break}10===a?w++:92===a&&(j++,j<C&&10===m.charCodeAt(j)&&w++)}if(d<0||58!==m.charCodeAt(d+1))return!1;for(j=d+2;j<C;j++)if(a=m.charCodeAt(j),10===a)w++;else if(!i(a))break;if(y=t.md.helpers.parseLinkDestination(m,j,C),!y.ok)return!1;if(u=t.md.normalizeLink(y.str),!t.md.validateLink(u))return!1;for(j=y.pos,w+=y.lines,s=j,c=w,v=j;j<C;j++)if(a=m.charCodeAt(j),10===a)w++;else if(!i(a))break;y=t.md.helpers.parseLinkTitle(m,j,C),j<C&&v!==j&&y.ok?(O=y.str,j=y.pos,w+=y.lines):(O="",j=s,w=c);while(j<C){if(a=m.charCodeAt(j),!i(a))break;j++}if(j<C&&10!==m.charCodeAt(j)&&O){O="",j=s,w=c;while(j<C){if(a=m.charCodeAt(j),!i(a))break;j++}}return!(j<C&&10!==m.charCodeAt(j))&&(p=r(m.slice(1,d)),!!p&&(!!o||("undefined"===typeof t.env.references&&(t.env.references={}),"undefined"===typeof t.env.references[p]&&(t.env.references[p]={title:O,href:u}),t.parentType=g,t.line=e+w+1,!0)))}},"2gN3":function(t,e,n){var r=n("Kz5y"),i=r["__core-js_shared__"];t.exports=i},"31bW":function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o,a,s=-1,c=t.posMax,l=t.pos;t.pos=e+1,r=1;while(t.pos<c){if(o=t.src.charCodeAt(t.pos),93===o&&(r--,0===r)){i=!0;break}if(a=t.pos,t.md.inline.skipToken(t),91===o)if(a===t.pos-1)r++;else if(n)return t.pos=l,-1}return i&&(s=t.pos),t.pos=l,s}},"3Fdi":function(t,e){var n=Function.prototype,r=n.toString;function i(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}t.exports=i},"3L66":function(t,e,n){var r=n("MMmD"),i=n("ExA7");function o(t){return i(t)&&r(t)}t.exports=o},"3MAE":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("t0W4"),i=r.__importDefault(n("ZeSx")),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(i.default);e.default=o},"3T7b":function(t,e){},"3m0e":function(t,e){var n=Object.prototype,r=n.toString;function i(t){return r.call(t)}t.exports=i},"3u8d":function(t,e,n){"use strict";var r=n("LHnb"),i=n("fIp6"),o=n("iTfj"),a=n("MeYt"),s={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},c={default:s,hover:{thumbColor:"rgba(0,0,0,0.2)"}},l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=o["noop"],e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var r=t?Object(o["get"])(n.originalEvent,"touches.0.clientX"):n.clientX,i=t?Object(o["get"])(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?r:i,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[Object(i["a"])(t,"touchmove",e.onMouseMove),Object(i["a"])(t,"touchend",e.onMouseUp),Object(i["a"])(t,"touchcancel",e.onMouseUp)]:[Object(i["a"])(t,"mousemove",e.onMouseMove),Object(i["a"])(t,"mouseup",e.onMouseUp),Object(i["a"])(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach(function(t){t.remove()})}},e.onMouseMove=function(t){var n=e.cfg,r=n.isHorizontal,i=n.thumbOffset;t.preventDefault();var a=e.isMobile?Object(o["get"])(t,"touches.0.clientX"):t.clientX,s=e.isMobile?Object(o["get"])(t,"touches.0.clientY"):t.clientY,c=r?a:s,l=c-e.startPos;e.startPos=c,e.updateThumbOffset(i+l)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,r=n.isHorizontal,i=n.x,o=n.y,a=n.thumbLen,s=e.getContainerDOM(),c=s.getBoundingClientRect(),l=t.clientX,u=t.clientY,h=r?l-c.left-i-a/2:u-c.top-o-a/2,f=e.validateRange(h);e.updateThumbOffset(f)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return Object(r["b"])(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),r=Object(o["clamp"])(n,t,e);n===r||this.get("isInit")||this.setValue(r)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,e=this.get("maxLimit")||1;return{min:t,max:e}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*Object(o["clamp"])(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return Object(o["clamp"])(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:c})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,r=e.theme,i=void 0===r?{default:{}}:r,o=i.default,a=o.lineCap,s=o.trackColor,c=o.size,l=this.get("isHorizontal")?{x1:0+c/2,y1:c/2,x2:n-c/2,y2:c/2,lineWidth:c,stroke:s,lineCap:a}:{x1:c/2,y1:0+c/2,x2:c/2,y2:n-c/2,lineWidth:c,stroke:s,lineCap:a};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:l})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,r=e.thumbLen,i=e.theme,o=void 0===i?{default:{}}:i,a=o.default,s=a.size,c=a.lineCap,l=a.thumbColor,u=this.get("isHorizontal")?{x1:n+s/2,y1:s/2,x2:n+r-s/2,y2:s/2,lineWidth:s,stroke:l,lineCap:c,cursor:"default"}:{x1:s/2,y1:n+s/2,x2:s/2,y2:n+r-s/2,lineWidth:s,stroke:l,lineCap:c,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:u})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var e=t.findById(this.getElementId("track"));e.on("click",this.onTrackClick);var n=t.findById(this.getElementId("thumb"));n.on("mouseover",this.onThumbMouseOver),n.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,r=e.trackLen,i=t;return t+n>r?i=r-n:t+n<n&&(i=0),i},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.updateThumbOffset=function(t){var e=this.cfg,n=e.thumbOffset,r=e.isHorizontal,i=e.thumbLen,o=e.size,a=this.validateRange(t);if(a!==n){var s=this.getElementByLocalId("thumb");r?s.attr({x1:a+o/2,x2:a+i-o/2}):s.attr({y1:a+o/2,y2:a+i-o/2}),this.emitOffsetChange(a)}},e.prototype.emitOffsetChange=function(t){var e=this.cfg,n=e.thumbOffset,r=e.trackLen,i=e.thumbLen;this.cfg.thumbOffset=t,this.emit("scrollchange",{thumbOffset:t,ratio:Object(o["clamp"])(t/(r-i),0,1)}),this.delegateEmit("valuechange",{originalValue:n,value:t})},e}(a["a"]);n.d(e,"a",function(){return l})},"44Ds":function(t,e,n){var r=n("e4Nc"),i="Expected a function";function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},"46lQ":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("WOQw"),s=n("w02o"),c=n("YuPD"),l=n("n/J0");function u(t){var e=t.chart,n=t.options,i=n.views,s=n.legend,u=n.tooltip;return Object(o["each"])(i,function(t){var n=t.region,i=t.data,s=t.meta,u=t.axes,h=t.coordinate,f=t.annotations,p=t.geometries,d=e.createView({region:n});d.data(i);var g={};u&&Object(o["each"])(u,function(t,e){g[e]=Object(c["k"])(t,l["a"])}),g=Object(c["b"])({},s,g),d.scale(g),u?Object(o["each"])(u,function(t,e){d.axis(e,t)}):d.axis(!1),d.coordinate(h),Object(o["each"])(p,function(t){var e=Object(a["a"])({chart:d,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),Object(o["each"])(f,function(t){d.annotation()[t.type](Object(r["a"])({},t))})}),s?Object(o["each"])(s,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(u),t}function h(t){return Object(c["e"])(s["a"],u,s["c"],s["a"],s["j"],s["k"])(t)}var f,p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="multi-view",e}return Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return h},e}(i["a"]);function d(t,e){console.warn(t===f.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===f.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===f.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2'\".":"invalid Stage type.")}(function(t){t["DEV"]="DEV",t["BETA"]="BETA",t["STABLE"]="STABLE"})(f||(f={}));(function(){function t(){}Object.defineProperty(t,"MultiView",{get:function(){return d(f.DEV,"multi-view"),p},enumerable:!1,configurable:!0})})()},"4Olw":function(t,e,n){"use strict";function r(t,e){return t.views.find(function(t){return t.id===e})}n.d(e,"a",function(){return r})},"4Vez":function(t,e,n){var r=n("e+LU"),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},"4cbP":function(t,e){},"4fNk":function(t,e,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},"4kuk":function(t,e,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),s=n("JSQU");function c(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype["delete"]=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},"4uTw":function(t,e,n){var r=n("Z0cm"),i=n("9ggG"),o=n("GNiM"),a=n("dt0z");function s(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}t.exports=s},"5HRO":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t,e){if(!1===t)return{fields:!1};var n=Object(r["get"])(t,"fields"),i=Object(r["get"])(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}}},"5Mrk":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(60===t.charCodeAt(e)){e++;while(e<n){if(i=t.charCodeAt(e),10===i)return c;if(62===i)return c.pos=e+1,c.str=r(t.slice(s+1,e)),c.ok=!0,c;92===i&&e+1<n?e+=2:e++}return c}o=0;while(e<n){if(i=t.charCodeAt(e),32===i)break;if(i<32||127===i)break;if(92===i&&e+1<n)e+=2;else{if(40===i&&o++,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)}},"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)<n};function d(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return l(n,r,i-n,o-r)}function g(t){var e,n=t.getClip(),i=n&&n.getBBox();if(t.isGroup()){var o=1/0,a=-1/0,s=1/0,c=-1/0,u=t.getChildren();u.length>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]);u<o&&(o=u),h>a&&(a=h),f<s&&(s=f),p>c&&(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)}}},"5Wne":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var r=n("t0W4"),i=r.__importDefault(n("3MAE")),o=n("iTfj"),a={};function s(t,e){var n=a[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 c(t){var e=a[t];return o.get(e,"ActionClass")}function l(t,e,n){a[t]={ActionClass:e,cfg:n}}function u(t){delete a[t]}function h(t,e){var n=new i.default(e);return n.callback=t,n.name="callback",n}e.createAction=s,e.getActionClass=c,e.registerAction=l,e.unregisterAction=u,e.createCallbackAction=h},"5bFI":function(t,e,n){"use strict";n.r(e);var r=n("LHnb"),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.currentPageIndex<e.totalPagesCnt){e.currentPageIndex+=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e}return Object(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",type:"category",itemSpacing:24,itemMarginBottom:8,maxItemWidth:null,itemWidth:null,itemHeight:null,itemName:{},itemValue:null,maxWidth:null,maxHeight:null,marker:{},items:[],itemStates:{},itemBackground:{},defaultCfg:{title:{spacing:5,style:{fill:c["a"].textColor,fontSize:12,textAlign:"start",textBaseline:"top"}},background:{padding:5,style:{stroke:c["a"].lineColor}},itemBackground:{style:{opacity:0,fill:"#fff"}},itemName:{spacing:16,style:{fill:c["a"].textColor,fontSize:12,textAlign:"start",textBaseline:"middle"}},marker:{spacing:8,style:{r:6,symbol:"circle"}},itemValue:{alignRight:!1,formatter:null,style:{fill:c["a"].textColor,fontSize:12,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:c["a"].uncheckedColor},markerStyle:{fill:c["a"].uncheckedColor,stroke:c["a"].uncheckedColor}},inactive:{nameStyle:{fill:c["a"].uncheckedColor},markerStyle:{opacity:.2}}}}})},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("items")},e.prototype.setItems=function(t){this.update({items:t})},e.prototype.updateItem=function(t,e){Object(i["mix"])(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("item-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n;var r=this.getElementByLocalId("item-"+t.id);if(r){var i=this.getItems(),o=i.indexOf(t),a=this.createOffScreenGroup(),s=this.drawItem(t,o,this.getItemHeight(),a);this.updateElements(s,r),this.clearUpdateStatus(r)}},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("itemStates"),n=[];return Object(i["each"])(e,function(e,r){t[r]&&n.push(r)}),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(i["each"])(n,function(n){e.setItemState(n,t,!1)})},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(i["filter"])(n,function(n){return e.hasState(n,t)})},e.prototype.drawLegendContent=function(t){this.processItems(),this.drawItems(t)},e.prototype.processItems=function(){var t=this.get("items");Object(i["each"])(t,function(t){t.id||(t.id=t.name)})},e.prototype.drawItems=function(t){var e=this,n=this.addGroup(t,{id:this.getElementId("item-container-group"),name:"legend-item-container-group"}),r=this.addGroup(n,{id:this.getElementId("item-group"),name:"legend-item-group"}),o=this.getItemHeight(),a=this.get("itemWidth"),s=this.get("itemSpacing"),c=this.get("itemMarginBottom"),l=this.get("currentPoint"),u=l.x,h=l.y,f=this.get("layout"),p=this.get("items"),d=!1,g=0,y=this.get("maxWidth"),v=this.get("maxHeight");Object(i["each"])(p,function(t,n){var i=e.drawItem(t,n,o,r),p=i.getBBox(),m=a||p.width;m>g&&(g=m),"horizontal"===f?(y&&y<l.x+m-u&&(d=!0,l.x=u,l.y+=o+c),e.moveElementTo(i,l),l.x+=m+s):(v&&v<l.y+o+c-h&&(d=!0,l.x+=g+s,l.y=h,g=0),e.moveElementTo(i,l),l.y+=o+c)}),d&&this.get("flipPage")&&(this.pageHeight=0,this.pageWidth=0,this.totalPagesCnt=1,this.startX=u,this.startY=h,this.adjustNavigation(t,r))},e.prototype.getItemHeight=function(){var t=this.get("itemHeight");if(!t){var e=this.get("itemName");e&&(t=e.style.fontSize)}return t},e.prototype.drawMarker=function(t,e,n,o){var a=Object(r["a"])(Object(r["a"])(Object(r["a"])({x:0,y:o/2},e.style),{symbol:Object(i["get"])(n.marker,"symbol","circle")}),Object(i["get"])(n.marker,"style",{})),s=this.addShape(t,{type:"marker",id:this.getElementId("item-"+n.id+"-marker"),name:"legend-item-marker",attrs:a}),c=s.getBBox();s.attr("x",c.width/2);var l=s.attr(),u=l.stroke,h=l.fill;return u&&s.set("isStroke",!0),h&&s.set("isFill",!0),s},e.prototype.drawItemText=function(t,e,n,i,o,a,s){var c=n.formatter,l=Object(r["a"])({x:a,y:o/2,text:c?c(i[e],i,s):i[e]},n.style);return this.addShape(t,{type:"text",id:this.getElementId("item-"+i.id+"-"+e),name:"legend-item-"+e,attrs:l})},e.prototype.drawItem=function(t,e,n,a){var s="item-"+t.id,c=this.addGroup(a,{name:"legend-item-container",id:this.getElementId("item-container-"+s),delegateObject:{item:t,index:e}}),l=this.addGroup(c,{name:"legend-item",id:this.getElementId(s),delegateObject:{item:t,index:e}}),u=this.get("marker"),h=this.get("itemName"),f=this.get("itemValue"),p=this.get("itemBackground"),d=this.getLimitItemWidth(),g=0;if(u){var y=this.drawMarker(l,u,t,n);g=y.getBBox().maxX+u.spacing}if(h){var v=this.drawItemText(l,"name",h,t,n,g,e);d&&Object(o["a"])(!0,v,Object(i["clamp"])(d-g,0,d)),g=v.getBBox().maxX+h.spacing}if(f){var m=this.drawItemText(l,"value",f,t,n,g,e);d&&(f.alignRight?(m.attr({textAlign:"right",x:d}),Object(o["a"])(!0,m,Object(i["clamp"])(d-g,0,d),"head")):Object(o["a"])(!0,m,Object(i["clamp"])(d-g,0,d)))}if(p){var b=l.getBBox(),x=this.addShape(l,{type:"rect",name:"legend-item-background",id:this.getElementId(s+"-background"),attrs:Object(r["a"])({x:0,y:0,width:b.width,height:n},p.style)});x.toBack()}return this.applyItemStates(t,l),l},e.prototype.adjustNavigation=function(t,e){var n=this,r=this.startX,o=this.startY,a=this.get("layout"),s=e.findAll(function(t){return"legend-item"===t.get("name")}),c=this.get("maxWidth"),l=this.get("maxHeight"),u=this.get("itemWidth"),h=this.get("itemSpacing"),f=this.getItemHeight(),p=this.drawNavigation(t,a,"00/00",12),d=p.getBBox(),g={x:r,y:o},y=1,v=0,m=0,b=0;if("horizontal"===a)this.pageHeight=f,Object(i["each"])(s,function(t){var e=t.getBBox(),i=u||e.width;(v&&v<g.x+i+h||c<g.x+i+h+d.width)&&(1===y&&(v=g.x+h,n.pageWidth=v,n.moveElementTo(p,{x:c-h-d.width-d.minX,y:g.y+f/2-d.height/2-d.minY})),y+=1,g.x=r,g.y+=f),n.moveElementTo(t,g),t.getParent().setClip({type:"rect",attrs:{x:g.x,y:g.y,width:i+h,height:f}}),g.x+=i+h});else{var x=this.get("itemMarginBottom");Object(i["each"])(s,function(t){var e=t.getBBox();e.width>m&&(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];i<n&&(i=n),e.setValue([n,i])}),t.on("legend-handler-max:drag",function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue(),i=r[0];i>n&&(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]+c<s.max?e.setValue([o[0]+c,o[1]+c]):e.setValue([s.max-a,s.max])),n={x:t.x,y:t.y}}}),t.on("legend-track:dragend",function(t){n=null})},e.prototype.drawLabels=function(t){this.drawLabel("min",t),this.drawLabel("max",t)},e.prototype.drawLabel=function(t,e){var n=this.get("label"),i=n.style,o=n.align,a=this.get(t),s=this.getLabelAlignAttrs(t,o),c="label-"+t;this.addShape(e,{type:"text",id:this.getElementId(c),name:"legend-label-"+t,attrs:Object(r["a"])(Object(r["a"])({x:0,y:0,text:a},i),s)})},e.prototype.getLabelAlignAttrs=function(t,e){var n=this.isVertical(),r="center",i="middle";return n?(r="start",i="rail"!==e?"min"===t?"top":"bottom":"top"):"rail"!==e?(i="top",r="min"===t?"start":"end"):(r="start",i="middle"),{textAlign:r,textBaseline:i}},e.prototype.getRailPath=function(t,e,n,r){var i=this.get("rail"),o=i.size,a=i.defaultLength,s=i.type,c=this.isVertical(),l=a,u=n,h=r;u||(u=c?o:l),h||(h=c?l:o);var f=[];return"color"===s?(f.push(["M",t,e]),f.push(["L",t+u,e]),f.push(["L",t+u,e+h]),f.push(["L",t,e+h]),f.push(["Z"])):(f.push(["M",t+u,e]),f.push(["L",t+u,e+h]),f.push(["L",t,e+h]),f.push(["Z"])),f},e.prototype.drawRail=function(t){var e=this.get("rail"),n=e.style;this.addShape(t,{type:"path",id:this.getElementId("rail"),name:"legend-rail",attrs:Object(r["a"])({path:this.getRailPath(0,0)},n)})},e.prototype.getTrackColor=function(t){var e,n=t.length;if(!n)return null;if(1===n)return t[0];e=this.isVertical()?"l(90)":"l(0)";for(var r=0;r<n;r++){var i=r/(n-1);e+=" "+i+":"+t[r]}return e},e.prototype.getTrackPath=function(t){var e=this.getRailShape(t),n=e.attr("path");return Object(i["clone"])(n)},e.prototype.getClipTrackAttrs=function(t){var e,n,r,i,o=this.getCurrentValue(),a=o[0],s=o[1],c=this.getRailBBox(t),l=this.getPointByValue(a,t),u=this.getPointByValue(s,t),h=this.isVertical();return h?(e=c.minX,n=l.y,r=c.width,i=u.y-l.y):(e=l.x,n=c.minY,r=u.x-l.x,i=c.height),{x:e,y:n,width:r,height:i}},e.prototype.getTrackAttrs=function(t){var e=this.get("track"),n=this.get("colors"),r=this.getTrackPath(t);return Object(i["mix"])({path:r,fill:this.getTrackColor(n)},e.style)},e.prototype.resetTrackClip=function(t){var e=t||this.get("group"),n=this.getElementId("track"),r=e.findById(n),i=r.getClip(),o=this.getClipTrackAttrs(t);i?i.attr(o):r.setClip({type:"rect",attrs:o})},e.prototype.resetTrack=function(t){var e=this.getElementId("track"),n=t.findById(e),r=this.getTrackAttrs(t);n?n.attr(r):this.addShape(t,{type:"path",id:e,draggable:this.get("slidable"),name:"legend-track",attrs:r})},e.prototype.getPointByValue=function(t,e){var n=this.getRange(),r=n.min,i=n.max,o=(t-r)/(i-r),a=this.getRailBBox(e),s=this.isVertical(),c={x:0,y:0};return s?(c.x=a.minX+a.width/2,c.y=Object(u["g"])(a.minY,a.maxY,o)):(c.x=Object(u["g"])(a.minX,a.maxX,o),c.y=a.minY+a.height/2),c},e.prototype.getRailShape=function(t){var e=t||this.get("group");return e.findById(this.getElementId("rail"))},e.prototype.getRailBBox=function(t){var e=this.getRailShape(t),n=e.getBBox();return n},e.prototype.getRailCanvasBBox=function(){var t=this.get("group"),e=t.findById(this.getElementId("rail")),n=e.getCanvasBBox();return n},e.prototype.isVertical=function(){return"vertical"===this.get("layout")},e.prototype.getValueByCanvasPoint=function(t,e){var n,r=this.getRange(),i=r.min,o=r.max,a=this.getRailCanvasBBox(),s=this.isVertical(),c=this.get("step");n=s?(e-a.minY)/a.height:(t-a.minX)/a.width;var l=Object(u["g"])(i,o,n);if(c){var h=Math.round((l-i)/c);l=i+h*c}return l>o&&(l=o),l<i&&(l=i),l},e.prototype.getCurrentValue=function(){var t=this.get("value");return t||(t=[this.get("min"),this.get("max")]),t},e.prototype.resetHandlers=function(t){var e=this.getCurrentValue(),n=e[0],r=e[1];this.resetHandler(t,"min",n),this.resetHandler(t,"max",r)},e.prototype.getHandlerPath=function(t,e){var n=this.isVertical(),r=[],i=t.size,o=e.x,a=e.y,s=i*g,c=i/2,l=i/6;if(n){var u=o+s*y;r.push(["M",o,a]),r.push(["L",u,a+c]),r.push(["L",o+s,a+c]),r.push(["L",o+s,a-c]),r.push(["L",u,a-c]),r.push(["Z"]),r.push(["M",u,a+l]),r.push(["L",o+s-2,a+l]),r.push(["M",u,a-l]),r.push(["L",o+s-2,a-l])}else{var h=a+s*y;r.push(["M",o,a]),r.push(["L",o-c,h]),r.push(["L",o-c,a+s]),r.push(["L",o+c,a+s]),r.push(["L",o+c,h]),r.push(["Z"]),r.push(["M",o-l,h]),r.push(["L",o-l,a+s-2]),r.push(["M",o+l,h]),r.push(["L",o+l,a+s-2])}return r},e.prototype.resetHandler=function(t,e,n){var i=this.getPointByValue(n,t),o=this.get("handler"),a=this.getHandlerPath(o,i),s=this.getElementId("handler-"+e),c=t.findById(s),l=this.isVertical();c?c.attr("path",a):this.addShape(t,{type:"path",name:"legend-handler-"+e,draggable:!0,id:s,attrs:Object(r["a"])(Object(r["a"])({path:a},o.style),{cursor:l?"ns-resize":"ew-resize"})})},e.prototype.fixedElements=function(t){var e=t.findById(this.getElementId("rail")),n=t.findById(this.getElementId("label-min")),r=t.findById(this.getElementId("label-max")),i=this.getDrawPoint();this.isVertical()?this.fixedVertail(n,r,e,i):this.fixedHorizontal(n,r,e,i)},e.prototype.fitRailLength=function(t,e,n,r){var o=this.isVertical(),a=o?"height":"width",s=this.get("label"),c=s.align,l=s.spacing,u=this.get("max"+Object(i["upperFirst"])(a));if(u){var h="rail"===c?n[a]+t[a]+e[a]+2*l:n[a],f=h-u;f>0&&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},"5kt6":function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var r="range",i="type",o="percent",a="#f0f0f0"},"5z4m":function(t,e,n){"use strict";var r=n("R2cN"),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,w,j,C,S=t.lineMax,k=t.bMarks[e]+t.tShift[e],M=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(k++))return!1;if(i)return!0;c=p=t.sCount[e]+1,32===t.src.charCodeAt(k)?(k++,c++,p++,o=!1,x=!0):9===t.src.charCodeAt(k)?(x=!0,(t.bsCount[e]+p)%4===3?(k++,c++,p++,o=!1):o=!0):x=!1,d=[t.bMarks[e]],t.bMarks[e]=k;while(k<M){if(a=t.src.charCodeAt(k),!r(a))break;9===a?p+=4-(p+t.bsCount[e]+(o?1:0))%4:p++,k++}for(g=[t.bsCount[e]],t.bsCount[e]=t.sCount[e]+1+(x?1:0),u=k>=M,m=[t.sCount[e]],t.sCount[e]=p-c,b=[t.tShift[e]],t.tShift[e]=k-t.bMarks[e],w=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",f=e+1;f<n;f++){if(C=t.sCount[f]<t.blkIndent,k=t.bMarks[f]+t.tShift[f],M=t.eMarks[f],k>=M)break;if(62!==t.src.charCodeAt(k++)||C){if(u)break;for(O=!1,s=0,l=w.length;s<l;s++)if(w[s](t,f,n,!0)){O=!0;break}if(O){t.lineMax=f,0!==t.blkIndent&&(d.push(t.bMarks[f]),g.push(t.bsCount[f]),b.push(t.tShift[f]),m.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}d.push(t.bMarks[f]),g.push(t.bsCount[f]),b.push(t.tShift[f]),m.push(t.sCount[f]),t.sCount[f]=-1}else{c=p=t.sCount[f]+1,32===t.src.charCodeAt(k)?(k++,c++,p++,o=!1,x=!0):9===t.src.charCodeAt(k)?(x=!0,(t.bsCount[f]+p)%4===3?(k++,c++,p++,o=!1):o=!0):x=!1,d.push(t.bMarks[f]),t.bMarks[f]=k;while(k<M){if(a=t.src.charCodeAt(k),!r(a))break;9===a?p+=4-(p+t.bsCount[f]+(o?1:0))%4:p++,k++}u=k>=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]=k-t.bMarks[f]}}for(y=t.blkIndent,t.blkIndent=0,j=t.push("blockquote_open","blockquote",1),j.markup=">",j.map=h=[e,0],t.md.block.tokenize(t,e,f),j=t.push("blockquote_close","blockquote",-1),j.markup=">",t.lineMax=S,t.parentType=v,h[1]=t.line,s=0;s<b.length;s++)t.bMarks[s+e]=d[s],t.tShift[s+e]=b[s],t.sCount[s+e]=m[s],t.bsCount[s+e]=g[s];return t.blkIndent=y,!0}},"6JdA":function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"leftTranslate",function(){return o}),n.d(r,"leftRotate",function(){return a}),n.d(r,"leftScale",function(){return s}),n.d(r,"transform",function(){return l}),n.d(r,"direction",function(){return u}),n.d(r,"angleTo",function(){return h}),n.d(r,"vertical",function(){return f});var i=n("IOcx");function o(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i["a"].fromTranslation(r,n),i["a"].multiply(t,r,e)}function a(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i["a"].fromRotation(r,n),i["a"].multiply(t,r,e)}function s(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i["a"].fromScaling(r,n),i["a"].multiply(t,r,e)}function c(t,e,n){return i["a"].multiply(t,n,e)}function l(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],r=0,i=e.length;r<i;r++){var l=e[r];switch(l[0]){case"t":o(n,n,[l[1],l[2]]);break;case"s":s(n,n,[l[1],l[2]]);break;case"r":a(n,n,l[1]);break;case"m":c(n,n,l[1]);break;default:break}}return n}function u(t,e){return t[0]*e[1]-e[0]*t[1]}function h(t,e,n){var r=i["b"].angle(t,e),o=u(t,e)>=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,"mat3",function(){return i["a"]}),n.d(e,"vec2",function(){return i["b"]}),n.d(e,"vec3",function(){return i["c"]}),n.d(e,"ext",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 j});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<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r))||this,e.history=Object(s["a"])(e.props),e}Object(i["a"])(e,t);var n=e.prototype;return n.render=function(){return a.a.createElement(r["e"],{history:this.history,children:this.props.children})},e}(a.a.Component);var f=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r))||this,e.history=Object(s["b"])(e.props),e}Object(i["a"])(e,t);var n=e.prototype;return n.render=function(){return a.a.createElement(r["e"],{history:this.history,children:this.props.children})},e}(a.a.Component);var p=function(t,e){return"function"===typeof t?t(e):t},d=function(t,e){return"string"===typeof t?Object(s["c"])(t,null,null,e):t},g=function(t){return t},y=a.a.forwardRef;function v(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}"undefined"===typeof y&&(y=g);var m=y(function(t,e){var n=t.innerRef,r=t.navigate,i=t.onClick,o=Object(l["a"])(t,["innerRef","navigate","onClick"]),s=o.target,u=Object(c["a"])({},o,{onClick:function(t){try{i&&i(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||s&&"_self"!==s||v(t)||(t.preventDefault(),r())}});return u.ref=g!==y&&e||n,a.a.createElement("a",u)});var b=y(function(t,e){var n=t.component,i=void 0===n?m:n,o=t.replace,s=t.to,h=t.innerRef,f=Object(l["a"])(t,["component","replace","to","innerRef"]);return a.a.createElement(r["h"].Consumer,null,function(t){t||Object(u["a"])(!1);var n=t.history,r=d(p(s,t.location),t.location),l=r?n.createHref(r):"",v=Object(c["a"])({},f,{href:l,navigate:function(){var e=p(s,t.location),r=o?n.replace:n.push;r(e)}});return g!==y?v.ref=e||h:v.innerRef=h,a.a.createElement(i,v)})}),x=function(t){return t},O=a.a.forwardRef;function w(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter(function(t){return t}).join(" ")}"undefined"===typeof O&&(O=x);var j=O(function(t,e){var n=t["aria-current"],i=void 0===n?"page":n,o=t.activeClassName,s=void 0===o?"active":o,h=t.activeStyle,f=t.className,g=t.exact,y=t.isActive,v=t.location,m=t.strict,j=t.style,C=t.to,S=t.innerRef,k=Object(l["a"])(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to","innerRef"]);return a.a.createElement(r["h"].Consumer,null,function(t){t||Object(u["a"])(!1);var n=v||t.location,o=d(p(C,n),n),l=o.pathname,M=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=M?Object(r["j"])(n.pathname,{path:M,exact:g,strict:m}):null,A=!!(y?y(_,n):_),T=A?w(f,s):f,E=A?Object(c["a"])({},j,{},h):j,P=Object(c["a"])({"aria-current":A&&i||null,className:T,style:E,to:o},k);return x!==O?P.ref=e||S:P.innerRef=S,a.a.createElement(b,P)})})},"6iBA":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMappingValue=void 0;var r=n("t0W4");function i(t,e,n){if(!t)return n;var i;if(t.callback&&t.callback.length>1){var o=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,r.__spreadArrays([e],o)).join("")}else i=t.mapping(e).join("");return i||n}e.getMappingValue=i},"6sVZ":function(t,e){var n=Object.prototype;function r(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||n;return t===r}t.exports=r},"7+4w":function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("zJSt");(function(t){function e(e,n,r,o){var a=t.call(this,e,Object(i["b"])({},o,n))||this;return a.type="g2-plot",a.defaultOptions=o,a.adaptor=r,a}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor}})(o["a"])},"77Zs":function(t,e,n){var r=n("Xi7e");function i(){this.__data__=new r,this.size=0}t.exports=i},"7Ix3":function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},"7ZbV":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"),l="first-axes-view",u="second-axes-view";function h(t,e,n){var r=[];return e.forEach(function(e){n.forEach(function(n){var i,o=(i={},i[t]=n[t],i.type=e,i[e]=n[e],i);r.push(o)})}),r}function f(t){return"vertical"!==t}function p(t,e,n){var r=e[0],i=e[1],o=r.autoPadding,a=i.autoPadding,s=t.__axisPosition,c=s.layout,l=s.position;if(f(c)&&"top"===l&&(r.autoPadding=n.instance(o.top,0,o.bottom,o.left),i.autoPadding=n.instance(a.top,o.left,a.bottom,0)),f(c)&&"bottom"===l&&(r.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),i.autoPadding=n.instance(a.top,a.right,a.bottom,o.right/2+5)),!f(c)&&"bottom"===l){var u=o.left>=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(!f(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 d(t){var e,n,r=t.chart,i=t.options,s=i.data,p=i.xField,d=i.yField,g=i.color,y=i.barStyle,v=i.widthRatio,m=i.legend,b=i.layout,x=h(p,d,s),O=Object.values(Object(a["groupBy"])(x,"type"));r.scale({type:{sync:!0}}),m?r.legend("type",m):!1===m&&r.legend(!1),f(b)?(e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l}),e.coordinate().transpose().reflect("x"),n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:u}),n.coordinate().transpose()):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l}),n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:u}),n.coordinate().reflect("y").rotate(0*Math.PI)),e.data(Object(a["get"])(O,[0],[]));var w=Object(o["b"])({},t,{chart:e,options:{widthRatio:v,xField:p,yField:d[0],seriesField:"type",interval:{color:g,style:y}}});Object(c["c"])(w),n.data(Object(a["get"])(O,[1],[]));var j=Object(o["b"])({},t,{chart:n,options:{xField:p,yField:d[1],seriesField:"type",widthRatio:v,interval:{color:g,style:y}}});return Object(c["c"])(j),t}function g(t){var e,n,r=t.options,i=t.chart,a=r.xAxis,c=r.yAxis,h=r.xField,f=r.yField,p=Object(o["d"])(i,l),d=Object(o["d"])(i,u);return Object(s["f"])((e={},e[h]=a,e[f[0]]=c[f[0]],e))(Object(o["b"])({},t,{chart:p})),Object(s["f"])((n={},n[h]=a,n[f[1]]=c[f[1]],n))(Object(o["b"])({},t,{chart:d})),t}function y(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,s=n.xField,c=n.yField,h=n.layout,p=Object(o["d"])(e,l),d=Object(o["d"])(e,u);return d.axis(s,!1),!1===i?p.axis(s,!1):p.axis(s,Object(r["a"])({position:f(h)?"top":"bottom"},i)),!1===a?(p.axis(c[0],!1),d.axis(c[1],!1)):(p.axis(c[0],a[c[0]]),d.axis(c[1],a[c[1]])),e.__axisPosition={position:p.getOptions().axes[s].position,layout:h},t}function v(t){var e=t.chart;return Object(s["c"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l)})),Object(s["c"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u)})),t}function m(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return Object(s["e"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l),options:{yAxis:i[r[0]]}})),Object(s["e"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u),options:{yAxis:i[r[1]]}})),t}function b(t){var e=t.chart;return Object(s["j"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l)})),Object(s["j"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u)})),t}function x(t){var e=t.chart;return Object(s["a"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l)})),Object(s["a"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u)})),t}function O(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["d"])(e,l),c=Object(o["d"])(e,u),h=Object(o["c"])(s,"interval"),f=Object(o["c"])(c,"interval");if(i){var p=i.callback,d=Object(r["c"])(i,["callback"]);h.label({fields:[a[0]],callback:p,cfg:Object(o["o"])(d)}),f.label({fields:[a[1]],callback:p,cfg:Object(o["o"])(d)})}else h.label(!1),f.label(!1);return t}function w(t){return Object(o["e"])(d,g,y,m,b,O,s["k"],v,x)(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.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{syncViewPadding:p})},e.prototype.getSchemaAdaptor=function(){return w}})(i["a"])},"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 _t}),n.d(r,"put",function(){return At}),n.d(r,"all",function(){return Tt}),n.d(r,"race",function(){return Et}),n.d(r,"call",function(){return Lt}),n.d(r,"apply",function(){return It}),n.d(r,"cps",function(){return Ft}),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 Yt}),n.d(r,"actionChannel",function(){return zt}),n.d(r,"cancelled",function(){return Gt}),n.d(r,"flush",function(){return Vt}),n.d(r,"getContext",function(){return Xt}),n.d(r,"setContext",function(){return Wt}),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<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(t){return"@@redux-saga/"+t},s=a("TASK"),c=a("HELPER"),l=a("MATCH"),u=a("CANCEL_PROMISE"),h=a("SAGA_ACTION"),f=a("SELF_CANCELLATION"),p=function(t){return function(){return t}},d=p(!0),g=function(){},y=function(t){return t};function v(t,e,n){if(!e(t))throw E("error","uncaught at check",n),new Error(n)}var m=Object.prototype.hasOwnProperty;function b(t,e){return x.notUndef(t)&&m.call(t,e)}var x={undef:function(t){return null===t||void 0===t},notUndef:function(t){return null!==t&&void 0!==t},func:function(t){return"function"===typeof t},number:function(t){return"number"===typeof t},string:function(t){return"string"===typeof t},array:Array.isArray,object:function(t){return t&&!x.array(t)&&"object"===("undefined"===typeof t?"undefined":o(t))},promise:function(t){return t&&x.func(t.then)},iterator:function(t){return t&&x.func(t.next)&&x.func(t.throw)},iterable:function(t){return t&&x.func(Symbol)?x.func(t[Symbol.iterator]):x.array(t)},task:function(t){return t&&t[s]},observable:function(t){return t&&x.func(t.subscribe)},buffer:function(t){return t&&x.func(t.isEmpty)&&x.func(t.take)&&x.func(t.put)},pattern:function(t){return t&&(x.string(t)||"symbol"===("undefined"===typeof t?"undefined":o(t))||x.func(t)||x.array(t))},channel:function(t){return t&&x.func(t.take)&&x.func(t.close)},helper:function(t){return t&&t[c]},stringableFunc:function(t){return x.func(t)&&b(t,"toString")}},O={assign:function(t,e){for(var n in e)b(e,n)&&(t[n]=e[n])}};function w(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}var j={from:function(t){var e=Array(t.length);for(var n in t)b(t,n)&&(e[n]=t[n]);return e}};function C(){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 k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}var M=k(),_=function(t){throw t},A=function(t){return{value:t,done:!0}};function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i={name:n,next:t,throw:e,return:A};return r&&(i[c]=!0),"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function E(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 P(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"},I=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")},F=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,Y=3,z=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(r<t)a(s);else{var l=void 0;switch(e){case R:throw new Error(B);case Y:n[i]=s,i=(i+1)%t,o=i;break;case z:l=2*t,n=c(),r=n.length,i=n.length,o=0,n.length=l,t=l,a(s);break;default:}}},take:s,flush:c}}var X={none:function(){return G},fixed:function(t){return V(t,R)},dropping:function(t){return V(t,N)},sliding:function(t){return V(t,Y)},expanding:function(t){return V(t,z)}},W=[],H=0;function U(t){try{Z(),t()}finally{K()}}function q(t){W.push(t),H||(Z(),Q())}function Z(){H++}function K(){H--}function Q(){K();var t=void 0;while(!H&&void 0!==(t=W.shift()))U(t)}var $=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},J="@@redux-saga/CHANNEL_END",tt={type:J},et=function(t){return t&&t.type===J};function nt(){var t=[];function e(e){return t.push(e),function(){return w(t,e)}}function n(e){for(var n=t.slice(),r=0,i=n.length;r<i;r++)n[r](e)}return{subscribe:e,emit:n}}var rt="invalid buffer passed to channel factory function",it="Saga was provided with an undefined action";function ot(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw I("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw I("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;o<n.length;o++){var a=n[o];if(!a[l]||a[l](i))return n.splice(o,1),a(i)}}}function o(i){r(),v(i,x.func,"channel.take's callback must be a function"),e&&t.isEmpty()?i(tt):t.isEmpty()?(n.push(i),i.cancel=function(){return w(n,i)}):i(t.take())}function a(n){r(),v(n,x.func,"channel.flush' callback must be a function"),e&&t.isEmpty()?n(tt):n(t.flush())}function s(){if(r(),!e&&(e=!0,n.length)){var t=n;n=[];for(var i=0,o=t.length;i<o;i++)t[i](tt)}}return v(t,x.buffer,rt),{take:o,put:i,flush:a,close:s,get __takers__(){return n},get __closed__(){return e}}}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X.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",wt="GET_CONTEXT",jt="SET_CONTEXT",Ct="\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},kt=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 _t=P(Mt.maybe,L("takem","take.maybe"));function At(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 Tt(t){return St(ht,t)}function Et(t){return St(ft,t)}function Pt(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;r<e;r++)n[r-1]=arguments[r];return St(pt,Pt("call",t,n))}function It(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return St(pt,Pt("apply",{context:t,fn:e},n))}function Ft(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return St(dt,Pt("cps",t,n))}function Dt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return St(gt,Pt("fork",t,n))}function Bt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return kt(Dt.apply(void 0,[t].concat(n)))}function Rt(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length>1)return Tt(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 "+Ct),St(yt,r)}function Nt(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length>1)return Tt(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 "+Ct)),St(vt,r||f)}function Yt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return 0===arguments.length?t=y:(v(t,x.notUndef,"select(selector,[...]): argument selector is undefined"),v(t,x.func,"select(selector,[...]): argument "+t+" is not a function")),St(mt,{selector:t,args:n})}function zt(t,e){return v(t,x.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(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 Xt(t){return v(t,x.string,"getContext(prop): argument "+t+" is not a string"),St(wt,t)}function Wt(t){return v(t,x.object,F(null,t)),St(jt,t)}At.resolve=function(){var t=At.apply(void 0,arguments);return t[ut].resolve=!0,t},At.sync=P(At.resolve,L("put.sync","put.resolve"));var Ht=function(t){return function(e){return e&&e[ct]&&e[t]}},Ut={take:Ht(lt),put:Ht(ut),all:Ht(ht),race:Ht(ft),call:Ht(pt),cps:Ht(dt),fork:Ht(gt),join:Ht(yt),cancel:Ht(vt),select:Ht(mt),actionChannel:Ht(bt),cancelled:Ht(xt),flush:Ht(Ot),getContext:Ht(wt),setContext:Ht(jt)},qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Zt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Kt(t,e){for(var n in e){var r=e[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,n,r)}return t}var Qt="proc first argument (Saga function result) must be an iterator",$t={toString:function(){return"@@redux-saga/CHANNEL_END"}},Jt={toString:function(){return"@@redux-saga/TASK_CANCEL"}},te={wildcard:function(){return d},default:function(t){return"symbol"===("undefined"===typeof t?"undefined":Zt(t))?function(e){return e.type===t}:function(e){return e.type===String(t)}},array:function(t){return function(e){return t.some(function(t){return ee(t)(e)})}},predicate:function(t){return function(e){return t(e)}}};function ee(t){return("*"===t?te.wildcard:x.array(t)?te.array:x.stringableFunc(t)?te.default:x.func(t)?te.predicate:te.default)(t)}function ne(t,e,n){var r=[],i=void 0,o=!1;function a(t){c(),n(t,!0)}function s(t){r.push(t),t.cont=function(s,c){o||(w(r,t),t.cont=g,c?a(s):(t===e&&(i=s),r.length||(o=!0,n(i))))}}function c(){o||(o=!0,r.forEach(function(t){t.cont=g,t.cancel()}),r=[])}return s(e),{addTask:s,cancelAll:c,abort:a,getTasks:function(){return r},taskNames:function(){return r.map(function(t){return t.name})}}}function re(t){var e=t.context,n=t.fn,r=t.args;if(x.iterator(n))return n;var i=void 0,o=void 0;try{i=n.apply(e,r)}catch(t){o=t}return x.iterator(i)?i:T(o?function(){throw o}:function(){var t=void 0,e={done:!1,value:i},n=function(t){return{done:!0,value:t}};return function(r){return t?n(r):(t=!0,e)}}())}var ie=function(t){return{fn:t}};function oe(t){var e=arguments.length>1&&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=P(tt,L(h,"all("+h+")")),d=o.sagaMonitor,y=o.logger,m=o.onError,b=y||E,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)},k=st(e),_=Object.create(i);R.cancel=g;var A=ht(a,c,t,l),T={name:c,cancel:D,isRunning:!0},I=ne(c,T,N);function D(){T.isRunning&&!T.isCancelled&&(T.isCancelled=!0,R(Jt))}function B(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,I.cancelAll(),N(Jt))}return l&&(l.cancel=B),t._isRunning=!0,R(),A;function R(e,n){if(!T.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=t.throw(e):e===Jt?(T.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?(T.isMainRunning=!1,T.cont&&T.cont(r.value)):Y(r.value,a,"",R)}catch(t){T.isCancelled&&S(t),T.isMainRunning=!1,T.cont(t,!0)}}function N(e,n){t._isRunning=!1,k.close(),n?(e instanceof Error&&Object.defineProperty(e,"sagaStack",{value:"at "+c+" \n "+(e.sagaStack||e.stack),configurable:!0}),A.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)),A.cont&&A.cont(e,n),A.joiners.forEach(function(t){return t.cb(e,n)}),A.joiners=null}function Y(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)?z(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))?W(s,a):(s=Ut.all(t))?tt(s,i,a):(s=Ut.race(t))?nt(s,i,a):(s=Ut.call(t))?H(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 z(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,_,o,i,a,s)}function V(t,e){var n=t.channel,r=t.pattern,i=t.maybe;n=n||k;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 W(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);z(t,e)})}function H(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)?z(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,_,o,i,c.name,u?null:g);u?a(f):h._isRunning?(I.addTask(f),a(f)):h._error?I.abort(h._error):a(f)}finally{Q()}}function $(t,e){if(t.isRunning()){var n={task:A,cb:e};e.cancel=function(){return w(t.joiners,n)},t.joiners.push(n)}else t.isAborted()?e(t.error(),!0):e(t.result())}function J(t,e){t===f&&(t=A),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)?j.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 Y(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||Y(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||X.fixed(),o))}function ot(t,e){e(!!T.isCancelled)}function ct(t,e){t.flush(e)}function lt(t,e){e(_[t])}function ut(t,e){O.assign(_,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=C();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,F("task",t)),O.assign(_,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<n;i++)r[i-2]=arguments[i];var o=void 0;x.iterator(t)?(o=t,t=e):(v(e,x.func,se),o=e.apply(void 0,r),v(o,x.iterator,se));var a=t,s=a.subscribe,c=a.dispatch,l=a.getState,u=a.context,h=a.sagaMonitor,f=a.logger,p=a.onError,d=M();h&&(h.effectTriggered=h.effectTriggered||g,h.effectResolved=h.effectResolved||g,h.effectRejected=h.effectRejected||g,h.effectCancelled=h.effectCancelled||g,h.actionDispatched=h.actionDispatched||g,h.effectTriggered({effectId:d,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:r}}));var y=oe(o,s,D(c),l,u,{sagaMonitor:h,logger:f,onError:p},d,e.name);return h&&h.effectResolved(d,y),y}function le(t,e){var n={};for(var r in t)e.indexOf(r)>=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,F("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 T(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;i<n;i++)r[i-2]=arguments[i];var o={done:!1,value:Mt(t)},a=function(t){return{done:!1,value:Dt.apply(void 0,[e].concat(r,[t]))}},s=void 0,c=function(t){return s=t};return de({q1:function(){return["q2",o,c]},q2:function(){return s===tt?[fe]:["q1",a(s)]}},"q1","takeEvery("+pe(t)+", "+e.name+")")}function ye(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o={done:!1,value:Mt(t)},a=function(t){return{done:!1,value:Dt.apply(void 0,[e].concat(r,[t]))}},s=function(t){return{done:!1,value:Nt(t)}},c=void 0,l=void 0,u=function(t){return c=t},h=function(t){return l=t};return de({q1:function(){return["q2",o,h]},q2:function(){return l===tt?[fe]:c?["q3",s(c)]:["q1",a(l),u]},q3:function(){return["q1",a(l),u]}},"q1","takeLatest("+pe(t)+", "+e.name+")")}function ve(t,e,n){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=void 0,s=void 0,c={done:!1,value:zt(e,X.sliding(1))},l=function(){return{done:!1,value:Mt(s)}},u=function(t){return{done:!1,value:Dt.apply(void 0,[n].concat(i,[t]))}},h={done:!1,value:Lt(S,t)},f=function(t){return a=t},p=function(t){return s=t};return de({q1:function(){return["q2",c,p]},q2:function(){return["q3",l(),f]},q3:function(){return a===tt?[fe]:["q4",u(a)]},q4:function(){return["q2",h]}},"q1","throttle("+pe(e)+", "+n.name+")")}function me(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return Dt.apply(void 0,[ge,t,e].concat(r))}function be(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return Dt.apply(void 0,[ye,t,e].concat(r))}function xe(t,e,n){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];return Dt.apply(void 0,[ve,t,e,n].concat(i))}n.d(e,"b",function(){return r});e["a"]=ue},"7cv3":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("iTfj"),i="x",o="y",a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+Object(r["get"])(e,[0,"data","y"],0)},containerTpl:'<div class="g2-tooltip"><div class="g2-tooltip-list"></div></div>',itemTpl:"<span>{value}</span>",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}}},"7np+":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var r=n("iTfj");function i(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}function o(t,e,n){if(r.isString(t))return t.padEnd(e,n);if(r.isArray(t)){var i=t.length;if(i<e)for(var o=e-i,a=0;a<o;a++)t.push(n)}return t}function a(t,e){return e.forEach(function(e){delete t[e]}),t}function s(t,e,n){void 0===e&&(e=[]),void 0===n&&(n={});for(var r=0,i=t;r<i.length;r++){var o=i[r];n[o]||(e.push(o),n[o]=!0)}return e}e.isBetween=i,e.padEnd=o,e.omit=a,e.uniq=s},"7s0d":function(t,e,n){"use strict";n.r(e);var r=n("FH2j");n.d(e,"getAdjust",function(){return r["getAdjust"]}),n.d(e,"registerAdjust",function(){return r["registerAdjust"]});var i=n("Qci9");n.d(e,"Adjust",function(){return i["a"]});var o=n("lOPJ"),a=n("KavR"),s=n("8FoI"),c=n("96lr"),l=n("WbAE");for(var u in l)["getAdjust","registerAdjust","Adjust","default"].indexOf(u)<0&&function(t){n.d(e,t,function(){return l[t]})}(u);Object(r["registerAdjust"])("Dodge",o["a"]),Object(r["registerAdjust"])("Jitter",a["a"]),Object(r["registerAdjust"])("Stack",s["a"]),Object(r["registerAdjust"])("Symmetric",c["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("mrSG"),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";n.r(e);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=function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},l(t,e)};function u(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function h(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}Object.create;var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return u(e,t),e.prototype.translate=function(t){var e=Object(r["indexOf"])(this.values,t);return-1===e?Object(r["isNumber"])(t)?t:NaN:e},e.prototype.scale=function(t){var e=this.translate(t),n=this.calcPercent(e,this.min,this.max);return this.calcValue(n,this.rangeMin(),this.rangeMax())},e.prototype.invert=function(t){var e=this.max-this.min,n=this.calcPercent(t,this.rangeMin(),this.rangeMax()),r=Math.round(e*n)+this.min;return r<this.min||r>this.max?NaN:this.values[r]},e.prototype.getText=function(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=e;return Object(r["isNumber"])(e)&&!this.values.includes(e)&&(o=this.values[o]),t.prototype.getText.apply(this,h([o],n))},e.prototype.initCfg=function(){this.tickMethod="cat"},e.prototype.setDomain=function(){if(Object(r["isNil"])(this.getConfig("min"))&&(this.min=0),Object(r["isNil"])(this.getConfig("max"))){var t=this.values.length;this.max=t>1?t-1:t}},e}(c),p=f,d=n("F4kd"),g=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<s){var c=a+s>>>1;t(e[c])>n?s=c:a=c+1}return a}},y="format";function v(t,e){var n=d[y]||d["default"][y];return n(t,e)}function m(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 b=1e3,x=60*b,O=60*x,w=24*O,j=31*w,C=365*w,S=[["HH:mm:ss",b],["HH:mm:ss",10*b],["HH:mm:ss",30*b],["HH:mm",x],["HH:mm",10*x],["HH:mm",30*x],["HH",O],["HH",6*O],["HH",12*O],["YYYY-MM-DD",w],["YYYY-MM-DD",4*w],["YYYY-WW",7*w],["YYYY-MM",j],["YYYY-MM",4*j],["YYYY-MM",6*j],["YYYY",380*w]];function k(t,e,n){var i=(e-t)/n,o=g(function(t){return t[1]})(S,i)-1,a=S[o];return o<0?a=S[0]:o>=S.length&&(a=Object(r["last"])(S)),a}var M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return u(e,t),e.prototype.translate=function(t){t=m(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(r["isNumber"])(t)&&t<this.values.length?t:NaN),e},e.prototype.getText=function(t,e){var n=this.translate(t);if(n>-1){var r=this.values[n],i=this.formatter;return r=i?i(r,e):v(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]=m(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(p),_=M,A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return u(e,t),e.prototype.scale=function(t){if(Object(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);n<this.min&&(this.min=n),i>this.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),T=A,E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return u(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(T),P=E;function L(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 I(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function F(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&&t<i&&(i=t)}),i===n&&(i=n/e),i>1&&(i=1),i}var D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return u(e,t),e.prototype.invert=function(t){var e,n=this.base,r=I(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;e=I(n,a/n);var s=1/(r-e)*o;if(t<s)return t/s*a}else e=I(n,this.min);var c=(t-i)/o,l=c*(r-e)+e;return Math.pow(n,l)},e.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},e.prototype.setDomain=function(){t.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");0===e&&(this.positiveMin=F(this.values,this.base,this.max))},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;if(t<=0)return 0;var r,i=this.base,o=this.positiveMin;return o&&(n=1*o/i),r=t<o?t/o/(I(i,e)-I(i,n)):(I(i,t)-I(i,n))/(I(i,e)-I(i,n)),r},e}(T),B=D,R=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pow",e}return u(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t),n=this.exponent,r=L(n,this.max),i=L(n,this.min),o=e*(r-i)+i,a=o>=0?1:-1;return Math.pow(o,n)*a},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent,i=(L(r,t)-L(r,n))/(L(r,e)-L(r,n));return i},e}(T),N=R,Y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return u(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):v(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 m(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(Object(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=m(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");o>e?(a=o,o=e):a>e&&(a=e),s<e&&(s=e),i.push(e)}),t.length>1&&(this.minTickInterval=a-o),Object(r["isNil"])(e)&&(this.min=o),Object(r["isNil"])(n)&&(this.max=s)}},e}(P),z=Y,G=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return u(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,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(t<Object(r["head"])(e))return 0;if(t>Object(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}(T),V=G,X=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return u(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(V),W=X,H={};function U(t){return H[t]}function q(t,e){if(U(t))throw new Error("type '"+t+"' existed.");H[t]=e}var Z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return u(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(r["isNumber"])(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return t<e[0]||t>e[1]?NaN:this.values[0]},e}(c),K=Z,Q=[1,5,2,2.5,4,3],$=100*Number.EPSILON;function J(t,e){return(t%e+e)%e}function tt(t,e,n,i,o,a){var s=Object(r["size"])(e),c=Object(r["indexOf"])(e,t),l=0,u=J(i,a);return(u<$||a-u<$)&&i<=0&&o>=0&&(l=1),1-c/(s-1)-n+l}function et(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 nt(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 rt(t,e){return t>=e?2-(t-1)/(e-1):1}function it(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 ot(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 at(){return 1}function st(t,e,n,i,o,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===o&&(o=Q),void 0===a&&(a=[.25,.2,.5,.05]),"number"!==typeof t||"number"!==typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};var s={score:-2,lmin:0,lmax:0,lstep:0},c=1;while(c<1/0){for(var l=0,u=o;l<u.length;l++){var h=u[l],f=et(h,o,c);if(Number.isNaN(f))throw new Error("NaN");if(a[0]*f+a[1]+a[2]+a[3]<s.score){c=1/0;break}var p=2;while(p<1/0){var d=rt(p,n);if(a[0]*f+a[1]+a[2]*d+a[3]<s.score)break;var g=(e-t)/(p+1)/c/h,y=Math.ceil(Math.log10(g));while(y<1/0){var v=c*h*Math.pow(10,y),m=ot(t,e,v*(p-1));if(a[0]*f+a[1]*m+a[2]*d+a[3]<s.score)break;var b=Math.floor(e/v)*c-(p-1)*c,x=Math.ceil(t/v)*c;if(b>x)y+=1;else{for(var O=b;O<=x;O+=1){var w=O*(v/c),j=w+v*(p-1),C=v,S=tt(h,o,c,w,j,C),k=it(t,e,w,j),M=nt(p,n,t,e,w,j),_=at(),A=a[0]*S+a[1]*k+a[2]*M+a[3]*_;A>s.score&&(!i||w<=t&&j>=e)&&(s.lmin=w,s.lmax=j,s.lstep=C,s.score=A)}y+=1}}p+=1}}c+=1}for(var T=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),E=[],P=s.lmin;P<=s.lmax;P+=s.lstep)E.push(P);var L=T?Object(r["map"])(E,function(t){return Number.parseFloat(t.toFixed(T))}):E;return{min:Math.min(t,Object(r["head"])(L)),max:Math.max(e,Object(r["last"])(L)),ticks:L}}function ct(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<s-a){var c=st(a,s,i,!1,[1,2,5,3,4,7,6,8,9]).ticks,l=Object(r["filter"])(c,function(t){return t>=a&&t<=s});return l.map(function(t){return e[t]})}return e.slice(a,s+1)}function lt(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,o=new dt;return o.domain([e,n]),r&&o.nice(i),o.ticks(i)}var ut=5,ht=Math.sqrt(50),ft=Math.sqrt(10),pt=Math.sqrt(2),dt=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=ut);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],c=this._domain[a];return c<s&&(e=[c,s],s=e[0],c=e[1],n=[a,o],o=n[0],a=n[1]),r=yt(s,c,t),r>0?(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,r=yt(s,c,t)):r<0&&(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,r=yt(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=ut),gt(this._domain[0],this._domain[this._domain.length-1],t||ut)},t}();function gt(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=e<t)&&(i=t,t=e,e=i),0===(a=yt(t,e,n))||!isFinite(a))return[];if(a>0){t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));while(++s<i)o[s]=(t+s)*a}else{t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));while(++s<i)o[s]=(t-s)/a}return r&&o.reverse(),o}function yt(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=ht?10:o>=ft?5:o>=pt?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ht?10:o>=ft?5:o>=pt?2:1)}function vt(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 mt(t,e,n){var i=vt(t,n,"floor"),o=vt(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 bt(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;g<u;g++)d.push(h+p*g);return d}function xt(t){var e=t.min,n=t.max,i=t.tickInterval,o=t.minLimit,a=t.maxLimit,s=lt(t);return Object(r["isNil"])(o)&&Object(r["isNil"])(a)?i?mt(e,n,i).ticks:s:bt(t,Object(r["head"])(s),Object(r["last"])(s))}function Ot(t){var e=t.min,n=t.max,i=t.tickCount,o=t.nice,a=t.tickInterval,s=t.minLimit,c=t.maxLimit,l=st(e,n,i,o).ticks;return Object(r["isNil"])(s)&&Object(r["isNil"])(c)?a?mt(e,n,a).ticks:l:bt(t,Object(r["head"])(l),Object(r["last"])(l))}function wt(t){var e,n=t.base,r=t.tickCount,i=t.min,o=t.max,a=t.values,s=I(n,o);if(i>0)e=Math.floor(I(n,i));else{var c=F(a,n,o);e=Math.floor(I(n,c))}for(var l=s-e,u=Math.ceil(l/r),h=[],f=e;f<s+u;f+=u)h.push(Math.pow(n,f));return i<=0&&h.unshift(0),h}function jt(t,e,n){void 0===n&&(n=5);var r={max:0,min:0,ticks:[]};if(t===e)return{max:e,min:t,ticks:[t]};var i=1.5,o=.5+1.5*i,a=e-t,s=a/n,c=Math.pow(10,Math.floor(Math.log10(s))),l=c<1?Math.ceil(Math.abs(Math.log10(c))):0,u=c;2*c-s<i*(s-u)&&(u=2*c,5*c-s<o*(s-u)&&(u=5*c,10*c-s<i*(s-u)&&(u=10*c)));var h=Math.ceil(e/u),f=Math.floor(t/u);r.max=Math.max(h*u,e),r.min=Math.min(f*u,t);var p=Number.parseFloat((f*u).toFixed(l));while(p<e)r.ticks.push(p),p+=u,l&&(p=Number.parseFloat(p.toFixed(l)));return r.ticks.push(p),r}function Ct(t){var e=t.exponent,n=t.tickCount,r=Math.ceil(L(e,t.max)),i=Math.floor(L(e,t.min)),o=jt(i,r,n).ticks;return o.map(function(t){var n=t>=0?1:-1;return Math.pow(t,e)*n})}function St(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;o<e;o++){var a=o/(e-1);i.push(St(r,a))}return i}function Mt(t){var e=t.min,n=t.max,i=t.tickCount,o=t.tickInterval,a=t.minLimit,s=t.maxLimit,c=jt(e,n,i).ticks;return Object(r["isNil"])(a)&&Object(r["isNil"])(s)?o?mt(e,n,o).ticks:c:bt(t,Object(r["head"])(c),Object(r["last"])(c))}function _t(t){var e=t.min,n=t.max,r=t.minTickInterval,i=t.tickInterval,o=t.tickCount;if(i)o=Math.ceil((n-e)/i);else{i=k(e,n,o)[1];var a=(n-e)/i,s=a/o;s>1&&(i*=Math.ceil(s)),r&&i<r&&(i=r)}for(var c=[],l=e;l<n+i;l+=i)c.push(l);return c}function At(t){var e=ct(t),n=Object(r["last"])(t.values);return n!==Object(r["last"])(e)&&e.push(n),e}function Tt(t){return new Date(t).getFullYear()}function Et(t){return new Date(t,0,1).getTime()}function Pt(t){return new Date(t).getMonth()}function Lt(t,e){var n=Tt(t),r=Tt(e),i=Pt(t),o=Pt(e);return 12*(r-n)+(o-i)%12}function It(t,e){return new Date(t,e,1).getTime()}function Ft(t,e){return Math.ceil((e-t)/w)}function Dt(t,e){return Math.ceil((e-t)/O)}function Bt(t,e){return Math.ceil((e-t)/6e4)}function Rt(t){var e=t.min,n=t.max,r=t.minTickInterval,i=t.tickCount,o=t.tickInterval,a=[];o||(o=(n-e)/i,r&&o<r&&(o=r));var s=Tt(e);if(o>C)for(var c=Tt(n),l=Math.ceil(o/C),u=s;u<=c+l;u+=l)a.push(Et(u));else if(o>j){var h=Math.ceil(o/j),f=Pt(e),p=Lt(e,n);for(u=0;u<=p+h;u+=h)a.push(It(s,u+f))}else if(o>w){var d=new Date(e),g=d.getFullYear(),y=d.getMonth(),v=d.getDate(),m=Math.ceil(o/w),S=Ft(e,n);for(u=0;u<S+m;u+=m)a.push(new Date(g,y,v+u).getTime())}else if(o>O){d=new Date(e),g=d.getFullYear(),y=d.getMonth(),m=d.getDate();var k=d.getHours(),M=Math.ceil(o/O),_=Dt(e,n);for(u=0;u<=_+M;u+=M)a.push(new Date(g,y,m,k+u).getTime())}else if(o>x){var A=Bt(e,n),T=Math.ceil(o/x);for(u=0;u<=A+T;u+=T)a.push(e+u*x)}else{var E=o;E<b&&(E=b);var P=Math.floor(e/b)*b,L=Math.ceil((n-e)/b),I=Math.ceil(E/b);for(u=0;u<L+I;u+=I)a.push(P+u*b)}return a.length>=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a}a("cat",ct),a("time-cat",At),a("wilkinson-extended",Ot),a("r-pretty",Mt),a("time",_t),a("time-pretty",Rt),a("log",wt),a("pow",Ct),a("quantile",kt),a("d3-linear",xt),n.d(e,"Category",function(){return p}),n.d(e,"Identity",function(){return K}),n.d(e,"Linear",function(){return P}),n.d(e,"Log",function(){return B}),n.d(e,"Pow",function(){return N}),n.d(e,"Time",function(){return z}),n.d(e,"TimeCat",function(){return _}),n.d(e,"Quantile",function(){return W}),n.d(e,"Quantize",function(){return V}),n.d(e,"Scale",function(){return c}),n.d(e,"getScale",function(){return U}),n.d(e,"registerScale",function(){return q}),n.d(e,"getTickMethod",function(){return o}),n.d(e,"registerTickMethod",function(){return a}),q("cat",p),q("category",p),q("identity",K),q("linear",P),q("log",B),q("pow",N),q("time",z),q("timeCat",_),q("quantize",V),q("quantile",W)},"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("mrSG"),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},"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;r<e.length;r++){var i=e[r];i.cfg.visible?i.draw(t,n):i.skipDraw()}}function h(t,e,n){var i=t.get("refreshElements");Object(r["each"])(i,function(e){if(e!==t){var n=e.cfg.parent;while(n&&n!==t&&!n.cfg.refresh)n.cfg.refresh=!0,n=n.cfg.parent}}),i[0]===t?d(e,n):f(e,n)}function f(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.cfg.visible)if(r.cfg.hasChanged)r.cfg.refresh=!0,r.isGroup()&&d(r.cfg.children,e);else if(r.cfg.refresh)r.isGroup()&&f(r.cfg.children,e);else{var i=g(r,e);r.cfg.refresh=i,i&&r.isGroup()&&f(r.cfg.children,e)}}}function p(t){for(var e=0;e<t.length;e++){var n=t[e];n.cfg.hasChanged=!1,n.isGroup()&&!n.destroyed&&p(n.cfg.children)}}function d(t,e){for(var n=0;n<t.length;n++){var r=t[n];r.cfg.refresh=!0,r.isGroup()&&d(r.get("children"),e)}}function g(t,e){var n=t.cfg.cacheCanvasBBox,r=t.cfg.isInView&&n&&Object(a["f"])(n,e);return r}function y(t,e,n,r){var i=n.path,a=n.startArrow,c=n.endArrow;if(i){var l=[0,0],u=[0,0],h={dx:0,dy:0};e.beginPath();for(var f=0;f<i.length;f++){var p=i[f],d=p[0];if(0===f&&a&&a.d){var g=t.getStartTangent();h=s["c"](g[0][0],g[0][1],g[1][0],g[1][1],a.d)}else if(f===i.length-2&&"Z"===i[f+1][0]&&c&&c.d){var y=i[f+1];if("Z"===y[0]){g=t.getEndTangent();h=s["c"](g[0][0],g[0][1],g[1][0],g[1][1],c.d)}}else if(f===i.length-1&&c&&c.d&&"Z"!==i[0]){g=t.getEndTangent();h=s["c"](g[0][0],g[0][1],g[1][0],g[1][1],c.d)}var v=h.dx,m=h.dy;switch(d){case"M":e.moveTo(p[1]-v,p[2]-m),u=[p[1],p[2]];break;case"L":e.lineTo(p[1]-v,p[2]-m);break;case"Q":e.quadraticCurveTo(p[1],p[2],p[3]-v,p[4]-m);break;case"C":e.bezierCurveTo(p[1],p[2],p[3],p[4],p[5]-v,p[6]-m);break;case"A":var b=void 0;r?(b=r[f],b||(b=Object(o["a"])(l,p),r[f]=b)):b=Object(o["a"])(l,p);var x=b.cx,O=b.cy,w=b.rx,j=b.ry,C=b.startAngle,S=b.endAngle,k=b.xRotation,M=b.sweepFlag;if(e.ellipse)e.ellipse(x,O,w,j,k,C,S,1-M);else{var _=w>j?w:j,A=w>j?1:w/j,T=w>j?j/w:1;e.translate(x,O),e.rotate(k),e.scale(A,T),e.arc(0,0,_,C,S,1-M),e.scale(1/A,1/T),e.rotate(-k),e.translate(-x,-O)}break;case"Z":e.closePath();break;default:break}if("Z"===d)l=u;else{var E=p.length;l=[p[E-2],p[E-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},AGgm:function(t,e,n){"use strict";function r(t){return Object.prototype.toString.call(t)}function i(t){return"[object String]"===r(t)}var o=Object.prototype.hasOwnProperty;function a(t,e){return o.call(t,e)}function s(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){if(e){if("object"!==typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t}function c(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function l(t){return!(t>=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 w(t){return O[t]}function j(t){return b.test(t)?t.replace(x,w):t}var C=/[.?*+^$[\]\\(){}|-]/g;function S(t){return t.replace(C,"\\$&")}function k(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 _=n("fKCf");function A(t){return _.test(t)}function T(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 E(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=j,e.arrayReplaceAt=c,e.isSpace=k,e.isWhiteSpace=M,e.isMdAsciiPunct=T,e.isPunctChar=A,e.escapeRE=S,e.normalizeReference=E},AMYk:function(t,e,n){"use strict";n.d(e,"a",function(){return i});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)Object.prototype.hasOwnProperty.call(e,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)}Object.create;Object.create},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")}},B0RU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("iTfj"),i=n("omAN"),o=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length)return this.cacheMap[t[0]];2===t.length&&(this.cacheMap[t[0]]=t[1])},t.prototype.getAction=function(t){return this.actions.find(function(e){return e.name===t})},t.prototype.addAction=function(t){this.actions.push(t)},t.prototype.removeAction=function(t){var e=this.actions,n=this.actions.indexOf(t);n>=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;if(t){if(t.target instanceof HTMLElement){var e=this.view.getCanvas(),n=e.getPointByClient(t.clientX,t.clientY);return n}return{x:t.x,y:t.y}}return null},t.prototype.getCurrentShape=function(){return r.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=i.getComponents(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&i.isInBox(r,n):i.isInBox(r,n)})},t.prototype.destroy=function(){this.view=null,this.event=null,r.each(this.actions.slice(),function(t){t.destroy()}),this.actions=null,this.cacheMap=null},t}();e.default=o},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&&l<u&&a<=6)a++,o=t.src.charCodeAt(++l);return!(a>6||l<u&&!r(o))&&(!!i||(u=t.skipSpacesBack(u,l),s=t.skipCharsBack(u,35,l),s>l&&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){},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("n/J0"),l=n("tKoa");function u(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 h(t){var e,n=t.chart,r=t.options,i=r.bulletStyle,s=r.targetField,c=r.rangeField,h=r.measureField,f=r.xField,p=r.color,d=r.layout,g=r.size,y=r.label,v=u(r),m=v.min,b=v.max,x=v.ds;n.scale((e={},e[h]={min:m,max:b},e[c]={sync:""+h},e[s]={sync:""+h},e)),n.data(x),n.axis(""+c,!1),n.axis(""+s,!1);var O=Object(o["b"])({},t,{options:{xField:f,yField:c,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(l["c"])(O),n.geometries[0].tooltip(!1);var w=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(l["c"])(w);var j=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(l["e"])(j),"horizontal"===d&&n.coordinate().transpose(),t}function f(t){var e,n=t.chart,r=t.options,i=r.xAxis,a=r.yAxis,s=r.meta,l=r.targetField,u=r.rangeField,h=r.measureField,f=r.xField;if(s){var p=Object(o["b"])({},s,(e={},e[f]=Object(o["k"])(i,c["a"]),e[h]=Object(o["k"])(a,c["a"]),e[l]={sync:""+h},e[u]={sync:""+h},e));n.scale(p)}return t}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.measureField;return!1===r?e.axis(""+o,!1):e.axis(""+o,r),!1===i?e.axis(""+a,!1):e.axis(""+a,i),t}function d(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 g(t){var e=t.chart,n=t.options,r=n.label,i=n.measureField,s=n.targetField,c=n.rangeField,l=e.geometries,u=l[0],h=l[1],f=l[2];return Object(a["get"])(r,"range")&&u.label(""+c,Object(o["o"])(r.range)),Object(a["get"])(r,"measure")&&h.label(""+i,Object(o["o"])(r.measure)),Object(a["get"])(r,"target")&&f.label(""+s,Object(o["o"])(r.target)),t}function y(t){Object(o["e"])(h,f,p,d,s["j"],g,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.getSchemaAdaptor=function(){return y},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},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}}})}})(i["a"])},BgvD:function(t,e,n){"use strict";var r=n("iTfj"),i="\u2026";function o(t){for(var e=0,n=0;n<t.length;n++)e+=a(t,n);return e}function a(t,e){return t.charCodeAt(e)>0&&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<e;){var l=a(t,c);if(!(s+l<=e))break;o+=t[c],s+=a(t,c),c++}o+=i}else if("head"===n){for(s=0,c=r-1;s<e;){l=a(t,c);if(!(s+l<=e))break;o+=t[c],s+=a(t,c),c--}o=i+o}else{for(var u="",h="",f=(s=0,0),p=r-1;s<e;){var d=a(t,f),g=!1;d+s<=e&&(u+=t[f],f++,s+=d,g=!0);var y=a(t,p);if(y+s<=e&&(h=t[p]+h,s+=y,p--,g=!0),!g)break}o=u+i+h}return o}n.d(e,"b",function(){return u}),n.d(e,"a",function(){return f});var c="\u2026",l=2;function u(t){var e=0;return Object(r["each"])(t,function(t){var n=t.getBBox(),r=n.width;e<r&&(e=r)}),e}function h(t,e){var n=e.getCanvasBBox();return t?n.width:n.height}function f(t,e,n,r){void 0===r&&(r="tail");var i=e.attr("text"),a=h(t,e),u=o(i),f=!1;if(n<a){var p=Math.floor(n/a*u)-l,d=void 0;d=p>=0?s(i,p,r):c,d&&(e.attr("text",d),f=!0)}return f?e.set("tip",i):e.set("tip",null),f}},BwSJ: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");function l(t,e){var n=Math.floor(t/e);return[e*n,e*(n+1)]}function u(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function h(t,e,n,r,i){var o=Object(c["clone"])(t);Object(c["sortBy"])(o,e);var a=Object(c["valuesOfKey"])(o,e),s=Object(c["getRange"])(a),h=s.max-s.min,f=n;if(!n&&r&&(f=h/r),!n&&!r){var p=u(a);f=h/p}var d={},g=Object(c["groupBy"])(o,i);Object(c["isEmpty"])(g)?Object(c["each"])(o,function(t){var n=t[e],r=l(n,f),i=r[0]+"-"+r[1];Object(c["hasKey"])(d,i)||(d[i]={range:r,count:0}),d[i].count+=1}):Object.keys(g).forEach(function(t){Object(c["each"])(g[t],function(n){var r=n[e],o=l(r,f),a=o[0]+"-"+o[1],s=a+"-"+t;Object(c["hasKey"])(d,s)||(d[s]={range:o,count:0},d[s][i]=t),d[s].count+=1})});var y=[];return Object(c["each"])(d,function(t){y.push(t)}),y}function f(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,c=n.binWidth,l=n.color,u=n.stackField,f=n.legend,p=n.columnStyle,d=h(r,i,c,a,u);e.data(d);var g=Object(o["b"])({},t,{options:{xField:"range",yField:"count",seriesField:u,isStack:!0,interval:{color:l,style:p}}});return Object(s["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(a["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["o"])(c)})}else a.label(!1);return t}function y(t){return Object(o["e"])(f,p,d,a["j"],g,a["k"],a["c"],a["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.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["a"])},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<r;n++)if(e[n][0]===t)return n;return-1},r.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},r.prototype.attrSet=function(t,e){var n=this.attrIndex(t),r=[t,e];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(t){var e=this.attrIndex(t),n=null;return e>=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=[]}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(d<v&&this.src.charCodeAt(d)===m)d++;return s=d-t,r=d<v?this.src.charCodeAt(d):32,h=a(n)||o(String.fromCharCode(n)),p=a(r)||o(String.fromCharCode(r)),u=i(n),f=i(r),f?g=!1:p&&(u||h||(g=!1)),u?y=!1:h&&(f||p||(y=!1)),e?(c=g,l=y):(c=g&&(!y||h),l=y&&(!g||p)),{can_open:c,can_close:l,length:s}},s.prototype.Token=r,t.exports=s},"Ch+T":function(t,e,n){"use strict";n.r(e);var r,i=n("LHnb"),o=n("6UX8"),a=n("fIp6"),s=n("iTfj"),c=n("de35"),l=n("5UbV"),u=n("u60a"),h=n("L16w"),f=(r={},r[""+u["CONTAINER_CLASS"]]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:h["a"].fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},r[""+u["TITLE_CLASS"]]={marginBottom:"4px"},r[""+u["LIST_CLASS"]]={margin:"0px",listStyleType:"none",padding:"0px"},r[""+u["LIST_ITEM_CLASS"]]={listStyleType:"none",marginBottom:"4px"},r[""+u["MARKER_CLASS"]]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r[""+u["VALUE_CLASS"]]={display:"inline-block",float:"right",marginLeft:"30px"},r[""+u["CROSSHAIR_X"]]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+u["CROSSHAIR_Y"]]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r);function p(t,e,n,r,i){var o={left:t<i.x,right:t+n>i.x+i.width,top:e<i.y,bottom:e+r>i.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:'<div class="'+u["CONTAINER_CLASS"]+'"><div class="'+u["TITLE_CLASS"]+'"></div><ul class="'+u["LIST_CLASS"]+'"></ul></div>',itemTpl:'<li class="'+u["LIST_ITEM_CLASS"]+'" data-index={index}>\n <span class="'+u["MARKER_CLASS"]+'" style="background:{color}"></span>\n <span class="'+u["NAME_CLASS"]+'">{name}</span>:\n <span class="'+u["VALUE_CLASS"]+'">{value}</span>\n </li>',xCrosshairTpl:'<div class="'+u["CROSSHAIR_X"]+'"></div>',yCrosshairTpl:'<div class="'+u["CROSSHAIR_Y"]+'"></div>',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("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa");function l(t,e){var n=null;return Object(a["each"])(t,function(t){"number"===typeof t[e]&&(n+=t[e])}),n}function u(t,e){var n;switch(t){case"inner":return n="-30%",Object(a["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)>0?n:e:e<0?e:n;case"outer":return n=12,Object(a["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}function h(t){var e=t.chart,n=t.options,i=n.data,s=n.angleField,l=n.colorField,u=n.color,h=n.pieStyle,f=Object(a["filter"])(i,function(t){return"number"===typeof t[s]||Object(a["isNil"])(t[s])});Object(o["j"])(o["a"].WARN,f.length===i.length,"illegal data existed in chart data.");var p=Object(a["every"])(f,function(t){return 0===t[s]});if(p){var d="$$percentage$$";f=f.map(function(t){var e;return Object(r["a"])(Object(r["a"])({},t),(e={},e[d]=1/f.length,e))}),e.data(f);var g=Object(o["b"])({},t,{options:{xField:"1",yField:d,seriesField:l,isStack:!0,interval:{color:u,style:h}}});Object(c["c"])(g),e.geometries[0].tooltip(l+"*"+s)}else{e.data(f);g=Object(o["b"])({},t,{options:{xField:"1",yField:s,seriesField:l,isStack:!0,interval:{color:u,style:h}}});Object(c["c"])(g)}return t}function f(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,s=Object(o["b"])({},i);return n.scale(s,(e={},e[a]={type:"cat"},e)),t}function p(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i}}),t}function d(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,c=n.angleField,l=e.geometries[0];if(i){var h=i.callback,f=Object(r["c"])(i,["callback"]),p=Object(o["o"])(f);if(p.content){var d=p.content;p.content=function(t,n,i){var l=t[s],u=t[c],h=e.getScaleByField(c),f=null===h||void 0===h?void 0:h.scale(u);return Object(a["isFunction"])(d)?d(Object(r["a"])(Object(r["a"])({},t),{percent:f}),n,i):Object(a["isString"])(d)?Object(o["n"])(d,{value:u,name:l,percentage:Object(a["isNumber"])(f)&&!Object(a["isNil"])(u)?(100*f).toFixed(2)+"%":null}):d}}var g={inner:"",outer:"pie-outer",spider:"pie-spider"},y=p.type?g[p.type]:"pie-outer",v=p.layout?Object(a["isArray"])(p.layout)?p.layout:[p.layout]:[];p.layout=(y?[{type:y}]:[]).concat(v),l.label({fields:s?[c,s]:[c],callback:h,cfg:Object(r["a"])(Object(r["a"])({},p),{offset:u(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function g(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.statistic,s=n.angleField,c=n.colorField,u=n.meta;if(r&&i){var h=i.title,f=i.content;!1!==h&&(h=Object(o["b"])({},{formatter:function(t){return t?t[c]:"\u603b\u8ba1"}},h)),!1!==f&&(f=Object(o["b"])({},{formatter:function(t,e){var n=Object(a["get"])(u,[s,"formatter"]),r=t?t[s]:l(e,s);return n?n(r):r}},f)),Object(o["m"])(e,{statistic:{title:h,content:f},plotType:"pie"})}return t}function y(t){return Object(o["e"])(h,f,s["j"],p,s["d"],s["k"],d,s["i"],Object(s["b"])(),g,s["c"],s["a"])(t)}var v=n("kXyF"),m=n("uI74"),b=n("omAN"),x=n("qaDU"),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getActiveElements=function(){var t=Object(b["getDelegationObject"])(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,i=n.get("field");if(i){var o=e.geometries[0].elements;return o.filter(function(t){return t.getModel().data[i]===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(a["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 i=n[r],o=e.geometry.coordinate;if(o.isPolar&&o.isTransposed){var a=v["c"].getAngle(e.getModel(),o),s=a.startAngle,c=a.endAngle,l=(s+c)/2,u=t,h=u*Math.cos(l),f=u*Math.sin(l);e.shape.setMatrix(Object(x["a"])([["t",h,f]])),i.setMatrix(Object(x["a"])([["t",h,f]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(m["Action"]),w=n("mj6g"),j=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,i=this.getAnnotations();this.initialAnnotation||(this.initialAnnotation=i);var o=((null===n||void 0===n?void 0:n.data)||{}).data;if(n.type.match("legend-item")){var s=Object(b["getDelegationObject"])(this.context),c=e.getGroupedFields()[0];if(s&&c){var l=s.item;o=e.getData().find(function(t){return t[c]===l.value})}}if(o){var u=e.getController("annotation");u.clear(!0);var h=e.getScaleFields(),f=h[1],p=h[2],d=e.getScaleByField(f),g=e.getScaleByField(p),y=i.filter(function(t){return!Object(a["get"])(t,"key","").match("statistic")}),v=i.filter(function(t){return Object(a["get"])(t,"key","").match("statistic")}),m=v.filter(function(t){return"top-statistic"===t.key}),x=v.filter(function(t){return"bottom-statistic"===t.key});Object(a["each"])(v,function(t){var n,i;"top-statistic"===t.key?(n=g?g.getText(o[p]):null,i=x?"translate(-50%, -100%)":"translate(-50%, -50%)"):(n=d?d.getText(o[f]):o[f],i=m?"translate(-50%, 0)":"translate(-50%,-50%)"),y.push(Object(r["a"])(Object(r["a"])({},t),{html:function(e,s){var c=s.getCoordinate(),l=c.getRadius()*c.innerRadius*2,u=Object(a["isFunction"])(t.style)?t.style():t.style;Object(w["d"])(e,Object(r["a"])({width:l+"px",transform:i},Object(w["a"])(u)));var h=s.getData();return t.customHtml?t.customHtml(e,s,o,h):(t.formatter&&(n=t.formatter(o,h)),n?Object(a["isString"])(n)?n:""+n:"<div></div>")}})),y.forEach(function(t){u.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(a["each"])(n,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(m["Action"]);Object(v["e"])("pie-statistic",j),Object(v["g"])("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Object(v["e"])("pie-legend",O),Object(v["g"])("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}})},e.prototype.getSchemaAdaptor=function(){return y}})(i["a"])},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 k}),n.d(e,"d",function(){return P}),n.d(e,"e",function(){return v}),n.d(e,"f",function(){return N}),n.d(e,"g",function(){return Y}),n.d(e,"h",function(){return y}),n.d(e,"i",function(){return S}),n.d(e,"j",function(){return E}),n.d(e,"k",function(){return V}),n.d(e,"l",function(){return X}),n.d(e,"m",function(){return W}),n.d(e,"n",function(){return H}),n.d(e,"o",function(){return z});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;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r))||this,e.history=Object(a["d"])(e.props),e}Object(r["a"])(e,t);var n=e.prototype;return n.render=function(){return o.a.createElement(v,{history:this.history,children:this.props.children})},e}(o.a.Component);var b=function(t){function e(){return t.apply(this,arguments)||this}Object(r["a"])(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(o.a.Component);function x(t){var e=t.message,n=t.when,r=void 0===n||n;return o.a.createElement(y.Consumer,null,function(t){if(t||Object(c["a"])(!1),!r||t.staticContext)return null;var n=t.history.block;return o.a.createElement(b,{onMount:function(t){t.release=n(e)},onUpdate:function(t,r){r.message!==e&&(t.release(),t.release=n(e))},onUnmount:function(t){t.release()},message:e})})}var O={},w=1e4,j=0;function C(t){if(O[t])return O[t];var e=h.a.compile(t);return j<w&&(O[t]=e,j++),e}function S(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:C(t)(e,{pretty:!0})}function k(t){var e=t.computedMatch,n=t.to,r=t.push,i=void 0!==r&&r;return o.a.createElement(y.Consumer,null,function(t){t||Object(c["a"])(!1);var r=t.history,s=t.staticContext,u=i?r.push:r.replace,h=Object(a["c"])(e?"string"===typeof n?S(n,e.params):Object(l["a"])({},n,{pathname:S(n.pathname,e.params)}):n);return s?(u(h),null):o.a.createElement(b,{onMount:function(){u(h)},onUpdate:function(t,e){var n=Object(a["c"])(e.to);Object(a["f"])(n,Object(l["a"])({},h,{key:n.key}))||u(h)},to:n})})}var M={},_=1e4,A=0;function T(t,e){var n=""+e.end+e.strict+e.sensitive,r=M[n]||(M[n]={});if(r[t])return r[t];var i=[],o=h()(t,i,e),a={regexp:o,keys:i};return A<_&&(r[t]=a,A++),a}function E(t,e){void 0===e&&(e={}),("string"===typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,c=n.sensitive,l=void 0!==c&&c,u=[].concat(r);return u.reduce(function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=T(n,{end:o,strict:s,sensitive:l}),i=r.regexp,a=r.keys,c=i.exec(t);if(!c)return null;var u=c[0],h=c.slice(1),f=t===u;return o&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:a.reduce(function(t,e,n){return t[e.name]=h[n],t},{})}},null)}var P=function(t){function e(){return t.apply(this,arguments)||this}Object(r["a"])(e,t);var n=e.prototype;return n.render=function(){var t=this;return o.a.createElement(y.Consumer,null,function(e){e||Object(c["a"])(!1);var n=t.props.location||e.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?E(n.pathname,t.props):e.match,i=Object(l["a"])({},e,{location:n,match:r}),a=t.props,s=a.children,u=a.component,h=a.render;return Array.isArray(s)&&0===s.length&&(s=null),o.a.createElement(y.Provider,{value:i},i.match?s?"function"===typeof s?s(i):s:u?o.a.createElement(u,i):h?h(i):null:"function"===typeof s?s(i):null)})},e}(o.a.Component);function L(t){return"/"===t.charAt(0)?t:"/"+t}function I(t,e){return t?Object(l["a"])({},e,{pathname:L(t)+e.pathname}):e}function F(t,e){if(!t)return e;var n=L(t);return 0!==e.pathname.indexOf(n)?e:Object(l["a"])({},e,{pathname:e.pathname.substr(n.length)})}function D(t){return"string"===typeof t?t:Object(a["e"])(t)}function B(t){return function(){Object(c["a"])(!1)}}function R(){}var N=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r))||this,e.handlePush=function(t){return e.navigateTo(t,"PUSH")},e.handleReplace=function(t){return e.navigateTo(t,"REPLACE")},e.handleListen=function(){return R},e.handleBlock=function(){return R},e}Object(r["a"])(e,t);var n=e.prototype;return n.navigateTo=function(t,e){var n=this.props,r=n.basename,i=void 0===r?"":r,o=n.context,s=void 0===o?{}:o;s.action=e,s.location=I(i,Object(a["c"])(t)),s.url=D(s.location)},n.render=function(){var t=this.props,e=t.basename,n=void 0===e?"":e,r=t.context,i=void 0===r?{}:r,s=t.location,c=void 0===s?"/":s,u=Object(f["a"])(t,["basename","context","location"]),h={createHref:function(t){return L(n+D(t))},action:"POP",location:F(n,Object(a["c"])(c)),push:this.handlePush,replace:this.handleReplace,go:B("go"),goBack:B("goBack"),goForward:B("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(v,Object(l["a"])({},u,{history:h,staticContext:i}))},e}(o.a.Component);var Y=function(t){function e(){return t.apply(this,arguments)||this}Object(r["a"])(e,t);var n=e.prototype;return n.render=function(){var t=this;return o.a.createElement(y.Consumer,null,function(e){e||Object(c["a"])(!1);var n,r,i=t.props.location||e.location;return o.a.Children.forEach(t.props.children,function(t){if(null==r&&o.a.isValidElement(t)){n=t;var a=t.props.path||t.props.from;r=a?E(i.pathname,Object(l["a"])({},t.props,{path:a})):e.match}}),r?o.a.cloneElement(n,{location:i,computedMatch:r}):null})},e}(o.a.Component);function z(t){var e="withRouter("+(t.displayName||t.name)+")",n=function(e){var n=e.wrappedComponentRef,r=Object(f["a"])(e,["wrappedComponentRef"]);return o.a.createElement(y.Consumer,null,function(e){return e||Object(c["a"])(!1),o.a.createElement(t,Object(l["a"])({},r,e,{ref:n}))})};return n.displayName=e,n.WrappedComponent=t,d()(n,t)}var G=o.a.useContext;function V(){return G(y).history}function X(){return G(y).location}function W(){var t=G(y).match;return t?t.params:{}}function H(t){return t?E(X().pathname,t):G(y).match}},D5zP:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCoordinateBBox=e.getCoordinateClipCfg=e.getAngleByPoint=e.isPointInCoordinate=e.getDistanceToCenter=e.isFullCircle=e.getXDimensionLength=void 0;var r=n("+Oe8"),i=n("7np+"),o=n("dXVd");function a(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 s(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function c(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function l(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,o=t.end;n=i.isBetween(e.x,r.x,o.x)&&i.isBetween(e.y,r.y,o.y)}else{var a=t.invert(e);n=i.isBetween(a.x,0,1)&&i.isBetween(a.y,0,1)}return n}function u(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function h(t,e){void 0===e&&(e=0);var n,i=t.start,o=t.end,a=t.getWidth(),s=t.getHeight();if(t.isPolar){var c=t.startAngle,l=t.endAngle,u=t.getCenter(),h=t.getRadius();return{type:"path",startState:{path:r.getSectorPath(u.x,u.y,h+e,c,c)},endState:function(t){var n=(l-c)*t+c,i=r.getSectorPath(u.x,u.y,h+e,c,n);return{path:i}},attrs:{path:r.getSectorPath(u.x,u.y,h+e,c,l)}}}return n=t.isTransposed?{height:s+2*e}:{width:a+2*e},{type:"rect",startState:{x:i.x-e,y:o.y-e,width:t.isTransposed?a+2*e:0,height:t.isTransposed?0:s+2*e},endState:n,attrs:{x:i.x-e,y:o.y-e,width:a+2*e,height:s+2*e}}}function f(t,e){void 0===e&&(e=0);var n=t.start,r=t.end,i=t.getWidth(),a=t.getHeight(),s=Math.min(n.x,r.x),c=Math.min(n.y,r.y);return o.BBox.fromRange(s-e,c-e,s+i+e,c+a+e)}e.getXDimensionLength=a,e.isFullCircle=s,e.getDistanceToCenter=c,e.isPointInCoordinate=l,e.getAngleByPoint=u,e.getCoordinateClipCfg=h,e.getCoordinateBBox=f},DMQx:function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("w02o"),a=n("iTfj"),s=n("kXyF");function c(t,e){return Object(a["isNumber"])(t)&&Object(a["isNumber"])(e)?t===e?(0).toFixed(2)+"%":0===t?"\u221e":0===e?"-\u221e":(100*e/t).toFixed(2)+"%":"-"}function l(t,e){return Object(i["b"])({size:e?32:80,spacing:e?8:12,offset:e?32:0,arrow:!1!==t.arrow&&{headSize:12,style:{fill:"rgba(0, 0, 0, 0.05)"}},text:!1!==t.text&&{style:{fontSize:12,fill:"rgba(0, 0, 0, 0.85)",textAlign:"center",textBaseline:"middle"},formatter:c}},t)}function u(t,e){return Object(a["map"])(e.getModel().points,function(e){return t.convertPoint(e)})}function h(t,e,n){var i=t.view,o=t.geometry,a=t.group,s=t.options,c=t.horizontal,l=s.offset,h=s.size,f=s.arrow,p=i.getCoordinate(),d=u(p,e)[c?3:0],g=u(p,n)[c?0:3],y=g.y-d.y,v=g.x-d.x;if("boolean"!==typeof f){var m,b=f.headSize,x=s.spacing;c?(v-b)/2<x?(x=Math.max(1,(v-b)/2),m=[[d.x+x,d.y-l],[d.x+x,d.y-l-h],[g.x-x,g.y-l-h/2]]):m=[[d.x+x,d.y-l],[d.x+x,d.y-l-h],[g.x-x-b,g.y-l-h],[g.x-x,g.y-l-h/2],[g.x-x-b,g.y-l]]:(y-b)/2<x?(x=Math.max(1,(y-b)/2),m=[[d.x+l,d.y+x],[d.x+l+h,d.y+x],[g.x+l+h/2,g.y-x]]):m=[[d.x+l,d.y+x],[d.x+l+h,d.y+x],[g.x+l+h,g.y-x-b],[g.x+l+h/2,g.y-x],[g.x+l,g.y-x-b]],a.addShape("polygon",{id:i.id+"-conversion-tag-arrow-"+o.getElementId(e.getModel().mappingData),name:"conversion-tag-arrow",attrs:Object(r["a"])(Object(r["a"])({},f.style||{}),{points:m})})}}function f(t,e,n){var i,o,a,s=t.view,c=t.geometry,l=t.group,h=t.options,f=t.field,p=t.horizontal,d=h.offset,g=h.size;if("boolean"!==typeof h.text){var y=s.getCoordinate(),v=(null===(i=h.text)||void 0===i?void 0:i.formatter)&&(null===(o=h.text)||void 0===o?void 0:o.formatter(e.getData()[f],n.getData()[f])),m=u(y,e)[p?3:0],b=u(y,n)[p?0:3],x=l.addShape("text",{id:s.id+"-conversion-tag-text-"+c.getElementId(e.getModel().mappingData),name:"conversion-tag-text",attrs:Object(r["a"])(Object(r["a"])({},(null===(a=h.text)||void 0===a?void 0:a.style)||{}),{text:v,x:p?(m.x+b.x)/2:m.x+d+g/2,y:p?m.y-d-g/2:(m.y+b.y)/2})});if(p){var O=b.x-m.x,w=x.getBBox().width;if(w>O){var j=w/v.length,C=Math.max(1,Math.ceil(O/j)-1),S=v.slice(0,C)+"...";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["d"])(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["g"])(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["g"])(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("DyAw"),b=n("sqD9");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,d=l?Object(b["a"])(o,h,u,h):o;e.data(d);var g=l?Object(r["a"])({formatter:function(t){return{name:t[f]||t[u],value:(100*Number(t[h])).toFixed(2)+"%"}}},p):p,y=Object(i["b"])({},t,{options:{widthRatio:c,tooltip:g,interval:{style:a,color:s}}});return Object(v["c"])(y),t}function w(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(m["a"])(h,u)),p),n)))(t)}function j(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 C(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["o"])(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 k(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return Object(i["e"])(x,o["j"],O,w,j,C,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,"a",function(){return k})},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},EIvI:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultCategoryScaleRange=e.getName=e.syncScale=e.createScaleByField=void 0;var r=n("t0W4"),i=n("iTfj"),o=n("Nzmt"),a=n("D5zP"),s=/^(?:(?!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 c(t){var e="linear";return s.test(t)?e="timeCat":i.isString(t)&&(e="cat"),e}function l(t,e,n){var a=e||[];if(i.isNumber(t)||i.isNil(i.firstValue(a,t))&&i.isEmpty(n)){var s=o.getScale("identity");return new s({field:t.toString(),values:[t]})}var l=i.valuesOfKey(a,t),u=i.get(n,"type",c(l[0])),h=o.getScale(u);return new h(r.__assign({field:t,values:l},n))}function u(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 h(t){return t.alias||t.field}function f(t,e,n){var r,o=t.values,s=o.length;if(1===s)r=[.5,1];else{var c=1,l=0;a.isFullCircle(e)?e.isTransposed?(c=i.get(n,"widthRatio.multiplePie",1/1.3),l=1/s*c,r=[l/2,1-l/2]):r=[0,1-1/s]:(l=1/s/2,r=[l,1-l])}return r}e.createScaleByField=l,e.syncScale=u,e.getName=h,e.getDefaultCategoryScaleRange=f},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<c&&(s=g,c=v)}if(0===s)return{x:t[0],y:e[0]};if(1===s){var m=t.length;return{x:t[m-1],y:e[m-1]}}c=1/0;for(d=0;d<32;d++){if(f<p)break;var b=s-f,x=s+f;y=[i.apply(null,t.concat([b])),i.apply(null,e.concat([b]))],v=a(l[0],l[1],y[0],y[1]);if(b>=0&&v<c)s=b,c=v;else{var O=[i.apply(null,t.concat([x])),i.apply(null,e.concat([x]))],w=a(l[0],l[1],O[0],O[1]);x<=1&&w<c?(s=x,c=w):f*=.5}}return{x:i.apply(null,t.concat([s])),y:i.apply(null,e.concat([s]))}}function g(t,e){for(var n=0,r=t.length,i=0;i<r;i++){var o=t[i],s=e[i],c=t[(i+1)%r],l=e[(i+1)%r];n+=a(o,s,c,l)}return n/2}function y(t,e,n,r){var i=1-r;return i*i*t+2*r*i*e+r*r*n}function v(t,e,n){var r=t+n-2*e;if(s(r,0))return[.5];var i=(t-e)/r;return i<=1&&i>=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 w(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 j(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 C(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=w(t,n,i,a,c),u=w(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 k(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),k.apply(null,u)+k.apply(null,h)}var M={extrema:C,box:function(t,e,n,r,i,o,a,s){for(var l=[t,a],u=[e,s],h=C(t,n,i,a),f=C(e,r,o,s),p=0;p<h.length;p++)l.push(w(t,n,i,a,h[p]));for(p=0;p<f.length;p++)u.push(w(e,r,o,s,f[p]));return c(l,u)},length:function(t,e,n,r,i,o,a,s){return k(t,e,n,r,i,o,a,s,3)},nearestPoint:function(t,e,n,r,i,o,a,s,c,l,u){return d([t,n,i,a],[e,r,o,s],c,l,w,u)},pointDistance:function(t,e,n,r,i,o,s,c,l,u,h){var f=this.nearestPoint(t,e,n,r,i,o,s,c,l,u,h);return a(f.x,f.y,l,u)},interpolationAt:w,pointAt:function(t,e,n,r,i,o,a,s,c){return{x:w(t,n,i,a,c),y:w(e,r,o,s,c)}},divide:function(t,e,n,r,i,o,a,s,c){return S(t,e,n,r,i,o,a,s,c)},tangentAngle:function(t,e,n,r,i,o,a,s,c){var l=j(t,n,i,a,c),h=j(e,r,o,s,c);return u(Math.atan2(h,l))}};function _(t,e){var n=Math.abs(t);return e>0?n:-1*n}var A={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,w=f-m,j=p-b,C=Math.hypot(O,x),S=Math.hypot(j,w),k=C*Math.asin((x*j-O*w)/(C*S)),M=k/Math.sqrt(d+g-c*c-l*l);y+=M,y=Math.min(Math.PI/2,Math.max(0,y))}return{x:t+_(c,u),y:e+_(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 T(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 E(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 P(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 I(t,e,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+t}function F(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=P(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;o<a?o<f&&f<a&&u.push(f):a<f&&f<o&&u.push(f)}for(h=0;h<u.length;h++){var p=I(t,e,n,r,i,u[h]);p<c&&(c=p),p>l&&(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;o<a?o<m&&m<a&&v.push(m):a<m&&m<o&&v.push(m)}for(h=0;h<v.length;h++){var b=F(t,e,n,r,i,v[h]);b<g&&(g=b),b>y&&(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=A.nearestPoint(0,0,n,r,u,h),p=D(n,r,f.x,f.y);p<o?f=B(n,r,o):p>a&&(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:I(t,e,n,r,i,c),y:F(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o,l=T(t,e,n,r,i,o,a,c),h=E(t,e,n,r,i,o,a,c);return u(Math.atan2(h,l))}};function Y(t){for(var e=0,n=[],r=0;r<t.length-1;r++){var i=t[r],o=t[r+1],s=a(i[0],i[1],o[0],o[1]),c={from:i,to:o,length:s};n.push(c),e+=s}return{segments:n,totalLength:e}}function z(t){if(t.length<2)return 0;for(var e=0,n=0;n<t.length-1;n++){var r=t[n],i=t[n+1];e+=a(r[0],r[1],i[0],i[1])}return e}function G(t,e){if(e>1||e<0||t.length<2)return null;var n=Y(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<r.length;s++){var c=r[s],l=c.from,u=c.to,h=c.length/i;if(e>=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=Y(t),r=n.segments,i=n.totalLength,o=0,a=0,s=0;s<r.length;s++){var c=r[s],l=c.from,u=c.to,h=c.length/i;if(e>=o&&e<=o+h){a=Math.atan2(u[1]-l[1],u[0]-l[0]);break}o+=h}return a}function X(t,e,n){for(var r=1/0,i=0;i<t.length-1;i++){var o=t[i],a=t[i+1],s=f.pointDistance(o[0],o[1],a[0],a[1],e,n);s<r&&(r=s)}return r}var W={box:function(t){for(var e=[],n=[],r=0;r<t.length;r++){var i=t[r];e.push(i[0]),n.push(i[1])}return c(e,n)},length:function(t){return z(t)},pointAt:function(t,e){return G(t,e)},pointDistance:function(t,e,n){return X(t,e,n)},tangentAngle:function(t,e){return V(t,e)}};n.d(e,"e",function(){return O}),n.d(e,"b",function(){return M}),n.d(e,"a",function(){return N}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return W}),n.d(e,"f",function(){return r})},EkMX:function(t,e,n){"use strict";var r=n("AMYk"),i=n("e0ae"),o=n("Mw2x"),a=n("sstZ"),s=n("iTfj"),c=n("dPRQ"),l=n("+3eq"),u=n("6h3Y"),h=n("ZzDG"),f=n("tvuL"),p=function(t){return["fill","stroke","fillStyle","strokeStyle"].includes(t)},d=function(t){return/^[r,R,L,l]{1}[\s]*\(/.test(t)},g=[1,0,0,0,1,0,0,0,1];function y(t,e,n){var r={},i=e.fromAttrs,o=e.toAttrs;if(!t.destroyed){var a;for(var c in o)if(!Object(s["isEqual"])(i[c],o[c]))if("path"===c){var l=o[c],y=i[c];l.length>y.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;v<l.length;v++){for(var m=l[v],b=y[v],x=[],O=0;O<m.length;O++)Object(s["isNumber"])(m[O])&&b&&Object(s["isNumber"])(b[O])?(a=Object(u["a"])(b[O],m[O]),x.push(a(n))):x.push(m[O]);r[c].push(x)}}else if("matrix"===c){var w=Object(h["a"])(i[c]||g,o[c]||g),j=w(n);r[c]=j}else p(c)&&d(o[c])?r[c]=o[c]:Object(s["isFunction"])(o[c])||(a=Object(u["a"])(i[c],o[c]),r[c]=a(n));t.attr(r)}}function v(t,e,n){var r,i=e.startTime,o=e.delay;if(n<i+o||e._paused)return!1;var a=e.duration,s=e.easing;if(n=n-i-e.delay,e.repeat)r=n%a/a,r=l[s](r);else{if(r=n/a,!(r<1))return e.onFrame?t.attr(e.onFrame(1)):t.attr(e.toAttrs),!0;r=l[s](r)}if(e.onFrame){var c=e.onFrame(r);t.attr(c)}else y(t,e,r);return!1}var m=function(){function t(t){this.animators=[],this.current=0,this.timer=null,this.canvas=t}return t.prototype.initTimer=function(){var t,e,n,r=this,i=!1;this.timer=c["a"](function(o){if(r.current=o,r.animators.length>0){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,w=0,j=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function C(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 k=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"])(j,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"])(j,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===w&&(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===w){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,C(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;C(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=k,_="px",A=Object(i["a"])(),T=A&&"firefox"===A.name,E=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["a"])(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+_,n.style.height=e+_)},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(T&&!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"]=E},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},FAXy:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("w02o"),s=n("YuPD"),c=n("tKoa"),l="liquid";function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.color,o=n.liquidStyle,a=n.radius,u=n.outline,h=n.wave,f=[{percent:r,type:l}];e.scale({percent:{min:0,max:1}}),e.data(f);var p=Object(s["b"])({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:i,style:o,shape:"liquid-fill-gauge"}}}),d=Object(c["c"])(p).ext,g=d.geometry;return g.customInfo({radius:a,outline:u,wave:h}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function h(t){var e=t.chart,n=t.options,r=n.statistic,i=n.percent,a=n.meta;if(r.content&&!r.content.formatter){var c=Object(o["get"])(a,["percent","formatter"]);r.content.formatter=function(t){var e=t.percent;return c?c(e):(100*e).toFixed(2)+"%"}}return Object(s["m"])(e,{statistic:r,plotType:"liquid"},{percent:i}),t}function f(t){return Object(s["e"])(u,h,Object(a["f"])({}),a["a"],a["j"],a["c"])(t)}var p=n("kXyF"),d=n("qaDU"),g=5e3;function y(t,e,n){return t+(e-t)*n}function v(t){var e=Object(r["a"])({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}function m(t){var e={fill:"#fff",fillOpacity:0,lineWidth:4},n=Object(o["mix"])({},e,t.style);return t.color&&!n.stroke&&(n.stroke=t.color),Object(o["isNumber"])(t.opacity)&&(n.opacity=n.strokeOpacity=t.opacity),n}function b(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 x(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;f<s;++f){var p=f%4,d=b(f*n/4,p,n,i);c.push(["C",d[0][0]+u,-d[0][1]+e,d[1][0]+u,-d[1][1]+e,d[2][0]+u,-d[2][1]+e]),f===s-1&&(h=d[2][0])}return c.push(["L",h+u,a+t]),c.push(["L",u,a+t]),c.push(["Z"]),c}function O(t,e,n,r,i,o,a,s,c){for(var l=i.fill,u=i.opacity,h=a.getBBox(),f=h.maxX-h.minX,p=h.maxY-h.minY,v=0;v<r;v++){var m=r<=1?0:v/(r-1),b=o.addShape("path",{name:"waterwave-path",attrs:{path:x(s,h.minY+p*n,c,0,f/32,t,e),fill:l,opacity:y(.2,.9,m)*u}});try{var O=Object(d["a"])([["t",c,0]]);b.stopAnimate(),b.animate({matrix:O},{duration:y(.5*g,g,m),repeat:!0})}catch(t){console.warn("off-screen group animate error!")}}}Object(p["h"])("interval","liquid-fill-gauge",{draw:function(t,e){var n=.5,r=.5,i=t.customInfo,a=i.radius,s=i.outline,c=i.wave,l=s.border,u=s.distance,h=c.count,f=c.length,p=Object(o["reduce"])(t.points,function(t,e){return Math.min(t,e.x)},1/0),d=this.parsePoint({x:n,y:r}),g=this.parsePoint({x:p,y:r}),y=d.x-g.x,b=Math.min(y,g.y*a),x=v(t),w=m(t);e.addShape("circle",{name:"wrap",attrs:Object(o["mix"])(w,{x:d.x,y:d.y,r:b,fill:"transparent",lineWidth:l})});var j=e.addGroup({name:"waves"}),C=j.setClip({type:"circle",attrs:{x:d.x,y:d.y,r:b-u}});return O(d.x,d.y,1-t.points[1].y,h,x,j,C,2*b,f),e}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="liquid",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{color:"#6a99f9",radius:.9,statistic:{title:!1,content:{formatter:function(t){var e=t.percent;return(100*e).toFixed(2)+"%"},style:{opacity:.75,fontSize:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192}}},e.prototype.changeData=function(t){this.update({percent:t})},e.prototype.getSchemaAdaptor=function(){return f}})(i["a"])},FH2j:function(t,e,n){"use strict";n.d(e,"getAdjust",function(){return i}),n.d(e,"registerAdjust",function(){return o});n("Qci9"),n("WbAE");var r={},i=function(t){return r[t.toLowerCase()]},o=function(t,e){if(i(t))throw new Error("Adjust type '"+t+"' existed.");r[t.toLowerCase()]=e}},FLLP:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("w02o"),s=n("tKoa"),c=n("YuPD"),l="$$yField$$",u="$$diffField$$",h="$$absoluteField$$",f="$$isTotal$$";function p(t,e,n,i,a){var s,l=[];if(Object(o["reduce"])(t,function(t,e){var a;Object(c["j"])(c["a"].WARN,Object(o["isNumber"])(e[n]),e[n]+" is not a valid number");var s=Object(o["isUndefined"])(e[n])?null:e[n];return l.push(Object(r["a"])(Object(r["a"])({},e),(a={},a[i]=[t,t+s],a))),t+s},0),l.length&&a){var u=Object(o["get"])(l,[[t.length-1],i,[1]]);l.push((s={},s[e]=a.label,s[n]=u,s[i]=[0,u],s))}return l}function d(t,e,n,i){var a=p(t,e,n,l,i);return a.map(function(e,n){var i;return Object(o["isObject"])(e)?Object(r["a"])(Object(r["a"])({},e),(i={},i[h]=e[l][1],i[u]=e[l][1]-e[l][0],i[f]=n===t.length,i)):e})}var g=n("kXyF");function y(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r){var i=0===n?"M":"L";e.push([i,r.x,r.y])}}var o=t[0];return e.push(["L",o.x,o.y]),e.push(["z"]),e}function v(t){return Object(c["b"])({},t.defaultStyle,t.style,{fill:t.color})}function m(t){var e=t.chart,n=t.options,r=n.data,i=n.xField,a=n.yField,h=n.total,p=n.leaderLine,g=n.columnWidthRatio,y=n.waterfallStyle,v=n.risingFill,m=n.fallingFill,b=n.color;e.data(d(r,i,a,h));var x=b||function(t){return Object(o["get"])(t,[f])?Object(o["get"])(h,["style","fill"],""):Object(o["get"])(t,[l,1])-Object(o["get"])(t,[l,0])>0?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}}}),w=Object(s["c"])(O).ext,j=w.geometry;return j.customInfo({leaderLine:p}),j.tooltip(a),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 w(t){var e=t.chart,n=t.options,i=n.label,o=n.labelMode,a=Object(c["c"])(e,"interval");if(i){var s=i.callback,l=Object(r["c"])(i,["callback"]);a.label({fields:"absolute"===o?[h]:[u],callback:s,cfg:Object(c["o"])(l)})}else a.label(!1);return t}function j(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.yField;return!1!==i?e.tooltip(Object(r["a"])({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i)):e.tooltip(!1),t}function C(t){return Object(c["e"])(m,b,x,O,j,w,a["i"],a["j"],a["c"],a["a"],Object(a["b"])())(t)}Object(g["h"])("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.getSchemaAdaptor=function(){return C},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["a"])},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";p<n&&!t.isEmpty(p);p++)if(!(t.sCount[p]-t.blkIndent>3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],l=t.eMarks[p],c<l&&(h=t.src.charCodeAt(c),(45===h||61===h)&&(c=t.skipChars(c,h),c=t.skipSpaces(c),c>=l)))){u=61===h?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,o=0,a=d.length;o<a;o++)if(d[o](t,p,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=t.getLines(e,p,t.blkIndent,!1).trim(),t.line=p+1,s=t.push("heading_open","h"+String(u),1),s.markup=String.fromCharCode(h),s.map=[e,t.line],s=t.push("inline","",0),s.content=r,s.map=[e,t.line-1],s.children=[],s=t.push("heading_close","h"+String(u),-1),s.markup=String.fromCharCode(h),t.parentType=f,!0)}},GoyQ:function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},GwhO:function(t,e,n){"use strict";n.r(e);var r=n("iTfj"),i=function(t,e){return Object(r["isString"])(e)?e:t.invert(t.scale(e))},o=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.map(function(e,n){return t._toOriginParam(e,t.scales[n])});return this.callback.apply(this,r)},t.prototype.getLinearValue=function(t){var e=this.values.length-1,n=Math.floor(e*t),r=e*t-n,i=this.values[n],o=n===e?i:this.values[n+1];return i+(o-i)*r},t.prototype.getNames=function(){for(var t=this.scales,e=this.names,n=Math.min(t.length,e.length),r=[],i=0;i<n;i+=1)r.push(e[i]);return r},t.prototype.getFields=function(){return this.scales.map(function(t){return t.field})},t.prototype.getScale=function(t){return this.scales[this.names.indexOf(t)]},t.prototype.defaultCallback=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 0===e.length?this.values:e.map(function(e,n){var r=t.scales[n];return"identity"===r.type?r.values[0]:t._getAttributeValue(r,e)})},t.prototype._parseCfg=function(t){var e=this,n=t.type,i=void 0===n?"base":n,o=t.names,a=void 0===o?[]:o,s=t.scales,c=void 0===s?[]:s,l=t.values,u=void 0===l?[]:l,h=t.callback;this.type=i,this.scales=c,this.values=u,this.names=a,this.callback=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(h){var i=h.apply(void 0,t);if(!Object(r["isNil"])(i))return[i]}return e.defaultCallback.apply(e,t)}},t.prototype._getAttributeValue=function(t,e){if(t.isCategory&&!this.linear){var n=t.translate(e);return this.values[n%this.values.length]}var r=t.scale(e);return this.getLinearValue(r)},t.prototype._toOriginParam=function(t,e){return e.isLinear?t:Object(r["isArray"])(t)?t.map(function(t){return i(e,t)}):i(e,t)},t}(),a=o,s=n("mrSG"),c=n("6UX8"),l=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],Object(r["isString"])(n.values)&&(n.linear=!0),n.gradient=c["a"].gradient(n.values),n}return Object(s["b"])(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(a),u=l,h=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return Object(s["b"])(e,t),e}(a),f=h,p=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return Object(s["b"])(e,t),e.prototype.mapping=function(t,e){var n=this.scales,i=n[0],o=n[1];return Object(r["isNil"])(t)||Object(r["isNil"])(e)?[]:[Object(r["isArray"])(t)?t.map(function(t){return i.scale(t)}):i.scale(t),Object(r["isArray"])(e)?e.map(function(t){return o.scale(t)}):o.scale(e)]},e}(a),d=p,g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return Object(s["b"])(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(a),y=g,v=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return Object(s["b"])(e,t),e}(a),m=v,b=n("8vsG"),x={},O=function(t){return x[t.toLowerCase()]},w=function(t,e){if(O(t))throw new Error("Attribute type '"+t+"' existed.");x[t.toLowerCase()]=e};n.d(e,"registerAttribute",function(){return w}),n.d(e,"getAttribute",function(){return O}),n.d(e,"Attribute",function(){return a}),n.d(e,"Color",function(){return u}),n.d(e,"Opacity",function(){return f}),n.d(e,"Position",function(){return d}),n.d(e,"Shape",function(){return y}),n.d(e,"Size",function(){return m}),n.d(e,"Scale",function(){return b["Scale"]}),w("Color",u),w("Opacity",f),w("Position",d),w("Shape",y),w("Size",m)},H8j4:function(t,e,n){var r=n("QkVE");function i(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}t.exports=i},HKru: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:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},Hg0r:function(t,e,n){"use strict";var r=n("vpQ4"),i=n("U8pU"),o=n("KQm4"),a=n("q1tI"),s=n.n(a),c=n("QLaP"),l=n.n(c),u=n("g0MP"),h=n("7zRj"),f=n.n(h),p=n("/MKj"),d=n("4nmR"),g=n("CxXe"),y=n("u4tm"),v=n("tRgb");n.d(e,"c",function(){return y});var m=n("LpSC"),b=n.n(m);n.d(e,"b",function(){return b.a});var x=n("1OyB"),O=n("vuIU"),w=n("md7G"),j=n("foSv"),C=n("Ji7U"),S={};function k(t,e){e=e.default||e,S[e.namespace]||(t.model(e),S[e.namespace]=1)}var M=function(){return null};function _(t){var e=t.resolve;return function(n){function r(){var e,n;Object(x["a"])(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=Object(w["a"])(this,(e=Object(j["a"])(r)).call.apply(e,[this].concat(o))),n.LoadingComponent=t.LoadingComponent||M,n.state={AsyncComponent:null},n.load(),n}return Object(C["a"])(r,n),Object(O["a"])(r,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"load",value:function(){var t=this;e().then(function(e){var n=e.default||e;t.mounted?t.setState({AsyncComponent:n}):t.state.AsyncComponent=n})}},{key:"render",value:function(){var t=this.state.AsyncComponent,e=this.LoadingComponent;return t?s.a.createElement(t,this.props):s.a.createElement(e,this.props)}}]),r}(a["Component"])}function A(t){var e=t.app,n=t.models,i=t.component;return _(Object(r["a"])({resolve:t.resolve||function(){var t="function"===typeof n?n():[],r=i();return new Promise(function(n){Promise.all([].concat(Object(o["a"])(t),[r])).then(function(r){if(!t||!t.length)return n(r[0]);var i=t.length;r.slice(0,i).forEach(function(t){t=t.default||t,Array.isArray(t)||(t=[t]),t.map(function(t){return k(e,t)})}),n(r[i])})})}},t))}A.setDefaultLoadingComponent=function(t){M=t};var T=y["connectRouter"],E=v["a"],P=d["b"].isFunction;g["k"],g["l"],g["m"],g["n"];function L(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.history||Object(u["b"])(),n={initialReducer:{router:T(e)},setupMiddlewares:function(t){return[E(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()(P(t),"[app.router] router should be function, but got ".concat(Object(i["a"])(t))),r._router=t}function c(t){F(t)&&(t=f.a.querySelector(t),l()(t,"[app.start] container ".concat(t," not found"))),l()(!t||I(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 I(t){return"object"===Object(i["a"])(t)&&null!==t&&t.nodeType&&t.nodeName}function F(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;r<t;r++)e[r]=arguments[r];i?n.apply(void 0,e):setTimeout(function(){n.apply(void 0,e)})})},t}e["a"]=L},Hvzi:function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},I01J:function(t,e,n){var r=n("44Ds"),i=500;function o(t){var e=r(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}t.exports=o},I5Ac:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCustomLegendItems=e.getLegendItems=e.getLegendLayout=void 0;var r=n("iTfj"),i=n("yLks"),o=n("6iBA"),a=n("fW3x"),s=["line","cross","tick","plus","hyphen"];function c(t,e){var n=t.symbol;r.isString(n)&&-1!==s.indexOf(n)&&(t.style=r.deepMix({},t.style,{lineWidth:1,stroke:e,fill:null}))}function l(t){var e=t.symbol;r.isString(e)&&a.MarkerSymbols[e]&&(t.symbol=a.MarkerSymbols[e])}function u(t){return t.startsWith(i.DIRECTION.LEFT)||t.startsWith(i.DIRECTION.RIGHT)?"vertical":"horizontal"}function h(t,e,n,i,a){var s=n.getScale(n.type);if(s.isCategory){var u=s.field,h=e.getAttribute("color"),f=e.getAttribute("shape"),p=t.getTheme().defaultColor,d=e.coordinate.isPolar;return s.getTicks().map(function(n){var g,y=n.text,v=n.value,m=y,b=s.invert(v),x=0===t.filterFieldData(u,[(g={},g[u]=b,g)]).length;r.each(t.views,function(t){var e;t.filterFieldData(u,[(e={},e[u]=b,e)]).length||(x=!0)});var O=o.getMappingValue(h,b,p),w=o.getMappingValue(f,b,"point"),j=e.getShapeMarker(w,{color:O,isInPolar:d});return j=r.deepMix({},i,j,a),c(j,O),l(j),{id:b,name:m,value:b,marker:j,unchecked:x}})}return[]}function f(t,e,n){return n.map(function(n){var i=r.deepMix({},t,e,n.marker);return l(i),n.marker=i,n})}e.getLegendLayout=u,e.getLegendItems=h,e.getCustomLegendItems=f},IIUr:function(t,e,n){"use strict";t.exports=function(t){var e,n,r=0,i=t.tokens,o=t.tokens.length;for(e=n=0;e<o;e++)i[e].nesting<0&&r--,i[e].level=r,i[e].nesting>0&&r++,"text"===i[e].type&&e+1<o&&"text"===i[e+1].type?i[e+1].content=i[e].content+i[e+1].content:(e!==n&&(i[n]=i[e]),n++);e!==n&&(i.length=n)}},Ioao:function(t,e,n){var r=n("heNW"),i=Math.max;function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);while(++a<s)c[a]=o[e+a];a=-1;var l=Array(e+1);while(++a<e)l[a]=o[a];return l[e]=n(c),r(t,this,l)}}t.exports=o},IvmH:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},i={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"}},JHRd:function(t,e,n){var r=n("Kz5y"),i=r.Uint8Array;t.exports=i},JHgL:function(t,e,n){var r=n("QkVE");function i(t){return r(this,t).get(t)}t.exports=i},JQdU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPolarPath=e.convertNormalPath=e.getSplinePath=e.getLinePath=e.catmullRom2bezier=e.smoothBezier=void 0;var r=n("6JdA"),i=n("iTfj"),o=n("D5zP");function a(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}function s(t,e){for(var n=[t[0]],r=1,i=t.length;r<i;r+=2){var o=e.convert({x:t[r],y:t[r+1]});n.push(o.x,o.y)}return n}function c(t,e){var n=e.isTransposed,r=t[1],i=t[6],o=t[7],a=e.convert({x:i,y:o}),s=n?0:1;return["A",r,r,0,0,s,a.x,a.y]}function l(t,e,n){var r=n.isTransposed,i=n.startAngle,a=n.endAngle,s="a"===t[0].toLowerCase()?{x:t[6],y:t[7]}:{x:t[1],y:t[2]},c={x:e[1],y:e[2]},l=[],u=r?"y":"x",h=Math.abs(c[u]-s[u])*(a-i),f=c[u]>=s[u]?1:0,p=h>Math.PI?1:0,d=n.convert(c),g=o.getDistanceToCenter(n,d);if(g>=.5)if(h===2*Math.PI){var y={x:(c.x+s.x)/2,y:(c.y+s.y)/2},v=n.convert(y);l.push(["A",g,g,0,p,f,v.x,v.y]),l.push(["A",g,g,0,p,f,d.x,d.y])}else l.push(["A",g,g,0,p,f,d.x,d.y]);return l}function u(t){i.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")}})}function h(t,n,r){for(var i=!!n,o=[],a=0,s=t.length;a<s;a+=2)o.push([t[a],t[a+1]]);var c,l,u,h=e.smoothBezier(o,.4,i,r),f=o.length,p=[];for(a=0;a<f-1;a++)c=h[2*a],l=h[2*a+1],u=o[a+1],p.push(["C",c[0],c[1],l[0],l[1],u[0],u[1]]);return i&&(c=h[f],l=h[f+1],u=o[0],p.push(["C",c[0],c[1],l[0],l[1],u[0],u[1]])),p}function f(t,e){return a(t,e)}function p(t,e,n){var r=[],i=t[0],o=null;if(t.length<=2)return f(t,e);for(var a=0,s=t.length;a<s;a++){var c=t[a];o&&o.x===c.x&&o.y===c.y||(r.push(c.x),r.push(c.y),o=c)}var l=n||[[0,0],[1,1]],u=h(r,e,l);return u.unshift(["M",i.x,i.y]),u}function d(t,e){var n=[];return i.each(e,function(e){var r=e[0];switch(r.toLowerCase()){case"m":case"l":case"c":n.push(s(e,t));break;case"a":n.push(c(e,t));break;case"z":default:n.push(e);break}}),n}function g(t,e){var n,r,o,a,h=[];return i.each(e,function(i,u){var f=i[0];switch(f.toLowerCase()){case"m":case"c":case"q":h.push(s(i,t));break;case"l":n=e[u-1],r=i,o=t.isTransposed,a=o?n[n.length-2]===r[1]:n[n.length-1]===r[2],a?h=h.concat(l(n,r,t)):h.push(s(i,t));break;case"a":h.push(c(i,t));break;case"z":default:h.push(i);break}}),u(h),h}e.smoothBezier=function(t,e,n,i){var o,a,s,c,l=[],u=!!i;if(u){s=[1/0,1/0],c=[-1/0,-1/0];for(var h=0,f=t.length;h<f;h++){var p=t[h];s=r.vec2.min([0,0],s,p),c=r.vec2.max([0,0],c,p)}s=r.vec2.min([0,0],s,i[0]),c=r.vec2.max([0,0],c,i[1])}h=0;for(var d=t.length;h<d;h++){p=t[h];if(n)o=t[h?h-1:d-1],a=t[(h+1)%d];else{if(0===h||h===d-1){l.push(p);continue}o=t[h-1],a=t[h+1]}var g=[0,0];g=r.vec2.sub(g,a,o),g=r.vec2.scale(g,g,e);var y=r.vec2.distance(p,o),v=r.vec2.distance(p,a),m=y+v;0!==m&&(y/=m,v/=m);var b=r.vec2.scale([0,0],g,-y),x=r.vec2.scale([0,0],g,v),O=r.vec2.add([0,0],p,b),w=r.vec2.add([0,0],p,x);u&&(O=r.vec2.max([0,0],O,s),O=r.vec2.min([0,0],O,c),w=r.vec2.max([0,0],w,s),w=r.vec2.min([0,0],w,c)),l.push(O),l.push(w)}return n&&l.push(l.shift()),l},e.catmullRom2bezier=h,e.getLinePath=f,e.getSplinePath=p,e.convertNormalPath=d,e.convertPolarPath=g},JSQU:function(t,e,n){var r=n("YESw"),i="__lodash_hash_undefined__";function o(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?i:e,this}t.exports=o},JTzB:function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Arguments]";function a(t){return i(t)&&r(t)==o}t.exports=a},KMkd:function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},KOyK:function(t,e,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,e){var n,o,a,s,c,l,u=t.pos;return 60===t.src.charCodeAt(u)&&(n=t.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),c=t.md.normalizeLink(s),!!t.md.validateLink(c)&&(e||(l=t.push("link_open","a",1),l.attrs=[["href",c]],l.markup="autolink",l.info="auto",l=t.push("text","",0),l.content=t.md.normalizeLinkText(s),l=t.push("link_close","a",-1),l.markup="autolink",l.info="auto"),t.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),c=t.md.normalizeLink("mailto:"+s),!!t.md.validateLink(c)&&(e||(l=t.push("link_open","a",1),l.attrs=[["href",c]],l.markup="autolink",l.info="auto",l=t.push("text","",0),l.content=t.md.normalizeLinkText(s),l=t.push("link_close","a",-1),l.markup="autolink",l.info="auto"),t.pos+=a[0].length,!0))))}},KavR:function(t,e,n){"use strict";var r=n("mrSG"),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},LHnb:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return s});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)Object.prototype.hasOwnProperty.call(e,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<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}Object.create;function s(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}Object.create},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("AMYk"),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["a"])(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(++r<o){var c=n[r];c&&t(e,c,r,a)}return e})}t.exports=o},LvGN:function(t,e,n){"use strict";n.r(e);var r=n("iTfj"),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,o=/[^\s\,]+/gi;function a(t){var e=t||[];return Object(r["isArray"])(e)?e:Object(r["isString"])(e)?(e=e.match(i),Object(r["each"])(e,function(t,n){if(t=t.match(o),t[0].length>1){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}function l(t,e){var n=[],r=[];function i(t,e){if(1===t.length)n.push(t[0]),r.push(t[0]);else{for(var o=[],a=0;a<t.length-1;a++)0===a&&n.push(t[0]),a===t.length-2&&r.push(t[a+1]),o[a]=[(1-e)*t[a][0]+e*t[a+1][0],(1-e)*t[a][1]+e*t[a+1][1]];i(o,e)}}return t.length&&i(t,e),{left:n,right:r.reverse()}}function u(t,e,n){var r=[[t[1],t[2]]];n=n||2;var i=[];"A"===e[0]?(r.push(e[6]),r.push(e[7])):"C"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]]),r.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]])):r.push([e[1],e[2]]);for(var o=r,a=1/n,s=0;s<n-1;s++){var c=a/(1-a*s),u=l(o,c);i.push(u.left),o=u.right}i.push(o);var h=i.map(function(t){var e=[];return 4===t.length&&(e.push("C"),e=e.concat(t[2])),t.length>=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 h}function h(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(u(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}function f(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<r-n;a++)t.push(t[0]);return t}for(a=0;a<r;a++){var s=Math.floor(i*a);o[s]=(o[s]||0)+1}var c=o.reduce(function(e,r,i){return i===n?e.concat(t[n]):e.concat(h(t[i],t[i+1],r))},[]);return c.unshift(t[0]),"Z"!==e[r]&&"z"!==e[r]||c.push("Z"),c}function p(t,e,n){var r=null,i=n;return e<i&&(i=e,r="add"),t<i&&(i=t,r="del"),{type:r,min:i}}var d=function(t,e){var n,i,o=t.length,a=e.length,s=0;if(0===o||0===a)return null;for(var c=[],l=0;l<=o;l++)c[l]=[],c[l][0]={min:l};for(var u=0;u<=a;u++)c[0][u]={min:u};for(l=1;l<=o;l++){n=t[l-1];for(u=1;u<=a;u++){i=e[u-1],s=Object(r["isEqual"])(n,i)?0:1;var h=c[l-1][u].min+1,f=c[l][u-1].min+1,d=c[l-1][u-1].min+s;c[l][u]=p(h,f,d)}}return c};function g(t,e){var n=d(t,e),r=t.length,i=e.length,o=[],a=1,s=1;if(n[r][i]!==r){for(var c=1;c<=r;c++){var l=n[c][c].min;s=c;for(var u=a;u<=i;u++)n[c][u].min<l&&(l=n[c][u].min,s=u);a=s,n[c][a].type&&o.push({index:c-1,type:n[c][a].type})}for(c=o.length-1;c>=0;c--)a=o[c].index,"add"===o[c].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}if(r=t.length,r<i)for(c=0;c<i-r;c++)"z"===t[r-1][0]||"Z"===t[r-1][0]?t.splice(r-2,0,t[r-2]):t.push(t[r-1]);return t}function y(t){var e=[];switch(t[0]){case"M":e.push([t[1],t[2]]);break;case"L":e.push([t[1],t[2]]);break;case"A":e.push([t[6],t[7]]);break;case"Q":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"T":e.push([t[1],t[2]]);break;case"C":e.push([t[5],t[6]]),e.push([t[1],t[2]]),e.push([t[3],t[4]]);break;case"S":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"H":e.push([t[1],t[1]]);break;case"V":e.push([t[1],t[1]]);break;default:}return e}function v(t,e,n){for(var r,i=[].concat(t),o=1/(n+1),a=y(e)[0],s=1;s<=n;s++)o*=s,r=Math.floor(t.length*o),0===r?i.unshift([a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]);return i}function m(t,e){if(t.length<=1)return t;for(var n,r=0;r<e.length;r++)if(t[r][0]!==e[r][0])switch(n=y(t[r]),e[r][0]){case"M":t[r]=["M"].concat(n[0]);break;case"L":t[r]=["L"].concat(n[0]);break;case"A":t[r]=[].concat(e[r]),t[r][6]=n[0][0],t[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=v(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=v(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=v(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}function b(t,e,n,r,i){return i?[["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"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]}var x="\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])["+x+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+x+"]*,?["+x+"]*)+)","ig"),w=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+x+"]*,?["+x+"]*","ig");function j(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(t,r,i){var o=[],a=r.toLowerCase();if(i.replace(w,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 C=/[a-z]/;function S(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function k(t){var e=j(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r<e.length;r++){var i=e[r][0];if(C.test(i)||["V","H","T","S"].indexOf(i)>=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 f=e.length;r<f;r++){var p=e[r],d=o[r-1],g=[],y=(i=p[0],i.toUpperCase());if(i!==y)switch(g[0]=y,y){case"A":g[1]=p[1],g[2]=p[2],g[3]=p[3],g[4]=p[4],g[5]=p[5],g[6]=+p[6]+a,g[7]=+p[7]+s;break;case"V":g[1]=+p[1]+s;break;case"H":g[1]=+p[1]+a;break;case"M":c=+p[1]+a,l=+p[2]+s;break;default:for(var v=1,m=p.length;v<m;v++)g[v]=+p[v]+(v%2?a:s)}else g=e[r];switch(y){case"Z":a=+c,s=+l;break;case"H":a=g[1],g=["L",a,s];break;case"V":s=g[1],g=["L",a,s];break;case"T":a=g[1],s=g[2];var b=S([d[1],d[2]],[d[3],d[4]]);g=["Q",b[0],b[1],a,s];break;case"S":a=g[g.length-2],s=g[g.length-1];var x=d.length,O=S([d[x-4],d[x-3]],[d[x-2],d[x-1]]);g=["C",O[0],O[1],g[1],g[2],a,s];break;case"M":c=g[g.length-2],l=g[g.length-1];break;default:a=g[g.length-2],s=g[g.length-1]}o.push(g)}return o}var M=function(t,e,n,r,i,o,a,s,c,l){n===r&&(n+=1);var u,h,f,p,d,g=120*Math.PI/180,y=Math.PI/180*(+i||0),v=[],m=function(t,e,n){var r=t*Math.cos(n)-e*Math.sin(n),i=t*Math.sin(n)+e*Math.cos(n);return{x:r,y:i}};if(l)h=l[0],f=l[1],p=l[2],d=l[3];else{u=m(t,e,-y),t=u.x,e=u.y,u=m(s,c,-y),s=u.x,c=u.y,t===s&&e===c&&(s+=1,c+=1);var b=(t-s)/2,x=(e-c)/2,O=b*b/(n*n)+x*x/(r*r);O>1&&(O=Math.sqrt(O),n*=O,r*=O);var w=n*n,j=r*r,C=(o===a?-1:1)*Math.sqrt(Math.abs((w*j-w*x*x-j*b*b)/(w*x*x+j*b*b)));p=C*n*x/r+(t+s)/2,d=C*-r*b/n+(e+c)/2,h=Math.asin(Number(((e-d)/r).toFixed(9))),f=Math.asin(Number(((c-d)/r).toFixed(9))),h=t<p?Math.PI-h:h,f=s<p?Math.PI-f:f,h<0&&(h=2*Math.PI+h),f<0&&(f=2*Math.PI+f),a&&h>f&&(h-=2*Math.PI),!a&&f>h&&(f-=2*Math.PI)}var S=f-h;if(Math.abs(S)>g){var k=f,_=s,A=c;f=h+g*(a&&f>h?1:-1),s=p+n*Math.cos(f),c=d+r*Math.sin(f),v=M(s,c,n,r,i,0,a,_,A,[f,k,p,d])}S=f-h;var T=Math.cos(h),E=Math.sin(h),P=Math.cos(f),L=Math.sin(f),I=Math.tan(S/4),F=4/3*n*I,D=4/3*r*I,B=[t,e],R=[t+F*E,e-D*T],N=[s+F*L,c-D*P],Y=[s,c];if(R[0]=2*B[0]-R[0],R[1]=2*B[1]-R[1],l)return[R,N,Y].concat(v);v=[R,N,Y].concat(v).join().split(",");for(var z=[],G=0,V=v.length;G<V;G++)z[G]=G%2?m(v[G-1],v[G],y).y:m(v[G],v[G+1],y).x;return z},_=function(t,e,n,r){return[t,e,n,r,n,r]},A=function(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]};function T(t,e){var n,r=k(t),i=e&&k(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=[],c=[],l="",u="",h=function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(M.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(A(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(A(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(_(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(_(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(_(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(_(e.x,e.y,e.X,e.Y));break;default:break}return t},f=function(t,e){if(t[e].length>7){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)}},p=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 d=0;d<n;d++){r[d]&&(l=r[d][0]),"C"!==l&&(s[d]=l,d&&(u=s[d-1])),r[d]=h(r[d],o,u),"A"!==s[d]&&"C"===l&&(s[d]="C"),f(r,d),i&&(i[d]&&(l=i[d][0]),"C"!==l&&(c[d]=l,d&&(u=c[d-1])),i[d]=h(i[d],a,u),"A"!==c[d]&&"C"===l&&(c[d]="C"),f(i,d)),p(r,i,o,a,d),p(i,r,a,o,d);var g=r[d],y=i&&i[d],v=g.length,m=i&&y.length;o.x=g[v-2],o.y=g[v-1],o.bx=parseFloat(g[v-4])||o.x,o.by=parseFloat(g[v-3])||o.y,a.bx=i&&(parseFloat(y[m-4])||a.x),a.by=i&&(parseFloat(y[m-3])||a.y),a.x=i&&y[m-2],a.y=i&&y[m-1]}return i?[r,i]:r}var E=function(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n},P=function(t,e,n,r,i,o,a,s,c){null===c&&(c=1),c=c>1?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;d<u;d++){var g=l*h[d]+l,y=E(g,t,n,i,a),v=E(g,e,r,o,s),m=y*y+v*v;p+=f[d]*Math.sqrt(m)}return l*p},L=function(t,e,n,r,i,o,a,s){for(var c,l,u,h,f=[],p=[[],[]],d=0;d<2;++d)if(0===d?(l=6*t-12*n+6*i,c=-3*t+9*n-9*i+3*a,u=3*n-3*t):(l=6*e-12*r+6*o,c=-3*e+9*r-9*o+3*s,u=3*r-3*e),Math.abs(c)<1e-12){if(Math.abs(l)<1e-12)continue;h=-u/l,h>0&&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])}}},I=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)<Math.min(i,a)||Math.min(t,n)>Math.max(i,a)||Math.max(e,r)<Math.min(o,s)||Math.min(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}}}},F=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},D=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:b(t,e,n,r),vb:[t,e,n,r].join(" ")}},B=function(t,e){return t=D(t),e=D(e),F(e,t.x,t.y)||F(e,t.x2,t.y)||F(e,t.x,t.y2)||F(e,t.x2,t.y2)||F(t,e.x,e.y)||F(t,e.x2,e.y)||F(t,e.x,e.y2)||F(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)},R=function(t,e,n,i,o,a,s,c){Object(r["isArray"])(t)||(t=[t,e,n,i,o,a,s,c]);var l=L.apply(null,t);return D(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},N=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,w=l*i+c*a,j=l*o+c*s,C=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:w,y:j},alpha:C}},Y=function(t,e,n){var r=R(t),i=R(e);if(!B(r,i))return n?0:[];for(var o=P.apply(0,t),a=P.apply(0,e),s=~~(o/8),c=~~(a/8),l=[],u=[],h={},f=n?0:[],p=0;p<s+1;p++){var d=N.apply(0,t.concat(p/s));l.push({x:d.x,y:d.y,t:p/s})}for(p=0;p<c+1;p++){d=N.apply(0,e.concat(p/c));u.push({x:d.x,y:d.y,t:p/c})}for(p=0;p<s;p++)for(var g=0;g<c;g++){var y=l[p],v=l[p+1],m=u[g],b=u[g+1],x=Math.abs(v.x-y.x)<.001?"y":"x",O=Math.abs(b.x-m.x)<.001?"y":"x",w=I(y.x,y.y,v.x,v.y,m.x,m.y,b.x,b.y);if(w){if(h[w.x.toFixed(4)]===w.y.toFixed(4))continue;h[w.x.toFixed(4)]=w.y.toFixed(4);var j=y.t+Math.abs((w[x]-y[x])/(v[x]-y[x]))*(v.t-y.t),C=m.t+Math.abs((w[O]-m[O])/(b[O]-m[O]))*(b.t-m.t);j>=0&&j<=1&&C>=0&&C<=1&&(n?f++:f.push({x:w.x,y:w.y,t1:j,t2:C}))}}return f},z=function(t,e,n){var r,i,o,a,s,c,l,u,h,f;t=T(t),e=T(e);for(var p=n?0:[],d=0,g=t.length;d<g;d++){var y=t[d];if("M"===y[0])r=s=y[1],i=c=y[2];else{"C"===y[0]?(h=[r,i].concat(y.slice(1)),r=h[6],i=h[7]):(h=[r,i,r,i,s,c,s,c],r=s,i=c);for(var v=0,m=e.length;v<m;v++){var b=e[v];if("M"===b[0])o=l=b[1],a=u=b[2];else{"C"===b[0]?(f=[o,a].concat(b.slice(1)),o=f[6],a=f[7]):(f=[o,a,o,a,l,u,l,u],o=l,a=u);var x=Y(h,f,n);if(n)p+=x;else{for(var O=0,w=x.length;O<w;O++)x[O].segment1=d,x[O].segment2=v,x[O].bez1=h,x[O].bez2=f;p=p.concat(x)}}}}}return p};function G(t,e){return z(t,e)}var V=/,?([a-z]),?/gi;function X(t){return t.join(",").replace(V,"$1")}function W(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function H(t,e){return W(t)*W(e)?(t[0]*e[0]+t[1]*e[1])/(W(t)*W(e)):1}function U(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(H(t,e))}function q(t,e){return t[0]===e[0]&&t[1]===e[1]}function Z(t,e){var n=e[1],i=e[2],o=Object(r["mod"])(Object(r["toRadian"])(e[3]),2*Math.PI),a=e[4],s=e[5],c=t[0],l=t[1],u=e[6],h=e[7],f=Math.cos(o)*(c-u)/2+Math.sin(o)*(l-h)/2,p=-1*Math.sin(o)*(c-u)/2+Math.cos(o)*(l-h)/2,d=f*f/(n*n)+p*p/(i*i);d>1&&(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 v=i?y*n*p/i:0,m=n?y*-i*f/n:0,b=(c+u)/2+Math.cos(o)*v-Math.sin(o)*m,x=(l+h)/2+Math.sin(o)*v+Math.cos(o)*m,O=[(f-v)/n,(p-m)/i],w=[(-1*f-v)/n,(-1*p-m)/i],j=U([1,0],O),C=U(O,w);return H(O,w)<=-1&&(C=Math.PI),H(O,w)>=1&&(C=0),0===s&&C>0&&(C-=2*Math.PI),1===s&&C<0&&(C+=2*Math.PI),{cx:b,cy:x,rx:q(t,[u,h])?0:n,ry:q(t,[u,h])?0:i,startAngle:j,endAngle:j+C,xRotation:o,arcFlag:a,sweepFlag:s}}function K(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function Q(t){t=s(t);for(var e=[],n=null,r=null,i=null,o=0,a=t.length,c=0;c<a;c++){var l=t[c];r=t[c+1];var u=l[0],h={command:u,prePoint:n,params:l,startTangent:null,endTangent:null};switch(u){case"M":i=[l[1],l[2]],o=c;break;case"A":var f=Z(n,l);h["arcParams"]=f;break;default:break}if("Z"===u)n=i,r=t[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),h["currentPoint"]=n,e[o]&&q(n,e[o].currentPoint)&&(e[o].prePoint=h.prePoint);var d=r?[r[r.length-2],r[r.length-1]]:null;h["nextPoint"]=d;var g=h.prePoint;if(["L","H","V"].includes(u))h.startTangent=[g[0]-n[0],g[1]-n[1]],h.endTangent=[n[0]-g[0],n[1]-g[1]];else if("Q"===u){var y=[l[1],l[2]];h.startTangent=[g[0]-y[0],g[1]-y[1]],h.endTangent=[n[0]-y[0],n[1]-y[1]]}else if("T"===u){var v=e[c-1];y=K(v.currentPoint,g);"Q"===v.command?(h.command="Q",h.startTangent=[g[0]-y[0],g[1]-y[1]],h.endTangent=[n[0]-y[0],n[1]-y[1]]):(h.command="TL",h.startTangent=[g[0]-n[0],g[1]-n[1]],h.endTangent=[n[0]-g[0],n[1]-g[1]])}else if("C"===u){var m=[l[1],l[2]],b=[l[3],l[4]];h.startTangent=[g[0]-m[0],g[1]-m[1]],h.endTangent=[n[0]-b[0],n[1]-b[1]]}else if("S"===u){v=e[c-1],m=K(v.currentPoint,g),b=[l[1],l[2]];"C"===v.command?(h.command="C",h.startTangent=[g[0]-m[0],g[1]-m[1]],h.endTangent=[n[0]-b[0],n[1]-b[1]]):(h.command="SQ",h.startTangent=[g[0]-b[0],g[1]-b[1]],h.endTangent=[n[0]-b[0],n[1]-b[1]])}else if("A"===u){var x=.001,O=h["arcParams"]||{},w=O.cx,j=void 0===w?0:w,C=O.cy,S=void 0===C?0:C,k=O.rx,M=void 0===k?0:k,_=O.ry,A=void 0===_?0:_,T=O.sweepFlag,E=void 0===T?0:T,P=O.startAngle,L=void 0===P?0:P,I=O.endAngle,F=void 0===I?0:I;0===E&&(x*=-1);var D=M*Math.cos(L-x)+j,B=A*Math.sin(L-x)+S;h.startTangent=[D-i[0],B-i[1]];var R=M*Math.cos(L+F+x)+j,N=A*Math.sin(L+F-x)+S;h.endTangent=[g[0]-R,g[1]-N]}e.push(h)}return e}var $=function(t,e,n){return t>=e&&t<=n};function J(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;$(p,0,1)&&$(d,0,1)&&(f={x:t.x+p*a.x,y:t.y+p*a.y})}return f}var tt=1e-6;function et(t){return Math.abs(t)<tt?0:t<0?-1:1}function nt(t,e,n){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])&&Math.min(t[0],e[0])<=n[0]&&n[0]<=Math.max(t[0],e[0])&&Math.min(t[1],e[1])<=n[1]&&n[1]<=Math.max(t[1],e[1])}function rt(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var o=0;o<i;o++){var a=t[o],s=t[(o+1)%i];if(nt(a,s,[e,n]))return!0;et(a[1]-n)>0!==et(s[1]-n)>0&&et(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function it(t){for(var e=[],n=t.length,r=0;r<n-1;r++){var i=t[r],o=t[r+1];e.push({from:{x:i[0],y:i[1]},to:{x:o[0],y:o[1]}})}if(e.length>1){var a=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:a[0],y:a[1]}})}return e}function ot(t,e){var n=!1;return Object(r["each"])(t,function(t){if(J(t.from,t.to,e.from,e.to))return n=!0,!1}),n}function at(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 st(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function ct(t,e){if(t.length<2||e.length<2)return!1;var n=at(t),i=at(e);if(!st(n,i))return!1;var o=!1;if(Object(r["each"])(e,function(e){if(rt(t,e[0],e[1]))return o=!0,!1}),o)return!0;if(Object(r["each"])(t,function(t){if(rt(e,t[0],t[1]))return o=!0,!1}),o)return!0;var a=it(t),s=it(e),c=!1;return Object(r["each"])(s,function(t){if(ot(a,t))return c=!0,!1}),c}n.d(e,"parsePath",function(){return s}),n.d(e,"catmullRom2Bezier",function(){return c}),n.d(e,"fillPath",function(){return f}),n.d(e,"fillPathByDiff",function(){return g}),n.d(e,"formatPath",function(){return m}),n.d(e,"pathIntersection",function(){return G}),n.d(e,"parsePathArray",function(){return X}),n.d(e,"parsePathString",function(){return j}),n.d(e,"path2Curve",function(){return T}),n.d(e,"path2Absolute",function(){return k}),n.d(e,"reactPath",function(){return b}),n.d(e,"getArcParams",function(){return Z}),n.d(e,"path2Segments",function(){return Q}),n.d(e,"getLineIntersect",function(){return J}),n.d(e,"isPolygonsIntersect",function(){return ct}),n.d(e,"isPointInPolygon",function(){return rt})},MMmD:function(t,e,n){var r=n("lSCD"),i=n("shjB");function o(t){return null!=t&&i(t.length)&&!r(t)}t.exports=o},MaEA:function(t,e,n){"use strict";var r=n("AMYk"),i=n("zK8m"),o=n("aSjE"),a=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype._isInBBox=function(t,e){var n=this.getBBox();return n.minX<=t&&n.maxX>=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("LHnb"),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},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=E();["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<l){e=n[r],i.save(),i.font=e.style+" "+e.weight+" "+~~((e.size+1)/o)+"px "+e.font;var u=i.measureText(e.text+"m").width*o,h=e.size<<1;if(e.rotate){var g=Math.sin(e.rotate*f),y=Math.cos(e.rotate*f),v=u*y,m=u*g,b=h*y,x=h*g;u=Math.max(Math.abs(v+x),Math.abs(v-x))+31>>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,w=[];while(--r>=0)if(e=n[r],e.hasText){u=e.width;for(var j=u>>5,C=(h=e.y1-e.y0,0);C<h*j;C++)w[C]=0;if(a=e.xoff,null==a)return;s=e.yoff;for(var S=0,k=-1,M=0;M<h;M++){for(C=0;C<u;C++){var _=j*M+(C>>5),A=O[(s+M)*(p<<5)+(a+C)<<2]?1<<31-C%32:0;w[_]|=A,S|=A}S?k=M:(e.y0++,h--,M--,s++)}e.y1=e.y0+k,e.sprite=w.slice(0,(e.y1-e.y0)*j)}}}function w(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<l;h++){r=0;for(var f=0;f<=o;f++)if((r<<c|(f<o?(r=i[h*o+f])>>>s:0))&e[u+f])return!0;u+=n}return!1}function j(t,e){var n=t[0],r=t[1];e.x+e.x0<n.x&&(n.x=e.x+e.x0),e.y+e.y0<n.y&&(n.y=e.y+e.y0),e.x+e.x1>r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function C(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0<e[1].x&&t.y+t.y1>e[0].y&&t.y+t.y0<e[1].y}function S(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function k(t){var e=4,n=e*t[0]/t[1],r=0,i=0;return function(t){var o=t<0?-1:1;switch(Math.sqrt(1+4*o*t)-o&3){case 0:r+=n;break;case 1:i+=e;break;case 2:r-=n;break;default:i-=e;break}return[r,i]}}function M(t){var e=[],n=-1;while(++n<t)e[n]=0;return e}function _(){return document.createElement("canvas")}function A(t){return Object(c["isFunction"])(t)?t:function(){return t}}var T={archimedean:S,rectangular:k};function E(){var t=[256,256],e=y,n=m,r=v,i=b,o=x,a=S,s=Math.random,c=[],l=1/0,u=g,h=v,f=_,k={};function E(t){t.width=t.height=1;var e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>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 P(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||!w(n,e,t[0]))&&(!r||C(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,j=void 0,S=(n.y+n.y0)*v+(m>>5),k=0;k<O;k++){j=0;for(var M=0;M<=y;M++)e[S+M]|=j<<x|(M<y?(j=g[k*y+M])>>>b:0);S+=v}return delete n.sprite,!0}}return!1}return k.start=function(){var a=t[0],p=t[1],d=E(f()),g=k.board?k.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=k.board?[{x:0,y:0},{x:a,y:p}]:null;function w(){var e=Date.now();while(Date.now()-e<l&&++b<y){var n=m[b];n.x=a*(s()+.5)>>1,n.y=p*(s()+.5)>>1,O(d,n,m,b),n.hasText&&P(g,n,x)&&(v.push(n),x?k.hasImage||j(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)}k._tags=v,k._bounds=x}return w(),k},k.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<i;l++)for(var u=0;u<r;u++){var h=o*l+(u>>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}k.board=a,k.hasImage=!0}},k.timeInterval=function(t){l=null==t?1/0:t},k.words=function(t){c=t},k.size=function(e){t=[+e[0],+e[1]]},k.font=function(t){e=A(t)},k.fontWeight=function(t){r=A(t)},k.rotate=function(t){i=A(t)},k.spiral=function(t){a=T[t]||t},k.fontSize=function(t){n=A(t)},k.padding=function(t){o=A(t)},k.random=function(t){s=A(t)},k}function P(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,w=void 0===O||O,j=e.placementStrategy;if(!f||!f.length)return[];var C=v.fontFamily,S=v.fontWeight,k=v.padding,M=v.fontSize,_=R(f,g),T=[z(_),G(_)],E=f.map(function(t){return{text:t[d],value:t[g],color:t[y],datum:t}}),P={imageMask:p,font:C,fontSize:B(M,T),fontWeight:S,size:L({width:o,height:a,padding:s,appendPadding:l,autoFit:w,container:h}),padding:k,timeInterval:m,random:b,spiral:x,rotate:N(e)};if(Object(c["isFunction"])(j)){var I=E.map(function(t,e,i){return Object(r["a"])(Object(r["a"])(Object(r["a"])({},t),{hasText:!!t.text,font:A(P.font)(t,e,i),weight:A(P.fontWeight)(t,e,i),rotate:A(P.rotate)(t,e,i),size:A(P.fontSize)(t,e,i),style:"normal"}),j.call(n,t,e,i))});return I.push({text:"",value:0,x:0,y:0,opacity:0}),I.push({text:"",value:0,x:P.size[0],y:P.size[1],opacity:0}),I}return u(E,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=I({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 I(t){var e=F(t.padding),n=F(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 F(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["j"])(o["a"].ERROR,!1,"image %s load failed !!!",t),n()})}Object(o["j"])(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=Y(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 Y(t){var e=t.wordStyle.rotationSteps;return e<1&&(Object(o["j"])(o["a"].WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}function z(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=P(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),e.legend(!1),t}function X(t){return Object(o["e"])(Object(a["f"])({x:{nice:!1},y:{nice:!1}}))(t)}function W(t){Object(o["e"])(V,X,a["k"],a["c"],a["a"],a["j"],a["i"])(t)}var H=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(H["h"])("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&&H["c"].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.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{timeInterval:2e3,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 W},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))}})(i["a"])},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("AMYk"),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["a"])(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<arguments.length;e++)t[e]=arguments[e];var n=t[0],r=t[1];Object(o["f"])(n)?r=n:r["type"]=n;var i=a[r.type];i||(i=Object(o["k"])(r.type),a[r.type]=i);var s=this.getShapeBase(),c=new s[i](r);return this.add(c),c},e.prototype.addGroup=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,r=t[0],i=t[1];if(Object(o["d"])(r))n=new r(i||{parent:this});else{var a=r||{},s=this.getGroupBase();n=new s(a)}return this.add(n),n},e.prototype.getCanvas=function(){var t;return t=this.isCanvas()?this:this.get("canvas"),t},e.prototype.getShape=function(t,e,n){if(!Object(o["b"])(this))return null;var r,i=this.getChildren();if(this.isCanvas())r=this._findShape(i,t,e,n);else{var a=[t,e,1];a=this.invertFromMatrix(a),this.isClipped(a[0],a[1])||(r=this._findShape(i,a[0],a[1],n))}return r},e.prototype._findShape=function(t,e,n,r){for(var i=null,a=t.length-1;a>=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;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("tGEx"),a=o.getAceInstance(),s=n("bU/s"),c=n("++nV"),l=n("17x9"),u=n("q1tI"),h=n("XaGS"),f=n("yDJ3"),p=function(t){function e(e){var n=t.call(this,e)||this;return o.editorEvents.forEach(function(t){n[t]=n[t].bind(n)}),n.debounce=o.debounce,n}return r(e,t),e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.className,r=e.onBeforeLoad,i=e.mode,s=e.focus,l=e.theme,u=e.fontSize,h=e.value,p=e.defaultValue,d=e.cursorStart,g=e.showGutter,y=e.wrapEnabled,v=e.showPrintMargin,m=e.scrollMargin,b=void 0===m?[0,0,0,0]:m,x=e.keyboardHandler,O=e.onLoad,w=e.commands,j=e.annotations,C=e.markers,S=e.splits;this.editor=a.edit(this.refEditor),this.editor.setTheme("ace/theme/"+l),r&&r(a);var k=Object.keys(this.props.editorProps),M=new c.Split(this.editor.container,"ace/theme/"+l,S);this.editor.env.split=M,this.splitEditor=M.getEditor(0),this.split=M,this.editor.setShowPrintMargin(!1),this.editor.renderer.setShowGutter(!1);var _=this.splitEditor.$options;this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),M.forEach(function(e,n){for(var r=0;r<k.length;r++)e[k[r]]=t.props.editorProps[k[r]];var s=f(p,n),c=f(h,n,"");e.session.setUndoManager(new a.UndoManager),e.setTheme("ace/theme/"+l),e.renderer.setScrollMargin(b[0],b[1],b[2],b[3]),e.getSession().setMode("ace/mode/"+i),e.setFontSize(u),e.renderer.setShowGutter(g),e.getSession().setUseWrapMode(y),e.setShowPrintMargin(v),e.on("focus",t.onFocus),e.on("blur",t.onBlur),e.on("input",t.onInput),e.on("copy",t.onCopy),e.on("paste",t.onPaste),e.on("change",t.onChange),e.getSession().selection.on("changeSelection",t.onSelectionChange),e.getSession().selection.on("changeCursor",t.onCursorChange),e.session.on("changeScrollTop",t.onScroll),e.setValue(void 0===s?c:s,d);var m=f(j,n,[]),O=f(C,n,[]);e.getSession().setAnnotations(m),O&&O.length>0&&t.handleMarkers(O,e);for(r=0;r<o.editorOptions.length;r++){var S=o.editorOptions[r];_.hasOwnProperty(S)?e.setOption(S,t.props[S]):t.props[S]&&console.warn("ReaceAce: editor option "+S+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}t.handleOptions(t.props,e),Array.isArray(w)&&w.forEach(function(t){"string"===typeof t.exec?e.commands.bindKey(t.bindKey,t.exec):e.commands.addCommand(t)}),x&&e.setKeyboardHandler("ace/keyboard/"+x)}),n&&(this.refEditor.className+=" "+n),s&&this.splitEditor.focus();var A=this.editor.env.split;A.setOrientation("below"===this.props.orientation?A.BELOW:A.BESIDE),A.resize(!0),O&&O(A)},e.prototype.componentDidUpdate=function(t){var e=this,n=t,r=this.props,i=this.editor.env.split;if(r.splits!==n.splits&&i.setSplits(r.splits),r.orientation!==n.orientation&&i.setOrientation("below"===r.orientation?i.BELOW:i.BESIDE),i.forEach(function(t,i){r.mode!==n.mode&&t.getSession().setMode("ace/mode/"+r.mode),r.keyboardHandler!==n.keyboardHandler&&(r.keyboardHandler?t.setKeyboardHandler("ace/keyboard/"+r.keyboardHandler):t.setKeyboardHandler(null)),r.fontSize!==n.fontSize&&t.setFontSize(r.fontSize),r.wrapEnabled!==n.wrapEnabled&&t.getSession().setUseWrapMode(r.wrapEnabled),r.showPrintMargin!==n.showPrintMargin&&t.setShowPrintMargin(r.showPrintMargin),r.showGutter!==n.showGutter&&t.renderer.setShowGutter(r.showGutter);for(var a=0;a<o.editorOptions.length;a++){var s=o.editorOptions[a];r[s]!==n[s]&&t.setOption(s,r[s])}h(r.setOptions,n.setOptions)||e.handleOptions(r,t);var c=f(r.value,i,"");if(t.getValue()!==c){e.silent=!0;var l=t.session.selection.toJSON();t.setValue(c,r.cursorStart),t.session.selection.fromJSON(l),e.silent=!1}var u=f(r.annotations,i,[]),p=f(n.annotations,i,[]);h(u,p)||t.getSession().setAnnotations(u);var d=f(r.markers,i,[]),g=f(n.markers,i,[]);!h(d,g)&&Array.isArray(d)&&e.handleMarkers(d,t)}),r.className!==n.className){var a=this.refEditor.className,s=a.trim().split(" "),c=n.className.trim().split(" ");c.forEach(function(t){var e=s.indexOf(t);s.splice(e,1)}),this.refEditor.className=" "+r.className+" "+s.join(" ")}r.theme!==n.theme&&i.setTheme("ace/theme/"+r.theme),r.focus&&!n.focus&&this.splitEditor.focus(),r.height===this.props.height&&r.width===this.props.width||this.editor.resize()},e.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},e.prototype.onChange=function(t){if(this.props.onChange&&!this.silent){var e=[];this.editor.env.split.forEach(function(t){e.push(t.getValue())}),this.props.onChange(e,t)}},e.prototype.onSelectionChange=function(t){if(this.props.onSelectionChange){var e=[];this.editor.env.split.forEach(function(t){e.push(t.getSelection())}),this.props.onSelectionChange(e,t)}},e.prototype.onCursorChange=function(t){if(this.props.onCursorChange){var e=[];this.editor.env.split.forEach(function(t){e.push(t.getSelection())}),this.props.onCursorChange(e,t)}},e.prototype.onFocus=function(t){this.props.onFocus&&this.props.onFocus(t)},e.prototype.onInput=function(t){this.props.onInput&&this.props.onInput(t)},e.prototype.onBlur=function(t){this.props.onBlur&&this.props.onBlur(t)},e.prototype.onCopy=function(t){this.props.onCopy&&this.props.onCopy(t)},e.prototype.onPaste=function(t){this.props.onPaste&&this.props.onPaste(t)},e.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},e.prototype.handleOptions=function(t,e){for(var n=Object.keys(t.setOptions),r=0;r<n.length;r++)e.setOption(n[r],t.setOptions[n[r]])},e.prototype.handleMarkers=function(t,e){var n=e.getSession().getMarkers(!0);for(var r in n)n.hasOwnProperty(r)&&e.getSession().removeMarker(n[r].id);for(var r in n=e.getSession().getMarkers(!1),n)n.hasOwnProperty(r)&&e.getSession().removeMarker(n[r].id);t.forEach(function(t){var n=t.startRow,r=t.startCol,i=t.endRow,o=t.endCol,a=t.className,c=t.type,l=t.inFront,u=void 0!==l&&l,h=new s.Range(n,r,i,o);e.getSession().addMarker(h,a,c,u)})},e.prototype.updateRef=function(t){this.refEditor=t},e.prototype.render=function(){var t=this.props,e=t.name,n=t.width,r=t.height,o=t.style,a=i({width:n,height:r},o);return u.createElement("div",{ref:this.updateRef,id:e,style:a})},e.propTypes={className:l.string,debounceChangePeriod:l.number,defaultValue:l.arrayOf(l.string),focus:l.bool,fontSize:l.oneOfType([l.number,l.string]),height:l.string,mode:l.string,name:l.string,onBlur:l.func,onChange:l.func,onCopy:l.func,onFocus:l.func,onInput:l.func,onLoad:l.func,onPaste:l.func,onScroll:l.func,orientation:l.string,showGutter:l.bool,splits:l.number,theme:l.string,value:l.arrayOf(l.string),width:l.string,onSelectionChange:l.func,onCursorChange:l.func,onBeforeLoad:l.func,minLines:l.number,maxLines:l.number,readOnly:l.bool,highlightActiveLine:l.bool,tabSize:l.number,showPrintMargin:l.bool,cursorStart:l.number,editorProps:l.object,setOptions:l.object,style:l.object,scrollMargin:l.array,annotations:l.array,markers:l.array,keyboardHandler:l.string,wrapEnabled:l.bool,enableBasicAutocompletion:l.oneOfType([l.bool,l.array]),enableLiveAutocompletion:l.oneOfType([l.bool,l.array]),commands:l.array},e.defaultProps={name:"ace-editor",focus:!1,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1},e}(u.Component);e.default=p},N9hJ:function(t,e){},NAgD:function(t,e,n){"use strict";t.exports=function(t){var e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},NKxu:function(t,e,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,h=l.toString,f=u.hasOwnProperty,p=RegExp("^"+h.call(f).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(t){if(!o(t)||i(t))return!1;var e=r(t)?p:c;return e.test(a(t))}t.exports=d},NmWf:function(t,e,n){"use strict";var r=n("LHnb"),i=n("aFU3"),o=n("iTfj"),a={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},s=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get("defaultCfg");Object(o["each"])(t,function(t,r){var i=e.get(r),a=t;i!==t&&(Object(o["isObject"])(t)&&n[r]&&(a=Object(o["deepMix"])({},n[r],t)),e.set(r,a))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Object(o["hasKey"])(t,"visible")&&(t.visible?this.show():this.hide()),Object(o["hasKey"])(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=Object(r["a"])({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=this.get("locationType"),r=a[n];return Object(o["each"])(r,function(n){e[n]=t.get(n)}),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get("defaultCfg");Object(o["each"])(e,function(e,n){var r=t.get(n);if(Object(o["isObject"])(r)){var i=Object(o["deepMix"])({},e,r);t.set(n,i)}})},e}(i["Base"]);e["a"]=s},Npjl:function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},NykK:function(t,e,n){var r=n("nmnc"),i=n("AP2z"),o=n("KfNM"),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function l(t){return null==t?void 0===t?s:a:c&&c in Object(t)?i(t):o(t)}t.exports=l},Nzmt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.Slider=e.HtmlTooltip=e.ContinuousLegend=e.CategoryLegend=e.CircleGrid=e.LineGrid=e.CircleAxis=e.LineAxis=e.Annotation=e.Crosshair=e.Component=e.GroupComponent=e.HtmlComponent=void 0;var r=n("aFU3");Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return r.Event}}),Object.defineProperty(e,"AbstractGroup",{enumerable:!0,get:function(){return r.AbstractGroup}}),Object.defineProperty(e,"AbstractShape",{enumerable:!0,get:function(){return r.AbstractShape}});var i=n("7s0d");Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return i.registerAdjust}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return i.getAdjust}}),Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return i.Adjust}});var o=n("GwhO");Object.defineProperty(e,"getAttribute",{enumerable:!0,get:function(){return o.getAttribute}}),Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return o.Attribute}});var a=n("GwhO");Object.defineProperty(e,"Color",{enumerable:!0,get:function(){return a.Color}});var s=n("oYZf");Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return s.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return s.registerCoordinate}}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return s.Coordinate}});var c=n("8vsG");Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return c.getScale}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return c.registerScale}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return c.Scale}});var l=n("17Tr");Object.defineProperty(e,"Annotation",{enumerable:!0,get:function(){return l.Annotation}}),Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return l.Component}}),Object.defineProperty(e,"Crosshair",{enumerable:!0,get:function(){return l.Crosshair}}),Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return l.GroupComponent}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return l.HtmlComponent}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return l.Slider}}),Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return l.Scrollbar}});var u=l.Axis.Line,h=l.Axis.Circle;e.LineAxis=u,e.CircleAxis=h;var f=l.Grid.Line,p=l.Grid.Circle;e.LineGrid=f,e.CircleGrid=p;var d=l.Legend.Category,g=l.Legend.Continuous;e.CategoryLegend=d,e.ContinuousLegend=g;var y=l.Tooltip.Html;e.HtmlTooltip=y},O0oS:function(t,e,n){var r=n("Cwc5"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},Q1l4:function(t,e){function n(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n<r)e[n]=t[n];return e}t.exports=n},QIyF:function(t,e,n){var r=n("Kz5y"),i=function(){return r.Date.now()};t.exports=i},QcOe:function(t,e,n){var r=n("GoyQ"),i=n("6sVZ"),o=n("7Ix3"),a=Object.prototype,s=a.hasOwnProperty;function c(t){if(!r(t))return o(t);var e=i(t),n=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&n.push(a);return n}t.exports=c},Qci9:function(t,e,n){"use strict";var r=n("iTfj"),i=n("0Xep"),o=function(){function t(t){var e=t.xField,n=t.yField,r=t.adjustNames,i=void 0===r?["x","y"]:r;this.adjustNames=i,this.xField=e,this.yField=n}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=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(o<i&&r(t.src.charCodeAt(o)))o++;return t.pos=o,!0}},QkVE:function(t,e,n){var r=n("EpBk");function i(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=i},QkVN:function(t,e,n){var r=n("+Qka"),i=n("LsHQ"),o=i(function(t,e,n){r(t,e,n)});t.exports=o},"Qo0+":function(t,e,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},R2cN: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)Object.prototype.hasOwnProperty.call(e,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<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};Object.create;Object.create},R5nb:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"Base",function(){return u}),n.d(r,"Circle",function(){return f}),n.d(r,"Ellipse",function(){return g}),n.d(r,"Image",function(){return m}),n.d(r,"Line",function(){return j}),n.d(r,"Marker",function(){return _}),n.d(r,"Path",function(){return X}),n.d(r,"Polygon",function(){return U}),n.d(r,"Polyline",function(){return Z}),n.d(r,"Rect",function(){return tt}),n.d(r,"Text",function(){return nt});var i=n("wOmg"),o=n("aFU3"),a=n("cyZq"),s=n("9eUa"),c=n("wq2r"),l=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),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return r},e.prototype.getGroupBase=function(){return c["a"]},e.prototype.onCanvasChange=function(t){Object(s["h"])(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),e=this.getHitLineWidth(),n=Object(o["getBBoxMethod"])(t),r=n(this),i=e/2,a=r.x-i,s=r.y-i,c=r.x+r.width+i,l=r.y+r.height+i;return{x:a,minX:a,y:s,minY:s,width:r.width+e,height:r.height+e,maxX:c,maxY:l}},e.prototype.isFill=function(){return!!this.attrs["fill"]||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs["stroke"]},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(s["a"])(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);var r=this.getCanvasBBox();if(!Object(a["f"])(e,r))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}t.save(),Object(s["a"])(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=Object(a["f"])(e,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isFill()&&(Object(a["i"])(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.isStroke()&&n>0&&(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"),w=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),j=w,C=n("iTfj"),S=n("LvGN"),k={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(C["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["path2Absolute"])(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=k,e}(u),_=M;function A(t,e,n){var r=Object(o["getOffScreenContext"])();return t.createPath(r),r.isPointInPath(e,n)}var T=1e-6;function E(t){return Math.abs(t)<T?0:t<0?-1:1}function P(t,e,n){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])&&Math.min(t[0],e[0])<=n[0]&&n[0]<=Math.max(t[0],e[0])&&Math.min(t[1],e[1])<=n[1]&&n[1]<=Math.max(t[1],e[1])}function L(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var o=0;o<i;o++){var a=t[o],s=t[(o+1)%i];if(P(a,s,[e,n]))return!0;E(a[1]-n)>0!==E(s[1]-n)>0&&E(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}var I=n("6JdA"),F=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(l<r||l>i)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=I["ext"].transform;function R(t){for(var e=!1,n=t.length,r=0;r<n;r++){var i=t[r],o=i[0];if("C"===o||"A"===o||"Q"===o){e=!0;break}}return e}function N(t,e,n,r,i){for(var o=!1,s=e/2,c=0;c<t.length;c++){var l=t[c],u=l.currentPoint,h=l.params,f=l.prePoint,p=l.box;if(!p||Object(a["e"])(p.x-s,p.y-s,p.width+e,p.height+e,n,r)){switch(l.command){case"L":case"Z":o=x(f[0],f[1],u[0],u[1],e,n,r);break;case"Q":var d=b["e"].pointDistance(f[0],f[1],h[1],h[2],h[3],h[4],n,r);o=d<=e/2;break;case"C":var g=b["b"].pointDistance(f[0],f[1],h[1],h[2],h[3],h[4],h[5],h[6],n,r,i);o=g<=e/2;break;case"A":var y=l.arcParams,v=y.cx,m=y.cy,O=y.rx,w=y.ry,j=y.startAngle,C=y.endAngle,S=y.xRotation,k=[n,r,1],M=O>w?O:w,_=O>w?1:O/w,A=O>w?w/O:1,T=B(null,[["t",-v,-m],["r",-S],["s",1/_,1/A]]);F["transformMat3"](k,k,T),o=D(0,0,M,j,C,e,k[0],k[1]);break;default:break}if(o)break}}return o}function Y(t){for(var e=t.length,n=[],r=[],i=[],o=0;o<e;o++){var a=t[o],s=a[0];"M"===s?(i.length&&(r.push(i),i=[]),i.push([a[1],a[2]])):"Z"===s?i.length&&(n.push(i),i=[]):i.push([a[1],a[2]])}return i.length>0&&r.push(i),{polygons:n,polylines:r}}var z=Object(i["a"])({hasArc:R,extractPolygons:Y,isPointInStroke:N},o["PathUtil"]);function G(t,e,n){for(var r=!1,i=0;i<t.length;i++){var o=t[i];if(r=L(o,e,n),r)break}return r}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),{startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this._setPathArr(t.path),this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"path"===e&&this._setPathArr(n),this.setArrow()},e.prototype._setPathArr=function(t){this.attrs.path=Object(S["path2Absolute"])(t);var e=z.hasArc(t);this.set("hasArc",e),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},e.prototype.getSegments=function(){var t=this.get("segements");return t||(t=Object(S["path2Segments"])(this.attr("path")),this.set("segments",t)),t},e.prototype.setArrow=function(){var t=this.attr(),e=t.startArrow,n=t.endArrow;if(e){var r=this.getStartTangent();O["b"](this,t,r[0][0],r[0][1],r[1][0],r[1][1])}if(n){r=this.getEndTangent();O["a"](this,t,r[0][0],r[0][1],r[1][0],r[1][1])}},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.getSegments(),a=this.get("hasArc"),s=!1;if(n){var c=this.getTotalLength();s=z.isPointInStroke(o,i,t,e,c)}if(!s&&r)if(a)s=A(this,t,e);else{var l=this.attr("path"),u=z.extractPolygons(l);s=G(u.polygons,t,e)||G(u.polylines,t,e)}return s},e.prototype.createPath=function(t){var e=this.attr(),n=this.get("paramsCache");Object(s["e"])(this,t,e,n)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.get("totalLength");return Object(C["isNil"])(t)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):t},e.prototype.getPoint=function(t){var e,n,r=this.get("tCache");r||(this._calculateCurve(),this._setTcache(),r=this.get("tCache"));var i=this.get("curve");if(!r||0===r.length)return i?{x:i[0][1],y:i[0][2]}:null;Object(C["each"])(r,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var o=i[n];if(Object(C["isNil"])(o)||Object(C["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",z.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(Object(C["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(C["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),X=V;function W(t,e,n,r,i){var o=t.length;if(o<2)return!1;for(var a=0;a<o-1;a++){var s=t[a][0],c=t[a][1],l=t[a+1][0],u=t[a+1][1];if(x(s,c,l,u,e,n,r))return!0}if(i){var h=t[0],f=t[o-1];if(x(h[0],h[1],f[0],f[1],e,n,r))return!0}return!1}var H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr().points,a=!1;return n&&(a=W(o,i,t,e,!0)),!a&&r&&(a=L(o,t,e)),a},e.prototype.createPath=function(t){var e=this.attr(),n=e.points;if(!(n.length<2)){t.beginPath();for(var r=0;r<n.length;r++){var i=n[r];0===r?t.moveTo(i[0],i[1]):t.lineTo(i[0],i[1])}t.closePath()}},e}(u),U=H,q=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),{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(),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.setArrow=function(){var t=this.attr(),e=this.attrs,n=e.points,r=e.startArrow,i=e.endArrow,o=n.length,a=n[0][0],s=n[0][1],c=n[o-1][0],l=n[o-1][1];r&&O["b"](this,t,n[1][0],n[1][1],a,s),i&&O["a"](this,t,n[o-2][0],n[o-2][1],c,l)},e.prototype.isFill=function(){return!1},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr().points;return W(o,i,t,e,!1)},e.prototype.isStroke=function(){return!0},e.prototype.createPath=function(t){var e=this.attr(),n=e.points,r=e.startArrow,i=e.endArrow,o=n.length;if(!(n.length<2)){var a=n[0][0],s=n[0][1],c=n[o-1][0],l=n[o-1][1];if(r&&r.d){var u=O["c"](a,s,n[1][0],n[1][1],r.d);a+=u.dx,s+=u.dy}if(i&&i.d){u=O["c"](n[o-2][0],n[o-2][1],c,l,i.d);c-=u.dx,l-=u.dy}t.beginPath(),t.moveTo(a,s);for(var h=0;h<o-1;h++){var f=n[h];t.lineTo(f[0],f[1])}t.lineTo(c,l)}},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().points,e=this.get("totalLength");return Object(C["isNil"])(e)?(this.set("totalLength",b["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(C["each"])(i,function(r,i){t>=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(C["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=A(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 j}),n.d(e,"Marker",function(){return _}),n.d(e,"Path",function(){return X}),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";c<u&&!t.isEmpty(c);c++)if(!(t.sCount[c]-t.blkIndent>3)&&!(t.sCount[c]<0)){for(r=!1,i=0,o=l.length;i<o;i++)if(l[i](t,c,u,!0)){r=!0;break}if(r)break}return n=t.getLines(e,c,t.blkIndent,!1).trim(),t.line=c,a=t.push("paragraph_open","p",1),a.map=[e,t.line],a=t.push("inline","",0),a.content=n,a.map=[e,t.line],a.children=[],a=t.push("paragraph_close","p",-1),t.parentType=s,!0}},SINd:function(t,e,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},r.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(t){e.indexOf(t)<0&&e.push(t)})}),t.__cache__={},e.forEach(function(e){t.__cache__[e]=[],t.__rules__.forEach(function(n){n.enabled&&(e&&n.alt.indexOf(e)<0||t.__cache__[e].push(n.fn))})})},r.prototype.at=function(t,e,n){var r=this.__find__(t),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(t,e,n,r){var i=this.__find__(t),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+t);this.__rules__.splice(i,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(t,e,n,r){var i=this.__find__(t),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+t);this.__rules__.splice(i+1,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(t){var r=this.__find__(t);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[r].enabled=!0,n.push(t)},this),this.__cache__=null,n},r.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(t,e)},r.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(t){var r=this.__find__(t);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[r].enabled=!1,n.push(t)},this),this.__cache__=null,n},r.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},t.exports=r},SZbK:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=["#FAAD14","#E8EDF3"]},SfRM:function(t,e,n){var r=n("YESw");function i(){this.__data__=r?r(null):{},this.size=0}t.exports=i},SpRm:function(t,e,n){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,c=t.pos,l=t.src.charCodeAt(c);if(96!==l)return!1;n=c,c++,r=t.posMax;while(c<r&&96===t.src.charCodeAt(c))c++;i=t.src.slice(n,c),o=a=c;while(-1!==(o=t.src.indexOf("`",a))){a=o+1;while(a<r&&96===t.src.charCodeAt(a))a++;if(a-o===i.length)return e||(s=t.push("code_inline","code",0),s.markup=i,s.content=t.src.slice(c,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=a,!0}return e||(t.pending+=i),t.pos+=i.length,!0}},Sz5L:function(t,e,n){"use strict";var r=n("AGgm").isSpace;function i(t,e){var n,i,o,a;return i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],n=t.src.charCodeAt(i++),42!==n&&45!==n&&43!==n?-1:i<o&&(a=t.src.charCodeAt(i),!r(a))?-1:i}function o(t,e){var n,i=t.bMarks[e]+t.tShift[e],o=i,a=t.eMarks[e];if(o+1>=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<a&&(n=t.src.charCodeAt(o),!r(n))?-1:o}function a(t,e){var n,r,i=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===i&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}t.exports=function(t,e,n,r){var s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,w,j,C,S,k,M,_,A,T,E,P,L,I,F=!1,D=!0;if(t.sCount[e]-t.blkIndent>=4)return!1;if(t.listIndent>=0&&t.sCount[e]-t.listIndent>=4&&t.sCount[e]<t.blkIndent)return!1;if(r&&"paragraph"===t.parentType&&t.tShift[e]>=t.blkIndent&&(F=!0),(A=o(t,e))>=0){if(p=!0,E=t.bMarks[e]+t.tShift[e],b=Number(t.src.substr(E,A-E-1)),F&&1!==b)return!1}else{if(!((A=i(t,e))>=0))return!1;p=!1}if(F&&t.skipSpaces(A)>=t.eMarks[e])return!1;if(m=t.src.charCodeAt(A-1),r)return!0;v=t.tokens.length,p?(I=t.push("ordered_list_open","ol",1),1!==b&&(I.attrs=[["start",b]])):I=t.push("bullet_list_open","ul",1),I.map=y=[e,0],I.markup=String.fromCharCode(m),O=e,T=!1,L=t.md.block.ruler.getRules("list"),C=t.parentType,t.parentType="list";while(O<n){_=A,x=t.eMarks[O],f=w=t.sCount[O]+A-(t.bMarks[e]+t.tShift[e]);while(_<x){if(s=t.src.charCodeAt(_),9===s)w+=4-(w+t.bsCount[O])%4;else{if(32!==s)break;w++}_++}if(c=_,h=c>=x?1:w-f,h>4&&(h=1),u=f+h,I=t.push("list_item_open","li",1),I.markup=String.fromCharCode(m),I.map=d=[e,0],M=t.tight,k=t.tShift[e],S=t.sCount[e],j=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=u,t.tight=!0,t.tShift[e]=c-t.bMarks[e],t.sCount[e]=w,c>=x&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!T||(D=!1),T=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=j,t.tShift[e]=k,t.sCount[e]=S,t.tight=M,I=t.push("list_item_close","li",-1),I.markup=String.fromCharCode(m),O=e=t.line,d[1]=O,c=t.bMarks[e],O>=n)break;if(t.sCount[O]<t.blkIndent)break;if(t.sCount[e]-t.blkIndent>=4)break;for(P=!1,l=0,g=L.length;l<g;l++)if(L[l](t,O,n,!0)){P=!0;break}if(P)break;if(p){if(A=o(t,O),A<0)break}else if(A=i(t,O),A<0)break;if(m!==t.src.charCodeAt(A-1))break}return I=p?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1),I.markup=String.fromCharCode(m),y[1]=O,t.line=O,t.parentType=C,D&&a(t,v),!0}},T1AV:function(t,e,n){var r=n("t2Dn"),i=n("5Tg0"),o=n("yP5f"),a=n("Q1l4"),s=n("+iFO"),c=n("03A+"),l=n("Z0cm"),u=n("3L66"),h=n("DSRE"),f=n("lSCD"),p=n("GoyQ"),d=n("YO3V"),g=n("c6wG"),y=n("itsj"),v=n("jeLo");function m(t,e,n,m,b,x,O){var w=y(t,n),j=y(e,n),C=O.get(j);if(C)r(t,n,C);else{var S=x?x(w,j,n+"",t,e,O):void 0,k=void 0===S;if(k){var M=l(j),_=!M&&h(j),A=!M&&!_&&g(j);S=j,M||_||A?l(w)?S=w:u(w)?S=a(w):_?(k=!1,S=i(j,!0)):A?(k=!1,S=o(j,!0)):S=[]:d(j)||c(j)?(S=w,c(w)?S=v(w):p(w)&&!f(w)||(S=s(j))):k=!1}k&&(O.set(j,S),b(S,j,m,x,O),O["delete"](j)),r(t,n,S)}}t.exports=m},TCYN:function(t,e,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;t.exports=function(t){var e;e=t.src.replace(r,"\n"),e=e.replace(i,"\ufffd"),t.src=e}},TEat: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,e,n){var r=n.map(function(t){return t[e]}),i=Math.max.apply(Math,r),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"}}});return Object(s["c"])(p),"line"===u&&e.point().position(h+"*"+f).shape("circle"),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;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i}}).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){return Object(o["e"])(l,u,f,h,a["c"],a["a"],a["j"],a["k"],a["d"],Object(a["b"])())(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.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 p}})(i["a"])},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<i.length;t++)this.ruler.push(i[t][0],i[t][1]);for(this.ruler2=new r,t=0;t<o.length;t++)this.ruler2.push(o[t][0],o[t][1])}a.prototype.skipToken=function(t){var e,n,r=t.pos,i=this.ruler.getRules(""),o=i.length,a=t.md.options.maxNesting,s=t.cache;if("undefined"===typeof s[r]){if(t.level<a){for(n=0;n<o;n++)if(t.level++,e=i[n](t,!0),t.level--,e)break}else t.pos=t.posMax;e||t.pos++,s[r]=t.pos}else t.pos=s[r]},a.prototype.tokenize=function(t){var e,n,r=this.ruler.getRules(""),i=r.length,o=t.posMax,a=t.md.options.maxNesting;while(t.pos<o){if(t.level<a)for(n=0;n<i;n++)if(e=r[n](t,!1),e)break;if(e){if(t.pos>=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<a;i++)o[i](s)},a.prototype.State=n("CXva"),t.exports=a},U8jP:function(t,e,n){"use strict";n.r(e),n.d(e,"version",function(){return l});var r=n("R5nb");n.d(e,"Shape",function(){return r});var i=n("aFU3");for(var o in i)["Canvas","Group","Shape","getArcParams","version","default"].indexOf(o)<0&&function(t){n.d(e,t,function(){return i[t]})}(o);var a=n("sYIZ");n.d(e,"Canvas",function(){return a["a"]});var s=n("wq2r");n.d(e,"Group",function(){return s["a"]});var c=n("nCnq");n.d(e,"getArcParams",function(){return c["a"]});var l="0.5.6"},"UNi/":function(t,e){function n(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}t.exports=n},Uf63: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)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("17x9"),o=n("q1tI"),a=n("N5VM"),s=n("ZBwS"),c=function(t){function e(e){var n=t.call(this,e)||this;return n.state={value:n.props.value},n.onChange=n.onChange.bind(n),n.diff=n.diff.bind(n),n}return r(e,t),e.prototype.componentDidUpdate=function(){var t=this.props.value;t!==this.state.value&&this.setState({value:t})},e.prototype.onChange=function(t){this.setState({value:t}),this.props.onChange&&this.props.onChange(t)},e.prototype.diff=function(){var t=new s,e=this.state.value[0],n=this.state.value[1];if(0===e.length&&0===n.length)return[];var r=t.diff_main(e,n);t.diff_cleanupSemantic(r);var i=this.generateDiffedLines(r),o=this.setCodeMarkers(i);return o},e.prototype.generateDiffedLines=function(t){var e={DIFF_EQUAL:0,DIFF_DELETE:-1,DIFF_INSERT:1},n={left:[],right:[]},r={left:1,right:1};return t.forEach(function(t){var i=t[0],o=t[1],a=o.split("\n").length-1;if(0!==o.length){var s=o[0],c=o[o.length-1],l=0;switch(i){case e.DIFF_EQUAL:r.left+=a,r.right+=a;break;case e.DIFF_DELETE:"\n"===s&&(r.left++,a--),l=a,0===l&&n.right.push({startLine:r.right,endLine:r.right}),"\n"===c&&(l-=1),n.left.push({startLine:r.left,endLine:r.left+l}),r.left+=a;break;case e.DIFF_INSERT:"\n"===s&&(r.right++,a--),l=a,0===l&&n.left.push({startLine:r.left,endLine:r.left}),"\n"===c&&(l-=1),n.right.push({startLine:r.right,endLine:r.right+l}),r.right+=a;break;default:throw new Error("Diff type was not defined.")}}}),n},e.prototype.setCodeMarkers=function(t){void 0===t&&(t={left:[],right:[]});for(var e=[],n={left:[],right:[]},r=0;r<t.left.length;r++){var i={startRow:t.left[r].startLine-1,endRow:t.left[r].endLine,type:"text",className:"codeMarker"};n.left.push(i)}for(r=0;r<t.right.length;r++){i={startRow:t.right[r].startLine-1,endRow:t.right[r].endLine,type:"text",className:"codeMarker"};n.right.push(i)}return e[0]=n.left,e[1]=n.right,e},e.prototype.render=function(){var t=this.diff();return o.createElement(a.default,{name:this.props.name,className:this.props.className,focus:this.props.focus,orientation:this.props.orientation,splits:this.props.splits,mode:this.props.mode,theme:this.props.theme,height:this.props.height,width:this.props.width,fontSize:this.props.fontSize,showGutter:this.props.showGutter,onChange:this.onChange,onPaste:this.props.onPaste,onLoad:this.props.onLoad,onScroll:this.props.onScroll,minLines:this.props.minLines,maxLines:this.props.maxLines,readOnly:this.props.readOnly,highlightActiveLine:this.props.highlightActiveLine,showPrintMargin:this.props.showPrintMargin,tabSize:this.props.tabSize,cursorStart:this.props.cursorStart,editorProps:this.props.editorProps,style:this.props.style,scrollMargin:this.props.scrollMargin,setOptions:this.props.setOptions,wrapEnabled:this.props.wrapEnabled,enableBasicAutocompletion:this.props.enableBasicAutocompletion,enableLiveAutocompletion:this.props.enableLiveAutocompletion,value:this.state.value,markers:t})},e.propTypes={cursorStart:i.number,editorProps:i.object,enableBasicAutocompletion:i.bool,enableLiveAutocompletion:i.bool,focus:i.bool,fontSize:i.number,height:i.string,highlightActiveLine:i.bool,maxLines:i.number,minLines:i.number,mode:i.string,name:i.string,className:i.string,onLoad:i.func,onPaste:i.func,onScroll:i.func,onChange:i.func,orientation:i.string,readOnly:i.bool,scrollMargin:i.array,setOptions:i.object,showGutter:i.bool,showPrintMargin:i.bool,splits:i.number,style:i.object,tabSize:i.number,theme:i.string,value:i.array,width:i.string,wrapEnabled:i.bool},e.defaultProps={cursorStart:1,editorProps:{},enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,focus:!1,fontSize:12,height:"500px",highlightActiveLine:!0,maxLines:null,minLines:null,mode:"",name:"ace-editor",onLoad:null,onScroll:null,onPaste:null,onChange:null,orientation:"beside",readOnly:!1,scrollMargin:[0,0,0,0],setOptions:{},showGutter:!0,showPrintMargin:!0,splits:2,style:{},tabSize:4,theme:"github",value:["",""],width:"500px",wrapEnabled:!0},e}(o.Component);e.default=c},Uo7R:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("w02o"),a=n("YuPD"),s=n("tKoa"),c=n("iTfj"),l={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function u(t,e,n){Object(c["forIn"])(t,function(t,r){t.inEdges=e.filter(function(t){return""+n.target(t)===""+r}),t.outEdges=e.filter(function(t){return""+n.source(t)===""+r}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(e){t.value+=n.targetWeight(e)}),t.outEdges.forEach(function(e){t.value+=n.sourceWeight(e)})})}function h(t,e){var n={weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,n){return(""+e.id(t)).localeCompare(""+e.id(n))}},r=n[e.sortBy];!r&&Object(c["isFunction"])(e.sortBy)&&(r=e.sortBy),r&&t.sort(r)}function f(t,e){var n=t.length;if(!n)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.nodePaddingRatio;if(r<0||r>=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 w(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 j(t){var e=t.chart;return e.axis(!1),t}function C(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 k(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 _(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 A(t){return Object(a["e"])(O,k,w,j,C,S,_,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 A}})(i["a"])},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="<[?].*?[?]>",p="<![A-Z]+\\s+[^>]*>",d="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",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<f)if(n=t.src.charCodeAt(h+1),35===n){if(u=t.src.slice(h).match(s),u)return e||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),t.pending+=o(l)?a(l):a(65533)),t.pos+=u[0].length,!0}else if(u=t.src.slice(h).match(c),u&&i(r,u[1]))return e||(t.pending+=r[u[1]]),t.pos+=u[0].length,!0;return e||(t.pending+="&"),t.pos++,!0}},WFqU:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},WOQw:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("iTfj"),o=n("YuPD");function a(t,e){var n=t.xField,o=t.yField,a=t.colorField,s=t.shapeField,c=t.sizeField,l=t.styleField,u=t.rawFields,h=void 0===u?[]:u,f=[];if("color"===e)f=Object(r["d"])([a||n],h);else if("shape"===e)f=Object(r["d"])([s||n],h);else if("size"===e)f=Object(r["d"])([c||n],h);else{f=Object(r["d"])([n,o,a,s,c,l],h);var p=["x","y","color","shape","size","style"].indexOf(e),d=f[p];f.splice(p,1),f.unshift(d)}return Object(i["uniq"])(f.filter(function(t){return!!t}))}function s(t,e){if(e)return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};return t.forEach(function(t,e){i[t]=n[e]}),delete i["undefined"],e(i)}}function c(t){var e=t.chart,n=t.options,c=n.type,l=n.args,u=n.mapping,h=n.xField,f=n.yField,p=n.colorField,d=n.shapeField,g=n.sizeField,y=n.tooltipFields,v=n.label,m=n.state;if(!u)return t;var b=u.color,x=u.shape,O=u.size,w=u.style,j=u.tooltip,C=e[c](l).position(h+"*"+f);if(Object(i["isString"])(b))p?C.color(p,b):C.color(b);else if(Object(i["isFunction"])(b)){var S=a(n,"color");C.color(S.join("*"),s(S,b))}else p&&C.color(p,b);if(Object(i["isString"])(x))d?C.shape(d,[x]):C.shape(x);else if(Object(i["isFunction"])(x)){S=a(n,"shape");C.shape(S.join("*"),s(S,x))}else d&&C.shape(d,x);if(Object(i["isNumber"])(O))g?C.size(g,O):C.size(O);else if(Object(i["isFunction"])(O)){S=a(n,"size");C.size(S.join("*"),s(S,O))}else g&&C.size(g,O);if(Object(i["isFunction"])(w)){S=a(n,"style");C.style(S.join("*"),s(S,w))}else Object(i["isObject"])(w)&&C.style(w);if(!1===y?C.tooltip(!1):Object(i["isEmpty"])(y)||C.tooltip(y.join("*"),s(y,j)),!1===v)C.label(!1);else if(v){var k=v.callback,M=v.fields,_=Object(r["c"])(v,["callback","fields"]);C.label({fields:M||[f],callback:k,cfg:Object(o["o"])(_)})}return m&&C.state(m),[h,f].filter(function(t){return t!==p}).forEach(function(t){e.legend(t,!1)}),Object(r["a"])(Object(r["a"])({},t),{ext:{geometry:C}})}},WXeg:function(t,e){},WbAE:function(t,e){},X71X:function(t,e,n){"use strict";var r=n("4fNk"),i=n("Vwaf").HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","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;i<o.length;i++)if(o[i][0].test(c))break;if(i===o.length)return!1;if(r)return o[i][2];if(a=e+1,!o[i][1].test(c))for(;a<n;a++){if(t.sCount[a]<t.blkIndent)break;if(l=t.bMarks[a]+t.tShift[a],u=t.eMarks[a],c=t.src.slice(l,u),o[i][1].test(c)){0!==c.length&&a++;break}}return t.line=a,s=t.push("html_block","",0),s.map=[e,a],s.content=t.getLines(e,a,t.blkIndent,!0),!0}},Xi7e:function(t,e,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function c(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype["delete"]=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},XiRp:function(t,e){},XloR:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("hJqF"),s=n("kXyF"),c=n("iTfj"),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,r=t.geometries.filter(function(t){return"point"===t.type});Object(c["each"])(r,function(t){Object(c["each"])(t.elements,function(t){var e=-1!==Object(c["findIndex"])(n,function(e){return e.data===t.data});t.setState("active",e)})})}},e.prototype.getView=function(){return this.context.view},e}(s["b"]);Object(s["e"])("marker-active",l),Object(s["g"])("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}]}),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="line",e}return Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1})},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["a"])},XpFM:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("w02o"),s=n("n/J0"),c=n("YuPD"),l=n("5kt6");function u(t){return t.map(function(e,n){var r;return r={},r[l["d"]]=e-(t[n-1]||0),r[l["c"]]=""+n,r}).filter(function(t){return!!t[l["d"]]})}function h(t){var e,n=t.chart,r=t.options,i=r.percent,a=r.range,h=r.radius,f=r.innerRadius,p=r.startAngle,d=r.endAngle,g=r.axis,y=r.indicator,v=a.ticks,m=a.color,b=Object(o["size"])(v)?v:[0,Object(o["clamp"])(i,0,1),1];if(y){var x=[(e={},e[l["b"]]=Object(o["clamp"])(i,0,1),e)],O=n.createView();O.data(x),O.point().position(l["b"]+"*1").shape("gauge-indicator").customInfo({defaultColor:n.getTheme().defaultColor,indicator:y}),O.coordinate("polar",{startAngle:p,endAngle:d,radius:f*h}),O.axis(l["b"],g),O.scale(l["b"],Object(c["k"])(g,s["a"]))}var w=u(b),j=n.createView();j.data(w);var C=Object(o["isString"])(m)?[m,l["a"]]:m;return j.interval().position("1*"+l["d"]).color(l["c"],C).adjust("stack"),j.coordinate("polar",{innerRadius:f,radius:h,startAngle:p,endAngle:d}).transpose(),t}function f(t){var e;return Object(c["e"])(Object(a["f"])((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[l["b"]]={},e)))(t)}function p(t){var e=t.chart,n=t.options,i=n.statistic,o=n.percent;if(i){var a=i.content,s=void 0;a&&(s=Object(c["b"])({},{formatter:function(t){var e=t.percent;return(100*e).toFixed(2)+"%"},style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},a)),Object(c["l"])(e,{statistic:Object(r["a"])(Object(r["a"])({},i),{content:s})},{percent:o})}return t}function d(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}function g(t){return Object(c["e"])(a["a"],h,f,p,a["c"],a["j"],d)(t)}var y=n("kXyF");Object(y["h"])("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,o=n.defaultColor,a=i,s=a.pointer,c=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return s&&l.addShape("line",{name:"pointer",attrs:Object(r["a"])({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:o},s.style)}),c&&l.addShape("circle",{name:"pin",attrs:Object(r["a"])({x:u.x,y:u.y,stroke:o},c.style)}),l}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="gauge",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){var t;return{percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(t={},t[l["d"]]={sync:"v"},t[l["b"]]={sync:"v",tickCount:5,tickInterval:.2},t),animation:!1}},e.prototype.changeData=function(t){this.update({percent:t})},e.prototype.getSchemaAdaptor=function(){return g}})(i["a"])},"Y+LX":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("DMQx");function s(t){var e=t.chart,n=t.options,i=n.xField,o=n.yField,s=n.xAxis,c=n.yAxis,l=n.barStyle,u=n.barWidthRatio,h=n.label,f=n.data,p=n.seriesField,d=n.isStack;h&&!h.position&&(h.position="left",h.layout||(h.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var g=n.legend;p?!1!==g&&(g=Object(r["a"])({position:d?"top-left":"right-top",reversed:!d},g||{})):g=!1,t.options.legend=g;var y=n.tooltip;return p&&!1!==y&&(y=Object(r["a"])({reversed:!d},y||{})),t.options.tooltip=y,e.coordinate().transpose(),Object(a["a"])({chart:e,options:Object(r["a"])(Object(r["a"])({},n),{label:h,xField:o,yField:i,xAxis:c,yAxis:s,columnStyle:l,columnWidthRatio:u,data:f?f.slice().reverse():f})},!0)}n.d(e,"a",function(){return c});var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return s},e}(i["a"])},YESw:function(t,e,n){var r=n("Cwc5"),i=r(Object,"create");t.exports=i},YO3V:function(t,e,n){var r=n("NykK"),i=n("LcsW"),o=n("ExA7"),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},YP77:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("YuPD"),s=n("w02o"),c=n("u9/z"),l=n("5kt6");function u(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function h(t){var e=t.chart,n=t.options,i=n.innerRadius,s=n.statistic,c=n.percent,u=n.meta;if(i&&s){var h=s.content;h&&!h.formatter&&(h.formatter=function(t){var e=t.percent,n=Object(o["get"])(u,[l["b"],"formatter"]);return n?n(e):e}),Object(a["m"])(e,{statistic:Object(r["a"])(Object(r["a"])({},s),{content:h}),plotType:"ring-progress"},{percent:c})}return t}function f(t){return Object(a["e"])(c["b"],Object(s["f"])({}),u,h,s["a"],s["j"],Object(s["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"},formatter:function(t){var e=t.percent;return(100*e).toFixed(2)+"%"}}}}},e.prototype.changeData=function(t){this.update({percent:t})},e.prototype.getSchemaAdaptor=function(){return f}})(i["a"])},YuPD:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce(function(t,e){return e(t)},e)}}function i(t,e){var n={};return null!==t&&"object"===typeof t&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n}var o=n("iTfj");function a(t,e){return Object(o["reduce"])(e,function(t,e,n){return t.replace(new RegExp("{\\s*"+n+"\\s*}","g"),e)},t)}var s,c=n("mrSG");(function(t){t["ERROR"]="error",t["WARN"]="warn",t["INFO"]="log"})(s||(s={}));var l="AntV/G2Plot";function u(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=0;return l+": "+t.replace(/%s/g,function(){return""+e[r++]})}function h(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];e||console[t](u.apply(void 0,Object(c["d"])([n],r)))}function f(t){if(!t)return{width:0,height:0};var e=getComputedStyle(t);return{width:(t.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(t.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function p(t,e){return t.geometries.find(function(t){return t.type===e})}function d(t){return Object(o["reduce"])(t.geometries,function(t,e){return t.concat(e.elements)},[])}var g=n("4Olw");function y(t){if(!Object(o["isType"])(t,"Object"))return t;var e=Object(c["a"])({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}var v=n("6JdA");function m(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}var b=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<h;u++){var f=t[u];a=v["vec2"].min([0,0],a,f),s=v["vec2"].max([0,0],s,f)}a=v["vec2"].min([0,0],a,r[0]),s=v["vec2"].max([0,0],s,r[1])}u=0;for(var p=t.length;u<p;u++){f=t[u];if(n)i=t[u?u-1:p-1],o=t[(u+1)%p];else{if(0===u||u===p-1){c.push(f);continue}i=t[u-1],o=t[u+1]}var d=[0,0];d=v["vec2"].sub(d,o,i),d=v["vec2"].scale(d,d,e);var g=v["vec2"].distance(f,i),y=v["vec2"].distance(f,o),m=g+y;0!==m&&(g/=m,y/=m);var b=v["vec2"].scale([0,0],d,-g),x=v["vec2"].scale([0,0],d,y),O=v["vec2"].add([0,0],f,b),w=v["vec2"].add([0,0],f,x);l&&(O=v["vec2"].max([0,0],O,a),O=v["vec2"].min([0,0],O,s),w=v["vec2"].max([0,0],w,a),w=v["vec2"].min([0,0],w,s)),c.push(O),c.push(w)}return n&&c.push(c.shift()),c};function x(t,e,n){for(var r=!!e,i=[],o=0,a=t.length;o<a;o+=2)i.push([t[o],t[o+1]]);var s,c,l,u=b(i,.4,r,n),h=i.length,f=[];for(o=0;o<h-1;o++)s=u[2*o],c=u[2*o+1],l=i[o+1],f.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]]);return r&&(s=u[h],c=u[h+1],l=i[0],f.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]])),f}function O(t,e,n){var r=[],i=t[0],o=null;if(t.length<=2)return m(t,e);for(var a=0,s=t.length;a<s;a++){var c=t[a];o&&o.x===c.x&&o.y===c.y||(r.push(c.x),r.push(c.y),o=c)}var l=n||[[0,0],[1,1]],u=x(r,e,l);return u.unshift(["M",i.x,i.y]),u}var w=5,j={}.toString,C=function(t,e){return j.call(t)==="[object "+e+"]"},S=function(t){return C(t,"Array")},k=function(t){return"object"===typeof t&&null!==t},M=function(t){if(!k(t)||!C(t,"Object"))return!1;var e=t;while(null!==Object.getPrototypeOf(e))e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},_=function(t,e,n,r){for(var i in n=n||0,r=r||w,e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];o?M(o)?(M(t[i])||(t[i]={}),n<r?_(t[i],o,n+1,r):t[i]=e[i]):S(o)?(t[i]=[],t[i]=t[i].concat(o)):t[i]=o:t[i]=o}},A=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)_(t,e[r]);return t};function T(t){if(!t)return t;var e=t.match(/(([A-Z]{0,1}[a-z]*[^A-Z])|([A-Z]{1}))/g);return e.map(function(t){return t.toLowerCase()}).join("-")}var E,P=n("mj6g");function L(){return E||(E=document.createElement("canvas").getContext("2d")),E}Object(o["memoize"])(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=void 0===r?"sans-serif":r,a=e.fontWeight,s=e.fontStyle,c=e.fontVariant,l=L();l.font=[s,a,c,n+"px",i].join(" ");var u=l.measureText(Object(o["isString"])(t)?t:"");return u.width},function(t,e){return void 0===e&&(e={}),Object(c["d"])([t],Object(o["values"])(e)).join("")});n.d(e,"e",function(){return r}),n.d(e,"k",function(){return i}),n.d(e,"n",function(){return a}),n.d(e,"j",function(){return h}),n.d(e,"a",function(){return s}),n.d(e,"g",function(){return f}),n.d(e,"c",function(){return p}),n.d(e,"f",function(){return d}),n.d(e,"d",function(){return g["a"]}),n.d(e,"o",function(){return y}),n.d(e,"h",function(){return O}),n.d(e,"b",function(){return A}),n.d(e,"i",function(){return T}),n.d(e,"m",function(){return P["c"]}),n.d(e,"l",function(){return P["b"]})},Z0cm:function(t,e){var n=Array.isArray;t.exports=n},Z8oC:function(t,e,n){var r=n("y1pI");function i(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}t.exports=i},ZWtO:function(t,e,n){var r=n("4uTw"),i=n("9Nap");function o(t,e){e=r(e,t);var n=0,o=e.length;while(null!=t&&n<o)t=t[i(e[n++])];return n&&n==o?t:void 0}t.exports=o},ZeSx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("iTfj"),i=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){r.assign(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}();e.default=i},aFU3:function(t,e,n){"use strict";n.r(e),n.d(e,"version",function(){return v});var r=n("tvuL");n.d(e,"PathUtil",function(){return r});var i=n("4cbP");for(var o in i)["Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","version","default"].indexOf(o)<0&&function(t){n.d(e,t,function(){return i[t]})}(o);var a=n("tdXX");for(var o in a)["Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","version","default"].indexOf(o)<0&&function(t){n.d(e,t,function(){return a[t]})}(o);var s=n("5eLp");n.d(e,"Event",function(){return s["a"]});var c=n("LmB6");n.d(e,"Base",function(){return c["a"]});var l=n("EkMX");n.d(e,"AbstractCanvas",function(){return l["a"]});var u=n("+DwW");n.d(e,"AbstractGroup",function(){return u["a"]});var h=n("MaEA");n.d(e,"AbstractShape",function(){return h["a"]});var f=n("1MZV");n.d(e,"getBBoxMethod",function(){return f["a"]});var p=n("vIgC");n.d(e,"getTextHeight",function(){return p["b"]}),n.d(e,"assembleFont",function(){return p["a"]});var d=n("sstZ");n.d(e,"isAllowCapture",function(){return d["b"]});var g=n("aSjE");n.d(e,"multiplyVec2",function(){return g["c"]}),n.d(e,"invert",function(){return g["a"]});var y=n("lt7v");n.d(e,"getOffScreenContext",function(){return y["a"]});var v="0.5.4"},aLzy:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("w02o"),a=n("YuPD"),s=n("iTfj"),c=n("5HRO"),l=n("WOQw"),u="$$percentage$$",h="$$mappingValue$$",f="$$conversion$$",p="$$totalPercentage$$",d="$$x$$",g="$$y$$";function y(t,e,n){var r=[],i=n.yField,o=n.maxSize,a=n.minSize,c=Object(s["maxBy"])(e,i)[i],l=Object(s["isNumber"])(o)?o:1,p=Object(s["isNumber"])(a)?a:0;return r=Object(s["map"])(t,function(e,n){if(void 0!==e[i]){var r=e[i]/c;e[u]=r,e[h]=(l-p)*r+p,e[f]=0===n?1:e[i]/t[n-1][i]}return e}),r}function v(t){return function(e){var n=e.chart,i=e.options,o=i.conversionTag,a=n.getOptions().data;if(o){var c=o.formatter;a.forEach(function(e,i){if(!(i<=0)){var l=t(e,i,a,{top:!0,text:{content:Object(s["isFunction"])(c)?c(e,a):c,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:Object(r["a"])({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(l)}})}return e}}function m(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,o=n.yField,a=n.maxSize,s=n.minSize,c=y(i,i,{yField:o,maxSize:a,minSize:s});return e.data(c),t}function b(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.color,p=n.tooltip,d=n.label,g=Object(c["a"])(p,[r,i]),y=g.fields,v=g.formatter;Object(l["a"])({chart:e,options:{type:"interval",xField:r,yField:h,colorField:r,tooltipFields:Object(s["isArray"])(y)&&y.concat([u,f]),mapping:{shape:"funnel",tooltip:v,color:o},label:d}});var m=Object(a["c"])(t.chart,"interval");return m.adjust("symmetric"),t}function x(t){var e=t.chart,n=t.options,r=n.isTransposed;return e.coordinate({type:"rect",actions:r?[]:[["transpose"],["scale",1,-1]]}),t}function O(t){var e=t.options,n=e.maxSize,i=function(t,e,i,o){var a=n-(n-t[h])/2;return Object(r["a"])(Object(r["a"])({},o),{start:[e-.5,a],end:[e-.5,a+.05]})};return v(i)(t),t}function w(t){return Object(a["e"])(m,b,x,O)(t)}function j(t){var e,n=t.chart,r=t.options,i=r.data,o=void 0===i?[]:i,a=r.yField;return n.data(o),n.scale((e={},e[a]={sync:!0},e)),t}function C(t){var e=t.chart,n=t.options,r=n.data,i=n.xField,o=n.yField,p=n.color,d=n.compareField,g=n.isTransposed,v=n.tooltip,m=n.maxSize,b=n.minSize,x=n.label;return e.facet("mirror",{fields:[d],transpose:!g,padding:g?0:[32,0,0,0],eachView:function(t,e){var n=g?e.rowIndex:e.columnIndex;g||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var O=y(e.data,r,{yField:o,maxSize:m,minSize:b});t.data(O);var w=Object(c["a"])(v,[i,o,d]),j=w.fields,C=w.formatter,S=g?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}};Object(l["a"])({chart:t,options:{type:"interval",xField:i,yField:h,colorField:i,tooltipFields:Object(s["isArray"])(j)&&j.concat([u,f]),mapping:{shape:"funnel",tooltip:C,color:p,style:{lineWidth:1,stroke:"#fff"}},label:!1!==x&&Object(a["b"])({},S,x)}})}}),t}function S(t){var e=t.chart,n=t.options,r=n.conversionTag,i=n.isTransposed;return e.once("beforepaint",function(){e.views.forEach(function(t,e){var o=function(t,n,o,s){var c=0===e?-1:1;return Object(a["b"])({},s,{start:[n-.5,t[h]],end:[n-.5,t[h]+.05],text:i?{style:{textAlign:"start"}}:{offsetX:!1!==r?c*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})};v(o)(Object(a["b"])({},{chart:t,options:n}))})}),t}function k(t){return Object(a["e"])(j,C,S)(t)}function M(t){var e,n=t.chart,r=t.options,i=r.data,o=void 0===i?[]:i,a=r.yField;return n.data(o),n.scale((e={},e[a]={sync:!0},e)),t}function _(t){var e=t.chart,n=t.options,r=n.seriesField,i=n.isTransposed;return e.facet("rect",{fields:[r],padding:[i?0:32,10,0,10],eachView:function(e,n){w(Object(a["b"])({},t,{chart:e,options:{data:n.data}}))}}),t}function A(t){return Object(a["e"])(M,_)(t)}function T(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,o=n.yField,a=Object(s["reduce"])(i,function(t,e){return t+e[o]},0),c=Object(s["maxBy"])(i,o)[o],l=Object(s["map"])(i,function(t,e){var n=[],r=[];if(t[p]=t[o]/a,e){var s=i[e-1][d],l=i[e-1][g];n[0]=s[3],r[0]=l[3],n[1]=s[2],r[1]=l[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[p],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[d]=n,t[g]=r,t[u]=t[o]/c,t[f]=0===e?1:t[o]/i[e-1][o],t});return e.data(l),t}function E(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.color,a=n.tooltip,h=n.label,p=Object(c["a"])(a,[r,i]),y=p.fields,v=p.formatter;return Object(l["a"])({chart:e,options:{type:"polygon",xField:d,yField:g,colorField:r,tooltipFields:Object(s["isArray"])(y)&&y.concat([u,f]),label:h,mapping:{tooltip:v,color:o}}}),t}function P(t){var e=t.chart,n=t.options,r=n.isTransposed;return e.coordinate({type:"rect",actions:r?[["transpose"],["reflect","x"]]:[]}),t}function L(t){var e=function(t,e,n,i){return Object(r["a"])(Object(r["a"])({},i),{start:[t[d][1],t[g][1]],end:[t[d][1]+.05,t[g][1]]})};return v(e)(t),t}function I(t){return Object(a["e"])(T,E,P,L)(t)}function F(t){var e,n=t.options,r=n.compareField,i=n.xField,o=n.yField,s={minSize:0,maxSize:1,meta:(e={},e[h]={min:0,max:1,nice:!1},e),label:r?{fields:[i,o,r,u,f],style:{fill:"#fff",fontSize:12},formatter:function(t){return""+t[o]}}:{fields:[i,o,u,f],offset:0,position:"middle",style:{fill:"#fff",fontSize:12},formatter:function(t){return t[i]+" "+t[o]}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1,title:i,formatter:function(t){return{name:t[i],value:t[o]}}},conversionTag:{offsetX:10,offsetY:0,style:{},formatter:function(t){return"\u8f6c\u5316\u7387"+(100*t[f]).toFixed(2)+"%"}}};return Object(a["b"])({options:s},t)}function D(t){var e=t.options,n=e.compareField,r=e.dynamicHeight,i=e.seriesField;return i?A(t):n?k(t):r?I(t):w(t)}function B(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return Object(a["e"])(Object(o["f"])((e={},e[s]=r,e[c]=i,e)))(t)}function R(t){var e=t.chart;return e.axis(!1),t}function N(t){var e=t.chart,n=t.options,r=n.legend;return!1===r?e.legend(!1):e.legend(r),t}function Y(t){return Object(a["e"])(F,D,B,R,o["k"],o["c"],N,o["a"],o["j"],Object(o["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:[0,80]}},e.prototype.getSchemaAdaptor=function(){return Y}})(i["a"])},aN7R:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"Base",function(){return f}),n.d(r,"Circle",function(){return g}),n.d(r,"Dom",function(){return v}),n.d(r,"Ellipse",function(){return b}),n.d(r,"Image",function(){return O}),n.d(r,"Line",function(){return C}),n.d(r,"Marker",function(){return _}),n.d(r,"Path",function(){return T}),n.d(r,"Polygon",function(){return P}),n.d(r,"Polyline",function(){return I}),n.d(r,"Rect",function(){return B}),n.d(r,"Text",function(){return X});var i=n("R2cN"),o=n("aFU3"),a=n("APlK"),s=n("c+wO"),c=n("c0lT"),l=n("IvmH"),u=n("5z4m"),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="svg",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),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},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.draw(r,e)}},e.prototype.getShapeBase=function(){return r},e.prototype.getGroupBase=function(){return u["a"]},e.prototype.onCanvasChange=function(t){Object(c["b"])(this,t)},e.prototype.calculateBBox=function(){var t=this.get("el"),e=null;if(t)e=t.getBBox();else{var n=Object(o["getBBoxMethod"])(this.get("type"));n&&(e=n(this))}if(e){var r=e.x,i=e.y,a=e.width,s=e.height,c=this.getHitLineWidth(),l=c/2,u=r-l,h=i-l,f=r+a+l,p=i+s+l;return{x:u,y:h,minX:u,minY:h,maxX:f,maxY:p,width:a+c,height:s+c}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},e.prototype.isFill=function(){var t=this.attr(),e=t.fill,n=t.fillStyle;return(e||n||this.isClipShape())&&this.canFill},e.prototype.isStroke=function(){var t=this.attr(),e=t.stroke,n=t.strokeStyle;return(e||n)&&this.canStroke},e.prototype.draw=function(t,e){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||Object(s["a"])(this),Object(a["a"])(this,t),this.createPath(t,e),this.shadow(t,e),this.strokeAndFill(t,e),this.transform(e))},e.prototype.createPath=function(t,e){},e.prototype.strokeAndFill=function(t,e){var n=e||this.attr(),r=n.fill,i=n.fillStyle,o=n.stroke,a=n.strokeStyle,s=n.fillOpacity,c=n.strokeOpacity,u=n.lineWidth,h=this.get("el");this.canFill&&(e?"fill"in n?this._setColor(t,"fill",r):"fillStyle"in n&&this._setColor(t,"fill",i):this._setColor(t,"fill",r||i),s&&h.setAttribute(l["b"]["fillOpacity"],s)),this.canStroke&&u>0&&(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,w=n("EYNi"),j=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 w["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 w["c"].pointAt(n,r,i,o,t)},e}(f),C=j,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"]]}},k={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:k.get(o),t?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=k,e}(f),_=M,A=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),T=A,E=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=E,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",w["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)}),w["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=w["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),I=L;function F(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=F(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,Y={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},z={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",z[n]||"alphabetic"):t.setAttribute("alignment-baseline",Y[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+='<tspan x="'+r+'" dy="'+-s+'em">'+t+"</tspan>":"top"===o?c+='<tspan x="'+r+'" dy="0.9em">'+t+"</tspan>":"middle"===o?c+='<tspan x="'+r+'" dy="'+-(s-1)/2+'em">'+t+"</tspan>":"bottom"===o?c+='<tspan x="'+r+'" dy="-'+(s+N)+'em">'+t+"</tspan>":"hanging"===o&&(c+='<tspan x="'+r+'" dy="'+(-(s-1)-N)+'em">'+t+"</tspan>"):c+='<tspan x="'+r+'" dy="1em">'+t+"</tspan>"}),e.innerHTML=c}else e.innerHTML=t;else e.innerHTML=""},e}(f),X=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 C}),n.d(e,"Marker",function(){return _}),n.d(e,"Path",function(){return T}),n.d(e,"Polygon",function(){return P}),n.d(e,"Polyline",function(){return I}),n.d(e,"Rect",function(){return B}),n.d(e,"Text",function(){return X})},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++,o<a){if(n=t.src.charCodeAt(o),n<256&&0!==i[n])return e||(t.pending+=t.src[o]),t.pos+=2,!0;if(10===n){e||t.push("hardbreak","br",0),o++;while(o<a){if(n=t.src.charCodeAt(o),!r(n))break;o++}return t.pos=o,!0}}return e||(t.pending+="\\"),t.pos++,!0}},"c+wO":function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"c",function(){return c});var r=n("iTfj"),i=n("IvmH");function o(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function a(t){var e=i["a"][t.type],n=t.getParent();if(!e)throw new Error("the type "+t.type+" is not supported by svg");var r=o(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var a=n.get("el");a?a.appendChild(r):(a=n.createDom(),n.set("el",a),a.appendChild(r))}return r}function s(t,e){var n=t.get("el"),i=Object(r["toArray"])(n.children).sort(e),o=document.createDocumentFragment();i.forEach(function(t){o.appendChild(t)}),n.appendChild(o)}function c(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],o=r.indexOf(t);if(i){if(o>e)n.insertBefore(t,i);else if(o<e){var a=r[e+1];a?n.insertBefore(t,a):n.appendChild(t)}}else n.appendChild(t)}},c0lT:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var r=n("APlK"),i=n("c+wO");function o(t,e){e.forEach(function(e){e.draw(t)})}function a(t,e){var n=t.get("canvas");if(n&&n.get("autoDraw")){var o=n.get("context"),a=t.getParent(),s=a?a.getChildren():[n],c=t.get("el");if("remove"===e){var l=t.get("isClipShape");if(l){var u=c&&c.parentNode,h=u&&u.parentNode;u&&h&&h.removeChild(u)}else c&&c.parentNode&&c.parentNode.removeChild(c)}else if("show"===e)c.setAttribute("visibility","visible");else if("hide"===e)c.setAttribute("visibility","hidden");else if("zIndex"===e)Object(i["c"])(c,s.indexOf(t));else if("sort"===e){var f=t.get("children");f&&f.length&&Object(i["d"])(t,function(t,e){return f.indexOf(t)-f.indexOf(e)?1:0})}else"clear"===e?c&&(c.innerHTML=""):"matrix"===e?Object(r["c"])(t):"clip"===e?Object(r["a"])(t,o):"attr"===e||"add"===e&&t.draw(o)}}},c6wG:function(t,e,n){var r=n("dD9F"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},cBFB:function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("zJSt"),a=n("tKoa"),s=n("w02o"),c=n("+Nd1"),l=n("a8tM"),u=n("iTfj"),h="Invalid field: it must be a string!";function f(t,e){var n=t.field,r=t.fields;if(Object(u["isString"])(n))return n;if(Object(u["isArray"])(n))return console.warn(h),n[0];if(console.warn(h+" will try to get fields instead."),Object(u["isString"])(r))return r;if(Object(u["isArray"])(r)&&r.length)return r[0];if(e)return e;throw new TypeError(h)}function p(t){var e=[];return t&&t.each?t.each(function(t){e.push(t)}):t&&t.eachNode&&t.eachNode(function(t){e.push(t)}),e}var d={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function g(t,e){e=Object(u["assign"])({},d,e);var n,r=e.as;if(!Object(u["isArray"])(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=f(e)}catch(t){console.warn(t)}var i=function(t){return c["a"]().size(e.size).round(e.round).padding(e.padding)(l["c"](t).sum(function(t){return t[n]}))},o=i(t),a=r[0],s=r[1];return o.each(function(t){t[a]=[t.x0,t.x1,t.x1,t.x0],t[s]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),p(o)}var y=n("tvR+"),v=n("yUfG"),m={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};function b(t,e){e=Object(u["assign"])({},m,e);var n,r=e.as;if(!Object(u["isArray"])(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=f(e)}catch(t){console.warn(t)}var i=function(t){return y["a"]().tile(v[e.tile]).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(l["c"](t).sum(function(t){return t[n]}))},o=i(t),a=r[0],s=r[1];return o.each(function(t){t[a]=[t.x0,t.x1,t.x1,t.x0],t[s]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),p(o)}function x(t){var e=t.data,n=t.type,i=t.seriesField,o=t.colorField,a=t.hierarchyConfig,s={partition:g,treemap:b},c=s[n](e,Object(r["a"])(Object(r["a"])({},a),{type:"hierarchy."+n,field:i,as:["x","y"]})),l=[];return c.forEach(function(t){var e,n,s,c,u;if(0===t.depth)return null;var h=Object(r["a"])((e={},e[i]=t.data[i]||(null===(s=null===(n=t.parent)||void 0===n?void 0:n.data)||void 0===s?void 0:s[i]),e[o]=t.data[o]||(null===(u=null===(c=t.parent)||void 0===c?void 0:c.data)||void 0===u?void 0:u[o]),e),t);h.ext=a,l.push(h)}),l}function O(t){var e=t.items,n=t.formatter,i=t.fields,o=e[0]||{},a=o.color,s=o.mappingData,c=o.data,l=document.createElement("ul");l.className="g2-tooltip";var u="",h=function(t,e){var i;return n?n(Object(r["a"])(Object(r["a"])({},t),{field:e})):{name:e,value:(null===t||void 0===t?void 0:t[e])||(null===(i=null===t||void 0===t?void 0:t.data)||void 0===i?void 0:i[e])}};return i.forEach(function(t){var e=h(c,t),n=e.name,r=e.value;u+='<li class="g2-tooltip-list-item" data-index={index} style="margin-bottom:4px;display:flex;align-items: center;">\n <span style="background-color:'+((null===s||void 0===s?void 0:s.color)||a)+';" class="g2-tooltip-marker"></span>\n <span style="display:inline-flex;flex:1;justify-content:space-between">\n <span style="margin-right: 16px;">'+n+':</span>\n <span class="g2-tooltip-list-item-value">'+r+"</span>\n </span>\n </li>"}),l.innerHTML=u,l}function w(t){var e=t.chart,n=t.options,r=n.color,o=n.colorField,s=n.sunburstStyle,c=x(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 j(t){var e=t.chart;return e.axis(!1),t}function C(t){var e=t.chart;return e.legend(!1),t}function S(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["o"])(l)})}else s.label(!1);return t}function k(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 M(t){var e=t.chart,n=t.options,r=n.meta;return r&&e.scale(r),t}function _(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 O({value:t,items:e,formatter:i&&(null===i||void 0===i?void 0:i.formatter),fields:i&&i.fields||[o,a]})}})),t}function A(t){return Object(i["e"])(w,s["j"],j,M,C,k,_,S,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 A}})(o["a"])},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.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function c(t,e){return t&&e?{minX:Math.min(t.minX,e.minX),minY:Math.min(t.minY,e.minY),maxX:Math.max(t.maxX,e.maxX),maxY:Math.max(t.maxY,e.maxY)}:t||e}function l(t,e){return t[0]===e[0]&&t[1]===e[1]}n.d(e,"i",function(){return r["isNil"]}),n.d(e,"k",function(){return r["isString"]}),n.d(e,"h",function(){return r["isFunction"]}),n.d(e,"g",function(){return r["isArray"]}),n.d(e,"c",function(){return r["each"]}),n.d(e,"o",function(){return r["toRadian"]}),n.d(e,"m",function(){return r["mod"]}),n.d(e,"n",function(){return r["requestAnimationFrame"]}),n.d(e,"a",function(){return r["clearAnimationFrame"]})},dD9F:function(t,e,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a="[object Arguments]",s="[object Array]",c="[object Boolean]",l="[object Date]",u="[object Error]",h="[object Function]",f="[object Map]",p="[object Number]",d="[object Object]",g="[object RegExp]",y="[object Set]",v="[object String]",m="[object WeakMap]",b="[object ArrayBuffer]",x="[object DataView]",O="[object Float32Array]",w="[object Float64Array]",j="[object Int8Array]",C="[object Int16Array]",S="[object Int32Array]",k="[object Uint8Array]",M="[object Uint8ClampedArray]",_="[object Uint16Array]",A="[object Uint32Array]",T={};function E(t){return o(t)&&i(t.length)&&!!T[r(t)]}T[O]=T[w]=T[j]=T[C]=T[S]=T[k]=T[M]=T[_]=T[A]=!0,T[a]=T[s]=T[b]=T[c]=T[x]=T[l]=T[u]=T[h]=T[f]=T[p]=T[d]=T[g]=T[y]=T[v]=T[m]=!1,t.exports=E},dNCd:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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}();e.default=r},dTAl:function(t,e,n){var r=n("GoyQ"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},dXVd:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toPoints=e.getRegionBBox=e.BBox=void 0;var r=n("iTfj"),i=n("yLks"),o=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=t,this.y=e,this.height=r,this.width=n}return t.fromRange=function(e,n,r,i){return new t(e,n,r-e,i-n)},t.fromObject=function(e){return new t(e.minX,e.minY,e.width,e.height)},Object.defineProperty(t.prototype,"minX",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxX",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minY",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxY",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tl",{get:function(){return{x:this.x,y:this.y}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tr",{get:function(){return{x:this.maxX,y:this.y}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bl",{get:function(){return{x:this.x,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"br",{get:function(){return{x:this.maxX,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return{x:this.x+this.width/2,y:this.minY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return{x:this.maxX,y:this.y+this.height/2}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return{x:this.x+this.width/2,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return{x:this.minX,y:this.y+this.height/2}},enumerable:!1,configurable:!0}),t.prototype.isEqual=function(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height},t.prototype.contains=function(t){return t.minX>=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;e<arguments.length;e++)t[e]=arguments[e];var n=this.clone();return r.each(t,function(t){n.x=Math.min(t.x,n.x),n.y=Math.min(t.y,n.y),n.width=Math.max(t.maxX,n.maxX)-n.x,n.height=Math.max(t.maxY,n.maxY)-n.y}),n},t.prototype.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.clone();return r.each(t,function(t){n.x=Math.max(t.x,n.x),n.y=Math.max(t.y,n.y),n.width=Math.min(t.maxX,n.maxX)-n.x,n.height=Math.min(t.maxY,n.maxY)-n.y}),n},t.prototype.cut=function(e,n){var r=e.width,o=e.height;switch(n){case i.DIRECTION.TOP:case i.DIRECTION.TOP_LEFT:case i.DIRECTION.TOP_RIGHT:return t.fromRange(this.minX,this.minY+o,this.maxX,this.maxY);case i.DIRECTION.RIGHT:case i.DIRECTION.RIGHT_TOP:case i.DIRECTION.RIGHT_BOTTOM:return t.fromRange(this.minX,this.minY,this.maxX-r,this.maxY);case i.DIRECTION.BOTTOM:case i.DIRECTION.BOTTOM_LEFT:case i.DIRECTION.BOTTOM_RIGHT:return t.fromRange(this.minX,this.minY,this.maxX,this.maxY-o);case i.DIRECTION.LEFT:case i.DIRECTION.LEFT_TOP:case i.DIRECTION.LEFT_BOTTOM:return t.fromRange(this.minX+r,this.minY,this.maxX,this.maxY);default:return this}},t.prototype.shrink=function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return new t(this.x+o,this.y+n,this.width-o-r,this.height-n-i)},t.prototype.expand=function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return new t(this.x-o,this.y-n,this.width+o+r,this.height+n+i)},t.prototype.exceed=function(t){return[Math.max(-this.minY+t.minY,0),Math.max(this.maxX-t.maxX,0),Math.max(this.maxY-t.maxY,0),Math.max(-this.minX+t.minX,0)]},t.prototype.collide=function(t){return this.minX<t.maxX&&this.maxX>t.minX&&this.minY<t.maxY&&this.maxY>t.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 a(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}e.BBox=o,e.getRegionBBox=function(t,e){var n=e.start,r=e.end;return new o(t.x+t.width*n.x,t.y+t.height*n.y,t.width*Math.abs(r.x-n.x),t.height*Math.abs(r.y-n.y))},e.toPoints=a},de35:function(t,e,n){"use strict";var r=n("LHnb"),i=n("fIp6"),o=n("iTfj"),a=n("5UbV"),s=n("NmWf"),c=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,containerTpl:"<div></div>",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return 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<i.length;t++)this.ruler.push(i[t][0],i[t][1],{alt:(i[t][2]||[]).slice()})}o.prototype.tokenize=function(t,e,n){var r,i,o=this.ruler.getRules(""),a=o.length,s=e,c=!1,l=t.md.options.maxNesting;while(s<n){if(t.line=s=t.skipEmptyLines(s),s>=n)break;if(t.sCount[s]<t.blkIndent)break;if(t.level>=l){t.line=n;break}for(i=0;i<a;i++)if(r=o[i](t,s,n,!1),r)break;t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),s=t.line,s<n&&t.isEmpty(s)&&(c=!0,s++,t.line=s)}},o.prototype.parse=function(t,e,n,r){var i;t&&(i=new this.State(t,e,n,r),this.tokenize(i,i.line,i.lineMax))},o.prototype.State=n("g0+v"),t.exports=o},dt0z:function(t,e,n){var r=n("zoYe");function i(t){return null==t?"":r(t)}t.exports=i},"e+LU":function(t,e,n){var r=n("ugOi"),i=r.Symbol;t.exports=i},e4Nc:function(t,e,n){var r=n("fGT3"),i=n("k+1r"),o=n("JHgL"),a=n("pSRY"),s=n("H8j4");function c(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype["delete"]=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},e99J:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("ZeSx");Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return r.default}});var i=n("5Wne");Object.defineProperty(e,"createAction",{enumerable:!0,get:function(){return i.createAction}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return i.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return i.getActionClass}})},"eF/C":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;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("17x9"),a=n("q1tI"),s=n("XaGS"),c=n("tGEx"),l=c.getAceInstance(),u=l.require("ace/range").Range,h=function(t){function e(e){var n=t.call(this,e)||this;return c.editorEvents.forEach(function(t){n[t]=n[t].bind(n)}),n.debounce=c.debounce,n}return r(e,t),e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.className,r=e.onBeforeLoad,i=e.onValidate,o=e.mode,a=e.focus,s=e.theme,u=e.fontSize,h=e.value,f=e.defaultValue,p=e.cursorStart,d=e.showGutter,g=e.wrapEnabled,y=e.showPrintMargin,v=e.scrollMargin,m=void 0===v?[0,0,0,0]:v,b=e.keyboardHandler,x=e.onLoad,O=e.commands,w=e.annotations,j=e.markers,C=e.placeholder;this.editor=l.edit(this.refEditor),r&&r(l);for(var S=Object.keys(this.props.editorProps),k=0;k<S.length;k++)this.editor[S[k]]=this.props.editorProps[S[k]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),this.editor.renderer.setScrollMargin(m[0],m[1],m[2],m[3]),this.editor.getSession().setMode("ace/mode/"+o),this.editor.setTheme("ace/theme/"+s),this.editor.setFontSize(u),this.editor.getSession().setValue(f||h,p),this.props.navigateToFileEnd&&this.editor.navigateFileEnd(),this.editor.renderer.setShowGutter(d),this.editor.getSession().setUseWrapMode(g),this.editor.setShowPrintMargin(y),this.editor.on("focus",this.onFocus),this.editor.on("blur",this.onBlur),this.editor.on("copy",this.onCopy),this.editor.on("paste",this.onPaste),this.editor.on("change",this.onChange),this.editor.on("input",this.onInput),C&&this.updatePlaceholder(),this.editor.getSession().selection.on("changeSelection",this.onSelectionChange),this.editor.getSession().selection.on("changeCursor",this.onCursorChange),i&&this.editor.getSession().on("changeAnnotation",function(){var e=t.editor.getSession().getAnnotations();t.props.onValidate(e)}),this.editor.session.on("changeScrollTop",this.onScroll),this.editor.getSession().setAnnotations(w||[]),j&&j.length>0&&this.handleMarkers(j);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<c.editorOptions.length;r++){var i=c.editorOptions[r];n[i]!==e[i]&&this.editor.setOption(i,n[i])}if(n.className!==e.className){var o=this.refEditor.className,a=o.trim().split(" "),l=e.className.trim().split(" ");l.forEach(function(t){var e=a.indexOf(t);a.splice(e,1)}),this.refEditor.className=" "+n.className+" "+a.join(" ")}if(this.editor&&this.editor.getValue()!==n.value){this.silent=!0;var u=this.editor.session.selection.toJSON();this.editor.setValue(n.value,n.cursorStart),this.editor.session.selection.fromJSON(u),this.silent=!1}n.placeholder!==e.placeholder&&this.updatePlaceholder(),n.mode!==e.mode&&this.editor.getSession().setMode("ace/mode/"+n.mode),n.theme!==e.theme&&this.editor.setTheme("ace/theme/"+n.theme),n.keyboardHandler!==e.keyboardHandler&&(n.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+n.keyboardHandler):this.editor.setKeyboardHandler(null)),n.fontSize!==e.fontSize&&this.editor.setFontSize(n.fontSize),n.wrapEnabled!==e.wrapEnabled&&this.editor.getSession().setUseWrapMode(n.wrapEnabled),n.showPrintMargin!==e.showPrintMargin&&this.editor.setShowPrintMargin(n.showPrintMargin),n.showGutter!==e.showGutter&&this.editor.renderer.setShowGutter(n.showGutter),s(n.setOptions,e.setOptions)||this.handleOptions(n),s(n.annotations,e.annotations)||this.editor.getSession().setAnnotations(n.annotations||[]),!s(n.markers,e.markers)&&Array.isArray(n.markers)&&this.handleMarkers(n.markers),s(n.scrollMargin,e.scrollMargin)||this.handleScrollMargins(n.scrollMargin),t.height===this.props.height&&t.width===this.props.width||this.editor.resize(),this.props.focus&&!t.focus&&this.editor.focus()},e.prototype.handleScrollMargins=function(t){void 0===t&&(t=[0,0,0,0]),this.editor.renderer.setScrollMargins(t[0],t[1],t[2],t[3])},e.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},e.prototype.onChange=function(t){if(this.props.onChange&&!this.silent){var e=this.editor.getValue();this.props.onChange(e,t)}},e.prototype.onSelectionChange=function(t){if(this.props.onSelectionChange){var e=this.editor.getSelection();this.props.onSelectionChange(e,t)}},e.prototype.onCursorChange=function(t){if(this.props.onCursorChange){var e=this.editor.getSelection();this.props.onCursorChange(e,t)}},e.prototype.onInput=function(t){this.props.onInput&&this.props.onInput(t),this.props.placeholder&&this.updatePlaceholder()},e.prototype.onFocus=function(t){this.props.onFocus&&this.props.onFocus(t,this.editor)},e.prototype.onBlur=function(t){this.props.onBlur&&this.props.onBlur(t,this.editor)},e.prototype.onCopy=function(t){this.props.onCopy&&this.props.onCopy(t)},e.prototype.onPaste=function(t){this.props.onPaste&&this.props.onPaste(t)},e.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},e.prototype.handleOptions=function(t){for(var e=Object.keys(t.setOptions),n=0;n<e.length;n++)this.editor.setOption(e[n],t.setOptions[e[n]])},e.prototype.handleMarkers=function(t){var e=this,n=this.editor.getSession().getMarkers(!0);for(var r in n)n.hasOwnProperty(r)&&this.editor.getSession().removeMarker(n[r].id);for(var r in n=this.editor.getSession().getMarkers(!1),n)n.hasOwnProperty(r)&&"ace_active-line"!==n[r].clazz&&"ace_selected-word"!==n[r].clazz&&this.editor.getSession().removeMarker(n[r].id);t.forEach(function(t){var n=t.startRow,r=t.startCol,i=t.endRow,o=t.endCol,a=t.className,s=t.type,c=t.inFront,l=void 0!==c&&c,h=new u(n,r,i,o);e.editor.getSession().addMarker(h,a,s,l)})},e.prototype.updatePlaceholder=function(){var t=this.editor,e=this.props.placeholder,n=!t.session.getValue().length,r=t.renderer.placeholderNode;!n&&r?(t.renderer.scroller.removeChild(t.renderer.placeholderNode),t.renderer.placeholderNode=null):n&&!r?(r=t.renderer.placeholderNode=document.createElement("div"),r.textContent=e||"",r.className="ace_comment ace_placeholder",r.style.padding="0 9px",r.style.position="absolute",r.style.zIndex="3",t.renderer.scroller.appendChild(r)):n&&r&&(r.textContent=e)},e.prototype.updateRef=function(t){this.refEditor=t},e.prototype.render=function(){var t=this.props,e=t.name,n=t.width,r=t.height,o=t.style,s=i({width:n,height:r},o);return a.createElement("div",{ref:this.updateRef,id:e,style:s})},e.propTypes={mode:o.string,focus:o.bool,theme:o.string,name:o.string,className:o.string,height:o.string,width:o.string,fontSize:o.oneOfType([o.number,o.string]),showGutter:o.bool,onChange:o.func,onCopy:o.func,onPaste:o.func,onFocus:o.func,onInput:o.func,onBlur:o.func,onScroll:o.func,value:o.string,defaultValue:o.string,onLoad:o.func,onSelectionChange:o.func,onCursorChange:o.func,onBeforeLoad:o.func,onValidate:o.func,minLines:o.number,maxLines:o.number,readOnly:o.bool,highlightActiveLine:o.bool,tabSize:o.number,showPrintMargin:o.bool,cursorStart:o.number,debounceChangePeriod:o.number,editorProps:o.object,setOptions:o.object,style:o.object,scrollMargin:o.array,annotations:o.array,markers:o.array,keyboardHandler:o.string,wrapEnabled:o.bool,enableSnippets:o.bool,enableBasicAutocompletion:o.oneOfType([o.bool,o.array]),enableLiveAutocompletion:o.oneOfType([o.bool,o.array]),navigateToFileEnd:o.bool,commands:o.array,placeholder:o.string},e.defaultProps={name:"ace-editor",focus:!1,mode:"",theme:"",height:"500px",width:"500px",value:"",fontSize:12,enableSnippets:!1,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,placeholder:null,navigateToFileEnd:!0},e}(a.Component);e.default=h},eUgh:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}t.exports=n},ebwN:function(t,e,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Map");t.exports=o},ekgI:function(t,e,n){var r=n("YESw"),i=Object.prototype,o=i.hasOwnProperty;function a(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}t.exports=a},f6Jy:function(t,e,n){"use strict";var r="*",i=function(){function t(){this._events={}}return t.prototype.on=function(t,e,n){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:e,once:!!n}),this},t.prototype.once=function(t,e){return this.on(t,e,!0),this},t.prototype.emit=function(t){for(var e=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=this._events[t]||[],a=this._events[r]||[],s=function(r){for(var i=r.length,o=0;o<i;o++)if(r[o]){var a=r[o],s=a.callback,c=a.once;c&&(r.splice(o,1),0===r.length&&delete e._events[t],i--,o--),s.apply(e,n)}};s(o),s(a)},t.prototype.off=function(t,e){if(t)if(e){for(var n=this._events[t]||[],r=n.length,i=0;i<r;i++)n[i].callback===e&&(n.splice(i,1),r--,i--);0===n.length&&delete this._events[t]}else delete this._events[t];else this._events={};return this},t.prototype.getEvents=function(){return this._events},t}();e["a"]=i},fFDA:function(t,e,n){"use strict";var r=n("LHnb"),i=n("iTfj"),o=n("MeYt"),a={opacity:0},s={stroke:"#C5C5C5",strokeOpacity:.85},c={fill:"#CACED4",opacity:.85},l=n("LvGN"),u=n("8vsG");function h(t){return Object(i["map"])(t,function(t,e){var n=0===e?"M":"L",r=t[0],i=t[1];return[n,r,i]})}function f(t){return h(t)}function p(t){if(t.length<=2)return f(t);var e=[];Object(i["each"])(t,function(t){Object(i["isEqual"])(t,e.slice(e.length-2))||e.push(t[0],t[1])});var n=Object(l["catmullRom2Bezier"])(e,!1),r=Object(i["head"])(t),o=r[0],a=r[1];return n.unshift(["M",o,a]),n}function d(t,e,n,r){void 0===r&&(r=!0);var o=new u["Linear"]({values:t}),a=new u["Category"]({values:Object(i["map"])(t,function(t,e){return e})}),s=Object(i["map"])(t,function(t,r){return[a.scale(r)*e,n-o.scale(t)*n]});return r?p(s):f(s)}function g(t,e){var n=new u["Linear"]({values:t}),r=Math.max(0,n.min);return e-n.scale(r)*e}function y(t,e,n,i){var o=Object(r["d"])(t),a=g(i,n);return o.push(["L",e,a]),o.push(["L",0,a]),o.push(["Z"]),o}var 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:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:a,lineStyle:s,areaStyle:c})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,i=e.height,o=e.data,a=e.smooth,s=e.isArea,c=e.backgroundStyle,l=e.lineStyle,u=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:Object(r["a"])({x:0,y:0,width:n,height:i},c)});var h=d(o,n,i,a);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:Object(r["a"])({path:h},l)}),s){var f=y(h,n,i,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:Object(r["a"])({path:f},u)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(o["a"]),m={fill:"#416180",opacity:.05},b={fill:"#5B8FF9",opacity:.15,cursor:"move"},x=10,O={width:x,height:24},w={textBaseline:"middle",fill:"#000",opacity:.45},j="sliderchange",C={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},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:"handler",x:0,y:0,width:10,height:24,style:C})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,i=e.style,o=i.fill,a=i.stroke,s=i.radius,c=i.opacity,l=i.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:r,fill:o,stroke:a,radius:s,opacity:c,cursor:l}});var u=1/3*n,h=2/3*n,f=.25*r,p=.75*r;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:u,y1:f,x2:u,y2:p,stroke:a,cursor:l}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:h,y1:f,x2:h,y2:p,stroke:a,cursor:l}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()}),this.get("group").on("mouseleave",function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(o["a"]),k=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var r=n.originalEvent;r.stopPropagation(),r.preventDefault(),e.prevX=Object(i["get"])(r,"touches.0.pageX",r.pageX),e.prevY=Object(i["get"])(r,"touches.0.pageY",r.pageY);var o=e.getContainerDOM();o.addEventListener("mousemove",e.onMouseMove),o.addEventListener("mouseup",e.onMouseUp),o.addEventListener("mouseleave",e.onMouseUp),o.addEventListener("touchmove",e.onMouseMove),o.addEventListener("touchend",e.onMouseUp),o.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,r=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var o=Object(i["get"])(t,"touches.0.pageX",t.pageX),a=Object(i["get"])(t,"touches.0.pageY",t.pageY),s=o-e.prevX,c=e.adjustOffsetRange(s/n);e.updateStartEnd(c),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=o,e.prevY=a,e.draw(),e.emit(j,[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:r,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return Object(r["b"])(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),r=this.get("end"),o=Object(i["clamp"])(n,t,e),a=Object(i["clamp"])(r,t,e);this.get("isInit")||n===o&&r===a||this.setValue([o,a])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if(Object(i["isArray"])(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:Object(i["clamp"])(t[0],e.min,e.max),end:Object(i["clamp"])(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:m,foregroundStyle:b,handlerStyle:O,textStyle:w}})},e.prototype.update=function(e){var n=e.start,o=e.end,a=Object(r["a"])({},e);Object(i["isNil"])(n)||(a.start=Object(i["clamp"])(n,0,1)),Object(i["isNil"])(o)||(a.end=Object(i["clamp"])(o,0,1)),t.prototype.update.call(this,a),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",Object(i["clamp"])(this.get("start"),0,1)),this.set("end",Object(i["clamp"])(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.render=function(){t.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),o=e.height,a=e.trendCfg,s=void 0===a?{}:a,c=e.minText,l=e.maxText,u=e.backgroundStyle,h=void 0===u?{}:u,f=e.foregroundStyle,p=void 0===f?{}:f,d=e.textStyle,g=void 0===d?{}:d,y=e.handlerStyle,m=void 0===y?{}:y;Object(i["size"])(Object(i["get"])(s,"data"))&&(this.trend=this.addComponent(t,Object(r["a"])({component:v,id:this.getElementId("trend"),x:0,y:0,width:n,height:o},s))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:Object(r["a"])({x:0,y:0,width:n,height:o},h)});this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:Object(r["a"])({y:o/2,textAlign:"right",text:c,silent:!1},g)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:Object(r["a"])({y:o/2,textAlign:"left",text:l,silent:!1},g)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:Object(r["a"])({y:0,height:o},p)});var b=Object(i["get"])(m,"height",24);this.minHandler=this.addComponent(t,Object(r["a"])({component:S,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(o-b)/2,width:n,height:b,cursor:"ew-resize"},m)),this.maxHandler=this.addComponent(t,Object(r["a"])({component:S,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(o-b)/2,width:n,height:b,cursor:"ew-resize"},m))},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var r=this.cfg,o=r.start,a=r.end,s=r.width,c=r.minText,l=r.maxText,u=r.handlerStyle,h=r.height,f=o*s,p=a*s;this.trend&&(this.trend.update({width:s,height:h}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",f),t.attr("width",p-f);var d=Object(i["get"])(u,"width",x);e.attr("text",c),n.attr("text",l);var g=this._dodgeText([f,p],e,n),y=g[0],v=g[1];this.minHandler&&(this.minHandler.update({x:f-d/2}),this.get("updateAutoRender")||this.minHandler.render()),Object(i["each"])(y,function(t,n){return e.attr(n,t)}),this.maxHandler&&(this.maxHandler.update({x:p-d/2}),this.get("updateAutoRender")||this.maxHandler.render()),Object(i["each"])(v,function(t,e){return n.attr(e,t)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":var i=0-n,o=1-n;return Math.min(o,Math.max(i,t));case"maxHandler":i=0-r,o=1-r;return Math.min(o,Math.max(i,t));case"foreground":i=0-n,o=1-r;return Math.min(o,Math.max(i,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":r+=t;break;case"foreground":n+=t,r+=t;break}this.set("start",n),this.set("end",r)},e.prototype._dodgeText=function(t,e,n){var r,o,a=this.cfg,s=a.handlerStyle,c=a.width,l=2,u=Object(i["get"])(s,"width",x),h=t[0],f=t[1],p=!1;h>f&&(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 k})},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"<code"+i.renderAttrs(a)+">"+o(t[e].content)+"</code>"},a.code_block=function(t,e,n,r,i){var a=t[e];return"<pre"+i.renderAttrs(a)+"><code>"+o(t[e].content)+"</code></pre>\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("<pre")?s+"\n":p?(c=f.attrIndex("class"),u=f.attrs?f.attrs.slice():[],c<0?u.push(["class",n.langPrefix+d]):u[c][1]+=" "+n.langPrefix+d,h={attrs:u},"<pre><code"+a.renderAttrs(h)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(f)+">"+s+"</code></pre>\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?"<br />\n":"<br>\n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\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;e++)r+=" "+o(t.attrs[e][0])+'="'+o(t.attrs[e][1])+'"';return r},s.prototype.renderToken=function(t,e,n){var r,i="",o=!1,a=t[e];return a.hidden?"":(a.block&&-1!==a.nesting&&e&&t[e-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&e+1<t.length&&(r=t[e+1],"inline"===r.type||r.hidden?o=!1:-1===r.nesting&&r.tag===a.tag&&(o=!1))),i+=o?">\n":">",i)},s.prototype.renderInline=function(t,e,n){for(var r,i="",o=this.rules,a=0,s=t.length;a<s;a++)r=t[a].type,"undefined"!==typeof o[r]?i+=o[r](t,a,e,n,this):i+=this.renderToken(t,a,e);return i},s.prototype.renderInlineAsText=function(t,e,n){for(var r="",i=0,o=t.length;i<o;i++)"text"===t[i].type?r+=t[i].content:"image"===t[i].type&&(r+=this.renderInlineAsText(t[i].children,e,n));return r},s.prototype.render=function(t,e,n){var r,i,o,a="",s=this.rules;for(r=0,i=t.length;r<i;r++)o=t[r].type,"inline"===o?a+=this.renderInline(t[r].children,e,n):"undefined"!==typeof s[o]?a+=s[t[r].type](t,r,e,n,this):a+=this.renderToken(t,r,e,n);return a},t.exports=s},fP0w:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"getDefault",function(){return m}),n.d(r,"ellipsisHead",function(){return b}),n.d(r,"ellipsisTail",function(){return x}),n.d(r,"ellipsisMiddle",function(){return O});var i={};n.r(i),n.d(i,"getDefault",function(){return _}),n.d(i,"reserveFirst",function(){return A}),n.d(i,"reserveLast",function(){return T}),n.d(i,"reserveBoth",function(){return E}),n.d(i,"equidistance",function(){return P}),n.d(i,"equidistanceWithReverseBoth",function(){return L});var o={};n.r(o),n.d(o,"getDefault",function(){return D}),n.d(o,"fixedAngle",function(){return B}),n.d(o,"unfixedAngle",function(){return R});var a={};n.r(a),n.d(a,"autoHide",function(){return i}),n.d(a,"autoRotate",function(){return o}),n.d(a,"autoEllipsis",function(){return r});var s=n("LHnb"),c=n("6JdA"),l=n("iTfj"),u=n("MeYt"),h=n("jqgP"),f=n("l3hu"),p=n("L16w"),d=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),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},defaultCfg:{line:{style:{lineWidth:1,stroke:p["a"].lineColor}},tickLine:{style:{lineWidth:1,stroke:p["a"].lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:p["a"].lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:p["a"].textColor,fontFamily:p["a"].fontFamily,fontWeight:"normal"},offset:10},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:p["a"].textColor,textBaseline:"middle",fontFamily:p["a"].fontFamily,textAlign:"center"}},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:p["a"].uncheckedColor}}}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,e){Object(l["mix"])(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("tickStates"),n=[];return Object(l["each"])(e,function(e,r){t[r]&&n.push(r)}),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(l["each"])(n,function(n){e.setItemState(n,t,!1)})},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(l["filter"])(n,function(n){return e.hasState(n,t)})},e.prototype.getSidePoint=function(t,e){var n=this,r=n.getSideVector(e,t);return{x:t.x+r[0],y:t.y+r[1]}},e.prototype.getTextAnchor=function(t){var e;return Object(l["isNumberEqual"])(t[0],0)?e="center":t[0]>0?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;o<i-1;o++)for(var a=t[o],s=t[o+1],c=0;c<r;c++){var l=(c+1)/(r+1),u=(1-l)*a.tickValue+l*s.tickValue,h=this.getTickPoint(u),f=this.getSidePoint(h,n.length);e.push({startPoint:h,endPoint:f,tickValue:u,id:"sub-"+a.id+"-"+c})}return e},e.prototype.getTickLineAttrs=function(t,e,n,r){var i=this.get(e).style,o={points:[t.startPoint,t.endPoint]},a=Object(l["get"])(this.get("theme"),["tickLine","style"],{});i=Object(l["isFunction"])(i)?Object(l["mix"])({},a,i(o,n,r)):i;var c=t.startPoint,u=t.endPoint;return Object(s["a"])({x1:c.x,y1:c.y,x2:u.x,y2:u.y},i)},e.prototype.drawTick=function(t,e,n,r,i){this.addShape(e,{type:"line",id:this.getElementId(t.id),name:"axis-"+n,attrs:this.getTickLineAttrs(t,n,r,i)})},e.prototype.drawTickLines=function(t){var e=this,n=this.get("ticks"),r=this.get("subTickLine"),i=this.getTickLineItems(n),o=this.addGroup(t,{name:"axis-tickline-group",id:this.getElementId("tickline-group")}),a=this.get("tickLine");if(Object(l["each"])(i,function(n,r){if(a.displayWithLabel){var s=e.getElementId("label-"+n.tickId);t.findById(s)&&e.drawTick(n,o,"tickLine",r,i)}else e.drawTick(n,o,"tickLine",r,i)}),r){var s=this.getSubTickLineItems(i);Object(l["each"])(s,function(t,n){e.drawTick(t,o,"subTickLine",n,s)})}},e.prototype.processTicks=function(){var t=this,e=this.get("ticks");Object(l["each"])(e,function(e){e.point=t.getTickPoint(e.value),Object(l["isNil"])(e.id)&&(e.id=e.name)})},e.prototype.drawTicks=function(t){var e=this;this.processTicks(),this.get("label")&&this.drawLabels(t),this.get("tickLine")&&this.drawTickLines(t);var n=this.get("ticks");Object(l["each"])(n,function(n){e.applyTickStates(n,t)})},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["ext"].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 w=n("5UbV");function j(t){var e=t.attr("matrix");return e&&1!==e[0]}function C(t){var e=j(t)?Object(h["d"])(t.attr("matrix")):0;return e%360}function S(t,e,n,r){var i=!1,o=C(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(w["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}else{c=Math.abs(Math.sin(o));i=Object(w["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}return i}function k(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;u<s;u++){var h=o[u],f=(h.getBBox(),S(t,l,h,i));f?(h.hide(),a=!0):l=h}return a}function M(t,e,n){var r=(null===n||void 0===n?void 0:n.minGap)||0,i=e.getChildren().slice();if(i.length<2)return!1;var o=!1,a=i[0],s=a.getBBox(),c=i[1],l=i.length,u=C(a),h=t?Math.abs(c.attr("y")-a.attr("y")):Math.abs(c.attr("x")-a.attr("x")),f=0;if(t){var p=Math.abs(Math.cos(u));if(Object(w["i"])(p,0,Math.PI/180)){var d=Object(y["b"])(i);f=(d+r)/h}else f=(s.height/p+r)/h}else{p=Math.abs(Math.sin(u));if(Object(w["i"])(p,0,Math.PI/180)){d=Object(y["b"])(i);f=(d+r)/h}else f=(s.height/p+r)/h}if(f>1){f=Math.ceil(f);for(var g=0;g<l;g++)g%f!==0&&(i[g].hide(),o=!0)}return o}function _(){return P}function A(t,e,n,r){return k(t,e,!1,r)}function T(t,e,n,r){return k(t,e,!0,r)}function E(t,e,n,r){var i=(null===r||void 0===r?void 0:r.minGap)||0,o=e.getChildren().slice();if(o.length<=2)return!1;for(var a=!1,s=o.length,c=o[0],l=o[s-1],u=c,h=1;h<s-1;h++){var f=o[h],p=(f.getBBox(),S(t,u,f,i));p?(f.hide(),a=!0):u=f}var d=S(t,u,l,i);return d&&(u.hide(),a=!0),a}function P(t,e,n,r){var i=M(t,e,r);return k(t,e,!1)&&(i=!0),i}function L(t,e,n,r){var i=e.getChildren().slice(),o=M(t,e,r);if(i.length>2){var a=i[0],s=i[i.length-1];a.get("visible")||(a.show(),k(t,e,!1,r)&&(o=!0)),s.get("visible")||(s.show(),k(t,e,!0,r)&&(o=!0))}return o}function I(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 F(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);I(i,c)}return a}function D(){return B}function B(t,e,n,r){return F(t,e,n,function(){return Object(l["isNumber"])(r)?r:t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate})}function R(t,e,n){return F(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["vec2"].normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return c["vec2"].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),Y=N,z=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["vec2"].length(r);return c["vec2"].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=z;n.d(e,"Line",function(){return Y}),n.d(e,"Circle",function(){return G}),n.d(e,"Base",function(){return g})},fW3x:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerSymbols=void 0,e.MarkerSymbols={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]]}}},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(e<n){if(i=t.charCodeAt(e),i===o)return c.pos=e+1,c.lines=a,c.str=r(t.slice(s+1,e)),c.ok=!0,c;10===i?a++:92===i&&e+1<n&&(e++,10===t.charCodeAt(e)&&a++),e++}return c}},fmRc:function(t,e,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),s=n("VaNO"),c=n("0Cz8");function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=i,l.prototype["delete"]=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,t.exports=l},"g0+v":function(t,e,n){"use strict";var r=n("CWsV"),i=n("AGgm").isSpace;function o(t,e,n,r){var o,a,s,c,l,u,h,f;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,f=!1,s=c=u=h=0,l=a.length;c<l;c++){if(o=a.charCodeAt(c),!f){if(i(o)){u++,9===o?h+=4-h%4:h++;continue}f=!0}10!==o&&c!==l-1||(10!==o&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(h),this.bsCount.push(0),f=!1,u=0,h=0,s=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(t,e,n){var i=new r(t,e,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&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;t<e;t++)if(this.bMarks[t]+this.tShift[t]<this.eMarks[t])break;return t},o.prototype.skipSpaces=function(t){for(var e,n=this.src.length;t<n;t++)if(e=this.src.charCodeAt(t),!i(e))break;return t},o.prototype.skipSpacesBack=function(t,e){if(t<=e)return t;while(t>e)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;t<n;t++)if(this.src.charCodeAt(t)!==e)break;return t},o.prototype.skipCharsBack=function(t,e,n){if(t<=n)return t;while(t>n)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;f<e;f++,o++){a=0,h=c=this.bMarks[f],l=f+1<e||r?this.eMarks[f]+1:this.eMarks[f];while(c<l&&a<n){if(s=this.src.charCodeAt(c),i(s))9===s?a+=4-(a+this.bsCount[f])%4:a++;else{if(!(c-h<this.tShift[f]))break;a++}c++}u[o]=a>n?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;n<h;n++)if(i=e[n],i.length=i.length||0,i.close){for(u.hasOwnProperty(i.marker)||(u[i.marker]=[-1,-1,-1]),a=u[i.marker][i.length%3],s=-1,r=n-i.jump-1;r>a;r-=o.jump+1)if(o=e[r],o.marker===i.marker&&(-1===s&&(s=r),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;e<i;e++)n[e]&&n[e].delimiters&&r(t,n[e].delimiters)}},gCq4:function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},gNPE:function(t,e,n){"use strict";var r=n("AGgm").isSpace;function i(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.substr(n,r-n)}function o(t){var e,n=[],r=0,i=t.length,o=!1,a=0,s="";e=t.charCodeAt(r);while(r<i)124===e&&(o?(s+=t.substring(a,r-1),a=r):(n.push(s+t.substring(a,r)),s="",a=r+1)),o=92===e,r++,e=t.charCodeAt(r);return n.push(s+t.substring(a)),n}t.exports=function(t,e,n,a){var s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,w;if(e+2>n)return!1;if(f=e+1,t.sCount[f]<t.blkIndent)return!1;if(t.sCount[f]-t.blkIndent>=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<t.eMarks[f]){if(s=t.src.charCodeAt(l),124!==s&&45!==s&&58!==s&&!r(s))return!1;l++}for(c=i(t,e+1),p=c.split("|"),y=[],u=0;u<p.length;u++){if(v=p[u].trim(),!v){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?y.push(58===v.charCodeAt(0)?"center":"right"):58===v.charCodeAt(0)?y.push("left"):y.push("")}if(c=i(t,e).trim(),-1===c.indexOf("|"))return!1;if(t.sCount[e]-t.blkIndent>=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",w=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<p.length;u++)g=t.push("th_open","th",1),y[u]&&(g.attrs=[["style","text-align:"+y[u]]]),g=t.push("inline","",0),g.content=p[u].trim(),g.children=[],g=t.push("th_close","th",-1);for(g=t.push("tr_close","tr",-1),g=t.push("thead_close","thead",-1),f=e+2;f<n;f++){if(t.sCount[f]<t.blkIndent)break;for(O=!1,u=0,h=w.length;u<h;u++)if(w[u](t,f,n,!0)){O=!0;break}if(O)break;if(c=i(t,f).trim(),!c)break;if(t.sCount[f]-t.blkIndent>=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;u<d;u++)g=t.push("td_open","td",1),y[u]&&(g.attrs=[["style","text-align:"+y[u]]]),g=t.push("inline","",0),g.content=p[u]?p[u].trim():"",g.children=[],g=t.push("td_close","td",-1);g=t.push("tr_close","tr",-1)}return b&&(g=t.push("tbody_close","tbody",-1),b[1]=f),g=t.push("table_close","table",-1),m[1]=f,t.parentType=x,t.line=f,!0}},"h4/5":function(t,e){},hJqF:function(t,e,n){"use strict";n.d(e,"d",function(){return u}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return f}),n.d(e,"a",function(){return g});var r=n("mrSG"),i=n("iTfj"),o=n("w02o"),a=n("YuPD"),s=n("tKoa"),c=n("DyAw");function l(t){var e=t.chart,n=t.options,i=n.data,o=n.color,c=n.lineStyle,l=n.lineShape,u=n.point,h=n.seriesField;e.data(i);var f=Object(a["b"])({},t,{options:{shapeField:h,line:{color:o,style:c,shape:l},point:u&&Object(r["a"])({color:o,shape:"circle"},u),label:void 0}}),p=Object(a["b"])({},f,{options:{tooltip:!1}});return Object(s["d"])(f),Object(s["e"])(p),t}function u(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,l=r.xField,u=r.yField,h=r.data;return Object(a["e"])(Object(o["f"])((e={},e[l]=i,e[u]=s,e),(n={},n[l]={type:"cat"},n[u]=Object(c["a"])(h,u),n)))(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.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function p(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=Object(a["c"])(e,"line");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[o],callback:c,cfg:Object(r["a"])({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(a["o"])(l))})}else s.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.isStack;return r&&Object(i["each"])(e.geometries,function(t){t.adjust("stack")}),t}function g(t){return Object(a["e"])(l,u,d,o["j"],h,f,o["k"],p,o["h"],o["c"],o["a"],Object(o["b"])(),o["e"])(t)}},heNW:function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},hypo:function(t,e,n){var r=n("O0oS");function i(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}t.exports=i},i8i4:function(t,e,n){"use strict";function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}}r(),t.exports=n("yl30")},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<t.length;r++){var o=t[r];e(o,r)&&n.push(o)}return n},c=s,l=function(t,e){return void 0===e&&(e=[]),c(t,function(t){return!a(e,t)})},u=l,h={}.toString,f=function(t,e){return h.call(t)==="[object "+e+"]"},p=f,d=function(t){return p(t,"Function")},g=function(t){return null===t||void 0===t},y=g,v=function(t){return Array.isArray?Array.isArray(t):p(t,"Array")},m=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e};function b(t,e){var n;if(t)if(v(t)){for(var r=0,i=t.length;r<i;r++)if(n=e(t[r],r),!1===n)break}else if(m(t))for(var o in t)if(t.hasOwnProperty(o)&&(n=e(t[o],o),!1===n))break}var x=b,O=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return x(t,function(n,r){d(t)&&"prototype"===r||e.push(r)}),e},w=O;function j(t,e){var n=w(e),r=n.length;if(y(t))return!r;for(var i=0;i<r;i+=1){var o=n[i];if(e[o]!==t[o]||!(o in t))return!1}return!0}var C=j,S=function(t){return"object"===typeof t&&null!==t},k=S,M=function(t){if(!k(t)||!p(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;var e=t;while(null!==Object.getPrototypeOf(e))e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},_=M;function A(t,e){if(!v(t))return null;var n;if(d(e)&&(n=e),_(e)&&(n=function(t){return C(t,e)}),n)for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r];return null}var T=A;function E(t,e,n){void 0===n&&(n=0);for(var r=n;r<t.length;r++)if(e(t[r],r))return r;return-1}var P=E,L=function(t,e){for(var n=null,r=0;r<t.length;r++){var i=t[r],o=i[e];if(!y(o)){n=v(o)?o[0]:o;break}}return n},I=L,F=function(t){if(!v(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e},D=F,B=function(t,e){if(void 0===e&&(e=[]),v(t))for(var n=0;n<t.length;n+=1)B(t[n],e);else e.push(t);return e},R=B,N=function(t){var e=t.filter(function(t){return!isNaN(t)});if(!e.length)return{min:0,max:0};if(v(t[0])){for(var n=[],r=0;r<t.length;r++)n=n.concat(t[r]);e=n}var i=Math.max.apply(null,e),o=Math.min.apply(null,e);return{min:o,max:i}},Y=N,z=Array.prototype,G=z.splice,V=z.indexOf,X=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++){var i=e[r],o=-1;while((o=V.call(t,i))>-1)G.call(t,o,1)}return t},W=X,H=Array.prototype.splice,U=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,H.call(t,a,1))}return t},q=U,Z=function(t,e,n){if(!v(t)&&!_(t))return t;var r=n;return x(t,function(t,n){r=e(r,t,n)}),r},K=Z,Q=function(t,e){var n=[];if(!i(t))return n;var r=-1,o=[],a=t.length;while(++r<a){var s=t[r];e(s,r,t)&&(n.push(s),o.push(r))}return q(t,o),n},$=Q,J=function(t){return p(t,"String")};function tt(t,e){var n;if(d(e))n=function(t,n){return e(t)-e(n)};else{var r=[];J(e)?r.push(e):v(e)&&(r=e),n=function(t,e){for(var n=0;n<r.length;n+=1){var i=r[n];if(t[i]>e[i])return 1;if(t[i]<e[i])return-1}return 0}}return t.sort(n),t}var et=tt,nt=function(t){var e=[];return x(t,function(t){a(e,t)||e.push(t)}),e},rt=nt,it=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return rt([].concat.apply([],t))},ot=it,at=function(t,e){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[e];if(!y(a)){v(a)||(a=[a]);for(var s=0;s<a.length;s++){var c=a[s];r[c]||(n.push(c),r[c]=!0)}}}return n};function st(t){if(i(t))return t[0]}function ct(t){if(i(t)){var e=t;return e[e.length-1]}}function lt(t,e){return!(!v(t)&&!J(t))&&t[0]===e}var ut=lt;function ht(t,e){return!(!v(t)&&!J(t))&&t[t.length-1]===e}var ft=ht,pt=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0},dt=pt,gt=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1},yt=gt,vt=Object.prototype.hasOwnProperty;function mt(t,e){if(!e||!v(t))return{};for(var n,r={},i=d(e)?e:function(t){return t[e]},o=0;o<t.length;o++){var a=t[o];n=i(a),vt.call(r,n)?r[n].push(a):r[n]=[a]}return r}var bt=mt,xt=function(t,e){if(!e)return{0:t};if(!d(e)){var n=v(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",r=0,i=n.length;r<i;r++)e+=t[n[r]]&&t[n[r]].toString();return e}}var r=bt(t,e);return r},Ot=xt,wt=function(t,e){if(!e)return[t];var n=Ot(t,e),r=[];for(var i in n)r.push(n[i]);return r};function jt(t,e){return t["_wrap_"+e]}var Ct=jt;function St(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}var kt=St,Mt={};function _t(t){var e=Mt[t];if(!e){for(var n=t.toString(16),r=n.length;r<6;r++)n="0"+n;e="#"+n,Mt[t]=e}return e}var At=_t;function Tt(t){var e=0,n=0,r=0,i=0;return v(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 Et=Tt,Pt=function(t,e,n){return t<e?e:t>n?n:t},Lt=Pt,It=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))},Ft=It,Dt=function(t){return p(t,"Number")},Bt=Dt,Rt=function(t){return Bt(t)&&t%1!==0},Nt=Rt,Yt=function(t){return Bt(t)&&t%2===0},zt=Yt,Gt=Number.isInteger?Number.isInteger:function(t){return Bt(t)&&t%1===0},Vt=Gt,Xt=function(t){return Bt(t)&&t<0},Wt=Xt,Ht=1e-5;function Ut(t,e,n){return void 0===n&&(n=Ht),Math.abs(t-e)<n}var qt=function(t){return Bt(t)&&t%2!==0},Zt=qt,Kt=function(t){return Bt(t)&&t>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],r<n&&(i=t,n=r)}),i}},te=function(t,e){return(t%e+e)%e},ee=te,ne=180/Math.PI,re=function(t){return ne*t},ie=re,oe=parseInt,ae=Math.PI/180,se=function(t){return ae*t},ce=se,le=x,ue=function(t,e){return t.hasOwnProperty(e)},he=ue,fe=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return x(t,function(n,r){d(t)&&"prototype"===r||e.push(n)}),e},pe=fe,de=function(t,e){return a(pe(t),e)},ge=function(t){return y(t)?"":t.toString()},ye=function(t){return ge(t).toLowerCase()},ve=ye,me=function(t){var e=ge(t);return e.charAt(0).toLowerCase()+e.substring(1)},be=me;function xe(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]}):t}var Oe=xe,we=function(t){return ge(t).toUpperCase()},je=we,Ce=function(t){var e=ge(t);return e.charAt(0).toUpperCase()+e.substring(1)},Se=Ce,ke={}.toString,Me=function(t){return ke.call(t).replace(/^\[object /,"").replace(/]$/,"")},_e=Me,Ae=function(t){return p(t,"Arguments")},Te=Ae,Ee=function(t){return p(t,"Boolean")},Pe=Ee,Le=function(t){return p(t,"Date")},Ie=Le,Fe=function(t){return p(t,"Error")},De=Fe,Be=function(t){return Bt(t)&&isFinite(t)},Re=function(t){return null===t},Ne=Re,Ye=Object.prototype,ze=function(t){var e=t&&t.constructor,n="function"===typeof e&&e.prototype||Ye;return t===n},Ge=ze,Ve=function(t){return p(t,"RegExp")},Xe=Ve,We=function(t){return void 0===t},He=We,Ue=function(t){return t instanceof Element||t instanceof HTMLDocument},qe=Ue;function Ze(t){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)};return e(t)}function Ke(t){var e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;e(t)}function Qe(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function $e(t,e,n,r){return e&&Qe(t,e),n&&Qe(t,n),r&&Qe(t,r),t}var Je=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],r=1;r<t.length;r++){var i=t[r];d(i)&&(i=i.prototype),$e(n.prototype,i)}},tn=Je,en=function(t){if("object"!==typeof t||null===t)return t;var e;if(v(t)){e=[];for(var n=0,r=t.length;n<r;n++)"object"===typeof t[n]&&null!=t[n]?e[n]=en(t[n]):e[n]=t[n]}else for(var i in e={},t)"object"===typeof t[i]&&null!=t[i]?e[i]=en(t[i]):e[i]=t[i];return e},nn=en;function rn(t,e,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||t.apply(i,o)},s=n&&!r;clearTimeout(r),r=setTimeout(a,e),s&&t.apply(i,o)}}var on=rn,an=function(t,e){if(!d(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=t.apply(this,r);return a.set(o,s),s};return n.cache=new Map,n},sn=5;function cn(t,e,n,r){for(var i in n=n||0,r=r||sn,e)if(e.hasOwnProperty(i)){var o=e[i];null!==o&&_(o)?(_(t[i])||(t[i]={}),n<r?cn(t[i],o,n+1,r):t[i]=e[i]):v(o)?(t[i]=[],t[i]=t[i].concat(o)):void 0!==o&&(t[i]=o)}}var ln=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)cn(t,e[r]);return t},un=ln,hn=function(t,e,n,r){d(e)||(n=e,e=t,t=function(){});var i=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var r=new n;return r.constructor=e,r},o=i(e.prototype,t);return t.prototype=$e(o,t.prototype),t.superclass=i(e.prototype,e),$e(o,n),$e(t,r),t},fn=hn,pn=function(t,e){if(!i(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var r=-1,o=0;o<t.length;o++)if(t[o]===e){r=o;break}return r},dn=pn,gn=Object.prototype.hasOwnProperty;function yn(t){if(y(t))return!0;if(i(t))return!t.length;var e=_e(t);if("Map"===e||"Set"===e)return!t.size;if(Ge(t))return!Object.keys(t).length;for(var n in t)if(gn.call(t,n))return!1;return!0}var vn=yn,mn=function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(J(t)||J(e))return!1;if(i(t)||i(e)){if(t.length!==e.length)return!1;for(var n=!0,r=0;r<t.length;r++)if(n=mn(t[r],e[r]),!n)break;return n}if(k(t)||k(e)){var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(n=!0,r=0;r<o.length;r++)if(n=mn(t[o[r]],e[o[r]]),!n)break;return n}return!1},bn=mn,xn=function(t,e,n){return d(n)?!!n(t,e):bn(t,e)},On=function(t,e){if(!i(t))return t;for(var n=[],r=0;r<t.length;r++){var o=t[r];n.push(e(o,r))}return n},wn=On,jn=function(t){return t},Cn=function(t,e){void 0===e&&(e=jn);var n={};return m(t)&&!y(t)&&Object.keys(t).forEach(function(r){n[r]=e(t[r],r)}),n},Sn=function(t,e,n){var r=0,i=J(e)?e.split("."):e;while(t&&r<i.length)t=t[i[r++]];return void 0===t||r<i.length?n:t},kn=function(t,e,n){var r=t,i=J(e)?e.split("."):e;return i.forEach(function(t,e){e<i.length-1?(m(r[t])||(r[t]=Bt(i[e+1])?[]:{}),r=r[t]):r[t]=n}),t},Mn=Object.prototype.hasOwnProperty,_n=function(t,e){if(null===t||!_(t))return{};var n={};return x(e,function(e){Mn.call(t,e)&&(n[e]=t[e])}),n},An=function(t,e,n){var r,i,o,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:Date.now(),r=null,a=t.apply(i,o),r||(i=o=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var u=e-(l-s);return i=this,o=arguments,u<=0||u>e?(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},Tn=function(t){return i(t)?Array.prototype.slice.call(t):[]},En={},Pn=function(t){return t=t||"g",En[t]?En[t]+=1:En[t]=1,t+En[t]},Ln=function(){},In=function(t){return t};function Fn(t){return y(t)?0:i(t)?t.length:Object.keys(t).length}var Dn=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}(),Bn=Dn;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 T}),n.d(e,"findIndex",function(){return P}),n.d(e,"firstValue",function(){return I}),n.d(e,"flatten",function(){return D}),n.d(e,"flattenDeep",function(){return R}),n.d(e,"getRange",function(){return Y}),n.d(e,"pull",function(){return W}),n.d(e,"pullAt",function(){return q}),n.d(e,"reduce",function(){return K}),n.d(e,"remove",function(){return $}),n.d(e,"sortBy",function(){return et}),n.d(e,"union",function(){return ot}),n.d(e,"uniq",function(){return rt}),n.d(e,"valuesOfKey",function(){return at}),n.d(e,"head",function(){return st}),n.d(e,"last",function(){return ct}),n.d(e,"startsWith",function(){return ut}),n.d(e,"endsWith",function(){return ft}),n.d(e,"filter",function(){return c}),n.d(e,"every",function(){return dt}),n.d(e,"some",function(){return yt}),n.d(e,"group",function(){return wt}),n.d(e,"groupBy",function(){return bt}),n.d(e,"groupToMap",function(){return Ot}),n.d(e,"getWrapBehavior",function(){return Ct}),n.d(e,"wrapBehavior",function(){return kt}),n.d(e,"number2color",function(){return At}),n.d(e,"parseRadius",function(){return Et}),n.d(e,"clamp",function(){return Lt}),n.d(e,"fixedBase",function(){return Ft}),n.d(e,"isDecimal",function(){return Nt}),n.d(e,"isEven",function(){return zt}),n.d(e,"isInteger",function(){return Vt}),n.d(e,"isNegative",function(){return Wt}),n.d(e,"isNumberEqual",function(){return Ut}),n.d(e,"isOdd",function(){return Zt}),n.d(e,"isPositive",function(){return Qt}),n.d(e,"maxBy",function(){return $t}),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 w}),n.d(e,"isMatch",function(){return C}),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 je}),n.d(e,"upperFirst",function(){return Se}),n.d(e,"getType",function(){return _e}),n.d(e,"isArguments",function(){return Te}),n.d(e,"isArray",function(){return v}),n.d(e,"isArrayLike",function(){return i}),n.d(e,"isBoolean",function(){return Pe}),n.d(e,"isDate",function(){return Ie}),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 k}),n.d(e,"isPlainObject",function(){return _}),n.d(e,"isPrototype",function(){return Ge}),n.d(e,"isRegExp",function(){return Xe}),n.d(e,"isString",function(){return J}),n.d(e,"isType",function(){return p}),n.d(e,"isUndefined",function(){return He}),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 wn}),n.d(e,"mapValues",function(){return Cn}),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 kn}),n.d(e,"pick",function(){return _n}),n.d(e,"throttle",function(){return An}),n.d(e,"toArray",function(){return Tn}),n.d(e,"toString",function(){return ge}),n.d(e,"uniqueId",function(){return Pn}),n.d(e,"noop",function(){return Ln}),n.d(e,"identity",function(){return In}),n.d(e,"size",function(){return Fn}),n.d(e,"Cache",function(){return Bn})},"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},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["ext"].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["ext"].transform(e||i,[["t",t.x,t.y]]):null}function s(t){var e=[1,0,0],n=[0,0,0];return r["vec3"].transformMat3(n,e,t),Math.atan2(n[1],n[0])}function c(t,e){var n=[0,0];return r["vec2"].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<c){var l=e[s],u=o?o(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),a?i(n,l,u):r(n,l,u)}return n}t.exports=o},"k+1r":function(t,e,n){var r=n("QkVE");function i(t){var e=r(this,t)["delete"](t);return this.size-=e?1:0,e}t.exports=i},kXyF:function(t,e,n){"use strict";var r,i,o,a=n("t0W4"),s=n("iTfj");(function(t){t["FORE"]="fore",t["MID"]="mid",t["BG"]="bg"})(r||(r={})),function(t){t["TOP"]="top",t["TOP_LEFT"]="top-left",t["TOP_RIGHT"]="top-right",t["RIGHT"]="right",t["RIGHT_TOP"]="right-top",t["RIGHT_BOTTOM"]="right-bottom",t["LEFT"]="left",t["LEFT_TOP"]="left-top",t["LEFT_BOTTOM"]="left-bottom",t["BOTTOM"]="bottom",t["BOTTOM_LEFT"]="bottom-left",t["BOTTOM_RIGHT"]="bottom-right",t["RADIUS"]="radius",t["CIRCLE"]="circle",t["NONE"]="none"}(i||(i={})),function(t){t["AXIS"]="axis",t["GRID"]="grid",t["LEGEND"]="legend",t["TOOLTIP"]="tooltip",t["ANNOTATION"]="annotation",t["SLIDER"]="slider",t["SCROLLBAR"]="scrollbar",t["OTHER"]="other"}(o||(o={}));var c,l,u,h,f={FORE:3,MID:2,BG:1};(function(t){t["BEFORE_RENDER"]="beforerender",t["AFTER_RENDER"]="afterrender",t["BEFORE_PAINT"]="beforepaint",t["AFTER_PAINT"]="afterpaint",t["BEFORE_CHANGE_DATA"]="beforechangedata",t["AFTER_CHANGE_DATA"]="afterchangedata",t["BEFORE_CLEAR"]="beforeclear",t["AFTER_CLEAR"]="afterclear",t["BEFORE_DESTROY"]="beforedestroy",t["BEFORE_CHANGE_SIZE"]="beforechangesize",t["AFTER_CHANGE_SIZE"]="afterchangesize"})(c||(c={})),function(t){t["BEFORE_DRAW_ANIMATE"]="beforeanimate",t["AFTER_DRAW_ANIMATE"]="afteranimate"}(l||(l={})),function(t){t["MOUSE_ENTER"]="plot:mouseenter",t["MOUSE_DOWN"]="plot:mousedown",t["MOUSE_MOVE"]="plot:mousemove",t["MOUSE_UP"]="plot:mouseup",t["MOUSE_LEAVE"]="plot:mouseleave",t["TOUCH_START"]="plot:touchstart",t["TOUCH_MOVE"]="plot:touchmove",t["TOUCH_END"]="plot:touchend",t["TOUCH_CANCEL"]="plot:touchcancel",t["CLICK"]="plot:click",t["DBLCLICK"]="plot:dblclick",t["CONTEXTMENU"]="plot:contextmenu",t["LEAVE"]="plot:leave",t["ENTER"]="plot:enter"}(u||(u={})),function(t){t["ACTIVE"]="active",t["INACTIVE"]="inactive",t["SELECTED"]="selected",t["DEFAULT"]="default"}(h||(h={}));var p=["color","shape","size"],d="_origin",g=1,y=1,v=.25,m={};function b(t){var e=m[t];if(!e)throw new Error("G engine '"+t+"' is not exist, please register it at first.");return e}function x(t,e){m[t]=e}var O=n("fIp6");function w(t){var e=getComputedStyle(t);return{width:(t.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(t.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function j(t){return"number"===typeof t&&!isNaN(t)}function C(t,e,n,r){var i=n,o=r;if(e){var a=w(t);i=a.width?a.width:i,o=a.height?a.height:o}return{width:Math.max(j(i)?i:g,g),height:Math.max(j(o)?o:y,y)}}function S(t){var e=t.parentNode;e&&e.removeChild(t)}var k=n("f6Jy"),M=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=e.visible,i=void 0===r||r;return n.visible=i,n}return Object(a["__extends"])(e,t),e.prototype.show=function(){var t=this.visible;t||this.changeVisible(!0)},e.prototype.hide=function(){var t=this.visible;t&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}(k["a"]),_=M,A=n("aFU3"),T=n("7s0d"),E=n("GwhO"),P=n("oYZf"),L=n("8vsG"),I=n("17Tr"),F=I["Axis"].Line,D=I["Axis"].Circle,B=I["Grid"].Line,R=I["Grid"].Circle,N=I["Legend"].Category,Y=I["Legend"].Continuous,z=I["Tooltip"].Html;function G(t){if(Object(s["isEmpty"])(t))return null;var e=t[0].x,n=t[0].x,r=t[0].y,i=t[0].y;return Object(s["each"])(t,function(t){e=e>t.x?t.x:e,n=n<t.x?t.x:n,r=r>t.y?t.y:r,i=i<t.y?t.y:i}),{minX:e,maxX:n,minY:r,maxY:i,centerX:(e+n)/2,centerY:(r+i)/2}}function V(t,e,n,r){return{x:t+n*Math.cos(r),y:e+n*Math.sin(r)}}function X(t,e,n,r,i,o){void 0===o&&(o=0);var a=V(t,e,n,r),s=V(t,e,n,i),c=V(t,e,o,r),l=V(t,e,o,i);if(i-r===2*Math.PI){var u=V(t,e,n,r+Math.PI),h=V(t,e,o,r+Math.PI),f=[["M",a.x,a.y],["A",n,n,0,1,1,u.x,u.y],["A",n,n,0,1,1,s.x,s.y],["M",c.x,c.y]];return o&&(f.push(["A",o,o,0,1,0,h.x,h.y]),f.push(["A",o,o,0,1,0,l.x,l.y])),f.push(["M",a.x,a.y]),f.push(["Z"]),f}var p=i-r<=Math.PI?0:1,d=[["M",a.x,a.y],["A",n,n,0,p,1,s.x,s.y],["L",l.x,l.y]];return o&&d.push(["A",o,o,0,p,0,c.x,c.y]),d.push(["L",a.x,a.y]),d.push(["Z"]),d}function W(t,e,n,r,i){var o=V(t,e,n,r),a=V(t,e,n,i);if(Object(s["isNumberEqual"])(i-r,2*Math.PI)){var c=V(t,e,n,r+Math.PI);return[["M",o.x,o.y],["A",n,n,0,1,1,c.x,c.y],["A",n,n,0,1,1,o.x,o.y],["A",n,n,0,1,0,c.x,c.y],["A",n,n,0,1,0,o.x,o.y],["Z"]]}var l=i-r<=Math.PI?0:1;return[["M",o.x,o.y],["A",n,n,0,l,1,a.x,a.y]]}function H(t,e){var n,r,i=t.points,o=G(i),a=e.startAngle,s=e.endAngle,c=s-a;return e.isTransposed?(n=o.maxY*c,r=o.minY*c):(n=o.maxX*c,r=o.minX*c),n+=a,r+=a,{startAngle:r,endAngle:n}}function U(t,e){if(Object(s["isNumber"])(t)&&Object(s["isNumber"])(e))return[t,e];var n,r,i=-1,o=0,a=0,c=t.length-1,l=0;while(++i<t.length)n=c,c=i,l+=r=t[n]*e[c]-t[c]*e[n],o+=(t[n]+t[c])*r,a+=(e[n]+e[c])*r;return l*=3,[o/l,a/l]}function q(t,e){var n=t.attr(),r=e.attr();return Object(s["each"])(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r}function Z(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}function K(t,e,n){if(Object(s["isString"])(t))return t.padEnd(e,n);if(Object(s["isArray"])(t)){var r=t.length;if(r<e)for(var i=e-r,o=0;o<i;o++)t.push(n)}return t}function Q(t,e){return e.forEach(function(e){delete t[e]}),t}function $(t,e,n){void 0===e&&(e=[]),void 0===n&&(n={});for(var r=0,i=t;r<i.length;r++){var o=i[r];n[o]||(e.push(o),n[o]=!0)}return e}var J=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=t,this.y=e,this.height=r,this.width=n}return t.fromRange=function(e,n,r,i){return new t(e,n,r-e,i-n)},t.fromObject=function(e){return new t(e.minX,e.minY,e.width,e.height)},Object.defineProperty(t.prototype,"minX",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxX",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minY",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxY",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tl",{get:function(){return{x:this.x,y:this.y}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tr",{get:function(){return{x:this.maxX,y:this.y}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bl",{get:function(){return{x:this.x,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"br",{get:function(){return{x:this.maxX,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return{x:this.x+this.width/2,y:this.minY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return{x:this.maxX,y:this.y+this.height/2}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return{x:this.x+this.width/2,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return{x:this.minX,y:this.y+this.height/2}},enumerable:!1,configurable:!0}),t.prototype.isEqual=function(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height},t.prototype.contains=function(t){return t.minX>=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;e<arguments.length;e++)t[e]=arguments[e];var n=this.clone();return Object(s["each"])(t,function(t){n.x=Math.min(t.x,n.x),n.y=Math.min(t.y,n.y),n.width=Math.max(t.maxX,n.maxX)-n.x,n.height=Math.max(t.maxY,n.maxY)-n.y}),n},t.prototype.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.clone();return Object(s["each"])(t,function(t){n.x=Math.max(t.x,n.x),n.y=Math.max(t.y,n.y),n.width=Math.min(t.maxX,n.maxX)-n.x,n.height=Math.min(t.maxY,n.maxY)-n.y}),n},t.prototype.cut=function(e,n){var r=e.width,o=e.height;switch(n){case i.TOP:case i.TOP_LEFT:case i.TOP_RIGHT:return t.fromRange(this.minX,this.minY+o,this.maxX,this.maxY);case i.RIGHT:case i.RIGHT_TOP:case i.RIGHT_BOTTOM:return t.fromRange(this.minX,this.minY,this.maxX-r,this.maxY);case i.BOTTOM:case i.BOTTOM_LEFT:case i.BOTTOM_RIGHT:return t.fromRange(this.minX,this.minY,this.maxX,this.maxY-o);case i.LEFT:case i.LEFT_TOP:case i.LEFT_BOTTOM:return t.fromRange(this.minX+r,this.minY,this.maxX,this.maxY);default:return this}},t.prototype.shrink=function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return new t(this.x+o,this.y+n,this.width-o-r,this.height-n-i)},t.prototype.expand=function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return new t(this.x-o,this.y-n,this.width+o+r,this.height+n+i)},t.prototype.exceed=function(t){return[Math.max(-this.minY+t.minY,0),Math.max(this.maxX-t.maxX,0),Math.max(this.maxY-t.maxY,0),Math.max(-this.minX+t.minX,0)]},t.prototype.collide=function(t){return this.minX<t.maxX&&this.maxX>t.minX&&this.minY<t.maxY&&this.maxY>t.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 tt(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}function et(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 nt(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function rt(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function it(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,i=t.end;n=Z(e.x,r.x,i.x)&&Z(e.y,r.y,i.y)}else{var o=t.invert(e);n=Z(o.x,0,1)&&Z(o.y,0,1)}return n}function ot(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function at(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:X(l.x,l.y,u+e,s,s)},endState:function(t){var n=(c-s)*t+s,r=X(l.x,l.y,u+e,s,n);return{path:r}},attrs:{path:X(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 st(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 J.fromRange(a-e,s-e,a+i+e,s+o+e)}var ct=/^(?:(?!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 lt(t){var e="linear";return ct.test(t)?e="timeCat":Object(s["isString"])(t)&&(e="cat"),e}function ut(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(L["getScale"])("identity");return new i({field:t.toString(),values:[t]})}var o=Object(s["valuesOfKey"])(r,t),c=Object(s["get"])(n,"type",lt(o[0])),l=Object(L["getScale"])(c);return new l(Object(a["__assign"])({field:t,values:o},n))}function ht(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 ft(t){return t.alias||t.field}function pt(t,e,n){var r,i=t.values,o=i.length;if(1===o)r=[.5,1];else{var a=1,c=0;nt(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}var dt=n("6JdA");function gt(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 yt(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 vt(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=gt(e):t.isPolar&&(n=yt(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}}function mt(t){var e=t.start,n=t.end;return e.x===n.x}function bt(t,e){var n=t.start,r=t.end,i=mt(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 xt(t,e){return Object(s["get"])(t,["components","axis",e],{})}function Ot(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?dt["vec2"].angle(a,s):-1*dt["vec2"].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 wt(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e])}function jt(t,e){return Object(s["get"])(t,"position",e)}function Ct(t,e){return Object(s["get"])(e,["title","text"],ft(t))}var St=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=wt(a,l),f=wt(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}(),kt={},Mt=function(t){return kt[Object(s["lowerCase"])(t)]},_t=function(t,e){kt[Object(s["lowerCase"])(t)]=e},At=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}(),Tt=At,Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(Tt),Pt=Et,Lt={};function It(t,e){var n=Lt[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 Ft(t,e,n){Lt[t]={ActionClass:e,cfg:n}}function Dt(t,e){var n=new Pt(e);return n.callback=t,n.name="callback",n}function Bt(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}function Rt(t,e){for(var n=[t[0]],r=1,i=t.length;r<i;r+=2){var o=e.convert({x:t[r],y:t[r+1]});n.push(o.x,o.y)}return n}function Nt(t,e){var n=e.isTransposed,r=t[1],i=t[6],o=t[7],a=e.convert({x:i,y:o}),s=n?0:1;return["A",r,r,0,0,s,a.x,a.y]}function Yt(t,e,n){var r=n.isTransposed,i=n.startAngle,o=n.endAngle,a="a"===t[0].toLowerCase()?{x:t[6],y:t[7]}:{x:t[1],y:t[2]},s={x:e[1],y:e[2]},c=[],l=r?"y":"x",u=Math.abs(s[l]-a[l])*(o-i),h=s[l]>=a[l]?1:0,f=u>Math.PI?1:0,p=n.convert(s),d=rt(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 zt(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 Gt=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<h;u++){var f=t[u];a=dt["vec2"].min([0,0],a,f),s=dt["vec2"].max([0,0],s,f)}a=dt["vec2"].min([0,0],a,r[0]),s=dt["vec2"].max([0,0],s,r[1])}u=0;for(var p=t.length;u<p;u++){f=t[u];if(n)i=t[u?u-1:p-1],o=t[(u+1)%p];else{if(0===u||u===p-1){c.push(f);continue}i=t[u-1],o=t[u+1]}var d=[0,0];d=dt["vec2"].sub(d,o,i),d=dt["vec2"].scale(d,d,e);var g=dt["vec2"].distance(f,i),y=dt["vec2"].distance(f,o),v=g+y;0!==v&&(g/=v,y/=v);var m=dt["vec2"].scale([0,0],d,-g),b=dt["vec2"].scale([0,0],d,y),x=dt["vec2"].add([0,0],f,m),O=dt["vec2"].add([0,0],f,b);l&&(x=dt["vec2"].max([0,0],x,a),x=dt["vec2"].min([0,0],x,s),O=dt["vec2"].max([0,0],O,a),O=dt["vec2"].min([0,0],O,s)),c.push(x),c.push(O)}return n&&c.push(c.shift()),c};function Vt(t,e,n){for(var r=!!e,i=[],o=0,a=t.length;o<a;o+=2)i.push([t[o],t[o+1]]);var s,c,l,u=Gt(i,.4,r,n),h=i.length,f=[];for(o=0;o<h-1;o++)s=u[2*o],c=u[2*o+1],l=i[o+1],f.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]]);return r&&(s=u[h],c=u[h+1],l=i[0],f.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]])),f}function Xt(t,e){return Bt(t,e)}function Wt(t,e,n){var r=[],i=t[0],o=null;if(t.length<=2)return Xt(t,e);for(var a=0,s=t.length;a<s;a++){var c=t[a];o&&o.x===c.x&&o.y===c.y||(r.push(c.x),r.push(c.y),o=c)}var l=n||[[0,0],[1,1]],u=Vt(r,e,l);return u.unshift(["M",i.x,i.y]),u}function Ht(t,e){var n=[];return Object(s["each"])(e,function(e){var r=e[0];switch(r.toLowerCase()){case"m":case"l":case"c":n.push(Rt(e,t));break;case"a":n.push(Nt(e,t));break;case"z":default:n.push(e);break}}),n}function Ut(t,e){var n,r,i,o,a=[];return Object(s["each"])(e,function(s,c){var l=s[0];switch(l.toLowerCase()){case"m":case"c":case"q":a.push(Rt(s,t));break;case"l":n=e[c-1],r=s,i=t.isTransposed,o=i?n[n.length-2]===r[1]:n[n.length-1]===r[2],o?a=a.concat(Yt(n,r,t)):a.push(Rt(s,t));break;case"a":a.push(Nt(s,t));break;case"z":default:a.push(s);break}}),zt(a),a}var qt=n("LvGN");function Zt(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?i:null}function Kt(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?r.attr("path"):null}function Qt(t){var e,n=t.event,r=n.target;return r&&(e=r.get("element")),e}function $t(t){var e,n=t.event,r=n.target;return r&&(e=r.get("delegateObject")),e}function Jt(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function te(t){return t&&t.component&&t.component.isList()}function ee(t){return t&&t.component&&t.component.isSlider()}function ne(t){var e=t.event,n=e.target;return n&&"mask"===n.get("name")}function re(t,e){var n=t.event.target;if("path"===n.get("type")){var r=Kt(t,e);if(!r)return;return fe(t.view,r)}var i=Zt(t,e);return i?ue(t.view,i):null}function ie(t,e,n){var r=Zt(t,n);if(!r)return null;var i=t.view,o=be(i,e,{x:r.x,y:r.y}),a=be(i,e,{x:r.maxX,y:r.maxY}),s={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return ue(e,s)}function oe(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(oe(t))}),n}function ae(t,e,n){var r=oe(t);return r.filter(function(t){return ce(t,e)===n})}function se(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 ce(t,e){var n,r=t.getModel(),i=r.data;return n=Object(s["isArray"])(i)?i[0][e]:i[e],n}function le(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function ue(t,e){var n=oe(t),r=[];return Object(s["each"])(n,function(t){var n=t.shape,i=n.getCanvasBBox();le(e,i)&&r.push(t)}),r}function he(t){var e=[];return Object(s["each"])(t,function(t){var n=t[0];if("A"!==n)for(var r=1;r<t.length;r+=2)e.push([t[r],t[r+1]]);else{var i=t.length;e.push([t[i-2],t[i-1]])}}),e}function fe(t,e){var n=oe(t),r=he(e),i=n.filter(function(t){var e,n=t.shape;if("path"===n.get("type"))e=he(n.attr("path"));else{var i=n.getCanvasBBox();e=tt(i)}return Object(qt["isPolygonsIntersect"])(r,e)});return i}function pe(t){return t.getComponents().map(function(t){return t.component})}function de(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function ge(t,e){if(t.length<=2)return Xt(t,!1);var n=t[0],r=[];Object(s["each"])(t,function(t){r.push(t.x),r.push(t.y)});var i=Vt(r,e,null);return i.unshift(["M",n.x,n.y]),i}function ye(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y}function ve(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function me(t,e){var n=t.getCoordinate();return n.invert(e)}function be(t,e,n){var r=me(t,n);return e.getCoordinate().convert(r)}function xe(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 Oe(t,e){var n=t.getScaleByField(e);return!n&&t.views&&Object(s["each"])(t.views,function(t){if(n=Oe(t,e),n)return!1}),n}var we=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length)return this.cacheMap[t[0]];2===t.length&&(this.cacheMap[t[0]]=t[1])},t.prototype.getAction=function(t){return this.actions.find(function(e){return e.name===t})},t.prototype.addAction=function(t){this.actions.push(t)},t.prototype.removeAction=function(t){var e=this.actions,n=this.actions.indexOf(t);n>=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;if(t){if(t.target instanceof HTMLElement){var e=this.view.getCanvas(),n=e.getPointByClient(t.clientX,t.clientY);return n}return{x:t.x,y:t.y}}return null},t.prototype.getCurrentShape=function(){return 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=pe(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&ye(r,n):ye(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}(),je=we,Ce=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}(),Se=Ce;function ke(t,e){var n=t.split(":"),r=n[0],i=e.getAction(r)||It(r,e);if(!i)throw new Error("There is no action named "+r);var o=n[1];return{action:i,methodName:o}}function Me(t){var e=t.action,n=t.methodName;if(!e[n])throw new Error("Action("+e.name+") doesn't have a method called "+n);e[n]()}var _e={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},Ae=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["__extends"])(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 je(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:Dt(t.action,e),methodName:"execute"};else if(Object(s["isString"])(t.action))t.actionObject=ke(t.action,e);else if(Object(s["isArray"])(t.action)){var n=t.action;t.actionObject=[],Object(s["each"])(n,function(n){t.actionObject.push(ke(n,e))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===_e.SHOW_ENABLE)return!0;if(t===_e.PROCESSING)return e===_e.START;if(t===_e.START)return e!==_e.PROCESSING;if(t===_e.END)return e===_e.PROCESSING||e===_e.START;if(t===_e.ROLLBACK){if(n[_e.END])return e===_e.END;if(e===_e.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!==_e.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,Me(t)}):(r.event=i,Me(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}(Se),Te=Ae,Ee={};function Pe(t){return Ee[Object(s["lowerCase"])(t)]}function Le(t,e){Ee[Object(s["lowerCase"])(t)]=e}function Ie(t,e,n){var r=Pe(t);if(!r)return null;if(Object(s["isPlainObject"])(r)){var i=Object(s["mix"])(Object(s["clone"])(r),n);return new Te(e,i)}var o=r;return new o(e,n)}function Fe(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 De(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 Be(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=Fe(t),i=De(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=H(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:dt["ext"].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["__assign"])(Object(a["__assign"])({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:Object(a["__assign"])(Object(a["__assign"])({},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[""+I["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[""+I["TOOLTIP_CSS_CONST"].TITLE_CLASS]={marginBottom:"12px",marginTop:"12px"},e[""+I["TOOLTIP_CSS_CONST"].LIST_CLASS]={margin:0,listStyleType:"none",padding:0},e[""+I["TOOLTIP_CSS_CONST"].LIST_ITEM_CLASS]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e[""+I["TOOLTIP_CSS_CONST"].MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e[""+I["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]}}},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 Re={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Ne={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},Ye=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],ze=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],Ge=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"transparent":e,r=t.paletteQualitative10,i=void 0===r?Ye:r,o=t.paletteQualitative20,a=void 0===o?ze: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:Re[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:Re[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:Re[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:Re[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:Re[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:Re[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:Re[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:y,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:Re[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:Re[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:Re[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:Re[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:Re[25],annotationArcBorderColor:Re[15],annotationArcBorder:1,annotationLineBorderColor:Re[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:Re[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:Re[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:Re[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:Re[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:Re[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Ne[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:Re[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Ne[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:Re[25],pointFillColor:y,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Ne[100],pointBorderOpacity:1,pointActiveBorderColor:Re[100],pointSelectedBorder:2,pointSelectedBorderColor:Re[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:y,hollowPointBorderOpacity:.95,hollowPointFillColor:Ne[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:Re[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:Re[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:Re[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:Re[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:y,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:Re[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:Re[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:y,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Ne[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:Re[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:Re[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}};Ge();function Ve(t){var e=t.styleSheet,n=void 0===e?{}:e,r=Object(a["__rest"])(t,["styleSheet"]),i=Ge(n);return Object(s["deepMix"])({},Be(i),r)}var Xe=Ve({}),We={default:Xe};function He(t){return Object(s["get"])(We,Object(s["lowerCase"])(t),We.default)}function Ue(t,e){We[Object(s["lowerCase"])(t)]=Ve(e)}function qe(t,e,n){var r=n.translate(t),i=n.translate(e);return Object(s["isNumberEqual"])(r,i)}function Ze(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 Ke(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 Qe=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;o<n;o++){var a=e[o],s=t.translate(a);s<r&&(r=s),s>i&&(i=s)}return(i-r)/(n-1)});function $e(t,e,n){var r=n;if(!n){var i=e.getAttribute("position"),o=i.getFields();r=o[0]}var a=e.scales;return a[r]?a[r].getText(t[r]):Object(s["hasKey"])(t,r)?t[r]:r}function Je(t){var e=Object(s["values"])(t.attributes);return Object(s["filter"])(e,function(t){return Object(s["contains"])(p,t.type)})}function tn(t){for(var e,n=Je(t),r=0,i=n;r<i.length;r++){var o=i[r],a=o.getScale(o.type);if(a&&a.isLinear){e=a;break}}var s=t.getXScale(),c=t.getYScale();return e||c||s}function en(t,e){var n=e.field,r=t[n];if(Object(s["isArray"])(r)){var i=r.map(function(t){return e.getText(t)});return i.join("-")}return e.getText(r)}function nn(t,e){var n,r=e.getGroupScales();if(r.length&&(n=r[0]),n){var i=n.field;return n.getText(t[i])}var o=tn(e);return ft(o)}function rn(t,e,n){if(0===e.length)return null;var r=n.type,i=n.getXScale(),o=n.getYScale(),a=i.field,c=o.field,l=null;if("heatmap"===r||"point"===r){for(var u=n.coordinate,h=u.invert(t),f=i.invert(h.x),p=o.invert(h.y),g=1/0,y=0;y<e.length;y++){var v=e[y],m=v[d],b=Math.pow(m[a]-f,2)+Math.pow(m[c]-p,2);b<g&&(g=b,l=v)}return l}var x=e[0],O=e[e.length-1],w=Ze(t,n),j=x[d][a],C=x[d][c],S=O[d][a],k=o.isLinear&&Object(s["isArray"])(C);if(Object(s["isArray"])(j)){for(y=0;y<e.length;y++){var M=e[y];m=M[d];if(i.translate(m[a][0])<=w&&i.translate(m[a][1])>=w){if(!k){l=M;break}Object(s["isArray"])(l)||(l=[]),l.push(M)}}Object(s["isArray"])(l)&&(l=Ke(l,t,n))}else{var _=void 0;if(i.isLinear||"timeCat"===i.type){if((w>i.translate(S)||w<i.translate(j))&&(w>i.max||w<i.min))return null;var A=0,T=e.length-1,E=void 0;while(A<=T){E=Math.floor((A+T)/2);var P=e[E][d][a];if(qe(P,w,i))return e[E];i.translate(P)<=i.translate(w)?(A=E+1,O=e[E],_=e[E+1]):(0===T&&(O=e[0]),T=E-1)}}else{for(y=0;y<e.length;y++){M=e[y],m=M[d];if(qe(m[a],w,i)){if(!k){l=M;break}Object(s["isArray"])(l)||(l=[]),l.push(M)}else i.translate(m[a])<=w&&(O=M,_=e[y+1])}Object(s["isArray"])(l)&&(l=Ke(l,t,n))}O&&_&&Math.abs(i.translate(O[d][a])-w)>Math.abs(i.translate(_[d][a])-w)&&(O=_)}var L=Qe(n.getXScale());return!l&&Math.abs(i.translate(O[d][a])-w)<=L/2&&(l=O),l}function on(t,e,n){void 0===n&&(n="");var r,i,o=t[d],c=$e(o,e,n),l=e.tooltipOption,u=e.theme.defaultColor,h=[];function f(e,n){if(!Object(s["isNil"])(n)&&""!==n){var r={title:c,data:o,mappingData:t,name:e,value:n,color:t.color||u,marker:!0};h.push(r)}}if(Object(s["isObject"])(l)){var p=l.fields,g=l.callback;if(g){var y=p.map(function(e){return t[d][e]}),v=g.apply(void 0,y),m=Object(a["__assign"])({data:t[d],mappingData:t,title:c,color:t.color||u,marker:!0},v);h.push(m)}else for(var b=e.scales,x=0,O=p;x<O.length;x++){var w=O[x];if(!Object(s["isNil"])(o[w])){var j=b[w];r=ft(j),i=j.getText(o[w]),f(r,i)}}}else{var C=tn(e);Object(s["isNil"])(o[C.field])||(i=en(o,C),r=nn(o,e),f(r,i))}return h}function an(t){return!Object(s["isNumber"])(t)&&!Object(s["isArray"])(t)}function sn(t){void 0===t&&(t=0);var e=Object(s["isArray"])(t)?t:[t];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=Object(a["__spreadArrays"])(e,e);break;case 3:e=Object(a["__spreadArrays"])(e,[e[1]]);break;default:e=e.slice(0,4);break}return e}var cn={};function ln(t,e){cn[t]=e}function un(){return Object.keys(cn)}function hn(t){return cn[t]}var fn=function(){function t(t){this.option=this.wrapperOption(t)}return t.prototype.update=function(t){return this.option=this.wrapperOption(t),this},t.prototype.hasAction=function(t){var e=this.option.actions;return Object(s["some"])(e,function(e){return e[0]===t})},t.prototype.create=function(t,e){var n=this.option,r=n.type,i=n.cfg,o="theta"===r,s=Object(a["__assign"])({start:t,end:e},i),c=Object(P["getCoordinate"])(o?"polar":r);return this.coordinate=new c(s),this.coordinate.type=r,o&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},t.prototype.adjust=function(t,e){return this.coordinate.update({start:t,end:e}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},t.prototype.rotate=function(t){return this.option.actions.push(["rotate",t]),this},t.prototype.reflect=function(t){return this.option.actions.push(["reflect",t]),this},t.prototype.scale=function(t,e){return this.option.actions.push(["scale",t,e]),this},t.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},t.prototype.getOption=function(){return this.option},t.prototype.getCoordinate=function(){return this.coordinate},t.prototype.wrapperOption=function(t){return Object(a["__assign"])({type:"rect",actions:[],cfg:{}},t)},t.prototype.execActions=function(t){var e=this,n=this.option.actions;Object(s["each"])(n,function(n){var r,i=n[0],o=n.slice(1),a=!!Object(s["isNil"])(t)||t.includes(i);a&&(r=e.coordinate)[i].apply(r,o)})},t}(),pn=fn,dn=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,r){return new t(e,new A["Event"](n,{}),r)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}(),gn=dn;function yn(t){var e=t.getController("axis"),n=t.getController("legend"),r=t.getController("annotation"),i=t.getController("slider"),o=t.getController("scrollbar");[e,i,o,n,r].forEach(function(t){t&&t.layout()})}var vn=function(){function t(){this.scales=new Map,this.syncScales=new Map}return t.prototype.createScale=function(t,e,n,r){var i=n,o=this.getScaleMeta(r);if(0===e.length&&o){var a=o.scale,c={type:a.type};a.isCategory&&(c.values=a.values),i=Object(s["deepMix"])(c,o.scaleDef,n)}var l=ut(t,e,i);return this.cacheScale(l,n,r),l},t.prototype.sync=function(t,e){var n=this;this.syncScales.forEach(function(r,i){var o=Number.MAX_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER,c=[];Object(s["each"])(r,function(t){var e=n.getScale(t);a=Object(s["isNumber"])(e.max)?Math.max(a,e.max):a,o=Object(s["isNumber"])(e.min)?Math.min(o,e.min):o,Object(s["each"])(e.values,function(t){c.includes(t)||c.push(t)})}),Object(s["each"])(r,function(r){var i=n.getScale(r);if(i.isContinuous)i.change({min:o,max:a,values:c});else if(i.isCategory){var l=i.range,u=n.getScaleMeta(r);c&&!Object(s["get"])(u,["scaleDef","range"])&&(l=pt(Object(s["deepMix"])({},i,{values:c}),t,e)),i.change({values:c,range:l})}})})},t.prototype.cacheScale=function(t,e,n){var r=this.getScaleMeta(n);r&&r.scale.type===t.type?(ht(r.scale,t),r.scaleDef=e):(r={key:n,scale:t,scaleDef:e},this.scales.set(n,r));var i=this.getSyncKey(r);if(r.syncKey=i,this.removeFromSyncScales(n),i){var o=this.syncScales.get(i);o||(o=[],this.syncScales.set(i,o)),o.push(n)}},t.prototype.getScale=function(t){var e=this.getScaleMeta(t);if(!e){var n=Object(s["last"])(t.split("-")),r=this.syncScales.get(n);r&&r.length&&(e=this.getScaleMeta(r[0]))}return e&&e.scale},t.prototype.deleteScale=function(t){var e=this.getScaleMeta(t);if(e){var n=e.syncKey,r=this.syncScales.get(n);if(r&&r.length){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}}this.scales.delete(t)},t.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},t.prototype.removeFromSyncScales=function(t){var e=this;this.syncScales.forEach(function(n,r){var i=n.indexOf(t);if(-1!==i)return n.splice(i,1),0===n.length&&e.syncScales.delete(r),!1})},t.prototype.getSyncKey=function(t){var e=t.scale,n=t.scaleDef,r=e.field,i=Object(s["get"])(n,["sync"]);return!0===i?r:!1===i?void 0:i},t.prototype.getScaleMeta=function(t){return this.scales.get(t)},t}(),mn=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=t,this.right=e,this.bottom=n,this.left=r}return t.instance=function(e,n,r,i){return void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=0),new t(e,n,r,i)},t.prototype.max=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return this.top=Math.max(this.top,e),this.right=Math.max(this.right,n),this.bottom=Math.max(this.bottom,r),this.left=Math.max(this.left,i),this},t.prototype.shrink=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return this.top+=e,this.right+=n,this.bottom+=r,this.left+=i,this},t.prototype.inc=function(t,e){var n=t.width,r=t.height;switch(e){case i.TOP:case i.TOP_LEFT:case i.TOP_RIGHT:this.top+=r;break;case i.RIGHT:case i.RIGHT_TOP:case i.RIGHT_BOTTOM:this.right+=n;break;case i.BOTTOM:case i.BOTTOM_LEFT:case i.BOTTOM_RIGHT:this.bottom+=r;break;case i.LEFT:case i.LEFT_TOP:case i.LEFT_BOTTOM:this.left+=n;break;default:break}return this},t.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},t.prototype.clone=function(){return new(t.bind.apply(t,Object(a["__spreadArrays"])([void 0],this.getPadding())))},t}();function bn(t){var e=t.padding;if(!an(e))return new(mn.bind.apply(mn,Object(a["__spreadArrays"])([void 0],sn(e))));var n=t.viewBBox,r=new mn,i=[],c=[],l=[];return Object(s["each"])(t.getComponents(),function(t){var e=t.type;e===o.AXIS?i.push(t):[o.LEGEND,o.SLIDER,o.SCROLLBAR].includes(e)?c.push(t):e!==o.GRID&&e!==o.TOOLTIP&&l.push(t)}),Object(s["each"])(i,function(t){var e=t.component,i=e.getLayoutBBox(),o=new J(i.x,i.y,i.width,i.height),a=o.exceed(n);r.max(a)}),Object(s["each"])(c,function(t){var e=t.component,n=t.direction,i=e.getLayoutBBox(),o=e.get("padding"),a=new J(i.x,i.y,i.width,i.height).expand(o);r.inc(a,n)}),Object(s["each"])(l,function(t){var e=t.component,n=t.direction,i=e.getLayoutBBox(),o=new J(i.x,i.y,i.width,i.height);r.inc(o,n)}),r}function xn(t,e,n){var r=n.instance();e.forEach(function(t){t.autoPadding=r.max(t.autoPadding.getPadding())})}var On=function(t){function e(e){var n=t.call(this,{visible:e.visible})||this;n.views=[],n.geometries=[],n.controllers=[],n.interactions={},n.limitInPlot=!1,n.options={data:[],animate:!0},n.usedControllers=un(),n.scalePool=new vn,n.layoutFunc=yn,n.isPreMouseInPlot=!1,n.isDataChanged=!1,n.isCoordinateChanged=!1,n.createdScaleKeys=new Map,n.onCanvasEvent=function(t){var e=t.name;if(!e.includes(":")){var r=n.createViewEvent(t);n.doPlotEvent(r),n.emit(e,r)}},n.onDelegateEvents=function(t){var e=t.name;if(e.includes(":")){var r=n.createViewEvent(t);n.emit(e,r)}};var r=e.id,i=void 0===r?Object(s["uniqueId"])("view"):r,o=e.parent,c=e.canvas,l=e.backgroundGroup,u=e.middleGroup,h=e.foregroundGroup,f=e.region,p=void 0===f?{start:{x:0,y:0},end:{x:1,y:1}}:f,d=e.padding,g=e.appendPadding,y=e.theme,v=e.options,m=e.limitInPlot,b=e.syncViewPadding;return n.parent=o,n.canvas=c,n.backgroundGroup=l,n.middleGroup=u,n.foregroundGroup=h,n.region=p,n.padding=d,n.appendPadding=g,n.options=Object(a["__assign"])(Object(a["__assign"])({},n.options),v),n.limitInPlot=m,n.id=i,n.syncViewPadding=b,n.themeObject=Object(s["isObject"])(y)?Object(s["deepMix"])({},He("default"),Ve(y)):He(y),n.init(),n}return Object(a["__extends"])(e,t),e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t){void 0===t&&(t=!1),this.emit(c.BEFORE_RENDER),this.paint(t),this.emit(c.AFTER_RENDER),!1===this.visible&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(c.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var e=this.geometries,n=0;n<e.length;n++)e[n].clear(),e[n].container.remove(!0);this.geometries=[];var r=this.controllers;for(n=0;n<r.length;n++)"annotation"===r[n].name?r[n].clear(!0):r[n].clear();this.createdScaleKeys.forEach(function(e,n){t.getRootView().scalePool.deleteScale(n)}),this.createdScaleKeys.clear();var i=this.views;for(n=0;n<i.length;n++)i[n].clear();this.emit(c.AFTER_CLEAR)},e.prototype.destroy=function(){this.emit(c.BEFORE_DESTROY);var e=this.interactions;Object(s["each"])(e,function(t){t&&t.destroy()}),this.clear();for(var n=this.controllers,r=0,i=n.length;r<i;r++){var o=n[r];o.destroy()}this.backgroundGroup.remove(!0),this.middleGroup.remove(!0),this.foregroundGroup.remove(!0),t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e);for(var n=this.geometries,r=0,i=n.length;r<i;r++){var o=n[r];o.changeVisible(e)}var a=this.controllers;for(r=0,i=a.length;r<i;r++){var s=a[r];s.changeVisible(e)}return this.foregroundGroup.set("visible",e),this.middleGroup.set("visible",e),this.backgroundGroup.set("visible",e),this.getCanvas().draw(),this},e.prototype.data=function(t){return Object(s["set"])(this.options,"data",t),this.isDataChanged=!0,this},e.prototype.source=function(t){return console.warn("This method will be removed at G2 V4.1. Please use chart.data() instead."),this.data(t)},e.prototype.filter=function(t,e){return Object(s["isFunction"])(e)?(Object(s["set"])(this.options,["filters",t],e),this):(!e&&Object(s["get"])(this.options,["filters",t])&&delete this.options.filters[t],this)},e.prototype.axis=function(t,e){return Object(s["isBoolean"])(t)?Object(s["set"])(this.options,["axes"],t):Object(s["set"])(this.options,["axes",t],e),this},e.prototype.legend=function(t,e){return Object(s["isBoolean"])(t)?Object(s["set"])(this.options,["legends"],t):Object(s["isString"])(t)?Object(s["set"])(this.options,["legends",t],e):Object(s["set"])(this.options,["legends"],t),this},e.prototype.scale=function(t,e){var n=this;return Object(s["isString"])(t)?Object(s["set"])(this.options,["scales",t],e):Object(s["isObject"])(t)&&Object(s["each"])(t,function(t,e){Object(s["set"])(n.options,["scales",e],t)}),this},e.prototype.tooltip=function(t){return Object(s["set"])(this.options,"tooltip",t),this},e.prototype.annotation=function(){return this.getController("annotation")},e.prototype.guide=function(){return console.warn("This method will be removed at G2 V4.1. Please use chart.annotation() instead."),this.annotation()},e.prototype.coordinate=function(t,e){return Object(s["isString"])(t)?Object(s["set"])(this.options,"coordinate",{type:t,cfg:e}):Object(s["set"])(this.options,"coordinate",t),this.coordinateController.update(this.options.coordinate),this.coordinateController},e.prototype.coord=function(t,e){return console.warn("This method will be removed at G2 V4.1. Please use chart.coordinate() instead."),this.coordinate(t,e)},e.prototype.facet=function(t,e){this.facetInstance&&this.facetInstance.destroy();var n=Mt(t);if(!n)throw new Error("facet '"+t+"' is not exist!");return this.facetInstance=new n(this,Object(a["__assign"])(Object(a["__assign"])({},e),{type:t})),this},e.prototype.animate=function(t){return Object(s["set"])(this.options,"animate",t),this},e.prototype.updateOptions=function(t){return this.clear(),Object(s["mix"])(this.options,t),this.views.forEach(function(t){return t.destroy()}),this.views=[],this.initOptions(),this.coordinateBBox=this.viewBBox,this},e.prototype.option=function(t,n){if(e.prototype[t])throw new Error("Can't use built in variable name \""+t+'", please change another one.');return Object(s["set"])(this.options,t,n),this},e.prototype.theme=function(t){return this.themeObject=Object(s["isObject"])(t)?Object(s["deepMix"])({},this.themeObject,Ve(t)):He(t),this},e.prototype.interaction=function(t,e){var n=this.interactions[t];n&&n.destroy();var r=Ie(t,this,e);return r&&(r.init(),this.interactions[t]=r),this},e.prototype.removeInteraction=function(t){var e=this.interactions[t];e&&(e.destroy(),this.interactions[t]=void 0)},e.prototype.changeData=function(t){this.isDataChanged=!0,this.emit(c.BEFORE_CHANGE_DATA),this.data(t),this.paint(!0);for(var e=this.views,n=0,r=e.length;n<r;n++){var i=e[n];i.changeData(t)}this.emit(c.AFTER_CHANGE_DATA)},e.prototype.createView=function(t){this.parent&&this.parent.parent&&console.warn("The view nesting recursive feature will be removed at G2 V4.1. Please avoid to use it.");var n={data:this.options.data,scales:Object(s["clone"])(this.options.scales),axes:Object(s["clone"])(this.options.axes),coordinate:Object(s["clone"])(this.coordinateController.getOption()),tooltip:Object(s["clone"])(this.options.tooltip),legends:Object(s["clone"])(this.options.legends),animate:this.options.animate,visible:this.visible},r=new e(Object(a["__assign"])(Object(a["__assign"])({parent:this,canvas:this.canvas,backgroundGroup:this.backgroundGroup.addGroup({zIndex:f.BG}),middleGroup:this.middleGroup.addGroup({zIndex:f.MID}),foregroundGroup:this.foregroundGroup.addGroup({zIndex:f.FORE}),theme:this.themeObject,padding:this.padding},t),{options:Object(a["__assign"])(Object(a["__assign"])({},n),Object(s["get"])(t,"options",{}))}));return this.views.push(r),r},e.prototype.view=function(t){return console.warn("This method will be removed at G2 V4.1. Please use chart.createView() instead."),this.createView(t)},e.prototype.removeView=function(t){var e=Object(s["remove"])(this.views,function(e){return e===t})[0];return e&&e.destroy(),e},e.prototype.getCoordinate=function(){return this.coordinateInstance},e.prototype.getTheme=function(){return this.themeObject},e.prototype.getXScale=function(){var t=this.geometries[0];return t?t.getXScale():null},e.prototype.getYScales=function(){var t={};return this.geometries.map(function(e){var n=e.getYScale(),r=n.field;if(!t[r])return t[r]=!0,n})},e.prototype.getScalesByDim=function(t){for(var e=this.geometries,n={},r=0,i=e.length;r<i;r++){var o=e[r],a="x"===t?o.getXScale():o.getYScale();a&&!n[a.field]&&(n[a.field]=a)}return n},e.prototype.getScaleByField=function(t,e){var n=e||this.getScaleKey(t);return this.getRootView().scalePool.getScale(n)},e.prototype.getOptions=function(){return this.options},e.prototype.getData=function(){return this.filteredData},e.prototype.getLayer=function(t){return t===r.BG?this.backgroundGroup:t===r.MID?this.middleGroup:(r.FORE,this.foregroundGroup)},e.prototype.isPointInPlot=function(t){return it(this.getCoordinate(),t)},e.prototype.getLegendAttributes=function(){return Object(s["flatten"])(this.geometries.map(function(t){return t.getGroupAttributes()}))},e.prototype.getGroupScales=function(){var t=this.geometries.map(function(t){return t.getGroupScales()});return $(Object(s["flatten"])(t))},e.prototype.getCanvas=function(){return this.getRootView().canvas},e.prototype.getRootView=function(){var t=this;while(1){if(!t.parent)break;t=t.parent}return t},e.prototype.getXY=function(t){var e,n,r=this.getCoordinate(),i=this.getScalesByDim("x"),o=this.getScalesByDim("y");if(Object(s["each"])(t,function(t,r){i[r]&&(e=i[r].scale(t)),o[r]&&(n=o[r].scale(t))}),!Object(s["isNil"])(e)&&!Object(s["isNil"])(n))return r.convert({x:e,y:n})},e.prototype.getController=function(t){return Object(s["find"])(this.controllers,function(e){return e.name===t})},e.prototype.showTooltip=function(t){var e=this.getController("tooltip");return e&&e.showTooltip(t),this},e.prototype.hideTooltip=function(){var t=this.getController("tooltip");return t&&t.hideTooltip(),this},e.prototype.lockTooltip=function(){var t=this.getController("tooltip");return t&&t.lockTooltip(),this},e.prototype.unlockTooltip=function(){var t=this.getController("tooltip");return t&&t.unlockTooltip(),this},e.prototype.isTooltipLocked=function(){var t=this.getController("tooltip");return t&&t.isTooltipLocked()},e.prototype.getTooltipItems=function(t){var e=this.getController("tooltip");return e?e.getTooltipItems(t):[]},e.prototype.getSnapRecords=function(t){for(var e=this.geometries,n=[],r=0,i=e.length;r<i;r++){var o=e[r],a=o.dataArray;o.sort(a);for(var s=void 0,c=0,l=a.length;c<l;c++){var u=a[c];s=rn(t,u,o),s&&n.push(s)}}var h=this.views;for(r=0,i=h.length;r<i;r++){var f=h[r],p=f.getSnapRecords(t);n=n.concat(p)}return n},e.prototype.getComponents=function(){for(var t=[],e=this.controllers,n=0,r=e.length;n<r;n++){var i=e[n];t=t.concat(i.getComponents())}return t},e.prototype.filterData=function(t){var e=this.options.filters;return 0===Object(s["size"])(e)?t:Object(s["filter"])(t,function(t,n){var r=Object.keys(e);return r.every(function(r){var i=e[r];return i(t[r],t,n)})})},e.prototype.filterFieldData=function(t,e){var n=this.options.filters,r=Object(s["get"])(n,t);return Object(s["isUndefined"])(r)?e:e.filter(function(e,n){return r(e[t],e,n)})},e.prototype.adjustCoordinate=function(){var t=this.getCoordinate(),e=t.start,n=t.end,r=this.coordinateBBox.bl,i=this.coordinateBBox.tr;Object(s["isEqual"])(e,r)&&Object(s["isEqual"])(n,i)?this.isCoordinateChanged=!1:(this.isCoordinateChanged=!0,this.coordinateInstance=this.coordinateController.adjust(r,i))},e.prototype.paint=function(t){this.renderDataRecursive(t),this.syncScale(),this.emit(c.BEFORE_PAINT),this.renderPaddingRecursive(t),this.renderLayoutRecursive(t),this.renderBackgroundStyleShape(),this.renderPaintRecursive(t),this.emit(c.AFTER_PAINT),this.isDataChanged=!1},e.prototype.renderBackgroundStyleShape=function(){if(!this.parent){var t=Object(s["get"])(this.themeObject,"background");if(t){this.backgroundStyleRectShape||(this.backgroundStyleRectShape=this.backgroundGroup.addShape("rect",{attrs:{},zIndex:-1,capture:!1}),this.backgroundStyleRectShape.toBack());var e=this.viewBBox,n=e.x,r=e.y,i=e.width,o=e.height;this.backgroundStyleRectShape.attr({fill:t,x:n,y:r,width:i,height:o})}else this.backgroundStyleRectShape&&(this.backgroundStyleRectShape.remove(!0),this.backgroundStyleRectShape=void 0)}},e.prototype.renderPaddingRecursive=function(t){this.calculateViewBBox(),this.adjustCoordinate(),this.initComponents(t),this.autoPadding=bn(this).shrink(sn(this.appendPadding)),this.coordinateBBox=this.viewBBox.shrink(this.autoPadding.getPadding()),this.adjustCoordinate();for(var e=this.views,n=0,r=e.length;n<r;n++){var i=e[n];i.renderPaddingRecursive(t)}},e.prototype.renderLayoutRecursive=function(t){var e=!0===this.syncViewPadding?xn:Object(s["isFunction"])(this.syncViewPadding)?this.syncViewPadding:void 0;e&&(e(this,this.views,mn),this.views.forEach(function(t){t.coordinateBBox=t.viewBBox.shrink(t.autoPadding.getPadding()),t.adjustCoordinate()})),this.doLayout();for(var n=this.views,r=0,i=n.length;r<i;r++){var o=n[r];o.renderLayoutRecursive(t)}},e.prototype.renderPaintRecursive=function(t){var e=this.middleGroup;if(this.limitInPlot){var n=at(this.coordinateInstance),r=n.type,i=n.attrs;e.setClip({type:r,attrs:i})}else e.setClip(void 0);this.paintGeometries(t),this.renderComponents(t);for(var o=this.views,a=0,s=o.length;a<s;a++){var c=o[a];c.renderPaintRecursive(t)}},e.prototype.createScale=function(t,e,n,r){var i=Object(s["get"])(this.options.scales,[t]),o=Object(a["__assign"])(Object(a["__assign"])({},i),n);return this.parent?this.parent.createScale(t,e,o,r):this.scalePool.createScale(t,e,o,r)},e.prototype.renderDataRecursive=function(t){this.doFilterData(),this.createCoordinate(),this.initGeometries(t),this.renderFacet(t);for(var e=this.views,n=0,r=e.length;n<r;n++){var i=e[n];i.renderDataRecursive(t)}},e.prototype.calculateViewBBox=function(){var t,e,n,r;if(this.parent){var i=this.parent.coordinateBBox;t=i.x,e=i.y,n=i.width,r=i.height}else t=0,e=0,n=this.canvas.get("width"),r=this.canvas.get("height");var o=this.region,a=o.start,s=o.end,c=new J(t+n*a.x,e+r*a.y,n*(s.x-a.x),r*(s.y-a.y));this.viewBBox&&this.viewBBox.isEqual(c)||(this.viewBBox=new J(t+n*a.x,e+r*a.y,n*(s.x-a.x),r*(s.y-a.y))),this.coordinateBBox=this.viewBBox},e.prototype.initEvents=function(){this.foregroundGroup.on("*",this.onDelegateEvents),this.middleGroup.on("*",this.onDelegateEvents),this.backgroundGroup.on("*",this.onDelegateEvents),this.canvas.on("*",this.onCanvasEvent)},e.prototype.initComponentController=function(){for(var t=this.usedControllers,e=0,n=t.length;e<n;e++){var r=t[e],i=hn(r);i&&this.controllers.push(new i(this))}},e.prototype.createViewEvent=function(t){var e=t.shape,n=t.name,r=e?e.get("origin"):null,i=new gn(this,t,r);return i.type=n,i},e.prototype.doPlotEvent=function(t){var e=t.type,n=t.x,r=t.y,i={x:n,y:r},o=["mousedown","mouseup","mousemove","mouseleave","mousewheel","touchstart","touchmove","touchend","touchcancel","click","dblclick","contextmenu"];if(o.includes(e)){var a=this.isPointInPlot(i);if(a){var s="plot:"+e;t.type=s,this.emit(s,t),"mouseleave"!==e&&"touchend"!==e||(this.isPreMouseInPlot=!1)}"mousemove"===e||"touchmove"===e?(this.isPreMouseInPlot&&!a?("mousemove"===e&&(t.type=u.MOUSE_LEAVE,this.emit(u.MOUSE_LEAVE,t)),t.type=u.LEAVE,this.emit(u.LEAVE,t)):!this.isPreMouseInPlot&&a&&("mousemove"===e&&(t.type=u.MOUSE_ENTER,this.emit(u.MOUSE_ENTER,t)),t.type=u.ENTER,this.emit(u.ENTER,t)),this.isPreMouseInPlot=a):"mouseleave"!==e&&"touchend"!==e||this.isPreMouseInPlot&&("mouseleave"===e&&(t.type=u.MOUSE_LEAVE,this.emit(u.MOUSE_LEAVE,t)),t.type=u.LEAVE,this.emit(u.LEAVE,t),this.isPreMouseInPlot=!1)}},e.prototype.doFilterData=function(){var t=this.options.data;this.filteredData=this.filterData(t)},e.prototype.initGeometries=function(t){this.createOrUpdateScales();for(var e=this.getCoordinate(),n=Object(s["get"])(this.options,"scales",{}),r=this.geometries,i=0,o=r.length;i<o;i++){var a=r[i];a.scales=this.getGeometryScales();var c={coordinate:e,scaleDefs:n,data:this.filteredData,theme:this.themeObject,isDataChanged:this.isDataChanged,isCoordinateChanged:this.isCoordinateChanged};t?a.update(c):a.init(c)}this.adjustScales()},e.prototype.createOrUpdateScales=function(){for(var t=this.getScaleFields(),e=this.getGroupedFields(),n=this.getOptions(),r=n.data,i=n.scales,o=void 0===i?{}:i,a=this.filteredData,s=0,c=t.length;s<c;s++){var l=t[s],u=o[l],h=this.getScaleKey(l);this.createScale(l,e.includes(l)?r:a,u,h),this.createdScaleKeys.set(h,!0)}},e.prototype.syncScale=function(){this.getRootView().scalePool.sync(this.getCoordinate(),this.theme)},e.prototype.getGeometryScales=function(){for(var t=this.getScaleFields(),e={},n=0;n<t.length;n++){var r=t[n];e[r]=this.getScaleByField(r)}return e},e.prototype.getScaleFields=function(){for(var t=[],e={},n=this.geometries,r=0;r<n.length;r++){var i=n[r],o=i.getScaleFields();$(o,t,e)}return t},e.prototype.getGroupedFields=function(){for(var t=[],e={},n=this.geometries,r=0;r<n.length;r++){var i=n[r],o=i.getGroupFields();$(o,t,e)}return t},e.prototype.adjustScales=function(){this.adjustCategoryScaleRange()},e.prototype.adjustCategoryScaleRange=function(){var t=this,e=Object(a["__spreadArrays"])([this.getXScale()],this.getYScales()).filter(function(t){return!!t}),n=this.getCoordinate(),r=this.options.scales;Object(s["each"])(e,function(e){var i=e.field,o=e.values,a=e.isCategory,c=e.isIdentity;(a||c)&&o&&!Object(s["get"])(r,[i,"range"])&&(e.range=pt(e,n,t.theme))})},e.prototype.initComponents=function(t){for(var e=this.controllers,n=0;n<e.length;n++){var r=e[n];t?r.update():(r.clear(),r.render())}},e.prototype.doLayout=function(){this.layoutFunc(this)},e.prototype.createCoordinate=function(){var t=this.coordinateBBox.bl,e=this.coordinateBBox.tr;this.coordinateInstance=this.coordinateController.create(t,e)},e.prototype.paintGeometries=function(t){for(var e=this.options.animate,n=this.getCoordinate(),r={x:this.viewBBox.x,y:this.viewBBox.y,minX:this.viewBBox.minX,minY:this.viewBBox.minY,maxX:this.viewBBox.maxX,maxY:this.viewBBox.maxY,width:this.viewBBox.width,height:this.viewBBox.height},i=this.geometries,o=0;o<i.length;o++){var a=i[o];a.coordinate=n,a.canvasRegion=r,e||a.animate(!1),a.paint(t)}},e.prototype.renderComponents=function(t){for(var e=0;e<this.getComponents().length;e++){var n=this.getComponents()[e];n.component.render()}},e.prototype.renderFacet=function(t){this.facetInstance&&(t?this.facetInstance.update():(this.facetInstance.clear(),this.facetInstance.init(),this.facetInstance.render()))},e.prototype.initOptions=function(){var t=this,e=this.options,n=e.geometries,r=void 0===n?[]:n,i=e.interactions,o=void 0===i?[]:i,c=e.views,l=void 0===c?[]:c,u=e.annotations,h=void 0===u?[]:u,f=e.coordinate,p=e.events,d=e.facets;this.coordinateController?f&&this.coordinateController.update(f):this.coordinateController=new pn(f);for(var g=0;g<r.length;g++){var y=r[g];this.createGeometry(y)}for(var v=0;v<o.length;v++){var m=o[v],b=m.type,x=m.cfg;this.interaction(b,x)}for(var O=0;O<l.length;O++){var w=l[O];this.createView(w)}for(var j=this.getController("annotation"),C=0;C<h.length;C++){var S=h[C];j.annotation(S)}p&&Object(s["each"])(p,function(e,n){t.on(n,e)}),d&&Object(s["each"])(d,function(e){var n=e.type,r=Object(a["__rest"])(e,["type"]);t.facet(n,r)})},e.prototype.createGeometry=function(t){var e=t.type,n=t.cfg,r=void 0===n?{}:n;if(this[e]){var i=this[e](r);Object(s["each"])(t,function(t,e){Object(s["isFunction"])(i[e])&&i[e](t)})}},e.prototype.getScaleKey=function(t){return this.id+"-"+t},e}(_);function wn(t,e){On.prototype[t.toLowerCase()]=function(t){void 0===t&&(t={});var n=Object(a["__assign"])({container:this.middleGroup.addGroup(),labelsContainer:this.foregroundGroup.addGroup()},t),r=new e(n);return this.geometries.push(r),r}}var jn=On,Cn=function(t){function e(e){var n=this,r=e.container,i=e.width,o=e.height,c=e.autoFit,l=void 0!==c&&c,u=e.padding,h=e.appendPadding,p=e.renderer,d=void 0===p?"canvas":p,g=e.pixelRatio,y=e.localRefresh,v=void 0===y||y,m=e.visible,x=void 0===m||m,w=e.supportCSSTransform,j=void 0!==w&&w,S=e.defaultInteractions,k=void 0===S?["tooltip","legend-filter","legend-active","continuous-filter","ellipsis-text"]:S,M=e.options,_=e.limitInPlot,A=e.theme,T=e.syncViewPadding,E=Object(s["isString"])(r)?document.getElementById(r):r,P=Object(O["b"])('<div style="position:relative;"></div>');E.appendChild(P);var L=C(E,l,i,o),I=b(d),F=new I.Canvas(Object(a["__assign"])({container:P,pixelRatio:g,localRefresh:v,supportCSSTransform:j},L));return n=t.call(this,{parent:null,canvas:F,backgroundGroup:F.addGroup({zIndex:f.BG}),middleGroup:F.addGroup({zIndex:f.MID}),foregroundGroup:F.addGroup({zIndex:f.FORE}),padding:u,appendPadding:h,visible:x,options:M,limitInPlot:_,theme:A,syncViewPadding:T})||this,n.onResize=Object(s["debounce"])(function(){n.forceFit()},300),n.ele=E,n.canvas=F,n.width=L.width,n.height=L.height,n.autoFit=l,n.localRefresh=v,n.renderer=d,n.wrapperElement=P,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(k),n}return Object(a["__extends"])(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=C(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}(jn),Sn=Cn,kn=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 Mn(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;r<t.length;r++)n(r);return e}var _n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return Object(a["__extends"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){var t=this.view.getOptions().tooltip;return!1!==t},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(n.length){var r=this.getTitle(n),i={x:n[0].x,y:n[0].y};e.emit("tooltip:show",gn.fromData(e,"tooltip:show",Object(a["__assign"])({items:n,title:r},t)));var o=this.getTooltipCfg(),c=o.follow,l=o.showMarkers,u=o.showCrosshairs,h=o.showContent,f=o.marker,p=this.items,d=this.title;if(Object(s["isEqual"])(d,r)&&Object(s["isEqual"])(p,n)?(this.tooltip&&c&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",gn.fromData(e,"tooltip:change",Object(a["__assign"])({items:n,title:r},t))),h&&(this.tooltip||this.renderTooltip(),this.tooltip.update(Object(s["mix"])({},o,{items:n,title:r},c?t:{})),this.tooltip.show()),l&&this.renderTooltipMarkers(n,f)),this.items=n,this.title=r,u){var g=Object(s["get"])(o,["crosshairs","follow"],!1);this.renderCrosshairs(g?t:i,o)}}else this.hideTooltip()}},e.prototype.hideTooltip=function(){var t=this.getTooltipCfg().follow;if(t){var e=this.tooltipMarkersGroup;e&&e.hide();var n=this.xCrosshair,r=this.yCrosshair;n&&n.hide(),r&&r.hide();var i=this.tooltip;i&&i.hide(),this.view.emit("tooltip:hide",gn.fromData(this.view,"tooltip:hide",{})),this.point=null}else this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this,e=t.tooltip,n=t.xCrosshair,r=t.yCrosshair,i=t.tooltipMarkersGroup;e&&(e.hide(),e.clear()),n&&n.clear(),r&&r.clear(),i&&i.clear(),this.reset()},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this,n=e.tooltip,r=e.tooltipMarkersGroup,i=e.xCrosshair,o=e.yCrosshair;t?(n&&n.show(),r&&r.show(),i&&i.show(),o&&o.show()):(n&&n.hide(),r&&r.hide(),i&&i.hide(),o&&o.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){e=Object(s["flatten"])(e);for(var n=0,r=e;n<r.length;n++)for(var i=r[n],o=0,a=i;o<a.length;o++){var c=a[o],l=c.mappingData,u=l.x,h=l.y;c.x=Object(s["isArray"])(u)?u[u.length-1]:u,c.y=Object(s["isArray"])(h)?h[h.length-1]:h}var f=this.getTooltipCfg().shared;if(!1===f&&e.length>1){for(var p=e[0],d=Math.abs(t.y-p[0].y),g=0,y=e;g<y.length;g++){var v=y[g],m=Math.abs(t.y-v[0].y);m<=d&&(p=v,d=m)}e=[p]}return Mn(Object(s["flatten"])(e))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var e=this.tooltip.getContainer(),n=this.tooltip.get("capture");if(e&&n){var r=e.getBoundingClientRect(),i=r.x,o=r.y,a=r.width,s=r.height;return new J(i,o,a,s).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,e=t.getOptions().tooltip,n=this.processCustomContent(e),r=t.getTheme(),i=Object(s["get"])(r,["components","tooltip"],{}),o=Object(s["get"])(n,"enterable",i.enterable);return Object(s["deepMix"])({},i,n,{capture:!(!o&&!this.isLocked)})},e.prototype.processCustomContent=function(t){if(Object(s["isBoolean"])(t)||!Object(s["get"])(t,"customContent"))return t;var e=t.customContent,n=function(t,n){var r=e(t,n)||"";return Object(s["isString"])(r)?'<div class="g2-tooltip">'+r+"</div>":r};return Object(a["__assign"])(Object(a["__assign"])({},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 z(Object(a["__assign"])(Object(a["__assign"])({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<i.length;r++){var o=i[r],s=o.x,c=o.y,l=Object(a["__assign"])(Object(a["__assign"])({fill:o.color,symbol:"circle",shadowColor:o.color},e),{x:s,y:c});n.addShape("marker",{attrs:l})}},e.prototype.renderCrosshairs=function(t,e){var n=Object(s["get"])(e,["crosshairs","type"],"x");"x"===n?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,e)):"y"===n?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,e)):"xy"===n&&(this.renderXCrosshairs(t,e),this.renderYCrosshairs(t,e))},e.prototype.renderXCrosshairs=function(t,e){var n=this.getViewWithGeometry(this.view).getCoordinate();if(it(n,t)){var r,i;if(n.isRect)n.isTransposed?(r={x:n.start.x,y:t.y},i={x:n.end.x,y:t.y}):(r={x:t.x,y:n.end.y},i={x:t.x,y:n.start.y});else{var o=ot(n,t),a=n.getCenter(),c=n.getRadius();i=V(a.x,a.y,c,o),r=a}var l=Object(s["deepMix"])({start:r,end:i,container:this.getTooltipCrosshairsGroup()},Object(s["get"])(e,"crosshairs",{}),this.getCrosshairsText("x",t,e));delete l.type;var u=this.xCrosshair;u?u.update(l):(u=new I["Crosshair"].Line(l),u.init()),u.render(),u.show(),this.xCrosshair=u}},e.prototype.renderYCrosshairs=function(t,e){var n=this.getViewWithGeometry(this.view).getCoordinate();if(it(n,t)){var r,i;if(n.isRect){var o=void 0,a=void 0;n.isTransposed?(o={x:t.x,y:n.end.y},a={x:t.x,y:n.start.y}):(o={x:n.start.x,y:t.y},a={x:n.end.x,y:t.y}),r={start:o,end:a},i="Line"}else r={center:n.getCenter(),radius:rt(n,t),startAngle:n.startAngle,endAngle:n.endAngle},i="Circle";r=Object(s["deepMix"])({container:this.getTooltipCrosshairsGroup()},r,Object(s["get"])(e,"crosshairs",{}),this.getCrosshairsText("y",t,e)),delete r.type;var c=this.yCrosshair;c?n.isRect&&"circle"===c.get("type")||!n.isRect&&"line"===c.get("type")?(c=new I["Crosshair"][i](r),c.init()):c.update(r):(c=new I["Crosshair"][i](r),c.init()),c.render(),c.show(),this.yCrosshair=c}},e.prototype.getCrosshairsText=function(t,e,n){var r=Object(s["get"])(n,["crosshairs","text"]),i=Object(s["get"])(n,["crosshairs","follow"]),o=this.items;if(r){var a=this.getViewWithGeometry(this.view),c=o[0],l=a.getXScale(),u=a.getYScales()[0],h=void 0,f=void 0;if(i){var p=this.view.getCoordinate().invert(e);h=l.invert(p.x),f=u.invert(p.y)}else h=c.data[l.field],f=c.data[u.field];var d="x"===t?h:f;return Object(s["isFunction"])(r)?r=r(t,d,o,e):r.content=d,{text:r}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.getTooltipItemsByHitShape=function(t,e,n){var r=[],i=t.container,o=i.getShape(e.x,e.y);if(o&&o.get("visible")&&o.get("origin")){var a=o.get("origin").mappingData,s=on(a,t,n);s.length&&r.push(s)}return r},e.prototype.getTooltipItemsByFindData=function(t,e,n){var r=[],i=t.dataArray;if(!Object(s["isEmpty"])(i)){t.sort(i);for(var o=0,a=i;o<a.length;o++){var c=a[o],l=rn(e,c,t);if(l){var u=t.getElementId(l),h=t.elementsMap[u];if("heatmap"===t.type||h.visible){var f=on(l,t,n);f.length&&r.push(f)}}}}return r},e.prototype.findItemsFromView=function(t,e){if(!1===t.getOptions().tooltip)return[];for(var n=[],r=t.geometries,i=this.getTooltipCfg(),o=i.shared,a=i.title,s=i.reversed,c=0,l=r;c<l.length;c++){var u=l[c];if(u.visible&&!1!==u.tooltipOption){var h=u.type,f=void 0;f=["point","edge","polygon"].includes(h)?this.getTooltipItemsByHitShape(u,e,a):["area","line","path","heatmap"].includes(h)?this.getTooltipItemsByFindData(u,e,a):!1!==o?this.getTooltipItemsByFindData(u,e,a):this.getTooltipItemsByHitShape(u,e,a),f.length&&(s&&f.reverse(),n.push(f))}}for(var p=0,d=t.views;p<d.length;p++){var g=d[p];n=n.concat(this.findItemsFromView(g,e))}return n},e.prototype.getViewWithGeometry=function(t){var e=this;return t.geometries.length?t:Object(s["find"])(t.views,function(t){return e.getViewWithGeometry(t)})},e}(kn),An=_n,Tn={};function En(t){return Tn[t.toLowerCase()]}function Pn(t,e){Tn[t.toLowerCase()]=e}var Ln={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},In={interval:function(t){return{enter:{animation:t.isRect?t.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:t.isPolar&&t.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},Fn={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(t){var e;return t.isRect?e=t.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",t.isPolar&&t.isTransposed&&(e="wave-in")),{animation:e}},schema:function(t){var e;return e=t.isRect?t.isTransposed?"grow-in-x":"grow-in-y":"grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function Dn(t,e){return{delay:Object(s["isFunction"])(t.delay)?t.delay(e):t.delay,easing:Object(s["isFunction"])(t.easing)?t.easing(e):t.easing,duration:Object(s["isFunction"])(t.duration)?t.duration(e):t.duration,callback:t.callback}}function Bn(t,e,n){var r=In[t];return r&&(Object(s["isFunction"])(r)&&(r=r(e)),r=Object(s["deepMix"])({},Ln,r),n)?r[n]:r}function Rn(t,e,n){var r=Object(s["get"])(t.get("origin"),"data",d),i=e.animation,o=Dn(e,r);if(i){var a=En(i);a&&a(t,o,n)}else t.animate(n.toAttrs,o)}function Nn(t,e,n,r,i){if(Fn[n]){var o=Fn[n](r),c=En(Object(s["get"])(o,"animation",""));if(c){var l=Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},Ln.appear),o),e);t.stopAnimate(),c(t,l,{coordinate:r,minYPoint:i,toAttrs:null})}}}var Yn=function(t){function e(e){var n=t.call(this,e)||this;n.states=[];var r=e.shapeFactory,i=e.container,o=e.offscreenGroup,a=e.visible,s=void 0===a||a;return n.shapeFactory=r,n.container=i,n.offscreenGroup=o,n.visible=s,n}return Object(a["__extends"])(e,t),e.prototype.draw=function(t,e){void 0===e&&(e=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,e),!1===this.visible&&this.changeVisible(!1)},e.prototype.update=function(t){var e=this,n=e.shapeFactory,r=e.shape;if(r){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(r,t);var i=this.getOffscreenGroup(),o=n.drawShape(this.shapeType,t,i);o.cfg.data=this.data,o.cfg.origin=t,o.cfg.element=this,this.syncShapeStyle(r,o,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var e=this,n=e.shapeFactory,r=e.shape;if(r){var i=this.getAnimateCfg("leave");i?Rn(r,i,{coordinate:n.coordinate,toAttrs:Object(a["__assign"])({},r.attr())}):r.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=void 0,this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e),e?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(t){t.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(t){t.hide()}))},e.prototype.setState=function(t,e){var n=this,r=n.states,i=n.shapeFactory,o=n.model,a=n.shape,s=n.shapeType,c=r.indexOf(t);if(e){if(c>-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(I["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["__assign"])(Object(a["__assign"])({},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),Rn(this.shape,f,{coordinate:i.coordinate,toAttrs:Object(a["__assign"])({},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<h.length;p++)this.syncShapeStyle(h[p],f[p],n,r,i+p);else{if(!Object(s["isEmpty"])(n)&&!Object(s["isEqual"])(n,["reset"])){var d=t.get("name");Object(s["isArray"])(d)&&(d=d[1]),Object(s["each"])(n,function(t){var n=a.getStateStyle(t,d||i);e.attr(n)})}var g=q(t,e);this.animate?r?(null===(o=this.geometry)||void 0===o||o.emit(l.BEFORE_DRAW_ANIMATE),Rn(t,r,{coordinate:this.shapeFactory.coordinate,toAttrs:g,shapeModel:this.model})):Object(s["isEmpty"])(n)?(t.stopAnimate(),t.animate(g,{duration:300})):t.attr(g):t.attr(g)}}},e.prototype.getShapeType=function(t){var e=Object(s["get"])(t,"shape");return Object(s["isArray"])(e)?e[0]:e},e}(_),zn=Yn,Gn={},Vn={};function Xn(t){return Gn[t.toLowerCase()]}function Wn(t,e){Gn[t.toLowerCase()]=e}function Hn(t){return Vn[t.toLowerCase()]}function Un(t,e){Vn[t.toLowerCase()]=e}var qn={coordinate:null,defaultShapeType:null,theme:null,getShapePoints:function(t,e){var n=this.getShape(t);return n.getPoints?n.getPoints(e):this.getDefaultPoints(e)},getShape:function(t){var e=this[t]||this[this.defaultShapeType];return e.coordinate=this.coordinate,e},getDefaultPoints:function(){return[]},getDefaultStyle:function(t){return Object(s["get"])(t,[this.defaultShapeType,"default","style"],{})},getMarker:function(t,e){var n=this.getShape(t);if(!n.getMarker){var r=this.defaultShapeType;n=this.getShape(r)}var i=this.theme,o=Object(s["get"])(i,[t,"default"],{}),a=n.getMarker(e);return Object(s["deepMix"])({},o,a)},drawShape:function(t,e,n){var r=this.getShape(t);return r.draw(e,n)}},Zn={coordinate:null,parsePath:function(t){var e=this.coordinate,n=Object(qt["parsePathString"])(t);return n=e.isPolar?Ut(e,n):Ht(e,n),n},parsePoint:function(t){var e=this.coordinate;return e.convert(t)},parsePoints:function(t){var e=this.coordinate;return t.map(function(t){return e.convert(t)})},draw:function(t,e){}},Kn={};function Qn(t,e){var n=Object(s["upperFirst"])(t),r=Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},qn),e),{geometryType:t});return Kn[n]=r,r}function $n(t,e,n){var r=Object(s["upperFirst"])(t),i=Kn[r],o=Object(a["__assign"])(Object(a["__assign"])({},Zn),n);return i[e]=o,o}function Jn(t){var e=Object(s["upperFirst"])(t);return Kn[e]}function tr(t,e,n){if(void 0===n&&(n={}),!e)return[t];var r=Object(s["groupToMap"])(t,e),i=[];if(1===e.length&&n[e[0]])for(var o=n[e[0]],a=0,c=o;a<c.length;a++){var l=c[a],u=r["_"+l];u&&i.push(u)}else for(var h in r)if(r.hasOwnProperty(h)){var f=r[h];i.push(f)}return i}function er(t,e){return Object(s["some"])(["color","shape","size","x","y","isInCircle","data","style","defaultStyle","points","mappingData"],function(n){return!Object(s["isEqual"])(t[n],e[n])})}function nr(t){return Object(s["isArray"])(t)?t:t.split("*")}function rr(t,e){var n=[];return Object(s["each"])(e,function(e,r){var i=r.split(" ")[0];i===t&&n.push(e)}),n}var ir=function(t){function e(e){var n=t.call(this,e)||this;n.type="base",n.attributes={},n.elements=[],n.elementsMap={},n.animateOption=!0,n.attributeOption={},n.lastElementsMap={},n.generatePoints=!1,n.beforeMappingData=null,n.adjusts={},n.idFields=[],n.hasSorted=!1,n.isCoordinateChanged=!1;var r=e.container,i=e.labelsContainer,o=e.coordinate,a=e.data,s=e.sortable,c=void 0!==s&&s,l=e.visible,u=void 0===l||l,h=e.theme,f=e.scales,p=void 0===f?{}:f,d=e.scaleDefs,g=void 0===d?{}:d,y=e.intervalPadding,v=e.dodgePadding,m=e.maxColumnWidth,b=e.minColumnWidth,x=e.columnWidthRatio,O=e.roseWidthRatio,w=e.multiplePieWidthRatio;return n.container=r,n.labelsContainer=i,n.coordinate=o,n.data=a,n.sortable=c,n.visible=u,n.userTheme=h,n.scales=p,n.scaleDefs=g,n.intervalPadding=y,n.dodgePadding=v,n.maxColumnWidth=m,n.minColumnWidth=b,n.columnWidthRatio=x,n.roseWidthRatio=O,n.multiplePieWidthRatio=w,n}return Object(a["__extends"])(e,t),e.prototype.position=function(t){var e=t;Object(s["isPlainObject"])(t)||(e={fields:nr(t)});var n=Object(s["get"])(e,"fields");return 1===n.length&&(n.unshift("1"),Object(s["set"])(e,"fields",n)),Object(s["set"])(this.attributeOption,"position",e),this},e.prototype.color=function(t,e){return this.createAttrOption("color",t,e),this},e.prototype.shape=function(t,e){return this.createAttrOption("shape",t,e),this},e.prototype.size=function(t,e){return this.createAttrOption("size",t,e),this},e.prototype.adjust=function(t){var e=t;return(Object(s["isString"])(t)||Object(s["isPlainObject"])(t))&&(e=[t]),Object(s["each"])(e,function(t,n){Object(s["isObject"])(t)||(e[n]={type:t})}),this.adjustOption=e,this},e.prototype.style=function(t,e){if(Object(s["isString"])(t)){var n=nr(t);this.styleOption={fields:n,callback:e}}else{var r=t,i=(n=r.fields,r.callback),o=r.cfg;this.styleOption=n||i||o?t:{cfg:t}}return this},e.prototype.tooltip=function(t,e){if(Object(s["isString"])(t)){var n=nr(t);this.tooltipOption={fields:n,callback:e}}else this.tooltipOption=t;return this},e.prototype.animate=function(t){return this.animateOption=t,this},e.prototype.label=function(t,e,n){if(Object(s["isString"])(t)){var r={},i=nr(t);r.fields=i,Object(s["isFunction"])(e)?r.callback=e:Object(s["isPlainObject"])(e)&&(r.cfg=e),n&&(r.cfg=n),this.labelOption=r}else this.labelOption=t;return this},e.prototype.state=function(t){return this.stateOption=t,this},e.prototype.customInfo=function(t){return this.customOption=t,this},e.prototype.init=function(t){void 0===t&&(t={}),this.setCfg(t),this.initAttributes(),this.processData(this.data),this.adjustScale()},e.prototype.update=function(t){void 0===t&&(t={});var e=t.data,n=t.isDataChanged,r=t.isCoordinateChanged,i=this,o=i.attributeOption,a=i.lastAttributeOption;Object(s["isEqual"])(o,a)?!e||!n&&Object(s["isEqual"])(e,this.data)?this.setCfg(t):(this.setCfg(t),this.processData(e)):this.init(t),this.adjustScale(),this.isCoordinateChanged=r},e.prototype.paint=function(t){var e=this;void 0===t&&(t=!1),this.animateOption&&(this.animateOption=Object(s["deepMix"])({},Bn(this.type,this.coordinate),this.animateOption)),this.defaultSize=void 0,this.elements=[],this.elementsMap={};var n=this.getOffscreenGroup();n.clear();for(var r=this.beforeMappingData,i=this.beforeMapping(r),o=[],c=0,l=i.length;c<l;c++){var u=i[c],h=this.mapping(u);o.push(h),this.createElements(h,c,t)}if(this.canDoGroupAnimation(t)){var f=this.container,p=this.type,d=this.coordinate,g=Object(s["get"])(this.animateOption,"appear"),y=this.getYScale(),v=d.convert({x:0,y:y.scale(this.getYMinValue())});Nn(f,g,p,d,v)}this.labelOption&&this.renderLabels(Object(s["flatten"])(o),t),this.dataArray=o,Object(s["each"])(this.lastElementsMap,function(t){t.animate=e.animateOption,t.destroy()}),this.lastElementsMap=this.elementsMap,this.lastAttributeOption=Object(a["__assign"])({},this.attributeOption),!1===this.visible&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this,e=t.container,n=t.geometryLabel,r=t.offscreenGroup;e&&e.clear(),n&&n.clear(),r&&r.clear(),this.scaleDefs=void 0,this.attributes={},this.scales={},this.elementsMap={},this.lastElementsMap={},this.elements=[],this.adjusts={},this.dataArray=null,this.beforeMappingData=null,this.lastAttributeOption=void 0,this.defaultSize=void 0,this.idFields=[],this.groupScales=void 0,this.hasSorted=!1,this.isCoordinateChanged=!1},e.prototype.destroy=function(){this.clear();var e=this.container;e.remove(!0),this.offscreenGroup&&(this.offscreenGroup.remove(!0),this.offscreenGroup=null),this.geometryLabel&&(this.geometryLabel.destroy(),this.geometryLabel=null),this.theme=void 0,this.shapeFactory=void 0,t.prototype.destroy.call(this)},e.prototype.getGroupScales=function(){return this.groupScales},e.prototype.getAttribute=function(t){return this.attributes[t]},e.prototype.getXScale=function(){return this.getAttribute("position").scales[0]},e.prototype.getYScale=function(){return this.getAttribute("position").scales[1]},e.prototype.getGroupAttributes=function(){var t=[];return Object(s["each"])(this.attributes,function(e){p.includes(e.type)&&t.push(e)}),t},e.prototype.getDefaultValue=function(t){var e,n=this.getAttribute(t);return n&&Object(s["isEmpty"])(n.scales)&&(e=n.values[0]),e},e.prototype.getAttributeValues=function(t,e){for(var n=[],r=t.scales,i=0,o=r.length;i<o;i++){var a=r[i],s=a.field;a.isIdentity?n.push(a.values):n.push(e[s])}return t.mapping.apply(t,n)},e.prototype.getAdjust=function(t){return this.adjusts[t]},e.prototype.getShapeMarker=function(t,e){var n=this.getShapeFactory();return n.getMarker(t,e)},e.prototype.getElementsBy=function(t){return this.elements.filter(function(e){return t(e)})},e.prototype.getElementId=function(t){t=Object(s["isArray"])(t)?t[0]:t;var e=t[d];if(this.idFields.length){for(var n=e[this.idFields[0]],r=1;r<this.idFields.length;r++)n+="-"+e[this.idFields[r]];return n}var i,o,a=this.type,c=this.getXScale(),l=this.getYScale(),u=c.field||"x",h=l.field||"y",f=e[h];i="identity"===c.type?c.values[0]:e[u],o="interval"===a||"schema"===a?""+i:"line"===a||"area"===a||"path"===a?a:i+"-"+f;for(var p=this.groupScales,g=(r=0,p.length);r<g;r++){var y=p[r],v=y.field;o=o+"-"+e[v]}var m=this.getAdjust("dodge");if(m){var b=m.dodgeBy;b&&(o=o+"-"+e[b])}return this.getAdjust("jitter")&&(o=o+"-"+t.x+"-"+t.y),o},e.prototype.getScaleFields=function(){var t=[],e={},n=this,r=n.attributeOption,i=n.labelOption,o=n.tooltipOption;for(var a in r)if(r.hasOwnProperty(a)){var c=r[a];c.fields?$(c.fields,t,e):c.values&&$(c.values,t,e)}return i&&i.fields&&$(i.fields,t,e),Object(s["isObject"])(o)&&o.fields&&$(o.fields,t,e),t},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e);for(var n=this.elements,r=0,i=n.length;r<i;r++){var o=n[r];o.changeVisible(e)}e?(this.container&&this.container.show(),this.labelsContainer&&this.labelsContainer.show()):(this.container&&this.container.hide(),this.labelsContainer&&this.labelsContainer.hide())},e.prototype.getGroupFields=function(){for(var t=[],e={},n=0,r=p.length;n<r;n++){var i=p[n],o=this.attributeOption[i];o&&o.fields&&$(o.fields,t,e)}return t},e.prototype.getXYFields=function(){var t=this.attributeOption.position.fields,e=t[0],n=t[1];return[e,n]},e.prototype.getShapes=function(){return this.elements.map(function(t){return t.shape})},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.sort=function(t){if(!this.hasSorted)for(var e=this.getXScale(),n=e.field,r=0;r<t.length;r++){var i=t[r];i.sort(function(t,r){return e.translate(t[d][n])-e.translate(r[d][n])})}this.hasSorted=!0},e.prototype.adjustScale=function(){var t=this.getYScale();t&&this.getAdjust("stack")&&this.updateStackRange(t,this.beforeMappingData)},e.prototype.getShapeFactory=function(){var t=this.shapeType;if(Jn(t))return this.shapeFactory||(this.shapeFactory=Object(s["clone"])(Jn(t))),this.shapeFactory.coordinate=this.coordinate,this.shapeFactory.theme=this.theme.geometries[t]||{},this.shapeFactory},e.prototype.createShapePointsCfg=function(t){var e,n=this.getXScale(),r=this.getYScale(),i=this.normalizeValues(t[n.field],n);return e=r?this.normalizeValues(t[r.field],r):t.y?t.y:.1,{x:i,y:e,y0:r?r.scale(this.getYMinValue()):void 0}},e.prototype.createElement=function(t,e){void 0===e&&(e=!1);var n=this.container,r=this.getDrawCfg(t),i=this.getShapeFactory(),o=new zn({shapeFactory:i,container:n,offscreenGroup:this.getOffscreenGroup()});return o.animate=this.animateOption,o.geometry=this,o.draw(r,e),o},e.prototype.getDrawCfg=function(t){var e=t[d],n={mappingData:t,data:e,x:t.x,y:t.y,color:t.color,size:t.size,isInCircle:this.coordinate.isPolar,customInfo:this.customOption},r=t.shape;!r&&this.getShapeFactory()&&(r=this.getShapeFactory().defaultShapeType),n.shape=r;var i=this.theme.geometries[this.shapeType];n.defaultStyle=Object(s["get"])(i,[r,"default"],{}).style,!n.defaultStyle&&this.getShapeFactory()&&(n.defaultStyle=this.getShapeFactory().getDefaultStyle(i));var o=this.styleOption;return o&&(n.style=this.getStyleCfg(o,e)),this.generatePoints&&(n.points=t.points,n.nextPoints=t.nextPoints),n},e.prototype.createElements=function(t,e,n){void 0===n&&(n=!1);for(var r=this,i=r.lastElementsMap,o=r.elementsMap,a=r.elements,s=0,c=t.length;s<c;s++){var l=t[s],u=this.getElementId(l);o[u]&&(u=u+"-"+e+"-"+s);var h=i[u];if(h){var f=this.getDrawCfg(l),p=h.getModel();(this.isCoordinateChanged||er(f,p))&&(h.animate=this.animateOption,h.update(f)),delete i[u]}else h=this.createElement(l,n);a.push(h),o[u]=h}return a},e.prototype.getLabelType=function(){var t=this,e=t.labelOption,n=t.coordinate,r=t.type,i=n.type,o=n.isTransposed,a=Object(s["get"])(e,["cfg","type"]);return a||(a="polar"===i?o?"pie":"polar":"theta"===i?"pie":"interval"===r||"polygon"===r?"interval":"base"),a},e.prototype.getYMinValue=function(){var t,e=this.getYScale(),n=e.min,r=e.max;return t=n>=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=nr(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["__assign"])({},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=Object(E["getAttribute"])(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;o<a;o++){for(var s=r[o],c=[],l=0,u=s.length;l<u;l++){var h=s[l],f={};for(var p in h)f[p]=h[p];f[d]=h;for(var g=0,y=n;g<y.length;g++){var v=y[g],m=v.field;f[m]=v.translate(f[m])}c.push(f)}i.push(c)}var b=this.adjustData(i);return this.beforeMappingData=b,b},e.prototype.adjustData=function(t){var e=this.adjustOption,n=this,r=n.intervalPadding,i=n.dodgePadding,o=n.theme,c=this.maxColumnWidth||o.maxColumnWidth,l=this.minColumnWidth||o.minColumnWidth,u=this.columnWidthRatio||o.columnWidthRatio,h=t;if(e){var f=this.getXScale(),p=this.getYScale(),d=f.field,g=p?p.field:null,y=et(this.coordinate),v=f.values.length,m=this.getAttribute("size"),b=void 0;m&&(b=m.values[0]);for(var x=0,O=e.length;x<O;x++){var w=e[x],j=Object(a["__assign"])({xField:d,yField:g,intervalPadding:r,dodgePadding:i,xDimensionLength:y,groupNum:v,defaultSize:b,maxColumnWidth:c,minColumnWidth:l,columnWidthRatio:u},w),C=w.type;if("dodge"===C){var S=[];if(f.isCategory||"identity"===f.type)S.push("x");else{if(p)throw new Error("dodge is not support linear attribute, please use category attribute!");S.push("y")}j.adjustNames=S,j.dodgeRatio=u}else if("stack"===C){var k=this.coordinate;if(!p){j.height=k.getHeight();var M=this.getDefaultValue("size")||3;j.size=M}!k.isTransposed&&Object(s["isNil"])(j.reverseOrder)&&(j.reverseOrder=!0)}var _=Object(T["getAdjust"])(C),A=new _(j);h=A.process(h),this.adjusts[C]=A}}return h},e.prototype.groupData=function(t){for(var e=this.getGroupScales(),n=this.scaleDefs,r={},i=[],o=0;o<e.length;o++){var a=e[o],c=a.field;i.push(c),Object(s["get"])(n,[c,"values"])&&(r[c]=n[c].values)}return tr(t,i,r)},e.prototype.updateStackRange=function(t,e){for(var n=Object(s["flatten"])(e),r=t.field,i=t.min,o=t.max,a=0;a<n.length;a++){var c=n[a],l=Math.min.apply(null,c[r]),u=Math.max.apply(null,c[r]);l<i&&(i=l),u>o&&(o=u)}var h=this.scaleDefs,f={};i<t.min&&!Object(s["get"])(h,[r,"min"])&&(f.min=i),o>t.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;n<r;n++){var i=e[n];this.generateShapePoints(i);var o=e[n+1];o&&(this.generateShapePoints(o),i[0].nextPoints=o[0].points)}return e},e.prototype.generateShapePoints=function(t){for(var e=this.getShapeFactory(),n=this.getAttribute("shape"),r=0;r<t.length;r++){var i=t[r],o=this.createShapePointsCfg(i),a=n?this.getAttributeValues(n,i):null,s=e.getShapePoints(a,o);i.points=s}},e.prototype.normalizeValues=function(t,e){var n=[];if(Object(s["isArray"])(t))for(var r=0;r<t.length;r++){var i=t[r];n.push(e.scale(i))}else n=e.scale(t);return n},e.prototype.mapping=function(t){for(var e=this.attributes,n=[],r=0;r<t.length;r++){var i=t[r],o={_origin:i[d],points:i.points,nextPoints:i.nextPoints};for(var a in e)if(e.hasOwnProperty(a)){var c=e[a],l=c.names,u=this.getAttributeValues(c,i);if(l.length>1)for(var h=0;h<u.length;h+=1){var f=u[h],p=l[h];o[p]=Object(s["isArray"])(f)&&1===f.length?f[0]:f}else o[l[0]]=1===u.length?u[0]:u}this.convertPoint(o),n.push(o)}return n},e.prototype.convertPoint=function(t){var e,n,r,i=t.x,o=t.y,a=this.coordinate;if(Object(s["isArray"])(i)&&Object(s["isArray"])(o)){e=[],n=[];for(var c=0,l=0,u=i.length,h=o.length;c<u&&l<h;c+=1,l+=1)r=a.convert({x:i[c],y:o[l]}),e.push(r.x),n.push(r.y)}else if(Object(s["isArray"])(o)){n=[];for(var f=0;f<o.length;f++){var p=o[f];r=a.convert({x:i,y:p}),e&&e!==r.x?(Object(s["isArray"])(e)||(e=[e]),e.push(r.x)):e=r.x,n.push(r.y)}}else if(Object(s["isArray"])(i)){e=[];for(f=0;f<i.length;f++){var d=i[f];r=a.convert({x:d,y:o}),n&&n!==r.y?(Object(s["isArray"])(n)||(n=[n]),n.push(r.y)):n=r.y,e.push(r.x)}}else{var g=a.convert({x:i,y:o});e=g.x,n=g.y}t.x=e,t.y=n},e.prototype.getStyleCfg=function(t,e){var n=t.fields,r=void 0===n?[]:n,i=t.callback,o=t.cfg;if(o)return o;var a=r.map(function(t){return e[t]});return i.apply(void 0,a)},e.prototype.setCfg=function(t){var e=this,n=t.coordinate,r=t.data,i=t.theme,o=t.scaleDefs;n&&(this.coordinate=n),r&&(this.data=r),o&&(this.scaleDefs=o,this.idFields=[],Object(s["each"])(o,function(t,n){t&&t.key&&e.idFields.push(n)})),i&&(this.theme=this.userTheme?Object(s["deepMix"])({},i,this.userTheme):i)},e.prototype.renderLabels=function(t,e){void 0===e&&(e=!1);var n=this.geometryLabel;if(!n){var r=this.getLabelType(),i=Xn(r);n=new i(this),this.geometryLabel=n}n.render(t,e);var o=n.labelsRenderer.shapesMap;Object(s["each"])(this.elementsMap,function(t,e){var n=rr(e,o);if(n.length){t.labelShape=n;for(var r=0;r<n.length;r++)for(var i=n[r],a=i.getChildren(),s=0;s<a.length;s++){var c=a[s];c.cfg.name=["element","label"],c.cfg.element=t}}})},e.prototype.canDoGroupAnimation=function(t){return!t&&this.animateOption&&(void 0===Object(s["get"])(this.animateOption,"appear")||Object(s["get"])(this.animateOption,"appear")&&void 0===Object(s["get"])(this.animateOption,["appear","animation"]))},e}(_),or=ir,ar=dt["ext"].transform;function sr(t,e,n){var r=ar(t.getMatrix(),[["t",e,n]]);t.setMatrix(r)}function cr(t,e){var n=t.attr(),r=n.x,i=n.y,o=ar(t.getMatrix(),[["t",-r,-i],["r",e],["t",r,i]]);return o}function lr(t,e){var n=cr(t,e);t.setMatrix(n)}function ur(t,e){var n=t.getBBox(),r=(n.minX+n.maxX)/2,i=(n.minY+n.maxY)/2;t.applyToMatrix([r,i,1]);var o=ar(t.getMatrix(),[["t",-r,-i],["s",e,e],["t",r,i]]);t.setMatrix(o)}function hr(t){return t.find(function(t){return"text"===t.get("type")})}function fr(t,e,n){void 0===n&&(n=[0,0,0,0]);var r=t.getChildren()[0];if(r){var i=r.clone();e.rotate&&lr(i,-e.rotate);var o=i.getCanvasBBox(),a=o.x,c=o.y,l=o.width,u=o.height;i.destroy();var h=n;return Object(s["isNil"])(h)?h=[2,2,2,2]:Object(s["isNumber"])(h)&&(h=new Array(4).fill(h)),{x:a-h[3],y:c-h[0],width:l+h[1]+h[3],height:u+h[0]+h[2],rotation:e.rotate||0}}}function pr(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 dr(t,e){var n=t.getBBox();return Object(s["some"])(e,function(t){var e=t.getBBox();return pr(n,e,2)>0})}function gr(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=q(s,u);c?Rn(s,c,{toAttrs:h,coordinate:a}):s.attr(h),u.isGroup()&&gr(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 yr=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;c<l.length;c++){var u=l[c];u&&this.renderLabel(u,o)}this.doLayout(t,e),this.renderLabelLine(t),this.renderLabelBackground(t),this.adjustLabel(t)}var h=this.lastShapesMap,f=this.shapesMap;Object(s["each"])(f,function(t,e){if(t.destroyed)delete f[e];else{if(h[e]){var o=t.get("data"),c=t.get("origin"),l=t.get("coordinate"),u=t.get("animateCfg"),p=h[e];gr(p,f[e],{data:o,origin:c,animateCfg:u,coordinate:l}),r.shapesMap[e]=p}else{i.add(t);var d=Object(s["get"])(t.get("animateCfg"),n?"enter":"appear");d&&Rn(t,d,{toAttrs:Object(a["__assign"])({},t.attr()),coordinate:t.get("coordinate")})}delete h[e]}}),Object(s["each"])(h,function(t){var e=Object(s["get"])(t.get("animateCfg"),"leave");e?Rn(t,e,{toAttrs:null,coordinate:t.get("coordinate")}):t.remove(!0)}),this.lastShapesMap=f,o.destroy()},t.prototype.clear=function(){this.container.clear(),this.shapesMap={},this.lastShapesMap={}},t.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null,this.lastShapesMap=null},t.prototype.renderLabel=function(t,e){var n,r=t.id,i=t.elementId,o=t.data,c=t.mappingData,l=t.coordinate,u=t.animate,h=t.content,f={id:r,elementId:i,data:o,origin:Object(a["__assign"])(Object(a["__assign"])({},c),{data:c[d]}),coordinate:l},p=e.addGroup(Object(a["__assign"])({name:"label",animateCfg:!1!==this.animate&&null!==u&&!1!==u&&Object(s["deepMix"])({},this.animate,u)},f));if(h.isGroup&&h.isGroup()||h.isShape&&h.isShape()){var g=h.getCanvasBBox(),y=g.width,v=g.height,m=Object(s["get"])(t,"textAlign","left"),b=t.x,x=t.y-v/2;"center"===m?b-=y/2:"right"!==m&&"end"!==m||(b-=y),sr(h,b,x),n=h,p.add(h)}else{var O=Object(s["get"])(t,["style","fill"]);n=p.addShape("text",Object(a["__assign"])({attrs:Object(a["__assign"])(Object(a["__assign"])({x:t.x,y:t.y,textAlign:t.textAlign,textBaseline:Object(s["get"])(t,"textBaseline","middle"),text:t.content},t.style),{fill:Object(s["isNull"])(O)?t.color:O})},f))}t.rotate&&lr(n,t.rotate),this.shapesMap[r]=p},t.prototype.doLayout=function(t,e){var n=this;if(this.layout){var r=Object(s["isArray"])(this.layout)?this.layout:[this.layout];Object(s["each"])(r,function(r){var i=Hn(Object(s["get"])(r,"type",""));if(i){var o=[],a=[];Object(s["each"])(n.shapesMap,function(t,n){o.push(t),a.push(e[t.get("elementId")])}),i(t,o,a,n.region,r.cfg)}})}},t.prototype.renderLabelLine=function(t){var e=this;Object(s["each"])(t,function(t){var n=Object(s["get"])(t,"coordinate");if(t&&n){var r=n.getCenter(),i=n.getRadius();if(t.labelLine){var o=Object(s["get"])(t,"labelLine",{}),c=t.id,l=o.path;if(!l){var u=V(r.x,r.y,i,t.angle);l=[["M",u.x,u.y],["L",t.x,t.y]]}var h=e.shapesMap[c];h.destroyed||h.addShape("path",{capture:!1,attrs:Object(a["__assign"])({path:l,stroke:t.color?t.color:Object(s["get"])(t,["style","fill"],"#000"),fill:null},o.style),id:c,origin:t.mappingData,data:t.data,coordinate:t.coordinate})}}})},t.prototype.renderLabelBackground=function(t){var e=this;Object(s["each"])(t,function(t){var n=Object(s["get"])(t,"coordinate"),r=Object(s["get"])(t,"background");if(r&&n){var i=t.id,o=e.shapesMap[i];if(!o.destroyed){var c=o.getChildren()[0];if(c){var l=fr(o,t,r.padding),u=l.rotation,h=Object(a["__rest"])(l,["rotation"]),f=o.addShape("rect",{attrs:Object(a["__assign"])(Object(a["__assign"])({},h),r.style||{}),id:i,origin:t.mappingData,data:t.data,coordinate:t.coordinate});if(f.setZIndex(-1),u){var p=c.getMatrix();f.setMatrix(p)}}}}})},t.prototype.createOffscreenGroup=function(){var t=this.container,e=t.getGroupBase(),n=new e({});return n},t.prototype.adjustLabel=function(t){var e=this;Object(s["each"])(t,function(t){if(t){var n=t.id,r=e.shapesMap[n];if(!r.destroyed){var i=r.findAll(function(t){return"path"!==t.get("type")});Object(s["each"])(i,function(e){e&&(t.offsetX&&e.attr("x",e.attr("x")+t.offsetX),t.offsetY&&e.attr("y",e.attr("y")+t.offsetY))})}}})},t}(),vr=yr;function mr(t){var e=0;return Object(s["each"])(t,function(t){e+=t}),e/t.length}var br=function(){function t(t){this.geometry=t}return t.prototype.getLabelItems=function(t){var e=this,n=[],r=this.getLabelCfgs(t);return Object(s["each"])(t,function(t,i){var o=r[i];if(!o||Object(s["isNil"])(t.x)||Object(s["isNil"])(t.y))n.push(null);else{var c=Object(s["isArray"])(o.content)?o.content:[o.content];o.content=c;var l=c.length;Object(s["each"])(c,function(r,i){if(Object(s["isNil"])(r)||""===r)n.push(null);else{var c=Object(a["__assign"])(Object(a["__assign"])({},o),e.getLabelPoint(o,t,i));c.textAlign||(c.textAlign=e.getLabelAlign(c,i,l)),c.offset<=0&&(c.labelLine=null),n.push(c)}})}}),n},t.prototype.render=function(t,e){void 0===e&&(e=!1);var n=this.getLabelItems(t),r=this.getLabelsRenderer(),i=this.getGeometryShapes();r.render(n,i,e)},t.prototype.clear=function(){var t=this.labelsRenderer;t&&t.clear()},t.prototype.destroy=function(){var t=this.labelsRenderer;t&&t.destroy(),this.labelsRenderer=null},t.prototype.getCoordinate=function(){return this.geometry.coordinate},t.prototype.getDefaultLabelCfg=function(t,e){var n=this.geometry,r=n.type,i=n.theme;return"polygon"===r||"interval"===r&&"middle"===e||t<0&&!["line","point","path"].includes(r)?Object(s["get"])(i,"innerLabels",{}):Object(s["get"])(i,"labels",{})},t.prototype.getThemedLabelCfg=function(t){var e,n=this.geometry,r=this.getDefaultLabelCfg(),i=n.type,o=n.theme;return e="polygon"===i||t.offset<0&&!["line","point","path"].includes(i)?Object(s["deepMix"])({},r,o.innerLabels,t):Object(s["deepMix"])({},r,o.labels,t),e},t.prototype.setLabelPosition=function(t,e,n,r){},t.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=this.getOffsetVector(t);return e.isTransposed?n[0]:n[1]},t.prototype.getLabelOffsetPoint=function(t,e,n){var r=t.offset,i=this.getCoordinate(),o=i.isTransposed,a=o?"x":"y",s=o?1:-1,c={x:0,y:0};return c[a]=e>0||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){var r=e;return Object(s["isArray"])(r)&&(r=1===t.content.length?r.length<=2?r[e.length-1]:mr(r):r[n]),r}var a={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"};if(e&&"polygon"===this.geometry.type){var c=U(e.x,e.y);a.x=c[0],a.y=c[1]}else a.x=o(e.x,n),a.y=o(e.y,n);var l=Object(s["isArray"])(e.shape)?e.shape[0]:e.shape;if("funnel"===l||"pyramid"===l){var u=Object(s["get"])(e,"nextPoints"),h=Object(s["get"])(e,"points");if(u){var f=r.convert(h[1]),p=r.convert(u[1]);a.x=(f.x+p.x)/2,a.y=(f.y+p.y)/2}else if("pyramid"===l){f=r.convert(h[1]),p=r.convert(h[2]);a.x=(f.x+p.x)/2,a.y=(f.y+p.y)/2}}t.position&&this.setLabelPosition(a,e,n,t.position);var d=this.getLabelOffsetPoint(t,n,i);return a.start={x:a.x,y:a.y},a.x+=d.x,a.y+=d.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 vr({container:e,layout:Object(s["get"])(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=a),a.region=r,a.animate=!!i&&Bn("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["__assign"])(Object(a["__assign"])({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}(),xr=br;n("WXeg");function Or(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["__spreadArrays"])([e],i)).join("")}else r=t.mapping(e).join("");return r||n}var wr={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]]}},jr=["line","cross","tick","plus","hyphen"];function Cr(t,e){var n=t.symbol;Object(s["isString"])(n)&&-1!==jr.indexOf(n)&&(t.style=Object(s["deepMix"])({},t.style,{lineWidth:1,stroke:e,fill:null}))}function Sr(t){var e=t.symbol;Object(s["isString"])(e)&&wr[e]&&(t.symbol=wr[e])}function kr(t){return t.startsWith(i.LEFT)||t.startsWith(i.RIGHT)?"vertical":"horizontal"}function Mr(t,e,n,r,i){var o=n.getScale(n.type);if(o.isCategory){var a=o.field,c=e.getAttribute("color"),l=e.getAttribute("shape"),u=t.getTheme().defaultColor,h=e.coordinate.isPolar;return o.getTicks().map(function(n){var f,p=n.text,d=n.value,g=p,y=o.invert(d),v=0===t.filterFieldData(a,[(f={},f[a]=y,f)]).length;Object(s["each"])(t.views,function(t){var e;t.filterFieldData(a,[(e={},e[a]=y,e)]).length||(v=!0)});var m=Or(c,y,u),b=Or(l,y,"point"),x=e.getShapeMarker(b,{color:m,isInPolar:h});return x=Object(s["deepMix"])({},r,x,i),Cr(x,m),Sr(x),{id:y,name:g,value:y,marker:x,unchecked:v}})}return[]}function _r(t,e,n){return n.map(function(n){var r=Object(s["deepMix"])({},t,e,n.marker);return Sr(r),n.marker=r,n})}var Ar={getLegendItems:Mr,translate:sr,rotate:lr,zoom:ur,transform:ar,getAngle:H,polarToCartesian:V,getDelegationObject:$t,getTooltipItems:on},Tr={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Er={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},Pr=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#E86452","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],Lr=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#E86452","#F8D0CB","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],Ir=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"#141414":e,r=t.paletteQualitative10,i=void 0===r?Pr:r,o=t.paletteQualitative20,a=void 0===o?Lr: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:Er[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:Er[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:Er[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:Er[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:Er[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:Er[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:Er[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:Pr[0],legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:Er[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:Er[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:Er[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:Tr[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:Tr[25],annotationArcBorderColor:Er[15],annotationArcBorder:1,annotationLineBorderColor:Er[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:Er[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:Er[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:Er[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"#1f1f1f",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 2px 4px rgba(0,0,0,.5)",tooltipContainerBorderRadius:3,tooltipTextFillColor:Er[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:Er[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Tr[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:Er[65],overflowLabelFillColorDark:"#2c3542",overflowLabelFillColorLight:"#ffffff",overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Tr[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:Er[25],pointFillColor:Pr[0],pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Tr[100],pointBorderOpacity:1,pointActiveBorderColor:Er[100],pointSelectedBorder:2,pointSelectedBorderColor:Er[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:Pr[0],hollowPointBorderOpacity:.95,hollowPointFillColor:Tr[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:Er[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:Er[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:Pr[0],lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:Pr[0],areaFillOpacity:.25,areaActiveFillColor:Pr[0],areaActiveFillOpacity:.5,areaSelectedFillColor:Pr[0],areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:Pr[0],hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:Er[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:Er[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:Pr[0],intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:Er[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:Er[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:Pr[0],hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Tr[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:Er[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:Er[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}},Fr=Ir(),Dr=n("U8jP"),Br=n("v7Ed");function Rr(t){return!t&&(null===t||void 0===t||isNaN(t))}function Nr(t){if(Object(s["isArray"])(t))return Rr(t[1].y);var e=t.y;return Object(s["isArray"])(e)?Rr(e[0]):Rr(e)}function Yr(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;i<o;i++){var a=t[i];Nr(a)||r.push(a)}return[r]}var s=[],c=[];for(i=0,o=t.length;i<o;i++){a=t[i];Nr(a)?c.length&&((1!==c.length||n)&&s.push(c),c=[]):c.push(a)}return c.length&&s.push(c),s}function zr(t,e,n,r){void 0===r&&(r="");var i=t.style,o=void 0===i?{}:i,c=t.defaultStyle,l=t.color,u=t.size,h=Object(a["__assign"])(Object(a["__assign"])({},c),o);return l&&(e&&(o.stroke||(h.stroke=l)),n&&(o.fill||(h.fill=l))),r&&Object(s["isNil"])(o[r])&&!Object(s["isNil"])(u)&&(h[r]=u),h}function Gr(t){var e=t.x,n=Object(s["isArray"])(t.y)?t.y:[t.y];return n.map(function(t,n){return{x:Object(s["isArray"])(e)?e[n]:e,y:t}})}var Vr={line:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},dot:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},dash:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},smooth:function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]},hv:function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]},vh:function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]},hvh:function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]},vhv:function(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}};function Xr(t,e){var n=t.color;return{symbol:Vr[e],style:{lineWidth:2,r:6,stroke:n}}}function Wr(t,e,n){for(var r=t.isStack,i=t.connectNulls,o=t.isInCircle,a=t.showSinglePoint,s=zr(t,!0,!1,"lineWidth"),c=Yr(t.points,i,a),l=[],u=0,h=c.length;u<h;u++){var f=c[u];l=l.concat(qr(f,o,r,e,n,s))}return s.path=l,s}function Hr(t,e,n,r,i){return 1===t.length?[["M",t[0].x,t[0].y-i.lineWidth/2],["L",t[0].x,t[0].y],["L",t[0].x,t[0].y+i.lineWidth/2]]:(n?(e&&t.length&&t.push({x:t[0].x,y:t[0].y}),o=Wt(t,!1,r)):(o=Xt(t,!1),e&&o.push(["Z"])),o);var o}function Ur(t,e,n,r,i,o){var a=[],c=[];Object(s["each"])(t,function(t){var e=Gr(t);a.push(e[1]),c.push(e[0])});var l=Hr(a,e,r,i,o),u=Hr(c,e,r,i,o);return n?l:l.concat(u)}function qr(t,e,n,r,i,o){if(t.length){var a=t[0];return Object(s["isArray"])(a.y)?Ur(t,e,n,r,i,o):Hr(t,e,r,i,o)}return[]}Qn("line",{defaultShapeType:"line"});Object(s["each"])(["line","dot","dash","smooth"],function(t){$n("line",t,{draw:function(e,n){var r,i="smooth"===t;if(i){var o=this.coordinate,a=o.start,s=o.end;r=[[a.x,s.y],[s.x,a.y]]}var c=Wr(e,i,r),l=n.addShape({type:"path",attrs:c,name:"line"});return l},getMarker:function(e){return Xr(e,t)}})});var Zr=function(t){function e(e){var n=t.call(this,e)||this;n.type="path",n.shapeType="line";var r=e.connectNulls,i=void 0!==r&&r,o=e.showSinglePoint,a=void 0===o||o;return n.connectNulls=i,n.showSinglePoint=a,n}return Object(a["__extends"])(e,t),e.prototype.createElements=function(t,e,n){void 0===n&&(n=!1);var r=this,i=r.lastElementsMap,o=r.elementsMap,a=r.elements,s=r.container,c=this.getElementId(t),l=this.getShapeInfo(t),u=i[c];if(u){var h=u.getModel();(this.isCoordinateChanged||er(h,l))&&(u.animate=this.animateOption,u.update(l)),delete i[c]}else{var f=this.getShapeFactory();u=new zn({shapeFactory:f,container:s,offscreenGroup:this.getOffscreenGroup()}),u.geometry=this,u.animate=this.animateOption,u.draw(l,n)}return a.push(u),o[c]=u,a},e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,i=t.length;r<i;r++){var o=t[r];e.push({x:o.x,y:o.y}),n.push(o[d])}return{points:e,data:n}},e.prototype.getShapeInfo=function(t){var e=this.getDrawCfg(t[0]),n=this.getPointsAndData(t),r=n.points,i=n.data;return e.mappingData=t,e.data=i,e.isStack=!!this.getAdjust("stack"),e.points=r,e.connectNulls=this.connectNulls,e.showSinglePoint=this.showSinglePoint,e},e}(or),Kr=Zr;function Qr(t,e,n,r,i){var o=[];if(t.length){for(var a=[],c=[],l=0,u=t.length;l<u;l++){var h=t[l];a.push(h[1]),c.push(h[0])}c=c.reverse(),Object(s["each"])([a,c],function(t,s){var l=[],u=r.parsePoints(t),h=u[0];1===a.length&&1===c.length?l=0===s?[["M",h.x-.5,h.y],["L",h.x+.5,h.y]]:[["L",h.x+.5,h.y],["L",h.x-.5,h.y]]:(e&&u.push({x:h.x,y:h.y}),l=n?Wt(u,!1,i):Xt(u,!1),s>0&&(l[0][0]="L")),o=o.concat(l)}),o.push(["Z"])}return o}function $r(t,e,n,r,i){for(var o=zr(t,e,!e,"lineWidth"),a=t.connectNulls,s=t.isInCircle,c=t.points,l=t.showSinglePoint,u=Yr(c,a,l),h=[],f=0,p=u.length;f<p;f++){var d=u[f];h=h.concat(Qr(d,s,n,r,i))}return o.path=h,o}function Jr(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}Qn("area",{defaultShapeType:"area",getDefaultPoints:function(t){var e=t.x,n=t.y0,r=Object(s["isArray"])(t.y)?t.y:[n,t.y];return r.map(function(t){return{x:e,y:t}})}});$n("area","area",{draw:function(t,e){var n=$r(t,!1,!1,this),r=e.addShape({type:"path",attrs:n,name:"area"});return r},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:e}}}});var ti=function(t){function e(e){var n=t.call(this,e)||this;n.type="area",n.shapeType="area",n.generatePoints=!0,n.startOnZero=!0;var r=e.startOnZero,i=void 0===r||r,o=e.sortable,a=void 0===o||o,s=e.showSinglePoint,c=void 0!==s&&s;return n.startOnZero=i,n.sortable=a,n.showSinglePoint=c,n}return Object(a["__extends"])(e,t),e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,i=t.length;r<i;r++){var o=t[r];e.push(o.points),n.push(o[d])}return{points:e,data:n}},e.prototype.getYMinValue=function(){if(this.startOnZero)return t.prototype.getYMinValue.call(this);var e=this.getYScale();return e.min},e}(Kr),ei=ti;Qn("edge",{defaultShapeType:"line",getDefaultPoints:function(t){return Gr(t)}});$n("edge","line",{draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=Xt(this.parsePoints(t.points),this.coordinate.isPolar);return e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var ni=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="edge",e.shapeType="edge",e.generatePoints=!0,e}return Object(a["__extends"])(e,t),e}(or),ri=ni,ii=n("6UX8"),oi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e.paletteCache={},e}return Object(a["__extends"])(e,t),e.prototype.createElements=function(t,e,n){void 0===n&&(n=!1);var r=this.prepareRange(t),i=this.prepareSize(),o=Object(s["get"])(this.styleOption,["style","shadowBlur"]);return Object(s["isNumber"])(o)||(o=i/2),this.prepareGreyScaleBlurredCircle(i,o),this.drawWithRange(t,r,i,o),null},e.prototype.clear=function(){t.prototype.clear.call(this),this.clearShadowCanvasCtx(),this.paletteCache={}},e.prototype.prepareRange=function(t){var e=this.getAttribute("color"),n=e.getFields()[0],r=1/0,i=-1/0;return t.forEach(function(t){var e=t[d][n];e>i&&(i=e),e<r&&(r=e)}),r===i&&(r=i-1),[r,i]},e.prototype.prepareSize=function(){var t=this.getDefaultValue("size");return Object(s["isNumber"])(t)||(t=this.getDefaultSize()),t},e.prototype.prepareGreyScaleBlurredCircle=function(t,e){var n=this.getGrayScaleBlurredCanvas(),r=t+e,i=n.getContext("2d");n.width=n.height=2*r,i.clearRect(0,0,n.width,n.height),i.shadowOffsetX=i.shadowOffsetY=2*r,i.shadowBlur=e,i.shadowColor="black",i.beginPath(),i.arc(-r,-r,t,0,2*Math.PI,!0),i.closePath(),i.fill()},e.prototype.drawWithRange=function(t,e,n,r){var i=this.coordinate,o=i.start,a=i.end,s=this.coordinate.getWidth(),c=this.coordinate.getHeight(),l=this.getAttribute("color"),u=l.getFields()[0];this.clearShadowCanvasCtx();var h=this.getShadowCanvasCtx();e&&(t=t.filter(function(t){return t[d][u]<=e[1]&&t[d][u]>=e[0]}));for(var f=this.scales[u],p=0,g=t;p<g.length;p++){var y=g[p],v=this.getDrawCfg(y),m=v.x,b=v.y,x=f.scale(y[d][u]);this.drawGrayScaleBlurredCircle(m-o.x,b-a.y,n+r,x,h)}var O=h.getImageData(0,0,s,c);this.clearShadowCanvasCtx(),this.colorize(O),h.putImageData(O,0,0);var w=this.getImageShape();w.attr("x",o.x),w.attr("y",a.y),w.attr("width",s),w.attr("height",c),w.attr("img",h.canvas),w.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),e=this.coordinate;return Math.min(e.getWidth()/(4*t.scales[0].ticks.length),e.getHeight()/(4*t.scales[1].ticks.length))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,e,n,r,i){var o=this.getGrayScaleBlurredCanvas();i.globalAlpha=r,i.drawImage(o,t-n,e-n)},e.prototype.colorize=function(t){for(var e=this.getAttribute("color"),n=t.data,r=this.paletteCache,i=3;i<n.length;i+=4){var o=n[i];if(Object(s["isNumber"])(o)){var a=r[o]?r[o]:ii["a"].rgb2arr(e.gradient(o/256));n[i-3]=a[0],n[i-2]=a[1],n[i-1]=a[2],n[i]=o}}},e.prototype.getImageShape=function(){var t=this.imageShape;if(t)return t;var e=this.container;return t=e.addShape({type:"image",attrs:{}}),this.imageShape=t,t},e.prototype.getShapeInfo=function(t){var e=this.getDrawCfg(t[0]);return Object(a["__assign"])(Object(a["__assign"])({},e),{mappingData:t,data:this.getData(t)})},e.prototype.getData=function(t){return t.map(function(t){return t[d]})},e}(or),ai=oi;function si(t,e){void 0===e&&(e=!1);var n,r,i,o,a=t.x,c=t.y,l=t.y0,u=t.size;Object(s["isArray"])(c)?(n=c[0],r=c[1]):(n=l,r=c),Object(s["isArray"])(a)?(i=a[0],o=a[1]):(i=a-u/2,o=a+u/2);var h=[{x:i,y:n},{x:i,y:r}];return e?h.push({x:o,y:(r+n)/2}):h.push({x:o,y:r},{x:o,y:n}),h}function ci(t,e){void 0===e&&(e=!0);var n=[],r=t[0];n.push(["M",r.x,r.y]);for(var i=1,o=t.length;i<o;i++)n.push(["L",t[i].x,t[i].y]);return e&&(n.push(["L",r.x,r.y]),n.push(["z"])),n}function li(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=ci(t),a}function ui(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}Qn("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return si(t)}});$n("interval","rect",{draw:function(t,e){var n=zr(t,!1,!0),r=this.parsePath(li(t.points,n.lineCap,this.coordinate)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},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 hi(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;o<n;o++){var a=r[o]-r[o-1];i>a&&(i=a)}return i}function fi(t,e){if(e){var n=Object(s["flatten"])(t),r=Object(s["valuesOfKey"])(n,e);return r.length}return t.length}function pi(t){var e=t.theme,n=t.coordinate,r=t.getXScale(),i=r.values,o=t.beforeMappingData,a=i.length,c=et(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=hi(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"),w=O.dodgeBy,j=fi(o,w);if(!Object(s["isNil"])(u)&&u>=0){var C=u/c;m=(m-C*(j-1))/j}else!Object(s["isNil"])(l)&&l>=0?(m*=b,m/=j):m/=j;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 k=f/c;m<k&&(m=k)}return m}var di=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e.shapeType="interval",e.generatePoints=!0,e}return Object(a["__extends"])(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),i=this.getAttribute("size");if(i){n=this.getAttributeValues(i,e)[0];var o=this.coordinate,a=et(o);n/=a}else this.defaultSize||(this.defaultSize=pi(this)),n=this.defaultSize;return r.size=n,r},e.prototype.adjustScale=function(){t.prototype.adjustScale.call(this);var e=this.getYScale();if("theta"===this.coordinate.type)e.change({nice:!1,min:0,max:Math.max(Math.max.apply(null,e.values),e.max)});else{var n=this.scaleDefs,r=e.field,i=e.min,o=e.max,a=e.type;"time"!==a&&(i>0&&!Object(s["get"])(n,[r,"min"])&&e.change({min:0}),o<=0&&!Object(s["get"])(n,[r,"max"])&&e.change({max:0}))}},e}(or),gi=di,yi=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["__extends"])(e,t),e}(Kr),vi=yi,mi=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],bi=["cross","tick","plus","hyphen","line"];function xi(t,e,n,r,i){var o=zr(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;u<h.length;u++){var f=h[u];l.addShape({type:"marker",attrs:Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},o),{symbol:wr[r]||r}),f)})}return l}return n.addShape({type:"marker",attrs:Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},o),{symbol:wr[r]||r}),c)})}Qn("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(t){return Gr(t)}});Object(s["each"])(mi,function(t){$n("point","hollow-"+t,{draw:function(e,n){return xi(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:wr[t]||t,style:{r:4.5,stroke:n,fill:null}}}})});var Oi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e.shapeType="point",e.generatePoints=!0,e}return Object(a["__extends"])(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return Object(a["__assign"])(Object(a["__assign"])({},n),{isStack:!!this.getAdjust("stack")})},e}(or),wi=Oi;function ji(t){var e=t[0],n=1,r=[["M",e.x,e.y]];while(n<t.length){var i=t[n];i.x===t[n-1].x&&i.y===t[n-1].y||(r.push(["L",i.x,i.y]),i.x===e.x&&i.y===e.y&&n<t.length-1&&(e=t[n+1],r.push(["Z"]),r.push(["M",e.x,e.y]),n++)),n++}return Object(s["isEqual"])(Object(s["last"])(r),e)||r.push(["L",e.x,e.y]),r.push(["Z"]),r}Qn("polygon",{defaultShapeType:"polygon",getDefaultPoints:function(t){var e=[];return Object(s["each"])(t.x,function(n,r){var i=t.y[r];e.push({x:n,y:i})}),e}});$n("polygon","polygon",{draw:function(t,e){if(!Object(s["isEmpty"])(t.points)){var n=zr(t,!0,!0),r=this.parsePath(ji(t.points));return e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"polygon"})}},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}});var Ci=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e}return Object(a["__extends"])(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),i=r.x,o=r.y;if(!Object(s["isArray"])(i)||!Object(s["isArray"])(o)){var a=this.getXScale(),c=this.getYScale(),l=a.values.length,u=c.values.length,h=.5/l,f=.5/u;a.isCategory&&c.isCategory?(i=[i-h,i-h,i+h,i+h],o=[o-f,o+f,o+f,o-f]):Object(s["isArray"])(i)?(n=i,i=[n[0],n[0],n[1],n[1]],o=[o-f/2,o+f/2,o+f/2,o-f/2]):Object(s["isArray"])(o)&&(n=o,o=[n[0],n[1],n[1],n[0]],i=[i-h/2,i-h/2,i+h/2,i+h/2]),r.x=i,r.y=o}return r},e}(or),Si=Ci,ki=(Qn("schema",{defaultShapeType:""}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e}return Object(a["__extends"])(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),i=this.getAttribute("size");if(i){n=this.getAttributeValues(i,e)[0];var o=this.coordinate,a=et(o);n/=a}else this.defaultSize||(this.defaultSize=pi(this)),n=this.defaultSize;return r.size=n,r},e}(or)),Mi=ki;function _i(t,e){return["C",1*t.x/2+1*e.x/2,t.y,1*t.x/2+1*e.x/2,e.y,e.x,e.y]}function Ai(t,e){var n=[];n.push({x:e.x,y:e.y}),n.push(t);var r=["Q"];return Object(s["each"])(n,function(t){r.push(t.x,t.y)}),r}function Ti(t,e,n){var r=Ai(e,n),i=[["M",t.x,t.y]];return i.push(r),i}function Ei(t,e){var n=Ai(t[1],e),r=Ai(t[3],e),i=[["M",t[0].x,t[0].y]];return i.push(r),i.push(["L",t[3].x,t[3].y]),i.push(["L",t[2].x,t[2].y]),i.push(n),i.push(["L",t[1].x,t[1].y]),i.push(["L",t[0].x,t[0].y]),i.push(["Z"]),i}function Pi(t,e){var n=_i(t,e),r=[["M",t.x,t.y]];return r.push(n),r}$n("area","line",{draw:function(t,e){var n=$r(t,!0,!1,this),r=e.addShape({type:"path",attrs:n,name:"area"});return r},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:e,fill:null}}}}),$n("area","smooth",{draw:function(t,e){var n=this.coordinate,r=$r(t,!1,!0,this,Jr(n)),i=e.addShape({type:"path",attrs:r,name:"area"});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:e}}}}),$n("area","smooth-line",{draw:function(t,e){var n=this.coordinate,r=$r(t,!0,!0,this,Jr(n)),i=e.addShape({type:"path",attrs:r,name:"area"});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:e,fill:null}}}}),$n("edge","arc",{draw:function(t,e){var n,r=zr(t,!0,!1,"lineWidth"),i=t.points,o=i.length>2?"weight":"normal";if(t.isInCircle){var s={x:0,y:1};return"normal"===o?n=Ti(i[0],i[1],s):(r.fill=r.stroke,n=Ei(i,s)),n=this.parsePath(n),e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},r),{path:n})})}if("normal"===o)return i=this.parsePoints(i),n=W((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["__assign"])(Object(a["__assign"])({},r),{path:n})});var c=_i(i[1],i[3]),l=_i(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["__assign"])(Object(a["__assign"])({},r),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),$n("edge","smooth",{draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(Pi(r[0],r[1]));return e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var Li=1/3;function Ii(t,e){var n=[];n.push({x:t.x,y:t.y*(1-Li)+e.y*Li}),n.push({x:e.x,y:t.y*(1-Li)+e.y*Li}),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 Fi(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 Di(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 Bi(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]]}$n("edge","vhv",{draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(Ii(r[0],r[1]));return e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),$n("interval","funnel",{getPoints:function(t){return t.size=2*t.size,si(t)},draw:function(t,e){var n=zr(t,!1,!0),r=this.parsePath(ui(t.points,t.nextPoints,!1)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),$n("interval","hollow-rect",{draw:function(t,e){var n=zr(t,!0,!1),r=this.parsePath(ci(t.points)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},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}}}}),$n("interval","line",{getPoints:function(t){return Fi(t)},draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=Q(Object(a["__assign"])({},n),["fill"]),i=this.parsePath(ci(t.points,!1)),o=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},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}}}}),$n("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,si(t,!0)},draw:function(t,e){var n=zr(t,!1,!0),r=this.parsePath(ui(t.points,t.nextPoints,!0)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),$n("interval","tick",{getPoints:function(t){return Di(t)},draw:function(t,e){var n=zr(t,!0,!1),r=this.parsePath(Bi(t.points)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},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 Ri=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 Ni(t,e){var n=[];return Object(s["each"])(t,function(r,i){var o=t[i+1];if(n.push(r),o){var a=Ri(r,o,e);n=n.concat(a)}}),n}function Yi(t){return t.map(function(t,e){return 0===e?["M",t.x,t.y]:["L",t.x,t.y]})}function zi(t,e){var n=Yr(t.points,t.connectNulls,t.showSinglePoint),r=[];return Object(s["each"])(n,function(t){var n=Ni(t,e);r=r.concat(Yi(n))}),Object(a["__assign"])(Object(a["__assign"])({},zr(t,!0,!1,"lineWidth")),{path:r})}function Gi(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 Vi(t,e,n){var r,i=n/2;if(Object(s["isArray"])(e)){var o=Gi(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=Gi(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 Xi(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 Wi(t){var e=Object(s["isArray"])(t)?t:[t],n=e.sort(function(t,e){return e-t});return K(n,4,n[n.length-1])}function Hi(t,e,n){var r=Wi(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 Ui(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 qi(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){$n("line",t,{draw:function(e,n){var r=zi(e,t),i=n.addShape({type:"path",attrs:r,name:"line"});return i},getMarker:function(e){return Xr(e,t)}})}),Object(s["each"])(bi,function(t){$n("point",t,{draw:function(e,n){return xi(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:wr[t],style:{r:4.5,stroke:n,fill:null}}}})}),$n("point","image",{draw:function(t,e){var n=zr(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;a<s.length;a++){var c=s[a];o.addShape("image",{attrs:{x:c.x-n/2,y:c.y-n,width:n,height:n,img:t.shape[1]}})}return o}return e.addShape("image",{attrs:{x:i.x-n/2,y:i.y-n,width:n,height:n,img:t.shape[1]}})},getMarker:function(t){var e=t.color;return{symbol:"circle",style:{r:4.5,fill:e}}}}),Object(s["each"])(mi,function(t){$n("point",t,{draw:function(e,n){return xi(this,e,n,t,!1)},getMarker:function(e){var n=e.color;return{symbol:wr[t]||t,style:{r:4.5,fill:n}}}})}),$n("schema","box",{getPoints:function(t){var e=t.x,n=t.y,r=t.size;return Vi(e,n,r)},draw:function(t,e){var n=zr(t,!0,!1),r=this.parsePath(Xi(t.points)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r,name:"schema"})});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var r=[e-6,e-3,e,e+3,e+6],i=Vi(t,r,n);return[["M",i[0].x+1,i[0].y],["L",i[1].x-1,i[1].y],["M",i[2].x,i[2].y],["L",i[3].x,i[3].y],["M",i[4].x,i[4].y],["L",i[5].x,i[5].y],["L",i[6].x,i[6].y],["L",i[7].x,i[7].y],["L",i[4].x,i[4].y],["Z"],["M",i[8].x,i[8].y],["L",i[9].x,i[9].y],["M",i[10].x+1,i[10].y],["L",i[11].x-1,i[11].y],["M",i[12].x,i[12].y],["L",i[13].x,i[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}}),$n("schema","candle",{getPoints:function(t){var e=t.x,n=t.y,r=t.size;return Hi(e,n,r)},draw:function(t,e){var n=zr(t,!0,!0),r=this.parsePath(Ui(t.points)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r,name:"schema"})});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var r=[e+7.5,e+3,e-3,e-7.5],i=Hi(t,r,n);return[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["M",i[2].x,i[2].y],["L",i[3].x,i[3].y],["L",i[4].x,i[4].y],["L",i[5].x,i[5].y],["Z"],["M",i[6].x,i[6].y],["L",i[7].x,i[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}}),$n("polygon","square",{draw:function(t,e){if(!Object(s["isEmpty"])(t.points)){var n=zr(t,!0,!0),r=this.parsePoints(t.points);return e.addShape("rect",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),qi(r,t.size)),name:"polygon"})}},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}});var Zi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getLabelValueDir=function(t){var e="y",n=t.points;return n[0][e]<=n[2][e]?1:-1},e.prototype.getLabelOffsetPoint=function(e,n,r){var i,o=t.prototype.getLabelOffsetPoint.call(this,e,n,r),s=this.getCoordinate().isTransposed,c=s?"x":"y",l=this.getLabelValueDir(e.mappingData);return Object(a["__assign"])(Object(a["__assign"])({},o),(i={},i[c]=o[c]*l,i))},e.prototype.getThemedLabelCfg=function(t){var e=this.geometry,n=this.getDefaultLabelCfg(),r=e.theme;return Object(s["deepMix"])({},n,r.labels,"middle"===t.position?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,e,n,r){var i,o,a,c,l=this.getCoordinate(),u=l.isTransposed,h=e.points,f=l.convert(h[0]),p=l.convert(h[2]),d=this.getLabelValueDir(e),g=Object(s["isArray"])(e.shape)?e.shape[0]:e.shape;if("funnel"===g||"pyramid"===g){var y=Object(s["get"])(e,"nextPoints"),v=Object(s["get"])(e,"points");if(y){var m=l.convert(v[0]),b=l.convert(v[1]),x=l.convert(y[0]),O=l.convert(y[1]);u?(i=Math.min(x.y,m.y),a=Math.max(x.y,m.y),o=(b.x+O.x)/2,c=(m.x+x.x)/2):(i=Math.min((b.y+O.y)/2,(m.y+x.y)/2),a=Math.max((b.y+O.y)/2,(m.y+x.y)/2),o=O.x,c=m.x)}else i=Math.min(p.y,f.y),a=Math.max(p.y,f.y),o=p.x,c=f.x}else i=Math.min(p.y,f.y),a=Math.max(p.y,f.y),o=p.x,c=f.x;switch(r){case"right":t.x=o,t.y=(i+a)/2,t.textAlign=Object(s["get"])(t,"textAlign",d>0?"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}(xr),Ki=Zi,Qi=Math.PI/2,$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(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["__assign"])(Object(a["__assign"])({},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 ot(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,r){var i=this.getCoordinate(),o=i.getCenter(),s=rt(i,n);if(0===s)return Object(a["__assign"])(Object(a["__assign"])({},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+Qi;return n&&(r-=Qi),r&&(r>Qi?r-=Math.PI:r<-Qi&&(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}(xr),Ji=$i,to=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return Object(a["__extends"])(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=ot(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=o;else{var a=ot(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["__assign"])(Object(a["__assign"])({},V(r.x,r.y,i,t)),{angle:t,r:i})},e}(Ji),eo=to,no=4;function ro(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.y<d&&(d=t.y),{size:n,targets:[t.y-h]}});d-=h,p-h>f&&(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;b<x.length;b++){var O=x[b];m[O.get("id")]=O}e.forEach(function(t){var e=t.r*t.r,n=Math.pow(Math.abs(t.y-i.y),2);if(e<n)t.x=i.x;else{var r=Math.sqrt(e-n);t.x=o?i.x+r:i.x-r}var a=m[t.id];a.attr("x",t.x),a.attr("y",t.y);var c=Object(s["find"])(a.getChildren(),function(t){return"text"===t.get("type")});c&&(c.attr("y",t.y),c.attr("x",t.x))})}function io(t,e,n,r){if(t.length&&e.length){var i=t[0]?t[0].offset:0,o=e[0].get("coordinate"),a=o.getRadius(),c=o.getCenter();if(i>0){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}),ro(e,t,l,f,c,n)})}Object(s["each"])(t,function(t){if(t&&t.labelLine){var e=t.offset,n=t.angle,r=V(c.x,c.y,a,n),i=V(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)*no,y:l-Math.sin(n)*no};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 oo(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.y<u&&(u=t.y),{content:t.content,size:e,targets:[t.y-a],pos:null}});u-=a,l-a>c&&(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 ao=4;function so(t,e){var n=e.getCenter(),r=e.getRadius();if(t&&t.labelLine){var i=t.angle,o=t.offset,a=V(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)*ao,y:l-Math.sin(i)*ao},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&&i<Math.PI/2&&u.y>a.y&&(y=1),i>=Math.PI/2&&i<Math.PI&&a.y>u.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=V(n.x,n.y,r+v,i),b=V(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=V(n.x,n.y,r+(o/2>4?4:Math.max(o/2-1,0)),i);var O=a.x<n.x?1:-1;f.push("M "+u.x+" "+u.y);var w=(a.y-n.y)/(a.x-n.x),j=(u.y-n.y)/(u.x-n.x);Math.abs(w-j)>Math.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 co(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;u<h.length;u++){var f=h[u];l[f.get("id")]=f}var p=Object(s["get"])(i[0],"labelHeight",14),d=Object(s["get"])(i[0],"offset",0);if(!(d<=0)){var g="left",y="right",v=Object(s["groupBy"])(i,function(t){return t.x<a.x?g:y}),m=o.start,b=o.end,x=Math.min(2*(c+d+p),o.getHeight()),O=x/2,w={minX:m.x,maxX:b.x,minY:a.y-O,maxY:a.y+O};Object(s["each"])(v,function(t,e){var n=Math.floor(x/p);t.length>n&&(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)})),oo(t,p,w)}),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)),so(t,o)})})}}}var lo=4,uo=4,ho=4;function fo(t,e,n){var r=e.getCenter(),i=e.getRadius(),o={x:t.x-(n?ho:-ho),y:t.y},a=V(r.x,r.y,i+lo,t.angle),c={x:o.x,y:o.y},l={x:a.x,y:a.y},u=V(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.y<a.y?l.y=c.y:(l.y=a.y,l.x=Math.max(l.x,c.x-f))),t.angle>0&&t.angle<Math.PI/2&&(c.x=Math.max(a.x,o.x-f),o.y>a.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.y<a.y?l.y=c.y:(l.y=a.y,l.x=Math.min(l.x,c.x-f)))}h=["M "+o.x+","+o.y,"L "+c.x+","+c.y,"L "+l.x+","+l.y,"L "+a.x+","+a.y,"L "+u.x+","+u.y].join(" "),t.labelLine=Object(s["deepMix"])({},t.labelLine,{path:h})}function po(t,e,n,r){var i=e[0]&&e[0].get("coordinate");if(i){for(var o=i.getCenter(),a=i.getRadius(),c={},l=0,u=e;l<u.length;l++){var h=u[l];c[h.get("id")]=h}var f=Object(s["get"])(t[0],"labelHeight",14),p=Math.max(Object(s["get"])(t[0],"offset",0),lo);Object(s["each"])(t,function(t){var e=Object(s["get"])(c,t.id);if(e){var n=t.x>o.x||t.x===o.x&&t.y>o.y,r=Object(s["isNil"])(t.offsetX)?uo:t.offsetX,i=V(o.x,o.y,a+lo,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.x<o.x?y:v}),b=2*(a+p)+f;Object(s["each"])(m,function(t){var e=t.length*f;e>b&&(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)})),oo(t,f,x)});var O=x.minY,w=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.y<O||t.y>w)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};sr(r,t.x-a.x,t.y-a.y),t.labelLine&&fo(t,i,n)}})})}}function go(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;(s<e||l<e)&&(g=e),(c<n||u<n)&&(y=n),s>i?g=i-p:l>i&&(g-=l-i),c>o?y=o-d:u>o&&(y-=u-o),g===h&&y===f||sr(t,g-h,y-f)})}function yo(t,e,n,r){Object(s["each"])(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minX<i.minX||r.minY<i.minY||r.maxX>i.maxX||r.maxY>i.maxY)&&t.remove(!0)})}var vo=100,mo=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 bo(t,e,n){void 0===n&&(n=vo);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))<l&&g<n)if(r=p(u+=i),h=~~r[0],f=~~r[1],(h||f)&&!y[h+"-"+f]&&(t.attr({x:a+h,y:s+f}),h+f<0&&t.attr("textAlign","right"),g++,e.hasGap(t.getCanvasBBox()))){e.fillGap(t.getCanvasBBox()),d=!0,y[h+"-"+f]=!0;break}return d}function xo(t,e,n,r){var i=t.getCanvasBBox(),o=i.width,a=i.height,s={x:e,y:n,textAlign:"center"};switch(r){case 0:s.y-=a+1,s.x+=1,s.textAlign="left";break;case 1:s.y-=a+1,s.x-=1,s.textAlign="right";break;case 2:s.y+=a+1,s.x-=1,s.textAlign="right";break;case 3:s.y+=a+1,s.x+=1,s.textAlign="left";break;case 5:s.y-=2*a+2;break;case 6:s.y+=2*a+2;break;case 7:s.x+=o+1,s.textAlign="left";break;case 8:s.x-=o+1,s.textAlign="right";break;default:break}return t.attr(s),t.getCanvasBBox()}function Oo(t,e,n,r){var i=new mo;Object(s["each"])(e,function(t){var e=t.find(function(t){return"text"===t.get("type")});bo(e,i)||t.remove(!0)}),i.destroy()}function wo(t,e,n,r){var i=new mo;Object(s["each"])(e,function(t){for(var e=t.find(function(t){return"text"===t.get("type")}),n=e.attr(),r=n.x,o=n.y,a=!1,s=0;s<=8;s++){var c=xo(e,r,o,s);if(i.hasGap(c)){i.fillGap(c),a=!0;break}}a||t.remove(!0)}),i.destroy()}var jo=dt["vec2"].dot;function Co(t){if(t.length>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 So(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 ko(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?[So(e[0],n,e[0]),So(e[1],n,e[0]),So(e[2],n,e[0]),So(e[3],n,e[0])]:e}function Mo(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(jo([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function _o(t,e){return t.max>e.min&&t.min<e.max}function Ao(t,e,n){return void 0===n&&(n=0),!(e.x>t.x+t.width+n||e.x+e.width<t.x-n||e.y>t.y+t.height+n||e.y+e.height<t.y-n)}function To(t,e){if(!t.rotation&&!e.rotation)return Ao(t,e);for(var n=ko(t),r=ko(e),i=Object(a["__spreadArrays"])(Co(n),Co(r)),o=0;o<i.length;o++){var s=i[o],c=Mo(n,s),l=Mo(r,s);if(!_o(c,l))return!1}return!0}function Eo(t,e,n,r){for(var i=0;i<e.length;i++){var o=e[i];if(e[i].get("visible"))for(var a=i+1;a<e.length;a++){var c=e[a];if(o&&c&&o!==c&&c.get("visible")){var l=fr(o,t[i],Object(s["get"])(t[i],"background.padding")),u=fr(c,t[a],Object(s["get"])(t[a],"background.padding"));To(l,u)&&e[a].set("visible",!1)}}}}var Po,Lo={"#5B8FF9":!0},Io=function(t){var e=ii["a"].toRGB(t).toUpperCase();if(Lo[e])return Lo[e];var n=ii["a"].rgb2arr(e),r=n[0],i=n[1],o=n[2],a=(299*r+587*i+114*o)/1e3<128;return a};function Fo(t,e,n){if(0!==n.length){var r=n[0].get("element"),i=r.geometry.theme,o=i.labels||{},a=o.fillColorLight,s=o.fillColorDark;n.forEach(function(t,n){var r=e[n],o=r.find(function(t){return"text"===t.get("type")}),c=J.fromObject(t.getBBox()),l=J.fromObject(o.getCanvasBBox()),u=!c.contains(l),h=t.attr("fill"),f=Io(h);u?o.attr(i.overflowLabels.style):f?a&&o.attr("fill",a):s&&o.attr("fill",s)})}}function Do(t,e,n){var r=t.coordinate,i=hr(e),o=J.fromObject(i.getCanvasBBox()),a=J.fromObject(n.getBBox());return r.isTransposed?a.height>=o.height:a.width>=o.width}function Bo(t,e,n){var r=!!t.getAdjust("stack");return r||e.every(function(e,r){var i=n[r];return Do(t,e,i)})}function Ro(t,e,n){var r=t.coordinate,i=J.fromObject(n.getBBox()),o=hr(e);r.isTransposed?o.attr({x:i.minX+i.width/2,textAlign:"center"}):o.attr({y:i.minY+i.height/2,textBaseline:"middle"})}function No(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=Bo(o,e,n);a&&n.forEach(function(t,n){var r=e[n];Ro(o,r,t)})}}}function Yo(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 zo(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=Yo(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")&&(dr(g,u)?g.set("visible",!1):u.push(g))}}}}function Go(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 Vo(t,e,n){return t.some(function(t){return n(t,e)})}function Xo(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 Wo(t,e){return Vo(t,e,function(t,e){var n=hr(t),r=hr(e);return Xo(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Ho(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=Go(l,p[t]);while(e.length){var n=e.shift(),r=hr(n);if(Vo(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=Wo(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=Wo(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function Uo(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 qo(t,e,n){return t.some(function(t){return n(t,e)})}function Zo(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 Ko(t,e){return qo(t,e,function(t,e){var n=hr(t),r=hr(e);return Zo(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Qo(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=Uo(l,p[t]);while(e.length){var n=e.shift(),r=hr(n);if(qo(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=Ko(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=Ko(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function $o(){return Po||(Po=document.createElement("canvas").getContext("2d")),Po}var Jo=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=$o();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["__spreadArrays"])([t],Object(s["values"])(e)).join("")}),ta=function(t,e,n){var r,i=16,o=Jo("...",n);r=Object(s["isString"])(t)?t:Object(s["toString"])(t);var a,c,l=e,u=[];if(Jo(t,n)<=e)return t;while(1){if(a=r.substr(0,i),c=Jo(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=Jo(a,n),c+o>l)break;if(u.push(a),l-=c,r=r.substr(1),!r)return u.join("")}return u.join("")+"..."};function ea(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=st(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<h||i<h)&&(v=h),o.indexOf("top")>=0&&(r<f||c<f)&&(m=f),o.indexOf("right")>=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)sr(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=ta(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 ra(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 ia(t,e,n){var r,i=e[0],o=e[1];return t.applyToMatrix([i,o,1]),"x"===n?(t.setMatrix(dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,1],["t",i,o]])),r=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",100,1],["t",i,o]])):"y"===n?(t.setMatrix(dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",1,.01],["t",i,o]])),r=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",1,100],["t",i,o]])):"xy"===n&&(t.setMatrix(dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]])),r=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",100,100],["t",i,o]])),r}function oa(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.y<s.y?r.y:s.y):"x"===i?(o=r.x>s.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=ia(t,[o,a],i);t.animate({matrix:h},e)}function aa(t,e,n){var r=n.coordinate,i=n.minYPoint;oa(t,e,r,i,"x")}function sa(t,e,n){var r=n.coordinate,i=n.minYPoint;oa(t,e,r,i,"y")}function ca(t,e,n){var r=n.coordinate,i=n.minYPoint;oa(t,e,r,i,"xy")}function la(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 ha(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=dt["ext"].transform(t.getMatrix(),[["t",-a,-s],["s",.01,1],["t",a,s]]);t.setMatrix(c),t.animate({matrix:dt["ext"].transform(t.getMatrix(),[["t",-a,-s],["s",100,1],["t",a,s]])},e)}function fa(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=dt["ext"].transform(t.getMatrix(),[["t",-o,-s],["s",1,.01],["t",o,s]]);t.setMatrix(c),t.animate({matrix:dt["ext"].transform(t.getMatrix(),[["t",-o,-s],["s",1,100],["t",o,s]])},e)}function pa(t,e){var n,r=Object(Dr["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 da(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 ga(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]}),o=i[0],a=i.length>1?i[1]:i[0],c=t.indexOf(o),l=t.indexOf(a),u=da(t[c-1]),h=da(t[l-1]),f=pa(u,o),p=f.startAngle,d=f.endAngle,g=pa(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<b?(e=[b,m],m=e[0],b=e[1]):m===b&&(b=0),{startAngle:n,endAngle:r,radius:m,innerRadius:b}}function ya(t,e,n){var r=n.toAttrs,i=n.coordinate,o=r.path||[],c=o.map(function(t){return t[0]});if(!(o.length<1)){var l=ga(o),u=l.startAngle,h=l.endAngle,f=l.radius,p=l.innerRadius,d=ga(t.attr("path")),g=d.startAngle,y=d.endAngle,v=i.getCenter(),m=u-g,b=h-y;t.animate(function(t){var e=g+t*m,n=y+t*b;return Object(a["__assign"])(Object(a["__assign"])({},r),{path:Object(s["isEqual"])(c,["M","A","A","Z"])?W(v.x,v.y,f,e,n):X(v.x,v.y,f,e,n,p)})},Object(a["__assign"])(Object(a["__assign"])({},e),{callback:function(){t.attr("path",o)}}))}}function va(t,e,n){var r=at(n.coordinate,20),i=r.type,o=r.startState,s=r.endState,c=t.setClip({type:i,attrs:o});c.animate(s,Object(a["__assign"])(Object(a["__assign"])({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),c.remove(!0)}}))}function ma(t,e,n){if(t.isGroup())Object(s["each"])(t.getChildren(),function(t){ma(t,e,n)});else{var r=t.getBBox(),i=(r.minX+r.maxX)/2,o=(r.minY+r.maxY)/2;if(t.applyToMatrix([i,o,1]),"zoomIn"===n){var c=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]]);t.setMatrix(c),t.animate({matrix:dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",100,100],["t",i,o]])},e)}else t.animate({matrix:dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]])},Object(a["__assign"])(Object(a["__assign"])({},e),{callback:function(){t.remove(!0)}}))}}function ba(t,e,n){ma(t,e,"zoomIn")}function xa(t,e,n){ma(t,e,"zoomOut")}function Oa(t){return[i.TOP,i.BOTTOM].includes(t)?{offsetX:0,offsetY:t===i.TOP?-8:8,style:{textAlign:"center",textBaseline:t===i.TOP?"bottom":"top"}}:[i.LEFT,i.RIGHT].includes(t)?{offsetX:t===i.LEFT?-8:8,offsetY:0,style:{textAlign:t===i.LEFT?"right":"left",textBaseline:"middle",rotate:Math.PI/2}}:{}}function wa(t,e,n){return{x:t.x+e*Math.cos(n),y:t.y+e*Math.sin(n)}}var ja=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"circle",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.getRegion=function(t,e){var n=.5,r={x:.5,y:.5},i=2*Math.PI/t,o=-1*Math.PI/2+i*e,a=n/(1+1/Math.sin(i/2)),s=wa(r,n-a,o),c=5*Math.PI/4,l=1*Math.PI/4;return{start:wa(s,a,c),end:wa(s,a,l)}},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg,r=n.fields,i=n.type,o=r[0];if(!o)throw new Error("No `fields` specified!");var a=this.getFieldValues(t,o),c=a.length,l=[];return a.forEach(function(n,r){var u=[{field:o,value:n,values:a}],h=Object(s["filter"])(t,e.getFacetDataFilter(u)),f={type:i,data:h,region:e.getRegion(c,r),columnValue:n,columnField:o,columnIndex:r,columnValuesLength:c,rowValue:null,rowField:null,rowIndex:0,rowValuesLength:1};l.push(f)}),l},e.prototype.getXAxisOption=function(t,e,n,r){return n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;Object(s["each"])(this.facets,function(e){var n=e.columnValue,r=e.view,o=Object(s["get"])(t.cfg.title,"formatter"),a=Object(s["deepMix"])({position:["50%","0%"],content:o?o(n):n},Oa(i.TOP),t.cfg.title);r.annotation().text(a)})},e}(St),Ca=ja,Sa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"list",cols:null,showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=this.cfg.cols,i=n[0];if(!i)throw new Error("No `fields` specified!");var o=this.getFieldValues(t,i),a=o.length;r=r||a;var c=this.getPageCount(a,r),l=[];return o.forEach(function(n,u){var h=e.getRowCol(u,r),f=h.row,p=h.col,d=[{field:i,value:n,values:o}],g=Object(s["filter"])(t,e.getFacetDataFilter(d)),y={type:e.cfg.type,data:g,region:e.getRegion(c,r,p,f),columnValue:n,rowValue:n,columnField:i,rowField:null,columnIndex:p,rowIndex:f,columnValuesLength:r,rowValuesLength:c,total:a};l.push(y)}),l},e.prototype.getXAxisOption=function(t,e,n,r){return r.rowIndex!==r.rowValuesLength-1&&r.columnValuesLength*r.rowIndex+r.columnIndex+1+r.columnValuesLength<=r.total?Object(a["__assign"])(Object(a["__assign"])({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.columnIndex?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;Object(s["each"])(this.facets,function(e){var n=e.columnValue,r=e.view,o=Object(s["get"])(t.cfg.title,"formatter"),a=Object(s["deepMix"])({position:["50%","0%"],content:o?o(n):n},Oa(i.TOP),t.cfg.title);r.annotation().text(a)})},e.prototype.getPageCount=function(t,e){return Math.floor((t+e-1)/e)},e.prototype.getRowCol=function(t,e){var n=Math.floor(t/e),r=t%e;return{row:n,col:r}},e}(St),ka=Sa,Ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"matrix",showTitle:!1,columnTitle:Object(a["__assign"])({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:Object(a["__assign"])({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){for(var e=this.cfg,n=e.fields,r=e.type,i=n.length,o=i,a=[],s=0;s<o;s++)for(var c=n[s],l=0;l<i;l++){var u=n[l],h={type:r,data:t,region:this.getRegion(i,o,s,l),columnValue:c,rowValue:u,columnField:c,rowField:u,columnIndex:s,rowIndex:l,columnValuesLength:o,rowValuesLength:i};a.push(h)}return a},e.prototype.getXAxisOption=function(t,e,n,r){return r.rowIndex!==r.rowValuesLength-1?Object(a["__assign"])(Object(a["__assign"])({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.columnIndex?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;Object(s["each"])(this.facets,function(e,n){var r=e.columnIndex,o=e.rowIndex,a=e.columnValuesLength,c=(e.rowValuesLength,e.columnValue),l=e.rowValue,u=e.view;if(0===o){var h=Object(s["get"])(t.cfg.columnTitle,"formatter"),f=Object(s["deepMix"])({position:["50%","0%"],content:h?h(c):c},Oa(i.TOP),t.cfg.columnTitle);u.annotation().text(f)}if(r===a-1){h=Object(s["get"])(t.cfg.rowTitle,"formatter"),f=Object(s["deepMix"])({position:["100%","50%"],content:h?h(l):l},Oa(i.RIGHT),t.cfg.rowTitle);u.annotation().text(f)}})},e}(St),_a=Ma,Aa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"mirror",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this),transpose:!1})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.beforeEachView=function(t,e){this.cfg.transpose?e.columnIndex%2===0?t.coordinate().transpose().reflect("x"):t.coordinate().transpose():e.rowIndex%2!==0&&t.coordinate().reflect("y")},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.generateFacets=function(t){var e,n,r=this,i=this.cfg.fields[0],o=[],a=1,c=1,l=[""],u=[""];return this.cfg.transpose?(e=i,l=this.getFieldValues(t,e).slice(0,2),a=l.length):(n=i,u=this.getFieldValues(t,n).slice(0,2),c=u.length),l.forEach(function(i,h){u.forEach(function(f,p){var d=[{field:e,value:i,values:l},{field:n,value:f,values:u}],g=Object(s["filter"])(t,r.getFacetDataFilter(d)),y={type:r.cfg.type,data:g,region:r.getRegion(c,a,h,p),columnValue:i,rowValue:f,columnField:e,rowField:n,columnIndex:h,rowIndex:p,columnValuesLength:a,rowValuesLength:c};o.push(y)})}),o},e.prototype.getXAxisOption=function(t,e,n,r){return 1===r.columnIndex||1===r.rowIndex?Object(a["__assign"])(Object(a["__assign"])({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;Object(s["each"])(this.facets,function(e,n){var r=e.columnValue,o=e.rowValue,a=e.view,c=Object(s["get"])(t.cfg.title,"formatter");if(t.cfg.transpose){var l=Object(s["deepMix"])({position:["50%","0%"],content:c?c(r):r},Oa(i.TOP),t.cfg.title);a.annotation().text(l)}else{l=Object(s["deepMix"])({position:["100%","50%"],content:c?c(o):o},Oa(i.RIGHT),t.cfg.title);a.annotation().text(l)}})},e}(St),Ta=Aa,Ea=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"rect",columnTitle:Object(a["__assign"])({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:Object(a["__assign"])({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=n[0],i=n[1],o=[],a=1,c=1,l=[""],u=[""];return r&&(l=this.getFieldValues(t,r),a=l.length),i&&(u=this.getFieldValues(t,i),c=u.length),l.forEach(function(n,h){u.forEach(function(f,p){var d=[{field:r,value:n,values:l},{field:i,value:f,values:u}],g=Object(s["filter"])(t,e.getFacetDataFilter(d)),y={type:e.cfg.type,data:g,region:e.getRegion(c,a,h,p),columnValue:n,rowValue:f,columnField:r,rowField:i,columnIndex:h,rowIndex:p,columnValuesLength:a,rowValuesLength:c};o.push(y)})}),o},e.prototype.renderTitle=function(){var t=this;Object(s["each"])(this.facets,function(e,n){var r=e.columnIndex,o=e.rowIndex,a=e.columnValuesLength,c=e.columnValue,l=e.rowValue,u=e.view;if(0===o){var h=Object(s["get"])(t.cfg.columnTitle,"formatter"),f=Object(s["deepMix"])({position:["50%","0%"],content:h?h(c):c},Oa(i.TOP),t.cfg.columnTitle);u.annotation().text(f)}if(r===a-1){h=Object(s["get"])(t.cfg.rowTitle,"formatter"),f=Object(s["deepMix"])({position:["100%","50%"],content:h?h(l):l},Oa(i.RIGHT),t.cfg.rowTitle);u.annotation().text(f)}})},e.prototype.getXAxisOption=function(t,e,n,r){return r.rowIndex!==r.rowValuesLength-1?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null,label:null}):r.columnIndex!==Math.floor((r.columnValuesLength-1)/2)?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.columnIndex?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null,label:null}):r.rowIndex!==Math.floor((r.rowValuesLength-1)/2)?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null}):n},e}(St),Pa=Ea,La=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.afterChartRender=function(){e.facets&&e.cfg.line&&(e.container.clear(),e.drawLines(e.facets))},e}return Object(a["__extends"])(e,t),e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.init=function(){t.prototype.init.call(this),this.view.on(c.AFTER_RENDER,this.afterChartRender)},e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"tree",line:{style:{lineWidth:1,stroke:"#ddd"},smooth:!1},showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.generateFacets=function(t){var e=this.cfg.fields;if(!e.length)throw new Error("Please specify for the fields for rootFacet!");var n=[],r={type:this.cfg.type,data:t,region:null,rowValuesLength:this.getRows(),columnValuesLength:1,rowIndex:0,columnIndex:0,rowField:"",columnField:"",rowValue:"",columnValue:""};return n.push(r),r.children=this.getChildFacets(t,1,n),this.setRegion(n),n},e.prototype.setRegion=function(t){var e=this;this.forceColIndex(t),t.forEach(function(t){t.region=e.getRegion(t.rowValuesLength,t.columnValuesLength,t.columnIndex,t.rowIndex)})},e.prototype.getRegion=function(t,e,n,r){var i=1/e,o=1/t,a={x:i*n,y:o*r},s={x:a.x+i,y:a.y+2*o/3};return{start:a,end:s}},e.prototype.forceColIndex=function(t){var e=this,n=[],r=0;t.forEach(function(t){e.isLeaf(t)&&(n.push(t),t.columnIndex=r,r++)}),n.forEach(function(t){t.columnValuesLength=n.length});for(var i=this.cfg.fields.length,o=i-1;o>=0;o--)for(var a=this.getFacetsByLevel(t,o),s=0,c=a;s<c.length;s++){var l=c[s];this.isLeaf(l)||(l.originColIndex=l.columnIndex,l.columnIndex=this.getRegionIndex(l.children),l.columnValuesLength=n.length)}},e.prototype.getFacetsByLevel=function(t,e){var n=[];return t.forEach(function(t){t.rowIndex===e&&n.push(t)}),n},e.prototype.getRegionIndex=function(t){var e=t[0],n=t[t.length-1];return(n.columnIndex-e.columnIndex)/2+e.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,e,n){var r=this,i=this.cfg.fields,o=i.length;if(!(o<e)){var a=[],s=i[e-1],c=this.getFieldValues(t,s);return c.forEach(function(i,o){var l=[{field:s,value:i,values:c}],u=t.filter(r.getFacetDataFilter(l));if(u.length){var h={type:r.cfg.type,data:u,region:null,columnValue:i,rowValue:"",columnField:s,rowField:"",columnIndex:o,rowValuesLength:r.getRows(),columnValuesLength:1,rowIndex:e,children:r.getChildFacets(u,e+1,n)};a.push(h),n.push(h)}}),a}},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.renderTitle=function(){var t=this;Object(s["each"])(this.facets,function(e){var n=e.columnValue,r=e.view,o=Object(s["get"])(t.cfg.title,"formatter"),a=Object(s["deepMix"])({position:["50%","0%"],content:o?o(n):n},Oa(i.TOP),t.cfg.title);r.annotation().text(a)})},e.prototype.drawLines=function(t){var e=this;t.forEach(function(t){if(!e.isLeaf(t)){var n=t.children;e.addFacetLines(t,n)}})},e.prototype.addFacetLines=function(t,e){var n=this,r=t.view,i=r.coordinateBBox,o={x:i.x+i.width/2,y:i.y+i.height};e.forEach(function(t){var e=t.view.coordinateBBox,r={x:e.bl.x+(e.tr.x-e.bl.x)/2,y:e.tr.y},i={x:o.x,y:o.y+(r.y-o.y)/2},a={x:r.x,y:i.y};n.drawLine([o,i,a,r])})},e.prototype.getPath=function(t){var e=[],n=this.cfg.line.smooth;return n?(e.push(["M",t[0].x,t[0].y]),e.push(["C",t[1].x,t[1].y,t[2].x,t[2].y,t[3].x,t[3].y])):t.forEach(function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e.prototype.drawLine=function(t){var e=this.getPath(t),n=this.cfg.line.style;this.container.addShape("path",{attrs:Object(s["assign"])({path:e},n)})},e.prototype.getXAxisOption=function(t,e,n,r){return r.rowIndex!==r.rowValuesLength-1?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null,label:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.originColIndex&&0!==r.columnIndex?Object(a["__assign"])(Object(a["__assign"])({},n),{title:null,label:null}):n},e}(St),Ia=La;function Fa(t){var e=Object(a["__spreadArrays"])(t);e.sort(function(t,e){return t-e});var n=e.length;return 0===n?0:n%2===1?e[(n-1)/2]:(e[n/2]+e[n/2-1])/2}function Da(t){var e=Object(s["reduce"])(t,function(t,e){return t+(isNaN(e)||!Object(s["isNumber"])(e)?0:e)},0);return 0===t.length?0:e/t.length}function Ba(t,e){var n;switch(t){case"start":return 0;case"end":return 1;case"median":n=e.isCategory?Fa(e.values.map(function(t,e){return e})):Fa(e.values);break;case"mean":n=e.isCategory?(e.values.length-1)/2:Da(e.values);break;case"min":n=e.isCategory?0:e[t];break;case"max":n=e.isCategory?e.values.length-1:e[t];break;default:n=t;break}return e.scale(n)}var Ra=["regionFilter","shape"],Na=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.foregroundContainer=n.view.getLayer(r.FORE).addGroup(),n.backgroundContainer=n.view.getLayer(r.BG).addGroup(),n.option=[],n}return Object(a["__extends"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"annotation"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.layout=function(){this.update()},e.prototype.render=function(){},e.prototype.update=function(){var t=this;this.onAfterRender(function(){var e=new Map;Object(s["each"])(t.option,function(n){if(Object(s["includes"])(Ra,n.type)){var r=t.updateOrCreate(n);r&&e.set(t.getCacheKey(n),r)}}),t.cache=t.syncCache(e)});var e=new Map;Object(s["each"])(this.option,function(n){if(!Object(s["includes"])(Ra,n.type)){var r=t.updateOrCreate(n);r&&e.set(t.getCacheKey(n),r)}}),this.cache=this.syncCache(e)},e.prototype.clear=function(e){void 0===e&&(e=!1),t.prototype.clear.call(this),this.clearComponents(),this.foregroundContainer.clear(),this.backgroundContainer.clear(),e&&(this.option=[])},e.prototype.destroy=function(){this.clear(!0),this.foregroundContainer.remove(!0),this.backgroundContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(e){t.push(e)}),t},e.prototype.clearComponents=function(){this.getComponents().forEach(function(t){t.component.destroy()}),this.cache.clear()},e.prototype.onAfterRender=function(t){this.view.getOptions().animate?this.view.geometries.forEach(function(e){e.animateOption&&e.once(l.AFTER_DRAW_ANIMATE,function(){t()})}):this.view.getRootView().once(c.AFTER_RENDER,function(){t()})},e.prototype.createAnnotation=function(t){var e=t.type,n=I["Annotation"][Object(s["upperFirst"])(e)];if(n){var a=this.getAnnotationTheme(e),c=this.getAnnotationCfg(e,t,a),l=new n(c);return{component:l,layer:this.isTop(c)?r.FORE:r.BG,direction:i.NONE,type:o.ANNOTATION,extra:t}}},e.prototype.annotation=function(t){this.option.push(t)},e.prototype.arc=function(t){return this.annotation(Object(a["__assign"])({type:"arc"},t)),this},e.prototype.image=function(t){return this.annotation(Object(a["__assign"])({type:"image"},t)),this},e.prototype.line=function(t){return this.annotation(Object(a["__assign"])({type:"line"},t)),this},e.prototype.region=function(t){return this.annotation(Object(a["__assign"])({type:"region"},t)),this},e.prototype.text=function(t){return this.annotation(Object(a["__assign"])({type:"text"},t)),this},e.prototype.dataMarker=function(t){return this.annotation(Object(a["__assign"])({type:"dataMarker"},t)),this},e.prototype.dataRegion=function(t){this.annotation(Object(a["__assign"])({type:"dataRegion"},t))},e.prototype.regionFilter=function(t){this.annotation(Object(a["__assign"])({type:"regionFilter"},t))},e.prototype.shape=function(t){this.annotation(Object(a["__assign"])({type:"shape"},t))},e.prototype.html=function(t){this.annotation(Object(a["__assign"])({type:"html"},t))},e.prototype.parsePosition=function(t){var e=this.view.getXScale(),n=this.view.getScalesByDim("y"),r=Object(s["isFunction"])(t)?t.call(null,e,n):t,i=0,o=0;if(Object(s["isArray"])(r)){var a=r[0],c=r[1];if(Object(s["isString"])(a)&&-1!==a.indexOf("%")&&!isNaN(a.slice(0,-1)))return this.parsePercentPosition(r);i=Ba(a,e),o=Ba(c,Object.values(n)[0])}else if(!Object(s["isNil"])(r))for(var l=0,u=Object(s["keys"])(r);l<u.length;l++){var h=u[l],f=r[h];h===e.field&&(i=Ba(f,e)),n[h]&&(o=Ba(f,n[h]))}return this.view.getCoordinate().convert({x:i,y:o})},e.prototype.getRegionPoints=function(t,e){var n,r=this,i=this.view.getXScale(),o=this.view.getScalesByDim("y"),a=Object.values(o)[0],c=i.field,l=this.view.getData(),u=Object(s["isArray"])(t)?t[0]:t[c],h=Object(s["isArray"])(e)?e[0]:e[c],f=[];return Object(s["each"])(l,function(t,e){if(t[c]===u&&(n=e),e>=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=ot(i,f),g=ot(i,p);d>g&&(g=2*Math.PI+g),c={center:i.getCenter(),radius:rt(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,w=x.content,j=Object(a["__rest"])(x,["position","content"]),C=w;Object(s["isFunction"])(w)&&(C=w(b)),c=Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},this.parsePosition(O)),j),{content:C})}else if("dataMarker"===t){var S=e,k=(O=S.position,S.point),M=S.line,_=S.text,A=S.autoAdjust,T=S.direction;c=Object(a["__assign"])(Object(a["__assign"])({},this.parsePosition(O)),{coordinateBBox:this.getCoordinateBBox(),point:k,line:M,text:_,autoAdjust:A,direction:T})}else if("dataRegion"===t){var E=e,P=(u=E.start,h=E.end,E.region),L=(_=E.text,E.lineLength);c={points:this.getRegionPoints(u,h),region:P,text:_,lineLength:L}}else if("regionFilter"===t){var I=e,F=(u=I.start,h=I.end,I.apply),D=I.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){F?Object(s["contains"])(F,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 Y=e,z=Y.render,G=Object(a["__rest"])(Y,["render"]),V=function(t){if(Object(s["isFunction"])(e.render))return z(t,r.view,{parsePosition:r.parsePosition.bind(r)})};c=Object(a["__assign"])(Object(a["__assign"])({},G),{render:V})}else if("html"===t){var X=e,W=X.html,H=(O=X.position,G=Object(a["__rest"])(X,["html","position"]),function(t){return Object(s["isFunction"])(W)?W(t,r.view):W});c=Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},G),this.parsePosition(O)),{parent:o.get("el").parentNode,html:H})}var U=Object(s["deepMix"])({},n,Object(a["__assign"])(Object(a["__assign"])({},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"])({},Ln,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);Q(i,["container"]),e.component.update(i),Object(s["includes"])(Ra,t.type)&&e.component.render()}else e=this.createAnnotation(t),e&&(e.component.init(),Object(s["includes"])(Ra,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}(kn),Ya=Na;function za(t,e){return Object(s["get"])(t,["components","axis",e,"grid"],{})}function Ga(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 Va(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 Xa(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 Wa=["container"],Ha=Object(a["__assign"])(Object(a["__assign"])({},Ln),{appear:null}),Ua=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.axisContainer=n.view.getLayer(r.BG).addGroup(),n}return Object(a["__extends"])(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?vt(e,a):Ot(e):"y"===l&&(r=e.isTransposed?Ot(e):vt(e,a)):r=vt(e,a);else if(s===o.GRID)if(e.isPolar){var f=void 0;f=e.isTransposed?"x"===l?Va(e,t.view.getYScales()[0],u,h,l):Ga(e,u,l,h):"x"===l?Ga(e,u,l,h):Va(e,t.view.getXScale(),u,h,l),r={items:f,center:t.view.getCoordinate().getCenter()}}else r={items:Ga(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.axisContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.axisContainer.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=wt(this.option,e.field);if(!1!==n){var o=jt(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);Q(p,Wa),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);Q(p,Wa),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);Q(p,Wa),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);Q(p,Wa),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=wt(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=jt(c,0===o?i.LEFT:i.RIGHT),g=e.cache.get(h);if(g){var y=e.getLineAxisCfg(n,c,d);Q(y,Wa),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);Q(y,Wa),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);Q(y,Wa),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);Q(y,Wa),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 F(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 B(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 D(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 R(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=this.axisContainer,i=this.view.getCoordinate(),o=vt(i,n),c=Ct(t,e),l=xt(this.view.getTheme(),n),u=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:c}}},{title:Object(s["get"])(xt(this.view.getTheme(),"common"),"title")},e):e,h=Object(s["deepMix"])(Object(a["__assign"])(Object(a["__assign"])({container:r},o),{ticks:t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}}),verticalFactor:i.isPolar?-1*bt(o,i.getCenter()):bt(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=mt(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(Xa(xt(this.view.getTheme(),n),e)){var i=za(this.view.getTheme(),n),o=Object(s["deepMix"])({container:this.gridContainer},i,Object(s["get"])(e,"grid"),this.getAnimateCfg(e));return o.items=Ga(this.view.getCoordinate(),t,r,Object(s["get"])(o,"alignTick",!0)),o}},e.prototype.getCircleAxisCfg=function(t,e,n){var r=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=Ct(t,e),u=xt(this.view.getTheme(),i.CIRCLE),h=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:l}}},{title:Object(s["get"])(xt(this.view.getTheme(),"common"),"title")},e):e,f=Object(s["deepMix"])(Object(a["__assign"])(Object(a["__assign"])({container:r},Ot(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(Xa(xt(this.view.getTheme(),n),e)){var o=za(this.view.getTheme(),i.RADIUS),a=Object(s["deepMix"])({container: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=Va(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"])({},Ha,t.animateOption):Ha}},e}(kn),qa=Ua;function Za(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 Ka(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e],t)}function Qa(t){return Object(s["get"])(t,"position",i.BOTTOM)}var $a=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["__extends"])(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=kr(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 J(l.x,l.y,l.width,l.height).expand(c),h=Za(t.view.viewBBox,u,r),f=h[0],p=h[1],d=Za(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=Ka(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&&(Q(c,["container"]),a.direction=Qa(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);Q(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=Qa(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=Ka(this.option,n.field),c=r.FORE,l=Qa(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 N(i)},e.prototype.createContinuousLegend=function(t,e,n,r){var i=this.getContinuousCfg(t,e,n,r);return new Y(i)},e.prototype.createCategoryLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r);return new N(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=Qa(r),f=kr(h),p=Object(s["get"])(r,"title");return p&&(p=Object(s["deepMix"])({text:ft(n)},p)),l.container=u,l.layout=f,l.title=p,l.animateOption=Ln,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=kr(c),f=o?_r(l,u,r.items):Mr(this.view,t,e,l,u),p=Object(s["get"])(r,"title");p&&(p=Object(s["deepMix"])({text:n?ft(n):""},p));var d=this.getCategoryLegendSizeCfg(h);d.container=a,d.layout=h,d.items=f,d.title=p,d.animateOption=Ln;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}(kn),Ja=$a,ts=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["__extends"])(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 J(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=Za(this.view.viewBBox,c,i.BOTTOM),p=(f[0],f[1]),d=Za(this.view.coordinateBBox,c,i.BOTTOM),g=d[0];d[1];this.slider.component.update(Object(a["__assign"])(Object(a["__assign"])({},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 I["Slider"](Object(a["__assign"])({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["__assign"])(Object(a["__assign"])({},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["__assign"])({data:this.getData()},Object(s["get"])(this.option,"trendCfg",{}));t=Object(s["deepMix"])({},t,this.getThemeOptions(),this.option),t=Object(a["__assign"])(Object(a["__assign"])({},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=!0,o=Object(s["valuesOfKey"])(n,r.field),a=i?o:o.reverse(),c=Object(s["size"])(n);if(r&&c){var l=Object(s["size"])(a),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1));this.view.filter(r.field,function(t,e){var n=a.indexOf(t);return!(n>-1)||Z(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}(kn),es=ts,ns=0,rs=8,is=32,os=20,as=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["__extends"])(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 J(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=Za(this.view.viewBBox,o,i.BOTTOM),h=(u[0],u[1]),f=Za(this.view.coordinateBBox,o,i.BOTTOM),p=f[0];f[1];c=p,l=h}else{var d=Za(this.view.viewBBox,o,i.RIGHT),g=(d[0],h=d[1],Za(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["__assign"])(Object(a["__assign"])({},s),{x:c,y:l,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(Object(a["__assign"])(Object(a["__assign"])({},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","slider","common"],{})},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)||Z(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e="vertical"!==t,n=new I["Scrollbar"](Object(a["__assign"])(Object(a["__assign"])({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["__assign"])(Object(a["__assign"])({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):Object(a["__assign"])({},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.view.getXScale(),this.getValidScrollbarCfg()),i=r.type,o=r.padding,c=r.width,l=r.height,u="vertical"!==i,h=o[0],f=o[1],p=o[2],d=o[3],g=u?{x:e.minX+d,y:n.maxY-l-p}:{x:n.maxX-c-f,y:e.minY+h},y=this.getStep(),v=this.getCnt(),m=u?e.width-d-f:e.height-h-p,b=Math.max(m*Object(s["clamp"])(y/v,0,1),os);return Object(a["__assign"])(Object(a["__assign"])({},this.getThemeOptions()),{x:g.x,y:g.y,size:u?l:c,isHorizontal:u,trackLen:m,thumbLen:b,thumbOffset:0})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:is,width:rs,height:rs,padding:[0,0,0,0],animate:!0};return Object(s["isObject"])(this.option)&&(t=Object(a["__assign"])(Object(a["__assign"])({},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}(kn),ss=as,cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.show=function(){var t=this.context.view,e=this.context.event,n=t.getTooltipItems({x:e.x,y:e.y});if(!Object(s["isEqual"])(n,this.items)&&(this.items=n,n.length)){var r=t.getXScale().field,i=n[0].data[r],o=[],a=t.geometries;if(Object(s["each"])(a,function(t){if("interval"===t.type||"schema"===t.type){var e=t.getElementsBy(function(t){var e=t.getData();return e[r]===i});o=o.concat(e)}}),o.length){var c=t.getCoordinate(),l=o[0].shape.getCanvasBBox(),u=o[0].shape.getCanvasBBox(),h=l;Object(s["each"])(o,function(t){var e=t.shape.getCanvasBBox();c.isTransposed?(e.minY<l.minY&&(l=e),e.maxY>u.maxY&&(u=e)):(e.minX<l.minX&&(l=e),e.maxX>u.maxX&&(u=e)),h.x=Math.min(e.minX,h.minX),h.y=Math.min(e.minY,h.minY),h.width=Math.max(e.maxX,h.maxX)-h.x,h.height=Math.max(e.maxY,h.maxY)-h.y});var f=t.backgroundGroup,p=t.coordinateBBox,d=void 0;if(c.isRect){var g=t.getXScale(),y=g.isLinear?0:.25,v=void 0,m=void 0,b=void 0,x=void 0;c.isTransposed?(v=p.minX,m=Math.min(u.minY,l.minY)-y*u.height,b=p.width,x=h.height+2*y*u.height):(v=Math.min(l.minX,u.minX)-y*l.width,m=Math.min(p.minY,l.minY),b=h.width+2*y*l.width,x=p.height),d=[["M",v,m],["L",v+b,m],["L",v+b,m+x],["L",v,m+x],["Z"]]}else{var O=Object(s["head"])(o),w=Object(s["last"])(o),j=H(O.getModel(),c).startAngle,C=H(w.getModel(),c).endAngle,S=c.getCenter(),k=c.getRadius(),M=c.innerRadius*k;d=X(S.x,S.y,k,j,C,M)}this.regionPath?(this.regionPath.attr("path",d),this.regionPath.show()):this.regionPath=f.addShape({type:"path",name:"active-region",capture:!1,attrs:{path:d,fill:"#CCD6EC",opacity:.3}})}}},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}(Tt),ls=cs,us=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["__extends"])(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}(Tt),hs=us,fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.showTooltip=function(t,e){var n=ve(t);Object(s["each"])(n,function(n){var r=be(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=ve(t);Object(s["each"])(e,function(t){t.hideTooltip()})},e}(hs),ps=fs,ds=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["__extends"])(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["__assign"])({title:i},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t=this.context.view,e=t.canvas,n={start:{x:0,y:0},end:{x:e.get("width"),y:e.get("height")}},r=t.getTheme(),i=Object(s["get"])(r,["components","tooltip","domStyles"],{}),o=new z({parent:e.get("el").parentNode,region:n,visible:!1,crosshairs:null,domStyles:i});o.init(),o.setCapture(!1),this.tooltip=o},e}(Tt),gs=ds,ys=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e}return Object(a["__extends"])(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=se(t,this.stateName);Object(s["each"])(n,function(t){e.setElementState(t,!1)})},e}(Tt),vs=ys;function ms(t){return Object(s["get"])(t.get("delegateObject"),"item")}var bs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=["unchecked"],e}return Object(a["__extends"])(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=oe(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=Oe(r,e),o=ce(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=Qt(this.context);if(e)Jt(this.context)&&this.setStateByElement(e,t);else{var n=$t(this.context);if(te(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&&ms(o.fromShape)===ms(o.toShape))return;this.setStateByComponent(i,r,t)}}}},e.prototype.toggle=function(){var t=Qt(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(vs),xs=bs,Os=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.active=function(){this.setState()},e}(xs),ws=Os,js=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return Object(a["__extends"])(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=ce(t,r.field);if(!this.cache[i]){var o=ae(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<l-1){var r=o[n+1];e.addLinkShape(c,t,r)}})}}},e.prototype.removeLink=function(t){var e=this.getColorScale(this.context.view,t);if(e){var n=ce(t,e.field);this.cache[n]&&(this.cache[n].remove(),this.cache[n]=null)}},e.prototype.link=function(){var t=this.context;this.linkGroup||(this.linkGroup=t.view.foregroundGroup.addGroup({capture:!1}));var e=Qt(t);e&&this.linkByElement(e)},e.prototype.unlink=function(){var t=Qt(this.context);t&&this.removeLink(t)},e.prototype.clear=function(){this.linkGroup&&this.linkGroup.clear(),this.cache={}},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.linkGroup&&this.linkGroup.remove()},e}(Tt),Cs=js,Ss=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.endPoint=null,e.isStarted=!1,e.effectSiblings=!1,e.effectByRecord=!1,e}return Object(a["__extends"])(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.start=function(){this.clear(),this.startPoint=this.getCurrentPoint(),this.isStarted=!0},e.prototype.getIntersectElements=function(){var t=null;if(ne(this.context))t=re(this.context,10);else{var e=this.startPoint,n=this.isStarted?this.getCurrentPoint():this.endPoint;if(!e||!n)return;var r={minX:Math.min(e.x,n.x),minY:Math.min(e.y,n.y),maxX:Math.max(e.x,n.x),maxY:Math.max(e.y,n.y)},i=this.context.view;t=ue(i,r)}return t},e.prototype.setStateEnable=function(t){if(this.effectSiblings&&!this.effectByRecord)this.setSiblingsState(t);else{var e=oe(this.context.view),n=this.getIntersectElements();n&&n.length?this.effectByRecord?this.setSiblingsStateByRecord(n,t):this.setElementsState(n,t,e):this.clear()}},e.prototype.setSiblingsStateByRecord=function(t,e){var n=this,r=this.context.view,i=ve(r),o=t.map(function(t){return t.getModel().data}),a=r.getXScale().field,c=r.getYScales()[0].field;Object(s["each"])(i,function(t){var r=oe(t),i=r.filter(function(t){var e=t.getModel().data;return xe(o,e,a,c)});n.setElementsState(i,e,r)})},e.prototype.setSiblingsState=function(t){var e=this,n=this.context.view,r=ve(n);ne(this.context)&&Object(s["each"])(r,function(n){var r=oe(n),i=ie(e.context,n,10);i&&i.length?e.setElementsState(i,t,r):e.clearViewState(n)})},e.prototype.setElementsState=function(t,e,n){var r=this;Object(s["each"])(n,function(n){t.includes(n)?r.setElementState(n,e):r.setElementState(n,!1)})},e.prototype.end=function(){this.isStarted=!1,this.endPoint=this.getCurrentPoint()},e.prototype.clear=function(){var t=this,e=this.context.view;if(this.effectSiblings){var n=ve(e);Object(s["each"])(n,function(e){t.clearViewState(e)})}else this.clearViewState(e)},e}(vs),ks=Ss,Ms=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.active=function(){this.setState()},e}(ks),_s=Ms,As=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.setStateEnable=function(t){var e=Qt(this.context);if(e){if(!Jt(this.context))return;t?(this.clear(),this.setElementState(e,!0)):this.hasState(e)&&this.setElementState(e,!1)}},e.prototype.toggle=function(){var t=Qt(this.context);if(t){var e=this.hasState(t);e||this.clear(),this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(vs),Ts=As,Es=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.active=function(){this.setState()},e}(Ts),Ps=Es,Ls="inactive",Is="active";function Fs(t){var e=oe(t);Object(s["each"])(e,function(t){t.hasState(Is)&&t.setState(Is,!1),t.hasState(Ls)&&t.setState(Ls,!1)})}function Ds(t,e,n){Object(s["each"])(t,function(t){e(t)?(t.hasState(Ls)&&t.setState(Ls,!1),t.setState(Is,n)):(t.hasState(Is)&&t.setState(Is,!1),t.setState(Ls,n))})}var Bs=h.INACTIVE,Rs=h.ACTIVE,Ns=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=Rs,e}return Object(a["__extends"])(e,t),e.prototype.setElementsStateByItem=function(t,e,n,r){var i=this,o=function(t){return i.isMathItem(t,e,n)};this.setHighlightBy(t,o,r)},e.prototype.setElementHighlight=function(t,e){e(t)?(t.hasState(Bs)&&t.setState(Bs,!1),t.setState(Rs,!0)):t.hasState(Rs)||t.setState(Bs,!0)},e.prototype.setHighlightBy=function(t,e,n){var r=this;if(n)Object(s["each"])(t,function(t){r.setElementHighlight(t,e)});else{var i=se(this.context.view,Rs),o=!0;Object(s["each"])(i,function(t){if(!e(t))return o=!1,!1}),o?this.clear():Object(s["each"])(t,function(t){e(t)&&(t.hasState(Rs)&&t.setState(Rs,!1),t.setState(Bs,!0))})}},e.prototype.setElementState=function(t,e){var n=this.context.view,r=oe(n);this.setHighlightBy(r,function(e){return t===e},e)},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.context.view;Fs(t)},e}(xs),Ys=Ns,zs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.setStateByElement=function(t,e){var n=this.context.view,r=t.geometry.getAttribute("color");if(r){var i=n.getScaleByField(r.getFields()[0]),o=ce(t,i.field),a=oe(n),s=a.filter(function(t){return ce(t,i.field)===o});this.setHighlightBy(a,function(t){return s.includes(t)},e)}},e}(Ys),Gs=zs,Vs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.setElementHighlight=function(t,e){e(t)?(t.hasState(Bs)&&t.setState(Bs,!1),t.setState(Rs,!0)):(t.setState(Bs,!0),t.hasState(Rs)&&t.setState(Rs,!1))},e.prototype.setStateByElement=function(t,e){var n=this.context.view,r=n.getXScale(),i=ce(t,r.field),o=oe(n),a=o.filter(function(t){return ce(t,r.field)===i});this.setHighlightBy(o,function(t){return a.includes(t)},e)},e.prototype.toggle=function(){var t=Qt(this.context);if(t){var e=t.hasState(this.stateName);this.setStateByElement(t,!e)}},e}(Ys),Xs=Vs,Ws=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.clearViewState=function(t){Fs(t)},e.prototype.highlight=function(){this.setState()},e.prototype.setElementsState=function(t,e,n){Ds(n,function(e){return t.indexOf(e)>=0},e)},e}(ks),Hs=Ws,Us=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){var n=this.context.view,r=oe(n);Ds(r,function(e){return t===e},e)},e.prototype.clear=function(){var t=this.context.view;Fs(t)},e}(Ts),qs=Us,Zs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(ks),Ks=Zs,Qs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(xs),$s=Qs,Js=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(Ts),tc=Js,ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return Object(a["__extends"])(e,t),e.prototype.getTriggerListInfo=function(){var t=$t(this.context),e=null;return te(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=pe(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=Oe(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=Oe(i,r),a=ce(e,r),s=o.getText(a);this.setItemsState(t,s,n)},e.prototype.setStateEnable=function(t){var e=this,n=Qt(this.context);if(n){var r=this.getAllowComponents();Object(s["each"])(r,function(r){e.setStateByElement(r,n,t)})}else{var i=$t(this.context);if(te(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}(Tt),nc=ec,rc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.active=function(){this.setState()},e}(nc),ic=rc,oc="inactive",ac="active";function sc(t){var e=t.getItems();Object(s["each"])(e,function(e){t.hasState(e,ac)&&t.setItemState(e,ac,!1),t.hasState(e,oc)&&t.setItemState(e,oc,!1)})}var cc="inactive",lc="active",uc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=lc,e.ignoreItemStates=["unchecked"],e}return Object(a["__extends"])(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,cc)&&t.setItemState(n,cc,!1),t.setItemState(n,lc,!0)):t.hasState(n,lc)||t.setItemState(n,cc,!0)});else{var i=t.getItemsByState(lc),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,lc)&&t.setItemState(n,lc,!1),t.setItemState(n,cc,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)sc(t.list);else{var e=this.getAllowComponents();Object(s["each"])(e,function(t){t.clearItemsState(lc),t.clearItemsState(cc)})}},e}(nc),hc=uc,fc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(nc),pc=fc,dc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="unchecked",e}return Object(a["__extends"])(e,t),e.prototype.unchecked=function(){this.setState()},e}(nc),gc=dc,yc=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["__extends"])(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["__assign"])({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}(Tt),vc=yc,mc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return Object(a["__extends"])(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=de(o,e)/2,r=(e.x+o.x)/2,i=(e.y+o.y)/2}return{x:r,y:i,r:n}},e}(vc),bc=mc,xc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return Object(a["__extends"])(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}(vc),Oc=xc;function wc(t){t.x=Object(s["clamp"])(t.x,0,1),t.y=Object(s["clamp"])(t.y,0,1)}var jc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return Object(a["__extends"])(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&&(wc(o),wc(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}(Oc),Cc=jc,Sc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(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}(vc),kc=Sc,Mc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getMaskPath=function(){var t=this.points;return ge(t,!0)},e}(kc),_c=Mc,Ac=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(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}(Tt),Tc=Ac,Ec=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(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=$t(this.context);if(t){var e=this.context.view,n=t.component,r=n.get("field");if(te(t)){if(r){var i=n.getItemsByState("unchecked"),o=Oe(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(ee(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}(Tt),Pc=Ec;function Lc(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(i<s&&(i=s),o>c&&(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 Ic=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["__extends"])(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(ne(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=Lc(c,"x",a,s);this.filterView(i,c.field,l)}if(this.hasDim("y")){var u=i.getYScales()[0];l=Lc(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}(Tt),Fc=Ic,Dc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.filterView=function(t,e,n){var r=ve(t);Object(s["each"])(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=ve(t);Object(s["each"])(e,function(t){t.render(!0)})},e}(Fc),Bc=Dc,Rc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.filter=function(){var t=$t(this.context),e=this.context.view,n=oe(e);if(ne(this.context)){var r=re(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(te(t)){if(o){var a=i.getItemsByState("unchecked"),c=Oe(e,o),l=a.map(function(t){return t.name});Object(s["each"])(n,function(t){var e=ce(t,o),n=c.getText(e);l.indexOf(n)>=0?t.hide():t.show()})}}else if(ee(t)){var u=i.getValue(),h=u[0],f=u[1];Object(s["each"])(n,function(t){var e=ce(t,o);e>=h&&e<=f?t.show():t.hide()})}}},e.prototype.clear=function(){var t=oe(this.context.view);Object(s["each"])(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(Tt),Nc=Rc,Yc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return Object(a["__extends"])(e,t),e.prototype.filter=function(){ne(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=re(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=ve(t);Object(s["each"])(o,function(t){var e=oe(t);Object(s["each"])(e,function(t){var e=t.getModel().data;xe(i,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=ve(e);Object(s["each"])(n,function(e){var n=ie(t.context,e,10),r=oe(e);n&&Object(s["each"])(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=ve(this.context.view);Object(s["each"])(t,function(t){var e=oe(t);Object(s["each"])(e,function(t){t.show()})})},e}(Tt),zc=Yc,Gc=10,Vc=5,Xc=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["__extends"])(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["__assign"])({text:t.text},t.textStyle)}),r=n.getBBox(),i=sn(t.padding),o=e.addShape({type:"rect",name:"button-rect",attrs:Object(a["__assign"])({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=dt["ext"].transform(null,[["t",n.x-i.width-Gc,n.y+i.height+Vc]]);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}(Tt),Wc=Xc,Hc=4,Uc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return Object(a["__extends"])(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}):de(t,this.startPoint)>Hc&&(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}(Tt),qc=Uc,Zc=5,Kc=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["__extends"])(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=de(t,e);if(n>Zc&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var r=this.context.view,i=dt["ext"].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}(Tt),Qc=Kc,$c="x",Jc="y",tl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=[$c,Jc],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return Object(a["__extends"])(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($c),this.resetDim(Jc);var t=this.context.view;t.render(!0)},e}(Tt),el=tl,nl=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["__extends"])(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}(el),rl=nl,il=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return Object(a["__extends"])(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}(el),ol=il;function al(t){return t.isInPlot()}function sl(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}n.d(e,"a",function(){return Sn}),n.d(e,"b",function(){return Tt}),n.d(e,"f",function(){return ln}),n.d(e,"h",function(){return $n}),n.d(e,"g",function(){return Le}),n.d(e,"e",function(){return Ft}),n.d(e,"d",function(){return He}),n.d(e,"c",function(){return Ar}),Ue("dark",Be(Fr)),x("canvas",Dr),x("svg",Br),wn("Polygon",Si),wn("Interval",gi),wn("Schema",Mi),wn("Path",Kr),wn("Point",wi),wn("Line",vi),wn("Area",ei),wn("Edge",ri),wn("Heatmap",ai),Wn("base",xr),Wn("interval",Ki),Wn("pie",eo),Wn("polar",Ji),Un("overlap",wo),Un("distribute",io),Un("fixed-overlap",Oo),Un("hide-overlap",Eo),Un("limit-in-shape",yo),Un("limit-in-canvas",go),Un("limit-in-plot",ea),Un("pie-outer",co),Un("adjust-color",Fo),Un("interval-adjust-position",No),Un("interval-hide-overlap",zo),Un("point-adjust-position",Ho),Un("pie-spider",po),Un("path-adjust-position",Qo),Pn("fade-in",na),Pn("fade-out",ra),Pn("grow-in-x",aa),Pn("grow-in-xy",ca),Pn("grow-in-y",sa),Pn("scale-in-x",ha),Pn("scale-in-y",fa),Pn("wave-in",va),Pn("zoom-in",ba),Pn("zoom-out",xa),Pn("position-update",ua),Pn("sector-path-update",ya),Pn("path-in",la),_t("rect",Pa),_t("mirror",Ta),_t("list",ka),_t("matrix",_a),_t("circle",Ca),_t("tree",Ia),ln("axis",qa),ln("legend",Ja),ln("tooltip",An),ln("annotation",Ya),ln("slider",es),ln("scrollbar",ss),Ft("tooltip",hs),Ft("sibling-tooltip",ps),Ft("ellipsis-text",gs),Ft("element-active",ws),Ft("element-single-active",Ps),Ft("element-range-active",_s),Ft("element-highlight",Ys),Ft("element-highlight-by-x",Xs),Ft("element-highlight-by-color",Gs),Ft("element-single-highlight",qs),Ft("element-range-highlight",Hs),Ft("element-sibling-highlight",Hs,{effectSiblings:!0,effectByRecord:!0}),Ft("element-selected",$s),Ft("element-single-selected",tc),Ft("element-range-selected",Ks),Ft("element-link-by-color",Cs),Ft("active-region",ls),Ft("list-active",ic),Ft("list-selected",pc),Ft("list-highlight",hc),Ft("list-unchecked",gc),Ft("legend-item-highlight",hc,{componentNames:["legend"]}),Ft("axis-label-highlight",hc,{componentNames:["axis"]}),Ft("rect-mask",Oc),Ft("x-rect-mask",Cc,{dim:"x"}),Ft("y-rect-mask",Cc,{dim:"y"}),Ft("circle-mask",bc),Ft("path-mask",kc),Ft("smooth-path-mask",_c),Ft("cursor",Tc),Ft("data-filter",Pc),Ft("brush",Fc),Ft("brush-x",Fc,{dims:["x"]}),Ft("brush-y",Fc,{dims:["y"]}),Ft("sibling-filter",Bc),Ft("sibling-x-filter",Bc),Ft("sibling-y-filter",Bc),Ft("element-filter",Nc),Ft("element-sibling-filter",zc),Ft("element-sibling-filter-record",zc,{byRecord:!0}),Ft("view-drag",qc),Ft("view-move",Qc),Ft("scale-translate",rl),Ft("scale-zoom",ol),Ft("reset-button",Wc,{name:"reset-button",text:"reset"}),Le("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"}]}),Le("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"}]}),Le("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Le("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Le("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Le("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Le("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),Le("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"]}]}),Le("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"]}]}),Le("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"]}]}),Le("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"]}]}),Le("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"]}]}),Le("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:al,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:al,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:al,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"]}]}),Le("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"]}]}),Le("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:al,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:al,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:al,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),Le("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:al,action:"path-mask:start"},{trigger:"mousedown",isEnable:al,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"}]}),Le("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),Le("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"]}]}),Le("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),Le("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),Le("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"]}]}),Le("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),Le("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return sl(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!sl(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),Le("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<c;n++)i=e[n],126===i.marker&&-1!==i.end&&(o=e[i.end],a=t.tokens[i.token],a.type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",a=t.tokens[o.token],a.type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===t.tokens[o.token-1].type&&"~"===t.tokens[o.token-1].content&&s.push(o.token-1));while(s.length){n=s.pop(),r=n+1;while(r<t.tokens.length&&"s_close"===t.tokens[r].type)r++;r--,n!==r&&(a=t.tokens[r],t.tokens[r]=t.tokens[n],t.tokens[n]=a)}}t.exports.tokenize=function(t,e){var n,r,i,o,a,s=t.pos,c=t.src.charCodeAt(s);if(e)return!1;if(126!==c)return!1;if(r=t.scanDelims(t.pos,!0),o=r.length,a=String.fromCharCode(c),o<2)return!1;for(o%2&&(i=t.push("text","",0),i.content=a,o--),n=0;n<o;n+=2)i=t.push("text","",0),i.content=a+a,t.delimiters.push({marker:c,length:0,jump:n,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0},t.exports.postProcess=function(t){var e,n=t.tokens_meta,i=t.tokens_meta.length;for(r(t,t.delimiters),e=0;e<i;e++)n[e]&&n[e].delimiters&&r(t,n[e].delimiters)}},kwiP:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("u9/z"),a=n("SZbK");(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{percent:.2,color:a["a"]}},e.prototype.changeData=function(t){this.update({percent:t})},e.prototype.getSchemaAdaptor=function(){return o["a"]}})(i["a"])},ky0j:function(t,e,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;t.exports=function(t,e){var n,o,a,s,c,l,u,h,f,p,d,g,y,v="",m=t.pos,b=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(l=t.pos+2,c=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),c<0)return!1;if(u=c+1,u<b&&40===t.src.charCodeAt(u)){for(u++;u<b;u++)if(o=t.src.charCodeAt(u),!i(o)&&10!==o)break;if(u>=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;u++)if(o=t.src.charCodeAt(u),!i(o)&&10!==o)break;if(f=t.md.helpers.parseLinkTitle(t.src,u,t.posMax),u<b&&y!==u&&f.ok){for(p=f.str,u=f.pos;u<b;u++)if(o=t.src.charCodeAt(u),!i(o)&&10!==o)break}else p="";if(u>=b||41!==t.src.charCodeAt(u))return t.pos=m,!1;u++}else{if("undefined"===typeof t.env.references)return!1;if(u<b&&91===t.src.charCodeAt(u)?(y=u+1,u=t.md.helpers.parseLinkLabel(t,u),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}},lOPJ:function(t,e,n){"use strict";var r=n("mrSG"),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$$";function f(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.groupField,s=n.color,c=Array.isArray(i)?l:i,u=e.schema().position(r+"*"+c).shape("box");o&&u.color(o,s).adjust("dodge");var h=n.data;if(Array.isArray(i)){var f=i[0],p=i[1],d=i[2],g=i[3],y=i[4];h=Object(a["map"])(h,function(t){return t[l]=[t[f],t[p],t[d],t[g],t[y]],t})}return e.data(h),t}function p(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});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 d(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},e[g]={sync:v},y=e}var m=Object(o["b"])(y,a,(n={},n[f]=Object(o["k"])(s,c["a"]),n[g]=Object(o["k"])(u,c["a"]),n));return r.scale(m),t}function g(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 y(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 v(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 m(t){var e=t.chart,n=t.options,r=n.tooltip;return void 0!==r&&e.tooltip(r),t}function b(t){return Object(o["e"])(f,p,d,g,v,y,m,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.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 b}})(i["a"])},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}},mSF0:function(t,e,n){"use strict";var r=n("AGgm").arrayReplaceAt;function i(t){return/^<a[>\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<a;n++)if("inline"===O[n].type&&t.md.linkify.pretest(O[n].content))for(s=O[n].children,y=0,e=s.length-1;e>=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;h<x.length;h++)v=x[h].url,m=t.md.normalizeLink(v),t.md.validateLink(m)&&(b=x[h].text,b=x[h].schema?"mailto:"!==x[h].schema||/^mailto:/i.test(b)?t.md.normalizeLinkText(b):t.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):t.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),p=x[h].index,p>d&&(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<f.length&&(c=new t.Token("text","",0),c.content=f.slice(d),c.level=g,u.push(c)),O[n].children=s=r(s,e,u)}}else{e--;while(s[e].level!==l.level&&"link_open"!==s[e].type)e--}}},mTTR:function(t,e,n){var r=n("b80T"),i=n("QcOe"),o=n("MMmD");function a(t){return o(t)?r(t,!0):i(t)}t.exports=a},"ma/q":function(t,e,n){"use strict";n("kXyF"),n("zJSt"),n("Djfg");var r=n("XloR");n.d(e,"Line",function(){return r["a"]});n("uw/B"),n("u9VJ");var i=n("Y+LX");n.d(e,"Bar",function(){return i["a"]});n("Cr25"),n("z4Vf"),n("Mj7Y"),n("tE4n"),n("y753"),n("yqCL"),n("mttH"),n("027J"),n("05BJ"),n("BwSJ"),n("kwiP"),n("YP77"),n("+wVF"),n("lr9b"),n("/+3i"),n("aLzy"),n("FAXy"),n("BYeR"),n("cBFB"),n("XpFM"),n("FLLP"),n("TEat"),n("7ZbV"),n("rtSP"),n("Uo7R"),n("7+4w"),n("YuPD"),n("tKoa"),n("46lQ")},mc0g:function(t,e){function n(t){return function(e,n,r){var i=-1,o=Object(e),a=r(e),s=a.length;while(s--){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}t.exports=n},mdPL:function(t,e,n){(function(t){var r=n("WFqU"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a&&r.process,c=function(){try{var t=o&&o.require&&o.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c}).call(this,n("YuTi")(t))},mj6g:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"c",function(){return c}),n.d(e,"b",function(){return l});var r=n("mrSG"),i=n("iTfj"),o=n("YuPD");function a(t){var e={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",display:"flex",justifyContent:"center",alignItems:"center"},n=["stroke","lineWidth","shadowColor","strokeOpacity","shadowBlur","shadowOffsetX","shadowOffsetY","fill"];Object(i["get"])(t,"fill")&&(e["color"]=t["fill"]);var r=Object(o["k"])(t,n),a=r.shadowColor,s=r.shadowBlur,c=void 0===s?0:s,l=r.shadowOffsetX,u=void 0===l?0:l,h=r.shadowOffsetY,f=void 0===h?0:h;e["text-shadow"]=""+[a,u+"px",f+"px",c+"px"].join(" ");var p=Object(o["k"])(t,n),d=p.stroke,g=p.lineWidth,y=void 0===g?0:g;return e["-webkit-text-stroke"]=""+[y+"px",d].join(" "),Object(i["each"])(t,function(t,r){["fontSize"].includes(r)&&Object(i["isNumber"])(t)?e[Object(o["i"])(r)]=t+"px":r&&!n.includes(r)&&(e[Object(o["i"])(r)]=""+t)}),e}function s(t,e){t.style["pointer-events"]="none",Object(i["each"])(e,function(e,n){n&&e&&(t.style[n]=e)})}var c=function(t,e,n){var c=e.statistic,l=e.plotType,u=c.title,h=c.content;[u,h].forEach(function(e,c){if(e){var f="",p="";p=0===c?h?"translate(-50%, -100%)":"translate(-50%, -50%)":u?"translate(-50%, 0)":"translate(-50%, -50%)";var d=Object(i["isFunction"])(e.style)?e.style(n):e.style;t.annotation().html(Object(r["a"])({position:["50%","50%"],html:function(t,o){var c=o.getCoordinate(),u=0;if("pie"===l||"ring-progress"===l)u=c.getRadius()*c.innerRadius*2;else if("liquid"===l){var h=Object(i["get"])(o.geometries,[0,"elements",0,"shape"]);if(h){var g=h.find(function(t){return"circle"===t.get("type")}),y=g.getCanvasBBox().width;u=y}}else u||(u=c.getWidth());s(t,Object(r["a"])({width:u+"px",transform:p},a(d)));var v=o.getData();return e.customHtml?e.customHtml(t,o,n,v):(e.formatter&&(f=e.formatter(n,v)),f?Object(i["isString"])(f)?f:""+f:"<div></div>")},key:(0===c?"top":"bottom")+"-statistic"},Object(o["k"])(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:"<div></div>")}},Object(o["k"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},mttH:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa"),c=n("DyAw"),l=n("7cv3");function u(t){var e,n,r=t.chart,i=t.options,u=i.data,h=i.xAxis,f=i.yAxis,p=i.color,d=i.lineStyle,g=i.point,y=u.map(function(t,e){return{x:e,y:t}});r.data(y);var v=Object(o["b"])({},t,{options:{xField:l["b"],yField:l["c"],line:{color:p,style:d},point:g}}),m=Object(o["b"])({},v,{options:{tooltip:!1}});return Object(s["d"])(v),Object(s["e"])(m),r.axis(!1),r.legend(!1),Object(a["f"])((e={},e[l["b"]]=h,e[l["c"]]=f,e),(n={},n[l["b"]]={type:"cat"},n[l["c"]]=Object(c["a"])(y,l["c"]),n))(t),t}function h(t){return Object(o["e"])(u,a["j"],a["k"],a["a"],Object(a["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r["a"])({},l["a"])}},e.prototype.getSchemaAdaptor=function(){return h}})(i["a"])},"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"],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<n)if(t.isEmpty(r))r++;else{if(!(t.sCount[r]-t.blkIndent>=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]<t[1]*e[0]?-1:1)*Math.acos(o(t,e))}function s(t,e){var n=e[1],i=e[2],s=Object(r["m"])(Object(r["o"])(e[3]),2*Math.PI),c=e[4],l=e[5],u=t[0],h=t[1],f=e[6],p=e[7],d=Math.cos(s)*(u-f)/2+Math.sin(s)*(h-p)/2,g=-1*Math.sin(s)*(u-f)/2+Math.cos(s)*(h-p)/2,y=d*d/(n*n)+g*g/(i*i);y>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,w=(h+p)/2+Math.sin(s)*b+Math.cos(s)*x,j=[(d-b)/n,(g-x)/i],C=[(-1*d-b)/n,(-1*g-x)/i],S=a([1,0],j),k=a(j,C);return o(j,C)<=-1&&(k=Math.PI),o(j,C)>=1&&(k=0),0===l&&k>0&&(k-=2*Math.PI),1===l&&k<0&&(k+=2*Math.PI),{cx:O,cy:w,rx:Object(r["j"])(t,[f,p])?0:n,ry:Object(r["j"])(t,[f,p])?0:i,startAngle:S,endAngle:S+k,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("wOmg"),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"]),w=n-l,j=c-u,C=s(j,w);v&&(l-=a(C)*v,u-=o(C)*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,C),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<r;n++)e=i[n],"inline"===e.type&&t.md.inline.parse(e.content,t.md,t.env,e.children)}},oYZf:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("6JdA"),o=n("iTfj"),a=function(){function t(t){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var e=t.start,n=t.end,i=t.matrix,o=void 0===i?[1,0,0,0,1,0,0,0,1]:i,a=t.isTransposed,s=void 0!==a&&a;this.start=e,this.end=n,this.matrix=o,this.originalMatrix=Object(r["d"])(o),this.isTransposed=s}return t.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},t.prototype.update=function(t){Object(o["assign"])(this,t),this.initial()},t.prototype.convertDim=function(t,e){var n,r=this[e],i=r.start,o=r.end;return this.isReflect(e)&&(n=[o,i],i=n[0],o=n[1]),i+t*(o-i)},t.prototype.invertDim=function(t,e){var n,r=this[e],i=r.start,o=r.end;return this.isReflect(e)&&(n=[o,i],i=n[0],o=n[1]),(t-i)/(o-i)},t.prototype.applyMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,o=[t,e,n];return i["vec3"].transformMat3(o,o,r),o},t.prototype.invertMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,o=i["mat3"].invert([0,0,0,0,0,0,0,0,0],r),a=[t,e,n];return o&&i["vec3"].transformMat3(a,a,o),a},t.prototype.convert=function(t){var e=this.convertPoint(t),n=e.x,r=e.y,i=this.applyMatrix(n,r,1);return{x:i[0],y:i[1]}},t.prototype.invert=function(t){var e=this.invertMatrix(t.x,t.y,1);return this.invertPoint({x:e[0],y:e[1]})},t.prototype.rotate=function(t){var e=this.matrix,n=this.center;return i["ext"].leftTranslate(e,e,[-n.x,-n.y]),i["ext"].leftRotate(e,e,t),i["ext"].leftTranslate(e,e,[n.x,n.y]),this},t.prototype.reflect=function(t){return"x"===t?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},t.prototype.scale=function(t,e){var n=this.matrix,r=this.center;return i["ext"].leftTranslate(n,n,[-r.x,-r.y]),i["ext"].leftScale(n,n,[t,e]),i["ext"].leftTranslate(n,n,[r.x,r.y]),this},t.prototype.translate=function(t,e){var n=this.matrix;return i["ext"].leftTranslate(n,n,[t,e]),this},t.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},t.prototype.getCenter=function(){return this.center},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRadius=function(){return this.radius},t.prototype.isReflect=function(t){return"x"===t?this.isReflectX:this.isReflectY},t.prototype.resetMatrix=function(t){this.matrix=t||Object(r["d"])(this.originalMatrix)},t}(),s=a,c=function(t){function e(e){var n=t.call(this,e)||this;return n.isRect=!0,n.type="cartesian",n.initial(),n}return Object(r["b"])(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=this.start,n=this.end;this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;return this.isTransposed&&(e=[r,n],n=e[0],r=e[1]),{x:this.convertDim(n,"x"),y:this.convertDim(r,"y")}},e.prototype.invertPoint=function(t){var e,n=this.invertDim(t.x,"x"),r=this.invertDim(t.y,"y");return this.isTransposed&&(e=[r,n],n=e[0],r=e[1]),{x:n,y:r}},e}(s),l=c,u=function(t){function e(e){var n=t.call(this,e)||this;n.isHelix=!0,n.type="helix";var r=e.startAngle,i=void 0===r?1.25*Math.PI:r,o=e.endAngle,a=void 0===o?7.25*Math.PI:o,s=e.innerRadius,c=void 0===s?0:s,l=e.radius;return n.startAngle=i,n.endAngle=a,n.innerRadius=c,n.radius=l,n.initial(),n}return Object(r["b"])(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=(this.endAngle-this.startAngle)/(2*Math.PI)+1,n=Math.min(this.width,this.height)/2;this.radius&&this.radius>=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=i["vec2"].subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),a=i["ext"].angleTo(r,[1,0],!0),s=a*this.a;i["vec2"].length(r)<s&&(s=i["vec2"].length(r));var c=Math.floor((i["vec2"].length(r)-s)/n);a=2*c*Math.PI+a;var l=this.a*a,u=i["vec2"].length(r)-l;u=Object(o["isNumberEqual"])(u,0)?0:u;var h=this.invertDim(a,"x"),f=this.invertDim(u,"y");return h=Object(o["isNumberEqual"])(h,0)?0:h,f=Object(o["isNumberEqual"])(f,0)?0:f,this.isTransposed&&(e=[f,h],h=e[0],f=e[1]),{x:h,y:f}},e}(s),h=u,f=function(t){function e(e){var n=t.call(this,e)||this;n.isPolar=!0,n.type="polar";var r=e.startAngle,i=void 0===r?-Math.PI/2:r,o=e.endAngle,a=void 0===o?3*Math.PI/2:o,s=e.innerRadius,c=void 0===s?0:s,l=e.radius;return n.startAngle=i,n.endAngle=a,n.innerRadius=c,n.radius=l,n.initial(),n}return Object(r["b"])(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);while(this.endAngle<this.startAngle)this.endAngle+=2*Math.PI;var e,n=this.getOneBox(),r=n.maxX-n.minX,i=n.maxY-n.minY,o=Math.abs(n.minX)/r,a=Math.abs(n.minY)/i;this.height/i>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];i["ext"].leftRotate(r,r,this.startAngle);var a=[1,0,0];i["vec3"].transformMat3(a,a,r);var s=[a[0],a[1]],c=i["ext"].angleTo(s,n,this.endAngle<this.startAngle);Object(o["isNumberEqual"])(c,2*Math.PI)&&(c=0);var l=i["vec2"].length(n),u=c/(this.endAngle-this.startAngle);u=this.endAngle-this.startAngle>0?u:-u;var h=this.invertDim(l,"y"),f={x:0,y:0};return f.x=this.isTransposed?h:u,f.y=this.isTransposed?u:h,f},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);i<Math.max(t,e);i+=Math.PI/18)n.push(Math.cos(i)),r.push(Math.sin(i));return{minX:Math.min.apply(Math,n),maxX:Math.max.apply(Math,n),minY:Math.min.apply(Math,r),maxY:Math.max.apply(Math,r)}},e}(s),p=f,d={},g=function(t){return d[t.toLowerCase()]},y=function(t,e){d[t.toLowerCase()]=e};n.d(e,"getCoordinate",function(){return g}),n.d(e,"registerCoordinate",function(){return y}),n.d(e,"Coordinate",function(){return s}),y("rect",l),y("cartesian",l),y("polar",p),y("helix",h)},omAN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getScaleByField=e.isInRecords=e.getSiblingPoint=e.getSilbings=e.isInBox=e.getSpline=e.distance=e.getComponents=e.getElementsByPath=e.getIntersectElements=e.intersectRect=e.getElementValue=e.getElementsByState=e.getElementsByField=e.getElements=e.getSiblingMaskElements=e.getMaskedElements=e.isMask=e.isSlider=e.isList=e.isElementChange=e.getDelegationObject=e.getCurrentElement=void 0;var r=n("iTfj"),i=n("JQdU"),o=n("dXVd"),a=n("LvGN");function s(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?i:null}function c(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?r.attr("path"):null}function l(t){var e,n=t.event,r=n.target;return r&&(e=r.get("element")),e}function u(t){var e,n=t.event,r=n.target;return r&&(e=r.get("delegateObject")),e}function h(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function f(t){return t&&t.component&&t.component.isList()}function p(t){return t&&t.component&&t.component.isSlider()}function d(t){var e=t.event,n=e.target;return n&&"mask"===n.get("name")}function g(t,e){var n=t.event.target;if("path"===n.get("type")){var r=c(t,e);if(!r)return;return C(t.view,r)}var i=s(t,e);return i?w(t.view,i):null}function y(t,e,n){var r=s(t,n);if(!r)return null;var i=t.view,o=E(i,e,{x:r.x,y:r.y}),a=E(i,e,{x:r.maxX,y:r.maxY}),c={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return w(e,c)}function v(t){var e=t.geometries,n=[];return r.each(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&r.each(t.views,function(t){n=n.concat(v(t))}),n}function m(t,e,n){var r=v(t);return r.filter(function(t){return x(t,e)===n})}function b(t,e){var n=t.geometries,i=[];return r.each(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});i=i.concat(n)}),i}function x(t,e){var n,i=t.getModel(),o=i.data;return n=r.isArray(o)?o[0][e]:o[e],n}function O(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function w(t,e){var n=v(t),i=[];return r.each(n,function(t){var n=t.shape,r=n.getCanvasBBox();O(e,r)&&i.push(t)}),i}function j(t){var e=[];return r.each(t,function(t){var n=t[0];if("A"!==n)for(var r=1;r<t.length;r+=2)e.push([t[r],t[r+1]]);else{var i=t.length;e.push([t[i-2],t[i-1]])}}),e}function C(t,e){var n=v(t),r=j(e),i=n.filter(function(t){var e,n=t.shape;if("path"===n.get("type"))e=j(n.attr("path"));else{var i=n.getCanvasBBox();e=o.toPoints(i)}return a.isPolygonsIntersect(r,e)});return i}function S(t){return t.getComponents().map(function(t){return t.component})}function k(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function M(t,e){if(t.length<=2)return i.getLinePath(t,!1);var n=t[0],o=[];r.each(t,function(t){o.push(t.x),o.push(t.y)});var a=i.catmullRom2bezier(o,e,null);return a.unshift(["M",n.x,n.y]),a}function _(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y}function A(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function T(t,e){var n=t.getCoordinate();return n.invert(e)}function E(t,e,n){var r=T(t,n);return e.getCoordinate().convert(r)}function P(t,e,n,i){var o=!1;return r.each(t,function(t){if(t[n]===e[n]&&t[i]===e[i])return o=!0,!1}),o}function L(t,e){var n=t.getScaleByField(e);return!n&&t.views&&r.each(t.views,function(t){if(n=L(t,e),n)return!1}),n}e.getCurrentElement=l,e.getDelegationObject=u,e.isElementChange=h,e.isList=f,e.isSlider=p,e.isMask=d,e.getMaskedElements=g,e.getSiblingMaskElements=y,e.getElements=v,e.getElementsByField=m,e.getElementsByState=b,e.getElementValue=x,e.intersectRect=O,e.getIntersectElements=w,e.getElementsByPath=C,e.getComponents=S,e.distance=k,e.getSpline=M,e.isInBox=_,e.getSilbings=A,e.getSiblingPoint=E,e.isInRecords=P,e.getScaleByField=L},pFRH:function(t,e,n){var r=n("cvCv"),i=n("O0oS"),o=n("zZ0H"),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},pSRY:function(t,e,n){var r=n("QkVE");function i(t){return r(this,t).has(t)}t.exports=i},q1tI:function(t,e,n){"use strict";t.exports=n("viRO")},qRUV:function(t,e,n){"use strict";var r=n("SINd"),i=[["normalize",n("TCYN")],["block",n("NAgD")],["inline",n("oSSR")],["linkify",n("mSF0")],["replacements",n("u0qK")],["smartquotes",n("rzDG")]];function o(){this.ruler=new r;for(var t=0;t<i.length;t++)this.ruler.push(i[t][0],i[t][1])}o.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)},o.prototype.State=n("cTMM"),t.exports=o},qaDU:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("kXyF"),o=[1,0,0,0,1,0,0,0,1];function a(t,e){var n=e?Object(r["d"])(e):Object(r["d"])(o);return i["c"].transform(n,t)}},qxrA:function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},r0DC:function(t,e,n){"use strict";n.d(e,"b",function(){return f}),n.d(e,"a",function(){return p});var r=n("cyZq"),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,o=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function c(t,e){var n=t.match(s);Object(r["c"])(n,function(t){var n=t.split(":");e.addColorStop(n[0],n[1])})}function l(t,e,n){var r,o,a=i.exec(n),s=parseFloat(a[1])%360*(Math.PI/180),l=a[2],u=e.getBBox();s>=0&&s<.5*Math.PI?(r={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=s&&s<Math.PI?(r={x:u.maxX,y:u.minY},o={x:u.minX,y:u.maxY}):Math.PI<=s&&s<1.5*Math.PI?(r={x:u.maxX,y:u.maxY},o={x:u.minX,y:u.minY}):(r={x:u.minX,y:u.maxY},o={x:u.maxX,y:u.minY});var h=Math.tan(s),f=h*h,p=(o.x-r.x+h*(o.y-r.y))/(f+1)+r.x,d=h*(o.x-r.x+h*(o.y-r.y))/(f+1)+r.y,g=t.createLinearGradient(r.x,r.y,p,d);return c(l,g),g}function u(t,e,n){var r=o.exec(n),i=parseFloat(r[1]),a=parseFloat(r[2]),l=parseFloat(r[3]),u=r[4];if(0===l){var h=u.match(s);return h[h.length-1].split(":")[1]}var f=e.getBBox(),p=f.maxX-f.minX,d=f.maxY-f.minY,g=Math.sqrt(p*p+d*d)/2,y=t.createRadialGradient(f.minX+p*i,f.minY+d*a,0,f.minX+p/2,f.minY+d/2,l*g);return c(u,y),y}function h(t,e,n){if(e.get("patternSource")&&e.get("patternSource")===n)return e.get("pattern");var r,i,o=a.exec(n),s=o[1],c=o[2];function l(){r=t.createPattern(i,s),e.set("pattern",r),e.set("patternSource",n)}switch(s){case"a":s="repeat";break;case"x":s="repeat-x";break;case"y":s="repeat-y";break;case"n":s="no-repeat";break;default:s="no-repeat"}return i=new Image,c.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=c,i.complete?l():(i.onload=l,i.src=i.src),r}function f(t,e,n){if(Object(r["k"])(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return l(t,e,n);if("r"===n[0])return u(t,e,n);if("p"===n[0])return h(t,e,n)}return n}}function p(t){var e=0,n=0,i=0,o=0;return Object(r["g"])(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,[e,n,i,o]}},rYCd:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Controller=void 0;var r=n("iTfj"),i=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){r.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}();e.Controller=i},"rgI+":function(t,e,n){var r=n("e+LU"),i=n("4Vez"),o=n("3m0e"),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function l(t){return null==t?void 0===t?s:a:c&&c in Object(t)?i(t):o(t)}t.exports=l},rtSP:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("w02o"),a=n("YuPD"),s=n("iTfj"),c=n("t/1P"),l={left:c["d"],right:c["e"],center:c["b"],justify:c["c"]},u={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function h(t){var e=Object(s["isString"])(t)?l[t]:Object(s["isFunction"])(t)?t:null;return e||c["c"]}function f(t){return Object(s["assign"])({},u,t)}function p(t,e){var n=f(t),r=n.nodeId,i=n.nodeSort,o=n.nodeAlign,a=n.nodeWidth,s=n.nodePadding,l=Object(c["a"])().nodeSort(i).links(function(t){return t.links}).nodeWidth(a).nodePadding(s).nodeAlign(h(o)).extent([[0,0],[1,1]]).nodeId(r),u=l(e);return u.nodes.forEach(function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]}),u.links.forEach(function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var o=t.width/2;t.y=[t.y0+o,t.y0-o,t.y1+o,t.y1-o]}),u}var d=n("tKoa"),g=n("DyAw"),y="x",v="y",m="name";function b(t){var e=t.chart,n=t.options,r=n.data,i=n.sourceField,o=n.targetField,a=n.weightField,s=n.color,c=n.nodeStyle,l=n.edgeStyle,u=n.label,h=n.tooltip,f=n.nodeAlign,b=n.nodePaddingRatio,x=n.nodeWidthRatio,O=n.nodeSort;e.legend(!1),e.tooltip(h),e.axis(!1);var w=Object(g["b"])(r,i,o,a),j=p({nodeAlign:f,nodePadding:b,nodeWidth:x,nodeSort:O},w),C=j.nodes,S=j.links,k=C.map(function(t){return{x:t.x,y:t.y,name:t.name}}),M=S.map(function(t){return{source:t.source.name,target:t.target.name,name:t.source.name||t.target.name,x:t.x,y:t.y,value:t.value}}),_=e.createView();_.data(k),Object(d["f"])({chart:_,options:{xField:y,yField:v,seriesField:m,polygon:{color:s,style:c},label:u,tooltip:!1}});var A=e.createView();return A.data(M),Object(d["b"])({chart:A,options:{xField:y,yField:v,seriesField:m,edge:{color:s,style:l,shape:"arc"},tooltip:h,state:{active:{style:{opacity:.8,lineWidth:0}}}}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0},y:{sync:!0,nice:!0},name:{sync:"color"}}),t}function x(t){return Object(a["e"])(b,o["c"],o["a"],o["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sankey",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:8,syncViewPadding:!0,nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.3,lineWidth:0},label:{fields:["x","name"],callback:function(t,e){var n=1===t[1];return{style:{fill:"#545454",textAlign:n?"end":"start"},offsetX:n?-8:8,content:e}}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value"],formatter:function(t){var e=t.source,n=t.target,r=t.value;return{name:e+" -> "+n,value:r}}},nodeWidthRatio:.008,nodePaddingRatio:.01}},e.prototype.getSchemaAdaptor=function(){return x}})(i["a"])},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,w,j,C,S,k,M,_;for(k=[],n=0;n<t.length;n++){for(a=t[n],d=t[n].level,C=k.length-1;C>=0;C--)if(k[C].level<=d)break;if(k.length=C+1,"text"===a.type){u=a.content,f=0,p=u.length;t:while(f<p){if(s.lastIndex=f,h=s.exec(u),!h)break;if(w=j=!0,f=h.index+1,S="'"===h[0],y=32,h.index-1>=0)y=u.charCodeAt(h.index-1);else for(C=n-1;C>=0;C--){if("softbreak"===t[C].type||"hardbreak"===t[C].type)break;if(t[C].content){y=t[C].content.charCodeAt(t[C].content.length-1);break}}if(v=32,f<p)v=u.charCodeAt(f);else for(C=n+1;C<t.length;C++){if("softbreak"===t[C].type||"hardbreak"===t[C].type)break;if(t[C].content){v=t[C].content.charCodeAt(0);break}}if(m=o(y)||i(String.fromCharCode(y)),b=o(v)||i(String.fromCharCode(v)),x=r(y),O=r(v),O?w=!1:b&&(x||m||(w=!1)),x?j=!1:m&&(O||b||(j=!1)),34===v&&'"'===h[0]&&y>=48&&y<=57&&(j=w=!1),w&&j&&(w=m,j=b),w||j){if(j)for(C=k.length-1;C>=0;C--){if(g=k[C],k[C].level<d)break;if(g.single===S&&k[C].level===d){g=k[C],S?(M=e.md.options.quotes[2],_=e.md.options.quotes[3]):(M=e.md.options.quotes[0],_=e.md.options.quotes[1]),a.content=l(a.content,h.index,_),t[g.token].content=l(t[g.token].content,g.pos,M),f+=_.length-1,g.token===n&&(f+=M.length-1),u=a.content,p=u.length,k.length=C;continue t}}w?k.push({token:n,pos:h.index,single:S,level:d}):j&&S&&(a.content=l(a.content,h.index,c))}else S&&(a.content=l(a.content,h.index,c))}}}}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&&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(j,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 w(t){var n=t-d,r=t-g;return void 0===d||n>=e||n<0||v&&r>=h}function j(){var t=i();if(w(t))return C(t);p=setTimeout(j,O(t))}function C(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 k(){return void 0===p?f:C(i())}function M(){var t=i(),n=w(t);if(l=arguments,u=this,d=t,n){if(void 0===p)return x(d);if(v)return clearTimeout(p),p=setTimeout(j,e),b(d)}return void 0===p&&(p=setTimeout(j,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=k,M}t.exports=l},sYIZ:function(t,e,n){"use strict";var r=n("wOmg"),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";var r=n("mrSG"),i=n("iTfj");function o(t){return"number"===typeof t&&!isNaN(t)}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=o(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=o(c)?c/s.get(l):0;return Object(r["a"])(Object(r["a"])({},t),(i={},i[a]=u,i))})}n.d(e,"a",function(){return a})},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}},svfX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Nzmt"),i=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,i){return new t(e,new r.Event(n,{}),i)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}();e.default=i},t0W4:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return i}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return s}),n.d(e,"__param",function(){return c}),n.d(e,"__metadata",function(){return l}),n.d(e,"__awaiter",function(){return u}),n.d(e,"__generator",function(){return h}),n.d(e,"__createBinding",function(){return f}),n.d(e,"__exportStar",function(){return p}),n.d(e,"__values",function(){return d}),n.d(e,"__read",function(){return g}),n.d(e,"__spread",function(){return y}),n.d(e,"__spreadArrays",function(){return v}),n.d(e,"__await",function(){return m}),n.d(e,"__asyncGenerator",function(){return b}),n.d(e,"__asyncDelegator",function(){return x}),n.d(e,"__asyncValues",function(){return O}),n.d(e,"__makeTemplateObject",function(){return w}),n.d(e,"__importStar",function(){return C}),n.d(e,"__importDefault",function(){return S}),n.d(e,"__classPrivateFieldGet",function(){return k}),n.d(e,"__classPrivateFieldSet",function(){return M});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)Object.prototype.hasOwnProperty.call(e,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<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function s(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function c(t,e){return function(n,r){e(n,r,t)}}function l(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,n,r){function i(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):i(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())})}function h(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var f=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function p(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||f(e,t,n)}function d(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g(arguments[e]));return t}function v(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function m(t){return this instanceof m?(this.v=t,this):new m(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{c(i[t](e))}catch(t){h(o[0][3],t)}}function c(t){t.value instanceof m?Promise.resolve(t.value.v).then(l,u):h(o[0][2],t)}function l(t){s("next",t)}function u(t){s("throw",t)}function h(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function x(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:m(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t="function"===typeof d?d(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){e=t[n](e),i(r,o,e.done,e.value)})}}function i(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var j=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e};function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&f(e,t,n);return j(e,t),e}function S(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function M(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},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("rFFp"),u={exp:l["a"],linear:l["b"],loess:l["c"],log:l["d"],poly:l["e"],pow:l["f"],quad:l["g"]};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["h"])(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.options,n=e.data,i=void 0===n?[]:n;return 1===i.length?Object(o["b"])({},t,{options:Object(r["a"])(Object(r["a"])({},e),{meta:d(e)})}):t}function y(t){var e=t.chart,n=t.options,i=n.data,a=n.type,c=n.color,l=n.shape,u=n.size,h=n.pointStyle,f=n.shapeField,p=n.colorField,d=n.xField,g=n.yField,y=n.sizeField,v=n.tooltip;v&&!v.fields&&(v=Object(r["a"])(Object(r["a"])({},v),{fields:[d,g,p,y,f]})),e.data(i),Object(s["e"])(Object(o["b"])({},t,{options:{seriesField:p,point:{color:c,shape:l,size:u,style:h},tooltip:v}}));var m=Object(o["c"])(e,"point");return a&&m.adjust(a),t}function v(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 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["o"])(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 w(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 j(t){var e=t.chart,n=t.options,r=n.tooltip;return r?e.tooltip(r):!1===r&&e.tooltip(!1),t}function C(t){return Object(o["e"])(g,y,v,m,b,j,x,c["c"],O,c["a"],c["j"],w)(t)}var S=n("kXyF");Object(S["g"])("drag-move",{start:[{trigger:"plot:mousedown",action:"scale-translate:start"}],processing:[{trigger:"plot:mousemove",action:"scale-translate:translate",throttle:{wait:100,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseup",action:"scale-translate:end"}]});(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.getSchemaAdaptor=function(){return C},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["a"])},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["d"])(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=Object(i["a"])(u,[n,s,l]),p=h.fields,d=h.formatter,g=(c?Object(a["a"])(Object(o["b"])({},t,{options:{type:"interval",colorField:l,tooltipFields:p,mapping:Object(r["a"])({tooltip:d},c)}})):t).ext;return f(Object(r["a"])(Object(r["a"])({},t),{ext:g}))}function d(t){var e=t.options,n=e.polygon,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:"polygon",colorField:l,tooltipFields:f,mapping:Object(r["a"])({tooltip:p},n)}})):t}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}),n.d(e,"b",function(){return g})},tLB3:function(t,e,n){var r=n("GoyQ"),i=n("/9aa"),o=NaN,a=/^\s+|\s+$/g,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(i(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):s.test(t)?o:+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 Y}),n.d(e,"intersection",function(){return A}),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 w});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;g<y;g++){if(r.push(p=[]),d=t[g],e=d[0],e!==e.toUpperCase())switch(p[0]=e.toUpperCase(),p[0]){case"A":p[1]=d[1],p[2]=d[2],p[3]=d[3],p[4]=d[4],p[5]=d[5],p[6]=+d[6]+i,p[7]=+d[7]+o;break;case"V":p[1]=+d[1]+o;break;case"H":p[1]=+d[1]+i;break;case"R":n=[i,o].concat(d.slice(1));for(var v=2,m=n.length;v<m;v++)n[v]=+n[v]+i,n[++v]=+n[v]+o;r.pop(),r=r.concat(c(n,f));break;case"O":r.pop(),n=l(i,o,d[1],d[2]),n.push(n[0]),r=r.concat(n);break;case"U":r.pop(),r=r.concat(l(i,o,d[1],d[2],d[3])),p=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+d[1]+i,u=+d[2]+o;break;default:for(v=1,m=d.length;v<m;v++)p[v]=+d[v]+(v%2?i:o)}else if("R"===e)n=[i,o].concat(d.slice(1)),r.pop(),r=r.concat(c(n,f)),p=["R"].concat(d.slice(-2));else if("O"===e)r.pop(),n=l(i,o,d[1],d[2]),n.push(n[0]),r=r.concat(n);else if("U"===e)r.pop(),r=r.concat(l(i,o,d[1],d[2],d[3])),p=["U"].concat(r[r.length-1].slice(-2));else for(var b=0,x=d.length;b<x;b++)p[b]=d[b];if(e=e.toUpperCase(),"O"!==e)switch(p[0]){case"Z":i=+a,o=+u;break;case"H":i=p[1];break;case"V":o=p[1];break;case"M":a=p[p.length-2],u=p[p.length-1];break;default:i=p[p.length-2],o=p[p.length-1]}}return r},h=function(t,e,n,r){return[t,e,n,r,n,r]},f=function(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]},p=function(t,e,n,r,i,o,a,s,c,l){n===r&&(n+=1);var u,h,f,d,g,y=120*Math.PI/180,v=Math.PI/180*(+i||0),m=[],b=function(t,e,n){var r=t*Math.cos(n)-e*Math.sin(n),i=t*Math.sin(n)+e*Math.cos(n);return{x:r,y:i}};if(l)h=l[0],f=l[1],d=l[2],g=l[3];else{u=b(t,e,-v),t=u.x,e=u.y,u=b(s,c,-v),s=u.x,c=u.y,t===s&&e===c&&(s+=1,c+=1);var x=(t-s)/2,O=(e-c)/2,w=x*x/(n*n)+O*O/(r*r);w>1&&(w=Math.sqrt(w),n*=w,r*=w);var j=n*n,C=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((j*C-j*O*O-C*x*x)/(j*O*O+C*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=t<d?Math.PI-h:h,f=s<d?Math.PI-f:f,h<0&&(h=2*Math.PI+h),f<0&&(f=2*Math.PI+f),a&&h>f&&(h-=2*Math.PI),!a&&f>h&&(f-=2*Math.PI)}var k=f-h;if(Math.abs(k)>y){var M=f,_=s,A=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,[f,M,d,g])}k=f-h;var T=Math.cos(h),E=Math.sin(h),P=Math.cos(f),L=Math.sin(f),I=Math.tan(k/4),F=4/3*n*I,D=4/3*r*I,B=[t,e],R=[t+F*E,e-D*T],N=[s+F*L,c-D*P],Y=[s,c];if(R[0]=2*B[0]-R[0],R[1]=2*B[1]-R[1],l)return[R,N,Y].concat(m);m=[R,N,Y].concat(m).join().split(",");for(var z=[],G=0,V=m.length;G<V;G++)z[G]=G%2?b(m[G-1],m[G],v).y:b(m[G],m[G+1],v).x;return z},d=function(t,e){var n,r=u(t),i=e&&u(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=[],c=[],l="",d="",g=function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(p.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(f(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(f(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(h(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(h(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(h(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(h(e.x,e.y,e.X,e.Y));break;default:break}return t},y=function(t,e){if(t[e].length>7){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;m<n;m++){r[m]&&(l=r[m][0]),"C"!==l&&(s[m]=l,m&&(d=s[m-1])),r[m]=g(r[m],o,d),"A"!==s[m]&&"C"===l&&(s[m]="C"),y(r,m),i&&(i[m]&&(l=i[m][0]),"C"!==l&&(c[m]=l,m&&(d=c[m-1])),i[m]=g(i[m],a,d),"A"!==c[m]&&"C"===l&&(c[m]="C"),y(i,m)),v(r,i,o,a,m),v(i,r,a,o,m);var b=r[m],x=i&&i[m],O=b.length,w=i&&x.length;o.x=b[O-2],o.y=b[O-1],o.bx=parseFloat(b[O-4])||o.x,o.by=parseFloat(b[O-3])||o.y,a.bx=i&&(parseFloat(x[w-4])||a.x),a.by=i&&(parseFloat(x[w-3])||a.y),a.x=i&&x[w-2],a.y=i&&x[w-1]}return i?[r,i]:r},g=/,?([a-z]),?/gi,y=function(t){return t.join(",").replace(g,"$1")},v=function(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n},m=function(t,e,n,r,i,o,a,s,c){null===c&&(c=1),c=c>1?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;d<u;d++){var g=l*h[d]+l,y=v(g,t,n,i,a),m=v(g,e,r,o,s),b=y*y+m*m;p+=f[d]*Math.sqrt(b)}return l*p},b=function(t,e,n,r,i,o,a,s){for(var c,l,u,h,f=[],p=[[],[]],d=0;d<2;++d)if(0===d?(l=6*t-12*n+6*i,c=-3*t+9*n-9*i+3*a,u=3*n-3*t):(l=6*e-12*r+6*o,c=-3*e+9*r-9*o+3*s,u=3*r-3*e),Math.abs(c)<1e-12){if(Math.abs(l)<1e-12)continue;h=-u/l,h>0&&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.min(i,a)||Math.min(t,n)>Math.max(i,a)||Math.max(e,r)<Math.min(o,s)||Math.min(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},w=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},j=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:w(t,e,n,r),vb:[t,e,n,r].join(" ")}},C=function(t,e){return t=j(t),e=j(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.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.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 j(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},k=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,w=l*i+c*a,j=l*o+c*s,C=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:w,y:j},alpha:C}},M=function(t,e,n){var r=S(t),i=S(e);if(!C(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<s+1;p++){var d=k.apply(0,t.concat(p/s));l.push({x:d.x,y:d.y,t:p/s})}for(p=0;p<c+1;p++){d=k.apply(0,e.concat(p/c));u.push({x:d.x,y:d.y,t:p/c})}for(p=0;p<s;p++)for(var g=0;g<c;g++){var y=l[p],v=l[p+1],b=u[g],O=u[g+1],w=Math.abs(v.x-y.x)<.001?"y":"x",j=Math.abs(O.x-b.x)<.001?"y":"x",M=x(y.x,y.y,v.x,v.y,b.x,b.y,O.x,O.y);if(M){if(h[M.x.toFixed(4)]===M.y.toFixed(4))continue;h[M.x.toFixed(4)]=M.y.toFixed(4);var _=y.t+Math.abs((M[w]-y[w])/(v[w]-y[w]))*(v.t-y.t),A=b.t+Math.abs((M[j]-b[j])/(O[j]-b[j]))*(O.t-b.t);_>=0&&_<=1&&A>=0&&A<=1&&(n?f+=1:f.push({x:M.x,y:M.y,t1:_,t2:A}))}}return f},_=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<y;g++){var v=t[g];if("M"===v[0])r=s=v[1],i=c=v[2];else{"C"===v[0]?(h=[r,i].concat(v.slice(1)),r=h[6],i=h[7]):(h=[r,i,r,i,s,c,s,c],r=s,i=c);for(var m=0,b=e.length;m<b;m++){var x=e[m];if("M"===x[0])o=l=x[1],a=u=x[2];else{"C"===x[0]?(f=[o,a].concat(x.slice(1)),o=f[6],a=f[7]):(f=[o,a,o,a,l,u,l,u],o=l,a=u);var O=M(h,f,n);if(n)p+=O;else{for(var w=0,j=O.length;w<j;w++)O[w].segment1=g,O[w].segment2=m,O[w].bez1=h,O[w].bez2=f;p=p.concat(O)}}}}}return p},A=function(t,e){return _(t,e)};function T(t,e){var n=[],r=[];function i(t,e){if(1===t.length)n.push(t[0]),r.push(t[0]);else{for(var o=[],a=0;a<t.length-1;a++)0===a&&n.push(t[0]),a===t.length-2&&r.push(t[a+1]),o[a]=[(1-e)*t[a][0]+e*t[a+1][0],(1-e)*t[a][1]+e*t[a+1][1]];i(o,e)}}return t.length&&i(t,e),{left:n,right:r.reverse()}}function E(t,e,n){var r=[[t[1],t[2]]];n=n||2;var i=[];"A"===e[0]?(r.push(e[6]),r.push(e[7])):"C"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]]),r.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]])):r.push([e[1],e[2]]);for(var o=r,a=1/n,s=0;s<n-1;s++){var c=a/(1-a*s),l=T(o,c);i.push(l.left),o=l.right}i.push(o);var u=i.map(function(t){var e=[];return 4===t.length&&(e.push("C"),e=e.concat(t[2])),t.length>=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 P=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(E(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<r-n;a++)t.push(t[0]);return t}for(a=0;a<r;a++){var s=Math.floor(i*a);o[s]=(o[s]||0)+1}var c=o.reduce(function(e,r,i){return i===n?e.concat(t[n]):e.concat(P(t[i],t[i+1],r))},[]);return c.unshift(t[0]),"Z"!==e[r]&&"z"!==e[r]||c.push("Z"),c},I=function(t,e){if(t.length!==e.length)return!1;var n=!0;return Object(r["each"])(t,function(t,r){if(t!==e[r])return n=!1,!1}),n};function F(t,e,n){var r=null,i=n;return e<i&&(i=e,r="add"),t<i&&(i=t,r="del"),{type:r,min:i}}var D=function(t,e){var n,r,i=t.length,o=e.length,a=0;if(0===i||0===o)return null;for(var s=[],c=0;c<=i;c++)s[c]=[],s[c][0]={min:c};for(var l=0;l<=o;l++)s[0][l]={min:l};for(c=1;c<=i;c++){n=t[c-1];for(l=1;l<=o;l++){r=e[l-1],a=I(n,r)?0:1;var u=s[c-1][l].min+1,h=s[c][l-1].min+1,f=s[c-1][l-1].min+a;s[c][l]=F(u,h,f)}}return s},B=function(t,e){var n=D(t,e),r=t.length,i=e.length,o=[],a=1,s=1;if(n[r][i].min!==r){for(var c=1;c<=r;c++){var l=n[c][c].min;s=c;for(var u=a;u<=i;u++)n[c][u].min<l&&(l=n[c][u].min,s=u);a=s,n[c][a].type&&o.push({index:c-1,type:n[c][a].type})}for(c=o.length-1;c>=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(r<i)for(c=0;c<h;c++)"z"===t[r-1][0]||"Z"===t[r-1][0]?t.splice(r-2,0,t[r-2]):t.push(t[r-1]),r+=1;return t};function R(t,e,n){for(var r,i=[].concat(t),o=1/(n+1),a=N(e)[0],s=1;s<=n;s++)o*=s,r=Math.floor(t.length*o),0===r?i.unshift([a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]);return i}function N(t){var e=[];switch(t[0]){case"M":e.push([t[1],t[2]]);break;case"L":e.push([t[1],t[2]]);break;case"A":e.push([t[6],t[7]]);break;case"Q":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"T":e.push([t[1],t[2]]);break;case"C":e.push([t[5],t[6]]),e.push([t[1],t[2]]),e.push([t[3],t[4]]);break;case"S":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"H":e.push([t[1],t[1]]);break;case"V":e.push([t[1],t[1]]);break;default:}return e}var Y=function(t,e){if(t.length<=1)return t;for(var n,r=0;r<e.length;r++)if(t[r][0]!==e[r][0])switch(n=N(t[r]),e[r][0]){case"M":t[r]=["M"].concat(n[0]);break;case"L":t[r]=["L"].concat(n[0]);break;case"A":t[r]=[].concat(e[r]),t[r][6]=n[0][0],t[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(r>0)){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 c}),n.d(e,"a",function(){return u});var r=n("iTfj"),i=n("YuPD"),o=n("w02o"),a=n("tKoa"),s=n("SZbK");function c(t){var e=t.chart,n=t.options,o=n.percent,c=n.progressStyle,l=n.color,u=n.barWidthRatio,h=Object(r["clamp"])(o,0,1),f=[{type:"current",percent:h},{type:"target",percent:1-h}];e.data(f);var p=Object(i["b"])({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:u,interval:{style:c,color:Object(r["isString"])(l)?[l,s["a"][1]]:l}}});return Object(a["c"])(p),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function l(t){var e=t.chart;return e.coordinate("rect").transpose(),t}function u(t){return Object(i["e"])(c,Object(o["f"])({}),l,o["a"],o["j"],Object(o["b"])())(t)}},u9VJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("DMQx");(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return a["a"]}})(i["a"])},uCX8:function(t,e,n){"use strict";n.r(e);var r=n("LHnb"),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 w=d-(O[1]+O[3]);Object(a["a"])(!y,x,w,v)}if(m){var j=Object(i["get"])(m,"style",{}),C=x.getCanvasBBox(),S=C.minX,k=C.minY,M=C.width,_=C.height,A=b.addShape("rect",{id:h+"-bg",name:h+"-bg",attrs:Object(r["a"])({x:S-O[3],y:k-O[0],width:M+O[1]+O[3],height:_+O[0]+O[2]},j)});A.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"]),w=O,j=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"]),C=j,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"]),k=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"]),_=M,A=n("fIp6"),T=n("de35"),E=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:'<div class="g2-html-annotation"></div>',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(A["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(A["d"])(t),l=Object(A["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(A["e"])(t,{position:"absolute",left:u.x+"px",top:u.y+"px",zIndex:this.get("zIndex")})},e}(T["a"]),P=E;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 w}),n.d(e,"DataRegion",function(){return C}),n.d(e,"RegionFilter",function(){return k}),n.d(e,"Shape",function(){return _}),n.d(e,"Html",function(){return P})},uI74:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createInteraction=e.registerInteraction=e.getInteraction=void 0;var r=n("t0W4"),i=n("iTfj"),o=r.__importDefault(n("w/ja")),a={};function s(t){return a[i.lowerCase(t)]}function c(t,e){a[i.lowerCase(t)]=e}function l(t,e,n){var r=s(t);if(!r)return null;if(i.isPlainObject(r)){var a=i.mix(i.clone(r),n);return new o.default(e,a)}var c=r;return new c(e,n)}e.getInteraction=s,e.registerInteraction=c,e.createInteraction=l;var u=n("dNCd");Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return u.default}});var h=n("e99J");Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return h.Action}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return h.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return h.getActionClass}})},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(n<t.posMax&&!r(t.src.charCodeAt(n)))n++;return n!==t.pos&&(e||(t.pending+=t.src.slice(t.pos,n)),t.pos=n,!0)}},"uw/B":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"),l=n("sqD9"),u=n("hJqF");function h(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,s=n.color,u=n.point,h=n.line,f=n.isPercent,p=n.xField,d=n.yField,g=n.tooltip,y=n.seriesField,v=f?Object(l["a"])(i,d,p,d):i;e.data(v);var m=f?Object(r["a"])({formatter:function(t){return{name:t[y]||t[p],value:(100*Number(t[d])).toFixed(2)+"%"}}},g):g,b=Object(o["b"])({},t,{options:{area:{color:s,style:a},line:h&&Object(r["a"])({color:s},h),point:u&&Object(r["a"])({color:s},u),tooltip:m,label:void 0}}),x=Object(o["b"])({},b,{options:{tooltip:!1}});return Object(c["a"])(b),Object(c["d"])(x),Object(c["e"])(x),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"area");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(r["a"])({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(o["o"])(l))})}else s.label(!1);return t}function p(t){var e=t.chart,n=t.options,r=n.isStack,i=n.isPercent;return(i||r)&&Object(a["each"])(e.geometries,function(t){t.adjust("stack")}),t}function d(t){return Object(o["e"])(h,u["d"],p,s["j"],u["b"],u["c"],s["k"],f,s["h"],Object(s["b"])(),s["c"],s["a"],s["e"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},e.prototype.getSchemaAdaptor=function(){return d}})(i["a"])},uzHj:function(t,e){},v7Ed:function(t,e,n){"use strict";n.r(e),n.d(e,"version",function(){return c});var r=n("aN7R");n.d(e,"Shape",function(){return r});var i=n("aFU3");for(var o in i)["Canvas","Group","Shape","version","default"].indexOf(o)<0&&function(t){n.d(e,t,function(){return i[t]})}(o);var a=n("wClo");n.d(e,"Canvas",function(){return a["a"]});var s=n("5z4m");n.d(e,"Group",function(){return s["a"]});var c="0.5.6"},vIgC:function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"c",function(){return s}),n.d(e,"a",function(){return c});var r=n("sstZ"),i=n("lt7v");function o(t,e,n){var i=1;if(Object(r["h"])(t)&&(i=t.split("\n").length),i>1){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<e&&(o=e)})}else o=n.measureText(t).width;return n.restore(),o}function c(t){var e=t.fontSize,n=t.fontFamily,r=t.fontWeight,i=t.fontStyle,o=t.fontVariant;return[i,o,r,e+"px",n].join(" ").trim()}},vWgF:function(t,e,n){"use strict";t.exports=n("xWCP")},viRO:function(t,e,n){"use strict";var r=n("MgzW"),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,u=i?Symbol.for("react.provider"):60109,h=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,d=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,y="function"===typeof Symbol&&Symbol.iterator;function v(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function x(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||m}function O(){}function w(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||m}x.prototype.isReactComponent={},x.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(v(85));this.updater.enqueueSetState(this,t,e,"setState")},x.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},O.prototype=x.prototype;var j=w.prototype=new O;j.constructor=w,r(j,x.prototype),j.isPureReactComponent=!0;var C={current:null},S=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function M(t,e,n){var r,i={},a=null,s=null;if(null!=e)for(r in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)S.call(e,r)&&!k.hasOwnProperty(r)&&(i[r]=e[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}if(t&&t.defaultProps)for(r in c=t.defaultProps,c)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:t,key:a,ref:s,props:i,_owner:C.current}}function _(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function A(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}function T(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}var E=/\/+/g,P=[];function L(t,e,n,r){if(P.length){var i=P.pop();return i.result=t,i.keyPrefix=e,i.func=n,i.context=r,i.count=0,i}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function I(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>P.length&&P.push(t)}function F(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<t.length;c++){i=t[c];var l=e+B(i,c);s+=F(i,l,n,r)}else if(null===t||"object"!==typeof t?l=null:(l=y&&t[y]||t["@@iterator"],l="function"===typeof l?l:null),"function"===typeof l)for(t=l.call(t),c=0;!(i=t.next()).done;)i=i.value,l=e+B(i,c++),s+=F(i,l,n,r);else if("object"===i)throw n=""+t,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return s}function D(t,e,n){return null==t?0:F(t,"",e,n)}function B(t,e){return"object"===typeof t&&null!==t&&null!=t.key?T(t.key):e.toString(36)}function R(t,e){t.func.call(t.context,e,t.count++)}function N(t,e,n){var r=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?Y(t,r,n,function(t){return t}):null!=t&&(A(t)&&(t=_(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(E,"$&/")+"/")+n)),r.push(t))}function Y(t,e,n,r,i){var o="";null!=n&&(o=(""+n).replace(E,"$&/")+"/"),e=L(e,o,r,i),D(t,N,e),I(e)}var z={current:null};function G(){var t=z.current;if(null===t)throw Error(v(321));return t}var V={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:function(t,e,n){if(null==t)return t;var r=[];return Y(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;e=L(null,null,e,n),D(t,R,e),I(e)},count:function(t){return D(t,function(){return null},null)},toArray:function(t){var e=[];return Y(t,e,null,function(t){return t}),e},only:function(t){if(!A(t))throw Error(v(143));return t}},e.Component=x,e.Fragment=s,e.Profiler=l,e.PureComponent=w,e.StrictMode=c,e.Suspense=p,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,e.cloneElement=function(t,e,n){if(null===t||void 0===t)throw Error(v(267,t));var i=r({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=C.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(u in e)S.call(e,u)&&!k.hasOwnProperty(u)&&(i[u]=void 0===e[u]&&void 0!==l?l[u]:e[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){l=Array(u);for(var h=0;h<u;h++)l[h]=arguments[h+2];i.children=l}return{$$typeof:o,type:t.type,key:a,ref:s,props:i,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),t={$$typeof:h,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:u,_context:t},t.Consumer=t},e.createElement=M,e.createFactory=function(t){var e=M.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:f,render:t}},e.isValidElement=A,e.lazy=function(t){return{$$typeof:g,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return G().useCallback(t,e)},e.useContext=function(t,e){return G().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return G().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return G().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return G().useLayoutEffect(t,e)},e.useMemo=function(t,e){return G().useMemo(t,e)},e.useReducer=function(t,e,n){return G().useReducer(t,e,n)},e.useRef=function(t){return G().useRef(t)},e.useState=function(t){return G().useState(t)},e.version="16.14.0"},vk7d:function(t,e){},"vys+":function(t,e,n){"use strict";t.exports=function(t,e,n,r){var i,o,a,s,c,l,u,h=!1,f=t.bMarks[e]+t.tShift[e],p=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=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<p&&t.sCount[s]<t.blkIndent)break;if(t.src.charCodeAt(f)===i&&(!(t.sCount[s]-t.blkIndent>=4)&&(f=t.skipChars(f,i),!(f-c<o)&&(f=t.skipSpaces(f),!(f<p))))){h=!0;break}}return o=t.sCount[e],t.line=s+(h?1:0),l=t.push("fence","code",0),l.info=a,l.content=t.getLines(e+1,s,o,!0),l.markup=u,l.map=[e,t.line],!0}},"w/ja":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("t0W4"),i=n("iTfj"),o=n("5Wne"),a=r.__importDefault(n("B0RU")),s=r.__importDefault(n("dNCd"));function c(t,e){var n=t.split(":"),r=n[0],i=e.getAction(r)||o.createAction(r,e);if(!i)throw new Error("There is no action named "+r);var a=n[1];return{action:i,methodName:a}}function l(t){var e=t.action,n=t.methodName;if(!e[n])throw new Error("Action("+e.name+") doesn't have a method called "+n);e[n]()}var u={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},h=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return r.__extends(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;i.each(this.steps,function(e,n){i.each(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;i.each(this.steps,function(e,n){i.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 a.default(t);this.context=e;var n=this.steps;i.each(n,function(t){i.each(t,function(t){if(i.isFunction(t.action))t.actionObject={action:o.createCallbackAction(t.action,e),methodName:"execute"};else if(i.isString(t.action))t.actionObject=c(t.action,e);else if(i.isArray(t.action)){var n=t.action;t.actionObject=[],i.each(n,function(n){t.actionObject.push(c(n,e))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===u.SHOW_ENABLE)return!0;if(t===u.PROCESSING)return e===u.START;if(t===u.START)return e!==u.PROCESSING;if(t===u.END)return e===u.PROCESSING||e===u.START;if(t===u.ROLLBACK){if(n[u.END])return e===u.END;if(e===u.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!==u.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,o=this.callbackCaches,a=e.actionObject;if(e.action&&a){var s=this.getKey(t,e);if(!o[s]){var c=function(o){r.event=o,n.isAllowExecute(t,e)?(i.isArray(a)?i.each(a,function(t){r.event=o,l(t)}):(r.event=o,l(a)),n.afterExecute(t,e),e.callback&&(r.event=o,e.callback(r))):r.event=null};e.debounce?o[s]=i.debounce(c,e.debounce.wait,e.debounce.immediate):e.throttle?o[s]=i.throttle(c,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):o[s]=c}return o[s]}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}(s.default);e.default=h},w02o:function(t,e,n){"use strict";n.d(e,"d",function(){return s}),n.d(e,"k",function(){return c}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return u}),n.d(e,"j",function(){return h}),n.d(e,"i",function(){return f}),n.d(e,"h",function(){return p}),n.d(e,"g",function(){return d}),n.d(e,"f",function(){return g}),n.d(e,"b",function(){return y}),n.d(e,"e",function(){return v});var r=n("mrSG"),i=n("iTfj"),o=n("n/J0"),a=n("YuPD");function s(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.seriesField;return!1===r?e.legend(!1):(i||o)&&e.legend(i||o,r),t}function c(t){var e=t.chart,n=t.options,r=n.tooltip;return void 0!==r&&e.tooltip(r),t}function l(t){var e=t.chart,n=t.options,r=n.interactions;return Object(i["each"])(r,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})}),t}function u(t){var e=t.chart,n=t.options,r=n.animation;return"boolean"===typeof r?e.animate(r):e.animate(!0),Object(i["each"])(e.geometries,function(t){t.animate(r)}),t}function h(t){var e=t.chart,n=t.options,r=n.theme;return r&&e.theme(r),t}function f(t){var e=t.chart,n=t.options,r=n.state;return r&&Object(i["each"])(e.geometries,function(t){t.state(r)}),t}function p(t){var e=t.chart,n=t.options,r=n.slider;return e.option("slider",r),t}function d(t){var e=t.chart,n=t.options,r=n.scrollbar;return e.option("scrollbar",r),t}function g(t,e){return function(n){var r=n.chart,s=n.options,c={};return Object(i["each"])(t,function(t,e){c[e]=Object(a["k"])(t,o["a"])}),c=Object(a["b"])({},e,s.meta,c),r.scale(c),n}}function y(t){return function(e){var n=e.chart,o=e.options,a=n.getController("annotation");return Object(i["each"])(Object(r["d"])(o.annotations||[],t||[]),function(t){a.annotation(t)}),e}}function v(t){var e=t.chart,n=t.options,r=n.yAxis,o=n.limitInPlot,s=o;return Object(i["isObject"])(r)&&Object(i["isNil"])(o)&&(s=!!Object.values(Object(a["k"])(r,["min","max","minLimit","maxLimit"])).some(function(t){return!Object(i["isNil"])(t)})),e.limitInPlot=s,t}},wClo:function(t,e,n){"use strict";var r=n("R2cN"),i=n("aFU3"),o=n("IvmH"),a=n("c0lT"),s=n("APlK"),c=n("c+wO"),l=n("aN7R"),u=n("5z4m"),h=n("iTfj"),f=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,p=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,d=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function g(t){var e=t.match(d);if(!e)return"";var n="";return e.sort(function(t,e){return t=t.split(":"),e=e.split(":"),Number(t[0])-Number(e[0])}),Object(h["each"])(e,function(t){t=t.split(":"),n+='<stop offset="'+t[0]+'" stop-color="'+t[1]+'"></stop>'}),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<Math.PI?(n={x:1,y:0},r={x:0,y:1}):Math.PI<=o&&o<1.5*Math.PI?(n={x:1,y:1},r={x:0,y:0}):(n={x:0,y:1},r={x:1,y:0});var s=Math.tan(o),c=s*s,l=(r.x-n.x+s*(r.y-n.y))/(c+1)+n.x,u=s*(r.x-n.x+s*(r.y-n.y))/(c+1)+n.y;e.setAttribute("x1",n.x),e.setAttribute("y1",n.y),e.setAttribute("x2",l),e.setAttribute("y2",u),e.innerHTML=g(a)}function v(t,e){var n=p.exec(t),r=parseFloat(n[1]),i=parseFloat(n[2]),o=parseFloat(n[3]),a=n[4];e.setAttribute("cx",r),e.setAttribute("cy",i),e.setAttribute("r",o),e.innerHTML=g(a)}var m=function(){function t(t){this.cfg={};var e=null,n=Object(h["uniqueId"])("gradient_");return"l"===t.toLowerCase()[0]?(e=Object(c["b"])("linearGradient"),y(t,e)):(e=Object(c["b"])("radialGradient"),v(t,e)),e.setAttribute("id",n),this.el=e,this.id=n,this.cfg=t,this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),b=m,x={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},O={x:"-40%",y:"-40%",width:"200%",height:"200%"},w=function(){function t(t){this.type="filter",this.cfg={},this.type="filter";var e=Object(c["b"])("filter");return Object(h["each"])(O,function(t,n){e.setAttribute(n,t)}),this.el=e,this.id=Object(h["uniqueId"])("filter_"),this.el.id=this.id,this.cfg=t,this._parseShadow(t,e),this}return t.prototype.match=function(t,e){if(this.type!==t)return!1;var n=!0,r=this.cfg;return Object(h["each"])(Object.keys(r),function(t){if(r[t]!==e[t])return n=!1,!1}),n},t.prototype.update=function(t,e){var n=this.cfg;return n[x[t]]=e,this._parseShadow(n,this.el),this},t.prototype._parseShadow=function(t,e){var n='<feDropShadow\n dx="'+(t.dx||0)+'"\n dy="'+(t.dy||0)+'"\n stdDeviation="'+(t.blur?t.blur/10:0)+'"\n flood-color="'+(t.color?t.color:"#000")+'"\n flood-opacity="'+(t.opacity?t.opacity:1)+'"\n />';e.innerHTML=n},t}(),j=w,C=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=C,k=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=k,_=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,A=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=_.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}(),T=A,E=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<n.length;i++)if(n[i].match(t,e)){r=n[i].id;break}return r},t.prototype.findById=function(t){for(var e=this.children,n=null,r=0;r<e.length;r++)if(e[r].id===t){n=e[r];break}return n},t.prototype.add=function(t){this.children.push(t),t.canvas=this.canvas,t.parent=this},t.prototype.getDefaultArrow=function(t,e){var n=t.stroke||t.strokeStyle;if(this.defaultArrow[n])return this.defaultArrow[n].id;var r=new S(t,e);return this.defaultArrow[n]=r,this.el.appendChild(r.el),this.add(r),r.id},t.prototype.addGradient=function(t){var e=new b(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addArrow=function(t,e){var n=new S(t,e);return this.el.appendChild(n.el),this.add(n),n.id},t.prototype.addShadow=function(t){var e=new j(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addPattern=function(t){var e=new T(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addClip=function(t){var e=new M(t);return this.el.appendChild(e.el),this.add(e),e.id},t}(),P=E,L=function(t){function e(e){return t.call(this,Object(r["a"])(Object(r["a"])({},e),{autoDraw:!0,renderer:"svg"}))||this}return Object(r["b"])(e,t),e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u["a"]},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!o["a"][r.tagName]){var i=r.parentNode;while(i&&!o["a"][i.tagName])i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=Object(c["b"])("svg"),e=new P(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&Object(c["d"])(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?Object(s["c"])(this):"clip"===t?Object(s["a"])(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();Object(s["a"])(this,t),e.length&&Object(a["a"])(t,e)},e}(i["AbstractCanvas"]);e["a"]=L},wJg7:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(t,e){var i=typeof t;return e=null==e?n:e,!!e&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&t<e}t.exports=i},wOmg:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a});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)Object.prototype.hasOwnProperty.call(e,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<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}Object.create;Object.create},wclG:function(t,e,n){var r=n("pFRH"),i=n("88Gu"),o=i(r);t.exports=o},"wd/R":function(t,e,n){(function(t){var e;(function(e,n){t.exports=n()})(0,function(){"use strict";var n,r;function i(){return n.apply(null,arguments)}function o(t){n=t}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(c(t,e))return!1;return!0}function u(t){return void 0===t}function h(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function f(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function d(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function g(t,e,n,r){return qn(t,e,n,r,!0).utc()}function y(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(t){return null==t._pf&&(t._pf=y()),t._pf}function m(t){if(null==t._isValid){var e=v(t),n=r.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function b(t){var e=g(NaN);return null!=t?d(v(e),t):v(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),r=n.length>>>0;for(e=0;e<r;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var x=i.momentProperties=[],O=!1;function w(t,e){var n,r,i;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=v(e)),u(e._locale)||(t._locale=e._locale),x.length>0)for(n=0;n<x.length;n++)r=x[n],i=e[r],u(i)||(t[r]=i);return t}function j(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===O&&(O=!0,i.updateOffset(this),O=!1)}function C(t){return t instanceof j||null!=t&&null!=t._isAMomentObject}function S(t){!1===i.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function k(t,e){var n=!0;return d(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){var r,o,a,s=[];for(o=0;o<arguments.length;o++){if(r="","object"===typeof arguments[o]){for(a in r+="\n["+o+"] ",arguments[0])c(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}S(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var M,_={};function A(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),_[t]||(S(e),_[t]=!0)}function T(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function E(t){var e,n;for(n in t)c(t,n)&&(e=t[n],T(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(t,e){var n,r=d({},t);for(n in e)c(e,n)&&(s(t[n])&&s(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)c(t,n)&&!c(e,n)&&s(t[n])&&(r[n]=d({},r[n]));return r}function L(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,M=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(t,e,n){var r=this._calendar[t]||this._calendar["sameElse"];return T(r)?r.call(e,n):r}function D(t,e,n){var r=""+Math.abs(t),i=e-r.length,o=t>=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={},Y={};function z(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(Y[t]=i),e&&(Y[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(Y[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<n;e++)Y[r[e]]?r[e]=Y[r[e]]:r[e]=G(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=T(r[i])?r[i].call(e,t):r[i];return o}}function X(t,e){return t.isValid()?(e=W(e,t.localeData()),N[e]=N[e]||V(e),N[e](t)):t.localeData().invalidDate()}function W(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}R.lastIndex=0;while(n>=0&&R.test(t))t=t.replace(R,r),R.lastIndex=0,n-=1;return t}var H={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 T(i)?i(t,e,n,r):i.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return T(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),T(this[t])?this[t]():this}function yt(t,e){if("object"===typeof t){t=ot(t);var n,r=ct(t);for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(t=it(t),T(this[t]))return this[t](e);return this}var vt,mt=/\d/,bt=/\d\d/,xt=/\d{3}/,Ot=/\d{4}/,wt=/[+-]?\d{6}/,jt=/\d\d?/,Ct=/\d\d\d\d?/,St=/\d\d\d\d\d\d?/,kt=/\d{1,3}/,Mt=/\d{1,4}/,_t=/[+-]?\d{1,6}/,At=/\d+/,Tt=/[+-]?\d+/,Et=/Z|[+-]\d\d:?\d\d/gi,Pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Lt=/[+-]?\d+(\.\d{1,3})?/,It=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ft(t,e,n){vt[t]=T(e)?e:function(t,r){return t&&n?n:e}}function Dt(t,e){return c(vt,t)?vt[t](e._strict,e._locale):new RegExp(Bt(t))}function Bt(t){return Rt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function Rt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}vt={};var Nt={};function Yt(t,e){var n,r=e;for("string"===typeof t&&(t=[t]),h(e)&&(r=function(t,n){n[e]=ht(t)}),n=0;n<t.length;n++)Nt[t[n]]=r}function zt(t,e){Yt(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function Gt(t,e,n){null!=e&&c(Nt,t)&&Nt[t](e,n._a,n,t)}var Vt,Xt=0,Wt=1,Ht=2,Ut=3,qt=4,Zt=5,Kt=6,Qt=7,$t=8;function Jt(t,e){return(t%e+e)%e}function te(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Jt(e,12);return t+=(e-n)/12,1===n?lt(t)?29:28:31-n%7%2}Vt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},z("M",["MM",2],"Mo",function(){return this.month()+1}),z("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),z("MMMM",0,0,function(t){return this.localeData().months(this,t)}),rt("month","M"),st("month",8),Ft("M",jt),Ft("MM",jt,bt),Ft("MMM",function(t,e){return e.monthsShortRegex(t)}),Ft("MMMM",function(t,e){return e.monthsRegex(t)}),Yt(["M","MM"],function(t,e){e[Wt]=ht(t)-1}),Yt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[Wt]=i:v(n).invalidMonth=t});var ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ie=It,oe=It;function ae(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||re).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months["standalone"]}function se(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[re.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ce(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=g([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=Vt.call(this._shortMonthsParse,a),-1!==i?i:null):(i=Vt.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?(i=Vt.call(this._shortMonthsParse,a),-1!==i?i:(i=Vt.call(this._longMonthsParse,a),-1!==i?i:null)):(i=Vt.call(this._longMonthsParse,a),-1!==i?i:(i=Vt.call(this._shortMonthsParse,a),-1!==i?i:null))}function le(t,e,n){var r,i,o;if(this._monthsParseExact)return ce.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=g([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ue(t,e){var n;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=ht(e);else if(e=t.localeData().monthsParse(e),!h(e))return t;return n=Math.min(t.date(),te(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function he(t){return null!=t?(ue(this,t),i.updateOffset(this,!0),this):pt(this,"Month")}function fe(){return te(this.year(),this.month())}function pe(t){return this._monthsParseExact?(c(this,"_monthsRegex")||ge.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=ie),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function de(t){return this._monthsParseExact?(c(this,"_monthsRegex")||ge.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ge(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=g([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=Rt(r[e]),i[e]=Rt(i[e]);for(e=0;e<24;e++)o[e]=Rt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ye(t){return lt(t)?366:365}z("Y",0,0,function(){var t=this.year();return t<=9999?D(t,4):"+"+t}),z(0,["YY",2],0,function(){return this.year()%100}),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),rt("year","y"),st("year",1),Ft("Y",Tt),Ft("YY",jt,bt),Ft("YYYY",Mt,Ot),Ft("YYYYY",_t,wt),Ft("YYYYYY",_t,wt),Yt(["YYYYY","YYYYYY"],Xt),Yt("YYYY",function(t,e){e[Xt]=2===t.length?i.parseTwoDigitYear(t):ht(t)}),Yt("YY",function(t,e){e[Xt]=i.parseTwoDigitYear(t)}),Yt("Y",function(t,e){e[Xt]=parseInt(t,10)}),i.parseTwoDigitYear=function(t){return ht(t)+(ht(t)>68?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 we(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 je(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+Ce(i,e,n)):a>Ce(t.year(),e,n)?(r=a-Ce(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function Ce(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 je(t,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),st("week",5),st("isoWeek",5),Ft("w",jt),Ft("ww",jt,bt),Ft("W",jt),Ft("WW",jt,bt),zt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ht(t)});var ke={dow:0,doy:6};function Me(){return this._week.dow}function _e(){return this._week.doy}function Ae(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Te(t){var e=je(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ee(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Pe(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))}z("d",0,"do","day"),z("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),z("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),z("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),Ft("d",jt),Ft("e",jt),Ft("E",jt),Ft("dd",function(t,e){return e.weekdaysMinRegex(t)}),Ft("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Ft("dddd",function(t,e){return e.weekdaysRegex(t)}),zt(["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}),zt(["d","e","E"],function(t,e,n,r){e[r]=ht(t)});var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),De="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Be=It,Re=It,Ne=It;function Ye(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 ze(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 Xe(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 We(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ee(t,this.localeData()),this.add(t-e,"d")):e}function He(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=Pe(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){z(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)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,$e),z("k",["kk",2],0,Je),z("hmm",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)}),z("hmmss",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),z("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),Ft("a",en),Ft("A",en),Ft("H",jt),Ft("h",jt),Ft("k",jt),Ft("HH",jt,bt),Ft("hh",jt,bt),Ft("kk",jt,bt),Ft("hmm",Ct),Ft("hmmss",St),Ft("Hmm",Ct),Ft("Hmmss",St),Yt(["H","HH"],Ut),Yt(["k","kk"],function(t,e,n){var r=ht(t);e[Ut]=24===r?0:r}),Yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Yt(["h","hh"],function(t,e,n){e[Ut]=ht(t),v(n).bigHour=!0}),Yt("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}),Yt("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}),Yt("Hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r))}),Yt("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:I,longDateFormat:H,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:Q,relativeTime:J,months:ee,monthsShort:ne,week:ke,weekdays:Ie,weekdaysMin:De,weekdaysShort:Fe,meridiemParse:rn},ln={},un={};function hn(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function fn(t){return t?t.toLowerCase().replace("_","-"):t}function pn(t){var e,n,r,i,o=0;while(o<t.length){i=fn(t[o]).split("-"),e=i.length,n=fn(t[o+1]),n=n?n.split("-"):null;while(e>0){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])A("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(P(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(P(ln[t]._config,e)):(r=dn(t),null!=r&&(i=r._config),e=P(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[Wt]<0||n[Wt]>11?Wt:n[Ht]<1||n[Ht]>te(n[Xt],n[Wt])?Ht: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&&(e<Xt||e>Ht)&&(e=Ht),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)?)?$/,wn=/^\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=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["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/]],kn=/^\/?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}))$/,_n={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function An(t){var e,n,r,i,o,a,s=t._i,c=On.exec(s)||wn.exec(s);if(c){for(v(t).iso=!0,e=0,n=Cn.length;e<n;e++)if(Cn[e][1].exec(c[1])){i=Cn[e][0],r=!1!==Cn[e][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(e=0,n=Sn.length;e<n;e++)if(Sn[e][1].exec(c[3])){o=(c[2]||" ")+Sn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(c[4]){if(!jn.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),zn(t)}else t._isValid=!1}function Tn(t,e,n,r,i,o){var a=[En(t),ne.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function En(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Pn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ln(t,e,n){if(t){var r=Fe.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return v(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function In(t,e,n){if(t)return _n[t];if(e)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}function Fn(t){var e,n=Mn.exec(Pn(t._i));if(n){if(e=Tn(n[4],n[3],n[2],n[5],n[6],n[7]),!Ln(n[1],e,t))return;t._a=e,t._tzm=In(n[8],n[9],n[10]),t._d=xe.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),v(t).rfc2822=!0}else t._isValid=!1}function Dn(t){var e=kn.exec(t._i);null===e?(An(t),!1===t._isValid&&(delete t._isValid,Fn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Bn(t,e,n){return null!=t?t:null!=e?e:n}function Rn(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Nn(t){var e,n,r,i,o,a=[];if(!t._d){for(r=Rn(t),t._w&&null==t._a[Ht]&&null==t._a[Wt]&&Yn(t),null!=t._dayOfYear&&(o=Bn(t._a[Xt],r[Xt]),(t._dayOfYear>ye(o)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Wt]=n.getUTCMonth(),t._a[Ht]=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 Yn(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[Xt],je(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=je(Zn(),o,a),n=Bn(e.gg,t._a[Xt],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>Ce(n,o,a)?v(t)._overflowWeeks=!0:null!=c?v(t)._overflowWeekday=!0:(s=we(n,r,i,o,a),t._a[Xt]=s.year,t._dayOfYear=s.dayOfYear)}function zn(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=W(t._f,t._locale).match(B)||[],e=0;e<r.length;e++)o=r[e],n=(c.match(Dt(o,t))||[])[0],n&&(a=c.substr(0,c.indexOf(n)),a.length>0&&v(t).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),Y[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[Xt]=t._locale.erasConvertYear(s,t._a[Xt])),Nn(t),xn(t)}else Fn(t);else An(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;i<t._f.length;i++)o=0,a=!1,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],zn(e),m(e)&&(a=!0),o+=v(e).charsLeftOver,o+=10*v(e).unusedTokens.length,v(e).score=o,s?o<r&&(r=o,n=e):(null==r||o<r||a)&&(r=o,n=e,a&&(s=!0));d(t,n||e)}function Xn(t){if(!t._d){var e=ot(t._i),n=void 0===e.day?e.date:e.day;t._a=p([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Nn(t)}}function Wn(t){var e=new j(xn(Hn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Hn(t){var e=t._i,n=t._f;return t._locale=t._locale||mn(t._l),null===e||void 0===n&&""===e?b({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),C(e)?new j(xn(e)):(f(e)?t._d=e:a(n)?Vn(t):n?zn(t):Un(t),m(t)||(t._d=null),t))}function Un(t){var e=t._i;u(e)?t._d=new Date(i.now()):f(e)?t._d=new Date(e.valueOf()):"string"===typeof e?Dn(t):a(e)?(t._a=p(e.slice(0),function(t){return parseInt(t,10)}),Nn(t)):s(e)?Xn(t):h(e)?t._d=new Date(e):i.createFromInputFallback(t)}function qn(t,e,n,r,i){var o={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=t,o._f=e,o._strict=r,Wn(o)}function Zn(t,e,n,r){return qn(t,e,n,r,!1)}i.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Kn=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()}),Qn=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?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;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function Jn(){var t=[].slice.call(arguments,0);return $n("isBefore",t)}function tr(){var t=[].slice.call(arguments,0);return $n("isAfter",t)}var er=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(t){var e,n,r=!1;for(e in t)if(c(t,e)&&(-1===Vt.call(nr,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<nr.length;++n)if(t[nr[n]]){if(r)return!1;parseFloat(t[nr[n]])!==ht(t[nr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function or(){return _r(NaN)}function ar(t){var e=ot(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=rr(e),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=mn(),this._bubble()}function sr(t){return t instanceof ar}function cr(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function lr(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&ht(t[r])!==ht(e[r]))&&a++;return a+o}function ur(t,e){z(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)})}ur("Z",":"),ur("ZZ",""),Ft("Z",Pt),Ft("ZZ",Pt),Yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=fr(Pt,t)});var hr=/([\+\-]|\d\d)/gi;function fr(t,e){var n,r,i,o=(e||"").match(t);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(hr)||["-",0,0],i=60*r[1]+ht(r[2]),0===i?0:"+"===r[0]?i:-i)}function pr(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(C(t)||f(t)?t.valueOf():Zn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Zn(t).local()}function dr(t){return-Math.round(t._d.getTimezoneOffset())}function gr(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(t=fr(Pt,t),null===t)return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=dr(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Lr(this,_r(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:dr(this)}function yr(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function vr(t){return this.utcOffset(0,t)}function mr(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(dr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=fr(Et,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function xr(t){return!!this.isValid()&&(t=t?Zn(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function Or(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return w(e,this),e=Hn(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 jr(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var kr=/^(-|\+)?(?:(\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 _r(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=kr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ht(a[Ht])*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:Ar(a[2],n),M:Ar(a[3],n),w:Ar(a[4],n),d:Ar(a[5],n),h:Ar(a[6],n),m:Ar(a[7],n),s:Ar(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Er(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 Ar(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Tr(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 Er(t,e){var n;return t.isValid()&&e.isValid()?(e=pr(e,t),t.isBefore(e)?n=Tr(t,e):(n=Tr(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pr(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(A(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=_r(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))}_r.fn=ar.prototype,_r.invalid=or;var Ir=Pr(1,"add"),Fr=Pr(-1,"subtract");function Dr(t){return"string"===typeof t||t instanceof String}function Br(t){return C(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;e<o.length;e+=1)n=o[e],i=i||c(t,n);return r&&i}function Nr(t){var e=a(t),n=!1;return e&&(n=0===t.filter(function(e){return!h(e)&&Dr(t)}).length),e&&n}function Yr(t){var e,n,r=s(t)&&!l(t),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],i=i||c(t,n);return r&&i}function zr(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(t,e){1===arguments.length&&(arguments[0]?Br(arguments[0])?(t=arguments[0],e=void 0):Yr(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Zn(),r=pr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=e&&(T(e[o])?e[o].call(this,n):e[o]);return this.format(a||this.localeData().calendar(o,this,Zn(n)))}function Vr(){return new j(this)}function Xr(t,e){var n=C(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&(e=it(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Wr(t,e){var n=C(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&(e=it(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Hr(t,e,n,r){var i=C(t)?t:Zn(t),o=C(e)?e:Zn(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function Ur(t,e){var n,r=C(t)?t:Zn(t);return!(!this.isValid()||!r.isValid())&&(e=it(e)||"millisecond","millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function qr(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Zr(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Kr(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(r=pr(t,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=it(e),e){case"year":o=Qr(this,r)/12;break;case"month":o=Qr(this,r);break;case"quarter":o=Qr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:ut(o)}function Qr(t,e){if(t.date()<e.date())return-Qr(e,t);var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function $r(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?X(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",X(n,"Z")):X(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=X(this,t);return this.localeData().postformat(e)}function ni(t,e){return this.isValid()&&(C(t)&&t.isValid()||Zn(t).isValid())?_r({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()&&(C(t)&&t.isValid()||Zn(t).isValid())?_r({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=k("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 wi(){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 ji(){return this.isValid()?this.toISOString():null}function Ci(){return m(this)}function Si(){return d({},v(this))}function ki(){return v(this).overflow}function Mi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function _i(t,e){var n,r,o,a=this._eras||mn("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":o=i(a[n].since).startOf("day"),a[n].since=o.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=i(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf();break}}return a}function Ai(t,e,n){var r,i,o,a,s,c=this.eras();for(t=t.toUpperCase(),r=0,i=c.length;r<i;++r)if(o=c[r].name.toUpperCase(),a=c[r].abbr.toUpperCase(),s=c[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[r];break;case"NNNN":if(o===t)return c[r];break;case"NNNNN":if(s===t)return c[r];break}else if([o,a,s].indexOf(t)>=0)return c[r]}function Ti(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 Ei(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].name;if(r[t].until<=n&&n<=r[t].since)return r[t].name}return""}function Pi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].narrow;if(r[t].until<=n&&n<=r[t].since)return r[t].narrow}return""}function Li(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].abbr;if(r[t].until<=n&&n<=r[t].since)return r[t].abbr}return""}function Ii(){var t,e,n,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-i(o[t].since).year())*n+o[t].offset;return this.year()}function Fi(t){return c(this,"_erasNameRegex")||Gi.call(this),t?this._erasNameRegex:this._erasRegex}function Di(t){return c(this,"_erasAbbrRegex")||Gi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Bi(t){return c(this,"_erasNarrowRegex")||Gi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Ri(t,e){return e.erasAbbrRegex(t)}function Ni(t,e){return e.erasNameRegex(t)}function Yi(t,e){return e.erasNarrowRegex(t)}function zi(t,e){return e._eraYearOrdinalRegex||At}function Gi(){var t,e,n=[],r=[],i=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)r.push(Rt(a[t].name)),n.push(Rt(a[t].abbr)),i.push(Rt(a[t].narrow)),o.push(Rt(a[t].name)),o.push(Rt(a[t].abbr)),o.push(Rt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Vi(t,e){z(0,[t,t.length],0,e)}function Xi(t){return Ki.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(t){return Ki.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Hi(){return Ce(this.year(),1,4)}function Ui(){return Ce(this.isoWeekYear(),1,4)}function qi(){var t=this.localeData()._week;return Ce(this.year(),t.dow,t.doy)}function Zi(){var t=this.localeData()._week;return Ce(this.weekYear(),t.dow,t.doy)}function Ki(t,e,n,r,i){var o;return null==t?je(this,r,i).year:(o=Ce(t,r,i),e>o&&(e=o),Qi.call(this,t,e,n,r,i))}function Qi(t,e,n,r,i){var o=we(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)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),Ft("N",Ri),Ft("NN",Ri),Ft("NNN",Ri),Ft("NNNN",Ni),Ft("NNNNN",Yi),Yt(["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}),Ft("y",At),Ft("yy",At),Ft("yyy",At),Ft("yyyy",At),Ft("yo",zi),Yt(["y","yy","yyy","yyyy"],Xt),Yt(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Xt]=n._locale.eraYearOrdinalParse(t,i):e[Xt]=parseInt(t,10)}),z(0,["gg",2],0,function(){return this.weekYear()%100}),z(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),Ft("G",Tt),Ft("g",Tt),Ft("GG",jt,bt),Ft("gg",jt,bt),Ft("GGGG",Mt,Ot),Ft("gggg",Mt,Ot),Ft("GGGGG",_t,wt),Ft("ggggg",_t,wt),zt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ht(t)}),zt(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),z("Q",0,"Qo","quarter"),rt("quarter","Q"),st("quarter",7),Ft("Q",mt),Yt("Q",function(t,e){e[Wt]=3*(ht(t)-1)}),z("D",["DD",2],"Do","date"),rt("date","D"),st("date",9),Ft("D",jt),Ft("DD",jt,bt),Ft("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Yt(["D","DD"],Ht),Yt("Do",function(t,e){e[Ht]=ht(t.match(jt)[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")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),st("dayOfYear",4),Ft("DDD",kt),Ft("DDDD",xt),Yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ht(t)}),z("m",["mm",2],0,"minute"),rt("minute","m"),st("minute",14),Ft("m",jt),Ft("mm",jt,bt),Yt(["m","mm"],qt);var eo=ft("Minutes",!1);z("s",["ss",2],0,"second"),rt("second","s"),st("second",15),Ft("s",jt),Ft("ss",jt,bt),Yt(["s","ss"],Zt);var no,ro,io=ft("Seconds",!1);for(z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),st("millisecond",16),Ft("S",kt,mt),Ft("SS",kt,bt),Ft("SSS",kt,xt),no="SSSS";no.length<=9;no+="S")Ft(no,At);function oo(t,e){e[Kt]=ht(1e3*("0."+t))}for(no="S";no.length<=9;no+="S")Yt(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=ft("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var co=j.prototype;function lo(t){return Zn(1e3*t)}function uo(){return Zn.apply(null,arguments).parseZone()}function ho(t){return t}co.add=Ir,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=ki,co.isAfter=Xr,co.isBefore=Wr,co.isBetween=Hr,co.isSame=Ur,co.isSameOrAfter=qr,co.isSameOrBefore=Zr,co.isValid=Ci,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=Fr,co.toArray=Oi,co.toObject=wi,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=ji,co.toString=$r,co.unix=bi,co.valueOf=mi,co.creationData=Mi,co.eraName=Ei,co.eraNarrow=Pi,co.eraAbbr=Li,co.eraYear=Ii,co.year=ve,co.isLeapYear=me,co.weekYear=Xi,co.isoWeekYear=Wi,co.quarter=co.quarters=$i,co.month=he,co.daysInMonth=fe,co.week=co.weeks=Ae,co.isoWeek=co.isoWeeks=Te,co.weeksInYear=qi,co.weeksInWeekYear=Zi,co.isoWeeksInYear=Hi,co.isoWeeksInISOWeekYear=Ui,co.date=Ji,co.day=co.days=We,co.weekday=He,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=jr,co.isUtcOffset=Cr,co.isUtc=Sr,co.isUTC=Sr,co.zoneAbbr=ao,co.zoneName=so,co.dates=k("dates accessor is deprecated. Use date instead.",Ji),co.months=k("months accessor is deprecated. Use month instead",he),co.years=k("years accessor is deprecated. Use year instead",ve),co.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);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=F,fo.longDateFormat=U,fo.invalidDate=Z,fo.ordinal=$,fo.preparse=ho,fo.postformat=ho,fo.relativeTime=tt,fo.pastFuture=et,fo.set=E,fo.eras=_i,fo.erasParse=Ai,fo.erasConvertYear=Ti,fo.erasAbbrRegex=Di,fo.erasNameRegex=Fi,fo.erasNarrowRegex=Bi,fo.months=ae,fo.monthsShort=se,fo.monthsParse=le,fo.monthsRegex=de,fo.monthsShortRegex=pe,fo.week=Se,fo.firstDayOfYear=_e,fo.firstDayOfWeek=Me,fo.weekdays=Ye,fo.weekdaysMin=Ge,fo.weekdaysShort=ze,fo.weekdaysParse=Xe,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=k("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=k("moment.langData is deprecated. Use moment.localeData instead.",mn);var wo=Math.abs;function jo(){var t=this._data;return this._milliseconds=wo(this._milliseconds),this._days=wo(this._days),this._months=wo(this._months),t.milliseconds=wo(t.milliseconds),t.seconds=wo(t.seconds),t.minutes=wo(t.minutes),t.hours=wo(t.hours),t.months=wo(t.months),t.years=wo(t.years),this}function Co(t,e,n,r){var i=_r(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 Co(this,t,e,1)}function ko(t,e){return Co(this,t,e,-1)}function Mo(t){return t<0?Math.floor(t):Math.ceil(t)}function _o(){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(To(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(Ao(a)),s+=i,a-=Mo(To(i)),r=ut(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Ao(t){return 4800*t/146097}function To(t){return 146097*t/4800}function Eo(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+Ao(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(To(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 Po(){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 Io=Lo("ms"),Fo=Lo("s"),Do=Lo("m"),Bo=Lo("h"),Ro=Lo("d"),No=Lo("w"),Yo=Lo("M"),zo=Lo("Q"),Go=Lo("y");function Vo(){return _r(this)}function Xo(t){return t=it(t),this.isValid()?this[t+"s"]():NaN}function Wo(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ho=Wo("milliseconds"),Uo=Wo("seconds"),qo=Wo("minutes"),Zo=Wo("hours"),Ko=Wo("days"),Qo=Wo("months"),$o=Wo("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=_r(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]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),f=f||l<=1&&["M"]||l<n.M&&["MM",l]||h<=1&&["y"]||["yy",h],f[2]=e,f[3]=+t>0,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=jo,ua.add=So,ua.subtract=ko,ua.as=Eo,ua.asMilliseconds=Io,ua.asSeconds=Fo,ua.asMinutes=Do,ua.asHours=Bo,ua.asDays=Ro,ua.asWeeks=No,ua.asMonths=Yo,ua.asQuarters=zo,ua.asYears=Go,ua.valueOf=Po,ua._bubble=_o,ua.clone=Vo,ua.get=Xo,ua.milliseconds=Ho,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=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ua.lang=si,z("X",0,0,"unix"),z("x",0,0,"valueOf"),Ft("x",Tt),Ft("X",Lt),Yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),Yt("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=_r,i.isMoment=C,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=zr,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("wOmg"),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("LHnb"),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;return e.coordinate("polar",{radius:r}),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["o"])(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("+q5a"),y=n("z+1E"),v=n.n(y),m=n("uI74"),b=n("iTfj"),x=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=Object(g["getTooltipItems"])(t,s),n=e[0];if(!i&&n&&n.name===l){var a=Object(b["isNil"])(o)?l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}else if(i&&n){a=Object(b["isNil"])(o)?n.name||l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}})}),u}return[]},e}(v.a);Object(d["f"])("radar-tooltip",x);var O=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}(m["Action"]);Object(d["e"])("radar-tooltip",O),Object(d["g"])("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.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["a"])},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;n<r.length;n++)i=t.push("text","",0),i.content=String.fromCharCode(a),t.delimiters.push({marker:a,length:r.length,jump:n,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0},t.exports.postProcess=function(t){var e,n=t.tokens_meta,i=t.tokens_meta.length;for(r(t,t.delimiters),e=0;e<i;e++)n[e]&&n[e].delimiters&&r(t,n[e].delimiters)}},yLks:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COMPONENT_MAX_VIEW_PERCENTAGE=e.MIN_CHART_HEIGHT=e.MIN_CHART_WIDTH=e.FIELD_ORIGIN=e.GROUP_ATTRS=e.ELEMENT_STATE=e.PLOT_EVENTS=e.GEOMETRY_LIFE_CIRCLE=e.VIEW_LIFE_CIRCLE=e.GROUP_Z_INDEX=e.COMPONENT_TYPE=e.DIRECTION=e.LAYER=void 0,function(t){t["FORE"]="fore",t["MID"]="mid",t["BG"]="bg"}(e.LAYER||(e.LAYER={})),function(t){t["TOP"]="top",t["TOP_LEFT"]="top-left",t["TOP_RIGHT"]="top-right",t["RIGHT"]="right",t["RIGHT_TOP"]="right-top",t["RIGHT_BOTTOM"]="right-bottom",t["LEFT"]="left",t["LEFT_TOP"]="left-top",t["LEFT_BOTTOM"]="left-bottom",t["BOTTOM"]="bottom",t["BOTTOM_LEFT"]="bottom-left",t["BOTTOM_RIGHT"]="bottom-right",t["RADIUS"]="radius",t["CIRCLE"]="circle",t["NONE"]="none"}(e.DIRECTION||(e.DIRECTION={})),function(t){t["AXIS"]="axis",t["GRID"]="grid",t["LEGEND"]="legend",t["TOOLTIP"]="tooltip",t["ANNOTATION"]="annotation",t["SLIDER"]="slider",t["SCROLLBAR"]="scrollbar",t["OTHER"]="other"}(e.COMPONENT_TYPE||(e.COMPONENT_TYPE={})),e.GROUP_Z_INDEX={FORE:3,MID:2,BG:1},function(t){t["BEFORE_RENDER"]="beforerender",t["AFTER_RENDER"]="afterrender",t["BEFORE_PAINT"]="beforepaint",t["AFTER_PAINT"]="afterpaint",t["BEFORE_CHANGE_DATA"]="beforechangedata",t["AFTER_CHANGE_DATA"]="afterchangedata",t["BEFORE_CLEAR"]="beforeclear",t["AFTER_CLEAR"]="afterclear",t["BEFORE_DESTROY"]="beforedestroy",t["BEFORE_CHANGE_SIZE"]="beforechangesize",t["AFTER_CHANGE_SIZE"]="afterchangesize"}(e.VIEW_LIFE_CIRCLE||(e.VIEW_LIFE_CIRCLE={})),function(t){t["BEFORE_DRAW_ANIMATE"]="beforeanimate",t["AFTER_DRAW_ANIMATE"]="afteranimate"}(e.GEOMETRY_LIFE_CIRCLE||(e.GEOMETRY_LIFE_CIRCLE={})),function(t){t["MOUSE_ENTER"]="plot:mouseenter",t["MOUSE_DOWN"]="plot:mousedown",t["MOUSE_MOVE"]="plot:mousemove",t["MOUSE_UP"]="plot:mouseup",t["MOUSE_LEAVE"]="plot:mouseleave",t["TOUCH_START"]="plot:touchstart",t["TOUCH_MOVE"]="plot:touchmove",t["TOUCH_END"]="plot:touchend",t["TOUCH_CANCEL"]="plot:touchcancel",t["CLICK"]="plot:click",t["DBLCLICK"]="plot:dblclick",t["CONTEXTMENU"]="plot:contextmenu",t["LEAVE"]="plot:leave",t["ENTER"]="plot:enter"}(e.PLOT_EVENTS||(e.PLOT_EVENTS={})),function(t){t["ACTIVE"]="active",t["INACTIVE"]="inactive",t["SELECTED"]="selected",t["DEFAULT"]="default"}(e.ELEMENT_STATE||(e.ELEMENT_STATE={})),e.GROUP_ATTRS=["color","shape","size"],e.FIELD_ORIGIN="_origin",e.MIN_CHART_WIDTH=1,e.MIN_CHART_HEIGHT=1,e.COMPONENT_MAX_VIEW_PERCENTAGE=.25},yP5f:function(t,e,n){var r=n("+K+b");function i(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}t.exports=i},yl30:function(t,e,n){"use strict";var r=n("q1tI"),i=n("MgzW"),o=n("QCnb");function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(t,e,n,r,i,o,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{e.apply(n,l)}catch(t){this.onError(t)}}var c=!1,l=null,u=!1,h=null,f={onError:function(t){c=!0,l=t}};function p(t,e,n,r,i,o,a,u,h){c=!1,l=null,s.apply(f,arguments)}function d(t,e,n,r,i,o,s,f,d){if(p.apply(this,arguments),c){if(!c)throw Error(a(198));var g=l;c=!1,l=null,u||(u=!0,h=g)}}var g=null,y=null,v=null;function m(t,e,n){var r=t.type||"unknown-event";t.currentTarget=v(n),d(r,e,void 0,t),t.currentTarget=null}var b=null,x={};function O(){if(b)for(var t in x){var e=x[t],n=b.indexOf(t);if(!(-1<n))throw Error(a(96,t));if(!j[n]){if(!e.extractEvents)throw Error(a(97,t));for(var r in j[n]=e,n=e.eventTypes,n){var i=void 0,o=n[r],s=e,c=r;if(C.hasOwnProperty(c))throw Error(a(99,c));C[c]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&w(l[i],s,c);i=!0}else o.registrationName?(w(o.registrationName,s,c),i=!0):i=!1;if(!i)throw Error(a(98,r,t))}}}}function w(t,e,n){if(S[t])throw Error(a(100,t));S[t]=e,k[t]=e.eventTypes[n].dependencies}var j=[],C={},S={},k={};function M(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var r=t[e];if(!x.hasOwnProperty(e)||x[e]!==r){if(x[e])throw Error(a(102,e));x[e]=r,n=!0}}n&&O()}var _=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),A=null,T=null,E=null;function P(t){if(t=y(t)){if("function"!==typeof A)throw Error(a(280));var e=t.stateNode;e&&(e=g(e),A(t.stateNode,t.type,e))}}function L(t){T?E?E.push(t):E=[t]:T=t}function I(){if(T){var t=T,e=E;if(E=T=null,P(t),e)for(t=0;t<e.length;t++)P(e[t])}}function F(t,e){return t(e)}function D(t,e,n,r,i){return t(e,n,r,i)}function B(){}var R=F,N=!1,Y=!1;function z(){null===T&&null===E||(B(),I())}function G(t,e,n){if(Y)return t(e,n);Y=!0;try{return R(t,e,n)}finally{Y=!1,z()}}var V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,X=Object.prototype.hasOwnProperty,W={},H={};function U(t){return!!X.call(H,t)||!X.call(W,t)&&(V.test(t)?H[t]=!0:(W[t]=!0,!1))}function q(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),"data-"!==t&&"aria-"!==t));default:return!1}}function Z(t,e,n,r){if(null===e||"undefined"===typeof e||q(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}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<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]));o||(Z(e,n,i,r)&&(n=null),r||null===i?U(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(i=i.type,n=3===i||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}tt.hasOwnProperty("ReactCurrentDispatcher")||(tt.ReactCurrentDispatcher={current:null}),tt.hasOwnProperty("ReactCurrentBatchConfig")||(tt.ReactCurrentBatchConfig={suspense:null});var nt=/^(.*)[\\\/]/,rt="function"===typeof Symbol&&Symbol.for,it=rt?Symbol.for("react.element"):60103,ot=rt?Symbol.for("react.portal"):60106,at=rt?Symbol.for("react.fragment"):60107,st=rt?Symbol.for("react.strict_mode"):60108,ct=rt?Symbol.for("react.profiler"):60114,lt=rt?Symbol.for("react.provider"):60109,ut=rt?Symbol.for("react.context"):60110,ht=rt?Symbol.for("react.concurrent_mode"):60111,ft=rt?Symbol.for("react.forward_ref"):60112,pt=rt?Symbol.for("react.suspense"):60113,dt=rt?Symbol.for("react.suspense_list"):60120,gt=rt?Symbol.for("react.memo"):60115,yt=rt?Symbol.for("react.lazy"):60116,vt=rt?Symbol.for("react.block"):60121,mt="function"===typeof Symbol&&Symbol.iterator;function bt(t){return null===t||"object"!==typeof t?null:(t=mt&&t[mt]||t["@@iterator"],"function"===typeof t?t:null)}function xt(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}}function Ot(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case at:return"Fragment";case ot:return"Portal";case ct:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case dt:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case ut:return"Context.Consumer";case lt:return"Context.Provider";case ft:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case gt:return Ot(t.type);case vt:return Ot(t.render);case yt:if(t=1===t._status?t._result:null)return Ot(t)}return null}function wt(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break t;default:var r=t._debugOwner,i=t._debugSource,o=Ot(t.type);n=null,r&&(n=Ot(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(nt,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}e+=n,t=t.return}while(t);return e}function jt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function Ct(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function St(t){var e=Ct(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function kt(t){t._valueTracker||(t._valueTracker=St(t))}function Mt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=Ct(t)?t.checked?"true":"false":t.value),t=r,t!==n&&(e.setValue(t),!0)}function _t(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function At(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=jt(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function Tt(t,e){e=e.checked,null!=e&&et(t,"checked",e,!1)}function Et(t,e){Tt(t,e);var n=jt(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?Lt(t,e.type,n):e.hasOwnProperty("defaultValue")&&Lt(t,e.type,jt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Pt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,""!==n&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function Lt(t,e,n){"number"===e&&t.ownerDocument.activeElement===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function It(t){var e="";return r.Children.forEach(t,function(t){null!=t&&(e+=t)}),e}function Ft(t,e){return t=i({children:void 0},e),(e=It(e.children))&&(t.children=e),t}function Dt(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+jt(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function Bt(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Rt(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:jt(n)}}function Nt(t,e){var n=jt(e.value),r=jt(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 Yt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var zt={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 Xt,Wt=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!==zt.svg||"innerHTML"in t)t.innerHTML=e;else{for(Xt=Xt||document.createElement("div"),Xt.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Xt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ht(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}_&&(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;r<e.length&&!t.isPropagationStopped();r++)m(t,e[r],n[r]);else e&&m(t,e,n);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}function de(t){if(null!==t&&(fe=ue(fe,t)),t=fe,fe=null,t){if(he(t,pe),fe)throw Error(a(95));if(u)throw t=h,u=!1,h=null,t}}function ge(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function ye(t){if(!_)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e="function"===typeof e[t]),e}var ve=[];function me(t){t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,10>ve.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=zn(r)}while(n);for(n=0;n<t.ancestors.length;n++){e=t.ancestors[n];var i=ge(t.nativeEvent);r=t.topLevelType;var o=t.nativeEvent,a=t.eventSystemFlags;0===n&&(a|=64);for(var s=null,c=0;c<j.length;c++){var l=j[c];l&&(l=l.extractEvents(r,e,o,i,a))&&(s=ue(s,l))}de(s)}}function Oe(t,e,n){if(!n.has(t)){switch(t){case"scroll":rn(e,"scroll",!0);break;case"focus":case"blur":rn(e,"focus",!0),rn(e,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ye(t)&&rn(e,t,!0);break;case"invalid":case"submit":case"reset":break;default:-1===ne.indexOf(t)&&nn(t,e)}n.set(t,null)}}var we,je,Ce,Se=!1,ke=[],Me=null,_e=null,Ae=null,Te=new Map,Ee=new Map,Pe=[],Le="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ie="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Fe(t,e){var n=ie(e);Le.forEach(function(t){Oe(t,e,n)}),Ie.forEach(function(t){Oe(t,e,n)})}function De(t,e,n,r,i){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Be(t,e){switch(t){case"focus":case"blur":Me=null;break;case"dragenter":case"dragleave":_e=null;break;case"mouseover":case"mouseout":Ae=null;break;case"pointerover":case"pointerout":Te.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ee.delete(e.pointerId)}}function Re(t,e,n,r,i,o){return null===t||t.nativeEvent!==o?(t=De(e,n,r,i,o),null!==e&&(e=Gn(e),null!==e&&je(e)),t):(t.eventSystemFlags|=r,t)}function Ne(t,e,n,r,i){switch(e){case"focus":return Me=Re(Me,t,e,n,r,i),!0;case"dragenter":return _e=Re(_e,t,e,n,r,i),!0;case"mouseover":return Ae=Re(Ae,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return Te.set(o,Re(Te.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ee.set(o,Re(Ee.get(o)||null,t,e,n,r,i)),!0}return!1}function Ye(t){var e=zn(t.target);if(null!==e){var n=oe(e);if(null!==n)if(e=n.tag,13===e){if(e=ae(n),null!==e)return t.blockedOn=e,void o.unstable_runWithPriority(t.priority,function(){Ce(n)})}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function ze(t){if(null!==t.blockedOn)return!1;var e=cn(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);if(null!==e){var n=Gn(e);return null!==n&&je(n),t.blockedOn=e,!1}return!0}function Ge(t,e,n){ze(t)&&n.delete(e)}function Ve(){for(Se=!1;0<ke.length;){var t=ke[0];if(null!==t.blockedOn){t=Gn(t.blockedOn),null!==t&&we(t);break}var e=cn(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);null!==e?t.blockedOn=e:ke.shift()}null!==Me&&ze(Me)&&(Me=null),null!==_e&&ze(_e)&&(_e=null),null!==Ae&&ze(Ae)&&(Ae=null),Te.forEach(Ge),Ee.forEach(Ge)}function Xe(t,e){t.blockedOn===e&&(t.blockedOn=null,Se||(Se=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ve)))}function We(t){function e(e){return Xe(e,t)}if(0<ke.length){Xe(ke[0],t);for(var n=1;n<ke.length;n++){var r=ke[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Me&&Xe(Me,t),null!==_e&&Xe(_e,t),null!==Ae&&Xe(Ae,t),Te.forEach(e),Ee.forEach(e),n=0;n<Pe.length;n++)r=Pe[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<Pe.length&&(n=Pe[0],null===n.blockedOn);)Ye(n),null===n.blockedOn&&Pe.shift()}var He={},Ue=new Map,qe=new Map,Ze=["abort","abort",$t,"animationEnd",Jt,"animationIteration",te,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",ee,"transitionEnd","waiting","waiting"];function Ke(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],i=t[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:e},qe.set(r,e),Ue.set(r,o),He[i]=o}}Ke("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ke("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ke(Ze,2);for(var Qe="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),$e=0;$e<Qe.length;$e++)qe.set(Qe[$e],0);var Je=o.unstable_UserBlockingPriority,tn=o.unstable_runWithPriority,en=!0;function nn(t,e){rn(e,t,!1)}function rn(t,e,n){var r=qe.get(e);switch(void 0===r?2:r){case 0:r=on.bind(null,e,1,t);break;case 1:r=an.bind(null,e,1,t);break;default:r=sn.bind(null,e,1,t)}n?t.addEventListener(e,r,!0):t.addEventListener(e,r,!1)}function on(t,e,n,r){N||B();var i=sn,o=N;N=!0;try{D(i,t,e,n,r)}finally{(N=o)||z()}}function an(t,e,n,r){tn(Je,sn.bind(null,t,e,n,r))}function sn(t,e,n,r){if(en)if(0<ke.length&&-1<Le.indexOf(t))t=De(null,t,e,n,r),ke.push(t);else{var i=cn(t,e,n,r);if(null===i)Be(t,r);else if(-1<Le.indexOf(t))t=De(i,t,e,n,r),ke.push(t);else if(!Ne(i,t,e,n,r)){Be(t,r),t=be(t,r,null,e);try{G(xe,t)}finally{me(t)}}}}function cn(t,e,n,r){if(n=ge(r),n=zn(n),null!==n){var i=oe(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(n=ae(i),null!==n)return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}t=be(t,r,n,e);try{G(xe,t)}finally{me(t)}return null}var ln={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},un=["Webkit","ms","Moz","O"];function hn(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||ln.hasOwnProperty(t)&&ln[t]?(""+e).trim():e+"px"}function fn(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=hn(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(ln).forEach(function(t){un.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ln[e]=ln[t]})});var pn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dn(t,e){if(e){if(pn[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if(!("object"===typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62,""))}}function gn(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yn=zt.html;function vn(t,e){t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument;var n=ie(t);e=k[e];for(var r=0;r<e.length;r++)Oe(e[r],t,n)}function mn(){}function bn(t){if(t=t||("undefined"!==typeof document?document:void 0),"undefined"===typeof t)return null;try{return t.activeElement||t.body}catch(e){return t.body}}function xn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function On(t,e){var n,r=xn(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&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 wn(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?wn(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function jn(){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 Cn(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="$",kn="/$",Mn="$?",_n="$!",An=null,Tn=null;function En(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Pn(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,In="function"===typeof clearTimeout?clearTimeout:void 0;function Fn(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===_n||n===Mn){if(0===e)return t;e--}else n===kn&&e++}t=t.previousSibling}return null}var Bn=Math.random().toString(36).slice(2),Rn="__reactInternalInstance$"+Bn,Nn="__reactEventHandlers$"+Bn,Yn="__reactContainere$"+Bn;function zn(t){var e=t[Rn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Yn]||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[Yn],!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 Xn(t){return t[Nn]||null}function Wn(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Hn(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=Hn(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=Wn(e);for(e=n.length;0<e--;)Un(n[e],"captured",t);for(e=0;e<n.length;e++)Un(n[e],"bubbled",t)}}function Zn(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=Hn(t,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ue(n._dispatchListeners,e),n._dispatchInstances=ue(n._dispatchInstances,t))}function Kn(t){t&&t.dispatchConfig.registrationName&&Zn(t._targetInst,null,t)}function Qn(t){he(t,qn)}var $n=null,Jn=null,tr=null;function er(){if(tr)return tr;var t,e,n=Jn,r=n.length,i="value"in $n?$n.value:$n.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return tr=i.slice(t,1<e?1-e:void 0)}function nr(){return!0}function rr(){return!1}function ir(t,e,n,r){for(var i in this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n,t=this.constructor.Interface,t)t.hasOwnProperty(i)&&((e=t[i])?this[i]=e(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?nr:rr,this.isPropagationStopped=rr,this}function or(t,e,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,t,e,n,r),i}return new this(t,e,n,r)}function ar(t){if(!(t instanceof this))throw Error(a(279));t.destructor(),10>this.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=_&&"CompositionEvent"in window,fr=null;_&&"documentMode"in document&&(fr=document.documentMode);var pr=_&&"TextEvent"in window&&!fr,dr=_&&(!hr||fr&&8<fr&&11>=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 wr(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<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return dr&&"ko"!==e.locale?null:e.data;default:return null}}var jr={eventTypes:yr,extractEvents:function(t,e,n,r){var i;if(hr)t:{switch(t){case"compositionstart":var o=yr.compositionStart;break t;case"compositionend":o=yr.compositionEnd;break t;case"compositionupdate":o=yr.compositionUpdate;break t}o=void 0}else xr?mr(t,n)&&(o=yr.compositionEnd):"keydown"===t&&229===n.keyCode&&(o=yr.compositionStart);return o?(dr&&"ko"!==n.locale&&(xr||o!==yr.compositionStart?o===yr.compositionEnd&&xr&&(i=er()):($n=r,Jn="value"in $n?$n.value:$n.textContent,xr=!0)),o=cr.getPooled(o,e,n,r),i?o.data=i:(i=br(n),null!==i&&(o.data=i)),Qn(o),i=o):i=null,(t=pr?Or(t,n):wr(t,n))?(e=lr.getPooled(yr.beforeInput,e,n,r),e.data=t,Qn(e)):e=null,null===i?e:null===e?i:[i,e]}},Cr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Cr[t.type]:"textarea"===e}var kr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Mr(t,e,n){return t=ir.getPooled(kr.change,t,e,n),t.type="change",L(n),Qn(t),t}var _r=null,Ar=null;function Tr(t){de(t)}function Er(t){var e=Vn(t);if(Mt(e))return t}function Pr(t,e){if("change"===t)return e}var Lr=!1;function Ir(){_r&&(_r.detachEvent("onpropertychange",Fr),Ar=_r=null)}function Fr(t){if("value"===t.propertyName&&Er(Ar))if(t=Mr(Ar,t,ge(t)),N)de(t);else{N=!0;try{F(Tr,t)}finally{N=!1,z()}}}function Dr(t,e,n){"focus"===t?(Ir(),_r=e,Ar=n,_r.attachEvent("onpropertychange",Fr)):"blur"===t&&Ir()}function Br(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Er(Ar)}function Rr(t,e){if("click"===t)return Er(e)}function Nr(t,e){if("input"===t||"change"===t)return Er(e)}_&&(Lr=ye("input")&&(!document.documentMode||9<document.documentMode));var Yr={eventTypes:kr,_isInputEventSupported:Lr,extractEvents:function(t,e,n,r){var i=e?Vn(e):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=Pr;else if(Sr(i))if(Lr)a=Nr;else{a=Br;var s=Dr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Rr);if(a&&(a=a(t,e)))return Mr(a,n,r);s&&s(t,i,e),"blur"===t&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Lt(i,"number",i.value)}},zr=ir.extend({view:null,detail:null}),Gr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vr(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=Gr[t])&&!!e[t]}function Xr(){return Vr}var Wr=0,Hr=0,Ur=!1,qr=!1,Zr=zr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Xr,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=Wr;return Wr=t.screenX,Ur?"mousemove"===t.type?t.screenX-e:0:(Ur=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=Hr;return Hr=t.screenY,qr?"mousemove"===t.type?t.screenY-e:0:(qr=!0,0)}}),Kr=Zr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Qr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},$r={eventTypes:Qr,extractEvents:function(t,e,n,r,i){var o="mouseover"===t||"pointerover"===t,a="mouseout"===t||"pointerout"===t;if(o&&0===(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a){if(a=e,e=(e=n.relatedTarget||n.toElement)?zn(e):null,null!==e){var s=oe(e);(e!==s||5!==e.tag&&6!==e.tag)&&(e=null)}}else a=null;if(a===e)return null;if("mouseout"===t||"mouseover"===t)var c=Zr,l=Qr.mouseLeave,u=Qr.mouseEnter,h="mouse";else"pointerout"!==t&&"pointerover"!==t||(c=Kr,l=Qr.pointerLeave,u=Qr.pointerEnter,h="pointer");if(t=null==a?o:Vn(a),o=null==e?o:Vn(e),l=c.getPooled(l,a,n,r),l.type=h+"leave",l.target=t,l.relatedTarget=o,n=c.getPooled(u,e,n,r),n.type=h+"enter",n.target=o,n.relatedTarget=t,r=a,h=e,r&&h)t:{for(c=r,u=h,a=0,t=c;t;t=Wn(t))a++;for(t=0,e=u;e;e=Wn(e))t++;for(;0<a-t;)c=Wn(c),a--;for(;0<t-a;)u=Wn(u),t--;for(;a--;){if(c===u||c===u.alternate)break t;c=Wn(c),u=Wn(u)}c=null}else c=null;for(u=c,c=[];r&&r!==u;){if(a=r.alternate,null!==a&&a===u)break;c.push(r),r=Wn(r)}for(r=[];h&&h!==u;){if(a=h.alternate,null!==a&&a===u)break;r.push(h),h=Wn(h)}for(h=0;h<c.length;h++)Zn(c[h],"bubbled",l);for(h=r.length;0<h--;)Zn(r[h],"captured",n);return 0===(64&i)?[l]:[l,n]}};function Jr(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e}var ti="function"===typeof Object.is?Object.is:Jr,ei=Object.prototype.hasOwnProperty;function ni(t,e){if(ti(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!ei.call(e,n[r])||!ti(t[n[r]],e[n[r]]))return!1;return!0}var ri=_&&"documentMode"in document&&11>=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&&Cn(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=k.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break t}i=!0}o=!i}if(o)return null;switch(i=e?Vn(e):window,t){case"focus":(Sr(i)||"true"===i.contentEditable)&&(oi=i,ai=e,si=null);break;case"blur":si=ai=oi=null;break;case"mousedown":ci=!0;break;case"contextmenu":case"mouseup":case"dragend":return ci=!1,li(n,r);case"selectionchange":if(ri)break;case"keydown":case"keyup":return li(n,r)}return null}},hi=ir.extend({animationName:null,elapsedTime:null,pseudoElement:null}),fi=ir.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),pi=zr.extend({relatedTarget:null});function di(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,0===t&&13===e&&(t=13)):t=e,10===t&&(t=13),32<=t||13===t?t:0}var gi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},vi=zr.extend({key:function(t){if(t.key){var e=gi[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?(t=di(t),13===t?"Enter":String.fromCharCode(t)):"keydown"===t.type||"keyup"===t.type?yi[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Xr,charCode:function(t){return"keypress"===t.type?di(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?di(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),mi=Zr.extend({dataTransfer:null}),bi=zr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Xr}),xi=ir.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Oi=Zr.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),wi={eventTypes:He,extractEvents:function(t,e,n,r){var i=Ue.get(t);if(!i)return null;switch(t){case"keypress":if(0===di(n))return null;case"keydown":case"keyup":t=vi;break;case"blur":case"focus":t=pi;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":t=Zr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":t=mi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":t=bi;break;case $t:case Jt:case te:t=hi;break;case ee:t=xi;break;case"scroll":t=zr;break;case"wheel":t=Oi;break;case"copy":case"cut":case"paste":t=fi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":t=Kr;break;default:t=ir}return e=t.getPooled(i,e,n,r),Qn(e),e}};if(b)throw Error(a(101));b=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),O();var ji=Gn;g=Xn,y=ji,v=Vn,M({SimpleEventPlugin:wi,EnterLeaveEventPlugin:$r,ChangeEventPlugin:Yr,SelectEventPlugin:ui,BeforeInputEventPlugin:jr});var Ci=[],Si=-1;function ki(t){0>Si||(t.current=Ci[Si],Ci[Si]=null,Si--)}function Mi(t,e){Si++,Ci[Si]=t.current,t.current=e}var _i={},Ai={current:_i},Ti={current:!1},Ei=_i;function Pi(t,e){var n=t.type.contextTypes;if(!n)return _i;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 Ii(){ki(Ti),ki(Ai)}function Fi(t,e,n){if(Ai.current!==_i)throw Error(a(168));Mi(Ai,e),Mi(Ti,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||_i,Ei=Ai.current,Mi(Ai,t),Mi(Ti,Ti.current),!0}function Ri(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Di(t,e,Ei),r.__reactInternalMemoizedMergedChildContext=t,ki(Ti),ki(Ai),Mi(Ai,t)):ki(Ti),Mi(Ti,n)}var Ni=o.unstable_runWithPriority,Yi=o.unstable_scheduleCallback,zi=o.unstable_cancelCallback,Gi=o.unstable_requestPaint,Vi=o.unstable_now,Xi=o.unstable_getCurrentPriorityLevel,Wi=o.unstable_ImmediatePriority,Hi=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(Xi()){case Wi:return 99;case Hi: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 Wi;case 98:return Hi;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),Yi(t,e,n)}function co(t){return null===Ji?(Ji=[t],to=Yi(Wi,uo)):Ji.push(t),Ki}function lo(){if(null!==to){var t=to;to=null,zi(t)}uo()}function uo(){if(!eo&&null!==Ji){eo=!0;var t=0;try{var e=Ji;ao(99,function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}}),Ji=null}catch(e){throw null!==Ji&&(Ji=Ji.slice(t+1)),Yi(Wi,lo),e}finally{eo=!1}}}function ho(t,e,n){return n/=10,1073741821-(1+((1073741821-t+e/10)/n|0))*n}function fo(t,e){if(t&&t.defaultProps)for(var n in e=i({},e),t=t.defaultProps,t)void 0===e[n]&&(e[n]=t[n]);return e}var po={current:null},go=null,yo=null,vo=null;function mo(){vo=yo=go=null}function bo(t){var e=po.current;ki(po),t.type._context._currentValue=e}function xo(t,e){for(;null!==t;){var n=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e);else{if(!(null!==n&&n.childExpirationTime<e))break;n.childExpirationTime=e}t=t.return}}function Oo(t,e){go=t,vo=yo=null,t=t.dependencies,null!==t&&null!==t.firstContext&&(t.expirationTime>=e&&(qa=!0),t.firstContext=null)}function wo(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 jo=!1;function Co(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 ko(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 _o(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 Ao(t,e,n,r){var o=t.updateQueue;jo=!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,s<r){var g={expirationTime:d.expirationTime,suspenseConfig:d.suspenseConfig,tag:d.tag,payload:d.payload,callback:d.callback,next:null};null===p?(f=p=g,h=l):p=p.next=g,s>u&&(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:jo=!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 To(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(a(191,r));r.call(i)}}}var Eo=tt.ReactCurrentBatchConfig,Po=(new r.Component).refs;function Lo(t,e,n,r){e=t.memoizedState,n=n(r,e),n=null===n||void 0===n?e:i({},e,n),t.memoizedState=n,0===t.expirationTime&&(t.updateQueue.baseState=n)}var Io={isMounted:function(t){return!!(t=t._reactInternalFiber)&&oe(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=wc(),i=Eo.suspense;r=jc(r,t,i),i=ko(r,i),i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Mo(t,i),Cc(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=wc(),i=Eo.suspense;r=jc(r,t,i),i=ko(r,i),i.tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Mo(t,i),Cc(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=wc(),r=Eo.suspense;n=jc(n,t,r),r=ko(n,r),r.tag=2,void 0!==e&&null!==e&&(r.callback=e),Mo(t,r),Cc(t,n)}};function Fo(t,e,n,r,i,o,a){return t=t.stateNode,"function"===typeof t.shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!ni(n,r)||!ni(i,o))}function Do(t,e,n){var r=!1,i=_i,o=e.contextType;return"object"===typeof o&&null!==o?o=wo(o):(i=Li(e)?Ei:Ai.current,r=e.contextTypes,o=(r=null!==r&&void 0!==r)?Pi(t,i):_i),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=Io,t.stateNode=e,e._reactInternalFiber=t,r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function Bo(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Io.enqueueReplaceState(e,e.state,null)}function Ro(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=Po,Co(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=wo(o):(o=Li(e)?Ei:Ai.current,i.context=Pi(t,o)),Ao(t,n,i,r),i.state=t.memoizedState,o=e.getDerivedStateFromProps,"function"===typeof o&&(Lo(t,e,o,n),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&Io.enqueueReplaceState(i,i.state,null),Ao(t,n,i,r),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.effectTag|=4)}var No=Array.isArray;function Yo(t,e,n){if(t=n.ref,null!==t&&"function"!==typeof t&&"object"!==typeof t){if(n._owner){if(n=n._owner,n){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:(e=function(t){var e=r.refs;e===Po&&(e=r.refs={}),null===t?delete e[i]:e[i]=t},e._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function zo(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function Go(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return t=ol(t,e),t.index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?(r=e.alternate,null!==r?(r=r.index,r<n?(e.effectTag=2,n):r):(e.effectTag=2,n)):n}function s(e){return t&&null===e.alternate&&(e.effectTag=2),e}function c(t,e,n,r){return null===e||6!==e.tag?(e=cl(n,t.mode,r),e.return=t,e):(e=i(e,n),e.return=t,e)}function l(t,e,n,r){return null!==e&&e.elementType===n.type?(r=i(e,n.props),r.ref=Yo(t,e,n),r.return=t,r):(r=al(n.type,n.key,n.props,null,t.mode,r),r.ref=Yo(t,e,n),r.return=t,r)}function u(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?(e=ll(n,t.mode,r),e.return=t,e):(e=i(e,n.children||[]),e.return=t,e)}function h(t,e,n,r,o){return null===e||7!==e.tag?(e=sl(n,t.mode,r,o),e.return=t,e):(e=i(e,n),e.return=t,e)}function f(t,e,n){if("string"===typeof e||"number"===typeof e)return e=cl(""+e,t.mode,n),e.return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case it:return n=al(e.type,e.key,e.props,null,t.mode,n),n.ref=Yo(t,null,e),n.return=t,n;case ot:return e=ll(e,t.mode,n),e.return=t,e}if(No(e)||bt(e))return e=sl(e,t.mode,n,null),e.return=t,e;zo(t,e)}return null}function p(t,e,n,r){var i=null!==e?e.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:c(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case it:return n.key===i?n.type===at?h(t,e,n.props.children,r,i):l(t,e,n,r):null;case ot:return n.key===i?u(t,e,n,r):null}if(No(n)||bt(n))return null!==i?null:h(t,e,n,r,null);zo(t,n)}return null}function d(t,e,n,r,i){if("string"===typeof r||"number"===typeof r)return t=t.get(n)||null,c(e,t,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case it:return t=t.get(null===r.key?n:r.key)||null,r.type===at?h(e,t,r.props.children,i,r.key):l(e,t,r,i);case ot:return t=t.get(null===r.key?n:r.key)||null,u(e,t,r,i)}if(No(r)||bt(r))return t=t.get(n)||null,h(e,t,r,i,null);zo(e,r)}return null}function g(i,a,s,c){for(var l=null,u=null,h=a,g=a=0,y=null;null!==h&&g<s.length;g++){h.index>g?(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(;g<s.length;g++)h=f(i,s[g],c),null!==h&&(a=o(h,a,g),null===u?l=h:u.sibling=h,u=h);return l}for(h=r(i,h);g<s.length;g++)y=d(h,i,g,s[g],c),null!==y&&(t&&null!==y.alternate&&h.delete(null===y.key?g:y.key),a=o(y,a,g),null===u?l=y:u.sibling=y,u=y);return t&&h.forEach(function(t){return e(i,t)}),l}function y(i,s,c,l){var u=bt(c);if("function"!==typeof u)throw Error(a(150));if(c=u.call(c),null==c)throw Error(a(151));for(var h=u=null,g=s,y=s=0,v=null,m=c.next();null!==g&&!m.done;y++,m=c.next()){g.index>y?(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=Yo(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=Yo(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&&zo(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),Xo=Go(!1),Wo={},Ho={current:Wo},Uo={current:Wo},qo={current:Wo};function Zo(t){if(t===Wo)throw Error(a(174));return t}function Ko(t,e){switch(Mi(qo,e),Mi(Uo,t),Mi(Ho,Wo),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)}ki(Ho),Mi(Ho,e)}function Qo(){ki(Ho),ki(Uo),ki(qo)}function $o(t){Zo(qo.current);var e=Zo(Ho.current),n=Vt(e,t.type);e!==n&&(Mi(Uo,t),Mi(Ho,n))}function Jo(t){Uo.current===t&&(ki(Ho),ki(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===_n))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;n<e.length&&n<t.length;n++)if(!ti(t[n],e[n]))return!1;return!0}function fa(t,e,n,r,i,o){if(oa=o,aa=e,e.memoizedState=null,e.updateQueue=null,e.expirationTime=0,ra.current=null===t||null===t.memoizedState?Fa:Da,t=n(r,i),e.expirationTime===oa){o=0;do{if(e.expirationTime=0,!(25>o))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=Ia,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(u<oa){var h={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===c?(s=c=h,o=r):c=c.next=h,u>aa.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 wa(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 ja(t,e){return Oa(516,4,t,e)}function Ca(t,e){return wa(516,4,t,e)}function Sa(t,e){return wa(4,2,t,e)}function ka(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,wa(4,2,ka.bind(null,e,t),n)}function _a(){}function Aa(t,e){return pa().memoizedState=[t,void 0===e?null:e],t}function Ta(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 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]:(t=t(),n.memoizedState=[t,e],t)}function Pa(t,e,n){var r=io();ao(98>r?98:r,function(){t(!0)}),ao(97<r?97:r,function(){var r=ia.suspense;ia.suspense=void 0===e?null:e;try{t(!1),n()}finally{ia.suspense=r}})}function La(t,e,n){var r=wc(),i=Eo.suspense;r=jc(r,t,i),i={expirationTime:r,suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=e.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),e.pending=i,o=t.alternate,t===aa||null!==o&&o===aa)la=!0,i.expirationTime=oa,aa.expirationTime=oa;else{if(0===t.expirationTime&&(null===o||0===o.expirationTime)&&(o=e.lastRenderedReducer,null!==o))try{var a=e.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,ti(s,a))return}catch(t){}Cc(t,r)}}var Ia={readContext:wo,useCallback:ua,useContext:ua,useEffect:ua,useImperativeHandle:ua,useLayoutEffect:ua,useMemo:ua,useReducer:ua,useRef:ua,useState:ua,useDebugValue:ua,useResponder:ua,useDeferredValue:ua,useTransition:ua},Fa={readContext:wo,useCallback:Aa,useContext:wo,useEffect:ja,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,Oa(4,2,ka.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Oa(4,2,t,e)},useMemo:function(t,e){var n=pa();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=pa();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},t=t.dispatch=La.bind(null,aa,t),[r.memoizedState,t]},useRef:function(t){var e=pa();return t={current:t},e.memoizedState=t},useState:ma,useDebugValue:_a,useResponder:na,useDeferredValue:function(t,e){var n=ma(t),r=n[0],i=n[1];return ja(function(){var n=ia.suspense;ia.suspense=void 0===e?null:e;try{i(t)}finally{ia.suspense=n}},[t,e]),r},useTransition:function(t){var e=ma(!1),n=e[0];return e=e[1],[Aa(Pa.bind(null,e,t),[e,t]),n]}},Da={readContext:wo,useCallback:Ta,useContext:wo,useEffect:Ca,useImperativeHandle:Ma,useLayoutEffect:Sa,useMemo:Ea,useReducer:ya,useRef:xa,useState:function(){return ya(ga)},useDebugValue:_a,useResponder:na,useDeferredValue:function(t,e){var n=ya(ga),r=n[0],i=n[1];return Ca(function(){var n=ia.suspense;ia.suspense=void 0===e?null:e;try{i(t)}finally{ia.suspense=n}},[t,e]),r},useTransition:function(t){var e=ya(ga),n=e[0];return e=e[1],[Ta(Pa.bind(null,e,t),[e,t]),n]}},Ba={readContext:wo,useCallback:Ta,useContext:wo,useEffect:Ca,useImperativeHandle:Ma,useLayoutEffect:Sa,useMemo:Ea,useReducer:va,useRef:xa,useState:function(){return va(ga)},useDebugValue:_a,useResponder:na,useDeferredValue:function(t,e){var n=va(ga),r=n[0],i=n[1];return Ca(function(){var n=ia.suspense;ia.suspense=void 0===e?null:e;try{i(t)}finally{ia.suspense=n}},[t,e]),r},useTransition:function(t){var e=va(ga),n=e[0];return e=e[1],[Ta(Pa.bind(null,e,t),[e,t]),n]}},Ra=null,Na=null,Ya=!1;function za(t,e){var n=nl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Ga(t,e){switch(t.tag){case 5:var n=t.type;return e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,null!==e&&(t.stateNode=e,!0);case 6:return e=""===t.pendingProps||3!==e.nodeType?null:e,null!==e&&(t.stateNode=e,!0);case 13:return!1;default:return!1}}function Va(t){if(Ya){var e=Na;if(e){var n=e;if(!Ga(t,e)){if(e=Fn(n.nextSibling),!e||!Ga(t,e))return t.effectTag=-1025&t.effectTag|2,Ya=!1,void(Ra=t);za(Ra,n)}Ra=t,Na=Fn(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,Ya=!1,Ra=t}}function Xa(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;Ra=t}function Wa(t){if(t!==Ra)return!1;if(!Ya)return Xa(t),Ya=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Pn(e,t.memoizedProps))for(e=Na;e;)za(t,e),e=Fn(e.nextSibling);if(Xa(t),13===t.tag){if(t=t.memoizedState,t=null!==t?t.dehydrated:null,!t)throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if(n===kn){if(0===e){Na=Fn(t.nextSibling);break t}e--}else n!==Sn&&n!==_n&&n!==Mn||e++}t=t.nextSibling}Na=null}}else Na=Ra?Fn(t.stateNode.nextSibling):null;return!0}function Ha(){Na=Ra=null,Ya=!1}var Ua=tt.ReactCurrentOwner,qa=!1;function Za(t,e,n,r){e.child=null===t?Xo(e,null,n,r):Vo(e,t.child,n,r)}function Ka(t,e,n,r,i){n=n.render;var o=e.ref;return Oo(e,i),r=fa(t,e,n,r,o,i),null===t||qa?(e.effectTag|=1,Za(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),ps(t,e,i))}function Qa(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!==typeof a||rl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(t=al(n.type,null,r,null,e.mode,o),t.ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,$a(t,e,a,r,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,n=n.compare,n=null!==n?n:ni,n(i,r)&&t.ref===e.ref)?ps(t,e,o):(e.effectTag|=1,t=ol(a,r),t.ref=e.ref,t.return=e,e.child=t)}function $a(t,e,n,r,i,o){return null!==t&&ni(t.memoizedProps,r)&&t.ref===e.ref&&(qa=!1,i<o)?(e.expirationTime=t.expirationTime,ps(t,e,o)):ts(t,e,n,r,o)}function Ja(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.effectTag|=128)}function ts(t,e,n,r,i){var o=Li(n)?Ei:Ai.current;return o=Pi(e,o),Oo(e,i),n=fa(t,e,n,r,o,i),null===t||qa?(e.effectTag|=1,Za(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),ps(t,e,i))}function es(t,e,n,r,i){if(Li(n)){var o=!0;Bi(e)}else o=!1;if(Oo(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),Do(e,n,r),Ro(e,n,r,i),r=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"===typeof l&&null!==l?l=wo(l):(l=Li(n)?Ei:Ai.current,l=Pi(e,l));var u=n.getDerivedStateFromProps,h="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;h||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||c!==l)&&Bo(e,a,r,l),jo=!1;var f=e.memoizedState;a.state=f,Ao(e,r,a,i),c=e.memoizedState,s!==r||f!==c||Ti.current||jo?("function"===typeof u&&(Lo(e,n,u,r),c=e.memoizedState),(s=jo||Fo(e,n,s,r,f,c,l))?(h||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.effectTag|=4)):("function"===typeof a.componentDidMount&&(e.effectTag|=4),e.memoizedProps=r,e.memoizedState=c),a.props=r,a.state=c,a.context=l,r=s):("function"===typeof a.componentDidMount&&(e.effectTag|=4),r=!1)}else a=e.stateNode,So(t,e),s=e.memoizedProps,a.props=e.type===e.elementType?s:fo(e.type,s),c=a.context,l=n.contextType,"object"===typeof l&&null!==l?l=wo(l):(l=Li(n)?Ei:Ai.current,l=Pi(e,l)),u=n.getDerivedStateFromProps,(h="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||c!==l)&&Bo(e,a,r,l),jo=!1,c=e.memoizedState,a.state=c,Ao(e,r,a,i),f=e.memoizedState,s!==r||c!==f||Ti.current||jo?("function"===typeof u&&(Lo(e,n,u,r),f=e.memoizedState),(u=jo||Fo(e,n,s,r,c,f,l))?(h||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof a.componentDidUpdate&&(e.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),e.memoizedProps=r,e.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),r=!1);return ns(t,e,n,r,o,i)}function ns(t,e,n,r,i,o){Ja(t,e);var a=0!==(64&e.effectTag);if(!r&&!a)return i&&Ri(e,n,!1),ps(t,e,o);r=e.stateNode,Ua.current=e;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.effectTag|=1,null!==t&&a?(e.child=Vo(e,t.child,null,o),e.child=Vo(e,null,s,o)):Za(t,e,s,o),e.memoizedState=r.state,i&&Ri(e,n,!0),e.child}function rs(t){var e=t.stateNode;e.pendingContext?Fi(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Fi(t,e.context,!1),Ko(t,e.containerInfo)}var is,os,as,ss,cs={dehydrated:null,retryTime:0};function ls(t,e,n){var r,i=e.mode,o=e.pendingProps,a=ta.current,s=!1;if((r=0!==(64&e.effectTag))||(r=0!==(2&a)&&(null===t||null!==t.memoizedState)),r?(s=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),Mi(ta,1&a),null===t){if(void 0!==o.fallback&&Va(e),s){if(s=o.fallback,o=sl(null,i,0,null),o.return=e,0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return n=sl(s,i,n,null),n.return=e,o.sibling=n,e.memoizedState=cs,e.child=o,n}return i=o.children,e.memoizedState=null,e.child=Xo(e,null,i,n)}if(null!==t.memoizedState){if(t=t.child,i=t.sibling,s){if(o=o.fallback,n=ol(t,t.pendingProps),n.return=e,0===(2&e.mode)&&(s=null!==e.memoizedState?e.child.child:e.child,s!==t.child))for(n.child=s;null!==s;)s.return=n,s=s.sibling;return i=ol(i,o),i.return=e,n.sibling=i,n.childExpirationTime=0,e.memoizedState=cs,e.child=n,i}return n=Vo(e,t.child,o.children,n),e.memoizedState=null,e.child=n}if(t=t.child,s){if(s=o.fallback,o=sl(null,i,0,null),o.return=e,o.child=t,null!==t&&(t.return=o),0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return n=sl(s,i,n,null),n.return=e,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,e.memoizedState=cs,e.child=o,n}return e.memoizedState=null,e.child=Vo(e,t,o.children,n)}function us(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e),xo(t.return,e)}function hs(t,e,n,r,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function fs(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(Za(t,e,r.children,n),r=ta.current,0!==(2&r))r=1&r|2,e.effectTag|=64;else{if(null!==t&&0!==(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&us(t,n);else if(19===t.tag)us(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Mi(ta,r),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)t=n.alternate,null!==t&&null===ea(t)&&(i=n),n=n.sibling;n=i,null===n?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),hs(e,!1,i,n,o,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(t=i.alternate,null!==t&&null===ea(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}hs(e,!0,n,null,o,e.lastEffect);break;case"together":hs(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function ps(t,e,n){null!==t&&(e.dependencies=t.dependencies);var r=e.expirationTime;if(0!==r&&Bc(r),e.childExpirationTime<n)return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(t=e.child,n=ol(t,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,n=n.sibling=ol(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function ds(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function gs(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Li(e.type)&&Ii(),null;case 3:return Qo(),ki(Ti),ki(Ai),n=e.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==t&&null!==t.child||!Wa(e)||(e.effectTag|=4),os(e),null;case 5:Jo(e),n=Zo(qo.current);var o=e.type;if(null!==t&&null!=e.stateNode)as(t,e,o,r,n),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(a(166));return null}if(t=Zo(Ho.current),Wa(e)){r=e.stateNode,o=e.type;var s=e.memoizedProps;switch(r[Rn]=e,r[Nn]=s,o){case"iframe":case"object":case"embed":nn("load",r);break;case"video":case"audio":for(t=0;t<ne.length;t++)nn(ne[t],r);break;case"source":nn("error",r);break;case"img":case"image":case"link":nn("error",r),nn("load",r);break;case"form":nn("reset",r),nn("submit",r);break;case"details":nn("toggle",r);break;case"input":At(r,s),nn("invalid",r),vn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},nn("invalid",r),vn(n,"onChange");break;case"textarea":Rt(r,s),nn("invalid",r),vn(n,"onChange")}for(var c in dn(o,s),t=null,s)if(s.hasOwnProperty(c)){var l=s[c];"children"===c?"string"===typeof l?r.textContent!==l&&(t=["children",l]):"number"===typeof l&&r.textContent!==""+l&&(t=["children",""+l]):S.hasOwnProperty(c)&&null!=l&&vn(n,c)}switch(o){case"input":kt(r),Pt(r,s,!0);break;case"textarea":kt(r),Yt(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=mn)}n=t,e.updateQueue=n,null!==n&&(e.effectTag|=4)}else{switch(c=9===n.nodeType?n:n.ownerDocument,t===yn&&(t=Gt(o)),t===yn?"script"===o?(t=c.createElement("div"),t.innerHTML="<script><\/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;l<ne.length;l++)nn(ne[l],t);l=r;break;case"source":nn("error",t),l=r;break;case"img":case"image":case"link":nn("error",t),nn("load",t),l=r;break;case"form":nn("reset",t),nn("submit",t),l=r;break;case"details":nn("toggle",t),l=r;break;case"input":At(t,r),l=_t(t,r),nn("invalid",t),vn(n,"onChange");break;case"option":l=Ft(t,r);break;case"select":t._wrapperState={wasMultiple:!!r.multiple},l=i({},r,{value:void 0}),nn("invalid",t),vn(n,"onChange");break;case"textarea":Rt(t,r),l=Bt(t,r),nn("invalid",t),vn(n,"onChange");break;default:l=r}dn(o,l);var u=l;for(s in u)if(u.hasOwnProperty(s)){var h=u[s];"style"===s?fn(t,h):"dangerouslySetInnerHTML"===s?(h=h?h.__html:void 0,null!=h&&Wt(t,h)):"children"===s?"string"===typeof h?("textarea"!==o||""!==h)&&Ht(t,h):"number"===typeof h&&Ht(t,""+h):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?null!=h&&vn(n,s):null!=h&&et(t,s,h,c))}switch(o){case"input":kt(t),Pt(t,r,!1);break;case"textarea":kt(t),Yt(t);break;case"option":null!=r.value&&t.setAttribute("value",""+jt(r.value));break;case"select":t.multiple=!!r.multiple,n=r.value,null!=n?Dt(t,!!r.multiple,n,!1):null!=r.defaultValue&&Dt(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof l.onClick&&(t.onclick=mn)}En(o,r)&&(e.effectTag|=4)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)ss(t,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(a(166));n=Zo(qo.current),Zo(Ho.current),Wa(e)?(n=e.stateNode,r=e.memoizedProps,n[Rn]=e,n.nodeValue!==r&&(e.effectTag|=4)):(n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r),n[Rn]=e,e.stateNode=n)}return null;case 13:return ki(ta),r=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=n,e):(n=null!==r,r=!1,null===t?void 0!==e.memoizedProps.fallback&&Wa(e):(o=t.memoizedState,r=null!==o,n||null===o||(o=t.child.sibling,null!==o&&(s=e.firstEffect,null!==s?(e.firstEffect=o,o.nextEffect=s):(e.firstEffect=e.lastEffect=o,o.nextEffect=null),o.effectTag=8))),n&&!r&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&ta.current)?nc===Hs&&(nc=Zs):(nc!==Hs&&nc!==Zs||(nc=Ks),0!==sc&&null!==Js&&(fl(Js,ec),pl(Js,sc)))),(n||r)&&(e.effectTag|=4),null);case 4:return Qo(),os(e),null;case 10:return bo(e),null;case 17:return Li(e.type)&&Ii(),null;case 19:if(ki(ta),r=e.memoizedState,null===r)return null;if(o=0!==(64&e.effectTag),s=r.rendering,null===s){if(o)ds(r,!1);else if(nc!==Hs||null!==t&&0!==(64&t.effectTag))for(s=e.child;null!==s;){if(t=ea(s),null!==t){for(e.effectTag|=64,ds(r,!1),o=t.updateQueue,null!==o&&(e.updateQueue=o,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,r=e.child;null!==r;)o=r,s=n,o.effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,t=o.alternate,null===t?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=t.childExpirationTime,o.expirationTime=t.expirationTime,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,s=t.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return Mi(ta,1&ta.current|2),e.child}s=s.sibling}}else{if(!o)if(t=ea(s),null!==t){if(e.effectTag|=64,o=!0,n=t.updateQueue,null!==n&&(e.updateQueue=n,e.effectTag|=4),ds(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return e=e.lastEffect=r.lastEffect,null!==e&&(e.nextEffect=null),null}else 2*ro()-r.renderingStartTime>r.tailExpiration&&1<n&&(e.effectTag|=64,o=!0,ds(r,!1),e.expirationTime=e.childExpirationTime=n-1);r.isBackwards?(s.sibling=e.child,e.child=s):(n=r.last,null!==n?n.sibling=s:e.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=ro()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=ro(),n.sibling=null,e=ta.current,Mi(ta,o?1&e|2:1&e),n):null}throw Error(a(156,e.tag))}function ys(t){switch(t.tag){case 1:Li(t.type)&&Ii();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Qo(),ki(Ti),ki(Ai),e=t.effectTag,0!==(64&e))throw Error(a(285));return t.effectTag=-4097&e|64,t;case 5:return Jo(t),null;case 13:return ki(ta),e=t.effectTag,4096&e?(t.effectTag=-4097&e|64,t):null;case 19:return ki(ta),null;case 4:return Qo(),null;case 10:return bo(t),null;default:return null}}function vs(t,e){return{value:t,source:e,stack:wt(e)}}is=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},os=function(){},as=function(t,e,n,r,o){var a=t.memoizedProps;if(a!==r){var s,c,l=e.stateNode;switch(Zo(Ho.current),t=null,n){case"input":a=_t(l,a),r=_t(l,r),t=[];break;case"option":a=Ft(l,a),r=Ft(l,r),t=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),t=[];break;case"textarea":a=Bt(l,a),r=Bt(l,r),t=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(l.onclick=mn)}for(s in dn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(c in l=a[s],l)l.hasOwnProperty(c)&&(n||(n={}),n[c]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?t||(t=[]):(t=t||[]).push(s,null));for(s in r){var u=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(c in l)!l.hasOwnProperty(c)||u&&u.hasOwnProperty(c)||(n||(n={}),n[c]="");for(c in u)u.hasOwnProperty(c)&&l[c]!==u[c]&&(n||(n={}),n[c]=u[c])}else n||(t||(t=[]),t.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(t=t||[]).push(s,u)):"children"===s?l===u||"string"!==typeof u&&"number"!==typeof u||(t=t||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(S.hasOwnProperty(s)?(null!=u&&vn(o,s),t||l===u||(t=[])):(t=t||[]).push(s,u))}n&&(t=t||[]).push("style",n),o=t,(e.updateQueue=o)&&(e.effectTag|=4)}},ss=function(t,e,n,r){n!==r&&(e.effectTag|=4)};var ms="function"===typeof WeakSet?WeakSet:Set;function bs(t,e){var n=e.source,r=e.stack;null===r&&null!==n&&(r=wt(n)),null!==n&&Ot(n.type),e=e.value,null!==t&&1===t.tag&&Ot(t.type);try{console.error(e)}catch(t){setTimeout(function(){throw t})}}function xs(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Zc(t,e)}}function Os(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(e){Zc(t,e)}else e.current=null}function ws(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.effectTag&&null!==t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e=t.getSnapshotBeforeUpdate(e.elementType===e.type?n:fo(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function js(t,e){if(e=e.updateQueue,e=null!==e?e.lastEffect:null,null!==e){var n=e=e.next;do{if((n.tag&t)===t){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==e)}}function Cs(t,e){if(e=e.updateQueue,e=null!==e?e.lastEffect:null,null!==e){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function Ss(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:return void Cs(3,n);case 1:if(t=n.stateNode,4&n.effectTag)if(null===e)t.componentDidMount();else{var r=n.elementType===n.type?e.memoizedProps:fo(n.type,e.memoizedProps);t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate)}return e=n.updateQueue,void(null!==e&&To(n,e,t));case 3:if(e=n.updateQueue,null!==e){if(t=null,null!==n.child)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}To(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.effectTag&&En(n.type,n.memoizedProps)&&t.focus());case 6:return;case 4:return;case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&We(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function ks(t,e,n){switch("function"===typeof Jc&&Jc(e),e.tag){case 0:case 11:case 14:case 15:case 22:if(t=e.updateQueue,null!==t&&(t=t.lastEffect,null!==t)){var r=t.next;ao(97<n?97:n,function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(t){Zc(i,t)}}t=t.next}while(t!==r)})}break;case 1:Os(e),n=e.stateNode,"function"===typeof n.componentWillUnmount&&xs(e,n);break;case 5:Os(e);break;case 4:Ps(t,e,n)}}function Ms(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==e&&Ms(e)}function _s(t){return 5===t.tag||3===t.tag||4===t.tag}function As(t){t:{for(var e=t.return;null!==e;){if(_s(e)){var n=e;break t}e=e.return}throw Error(a(160))}switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:e=e.containerInfo,r=!0;break;case 4:e=e.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ht(e,""),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||_s(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break t}}r?Ts(t,n,e):Es(t,n,e)}function Ts(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,null!==n&&void 0!==n||null!==e.onclick||(e.onclick=mn));else if(4!==r&&(t=t.child,null!==t))for(Ts(t,e,n),t=t.sibling;null!==t;)Ts(t,e,n),t=t.sibling}function Es(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&(t=t.child,null!==t))for(Es(t,e,n),t=t.sibling;null!==t;)Es(t,e,n),t=t.sibling}function Ps(t,e,n){for(var r,i,o=e,s=!1;;){if(!s){s=o.return;t:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break t;case 3:r=r.containerInfo,i=!0;break t;case 4:r=r.containerInfo,i=!0;break t}s=s.return}s=!0}if(5===o.tag||6===o.tag){t:for(var c=t,l=o,u=n,h=l;;)if(ks(c,h,u),null!==h.child&&4!==h.tag)h.child.return=h,h=h.child;else{if(h===l)break t;for(;null===h.sibling;){if(null===h.return||h.return===l)break t;h=h.return}h.sibling.return=h.return,h=h.sibling}i?(c=r,l=o.stateNode,8===c.nodeType?c.parentNode.removeChild(l):c.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(ks(t,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return,4===o.tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function Ls(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void js(3,e);case 1:return;case 5:var n=e.stateNode;if(null!=n){var r=e.memoizedProps,i=null!==t?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(n[Nn]=r,"input"===t&&"radio"===r.type&&null!=r.name&&Tt(n,r),gn(t,i),e=gn(t,r),i=0;i<o.length;i+=2){var s=o[i],c=o[i+1];"style"===s?fn(n,c):"dangerouslySetInnerHTML"===s?Wt(n,c):"children"===s?Ht(n,c):et(n,s,c,e)}switch(t){case"input":Et(n,r);break;case"textarea":Nt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,t=r.value,null!=t?Dt(n,!!r.multiple,t,!1):e!==!!r.multiple&&(null!=r.defaultValue?Dt(n,!!r.multiple,r.defaultValue,!0):Dt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return e=e.stateNode,void(e.hydrate&&(e.hydrate=!1,We(e.containerInfo)));case 12:return;case 13:if(n=e,null===e.memoizedState?r=!1:(r=!0,n=e.child,lc=ro()),null!==n)t:for(t=n;;){if(5===t.tag)o=t.stateNode,r?(o=o.style,"function"===typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(o=t.stateNode,i=t.memoizedProps.style,i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=hn("display",i));else if(6===t.tag)t.stateNode.nodeValue=r?"":t.memoizedProps;else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){o=t.child.sibling,o.return=t,t=o;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}return void Is(e);case 19:return void Is(e);case 17:return}throw Error(a(163))}function Is(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new ms),e.forEach(function(e){var r=Qc.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))})}}var Fs="function"===typeof WeakMap?WeakMap:Map;function Ds(t,e,n){n=ko(n,null),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){fc||(fc=!0,pc=r),bs(t,e)},n}function Bs(t,e,n){n=ko(n,null),n.tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var i=e.value;n.payload=function(){return bs(t,e),r(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===dc?dc=new Set([this]):dc.add(this),bs(t,e));var n=e.stack;this.componentDidCatch(e.value,{componentStack:null!==n?n:""})}),n}var Rs,Ns=Math.ceil,Ys=tt.ReactCurrentDispatcher,zs=tt.ReactCurrentOwner,Gs=0,Vs=8,Xs=16,Ws=32,Hs=0,Us=1,qs=2,Zs=3,Ks=4,Qs=5,$s=Gs,Js=null,tc=null,ec=0,nc=Hs,rc=null,ic=1073741823,oc=1073741823,ac=null,sc=0,cc=!1,lc=0,uc=500,hc=null,fc=!1,pc=null,dc=null,gc=!1,yc=null,vc=90,mc=null,bc=0,xc=null,Oc=0;function wc(){return($s&(Xs|Ws))!==Gs?1073741821-(ro()/10|0):0!==Oc?Oc:Oc=1073741821-(ro()/10|0)}function jc(t,e,n){if(e=e.mode,0===(2&e))return 1073741823;var r=io();if(0===(4&e))return 99===r?1073741823:1073741822;if(($s&Xs)!==Gs)return ec;if(null!==n)t=ho(t,0|n.timeoutMs||5e3,250);else switch(r){case 99:t=1073741823;break;case 98:t=ho(t,150,100);break;case 97:case 96:t=ho(t,5e3,250);break;case 95:t=2;break;default:throw Error(a(326))}return null!==Js&&t===ec&&--t,t}function Cc(t,e){if(50<bc)throw bc=0,xc=null,Error(a(185));if(t=Sc(t,e),null!==t){var n=io();1073741823===e?($s&Vs)!==Gs&&($s&(Xs|Ws))===Gs?Ac(t):(Mc(t),$s===Gs&&lo()):Mc(t),(4&$s)===Gs||98!==n&&99!==n||(null===mc?mc=new Map([[t,e]]):(n=mc.get(t),(void 0===n||n>e)&&mc.set(t,e)))}}function Sc(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e);var r=t.return,i=null;if(null===r&&3===t.tag)i=t.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<e&&(r.childExpirationTime=e),null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Js===i&&(Bc(e),nc===Ks&&fl(i,ec)),pl(i,e)),i}function kc(t){var e=t.lastExpiredTime;if(0!==e)return e;if(e=t.firstPendingTime,!hl(t,e))return e;var n=t.lastPingedTime;return t=t.nextKnownPendingLevel,t=n>t?n:t,2>=t&&e!==t?0:t}function Mc(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=co(Ac.bind(null,t));else{var e=kc(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=wc();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&&zi(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?co(Ac.bind(null,t)):so(r,_c.bind(null,t),{timeout:10*(1073741821-e)-ro()}),t.callbackNode=e}}}function _c(t,e){if(Oc=0,e)return e=wc(),dl(t,e),Mc(t),null;var n=kc(t);if(0!==n){if(e=t.callbackNode,($s&(Xs|Ws))!==Gs)throw Error(a(327));if(Hc(),t===Js&&n===ec||Lc(t,n),null!==tc){var r=$s;$s|=Xs;var i=Fc();do{try{Nc();break}catch(e){Ic(t,e)}}while(1);if(mo(),$s=r,Ys.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 Hs:case Us:throw Error(a(345));case qs:dl(t,2<n?2:n);break;case Zs:if(fl(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=Gc(i)),1073741823===ic&&(i=lc+uc-ro(),10<i)){if(cc){var o=t.lastPingedTime;if(0===o||o>=n){t.lastPingedTime=n,Lc(t,n);break}}if(o=kc(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=kc(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=n)),10<r){t.timeoutHandle=Ln(Vc.bind(null,t),r);break}Vc(t);break;case Qs:if(1073741823!==ic&&null!==ac){o=ic;var s=ac;if(r=0|s.busyMinDurationMs,0>=r?r=0:(i=0|s.busyDelayMs,o=ro()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)),r=o<=i?0:i+r-o),10<r){fl(t,n),t.timeoutHandle=Ln(Vc.bind(null,t),r);break}}Vc(t);break;default:throw Error(a(329))}if(Mc(t),t.callbackNode===e)return _c.bind(null,t)}}return null}function Ac(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,($s&(Xs|Ws))!==Gs)throw Error(a(327));if(Hc(),t===Js&&e===ec||Lc(t,e),null!==tc){var n=$s;$s|=Xs;var r=Fc();do{try{Rc();break}catch(e){Ic(t,e)}}while(1);if(mo(),$s=n,Ys.current=r,nc===Us)throw n=rc,Lc(t,e),fl(t,e),Mc(t),n;if(null!==tc)throw Error(a(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,Js=null,Vc(t),Mc(t)}return null}function Tc(){if(null!==mc){var t=mc;mc=null,t.forEach(function(t,e){dl(e,t),Mc(e)}),lo()}}function Ec(t,e){var n=$s;$s|=1;try{return t(e)}finally{$s=n,$s===Gs&&lo()}}function Pc(t,e){var n=$s;$s&=-2,$s|=Vs;try{return t(e)}finally{$s=n,$s===Gs&&lo()}}function Lc(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,In(n)),null!==tc)for(n=tc.return;null!==n;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,null!==r&&void 0!==r&&Ii();break;case 3:Qo(),ki(Ti),ki(Ai);break;case 5:Jo(r);break;case 4:Qo();break;case 13:ki(ta);break;case 19:ki(ta);break;case 10:bo(r)}n=n.return}Js=t,tc=ol(t.current,null),ec=e,nc=Hs,rc=null,oc=ic=1073741823,ac=null,sc=0,cc=!1}function Ic(t,e){do{try{if(mo(),ra.current=Ia,la)for(var n=aa.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(oa=0,ca=sa=aa=null,la=!1,null===tc||null===tc.return)return nc=Us,rc=e,tc=null;t:{var i=t,o=tc.return,a=tc,s=e;if(e=ec,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s;if(0===(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var u=0!==(1&ta.current),h=o;do{var f;if(f=13===h.tag){var p=h.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var d=h.memoizedProps;f=void 0!==d.fallback&&(!0!==d.unstable_avoidThisFallback||!u)}}if(f){var g=h.updateQueue;if(null===g){var y=new Set;y.add(c),h.updateQueue=y}else g.add(c);if(0===(2&h.mode)){if(h.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=ko(1073741823,null);v.tag=2,Mo(a,v)}a.expirationTime=1073741823;break t}s=void 0,a=e;var m=i.pingCache;if(null===m?(m=i.pingCache=new Fs,s=new Set,m.set(c,s)):(s=m.get(c),void 0===s&&(s=new Set,m.set(c,s))),!s.has(a)){s.add(a);var b=Kc.bind(null,i,c,a);c.then(b,b)}h.effectTag|=4096,h.expirationTime=e;break t}h=h.return}while(null!==h);s=Error((Ot(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+wt(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);_o(h,x);break t;case 1:c=s;var O=h.type,w=h.stateNode;if(0===(64&h.effectTag)&&("function"===typeof O.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===dc||!dc.has(w)))){h.effectTag|=4096,h.expirationTime=e;var j=Bs(h,c,e);_o(h,j);break t}}h=h.return}while(null!==h)}tc=zc(tc)}catch(t){e=t;continue}break}while(1)}function Fc(){var t=Ys.current;return Ys.current=Ia,null===t?Ia:t}function Dc(t,e){t<ic&&2<t&&(ic=t),null!==e&&t<oc&&2<t&&(oc=t,ac=e)}function Bc(t){t>sc&&(sc=t)}function Rc(){for(;null!==tc;)tc=Yc(tc)}function Nc(){for(;null!==tc&&!Qi();)tc=Yc(tc)}function Yc(t){var e=Rs(t.alternate,t,ec);return t.memoizedProps=t.pendingProps,null===e&&(e=zc(t)),zs.current=null,e}function zc(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),1<tc.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=tc:t.firstEffect=tc,t.lastEffect=tc))}else{if(e=ys(tc),null!==e)return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(e=tc.sibling,null!==e)return e;tc=t}while(null!==tc);return nc===Hs&&(nc=Qs),null}function Gc(t){var e=t.expirationTime;return t=t.childExpirationTime,e>t?e:t}function Vc(t){var e=io();return ao(99,Xc.bind(null,t,e)),null}function Xc(t,e){do{Hc()}while(null!==yc);if(($s&(Xs|Ws))!==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),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=$s;$s|=Ws,zs.current=null,An=en;var s=jn();if(Cn(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else t:{c=(c=s.ownerDocument)&&c.defaultView||window;var l=c.getSelection&&c.getSelection();if(l&&0!==l.rangeCount){c=l.anchorNode;var u=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{c.nodeType,h.nodeType}catch(t){c=null;break t}var f=0,p=-1,d=-1,g=0,y=0,v=s,m=null;e:for(;;){for(var b;;){if(v!==c||0!==u&&3!==v.nodeType||(p=f+u),v!==h||0!==l&&3!==v.nodeType||(d=f+l),3===v.nodeType&&(f+=v.nodeValue.length),null===(b=v.firstChild))break;m=v,v=b}for(;;){if(v===s)break e;if(m===c&&++g===u&&(p=f),m===h&&++y===l&&(d=f),null!==(b=v.nextSibling))break;v=m,m=v.parentNode}v=b}c=-1===p||-1===d?null:{start:p,end:d}}else c=null}c=c||{start:0,end:0}}else c=null;Tn={activeElementDetached:null,focusedElem:s,selectionRange:c},en=!1,hc=i;do{try{Wc()}catch(t){if(null===hc)throw Error(a(330));Zc(hc,t),hc=hc.nextEffect}}while(null!==hc);hc=i;do{try{for(s=t,c=e;null!==hc;){var x=hc.effectTag;if(16&x&&Ht(hc.stateNode,""),128&x){var O=hc.alternate;if(null!==O){var w=O.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&x){case 2:As(hc),hc.effectTag&=-3;break;case 6:As(hc),hc.effectTag&=-3,Ls(hc.alternate,hc);break;case 1024:hc.effectTag&=-1025;break;case 1028:hc.effectTag&=-1025,Ls(hc.alternate,hc);break;case 4:Ls(hc.alternate,hc);break;case 8:u=hc,Ps(s,u,c),Ms(u)}hc=hc.nextEffect}}catch(t){if(null===hc)throw Error(a(330));Zc(hc,t),hc=hc.nextEffect}}while(null!==hc);if(w=Tn,O=jn(),x=w.focusedElem,c=w.selectionRange,O!==x&&x&&x.ownerDocument&&wn(x.ownerDocument.documentElement,x)){null!==c&&Cn(x)&&(O=c.start,w=c.end,void 0===w&&(w=O),"selectionStart"in x?(x.selectionStart=O,x.selectionEnd=Math.min(w,x.value.length)):(w=(O=x.ownerDocument||document)&&O.defaultView||window,w.getSelection&&(w=w.getSelection(),u=x.textContent.length,s=Math.min(c.start,u),c=void 0===c.end?s:Math.min(c.end,u),!w.extend&&s>c&&(u=c,c=s,s=u),u=On(x,s),h=On(x,c),u&&h&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==h.node||w.focusOffset!==h.offset)&&(O=O.createRange(),O.setStart(u.node,u.offset),w.removeAllRanges(),s>c?(w.addRange(O),w.extend(h.node,h.offset)):(O.setEnd(h.node,h.offset),w.addRange(O)))))),O=[];for(w=x;w=w.parentNode;)1===w.nodeType&&O.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<O.length;x++)w=O[x],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}en=!!An,Tn=An=null,t.current=n,hc=i;do{try{for(x=t;null!==hc;){var j=hc.effectTag;if(36&j&&Ss(x,hc.alternate,hc),128&j){O=void 0;var C=hc.ref;if(null!==C){var S=hc.stateNode;switch(hc.tag){case 5:O=S;break;default:O=S}"function"===typeof C?C(O):C.current=O}}hc=hc.nextEffect}}catch(t){if(null===hc)throw Error(a(330));Zc(hc,t),hc=hc.nextEffect}}while(null!==hc);hc=null,$i(),$s=o}else t.current=n;if(gc)gc=!1,yc=t,vc=e;else for(hc=i;null!==hc;)e=hc.nextEffect,hc.nextEffect=null,hc=e;if(e=t.firstPendingTime,0===e&&(dc=null),1073741823===e?t===xc?bc++:(bc=0,xc=t):bc=0,"function"===typeof $c&&$c(n.stateNode,r),Mc(t),fc)throw fc=!1,t=pc,pc=null,t;return($s&Vs)!==Gs?null:(lo(),null)}function Wc(){for(;null!==hc;){var t=hc.effectTag;0!==(256&t)&&ws(hc.alternate,hc),0===(512&t)||gc||(gc=!0,so(97,function(){return Hc(),null})),hc=hc.nextEffect}}function Hc(){if(90!==vc){var t=97<vc?97:vc;return vc=90,ao(t,Uc)}}function Uc(){if(null===yc)return!1;var t=yc;if(yc=null,($s&(Xs|Ws))!==Gs)throw Error(a(331));var e=$s;for($s|=Ws,t=t.current.firstEffect;null!==t;){try{var n=t;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:js(5,n),Cs(5,n)}}catch(e){if(null===t)throw Error(a(330));Zc(t,e)}n=t.nextEffect,t.nextEffect=null,t=n}return $s=e,lo(),!0}function qc(t,e,n){e=vs(n,e),e=Ds(t,e,1073741823),Mo(t,e),t=Sc(t,1073741823),null!==t&&Mc(t)}function Zc(t,e){if(3===t.tag)qc(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){qc(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===dc||!dc.has(r))){t=vs(e,t),t=Bs(n,t,1073741823),Mo(n,t),n=Sc(n,1073741823),null!==n&&Mc(n);break}}n=n.return}}function Kc(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),Js===t&&ec===n?nc===Ks||nc===Zs&&1073741823===ic&&ro()-lc<uc?Lc(t,ec):cc=!0:hl(t,n)&&(e=t.lastPingedTime,0!==e&&e<n||(t.lastPingedTime=n,Mc(t)))}function Qc(t,e){var n=t.stateNode;null!==n&&n.delete(e),e=0,0===e&&(e=wc(),e=jc(e,t,null)),t=Sc(t,e),null!==t&&Mc(t)}Rs=function(t,e,n){var r=e.expirationTime;if(null!==t){var i=e.pendingProps;if(t.memoizedProps!==i||Ti.current)qa=!0;else{if(r<n){switch(qa=!1,e.tag){case 3:rs(e),Ha();break;case 5:if($o(e),4&e.mode&&1!==n&&i.hidden)return e.expirationTime=e.childExpirationTime=1,null;break;case 1:Li(e.type)&&Bi(e);break;case 4:Ko(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value,i=e.type._context,Mi(po,i._currentValue),i._currentValue=r;break;case 13:if(null!==e.memoizedState)return r=e.child.childExpirationTime,0!==r&&r>=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=Pi(e,Ai.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,Co(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&Lo(e,r,s,t),i.updater=Io,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),Ao(e,r,null,n),r=e.memoizedState.element,r===i)Ha(),e=ps(t,e,n);else{if((i=e.stateNode.hydrate)&&(Na=Fn(e.stateNode.containerInfo.firstChild),Ra=e,i=Ya=!0),i)for(n=Xo(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Za(t,e,r,n),Ha();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,Pn(r,i)?s=null:null!==o&&Pn(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&&!Ti.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=ko(n,null),u.tag=2,Mo(c,u)),c.expirationTime<n&&(c.expirationTime=n),u=c.alternate,null!==u&&u.expirationTime<n&&(u.expirationTime=n),xo(c.return,n),l.expirationTime<n&&(l.expirationTime=n);break}u=u.next}}else s=10===c.tag&&c.type===e.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===e){s=null;break}if(c=s.sibling,null!==c){c.return=s.return,s=c;break}s=s.return}c=s}Za(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,o=e.pendingProps,r=o.children,Oo(e,n),i=wo(i,o.unstable_observedBits),r=r(i),e.effectTag|=1,Za(t,e,r,n),e.child;case 14:return i=e.type,o=fo(i,e.pendingProps),o=fo(i.type,o),Qa(t,e,i,o,r,n);case 15:return $a(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),e.tag=1,Li(r)?(t=!0,Bi(e)):t=!1,Oo(e,n),Do(e,r,i),Ro(e,r,i,n),ns(null,e,r,!0,t,n);case 19:return fs(t,e,n)}throw Error(a(156,e.tag))};var $c=null,Jc=null;function tl(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);$c=function(t){try{e.onCommitFiberRoot(n,t,void 0,64===(64&t.current.effectTag))}catch(t){}},Jc=function(t){try{e.onCommitFiberUnmount(n,t)}catch(t){}}}catch(t){}return!0}function el(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function nl(t,e,n,r){return new el(t,e,n,r)}function rl(t){return t=t.prototype,!(!t||!t.isReactComponent)}function il(t){if("function"===typeof t)return rl(t)?1:0;if(void 0!==t&&null!==t){if(t=t.$$typeof,t===ft)return 11;if(t===gt)return 14}return 2}function ol(t,e){var n=t.alternate;return null===n?(n=nl(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=t.childExpirationTime,n.expirationTime=t.expirationTime,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function al(t,e,n,r,i,o){var s=2;if(r=t,"function"===typeof t)rl(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case at:return sl(n.children,i,o,e);case ht:s=8,i|=7;break;case st:s=8,i|=1;break;case ct:return t=nl(12,n,e,8|i),t.elementType=ct,t.type=ct,t.expirationTime=o,t;case pt:return t=nl(13,n,e,i),t.type=pt,t.elementType=pt,t.expirationTime=o,t;case dt:return t=nl(19,n,e,i),t.elementType=dt,t.expirationTime=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case lt:s=10;break t;case ut:s=9;break t;case ft:s=11;break t;case gt:s=14;break t;case yt:s=16,r=null;break t;case vt:s=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return e=nl(s,n,e,i),e.elementType=t,e.type=r,e.expirationTime=o,e}function sl(t,e,n,r){return t=nl(7,t,r,e),t.expirationTime=n,t}function cl(t,e,n){return t=nl(6,t,null,e),t.expirationTime=n,t}function ll(t,e,n){return e=nl(4,null!==t.children?t.children:[],t.key,e),e.expirationTime=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function ul(t,e,n){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function hl(t,e){var n=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==n&&n>=e&&t<=e}function fl(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;n<e&&(t.firstSuspendedTime=e),(r>e||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=wc(),s=Eo.suspense;o=jc(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=_i;return null===e.context?e.context=n:e.pendingContext=n,e=ko(o,s),e.payload={element:t},r=void 0===r?null:r,null!==r&&(e.callback=r),Mo(i,e),Cc(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<e&&(t.retryTime=e)}function ml(t,e){vl(t,e),(t=t.alternate)&&vl(t,e)}function bl(t,e,n){n=null!=n&&!0===n.hydrate;var r=new ul(t,e,n),i=nl(3,null,null,2===e?7:1===e?3:0);r.current=i,i.stateNode=r,Co(i),t[Yn]=r.current,n&&0!==e&&Fe(t,9===t.nodeType?t:t.ownerDocument),this._internalRoot=r}function xl(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Ol(t,e){if(e||(e=t?9===t.nodeType?t.documentElement:t.firstChild:null,e=!(!e||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new bl(t,0,e?{hydrate:!0}:void 0)}function wl(t,e,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var t=yl(a);s.call(t)}}gl(e,a,t,i)}else{if(o=n._reactRootContainer=Ol(n,r),a=o._internalRoot,"function"===typeof i){var c=i;i=function(){var t=yl(a);c.call(t)}}Pc(function(){gl(e,a,t,i)})}return yl(a)}function jl(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ot,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function Cl(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!xl(e))throw Error(a(200));return jl(t,e,null,n)}bl.prototype.render=function(t){gl(t,this._internalRoot,null,null)},bl.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;gl(null,t,null,function(){e[Yn]=null})},we=function(t){if(13===t.tag){var e=ho(wc(),150,100);Cc(t,e),ml(t,e)}},je=function(t){13===t.tag&&(Cc(t,3),ml(t,3))},Ce=function(t){if(13===t.tag){var e=wc();e=jc(e,t,null),Cc(t,e),ml(t,e)}},A=function(t,e,n){switch(e){case"input":if(Et(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=Xn(r);if(!i)throw Error(a(90));Mt(r),Et(r,i)}}}break;case"textarea":Nt(t,n);break;case"select":e=n.value,null!=e&&Dt(t,!!n.multiple,e,!1)}},F=Ec,D=function(t,e,n,r,i){var o=$s;$s|=4;try{return ao(98,t.bind(null,e,n,r,i))}finally{$s=o,$s===Gs&&lo()}},B=function(){($s&(1|Xs|Ws))===Gs&&(Tc(),Hc())},R=function(t,e){var n=$s;$s|=2;try{return t(e)}finally{$s=n,$s===Gs&&lo()}};var Sl={Events:[Gn,Vn,Xn,M,C,Qn,function(t){he(t,Kn)},L,I,sn,de,Hc,{current:!1}]};(function(t){var e=t.findFiberByHostInstance;tl(i({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:tt.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=le(t),null===t?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:zn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sl,e.createPortal=Cl,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternalFiber;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=le(e),t=null===t?null:t.stateNode,t},e.flushSync=function(t,e){if(($s&(Xs|Ws))!==Gs)throw Error(a(187));var n=$s;$s|=1;try{return ao(99,t.bind(null,e))}finally{$s=n,lo()}},e.hydrate=function(t,e,n){if(!xl(e))throw Error(a(200));return wl(null,t,e,!0,n)},e.render=function(t,e,n){if(!xl(e))throw Error(a(200));return wl(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!xl(t))throw Error(a(40));return!!t._reactRootContainer&&(Pc(function(){wl(null,null,t,!1,function(){t._reactRootContainer=null,t[Yn]=null})}),!0)},e.unstable_batchedUpdates=Ec,e.unstable_createPortal=function(t,e){return Cl(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!xl(n))throw Error(a(200));if(null==t||void 0===t._reactInternalFiber)throw Error(a(38));return wl(t,e,n,!1,r)},e.version="16.14.0"},yqCL:function(t,e,n){"use strict";var r,i,o=n("mrSG"),a=n("zJSt"),s=n("YuPD"),c=n("iTfj"),l=n("w02o"),u=n("sqD9"),h=n("4Olw");(function(t){t["Left"]="Left",t["Right"]="Right"})(r||(r={})),function(t){t["Line"]="line",t["Column"]="column"}(i||(i={}));var f="left-axes-view",p="right-axes-view",d={nice:!0,label:{autoHide:!0,autoRotate:!1}},g=Object(o["a"])(Object(o["a"])({},d),{position:"left"}),y=Object(o["a"])(Object(o["a"])({},d),{position:"right",grid:null});function v(t){return Object(c["get"])(t,"geometry")===i.Line}function m(t){return Object(c["get"])(t,"geometry")===i.Column}function b(t,e,n){return m(n)?Object(s["b"])({},{geometry:i.Column,label:n.label&&n.isRange?{content:function(t){var n;return null===(n=t[e])||void 0===n?void 0:n.join("-")}}:void 0},n):Object(o["a"])({geometry:i.Line},n)}function x(t,e,n){var r,i,o=t[0],a=t[1];return Object(c["isArray"])(e)?(n&&console.warn("yAxis should be object."),r={},r[o]=e[0],r[a]=e[1],r):Object(s["b"])((i={},i[o]=void 0,i[a]=void 0,i),e)}function O(t,e){return e===r.Left?!1!==t&&Object(s["b"])({},g,t):e===r.Right?!1!==t&&Object(s["b"])({},y,t):t}var w=n("I5Ac");function j(t){var e=t.view,n=t.geometryOption,r=t.yField,i=t.legend,o=Object(c["get"])(i,"marker"),a=Object(s["c"])(e,v(n)?"line":"interval");if(!n.seriesField){var l=a.getAttribute("color"),u=l.values[0],h=o||(v(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:u}}:{symbol:"square",style:{fill:u}});return[{value:r,name:Object(c["get"])(e,"options.scales."+r+".alias")||r,marker:h,isGeometry:!0,viewId:e.id}]}var f=a.getGroupAttributes();return Object(c["reduce"])(f,function(t,n){var r=Object(w["getLegendItems"])(e,a,n,e.getTheme(),o);return t.concat(r)},[])}var C=n("tKoa");function S(t){var e=t.options,n=t.chart,r=e.geometryOption,i=r.isStack,a=r.color,l=r.seriesField,u=r.groupField,h=r.isGroup,f=["xField","yField"];if(v(r)){Object(C["d"])(Object(s["b"])({},t,{options:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(s["k"])(e,f)),r),{line:{color:r.color,style:r.lineStyle}})})),Object(C["e"])(Object(s["b"])({},t,{options:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(s["k"])(e,f)),r),{point:r.point&&Object(o["a"])({color:a,shape:"circle"},r.point)})}));var p=[];h&&p.push({type:"dodge",dodgeBy:u||l,customOffset:0}),i&&p.push({type:"stack"}),p.length&&Object(c["each"])(n.geometries,function(t){t.adjust(p)})}return m(r)&&Object(C["c"])(Object(s["b"])({},t,{options:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(s["k"])(e,f)),r),{widthRatio:r.columnWidthRatio,interval:Object(o["a"])(Object(o["a"])({},Object(s["k"])(r,["color"])),{style:r.columnStyle})})})),t}function k(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,"yAxis should be object."),geometryOptions:[b(a,l[0],o[0]),b(a,l[1],o[1])],annotations:x(l,n.annotations,"annotations should be object.")}})}function M(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["a"])(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){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 A(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[u[0]],e))(Object(s["b"])({},t,{chart:Object(h["a"])(r,f)})),Object(l["f"])((n={},n[c]=o,n[u[1]]=a[u[1]],n))(Object(s["b"])({},t,{chart:Object(h["a"])(r,p)})),t}function T(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[s[0]],r.Left)),o.axis(a,!1),o.axis(s[1],O(l[s[1]],r.Right)),t}function E(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 P(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 L(t){var e=t.chart,n=t.options,r=n.yField,i=n.annotations;return Object(l["b"])(Object(c["get"])(i,[r[0]]))(Object(s["b"])({},t,{chart:Object(h["a"])(e,f),options:{annotations:Object(c["get"])(i,[r[0]])}})),Object(l["b"])(Object(c["get"])(i,[r[1]]))(Object(s["b"])({},t,{chart:Object(h["a"])(e,p),options:{annotations:Object(c["get"])(i,[r[1]])}})),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 F(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return Object(l["e"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f),options:{yAxis:i[r[0]]}})),Object(l["e"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p),options:{yAxis:i[r[1]]}})),t}function D(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?j({view:l,geometryOption:i[0],yField:o[0],legend:r}):[],n=a[1].length?j({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 B(t){return Object(s["e"])(k,M,A,T,F,E,P,L,l["j"],I,_,D)(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 B}})(a["a"])},"z+1E":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("t0W4"),i=n("iTfj"),o=n("Nzmt"),a=n("D5zP"),s=n("+Oe8"),c=n("+q5a"),l=n("dXVd"),u=n("rYCd"),h=r.__importDefault(n("svfX"));function f(t){for(var e=[],n=function(n){var r=t[n],o=i.find(e,function(t){return t.color===r.color&&t.name===r.name&&t.value===r.value&&t.title===r.title});o||e.push(r)},r=0;r<t.length;r++)n(r);return e}var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){var t=this.view.getOptions().tooltip;return!1!==t},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(n.length){var o=this.getTitle(n),a={x:n[0].x,y:n[0].y};e.emit("tooltip:show",h.default.fromData(e,"tooltip:show",r.__assign({items:n,title:o},t)));var s=this.getTooltipCfg(),c=s.follow,l=s.showMarkers,u=s.showCrosshairs,f=s.showContent,p=s.marker,d=this.items,g=this.title;if(i.isEqual(g,o)&&i.isEqual(d,n)?(this.tooltip&&c&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",h.default.fromData(e,"tooltip:change",r.__assign({items:n,title:o},t))),f&&(this.tooltip||this.renderTooltip(),this.tooltip.update(i.mix({},s,{items:n,title:o},c?t:{})),this.tooltip.show()),l&&this.renderTooltipMarkers(n,p)),this.items=n,this.title=o,u){var y=i.get(s,["crosshairs","follow"],!1);this.renderCrosshairs(y?t:a,s)}}else this.hideTooltip()}},e.prototype.hideTooltip=function(){var t=this.getTooltipCfg().follow;if(t){var e=this.tooltipMarkersGroup;e&&e.hide();var n=this.xCrosshair,r=this.yCrosshair;n&&n.hide(),r&&r.hide();var i=this.tooltip;i&&i.hide(),this.view.emit("tooltip:hide",h.default.fromData(this.view,"tooltip:hide",{})),this.point=null}else this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this,e=t.tooltip,n=t.xCrosshair,r=t.yCrosshair,i=t.tooltipMarkersGroup;e&&(e.hide(),e.clear()),n&&n.clear(),r&&r.clear(),i&&i.clear(),this.reset()},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this,n=e.tooltip,r=e.tooltipMarkersGroup,i=e.xCrosshair,o=e.yCrosshair;t?(n&&n.show(),r&&r.show(),i&&i.show(),o&&o.show()):(n&&n.hide(),r&&r.hide(),i&&i.hide(),o&&o.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){e=i.flatten(e);for(var n=0,r=e;n<r.length;n++)for(var o=r[n],a=0,s=o;a<s.length;a++){var c=s[a],l=c.mappingData,u=l.x,h=l.y;c.x=i.isArray(u)?u[u.length-1]:u,c.y=i.isArray(h)?h[h.length-1]:h}var p=this.getTooltipCfg().shared;if(!1===p&&e.length>1){for(var d=e[0],g=Math.abs(t.y-d[0].y),y=0,v=e;y<v.length;y++){var m=v[y],b=Math.abs(t.y-m[0].y);b<=g&&(d=m,g=b)}e=[d]}return f(i.flatten(e))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var e=this.tooltip.getContainer(),n=this.tooltip.get("capture");if(e&&n){var r=e.getBoundingClientRect(),i=r.x,o=r.y,a=r.width,s=r.height;return new l.BBox(i,o,a,s).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,e=t.getOptions().tooltip,n=this.processCustomContent(e),r=t.getTheme(),o=i.get(r,["components","tooltip"],{}),a=i.get(n,"enterable",o.enterable);return i.deepMix({},o,n,{capture:!(!a&&!this.isLocked)})},e.prototype.processCustomContent=function(t){if(i.isBoolean(t)||!i.get(t,"customContent"))return t;var e=t.customContent,n=function(t,n){var r=e(t,n)||"";return i.isString(r)?'<div class="g2-tooltip">'+r+"</div>":r};return r.__assign(r.__assign({},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(),i=new o.HtmlTooltip(r.__assign(r.__assign({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0,o=t;i<o.length;i++){var a=o[i],s=a.x,c=a.y,l=r.__assign(r.__assign({fill:a.color,symbol:"circle",shadowColor:a.color},e),{x:s,y:c});n.addShape("marker",{attrs:l})}},e.prototype.renderCrosshairs=function(t,e){var n=i.get(e,["crosshairs","type"],"x");"x"===n?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,e)):"y"===n?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,e)):"xy"===n&&(this.renderXCrosshairs(t,e),this.renderYCrosshairs(t,e))},e.prototype.renderXCrosshairs=function(t,e){var n=this.getViewWithGeometry(this.view).getCoordinate();if(a.isPointInCoordinate(n,t)){var r,c;if(n.isRect)n.isTransposed?(r={x:n.start.x,y:t.y},c={x:n.end.x,y:t.y}):(r={x:t.x,y:n.end.y},c={x:t.x,y:n.start.y});else{var l=a.getAngleByPoint(n,t),u=n.getCenter(),h=n.getRadius();c=s.polarToCartesian(u.x,u.y,h,l),r=u}var f=i.deepMix({start:r,end:c,container:this.getTooltipCrosshairsGroup()},i.get(e,"crosshairs",{}),this.getCrosshairsText("x",t,e));delete f.type;var p=this.xCrosshair;p?p.update(f):(p=new o.Crosshair.Line(f),p.init()),p.render(),p.show(),this.xCrosshair=p}},e.prototype.renderYCrosshairs=function(t,e){var n=this.getViewWithGeometry(this.view).getCoordinate();if(a.isPointInCoordinate(n,t)){var r,s;if(n.isRect){var c=void 0,l=void 0;n.isTransposed?(c={x:t.x,y:n.end.y},l={x:t.x,y:n.start.y}):(c={x:n.start.x,y:t.y},l={x:n.end.x,y:t.y}),r={start:c,end:l},s="Line"}else r={center:n.getCenter(),radius:a.getDistanceToCenter(n,t),startAngle:n.startAngle,endAngle:n.endAngle},s="Circle";r=i.deepMix({container:this.getTooltipCrosshairsGroup()},r,i.get(e,"crosshairs",{}),this.getCrosshairsText("y",t,e)),delete r.type;var u=this.yCrosshair;u?n.isRect&&"circle"===u.get("type")||!n.isRect&&"line"===u.get("type")?(u=new o.Crosshair[s](r),u.init()):u.update(r):(u=new o.Crosshair[s](r),u.init()),u.render(),u.show(),this.yCrosshair=u}},e.prototype.getCrosshairsText=function(t,e,n){var r=i.get(n,["crosshairs","text"]),o=i.get(n,["crosshairs","follow"]),a=this.items;if(r){var s=this.getViewWithGeometry(this.view),c=a[0],l=s.getXScale(),u=s.getYScales()[0],h=void 0,f=void 0;if(o){var p=this.view.getCoordinate().invert(e);h=l.invert(p.x),f=u.invert(p.y)}else h=c.data[l.field],f=c.data[u.field];var d="x"===t?h:f;return i.isFunction(r)?r=r(t,d,a,e):r.content=d,{text:r}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.getTooltipItemsByHitShape=function(t,e,n){var r=[],i=t.container,o=i.getShape(e.x,e.y);if(o&&o.get("visible")&&o.get("origin")){var a=o.get("origin").mappingData,s=c.getTooltipItems(a,t,n);s.length&&r.push(s)}return r},e.prototype.getTooltipItemsByFindData=function(t,e,n){var r=[],o=t.dataArray;if(!i.isEmpty(o)){t.sort(o);for(var a=0,s=o;a<s.length;a++){var l=s[a],u=c.findDataByPoint(e,l,t);if(u){var h=t.getElementId(u),f=t.elementsMap[h];if("heatmap"===t.type||f.visible){var p=c.getTooltipItems(u,t,n);p.length&&r.push(p)}}}}return r},e.prototype.findItemsFromView=function(t,e){if(!1===t.getOptions().tooltip)return[];for(var n=[],r=t.geometries,i=this.getTooltipCfg(),o=i.shared,a=i.title,s=i.reversed,c=0,l=r;c<l.length;c++){var u=l[c];if(u.visible&&!1!==u.tooltipOption){var h=u.type,f=void 0;f=["point","edge","polygon"].includes(h)?this.getTooltipItemsByHitShape(u,e,a):["area","line","path","heatmap"].includes(h)?this.getTooltipItemsByFindData(u,e,a):!1!==o?this.getTooltipItemsByFindData(u,e,a):this.getTooltipItemsByHitShape(u,e,a),f.length&&(s&&f.reverse(),n.push(f))}}for(var p=0,d=t.views;p<d.length;p++){var g=d[p];n=n.concat(this.findItemsFromView(g,e))}return n},e.prototype.getViewWithGeometry=function(t){var e=this;return t.geometries.length?t:i.find(t.views,function(t){return e.getViewWithGeometry(t)})},e}(u.Controller);e.default=p},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["o"])(h)})}else Object(o["j"])(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;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i}}),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.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["a"])},zJSt:function(t,e,n){"use strict";n.d(e,"a",function(){return u});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=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.prototype.createG2=function(){var t=this.options,e=t.width,n=t.height,o=t.padding,a=t.appendPadding,s=t.renderer,c=t.pixelRatio,u=t.syncViewPadding,h=t.supportCSSTransform,f=t.limitInPlot;this.chart=new i["a"](Object(r["a"])(Object(r["a"])({container:this.container,autoFit:!1},this.getChartSize(e,n)),{padding:o,appendPadding:a,renderer:s,pixelRatio:c,localRefresh:!1,syncViewPadding:u,supportCSSTransform:h,limitInPlot:f})),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{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.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.options=Object(c["b"])({},this.options,t),this.render()},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("AMYk"),i=n("iTfj"),o=n("6JdA"),a=n("sstZ"),s=n("aSjE"),c=n("LmB6"),l=o["ext"].transform,u="matrix",h=["zIndex","capture","visible","type"],f=["repeat"],p=":",d="*";function g(t){for(var e=[],n=0;n<t.length;n++)Object(i["isArray"])(t[n])?e.push([].concat(t[n])):e.push(t[n]);return e}function y(t,e){var n={},r=e.attrs;for(var i in t)n[i]=r[i];return n}function v(t,e){var n={},r=e.attr();return Object(i["each"])(t,function(t,e){-1!==f.indexOf(e)||Object(i["isEqual"])(r[e],t)||(n[e]=t)}),n}function m(t,e){if(e.onFrame)return t;var n=e.startTime,r=e.delay,o=e.duration,a=Object.prototype.hasOwnProperty;return Object(i["each"])(t,function(t){n+r<t.startTime+t.delay+t.duration&&o>t.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["a"])(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0],o=e[1];if(!r)return this.attrs;if(Object(i["isObject"])(r)){for(var a in r)this.setAttr(a,r[a]);return this.afterAttrsChange(r),this}return 2===e.length?(this.setAttr(r,o),this.afterAttrsChange((t={},t[r]=o,t)),this):this.attrs[r]},e.prototype.isClipped=function(t,e){var n=this.getClip();return n&&!n.isHit(t,e)},e.prototype.setAttr=function(t,e){var n=this.attrs[t];n!==e&&(this.attrs[t]=e,this.onAttrChange(t,e,n))},e.prototype.onAttrChange=function(t,e,n){"matrix"===t&&this.set("totalMatrix",null)},e.prototype.afterAttrsChange=function(t){if(this.cfg.isClipShape){var e=this.cfg.applyTo;e&&e.onCanvasChange("clip")}else this.onCanvasChange("attr")},e.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},e.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},e.prototype.setZIndex=function(t){this.set("zIndex",t);var e=this.getParent();return e&&e.sort(),this},e.prototype.toFront=function(){var t=this.getParent();if(t){var e=t.getChildren(),n=(this.get("el"),e.indexOf(this));e.splice(n,1),e.push(this),this.onCanvasChange("zIndex")}},e.prototype.toBack=function(){var t=this.getParent();if(t){var e=t.getChildren(),n=(this.get("el"),e.indexOf(this));e.splice(n,1),e.unshift(this),this.onCanvasChange("zIndex")}},e.prototype.remove=function(t){void 0===t&&(t=!0);var e=this.getParent();e?(Object(a["j"])(e.getChildren(),this),e.get("clearing")||this.onCanvasChange("remove")):this.onCanvasChange("remove"),t&&this.destroy()},e.prototype.resetMatrix=function(){this.attr(u,this.getDefaultMatrix()),this.onCanvasChange("matrix")},e.prototype.getMatrix=function(){return this.attr(u)},e.prototype.setMatrix=function(t){this.attr(u,t),this.onCanvasChange("matrix")},e.prototype.getTotalMatrix=function(){var t=this.cfg.totalMatrix;if(!t){var e=this.attr("matrix"),n=this.cfg.parentMatrix;t=n&&e?Object(s["b"])(n,e):e||n,this.set("totalMatrix",t)}return t},e.prototype.applyMatrix=function(t){var e=this.attr("matrix"),n=null;n=t&&e?Object(s["b"])(t,e):e||t,this.set("totalMatrix",n),this.set("parentMatrix",t)},e.prototype.getDefaultMatrix=function(){return null},e.prototype.applyToMatrix=function(t){var e=this.attr("matrix");return e?Object(s["c"])(e,t):t},e.prototype.invertFromMatrix=function(t){var e=this.attr("matrix");if(e){var n=Object(s["a"])(e);if(n)return Object(s["c"])(n,t)}return t},e.prototype.setClip=function(t){var e=this.getCanvas(),n=null;if(t){var r=this.getShapeBase(),o=Object(i["upperFirst"])(t.type),a=r[o];a&&(n=new a({type:t.type,isClipShape:!0,applyTo:this,attrs:t.attrs,canvas:e}))}return this.set("clipShape",n),this.onCanvasChange("clip"),n},e.prototype.getClip=function(){var t=this.cfg.clipShape;return t||null},e.prototype.clone=function(){var t=this,e=this.attrs,n={};Object(i["each"])(e,function(t,r){Object(i["isArray"])(e[r])?n[r]=g(e[r]):n[r]=e[r]});var r=this.constructor,o=new r({attrs:n});return Object(i["each"])(h,function(e){o.set(e,t.get(e))}),o},e.prototype.destroy=function(){var e=this.destroyed;e||(this.attrs={},t.prototype.destroy.call(this))},e.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},e.prototype.animate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.get("canvas")){this.set("animating",!0);var n=this.get("timeline");n||(n=this.get("canvas").get("timeline"),this.set("timeline",n));var r=this.get("animations")||[];n.timer||n.initTimer();var o,a,s,c,l,u=t[0],h=t[1],f=t[2],p=void 0===f?"easeLinear":f,d=t[3],g=void 0===d?i["noop"]:d,b=t[4],x=void 0===b?0:b;Object(i["isFunction"])(u)?(o=u,u={}):Object(i["isObject"])(u)&&u.onFrame&&(o=u.onFrame,a=u.repeat),Object(i["isObject"])(h)?(l=h,h=l.duration,p=l.easing||"easeLinear",x=l.delay||0,a=l.repeat||a||!1,g=l.callback||i["noop"],s=l.pauseCallback||i["noop"],c=l.resumeCallback||i["noop"]):(Object(i["isNumber"])(g)&&(x=g,g=null),Object(i["isFunction"])(p)?(g=p,p="easeLinear"):p=p||"easeLinear");var O=v(u,this),w={fromAttrs:y(O,this),toAttrs:O,duration:h,easing:p,repeat:a,callback:g,pauseCallback:s,resumeCallback:c,delay:x,startTime:n.getTime(),id:Object(i["uniqueId"])(),onFrame:o,pathFormatted:!1};r.length>0?r=m(r,w):n.addAnimator(this),r.push(w),this.set("animations",r),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<o.length;l++){var u=s(l);if("break"===u)break}},e.prototype.emitDelegateEvent=function(t,e,n){var r=this.getEvents(),i=e+p+n.type;(r[i]||r[d])&&(n.name=i,n.currentTarget=t,n.delegateTarget=this,n.delegateObject=t.get("delegateObject"),this.emit(i,n))},e.prototype.translate=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=this.getMatrix(),r=l(n,[["t",t,e]]);return this.setMatrix(r),this},e.prototype.move=function(t,e){var n=this.attr("x")||0,r=this.attr("y")||0;return this.translate(t-n,e-r),this},e.prototype.moveTo=function(t,e){return this.move(t,e)},e.prototype.scale=function(t,e){var n=this.getMatrix(),r=l(n,[["s",t,e||t]]);return this.setMatrix(r),this},e.prototype.rotate=function(t){var e=this.getMatrix(),n=l(e,[["r",t]]);return this.setMatrix(n),this},e.prototype.rotateAtStart=function(t){var e=this.attr(),n=e.x,r=e.y,i=this.getMatrix(),o=l(i,[["t",-n,-r],["r",t],["t",n,r]]);return this.setMatrix(o),this},e.prototype.rotateAtPoint=function(t,e,n){var r=this.getMatrix(),i=l(r,[["t",-t,-e],["r",n],["t",t,e]]);return this.setMatrix(i),this},e}(c["a"]);e["a"]=b},"zQ/W":function(t,e,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;t.exports=function(t,e){var n,o,a,s,c,l,u,h,f,p,d="",g=t.pos,y=t.posMax,v=t.pos,m=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(c=t.pos+1,s=t.md.helpers.parseLinkLabel(t,t.pos,!0),s<0)return!1;if(l=s+1,l<y&&40===t.src.charCodeAt(l)){for(m=!1,l++;l<y;l++)if(o=t.src.charCodeAt(l),!i(o)&&10!==o)break;if(l>=y)return!1;for(v=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok&&(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?l=u.pos:d=""),v=l;l<y;l++)if(o=t.src.charCodeAt(l),!i(o)&&10!==o)break;if(u=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<y&&v!==l&&u.ok){for(f=u.str,l=u.pos;l<y;l++)if(o=t.src.charCodeAt(l),!i(o)&&10!==o)break}else f="";(l>=y||41!==t.src.charCodeAt(l))&&(m=!0),l++}if(m){if("undefined"===typeof t.env.references)return!1;if(l<y&&91===t.src.charCodeAt(l)?(v=l+1,l=t.md.helpers.parseLinkLabel(t,l),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;d=h.href,f=h.title}return e||(t.pos=c,t.posMax=s,p=t.push("link_open","a",1),p.attrs=n=[["href",d]],f&&n.push(["title",f]),t.md.inline.tokenize(t),p=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}}]); |