v2board/public/assets/admin/vendors.async.js
2021-03-07 02:44:39 +09:00

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("mrSG"),i=n("Mw2x"),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;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},"+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["r"])(u)})}}else c.label(!1);return t}function g(t){return Object(o["e"])(l,u,c["j"],h,f,c["k"],p,d,Object(c["b"])(),c["c"],c["a"],c["i"])(t)}var y=n("kXyF");Object(y["l"])("polygon","circle",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l)/2,h=Number(t.shape[1]),f=Number(t.shape[2]),p=Math.sqrt(f),d=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill),y=e.addShape("circle",{attrs:Object(r["a"])(Object(r["a"])(Object(r["a"])({x:o,y:a,r:d},t.defaultStyle),t.style),{fill:g})});return y}}),Object(y["l"])("polygon","square",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l),h=Number(t.shape[1]),f=Number(t.shape[2]),p=Math.sqrt(f),d=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill),y=e.addShape("rect",{attrs:Object(r["a"])(Object(r["a"])(Object(r["a"])({x:o-d/2,y:a-d/2,width:d,height:d},t.defaultStyle),t.style),{fill:g})});return y}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return g},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{type:"polygon",legend:!1,xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})}})(i["b"])},"/+3i":function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("zJSt"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l="$$stock-range$$",u="trend",h="up",f="down",p=["#ef5350","#26a69a"],d={showTitle:!1,showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0},itemTpl:'<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,e){return Object(a["map"])(t,function(t){if(Object(a["isArray"])(e)){var n=e[0],r=e[1],i=e[2],o=e[3];t[u]=t[n]<=t[r]?h:f,t[l]=[t[n],t[r],t[i],t[o]]}return t})}function y(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.data;e.data(g(o,i));var a=e.schema().position(r+"*"+l).shape("candle");return a.color(u,p),t}function v(t){var e,n,r=t.chart,o=t.options,a=o.meta,s=o.xAxis,p=o.yAxis,d=o.xField,g=(e={},e[d]={type:"timeCat",tickCount:6},e[u]={values:[h,f]},e),y=Object(i["b"])(g,a,(n={},n[d]=Object(i["n"])(s,c["a"]),n[l]=Object(i["n"])(p,c["a"]),n));return r.scale(y),t}function m(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(l,i),t}function b(t){var e=t.chart,n=t.options,r=n.xField,o=n.yField,s=n.meta,c=void 0===s?{}:s,l=n.tooltip,u=void 0===l?{}:l,h=Object(i["c"])(e,"schema"),f=o[0],p=o[1],d=o[2],g=o[3],y=c[f]&&c[f].alias||f,v=c[p]?c[p].alias||f:p,m=c[d]&&c[d].alias||d,b=c[g]&&c[g].alias||g,x={fields:[r,f,p,d,g],callback:function(t,e,n,r,i){var o={name:t,value:'\n <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 j=Object(i["b"])({},O,u);e.tooltip(j),h.tooltip(x)}}else e.tooltip(!1);return t}function x(t){var e=t.chart,n=t.options,r=n.legend;return r?e.legend(u,r):!1===r&&e.legend(!1),t}function O(t){Object(i["e"])(y,v,s["j"],m,b,x,s["c"],s["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="stock",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(i["b"])({},t.prototype.getDefaultOptions.call(this),{tooltip:d,interactions:[{type:"tooltip"}],legend:{position:"top-left"}})},e.prototype.getSchemaAdaptor=function(){return O},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField;this.chart.changeData(g(t,e))}})(o["b"])},"/3+T":function(t,e,n){"use strict";n.r(e);var r,i=n("mrSG"),o=n("5UbV"),a=n("iTfj"),s=n("MeYt"),c=n("jqgP"),l=n("L16w"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l["a"].lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l["a"].textColor,textAlign:"center",textBaseline:"middle",fontFamily:l["a"].fontFamily}},textBackground:{padding:5,style:{stroke:l["a"].lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,r=e.autoRotate,o=e.content;if(!Object(a["isNil"])(o)){var s=this.getTextPoint(),l=null;if(r){var u=this.getRotateAngle();l=Object(c["e"])(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:Object(i["a"])(Object(i["a"])(Object(i["a"])({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line"),r=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:Object(i["a"])({path:e},r)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),s=Object(o["c"])(r.padding),c=r.style,l=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:Object(i["a"])({x:a.x-s[3],y:a.y-s[0],width:a.width+s[1]+s[3],height:a.height+s[0]+s[2],matrix:n.attr("matrix")},c)});l.toBack()}},e}(s["a"]),h=u,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x),o="start"===r?i-Math.PI/2:i+Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o["f"])(e,n,i,a)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(h),p=f,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle,r=this.get("text").position,i="start"===r?e+Math.PI/2:n-Math.PI/2;return i},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,a=r.radius,s=r.startAngle,c=r.endAngle,l="start"===e?s:c,u=this.getRotateAngle()-Math.PI,h=Object(o["e"])(i,a,l),f=Math.cos(u)*n,p=Math.sin(u)*n;return{x:h.x+f,y:h.y+p}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,a=null;if(i-r===2*Math.PI){var s=e.x,c=e.y;a=[["M",s,c-n],["A",n,n,0,1,1,s,c+n],["A",n,n,0,1,1,s,c-n],["Z"]]}else{var l=Object(o["e"])(e,n,r),u=Object(o["e"])(e,n,i),h=Math.abs(i-r)>Math.PI?1:0,f=r>i?0:1;a=[["M",l.x,l.y],["A",n,n,0,h,f,u.x,u.y]]}return a},e}(h),g=d,y=n("fIp6"),v=n("de35"),m="g2-crosshair",b=m+"-line",x=m+"-text",O=(r={},r[""+m]={position:"relative"},r[""+b]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+x]={position:"absolute",color:l["a"].textColor,fontFamily:l["a"].fontFamily},r),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'<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"]),w=j;n.d(e,"Line",function(){return p}),n.d(e,"Circle",function(){return g}),n.d(e,"Base",function(){return h}),n.d(e,"Html",function(){return w})},"/9aa":function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Symbol]";function a(t){return"symbol"==typeof t||i(t)&&r(t)==o}t.exports=a},"/f6Q":function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(l++),42!==o&&45!==o&&95!==o)return!1;a=1;while(l<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("lFe4"),a=n("mgjb"),s=n("iTfj"),c={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+Object(s["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"}}},l={appendPadding:2,tooltip:Object(r["a"])({},c),animation:{}};n.d(e,"a",function(){return u});var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return l},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(a["b"])({chart:n,options:r}),n.changeData(Object(o["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},"03A+":function(t,e,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},"05BJ":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("lFe4"),a=n("hYLx"),s=n("7cv3"),c={appendPadding:2,tooltip:Object(r["a"])({},s["b"]),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}};n.d(e,"a",function(){return l});var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(a["b"])({chart:n,options:r}),n.changeData(Object(o["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},"0Cz8":function(t,e,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.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";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});n("NmWf"),n("MeYt"),n("de35");var l=n("fFDA");n.d(e,"Slider",function(){return l["a"]});var u=n("3u8d");n.d(e,"Scrollbar",function(){return u["a"]});n("vk7d"),n("uzHj");var h=n("1//c");n.d(e,"propagationDelegate",function(){return h["a"]});var f=n("u60a");n.d(e,"TOOLTIP_CSS_CONST",function(){return f})},"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["e"])(n),a=v(o,i),s=a.x,c=a.y,l=a.width,h=a.height,f={minX:s,minY:c,maxX:s+l,maxY:c+h};return f=u(t,f),{x:f.minX,y:f.minY,width:f.maxX-f.minX,height:f.maxY-f.minY}},x=function(t){var e=t.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=Math.min(n,i),s=Math.max(n,i),c=Math.min(r,o),l=Math.max(r,o),h={minX:a,maxX:s,minY:c,maxY:l};return h=u(t,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}},O=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;return{x:n-i,y:r-o,width:2*i,height:2*o}};n.d(e,"a",function(){return o}),i("rect",a),i("image",a),i("circle",s),i("marker",s),i("polyline",h),i("polygon",f),i("text",d),i("path",b),i("line",x),i("ellipse",O)},"1nBO":function(t,e,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;t.exports=function(t,e,n,o){var a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,j=0,w=t.bMarks[e]+t.tShift[e],k=t.eMarks[e],S=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(w))return!1;while(++w<k)if(93===t.src.charCodeAt(w)&&92!==t.src.charCodeAt(w-1)){if(w+1===k)return!1;if(58!==t.src.charCodeAt(w+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(),k=m.length,w=1;w<k;w++){if(a=m.charCodeAt(w),91===a)return!1;if(93===a){d=w;break}10===a?j++:92===a&&(w++,w<k&&10===m.charCodeAt(w)&&j++)}if(d<0||58!==m.charCodeAt(d+1))return!1;for(w=d+2;w<k;w++)if(a=m.charCodeAt(w),10===a)j++;else if(!i(a))break;if(y=t.md.helpers.parseLinkDestination(m,w,k),!y.ok)return!1;if(u=t.md.normalizeLink(y.str),!t.md.validateLink(u))return!1;for(w=y.pos,j+=y.lines,s=w,c=j,v=w;w<k;w++)if(a=m.charCodeAt(w),10===a)j++;else if(!i(a))break;y=t.md.helpers.parseLinkTitle(m,w,k),w<k&&v!==w&&y.ok?(O=y.str,w=y.pos,j+=y.lines):(O="",w=s,j=c);while(w<k){if(a=m.charCodeAt(w),!i(a))break;w++}if(w<k&&10!==m.charCodeAt(w)&&O){O="",w=s,j=c;while(w<k){if(a=m.charCodeAt(w),!i(a))break;w++}}return!(w<k&&10!==m.charCodeAt(w))&&(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+j+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},"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("mrSG"),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,a=Object(o["deepMix"])({},c,i).default,s=a.lineCap,l=a.trackColor,u=a.size,h=Object(o["get"])(this.cfg,"size",u),f=this.get("isHorizontal")?{x1:0+h/2,y1:h/2,x2:n-h/2,y2:h/2,lineWidth:h,stroke:l,lineCap:s}:{x1:h/2,y1:0+h/2,x2:h/2,y2:n-h/2,lineWidth:h,stroke:l,lineCap:s};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,r=e.thumbLen,i=e.theme,a=Object(o["deepMix"])({},c,i).default,s=a.size,l=a.lineCap,u=a.thumbColor,h=Object(o["get"])(this.cfg,"size",s),f=this.get("isHorizontal")?{x1:n+h/2,y1:h/2,x2:n+r-h/2,y2:h/2,lineWidth:h,stroke:u,lineCap:l,cursor:"default"}:{x1:h/2,y1:n+h/2,x2:h/2,y2:n+r-h/2,lineWidth:h,stroke:u,lineCap:l,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:f})},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,i=n("QG4C");function o(t,e){console.warn(t===r.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===r.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===r.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2plot'\".":"invalid Stage type.")}(function(t){t["DEV"]="DEV",t["BETA"]="BETA",t["STABLE"]="STABLE"})(r||(r={}));(function(){function t(){}Object.defineProperty(t,"MultiView",{get:function(){return o(r.STABLE,"MultiView"),i["a"]},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})}function i(t){var e=t.parent;return e?e.views:[]}function o(t){return i(t).filter(function(e){return e!==t})}n.d(e,"a",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o})},"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","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(60===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){if(32===t.charCodeAt(e+1))break;e+=2}else{if(40===i&&(o++,o>32))return c;if(41===i){if(0===o)break;o--}e++}}return s===e?c:0!==o?c:(c.str=r(t.slice(s,e)),c.lines=a,c.pos=e,c.ok=!0,c)}},"5OoT":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t,e){return Object(r["isNumber"])(t)&&Object(r["isNumber"])(e)?t===e?"100%":0===t?"\u221e":0===e?"-\u221e":(100*e/t).toFixed(2)+"%":"-"}},"5Tg0":function(t,e,n){(function(t){var r=n("Kz5y"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?r.Buffer:void 0,c=s?s.allocUnsafe:void 0;function l(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}t.exports=l}).call(this,n("YuTi")(t))},"5UbV":function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"h",function(){return a}),n.d(e,"k",function(){return s}),n.d(e,"j",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"g",function(){return u}),n.d(e,"e",function(){return h}),n.d(e,"i",function(){return p}),n.d(e,"d",function(){return g}),n.d(e,"m",function(){return y}),n.d(e,"l",function(){return v}),n.d(e,"f",function(){return m});var r=n("iTfj");function i(t){var e=0,n=0,i=0,o=0;return Object(r["isNumber"])(t)?e=n=i=o=t:Object(r["isArray"])(t)&&(e=t[0],i=Object(r["isNil"])(t[1])?t[0]:t[1],o=Object(r["isNil"])(t[2])?t[0]:t[2],n=Object(r["isNil"])(t[3])?i:t[3]),[e,i,o,n]}function o(t){for(var e=t.childNodes,n=e.length,r=n-1;r>=0;r--)t.removeChild(e[r])}function a(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function s(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function c(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),o=Math.max.apply(Math,e),a=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function l(t,e,n,r){var i=t+n,o=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(o)?0:o}}function u(t,e,n){return(1-n)*t+e*n}function h(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}function f(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}var p=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)<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)}}},"5bFI":function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("iTfj"),o=n("BgvD"),a=n("jqgP"),s=n("l3hu"),c=n("L16w"),l=n("MeYt"),u=n("5UbV"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),r=this.get("maxHeight"),i=e.width,o=e.height;return n&&(i=Math.min(i,n)),r&&(o=Math.min(o,r)),Object(u["b"])(e.minX,e.minY,i,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),i=Object(u["c"])(e.padding),o=Object(r["a"])({x:0,y:0,width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},e.style),a=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});a.toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),i=n.spacing,o=n.style,a=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:Object(r["a"])({text:a,x:e.x,y:e.y},o)}),c=s.getBBox();this.set("currentPoint",{x:e.x,y:c.maxY+i})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=Object(u["c"])(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(l["a"]),f=h,p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.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},"5z4m":function(t,e,n){"use strict";var r=n("mrSG"),i=n("aFU3"),o=n("iTfj"),a=n("aN7R"),s=n("c0lT"),c=n("APlK"),l=n("IvmH"),u=n("c+wO"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=Object(u["b"])("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n?n.appendChild(t):(n=e.createDom(),e.set("el",n),n.appendChild(t))}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){Object(s["b"])(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),Object(c["a"])(this,t),this.createPath(t),e.length&&Object(s["a"])(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(o["each"])(e||n,function(t,e){l["b"][e]&&r.setAttribute(l["b"][e],t)}),Object(c["c"])(this)},e}(i["AbstractGroup"]);e["a"]=h},"6A5J":function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,j,w,k,S=t.lineMax,C=t.bMarks[e]+t.tShift[e],M=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(C++))return!1;if(i)return!0;c=p=t.sCount[e]+1,32===t.src.charCodeAt(C)?(C++,c++,p++,o=!1,x=!0):9===t.src.charCodeAt(C)?(x=!0,(t.bsCount[e]+p)%4===3?(C++,c++,p++,o=!1):o=!0):x=!1,d=[t.bMarks[e]],t.bMarks[e]=C;while(C<M){if(a=t.src.charCodeAt(C),!r(a))break;9===a?p+=4-(p+t.bsCount[e]+(o?1:0))%4:p++,C++}for(g=[t.bsCount[e]],t.bsCount[e]=t.sCount[e]+1+(x?1:0),u=C>=M,m=[t.sCount[e]],t.sCount[e]=p-c,b=[t.tShift[e]],t.tShift[e]=C-t.bMarks[e],j=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",f=e+1;f<n;f++){if(k=t.sCount[f]<t.blkIndent,C=t.bMarks[f]+t.tShift[f],M=t.eMarks[f],C>=M)break;if(62!==t.src.charCodeAt(C++)||k){if(u)break;for(O=!1,s=0,l=j.length;s<l;s++)if(j[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(C)?(C++,c++,p++,o=!1,x=!0):9===t.src.charCodeAt(C)?(x=!0,(t.bsCount[f]+p)%4===3?(C++,c++,p++,o=!1):o=!0):x=!1,d.push(t.bMarks[f]),t.bMarks[f]=C;while(C<M){if(a=t.src.charCodeAt(C),!r(a))break;9===a?p+=4-(p+t.bsCount[f]+(o?1:0))%4:p++,C++}u=C>=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(x?1:0),m.push(t.sCount[f]),t.sCount[f]=p-c,b.push(t.tShift[f]),t.tShift[f]=C-t.bMarks[f]}}for(y=t.blkIndent,t.blkIndent=0,w=t.push("blockquote_open","blockquote",1),w.markup=">",w.map=h=[e,0],t.md.block.tokenize(t,e,f),w=t.push("blockquote_close","blockquote",-1),w.markup=">",t.lineMax=S,t.parentType=v,h[1]=t.line,s=0;s<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";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,"b",function(){return i["a"]}),n.d(e,"c",function(){return i["b"]}),n.d(e,"d",function(){return i["c"]}),n.d(e,"a",function(){return r})},"6UX8":function(t,e,n){"use strict";var r=n("iTfj"),i=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,c=function(t){return/^[r,R,L,l]{1}[\s]*\(/.test(t)},l=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t},u=function(t,e,n,r){return t[r]+(e[r]-t[r])*n};function h(t){return"#"+d(t[0])+d(t[1])+d(t[2])}var f,p=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},d=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},g=function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),r=t.length-1,i=Math.floor(r*n),o=r*n-i,a=t[i],s=i===r?a:t[i+1];return h([u(a,s,o,0),u(a,s,o,1),u(a,s,o,2)])},y=function(t){if("#"===t[0]&&7===t.length)return t;f||(f=l()),f.style.color=t;var e=document.defaultView.getComputedStyle(f,"").getPropertyValue("color"),n=i.exec(e),r=n[1].split(/\s*,\s*/).map(function(t){return Number(t)});return e=h(r),e},v=function(t){var e=Object(r["isString"])(t)?t.split("-"):t,n=Object(r["map"])(e,function(t){return p(-1===t.indexOf("#")?y(t):t)});return function(t){return g(n,t)}},m=function(t){if(c(t)){var e,n=void 0;if("l"===t[0]){var i=o.exec(t),l=+i[1]+90;n=i[2],e="linear-gradient("+l+"deg, "}else if("r"===t[0]){e="radial-gradient(";i=a.exec(t);n=i[4]}var u=n.match(s);return Object(r["each"])(u,function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==u.length-1&&(e+=", ")}),e+=")",e}return t};e["a"]={rgb2arr:p,gradient:v,toRGB:Object(r["memoize"])(y),toCSSGradient:m}},"6YkS":function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserRouter",function(){return h}),n.d(e,"HashRouter",function(){return f}),n.d(e,"Link",function(){return b}),n.d(e,"NavLink",function(){return w});var r=n("CxXe");n.d(e,"MemoryRouter",function(){return r["a"]}),n.d(e,"Prompt",function(){return r["b"]}),n.d(e,"Redirect",function(){return r["c"]}),n.d(e,"Route",function(){return r["d"]}),n.d(e,"Router",function(){return r["e"]}),n.d(e,"StaticRouter",function(){return r["f"]}),n.d(e,"Switch",function(){return r["g"]}),n.d(e,"__RouterContext",function(){return r["h"]}),n.d(e,"generatePath",function(){return r["i"]}),n.d(e,"matchPath",function(){return r["j"]}),n.d(e,"useHistory",function(){return r["k"]}),n.d(e,"useLocation",function(){return r["l"]}),n.d(e,"useParams",function(){return r["m"]}),n.d(e,"useRouteMatch",function(){return r["n"]}),n.d(e,"withRouter",function(){return r["o"]});var i=n("ohPV"),o=n("q1tI"),a=n.n(o),s=n("g0MP"),c=(n("17x9"),n("EVqI")),l=n("MWgS"),u=n("9R94"),h=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<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 j(){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 w=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,w=t.style,k=t.to,S=t.innerRef,C=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(k,n),n),l=o.pathname,M=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=M?Object(r["j"])(n.pathname,{path:M,exact:g,strict:m}):null,T=!!(y?y(A,n):A),E=T?j(f,s):f,P=T?Object(c["a"])({},w,{},h):w,_=Object(c["a"])({"aria-current":T&&i||null,className:E,style:P,to:o},C);return x!==O?_.ref=e||S:_.innerRef=S,a.a.createElement(b,_)})})},"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["b"])},"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("kXyF"),o=n("zJSt"),a=n("YuPD"),s=n("iTfj"),c=n("w02o"),l=n("tKoa"),u="first-axes-view",h="second-axes-view",f="series-field-key";function p(t,e,n,r,i){var o=[];e.forEach(function(e){r.forEach(function(r){var i,a=(i={},i[t]=r[t],i[n]=e,i[e]=r[e],i);o.push(a)})});var a=Object.values(Object(s["groupBy"])(o,n)),c=a[0],l=void 0===c?[]:c,u=a[1],h=void 0===u?[]:u;return i?[l.reverse(),h.reverse()]:[l,h]}function d(t){return"vertical"!==t}function g(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(d(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)),d(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)),!d(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(!d(c)&&"top"===l){u=o.left>=a.left?o.left:a.left;r.autoPadding=n.instance(o.top,o.right,0,u),i.autoPadding=n.instance(0,a.right,o.top,u)}}function y(t){var e,n,r=t.chart,i=t.options,o=i.data,s=i.xField,c=i.yField,g=i.color,y=i.barStyle,v=i.widthRatio,m=i.legend,b=i.layout,x=p(s,c,f,o,d(b));m?r.legend(f,m):!1===m&&r.legend(!1);var O=x[0],j=x[1];d(b)?(e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:u}),e.coordinate().transpose().reflect("x"),n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:h}),n.coordinate().transpose(),e.data(O),n.data(j)):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:u}),n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:h}),n.coordinate().reflect("y").rotate(0*Math.PI),e.data(O),n.data(j));var w=Object(a["b"])({},t,{chart:e,options:{widthRatio:v,xField:s,yField:c[0],seriesField:f,interval:{color:g,style:y}}});Object(l["c"])(w);var k=Object(a["b"])({},t,{chart:n,options:{xField:s,yField:c[1],seriesField:f,widthRatio:v,interval:{color:g,style:y}}});return Object(l["c"])(k),t}function v(t){var e,n,r,i=t.options,o=t.chart,l=i.xAxis,p=i.yAxis,d=i.xField,g=i.yField,y=Object(a["d"])(o,u),v=Object(a["d"])(o,h),m={};return Object(s["keys"])((null===i||void 0===i?void 0:i.meta)||{}).map(function(t){Object(s["get"])(null===i||void 0===i?void 0:i.meta,[t,"alias"])&&(m[t]=i.meta[t].alias)}),o.scale((e={},e[f]={sync:!0,formatter:function(t){return Object(s["get"])(m,t,t)}},e)),Object(c["f"])((n={},n[d]=l,n[g[0]]=p[g[0]],n))(Object(a["b"])({},t,{chart:y})),Object(c["f"])((r={},r[d]=l,r[g[1]]=p[g[1]],r))(Object(a["b"])({},t,{chart:v})),t}function m(t){var e=t.chart,n=t.options,i=n.xAxis,o=n.yAxis,s=n.xField,c=n.yField,l=n.layout,f=Object(a["d"])(e,u),p=Object(a["d"])(e,h);return p.axis(s,!1),!1===i?f.axis(s,!1):f.axis(s,Object(r["a"])({position:d(l)?"top":"bottom"},i)),!1===o?(f.axis(c[0],!1),p.axis(c[1],!1)):(f.axis(c[0],o[c[0]]),p.axis(c[1],o[c[1]])),e.__axisPosition={position:f.getOptions().axes[s].position,layout:l},t}function b(t){var e=t.chart;return Object(c["c"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u)})),Object(c["c"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h)})),t}function x(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return Object(c["e"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u),options:{yAxis:i[r[0]]}})),Object(c["e"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h),options:{yAxis:i[r[1]]}})),t}function O(t){var e=t.chart;return Object(c["j"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u)})),Object(c["j"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h)})),t}function j(t){var e=t.chart;return Object(c["a"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,u)})),Object(c["a"])(Object(a["b"])({},t,{chart:Object(a["d"])(e,h)})),t}function w(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=Object(a["d"])(e,u),c=Object(a["d"])(e,h),l=Object(a["c"])(s,"interval"),f=Object(a["c"])(c,"interval");if(i){var p=i.callback,d=Object(r["c"])(i,["callback"]);l.label({fields:[o[0]],callback:p,cfg:Object(a["r"])(d)}),f.label({fields:[o[1]],callback:p,cfg:Object(a["r"])(d)})}else l.label(!1),f.label(!1);return t}function k(t){return Object(a["e"])(y,v,m,x,O,w,c["k"],b,j)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){void 0===t&&(t=[]),this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null)),this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,o=e.layout,s=p(n,r,f,t,d(o)),c=s[0],l=s[1],g=Object(a["d"])(this.chart,u),y=Object(a["d"])(this.chart,h);g.data(c),y.data(l),this.chart.render(!0),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return Object(a["b"])({},t.prototype.getDefaultOptions.call(this),{syncViewPadding:g})},e.prototype.getSchemaAdaptor=function(){return k}})(o["b"])},"7bO/":function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"take",function(){return Mt}),n.d(r,"takem",function(){return At}),n.d(r,"put",function(){return Tt}),n.d(r,"all",function(){return Et}),n.d(r,"race",function(){return Pt}),n.d(r,"call",function(){return Lt}),n.d(r,"apply",function(){return Ft}),n.d(r,"cps",function(){return It}),n.d(r,"fork",function(){return Dt}),n.d(r,"spawn",function(){return Bt}),n.d(r,"join",function(){return Rt}),n.d(r,"cancel",function(){return Nt}),n.d(r,"select",function(){return zt}),n.d(r,"actionChannel",function(){return Yt}),n.d(r,"cancelled",function(){return Gt}),n.d(r,"flush",function(){return Vt}),n.d(r,"getContext",function(){return Wt}),n.d(r,"setContext",function(){return Ht}),n.d(r,"takeEvery",function(){return me}),n.d(r,"takeLatest",function(){return be}),n.d(r,"throttle",function(){return xe});var i=Object.assign||function(t){for(var e=1;e<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 P("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 j(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}var w={from:function(t){var e=Array(t.length);for(var n in t)b(t,n)&&(e[n]=t[n]);return e}};function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i({},t),n=new Promise(function(t,n){e.resolve=t,e.reject=n});return e.promise=n,e}function S(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(e)},t)});return r[u]=function(){return clearTimeout(n)},r}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}var M=C(),A=function(t){throw t},T=function(t){return{value:t,done:!0}};function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i={name:n,next:t,throw:e,return:T};return r&&(i[c]=!0),"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"===typeof window?console.log("redux-saga "+t+": "+e+"\n"+(n&&n.stack||n)):console[t](e,n)}function _(t,e){return function(){return t.apply(void 0,arguments)}}var L=function(t,e){return t+" has been deprecated in favor of "+e+", please update your code"},F=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")},I=function(t,e){return(t?t+".":"")+"setContext(props): argument "+e+" is not a plain object"},D=function(t){return function(e){return t(Object.defineProperty(e,h,{value:!0}))}},B="Channel's Buffer overflow!",R=1,N=2,z=3,Y=4,G={isEmpty:d,put:g,take:g};function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,i=0,o=0,a=function(e){n[i]=e,i=(i+1)%t,r++},s=function(){if(0!=r){var e=n[o];return n[o]=null,r--,o=(o+1)%t,e}},c=function(){var t=[];while(r)t.push(s());return t};return{isEmpty:function(){return 0==r},put:function(s){if(r<t)a(s);else{var l=void 0;switch(e){case R:throw new Error(B);case z:n[i]=s,i=(i+1)%t,o=i;break;case Y: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 W={none:function(){return G},fixed:function(t){return V(t,R)},dropping:function(t){return V(t,N)},sliding:function(t){return V(t,z)},expanding:function(t){return V(t,Y)}},H=[],X=0;function U(t){try{Z(),t()}finally{K()}}function q(t){H.push(t),X||(Z(),Q())}function Z(){X++}function K(){X--}function Q(){K();var t=void 0;while(!X&&void 0!==(t=H.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 j(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]:W.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw F("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw F("Cannot have pending takers with non empty buffer")}function i(i){if(r(),v(i,x.notUndef,it),!e){if(!n.length)return t.put(i);for(var o=0;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 j(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]:W.none(),n=arguments[2];arguments.length>2&&v(n,x.func,"Invalid match function passed to eventChannel");var r=ot(e),i=function(){r.__closed__||(o&&o(),r.close())},o=t(function(t){et(t)?i():n&&!n(t)||r.put(t)});if(r.__closed__&&o(),!x.func(o))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:i}}function st(t){var e=at(function(e){return t(function(t){t[h]?e(t):q(function(){return e(t)})})});return $({},e,{take:function(t,n){arguments.length>1&&(v(n,x.func,"channel.take's matcher argument must be a function"),t[l]=n),e.take(t)}})}var ct=a("IO"),lt="TAKE",ut="PUT",ht="ALL",ft="RACE",pt="CALL",dt="CPS",gt="FORK",yt="JOIN",vt="CANCEL",mt="SELECT",bt="ACTION_CHANNEL",xt="CANCELLED",Ot="FLUSH",jt="GET_CONTEXT",wt="SET_CONTEXT",kt="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",St=function(t,e){var n;return n={},n[ct]=!0,n[t]=e,n},Ct=function(t){return v(Ut.fork(t),x.object,"detach(eff): argument must be a fork effect"),t[gt].detached=!0,t};function Mt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&v(arguments[0],x.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),x.pattern(t))return St(lt,{pattern:t});if(x.channel(t))return St(lt,{channel:t});throw new Error("take(patternOrChannel): argument "+String(t)+" is not valid channel or a valid pattern")}Mt.maybe=function(){var t=Mt.apply(void 0,arguments);return t[lt].maybe=!0,t};var At=_(Mt.maybe,L("takem","take.maybe"));function Tt(t,e){return arguments.length>1?(v(t,x.notUndef,"put(channel, action): argument channel is undefined"),v(t,x.channel,"put(channel, action): argument "+t+" is not a valid channel"),v(e,x.notUndef,"put(channel, action): argument action is undefined")):(v(t,x.notUndef,"put(action): argument action is undefined"),e=t,t=null),St(ut,{channel:t,action:e})}function Et(t){return St(ht,t)}function Pt(t){return St(ft,t)}function _t(t,e,n){v(e,x.notUndef,t+": argument fn is undefined");var r=null;if(x.array(e)){var i=e;r=i[0],e=i[1]}else if(e.fn){var o=e;r=o.context,e=o.fn}return r&&x.string(e)&&x.func(r[e])&&(e=r[e]),v(e,x.func,t+": argument "+e+" is not a function"),{context:r,fn:e,args:n}}function Lt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return St(pt,_t("call",t,n))}function Ft(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return St(pt,_t("apply",{context:t,fn:e},n))}function It(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return St(dt,_t("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,_t("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 Ct(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 Et(e.map(function(t){return Rt(t)}));var r=e[0];return v(r,x.notUndef,"join(task): argument task is undefined"),v(r,x.task,"join(task): argument "+r+" is not a valid Task object "+kt),St(yt,r)}function Nt(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length>1)return Et(e.map(function(t){return Nt(t)}));var r=e[0];return 1===e.length&&(v(r,x.notUndef,"cancel(task): argument task is undefined"),v(r,x.task,"cancel(task): argument "+r+" is not a valid Task object "+kt)),St(vt,r||f)}function zt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;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 Yt(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 Wt(t){return v(t,x.string,"getContext(prop): argument "+t+" is not a string"),St(jt,t)}function Ht(t){return v(t,x.object,I(null,t)),St(wt,t)}Tt.resolve=function(){var t=Tt.apply(void 0,arguments);return t[ut].resolve=!0,t},Tt.sync=_(Tt.resolve,L("put.sync","put.resolve"));var Xt=function(t){return function(e){return e&&e[ct]&&e[t]}},Ut={take:Xt(lt),put:Xt(ut),all:Xt(ht),race:Xt(ft),call:Xt(pt),cps:Xt(dt),fork:Xt(gt),join:Xt(yt),cancel:Xt(vt),select:Xt(mt),actionChannel:Xt(bt),cancelled:Xt(xt),flush:Xt(Ot),getContext:Xt(jt),setContext:Xt(wt)},qt=Object.assign||function(t){for(var e=1;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||(j(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:E(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=_(tt,L(h,"all("+h+")")),d=o.sagaMonitor,y=o.logger,m=o.onError,b=y||P,S=function(t){var e=t.sagaStack;!e&&t.stack&&(e=-1!==t.stack.split("\n")[0].indexOf(t.message)?t.stack:"Error: "+t.message+"\n"+t.stack),b("error","uncaught at "+c,e||t.message||t)},C=st(e),A=Object.create(i);R.cancel=g;var T=ht(a,c,t,l),E={name:c,cancel:D,isRunning:!0},F=ne(c,E,N);function D(){E.isRunning&&!E.isCancelled&&(E.isCancelled=!0,R(Jt))}function B(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,F.cancelAll(),N(Jt))}return l&&(l.cancel=B),t._isRunning=!0,R(),T;function R(e,n){if(!E.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=t.throw(e):e===Jt?(E.isCancelled=!0,R.cancel(),r=x.func(t.return)?t.return(Jt):{done:!0,value:Jt}):r=e===$t?x.func(t.return)?t.return():{done:!0}:t.next(e),r.done?(E.isMainRunning=!1,E.cont&&E.cont(r.value)):z(r.value,a,"",R)}catch(t){E.isCancelled&&S(t),E.isMainRunning=!1,E.cont(t,!0)}}function N(e,n){t._isRunning=!1,C.close(),n?(e instanceof Error&&Object.defineProperty(e,"sagaStack",{value:"at "+c+" \n "+(e.sagaStack||e.stack),configurable:!0}),T.cont||(e instanceof Error&&m?m(e):S(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),T.cont&&T.cont(e,n),T.joiners.forEach(function(t){return t.cb(e,n)}),T.joiners=null}function z(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i=M();d&&d.effectTriggered({effectId:i,parentEffectId:e,label:n,effect:t});var o=void 0;function a(t,e){o||(o=!0,r.cancel=g,d&&(e?d.effectRejected(i,t):d.effectResolved(i,t)),r(t,e))}a.cancel=g,r.cancel=function(){if(!o){o=!0;try{a.cancel()}catch(t){S(t)}a.cancel=g,d&&d.effectCancelled(i)}};var s=void 0;return x.promise(t)?Y(t,a):x.helper(t)?K(ie(t),i,a):x.iterator(t)?G(t,i,c,a):x.array(t)?p(t,i,a):(s=Ut.take(t))?V(s,a):(s=Ut.put(t))?H(s,a):(s=Ut.all(t))?tt(s,i,a):(s=Ut.race(t))?nt(s,i,a):(s=Ut.call(t))?X(s,i,a):(s=Ut.cps(t))?U(s,a):(s=Ut.fork(t))?K(s,i,a):(s=Ut.join(t))?$(s,a):(s=Ut.cancel(t))?J(s,a):(s=Ut.select(t))?rt(s,a):(s=Ut.actionChannel(t))?it(s,a):(s=Ut.flush(t))?ct(s,a):(s=Ut.cancelled(t))?ot(s,a):(s=Ut.getContext(t))?lt(s,a):(s=Ut.setContext(t))?ut(s,a):a(t)}function Y(t,e){var n=t[u];x.func(n)?e.cancel=n:x.func(t.abort)&&(e.cancel=function(){return t.abort()}),t.then(e,function(t){return e(t,!0)})}function G(t,i,a,s){oe(t,e,n,r,A,o,i,a,s)}function V(t,e){var n=t.channel,r=t.pattern,i=t.maybe;n=n||C;var o=function(t){return t instanceof Error?e(t,!0):et(t)&&!i?e($t):e(t)};try{n.take(o,ee(r))}catch(t){return e(t,!0)}e.cancel=o.cancel}function H(t,e){var r=t.channel,i=t.action,o=t.resolve;q(function(){var t=void 0;try{t=(r?r.put:n)(i)}catch(t){if(r||o)return e(t,!0);S(t)}if(!o||!x.promise(t))return e(t);Y(t,e)})}function X(t,e,n){var r=t.context,i=t.fn,o=t.args,a=void 0;try{a=i.apply(r,o)}catch(t){return n(t,!0)}return x.promise(a)?Y(a,n):x.iterator(a)?G(a,e,i.name,n):n(a)}function U(t,e){var n=t.context,r=t.fn,i=t.args;try{var o=function(t,n){return x.undef(t)?e(n):e(t,!0)};r.apply(n,i.concat(o)),o.cancel&&(e.cancel=function(){return o.cancel()})}catch(t){return e(t,!0)}}function K(t,i,a){var s=t.context,c=t.fn,l=t.args,u=t.detached,h=re({context:s,fn:c,args:l});try{Z();var f=oe(h,e,n,r,A,o,i,c.name,u?null:g);u?a(f):h._isRunning?(F.addTask(f),a(f)):h._error?F.abort(h._error):a(f)}finally{Q()}}function $(t,e){if(t.isRunning()){var n={task:T,cb:e};e.cancel=function(){return j(t.joiners,n)},t.joiners.push(n)}else t.isAborted()?e(t.error(),!0):e(t.result())}function J(t,e){t===f&&(t=T),t.isRunning()&&t.cancel(),e()}function tt(t,e,n){var r=Object.keys(t);if(!r.length)return n(x.array(t)?[]:{});var i=0,o=void 0,a={},s={};function c(){i===r.length&&(o=!0,n(x.array(t)?w.from(qt({},a,{length:r.length})):a))}r.forEach(function(t){var e=function(e,r){o||(r||et(e)||e===$t||e===Jt?(n.cancel(),n(e,r)):(a[t]=e,i++,c()))};e.cancel=g,s[t]=e}),n.cancel=function(){o||(o=!0,r.forEach(function(t){return s[t].cancel()}))},r.forEach(function(n){return z(t[n],e,n,s[n])})}function nt(t,e,n){var r=void 0,i=Object.keys(t),o={};i.forEach(function(e){var a=function(o,a){if(!r)if(a)n.cancel(),n(o,!0);else if(!et(o)&&o!==$t&&o!==Jt){var s;n.cancel(),r=!0;var c=(s={},s[e]=o,s);n(x.array(t)?[].slice.call(qt({},c,{length:i.length})):c)}};a.cancel=g,o[e]=a}),n.cancel=function(){r||(r=!0,i.forEach(function(t){return o[t].cancel()}))},i.forEach(function(n){r||z(t[n],e,n,o[n])})}function rt(t,e){var n=t.selector,i=t.args;try{var o=n.apply(void 0,[r()].concat(i));e(o)}catch(t){e(t,!0)}}function it(t,n){var r=t.pattern,i=t.buffer,o=ee(r);o.pattern=r,n(at(e,i||W.fixed(),o))}function ot(t,e){e(!!E.isCancelled)}function ct(t,e){t.flush(e)}function lt(t,e){e(A[t])}function ut(t,e){O.assign(A,t),e()}function ht(t,e,n,r){var i,o,a;return n._deferredEnd=null,o={},o[s]=!0,o.id=t,o.name=e,i="done",a={},a[i]=a[i]||{},a[i].get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var t=k();return n._deferredEnd=t,n._isRunning||(n._error?t.reject(n._error):t.resolve(n._result)),t.promise},o.cont=r,o.joiners=[],o.cancel=B,o.isRunning=function(){return n._isRunning},o.isCancelled=function(){return n._isCancelled},o.isAborted=function(){return n._isAborted},o.result=function(){return n._result},o.error=function(){return n._error},o.setContext=function(t){v(t,x.object,I("task",t)),O.assign(A,t)},Kt(o,a),o}}var ae="runSaga(storeInterface, saga, ...args)",se=ae+": saga argument must be a Generator function!";function ce(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<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,I("sagaMiddleware",t)),O.assign(n,t)},s}var he={done:!0,value:void 0},fe={};function pe(t){return x.channel(t)?"channel":Array.isArray(t)?String(t.map(function(t){return String(t)})):String(t)}function de(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",r=void 0,i=e;function o(e,n){if(i===fe)return he;if(n)throw i=fe,n;r&&r(e);var o=t[i](),a=o[0],s=o[1],c=o[2];return i=a,r=c,i===fe?he:s}return E(o,function(t){return o(null,t)},n,!0)}function ge(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;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:Yt(e,W.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,"c",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return s}),n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("iTfj"),o="x",a="y",s={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+Object(i["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"}},c={appendPadding:2,tooltip:Object(r["a"])({},s),animation:{}}},"7s0d":function(t,e,n){"use strict";var r=n("FH2j");n.d(e,"getAdjust",function(){return r["getAdjust"]});n("Qci9");var i=n("lOPJ"),o=n("KavR"),a=n("8FoI"),s=n("96lr");n("WbAE");Object(r["registerAdjust"])("Dodge",i["a"]),Object(r["registerAdjust"])("Jitter",o["a"]),Object(r["registerAdjust"])("Stack",a["a"]),Object(r["registerAdjust"])("Symmetric",s["a"])},"88Gu":function(t,e){var n=800,r=16,i=Date.now;function o(t){var e=0,o=0;return function(){var a=i(),s=r-(a-o);if(o=a,s>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}t.exports=o},"8FoI":function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("Qci9"),a=i["Cache"],s=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=void 0===r?["y"]:r,o=e.height,a=void 0===o?NaN:o,s=e.size,c=void 0===s?10:s,l=e.reverseOrder,u=void 0!==l&&l;return n.adjustNames=i,n.height=a,n.size=c,n.reverseOrder=u,n}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=this,n=e.yField,r=e.reverseOrder,i=n?this.processStack(t):this.processOneDimStack(t);return r?this.reverse(i):i},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this,n=e.xField,o=e.yField,s=e.reverseOrder,c=s?this.reverse(t):t,l=new a,u=new a;return c.map(function(t){return t.map(function(t){var e,a=i["get"](t,n,0),s=i["get"](t,[o]),c=a.toString();if(s=i["isArray"](s)?s[1]:s,!i["isNil"](s)){var h=s>=0?l:u;h.has(c)||h.set(c,0);var f=h.get(c),p=s+f;return h.set(c,p),Object(r["a"])(Object(r["a"])({},t),(e={},e[o]=[f,p],e))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this,i=n.xField,o=n.height,s=n.reverseOrder,c="y",l=s?this.reverse(t):t,u=new a;return l.map(function(t){return t.map(function(t){var n,a=e.size,s=t[i],l=2*a/o;u.has(s)||u.set(s,l/2);var h=u.get(s);return u.set(s,h+l),Object(r["a"])(Object(r["a"])({},t),(n={},n[c]=h,n))})})},e}(o["a"]);e["a"]=s},"8vsG":function(t,e,n){"use strict";var r=n("iTfj"),i={};function o(t){return i[t]}function a(t,e){i[t]=e}var s=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){Object(r["assign"])(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return Object(r["map"])(this.ticks,function(e,n){return Object(r["isObject"])(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return Object(r["isNil"])(i)||!Object(r["isFunction"])(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){Object(r["assign"])(this,this.__cfg__),this.setDomain(),Object(r["isEmpty"])(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(r["isString"])(t)){var n=o(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else Object(r["isFunction"])(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return Object(r["head"])(this.range)},t.prototype.rangeMax=function(){return Object(r["last"])(this.range)},t.prototype.calcPercent=function(t,e,n){return Object(r["isNumber"])(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),c=s,l=n("mrSG"),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return Object(l["b"])(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;t<this.values.length;t++)this.translateIndexMap.set(this.values[t],t)}},e.prototype.translate=function(t){this.buildIndexMap();var e=this.translateIndexMap.get(t);return void 0===e&&(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,Object(l["d"])([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}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(c),h=u,f=n("F4kd"),p=function(t){return function(e,n,i,o){var a=Object(r["isNil"])(i)?0:i,s=Object(r["isNil"])(o)?e.length:o;while(a<s){var c=a+s>>>1;t(e[c])>n?s=c:a=c+1}return a}},d="format";function g(t,e){var n=f[d]||f["default"][d];return n(t,e)}function y(t){return Object(r["isString"])(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),Object(r["isDate"])(t)&&(t=t.getTime()),t}var v=1e3,m=60*v,b=60*m,x=24*b,O=31*x,j=365*x,w=[["HH:mm:ss",v],["HH:mm:ss",10*v],["HH:mm:ss",30*v],["HH:mm",m],["HH:mm",10*m],["HH:mm",30*m],["HH",b],["HH",6*b],["HH",12*b],["YYYY-MM-DD",x],["YYYY-MM-DD",4*x],["YYYY-WW",7*x],["YYYY-MM",O],["YYYY-MM",4*O],["YYYY-MM",6*O],["YYYY",380*x]];function k(t,e,n){var i=(e-t)/n,o=p(function(t){return t[1]})(w,i)-1,a=w[o];return o<0?a=w[0]:o>=w.length&&(a=Object(r["last"])(w)),a}var S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return Object(l["b"])(e,t),e.prototype.translate=function(t){t=y(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(r["isNumber"])(t)&&t<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):g(r,this.mask),r}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;Object(r["each"])(e,function(t,n){e[n]=y(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(h),C=S,M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(l["b"])(e,t),e.prototype.scale=function(t){if(Object(r["isNil"])(t))return NaN;var e=this.rangeMin(),n=this.rangeMax(),i=this.max,o=this.min;if(i===o)return e;var a=this.getScalePercent(t);return e+a*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=Object(r["head"])(e),i=Object(r["last"])(e);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),A=M,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return Object(l["b"])(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(A),E=T;function P(t,e){var n,r=Math.E;return n=e>=0?Math.pow(r,Math.log(e)/t):-1*Math.pow(r,Math.log(-e)/t),n}function _(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function L(t,e,n){Object(r["isNil"])(n)&&(n=Math.max.apply(null,t));var i=n;return Object(r["each"])(t,function(t){t>0&&t<i&&(i=t)}),i===n&&(i=n/e),i>1&&(i=1),i}var F=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return Object(l["b"])(e,t),e.prototype.invert=function(t){var e,n=this.base,r=_(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;e=_(n,a/n);var s=1/(r-e)*o;if(t<s)return t/s*a}else e=_(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=L(this.values,this.base,this.max))},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;if(t<=0)return 0;var r,i=this.base,o=this.positiveMin;return o&&(n=1*o/i),r=t<o?t/o/(_(i,e)-_(i,n)):(_(i,t)-_(i,n))/(_(i,e)-_(i,n)),r},e}(A),I=F,D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pow",e}return Object(l["b"])(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t),n=this.exponent,r=P(n,this.max),i=P(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=(P(r,t)-P(r,n))/(P(r,e)-P(r,n));return i},e}(A),B=D,R=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return Object(l["b"])(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):g(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(r["isString"])(n)||Object(r["isDate"])(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return y(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(Object(r["isNil"])(e)&&Object(r["isNumber"])(e)||(this.min=this.translate(this.min)),Object(r["isNil"])(n)&&Object(r["isNumber"])(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],o=1/0,a=o,s=0;Object(r["each"])(t,function(t){var e=y(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");o>e?(a=o,o=e):a>e&&(a=e),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}(E),N=R,z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return Object(l["b"])(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),o=Math.floor(i*(n-1));if(o>=n-1)return Object(r["last"])(e);if(o<0)return Object(r["head"])(e);var a=e[o],s=e[o+1],c=o/(n-1),l=(o+1)/(n-1);return a+(i-c)/(l-c)*(s-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(Object(r["last"])(e)!==this.max&&e.push(this.max),Object(r["head"])(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(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}(A),Y=z,G=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return Object(l["b"])(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Y),V=G,W={};function H(t){return W[t]}function X(t,e){if(H(t))throw new Error("type '"+t+"' existed.");W[t]=e}var U=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return Object(l["b"])(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(r["isNumber"])(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return t<e[0]||t>e[1]?NaN:this.values[0]},e}(c),q=U,Z=[1,5,2,2.5,4,3],K=100*Number.EPSILON;function Q(t,e){return(t%e+e)%e}function $(t,e,n,i,o,a){var s=Object(r["size"])(e),c=Object(r["indexOf"])(e,t),l=0,u=Q(i,a);return(u<K||a-u<K)&&i<=0&&o>=0&&(l=1),1-c/(s-1)-n+l}function J(t,e,n){var i=Object(r["size"])(e),o=Object(r["indexOf"])(e,t),a=1;return 1-o/(i-1)-n+a}function tt(t,e,n,r,i,o){var a=(t-1)/(o-i),s=(e-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/s,s/a)}function et(t,e){return t>=e?2-(t-1)/(e-1):1}function nt(t,e,n,r){var i=e-t;return 1-.5*(Math.pow(e-r,2)+Math.pow(t-n,2))/Math.pow(.1*i,2)}function rt(t,e,n){var r=e-t;if(n>r){var i=(n-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function it(){return 1}function ot(t,e,n,i,o,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===o&&(o=Z),void 0===a&&(a=[.25,.2,.5,.05]),"number"!==typeof t||"number"!==typeof e||!n)return{min:0,max:0,ticks:[]};if(e-t<1e-15||1===n)return{min:t,max:e,ticks:[t]};var s={score:-2,lmin:0,lmax:0,lstep:0},c=1;while(c<1/0){for(var l=0,u=o;l<u.length;l++){var h=u[l],f=J(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=et(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=rt(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 j=O*(v/c),w=j+v*(p-1),k=v,S=$(h,o,c,j,w,k),C=nt(t,e,j,w),M=tt(p,n,t,e,j,w),A=it(),T=a[0]*S+a[1]*C+a[2]*M+a[3]*A;T>s.score&&(!i||j<=t&&w>=e)&&(s.lmin=j,s.lmax=w,s.lstep=k,s.score=T)}y+=1}}p+=1}}c+=1}for(var E=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),P=[],_=s.lmin;_<=s.lmax;_+=s.lstep)P.push(_);var L=E?Object(r["map"])(P,function(t){return Number.parseFloat(t.toFixed(E))}):P;return{min:Math.min(t,Object(r["head"])(L)),max:Math.max(e,Object(r["last"])(L)),ticks:L}}function at(t){var e=t.values,n=t.tickInterval,i=t.tickCount,o=e;if(Object(r["isNumber"])(n))return Object(r["filter"])(o,function(t,e){return e%n===0});var a=t.min,s=t.max;if(Object(r["isNil"])(a)&&(a=0),Object(r["isNil"])(s)&&(s=e.length-1),Object(r["isNumber"])(i)&&i<s-a){var c=ot(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 st(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,o=new ft;return o.domain([e,n]),r&&o.nice(i),o.ticks(i)}var ct=5,lt=Math.sqrt(50),ut=Math.sqrt(10),ht=Math.sqrt(2),ft=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=ct);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],c=this._domain[a];return c<s&&(e=[c,s],s=e[0],c=e[1],n=[a,o],o=n[0],a=n[1]),r=dt(s,c,t),r>0?(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,r=dt(s,c,t)):r<0&&(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,r=dt(s,c,t)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,this.domain(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=ct),pt(this._domain[0],this._domain[this._domain.length-1],t||ct)},t}();function pt(t,e,n){var r,i,o,a,s=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=dt(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 dt(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>=lt?10:o>=ut?5:o>=ht?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=lt?10:o>=ut?5:o>=ht?2:1)}function gt(t,e,n){var r;return r="ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e),r*e}function yt(t,e,n){var i=gt(t,n,"floor"),o=gt(e,n,"ceil");i=Object(r["fixedBase"])(i,n),o=Object(r["fixedBase"])(o,n);for(var a=[],s=i;s<=o;s+=n){var c=Object(r["fixedBase"])(s,n);a.push(c)}return{min:i,max:o,ticks:a}}function vt(t,e,n){var i,o=t.minLimit,a=t.maxLimit,s=t.min,c=t.max,l=t.tickCount,u=void 0===l?5:l,h=Object(r["isNil"])(o)?Object(r["isNil"])(e)?s:e:o,f=Object(r["isNil"])(a)?Object(r["isNil"])(n)?c:n:a;if(h>f&&(i=[h,f],f=i[0],h=i[1]),u<=2)return[h,f];for(var p=(f-h)/(u-1),d=[],g=0;g<u;g++)d.push(h+p*g);return d}function mt(t){var e=t.min,n=t.max,i=t.tickInterval,o=t.minLimit,a=t.maxLimit,s=st(t);return Object(r["isNil"])(o)&&Object(r["isNil"])(a)?i?yt(e,n,i).ticks:s:vt(t,Object(r["head"])(s),Object(r["last"])(s))}function bt(t){var e=t.min,n=t.max,i=t.tickCount,o=t.nice,a=t.tickInterval,s=t.minLimit,c=t.maxLimit,l=ot(e,n,i,o).ticks;return Object(r["isNil"])(s)&&Object(r["isNil"])(c)?a?yt(e,n,a).ticks:l:vt(t,Object(r["head"])(l),Object(r["last"])(l))}function xt(t){var e,n=t.base,r=t.tickCount,i=t.min,o=t.max,a=t.values,s=_(n,o);if(i>0)e=Math.floor(_(n,i));else{var c=L(a,n,o);e=Math.floor(_(n,c))}for(var l=s-e,u=Math.ceil(l/r),h=[],f=e;f<s+u;f+=u)h.push(Math.pow(n,f));return i<=0&&h.unshift(0),h}function Ot(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 jt(t){var e=t.exponent,n=t.tickCount,r=Math.ceil(P(e,t.max)),i=Math.floor(P(e,t.min)),o=Ot(i,r,n).ticks;return o.map(function(t){var n=t>=0?1:-1;return Math.pow(t,e)*n})}function wt(t,e){var n=t.length*e;return 1===e?t[t.length-1]:0===e?t[0]:n%1!==0?t[Math.ceil(n)-1]:t.length%2===0?(t[n-1]+t[n])/2:t[n]}function kt(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],o=0;o<e;o++){var a=o/(e-1);i.push(wt(r,a))}return i}function St(t){var e=t.min,n=t.max,i=t.tickCount,o=t.tickInterval,a=t.minLimit,s=t.maxLimit,c=Ot(e,n,i).ticks;return Object(r["isNil"])(a)&&Object(r["isNil"])(s)?o?yt(e,n,o).ticks:c:vt(t,Object(r["head"])(c),Object(r["last"])(c))}function Ct(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 Mt(t){var e=at(t),n=Object(r["last"])(t.values);return n!==Object(r["last"])(e)&&e.push(n),e}function At(t){return new Date(t).getFullYear()}function Tt(t){return new Date(t,0,1).getTime()}function Et(t){return new Date(t).getMonth()}function Pt(t,e){var n=At(t),r=At(e),i=Et(t),o=Et(e);return 12*(r-n)+(o-i)%12}function _t(t,e){return new Date(t,e,1).getTime()}function Lt(t,e){return Math.ceil((e-t)/x)}function Ft(t,e){return Math.ceil((e-t)/b)}function It(t,e){return Math.ceil((e-t)/6e4)}function Dt(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=At(e);if(o>j)for(var c=At(n),l=Math.ceil(o/j),u=s;u<=c+l;u+=l)a.push(Tt(u));else if(o>O){var h=Math.ceil(o/O),f=Et(e),p=Pt(e,n);for(u=0;u<=p+h;u+=h)a.push(_t(s,u+f))}else if(o>x){var d=new Date(e),g=d.getFullYear(),y=d.getMonth(),w=d.getDate(),k=Math.ceil(o/x),S=Lt(e,n);for(u=0;u<S+k;u+=k)a.push(new Date(g,y,w+u).getTime())}else if(o>b){d=new Date(e),g=d.getFullYear(),y=d.getMonth(),k=d.getDate();var C=d.getHours(),M=Math.ceil(o/b),A=Ft(e,n);for(u=0;u<=A+M;u+=M)a.push(new Date(g,y,k,C+u).getTime())}else if(o>m){var T=It(e,n),E=Math.ceil(o/m);for(u=0;u<=T+E;u+=E)a.push(e+u*m)}else{var P=o;P<v&&(P=v);var _=Math.floor(e/v)*v,L=Math.ceil((n-e)/v),F=Math.ceil(P/v);for(u=0;u<L+F;u+=F)a.push(_+u*v)}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",at),a("time-cat",Mt),a("wilkinson-extended",bt),a("r-pretty",St),a("time",Ct),a("time-pretty",Dt),a("log",xt),a("pow",jt),a("quantile",kt),a("d3-linear",mt),n.d(e,"a",function(){return h}),n.d(e,"b",function(){return E}),n.d(e,"c",function(){return H}),X("cat",h),X("category",h),X("identity",q),X("linear",E),X("log",I),X("pow",B),X("time",N),X("timeCat",C),X("quantize",Y),X("quantile",V)},"8wmI":function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},"96lr":function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("Qci9"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["flatten"](t),n=this,o=n.xField,a=n.yField,s=this.getXValuesMaxMap(e),c=Math.max.apply(Math,Object.keys(s).map(function(t){return s[t]}));return i["map"](t,function(t){return i["map"](t,function(t){var e,n,l=t[a],u=t[o];if(i["isArray"](l)){var h=(c-s[u])/2;return Object(r["a"])(Object(r["a"])({},t),(e={},e[a]=i["map"](l,function(t){return h+t}),e))}var f=(c-l)/2;return Object(r["a"])(Object(r["a"])({},t),(n={},n[a]=[f,l+f],n))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this,r=n.xField,o=n.yField,a=i["groupBy"](t,function(t){return t[r]});return i["mapValues"](a,function(t){return e.getDimMaxValue(t,o)})},e.prototype.getDimMaxValue=function(t,e){var n=i["map"](t,function(t){return i["get"](t,e,[])}),r=i["flatten"](n);return Math.max.apply(Math,r)},e}(o["a"]);e["a"]=a},"9B5s":function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return s});var r=n("iTfj"),i=n("w+x+");function o(t){return t.map(function(e,n){var r;return r={},r[i["g"]]=e-(t[n-1]||0),r[i["f"]]=""+n,r}).filter(function(t){return!!t[i["g"]]})}function a(t){var e;return[(e={},e[i["e"]]=Object(r["clamp"])(t,0,1),e)]}function s(t,e){var n=Object(r["get"])(e,["ticks"],[]),i=Object(r["size"])(n)?n:[0,Object(r["clamp"])(t,0,1),1];return o(i)}},"9Nap":function(t,e,n){var r=n("/9aa"),i=1/0;function o(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}t.exports=o},"9eUa":function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return p}),n.d(e,"e",function(){return y}),n.d(e,"h",function(){return v}),n.d(e,"f",function(){return b}),n.d(e,"g",function(){return x});var r=n("iTfj"),i=n("r0DC"),o=n("nCnq"),a=n("cyZq"),s=n("nycV"),c={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function l(t,e){var n=e.attr();for(var o in n){var a=n[o],s=c[o]?c[o]:o;"matrix"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):"lineDash"===s&&t.setLineDash?Object(r["isArray"])(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=Object(i["b"])(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}}function u(t,e,n){for(var r=0;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,j=b.rx,w=b.ry,k=b.startAngle,S=b.endAngle,C=b.xRotation,M=b.sweepFlag;if(e.ellipse)e.ellipse(x,O,j,w,C,k,S,1-M);else{var A=j>w?j:w,T=j>w?1:j/w,E=j>w?w/j:1;e.translate(x,O),e.rotate(C),e.scale(T,E),e.arc(0,0,A,k,S,1-M),e.scale(1/T,1/E),e.rotate(-C),e.translate(-x,-O)}break;case"Z":e.closePath();break;default:break}if("Z"===d)l=u;else{var P=p.length;l=[p[P-2],p[P-1]]}}}}function v(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),t.cfg.parent&&t.cfg.parent.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))}function m(t){var e;if(t.destroyed)e=t["_cacheCanvasBBox"];else{var n=t.get("cacheCanvasBBox"),r=n&&!(!n.width||!n.height),i=t.getCanvasBBox(),o=i&&!(!i.width||!i.height);r&&o?e=Object(a["l"])(n,i):r?e=n:o&&(e=i)}return e}function b(t){if(!t.length)return null;var e=[],n=[],i=[],o=[];return Object(r["each"])(t,function(t){var r=m(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),o.push(r.maxY))}),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,i),maxY:Math.max.apply(null,o)}}function x(t,e){return t&&e&&Object(a["f"])(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},"9ggG":function(t,e,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}t.exports=s},AA7f:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<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)}},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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function j(t){return O[t]}function w(t){return b.test(t)?t.replace(x,j):t}var k=/[.?*+^$[\]\\(){}|-]/g;function S(t){return t.replace(k,"\\$&")}function C(t){switch(t){case 9:case 32:return!0}return!1}function M(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var A=n("fKCf");function T(t){return A.test(t)}function E(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function P(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=n("2KYT"),e.lib.ucmicro=n("1dGX"),e.assign=s,e.isString=i,e.has=a,e.unescapeMd=v,e.unescapeAll=m,e.isValidEntityCode=l,e.fromCodePoint=u,e.escapeHtml=w,e.arrayReplaceAt=c,e.isSpace=C,e.isWhiteSpace=M,e.isMdAsciiPunct=E,e.isPunctChar=T,e.escapeRE=S,e.normalizeReference=P},AP2z:function(t,e,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=c},APlK:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a});var r=n("c+wO");function i(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var o=e.find("filter",i);o||(o=e.addShadow(i)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")}function o(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);r=r.join(","),-1===r.indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}}function a(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){Object(r["a"])(n),n.createPath(e);var o=e.addClip(n);i.setAttribute("clip-path","url(#"+o+")")}}else i.removeAttribute("clip-path")}},B0vJ:function(t,e){},B1jb:function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(l),35!==o||l>=u)return!1;a=1,o=t.src.charCodeAt(++l);while(35===o&&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){},B3DA:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("iTfj"),i=n("F/eT");function o(t){var e=Object(r["clamp"])(Object(i["b"])(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},B8du:function(t,e){function n(){return!1}t.exports=n},BYeR:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa");function l(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,o=t.targetField,a=t.layout,s=[],c=[];e.forEach(function(t,e){var a;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,o){var a,c=0===o?r:t[i][o]-t[i][o-1];s.push((a={rKey:i+"_"+o},a[n]=n?t[n]:String(e),a[i]=c,a))}),t[r].forEach(function(i,o){var a;s.push((a={mKey:t[r].length>1?r+"_"+o:""+r},a[n]=n?t[n]:String(e),a[r]=i,a))}),s.push((a={tKey:""+o},a[n]=n?t[n]:String(e),a[o]=t[o],a)),c.push(t[i],t[r],t[o])});var l=Math.min.apply(Math,c.flat(1/0)),u=Math.max.apply(Math,c.flat(1/0));return l=l>0?0:l,"vertical"===a&&s.reverse(),{min:l,max:u,ds:s}}function u(t){var e=t.chart,n=t.options,i=n.bulletStyle,s=n.targetField,u=n.rangeField,h=n.measureField,f=n.xField,p=n.color,d=n.layout,g=n.size,y=n.label,v=l(n),m=v.min,b=v.max,x=v.ds;e.data(x);var O=Object(o["b"])({},t,{options:{xField:f,yField:u,seriesField:"rKey",isStack:!0,label:Object(a["get"])(y,"range"),interval:{color:Object(a["get"])(p,"range"),style:Object(a["get"])(i,"range"),size:Object(a["get"])(g,"range")}}});Object(c["c"])(O),e.geometries[0].tooltip(!1);var j=Object(o["b"])({},t,{options:{xField:f,yField:h,seriesField:"mKey",isStack:!0,label:Object(a["get"])(y,"measure"),interval:{color:Object(a["get"])(p,"measure"),style:Object(a["get"])(i,"measure"),size:Object(a["get"])(g,"measure")}}});Object(c["c"])(j);var w=Object(o["b"])({},t,{options:{xField:f,yField:s,seriesField:"tKey",label:Object(a["get"])(y,"target"),point:{color:Object(a["get"])(p,"target"),style:Object(a["get"])(i,"target"),size:Object(a["get"])(g,"target")/2,shape:"horizontal"===d?"line":"hyphen"}}});return Object(c["e"])(w),"horizontal"===d&&e.coordinate().transpose(),Object(r["a"])(Object(r["a"])({},t),{ext:{data:{min:m,max:b}}})}function h(t){var e,n,r=t.options,i=t.ext,a=r.xAxis,c=r.yAxis,l=r.targetField,u=r.rangeField,h=r.measureField,f=r.xField,p=i.data;return Object(o["e"])(Object(s["f"])((e={},e[f]=a,e[h]=c,e),(n={},n[h]={min:null===p||void 0===p?void 0:p.min,max:null===p||void 0===p?void 0:p.max},n[l]={sync:""+h},n[u]={sync:""+h},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.measureField,s=n.rangeField,c=n.targetField;return e.axis(""+s,!1),e.axis(""+c,!1),!1===r?e.axis(""+o,!1):e.axis(""+o,r),!1===i?e.axis(""+a,!1):e.axis(""+a,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend;return e.removeInteraction("legend-filter"),e.legend(r),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function d(t){var e=t.chart,n=t.options,i=n.label,s=n.measureField,c=n.targetField,l=n.rangeField,u=e.geometries,h=u[0],f=u[1],p=u[2];return Object(a["get"])(i,"range")?h.label(""+l,Object(r["a"])({layout:[{type:"limit-in-plot"}]},Object(o["r"])(i.range))):h.label(!1),Object(a["get"])(i,"measure")?f.label(""+s,Object(r["a"])({layout:[{type:"limit-in-plot"}]},Object(o["r"])(i.measure))):f.label(!1),Object(a["get"])(i,"target")?p.label(""+c,Object(r["a"])({layout:[{type:"limit-in-plot"}]},Object(o["r"])(i.target))):p.label(!1),t}function g(t){Object(o["e"])(u,h,f,p,s["j"],d,s["k"],s["c"],s["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bullet",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=l(this.options),n=e.min,r=e.max,i=e.ds;h({options:this.options,ext:{data:{min:n,max:r}},chart:this.chart}),this.chart.changeData(i)},e.prototype.getSchemaAdaptor=function(){return g},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})}})(i["b"])},BgvD:function(t,e,n){"use strict";var r=n("iTfj"),i="\u2026";function o(t){for(var e=0,n=0;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 f}),n.d(e,"a",function(){return d});var c="\u2026",l=2,u=400;function h(t){for(var e=t.map(function(t){var e=t.attr("text");return Object(r["isNil"])(e)?"":""+e}),n=0,i=0,o=0;o<e.length;o+=1){for(var a=0,s=0;s<=e[o].length;s+=1){var c=e[o].charCodeAt(s);a+=c>=19968&&c<=40869?2:1}a>n&&(n=a,i=o)}return t[i].getBBox().width}function f(t){if(t.length>u)return h(t);var e=0;return Object(r["each"])(t,function(t){var n=t.getBBox(),r=n.width;e<r&&(e=r)}),e}function p(t,e){var n=e.getCanvasBBox();return t?n.width:n.height}function d(t,e,n,r){void 0===r&&(r="tail");var i=e.attr("text"),a=p(t,e),u=o(i),h=!1;if(n<a){var f=Math.floor(n/a*u)-l,d=void 0;d=f>=0?s(i,f,r):c,d&&(e.attr("text",d),h=!0)}return h?e.set("tip",i):e.set("tip",null),h}},BwSJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj");function s(t,e){var n=Math.floor(t/e);return[e*n,e*(n+1)]}function c(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function l(t,e,n,r,i){var o=Object(a["clone"])(t);Object(a["sortBy"])(o,e);var l=Object(a["valuesOfKey"])(o,e),u=Object(a["getRange"])(l),h=u.max-u.min,f=n;if(!n&&r&&(f=h/r),!n&&!r){var p=c(l);f=h/p}var d={},g=Object(a["groupBy"])(o,i);Object(a["isEmpty"])(g)?Object(a["each"])(o,function(t){var n=t[e],r=s(n,f),i=r[0]+"-"+r[1];Object(a["hasKey"])(d,i)||(d[i]={range:r,count:0}),d[i].count+=1}):Object.keys(g).forEach(function(t){Object(a["each"])(g[t],function(n){var r=n[e],o=s(r,f),c=o[0]+"-"+o[1],l=c+"-"+t;Object(a["hasKey"])(d,l)||(d[l]={range:o,count:0},d[l][i]=t),d[l].count+=1})});var y=[];return Object(a["each"])(d,function(t){y.push(t)}),y}var u=n("w02o"),h=n("tKoa");function f(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,s=n.binWidth,c=n.color,u=n.stackField,f=n.legend,p=n.columnStyle,d=l(r,i,s,a,u);e.data(d);var g=Object(o["b"])({},t,{options:{xField:"range",yField:"count",seriesField:u,isStack:!0,interval:{color:c,style:p}}});return Object(h["c"])(g),f&&u&&e.legend(u,f),t}function p(t){var e=t.options,n=e.xAxis,r=e.yAxis;return Object(o["e"])(Object(u["f"])({range:n,count:r}))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis("range",!1):e.axis("range",r),!1===i?e.axis("count",!1):e.axis("count",i),t}function g(t){var e=t.chart,n=t.options,i=n.label,a=Object(o["c"])(e,"interval");if(i){var s=i.callback,c=Object(r["c"])(i,["callback"]);a.label({fields:["count"],callback:s,cfg:Object(o["r"])(c)})}else a.label(!1);return t}function y(t){return Object(o["e"])(f,p,d,u["j"],u["i"],g,u["k"],u["c"],u["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="histogram",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.binField,r=e.binNumber,i=e.binWidth,o=e.stackField;this.chart.changeData(l(t,n,i,r,o))},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return y}})(i["b"])},CK61:function(t,e,n){"use strict";var r=n("AGgm"),i=n("Vlv/"),o=n("fMI+"),a=n("qRUV"),s=n("dpam"),c=n("TLR5"),l=n("+80P"),u=n("2KYT"),h=n("GYWy"),f={default:n("ijE+"),zero:n("HKru"),commonmark:n("Qo0+")},p=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function g(t){var e=t.trim().toLowerCase();return!p.test(e)||!!d.test(e)}var y=["http:","https:","mailto:"];function v(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||y.indexOf(e.protocol)>=0))try{e.hostname=h.toASCII(e.hostname)}catch(t){}return u.encode(u.format(e))}function m(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||y.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(t){}return u.decode(u.format(e),u.decode.defaultChars+"%")}function b(t,e){if(!(this instanceof b))return new b(t,e);e||r.isString(t)||(e=t||{},t="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new l,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=m,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),e&&this.set(e)}b.prototype.set=function(t){return r.assign(this.options,t),this},b.prototype.configure=function(t){var e,n=this;if(r.isString(t)&&(e=t,t=f[e],!t))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},b.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},b.prototype.parse=function(t,e){if("string"!==typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},b.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},b.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=b},CWsV:function(t,e,n){"use strict";function r(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(t){var e,n,r;if(!this.attrs)return-1;for(e=this.attrs,n=0,r=e.length;n<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=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var t=new r("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},s.prototype.push=function(t,e,n){this.pending&&this.pushPending();var i=new r(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(t,e){var n,r,s,c,l,u,h,f,p,d=t,g=!0,y=!0,v=this.posMax,m=this.src.charCodeAt(t);n=t>0?this.src.charCodeAt(t-1):32;while(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("mrSG"),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("kXyF"),o=n("zJSt"),a=n("TZmy"),s=n("PLvT"),c=n("iIqE"),l=n("iTfj"),u=n("qaDU"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getActiveElements=function(){var t=i["f"].getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,o=n.get("field");if(o){var a=e.geometries[0].elements;return a.filter(function(t){return t.getModel().data[o]===r.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements(),n=t.geometries[0].labelsContainer.getChildren();return n.filter(function(t){return e.find(function(e){return Object(l["isEqual"])(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var o=n[r],a=e.geometry.coordinate;if(a.isPolar&&a.isTransposed){var s=i["f"].getAngle(e.getModel(),a),c=s.startAngle,l=s.endAngle,h=(c+l)/2,f=t,p=f*Math.cos(h),d=f*Math.sin(h);e.shape.setMatrix(Object(u["a"])([["t",p,d]])),o.setMatrix(Object(u["a"])([["t",p,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i["a"]),f=n("mj6g"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getAnnotations=function(t){var e=t||this.context.view;return e.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(){var t=this.context,e=t.view,n=t.event,o=this.getAnnotations();this.initialAnnotation||(this.initialAnnotation=o);var a=((null===n||void 0===n?void 0:n.data)||{}).data;if(n.type.match("legend-item")){var s=i["f"].getDelegationObject(this.context),c=e.getGroupedFields()[0];if(s&&c){var u=s.item;a=e.getData().find(function(t){return t[c]===u.value})}}if(a){var h=e.getController("annotation");h.clear(!0);var p=e.getScaleFields(),d=p[1],g=p[2],y=e.getScaleByField(d),v=e.getScaleByField(g),m=o.filter(function(t){return!Object(l["get"])(t,"key","").match("statistic")}),b=o.filter(function(t){return Object(l["get"])(t,"key","").match("statistic")}),x=b.filter(function(t){return"top-statistic"===t.key}),O=b.filter(function(t){return"bottom-statistic"===t.key});Object(l["each"])(b,function(t){var n,i;"top-statistic"===t.key?(n=v?v.getText(a[g]):null,i=O?"translate(-50%, -100%)":"translate(-50%, -50%)"):(n=y?y.getText(a[d]):a[d],i=x?"translate(-50%, 0)":"translate(-50%,-50%)"),m.push(Object(r["a"])(Object(r["a"])({},t),{html:function(e,o){var s=o.getCoordinate(),c=s.getRadius()*s.innerRadius*2,u=Object(l["isFunction"])(t.style)?t.style():t.style;Object(f["d"])(e,Object(r["a"])({width:c+"px",transform:i},Object(f["a"])(u)));var h=o.getData();return t.customHtml?t.customHtml(e,o,a,h):(t.formatter&&(n=t.formatter(a,h)),n?Object(l["isString"])(n)?n:""+n:"<div></div>")}})),m.forEach(function(t){h.annotation(t)}),e.render(!0)})}},e.prototype.reset=function(){var t=this.context.view,e=t.getController("annotation");e.clear(!0);var n=this.getInitialAnnotation();Object(l["each"])(n,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(i["a"]);Object(i["i"])("pie-statistic",p),Object(i["k"])("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Object(i["i"])("pie-legend",h),Object(i["k"])("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]}),n.d(e,"a",function(){return d});var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return s["a"]},e.prototype.changeData=function(t){this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=Object(c["d"])(e.data,n),o=Object(c["d"])(t,n);Object(c["c"])(r,n)||Object(c["c"])(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),Object(a["b"])({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(o["b"])},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");function o(t,e){var n=i(t,e);return r(n)?n:void 0}t.exports=o},CxXe:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return C}),n.d(e,"d",function(){return _}),n.d(e,"e",function(){return v}),n.d(e,"f",function(){return N}),n.d(e,"g",function(){return z}),n.d(e,"h",function(){return y}),n.d(e,"i",function(){return S}),n.d(e,"j",function(){return P}),n.d(e,"k",function(){return V}),n.d(e,"l",function(){return W}),n.d(e,"m",function(){return H}),n.d(e,"n",function(){return X}),n.d(e,"o",function(){return Y});var r=n("ohPV"),i=n("q1tI"),o=n.n(i),a=(n("17x9"),n("g0MP")),s=n("8ifW"),c=n("9R94"),l=n("EVqI"),u=n("bALw"),h=n.n(u),f=(n("TOwV"),n("MWgS")),p=n("2mql"),d=n.n(p),g=function(t){var e=Object(s["a"])();return e.displayName=t,e},y=g("Router"),v=function(t){function e(e){var n;return n=t.call(this,e)||this,n.state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen(function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t})),n}Object(r["a"])(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(y.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},e}(o.a.Component);var m=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;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={},j=1e4,w=0;function k(t){if(O[t])return O[t];var e=h.a.compile(t);return w<j&&(O[t]=e,w++),e}function S(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:k(t)(e,{pretty:!0})}function C(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={},A=1e4,T=0;function E(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 T<A&&(r[t]=a,T++),a}function P(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=E(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 _=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?P(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 F(t,e){return t?Object(l["a"])({},e,{pathname:L(t)+e.pathname}):e}function I(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=F(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:I(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 z=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?P(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 Y(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 W(){return G(y).location}function H(){var t=G(y).match;return t?t.params:{}}function X(t){return t?P(W().pathname,t):G(y).match}},DMQx:function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("w02o"),a=n("iTfj"),s=n("kXyF"),c=n("5OoT");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["a"]}},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,j=x.getBBox().width;if(j>O){var w=j/v.length,k=Math.max(1,Math.ceil(O/w)-1),S=v.slice(0,k)+"...";x.attr("text",S)}}}}function p(t,e,n){h(t,e,n),f(t,e,n)}function d(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!1),function(r){var o=r.options,c=r.chart,u=o.conversionTag,h=o.theme;return u&&!n&&(c.theme(Object(i["b"])({},Object(a["isObject"])(h)?h:Object(s["h"])(h),{columnWidthRatio:1/3})),c.annotation().shape({render:function(n,r){var i=n.addGroup({id:c.id+"-conversion-tag-group",name:"conversion-tag-group"}),o=Object(a["find"])(c.geometries,function(t){return"interval"===t.type}),s={view:r,geometry:o,group:i,field:t,horizontal:e,options:l(u,e)},h=e?o.elements:o.elements.slice().reverse();Object(a["each"])(h,function(t,e){e>0&&p(s,h[e-1],t)})}})),r}}var g={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"};function y(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options,i=r.connectedArea,o=function(){n.removeInteraction(g.hover),n.removeInteraction(g.click)};if(!t&&i){var a=i.trigger||"hover";o(),n.interaction(g[a])}else o();return e}}Object(s["k"])(g.hover,{start:[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"]}],end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),Object(s["k"])(g.click,{start:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"]}],end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]});var v=n("tKoa"),m=n("sqD9"),b=n("DyAw");function x(t){var e=t.options,n=e.legend,i=e.seriesField,o=e.isStack;return i?!1!==n&&(n=Object(r["a"])({position:o?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function O(t){var e=t.chart,n=t.options,o=n.data,a=n.columnStyle,s=n.color,c=n.columnWidthRatio,l=n.isPercent,u=n.xField,h=n.yField,f=n.seriesField,p=n.tooltip;e.data(Object(m["a"])(o,h,u,h,l));var d=l?Object(r["a"])({formatter:function(t){return{name:t[f]||t[u],value:(100*Number(t[h])).toFixed(2)+"%"}}},p):p,g=Object(i["b"])({},t,{options:{widthRatio:c,tooltip:d,interval:{style:a,color:s}}});return Object(v["c"])(g),t}function j(t){var e,n,a=t.options,s=a.xAxis,c=a.yAxis,l=a.xField,u=a.yField,h=a.data,f=a.isPercent,p=f?{max:1,min:0,minLimit:0,maxLimit:1}:{};return Object(i["e"])(Object(o["f"])((e={},e[l]=s,e[u]=c,e),(n={},n[l]={type:"cat"},n[u]=Object(r["a"])(Object(r["a"])({},Object(b["a"])(h,u)),p),n)))(t)}function w(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function k(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function S(t){var e=t.chart,n=t.options,o=n.label,a=n.yField,s=n.isRange,c=Object(i["c"])(e,"interval");if(o){var l=o.callback,u=Object(r["c"])(o,["callback"]);c.label({fields:[a],callback:l,cfg:Object(r["a"])({layout:(null===u||void 0===u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(i["r"])(s?Object(r["a"])({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else c.label(!1);return t}function C(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return Object(i["e"])(x,o["j"],o["i"],O,j,w,k,o["k"],o["h"],o["g"],S,o["c"],o["a"],Object(o["b"])(),d(n.yField,!e,!!r),y(!n.isStack),o["e"])(t)}n.d(e,"b",function(){return j}),n.d(e,"a",function(){return C})},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o,c=s?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(this,n("YuTi")(t))},Djfg:function(t,e,n){"use strict";n("XiRp"),n("h4/5"),n("N9hJ"),n("3T7b"),n("B0vJ"),n("B2d+")},DyAw:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=n("iTfj");function i(t,e){var n=t.filter(function(t){var n=Object(r["get"])(t,[e]);return Object(r["isNumber"])(n)&&!isNaN(n)}),i=n.every(function(t){return Object(r["get"])(t,[e])>=0}),o=n.every(function(t){return Object(r["get"])(t,[e])<=0});return i?{min:0}:o?{max:0}:{}}function o(t,e,n,r){if(!Array.isArray(t))return{nodes:[],links:[]};var i=[],o={},a=-1;return t.forEach(function(t){var s=t[e],c=t[n],l=t[r];o[s]||(o[s]={id:++a,name:s}),o[c]||(o[c]={id:++a,name:c}),i.push({source:o[s].id,target:o[c].id,value:l})}),{nodes:Object.values(o),links:i}}},E2jh:function(t,e,n){var r=n("2gN3"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!i&&i in t}t.exports=o},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");function a(t,e){return o(i(t,e,r),t+"")}t.exports=a},EYNi:function(t,e,n){"use strict";var r={};function i(t){return Math.min.apply(null,t)}function o(t){return Math.max.apply(null,t)}function a(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function s(t,e){return Math.abs(t-e)<.001}function c(t,e){var n=i(t),r=i(e),a=o(t),s=o(e);return{x:n,y:r,width:a-n,height:s-r}}function l(t,e,n,r){return{minX:i([t,n]),maxX:o([t,n]),minY:i([e,r]),maxY:o([e,r])}}function u(t){return(t+2*Math.PI)%(2*Math.PI)}n.r(r),n.d(r,"distance",function(){return a}),n.d(r,"isNumberEqual",function(){return s}),n.d(r,"getBBoxByArray",function(){return c}),n.d(r,"getBBoxRange",function(){return l}),n.d(r,"piMod",function(){return u});var h=n("ZxFD"),f={box:function(t,e,n,r){return c([t,n],[e,r])},length:function(t,e,n,r){return a(t,e,n,r)},pointAt:function(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}},pointDistance:function(t,e,n,r,i,o){var s=(n-t)*(i-t)+(r-e)*(o-e);if(s<0)return a(t,e,i,o);var c=(n-t)*(n-t)+(r-e)*(r-e);return s>c?a(n,r,i,o):this.pointToLine(t,e,n,r,i,o)},pointToLine:function(t,e,n,r,i,o){var a=[n-t,r-e];if(h["exactEquals"](a,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var s=[-a[1],a[0]];h["normalize"](s,s);var c=[i-t,o-e];return Math.abs(h["dot"](c,s))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}},p=1e-4;function d(t,e,n,r,i,o){var s,c=1/0,l=[n,r],u=20;o&&o>200&&(u=o/10);for(var h=1/u,f=h/10,d=0;d<=u;d++){var g=d*h,y=[i.apply(null,t.concat([g])),i.apply(null,e.concat([g]))],v=a(l[0],l[1],y[0],y[1]);v<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]))],j=a(l[0],l[1],O[0],O[1]);x<=1&&j<c?(s=x,c=j):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 j(t,e,n,r,i){var o=1-i;return o*o*o*t+3*e*i*o*o+3*n*i*i*o+r*i*i*i}function w(t,e,n,r,i){var o=1-i;return 3*(o*o*(e-t)+2*o*i*(n-e)+i*i*(r-n))}function k(t,e,n,r){var i,o,a,c=-3*t+9*e-9*n+3*r,l=6*t-12*e+6*n,u=3*e-3*t,h=[];if(s(c,0))s(l,0)||(i=-u/l,i>=0&&i<=1&&h.push(i));else{var f=l*l-4*c*u;s(f,0)?h.push(-l/(2*c)):f>0&&(a=Math.sqrt(f),i=(-l+a)/(2*c),o=(-l-a)/(2*c),i>=0&&i<=1&&h.push(i),o>=0&&o<=1&&h.push(o))}return h}function S(t,e,n,r,i,o,a,s,c){var l=j(t,n,i,a,c),u=j(e,r,o,s,c),h=f.pointAt(t,e,n,r,c),p=f.pointAt(n,r,i,o,c),d=f.pointAt(i,o,a,s,c),g=f.pointAt(h.x,h.y,p.x,p.y,c),y=f.pointAt(p.x,p.y,d.x,d.y,c);return[[t,e,h.x,h.y,g.x,g.y,l,u],[l,u,y.x,y.y,d.x,d.y,a,s]]}function C(t,e,n,r,i,o,a,s,c){if(0===c)return g([t,n,i,a],[e,r,o,s]);var l=S(t,e,n,r,i,o,a,s,.5),u=l[0],h=l[1];return u.push(c-1),h.push(c-1),C.apply(null,u)+C.apply(null,h)}var M={extrema:k,box:function(t,e,n,r,i,o,a,s){for(var l=[t,a],u=[e,s],h=k(t,n,i,a),f=k(e,r,o,s),p=0;p<h.length;p++)l.push(j(t,n,i,a,h[p]));for(p=0;p<f.length;p++)u.push(j(e,r,o,s,f[p]));return c(l,u)},length:function(t,e,n,r,i,o,a,s){return C(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,j,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:j,pointAt:function(t,e,n,r,i,o,a,s,c){return{x:j(t,n,i,a,c),y:j(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=w(t,n,i,a,c),h=w(e,r,o,s,c);return u(Math.atan2(h,l))}};function A(t,e){var n=Math.abs(t);return e>0?n:-1*n}var T={box:function(t,e,n,r){return{x:t-n,y:e-r,width:2*n,height:2*r}},length:function(t,e,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(t,e,n,r,i,o){var a=n,s=r;if(0===a||0===s)return{x:t,y:e};for(var c,l,u=i-t,h=o-e,f=Math.abs(u),p=Math.abs(h),d=a*a,g=s*s,y=Math.PI/4,v=0;v<4;v++){c=a*Math.cos(y),l=s*Math.sin(y);var m=(d-g)*Math.pow(Math.cos(y),3)/a,b=(g-d)*Math.pow(Math.sin(y),3)/s,x=c-m,O=l-b,j=f-m,w=p-b,k=Math.hypot(O,x),S=Math.hypot(w,j),C=k*Math.asin((x*w-O*j)/(k*S)),M=C/Math.sqrt(d+g-c*c-l*l);y+=M,y=Math.min(Math.PI/2,Math.max(0,y))}return{x:t+A(c,u),y:e+A(l,h)}},pointDistance:function(t,e,n,r,i,o){var s=this.nearestPoint(t,e,n,r,i,o);return a(s.x,s.y,i,o)},pointAt:function(t,e,n,r,i){var o=2*Math.PI*i;return{x:t+n*Math.cos(o),y:e+r*Math.sin(o)}},tangentAngle:function(t,e,n,r,i){var o=2*Math.PI*i,a=Math.atan2(r*Math.cos(o),-n*Math.sin(o));return u(a)}};function E(t,e,n,r,i,o,a,s){return-1*n*Math.cos(i)*Math.sin(s)-r*Math.sin(i)*Math.cos(s)}function P(t,e,n,r,i,o,a,s){return-1*n*Math.sin(i)*Math.sin(s)+r*Math.cos(i)*Math.cos(s)}function _(t,e,n){return Math.atan(-e/t*Math.tan(n))}function L(t,e,n){return Math.atan(e/(t*Math.tan(n)))}function F(t,e,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+t}function I(t,e,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+e}function D(t,e,n,r){var i=Math.atan2(r*t,n*e);return(i+2*Math.PI)%(2*Math.PI)}function B(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function R(t,e,n){var r=Math.cos(n),i=Math.sin(n);return[t*r-e*i,t*i+e*r]}var N={box:function(t,e,n,r,i,o,a){for(var s=_(n,r,i),c=1/0,l=-1/0,u=[o,a],h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var f=s+h;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=F(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=I(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=T.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:F(t,e,n,r,i,c),y:I(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o,l=E(t,e,n,r,i,o,a,c),h=P(t,e,n,r,i,o,a,c);return u(Math.atan2(h,l))}};function z(t){for(var e=0,n=[],r=0;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 Y(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=z(t),r=n.segments,i=n.totalLength;if(0===i)return{x:t[0][0],y:t[0][1]};for(var o=0,a=null,s=0;s<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=z(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 W(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 H={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 Y(t)},pointAt:function(t,e){return G(t,e)},pointDistance:function(t,e,n){return W(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 H}),n.d(e,"f",function(){return r})},EkMX:function(t,e,n){"use strict";var r=n("mrSG"),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 j=Object(h["a"])(i[c]||g,o[c]||g),w=j(n);r[c]=w}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,j=0,w=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function k(t,e,n){n.name=e,n.target=t,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}function S(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),t.isCanvas()&&i)return;if(r&&Object(a["g"])(t,r))return void(n.bubbles=!1);n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}var C=function(){function t(t){var e=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(t){var n=t.type;e._triggerEvent(n,t)},this._onDocumentMove=function(t){var n=e.canvas,r=n.get("el");if(r!==t.target&&(e.dragging||e.currentShape)){var i=e._getPointInfo(t);e.dragging&&e._emitEvent("drag",t,i,e.draggingShape)}},this._onDocumentMouseUp=function(t){var n=e.canvas,r=n.get("el");if(r!==t.target&&e.dragging){var i=e._getPointInfo(t);e.draggingShape&&e._emitEvent("drop",t,i,null),e._emitEvent("dragend",t,i,e.draggingShape),e._afterDrag(e.draggingShape,i,t)}},this.canvas=t.canvas}return t.prototype.init=function(){this._bindEvents()},t.prototype._bindEvents=function(){var t=this,e=this.canvas.get("el");Object(a["a"])(w,function(n){e.addEventListener(n,t._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._clearEvents=function(){var t=this,e=this.canvas.get("el");Object(a["a"])(w,function(n){e.removeEventListener(n,t._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._getEventObj=function(t,e,n,r,i,o){var a=new x["a"](t,e);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},t.prototype._getShape=function(t,e){return this.canvas.getShape(t.x,t.y,e)},t.prototype._getPointInfo=function(t){var e=this.canvas,n=e.getClientByEvent(t),r=e.getPointByEvent(t);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},t.prototype._triggerEvent=function(t,e){var n=this._getPointInfo(e),r=this._getShape(n,e),i=this["_on"+t],o=!1;if(i)i.call(this,n,r,e);else{var a=this.currentShape;"mouseenter"===t||"dragenter"===t||"mouseover"===t?(this._emitEvent(t,e,n,null,null,r),r&&this._emitEvent(t,e,n,r,null,r),"mouseenter"===t&&this.draggingShape&&this._emitEvent("dragenter",e,n,null)):"mouseleave"===t||"dragleave"===t||"mouseout"===t?(o=!0,a&&this._emitEvent(t,e,n,a,a,null),this._emitEvent(t,e,n,null,a,null),"mouseleave"===t&&this.draggingShape&&this._emitEvent("dragleave",e,n,null)):this._emitEvent(t,e,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas,c=s.get("el");c.style.cursor=r.attr("cursor")||s.get("cursor")}},t.prototype._onmousedown=function(t,e,n){n.button===j&&(this.mousedownShape=e,this.mousedownPoint=t,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,t,e,null,null)},t.prototype._emitMouseoverEvents=function(t,e,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",t,e,n,n,r),this._emitEvent("mouseleave",t,e,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",t,e,r,n,r),this._emitEvent("mouseenter",t,e,r,n,r)))},t.prototype._emitDragoverEvents=function(t,e,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",t,e,n,n,r),this._emitEvent("dragenter",t,e,r,n,r)),i||this._emitEvent("dragover",t,e,r)):n&&this._emitEvent("dragleave",t,e,n,n,r),i&&this._emitEvent("dragover",t,e,r)},t.prototype._afterDrag=function(t,e,n){t&&(t.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(e,n);r!==t&&this._emitMouseoverEvents(n,e,t,r),this.currentShape=r},t.prototype._onmouseup=function(t,e,n){if(n.button===j){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,t,e),this._emitEvent("dragend",n,t,r),this._afterDrag(r,t,n)):(this._emitEvent("mouseup",n,t,e),e===this.mousedownShape&&this._emitEvent("click",n,t,e),this.mousedownShape=null,this.mousedownPoint=null)}},t.prototype._ondragover=function(t,e,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,t,r,e,!0)},t.prototype._onmousemove=function(t,e,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,t,i,e,!1),this._emitEvent("drag",n,t,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,c=n.timeStamp,l=c-this.mousedownTimeStamp,u=a.clientX-t.clientX,h=a.clientY-t.clientY,f=u*u+h*h;l>120||f>O?s&&s.get("draggable")?(o=this.mousedownShape,o.set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,t,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var a=this._getEventObj(t,e,n,r,i,o);if(r){a.shape=r,k(r,t,a);var s=r.getParent();while(s)s.emitDelegation(t,a),a.propagationStopped||S(s,t,a),a.propagationPath.push(s),s=s.getParent()}else{var c=this.canvas;k(c,t,a)}},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}(),M=C,A="px",T=Object(i["a"])(),E=T&&"firefox"===T.name,P=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["cursor"]="default",e["supportCSSTransform"]=!1,e},e.prototype.initContainer=function(){var t=this.get("container");Object(a["h"])(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t);var e=this.get("container");e.appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new M({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new b(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");a["c"]&&(n.style.width=t+A,n.style.height=e+A)},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");a["c"]&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){var e=this.get("supportCSSTransform");if(e){if(E&&!Object(a["e"])(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!Object(a["e"])(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),r=n.x,i=n.y;return this.getPointByClient(r,i)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect();return{x:t-r.left,y:e-r.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect();return{x:t+r.left,y:e+r.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){var t=this.get("eventController");t.destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(o["a"]);e["a"]=P},EpBk:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},ExA7:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},"F/eT":function(t,e,n){"use strict";function r(t){return"number"===typeof t&&!isNaN(t)}function i(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i})},FAXy:function(t,e,n){"use strict";var r=n("mrSG"),i=n("kXyF"),o=n("zJSt"),a=n("iTfj"),s=n("w02o"),c=n("YuPD"),l=n("tKoa"),u="liquid";function h(t){return[{percent:t,type:u}]}function f(t){var e=t.chart,n=t.options,r=n.percent,i=n.color,o=n.liquidStyle,a=n.radius,s=n.outline,u=n.wave,f=n.shape;e.scale({percent:{min:0,max:1}}),e.data(h(r));var p=Object(c["b"])({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:i,style:o,shape:"liquid-fill-gauge"}}}),d=Object(l["c"])(p).ext,g=d.geometry;return g.customInfo({radius:a,outline:s,wave:u,shape:f}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function p(t,e){var n=t.chart,r=t.options,i=r.statistic,o=r.percent,s=r.meta;if(n.getController("annotation").clear(!0),i.content&&!i.content.formatter){var l=Object(a["get"])(s,["percent","formatter"]);i.content.formatter=function(t){var e=t.percent;return l?l(e):(100*e).toFixed(2)+"%"}}return Object(c["p"])(n,{statistic:i,plotType:"liquid"},{percent:o}),e&&n.render(!0),t}function d(t){return Object(c["e"])(f,p,Object(s["f"])({}),s["a"],s["j"],s["c"])(t)}var g=n("qaDU"),y=5e3;function v(t,e,n){return t+(e-t)*n}function m(t){var e=Object(r["a"])({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}function b(t){var e={fill:"#fff",fillOpacity:0,lineWidth:4},n=Object(a["mix"])({},e,t.style);return t.color&&!n.stroke&&(n.stroke=t.color),Object(a["isNumber"])(t.opacity)&&(n.opacity=n.strokeOpacity=t.opacity),n}function x(t,e,n,r){return 0===e?[[t+.5*n/Math.PI/2,r/2],[t+.5*n/Math.PI,r],[t+n/4,r]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),r],[t+.5*n/Math.PI/2*(Math.PI-1),r/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-r/2],[t+.5*n/Math.PI,-r],[t+n/4,-r]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-r],[t+.5*n/Math.PI/2*(Math.PI-1),-r/2],[t+n/4,0]]}function O(t,e,n,r,i,o,a){var s=4*Math.ceil(2*t/n*4),c=[],l=r;while(l<2*-Math.PI)l+=2*Math.PI;while(l>0)l-=2*Math.PI;l=l/Math.PI/2*n;var u=o-t+l-2*t;c.push(["M",u,e]);for(var h=0,f=0;f<s;++f){var p=f%4,d=x(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 j(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,d=0;d<r;d++){var m=r<=1?0:d/(r-1),b=o.addShape("path",{name:"waterwave-path",attrs:{path:O(s,h.minY+p*n,c,0,f/32,t,e),fill:l,opacity:v(.2,.9,m)*u}});try{var x=Object(g["a"])([["t",c,0]]);b.stopAnimate(),b.animate({matrix:x},{duration:v(.5*y,y,m),repeat:!0})}catch(t){console.warn("off-screen group animate error!")}}}function w(t,e,n,r){var i=4*n/5,o=Math.max(i,r),a=i/2,s=t,c=a+e-o/2,l=a*a/(o-a),u=Math.asin(l/a),h=Math.cos(u)*a,f=s-h,p=c+l,d=t,g=a+a/Math.sin(u);return"\n M "+f+" "+p+"\n A "+a+" "+a+" 0 1 1 "+(f+2*h)+" "+p+"\n Q "+d+" "+g+" "+t+" "+(e+o/2)+"\n Q "+d+" "+g+" "+f+" "+p+"\n Z \n "}function k(t,e,n,r){var i=n/2,o=r/2;return"\n M "+t+" "+(e-o)+" \n a "+i+" "+o+" 0 1 0 0 "+2*o+"\n a "+i+" "+o+" 0 1 0 0 "+2*-o+"\n Z\n "}function S(t,e,n,r){var i=r/2,o=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+o)+" "+e+"\n L "+t+" "+(e+i)+"\n L "+(t-o)+" "+e+"\n Z\n "}function C(t,e,n,r){var i=r/2,o=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+o)+" "+(e+i)+"\n L "+(t-o)+" "+(e+i)+"\n Z\n "}Object(i["l"])("interval","liquid-fill-gauge",{draw:function(t,e){var n=.5,r=.5,i=t.customInfo,o=i.radius,s=i.shape,c=i.outline,l=i.wave,u=c.border,h=c.distance,f=l.count,p=l.length,d=Object(a["reduce"])(t.points,function(t,e){return Math.min(t,e.x)},1/0),g=this.parsePoint({x:n,y:r}),y=this.parsePoint({x:d,y:r}),v=g.x-y.x,x=Math.min(v,y.y*o),O=m(t),M=b(t),A=x-h-u/2,T={pin:w,circle:k,diamond:S,triangle:C},E="function"===typeof s?s:T[s]||T["circle"],P=E(g.x,g.y,2*x,2*x),_=E(g.x,g.y,2*A,2*A);e.addShape("path",{name:"wrap",attrs:Object(a["mix"])(M,{path:P,fill:"transparent",lineWidth:u})});var L=e.addGroup({name:"waves"}),F=L.setClip({type:"path",attrs:{path:_}});return j(g.x,g.y,1-t.points[1].y,f,O,L,F,2*x,p),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",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"}},e.prototype.changeData=function(t){this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(h(t)),p({chart:this.chart,options:this.options},!0),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return d}})(o["b"])},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["m"])(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}}}),j=Object(s["c"])(O).ext,w=j.geometry;return w.customInfo({leaderLine:p}),t}function b(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,f=r.xField,p=r.yField,d=r.meta,g=Object(c["b"])({},{alias:p},Object(o["get"])(d,p));return Object(c["e"])(Object(a["f"])((e={},e[f]=i,e[p]=s,e[l]=s,e),Object(c["b"])({},d,(n={},n[l]=g,n[u]=g,n[h]=g,n))))(t)}function x(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?(e.axis(a,!1),e.axis(l,!1)):(e.axis(a,i),e.axis(l,i)),t}function O(t){var e=t.chart,n=t.options,r=n.legend,i=n.total,a=n.risingFill,s=n.fallingFill;if(!1===r)e.legend(!1);else{var l=[{name:"\u589e\u52a0",value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:"\u51cf\u5c11",value:"decrease",marker:{symbol:"square",style:{r:5,fill:s}}}];i&&l.push({name:i.label||"",value:"total",marker:{symbol:"square",style:Object(c["b"])({},{r:5},Object(o["get"])(i,"style"))}}),e.legend(Object(c["b"])({},{custom:!0,position:"top",items:l},r)),e.removeInteraction("legend-filter")}return t}function j(t){var e=t.chart,n=t.options,i=n.label,o=n.labelMode,a=n.xField,s=Object(c["c"])(e,"interval");if(i){var l=i.callback,f=Object(r["c"])(i,["callback"]);s.label({fields:"absolute"===o?[h,a]:[u,a],callback:l,cfg:Object(c["r"])(f)})}else s.label(!1);return t}function w(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.xField,a=n.yField;if(!1!==i){e.tooltip(Object(r["a"])({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},i));var s=e.geometries[0];(null===i||void 0===i?void 0:i.formatter)?s.tooltip(o+"*"+a,i.formatter):s.tooltip(a)}else e.tooltip(!1);return t}function k(t){return Object(c["e"])(m,b,x,O,w,j,a["i"],a["j"],a["c"],a["a"],Object(a["b"])())(t)}Object(g["l"])("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,a=t.nextPoints,s=e.addGroup(),c=this.parsePath(y(i)),l=v(t);s.addShape("path",{attrs:Object(r["a"])(Object(r["a"])({},l),{path:c})});var u=Object(o["get"])(n,"leaderLine");if(u&&a){var h=[["M",i[2].x,i[2].y],["L",a[0].x,a[0].y]];i[2].y===a[1].y&&(h[1]=["L",a[1].x,a[1].y]),h=this.parsePath(h),s.addShape("path",{attrs:Object(r["a"])({path:h},u.style||{})})}return s}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="waterfall",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){var e=this.options,n=e.xField,r=e.yField,i=e.total;this.updateOption({data:t}),this.chart.changeData(d(t,n,r,i))},e.prototype.getSchemaAdaptor=function(){return k},e.prototype.getDefaultOptions=function(){return{label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{label:"\u603b\u8ba1",style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}}})(i["b"])},GNiM:function(t,e,n){var r=n("I01J"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=a},GZ5e:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o,a,s,c,l,u,h,f,p=e+1,d=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(f=t.parentType,t.parentType="paragraph";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},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"]}}}},HXND:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("mrSG"),i=n("iTfj"),o=n("w02o"),a=n("YuPD"),s=n("tKoa"),c=n("sqD9"),l=n("hJqF");function u(t){var e=t.chart,n=t.options,i=n.data,o=n.areaStyle,l=n.color,u=n.point,h=n.line,f=n.isPercent,p=n.xField,d=n.yField,g=n.tooltip,y=n.seriesField,v=Object(c["a"])(i,d,p,d,f);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(a["b"])({},t,{options:{area:{color:l,style:o},line:h&&Object(r["a"])({color:l},h),point:u&&Object(r["a"])({color:l},u),tooltip:m,label:void 0}}),x=Object(a["b"])({},b,{options:{tooltip:!1}});return Object(s["a"])(b),Object(s["d"])(x),Object(s["e"])(x),t}function h(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=Object(a["c"])(e,"area");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["r"])(l))})}else s.label(!1);return t}function f(t){var e=t.chart,n=t.options,r=n.isStack,o=n.isPercent;return(o||r)&&Object(i["each"])(e.geometries,function(t){t.adjust("stack")}),t}function p(t){return Object(a["e"])(u,l["d"],f,o["j"],o["i"],l["b"],l["c"],o["k"],h,o["h"],Object(o["b"])(),o["c"],o["a"],o["e"])(t)}n.d(e,"b",function(){return l["d"]})},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"),j=n("md7G"),w=n("foSv"),k=n("Ji7U"),S={};function C(t,e){e=e.default||e,S[e.namespace]||(t.model(e),S[e.namespace]=1)}var M=function(){return null};function A(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(j["a"])(this,(e=Object(w["a"])(r)).call.apply(e,[this].concat(o))),n.LoadingComponent=t.LoadingComponent||M,n.state={AsyncComponent:null},n.load(),n}return Object(k["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 T(t){var e=t.app,n=t.models,i=t.component;return A(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 C(e,t)})}),n(r[i])})})}},t))}T.setDefaultLoadingComponent=function(t){M=t};var E=y["connectRouter"],P=v["a"],_=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:E(e)},setupMiddlewares:function(t){return[P(e)].concat(Object(o["a"])(t))},setupApp:function(t){t._history=R(e)}},r=Object(d["a"])(t,n),a=r.start;return r.router=s,r.start=c,r;function s(t){l()(_(t),"[app.router] router should be function, but got ".concat(Object(i["a"])(t))),r._router=t}function c(t){I(t)&&(t=f.a.querySelector(t),l()(t,"[app.start] container ".concat(t," not found"))),l()(!t||F(t),"[app.start] container should be HTMLElement"),l()(r._router,"[app.start] router must be registered before app.start()"),r._store||a.call(r);var e=r._store;if(r._getProvider=D.bind(null,e,r),!t)return D(e,this,this._router);B(t,e,r,r._router),r._plugin.apply("onHmr")(B.bind(null,t,e,r))}}function F(t){return"object"===Object(i["a"])(t)&&null!==t&&t.nodeType&&t.nodeName}function I(t){return"string"===typeof t}function D(t,e,n){var i=function(i){return s.a.createElement(p["a"],{store:t},n(Object(r["a"])({app:e,history:e._history},i)))};return i}function B(t,e,r,i){var o=n("i8i4");o.render(s.a.createElement(D(e,r,i)),t)}function R(t){var e=t.listen;return t.listen=function(n){var r=n.toString(),i="handleLocationChange"===n.name&&r.indexOf("onLocationChanged")>-1||r.indexOf(".inTimeTravelling")>-1&&r.indexOf(".inTimeTravelling")>-1&&r.indexOf("arguments[2]")>-1;return n(t.location,t.action),e.call(t,function(){for(var t=arguments.length,e=new Array(t),r=0;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},I7nc:function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var r=n("iTfj"),i="Invalid field: it must be a string!";function o(t,e){var n=t.field,o=t.fields;if(Object(r["isString"])(n))return n;if(Object(r["isArray"])(n))return console.warn(i),n[0];if(console.warn(i+" will try to get fields instead."),Object(r["isString"])(o))return o;if(Object(r["isArray"])(o)&&o.length)return o[0];if(e)return e;throw new TypeError(i)}function a(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}},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},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},KMYG:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("5HRO"),o=n("YuPD"),a=n("WOQw");function s(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}},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;if(60!==t.src.charCodeAt(u))return!1;for(c=t.pos,l=t.posMax;;){if(++u>=l)return!1;if(s=t.src.charCodeAt(u),60===s)return!1;if(62===s)break}return n=t.src.slice(c+1,u),i.test(n)?(o=t.md.normalizeLink(n),!!t.md.validateLink(o)&&(e||(a=t.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(n),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=n.length+2,!0)):!!r.test(n)&&(o=t.md.normalizeLink("mailto:"+n),!!t.md.validateLink(o)&&(e||(a=t.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(n),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=n.length+2,!0))}},KavR:function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("0Xep"),a=n("Qci9");function s(t,e){return(e-t)*Math.random()+t}var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["clone"](t),n=i["flatten"](e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,o=this.groupData(n,t);return i["each"](o,function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)})},e.prototype.getAdjustOffset=function(t){var e=t.pre,n=t.next,r=(n-e)*o["c"];return s(e+r,n-r)},e.prototype.adjustGroup=function(t,e,n,r){var o=this,a=this.getAdjustRange(e,n,r);return i["each"](t,function(t){t[e]=o.getAdjustOffset(a)}),t},e}(a["a"]);e["a"]=c},KfNM:function(t,e){var n=Object.prototype,r=n.toString;function i(t){return r.call(t)}t.exports=i},Kz5y:function(t,e,n){var r=n("WFqU"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},L16w:function(t,e,n){"use strict";e["a"]={fontFamily:'\n "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue",\n Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",\n SimSun, "sans-serif"',textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4}},L8xA:function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},LcsW:function(t,e,n){var r=n("kekF"),i=r(Object.getPrototypeOf,Object);t.exports=i},LmB6:function(t,e,n){"use strict";var r=n("mrSG"),i=n("f6Jy"),o=n("sstZ"),a=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=Object(o["i"])(r,e),n}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(i["a"]);e["a"]=a},LsHQ:function(t,e,n){var r=n("EA7m"),i=n("mv/X");function o(t){return r(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);while(++r<o){var c=n[r];c&&t(e,c,r,a)}return e})}t.exports=o},LvGN:function(t,e,n){"use strict";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}var l="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",u=new RegExp("([a-z])["+l+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+l+"]*,?["+l+"]*)+)","ig"),h=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+l+"]*,?["+l+"]*","ig");function f(t){if(!t)return null;if(Object(r["isArray"])(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(u,function(t,r,i){var o=[],a=r.toLowerCase();if(i.replace(h,function(t,e){e&&o.push(+e)}),"m"===a&&o.length>2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else while(o.length>=e[a])if(n.push([r].concat(o.splice(0,e[a]))),!e[a])break;return""}),n}var p=/[a-z]/;function d(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function g(t){var e=f(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r<e.length;r++){var i=e[r][0];if(p.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 g=e.length;r<g;r++){var y=e[r],v=o[r-1],m=[],b=(i=y[0],i.toUpperCase());if(i!==b)switch(m[0]=b,b){case"A":m[1]=y[1],m[2]=y[2],m[3]=y[3],m[4]=y[4],m[5]=y[5],m[6]=+y[6]+a,m[7]=+y[7]+s;break;case"V":m[1]=+y[1]+s;break;case"H":m[1]=+y[1]+a;break;case"M":c=+y[1]+a,l=+y[2]+s;break;default:for(var x=1,O=y.length;x<O;x++)m[x]=+y[x]+(x%2?a:s)}else m=e[r];switch(b){case"Z":a=+c,s=+l;break;case"H":a=m[1],m=["L",a,s];break;case"V":s=m[1],m=["L",a,s];break;case"T":a=m[1],s=m[2];var j=d([v[1],v[2]],[v[3],v[4]]);m=["Q",j[0],j[1],a,s];break;case"S":a=m[m.length-2],s=m[m.length-1];var w=v.length,k=d([v[w-4],v[w-3]],[v[w-2],v[w-1]]);m=["C",k[0],k[1],m[1],m[2],a,s];break;case"M":c=m[m.length-2],l=m[m.length-1];break;default:a=m[m.length-2],s=m[m.length-1]}o.push(m)}return o}function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function v(t,e){return y(t)*y(e)?(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e)):1}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))}function b(t,e){return t[0]===e[0]&&t[1]===e[1]}function x(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 x=i?y*n*p/i:0,O=n?y*-i*f/n:0,j=(c+u)/2+Math.cos(o)*x-Math.sin(o)*O,w=(l+h)/2+Math.sin(o)*x+Math.cos(o)*O,k=[(f-x)/n,(p-O)/i],S=[(-1*f-x)/n,(-1*p-O)/i],C=m([1,0],k),M=m(k,S);return v(k,S)<=-1&&(M=Math.PI),v(k,S)>=1&&(M=0),0===s&&M>0&&(M-=2*Math.PI),1===s&&M<0&&(M+=2*Math.PI),{cx:j,cy:w,rx:b(t,[u,h])?0:n,ry:b(t,[u,h])?0:i,startAngle:C,endAngle:C+M,xRotation:o,arcFlag:a,sweepFlag:s}}function O(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function j(t){t=s(t);for(var e=[],n=null,r=null,i=null,o=0,a=t.length,c=0;c<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=x(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]&&b(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=O(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]],j=[l[3],l[4]];h.startTangent=[g[0]-m[0],g[1]-m[1]],h.endTangent=[n[0]-j[0],n[1]-j[1]]}else if("S"===u){v=e[c-1],m=O(v.currentPoint,g),j=[l[1],l[2]];"C"===v.command?(h.command="C",h.startTangent=[g[0]-m[0],g[1]-m[1]],h.endTangent=[n[0]-j[0],n[1]-j[1]]):(h.command="SQ",h.startTangent=[g[0]-j[0],g[1]-j[1]],h.endTangent=[n[0]-j[0],n[1]-j[1]])}else if("A"===u){var w=.001,k=h["arcParams"]||{},S=k.cx,C=void 0===S?0:S,M=k.cy,A=void 0===M?0:M,T=k.rx,E=void 0===T?0:T,P=k.ry,_=void 0===P?0:P,L=k.sweepFlag,F=void 0===L?0:L,I=k.startAngle,D=void 0===I?0:I,B=k.endAngle,R=void 0===B?0:B;0===F&&(w*=-1);var N=E*Math.cos(D-w)+C,z=_*Math.sin(D-w)+A;h.startTangent=[N-i[0],z-i[1]];var Y=E*Math.cos(D+R+w)+C,G=_*Math.sin(D+R-w)+A;h.endTangent=[g[0]-Y,g[1]-G]}e.push(h)}return e}var w=function(t,e,n){return t>=e&&t<=n};function k(t,e,n,r){var i=.001,o={x:n.x-t.x,y:n.y-t.y},a={x:e.x-t.x,y:e.y-t.y},s={x:r.x-n.x,y:r.y-n.y},c=a.x*s.y-a.y*s.x,l=c*c,u=a.x*a.x+a.y*a.y,h=s.x*s.x+s.y*s.y,f=null;if(l>i*u*h){var p=(o.x*s.y-o.y*s.x)/c,d=(o.x*a.y-o.y*a.x)/c;w(p,0,1)&&w(d,0,1)&&(f={x:t.x+p*a.x,y:t.y+p*a.y})}return f}var S=1e-6;function C(t){return Math.abs(t)<S?0:t<0?-1:1}function M(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 A(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(M(a,s,[e,n]))return!0;C(a[1]-n)>0!==C(s[1]-n)>0&&C(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function T(t){for(var e=[],n=t.length,r=0;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 E(t,e){var n=!1;return Object(r["each"])(t,function(t){if(k(t.from,t.to,e.from,e.to))return n=!0,!1}),n}function P(t){var e=t.map(function(t){return t[0]}),n=t.map(function(t){return t[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}function _(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function L(t,e){if(t.length<2||e.length<2)return!1;var n=P(t),i=P(e);if(!_(n,i))return!1;var o=!1;if(Object(r["each"])(e,function(e){if(A(t,e[0],e[1]))return o=!0,!1}),o)return!0;if(Object(r["each"])(t,function(t){if(A(e,t[0],t[1]))return o=!0,!1}),o)return!0;var a=T(t),s=T(e),c=!1;return Object(r["each"])(s,function(t){if(E(a,t))return c=!0,!1}),c}n.d(e,"a",function(){return c}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return g}),n.d(e,"e",function(){return j}),n.d(e,"b",function(){return L})},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("mrSG"),i=n("zK8m"),o=n("aSjE"),a=function(t){function e(e){return t.call(this,e)||this}return Object(r["b"])(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("mrSG"),i=n("iTfj"),o=n("1//c"),a=n("jqgP"),s=n("5UbV"),c=n("NmWf"),l="update_status",u=["visible","tip","delegateObject"],h=["container","group","shapesMap","isRegister","isUpdating","destroyed"],f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t),n=e&&e.get("component");return n},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return Object(i["each"])(this.get("shapesMap"),function(n){n.get("name")===t&&e.push(n)}),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.get("group");e.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=Object(a["a"])(n,e)),e},e.prototype.on=function(t,e,n){var r=this.get("group");return r.on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){var n=this.get("group");n.emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),Object(o["a"])(n,t,e)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),e=t.getGroupBase(),n=new e({delegateObject:this.getDelegateObject()});return n},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",Object(s["d"])(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,i=e.component,o=Object(r["c"])(e,["id","component"]),a=new i(Object(r["a"])(Object(r["a"])({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return a.init(),a.render(),this.get("isRegister")&&this.registerElement(a.get("group")),a},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var e=this.get("id"),n=this.get("name");return e+"-"+n+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=Object(a["f"])(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");Object(i["isNil"])(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,o=this.get("animate"),a=this.get("animateOption"),c=t.getChildren().slice(0);Object(i["each"])(c,function(t){var c=t.get("id"),f=r.getElementById(c),p=t.get("name");if(f)if(t.get("isComponent")){var d=t.get("component"),g=f.get("component"),y=Object(i["pick"])(d.cfg,Object(i["difference"])(Object(i["keys"])(d.cfg),h));g.update(y),f.set(l,"update")}else{var v=r.getReplaceAttrs(f,t);o&&a.update?r.updateAnimation(p,f,v,a.update):f.attr(v),t.isGroup()&&r.updateElements(t,f),Object(i["each"])(u,function(e){f.set(e,t.get(e))}),Object(s["m"])(f,t),n=f,f.set(l,"update")}else{e.add(t);var m=e.getChildren();if(m.splice(m.length-1,1),n){var b=m.indexOf(n);m.splice(b+1,0,t)}else m.unshift(t);if(r.registerElement(t),t.set(l,"add"),t.get("isComponent")){d=t.get("component");d.set("container",e)}else t.isGroup()&&r.registerNewGroup(t);if(n=t,o){var x=r.get("isInit")?a.appear:a.enter;x&&r.addAnimation(p,t,x)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();Object(i["each"])(e,function(t){t.set(l,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name"),n=(t={},t[e]=this,t.component=this,t);return n},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),Object(i["mix"])(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return Object(i["each"])(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();Object(i["each"])(n,function(t){e.registerElement(t),t.set(l,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];Object(i["each"])(e,function(t,e){!t.get(l)||t.destroyed?n.push([e,t]):t.set(l,null)});var r=this.get("animate"),o=this.get("animateOption");Object(i["each"])(n,function(n){var a=n[0],s=n[1];if(!s.destroyed){var c=s.get("name");if(r&&o.leave){var l=Object(i["mix"])({callback:function(){t.removeElement(s)}},o.leave);t.removeAnimation(c,s,l)}else t.removeElement(s)}delete e[a]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(c["a"]);e["a"]=f},Mffy:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=["#FAAD14","#E8EDF3"],i={percent:.2,color:r,animation:{}}},Mj7Y:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa"),c=n("iTfj"),l={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function u(t,e){return e=Object(c["assign"])({},l,e),h(t,e)}function h(t,e){var n=P();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){Object(c["isNil"])(e[t])||n[t](e[t])}),n.words(t),e.imageMask&&n.createMask(e.imageMask);var r=n.start(),i=r._tags;i.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var o=e.size,a=o[0],s=o[1];return i.push({text:"",value:0,x:0,y:0,opacity:0}),i.push({text:"",value:0,x:a,y:s,opacity:0}),i}var f=Math.PI/180,p=64,d=2048;function g(t){return t.text}function y(){return"serif"}function v(){return"normal"}function m(t){return t.value}function b(){return 90*~~(2*Math.random())}function x(){return 1}function O(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,(p<<5)/o,d/o);var a=0,s=0,c=0,l=n.length;--r;while(++r<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,j=[];while(--r>=0)if(e=n[r],e.hasText){u=e.width;for(var w=u>>5,k=(h=e.y1-e.y0,0);k<h*w;k++)j[k]=0;if(a=e.xoff,null==a)return;s=e.yoff;for(var S=0,C=-1,M=0;M<h;M++){for(k=0;k<u;k++){var A=w*M+(k>>5),T=O[(s+M)*(p<<5)+(a+k)<<2]?1<<31-k%32:0;j[A]|=T,S|=T}S?C=M:(e.y0++,h--,M--,s++)}e.y1=e.y0+C,e.sprite=j.slice(0,(e.y1-e.y0)*w)}}}function j(t,e,n){n>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,c=32-s,l=t.y1-t.y0,u=(t.y+t.y0)*n+(a>>5),h=0;h<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 w(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 k(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 C(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 A(){return document.createElement("canvas")}function T(t){return Object(c["isFunction"])(t)?t:function(){return t}}var E={archimedean:S,rectangular:C};function P(){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=A,C={};function P(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 _(e,n,r){var i,o,c,l=n.x,u=n.y,h=Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=a(t),p=s()<.5?1:-1,d=-p;while(i=f(d+=p)){if(o=~~i[0],c=~~i[1],Math.min(Math.abs(o),Math.abs(c))>=h)break;if(n.x=l+o,n.y=u+c,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!r||!j(n,e,t[0]))&&(!r||k(n,r))){for(var g=n.sprite,y=n.width>>5,v=t[0]>>5,m=n.x-(y<<4),b=127&m,x=32-b,O=n.y1-n.y0,w=void 0,S=(n.y+n.y0)*v+(m>>5),C=0;C<O;C++){w=0;for(var M=0;M<=y;M++)e[S+M]|=w<<x|(M<y?(w=g[C*y+M])>>>b:0);S+=v}return delete n.sprite,!0}}return!1}return C.start=function(){var a=t[0],p=t[1],d=P(f()),g=C.board?C.board:M((t[0]>>5)*t[1]),y=c.length,v=[],m=c.map(function(t,a,s){return t.text=u.call(this,t,a,s),t.font=e.call(this,t,a,s),t.style=h.call(this,t,a,s),t.weight=r.call(this,t,a,s),t.rotate=i.call(this,t,a,s),t.size=~~n.call(this,t,a,s),t.padding=o.call(this,t,a,s),t}).sort(function(t,e){return e.size-t.size}),b=-1,x=C.board?[{x:0,y:0},{x:a,y:p}]:null;function j(){var e=Date.now();while(Date.now()-e<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&&_(g,n,x)&&(v.push(n),x?C.hasImage||w(x,n):x=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}C._tags=v,C._bounds=x}return j(),C},C.createMask=function(e){var n=document.createElement("canvas"),r=t[0],i=t[1];if(r&&i){var o=r>>5,a=M((r>>5)*i);n.width=r,n.height=i;var s=n.getContext("2d");s.drawImage(e,0,0,e.width,e.height,0,0,r,i);for(var c=s.getImageData(0,0,r,i).data,l=0;l<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}C.board=a,C.hasImage=!0}},C.timeInterval=function(t){l=null==t?1/0:t},C.words=function(t){c=t},C.size=function(e){t=[+e[0],+e[1]]},C.font=function(t){e=T(t)},C.fontWeight=function(t){r=T(t)},C.rotate=function(t){i=T(t)},C.spiral=function(t){a=E[t]||t},C.fontSize=function(t){n=T(t)},C.padding=function(t){o=T(t)},C.random=function(t){s=T(t)},C}function _(t){var e=t.options,n=t.chart,i=n,o=i.width,a=i.height,s=i.padding,l=i.appendPadding,h=i.ele,f=e.data,p=e.imageMask,d=e.wordField,g=e.weightField,y=e.colorField,v=e.wordStyle,m=e.timeInterval,b=e.random,x=e.spiral,O=e.autoFit,j=void 0===O||O,w=e.placementStrategy;if(!f||!f.length)return[];var k=v.fontFamily,S=v.fontWeight,C=v.padding,M=v.fontSize,A=R(f,g),E=[Y(A),G(A)],P=f.map(function(t){return{text:t[d],value:t[g],color:t[y],datum:t}}),_={imageMask:p,font:k,fontSize:B(M,E),fontWeight:S,size:L({width:o,height:a,padding:s,appendPadding:l,autoFit:j,container:h}),padding:C,timeInterval:m,random:b,spiral:x,rotate:N(e)};if(Object(c["isFunction"])(w)){var F=P.map(function(t,e,i){return Object(r["a"])(Object(r["a"])(Object(r["a"])({},t),{hasText:!!t.text,font:T(_.font)(t,e,i),weight:T(_.fontWeight)(t,e,i),rotate:T(_.rotate)(t,e,i),size:T(_.fontSize)(t,e,i),style:"normal"}),w.call(n,t,e,i))});return F.push({text:"",value:0,x:0,y:0,opacity:0}),F.push({text:"",value:0,x:_.size[0],y:_.size[1],opacity:0}),F}return u(P,_)}function L(t){var e=t.width,n=t.height,r=t.container,i=t.autoFit,a=t.padding,s=t.appendPadding;if(i){var c=Object(o["g"])(r);e=c.width,n=c.height}e=e||400,n=n||400;var l=F({padding:a,appendPadding:s}),u=l[0],h=l[1],f=l[2],p=l[3],d=[e-(p+h),n-(u+f)];return d}function F(t){var e=I(t.padding),n=I(t.appendPadding),r=e[0]+n[0],i=e[1]+n[1],o=e[2]+n[2],a=e[3]+n[3];return[r,i,o,a]}function I(t){if(Object(c["isNumber"])(t))return[t,t,t,t];if(Object(c["isArray"])(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}function D(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement)e(t);else{if(Object(c["isString"])(t)){var r=new Image;return r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},void(r.onerror=function(){Object(o["m"])(o["a"].ERROR,!1,"image %s load failed !!!",t),n()})}Object(o["m"])(o["a"].WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()}})}function B(t,e){if(Object(c["isFunction"])(t))return t;if(Object(c["isArray"])(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var i=e[0],o=e[1];return o===i?function(){return(r+n)/2}:function(t){var e=t.value;return(r-n)/(o-i)*(e-i)+n}}return function(){return t}}function R(t,e){return t.map(function(t){return t[e]}).filter(function(t){return"number"===typeof t&&!isNaN(t)})}function N(t){var e=z(t),n=e.rotation,r=e.rotationSteps;if(!Object(c["isArray"])(n))return n;var i=n[0],o=n[1],a=1===r?0:(o-i)/(r-1);return function(){return o===i?o:Math.floor(Math.random()*r)*a}}function z(t){var e=t.wordStyle.rotationSteps;return e<1&&(Object(o["m"])(o["a"].WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}function Y(t){return Math.min.apply(Math,t)}function G(t){return Math.max.apply(Math,t)}function V(t){var e=t.chart,n=t.options,r=n.colorField,i=n.color,a=_(t);e.data(a);var c=Object(o["b"])({},t,{options:{xField:"x",yField:"y",seriesField:r&&"color",point:{color:i,shape:"word-cloud"}}}),l=Object(s["e"])(c).ext;return l.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function W(t){return Object(o["e"])(Object(a["f"])({x:{nice:!1},y:{nice:!1}}))(t)}function H(t){Object(o["e"])(V,W,a["k"],a["d"],a["c"],a["a"],a["j"],a["i"])(t)}var X=n("kXyF");function U(t){return{fontSize:t.data.size,text:t.data.text,textAlign:"center",fontFamily:t.data.font,fontWeight:t.data.weight,fill:t.color||t.defaultStyle.stroke,textBaseline:"alphabetic"}}Object(X["l"])("point","word-cloud",{draw:function(t,e){var n=t.x,i=t.y,o=e.addShape("text",{attrs:Object(r["a"])(Object(r["a"])({},U(t)),{x:n,y:i})}),a=t.data.rotate;return"number"===typeof a&&X["f"].rotate(o,a*Math.PI/180),o}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(_({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value","color"],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i)return t.prototype.render.call(e),void n();var o=function(i){e.options=Object(r["a"])(Object(r["a"])({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};D(i).then(o).catch(o)})},e.prototype.getSchemaAdaptor=function(){return H},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))}})(i["b"])},MrPd:function(t,e,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype,a=o.hasOwnProperty;function s(t,e,n){var o=t[e];a.call(t,e)&&i(o,n)&&(void 0!==n||e in t)||r(t,e,n)}t.exports=s},Mw2x:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zK8m"),o=n("sstZ"),a={},s="_INDEX";function c(t,e){if(t.set("canvas",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach(function(t){c(t,e)})}}function l(t,e){if(t.set("timeline",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach(function(t){l(t,e)})}}function u(t,e,n){void 0===n&&(n=!0),n?e.destroy():(e.set("parent",null),e.set("canvas",null)),Object(o["j"])(t.getChildren(),e)}function h(t){return function(e,n){var r=t(e,n);return 0===r?e[s]-n[s]:r}}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});s.length>0?(Object(o["a"])(s,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)}),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n};return c},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});s.length>0?(Object(o["a"])(s,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)}),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n};return c},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["children"]=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();Object(o["a"])(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e<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,j=e.commands,w=e.annotations,k=e.markers,S=e.splits;this.editor=a.edit(this.refEditor),this.editor.setTheme("ace/theme/"+l),r&&r(a);var C=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 A=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<C.length;r++)e[C[r]]=t.props.editorProps[C[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(w,n,[]),O=f(k,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];A.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(j)&&j.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 T=this.editor.env.split;T.setOrientation("below"===this.props.orientation?T.BELOW:T.BESIDE),T.resize(!0),O&&O(T)},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("mrSG"),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},NzZ7:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("yUfG"),i=n("tvR+"),o=n("a8tM"),a=n("iTfj"),s=n("I7nc"),c={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function l(t,e){return"treemapSquarify"===t?r[t].ratio(e):r[t]}function u(t,e){e=Object(a["assign"])({},c,e);var n,r=e.as;if(!Object(a["isArray"])(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=Object(s["b"])(e)}catch(t){console.warn(t)}var u=l(e.tile,e.ratio),h=function(t){return i["a"]().tile(u).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)(o["c"](t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort))},f=h(t),p=r[0],d=r[1];return f.each(function(t){t[p]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),Object(s["a"])(f)}},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},O5pF:function(t,e,n){"use strict";function r(t){return t?t.slice().reverse():t}n.d(e,"a",function(){return r})},PLvT:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("zJSt"),i=n("YuPD"),o=Object(i["b"])({},r["b"].getDefaultOptions(),{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}}}}})},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},QG4C:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("WOQw"),s=n("w02o"),c=n("n/J0"),l=n("YuPD"),u=n("hJqF"),h=n("TZmy"),f=n("DMQx"),p=n("X/+Q"),d=n("HXND"),g=n("U49A"),y=n("sshJ"),v=n("mgjb"),m=n("hYLx"),b=n("mI1Z"),x=n("u9/z"),O=n("XloR"),j=n("Cr25"),w=n("Y+LX"),k=n("u9VJ"),S=n("uw/B"),C=n("XpFM"),M=n("mttH"),A=n("05BJ"),T=n("027J"),E=n("YP77"),P=n("kwiP"),_={line:u["a"],pie:h["a"],column:f["a"],bar:p["a"],area:d["a"],gauge:g["a"],"tiny-line":y["a"],"tiny-column":v["a"],"tiny-area":m["a"],"ring-progress":b["a"],progress:x["a"]},L={line:O["a"],pie:j["a"],column:k["a"],bar:w["a"],area:S["a"],gauge:C["a"],"tiny-line":M["a"],"tiny-column":T["a"],"tiny-area":A["a"],"ring-progress":E["a"],progress:P["a"]};function F(t,e,n){var r=L[t];if(r){var i=_[t];i({chart:e,options:Object(l["b"])({},r.getDefaultOptions(),n)})}else console.error("could not find "+t+" plot")}function I(t){var e=t.chart,n=t.options,i=n.views,s=n.legend;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.interactions,p=t.annotations,d=t.tooltip,g=t.geometries,y=e.createView({region:n});y.data(i);var v={};u&&Object(o["each"])(u,function(t,e){v[e]=Object(l["n"])(t,c["a"])}),v=Object(l["b"])({},s,v),y.scale(v),u?Object(o["each"])(u,function(t,e){y.axis(e,t)}):y.axis(!1),y.coordinate(h),Object(o["each"])(g,function(t){var e=Object(a["a"])({chart:y,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),Object(o["each"])(f,function(t){!1===t.enable?y.removeInteraction(t.type):y.interaction(t.type,t.cfg)}),Object(o["each"])(p,function(t){y.annotation()[t.type](Object(r["a"])({},t))}),"boolean"===typeof t.animation?y.animate(!1):(y.animate(!0),Object(o["each"])(y.geometries,function(e){e.animate(t.animation)})),d&&(y.interaction("tooltip"),y.tooltip(d))}),s?Object(o["each"])(s,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(n.tooltip),t}function D(t){var e=t.chart,n=t.options,a=n.plots;return Object(o["each"])(a,function(t){var n=t.type,o=t.region,a=t.options,s=void 0===a?{}:a,c=s.tooltip,u=e.createView(Object(r["a"])({region:o},Object(l["n"])(s,i["a"])));c&&u.interaction("tooltip"),F(n,u,s)}),t}function B(t){return Object(l["e"])(s["a"],I,D,s["c"],s["a"],s["j"],s["k"])(t)}var R=n("kXyF");function N(t,e){var n,r=t.getModel(),i=r.data;return n=Object(o["isArray"])(i)?i[0][e]:i[e],n}function z(t){var e=Object(l["f"])(t);Object(o["each"])(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})}var Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getAssociationItems=function(t,e){var n,r=this.context.event,i=e||{},a=i.linkField,s=i.dim,c=[];if(null===(n=r.data)||void 0===n?void 0:n.data){var u=r.data.data;Object(o["each"])(t,function(t){var e,n,r=a;if("x"===s?r=t.getXScale().field:"y"===s?r=null===(e=t.getYScales().find(function(t){return t.field===r}))||void 0===e?void 0:e.field:r||(r=null===(n=t.getGroupScales()[0])||void 0===n?void 0:n.field),r){var i=Object(o["map"])(Object(l["f"])(t),function(e){var n=!1,i=!1;return N(e,r)===Object(o["get"])(u,r)?n=!0:i=!0,{element:e,view:t,active:n,inactive:i}});c.push.apply(c,i)}})}return c},e.prototype.showTooltip=function(t){var e=Object(l["h"])(this.context.view),n=this.getAssociationItems(e,t);Object(o["each"])(n,function(t){if(t.active){var e=t.element.shape.getCanvasBBox();t.view.showTooltip({x:e.minX+e.width/2,y:e.minY+e.height/2})}})},e.prototype.hideTooltip=function(){var t=Object(l["h"])(this.context.view);Object(o["each"])(t,function(t){t.hideTooltip()})},e.prototype.active=function(t){var e=Object(l["j"])(this.context.view),n=this.getAssociationItems(e,t);Object(o["each"])(n,function(t){var e=t.active,n=t.element;e&&n.setState("active",!0)})},e.prototype.selected=function(t){var e=Object(l["j"])(this.context.view),n=this.getAssociationItems(e,t);Object(o["each"])(n,function(t){var e=t.active,n=t.element;e&&n.setState("selected",!0)})},e.prototype.highlight=function(t){var e=Object(l["j"])(this.context.view),n=this.getAssociationItems(e,t);Object(o["each"])(n,function(t){var e=t.inactive,n=t.element;e&&n.setState("inactive",!0)})},e.prototype.reset=function(){var t=Object(l["j"])(this.context.view);Object(o["each"])(t,function(t){z(t)})},e}(R["a"]);Object(R["i"])("association",Y),Object(R["k"])("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Object(R["k"])("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Object(R["k"])("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Object(R["k"])("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]}),n.d(e,"a",function(){return G});var G=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 B},e}(i["b"])},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"]}}}},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 w}),n.d(r,"Marker",function(){return A}),n.d(r,"Path",function(){return W}),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("mrSG"),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"),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=t.startArrow,a=t.endArrow;o&&O["b"](this,t,r,i,e,n),a&&O["a"](this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr(),a=o.x1,s=o.y1,c=o.x2,l=o.y2;return x(a,s,c,l,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,c={dx:0,dy:0},l={dx:0,dy:0};a&&a.d&&(c=O["c"](n,r,i,o,e.startArrow.d)),s&&s.d&&(l=O["c"](n,r,i,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,r+c.dy),t.lineTo(i-l.dx,o-l.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return b["c"].length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return b["c"].pointAt(n,r,i,o,t)},e}(u),w=j,k=n("iTfj"),S=n("LvGN"),C={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return Object(k["isNil"])(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,s=r.symbol||"circle",c=this._getR(r);if(Object(a["h"])(s))t=s,n=t(i,o,c),n=Object(S["d"])(n);else{if(t=e.Symbols[s],!t)return console.warn(s+" marker is not supported."),null;n=t(i,o,c)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");Object(s["e"])(this,t,{path:e},n)},e.Symbols=C,e}(u),A=M;function T(t,e,n){var r=Object(o["getOffScreenContext"])();return t.createPath(r),r.isPointInPath(e,n)}var E=1e-6;function P(t){return Math.abs(t)<E?0:t<0?-1:1}function _(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(_(a,s,[e,n]))return!0;P(a[1]-n)>0!==P(s[1]-n)>0&&P(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}var F=n("6JdA"),I=n("n+fv");function D(t,e,n,r,i,o,s,c){var l=(Math.atan2(c-e,s-t)+2*Math.PI)%(2*Math.PI);if(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=F["a"].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,j=y.ry,w=y.startAngle,k=y.endAngle,S=y.xRotation,C=[n,r,1],M=O>j?O:j,A=O>j?1:O/j,T=O>j?j/O:1,E=B(null,[["t",-v,-m],["r",-S],["s",1/A,1/T]]);I["transformMat3"](C,C,E),o=D(0,0,M,w,k,e,C[0],C[1]);break;default:break}if(o)break}}return o}function z(t){for(var e=t.length,n=[],r=[],i=[],o=0;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 Y=Object(i["a"])({hasArc:R,extractPolygons:z,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["d"])(t);var e=Y.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["e"])(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=Y.isPointInStroke(o,i,t,e,c)}if(!s&&r)if(a)s=T(this,t,e);else{var l=this.attr("path"),u=Y.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(k["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(k["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(k["isNil"])(o)||Object(k["isNil"])(n))return null;var a=o.length,s=i[n+1];return b["b"].pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",Y.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(Object(k["each"])(s,function(t,e){n=s[e+1],r=t.length,n&&(i+=b["b"].length(t[r-2],t[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)}),this.set("totalLength",i),0!==i?(Object(k["each"])(s,function(c,l){n=s[l+1],r=c.length,n&&(t=[],t[0]=o/i,e=b["b"].length(c[r-2],c[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=e||0,t[1]=o/i,a.push(t))}),this.set("tCache",a)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([i[0]-o[0],i[1]-o[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(u),W=V;function H(t,e,n,r,i){var o=t.length;if(o<2)return!1;for(var a=0;a<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 X=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=H(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=X,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 H(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(k["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(k["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(k["each"])(t,function(a,s){t[s+1]&&(n=[],n[0]=i/e,r=b["c"].length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(u),Z=q,K=n("r0DC");function Q(t,e,n,r,i,o,s){var c=i/2;return Object(a["e"])(t-c,e-c,n,i,o,s)||Object(a["e"])(t+n-c,e-c,i,r,o,s)||Object(a["e"])(t+c,e+r-c,n,i,o,s)||Object(a["e"])(t-c,e+c,i,r,o,s)}function $(t,e,n,r,i,o,a,s){return x(t+i,e,t+n-i,e,o,a,s)||x(t+n,e+i,t+n,e+r-i,o,a,s)||x(t+n-i,e+r,t+i,e+r,o,a,s)||x(t,e+r-i,t,e+i,o,a,s)||D(t+n-i,e+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||D(t+n-i,e+r-i,i,0,.5*Math.PI,o,a,s)||D(t+i,e+r-i,i,.5*Math.PI,Math.PI,o,a,s)||D(t+i,e+i,i,Math.PI,1.5*Math.PI,o,a,s)}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.width,u=o.height,h=o.radius;if(h){var f=!1;return n&&(f=$(s,c,l,u,h,i,t,e)),!f&&r&&(f=T(this,t,e)),f}var p=i/2;return r&&n?Object(a["e"])(s-p,c-p,l+p,u+p,t,e):r?Object(a["e"])(s,c,l,u,t,e):n?Q(s,c,l,u,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,r,i,o);else{var s=Object(K["a"])(a),c=s[0],l=s[1],u=s[2],h=s[3];t.moveTo(n+c,r),t.lineTo(n+i-l,r),0!==l&&t.arc(n+i-l,r+l,l,-Math.PI/2,0),t.lineTo(n+i,r+o-u),0!==u&&t.arc(n+i-u,r+o-u,u,0,Math.PI/2),t.lineTo(n+h,r+o),0!==h&&t.arc(n+h,r+o-h,h,Math.PI/2,Math.PI),t.lineTo(n,r+c),0!==c&&t.arc(n+c,r+c,c,Math.PI,1.5*Math.PI),t.closePath()}},e}(u),tt=J,et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Object(o["assembleFont"])(t)},e.prototype._setText=function(t){var e=null;Object(a["k"])(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,c=i.x,l=i.y,u=1*i.fontSize,h=this._getSpaceingY(),f=Object(o["getTextHeight"])(i.text,i.fontSize,i.lineHeight);Object(a["c"])(e,function(e,i){r=l+i*(h+u)-f+u,"middle"===s&&(r+=f-u-(f-u)/2),"top"===s&&(r+=f-u),n?t.fillText(e,c,r):t.strokeText(e,c,r)})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;e?t.fillText(a,r,i):t.strokeText(a,r,i)}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(Object(a["i"])(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(Object(a["i"])(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(u),nt=et;n.d(e,"Base",function(){return u}),n.d(e,"Circle",function(){return f}),n.d(e,"Ellipse",function(){return g}),n.d(e,"Image",function(){return m}),n.d(e,"Line",function(){return w}),n.d(e,"Marker",function(){return A}),n.d(e,"Path",function(){return W}),n.d(e,"Polygon",function(){return U}),n.d(e,"Polyline",function(){return Z}),n.d(e,"Rect",function(){return tt}),n.d(e,"Text",function(){return nt})},RKh7:function(t,e,n){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,c=e+1,l=t.md.block.ruler.getRules("paragraph"),u=t.lineMax;for(s=t.parentType,t.parentType="paragraph";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},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,l,u=t.pos,h=t.src.charCodeAt(u);if(96!==h)return!1;n=u,u++,r=t.posMax;while(u<r&&96===t.src.charCodeAt(u))u++;if(i=t.src.slice(n,u),c=i.length,t.backticksScanned&&(t.backticks[c]||0)<=n)return e||(t.pending+=i),t.pos+=c,!0;a=s=u;while(-1!==(a=t.src.indexOf("`",s))){s=a+1;while(s<r&&96===t.src.charCodeAt(s))s++;if(l=s-a,l===c)return e||(o=t.push("code_inline","code",0),o.markup=i,o.content=t.src.slice(u,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=s,!0;t.backticks[l]=a}return t.backticksScanned=!0,e||(t.pending+=i),t.pos+=c,!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,j,w,k,S,C,M,A,T,E,P,_,L,F,I=!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&&(I=!0),(T=o(t,e))>=0){if(p=!0,P=t.bMarks[e]+t.tShift[e],b=Number(t.src.substr(P,T-P-1)),I&&1!==b)return!1}else{if(!((T=i(t,e))>=0))return!1;p=!1}if(I&&t.skipSpaces(T)>=t.eMarks[e])return!1;if(m=t.src.charCodeAt(T-1),r)return!0;v=t.tokens.length,p?(F=t.push("ordered_list_open","ol",1),1!==b&&(F.attrs=[["start",b]])):F=t.push("bullet_list_open","ul",1),F.map=y=[e,0],F.markup=String.fromCharCode(m),O=e,E=!1,L=t.md.block.ruler.getRules("list"),k=t.parentType,t.parentType="list";while(O<n){A=T,x=t.eMarks[O],f=j=t.sCount[O]+T-(t.bMarks[e]+t.tShift[e]);while(A<x){if(s=t.src.charCodeAt(A),9===s)j+=4-(j+t.bsCount[O])%4;else{if(32!==s)break;j++}A++}if(c=A,h=c>=x?1:j-f,h>4&&(h=1),u=f+h,F=t.push("list_item_open","li",1),F.markup=String.fromCharCode(m),F.map=d=[e,0],M=t.tight,C=t.tShift[e],S=t.sCount[e],w=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=u,t.tight=!0,t.tShift[e]=c-t.bMarks[e],t.sCount[e]=j,c>=x&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!E||(D=!1),E=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[e]=C,t.sCount[e]=S,t.tight=M,F=t.push("list_item_close","li",-1),F.markup=String.fromCharCode(m),O=e=t.line,d[1]=O,c=t.bMarks[e],O>=n)break;if(t.sCount[O]<t.blkIndent)break;if(t.sCount[e]-t.blkIndent>=4)break;for(_=!1,l=0,g=L.length;l<g;l++)if(L[l](t,O,n,!0)){_=!0;break}if(_)break;if(p){if(T=o(t,O),T<0)break}else if(T=i(t,O),T<0)break;if(m!==t.src.charCodeAt(T-1))break}return F=p?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1),F.markup=String.fromCharCode(m),y[1]=O,t.line=O,t.parentType=k,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 j=y(t,n),w=y(e,n),k=O.get(w);if(k)r(t,n,k);else{var S=x?x(j,w,n+"",t,e,O):void 0,C=void 0===S;if(C){var M=l(w),A=!M&&h(w),T=!M&&!A&&g(w);S=w,M||A||T?l(j)?S=j:u(j)?S=a(j):A?(C=!1,S=i(w,!0)):T?(C=!1,S=o(w,!0)):S=[]:d(w)||c(w)?(S=j,c(j)?S=v(j):p(j)&&!f(j)||(S=s(w))):C=!1}C&&(O.set(w,S),b(S,w,m,x,O),O["delete"](w)),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]}).filter(function(t){return void 0!==t}),i=r.length>0?Math.max.apply(Math,r):0,o=Math.abs(t)%360;return o?360*i/o:i}function l(t){var e=t.chart,n=t.options,r=n.data,i=n.barStyle,a=n.color,c=n.tooltip,l=n.colorField,u=n.type,h=n.xField,f=n.yField;e.data(r);var p=Object(o["b"])({},t,{options:{tooltip:c,seriesField:l,interval:{style:i,color:a,shape:"line"===u?"line":"intervel"},minColumnWidth:n.minBarWidth,maxColumnWidth:n.maxBarWidth,columnBackground:n.barBackground}});return Object(s["c"])(p),"line"===u&&Object(s["e"])({chart:e,options:{xField:h,yField:f,seriesField:l,point:{shape:"circle",color:a}}}),t}function u(t){var e,n=t.options,r=n.yField,i=n.data,s=n.maxAngle;return Object(o["e"])(Object(a["f"])((e={},e[r]={min:0,max:c(s,r,i)},e)))(t)}function h(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}).transpose(),t}function f(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis;return e.axis(r,i),t}function p(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"interval");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(r["a"])(Object(r["a"])({},Object(o["r"])(l)),{type:"polar"})})}else s.label(!1);return t}function d(t){return Object(o["e"])(l,u,f,h,a["c"],a["a"],a["j"],a["k"],a["d"],Object(a["b"])(),p)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radial-bar",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),u({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240})},e.prototype.getSchemaAdaptor=function(){return d}})(i["b"])},TLR5:function(t,e,n){"use strict";var r=n("SINd"),i=[["text",n("usqY")],["newline",n("QjYF")],["escape",n("bgCn")],["backticks",n("SpRm")],["strikethrough",n("kiyR").tokenize],["emphasis",n("yKnv").tokenize],["link",n("zQ/W")],["image",n("ky0j")],["autolink",n("KOyK")],["html_inline",n("wtjL")],["entity",n("W1Rp")]],o=[["balance_pairs",n("g40J")],["strikethrough",n("kiyR").postProcess],["emphasis",n("yKnv").postProcess],["text_collapse",n("IIUr")]];function a(){var t;for(this.ruler=new r,t=0;t<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},TO8r:function(t,e){var n=/\s/;function r(t){var e=t.length;while(e--&&n.test(t.charAt(e)));return e}t.exports=r},TZmy:function(t,e,n){"use strict";n.d(e,"b",function(){return g}),n.d(e,"a",function(){return v});var r=n("mrSG"),i=n("iTfj"),o=n("w02o"),a=n("WOQw"),s=n("tKoa"),c=n("YuPD"),l=n("PLvT"),u=n("iIqE");function h(t){var e=t.chart,n=t.options,i=n.data,o=n.angleField,a=n.colorField,l=n.color,h=n.pieStyle,f=Object(u["d"])(i,o);if(Object(u["c"])(f,o)){var p="$$percentage$$";f=f.map(function(t){var e;return Object(r["a"])(Object(r["a"])({},t),(e={},e[p]=1/f.length,e))}),e.data(f);var d=Object(c["b"])({},t,{options:{xField:"1",yField:p,seriesField:a,isStack:!0,interval:{color:l,style:h},args:{zIndexReversed:!0}}});Object(s["c"])(d)}else{e.data(f);d=Object(c["b"])({},t,{options:{xField:"1",yField:o,seriesField:a,isStack:!0,interval:{color:l,style:h},args:{zIndexReversed:!0}}});Object(s["c"])(d)}return t}function f(t){var e,n=t.chart,r=t.options,i=r.meta,o=r.colorField,a=Object(c["b"])({},i);return n.scale(a,(e={},e[o]={type:"cat"},e)),t}function p(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}),t}function d(t){var e=t.chart,n=t.options,o=n.label,a=n.colorField,s=n.angleField,l=e.geometries[0];if(o){var h=o.callback,f=Object(r["c"])(o,["callback"]),p=Object(c["r"])(f);if(p.content){var d=p.content;p.content=function(t,n,o){var l=t[a],u=t[s],h=e.getScaleByField(s),f=null===h||void 0===h?void 0:h.scale(u);return Object(i["isFunction"])(d)?d(Object(r["a"])(Object(r["a"])({},t),{percent:f}),n,o):Object(i["isString"])(d)?Object(c["q"])(d,{value:u,name:l,percentage:Object(i["isNumber"])(f)&&!Object(i["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(i["isArray"])(p.layout)?p.layout:[p.layout]:[];p.layout=(y?[{type:y}]:[]).concat(v),l.label({fields:a?[s,a]:[s],callback:h,cfg:Object(r["a"])(Object(r["a"])({},p),{offset:Object(u["a"])(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,a=n.statistic,s=n.angleField,h=n.colorField,f=n.meta;if(e.getController("annotation").clear(!0),Object(c["e"])(Object(o["b"])())(t),r&&a){var p=Object(c["b"])({},l["a"].statistic,a),d=p.title,g=p.content;!1!==d&&(d=Object(c["b"])({},{formatter:function(t){return t?t[h]:"\u603b\u8ba1"}},d)),!1!==g&&(g=Object(c["b"])({},{formatter:function(t,e){var n=Object(i["get"])(f,[s,"formatter"]),r=t?t[s]:Object(u["b"])(e,s);return n?n(r):r}},g)),Object(c["p"])(e,{statistic:{title:d,content:g},plotType:"pie"})}return t}function y(t){var e=t.chart,n=t.options,r=n.tooltip,o=n.colorField,s=n.angleField;if(!1===r)e.tooltip(r);else{e.tooltip(Object(c["b"])({},r,{shared:!1}));var l=Object(i["get"])(r,"fields")||[o,s],u=Object(i["get"])(r,"formatter");u||(u=function(t){return{name:t[o],value:t[s]}}),e.geometries[0].tooltip(l.join("*"),Object(a["b"])(l,u))}return t}function v(t){return Object(c["e"])(h,f,o["j"],p,o["d"],y,d,o["i"],g,o["c"],o["a"])(t)}},U49A:function(t,e,n){"use strict";n.d(e,"b",function(){return p}),n.d(e,"a",function(){return g});var r=n("mrSG"),i=n("iTfj"),o=n("w02o"),a=n("n/J0"),s=n("YuPD"),c=n("w+x+"),l=n("9B5s");function u(t){var e=t.chart,n=t.options,r=n.percent,o=n.range,u=n.radius,h=n.innerRadius,f=n.startAngle,p=n.endAngle,d=n.axis,g=n.indicator,y=o.color;if(g){var v=Object(l["a"])(r),m=e.createView({id:c["c"]});m.data(v),m.point().position(c["e"]+"*1").shape("gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:g}),m.coordinate("polar",{startAngle:f,endAngle:p,radius:h*u}),m.axis(c["e"],d),m.scale(c["e"],Object(s["n"])(d,a["a"]))}var b=Object(l["b"])(r,n.range),x=e.createView({id:c["h"]});x.data(b);var O=Object(i["isString"])(y)?[y,c["a"]]:y;return x.interval().position("1*"+c["g"]).color(c["f"],O).adjust("stack"),x.coordinate("polar",{innerRadius:h,radius:u,startAngle:f,endAngle:p}).transpose(),t}function h(t){var e,n=t.chart,r=t.options,i=r.type,o=r.meter;if("meter"===i){var a=r.innerRadius,s=r.radius,l=r.startAngle,u=r.endAngle,h=n.getTheme().background,f=h;f&&"transparent"!==f||(f="#fff");var p=n.createView({id:c["d"]});p.data([(e={},e[c["f"]]="1",e[c["g"]]=1,e)]),p.interval().position("1*"+c["g"]).color(f).adjust("stack").shape("meter-gauge").customInfo(o||{}),p.coordinate("polar",{innerRadius:a,radius:s,startAngle:l,endAngle:u}).transpose()}return t}function f(t){var e;return Object(s["e"])(Object(o["f"])((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[c["e"]]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,o=i.statistic,a=i.percent;if(n.getController("annotation").clear(!0),o){var c=o.content,l=void 0;c&&(l=Object(s["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)"}},c)),Object(s["o"])(n,{statistic:Object(r["a"])(Object(r["a"])({},o),{content:l})},{percent:a})}return e&&n.render(!0),t}function d(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}function g(t){return Object(s["e"])(o["a"],u,f,p,o["c"],o["j"],h,Object(o["b"])(),d)(t)}},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 j(t){var e,n=t.chart;return n.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[b]={sync:"color"},e[x]={sync:"color"},e)),t}function w(t){var e=t.chart;return e.axis(!1),t}function k(t){var e=t.chart;return e.legend(!1),t}function S(t){var e=t.chart;return e.tooltip({showTitle:!1,showMarkers:!1}),t}function C(t){var e=t.chart;return e.coordinate("polar").reflect("y"),t}function M(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,o=n.label,a=e.createView();return a.data(r),Object(s["f"])({chart:a,options:{xField:v,yField:m,seriesField:b,polygon:{style:i},label:o,tooltip:!1}}),t}function A(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,o=n.tooltip,a=e.createView();a.data(r);var c={xField:v,yField:m,seriesField:x,edge:{style:i,shape:"arc"},tooltip:o};return Object(s["b"])({chart:a,options:c}),t}function T(t){return Object(a["e"])(O,C,j,w,k,S,A,M,o["c"],o["a"],o["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){var n=(t[0]+t[1])/2,r=n>.5?-4:4;return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:r,content:e}}},tooltip:{fields:["source","target","value"],formatter:function(t){var e=t.source,n=t.target,r=t.value;return{name:e+" -> "+n,value:r}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},e.prototype.getSchemaAdaptor=function(){return T}})(i["b"])},VaNO:function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},"Vlv/":function(t,e,n){"use strict";e.parseLinkLabel=n("31bW"),e.parseLinkDestination=n("5Mrk"),e.parseLinkTitle=n("fZFN")},Vwaf:function(t,e,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",o="'[^']*'",a='"[^"]*"',s="(?:"+i+"|"+o+"|"+a+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",h="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",f="<[?][\\s\\S]*?[?]>",p="<![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,"b",function(){return s}),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,j=u.style,w=u.tooltip,k=e[c](l).position(h+"*"+f);if(Object(i["isString"])(b))p?k.color(p,b):k.color(b);else if(Object(i["isFunction"])(b)){var S=a(n,"color");k.color(S.join("*"),s(S,b))}else p&&k.color(p,b);if(Object(i["isString"])(x))d?k.shape(d,[x]):k.shape(x);else if(Object(i["isFunction"])(x)){S=a(n,"shape");k.shape(S.join("*"),s(S,x))}else d&&k.shape(d,x);if(Object(i["isNumber"])(O))g?k.size(g,O):k.size(O);else if(Object(i["isFunction"])(O)){S=a(n,"size");k.size(S.join("*"),s(S,O))}else g&&k.size(g,O);if(Object(i["isFunction"])(j)){S=a(n,"style");k.style(S.join("*"),s(S,j))}else Object(i["isObject"])(j)&&k.style(j);if(!1===y?k.tooltip(!1):Object(i["isEmpty"])(y)||k.tooltip(y.join("*"),s(y,w)),!1===v)k.label(!1);else if(v){var C=v.callback,M=v.fields,A=Object(r["c"])(v,["callback","fields"]);k.label({fields:M||[f],callback:C,cfg:Object(o["r"])(A)})}return m&&k.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:k}})}},WXeg:function(t,e){},WbAE:function(t,e){},"X/+Q":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("DMQx"),o=n("O5pF");function a(t){var e=t.chart,n=t.options,a=n.xField,s=n.yField,c=n.xAxis,l=n.yAxis,u=n.barStyle,h=n.barWidthRatio,f=n.label,p=n.data,d=n.seriesField,g=n.isStack,y=n.minBarWidth,v=n.maxBarWidth;f&&!f.position&&(f.position="left",f.layout||(f.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var m=n.legend;d?!1!==m&&(m=Object(r["a"])({position:g?"top-left":"right-top",reversed:!g},m||{})):m=!1,t.options.legend=m;var b=n.tooltip;return d&&!1!==b&&(b=Object(r["a"])({reversed:!g},b||{})),t.options.tooltip=b,e.coordinate().transpose(),Object(i["a"])({chart:e,options:Object(r["a"])(Object(r["a"])({},n),{label:f,xField:s,yField:a,xAxis:l,yAxis:c,columnStyle:u,columnWidthRatio:h,minColumnWidth:y,maxColumnWidth:v,columnBackground:n.barBackground,data:Object(o["a"])(p)})},!0)}n.d(e,"b",function(){return i["b"]})},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("hJqF"),a=n("YuPD"),s=Object(a["b"])({},i["b"].getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1}),c=n("kXyF"),l=n("iTfj"),u=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(l["each"])(r,function(t){Object(l["each"])(t.elements,function(t){var e=-1!==Object(l["findIndex"])(n,function(e){return e.data===t.data});t.setState("active",e)})})}},e.prototype.getView=function(){return this.context.view},e}(c["d"]);Object(c["i"])("marker-active",u),Object(c["k"])("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}]}),n.d(e,"a",function(){return h});var h=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.getDefaultOptions=function(){return s},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(o["d"])({chart:n,options:r}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o["a"]},e}(i["b"])},XpFM:function(t,e,n){"use strict";var r=n("mrSG"),i=n("kXyF"),o=n("zJSt"),a=n("U49A"),s=n("w+x+"),c=n("9B5s");Object(i["l"])("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}});var l=n("+Oe8");Object(i["l"])("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo,r=n.steps,o=void 0===r?50:r,a=n.stepRatio,s=void 0===a?.5:a,c=this.coordinate.endAngle-this.coordinate.startAngle,u=c/o,h=0;s>0&&s<=1&&(u=c/((1-s)/s*(o-1)+o),h=u*(1-s)/s);var f=e.addGroup();if(h>0)for(var p=this.coordinate.getCenter(),d=this.coordinate.getRadius(),g=i["f"].getAngle(t,this.coordinate),y=g.startAngle,v=g.endAngle,m=y,b=0;m<v&&b<2*o-1;b++){var x=b%2;if(x){var O=Object(l["getSectorPath"])(p.x,p.y,d,m,Math.min(m+h,v),d*this.coordinate.innerRadius);f.addShape("path",{name:"meter-gauge-mask",attrs:{path:O,fill:t.color,stroke:t.color,lineWidth:.5},capture:!1})}m+=x?h:u}return f}}),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="gauge",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return s["b"]},e.prototype.changeData=function(t){this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t});var e=this.chart.views.find(function(t){return t.id===s["c"]});e&&e.data(Object(c["a"])(t));var n=this.chart.views.find(function(t){return t.id===s["h"]});n&&n.data(Object(c["b"])(t,this.options.range)),Object(a["b"])({chart:this.chart,options:this.options},!0),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(o["b"])},"Y+LX":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("sqD9"),a=n("X/+Q"),s=n("YuPD"),c=Object(s["b"])({},i["b"].getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]}),l=n("O5pF");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="bar",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,i=e.options,s=i.xField,c=i.yField,u=i.isPercent,h=Object(r["a"])(Object(r["a"])({},i),{xField:c,yField:s});Object(a["b"])({chart:n,options:h}),n.changeData(Object(o["a"])(Object(l["a"])(t),s,c,s,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},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("kXyF"),o=n("zJSt"),a=n("B3DA"),s=n("mI1Z"),c={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)+"%"}}},animation:{}};n.d(e,"a",function(){return l});var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.chart.emit(i["g"].BEFORE_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Object(a["a"])(t)),Object(s["b"])({chart:this.chart,options:this.options},!0),this.chart.emit(i["g"].AFTER_CHANGE_DATA,i["c"].fromData(this.chart,i["g"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s["a"]},e}(o["b"])},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["c"].min([0,0],a,f),s=v["c"].max([0,0],s,f)}a=v["c"].min([0,0],a,r[0]),s=v["c"].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["c"].sub(d,o,i),d=v["c"].scale(d,d,e);var g=v["c"].distance(f,i),y=v["c"].distance(f,o),m=g+y;0!==m&&(g/=m,y/=m);var b=v["c"].scale([0,0],d,-g),x=v["c"].scale([0,0],d,y),O=v["c"].add([0,0],f,b),j=v["c"].add([0,0],f,x);l&&(O=v["c"].max([0,0],O,a),O=v["c"].min([0,0],O,s),j=v["c"].max([0,0],j,a),j=v["c"].min([0,0],j,s)),c.push(O),c.push(j)}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 j=5,w={}.toString,k=function(t,e){return w.call(t)==="[object "+e+"]"},S=function(t){return k(t,"Array")},C=function(t){return"object"===typeof t&&null!==t},M=function(t){if(!C(t)||!k(t,"Object"))return!1;var e=t;while(null!==Object.getPrototypeOf(e))e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},A=function(t,e,n,r){for(var i in n=n||0,r=r||j,e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];o?M(o)?(M(t[i])||(t[i]={}),n<r?A(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}},T=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)A(t,e[r]);return t};function E(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 P,_=n("mj6g");function L(){return P||(P=document.createElement("canvas").getContext("2d")),P}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("")});var F=n("F/eT");n.d(e,"e",function(){return r}),n.d(e,"n",function(){return i}),n.d(e,"q",function(){return a}),n.d(e,"m",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,"j",function(){return g["c"]}),n.d(e,"h",function(){return g["b"]}),n.d(e,"r",function(){return y}),n.d(e,"i",function(){return O}),n.d(e,"b",function(){return T}),n.d(e,"l",function(){return E}),n.d(e,"p",function(){return _["c"]}),n.d(e,"o",function(){return _["b"]}),n.d(e,"k",function(){return F["a"]})},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},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("5OoT"),c=n("iTfj"),l=n("5HRO"),u=n("WOQw"),h="$$percentage$$",f="$$mappingValue$$",p="$$conversion$$",d="$$totalPercentage$$",g="$$x$$",y="$$y$$";function v(t,e,n){var r=[],i=n.yField,o=n.maxSize,a=n.minSize,s=Object(c["maxBy"])(e,i)[i],l=Object(c["isNumber"])(o)?o:1,u=Object(c["isNumber"])(a)?a:0;return r=Object(c["map"])(t,function(e,n){var r=(e[i]||0)/s;return e[h]=r,e[f]=(l-u)*r+u,e[p]=[Object(c["get"])(t,[n-1,i]),e[i]],e}),r}function m(t){return function(e){var n=e.chart,i=e.options,o=i.conversionTag,a=n.getOptions().data;if(o){var s=o.formatter;a.forEach(function(e,i){if(!(i<=0)){var l=t(e,i,a,{top:!0,text:{content:Object(c["isFunction"])(s)?s(e,a):s,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 b(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=v(i,i,{yField:o,maxSize:a,minSize:s});return e.data(c),t}function x(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.color,s=n.tooltip,d=n.label,g=Object(l["a"])(s,[r,i]),y=g.fields,v=g.formatter;Object(u["a"])({chart:e,options:{type:"interval",xField:r,yField:f,colorField:r,tooltipFields:Object(c["isArray"])(y)&&y.concat([h,p]),mapping:{shape:"funnel",tooltip:v,color:o},label:d}});var m=Object(a["c"])(t.chart,"interval");return m.adjust("symmetric"),t}function O(t){var e=t.chart,n=t.options,r=n.isTransposed;return e.coordinate({type:"rect",actions:r?[]:[["transpose"],["scale",1,-1]]}),t}function j(t){var e=t.options,n=e.maxSize,i=function(t,e,i,o){var a=n-(n-t[f])/2;return Object(r["a"])(Object(r["a"])({},o),{start:[e-.5,a],end:[e-.5,a+.05]})};return m(i)(t),t}function w(t){return Object(a["e"])(b,x,O,j)(t)}function k(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 S(t){var e=t.chart,n=t.options,r=n.data,i=n.xField,o=n.yField,s=n.color,d=n.compareField,g=n.isTransposed,y=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=v(e.data,r,{yField:o,maxSize:m,minSize:b});t.data(O);var j=Object(l["a"])(y,[i,o,d]),w=j.fields,k=j.formatter,S=g?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}};Object(u["a"])({chart:t,options:{type:"interval",xField:i,yField:f,colorField:i,tooltipFields:Object(c["isArray"])(w)&&w.concat([h,p]),mapping:{shape:"funnel",tooltip:k,color:s,style:{lineWidth:1,stroke:"#fff"}},label:!1!==x&&Object(a["b"])({},S,x)}})}}),t}function C(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[f]],end:[n-.5,t[f]+.05],text:i?{style:{textAlign:"start"}}:{offsetX:!1!==r?c*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})};m(o)(Object(a["b"])({},{chart:t,options:n}))})}),t}function M(t){return Object(a["e"])(k,S,C)(t)}function A(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(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 E(t){return Object(a["e"])(A,T)(t)}function P(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,o=n.yField,a=Object(c["reduce"])(i,function(t,e){return t+(e[o]||0)},0),s=Object(c["maxBy"])(i,o)[o],l=Object(c["map"])(i,function(t,e){var n=[],r=[];if(t[d]=(t[o]||0)/a,e){var l=i[e-1][g],u=i[e-1][y];n[0]=l[3],r[0]=u[3],n[1]=l[2],r[1]=u[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[d],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[g]=n,t[y]=r,t[h]=(t[o]||0)/s,t[p]=[Object(c["get"])(i,[e-1,o]),t[o]],t});return e.data(l),t}function _(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.color,a=n.tooltip,s=n.label,f=Object(l["a"])(a,[r,i]),d=f.fields,v=f.formatter;return Object(u["a"])({chart:e,options:{type:"polygon",xField:g,yField:y,colorField:r,tooltipFields:Object(c["isArray"])(d)&&d.concat([h,p]),label:s,mapping:{tooltip:v,color:o}}}),t}function L(t){var e=t.chart,n=t.options,r=n.isTransposed;return e.coordinate({type:"rect",actions:r?[["transpose"],["reflect","x"]]:[]}),t}function F(t){var e=function(t,e,n,i){return Object(r["a"])(Object(r["a"])({},i),{start:[t[g][1],t[y][1]],end:[t[g][1]+.05,t[y][1]]})};return m(e)(t),t}function I(t){return Object(a["e"])(P,_,L,F)(t)}function D(t){var e,n=t.options,r=n.compareField,i=n.xField,o=n.yField,c={minSize:0,maxSize:1,meta:(e={},e[f]={min:0,max:1,nice:!1},e),label:r?{fields:[i,o,r,h,p],style:{fill:"#fff",fontSize:12},formatter:function(t){return""+t[o]}}:{fields:[i,o,h,p],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: "+s["a"].apply(void 0,t[p])}}};return Object(a["b"])({options:c},t)}function B(t){var e=t.options,n=e.compareField,r=e.dynamicHeight,i=e.seriesField;return i?E(t):n?M(t):r?I(t):w(t)}function R(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 N(t){var e=t.chart;return e.axis(!1),t}function z(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"])(D,B,R,N,o["k"],o["c"],z,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["b"])},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 k}),n.d(r,"Marker",function(){return A}),n.d(r,"Path",function(){return E}),n.d(r,"Polygon",function(){return _}),n.d(r,"Polyline",function(){return F}),n.d(r,"Rect",function(){return B}),n.d(r,"Text",function(){return W});var i=n("mrSG"),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,j=n("EYNi"),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(e,i){if("startArrow"===i||"endArrow"===i)if(e){var o=Object(p["isObject"])(e)?t.addArrow(n,l["b"][i]):t.getDefaultArrow(n,l["b"][i]);r.setAttribute(l["b"][i],"url(#"+o+")")}else r.removeAttribute(l["b"][i]);else l["b"][i]&&r.setAttribute(l["b"][i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return j["c"].length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return j["c"].pointAt(n,r,i,o,t)},e}(f),k=w,S={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},C={get:function(t){return S[t]},register:function(t,e){S[t]=e},remove:function(t){delete S[t]},getAll:function(){return S}},M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t){var e=this.get("el");e.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return Object(p["isArray"])(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return t=Object(p["isFunction"])(o)?o:C.get(o),t?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=C,e}(f),A=M,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(p["each"])(e||r,function(e,o){if("path"===o&&Object(p["isArray"])(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===o||"endArrow"===o)if(e){var a=Object(p["isObject"])(e)?t.addArrow(r,l["b"][o]):t.getDefaultArrow(r,l["b"][o]);i.setAttribute(l["b"][o],"url(#"+a+")")}else i.removeAttribute(l["b"][o]);else l["b"][o]&&i.setAttribute(l["b"][o],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(f),E=T,P=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"points"===e&&Object(p["isArray"])(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),_=P,L=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"points"===e&&Object(p["isArray"])(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return Object(p["isNil"])(e)?(this.set("totalLength",j["d"].length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),Object(p["each"])(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),j["c"].pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(p["each"])(t,function(a,s){t[s+1]&&(n=[],n[0]=i/e,r=j["c"].length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(f),F=L;function I(t){var e=0,n=0,r=0,i=0;return Object(p["isArray"])(t)?1===t.length?e=n=r=i=t[0]:2===t.length?(e=r=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],i=t[3]):e=n=r=i=t,{r1:e,r2:n,r3:r,r4:i}}var D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,a=["x","y","width","height","radius"];Object(p["each"])(e||r,function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&l["b"][e]&&i.setAttribute(l["b"][e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var a=I(o);Object(p["isArray"])(o)?1===o.length?a.r1=a.r2=a.r3=a.r4=o[0]:2===o.length?(a.r1=a.r3=o[0],a.r2=a.r4=o[1]):3===o.length?(a.r1=o[0],a.r2=a.r4=o[1],a.r3=o[2]):(a.r1=o[0],a.r2=o[1],a.r3=o[2],a.r4=o[3]):a.r1=a.r2=a.r3=a.r4=o;var s=[["M "+(e+a.r1)+","+n],["l "+(r-a.r1-a.r2)+",0"],["a "+a.r2+","+a.r2+",0,0,1,"+a.r2+","+a.r2],["l 0,"+(i-a.r2-a.r3)],["a "+a.r3+","+a.r3+",0,0,1,"+-a.r3+","+a.r3],["l "+(a.r3+a.r4-r)+",0"],["a "+a.r4+","+a.r4+",0,0,1,"+-a.r4+","+-a.r4],["l 0,"+(a.r4+a.r1-i)],["a "+a.r1+","+a.r1+",0,0,1,"+a.r1+","+-a.r1],["z"]];return s.join(" ")},e}(f),B=D,R=n("e0ae"),N=.3,z={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},Y={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},G={left:"left",start:"left",center:"middle",right:"end",end:"end"},V=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),Object(p["each"])(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?Object(a["c"])(n):l["b"][e]&&i.setAttribute(l["b"][e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=Object(R["a"])();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",Y[n]||"alphabetic"):t.setAttribute("alignment-baseline",z[n]||"baseline"),t.setAttribute("text-anchor",G[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t)if(~t.indexOf("\n")){var a=t.split("\n"),s=a.length-1,c="";Object(p["each"])(a,function(t,e){0===e?"alphabetic"===o?c+='<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),W=V;n.d(e,"Base",function(){return f}),n.d(e,"Circle",function(){return g}),n.d(e,"Dom",function(){return v}),n.d(e,"Ellipse",function(){return b}),n.d(e,"Image",function(){return O}),n.d(e,"Line",function(){return k}),n.d(e,"Marker",function(){return A}),n.d(e,"Path",function(){return E}),n.d(e,"Polygon",function(){return _}),n.d(e,"Polyline",function(){return F}),n.d(e,"Rect",function(){return B}),n.d(e,"Text",function(){return W})},aSjE:function(t,e,n){"use strict";function r(t,e){var n=[],r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],h=t[8],f=e[0],p=e[1],d=e[2],g=e[3],y=e[4],v=e[5],m=e[6],b=e[7],x=e[8];return n[0]=f*r+p*a+d*l,n[1]=f*i+p*s+d*u,n[2]=f*o+p*c+d*h,n[3]=g*r+y*a+v*l,n[4]=g*i+y*s+v*u,n[5]=g*o+y*c+v*h,n[6]=m*r+b*a+x*l,n[7]=m*i+b*s+x*u,n[8]=m*o+b*c+x*h,n}function i(t,e){var n=[],r=e[0],i=e[1];return n[0]=t[0]*r+t[3]*i+t[6],n[1]=t[1]*r+t[4]*i+t[7],n}function o(t){var e=[],n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],l=t[7],u=t[8],h=u*a-s*l,f=-u*o+s*c,p=l*o-a*c,d=n*h+r*f+i*p;return d?(d=1/d,e[0]=h*d,e[1]=(-u*r+i*l)*d,e[2]=(s*r-i*a)*d,e[3]=f*d,e[4]=(u*n-i*c)*d,e[5]=(-s*n+i*o)*d,e[6]=p*d,e[7]=(-l*n+r*c)*d,e[8]=(a*n-r*o)*d,e):null}n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o})},adU4:function(t,e,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(t){var e=this.__data__,n=r(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():o.call(e,n,1),--this.size,!0}t.exports=a},b80T:function(t,e,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),c=n("c6wG"),l=Object.prototype,u=l.hasOwnProperty;function h(t,e){var n=o(t),l=!n&&i(t),h=!n&&!l&&a(t),f=!n&&!l&&!h&&c(t),p=n||l||h||f,d=p?r(t.length,String):[],g=d.length;for(var y in t)!e&&!u.call(t,y)||p&&("length"==y||h&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||d.push(y);return d}t.exports=h},bgCn:function(t,e,n){"use strict";for(var r=n("AGgm").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){i[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o=t.pos,a=t.posMax;if(92!==t.src.charCodeAt(o))return!1;if(o++,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=n("I7nc"),f={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function p(t,e){e=Object(u["assign"])({},f,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=Object(h["b"])(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]})}),Object(h["a"])(o)}var d=n("NzZ7");function g(t){var e=t.data,n=t.type,i=t.seriesField,o=t.colorField,a=t.hierarchyConfig,s={partition:p,treemap:d["a"]},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 y(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 v(t){var e=t.chart,n=t.options,r=n.color,o=n.colorField,s=n.sunburstStyle,c=g(n);return e.data(c),Object(a["f"])(Object(i["b"])({},t,{options:{xField:"x",yField:"y",seriesField:o,polygon:{color:r,style:s}}})),t}function m(t){var e=t.chart;return e.axis(!1),t}function b(t){var e=t.chart;return e.legend(!1),t}function x(t){var e=t.chart,n=t.options,o=n.label,a=n.seriesField,s=Object(i["c"])(e,"polygon");if(o){var c=o.callback,l=Object(r["c"])(o,["callback"]);s.label({fields:[a],callback:c,cfg:Object(i["r"])(l)})}else s.label(!1);return t}function O(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius,o=n.reflect,a=e.coordinate({type:"polar",cfg:{innerRadius:r,radius:i}});return o&&a.reflect(o),t}function j(t){var e=t.chart,n=t.options,r=n.meta;return r&&e.scale(r),t}function w(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.seriesField,a=n.colorField;return i&&e.tooltip(Object(r["a"])(Object(r["a"])({},i),{customContent:i&&i.customContent?i.customContent:function(t,e){return y({value:t,items:e,formatter:i&&(null===i||void 0===i?void 0:i.formatter),fields:i&&i.fields||[o,a]})}})),t}function k(t){return Object(i["e"])(v,s["j"],m,j,b,O,w,x,s["c"],s["a"],Object(s["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sunburst",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(i["b"])({},t.prototype.getDefaultOptions.call(this),{type:"partition",innerRadius:0,seriesField:"value",tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1}})},e.prototype.getSchemaAdaptor=function(){return k}})(o["b"])},cTMM:function(t,e,n){"use strict";var r=n("CWsV");function i(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}i.prototype.Token=r,t.exports=i},"cq/+":function(t,e,n){var r=n("mc0g"),i=r();t.exports=i},cvCv:function(t,e){function n(t){return function(){return t}}t.exports=n},cyZq:function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"l",function(){return c}),n.d(e,"j",function(){return l});var r=n("iTfj");function i(){return window?window.devicePixelRatio:1}function o(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function a(t,e,n,r,i,o){return i>=t&&i<=t+n&&o>=e&&o<=e+r}function s(t,e){return!(e.minX>t.maxX||e.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]",j="[object Float64Array]",w="[object Int8Array]",k="[object Int16Array]",S="[object Int32Array]",C="[object Uint8Array]",M="[object Uint8ClampedArray]",A="[object Uint16Array]",T="[object Uint32Array]",E={};function P(t){return o(t)&&i(t.length)&&!!E[r(t)]}E[O]=E[j]=E[w]=E[k]=E[S]=E[C]=E[M]=E[A]=E[T]=!0,E[a]=E[s]=E[b]=E[c]=E[x]=E[l]=E[u]=E[h]=E[f]=E[p]=E[d]=E[g]=E[y]=E[v]=E[m]=!1,t.exports=P},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},de35:function(t,e,n){"use strict";var r=n("mrSG"),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},"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,j=e.annotations,w=e.markers,k=e.placeholder;this.editor=l.edit(this.refEditor),r&&r(l);for(var S=Object.keys(this.props.editorProps),C=0;C<S.length;C++)this.editor[S[C]]=this.props.editorProps[S[C]];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),k&&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(j||[]),w&&w.length>0&&this.handleMarkers(w);var M=this.editor.$options;c.editorOptions.forEach(function(e){M.hasOwnProperty(e)?t.editor.setOption(e,t.props[e]):t.props[e]&&console.warn("ReactAce: editor option "+e+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(O)&&O.forEach(function(e){"string"===typeof e.exec?t.editor.commands.bindKey(e.bindKey,e.exec):t.editor.commands.addCommand(e)}),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),x&&x(this.editor),this.editor.resize(),a&&this.editor.focus()},e.prototype.componentDidUpdate=function(t){for(var e=t,n=this.props,r=0;r<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},eHqw:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("KMYG"),s=n("w02o"),c=n("YuPD"),l=n("NzZ7");function u(t){return!!Object(o["isArray"])(t)&&t.findIndex(function(t){return"treemap-drill-down"===t.type})>-1}function h(t,e){var n=u(t);return n?t.map(function(t){return"treemap-drill-down"===t.type?Object(c["b"])({},t,{cfg:{hierarchyConfig:e}}):t}):t}function f(t){var e=t.data,n=t.colorField,i=t.openDrillDown,o=t.hierarchyConfig,a=Object(l["a"])(e,Object(r["a"])(Object(r["a"])({},o),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),s=[];return a.forEach(function(t){if(0===t.depth)return null;if(i&&1!==t.depth)return null;if(!i&&t.children)return null;var e=Object.assign({},t.data,{x:t.x,y:t.y,depth:t.depth,value:t.value});if(!t.data[n]&&t.parent){var r=t.ancestors().find(function(t){return t.data[n]});e[n]=null===r||void 0===r?void 0:r.data[n]}else e[n]=t.data[n];s.push(e)}),s}function p(t){var e=t.options,n=e.colorField;return Object(c["b"])({options:{colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1,fields:["name","value",n],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function d(t){var e=t.chart,n=t.options,r=n.color,i=n.colorField,o=n.rectStyle,s=n.hierarchyConfig,l=f({data:n.data,colorField:n.colorField,openDrillDown:u(n.interactions),hierarchyConfig:s});return e.data(l),Object(a["a"])(Object(c["b"])({},t,{options:{xField:"x",yField:"y",seriesField:i,rawFields:["value"],polygon:{color:r,style:o}}})),e.coordinate().reflect("y"),t}function g(t){var e=t.chart;return e.axis(!1),t}function y(t){var e=t.chart,n=t.options,r=n.interactions,i=n.hierarchyConfig;Object(s["c"])({chart:e,options:{interactions:h(r,i)}});var a=Object(o["isArray"])(r)&&r.find(function(t){return"view-zoom"===t.type});return a&&(!1!==a.enable?e.getCanvas().on("mousewheel",function(t){t.preventDefault()}):e.getCanvas().off("mousewheel")),t}function v(t){return Object(c["e"])(p,d,g,s["j"],s["d"],s["k"],y,s["a"],Object(s["b"])())(t)}var m=n("kXyF"),b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cacheDataStack=[],e}return Object(r["b"])(e,t),e.prototype.drill=function(t){var e=this.context.view,n=e.getData(),r=e.getGroupScales(),i=Object(o["get"])(e,["interactions","treemap-drill-down","cfg","hierarchyConfig"],{}),a=f({data:t,colorField:Object(o["get"])(r,[0,"field"]),openDrillDown:!0,hierarchyConfig:i});e.changeData(a),this.cacheDataStack.push(n)},e.prototype.click=function(){var t=Object(o["get"])(this.context,["event","data","data"]);if(!t)return!1;this.drill(t)},e.prototype.reset=function(){var t=this.context.view;if(Object(o["isArray"])(this.cacheDataStack)&&!(this.cacheDataStack.length<=0)){var e=this.cacheDataStack.splice(this.cacheDataStack.length-1,1);t.changeData(e[0])}},e}(m["a"]);function x(t){var e=Object(o["get"])(t,["event","data","data"],{});return Object(o["isArray"])(e.children)&&e.children.length>0&&1===e.depth}function O(t){if(!t||!t.getAction)return!1;var e=t.getAction("treemap-drill-down-action");if(!e)return!1;var n=e.cacheDataStack;return Object(o["isArray"])(n)&&n.length>0}Object(m["i"])("treemap-drill-down-action",b),Object(m["k"])("treemap-drill-down",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:pointer"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"element:click",isEnable:x,action:["treemap-drill-down-action:click","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["treemap-drill-down-action:reset"]},{trigger:"reset-button:click",action:["reset-button:hide"],isEnable:function(t){return!O(t)}}]});n("hag6"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="treemap",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){var e=this.options,n=e.colorField,r=e.interactions,i=e.hierarchyConfig;this.updateOption({data:t});var o=f({data:t,colorField:n,openDrillDown:u(r),hierarchyConfig:i});this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return v}}(i["b"])},eUgh:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++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("mrSG"),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["a"])(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["b"]({values:t}),a=new u["a"]({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["b"]({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:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},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:"handler",x:0,y:0,width:10,height:24,style:m})},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"]),x={fill:"#416180",opacity:.05},O={fill:"#5B8FF9",opacity:.15,cursor:"move"},j=10,w={width:j,height:24},k={textBaseline:"middle",fill:"#000",opacity:.45},S="sliderchange",C=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(S,[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:x,foregroundStyle:O,handlerStyle:w,textStyle:k}})},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=Object(i["deepMix"])({},m,this.cfg.handlerStyle);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 x=Object(i["get"])(y,"width",j),O=Object(i["get"])(y,"height",24);this.minHandler=this.addComponent(t,{component:b,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(o-O)/2,width:x,height:O,cursor:"ew-resize",style:y}),this.maxHandler=this.addComponent(t,{component:b,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(o-O)/2,width:x,height:O,cursor:"ew-resize",style:y})},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",j);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",j),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 C})},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}t.exports=a},fIp6:function(t,e,n){"use strict";function r(t,e,n){if(t){if("function"===typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"===typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}var i,o,a,s;function c(){i=document.createElement("table"),o=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,s={tr:document.createElement("tbody"),tbody:i,thead:i,tfoot:i,td:o,th:o,"*":document.createElement("div")}}function l(t){i||c();var e=a.test(t)&&RegExp.$1;e&&e in s||(e="*");var n=s[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var r=n.childNodes[0];return n.removeChild(r),r}function u(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{r=void 0===r?n:r}return r}function h(t,e){var n=u(t,"height",e);return"auto"===n&&(n=t.offsetHeight),parseFloat(n)}function f(t,e){var n=h(t,e),r=parseFloat(u(t,"borderTopWidth"))||0,i=parseFloat(u(t,"paddingTop"))||0,o=parseFloat(u(t,"paddingBottom"))||0,a=parseFloat(u(t,"borderBottomWidth"))||0,s=parseFloat(u(t,"marginTop"))||0,c=parseFloat(u(t,"marginBottom"))||0;return n+r+a+i+o+s+c}function p(t,e){var n=u(t,"width",e);return"auto"===n&&(n=t.offsetWidth),parseFloat(n)}function d(t,e){var n=p(t,e),r=parseFloat(u(t,"borderLeftWidth"))||0,i=parseFloat(u(t,"paddingLeft"))||0,o=parseFloat(u(t,"paddingRight"))||0,a=parseFloat(u(t,"borderRightWidth"))||0,s=parseFloat(u(t,"marginRight"))||0,c=parseFloat(u(t,"marginLeft"))||0;return n+r+a+i+o+c+s}function g(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}n.d(e,"a",function(){return r}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"e",function(){return g})},"fMI+":function(t,e,n){"use strict";var r=n("AGgm").assign,i=n("AGgm").unescapeAll,o=n("AGgm").escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(t,e,n,r,i){var a=t[e];return"<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]=u[c].slice(),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 A}),n.d(i,"reserveFirst",function(){return T}),n.d(i,"reserveLast",function(){return E}),n.d(i,"reserveBoth",function(){return P}),n.d(i,"equidistance",function(){return _}),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("mrSG"),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:{},optimize:{},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}}},optimize:{enable:!0,threshold:400}},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.optimizeTicks(),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.optimizeTicks=function(){var t=this.get("optimize"),e=this.get("ticks");if(t&&t.enable&&t.threshold>0){var n=Object(l["size"])(e);if(n>t.threshold){var r=Math.ceil(n/t.threshold),i=e.filter(function(t,e){return e%r===0});this.set("ticks",i),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var r=this.get("label"),i=r.offset,o=r.rotate,a=r.formatter,s=this.getSidePoint(t.point,i),c=this.getSideVector(i,s),u=a?a(t.name,t,e):t.name,f=r.style;f=Object(l["isFunction"])(f)?Object(l["get"])(this.get("theme"),["label","style"],{}):f;var p=Object(l["mix"])({x:s.x,y:s.y,text:u,textAlign:this.getTextAnchor(c),textBaseline:this.getTextBaseline(c)},f);return o&&(p.matrix=Object(h["e"])(s,o)),p},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),r=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});Object(l["each"])(n,function(t,i){e.addShape(r,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,i,n),delegateObject:{tick:t,item:t,index:i}})}),this.processOverlap(r);var i=r.getChildren(),o=Object(l["get"])(this.get("theme"),["label","style"],{}),a=this.get("label"),s=a.style,c=a.formatter;if(Object(l["isFunction"])(s)){var u=i.map(function(t){return Object(l["get"])(t.get("delegateObject"),"tick")});Object(l["each"])(i,function(t,e){var n=t.get("delegateObject").tick,r=c?c(n.name,n,e):n.name,i=Object(l["mix"])({},o,s(r,e,u));t.attr(i)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,r=t.offset,i=t.spacing,o=void 0===i?0:i,a=t.autoRotate,s=e.fontSize,u=.5;"start"===n?u=0:"end"===n&&(u=1);var f=this.getTickPoint(u),p=this.getSidePoint(f,r||o+s/2),d=Object(l["mix"])({x:p.x,y:p.y,text:t.text},e),g=t.rotate,y=g;if(Object(l["isNil"])(g)&&a){var v=this.getAxisVector(f),m=[1,0];y=c["a"].angleTo(v,m,!0)}if(y){var b=Object(h["e"])(p,y);d.matrix=b}return d},e.prototype.drawTitle=function(t){this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:this.getTitleAttrs()})},e.prototype.applyTickStates=function(t,e){var n=this.getItemStates(t);if(n.length){var r=this.get("tickStates"),i=this.getElementId("label-"+t.id),o=e.findById(i);if(o){var a=Object(f["a"])(t,"label",r);a&&o.attr(a)}var s=this.getElementId("tickline-"+t.id),c=e.findById(s);if(c){var l=Object(f["a"])(t,"tickLine",r);l&&c.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),r=this.get("label"),i=this.getElementByLocalId("label-"+t.id),o=this.get("tickLine"),a=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(i){var s=Object(f["a"])(t,"label",n);s&&i.attr(s)}if(a){var c=Object(f["a"])(t,"tickLine",n);c&&a.attr(c)}}else i&&i.attr(r.style),a&&a.attr(o.style)},e}(u["a"]),g=d,y=n("BgvD");function v(t,e,n,r){var i=e.getChildren(),o=!1;return Object(l["each"])(i,function(e){var i=Object(y["a"])(t,e,n,r);o=o||i}),o}function m(){return x}function b(t,e,n){return v(t,e,n,"head")}function x(t,e,n){return v(t,e,n,"tail")}function O(t,e,n){return v(t,e,n,"middle")}var j=n("5UbV");function w(t){var e=t.attr("matrix");return e&&1!==e[0]}function k(t){var e=w(t)?Object(h["d"])(t.attr("matrix")):0;return e%360}function S(t,e,n,r){var i=!1,o=k(e),a=t?Math.abs(n.attr("y")-e.attr("y")):Math.abs(n.attr("x")-e.attr("x")),s=(t?n.attr("y")>e.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(o));i=Object(j["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}else{c=Math.abs(Math.sin(o));i=Object(j["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}return i}function C(t,e,n,r){var i=(null===r||void 0===r?void 0:r.minGap)||0,o=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!o.length)return!1;var a=!1;n&&o.reverse();for(var s=o.length,c=o[0],l=c,u=1;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=k(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(j["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(j["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 A(){return _}function T(t,e,n,r){return C(t,e,!1,r)}function E(t,e,n,r){return C(t,e,!0,r)}function P(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 _(t,e,n,r){var i=M(t,e,r);return C(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(),C(t,e,!1,r)&&(o=!0)),s.get("visible")||(s.show(),C(t,e,!0,r)&&(o=!0))}return o}function F(t,e){Object(l["each"])(t,function(t){var n=t.attr("x"),r=t.attr("y"),i=Object(h["e"])({x:n,y:r},e);t.attr("matrix",i)})}function I(t,e,n,r){var i=e.getChildren();if(!i.length)return!1;if(!t&&i.length<2)return!1;var o=Object(y["b"])(i),a=!1;if(t)a=!!n&&o>n;else{var s=Math.abs(i[1].attr("x")-i[0].attr("x"));a=o>s}if(a){var c=r(n,o);F(i,c)}return a}function D(){return B}function B(t,e,n,r){return I(t,e,n,function(){return Object(l["isNumber"])(r)?r:t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate})}function R(t,e,n){return I(t,e,n,function(e,n){if(!e)return t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate;if(t)return-Math.acos(e/n);var r=0;return e>n?r=Math.PI/4:(r=Math.asin(e/n),r>Math.PI/4&&(r=Math.PI/4)),r})}var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s["a"])(Object(s["a"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),o=Math.min(e.y,n.y,r.y),a=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:o,minX:i,minY:o,maxX:a,maxY:s,width:a-i,height:s-o}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return Object(l["isNumberEqual"])(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return Object(l["isNumberEqual"])(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this,n=e.get("start"),r=e.get("end"),i=r.x-n.x,o=r.y-n.y;return{x:n.x+i*t,y:n.y+o*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=c["c"].normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return c["c"].scale([0,0],i,t*r)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),r=this.isHorizontal();if(n||r){var i=this.get("label"),o=this.get("title"),a=this.get("verticalLimitLength"),s=i.offset,c=a,u=0,h=0;o&&(u=o.style.fontSize,h=o.spacing),c&&(c=c-s-h-u);var f=this.get("overlapOrder");if(Object(l["each"])(f,function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,c)}),o&&Object(l["isNil"])(o.offset)){var p=t.getCanvasBBox(),d=n?p.width:p.height;o.offset=s+d+h+u/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||Object(l["isNil"])(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,o=this.isVertical(),s=!1,c=a[t];if(!0===e){this.get("label");s=c.getDefault()(o,n,r)}else if(Object(l["isFunction"])(e))s=e(o,n,r);else if(Object(l["isObject"])(e)){var u=e;c[u.type]&&(s=c[u.type](o,n,r,u.cfg))}else c[e]&&(s=c[e](o,n,r));if("autoRotate"===t){if(s){var h=n.getChildren(),f=this.get("verticalFactor");Object(l["each"])(h,function(t){var e=t.attr("textAlign");if("center"===e){var n=f>0?"end":"start";t.attr("textAlign",n)}})}}else if("autoHide"===t){var p=n.getChildren().slice(0);Object(l["each"])(p,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(g),z=N,Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s["a"])(Object(s["a"])({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=r,o=this.get("startAngle"),a=this.get("endAngle"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[["M",e,n-i],["A",r,i,0,1,1,e,n+i],["A",r,i,0,1,1,e,n-i],["Z"]];else{var c=this.getCirclePoint(o),l=this.getCirclePoint(a),u=Math.abs(a-o)>Math.PI?1:0,h=o>a?0:1;s=[["M",e,n],["L",c.x,c.y],["A",r,i,0,u,h,l.x,l.y],["L",e,n]]}return s},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle"),r=e+(n-e)*t;return this.getCirclePoint(r)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),o=c["c"].length(r);return c["c"].scale(r,r,i*t/o),r},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e}(g),G=Y;n.d(e,"Line",function(){return z}),n.d(e,"Circle",function(){return G}),n.d(e,"Base",function(){return g})},fZFN:function(t,e,n){"use strict";var r=n("AGgm").unescapeAll;t.exports=function(t,e,n){var i,o,a=0,s=e,c={ok:!1,pos:0,lines:0,str:""};if(e>=n)return c;if(o=t.charCodeAt(e),34!==o&&39!==o&&40!==o)return c;e++,40===o&&(o=41);while(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;if(40===i&&41===o)return 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],r=n-i.jump-1,r<-1&&(r=-1),s=r;r>a;r-=o.jump+1)if(o=e[r],o.marker===i.marker&&o.open&&o.end<0&&(c=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(c=!0)),!c)){l=r>0&&!e[r-1].open?e[r-1].jump+1:0,i.jump=n-r+l,i.open=!1,o.end=n,o.jump=l,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.length||0)%3]=s)}}t.exports=function(t){var e,n=t.tokens_meta,i=t.tokens_meta.length;for(r(t,t.delimiters),e=0;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,j;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",j=t.md.block.ruler.getRules("blockquote"),g=t.push("table_open","table",1),g.map=m=[e,0],g=t.push("thead_open","thead",1),g.map=[e,e+1],g=t.push("tr_open","tr",1),g.map=[e,e+1],u=0;u<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=j.length;u<h;u++)if(j[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["r"])(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)}},hYLx:function(t,e,n){"use strict";n.d(e,"b",function(){return u}),n.d(e,"a",function(){return h});var r=n("w02o"),i=n("YuPD"),o=n("tKoa"),a=n("7cv3"),s=n("lFe4"),c=n("DyAw");function l(t){var e=t.chart,n=t.options,r=n.data,c=n.color,l=n.areaStyle,u=n.point,h=n.line,f=Object(s["a"])(r);e.data(f);var p=Object(i["b"])({},t,{options:{xField:a["c"],yField:a["d"],area:{color:c,style:l},line:h,point:u}}),d=Object(i["b"])({},p,{options:{tooltip:!1}});return Object(o["a"])(p),Object(o["d"])(d),Object(o["e"])(d),e.axis(!1),e.legend(!1),t}function u(t){var e,n,o=t.options,l=o.xAxis,u=o.yAxis,h=o.data,f=Object(s["a"])(h);return Object(i["e"])(Object(r["f"])((e={},e[a["c"]]=l,e[a["d"]]=u,e),(n={},n[a["c"]]={type:"cat"},n[a["d"]]=Object(c["a"])(f,a["d"]),n)))(t)}function h(t){return Object(i["e"])(l,u,r["k"],r["j"],r["a"],Object(r["b"])())(t)}},hag6:function(t,e,n){"use strict";var r=n("kXyF");Object(r["k"])("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"}]})},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")},iIqE: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("YuPD");function o(t,e){var n=null;return Object(r["each"])(t,function(t){"number"===typeof t[e]&&(n+=t[e])}),n}function a(t,e){var n;switch(t){case"inner":return n="-30%",Object(r["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)>0?n:e:e<0?e:n;case"outer":return n=12,Object(r["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}function s(t,e){var n=Object(r["filter"])(t,function(t){var n=t[e];return"number"===typeof n&&!isNaN(n)||null===n});return Object(i["m"])(i["a"].WARN,n.length===t.length,"illegal data existed in chart data."),n}function c(t,e){return Object(r["every"])(t,function(t){return 0===t[e]})}},iTfj:function(t,e,n){"use strict";n.r(e);var r=function(t){return null!==t&&"function"!==typeof t&&isFinite(t.length)},i=r,o=function(t,e){return!!i(t)&&t.indexOf(e)>-1},a=o,s=function(t,e){if(!i(t))return t;for(var n=[],r=0;r<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},j=O;function w(t,e){var n=j(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 k=w,S=function(t){return"object"===typeof t&&null!==t},C=S,M=function(t){if(!C(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},A=M;function T(t,e){if(!v(t))return null;var n;if(d(e)&&(n=e),A(e)&&(n=function(t){return k(t,e)}),n)for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r];return null}var E=T;function P(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,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},F=L,I=function(t){if(!v(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e},D=I,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){if(v(t))return t.reduce(function(t,e){return Math.max(t,e)},t[0])},z=function(t){if(v(t))return t.reduce(function(t,e){return Math.min(t,e)},t[0])},Y=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=N(e),o=z(e);return{min:o,max:i}},G=Y,V=Array.prototype,W=V.splice,H=V.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=H.call(t,i))>-1)W.call(t,o,1)}return t},U=X,q=Array.prototype.splice,Z=function(t,e){if(!i(t))return[];var n=t?e.length:0,r=n-1;while(n--){var o=void 0,a=e[n];n!==r&&a===o||(o=a,q.call(t,a,1))}return t},K=Z,Q=function(t,e,n){if(!v(t)&&!A(t))return t;var r=n;return x(t,function(t,n){r=e(r,t,n)}),r},$=Q,J=function(t,e){var n=[];if(!i(t))return n;var r=-1,o=[],a=t.length;while(++r<a){var s=t[r];e(s,r,t)&&(n.push(s),o.push(r))}return K(t,o),n},tt=J,et=function(t){return p(t,"String")};function nt(t,e){var n;if(d(e))n=function(t,n){return e(t)-e(n)};else{var r=[];et(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 rt=nt;function it(t,e){void 0===e&&(e=new Map);var n=[];if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++){var o=t[r];e.has(o)||(n.push(o),e.set(o,!0))}return n}var ot=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return it([].concat.apply([],t))},at=ot,st=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 ct(t){if(i(t))return t[0]}function lt(t){if(i(t)){var e=t;return e[e.length-1]}}function ut(t,e){return!(!v(t)&&!et(t))&&t[0]===e}var ht=ut;function ft(t,e){return!(!v(t)&&!et(t))&&t[t.length-1]===e}var pt=ft,dt=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0},gt=dt,yt=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1},vt=yt,mt=Object.prototype.hasOwnProperty;function bt(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),mt.call(r,n)?r[n].push(a):r[n]=[a]}return r}var xt=bt;function Ot(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}}return xt(t,e)}var jt=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 wt(t,e){return t["_wrap_"+e]}var kt=wt;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 Ct=St,Mt={};function At(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 Tt=At;function Et(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 Pt=Et,_t=function(t,e,n){return t<e?e:t>n?n:t},Lt=_t,Ft=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))},It=Ft,Dt=function(t){return p(t,"Number")},Bt=Dt,Rt=function(t){return Bt(t)&&t%1!==0},Nt=Rt,zt=function(t){return Bt(t)&&t%2===0},Yt=zt,Gt=Number.isInteger?Number.isInteger:function(t){return Bt(t)&&t%1===0},Vt=Gt,Wt=function(t){return Bt(t)&&t<0},Ht=Wt,Xt=1e-5;function Ut(t,e,n){return void 0===n&&(n=Xt),Math.abs(t-e)<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,je=function(t){return ge(t).toUpperCase()},we=je,ke=function(t){var e=ge(t);return e.charAt(0).toUpperCase()+e.substring(1)},Se=ke,Ce={}.toString,Me=function(t){return Ce.call(t).replace(/^\[object /,"").replace(/]$/,"")},Ae=Me,Te=function(t){return p(t,"Arguments")},Ee=Te,Pe=function(t){return p(t,"Boolean")},_e=Pe,Le=function(t){return p(t,"Date")},Fe=Le,Ie=function(t){return p(t,"Error")},De=Ie,Be=function(t){return Bt(t)&&isFinite(t)},Re=function(t){return null===t},Ne=Re,ze=Object.prototype,Ye=function(t){var e=t&&t.constructor,n="function"===typeof e&&e.prototype||ze;return t===n},Ge=Ye,Ve=function(t){return p(t,"RegExp")},We=Ve,He=function(t){return void 0===t},Xe=He,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&&A(o)?(A(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=Ae(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(et(t)||et(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(C(t)||C(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},jn=On,wn=function(t){return t},kn=function(t,e){void 0===e&&(e=wn);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=et(e)?e.split("."):e;while(t&&r<i.length)t=t[i[r++]];return void 0===t||r<i.length?n:t},Cn=function(t,e,n){var r=t,i=et(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,An=function(t,e){if(null===t||!A(t))return{};var n={};return x(e,function(e){Mn.call(t,e)&&(n[e]=t[e])}),n},Tn=function(t,e){return $(t,function(t,n,r){return e.includes(r)||(t[r]=n),t},{})},En=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},Pn=function(t){return i(t)?Array.prototype.slice.call(t):[]},_n={},Ln=function(t){return t=t||"g",_n[t]?_n[t]+=1:_n[t]=1,t+_n[t]},Fn=function(){},In=function(t){return t};function Dn(t){return y(t)?0:i(t)?t.length:Object.keys(t).length}var Bn=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}(),Rn=Bn;n.d(e,"contains",function(){return a}),n.d(e,"includes",function(){return a}),n.d(e,"difference",function(){return u}),n.d(e,"find",function(){return E}),n.d(e,"findIndex",function(){return _}),n.d(e,"firstValue",function(){return F}),n.d(e,"flatten",function(){return D}),n.d(e,"flattenDeep",function(){return R}),n.d(e,"getRange",function(){return G}),n.d(e,"pull",function(){return U}),n.d(e,"pullAt",function(){return K}),n.d(e,"reduce",function(){return $}),n.d(e,"remove",function(){return tt}),n.d(e,"sortBy",function(){return rt}),n.d(e,"union",function(){return at}),n.d(e,"uniq",function(){return it}),n.d(e,"valuesOfKey",function(){return st}),n.d(e,"head",function(){return ct}),n.d(e,"last",function(){return lt}),n.d(e,"startsWith",function(){return ht}),n.d(e,"endsWith",function(){return pt}),n.d(e,"filter",function(){return c}),n.d(e,"every",function(){return gt}),n.d(e,"some",function(){return vt}),n.d(e,"group",function(){return jt}),n.d(e,"groupBy",function(){return xt}),n.d(e,"groupToMap",function(){return Ot}),n.d(e,"getWrapBehavior",function(){return kt}),n.d(e,"wrapBehavior",function(){return Ct}),n.d(e,"number2color",function(){return Tt}),n.d(e,"parseRadius",function(){return Pt}),n.d(e,"clamp",function(){return Lt}),n.d(e,"fixedBase",function(){return It}),n.d(e,"isDecimal",function(){return Nt}),n.d(e,"isEven",function(){return Yt}),n.d(e,"isInteger",function(){return Vt}),n.d(e,"isNegative",function(){return Ht}),n.d(e,"isNumberEqual",function(){return Ut}),n.d(e,"isOdd",function(){return Zt}),n.d(e,"isPositive",function(){return Qt}),n.d(e,"max",function(){return N}),n.d(e,"maxBy",function(){return $t}),n.d(e,"min",function(){return z}),n.d(e,"minBy",function(){return Jt}),n.d(e,"mod",function(){return ee}),n.d(e,"toDegree",function(){return ie}),n.d(e,"toInteger",function(){return oe}),n.d(e,"toRadian",function(){return ce}),n.d(e,"forIn",function(){return le}),n.d(e,"has",function(){return ue}),n.d(e,"hasKey",function(){return he}),n.d(e,"hasValue",function(){return de}),n.d(e,"keys",function(){return j}),n.d(e,"isMatch",function(){return k}),n.d(e,"values",function(){return pe}),n.d(e,"lowerCase",function(){return ve}),n.d(e,"lowerFirst",function(){return be}),n.d(e,"substitute",function(){return Oe}),n.d(e,"upperCase",function(){return we}),n.d(e,"upperFirst",function(){return Se}),n.d(e,"getType",function(){return Ae}),n.d(e,"isArguments",function(){return Ee}),n.d(e,"isArray",function(){return v}),n.d(e,"isArrayLike",function(){return i}),n.d(e,"isBoolean",function(){return _e}),n.d(e,"isDate",function(){return Fe}),n.d(e,"isError",function(){return De}),n.d(e,"isFunction",function(){return d}),n.d(e,"isFinite",function(){return Be}),n.d(e,"isNil",function(){return y}),n.d(e,"isNull",function(){return Ne}),n.d(e,"isNumber",function(){return Bt}),n.d(e,"isObject",function(){return m}),n.d(e,"isObjectLike",function(){return C}),n.d(e,"isPlainObject",function(){return A}),n.d(e,"isPrototype",function(){return Ge}),n.d(e,"isRegExp",function(){return We}),n.d(e,"isString",function(){return et}),n.d(e,"isType",function(){return p}),n.d(e,"isUndefined",function(){return Xe}),n.d(e,"isElement",function(){return qe}),n.d(e,"requestAnimationFrame",function(){return Ze}),n.d(e,"clearAnimationFrame",function(){return Ke}),n.d(e,"augment",function(){return tn}),n.d(e,"clone",function(){return nn}),n.d(e,"debounce",function(){return on}),n.d(e,"memoize",function(){return an}),n.d(e,"deepMix",function(){return un}),n.d(e,"each",function(){return x}),n.d(e,"extend",function(){return fn}),n.d(e,"indexOf",function(){return dn}),n.d(e,"isEmpty",function(){return vn}),n.d(e,"isEqual",function(){return bn}),n.d(e,"isEqualWith",function(){return xn}),n.d(e,"map",function(){return jn}),n.d(e,"mapValues",function(){return kn}),n.d(e,"mix",function(){return $e}),n.d(e,"assign",function(){return $e}),n.d(e,"get",function(){return Sn}),n.d(e,"set",function(){return Cn}),n.d(e,"pick",function(){return An}),n.d(e,"omit",function(){return Tn}),n.d(e,"throttle",function(){return En}),n.d(e,"toArray",function(){return Pn}),n.d(e,"toString",function(){return ge}),n.d(e,"uniqueId",function(){return Ln}),n.d(e,"noop",function(){return Fn}),n.d(e,"identity",function(){return In}),n.d(e,"size",function(){return Dn}),n.d(e,"Cache",function(){return Rn})},"ijE+":function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},itsj:function(t,e){function n(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=n},jXQH:function(t,e,n){var r=n("TO8r"),i=/^\s+/;function o(t){return t?t.slice(0,r(t)+1).replace(i,""):t}t.exports=o},jYNY:function(t,e,n){var r=n("rgI+"),i=n("o9ul"),o=n("8wmI"),a="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,u=c.hasOwnProperty,h=l.call(Object);function f(t){if(!o(t)||r(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}t.exports=f},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");function o(t){return r(t,i(t))}t.exports=o},jqgP:function(t,e,n){"use strict";n.d(e,"e",function(){return o}),n.d(e,"f",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return h});var r=n("6JdA"),i=[1,0,0,0,1,0,0,0,1];function o(t,e,n){if(void 0===n&&(n=i),!e)return null;var o=r["a"].transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]);return o}function a(t,e){return t.x||t.y?r["a"].transform(e||i,[["t",t.x,t.y]]):null}function s(t){var e=[1,0,0],n=[0,0,0];return r["d"].transformMat3(n,e,t),Math.atan2(n[1],n[0])}function c(t,e){var n=[0,0];return r["c"].transformMat3(n,e,t),n}function l(t,e){var n=c(t,[e.minX,e.minY]),r=c(t,[e.maxX,e.minY]),i=c(t,[e.minX,e.maxY]),o=c(t,[e.maxX,e.maxY]),a=Math.min(n[0],r[0],i[0],o[0]),s=Math.max(n[0],r[0],i[0],o[0]),l=Math.min(n[1],r[1],i[1],o[1]),u=Math.max(n[1],r[1],i[1],o[1]);return{x:a,y:l,minX:a,minY:l,maxX:s,maxY:u,width:s-a,height:u-l}}function u(t,e,n,r){if(e){var i=o({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}}function h(t,e,n){var r=a({x:e,y:n});t.attr("matrix",r)}},juv8:function(t,e,n){var r=n("MrPd"),i=n("hypo");function o(t,e,n,o){var a=!n;n||(n={});var s=-1,c=e.length;while(++s<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("mrSG"),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 j(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 w(t){return"number"===typeof t&&!isNaN(t)}function k(t,e,n,r){var i=n,o=r;if(e){var a=j(t);i=a.width?a.width:i,o=a.height?a.height:o}return{width:Math.max(w(i)?i:g,g),height:Math.max(w(o)?o:y,y)}}function S(t){var e=t.parentNode;e&&e.removeChild(t)}var C=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["b"])(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}(C["a"]),A=M,T=n("aFU3"),E=n("7s0d"),P=function(t,e){return Object(s["isString"])(e)?e:t.invert(t.scale(e))},_=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,r=void 0===n?"base":n,i=t.names,o=void 0===i?[]:i,a=t.scales,c=void 0===a?[]:a,l=t.values,u=void 0===l?[]:l,h=t.callback;this.type=r,this.scales=c,this.values=u,this.names=o,this.callback=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(h){var r=h.apply(void 0,t);if(!Object(s["isNil"])(r))return[r]}return e.defaultCallback.apply(e,t)}},t.prototype._getAttributeValue=function(t,e){if(t.isCategory&&!this.linear){var n=t.translate(e);return this.values[n%this.values.length]}var r=t.scale(e);return this.getLinearValue(r)},t.prototype._toOriginParam=function(t,e){return e.isLinear?t:Object(s["isArray"])(t)?t.map(function(t){return P(e,t)}):P(e,t)},t}(),L=_,F=function(t,e){return F=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])},F(t,e)};function I(t,e){function n(){this.constructor=t}F(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var D=n("6UX8"),B=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],Object(s["isString"])(n.values)&&(n.linear=!0),n.gradient=D["a"].gradient(n.values),n}return I(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(L),R=B,N=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return I(e,t),e}(L),z=N,Y=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return I(e,t),e.prototype.mapping=function(t,e){var n=this.scales,r=n[0],i=n[1];return Object(s["isNil"])(t)||Object(s["isNil"])(e)?[]:[Object(s["isArray"])(t)?t.map(function(t){return r.scale(t)}):r.scale(t),Object(s["isArray"])(e)?e.map(function(t){return i.scale(t)}):i.scale(e)]},e}(L),G=Y,V=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return I(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(L),W=V,H=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return I(e,t),e}(L),X=H,U=n("8vsG"),q={},Z=function(t){return q[t.toLowerCase()]},K=function(t,e){if(Z(t))throw new Error("Attribute type '"+t+"' existed.");q[t.toLowerCase()]=e};K("Color",R),K("Opacity",z),K("Position",G),K("Shape",W),K("Size",X);var Q=function(t,e){return Q=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])},Q(t,e)};function $(t,e){function n(){this.constructor=t}Q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function J(){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}var tt=n("6JdA"),et=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,r=t.matrix,i=void 0===r?[1,0,0,0,1,0,0,0,1]:r,o=t.isTransposed,a=void 0!==o&&o;this.start=e,this.end=n,this.matrix=i,this.originalMatrix=J(i),this.isTransposed=a}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(s["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,i=[t,e,n];return tt["d"].transformMat3(i,i,r),i},t.prototype.invertMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,i=tt["b"].invert([0,0,0,0,0,0,0,0,0],r),o=[t,e,n];return i&&tt["d"].transformMat3(o,o,i),o},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 tt["a"].leftTranslate(e,e,[-n.x,-n.y]),tt["a"].leftRotate(e,e,t),tt["a"].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 tt["a"].leftTranslate(n,n,[-r.x,-r.y]),tt["a"].leftScale(n,n,[t,e]),tt["a"].leftTranslate(n,n,[r.x,r.y]),this},t.prototype.translate=function(t,e){var n=this.matrix;return tt["a"].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||J(this.originalMatrix)},t}(),nt=et,rt=function(t){function e(e){var n=t.call(this,e)||this;return n.isRect=!0,n.type="cartesian",n.initial(),n}return $(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}(nt),it=rt,ot=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 $(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=tt["c"].subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),i=tt["a"].angleTo(r,[1,0],!0),o=i*this.a;tt["c"].length(r)<o&&(o=tt["c"].length(r));var a=Math.floor((tt["c"].length(r)-o)/n);i=2*a*Math.PI+i;var c=this.a*i,l=tt["c"].length(r)-c;l=Object(s["isNumberEqual"])(l,0)?0:l;var u=this.invertDim(i,"x"),h=this.invertDim(l,"y");return u=Object(s["isNumberEqual"])(u,0)?0:u,h=Object(s["isNumberEqual"])(h,0)?0:h,this.isTransposed&&(e=[h,u],u=e[0],h=e[1]),{x:u,y:h}},e}(nt),at=ot,st=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 $(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];tt["a"].leftRotate(r,r,this.startAngle);var i=[1,0,0];tt["d"].transformMat3(i,i,r);var o=[i[0],i[1]],a=tt["a"].angleTo(o,n,this.endAngle<this.startAngle);Object(s["isNumberEqual"])(a,2*Math.PI)&&(a=0);var c=tt["c"].length(n),l=a/(this.endAngle-this.startAngle);l=this.endAngle-this.startAngle>0?l:-l;var u=this.invertDim(c,"y"),h={x:0,y:0};return h.x=this.isTransposed?u:l,h.y=this.isTransposed?l:u,h},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);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}(nt),ct=st,lt={},ut=function(t){return lt[t.toLowerCase()]},ht=function(t,e){lt[t.toLowerCase()]=e};ht("rect",it),ht("cartesian",it),ht("polar",ct),ht("helix",at);var ft=n("17Tr"),pt=ft["Axis"].Line,dt=ft["Axis"].Circle,gt=ft["Grid"].Line,yt=ft["Grid"].Circle,vt=ft["Legend"].Category,mt=ft["Legend"].Continuous,bt=ft["Tooltip"].Html;function xt(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 Ot(t,e,n,r){return{x:t+n*Math.cos(r),y:e+n*Math.sin(r)}}function jt(t,e,n,r,i,o){void 0===o&&(o=0);var a=Ot(t,e,n,r),s=Ot(t,e,n,i),c=Ot(t,e,o,r),l=Ot(t,e,o,i);if(i-r===2*Math.PI){var u=Ot(t,e,n,r+Math.PI),h=Ot(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 wt(t,e,n,r,i){var o=Ot(t,e,n,r),a=Ot(t,e,n,i);if(Object(s["isNumberEqual"])(i-r,2*Math.PI)){var c=Ot(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 kt(t,e){var n,r,i=t.points,o=xt(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 St(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 Ct(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 Mt(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}function At(t,e,n){if(Object(s["isString"])(t))return t.padEnd(e,n);if(Object(s["isArray"])(t)){var r=t.length;if(r<e)for(var i=e-r,o=0;o<i;o++)t.push(n)}return t}function Tt(t,e){return e.forEach(function(e){delete t[e]}),t}function Et(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 Pt=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 _t(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}function Lt(t){if(t.isPolar&&!t.isTransposed)return(t.endAngle-t.startAngle)*t.getRadius();var e=t.convert({x:0,y:0}),n=t.convert({x:1,y:0});return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function Ft(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function It(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function Dt(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,i=t.end;n=Mt(e.x,r.x,i.x)&&Mt(e.y,r.y,i.y)}else{var o=t.invert(e);n=Mt(o.x,0,1)&&Mt(o.y,0,1)}return n}function Bt(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function Rt(t,e){void 0===e&&(e=0);var n,r=t.start,i=t.end,o=t.getWidth(),a=t.getHeight();if(t.isPolar){var s=t.startAngle,c=t.endAngle,l=t.getCenter(),u=t.getRadius();return{type:"path",startState:{path:jt(l.x,l.y,u+e,s,s)},endState:function(t){var n=(c-s)*t+s,r=jt(l.x,l.y,u+e,s,n);return{path:r}},attrs:{path:jt(l.x,l.y,u+e,s,c)}}}return n=t.isTransposed?{height:a+2*e}:{width:o+2*e},{type:"rect",startState:{x:r.x-e,y:i.y-e,width:t.isTransposed?o+2*e:0,height:t.isTransposed?0:a+2*e},endState:n,attrs:{x:r.x-e,y:i.y-e,width:o+2*e,height:a+2*e}}}function Nt(t,e){void 0===e&&(e=0);var n=t.start,r=t.end,i=t.getWidth(),o=t.getHeight(),a=Math.min(n.x,r.x),s=Math.min(n.y,r.y);return Pt.fromRange(a-e,s-e,a+i+e,s+o+e)}var zt=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function Yt(t){var e="linear";return zt.test(t)?e="timeCat":Object(s["isString"])(t)&&(e="cat"),e}function Gt(t,e,n){var r=e||[];if(Object(s["isNumber"])(t)||Object(s["isNil"])(Object(s["firstValue"])(r,t))&&Object(s["isEmpty"])(n)){var i=Object(U["c"])("identity");return new i({field:t.toString(),values:[t]})}var o=Object(s["valuesOfKey"])(r,t),c=Object(s["get"])(n,"type",Yt(o[0])),l=Object(U["c"])(c);return new l(Object(a["a"])({field:t,values:o},n))}function Vt(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}}function Wt(t){return t.alias||t.field}function Ht(t,e,n){var r,i=t.values,o=i.length;if(1===o)r=[.5,1];else{var a=1,c=0;Ft(e)?e.isTransposed?(a=Object(s["get"])(n,"widthRatio.multiplePie",1/1.3),c=1/o*a,r=[c/2,1-c/2]):r=[0,1-1/o]:(c=1/o/2,r=[c,1-c])}return r}function Xt(t){var e=t.values.filter(function(t){return!Object(s["isNil"])(t)&&!isNaN(t)});return Math.max.apply(Math,Object(a["d"])(e,[Object(s["isNil"])(t.max)?-1/0:t.max]))}function Ut(t){var e,n;switch(t){case i.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function qt(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function Zt(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=Ut(e):t.isPolar&&(n=qt(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}}function Kt(t){var e=t.start,n=t.end;return e.x===n.x}function Qt(t,e){var n=t.start,r=t.end,i=Kt(t);return i?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1}function $t(t,e){return Object(s["get"])(t,["components","axis",e],{})}function Jt(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,o=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),a=[o.x-r.x,o.y-r.y],s=[1,0],c=o.y>r.y?tt["c"].angle(a,s):-1*tt["c"].angle(a,s),l=c+(e.end-e.start),u=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2));return{center:r,radius:u,startAngle:c,endAngle:l}}function te(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e])}function ee(t,e){return Object(s["get"])(t,"position",e)}function ne(t,e){return Object(s["get"])(e,["title","text"],Wt(t))}var re=function(){function t(t,e){this.destroyed=!1,this.facets=[],this.view=t,this.cfg=Object(s["deepMix"])({},this.getDefaultCfg(),e)}return t.prototype.init=function(){this.container||(this.container=this.createContainer());var t=this.view.getData();this.facets=this.generateFacets(t)},t.prototype.render=function(){this.renderViews()},t.prototype.update=function(){},t.prototype.clear=function(){this.clearFacetViews()},t.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},t.prototype.facetToView=function(t){var e=t.region,n=t.data,r=t.padding,i=void 0===r?this.cfg.padding:r,o=this.view.createView({region:e,padding:i});o.data(n||[]),t.view=o,this.beforeEachView(o,t);var a=this.cfg.eachView;return a&&a(o,t),this.afterEachView(o,t),o},t.prototype.createContainer=function(){var t=this.view.getLayer(r.FORE);return t.addGroup()},t.prototype.renderViews=function(){this.createFacetViews()},t.prototype.createFacetViews=function(){var t=this;return this.facets.map(function(e){return t.facetToView(e)})},t.prototype.clearFacetViews=function(){var t=this;Object(s["each"])(this.facets,function(e){e.view&&(t.view.removeView(e.view),e.view=void 0)})},t.prototype.getFieldValues=function(t,e){var n=[],r={};return Object(s["each"])(t,function(t){var i=t[e];Object(s["isNil"])(i)||r[i]||(n.push(i),r[i]=!0)}),n},t.prototype.getRegion=function(t,e,n,r){var i=1/(0===e?1:e),o=1/(0===t?1:t),a={x:i*n,y:o*r},s={x:i*(n+1),y:o*(r+1)};return{start:a,end:s}},t.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,padding:10,fields:[]}},t.prototype.getDefaultTitleCfg=function(){var t=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:t}}},t.prototype.processAxis=function(t,e){var n=t.getOptions(),r=n.coordinate,i=t.geometries,o=Object(s["get"])(r,"type","rect");if("rect"===o&&i.length){Object(s["isNil"])(n.axes)&&(n.axes={});var a=n.axes,c=i[0].getXYFields(),l=c[0],u=c[1],h=te(a,l),f=te(a,u);!1!==h&&(n.axes[l]=this.getXAxisOption(l,a,h,e)),!1!==f&&(n.axes[u]=this.getYAxisOption(u,a,f,e))}},t.prototype.getFacetDataFilter=function(t){return function(e){return Object(s["every"])(t,function(t){var n=t.field,r=t.value;return!(!Object(s["isNil"])(r)&&n)||e[n]===r})}},t}(),ie={},oe=function(t){return ie[Object(s["lowerCase"])(t)]},ae=function(t,e){ie[Object(s["lowerCase"])(t)]=e},se=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){Object(s["assign"])(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}(),ce=se,le=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(ce),ue=le,he={};function fe(t,e){var n=he[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;r=new i(e,o),r.name=t,r.init()}return r}function pe(t,e,n){he[t]={ActionClass:e,cfg:n}}function de(t,e){var n=new ue(e);return n.callback=t,n.name="callback",n}function ge(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}function ye(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 ve(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 me(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=It(n,p);if(d>=.5)if(u===2*Math.PI){var g={x:(s.x+a.x)/2,y:(s.y+a.y)/2},y=n.convert(g);c.push(["A",d,d,0,f,h,y.x,y.y]),c.push(["A",d,d,0,f,h,p.x,p.y])}else c.push(["A",d,d,0,f,h,p.x,p.y]);return c}function be(t){Object(s["each"])(t,function(e,n){var r=e;if("a"===r[0].toLowerCase()){var i=t[n-1],o=t[n+1];o&&"a"===o[0].toLowerCase()?i&&"l"===i[0].toLowerCase()&&(i[0]="M"):i&&"a"===i[0].toLowerCase()&&o&&"l"===o[0].toLowerCase()&&(o[0]="M")}})}var xe=function(t,e,n,r){var i,o,a,s,c=[],l=!!r;if(l){a=[1/0,1/0],s=[-1/0,-1/0];for(var u=0,h=t.length;u<h;u++){var f=t[u];a=tt["c"].min([0,0],a,f),s=tt["c"].max([0,0],s,f)}a=tt["c"].min([0,0],a,r[0]),s=tt["c"].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=tt["c"].sub(d,o,i),d=tt["c"].scale(d,d,e);var g=tt["c"].distance(f,i),y=tt["c"].distance(f,o),v=g+y;0!==v&&(g/=v,y/=v);var m=tt["c"].scale([0,0],d,-g),b=tt["c"].scale([0,0],d,y),x=tt["c"].add([0,0],f,m),O=tt["c"].add([0,0],f,b);l&&(x=tt["c"].max([0,0],x,a),x=tt["c"].min([0,0],x,s),O=tt["c"].max([0,0],O,a),O=tt["c"].min([0,0],O,s)),c.push(x),c.push(O)}return n&&c.push(c.shift()),c};function Oe(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=xe(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 je(t,e){return ge(t,e)}function we(t,e,n){var r=[],i=t[0],o=null;if(t.length<=2)return je(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=Oe(r,e,l);return u.unshift(["M",i.x,i.y]),u}function ke(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(ye(e,t));break;case"a":n.push(ve(e,t));break;case"z":default:n.push(e);break}}),n}function Se(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(ye(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(me(n,r,t)):a.push(ye(s,t));break;case"a":a.push(ve(s,t));break;case"z":default:a.push(s);break}}),be(a),a}var Ce=n("LvGN");function Me(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?i:null}function Ae(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?r.attr("path"):null}function Te(t){var e,n=t.event,r=n.target;return r&&(e=r.get("element")),e}function Ee(t){var e,n=t.event,r=n.target;return r&&(e=r.get("delegateObject")),e}function Pe(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function _e(t){return t&&t.component&&t.component.isList()}function Le(t){return t&&t.component&&t.component.isSlider()}function Fe(t){var e=t.event,n=e.target;return n&&"mask"===n.get("name")}function Ie(t,e){var n=t.event.target;if("path"===n.get("type")){var r=Ae(t,e);if(!r)return;return We(t.view,r)}var i=Me(t,e);return i?Ge(t.view,i):null}function De(t,e,n){var r=Me(t,n);if(!r)return null;var i=t.view,o=Qe(i,e,{x:r.x,y:r.y}),a=Qe(i,e,{x:r.maxX,y:r.maxY}),s={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return Ge(e,s)}function Be(t){var e=t.geometries,n=[];return Object(s["each"])(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&Object(s["each"])(t.views,function(t){n=n.concat(Be(t))}),n}function Re(t,e,n){var r=Be(t);return r.filter(function(t){return ze(t,e)===n})}function Ne(t,e){var n=t.geometries,r=[];return Object(s["each"])(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});r=r.concat(n)}),r}function ze(t,e){var n,r=t.getModel(),i=r.data;return n=Object(s["isArray"])(i)?i[0][e]:i[e],n}function Ye(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function Ge(t,e){var n=Be(t),r=[];return Object(s["each"])(n,function(t){var n=t.shape,i=n.getCanvasBBox();Ye(e,i)&&r.push(t)}),r}function Ve(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 We(t,e){var n=Be(t),r=Ve(e),i=n.filter(function(t){var e,n=t.shape;if("path"===n.get("type"))e=Ve(n.attr("path"));else{var i=n.getCanvasBBox();e=_t(i)}return Object(Ce["b"])(r,e)});return i}function He(t){return t.getComponents().map(function(t){return t.component})}function Xe(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function Ue(t,e){if(t.length<=2)return je(t,!1);var n=t[0],r=[];Object(s["each"])(t,function(t){r.push(t.x),r.push(t.y)});var i=Oe(r,e,null);return i.unshift(["M",n.x,n.y]),i}function qe(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y}function Ze(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function Ke(t,e){var n=t.getCoordinate();return n.invert(e)}function Qe(t,e,n){var r=Ke(t,n);return e.getCoordinate().convert(r)}function $e(t,e,n,r){var i=!1;return Object(s["each"])(t,function(t){if(t[n]===e[n]&&t[r]===e[r])return i=!0,!1}),i}function Je(t,e){var n=t.getScaleByField(e);return!n&&t.views&&Object(s["each"])(t.views,function(t){if(n=Je(t,e),n)return!1}),n}var tn=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e<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=He(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&qe(r,n):qe(r,n)})},t.prototype.destroy=function(){this.view=null,this.event=null,Object(s["each"])(this.actions.slice(),function(t){t.destroy()}),this.actions=null,this.cacheMap=null},t}(),en=tn,nn=function(){function t(t,e){this.view=t,this.cfg=e}return t.prototype.init=function(){this.initEvents()},t.prototype.initEvents=function(){},t.prototype.clearEvents=function(){},t.prototype.destroy=function(){this.clearEvents()},t}(),rn=nn;function on(t,e,n){var r=t.split(":"),i=r[0],o=e.getAction(i)||fe(i,e);if(!o)throw new Error("There is no action named "+i);var a=r[1];return{action:o,methodName:a,arg:n}}function an(t){var e=t.action,n=t.methodName,r=t.arg;if(!e[n])throw new Error("Action("+e.name+") doesn't have a method called "+n);e[n](r)}var sn={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},cn=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return Object(a["b"])(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;Object(s["each"])(this.steps,function(e,n){Object(s["each"])(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;Object(s["each"])(this.steps,function(e,n){Object(s["each"])(e,function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)})})},e.prototype.initContext=function(){var t=this.view,e=new en(t);this.context=e;var n=this.steps;Object(s["each"])(n,function(t){Object(s["each"])(t,function(t){if(Object(s["isFunction"])(t.action))t.actionObject={action:de(t.action,e),methodName:"execute"};else if(Object(s["isString"])(t.action))t.actionObject=on(t.action,e,t.arg);else if(Object(s["isArray"])(t.action)){var n=t.action,r=Object(s["isArray"])(t.arg)?t.arg:[t.arg];t.actionObject=[],Object(s["each"])(n,function(n,i){t.actionObject.push(on(n,e,r[i]))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===sn.SHOW_ENABLE)return!0;if(t===sn.PROCESSING)return e===sn.START;if(t===sn.START)return e!==sn.PROCESSING;if(t===sn.END)return e===sn.PROCESSING||e===sn.START;if(t===sn.ROLLBACK){if(n[sn.END])return e===sn.END;if(e===sn.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==sn.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,i=this.callbackCaches,o=e.actionObject;if(e.action&&o){var a=this.getKey(t,e);if(!i[a]){var c=function(i){r.event=i,n.isAllowExecute(t,e)?(Object(s["isArray"])(o)?Object(s["each"])(o,function(t){r.event=i,an(t)}):(r.event=i,an(o)),n.afterExecute(t,e),e.callback&&(r.event=i,e.callback(r))):r.event=null};e.debounce?i[a]=Object(s["debounce"])(c,e.debounce.wait,e.debounce.immediate):e.throttle?i[a]=Object(s["throttle"])(c,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):i[a]=c}return i[a]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(rn),ln=cn,un={};function hn(t){return un[Object(s["lowerCase"])(t)]}function fn(t,e){un[Object(s["lowerCase"])(t)]=e}function pn(t,e,n){var r=hn(t);if(!r)return null;if(Object(s["isPlainObject"])(r)){var i=Object(s["mix"])(Object(s["clone"])(r),n);return new ln(e,i)}var o=r;return new o(e,n)}function dn(t){return{title:{autoRotate:!0,position:"center",spacing:t.axisTitleSpacing,style:{fill:t.axisTitleTextFillColor,fontSize:t.axisTitleTextFontSize,lineHeight:t.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:t.axisLabelOffset,style:{fill:t.axisLabelFillColor,fontSize:t.axisLabelFontSize,lineHeight:t.axisLabelLineHeight,fontFamily:t.fontFamily}},line:{style:{lineWidth:t.axisLineBorder,stroke:t.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:t.axisGridBorderColor,lineWidth:t.axisGridBorder,lineDash:t.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:t.axisTickLineBorder,stroke:t.axisTickLineBorderColor},alignTick:!0,length:t.axisTickLineLength},subTickLine:null,animate:!0}}function gn(t){return{title:null,marker:{symbol:"circle",spacing:t.legendMarkerSpacing,style:{r:t.legendCircleMarkerSize,fill:t.legendMarkerColor}},itemName:{spacing:5,style:{fill:t.legendItemNameFillColor,fontFamily:t.fontFamily,fontSize:t.legendItemNameFontSize,lineHeight:t.legendItemNameLineHeight,fontWeight:t.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},flipPage:!0,animate:!1,maxItemWidth:200,itemSpacing:t.legendItemSpacing,itemMarginBottom:t.legendItemMarginBottom,padding:t.legendPadding}}function yn(t){var e,n={point:{default:{fill:t.pointFillColor,r:t.pointSize,stroke:t.pointBorderColor,lineWidth:t.pointBorder,fillOpacity:t.pointFillOpacity},active:{stroke:t.pointActiveBorderColor,lineWidth:t.pointActiveBorder},selected:{stroke:t.pointSelectedBorderColor,lineWidth:t.pointSelectedBorder},inactive:{fillOpacity:t.pointInactiveFillOpacity,strokeOpacity:t.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:t.hollowPointFillColor,lineWidth:t.hollowPointBorder,stroke:t.hollowPointBorderColor,strokeOpacity:t.hollowPointBorderOpacity,r:t.hollowPointSize},active:{stroke:t.hollowPointActiveBorderColor,strokeOpacity:t.hollowPointActiveBorderOpacity},selected:{lineWidth:t.hollowPointSelectedBorder,stroke:t.hollowPointSelectedBorderColor,strokeOpacity:t.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:t.hollowPointInactiveBorderOpacity}},area:{default:{fill:t.areaFillColor,fillOpacity:t.areaFillOpacity,stroke:null},active:{fillOpacity:t.areaActiveFillOpacity},selected:{fillOpacity:t.areaSelectedFillOpacity},inactive:{fillOpacity:t.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:t.hollowAreaBorderColor,lineWidth:t.hollowAreaBorder,strokeOpacity:t.hollowAreaBorderOpacity},active:{fill:null,lineWidth:t.hollowAreaActiveBorder},selected:{fill:null,lineWidth:t.hollowAreaSelectedBorder},inactive:{strokeOpacity:t.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:t.intervalFillColor,fillOpacity:t.intervalFillOpacity},active:{stroke:t.intervalActiveBorderColor,lineWidth:t.intervalActiveBorder},selected:{stroke:t.intervalSelectedBorderColor,lineWidth:t.intervalSelectedBorder},inactive:{fillOpacity:t.intervalInactiveFillOpacity,strokeOpacity:t.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:t.hollowIntervalFillColor,stroke:t.hollowIntervalBorderColor,lineWidth:t.hollowIntervalBorder,strokeOpacity:t.hollowIntervalBorderOpacity},active:{stroke:t.hollowIntervalActiveBorderColor,lineWidth:t.hollowIntervalActiveBorder,strokeOpacity:t.hollowIntervalActiveBorderOpacity},selected:{stroke:t.hollowIntervalSelectedBorderColor,lineWidth:t.hollowIntervalSelectedBorder,strokeOpacity:t.hollowIntervalSelectedBorderOpacity},inactive:{stroke:t.hollowIntervalInactiveBorderColor,lineWidth:t.hollowIntervalInactiveBorder,strokeOpacity:t.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:t.lineBorderColor,lineWidth:t.lineBorder,strokeOpacity:t.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:t.lineActiveBorder},selected:{lineWidth:t.lineSelectedBorder},inactive:{strokeOpacity:t.lineInactiveBorderOpacity}}},r=dn(t),i=gn(t);return{background:t.backgroundColor,defaultColor:t.brandColor,padding:"auto",fontFamily:t.fontFamily,columnWidthRatio:.5,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:t.paletteQualitative10,colors20:t.paletteQualitative20,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:function(t){var e=t.geometry.coordinate;if(e.isPolar&&e.isTransposed){var r=kt(t.getModel(),e),i=r.startAngle,o=r.endAngle,a=(i+o)/2,s=7.5,c=s*Math.cos(a),l=s*Math.sin(a);return{matrix:tt["a"].transform(null,[["t",c,l]])}}return n.interval.selected}}},"hollow-rect":{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},line:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},tick:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},funnel:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}},pyramid:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},line:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},dot:{default:{style:Object(a["a"])(Object(a["a"])({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:Object(a["a"])(Object(a["a"])({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:Object(a["a"])(Object(a["a"])({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:Object(a["a"])(Object(a["a"])({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:Object(a["a"])(Object(a["a"])({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:Object(a["a"])(Object(a["a"])({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:Object(a["a"])(Object(a["a"])({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:Object(a["a"])(Object(a["a"])({},n.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hvh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}},polygon:{polygon:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},point:{circle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},square:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},bowtie:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},diamond:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},hexagon:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},triangle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"triangle-down":{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"hollow-circle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-square":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-bowtie":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-diamond":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-hexagon":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle-down":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},cross:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},tick:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},plus:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},hyphen:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},line:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}}},area:{area:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},smooth:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},line:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},"smooth-line":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}},schema:{candle:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},box:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}}},edge:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},arc:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}}},components:{axis:{common:r,top:Object(s["deepMix"])({},r,{position:"top",grid:null,title:null,verticalLimitLength:.5}),bottom:Object(s["deepMix"])({},r,{position:"bottom",grid:null,title:null,verticalLimitLength:.5}),left:Object(s["deepMix"])({},r,{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),right:Object(s["deepMix"])({},r,{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),circle:Object(s["deepMix"])({},r,{title:null,grid:Object(s["deepMix"])({},r.grid,{line:{type:"line"}})}),radius:Object(s["deepMix"])({},r,{title:null,grid:Object(s["deepMix"])({},r.grid,{line:{type:"circle"}})})},legend:{common:i,right:Object(s["deepMix"])({},i,{layout:"vertical",padding:t.legendVerticalPadding}),left:Object(s["deepMix"])({},i,{layout:"vertical",padding:t.legendVerticalPadding}),top:Object(s["deepMix"])({},i,{layout:"horizontal",padding:t.legendHorizontalPadding}),bottom:Object(s["deepMix"])({},i,{layout:"horizontal",padding:t.legendHorizontalPadding}),continuous:{title:null,background:null,track:{},rail:{type:"color",size:t.sliderRailHeight,defaultLength:t.sliderRailWidth,style:{fill:t.sliderRailFillColor,stroke:t.sliderRailBorderColor,lineWidth:t.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:t.sliderLabelTextFillColor,fontSize:t.sliderLabelTextFontSize,lineHeight:t.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},handler:{size:t.sliderHandlerWidth,style:{fill:t.sliderHandlerFillColor,stroke:t.sliderHandlerBorderColor}},slidable:!0,padding:i.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffSetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:t.tooltipCrosshairsBorderColor,lineWidth:t.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e[""+ft["TOOLTIP_CSS_CONST"].CONTAINER_CLASS]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:t.tooltipContainerFillColor,opacity:t.tooltipContainerFillOpacity,boxShadow:t.tooltipContainerShadow,borderRadius:t.tooltipContainerBorderRadius+"px",color:t.tooltipTextFillColor,fontSize:t.tooltipTextFontSize+"px",fontFamily:t.fontFamily,lineHeight:t.tooltipTextLineHeight+"px",padding:"0 12px 0 12px"},e[""+ft["TOOLTIP_CSS_CONST"].TITLE_CLASS]={marginBottom:"12px",marginTop:"12px"},e[""+ft["TOOLTIP_CSS_CONST"].LIST_CLASS]={margin:0,listStyleType:"none",padding:0},e[""+ft["TOOLTIP_CSS_CONST"].LIST_ITEM_CLASS]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e[""+ft["TOOLTIP_CSS_CONST"].MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e[""+ft["TOOLTIP_CSS_CONST"].VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:t.annotationArcBorderColor,lineWidth:t.annotationArcBorder},animate:!0},line:{style:{stroke:t.annotationLineBorderColor,lineDash:t.annotationLineDash,lineWidth:t.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textAlign:"start",fontFamily:t.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:t.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:t.annotationRegionBorder,stroke:t.annotationRegionBorderColor,fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:t.brandColor,lineWidth:2}},line:{style:{stroke:t.annotationLineBorderColor,lineWidth:t.annotationLineBorder},length:t.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8]}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)"}},hover:{style:{thumbColor:"rgba(0,0,0,0.2)"}}}},labels:{offset:12,style:{fill:t.labelFillColor,fontSize:t.labelFontSize,fontFamily:t.fontFamily,stroke:t.labelBorderColor,lineWidth:t.labelBorder},fillColorDark:t.labelFillColorDark,fillColorLight:t.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:t.innerLabelFillColor,fontSize:t.innerLabelFontSize,fontFamily:t.fontFamily,stroke:t.innerLabelBorderColor,lineWidth:t.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:t.overflowLabelFillColor,fontSize:t.overflowLabelFontSize,fontFamily:t.fontFamily,stroke:t.overflowLabelBorderColor,lineWidth:t.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:t.labelLineBorder}},autoRotate:!0}}}var vn={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},mn={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},bn=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],xn=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],On=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"transparent":e,r=t.paletteQualitative10,i=void 0===r?bn:r,o=t.paletteQualitative20,a=void 0===o?xn:o,s=t.paletteSemanticRed,c=void 0===s?"#F4664A":s,l=t.paletteSemanticGreen,u=void 0===l?"#30BF78":l,h=t.paletteSemanticYellow,f=void 0===h?"#FAAD14":h,p=t.fontFamily,d=void 0===p?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':p,g=t.brandColor,y=void 0===g?i[0]:g;return{backgroundColor:n,brandColor:y,paletteQualitative10:i,paletteQualitative20:a,paletteSemanticRed:c,paletteSemanticGreen:u,paletteSemanticYellow:f,fontFamily:d,axisLineBorderColor:vn[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:vn[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:vn[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:vn[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:vn[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:vn[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:vn[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:y,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:vn[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:vn[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:vn[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:vn[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:vn[25],annotationArcBorderColor:vn[15],annotationArcBorder:1,annotationLineBorderColor:vn[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:vn[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:vn[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:vn[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:vn[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:vn[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:mn[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:vn[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:mn[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:vn[25],pointFillColor:y,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:mn[100],pointBorderOpacity:1,pointActiveBorderColor:vn[100],pointSelectedBorder:2,pointSelectedBorderColor:vn[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:y,hollowPointBorderOpacity:.95,hollowPointFillColor:mn[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:vn[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:vn[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:y,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:y,areaFillOpacity:.25,areaActiveFillColor:y,areaActiveFillOpacity:.5,areaSelectedFillColor:y,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:y,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:vn[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:vn[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:y,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:vn[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:vn[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:y,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:mn[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:vn[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:vn[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}};On();function jn(t){var e=t.styleSheet,n=void 0===e?{}:e,r=Object(a["c"])(t,["styleSheet"]),i=On(n);return Object(s["deepMix"])({},yn(i),r)}var wn=jn({}),kn={default:wn};function Sn(t){return Object(s["get"])(kn,Object(s["lowerCase"])(t),kn.default)}function Cn(t,e){kn[Object(s["lowerCase"])(t)]=jn(e)}function Mn(t,e,n){var r=n.translate(t),i=n.translate(e);return Object(s["isNumberEqual"])(r,i)}function An(t,e){var n=e.coordinate,r=e.getXScale(),i=r.range,o=i[i.length-1],a=i[0],s=n.invert(t),c=s.x;return n.isPolar&&c>(1+o)/2&&(c=a),r.translate(r.invert(c))}function Tn(t,e,n){var r=n.coordinate,i=n.getYScale(),o=i.field,a=r.invert(e),c=i.invert(a.y),l=Object(s["find"])(t,function(t){var e=t[d];return e[o][0]<=c&&e[o][1]>=c});return l||t[t.length-1]}var En=Object(s["memoize"])(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,o=0;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 Pn(t,e,n){var r=e.getAttribute("position"),i=r.getFields(),o=e.scales,a=Object(s["isFunction"])(n)||!n?i[0]:n,c=o[a],l=c?c.getText(t[a]):t[a]||a;return Object(s["isFunction"])(n)?n(l,t):l}function _n(t){var e=Object(s["values"])(t.attributes);return Object(s["filter"])(e,function(t){return Object(s["contains"])(p,t.type)})}function Ln(t){for(var e,n=_n(t),r=0,i=n;r<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 Fn(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 In(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=Ln(e);return Wt(o)}function Dn(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],j=An(t,n),w=x[d][a],k=x[d][c],S=O[d][a],C=o.isLinear&&Object(s["isArray"])(k);if(Object(s["isArray"])(w)){for(y=0;y<e.length;y++){var M=e[y];m=M[d];if(i.translate(m[a][0])<=j&&i.translate(m[a][1])>=j){if(!C){l=M;break}Object(s["isArray"])(l)||(l=[]),l.push(M)}}Object(s["isArray"])(l)&&(l=Tn(l,t,n))}else{var A=void 0;if(i.isLinear||"timeCat"===i.type){if((j>i.translate(S)||j<i.translate(w))&&(j>i.max||j<i.min))return null;var T=0,E=e.length-1,P=void 0;while(T<=E){P=Math.floor((T+E)/2);var _=e[P][d][a];if(Mn(_,j,i))return e[P];i.translate(_)<=i.translate(j)?(T=P+1,O=e[P],A=e[P+1]):(0===E&&(O=e[0]),E=P-1)}}else{for(y=0;y<e.length;y++){M=e[y],m=M[d];if(Mn(m[a],j,i)){if(!C){l=M;break}Object(s["isArray"])(l)||(l=[]),l.push(M)}else i.translate(m[a])<=j&&(O=M,A=e[y+1])}Object(s["isArray"])(l)&&(l=Tn(l,t,n))}O&&A&&Math.abs(i.translate(O[d][a])-j)>Math.abs(i.translate(A[d][a])-j)&&(O=A)}var L=En(n.getXScale());return!l&&Math.abs(i.translate(O[d][a])-j)<=L/2&&(l=O),l}function Bn(t,e,n,r){void 0===n&&(n=""),void 0===r&&(r=!1);var i,o,c=t[d],l=Pn(c,e,n),u=e.tooltipOption,h=e.theme.defaultColor,f=[];function p(e,n){if(r||!Object(s["isNil"])(n)&&""!==n){var i={title:l,data:c,mappingData:t,name:e,value:n,color:t.color||h,marker:!0};f.push(i)}}if(Object(s["isObject"])(u)){var g=u.fields,y=u.callback;if(y){var v=g.map(function(e){return t[d][e]}),m=y.apply(void 0,v),b=Object(a["a"])({data:t[d],mappingData:t,title:l,color:t.color||h,marker:!0},m);f.push(b)}else for(var x=e.scales,O=0,j=g;O<j.length;O++){var w=j[O];if(!Object(s["isNil"])(c[w])){var k=x[w];i=Wt(k),o=k.getText(c[w]),p(i,o)}}}else{var S=Ln(e);o=Fn(c,S),i=In(c,e),p(i,o)}return f}function Rn(t){return!Object(s["isNumber"])(t)&&!Object(s["isArray"])(t)}function Nn(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["d"])(e,e);break;case 3:e=Object(a["d"])(e,[e[1]]);break;default:e=e.slice(0,4);break}return e}var zn={};function Yn(t,e){zn[t]=e}function Gn(){return Object.keys(zn)}function Vn(t){return zn[t]}var Wn=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["a"])({start:t,end:e},i),c=ut(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["a"])({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}(),Hn=Wn,Xn=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 T["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}(),Un=Xn;function qn(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 Zn=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=Gt(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=Ht(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?(Vt(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}(),Kn=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["d"])([void 0],this.getPadding())))},t}();function Qn(t){var e=t.padding;if(!Rn(e))return new(Kn.bind.apply(Kn,Object(a["d"])([void 0],Nn(e))));var n=t.viewBBox,r=new Kn,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 Pt(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 Pt(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 Pt(i.x,i.y,i.width,i.height);r.inc(o,n)}),r}function $n(t,e,n){var r=n.instance();e.forEach(function(t){t.autoPadding=r.max(t.autoPadding.getPadding())})}var Jn=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=Gn(),n.scalePool=new Zn,n.layoutFunc=qn,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["a"])(Object(a["a"])({},n.options),v),n.limitInPlot=m,n.id=i,n.syncViewPadding=b,n.themeObject=Object(s["isObject"])(y)?Object(s["deepMix"])({},Sn("default"),jn(y)):Sn(y),n.init(),n}return Object(a["b"])(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=oe(t);if(!n)throw new Error("facet '"+t+"' is not exist!");return this.facetInstance=new n(this,Object(a["a"])(Object(a["a"])({},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,jn(t)):Sn(t),this},e.prototype.interaction=function(t,e){var n=this.interactions[t];n&&n.destroy();var r=pn(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,Un.fromData(this,c.BEFORE_CHANGE_DATA,null)),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,Un.fromData(this,c.AFTER_CHANGE_DATA,null))},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["a"])(Object(a["a"])({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["a"])(Object(a["a"])({},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 Dt(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 Et(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=Dn(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=Qn(this).shrink(Nn(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?$n:Object(s["isFunction"])(this.syncViewPadding)?this.syncViewPadding:void 0;e&&(e(this,this.views,Kn),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=Rt(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["a"])(Object(a["a"])({},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 Pt(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 Pt(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=Vn(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 Un(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),s=t.clone();if(a){var c="plot:"+e;s.type=c,this.emit(c,s),"mouseleave"!==e&&"touchend"!==e||(this.isPreMouseInPlot=!1)}"mousemove"===e||"touchmove"===e?(this.isPreMouseInPlot&&!a?("mousemove"===e&&(s.type=u.MOUSE_LEAVE,this.emit(u.MOUSE_LEAVE,s)),s.type=u.LEAVE,this.emit(u.LEAVE,s)):!this.isPreMouseInPlot&&a&&("mousemove"===e&&(s.type=u.MOUSE_ENTER,this.emit(u.MOUSE_ENTER,s)),s.type=u.ENTER,this.emit(u.ENTER,s)),this.isPreMouseInPlot=a):"mouseleave"!==e&&"touchend"!==e||this.isPreMouseInPlot&&("mouseleave"===e&&(s.type=u.MOUSE_LEAVE,this.emit(u.MOUSE_LEAVE,s)),s.type=u.LEAVE,this.emit(u.LEAVE,s),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();Et(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();Et(o,t,e)}return t},e.prototype.adjustScales=function(){this.adjustCategoryScaleRange()},e.prototype.adjustCategoryScaleRange=function(){var t=this,e=Object(a["d"])([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=Ht(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 Hn(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 j=l[O];this.createView(j)}for(var w=this.getController("annotation"),k=0;k<h.length;k++){var S=h[k];w.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["c"])(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}(A);function tr(t,e){Jn.prototype[t.toLowerCase()]=function(t){void 0===t&&(t={});var n=Object(a["a"])({container:this.middleGroup.addGroup(),labelsContainer:this.foregroundGroup.addGroup()},t),r=new e(n);return this.geometries.push(r),r}}var er=Jn,nr=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,j=e.supportCSSTransform,w=void 0!==j&&j,S=e.defaultInteractions,C=void 0===S?["tooltip","legend-filter","legend-active","continuous-filter","ellipsis-text"]:S,M=e.options,A=e.limitInPlot,T=e.theme,E=e.syncViewPadding,P=Object(s["isString"])(r)?document.getElementById(r):r,_=Object(O["b"])('<div style="position:relative;"></div>');P.appendChild(_);var L=k(P,l,i,o),F=b(d),I=new F.Canvas(Object(a["a"])({container:_,pixelRatio:g,localRefresh:v,supportCSSTransform:w},L));return n=t.call(this,{parent:null,canvas:I,backgroundGroup:I.addGroup({zIndex:f.BG}),middleGroup:I.addGroup({zIndex:f.MID}),foregroundGroup:I.addGroup({zIndex:f.FORE}),padding:u,appendPadding:h,visible:x,options:M,limitInPlot:A,theme:T,syncViewPadding:E})||this,n.onResize=Object(s["debounce"])(function(){n.forceFit()},300),n.ele=P,n.canvas=I,n.width=L.width,n.height=L.height,n.autoFit=l,n.localRefresh=v,n.renderer=d,n.wrapperElement=_,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(C),n}return Object(a["b"])(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;Object(s["each"])(t,function(t){e.interaction(t)})},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e?this:(this.emit(c.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(c.AFTER_CHANGE_SIZE),this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),S(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=k(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){Object(O["e"])(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(er),rr=nr,ir=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){Object(s["each"])(this.components,function(t){t.component.destroy()}),this.components=[]},t.prototype.destroy=function(){this.clear()},t.prototype.getComponents=function(){return this.components},t.prototype.changeVisible=function(t){this.visible!==t&&(this.components.forEach(function(e){t?e.component.show():e.component.hide()}),this.visible=t)},t}();function or(t){for(var e=[],n=function(n){var r=t[n],i=Object(s["find"])(e,function(t){return t.color===r.color&&t.name===r.name&&t.value===r.value&&t.title===r.title});i||e.push(r)},r=0;r<t.length;r++)n(r);return e}var ar=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return Object(a["b"])(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",Un.fromData(e,"tooltip:show",Object(a["a"])({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",Un.fromData(e,"tooltip:change",Object(a["a"])({items:n,title:r},t))),(Object(s["isFunction"])(h)?h(n):h)&&(this.tooltip||this.renderTooltip(),this.tooltip.update(Object(s["mix"])({},o,{items:this.getItemsAfterProcess(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",Un.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 or(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 Pt(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["a"])(Object(a["a"])({},t),{customContent:n})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),r=new bt(Object(a["a"])(Object(a["a"])({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));r.init(),this.tooltip=r},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),r=0,i=t;r<i.length;r++){var o=i[r],s=o.x,c=o.y,l=Object(a["a"])(Object(a["a"])({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(Dt(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=Bt(n,t),a=n.getCenter(),c=n.getRadius();i=Ot(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 ft["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(Dt(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:It(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 ft["Crosshair"][i](r),c.init()):c.update(r):(c=new ft["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=this.getTooltipCfg().showNil,i=[],o=t.container,a=o.getShape(e.x,e.y);if(a&&a.get("visible")&&a.get("origin")){var s=a.get("origin").mappingData,c=Bn(s,t,n,r);c.length&&i.push(c)}return i},e.prototype.getTooltipItemsByFindData=function(t,e,n){var r=this.getTooltipCfg().showNil,i=[],o=t.dataArray;if(!Object(s["isEmpty"])(o)){t.sort(o);for(var a=0,c=o;a<c.length;a++){var l=c[a],u=Dn(e,l,t);if(u){var h=t.getElementId(u),f=t.elementsMap[h];if("heatmap"===t.type||f.visible){var p=Bn(u,t,n,r);p.length&&i.push(p)}}}}return i},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.prototype.getItemsAfterProcess=function(t){var e=this.getTooltipCfg().customItems,n=e||function(t){return t};return n(t)},e}(ir),sr=ar,cr={};function lr(t){return cr[t.toLowerCase()]}function ur(t,e){cr[t.toLowerCase()]=e}var hr={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},fr={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"}}},pr={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 dr(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,repeat:t.repeat}}function gr(t,e,n){var r=fr[t];return r&&(Object(s["isFunction"])(r)&&(r=r(e)),r=Object(s["deepMix"])({},hr,r),n)?r[n]:r}function yr(t,e,n){var r=Object(s["get"])(t.get("origin"),"data",d),i=e.animation,o=dr(e,r);if(i){var a=lr(i);a&&a(t,o,n)}else t.animate(n.toAttrs,o)}function vr(t,e,n,r,i){if(pr[n]){var o=pr[n](r),c=lr(Object(s["get"])(o,"animation",""));if(c){var l=Object(a["a"])(Object(a["a"])(Object(a["a"])({},hr.appear),o),e);t.stopAnimate(),c(t,l,{coordinate:r,minYPoint:i,toAttrs:null})}}}var mr="element-background",br=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["b"])(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?yr(r,i,{coordinate:n.coordinate,toAttrs:Object(a["a"])({},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(ft["propagationDelegate"])(this.shape,"statechange",u)},e.prototype.clearStates=function(){var t=this,e=this.states;Object(s["each"])(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,e=t.shape,n=t.labelShape,r={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return e&&(r=e.getCanvasBBox()),n&&n.forEach(function(t){var e=t.getCanvasBBox();r.x=Math.min(e.x,r.x),r.y=Math.min(e.y,r.y),r.minX=Math.min(e.minX,r.minX),r.minY=Math.min(e.minY,r.minY),r.maxX=Math.max(e.maxX,r.maxX),r.maxY=Math.max(e.maxY,r.maxY)}),r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,e=t.shapeType,n=t.geometry,r=t.shapeFactory,i=n.stateOption,o=r.defaultShapeType,a=r.theme[e]||r.theme[o];this.statesStyle=Object(s["deepMix"])({},a,i)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=Object(s["get"])(n,[t,"style"],{}),i=r[e]||r;return Object(s["isFunction"])(i)?i(this):i},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var r=n[t];return r?Object(a["a"])(Object(a["a"])({},r),{callback:function(){var t;Object(s["isFunction"])(r.callback)&&r.callback(),null===(t=e.geometry)||void 0===t||t.emit(l.AFTER_DRAW_ANIMATE)}}):r}return null},e.prototype.drawShape=function(t,e){var n;void 0===e&&(e=!1);var r=this,i=r.shapeFactory,o=r.container,c=r.shapeType;if(this.shape=i.drawShape(c,t,o),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?Object(s["isString"])(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var h=e?"enter":"appear",f=this.getAnimateCfg(h);f&&(null===(n=this.geometry)||void 0===n||n.emit(l.BEFORE_DRAW_ANIMATE),yr(this.shape,f,{coordinate:i.coordinate,toAttrs:Object(a["a"])({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;if(t.cfg.origin=e,t.cfg.element=this,t.isGroup()){var r=t.get("children");r.forEach(function(t){n.setShapeInfo(t,e)})}},e.prototype.syncShapeStyle=function(t,e,n,r,i){var o,a=this;if(void 0===n&&(n=[]),void 0===i&&(i=0),t&&e){var c=t.get("clipShape"),u=e.get("clipShape");if(this.syncShapeStyle(c,u,n,r),t.isGroup())for(var h=t.get("children"),f=e.get("children"),p=0;p<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){if(e.get("name")!==mr){var n=a.getStateStyle(t,d||i);e.attr(n)}})}var g=Ct(t,e);this.animate?r?(null===(o=this.geometry)||void 0===o||o.emit(l.BEFORE_DRAW_ANIMATE),yr(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}(A),xr=br,Or={},jr={};function wr(t){return Or[t.toLowerCase()]}function kr(t,e){Or[t.toLowerCase()]=e}function Sr(t){return jr[t.toLowerCase()]}function Cr(t,e){jr[t.toLowerCase()]=e}var Mr={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)}},Ar={coordinate:null,parsePath:function(t){var e=this.coordinate,n=Object(Ce["c"])(t);return n=e.isPolar?Se(e,n):ke(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){}},Tr={};function Er(t,e){var n=Object(s["upperFirst"])(t),r=Object(a["a"])(Object(a["a"])(Object(a["a"])({},Mr),e),{geometryType:t});return Tr[n]=r,r}function Pr(t,e,n){var r=Object(s["upperFirst"])(t),i=Tr[r],o=Object(a["a"])(Object(a["a"])({},Ar),n);return i[e]=o,o}function _r(t){var e=Object(s["upperFirst"])(t);return Tr[e]}function Lr(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 Fr(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 Ir(t){return Object(s["isArray"])(t)?t:t.split("*")}function Dr(t,e){var n=[];return Object(s["each"])(e,function(e,r){var i=r.split(" ")[0];i===t&&n.push(e)}),n}var Br=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,j=e.multiplePieWidthRatio,w=e.zIndexReversed;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=j,n.zIndexReversed=w,n}return Object(a["b"])(e,t),e.prototype.position=function(t){var e=t;Object(s["isPlainObject"])(t)||(e={fields:Ir(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=Ir(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=Ir(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=Ir(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.initAttributes(),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"])({},gr(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())});vr(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["a"])({},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?Et(c.fields,t,e):c.values&&Et(c.values,t,e)}return i&&i.fields&&Et(i.fields,t,e),Object(s["isObject"])(o)&&o.fields&&Et(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&&Et(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(_r(t))return this.shapeFactory||(this.shapeFactory=Object(s["clone"])(_r(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 xr({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||Fr(f,p))&&(h.animate=this.animateOption,h.update(f)),delete i[u]}else h=this.createElement(l,n);a.push(h),o[u]=h}if(this.zIndexReversed){var d=a.length;a.forEach(function(t,e){t.shape.setZIndex(d-e)})}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=Ir(e),n&&(Object(s["isFunction"])(n)?r.callback=n:r.values=n),Object(s["set"])(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this,n=e.attributes,r=e.attributeOption,i=e.theme,o=e.shapeType;this.groupScales=[];var s={},c=function(e){if(r.hasOwnProperty(e)){var c=r[e];if(!c)return{value:void 0};var l=Object(a["a"])({},c),u=l.callback,h=l.values,f=l.fields,d=void 0===f?[]:f,g=d.map(function(n){var r=t.scales[n];return r.isCategory&&!s[n]&&p.includes(e)&&(t.groupScales.push(r),s[n]=!0),r});l.scales=g,"position"!==e&&1===g.length&&"identity"===g[0].type?l.values=g[0].values:u||h||("size"===e?l.values=i.sizes:"shape"===e?l.values=i.shapes[o]||[]:"color"===e&&(g.length?l.values=g[0].values.length<=10?i.colors10:i.colors20:l.values=i.colors10));var y=Z(e);n[e]=new y(l)}};for(var l in r){var u=c(l);if("object"===typeof u)return u.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales,n=e.filter(function(t){return t.isCategory}),r=this.groupData(t),i=[],o=0,a=r.length;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=Lt(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 j=e[x],w=Object(a["a"])({xField:d,yField:g,intervalPadding:r,dodgePadding:i,xDimensionLength:y,groupNum:v,defaultSize:b,maxColumnWidth:c,minColumnWidth:l,columnWidthRatio:u},j),k=j.type;if("dodge"===k){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")}w.adjustNames=S,w.dodgeRatio=u}else if("stack"===k){var C=this.coordinate;if(!p){w.height=C.getHeight();var M=this.getDefaultValue("size")||3;w.size=M}!C.isTransposed&&Object(s["isNil"])(w.reverseOrder)&&(w.reverseOrder=!0)}var A=Object(E["getAdjust"])(k),T=new A(w);h=T.process(h),this.adjusts[k]=T}}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 Lr(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=wr(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=Dr(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}(A),Rr=Br,Nr=tt["a"].transform;function zr(t,e,n){var r=Nr(t.getMatrix(),[["t",e,n]]);t.setMatrix(r)}function Yr(t,e){var n=t.attr(),r=n.x,i=n.y,o=Nr(t.getMatrix(),[["t",-r,-i],["r",e],["t",r,i]]);return o}function Gr(t,e){var n=Yr(t,e);t.setMatrix(n)}function Vr(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=Nr(t.getMatrix(),[["t",-r,-i],["s",e,e],["t",r,i]]);t.setMatrix(o)}function Wr(t){return t.find(function(t){return"text"===t.get("type")})}function Hr(t,e,n){void 0===n&&(n=[0,0,0,0]);var r=t.getChildren()[0];if(r){var i=r.clone();(null===e||void 0===e?void 0:e.rotate)&&Gr(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:(null===e||void 0===e?void 0:e.rotate)||0}}}function Xr(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 Ur(t,e){var n=t.getBBox();return Object(s["some"])(e,function(t){var e=t.getBBox();return Xr(n,e,2)>0})}function qr(t,e,n){var r=n.data,i=n.origin,o=n.animateCfg,a=n.coordinate,c=Object(s["get"])(o,"update");t.set("data",r),t.set("origin",i),t.set("animateCfg",o),t.set("coordinate",a),t.set("visible",e.get("visible")),t.getChildren().forEach(function(s,l){var u=e.getChildByIndex(l);if(u){s.set("data",r),s.set("origin",i),s.set("animateCfg",o),s.set("coordinate",a);var h=Ct(s,u);c?yr(s,c,{toAttrs:h,coordinate:a}):s.attr(h),u.isGroup()&&qr(s,u,n)}else t.removeChild(s),s.remove(!0)}),Object(s["each"])(e.getChildren(),function(e,n){n>=t.getCount()&&(e.destroyed||t.add(e))})}var Zr=function(){function t(t){this.shapesMap={},this.lastShapesMap={};var e=t.layout,n=t.container;this.layout=e,this.container=n}return t.prototype.render=function(t,e,n){var r=this;void 0===n&&(n=!1),this.shapesMap={};var i=this.container,o=this.createOffscreenGroup();if(t.length){for(var c=0,l=t;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];qr(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&&yr(t,d,{toAttrs:Object(a["a"])({},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?yr(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["a"])(Object(a["a"])({},c),{data:c[d]}),coordinate:l},p=e.addGroup(Object(a["a"])({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),zr(h,b,x),n=h,p.add(h)}else{var O=Object(s["get"])(t,["style","fill"]);n=p.addShape("text",Object(a["a"])({attrs:Object(a["a"])(Object(a["a"])({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&&Gr(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=Sr(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=Ot(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["a"])({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=Hr(o,t,r.padding),u=l.rotation,h=Object(a["c"])(l,["rotation"]),f=o.addShape("rect",{attrs:Object(a["a"])(Object(a["a"])({},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}(),Kr=Zr;function Qr(t){var e=0;return Object(s["each"])(t,function(t){e+=t}),e/t.length}var $r=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["a"])(Object(a["a"])({},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,r){void 0===r&&(r=!1);var i=e;return Object(s["isArray"])(i)&&(i=1===t.content.length?r?Qr(i):i.length<=2?i[e.length-1]:Qr(i):i[n]),i}var a={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},c=Object(s["isArray"])(e.shape)?e.shape[0]:e.shape,l="funnel"===c||"pyramid"===c;if("polygon"===this.geometry.type){var u=St(e.x,e.y);a.x=u[0],a.y=u[1]}else"interval"!==this.geometry.type||l?(a.x=o(e.x,n),a.y=o(e.y,n)):(a.x=o(e.x,n,!0),a.y=o(e.y,n));if(l){var h=Object(s["get"])(e,"nextPoints"),f=Object(s["get"])(e,"points");if(h){var p=r.convert(f[1]),d=r.convert(h[1]);a.x=(p.x+d.x)/2,a.y=(p.y+d.y)/2}else if("pyramid"===c){p=r.convert(f[1]),d=r.convert(f[2]);a.x=(p.x+d.x)/2,a.y=(p.y+d.y)/2}}t.position&&this.setLabelPosition(a,e,n,t.position);var g=this.getLabelOffsetPoint(t,n,i);return a.start={x:a.x,y:a.y},a.x+=g.x,a.y+=g.y,a.color=e.color,a},t.prototype.getLabelAlign=function(t,e,n){var r="center",i=this.getCoordinate();if(i.isTransposed){var o=t.offset;r=o<0?"right":0===o?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),o=t[d],a=e.getElementId(t);return"line"===n||"area"===n?a+=" "+o[r.field]:"path"===n&&(a+=" "+o[r.field]+"-"+o[i.field]),a},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,i=t.animateOption,o=this.geometry.coordinate,a=this.labelsRenderer;return a||(a=new Kr({container:e,layout:Object(s["get"])(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=a),a.region=r,a.animate=!!i&&gr("label",o),a},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,r=n.labelOption,i=n.scales,o=n.coordinate,c=r,l=c.fields,u=c.callback,h=c.cfg,f=l.map(function(t){return i[t]}),p=[];return Object(s["each"])(t,function(t,n){var r,i=t[d],c=e.getLabelText(i,f);if(u){var g=l.map(function(t){return i[t]});if(r=u.apply(void 0,g),Object(s["isNil"])(r))return void p.push(null)}var y=Object(a["a"])(Object(a["a"])({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:i,mappingData:t,coordinate:o},h),r);Object(s["isFunction"])(y.position)&&(y.position=y.position(i,t,n));var v=e.getLabelOffset(y.offset||0),m=e.getDefaultLabelCfg(v,y.position);y=Object(s["deepMix"])({},m,y),y.offset=e.getLabelOffset(y.offset||0);var b=y.content;Object(s["isFunction"])(b)?y.content=b(i,t,n):Object(s["isUndefined"])(b)&&(y.content=c[0]),p.push(y)}),p},t.prototype.getLabelText=function(t,e){var n=[];return Object(s["each"])(e,function(e){var r=t[e.field];r=Object(s["isArray"])(r)?r.map(function(t){return e.getText(t)}):e.getText(r),Object(s["isNil"])(r)||""===r?n.push(null):n.push(r)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return Object(s["isNumber"])(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return Object(s["each"])(t.elementsMap,function(t,n){e[n]=t.shape}),Object(s["each"])(t.getOffscreenGroup().getChildren(),function(n){var r=t.getElementId(n.get("origin").mappingData);e[r]=n}),e},t}(),Jr=$r;n("WXeg");function ti(t,e,n){if(!t)return n;var r;if(t.callback&&t.callback.length>1){var i=Array(t.callback.length-1).fill("");r=t.mapping.apply(t,Object(a["d"])([e],i)).join("")}else r=t.mapping(e).join("");return r||n}var ei={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}},ni=["line","cross","tick","plus","hyphen"];function ri(t,e){return Object(s["isFunction"])(e)?e(t):Object(s["deepMix"])({},t,e)}function ii(t,e){var n=t.symbol;if(Object(s["isString"])(n)&&-1!==ni.indexOf(n)){var r=Object(s["get"])(t,"style",{}),i=Object(s["get"])(r,"lineWidth",1),o=r.stroke||r.fill||e;t.style=Object(s["deepMix"])({},t.style,{lineWidth:i,stroke:o,fill:null})}}function oi(t){var e=t.symbol;Object(s["isString"])(e)&&ei[e]&&(t.symbol=ei[e])}function ai(t){return t.startsWith(i.LEFT)||t.startsWith(i.RIGHT)?"vertical":"horizontal"}function si(t,e,n,r,i){var o=n.getScale(n.type);if(o.isCategory){var c=o.field,l=e.getAttribute("color"),u=e.getAttribute("shape"),h=t.getTheme().defaultColor,f=e.coordinate.isPolar;return o.getTicks().map(function(n){var p,d=n.text,g=n.value,y=d,v=o.invert(g),m=0===t.filterFieldData(c,[(p={},p[c]=v,p)]).length;Object(s["each"])(t.views,function(t){var e;t.filterFieldData(c,[(e={},e[c]=v,e)]).length||(m=!0)});var b=ti(l,v,h),x=ti(u,v,"point"),O=e.getShapeMarker(x,{color:b,isInPolar:f});return O=Object(s["deepMix"])({},r,O,Tt(Object(a["a"])({},i),["style"])),ii(O,b),i&&i.style&&(O.style=ri(O.style,i.style)),oi(O),{id:v,name:y,value:v,marker:O,unchecked:m}})}return[]}function ci(t,e,n){return n.map(function(n){var r=Object(s["deepMix"])({},t,e,n.marker);return oi(r),n.marker=r,n})}var li={getLegendItems:si,translate:zr,rotate:Gr,zoom:Vr,transform:Nr,getAngle:kt,getSectorPath:jt,polarToCartesian:Ot,getDelegationObject:Ee,getTooltipItems:Bn},ui={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},hi={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},fi=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#E86452","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],pi=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#E86452","#F8D0CB","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],di=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"#141414":e,r=t.paletteQualitative10,i=void 0===r?fi:r,o=t.paletteQualitative20,a=void 0===o?pi:o,s=t.paletteSemanticRed,c=void 0===s?"#F4664A":s,l=t.paletteSemanticGreen,u=void 0===l?"#30BF78":l,h=t.paletteSemanticYellow,f=void 0===h?"#FAAD14":h,p=t.fontFamily,d=void 0===p?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':p,g=t.brandColor,y=void 0===g?i[0]:g;return{backgroundColor:n,brandColor:y,paletteQualitative10:i,paletteQualitative20:a,paletteSemanticRed:c,paletteSemanticGreen:u,paletteSemanticYellow:f,fontFamily:d,axisLineBorderColor:hi[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:hi[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:hi[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:hi[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:hi[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:hi[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:hi[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:fi[0],legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:hi[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendSpacing:16,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:hi[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:hi[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:ui[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:ui[25],annotationArcBorderColor:hi[15],annotationArcBorder:1,annotationLineBorderColor:hi[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:hi[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:hi[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:hi[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"#1f1f1f",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 2px 4px rgba(0,0,0,.5)",tooltipContainerBorderRadius:3,tooltipTextFillColor:hi[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:hi[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:ui[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:hi[65],overflowLabelFillColorDark:"#2c3542",overflowLabelFillColorLight:"#ffffff",overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:ui[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:hi[25],pointFillColor:fi[0],pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:ui[100],pointBorderOpacity:1,pointActiveBorderColor:hi[100],pointSelectedBorder:2,pointSelectedBorderColor:hi[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:fi[0],hollowPointBorderOpacity:.95,hollowPointFillColor:ui[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:hi[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:hi[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:fi[0],lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:fi[0],areaFillOpacity:.25,areaActiveFillColor:fi[0],areaActiveFillOpacity:.5,areaSelectedFillColor:fi[0],areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:fi[0],hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:hi[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:hi[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:fi[0],intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:hi[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:hi[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:fi[0],hollowIntervalBorderOpacity:1,hollowIntervalFillColor:ui[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:hi[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:hi[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}},gi=di(),yi=n("U8jP"),vi=n("v7Ed");function mi(t){return!t&&(null===t||void 0===t||isNaN(t))}function bi(t){if(Object(s["isArray"])(t))return mi(t[1].y);var e=t.y;return Object(s["isArray"])(e)?mi(e[0]):mi(e)}function xi(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i];bi(a)||r.push(a)}return[r]}var s=[],c=[];for(i=0,o=t.length;i<o;i++){a=t[i];bi(a)?c.length&&((1!==c.length||n)&&s.push(c),c=[]):c.push(a)}return c.length&&s.push(c),s}function Oi(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["a"])(Object(a["a"])({},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 ji(t){return Object(s["deepMix"])({},{fill:"#CCD6EC",fillOpacity:.3},Object(s["get"])(t,["background","style"]))}function wi(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 ki={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 Si(t,e){var n=t.color;return{symbol:ki[e],style:{lineWidth:2,r:6,stroke:n}}}function Ci(t,e,n){for(var r=t.isStack,i=t.connectNulls,o=t.isInCircle,a=t.showSinglePoint,s=Oi(t,!0,!1,"lineWidth"),c=xi(t.points,i,a),l=[],u=0,h=c.length;u<h;u++){var f=c[u];l=l.concat(Ti(f,o,r,e,n,s))}return s.path=l,s}function Mi(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=we(t,!1,r)):(o=je(t,!1),e&&o.push(["Z"])),o);var o}function Ai(t,e,n,r,i,o){var a=[],c=[];Object(s["each"])(t,function(t){var e=wi(t);a.push(e[1]),c.push(e[0])});var l=Mi(a,e,r,i,o),u=Mi(c,e,r,i,o);return n?l:l.concat(u)}function Ti(t,e,n,r,i,o){if(t.length){var a=t[0];return Object(s["isArray"])(a.y)?Ai(t,e,n,r,i,o):Mi(t,e,r,i,o)}return[]}Er("line",{defaultShapeType:"line"});Object(s["each"])(["line","dot","dash","smooth"],function(t){Pr("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=Ci(e,i,r),l=n.addShape({type:"path",attrs:c,name:"line",capture:!i});return l},getMarker:function(e){return Si(e,t)}})});var Ei=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["b"])(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||Fr(h,l))&&(u.animate=this.animateOption,u.update(l)),delete i[c]}else{var f=this.getShapeFactory();u=new xr({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}(Rr),Pi=Ei;function _i(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?we(u,!1,i):je(u,!1),s>0&&(l[0][0]="L")),o=o.concat(l)}),o.push(["Z"])}return o}function Li(t,e,n,r,i){for(var o=Oi(t,e,!e,"lineWidth"),a=t.connectNulls,s=t.isInCircle,c=t.points,l=t.showSinglePoint,u=xi(c,a,l),h=[],f=0,p=u.length;f<p;f++){var d=u[f];h=h.concat(_i(d,s,n,r,i))}return o.path=h,o}function Fi(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}Er("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}})}});Pr("area","area",{draw:function(t,e){var n=Li(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 Ii=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["b"])(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}(Pi),Di=Ii;Er("edge",{defaultShapeType:"line",getDefaultPoints:function(t){return wi(t)}});Pr("edge","line",{draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=je(this.parsePoints(t.points),this.coordinate.isPolar);return e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var Bi=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["b"])(e,t),e}(Rr),Ri=Bi,Ni=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e.paletteCache={},e}return Object(a["b"])(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 j=this.getImageShape();j.attr("x",o.x),j.attr("y",a.y),j.attr("width",s),j.attr("height",c),j.attr("img",h.canvas),j.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]:D["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["a"])(Object(a["a"])({},e),{mappingData:t,data:this.getData(t)})},e.prototype.getData=function(t){return t.map(function(t){return t[d]})},e}(Rr),zi=Ni;function Yi(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 Gi(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 Vi(t,e){var n=0,r=0,i=0,o=0;return Object(s["isArray"])(t)?1===t.length?n=r=i=o=t[0]:2===t.length?(n=i=t[0],r=o=t[1]):3===t.length?(n=t[0],r=o=t[1],i=t[2]):(n=t[0],r=t[1],i=t[2],o=t[3]):n=r=i=o=t,n+r>e&&(n=n?e/(1+r/n):0,r=e-n),i+o>e&&(i=i?e/(1+o/i):0,o=e-i),[n||0,r||0,i||0,o||0]}function Wi(t,e,n){var r=[];if(n.isRect){var i=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},o=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},a=Object(s["get"])(t,["background","style","radius"]);if(a){var c=n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=n.isTransposed?n.getWidth():n.getHeight(),u=Vi(a,Math.min(c,l)),h=u[0],f=u[1],p=u[2],d=u[3];r.push(["M",i.x,o.y+h]),0!==h&&r.push(["A",h,h,0,0,1,i.x+h,o.y]),r.push(["L",o.x-f,o.y]),0!==f&&r.push(["A",f,f,0,0,1,o.x,o.y+f]),r.push(["L",o.x,i.y-p]),0!==p&&r.push(["A",p,p,0,0,1,o.x-p,i.y]),r.push(["L",i.x+d,i.y]),0!==d&&r.push(["A",d,d,0,0,1,i.x,i.y-d])}else r.push(["M",i.x,i.y]),r.push(["L",o.x,i.y]),r.push(["L",o.x,o.y]),r.push(["L",i.x,o.y]),r.push(["L",i.x,i.y]);r.push(["z"])}if(n.isPolar){var g=n.getCenter(),y=kt(t,n),v=y.startAngle,m=y.endAngle;if("theta"===n.type||n.isTransposed){var b=function(t){return Math.pow(t,2)};h=Math.sqrt(b(g.x-e[0].x)+b(g.y-e[0].y)),f=Math.sqrt(b(g.x-e[2].x)+b(g.y-e[2].y));r=jt(g.x,g.y,h,n.startAngle,n.endAngle,f)}else r=jt(g.x,g.y,n.getRadius(),v,m)}return r}function Hi(t,e,n){var r=n.getWidth(),i=n.getHeight(),o="rect"===n.type,a=[],s=(t[2].x-t[1].x)/2,c=n.isTransposed?s*i/r:s*r/i;return"round"===e?(o?(a.push(["M",t[0].x,t[0].y+c]),a.push(["L",t[1].x,t[1].y-c]),a.push(["A",s,s,0,0,1,t[2].x,t[2].y-c]),a.push(["L",t[3].x,t[3].y+c]),a.push(["A",s,s,0,0,1,t[0].x,t[0].y+c])):(a.push(["M",t[0].x,t[0].y]),a.push(["L",t[1].x,t[1].y]),a.push(["A",s,s,0,0,1,t[2].x,t[2].y]),a.push(["L",t[3].x,t[3].y]),a.push(["A",s,s,0,0,1,t[0].x,t[0].y])),a.push(["z"])):a=Gi(t),a}function Xi(t,e,n){var r=[];return Object(s["isNil"])(e)?n?r.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[2].x,t[2].y],["Z"]):r.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):r.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),r}function Ui(t,e,n){var r,i,o,a,s=t[0],c=t[1],l=t[2],u=t[3],h=[0,0,0,0],f=h[0],p=h[1],d=h[2],g=h[3];s.y<c.y?(c=t[0],s=t[1],u=t[2],l=t[3],r=Vi(n,Math.min(u.x-s.x,s.y-c.y)),g=r[0],d=r[1],p=r[2],f=r[3]):(i=Vi(n,Math.min(u.x-s.x,s.y-c.y)),f=i[0],p=i[1],d=i[2],g=i[3]),e.isTransposed&&(s=t[0],u=t[1],l=t[2],c=t[3],t[0].x>t[1].x?(u=t[0],s=t[1],c=t[2],l=t[3],o=Vi(n,Math.min(u.x-s.x,s.y-c.y)),f=o[0],g=o[1],d=o[2],p=o[3]):(a=Vi(n,Math.min(u.x-s.x,s.y-c.y)),p=a[0],d=a[1],g=a[2],f=a[3]));var y=[];return y.push(["M",c.x,c.y+f]),0!==f&&y.push(["A",f,f,0,0,1,c.x+f,c.y]),y.push(["L",l.x-p,l.y]),0!==p&&y.push(["A",p,p,0,0,1,l.x,l.y+p]),y.push(["L",u.x,u.y-d]),0!==d&&y.push(["A",d,d,0,0,1,u.x-d,u.y]),y.push(["L",s.x+g,s.y]),0!==g&&y.push(["A",g,g,0,0,1,s.x,s.y-g]),y.push(["L",c.x,c.y+f]),y.push(["z"]),y}Er("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Yi(t)}});Pr("interval","rect",{draw:function(t,e){var n,r=Oi(t,!1,!0),i=e,o=null===t||void 0===t?void 0:t.background;if(o){i=e.addGroup();var s=ji(t),c=Wi(t,this.parsePoints(t.points),this.coordinate);i.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},s),{path:c}),zIndex:-1,name:mr})}n=r.radius&&this.coordinate.isRect?Ui(this.parsePoints(t.points),this.coordinate,r.radius):this.parsePath(Hi(t.points,r.lineCap,this.coordinate));var l=i.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n}),name:"interval"});return o?i:l},getMarker:function(t){var e=t.color,n=t.isInPolar;return n?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}});function qi(t,e){var n=t.length,r=t;Object(s["isString"])(r[0])&&(r=t.map(function(t){return e.translate(t)}));for(var i=r[1]-r[0],o=2;o<n;o++){var a=r[o]-r[o-1];i>a&&(i=a)}return i}function Zi(t,e){if(e){var n=Object(s["flatten"])(t),r=Object(s["valuesOfKey"])(n,e);return r.length}return t.length}function Ki(t){var e=t.theme,n=t.coordinate,r=t.getXScale(),i=r.values,o=t.beforeMappingData,a=i.length,c=Lt(t.coordinate),l=t.intervalPadding,u=t.dodgePadding,h=t.maxColumnWidth||e.maxColumnWidth,f=t.minColumnWidth||e.minColumnWidth,p=t.columnWidthRatio||e.columnWidthRatio,d=t.multiplePieWidthRatio||e.multiplePieWidthRatio,g=t.roseWidthRatio||e.roseWidthRatio;if(r.isLinear&&i.length>1){i.sort();var y=qi(i,r);a=(r.max-r.min)/y,i.length>a&&(a=i.length)}var v=r.range,m=1/a,b=1;if(n.isPolar?b=n.isTransposed&&a>1?d:g:(r.isLinear&&(m*=v[1]-v[0]),b=p),!Object(s["isNil"])(l)&&l>=0){var x=l/c;m=(1-(a-1)*x)/a}else m*=b;if(t.getAdjust("dodge")){var O=t.getAdjust("dodge"),j=O.dodgeBy,w=Zi(o,j);if(!Object(s["isNil"])(u)&&u>=0){var k=u/c;m=(m-k*(w-1))/w}else!Object(s["isNil"])(l)&&l>=0?(m*=b,m/=w):m/=w;m=m>=0?m:0}if(!Object(s["isNil"])(h)&&h>=0){var S=h/c;m>S&&(m=S)}if(!Object(s["isNil"])(f)&&f>=0){var C=f/c;m<C&&(m=C)}return m}var Qi=function(t){function e(e){var n=t.call(this,e)||this;n.type="interval",n.shapeType="interval",n.generatePoints=!0;var r=e.background;return n.background=r,n}return Object(a["b"])(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=Lt(o);n/=a}else this.defaultSize||(this.defaultSize=Ki(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:Xt(e)});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.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(Rr),$i=Qi,Ji=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable,i=void 0!==r&&r;return n.sortable=i,n}return Object(a["b"])(e,t),e}(Pi),to=Ji,eo=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],no=["cross","tick","plus","hyphen","line"];function ro(t,e,n,r,i){var o=Oi(e,i,!i,"r"),s=t.parsePoints(e.points),c=s[0];if(e.isStack)c=s[1];else if(s.length>1){for(var l=n.addGroup(),u=0,h=s;u<h.length;u++){var f=h[u];l.addShape({type:"marker",attrs:Object(a["a"])(Object(a["a"])(Object(a["a"])({},o),{symbol:ei[r]||r}),f)})}return l}return n.addShape({type:"marker",attrs:Object(a["a"])(Object(a["a"])(Object(a["a"])({},o),{symbol:ei[r]||r}),c)})}Er("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(t){return wi(t)}});Object(s["each"])(eo,function(t){Pr("point","hollow-"+t,{draw:function(e,n){return ro(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:ei[t]||t,style:{r:4.5,stroke:n,fill:null}}}})});var io=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["b"])(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return Object(a["a"])(Object(a["a"])({},n),{isStack:!!this.getAdjust("stack")})},e}(Rr),oo=io;function ao(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}Er("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}});Pr("polygon","polygon",{draw:function(t,e){if(!Object(s["isEmpty"])(t.points)){var n=Oi(t,!0,!0),r=this.parsePath(ao(t.points));return e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"polygon"})}},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}});var so=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["b"])(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}(Rr),co=so,lo=(Er("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["b"])(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=Lt(o);n/=a}else this.defaultSize||(this.defaultSize=Ki(this)),n=this.defaultSize;return r.size=n,r},e}(Rr)),uo=lo;function ho(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 fo(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 po(t,e,n){var r=fo(e,n),i=[["M",t.x,t.y]];return i.push(r),i}function go(t,e){var n=fo(t[1],e),r=fo(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 yo(t,e){var n=ho(t,e),r=[["M",t.x,t.y]];return r.push(n),r}Pr("area","line",{draw:function(t,e){var n=Li(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}}}}),Pr("area","smooth",{draw:function(t,e){var n=this.coordinate,r=Li(t,!1,!0,this,Fi(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}}}}),Pr("area","smooth-line",{draw:function(t,e){var n=this.coordinate,r=Li(t,!0,!0,this,Fi(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}}}}),Pr("edge","arc",{draw:function(t,e){var n,r=Oi(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=po(i[0],i[1],s):(r.fill=r.stroke,n=go(i,s)),n=this.parsePath(n),e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n})})}if("normal"===o)return i=this.parsePoints(i),n=wt((i[1].x+i[0].x)/2,i[0].y,Math.abs(i[1].x-i[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n})});var c=ho(i[1],i[3]),l=ho(i[2],i[0]);return n=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],c,["L",i[3].x,i[3].y],["L",i[2].x,i[2].y],l,["Z"]],n=this.parsePath(n),r.fill=r.stroke,e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),Pr("edge","smooth",{draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(yo(r[0],r[1]));return e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var vo=1/3;function mo(t,e){var n=[];n.push({x:t.x,y:t.y*(1-vo)+e.y*vo}),n.push({x:e.x,y:t.y*(1-vo)+e.y*vo}),n.push(e);var r=[["M",t.x,t.y]];return Object(s["each"])(n,function(t){r.push(["L",t.x,t.y])}),r}function bo(t){var e=t.x,n=t.y,r=t.y0;return Object(s["isArray"])(n)?n.map(function(t,n){return{x:Object(s["isArray"])(e)?e[n]:e,y:t}}):[{x:e,y:r},{x:e,y:n}]}function xo(t){var e,n,r=t.x,i=t.y,o=t.y0,a=t.size;Object(s["isArray"])(i)?(e=i[0],n=i[1]):(e=o,n=i);var c=r+a/2,l=r-a/2;return[{x:r,y:e},{x:r,y:n},{x:l,y:e},{x:c,y:e},{x:l,y:n},{x:c,y:n}]}function Oo(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y]]}Pr("edge","vhv",{draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(mo(r[0],r[1]));return e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),Pr("interval","funnel",{getPoints:function(t){return t.size=2*t.size,Yi(t)},draw:function(t,e){var n=Oi(t,!1,!0),r=this.parsePath(Xi(t.points,t.nextPoints,!1)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),Pr("interval","hollow-rect",{draw:function(t,e){var n=Oi(t,!0,!1),r=e,i=null===t||void 0===t?void 0:t.background;if(i){r=e.addGroup();var o=ji(t),s=Wi(t,this.parsePoints(t.points),this.coordinate);r.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},o),{path:s}),zIndex:-1,name:mr})}var c=this.parsePath(Gi(t.points)),l=r.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:c}),name:"interval"});return i?r:l},getMarker:function(t){var e=t.color,n=t.isInPolar;return n?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}}),Pr("interval","line",{getPoints:function(t){return bo(t)},draw:function(t,e){var n=Oi(t,!0,!1,"lineWidth"),r=Tt(Object(a["a"])({},n),["fill"]),i=this.parsePath(Gi(t.points,!1)),o=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},r),{path:i}),name:"interval"});return o},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]},style:{r:5,stroke:e}}}}),Pr("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,Yi(t,!0)},draw:function(t,e){var n=Oi(t,!1,!0),r=this.parsePath(Xi(t.points,t.nextPoints,!0)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),Pr("interval","tick",{getPoints:function(t){return xo(t)},draw:function(t,e){var n=Oi(t,!0,!1),r=this.parsePath(Oo(t.points)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},style:{r:5,stroke:e}}}});var jo=function(t,e,n){var r,i=t.x,o=t.y,a=e.x,s=e.y;switch(n){case"hv":r=[{x:a,y:o}];break;case"vh":r=[{x:i,y:s}];break;case"hvh":var c=(a+i)/2;r=[{x:c,y:o},{x:c,y:s}];break;case"vhv":var l=(o+s)/2;r=[{x:i,y:l},{x:a,y:l}];break;default:break}return r};function wo(t,e){var n=[];return Object(s["each"])(t,function(r,i){var o=t[i+1];if(n.push(r),o){var a=jo(r,o,e);n=n.concat(a)}}),n}function ko(t){return t.map(function(t,e){return 0===e?["M",t.x,t.y]:["L",t.x,t.y]})}function So(t,e){var n=xi(t.points,t.connectNulls,t.showSinglePoint),r=[];return Object(s["each"])(n,function(t){var n=wo(t,e);r=r.concat(ko(n))}),Object(a["a"])(Object(a["a"])({},Oi(t,!0,!1,"lineWidth")),{path:r})}function Co(t){var e=Object(s["isArray"])(t)?t:[t],n=e[0],r=e[e.length-1],i=e.length>1?e[1]:n,o=e.length>3?e[3]:r,a=e.length>2?e[2]:i;return{min:n,max:r,min1:i,max1:o,median:a}}function Mo(t,e,n){var r,i=n/2;if(Object(s["isArray"])(e)){var o=Co(e),a=o.min,c=o.max,l=o.median,u=o.min1,h=o.max1,f=t-i,p=t+i;r=[[f,c],[p,c],[t,c],[t,h],[f,u],[f,h],[p,h],[p,u],[t,u],[t,a],[f,a],[p,a],[f,l],[p,l]]}else{e=Object(s["isNil"])(e)?.5:e;var d=Co(t),g=(a=d.min,c=d.max,l=d.median,u=d.min1,h=d.max1,e-i),y=e+i;r=[[a,g],[a,y],[a,e],[u,e],[u,g],[u,y],[h,y],[h,g],[h,e],[c,e],[c,g],[c,y],[l,g],[l,y]]}return r.map(function(t){return{x:t[0],y:t[1]}})}function Ao(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y],["L",t[6].x,t[6].y],["L",t[7].x,t[7].y],["L",t[4].x,t[4].y],["Z"],["M",t[8].x,t[8].y],["L",t[9].x,t[9].y],["M",t[10].x,t[10].y],["L",t[11].x,t[11].y],["M",t[12].x,t[12].y],["L",t[13].x,t[13].y]]}function To(t){var e=Object(s["isArray"])(t)?t:[t],n=e.sort(function(t,e){return e-t});return At(n,4,n[n.length-1])}function Eo(t,e,n){var r=To(e);return[{x:t,y:r[0]},{x:t,y:r[1]},{x:t-n/2,y:r[2]},{x:t-n/2,y:r[1]},{x:t+n/2,y:r[1]},{x:t+n/2,y:r[2]},{x:t,y:r[2]},{x:t,y:r[3]}]}function Po(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["L",t[4].x,t[4].y],["L",t[5].x,t[5].y],["Z"],["M",t[6].x,t[6].y],["L",t[7].x,t[7].y]]}function _o(t,e){var n=Math.abs(t[0].x-t[2].x),r=Math.abs(t[0].y-t[2].y),i=Math.min(n,r);e&&(i=Object(s["clamp"])(e,0,Math.min(n,r))),i/=2;var o=(t[0].x+t[2].x)/2,a=(t[0].y+t[2].y)/2;return{x:o-i,y:a-i,width:2*i,height:2*i}}Object(s["each"])(["hv","vh","hvh","vhv"],function(t){Pr("line",t,{draw:function(e,n){var r=So(e,t),i=n.addShape({type:"path",attrs:r,name:"line"});return i},getMarker:function(e){return Si(e,t)}})}),Object(s["each"])(no,function(t){Pr("point",t,{draw:function(e,n){return ro(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:ei[t],style:{r:4.5,stroke:n,fill:null}}}})}),Pr("point","image",{draw:function(t,e){var n=Oi(t,!1,!1,"r").r,r=this.parsePoints(t.points),i=r[0];if(t.isStack)i=r[1];else if(r.length>1){for(var o=e.addGroup(),a=0,s=r;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"])(eo,function(t){Pr("point",t,{draw:function(e,n){return ro(this,e,n,t,!1)},getMarker:function(e){var n=e.color;return{symbol:ei[t]||t,style:{r:4.5,fill:n}}}})}),Pr("schema","box",{getPoints:function(t){var e=t.x,n=t.y,r=t.size;return Mo(e,n,r)},draw:function(t,e){var n=Oi(t,!0,!1),r=this.parsePath(Ao(t.points)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},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=Mo(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}}}}),Pr("schema","candle",{getPoints:function(t){var e=t.x,n=t.y,r=t.size;return Eo(e,n,r)},draw:function(t,e){var n=Oi(t,!0,!0),r=this.parsePath(Po(t.points)),i=e.addShape("path",{attrs:Object(a["a"])(Object(a["a"])({},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=Eo(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}}}}),Pr("polygon","square",{draw:function(t,e){if(!Object(s["isEmpty"])(t.points)){var n=Oi(t,!0,!0),r=this.parsePoints(t.points);return e.addShape("rect",{attrs:Object(a["a"])(Object(a["a"])({},n),_o(r,t.size)),name:"polygon"})}},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}});var Lo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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["a"])(Object(a["a"])({},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}(Jr),Fo=Lo,Io=Math.PI/2,Do=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=0;if(Object(s["isNumber"])(t))n=t;else if(Object(s["isString"])(t)&&-1!==t.indexOf("%")){var r=e.getRadius();e.innerRadius>0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),r=this.geometry.getYScale();return Object(s["map"])(n,function(t){if(t&&r){var e=r.scale(Object(s["get"])(t.data,r.field));return Object(a["a"])(Object(a["a"])({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=Math.abs(t.x-r.x)<1?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,o=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var a=t.offset*i,s=this.getPointAngle(r),c=t.labelEmit,l=this.getCirclePoint(s,a,r,c);return 0===l.r?l.content="":(l.content=o,l.angle=s,l.color=e.color),l.rotate=t.autoRotate?this.getLabelRotate(s,a,c):t.rotate,l.start={x:r.x,y:r.y},l},e.prototype.getArcPoint=function(t,e){return void 0===e&&(e=0),Object(s["isArray"])(t.x)||Object(s["isArray"])(t.y)?{x:Object(s["isArray"])(t.x)?t.x[e]:t.x,y:Object(s["isArray"])(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return Bt(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,r){var i=this.getCoordinate(),o=i.getCenter(),s=It(i,n);if(0===s)return Object(a["a"])(Object(a["a"])({},o),{r:s});var c=t;if(i.isTransposed&&s>e&&!r){var l=Math.asin(e/(2*s));c=t+2*l}else s+=e;return{x:o.x+s*Math.cos(c),y:o.y+s*Math.sin(c),r:s}},e.prototype.getLabelRotate=function(t,e,n){var r=t+Io;return n&&(r-=Io),r&&(r>Io?r-=Math.PI:r<-Io&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return Object(s["each"])(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r),r},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(Jr),Bo=Do,Ro=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return Object(a["b"])(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return Object(s["deepMix"])({},r,Object(s["get"])(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&(r=t,r>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate(),r=n.getCenter();return e=t.angle<=Math.PI/2&&t.x>=r.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:Object(s["isArray"])(t.x)?t.x[0]:t.x,y:t.y[0]},i={x:Object(s["isArray"])(t.x)?t.x[1]:t.x,y:t.y[1]},o=Bt(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=o;else{var a=Bt(n,i);o>=a&&(a+=2*Math.PI),e=o+(a-o)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),r=n.getCenter(),i=n.getRadius()+e;return Object(a["a"])(Object(a["a"])({},Ot(r.x,r.y,i,t)),{angle:t,r:i})},e}(Bo),No=Ro,zo=4;function Yo(t,e,n,r,i,o){var a,c=!0,l=r.start,u=r.end,h=Math.min(l.y,u.y),f=Math.abs(l.y-u.y),p=0,d=Number.MIN_VALUE,g=e.map(function(t){return t.y>p&&(p=t.y),t.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 Go(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}),Yo(e,t,l,f,c,n)})}Object(s["each"])(t,function(t){if(t&&t.labelLine){var e=t.offset,n=t.angle,r=Ot(c.x,c.y,a,n),i=Ot(c.x,c.y,a+e/2,n),o=t.x+Object(s["get"])(t,"offsetX",0),l=t.y+Object(s["get"])(t,"offsetY",0),u={x:o-Math.cos(n)*zo,y:l-Math.sin(n)*zo};Object(s["isObject"])(t.labelLine)||(t.labelLine={}),t.labelLine.path=["M "+r.x,r.y+" Q"+i.x,i.y+" "+u.x,u.y].join(",")}})}}function Vo(t,e,n){var r=t.filter(function(t){return!t.invisible});r.sort(function(t,e){return t.y-e.y});var i,o=!0,a=n.minY,s=n.maxY,c=Math.abs(a-s),l=0,u=Number.MIN_VALUE,h=r.map(function(t){return t.y>l&&(l=t.y),t.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 Wo=4;function Ho(t,e){var n=e.getCenter(),r=e.getRadius();if(t&&t.labelLine){var i=t.angle,o=t.offset,a=Ot(n.x,n.y,r,i),c=t.x+Object(s["get"])(t,"offsetX",0)*(Math.cos(i)>0?1:-1),l=t.y+Object(s["get"])(t,"offsetY",0)*(Math.sin(i)>0?1:-1),u={x:c-Math.cos(i)*Wo,y:l-Math.sin(i)*Wo},h=t.labelLine.smooth,f=[],p=u.x-n.x,d=u.y-n.y,g=Math.atan(d/p);if(p<0&&(g+=Math.PI),!1===h){Object(s["isObject"])(t.labelLine)||(t.labelLine={});var y=0;(i<0&&i>-Math.PI/2||i>1.5*Math.PI)&&u.y>a.y&&(y=1),i>=0&&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=Ot(n.x,n.y,r+v,i),b=Ot(n.x,n.y,r+o/2,g),x=0;f.push("M "+a.x+" "+a.y),f.push("L "+m.x+" "+m.y),f.push("A "+n.x+" "+n.y+" 0 "+x+" "+y+" "+b.x+" "+b.y),f.push("L "+u.x+" "+u.y)}else{m=Ot(n.x,n.y,r+(o/2>4?4:Math.max(o/2-1,0)),i);var O=a.x<n.x?1:-1;f.push("M "+u.x+" "+u.y);var j=(a.y-n.y)/(a.x-n.x),w=(u.y-n.y)/(u.x-n.x);Math.abs(j-w)>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 Xo(t,e,n,r){var i=Object(s["filter"])(t,function(t){return!Object(s["isNil"])(t)}),o=e[0]&&e[0].get("coordinate");if(o){for(var a=o.getCenter(),c=o.getRadius(),l={},u=0,h=e;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,j={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)})),Vo(t,p,j)}),Object(s["each"])(v,function(t,e){Object(s["each"])(t,function(t){var n=e===y,r=l[t.id],i=r.getChildByIndex(0);if(i){var s=c+d,u=t.y-a.y,h=Math.pow(s,2),f=Math.pow(u,2),p=h-f>0?h-f:0,g=Math.sqrt(p),v=Math.abs(Math.cos(t.angle)*s);t.x=n?a.x+Math.max(g,v):a.x-Math.max(g,v)}i&&(i.attr("y",t.y),i.attr("x",t.x)),Ho(t,o)})})}}}var Uo=4,qo=4,Zo=4;function Ko(t,e,n){var r=e.getCenter(),i=e.getRadius(),o={x:t.x-(n?Zo:-Zo),y:t.y},a=Ot(r.x,r.y,i+Uo,t.angle),c={x:o.x,y:o.y},l={x:a.x,y:a.y},u=Ot(r.x,r.y,i,t.angle),h="";if(o.y!==a.y){var f=n?4:-4;c.y=o.y,t.angle<0&&t.angle>=-Math.PI/2&&(c.x=Math.max(a.x,o.x-f),o.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 Qo(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),Uo);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)?qo:t.offsetX,i=Ot(o.x,o.y,a+Uo,t.angle),l=p+r;t.x=o.x+(n?1:-1)*(a+l),t.y=i.y}});var d=i.start,g=i.end,y="left",v="right",m=Object(s["groupBy"])(t,function(t){return t.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)})),Vo(t,f,x)});var O=x.minY,j=x.maxY;Object(s["each"])(m,function(t,e){var n=e===v;Object(s["each"])(t,function(t){var e=Object(s["get"])(c,t&&t.id);if(e)if(t.y<O||t.y>j)e.set("visible",!1);else{var r=e.getChildByIndex(0),o=r.getCanvasBBox(),a={x:n?o.x:o.maxX,y:o.y+o.height/2};zr(r,t.x-a.x,t.y-a.y),t.labelLine&&Ko(t,i,n)}})})}}function $o(t,e,n,r){Object(s["each"])(e,function(t){var e=r.minX,n=r.minY,i=r.maxX,o=r.maxY,a=t.getCanvasBBox(),s=a.minX,c=a.minY,l=a.maxX,u=a.maxY,h=a.x,f=a.y,p=a.width,d=a.height,g=h,y=f;(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||zr(t,g-h,y-f)})}function Jo(t,e,n,r){Object(s["each"])(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minX<i.minX||r.minY<i.minY||r.maxX>i.maxX||r.maxY>i.maxY)&&t.remove(!0)})}var ta=100,ea=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=void 0===e?1:e,r=t.yGap,i=void 0===r?8:r;this.xGap=n,this.yGap=i}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),o=Math.round(t.minY),a=Math.round(t.maxY),s=r;s<=i;s+=1)if(n[s]){if(s===r||s===i){for(var c=o;c<=a;c++)if(n[s][c]){e=!1;break}}else if(n[s][o]||n[s][a]){e=!1;break}}else n[s]={};return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),o=Math.round(t.maxY),a=n;a<=r;a+=1)e[a]||(e[a]={});for(a=n;a<=r;a+=this.xGap){for(var s=i;s<=o;s+=this.yGap)e[a][s]=!0;e[a][o]=!0}if(1!==this.yGap)for(a=i;a<=o;a+=1)e[n][a]=!0,e[r][a]=!0;if(1!==this.xGap)for(a=n;a<=r;a+=1)e[a][i]=!0,e[a][o]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();function na(t,e,n){void 0===n&&(n=ta);var r,i=-1,o=t.attr(),a=o.x,s=o.y,c=t.getCanvasBBox(),l=Math.sqrt(c.width*c.width+c.height*c.height),u=-i,h=0,f=0,p=function(t){var e=.1*t;return[e*Math.cos(e),e*Math.sin(e)]};if(e.hasGap(c))return e.fillGap(c),!0;var d=!1,g=0,y={};while(Math.min(Math.abs(h),Math.abs(f))<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 ra(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 ia(t,e,n,r){var i=new ea;Object(s["each"])(e,function(t){var e=t.find(function(t){return"text"===t.get("type")});na(e,i)||t.remove(!0)}),i.destroy()}function oa(t,e,n,r){var i=new ea;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=ra(e,r,o,s);if(i.hasGap(c)){i.fillGap(c),a=!0;break}}a||t.remove(!0)}),i.destroy()}var aa=tt["c"].dot;function sa(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 ca(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function la(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[ca(e[0],n,e[0]),ca(e[1],n,e[0]),ca(e[2],n,e[0]),ca(e[3],n,e[0])]:e}function ua(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(aa([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function ha(t,e){return t.max>e.min&&t.min<e.max}function fa(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 pa(t,e){if(!t.rotation&&!e.rotation)return fa(t,e);for(var n=la(t),r=la(e),i=Object(a["d"])(sa(n),sa(r)),o=0;o<i.length;o++){var s=i[o],c=ua(n,s),l=ua(r,s);if(!ha(c,l))return!1}return!0}function da(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=Hr(o,t[i],Object(s["get"])(t[i],"background.padding")),u=Hr(c,t[a],Object(s["get"])(t[a],"background.padding"));pa(l,u)&&e[a].set("visible",!1)}}}}var ga,ya={"#5B8FF9":!0},va=function(t){var e=D["a"].toRGB(t).toUpperCase();if(ya[e])return ya[e];var n=D["a"].rgb2arr(e),r=n[0],i=n[1],o=n[2],a=(299*r+587*i+114*o)/1e3<128;return a};function ma(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=Pt.fromObject(t.getBBox()),l=Pt.fromObject(o.getCanvasBBox()),u=!c.contains(l),h=t.attr("fill"),f=va(h);u?o.attr(i.overflowLabels.style):f?a&&o.attr("fill",a):s&&o.attr("fill",s)})}}function ba(t,e,n){var r=t.coordinate,i=Wr(e),o=Pt.fromObject(i.getCanvasBBox()),a=Pt.fromObject(n.getBBox());return r.isTransposed?a.height>=o.height:a.width>=o.width}function xa(t,e,n){var r=!!t.getAdjust("stack");return r||e.every(function(e,r){var i=n[r];return ba(t,e,i)})}function Oa(t,e,n){var r=t.coordinate,i=Pt.fromObject(n.getBBox()),o=Wr(e);r.isTransposed?o.attr({x:i.minX+i.width/2,textAlign:"center"}):o.attr({y:i.minY+i.height/2,textBaseline:"middle"})}function ja(t,e,n){var r;if(0!==n.length){var i=null===(r=n[0])||void 0===r?void 0:r.get("element"),o=null===i||void 0===i?void 0:i.geometry;if(o&&"interval"===o.type){var a=xa(o,e,n);a&&n.forEach(function(t,n){var r=e[n];Oa(o,r,t)})}}}function wa(t){var e=500,n=[],r=Math.max(Math.floor(t.length/e),1);return Object(s["each"])(t,function(t,e){e%r===0?n.push(t):t.set("visible",!1)}),n}function ka(t,e,n){var r;if(0!==n.length){var i=null===(r=n[0])||void 0===r?void 0:r.get("element"),o=null===i||void 0===i?void 0:i.geometry;if(o&&"interval"===o.type){var a,c=wa(e),l=o.getXYFields()[0],u=[],h=[],f=Object(s["groupBy"])(c,function(t){return t.get("data")[l]}),p=Object(s["uniq"])(Object(s["map"])(c,function(t){return t.get("data")[l]}));c.forEach(function(t){t.set("visible",!0)});var d=function(t){t&&(t.length&&h.push(t.pop()),h.push.apply(h,t))};Object(s["size"])(p)>0&&(a=p.shift(),d(f[a])),Object(s["size"])(p)>0&&(a=p.pop(),d(f[a])),Object(s["each"])(p.reverse(),function(t){d(f[t])});while(h.length>0){var g=h.shift();g.get("visible")&&(Ur(g,u)?g.set("visible",!1):u.push(g))}}}}function Sa(t,e){var n=t.getXYFields()[1],r=[],i=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]});return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}function Ca(t,e,n){return t.some(function(t){return n(t,e)})}function Ma(t,e,n){void 0===n&&(n=0);var r=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),i=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return r*i}function Aa(t,e){return Ca(t,e,function(t,e){var n=Wr(t),r=Wr(e);return Ma(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Ta(t,e,n,r,i){var o,a;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null===c||void 0===c?void 0:c.geometry;if(l&&"point"===l.type){var u=l.getXYFields(),h=u[0],f=u[1],p=Object(s["groupBy"])(e,function(t){return t.get("data")[h]}),d=[],g=i&&i.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;Object(s["map"])(Object(s["keys"])(p).reverse(),function(t){var e=Sa(l,p[t]);while(e.length){var n=e.shift(),r=Wr(n);if(Ca(d,n,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[f]===e.get("data")[f]}))r.set("visible",!1);else{var i=Aa(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=Aa(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function Ea(t,e){var n=t.getXYFields()[1],r=[],i=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]});return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}function Pa(t,e,n){return t.some(function(t){return n(t,e)})}function _a(t,e,n){void 0===n&&(n=0);var r=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),i=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return r*i}function La(t,e){return Pa(t,e,function(t,e){var n=Wr(t),r=Wr(e);return _a(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Fa(t,e,n,r,i){var o,a;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null===c||void 0===c?void 0:c.geometry;if(l&&!(["path","line","area"].indexOf(l.type)<0)){var u=l.getXYFields(),h=u[0],f=u[1],p=Object(s["groupBy"])(e,function(t){return t.get("data")[h]}),d=[],g=i&&i.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;Object(s["map"])(Object(s["keys"])(p).reverse(),function(t){var e=Ea(l,p[t]);while(e.length){var n=e.shift(),r=Wr(n);if(Pa(d,n,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[f]===e.get("data")[f]}))r.set("visible",!1);else{var i=La(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=La(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function Ia(){return ga||(ga=document.createElement("canvas").getContext("2d")),ga}var Da=Object(s["memoize"])(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,o=e.fontStyle,a=e.fontVariant,c=Ia();return c.font=[o,a,i,n+"px",r].join(" "),c.measureText(Object(s["isString"])(t)?t:"").width},function(t,e){return void 0===e&&(e={}),Object(a["d"])([t],Object(s["values"])(e)).join("")}),Ba=function(t,e,n){var r,i=16,o=Da("...",n);r=Object(s["isString"])(t)?t:Object(s["toString"])(t);var a,c,l=e,u=[];if(Da(t,n)<=e)return t;while(1){if(a=r.substr(0,i),c=Da(a,n),c+o>l&&c>l)break;if(u.push(a),l-=c,r=r.substr(i),!r)return u.join("")}while(1){if(a=r.substr(0,1),c=Da(a,n),c+o>l)break;if(u.push(a),l-=c,r=r.substr(1),!r)return u.join("")}return u.join("")+"..."};function Ra(t,e,n,r,i){if(!(e.length<=0)){var o=(null===i||void 0===i?void 0:i.direction)||["top","right","bottom","left"],a=(null===i||void 0===i?void 0:i.action)||"translate",c=(null===i||void 0===i?void 0:i.margin)||0,l=e[0].get("coordinate");if(l){var u=Nt(l,c),h=u.minX,f=u.minY,p=u.maxX,d=u.maxY;Object(s["each"])(e,function(t){var e=t.getCanvasBBox(),n=e.minX,r=e.minY,i=e.maxX,c=e.maxY,l=e.x,u=e.y,g=e.width,y=e.height,v=l,m=u;if(o.indexOf("left")>=0&&(n<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)zr(t,b,m-u);else if("ellipsis"===a){var x=t.findAll(function(t){return"text"===t.get("type")});x.forEach(function(t){var e=Object(s["pick"])(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),r=Ba(t.attr("text"),n.width-Math.abs(b),e);t.attr("text",r)})}else t.hide()}})}}}function Na(t,e,n){var r={fillOpacity:Object(s["isNil"])(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:Object(s["isNil"])(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:Object(s["isNil"])(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(r,e)}function za(t,e,n){var r={fillOpacity:0,strokeOpacity:0,opacity:0},i=e.easing,o=e.duration,a=e.delay;t.animate(r,o,i,function(){t.remove(!0)},a)}function Ya(t,e,n){var r,i=e[0],o=e[1];return t.applyToMatrix([i,o,1]),"x"===n?(t.setMatrix(tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,1],["t",i,o]])),r=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",100,1],["t",i,o]])):"y"===n?(t.setMatrix(tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",1,.01],["t",i,o]])),r=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",1,100],["t",i,o]])):"xy"===n&&(t.setMatrix(tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]])),r=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",100,100],["t",i,o]])),r}function Ga(t,e,n,r,i){var o,a,s=n.start,c=n.end,l=n.getWidth(),u=n.getHeight();"y"===i?(o=s.x+l/2,a=r.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=Ya(t,[o,a],i);t.animate({matrix:h},e)}function Va(t,e,n){var r=n.coordinate,i=n.minYPoint;Ga(t,e,r,i,"x")}function Wa(t,e,n){var r=n.coordinate,i=n.minYPoint;Ga(t,e,r,i,"y")}function Ha(t,e,n){var r=n.coordinate,i=n.minYPoint;Ga(t,e,r,i,"xy")}function Xa(t,e,n){var r=t.getTotalLength();t.attr("lineDash",[r]),t.animate(function(t){return{lineDashOffset:(1-t)*r}},e)}function Ua(t,e,n){var r=n.toAttrs,i=r.x,o=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:o},e)}function qa(t,e,n){var r=t.getBBox(),i=t.get("origin").mappingData,o=i.points,a=o[0].y-o[1].y>0?r.maxX:r.minX,s=(r.minY+r.maxY)/2;t.applyToMatrix([a,s,1]);var c=tt["a"].transform(t.getMatrix(),[["t",-a,-s],["s",.01,1],["t",a,s]]);t.setMatrix(c),t.animate({matrix:tt["a"].transform(t.getMatrix(),[["t",-a,-s],["s",100,1],["t",a,s]])},e)}function Za(t,e,n){var r=t.getBBox(),i=t.get("origin").mappingData,o=(r.minX+r.maxX)/2,a=i.points,s=a[0].y-a[1].y<=0?r.maxY:r.minY;t.applyToMatrix([o,s,1]);var c=tt["a"].transform(t.getMatrix(),[["t",-o,-s],["s",1,.01],["t",o,s]]);t.setMatrix(c),t.animate({matrix:tt["a"].transform(t.getMatrix(),[["t",-o,-s],["s",1,100],["t",o,s]])},e)}function Ka(t,e){var n,r=Object(yi["getArcParams"])(t,e),i=r.startAngle,o=r.endAngle;return!Object(s["isNumberEqual"])(i,.5*-Math.PI)&&i<.5*-Math.PI&&(i+=2*Math.PI),!Object(s["isNumberEqual"])(o,.5*-Math.PI)&&o<.5*-Math.PI&&(o+=2*Math.PI),0===e[5]&&(n=[o,i],i=n[0],o=n[1]),Object(s["isNumberEqual"])(i,1.5*Math.PI)&&(i=-.5*Math.PI),Object(s["isNumberEqual"])(o,-.5*Math.PI)&&(o=1.5*Math.PI),{startAngle:i,endAngle:o}}function Qa(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:"a"!==t[0]&&"A"!==t[0]||(e=[t[t.length-2],t[t.length-1]]),e}function $a(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]});if(0===i.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=i[0],a=i.length>1?i[1]:i[0],c=t.indexOf(o),l=t.indexOf(a),u=Qa(t[c-1]),h=Qa(t[l-1]),f=Ka(u,o),p=f.startAngle,d=f.endAngle,g=Ka(h,a),y=g.startAngle,v=g.endAngle;Object(s["isNumberEqual"])(p,y)&&Object(s["isNumberEqual"])(d,v)?(n=p,r=d):(n=Math.min(p,y),r=Math.max(d,v));var m=o[1],b=i[i.length-1][1];return m<b?(e=[b,m],m=e[0],b=e[1]):m===b&&(b=0),{startAngle:n,endAngle:r,radius:m,innerRadius:b}}function Ja(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=$a(o),u=l.startAngle,h=l.endAngle,f=l.radius,p=l.innerRadius,d=$a(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["a"])(Object(a["a"])({},r),{path:Object(s["isEqual"])(c,["M","A","A","Z"])?wt(v.x,v.y,f,e,n):jt(v.x,v.y,f,e,n,p)})},Object(a["a"])(Object(a["a"])({},e),{callback:function(){t.attr("path",o)}}))}}function ts(t,e,n){var r=Rt(n.coordinate,20),i=r.type,o=r.startState,s=r.endState,c=t.setClip({type:i,attrs:o});c.animate(s,Object(a["a"])(Object(a["a"])({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),c.remove(!0)}}))}function es(t,e,n){if(t.isGroup())Object(s["each"])(t.getChildren(),function(t){es(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=tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]]);t.setMatrix(c),t.animate({matrix:tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",100,100],["t",i,o]])},e)}else t.animate({matrix:tt["a"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]])},Object(a["a"])(Object(a["a"])({},e),{callback:function(){t.remove(!0)}}))}}function ns(t,e,n){es(t,e,"zoomIn")}function rs(t,e,n){es(t,e,"zoomOut")}function is(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 os(t,e,n){return{x:t.x+e*Math.cos(n),y:t.y+e*Math.sin(n)}}var as=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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=os(r,n-a,o),c=5*Math.PI/4,l=1*Math.PI/4;return{start:os(s,a,c),end:os(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},is(i.TOP),t.cfg.title);r.annotation().text(a)})},e}(re),ss=as,cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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["a"])(Object(a["a"])({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.columnIndex?Object(a["a"])(Object(a["a"])({},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},is(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}(re),ls=cs,us=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getDefaultCfg=function(){return Object(s["deepMix"])({},t.prototype.getDefaultCfg.call(this),{type:"matrix",showTitle:!1,columnTitle:Object(a["a"])({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:Object(a["a"])({},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["a"])(Object(a["a"])({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.columnIndex?Object(a["a"])(Object(a["a"])({},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},is(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},is(i.RIGHT),t.cfg.rowTitle);u.annotation().text(f)}})},e}(re),hs=us,fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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["a"])(Object(a["a"])({},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},is(i.TOP),t.cfg.title);a.annotation().text(l)}else{l=Object(s["deepMix"])({position:["100%","50%"],content:c?c(o):o},is(i.RIGHT),t.cfg.title);a.annotation().text(l)}})},e}(re),ps=fs,ds=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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["a"])({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:Object(a["a"])({},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},is(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},is(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["a"])(Object(a["a"])({},n),{title:null,label:null}):r.columnIndex!==Math.floor((r.columnValuesLength-1)/2)?Object(a["a"])(Object(a["a"])({},n),{title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.columnIndex?Object(a["a"])(Object(a["a"])({},n),{title:null,label:null}):r.rowIndex!==Math.floor((r.rowValuesLength-1)/2)?Object(a["a"])(Object(a["a"])({},n),{title:null}):n},e}(re),gs=ds,ys=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["b"])(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},is(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["a"])(Object(a["a"])({},n),{title:null,label:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return 0!==r.originColIndex&&0!==r.columnIndex?Object(a["a"])(Object(a["a"])({},n),{title:null,label:null}):n},e}(re),vs=ys;function ms(t){var e=Object(a["d"])(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 bs(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 xs(t,e){var n;switch(t){case"start":return 0;case"end":return 1;case"median":n=e.isCategory?ms(e.values.map(function(t,e){return e})):ms(e.values);break;case"mean":n=e.isCategory?(e.values.length-1)/2:bs(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 Os=["regionFilter","shape"],js=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["b"])(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"])(Os,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"])(Os,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=ft["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["a"])({type:"arc"},t)),this},e.prototype.image=function(t){return this.annotation(Object(a["a"])({type:"image"},t)),this},e.prototype.line=function(t){return this.annotation(Object(a["a"])({type:"line"},t)),this},e.prototype.region=function(t){return this.annotation(Object(a["a"])({type:"region"},t)),this},e.prototype.text=function(t){return this.annotation(Object(a["a"])({type:"text"},t)),this},e.prototype.dataMarker=function(t){return this.annotation(Object(a["a"])({type:"dataMarker"},t)),this},e.prototype.dataRegion=function(t){this.annotation(Object(a["a"])({type:"dataRegion"},t))},e.prototype.regionFilter=function(t){this.annotation(Object(a["a"])({type:"regionFilter"},t))},e.prototype.shape=function(t){this.annotation(Object(a["a"])({type:"shape"},t))},e.prototype.html=function(t){this.annotation(Object(a["a"])({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=xs(a,e),o=xs(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=xs(f,e)),n[h]&&(o=xs(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=Bt(i,f),g=Bt(i,p);d>g&&(g=2*Math.PI+g),c={center:i.getCenter(),radius:It(i,f),startAngle:d,endAngle:g}}else if("image"===t){var y=e;u=y.start,h=y.end;c={start:this.parsePosition(u),end:this.parsePosition(h),src:e.src}}else if("line"===t){var v=e;u=v.start,h=v.end;c={start:this.parsePosition(u),end:this.parsePosition(h),text:Object(s["get"])(e,"text",null)}}else if("region"===t){var m=e;u=m.start,h=m.end;c={start:this.parsePosition(u),end:this.parsePosition(h)}}else if("text"===t){var b=this.view.getData(),x=e,O=x.position,j=x.content,w=Object(a["c"])(x,["position","content"]),k=j;Object(s["isFunction"])(j)&&(k=j(b)),c=Object(a["a"])(Object(a["a"])(Object(a["a"])({},this.parsePosition(O)),w),{content:k})}else if("dataMarker"===t){var S=e,C=(O=S.position,S.point),M=S.line,A=S.text,T=S.autoAdjust,E=S.direction;c=Object(a["a"])(Object(a["a"])({},this.parsePosition(O)),{coordinateBBox:this.getCoordinateBBox(),point:C,line:M,text:A,autoAdjust:T,direction:E})}else if("dataRegion"===t){var P=e,_=(u=P.start,h=P.end,P.region),L=(A=P.text,P.lineLength);c={points:this.getRegionPoints(u,h),region:_,text:A,lineLength:L}}else if("regionFilter"===t){var F=e,I=(u=F.start,h=F.end,F.apply),D=F.color,B=this.view.geometries,R=[],N=function(t){t&&(t.isGroup()?t.getChildren().forEach(function(t){return N(t)}):R.push(t))};Object(s["each"])(B,function(t){I?Object(s["contains"])(I,t.type)&&Object(s["each"])(t.elements,function(t){N(t.shape)}):Object(s["each"])(t.elements,function(t){N(t.shape)})}),c={color:D,shapes:R,start:this.parsePosition(u),end:this.parsePosition(h)}}else if("shape"===t){var z=e,Y=z.render,G=Object(a["c"])(z,["render"]),V=function(t){if(Object(s["isFunction"])(e.render))return Y(t,r.view,{parsePosition:r.parsePosition.bind(r)})};c=Object(a["a"])(Object(a["a"])({},G),{render:V})}else if("html"===t){var W=e,H=W.html,X=(O=W.position,G=Object(a["c"])(W,["html","position"]),function(t){return Object(s["isFunction"])(H)?H(t,r.view):H});c=Object(a["a"])(Object(a["a"])(Object(a["a"])({},G),this.parsePosition(O)),{parent:o.get("el").parentNode,html:X})}var U=Object(s["deepMix"])({},n,Object(a["a"])(Object(a["a"])({},c),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(U.container=this.getComponentContainer(U)),U.animate=this.view.getOptions().animate&&U.animate&&Object(s["get"])(e,"animate",U.animate),U.animateOption=Object(s["deepMix"])({},hr,U.animateOption,e.animateOption),U},e.prototype.isTop=function(t){return Object(s["get"])(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return Object(s["get"])(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),i=this.getAnnotationCfg(n,t,r);Tt(i,["container"]),e.component.update(i),Object(s["includes"])(Os,t.type)&&e.component.render()}else e=this.createAnnotation(t),e&&(e.component.init(),Object(s["includes"])(Os,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,r){Object(s["find"])(e.option,function(t){return r===e.getCacheKey(t)})||(t.component.destroy(),n.delete(r))}),n},e.prototype.getCacheKey=function(t){return t},e}(ir),ws=js;function ks(t,e){return Object(s["get"])(t,["components","axis",e,"grid"],{})}function Ss(t,e,n,r){var i=[],o=e.getTicks();return t.isPolar&&o.push({value:1,text:"",tickValue:""}),o.reduce(function(e,o,a){var s=o.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(a){var c=e.value,l=(c+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return o},o[0]),i}function Cs(t,e,n,r,i){var o=e.values.length,a=[],c=n.getTicks();return c.reduce(function(e,n){var c=e?e.value:n.value,l=n.value,u=(c+l)/2;return"x"===i?a.push({points:[t.convert({x:r?l:u,y:0}),t.convert({x:r?l:u,y:1})]}):a.push({points:Object(s["map"])(Array(o+1),function(e,n){return t.convert({x:n/o,y:r?l:u})})}),n},c[0]),a}function Ms(t,e){var n=Object(s["get"])(e,"grid");if(null===n)return!1;var r=Object(s["get"])(t,"grid");return!(void 0===n&&null===r)}var As=["container"],Ts=Object(a["a"])(Object(a["a"])({},hr),{appear:null}),Es=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(r.BG).addGroup(),n.gridForeContainer=n.view.getLayer(r.FORE).addGroup(),n.axisContainer=n.view.getLayer(r.BG).addGroup(),n.axisForeContainer=n.view.getLayer(r.FORE).addGroup(),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,e=this.view.getCoordinate();Object(s["each"])(this.getComponents(),function(n){var r,i=n.component,a=n.direction,s=n.type,c=n.extra,l=c.dim,u=c.scale,h=c.alignTick;if(s===o.AXIS)e.isPolar?"x"===l?r=e.isTransposed?Zt(e,a):Jt(e):"y"===l&&(r=e.isTransposed?Jt(e):Zt(e,a)):r=Zt(e,a);else if(s===o.GRID)if(e.isPolar){var f=void 0;f=e.isTransposed?"x"===l?Cs(e,t.view.getYScales()[0],u,h,l):Ss(e,u,l,h):"x"===l?Ss(e,u,l,h):Cs(e,t.view.getXScale(),u,h,l),r={items:f,center:t.view.getCoordinate().getCenter()}}else r={items:Ss(e,u,l,h)};i.update(r)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var e=new Map;this.cache.forEach(function(n,r){t.has(r)?e.set(r,n):n.component.destroy()}),this.cache=e},e.prototype.clear=function(){t.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(e){t.push(e)}),t},e.prototype.updateXAxes=function(t){var e=this.view.getXScale();if(e&&!e.isIdentity){var n=te(this.option,e.field);if(!1!==n){var o=ee(n,i.BOTTOM),a=r.BG,c="x",l=this.view.getCoordinate(),u=this.getId("axis",e.field),h=this.getId("grid",e.field);if(l.isRect){var f=this.cache.get(u);if(f){var p=this.getLineAxisCfg(e,n,o);Tt(p,As),f.component.update(p),t.set(u,f)}else f=this.createLineAxis(e,n,a,o,c),this.cache.set(u,f),t.set(u,f);var d=this.cache.get(h);if(d){p=this.getLineGridCfg(e,n,o,c);Tt(p,As),d.component.update(p),t.set(h,d)}else d=this.createLineGrid(e,n,a,o,c),d&&(this.cache.set(h,d),t.set(h,d))}else if(l.isPolar){f=this.cache.get(u);if(f){p=l.isTransposed?this.getLineAxisCfg(e,n,i.RADIUS):this.getCircleAxisCfg(e,n,o);Tt(p,As),f.component.update(p),t.set(u,f)}else{if(l.isTransposed){if(Object(s["isUndefined"])(n))return;f=this.createLineAxis(e,n,a,i.RADIUS,c)}else f=this.createCircleAxis(e,n,a,o,c);this.cache.set(u,f),t.set(u,f)}d=this.cache.get(h);if(d){p=l.isTransposed?this.getCircleGridCfg(e,n,i.RADIUS,c):this.getLineGridCfg(e,n,i.CIRCLE,c);Tt(p,As),d.component.update(p),t.set(h,d)}else{if(l.isTransposed){if(Object(s["isUndefined"])(n))return;d=this.createCircleGrid(e,n,a,i.RADIUS,c)}else d=this.createLineGrid(e,n,a,i.CIRCLE,c);d&&(this.cache.set(h,d),t.set(h,d))}}}}},e.prototype.updateYAxes=function(t){var e=this,n=this.view.getYScales();Object(s["each"])(n,function(n,o){if(n&&!n.isIdentity){var a=n.field,c=te(e.option,a);if(!1!==c){var l=r.BG,u="y",h=e.getId("axis",a),f=e.getId("grid",a),p=e.view.getCoordinate();if(p.isRect){var d=ee(c,0===o?i.LEFT:i.RIGHT),g=e.cache.get(h);if(g){var y=e.getLineAxisCfg(n,c,d);Tt(y,As),g.component.update(y),t.set(h,g)}else g=e.createLineAxis(n,c,l,d,u),e.cache.set(h,g),t.set(h,g);var v=e.cache.get(f);if(v){y=e.getLineGridCfg(n,c,d,u);Tt(y,As),v.component.update(y),t.set(f,v)}else v=e.createLineGrid(n,c,l,d,u),v&&(e.cache.set(f,v),t.set(f,v))}else if(p.isPolar){g=e.cache.get(h);if(g){y=p.isTransposed?e.getCircleAxisCfg(n,c,i.CIRCLE):e.getLineAxisCfg(n,c,i.RADIUS);Tt(y,As),g.component.update(y),t.set(h,g)}else{if(p.isTransposed){if(Object(s["isUndefined"])(c))return;g=e.createCircleAxis(n,c,l,i.CIRCLE,u)}else g=e.createLineAxis(n,c,l,i.RADIUS,u);e.cache.set(h,g),t.set(h,g)}v=e.cache.get(f);if(v){y=p.isTransposed?e.getLineGridCfg(n,c,i.CIRCLE,u):e.getCircleGridCfg(n,c,i.RADIUS,u);Tt(y,As),v.component.update(y),t.set(f,v)}else{if(p.isTransposed){if(Object(s["isUndefined"])(c))return;v=e.createLineGrid(n,c,l,i.CIRCLE,u)}else v=e.createCircleGrid(n,c,l,i.RADIUS,u);v&&(e.cache.set(f,v),t.set(f,v))}}}}})},e.prototype.createLineAxis=function(t,e,n,r,a){var s={component:new pt(this.getLineAxisCfg(t,e,r)),layer:n,direction:r===i.RADIUS?i.NONE:r,type:o.AXIS,extra:{dim:a,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,e,n,r,a){var c=this.getLineGridCfg(t,e,r,a);if(c){var l={component:new gt(c),layer:n,direction:i.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s["get"])(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,e,n,r,i){var a={component:new dt(this.getCircleAxisCfg(t,e,r)),layer:n,direction:r,type:o.AXIS,extra:{dim:i,scale:t}};return a.component.set("field",t.field),a.component.init(),a},e.prototype.createCircleGrid=function(t,e,n,r,a){var c=this.getCircleGridCfg(t,e,r,a);if(c){var l={component:new yt(c),layer:n,direction:i.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s["get"])(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,e,n){var r=Object(s["get"])(e,["top"])?this.axisForeContainer:this.axisContainer,i=this.view.getCoordinate(),o=Zt(i,n),c=ne(t,e),l=$t(this.view.getTheme(),n),u=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:c}}},{title:Object(s["get"])($t(this.view.getTheme(),"common"),"title")},e):e,h=Object(s["deepMix"])(Object(a["a"])(Object(a["a"])({container:r},o),{ticks:t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}}),verticalFactor:i.isPolar?-1*Qt(o,i.getCenter()):Qt(o,i.getCenter()),theme:l}),l,u),f=this.getAnimateCfg(h),p=f.animate,d=f.animateOption;h.animateOption=d,h.animate=p;var g=Kt(o),y=Object(s["get"])(h,"verticalLimitLength",g?1/3:.5);if(y<=1){var v=this.view.getCanvas().get("width"),m=this.view.getCanvas().get("height");h.verticalLimitLength=y*(g?v:m)}return h},e.prototype.getLineGridCfg=function(t,e,n,r){if(Ms($t(this.view.getTheme(),n),e)){var i=ks(this.view.getTheme(),n),o=Object(s["deepMix"])({container:Object(s["get"])(e,["top"])?this.gridForeContainer:this.gridContainer},i,Object(s["get"])(e,"grid"),this.getAnimateCfg(e));return o.items=Ss(this.view.getCoordinate(),t,r,Object(s["get"])(o,"alignTick",!0)),o}},e.prototype.getCircleAxisCfg=function(t,e,n){var r=Object(s["get"])(e,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),c=t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}});t.isCategory||Math.abs(o.endAngle-o.startAngle)!==2*Math.PI||c.pop();var l=ne(t,e),u=$t(this.view.getTheme(),i.CIRCLE),h=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:l}}},{title:Object(s["get"])($t(this.view.getTheme(),"common"),"title")},e):e,f=Object(s["deepMix"])(Object(a["a"])(Object(a["a"])({container:r},Jt(this.view.getCoordinate())),{ticks:c,verticalFactor:1,theme:u}),u,h),p=this.getAnimateCfg(f),d=p.animate,g=p.animateOption;return f.animate=d,f.animateOption=g,f},e.prototype.getCircleGridCfg=function(t,e,n,r){if(Ms($t(this.view.getTheme(),n),e)){var o=ks(this.view.getTheme(),i.RADIUS),a=Object(s["deepMix"])({container:Object(s["get"])(e,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,Object(s["get"])(e,"grid"),this.getAnimateCfg(e)),c=Object(s["get"])(a,"alignTick",!0),l="x"===r?this.view.getYScales()[0]:this.view.getXScale();return a.items=Cs(this.view.getCoordinate(),l,t,c,r),a}},e.prototype.getId=function(t,e){var n=this.view.getCoordinate();return t+"-"+e+"-"+n.type},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&Object(s["get"])(t,"animate"),animateOption:t&&t.animateOption?Object(s["deepMix"])({},Ts,t.animateOption):Ts}},e}(ir),Ps=Es;function _s(t,e,n){return n===i.TOP?[t.minX+t.width/2-e.width/2,t.minY]:n===i.BOTTOM?[t.minX+t.width/2-e.width/2,t.maxY-e.height]:n===i.LEFT?[t.minX,t.minY+t.height/2-e.height/2]:n===i.RIGHT?[t.maxX-e.width,t.minY+t.height/2-e.height/2]:n===i.TOP_LEFT||n===i.LEFT_TOP?[t.tl.x,t.tl.y]:n===i.TOP_RIGHT||n===i.RIGHT_TOP?[t.tr.x-e.width,t.tr.y]:n===i.BOTTOM_LEFT||n===i.LEFT_BOTTOM?[t.bl.x,t.bl.y-e.height]:n===i.BOTTOM_RIGHT||n===i.RIGHT_BOTTOM?[t.br.x-e.width,t.br.y-e.height]:[0,0]}function Ls(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e],t)}function Fs(t){return Object(s["get"])(t,"position",i.BOTTOM)}var Is=function(t){function e(e){var n=t.call(this,e)||this;return n.container=n.view.getLayer(r.FORE).addGroup(),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,Object(s["each"])(this.components,function(e){var n=e.component,r=e.direction,i=ai(r),o=t.getCategoryLegendSizeCfg(i),a=n.get("maxWidth"),s=n.get("maxHeight");n.update({maxWidth:Math.min(o.maxWidth,a||0),maxHeight:Math.min(o.maxHeight,s||0)});var c=n.get("padding"),l=n.getLayoutBBox(),u=new Pt(l.x,l.y,l.width,l.height).expand(c),h=_s(t.view.viewBBox,u,r),f=h[0],p=h[1],d=_s(t.layoutBBox,u,r),g=d[0],y=d[1],v=0,m=0;r.startsWith("top")||r.startsWith("bottom")?(v=f,m=y):(v=g,m=p),n.setLocation({x:v+c[3],y:m+c[0]}),t.layoutBBox=t.layoutBBox.cut(u,r)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var e={},n=function(n,r,i){var o=t.getId(i.field),a=t.getComponentById(o);if(a){var c=void 0,l=Ls(t.option,i.field);!1!==l&&(Object(s["get"])(l,"custom")?c=t.getCategoryCfg(n,r,i,l,!0):i.isLinear?c=t.getContinuousCfg(n,r,i,l):i.isCategory&&(c=t.getCategoryCfg(n,r,i,l))),c&&(Tt(c,["container"]),a.direction=Fs(l),a.component.update(c),e[o]=!0)}else{var u=t.createFieldLegend(n,r,i);u&&(u.component.init(),t.components.push(u),e[o]=!0)}};if(Object(s["get"])(this.option,"custom")){var i="global-custom",a=this.getComponentById(i);if(a){var c=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);Tt(c,["container"]),a.component.update(c),e[i]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=r.FORE,h=Fs(this.option);this.components.push({id:i,component:l,layer:u,direction:h,type:o.LEGEND,extra:void 0}),e[i]=!0}}}else this.loopLegends(n);var f=[];Object(s["each"])(this.getComponents(),function(t){e[t.id]?f.push(t):t.component.destroy()}),this.components=f},e.prototype.clear=function(){t.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var e=this,n=t.geometries;return Object(s["each"])(t.views,function(t){n=n.concat(e.getGeometries(t))}),n},e.prototype.loopLegends=function(t){var e=this.view.getRootView()===this.view;if(e){var n=this.getGeometries(this.view),r={};Object(s["each"])(n,function(e){var n=e.getGroupAttributes();Object(s["each"])(n,function(n){var i=n.getScale(n.type);i&&"identity"!==i.type&&!r[i.field]&&(t(e,n,i),r[i.field]=!0)})})}},e.prototype.createFieldLegend=function(t,e,n){var i,a=Ls(this.option,n.field),c=r.FORE,l=Fs(a);if(!1!==a&&(Object(s["get"])(a,"custom")?i=this.createCustomLegend(t,e,n,a):n.isLinear?i=this.createContinuousLegend(t,e,n,a):n.isCategory&&(i=this.createCategoryLegend(t,e,n,a))),i)return i.set("field",n.field),{id:this.getId(n.field),component:i,layer:c,direction:l,type:o.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r,!0);return new vt(i)},e.prototype.createContinuousLegend=function(t,e,n,r){var i=this.getContinuousCfg(t,e,n,r);return new mt(i)},e.prototype.createCategoryLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r);return new vt(i)},e.prototype.getContinuousCfg=function(t,e,n,r){var i=n.getTicks(),o=Object(s["find"])(i,function(t){return 0===t.value}),a=Object(s["find"])(i,function(t){return 1===t.value}),c=i.map(function(t){var r=t.value,i=t.tickValue,o=e.mapping(n.invert(r)).join("");return{value:i,attrValue:o,color:o,scaleValue:r}});o||c.push({value:n.min,attrValue:e.mapping(n.invert(0)).join(""),color:e.mapping(n.invert(0)).join(""),scaleValue:0}),a||c.push({value:n.max,attrValue:e.mapping(n.invert(1)).join(""),color:e.mapping(n.invert(1)).join(""),scaleValue:1}),c.sort(function(t,e){return t.value-e.value});var l={min:Object(s["head"])(c).value,max:Object(s["last"])(c).value,colors:[],rail:{type:e.type},track:{}};"size"===e.type&&(l.track={style:{fill:"size"===e.type?this.view.getTheme().defaultColor:void 0}}),"color"===e.type&&(l.colors=c.map(function(t){return t.attrValue}));var u=this.container,h=Fs(r),f=ai(h),p=Object(s["get"])(r,"title");return p&&(p=Object(s["deepMix"])({text:Wt(n)},p)),l.container=u,l.layout=f,l.title=p,l.animateOption=hr,this.mergeLegendCfg(l,r,"continuous")},e.prototype.getCategoryCfg=function(t,e,n,r,o){var a=this.container,c=Object(s["get"])(r,"position",i.BOTTOM),l=Object(s["get"])(this.view.getTheme(),["components","legend",c,"marker"]),u=Object(s["get"])(r,"marker"),h=ai(c),f=o?ci(l,u,r.items):si(this.view,t,e,l,u),p=Object(s["get"])(r,"title");p&&(p=Object(s["deepMix"])({text:n?Wt(n):""},p));var d=this.getCategoryLegendSizeCfg(h);d.container=a,d.layout=h,d.items=f,d.title=p,d.animateOption=hr;var g=this.mergeLegendCfg(d,r,c);g.reversed&&g.items.reverse();var y=Object(s["get"])(g,"maxItemWidth");return y&&y<=1&&(g.maxItemWidth=this.view.viewBBox.width*y),g},e.prototype.mergeLegendCfg=function(t,e,n){var r=n.split("-")[0],i=Object(s["get"])(this.view.getTheme(),["components","legend",r],{});return Object(s["deepMix"])({},i,t,e)},e.prototype.getId=function(t){return this.name+"-"+t},e.prototype.getComponentById=function(t){return Object(s["find"])(this.components,function(e){return e.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t){var e=this.view.viewBBox,n=e.width,r=e.height;return"vertical"===t?{maxWidth:n*v,maxHeight:r}:{maxWidth:n,maxHeight:r*v}},e}(ir),Ds=Is,Bs=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s["noop"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t[0],r=t[1];n.start=e,n.end=r,n.changeViewData(e,r)},n.container=n.view.getLayer(r.FORE).addGroup(),n.onChangeFn=Object(s["throttle"])(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(c.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),e=t.start,n=t.end;Object(s["isNil"])(this.start)&&(this.start=e,this.end=n);var r=this.view.getOptions().data;this.option&&!Object(s["isEmpty"])(r)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var e=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),r=n[0],o=(n[1],n[2],n[3]),s=this.slider.component.getLayoutBBox(),c=new Pt(s.x,s.y,Math.min(s.width,e),s.height).expand(n),l=this.getMinMaxText(this.start,this.end),u=l.minText,h=l.maxText,f=_s(this.view.viewBBox,c,i.BOTTOM),p=(f[0],f[1]),d=_s(this.view.coordinateBBox,c,i.BOTTOM),g=d[0];d[1];this.slider.component.update(Object(a["a"])(Object(a["a"])({},this.getSliderCfg()),{x:g+o,y:p+r,width:this.width,start:this.start,end:this.end,minText:u,maxText:h})),this.view.viewBBox=this.view.viewBBox.cut(c,i.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),e=new ft["Slider"](Object(a["a"])({container:this.container},t));return e.init(),{component:e,layer:r.FORE,direction:i.BOTTOM,type:o.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var e=this.getMinMaxText(this.start,this.end),n=e.minText,r=e.maxText;t=Object(a["a"])(Object(a["a"])({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:r})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(Object(s["isObject"])(this.option)){var e=Object(a["a"])({data:this.getData()},Object(s["get"])(this.option,"trendCfg",{}));t=Object(s["deepMix"])({},t,this.getThemeOptions(),this.option),t=Object(a["a"])(Object(a["a"])({},t),{trendCfg:e})}return t.start=Object(s["clamp"])(Math.min(Object(s["isNil"])(t.start)?0:t.start,Object(s["isNil"])(t.end)?1:t.end),0,1),t.end=Object(s["clamp"])(Math.max(Object(s["isNil"])(t.start)?0:t.start,Object(s["isNil"])(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,e=this.view.getYScales()[0],n=this.view.getGroupScales();if(n.length){var r=n[0],i=r.field,o=r.ticks;return t.reduce(function(t,n){return n[i]===o[0]&&t.push(n[e.field]),t},[])}return t.map(function(t){return t[e.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s["get"])(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),i=!0,o=Object(s["valuesOfKey"])(n,r.field),a=i?o:o.reverse(),c=Object(s["size"])(n);if(!r||!c)return{};var l=Object(s["size"])(a),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1)),f=Object(s["get"])(a,[u]),p=Object(s["get"])(a,[h]),d=this.getSliderCfg().formatter;return d&&(f=d(f,n[u],u),p=d(p,n[h],h)),{minText:f,maxText:p}},e.prototype.changeViewData=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),i=Object(s["size"])(n);if(r&&i){var o=!0,a=Object(s["valuesOfKey"])(n,r.field),c=o?a:a.reverse(),l=Object(s["size"])(c),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1));this.view.filter(r.field,function(t,e){var n=c.indexOf(t);return!(n>-1)||Mt(n,u,h)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(ir),Rs=Bs,Ns=0,zs=8,Ys=32,Gs=20,Vs=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s["noop"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=Object(s["clamp"])(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(r.FORE).addGroup(),n.onChangeFn=Object(s["throttle"])(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(c.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),r=this.scrollbar.component.getLayoutBBox(),o=new Pt(r.x,r.y,Math.min(r.width,e),r.height).expand(n),s=this.getScrollbarComponentCfg(),c=void 0,l=void 0;if(s.isHorizontal){var u=_s(this.view.viewBBox,o,i.BOTTOM),h=(u[0],u[1]),f=_s(this.view.coordinateBBox,o,i.BOTTOM),p=f[0];f[1];c=p,l=h}else{var d=_s(this.view.viewBBox,o,i.RIGHT),g=(d[0],h=d[1],_s(this.view.viewBBox,o,i.RIGHT));p=g[0],g[1];c=p,l=h}c+=n[3],l+=n[0],this.trackLen?this.scrollbar.component.update(Object(a["a"])(Object(a["a"])({},s),{x:c,y:l,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(Object(a["a"])(Object(a["a"])({},s),{x:c,y:l})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?i.BOTTOM:i.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s["get"])(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var e=Object(s["get"])(this.view.getTheme(),["components","scrollbar"]),n=t||{},r=n.thumbHighlightColor,i=Object(a["c"])(n,["thumbHighlightColor"]);return{default:Object(s["deepMix"])({},Object(s["get"])(e,["default","style"],{}),i),hover:Object(s["deepMix"])({},Object(s["get"])(e,["hover","style"],{}),{thumbColor:r})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.view.getOptions().data,this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*Object(s["clamp"])(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],o=this.getValidScrollbarCfg().type,a="vertical"!==o,c=Object(s["valuesOfKey"])(this.data,this.xScaleCfg.field),l=a?c:c.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=l.indexOf(t);return!(e>-1)||Mt(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e="vertical"!==t,n=new ft["Scrollbar"](Object(a["a"])(Object(a["a"])({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:r.FORE,direction:e?i.BOTTOM:i.RIGHT,type:o.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?Object(a["a"])(Object(a["a"])({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):Object(a["a"])({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize,i="vertical"!==n;return Math.floor((i?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.view.getOptions().data,n=Object(s["valuesOfKey"])(e,t.field);return Object(s["size"])(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,r=this.getValidScrollbarCfg(),i=r.type,o=r.padding,c=r.width,l=r.height,u=r.style,h="vertical"!==i,f=o[0],p=o[1],d=o[2],g=o[3],y=h?{x:e.minX+g,y:n.maxY-l-d}:{x:n.maxX-c-p,y:e.minY+f},v=this.getStep(),m=this.getCnt(),b=h?e.width-g-p:e.height-f-d,x=Math.max(b*Object(s["clamp"])(v/m,0,1),Gs);return Object(a["a"])(Object(a["a"])({},this.getThemeOptions()),{x:y.x,y:y.y,size:h?l:c,isHorizontal:h,trackLen:b,thumbLen:x,thumbOffset:0,theme:this.getScrollbarTheme(u)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:Ys,width:zs,height:zs,padding:[0,0,0,0],animate:!0,style:{}};return Object(s["isObject"])(this.option)&&(t=Object(a["a"])(Object(a["a"])({},t),this.option)),Object(s["isObject"])(this.option)&&this.option.padding||(t.padding="horizontal"===t.type?[Ns,0,Ns,0]:[0,Ns,0,Ns]),t},e}(ir),Ws=Vs,Hs={fill:"#CCD6EC",opacity:.3},Xs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.show=function(t){var e=this.context.view,n=this.context.event,r=e.getTooltipItems({x:n.x,y:n.y});if(!Object(s["isEqual"])(r,this.items)&&(this.items=r,r.length)){var i=e.getXScale().field,o=r[0].data[i],c=[],l=e.geometries;if(Object(s["each"])(l,function(t){if("interval"===t.type||"schema"===t.type){var e=t.getElementsBy(function(t){var e=t.getData();return e[i]===o});c=c.concat(e)}}),c.length){var u=e.getCoordinate(),h=c[0].shape.getCanvasBBox(),f=c[0].shape.getCanvasBBox(),p=h;Object(s["each"])(c,function(t){var e=t.shape.getCanvasBBox();u.isTransposed?(e.minY<h.minY&&(h=e),e.maxY>f.maxY&&(f=e)):(e.minX<h.minX&&(h=e),e.maxX>f.maxX&&(f=e)),p.x=Math.min(e.minX,p.minX),p.y=Math.min(e.minY,p.minY),p.width=Math.max(e.maxX,p.maxX)-p.x,p.height=Math.max(e.maxY,p.maxY)-p.y});var d=e.backgroundGroup,g=e.coordinateBBox,y=void 0;if(u.isRect){var v=e.getXScale(),m=v.isLinear?0:.25,b=void 0,x=void 0,O=void 0,j=void 0;u.isTransposed?(b=g.minX,x=Math.min(f.minY,h.minY)-m*f.height,O=g.width,j=p.height+2*m*f.height):(b=Math.min(h.minX,f.minX)-m*h.width,x=Math.min(g.minY,h.minY),O=p.width+2*m*h.width,j=g.height),y=[["M",b,x],["L",b+O,x],["L",b+O,x+j],["L",b,x+j],["Z"]]}else{var w=Object(s["head"])(c),k=Object(s["last"])(c),S=kt(w.getModel(),u).startAngle,C=kt(k.getModel(),u).endAngle,M=u.getCenter(),A=u.getRadius(),T=u.innerRadius*A;y=jt(M.x,M.y,A,S,C,T)}if(this.regionPath)this.regionPath.attr("path",y),this.regionPath.show();else{var E=Object(s["get"])(t,"style",Hs);this.regionPath=d.addShape({type:"path",name:"active-region",capture:!1,attrs:Object(a["a"])(Object(a["a"])({},E),{path:y})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(ce),Us=Xs,qs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["b"])(e,t),e.prototype.show=function(){var t=this.context,e=t.event,n=t.view,r=n.isTooltipLocked();if(!r){var i=this.timeStamp,o=+new Date,a=Object(s["get"])(t.view.getOptions(),"tooltip.showDelay",16);if(o-i>a){var c=this.location,l={x:e.x,y:e.y};c&&Object(s["isEqual"])(c,l)||this.showTooltip(n,l),this.timeStamp=o,this.location=l}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(ce),Zs=qs,Ks=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.showTooltip=function(t,e){var n=Ze(t);Object(s["each"])(n,function(n){var r=Qe(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=Ze(t);Object(s["each"])(e,function(t){t.hideTooltip()})},e}(Zs),Qs=Ks,$s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["b"])(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,e=t.event,n=this.timeStamp,r=+new Date;if(r-n>16){var i=this.location,o={x:e.x,y:e.y};i&&Object(s["isEqual"])(i,o)||this.showTooltip(o),this.timeStamp=r,this.location=o}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context,n=e.event,r=n.target;if(r&&r.get("tip")){this.tooltip||this.renderTooltip();var i=r.get("tip");this.tooltip.update(Object(a["a"])({title:i},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,r={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},i=e.getTheme(),o=Object(s["get"])(i,["components","tooltip","domStyles"],{}),c=new bt({parent:n.get("el").parentNode,region:r,visible:!1,crosshairs:null,domStyles:Object(a["a"])({},Object(s["deepMix"])({},o,(t={},t[ft["TOOLTIP_CSS_CONST"].CONTAINER_CLASS]={"max-width":"50%"},t[ft["TOOLTIP_CSS_CONST"].TITLE_CLASS]={"word-break":"break-all"},t)))});c.init(),c.setCapture(!1),this.tooltip=c},e}(ce),Js=$s,tc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e}return Object(a["b"])(e,t),e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,e){t.setState(this.stateName,e)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var e=this,n=Ne(t,this.stateName);Object(s["each"])(n,function(t){e.setElementState(t,!1)})},e}(ce),ec=tc;function nc(t){return Object(s["get"])(t.get("delegateObject"),"item")}var rc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=["unchecked"],e}return Object(a["b"])(e,t),e.prototype.isItemIgnore=function(t,e){var n=this.ignoreListItemStates,r=n.filter(function(n){return e.hasState(t,n)});return!!r.length},e.prototype.setStateByComponent=function(t,e,n){var r=this.context.view,i=t.get("field"),o=Be(r);this.setElementsStateByItem(o,i,e,n)},e.prototype.setStateByElement=function(t,e){this.setElementState(t,e)},e.prototype.isMathItem=function(t,e,n){var r=this.context.view,i=Je(r,e),o=ze(t,e);return!Object(s["isNil"])(o)&&n.name===i.getText(o)},e.prototype.setElementsStateByItem=function(t,e,n,r){var i=this;Object(s["each"])(t,function(t){i.isMathItem(t,e,n)&&t.setState(i.stateName,r)})},e.prototype.setStateEnable=function(t){var e=Te(this.context);if(e)Pe(this.context)&&this.setStateByElement(e,t);else{var n=Ee(this.context);if(_e(n)){var r=n.item,i=n.component;if(r&&i&&!this.isItemIgnore(r,i)){var o=this.context.event.gEvent;if(o&&o.fromShape&&o.toShape&&nc(o.fromShape)===nc(o.toShape))return;this.setStateByComponent(i,r,t)}}}},e.prototype.toggle=function(){var t=Te(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(ec),ic=rc,oc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.active=function(){this.setState()},e}(ic),ac=oc,sc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return Object(a["b"])(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");if(!n)return null;var r=t.getScaleByField(n.getFields()[0]);return r},e.prototype.getLinkPath=function(t,e){var n=this.context.view,r=n.getCoordinate().isTransposed,i=t.shape.getCanvasBBox(),o=e.shape.getCanvasBBox(),a=r?[["M",i.minX,i.minY],["L",o.minX,o.maxY],["L",o.maxX,o.maxY],["L",i.maxX,i.minY],["Z"]]:[["M",i.maxX,i.minY],["L",o.minX,o.minY],["L",o.minX,o.maxY],["L",i.maxX,i.maxY],["Z"]];return a},e.prototype.addLinkShape=function(t,e,n){t.addShape({type:"path",attrs:{opacity:.4,fill:e.shape.attr("fill"),path:this.getLinkPath(e,n)}})},e.prototype.linkByElement=function(t){var e=this,n=this.context.view,r=this.getColorScale(n,t);if(r){var i=ze(t,r.field);if(!this.cache[i]){var o=Re(n,r.field,i),a=this.linkGroup,c=a.addGroup();this.cache[i]=c;var l=o.length;Object(s["each"])(o,function(t,n){if(n<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=ze(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=Te(t);e&&this.linkByElement(e)},e.prototype.unlink=function(){var t=Te(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}(ce),cc=sc,lc=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["b"])(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(Fe(this.context))t=Ie(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=Ge(i,r)}return t},e.prototype.setStateEnable=function(t){if(this.effectSiblings&&!this.effectByRecord)this.setSiblingsState(t);else{var e=Be(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=Ze(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=Be(t),i=r.filter(function(t){var e=t.getModel().data;return $e(o,e,a,c)});n.setElementsState(i,e,r)})},e.prototype.setSiblingsState=function(t){var e=this,n=this.context.view,r=Ze(n);Fe(this.context)&&Object(s["each"])(r,function(n){var r=Be(n),i=De(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=Ze(e);Object(s["each"])(n,function(e){t.clearViewState(e)})}else this.clearViewState(e)},e}(ec),uc=lc,hc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.active=function(){this.setState()},e}(uc),fc=hc,pc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.setStateEnable=function(t){var e=Te(this.context);if(e){if(!Pe(this.context))return;t?(this.clear(),this.setElementState(e,!0)):this.hasState(e)&&this.setElementState(e,!1)}},e.prototype.toggle=function(){var t=Te(this.context);if(t){var e=this.hasState(t);e||this.clear(),this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(ec),dc=pc,gc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.active=function(){this.setState()},e}(dc),yc=gc,vc="inactive",mc="active";function bc(t){var e=Be(t);Object(s["each"])(e,function(t){t.hasState(mc)&&t.setState(mc,!1),t.hasState(vc)&&t.setState(vc,!1)})}function xc(t,e,n){Object(s["each"])(t,function(t){e(t)?(t.hasState(vc)&&t.setState(vc,!1),t.setState(mc,n)):(t.hasState(mc)&&t.setState(mc,!1),t.setState(vc,n))})}var Oc=h.INACTIVE,jc=h.ACTIVE,wc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=jc,e}return Object(a["b"])(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(Oc)&&t.setState(Oc,!1),t.setState(jc,!0)):t.hasState(jc)||t.setState(Oc,!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=Ne(this.context.view,jc),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(jc)&&t.setState(jc,!1),t.setState(Oc,!0))})}},e.prototype.setElementState=function(t,e){var n=this.context.view,r=Be(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;bc(t)},e}(ic),kc=wc,Sc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(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=ze(t,i.field),a=Be(n),s=a.filter(function(t){return ze(t,i.field)===o});this.setHighlightBy(a,function(t){return s.includes(t)},e)}},e}(kc),Cc=Sc,Mc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.setElementHighlight=function(t,e){e(t)?(t.hasState(Oc)&&t.setState(Oc,!1),t.setState(jc,!0)):(t.setState(Oc,!0),t.hasState(jc)&&t.setState(jc,!1))},e.prototype.setStateByElement=function(t,e){var n=this.context.view,r=n.getXScale(),i=ze(t,r.field),o=Be(n),a=o.filter(function(t){return ze(t,r.field)===i});this.setHighlightBy(o,function(t){return a.includes(t)},e)},e.prototype.toggle=function(){var t=Te(this.context);if(t){var e=t.hasState(this.stateName);this.setStateByElement(t,!e)}},e}(kc),Ac=Mc,Tc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.clearViewState=function(t){bc(t)},e.prototype.highlight=function(){this.setState()},e.prototype.setElementsState=function(t,e,n){xc(n,function(e){return t.indexOf(e)>=0},e)},e}(uc),Ec=Tc,Pc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){var n=this.context.view,r=Be(n);xc(r,function(e){return t===e},e)},e.prototype.clear=function(){var t=this.context.view;bc(t)},e}(dc),_c=Pc,Lc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(uc),Fc=Lc,Ic=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(ic),Dc=Ic,Bc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(dc),Rc=Bc,Nc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return Object(a["b"])(e,t),e.prototype.getTriggerListInfo=function(){var t=Ee(this.context),e=null;return _e(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=He(e),r=[];return Object(s["each"])(n,function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)}),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();Object(s["each"])(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=Je(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;if(n.length){var r=n.filter(function(n){return e.hasState(t,n)});return 0===r.length}return!0},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,o=Je(i,r),a=ze(e,r),s=o.getText(a);this.setItemsState(t,s,n)},e.prototype.setStateEnable=function(t){var e=this,n=Te(this.context);if(n){var r=this.getAllowComponents();Object(s["each"])(r,function(r){e.setStateByElement(r,n,t)})}else{var i=Ee(this.context);if(_e(i)){var o=i.item,a=i.component;this.allowSetStateByElement(a)&&this.allowSetStateByItem(o,a)&&this.setItemState(a,o,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,i=t.getItems();Object(s["each"])(i,function(i){i.name===e&&r.setItemState(t,i,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(ce),zc=Nc,Yc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["b"])(e,t),e.prototype.active=function(){this.setState()},e}(zc),Gc=Yc,Vc="inactive",Wc="active";function Hc(t){var e=t.getItems();Object(s["each"])(e,function(e){t.hasState(e,Wc)&&t.setItemState(e,Wc,!1),t.hasState(e,Vc)&&t.setItemState(e,Vc,!1)})}var Xc="inactive",Uc="active",qc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=Uc,e.ignoreItemStates=["unchecked"],e}return Object(a["b"])(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems();this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)Object(s["each"])(r,function(n){e(n)?(t.hasState(n,Xc)&&t.setItemState(n,Xc,!1),t.setItemState(n,Uc,!0)):t.hasState(n,Uc)||t.setItemState(n,Xc,!0)});else{var i=t.getItemsByState(Uc),o=!0;Object(s["each"])(i,function(t){if(!e(t))return o=!1,!1}),o?this.clear():Object(s["each"])(r,function(n){e(n)&&(t.hasState(n,Uc)&&t.setItemState(n,Uc,!1),t.setItemState(n,Xc,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)Hc(t.list);else{var e=this.getAllowComponents();Object(s["each"])(e,function(t){t.clearItemsState(Uc),t.clearItemsState(Xc)})}},e}(zc),Zc=qc,Kc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["b"])(e,t),e.prototype.selected=function(){this.setState()},e}(zc),Qc=Kc,$c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="unchecked",e}return Object(a["b"])(e,t),e.prototype.unchecked=function(){this.setState()},e}(zc),Jc=$c,tl="unchecked",el="checked",nl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=el,e}return Object(a["b"])(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,function(t){return t===e},n)},e.prototype.setCheckedBy=function(t,e,n){var r=t.getItems();n&&Object(s["each"])(r,function(n){e(n)?(t.hasState(n,tl)&&t.setItemState(n,tl,!1),t.setItemState(n,el,!0)):t.hasState(n,el)||t.setItemState(n,tl,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=!Object(s["some"])(e.getItems(),function(t){return e.hasState(t,tl)});r||e.hasState(n,tl)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();Object(s["each"])(t,function(t){t.clearItemsState(el),t.clearItemsState(tl)})},e}(zc),rl=nl,il=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.maskShape=null,e.points=[],e.starting=!1,e.moving=!1,e.preMovePoint=null,e.shapeType="path",e}return Object(a["b"])(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var e="mask:"+t,n=this.context.view,r=this.context.event;n.emit(e,{target:this.maskShape,shape:this.maskShape,points:this.points,x:r.x,y:r.y})},e.prototype.createMask=function(){var t=this.context.view,e=this.getMaskAttrs(),n=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:Object(a["a"])({fill:"#C5D4EB",opacity:.3},e)});return n},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(this.moving&&this.maskShape){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,r=t.y-e.y,i=this.points;Object(s["each"])(i,function(t){t.x+=n,t.y+=r}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(){var t=this.getMaskAttrs();this.maskShape.attr(t)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,t.prototype.destroy.call(this)},e}(ce),ol=il,al=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return Object(a["b"])(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=Object(s["last"])(this.points),n=0,r=0,i=0;if(t.length){var o=t[0];n=Xe(o,e)/2,r=(e.x+o.x)/2,i=(e.y+o.y)/2}return{x:r,y:i,r:n}},e}(ol),sl=al,cl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return Object(a["b"])(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:Object(s["head"])(t),end:Object(s["last"])(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.abs(n.x-e.x),a=Math.abs(n.y-e.y);return{x:r,y:i,width:o,height:a}},e}(ol),ll=cl;function ul(t){t.x=Object(s["clamp"])(t.x,0,1),t.y=Object(s["clamp"])(t.y,0,1)}var hl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return Object(a["b"])(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,i=this.context.view.getCoordinate(),o=i.invert(Object(s["head"])(n)),a=i.invert(Object(s["last"])(n));return this.inPlot&&(ul(o),ul(a)),"x"===r?(t=i.convert({x:o.x,y:0}),e=i.convert({x:a.x,y:1})):(t=i.convert({x:0,y:o.y}),e=i.convert({x:1,y:a.y})),{start:t,end:e}},e}(ll),fl=hl,pl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&(Object(s["each"])(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}(ol),dl=pl,gl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.getMaskPath=function(){var t=this.points;return Ue(t,!0)},e}(dl),yl=gl,vl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.setCursor=function(t){var e=this.context.view;e.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e}(ce),ml=vl,bl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.filterView=function(t,e,n){var r=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&Object(s["each"])(t.views,function(t){r.filterView(t,e,n)})},e.prototype.filter=function(){var t=Ee(this.context);if(t){var e=this.context.view,n=t.component,r=n.get("field");if(_e(t)){if(r){var i=n.getItemsByState("unchecked"),o=Je(e,r),a=i.map(function(t){return t.name});a.length?this.filterView(e,r,function(t){var e=o.getText(t);return!a.includes(e)}):this.filterView(e,r,null),e.render(!0)}}else if(Le(t)){var s=n.getValue(),c=s[0],l=s[1];this.filterView(e,r,function(t){return t>=c&&t<=l}),e.render(!0)}}},e}(ce),xl=bl;function Ol(t,e,n,r){var i=Math.min(n[e],r[e]),o=Math.max(n[e],r[e]),a=t.range,s=a[0],c=a[1];if(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 jl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return Object(a["b"])(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,e;if(Fe(this.context)){var n=this.context.event.target,r=n.getCanvasBBox();t={x:r.x,y:r.y},e={x:r.maxX,y:r.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(Math.abs(t.x-e.x)<5||Math.abs(t.x-e.y)<5)){var i=this.context.view,o=i.getCoordinate(),a=o.invert(e),s=o.invert(t);if(this.hasDim("x")){var c=i.getXScale(),l=Ol(c,"x",a,s);this.filterView(i,c.field,l)}if(this.hasDim("y")){var u=i.getYScales()[0];l=Ol(u,"y",a,s);this.filterView(i,u.field,l)}this.reRender(i)}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t)},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t){t.render(!0)},e}(ce),wl=jl,kl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.filterView=function(t,e,n){var r=Ze(t);Object(s["each"])(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=Ze(t);Object(s["each"])(e,function(t){t.render(!0)})},e}(wl),Sl=kl,Cl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["b"])(e,t),e.prototype.filter=function(){var t=Ee(this.context),e=this.context.view,n=Be(e);if(Fe(this.context)){var r=Ie(this.context,10);r&&Object(s["each"])(n,function(t){r.includes(t)?t.show():t.hide()})}else if(t){var i=t.component,o=i.get("field");if(_e(t)){if(o){var a=i.getItemsByState("unchecked"),c=Je(e,o),l=a.map(function(t){return t.name});Object(s["each"])(n,function(t){var e=ze(t,o),n=c.getText(e);l.indexOf(n)>=0?t.hide():t.show()})}}else if(Le(t)){var u=i.getValue(),h=u[0],f=u[1];Object(s["each"])(n,function(t){var e=ze(t,o);e>=h&&e<=f?t.show():t.hide()})}}},e.prototype.clear=function(){var t=Be(this.context.view);Object(s["each"])(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(ce),Ml=Cl,Al=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return Object(a["b"])(e,t),e.prototype.filter=function(){Fe(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=Ie(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,i=e.map(function(t){return t.getModel().data}),o=Ze(t);Object(s["each"])(o,function(t){var e=Be(t);Object(s["each"])(e,function(t){var e=t.getModel().data;$e(i,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=Ze(e);Object(s["each"])(n,function(e){var n=De(t.context,e,10),r=Be(e);n&&Object(s["each"])(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=Ze(this.context.view);Object(s["each"])(t,function(t){var e=Be(t);Object(s["each"])(e,function(t){t.show()})})},e}(ce),Tl=Al,El=10,Pl=5,_l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return Object(a["b"])(e,t),e.prototype.getButtonCfg=function(){return Object(s["deepMix"])(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:Object(a["a"])({text:t.text},t.textStyle)}),r=n.getBBox(),i=Nn(t.padding),o=e.addShape({type:"rect",name:"button-rect",attrs:Object(a["a"])({x:r.x-i[3],y:r.y-i[0],width:r.width+i[1]+i[3],height:r.height+i[0]+i[2]},t.style)});o.toBack(),e.on("mouseenter",function(){o.attr(t.activeStyle)}),e.on("mouseleave",function(){o.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view,e=t.getCoordinate(),n=e.convert({x:1,y:1}),r=this.buttonGroup,i=r.getBBox(),o=tt["a"].transform(null,[["t",n.x-i.width-El,n.y+i.height+Pl]]);r.setMatrix(o)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(ce),Ll=_l,Fl=4,Il=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return Object(a["b"])(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):Xe(t,this.startPoint)>Fl&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(ce),Dl=Il,Bl=5,Rl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return Object(a["b"])(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint(),n=Xe(t,e);if(n>Bl&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var r=this.context.view,i=tt["a"].transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);r.backgroundGroup.setMatrix(i),r.foregroundGroup.setMatrix(i),r.middleGroup.setMatrix(i)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(ce),Nl=Rl,zl="x",Yl="y",Gl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=[zl,Yl],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return Object(a["b"])(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(zl),this.resetDim(Yl);var t=this.context.view;t.render(!0)},e}(ce),Vl=Gl,Wl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return Object(a["b"])(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;Object(s["each"])(e,function(e){var n=t.getScale(e),r=n.min,i=n.max,o=n.values;t.startCache[e]={min:r,max:i,values:o}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),i=n.invert(e),o=n.invert(r),a=o.x-i.x,c=o.y-i.y,l=this.context.view,u=this.dims;Object(s["each"])(u,function(e){t.translateDim(e,{x:-1*a,y:-1*c})}),l.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],o=i.min,a=i.max,s=a-o,c=n[t]*s;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:o,max:a}),r.scale(e.field,{nice:!1,min:o+c,max:a+c})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(Vl),Hl=Wl,Xl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return Object(a["b"])(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;Object(s["each"])(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],o=i.max-i.min,a=e.min,s=e.max,c=n*o,l=a-c,u=s+c,h=u-l,f=h/o;u>l&&f<100&&f>.01&&r.scale(e.field,{nice:!1,min:a-c,max:s+c})},e}(Vl),Ul=Xl;function ql(t){return t.isInPlot()}function Zl(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}n.d(e,"g",function(){return c}),n.d(e,"b",function(){return rr}),n.d(e,"c",function(){return Un}),n.d(e,"e",function(){return sr}),n.d(e,"a",function(){return ce}),n.d(e,"d",function(){return ce}),n.d(e,"j",function(){return Yn}),n.d(e,"l",function(){return Pr}),n.d(e,"k",function(){return fn}),n.d(e,"i",function(){return pe}),n.d(e,"h",function(){return Sn}),n.d(e,"f",function(){return li}),Cn("dark",yn(gi)),x("canvas",yi),x("svg",vi),tr("Polygon",co),tr("Interval",$i),tr("Schema",uo),tr("Path",Pi),tr("Point",oo),tr("Line",to),tr("Area",Di),tr("Edge",Ri),tr("Heatmap",zi),kr("base",Jr),kr("interval",Fo),kr("pie",No),kr("polar",Bo),Cr("overlap",oa),Cr("distribute",Go),Cr("fixed-overlap",ia),Cr("hide-overlap",da),Cr("limit-in-shape",Jo),Cr("limit-in-canvas",$o),Cr("limit-in-plot",Ra),Cr("pie-outer",Xo),Cr("adjust-color",ma),Cr("interval-adjust-position",ja),Cr("interval-hide-overlap",ka),Cr("point-adjust-position",Ta),Cr("pie-spider",Qo),Cr("path-adjust-position",Fa),ur("fade-in",Na),ur("fade-out",za),ur("grow-in-x",Va),ur("grow-in-xy",Ha),ur("grow-in-y",Wa),ur("scale-in-x",qa),ur("scale-in-y",Za),ur("wave-in",ts),ur("zoom-in",ns),ur("zoom-out",rs),ur("position-update",Ua),ur("sector-path-update",Ja),ur("path-in",Xa),ae("rect",gs),ae("mirror",ps),ae("list",ls),ae("matrix",hs),ae("circle",ss),ae("tree",vs),Yn("axis",Ps),Yn("legend",Ds),Yn("tooltip",sr),Yn("annotation",ws),Yn("slider",Rs),Yn("scrollbar",Ws),pe("tooltip",Zs),pe("sibling-tooltip",Qs),pe("ellipsis-text",Js),pe("element-active",ac),pe("element-single-active",yc),pe("element-range-active",fc),pe("element-highlight",kc),pe("element-highlight-by-x",Ac),pe("element-highlight-by-color",Cc),pe("element-single-highlight",_c),pe("element-range-highlight",Ec),pe("element-sibling-highlight",Ec,{effectSiblings:!0,effectByRecord:!0}),pe("element-selected",Dc),pe("element-single-selected",Rc),pe("element-range-selected",Fc),pe("element-link-by-color",cc),pe("active-region",Us),pe("list-active",Gc),pe("list-selected",Qc),pe("list-highlight",Zc),pe("list-unchecked",Jc),pe("list-checked",rl),pe("legend-item-highlight",Zc,{componentNames:["legend"]}),pe("axis-label-highlight",Zc,{componentNames:["axis"]}),pe("rect-mask",ll),pe("x-rect-mask",fl,{dim:"x"}),pe("y-rect-mask",fl,{dim:"y"}),pe("circle-mask",sl),pe("path-mask",dl),pe("smooth-path-mask",yl),pe("cursor",ml),pe("data-filter",xl),pe("brush",wl),pe("brush-x",wl,{dims:["x"]}),pe("brush-y",wl,{dims:["y"]}),pe("sibling-filter",Sl),pe("sibling-x-filter",Sl),pe("sibling-y-filter",Sl),pe("element-filter",Ml),pe("element-sibling-filter",Tl),pe("element-sibling-filter-record",Tl,{byRecord:!0}),pe("view-drag",Dl),pe("view-move",Nl),pe("scale-translate",Hl),pe("scale-zoom",Ul),pe("reset-button",Ll,{name:"reset-button",text:"reset"}),fn("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),fn("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),fn("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),fn("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),fn("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),fn("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),fn("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),fn("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),fn("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),fn("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),fn("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),fn("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),fn("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ql,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:ql,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:ql,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),fn("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),fn("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ql,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:ql,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:ql,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),fn("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:ql,action:"path-mask:start"},{trigger:"mousedown",isEnable:ql,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),fn("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),fn("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),fn("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),fn("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),fn("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),fn("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),fn("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return Zl(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!Zl(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),fn("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]})},kekF:function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},kewz:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},kiyR:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s=[],c=e.length;for(n=0;n<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/2,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";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("zJSt"),o=n("u9/z"),a=n("Mffy"),s=n("B3DA"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return a["b"]},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Object(s["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o["a"]},e}(i["b"])},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}},lFe4:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t){return Object(r["map"])(t||[],function(t,e){return{x:""+e,y:t}})}},lOPJ:function(t,e,n){"use strict";var r=n("AA7f"),i=n("iTfj"),o=n("0Xep"),a=n("Qci9"),s=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?o["d"]:r,a=e.dodgeRatio,s=void 0===a?o["b"]:a,c=e.dodgeBy,l=e.intervalPadding,u=e.dodgePadding,h=e.xDimensionLength,f=e.groupNum,p=e.defaultSize,d=e.maxColumnWidth,g=e.minColumnWidth,y=e.columnWidthRatio;return n.marginRatio=i,n.dodgeRatio=s,n.dodgeBy=c,n.intervalPadding=l,n.dodgePadding=u,n.xDimensionLegenth=h,n.groupNum=f,n.defaultSize=p,n.maxColumnWidth=d,n.minColumnWidth=g,n.columnWidthRatio=y,n}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["clone"](t),n=i["flatten"](e),r=this.dodgeBy,o=r?i["group"](n,r):e;return this.cacheMap={},this.adjustDataArray=o,this.mergeData=n,this.adjustData(o,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var o=this,a=this.getDistribution(t),s=this.groupData(n,t);return i["each"](s,function(n,s){var c;c=1===e.length?{pre:e[0]-1,next:e[0]+1}:o.getAdjustRange(t,parseFloat(s),e),i["each"](n,function(e){var n=e[t],i=a[n],s=i.indexOf(r);e[t]=o.getDodgeOffset(c,s,i.length)})}),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,o=this,a=o.dodgeRatio,s=o.marginRatio,c=o.intervalPadding,l=o.dodgePadding,u=t.pre,h=t.next,f=h-u;if(!i["isNil"](c)&&i["isNil"](l)&&c>=0){var p=this.getIntervalOnlyOffset(n,e);r=u+p}else if(!i["isNil"](l)&&i["isNil"](c)&&l>=0){p=this.getDodgeOnlyOffset(n,e);r=u+p}else if(!i["isNil"](c)&&!i["isNil"](l)&&c>=0&&l>=0){p=this.getIntervalAndDodgeOffset(n,e);r=u+p}else{var d=f*a/n,g=s*d;p=.5*(f-n*d-(n-1)*g)+((e+1)*d+e*g)-.5*d-.5*f;r=(u+h)/2+p}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.intervalPadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.dodgeRatio,l=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,f=o/a,p=(1-(s-1)*f)/s*c/(t-1),d=((1-f*(s-1))/s-p*(t-1))/t;if(d=i["isNil"](h)?d:1/s/t*h,!i["isNil"](l)){var g=l/a;d=Math.min(d,g)}if(!i["isNil"](u)){var y=u/a;d=Math.max(d,y)}d=r?r/a:d,p=((1-(s-1)*f)/s-t*d)/(t-1);var v=((.5+e)*d+e*p+.5*f)*s-f/2;return v},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.dodgePadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.marginRatio,l=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,f=o/a,p=1*c/(s-1),d=((1-p*(s-1))/s-f*(t-1))/t;if(d=h?1/s/t*h:d,!i["isNil"](l)){var g=l/a;d=Math.min(d,g)}if(!i["isNil"](u)){var y=u/a;d=Math.max(d,y)}d=r?r/a:d,p=(1-(d*t+f*(t-1))*s)/(s-1);var v=((.5+e)*d+e*f+.5*p)*s-p/2;return v},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this,r=n.intervalPadding,i=n.dodgePadding,o=n.xDimensionLegenth,a=n.groupNum,s=r/o,c=i/o,l=((1-s*(a-1))/a-c*(t-1))/t,u=((.5+e)*l+e*c+.5*s)*a-s/2;return u},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},i["each"](e,function(e,n){var o=i["valuesOfKey"](e,t);o.length||o.push(0),i["each"](o,function(t){r[t]||(r[t]=[]),r[t].push(n)})}),n[t]=r),r},e}(a["a"]);e["a"]=s},lSCD:function(t,e,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function l(t){if(!i(t))return!1;var e=r(t);return e==a||e==s||e==o||e==c}t.exports=l},lc5D:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("eF/C"),i=n("Uf63");e.diff=i.default;var o=n("N5VM");e.split=o.default,e.default=r.default},ljhN:function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},lr9b:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l="$$range$$",u="low-q1-median-q3-high",h="$$y_outliers$$",f="outliers_view",p=function(t,e){var n=t;if(Array.isArray(e)){var r=e[0],i=e[1],o=e[2],s=e[3],c=e[4];n=Object(a["map"])(t,function(t){return t[l]=[t[r],t[i],t[o],t[s],t[c]],t})}return n};function d(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.groupField,a=n.color,s=Array.isArray(i)?l:i,c=e.schema().position(r+"*"+s).shape("box");return o&&c.color(o,a).adjust("dodge"),e.data(p(n.data,i)),t}function g(t){var e=t.chart,n=t.options,r=n.xField,i=n.data,o=n.outliersField,s=n.outliersStyle,c=n.padding;if(!o)return t;var l=e.createView({padding:c,id:f});l.data(i),l.axis(!1);var u=l.point().position(r+"*"+o).shape("circle");return Object(a["isFunction"])(s)?u.style(r+"*"+o,function(t,e){var n;return s((n={},n[r]=t,n[o]=e,n))}):Object(a["isObject"])(s)&&u.style(s),t}function y(t){var e,n,r=t.chart,i=t.options,a=i.meta,s=i.xAxis,u=i.yAxis,f=i.xField,p=i.yField,d=i.outliersField,g=Array.isArray(p)?l:p,y={};if(d){var v=h;e={},e[d]={sync:v,nice:!0},e[g]={sync:v,nice:!0},y=e}var m=Object(o["b"])(y,a,(n={},n[f]=Object(o["n"])(s,c["a"]),n[g]=Object(o["n"])(u,c["a"]),n));return r.scale(m),t}function v(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField,s=Array.isArray(a)?l:a;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(s,i),t}function m(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}function b(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,s=n.boxStyle,c=Object(o["c"])(e,"schema"),u=Array.isArray(i)?l:i;return Object(a["isFunction"])(s)?c.style(r+"*"+u,function(t,e){var n;return s((n={},n[r]=t,n[u]=e,n))}):Object(a["isObject"])(s)&&c.style(s),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip;return void 0!==r&&e.tooltip(r),t}function O(t){return Object(o["e"])(d,g,y,v,b,m,x,s["c"],s["a"],s["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===f});n&&n.data(t),this.chart.changeData(p(t,e))},e.prototype.getDefaultOptions=function(){var e;return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{meta:(e={},e[l]={min:0,alias:u},e),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,showCrosshairs:!0,shared:!0}})},e.prototype.getSchemaAdaptor=function(){return O}})(i["b"])},lt7v:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=null;function i(){if(!r){var t=document.createElement("canvas");t.width=1,t.height=1,r=t.getContext("2d")}return r}},mI1Z:function(t,e,n){"use strict";n.d(e,"b",function(){return u}),n.d(e,"a",function(){return h});var r=n("mrSG"),i=n("iTfj"),o=n("YuPD"),a=n("w02o"),s=n("u9/z"),c=n("w+x+");function l(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function u(t,e){var n=t.chart,a=t.options,s=a.innerRadius,l=a.statistic,u=a.percent,h=a.meta;if(n.getController("annotation").clear(!0),s&&l){var f=l.content;f&&!f.formatter&&(f.formatter=function(t){var e=t.percent,n=Object(i["get"])(h,[c["e"],"formatter"]);return n?n(e):e}),Object(o["p"])(n,{statistic:Object(r["a"])(Object(r["a"])({},l),{content:f}),plotType:"ring-progress"},{percent:u})}return e&&n.render(!0),t}function h(t){return Object(o["e"])(s["b"],Object(a["f"])({}),l,u,a["a"],a["j"],Object(a["b"])())(t)}},mSF0:function(t,e,n){"use strict";var r=n("AGgm").arrayReplaceAt;function i(t){return/^<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("eHqw"),n("rtSP"),n("Uo7R"),n("7+4w"),n("QG4C"),n("YuPD"),n("tKoa");var o=n("w02o");n("46lQ"),o["f"],o["d"],o["k"],o["b"],o["c"],o["j"],o["a"]},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))},mgjb:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("w02o"),i=n("YuPD"),o=n("tKoa"),a=n("7cv3"),s=n("lFe4"),c=n("hYLx");function l(t){var e=t.chart,n=t.options,r=n.data,c=n.color,l=n.columnStyle,u=n.columnWidthRatio,h=Object(s["a"])(r);e.data(h);var f=Object(i["b"])({},t,{options:{xField:a["c"],yField:a["d"],widthRatio:u,interval:{style:l,color:c}}});return Object(o["c"])(f),e.axis(!1),e.legend(!1),e.interaction("element-active"),t}function u(t){return Object(i["e"])(l,c["b"],r["k"],r["j"],r["a"],Object(r["b"])())(t)}n.d(e,"b",function(){return c["b"]})},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["n"])(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["n"])(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["l"])(r)]=t+"px":r&&!n.includes(r)&&(e[Object(o["l"])(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"path"===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["n"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})},l=function(t,e,n){var c=e.statistic,l=c.title,u=c.content;[l,u].forEach(function(e){if(e){var c="",l=Object(i["isFunction"])(e.style)?e.style(n):e.style;t.annotation().html(Object(r["a"])({position:["50%","100%"],html:function(t,o){var u=o.getCoordinate(),h=o.views[0].getCoordinate(),f=h.getCenter(),p=h.getRadius(),d=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*p,g=f.y+d-u.y.start-parseFloat(Object(i["get"])(l,"fontSize",0)),y=u.getRadius()*u.innerRadius*2;s(t,Object(r["a"])({width:y+"px",transform:"translate(-50%, "+g+"px)"},a(l)));var v=o.getData();return e.customHtml?e.customHtml(t,o,n,v):(e.formatter&&(c=e.formatter(n,v)),c?Object(i["isString"])(c)?c:""+c:"<div></div>")}},Object(o["n"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},mttH:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("zJSt"),o=n("sshJ"),a=n("7cv3"),s=n("lFe4"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return a["a"]},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,r=e.options;Object(o["b"])({chart:n,options:r}),n.changeData(Object(s["a"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o["a"]},e}(i["b"])},"mv/X":function(t,e,n){var r=n("ljhN"),i=n("MMmD"),o=n("wJg7"),a=n("GoyQ");function s(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}t.exports=s},mwIZ:function(t,e,n){var r=n("ZWtO");function i(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}t.exports=i},"n/J0":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],i={GRADIENT:{CONTINUOUS:"#BAE7FF-#1890FF-#0050B3"}}},nBLk:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o;if(t.sCount[e]-t.blkIndent<4)return!1;i=r=e+1;while(r<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,j=(h+p)/2+Math.sin(s)*b+Math.cos(s)*x,w=[(d-b)/n,(g-x)/i],k=[(-1*d-b)/n,(-1*g-x)/i],S=a([1,0],w),C=a(w,k);return o(w,k)<=-1&&(C=Math.PI),o(w,k)>=1&&(C=0),0===l&&C>0&&(C-=2*Math.PI),1===l&&C<0&&(C+=2*Math.PI),{cx:O,cy:j,rx:Object(r["j"])(t,[f,p])?0:n,ry:Object(r["j"])(t,[f,p])?0:i,startAngle:S,endAngle:S+C,xRotation:s,arcFlag:c,sweepFlag:l}}},nmnc:function(t,e,n){var r=n("Kz5y"),i=r.Symbol;t.exports=i},nycV:function(t,e,n){"use strict";n.d(e,"c",function(){return h}),n.d(e,"b",function(){return f}),n.d(e,"a",function(){return p});var r=n("mrSG"),i=n("R5nb"),o=Math.sin,a=Math.cos,s=Math.atan2,c=Math.PI;function l(t,e,n,r,l,u,h){var f=e.stroke,p=e.lineWidth,d=n-l,g=r-u,y=s(g,d),v=new i["Path"]({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*a(c/6)+","+10*o(c/6)+" L0,0 L"+10*a(c/6)+",-"+10*o(c/6),stroke:f,lineWidth:p}});v.translate(l,u),v.rotateAtPoint(l,u,y),t.set(h?"startArrowShape":"endArrowShape",v)}function u(t,e,n,c,l,u,h){var f=e.startArrow,p=e.endArrow,d=e.stroke,g=e.lineWidth,y=h?f:p,v=y.d,m=y.fill,b=y.stroke,x=y.lineWidth,O=Object(r["c"])(y,["d","fill","stroke","lineWidth"]),j=n-l,w=c-u,k=s(w,j);v&&(l-=a(k)*v,u-=o(k)*v);var S=new i["Path"]({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:Object(r["a"])(Object(r["a"])({},O),{stroke:b||d,lineWidth:x||g,fill:m})});S.translate(l,u),S.rotateAtPoint(l,u,k),t.set(h?"startArrowShape":"endArrowShape",S)}function h(t,e,n,r,i){var c=s(r-e,n-t);return{dx:a(c)*i,dy:o(c)*i}}function f(t,e,n,r,i,o){"object"===typeof e.startArrow?u(t,e,n,r,i,o,!0):e.startArrow?l(t,e,n,r,i,o,!0):t.set("startArrowShape",null)}function p(t,e,n,r,i,o){"object"===typeof e.endArrow?u(t,e,n,r,i,o,!1):e.endArrow?l(t,e,n,r,i,o,!1):t.set("startArrowShape",null)}},o9ul:function(t,e,n){var r=n("qxrA"),i=r(Object.getPrototypeOf,Object);t.exports=i},oSSR:function(t,e,n){"use strict";t.exports=function(t){var e,n,r,i=t.tokens;for(n=0,r=i.length;n<r;n++)e=i[n],"inline"===e.type&&t.md.inline.parse(e.content,t.md,t.env,e.children)}},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["f"].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]}},"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("iTfj"),o=n("zJSt"),a=n("YuPD"),s=n("w02o"),c=n("tKoa"),l="x",u="y",h="name",f="nodes",p="views",d=n("F/eT"),g=n("DyAw");function y(t){return t.target.depth}function v(t){return t.depth}function m(t,e){return e-1-t.height}function b(t,e){return t.sourceLinks.length?t.depth:e-1}function x(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?Object(i["minBy"])(t.sourceLinks,y)-1:0}function O(t){return function(){return t}}function j(t,e){for(var n=0,r=0;r<t.length;r++)n+=e(t[r]);return n}function w(t,e){for(var n=-1/0,r=0;r<t.length;r++)n=Math.max(e(t[r]),n);return n}function k(t,e){for(var n=1/0,r=0;r<t.length;r++)n=Math.min(e(t[r]),n);return n}function S(t,e){return M(t.source,e.source)||t.index-e.index}function C(t,e){return M(t.target,e.target)||t.index-e.index}function M(t,e){return t.y0-e.y0}function A(t){return t.value}function T(t){return t.index}function E(t){return t.nodes}function P(t){return t.links}function _(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function L(t){for(var e=t.nodes,n=0,r=e;n<r.length;n++){for(var i=r[n],o=i.y0,a=o,s=0,c=i.sourceLinks;s<c.length;s++){var l=c[s];l.y0=o+l.width/2,o+=l.width}for(var u=0,h=i.targetLinks;u<h.length;u++){l=h[u];l.y1=a+l.width/2,a+=l.width}}}function F(){var t,e,n,r=0,i=0,o=1,a=1,s=24,c=8,l=T,u=b,h=E,f=P,p=6;function d(t){var e={nodes:h(t),links:f(t)};return g(e),y(e),v(e),m(e),I(e),L(e),e}function g(t){var e=t.nodes,r=t.links;e.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var i=new Map(e.map(function(t){return[l(t),t]}));if(r.forEach(function(t,e){t.index=e;var n=t.source,r=t.target;"object"!==typeof n&&(n=t.source=_(i,n)),"object"!==typeof r&&(r=t.target=_(i,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(var o=0,a=e;o<a.length;o++){var s=a[o],c=s.sourceLinks,u=s.targetLinks;c.sort(n),u.sort(n)}}function y(t){for(var e=t.nodes,n=0,r=e;n<r.length;n++){var i=r[n];i.value=void 0===i.fixedValue?Math.max(j(i.sourceLinks,A),j(i.targetLinks,A)):i.fixedValue}}function v(t){var e=t.nodes,n=e.length,r=new Set(e),i=new Set,o=0;while(r.size){if(r.forEach(function(t){t.depth=o;for(var e=0,n=t.sourceLinks;e<n.length;e++){var r=n[e].target;i.add(r)}}),++o>n)throw new Error("circular link");r=i,i=new Set}}function m(t){var e=t.nodes,n=e.length,r=new Set(e),i=new Set,o=0;while(r.size){if(r.forEach(function(t){t.height=o;for(var e=0,n=t.targetLinks;e<n.length;e++){var r=n[e].source;i.add(r)}}),++o>n)throw new Error("circular link");r=i,i=new Set}}function x(t){for(var n=t.nodes,i=Math.max(w(n,function(t){return t.depth})+1,0),a=(o-r-s)/(i-1),c=new Array(i).fill(0).map(function(){return[]}),l=0,h=n;l<h.length;l++){var f=h[l],p=Math.max(0,Math.min(i-1,Math.floor(u.call(null,f,i))));f.layer=p,f.x0=r+p*a,f.x1=f.x0+s,c[p]?c[p].push(f):c[p]=[f]}if(e)for(var d=0,g=c;d<g.length;d++){var y=g[d];y.sort(e)}return c}function F(e){for(var n=k(e,function(e){return(a-i-(e.length-1)*t)/j(e,A)}),r=0,o=e;r<o.length;r++){for(var s=o[r],c=i,l=0,u=s;l<u.length;l++){var h=u[l];h.y0=c,h.y1=c+h.value*n,c=h.y1+t;for(var f=0,p=h.sourceLinks;f<p.length;f++){var d=p[f];d.width=d.value*n}}c=(a-c+t)/(s.length+1);for(var g=0;g<s.length;++g){h=s[g];h.y0+=c*(g+1),h.y1+=c*(g+1)}G(s)}}function I(e){var n=x(e);t=Math.min(c,(a-i)/(w(n,function(t){return t.length})-1)),F(n);for(var r=0;r<p;++r){var o=Math.pow(.99,r),s=Math.max(1-o,(r+1)/p);B(n,o,s),D(n,o,s)}}function D(t,n,r){for(var i=1,o=t.length;i<o;++i){for(var a=t[i],s=0,c=a;s<c.length;s++){for(var l=c[s],u=0,h=0,f=0,p=l.targetLinks;f<p.length;f++){var d=p[f],g=d.source,y=d.value,v=y*(l.layer-g.layer);u+=V(g,l)*v,h+=v}if(h>0){var m=(u/h-l.y0)*n;l.y0+=m,l.y1+=m,Y(l)}}void 0===e&&a.sort(M),a.length&&R(a,r)}}function B(t,n,r){for(var i=t.length,o=i-2;o>=0;--o){for(var a=t[o],s=0,c=a;s<c.length;s++){for(var l=c[s],u=0,h=0,f=0,p=l.sourceLinks;f<p.length;f++){var d=p[f],g=d.target,y=d.value,v=y*(g.layer-l.layer);u+=W(l,g)*v,h+=v}if(h>0){var m=(u/h-l.y0)*n;l.y0+=m,l.y1+=m,Y(l)}}void 0===e&&a.sort(M),a.length&&R(a,r)}}function R(e,n){var r=e.length>>1,o=e[r];z(e,o.y0-t,r-1,n),N(e,o.y1+t,r+1,n),z(e,a,e.length-1,n),N(e,i,0,n)}function N(e,n,r,i){for(;r<e.length;++r){var o=e[r],a=(n-o.y0)*i;a>1e-6&&(o.y0+=a,o.y1+=a),n=o.y1+t}}function z(e,n,r,i){for(;r>=0;--r){var o=e[r],a=(o.y1-n)*i;a>1e-6&&(o.y0-=a,o.y1-=a),n=o.y0-t}}function Y(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){for(var i=0,o=r;i<o.length;i++){var a=o[i].source.sourceLinks;a.sort(C)}for(var s=0,c=e;s<c.length;s++){var l=c[s].target.targetLinks;l.sort(S)}}}function G(t){if(void 0===n)for(var e=0,r=t;e<r.length;e++){var i=r[e],o=i.sourceLinks,a=i.targetLinks;o.sort(C),a.sort(S)}}function V(e,n){for(var r=e.y0-(e.sourceLinks.length-1)*t/2,i=0,o=e.sourceLinks;i<o.length;i++){var a=o[i],s=a.target,c=a.width;if(s===n)break;r+=c+t}for(var l=0,u=n.targetLinks;l<u.length;l++){var h=u[l];s=h.source,c=h.width;if(s===e)break;r-=c}return r}function W(e,n){for(var r=n.y0-(n.targetLinks.length-1)*t/2,i=0,o=n.targetLinks;i<o.length;i++){var a=o[i],s=a.source,c=a.width;if(s===e)break;r+=c+t}for(var l=0,u=e.sourceLinks;l<u.length;l++){var h=u[l];s=h.target,c=h.width;if(s===n)break;r-=c}return r}return d.update=function(t){return L(t),t},d.nodeId=function(t){return arguments.length?(l="function"===typeof t?t:O(t),d):l},d.nodeAlign=function(t){return arguments.length?(u="function"===typeof t?t:O(t),d):u},d.nodeSort=function(t){return arguments.length?(e=t,d):e},d.nodeWidth=function(t){return arguments.length?(s=+t,d):s},d.nodePadding=function(e){return arguments.length?(c=t=+e,d):c},d.nodes=function(t){return arguments.length?(h="function"===typeof t?t:O(t),d):h},d.links=function(t){return arguments.length?(f="function"===typeof t?t:O(t),d):f},d.linkSort=function(t){return arguments.length?(n=t,d):n},d.size=function(t){return arguments.length?(r=i=0,o=+t[0],a=+t[1],d):[o-r,a-i]},d.extent=function(t){return arguments.length?(r=+t[0][0],o=+t[1][0],i=+t[0][1],a=+t[1][1],d):[[r,i],[o,a]]},d.iterations=function(t){return arguments.length?(p=+t,d):p},d}var I={left:v,right:m,center:x,justify:b},D={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function B(t,e){if(e)return function(t,n){return e(t,n)};var n=Object(i["isString"])(t)?I[t]:Object(i["isFunction"])(t)?t:null;return n||b}function R(t){return Object(i["assign"])({},D,t)}function N(t,e){var n=R(t),r=n.nodeId,i=n.nodeSort,o=n.nodeAlign,a=n.nodeWidth,s=n.nodePadding,c=n.nodeDepth,l=F().nodeSort(i).nodeWidth(a).nodePadding(s).nodeAlign(B(o,c)).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}function z(t,e,n){return 0!==Object(i["size"])(e)&&(!!e.includes(n)||e.some(function(e){return z(t,t.get(e),n)}))}function Y(t,e,n){var r=[],o=[],a=new Map;return Object(i["each"])(t,function(t){var i=t[e],s=t[n];z(a,[i],s)?o.push(t):(r.push(t),a.has(s)||a.set(s,[]),a.get(s).push(i))}),0!==o.length&&console.warn("sankey data contains circle, "+o.length+" records removed.",o),r}function G(t,e,n){return Object(d["b"])(t)?t/n:e}function V(t,e,n){return Object(d["b"])(t)?t/n:e}function W(t,e,n){var r=t.data,i=t.sourceField,o=t.targetField,a=t.weightField,s=t.nodeAlign,c=t.nodeSort,l=t.nodePadding,u=t.nodePaddingRatio,h=t.nodeWidth,f=t.nodeWidthRatio,p=t.nodeDepth,d=Object(g["b"])(Y(r,i,o),i,o,a),y=N({nodeAlign:s,nodePadding:V(l,u,n),nodeWidth:G(h,f,e),nodeSort:c,nodeDepth:p},d),v=y.nodes,m=y.links;return{nodes:v.map(function(t){return{x:t.x,y:t.y,name:t.name,isNode:!0}}),edges:m.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,isNode:!1}})}}function H(t){var e=t.chart,n=t.options,r=n.color,i=n.nodeStyle,o=n.edgeStyle,a=n.label,s=n.tooltip;e.legend(!1),e.tooltip(s),e.axis(!1),e.coordinate().reflect("y");var f=W(n,e.width,e.height),p=f.nodes,d=f.edges,g=e.createView({id:"views"});g.data(d),Object(c["b"])({chart:g,options:{xField:l,yField:u,seriesField:h,edge:{color:r,style:o,shape:"arc"},tooltip:s,state:{active:{style:{opacity:.8,lineWidth:0}}}}});var y=e.createView({id:"nodes"});return y.data(p),Object(c["f"])({chart:y,options:{xField:l,yField:u,seriesField:h,polygon:{color:r,style:i},label:a,tooltip:s}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},y:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},name:{sync:"color"}}),t}function X(t){var e=t.chart,n=t.options,i=n.animation;"boolean"===typeof i?e.animate(i):e.animate(!0);var o=Object(r["d"])(e.views[0].geometries,e.views[1].geometries);return o.forEach(function(t){t.animate(i)}),t}function U(t){return Object(a["e"])(H,s["c"],X,s["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.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}},layout:[{type:"hide-overlap"}]},tooltip:{showTitle:!1,showMarkers:!1,shared:!1,fields:["name","source","target","value","isNode"],showContent:function(t){return!Object(i["get"])(t,[0,"data","isNode"])},formatter:function(t){var e=t.source,n=t.target,r=t.value;return{name:e+" -> "+n,value:r}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=W(this.options,this.chart.width,this.chart.height),n=e.nodes,r=e.edges,i=Object(a["d"])(this.chart,f),o=Object(a["d"])(this.chart,p);i.changeData(n),o.changeData(r)},e.prototype.getSchemaAdaptor=function(){return U},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}})(o["b"])},rzDG:function(t,e,n){"use strict";var r=n("AGgm").isWhiteSpace,i=n("AGgm").isPunctChar,o=n("AGgm").isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="\u2019";function l(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function u(t,e){var n,a,u,h,f,p,d,g,y,v,m,b,x,O,j,w,k,S,C,M,A;for(C=[],n=0;n<t.length;n++){for(a=t[n],d=t[n].level,k=C.length-1;k>=0;k--)if(C[k].level<=d)break;if(C.length=k+1,"text"===a.type){u=a.content,f=0,p=u.length;t:while(f<p){if(s.lastIndex=f,h=s.exec(u),!h)break;if(j=w=!0,f=h.index+1,S="'"===h[0],y=32,h.index-1>=0)y=u.charCodeAt(h.index-1);else for(k=n-1;k>=0;k--){if("softbreak"===t[k].type||"hardbreak"===t[k].type)break;if(t[k].content){y=t[k].content.charCodeAt(t[k].content.length-1);break}}if(v=32,f<p)v=u.charCodeAt(f);else for(k=n+1;k<t.length;k++){if("softbreak"===t[k].type||"hardbreak"===t[k].type)break;if(t[k].content){v=t[k].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?j=!1:b&&(x||m||(j=!1)),x?w=!1:m&&(O||b||(w=!1)),34===v&&'"'===h[0]&&y>=48&&y<=57&&(w=j=!1),j&&w&&(j=m,w=b),j||w){if(w)for(k=C.length-1;k>=0;k--){if(g=C[k],C[k].level<d)break;if(g.single===S&&C[k].level===d){g=C[k],S?(M=e.md.options.quotes[2],A=e.md.options.quotes[3]):(M=e.md.options.quotes[0],A=e.md.options.quotes[1]),a.content=l(a.content,h.index,A),t[g.token].content=l(t[g.token].content,g.pos,M),f+=A.length-1,g.token===n&&(f+=M.length-1),u=a.content,p=u.length,C.length=k;continue t}}j?C.push({token:n,pos:h.index,single:S,level:d}):w&&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(w,e),y?b(t):f}function O(t){var n=t-d,r=t-g,i=e-n;return v?c(i,h-r):i}function j(t){var n=t-d,r=t-g;return void 0===d||n>=e||n<0||v&&r>=h}function w(){var t=i();if(j(t))return k(t);p=setTimeout(w,O(t))}function k(t){return p=void 0,m&&l?b(t):(l=u=void 0,f)}function S(){void 0!==p&&clearTimeout(p),g=0,l=d=u=p=void 0}function C(){return void 0===p?f:k(i())}function M(){var t=i(),n=j(t);if(l=arguments,u=this,d=t,n){if(void 0===p)return x(d);if(v)return clearTimeout(p),p=setTimeout(w,e),b(d)}return void 0===p&&(p=setTimeout(w,e)),f}return e=o(e)||0,r(n)&&(y=!!n.leading,v="maxWait"in n,h=v?s(o(n.maxWait)||0,e):h,m="trailing"in n?!!n.trailing:m),M.cancel=S,M.flush=C,M}t.exports=l},sYIZ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("aFU3");function o(t,e){if(e){var n=Object(i["invert"])(e);return Object(i["multiplyVec2"])(n,t)}return t}function a(t,e,n){var r=t.getTotalMatrix();if(r){var i=o([e,n,1],r),a=i[0],s=i[1];return[a,s]}return[e,n]}function s(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!Object(i["isAllowCapture"])(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var r=a(t,e,n),o=r[0],s=r[1];if(t.isClipped(o,s))return!1}var c=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=c.minX&&e<=c.maxX&&n>=c.minY&&n<=c.maxY}function c(t,e,n){if(!s(t,e,n))return null;for(var r=null,i=t.getChildren(),o=i.length,l=o-1;l>=0;l--){var u=i[l];if(u.isGroup())r=c(u,e,n);else if(s(u,e,n)){var h=u,f=a(u,e,n),p=f[0],d=f[1];h.isInShape(p,d)&&(r=u)}if(r)break}return r}var l=n("R5nb"),u=n("wq2r"),h=n("cyZq"),f=n("9eUa"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["renderer"]="canvas",e["autoDraw"]=!0,e["localRefresh"]=!0,e["refreshElements"]=[],e["clipView"]=!0,e["quickHit"]=!1,e},e.prototype.onCanvasChange=function(t){"attr"!==t&&"sort"!==t&&"changeSize"!==t||(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u["a"]},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||Object(h["d"])();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*e,i.height=o*n,o>1&&r.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){var r;return r=this.get("quickHit")?c(this,e,n):t.prototype.getShape.call(this,e,n,null),r},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();if(e.length&&e[0]===this)t=n;else if(t=Object(f["f"])(e),t){t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1;var r=this.get("clipView");r&&(t=Object(f["g"])(t,n))}return t},e.prototype.refreshElement=function(t){var e=this.get("refreshElements");e.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Object(h["a"])(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),Object(f["a"])(t,this),Object(f["d"])(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),Object(f["a"])(t,this),Object(f["b"])(this,n,r),Object(f["d"])(t,n,r),t.restore()):e.length&&Object(f["c"])(e),Object(h["c"])(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=Object(h["n"])(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e}(i["AbstractCanvas"]);e["a"]=p},shjB:function(t,e){var n=9007199254740991;function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}t.exports=r},sqD9:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("iTfj"),o=n("F/eT");function a(t,e,n,a){var s=Object(i["reduce"])(t,function(t,r){var i=r[n],a=t.has(i)?t.get(i):0,s=r[e];return a=Object(o["b"])(s)?a+s:a,t.set(i,a),t},new Map);return Object(i["map"])(t,function(t){var i,c=t[e],l=t[n],u=Object(o["b"])(c)?c/s.get(l):0;return Object(r["a"])(Object(r["a"])({},t),(i={},i[a]=u,i))})}function s(t,e,n,r,i){return i?a(t,e,n,r):t}},sshJ:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("YuPD"),i=n("w02o"),o=n("tKoa"),a=n("hYLx");n.d(e,"b",function(){return a["b"]});var s=n("lFe4"),c=n("7cv3");function l(t){var e=t.chart,n=t.options,i=n.data,a=n.color,l=n.lineStyle,u=n.point,h=Object(s["a"])(i);e.data(h);var f=Object(r["b"])({},t,{options:{xField:c["c"],yField:c["d"],line:{color:a,style:l},point:u}}),p=Object(r["b"])({},f,{options:{tooltip:!1}});return Object(o["d"])(f),Object(o["e"])(p),e.axis(!1),e.legend(!1),t}function u(t){return Object(r["e"])(l,a["b"],i["j"],i["k"],i["a"],Object(i["b"])())(t)}},sstZ:function(t,e,n){"use strict";n.d(e,"j",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"b",function(){return s});var r=n("iTfj");function i(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}n.d(e,"e",function(){return r["isNil"]}),n.d(e,"d",function(){return r["isFunction"]}),n.d(e,"h",function(){return r["isString"]}),n.d(e,"f",function(){return r["isObject"]}),n.d(e,"i",function(){return r["mix"]}),n.d(e,"a",function(){return r["each"]}),n.d(e,"k",function(){return r["upperFirst"]});var o="undefined"!==typeof window&&"undefined"!==typeof window.document;function a(t,e){if(t.isCanvas())return!0;var n=e.getParent(),r=!1;while(n){if(n===t){r=!0;break}n=n.getParent()}return r}function s(t){return t.cfg.visible&&t.cfg.capture}},t2Dn:function(t,e,n){var r=n("hypo"),i=n("ljhN");function o(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}t.exports=o},tE4n:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("tKoa"),c=n("w02o"),l=n("Tc6Q"),u={exp:l["regressionExp"],linear:l["regressionLinear"],loess:l["regressionLoess"],log:l["regressionLog"],poly:l["regressionPoly"],pow:l["regressionPow"],quad:l["regressionQuad"]};function h(t,e){var n=10,r={regionStyle:[{position:{start:[t,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[t,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[t,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[t,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-n,offsetY:-n,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:-n,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:n,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-n,offsetY:n,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return r}var f=function(t,e){var n=e.view,r=e.options,i=r.xField,a=r.yField,s=n.getScaleByField(i),c=n.getScaleByField(a),l=t.map(function(t){return n.getCoordinate().convert({x:s.scale(t[0]),y:c.scale(t[1])})});return Object(o["i"])(l,!1)},p=function(t){var e,n=t.options,r=n.xField,i=n.yField,o=n.data,s=n.regressionLine,c=s.type,l=void 0===c?"linear":c,h=s.algorithm;if(h)e=Object(a["isArray"])(h)?h:h(o);else{var p=u[l]().x(function(t){return t[r]}).y(function(t){return t[i]});e=p(o)}return f(e,t)},d=function(t){var e,n=t.meta,i=void 0===n?{}:n,o=t.xField,s=t.yField,c=t.data,l=c[0][o],u=c[0][s],h=l>0,f=u>0,p=function(t,e,n){var r=Object(a["get"])(i,[t,e]);if(Object(a["isNumber"])(r))return r;if("x"===n){var o={min:h?0:2*l,max:h?2*l:0};return o[e]}var s={min:f?0:2*u,max:f?2*u:0};return s[e]};return Object(r["a"])(Object(r["a"])({},i),(e={},e[o]=Object(r["a"])(Object(r["a"])({},i[o]),{min:p(o,"min","x"),max:p(o,"max","x")}),e[s]=Object(r["a"])(Object(r["a"])({},i[s]),{min:p(s,"min","y"),max:p(s,"max","y")}),e))};function g(t){var e=t.data,n=void 0===e?[]:e;return 1===n.length?Object(o["b"])({},t,{meta:d(t)}):t}function y(t){var e=t.chart,n=t.options,i=n.data,c=n.type,l=n.color,u=n.shape,h=n.pointStyle,f=n.shapeField,p=n.colorField,d=n.xField,g=n.yField,y=n.sizeField,v=n.size,m=n.tooltip;y&&(v||(v=[2,8]),Object(a["isNumber"])(v)&&(v=[v,v])),m&&!m.fields&&(m=Object(r["a"])(Object(r["a"])({},m),{fields:[d,g,p,y,f]})),e.data(i),Object(s["e"])(Object(o["b"])({},t,{options:{seriesField:p,point:{color:l,shape:u,size:v,style:h},tooltip:m}}));var b=Object(o["c"])(e,"point");return c&&b.adjust(c),t}function v(t){var e,n=t.options,r=n.data,i=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField,u=n;return 1===r.length&&(u=g(Object(o["b"])({},n,{meta:d(n)}))),Object(o["e"])(Object(c["f"])((e={},e[s]=i,e[l]=a,e)))(Object(o["b"])({},t,{options:u}))}function m(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return e.axis(o,r),e.axis(a,i),t}function b(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.shapeField,s=n.sizeField,c=Object(a["isBoolean"])(r)?r:r||!(!o&&!i);return c?(e.legend(i||o,r),s&&e.legend(s,!1)):e.legend(!1),t}function x(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"point");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o["r"])(l)})}else s.label(!1);return t}function O(t){var e=t.options,n=e.quadrant,i=[];if(n){var a=n.xBaseline,s=void 0===a?0:a,l=n.yBaseline,u=void 0===l?0:l,f=n.labels,p=n.regionStyle,d=n.lineStyle,g=h(s,u),y=new Array(4).join(",").split(",");y.forEach(function(t,e){i.push(Object(r["a"])(Object(r["a"])({type:"region",top:!1},g.regionStyle[e].position),{style:Object(o["b"])({},g.regionStyle[e].style,null===p||void 0===p?void 0:p[e])}),Object(r["a"])({type:"text",top:!0},Object(o["b"])({},g.labelStyle[e],null===f||void 0===f?void 0:f[e])))}),i.push({type:"line",top:!1,start:["min",u],end:["max",u],style:Object(o["b"])({},g.lineStyle,d)},{type:"line",top:!1,start:[s,"min"],end:[s,"max"],style:Object(o["b"])({},g.lineStyle,d)})}return Object(o["e"])(Object(c["b"])(i))(t)}function j(t){var e=t.options,n=t.chart,i=e.regressionLine;if(i){var o=i.style,a=i.top,s=void 0!==a&&a,c={stroke:"#9ba29a",lineWidth:2,opacity:.5};n.annotation().shape({top:s,render:function(t,i){var a=t.addGroup({id:n.id+"-regression-line",name:"regression-line-group"}),s=p({view:i,options:e});a.addShape("path",{name:"regression-line",attrs:Object(r["a"])(Object(r["a"])({path:s},c),o)})}})}return t}function w(t){var e=t.chart,n=t.options,r=n.tooltip;return r?e.tooltip(r):!1===r&&e.tooltip(!1),t}function k(t){return Object(o["e"])(y,v,m,b,w,x,c["c"],O,c["a"],c["j"],j)(t)}n("hag6"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption(g(Object(o["b"])({},this.options,{data:t})));var e=this,n=e.options,r=e.chart;v({chart:r,options:n}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return k},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})}}(i["b"])},tGEx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];e.editorOptions=r;var i=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];e.editorEvents=i;var o=function(){var t;return window.ace?(t=window.ace,t.acequire=window.ace.require||window.ace.acequire):t=n("bU/s"),t};e.getAceInstance=o;var a=function(t,e){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(r,i)},e)}};e.debounce=a},tKoa:function(t,e,n){"use strict";var r=n("mrSG"),i=n("5HRO"),o=n("YuPD"),a=n("WOQw");function s(t){var e=t.options,n=e.area,s=e.xField,c=e.yField,l=e.seriesField,u=e.smooth,h=e.tooltip,f=Object(i["a"])(h,[s,c,l]),p=f.fields,d=f.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"area",colorField:l,tooltipFields:p,mapping:Object(r["a"])({shape:u?"smooth":"area",tooltip:d},n)}})):t}var c=n("iTfj");function l(t){var e=t.options,n=e.line,r=e.stepType,s=e.xField,l=e.yField,u=e.seriesField,h=e.smooth,f=e.connectNulls,p=e.tooltip,d=Object(i["a"])(p,[s,l,u]),g=d.fields,y=d.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"line",colorField:u,tooltipFields:g,mapping:Object(c["deepMix"])({shape:r||(h?"smooth":"line"),tooltip:y},n),args:{connectNulls:f}}})):t}function u(t){var e=t.options,n=e.point,s=e.xField,c=e.yField,l=e.seriesField,u=e.sizeField,h=e.shapeField,f=e.tooltip,p=Object(i["a"])(f,[s,c,l,u,h]),d=p.fields,g=p.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"point",colorField:l,shapeField:h,tooltipFields:d,mapping:Object(r["a"])({tooltip:g},n)}})):t}var h=n("kXyF");function f(t){var e=t.chart,n=t.options,r=t.ext,i=n.seriesField,a=n.isGroup,s=n.isStack,l=n.marginRatio,u=n.widthRatio,f=n.groupField,p=n.theme,d=[];if(i&&(a&&d.push({type:"dodge",dodgeBy:f||i,marginRatio:l}),s&&d.push({type:"stack",marginRatio:l})),d.length&&(null===r||void 0===r?void 0:r.geometry)){var g=null===r||void 0===r?void 0:r.geometry;g.adjust(d)}return Object(c["isNil"])(u)||e.theme(Object(o["b"])({},Object(c["isObject"])(p)?p:Object(h["h"])(p),{columnWidthRatio:u})),t}function p(t){var e=t.options,n=e.xField,s=e.yField,c=e.interval,l=e.seriesField,u=e.tooltip,h=e.minColumnWidth,p=e.maxColumnWidth,d=e.columnBackground,g=Object(i["a"])(u,[n,s,l]),y=g.fields,v=g.formatter,m=(c?Object(a["a"])(Object(o["b"])({},t,{options:{type:"interval",colorField:l,tooltipFields:y,mapping:Object(r["a"])({tooltip:v},c),args:{minColumnWidth:h,maxColumnWidth:p,background:d}}})):t).ext;return f(Object(r["a"])(Object(r["a"])({},t),{ext:m}))}var d=n("KMYG");function g(t){var e=t.options,n=e.edge,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,h=Object(i["a"])(u,[s,c,l]),f=h.fields,p=h.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"edge",colorField:l,tooltipFields:f,mapping:Object(r["a"])({tooltip:p},n)}})):t}n.d(e,"a",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return u}),n.d(e,"c",function(){return p}),n.d(e,"f",function(){return d["a"]}),n.d(e,"b",function(){return g})},tLB3:function(t,e,n){var r=n("jXQH"),i=n("GoyQ"),o=n("/9aa"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;function h(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):s.test(t)?a:+t}t.exports=h},tMB7:function(t,e,n){var r=n("y1pI");function i(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}t.exports=i},tdXX:function(t,e){},tvuL:function(t,e,n){"use strict";n.r(e),n.d(e,"catmullRomToBezier",function(){return c}),n.d(e,"fillPath",function(){return L}),n.d(e,"fillPathByDiff",function(){return B}),n.d(e,"formatPath",function(){return z}),n.d(e,"intersection",function(){return T}),n.d(e,"parsePathArray",function(){return y}),n.d(e,"parsePathString",function(){return s}),n.d(e,"pathToAbsolute",function(){return u}),n.d(e,"pathToCurve",function(){return d}),n.d(e,"rectPath",function(){return j});var r=n("iTfj"),i="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",o=new RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),a=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig"),s=function(t){if(!t)return null;if(Object(r["isArray"])(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(o,function(r,i,o){var s=[],c=i.toLowerCase();if(o.replace(a,function(t,e){e&&s.push(+e)}),"m"===c&&s.length>2&&(n.push([i].concat(s.splice(0,2))),c="l",i="m"===i?"l":"L"),"o"===c&&1===s.length&&n.push([i,s[0]]),"r"===c)n.push([i].concat(s));else while(s.length>=e[c])if(n.push([i].concat(s.splice(0,e[c]))),!e[c])break;return t}),n},c=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},l=function(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,s=t+n*Math.cos(-r*a),c=t+n*Math.cos(-i*a),l=e+n*Math.sin(-r*a),u=e+n*Math.sin(-i*a);o=[["M",s,l],["A",n,n,0,+(i-r>180),0,c,u]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},u=function(t){if(t=s(t),!t||!t.length)return[["M",0,0]];var e,n,r=[],i=0,o=0,a=0,u=0,h=0;"M"===t[0][0]&&(i=+t[0][1],o=+t[0][2],a=i,u=o,h++,r[0]=["M",i,o]);for(var f=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,d=void 0,g=h,y=t.length;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,j=x*x/(n*n)+O*O/(r*r);j>1&&(j=Math.sqrt(j),n*=j,r*=j);var w=n*n,k=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((w*k-w*O*O-k*x*x)/(w*O*O+k*x*x)));d=S*n*O/r+(t+s)/2,g=S*-r*x/n+(e+c)/2,h=Math.asin(((e-g)/r).toFixed(9)),f=Math.asin(((c-g)/r).toFixed(9)),h=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 C=f-h;if(Math.abs(C)>y){var M=f,A=s,T=c;f=h+y*(a&&f>h?1:-1),s=d+n*Math.cos(f),c=g+r*Math.sin(f),m=p(s,c,n,r,i,0,a,A,T,[f,M,d,g])}C=f-h;var E=Math.cos(h),P=Math.sin(h),_=Math.cos(f),L=Math.sin(f),F=Math.tan(C/4),I=4/3*n*F,D=4/3*r*F,B=[t,e],R=[t+I*P,e-D*E],N=[s+I*L,c-D*_],z=[s,c];if(R[0]=2*B[0]-R[0],R[1]=2*B[1]-R[1],l)return[R,N,z].concat(m);m=[R,N,z].concat(m).join().split(",");for(var Y=[],G=0,V=m.length;G<V;G++)Y[G]=G%2?b(m[G-1],m[G],v).y:b(m[G],m[G+1],v).x;return Y},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,j=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[j-4])||a.x),a.by=i&&(parseFloat(x[j-3])||a.y),a.x=i&&x[j-2],a.y=i&&x[j-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},j=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=y,o},w=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:j(t,e,n,r),vb:[t,e,n,r].join(" ")}},k=function(t,e){return t=w(t),e=w(e),O(e,t.x,t.y)||O(e,t.x2,t.y)||O(e,t.x,t.y2)||O(e,t.x2,t.y2)||O(t,e.x,e.y)||O(t,e.x2,e.y)||O(t,e.x,e.y2)||O(t,e.x2,e.y2)||(t.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 w(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},C=function(t,e,n,r,i,o,a,s,c){var l=1-c,u=Math.pow(l,3),h=Math.pow(l,2),f=c*c,p=f*c,d=u*t+3*h*c*n+3*l*c*c*i+p*a,g=u*e+3*h*c*r+3*l*c*c*o+p*s,y=t+2*c*(n-t)+f*(i-2*n+t),v=e+2*c*(r-e)+f*(o-2*r+e),m=n+2*c*(i-n)+f*(a-2*i+n),b=r+2*c*(o-r)+f*(s-2*o+r),x=l*t+c*n,O=l*e+c*r,j=l*i+c*a,w=l*o+c*s,k=90-180*Math.atan2(y-m,v-b)/Math.PI;return{x:d,y:g,m:{x:y,y:v},n:{x:m,y:b},start:{x:x,y:O},end:{x:j,y:w},alpha:k}},M=function(t,e,n){var r=S(t),i=S(e);if(!k(r,i))return n?0:[];for(var o=m.apply(0,t),a=m.apply(0,e),s=~~(o/8),c=~~(a/8),l=[],u=[],h={},f=n?0:[],p=0;p<s+1;p++){var d=C.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=C.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],j=Math.abs(v.x-y.x)<.001?"y":"x",w=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 A=y.t+Math.abs((M[j]-y[j])/(v[j]-y[j]))*(v.t-y.t),T=b.t+Math.abs((M[w]-b[w])/(O[w]-b[w]))*(O.t-b.t);A>=0&&A<=1&&T>=0&&T<=1&&(n?f+=1:f.push({x:M.x,y:M.y,t1:A,t2:T}))}}return f},A=function(t,e,n){var r,i,o,a,s,c,l,u,h,f;t=d(t),e=d(e);for(var p=n?0:[],g=0,y=t.length;g<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 j=0,w=O.length;j<w;j++)O[j].segment1=g,O[j].segment2=m,O[j].bez1=h,O[j].bez2=f;p=p.concat(O)}}}}}return p},T=function(t,e){return A(t,e)};function E(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 P(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=E(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 _=function(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(P(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r},L=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a<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(_(t[i],t[i+1],r))},[]);return c.unshift(t[0]),"Z"!==e[r]&&"z"!==e[r]||c.push("Z"),c},F=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 I(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=F(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]=I(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 z=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 l}),n.d(e,"a",function(){return h});var r=n("iTfj"),i=n("YuPD"),o=n("w02o"),a=n("tKoa"),s=n("Mffy"),c=n("B3DA");function l(t){var e=t.chart,n=t.options,o=n.percent,l=n.progressStyle,u=n.color,h=n.barWidthRatio;e.data(Object(c["a"])(o));var f=Object(i["b"])({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:h,interval:{style:l,color:Object(r["isString"])(u)?[u,s["a"][1]]:u},args:{zIndexReversed:!0}}});return Object(a["c"])(f),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function u(t){var e=t.chart;return e.coordinate("rect").transpose(),t}function h(t){return Object(i["e"])(l,Object(o["f"])({}),u,o["a"],o["j"],Object(o["b"])())(t)}},u9VJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("sqD9"),a=n("DMQx"),s=n("YuPD"),c=Object(s["b"])({},i["b"].getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});n.d(e,"a",function(){return l});var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this,c=s.chart,l=s.options;Object(a["b"])({chart:c,options:l}),this.chart.changeData(Object(o["a"])(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},uCX8:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("iTfj"),o=n("MeYt"),a=n("BgvD"),s=n("jqgP"),c=n("5UbV");function l(t,e){var n=e.x,o=e.y,l=e.content,u=e.style,h=e.id,f=e.name,p=e.rotate,d=e.maxLength,g=e.autoEllipsis,y=e.isVertical,v=e.ellipsisPosition,m=e.background,b=t.addGroup({id:h+"-group",name:f+"-group",attrs:{x:n,y:o}}),x=b.addShape({type:"text",id:h,name:f,attrs:Object(r["a"])({x:0,y:0,text:l},u)}),O=Object(c["c"])(Object(i["get"])(m,"padding",0));if(d&&g){var j=d-(O[1]+O[3]);Object(a["a"])(!y,x,j,v)}if(m){var w=Object(i["get"])(m,"style",{}),k=x.getCanvasBBox(),S=k.minX,C=k.minY,M=k.width,A=k.height,T=b.addShape("rect",{id:h+"-bg",name:h+"-bg",attrs:Object(r["a"])({x:S-O[3],y:C-O[0],width:M+O[1]+O[3],height:A+O[0]+O[2]},w)});T.toBack()}Object(s["c"])(b,n,o),Object(s["b"])(b,p,n,o)}var u=n("L16w"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:u["a"].textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:u["a"].fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:u["a"].lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:Object(r["a"])({x1:e.x,y1:e.y,x2:n.x,y2:n.y},i)})},e.prototype.getLabelPoint=function(t,e,n){var r;return r="start"===n?0:"center"===n?.5:Object(i["isString"])(n)&&-1!==n.indexOf("%")?parseInt(n,10)/100:Object(i["isNumber"])(n)?n:1,(r>1||r<0)&&(r=1),{x:Object(c["g"])(t.x,e.x,r),y:Object(c["g"])(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,o=e.content,a=e.style,s=e.offsetX,c=e.offsetY,u=e.autoRotate,h=e.maxLength,f=e.autoEllipsis,p=e.ellipsisPosition,d=e.background,g=e.isVertical,y=void 0!==g&&g,v=this.getLabelPoint(n,r,i),m=v.x+s,b=v.y+c,x={id:this.getElementId("line-text"),name:"annotation-line-text",x:m,y:b,content:o,style:a,maxLength:h,autoEllipsis:f,ellipsisPosition:p,background:d,isVertical:y};if(u){var O=[r.x-n.x,r.y-n.y];x.rotate=Math.atan2(O[1],O[0])}l(t,x)},e}(o["a"]),f=h,p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:u["a"].textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:u["a"].fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("content"),o=this.get("style"),a=this.getElementId("text"),s=this.get("name")+"-text",c=this.get("maxLength"),u=this.get("autoEllipsis"),h=this.get("isVertical"),f=this.get("ellipsisPosition"),p=this.get("background"),d=this.get("rotate"),g={id:a,name:s,x:n,y:r,content:i,style:o,maxLength:c,autoEllipsis:u,isVertical:h,ellipsisPosition:f,background:p,rotate:d};l(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("rotate");Object(s["c"])(t,n,r),Object(s["b"])(t,i,n,r)}},e}(o["a"]),d=p,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,o=Object(c["e"])(e,n,r),a=Object(c["e"])(e,n,i),s=i-r>Math.PI?1:0,l=[["M",o.x,o.y]];if(i-r===2*Math.PI){var u=Object(c["e"])(e,n,r+Math.PI);l.push(["A",n,n,0,s,1,u.x,u.y]),l.push(["A",n,n,0,s,1,a.x,a.y])}else l.push(["A",n,n,0,s,1,a.x,a.y]);return l},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:Object(r["a"])({path:e},n)})},e}(o["a"]),y=g,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:u["a"].regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style"),o=Object(c["k"])({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r["a"])({x:o.x,y:o.y,width:o.width,height:o.height},i)})},e}(o["a"]),m=v,b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),i=Object(c["k"])({start:t,end:e}),o=this.get("src");return Object(r["a"])({x:i.x,y:i.y,img:o,width:i.width,height:i.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(o["a"]),x=b,O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:u["a"].lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u["a"].textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u["a"].fontFamily}}}})},e.prototype.renderInner=function(t){Object(i["get"])(this.get("line"),"display")&&this.renderLine(t),Object(i["get"])(this.get("text"),"display")&&this.renderText(t),Object(i["get"])(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,i=e.y,o=e.text,a=Object(r["c"])(e,["x","y","text"]),s=this.get("text"),c=s.background,u=s.maxLength,h=s.autoEllipsis,f=s.isVertival,p=s.ellipsisPosition,d={x:n,y:i,id:this.getElementId("text"),name:"annotation-text",content:o,style:a,background:c,maxLength:u,autoEllipsis:h,isVertival:f,ellipsisPosition:p};l(t,d)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),o=Object(i["get"])(this.get("line"),"length",0),a=this.get("coordinateBBox"),c=t.getBBox(),l=c.minX,u=c.maxX,h=c.minY,f=c.maxY,p=t.findById(this.getElementId("text-group")),d=t.findById(this.getElementId("text")),g=t.findById(this.getElementId("line"));if(a){if(p){if(n+l<=a.minX){var y=a.minX-(n+l);Object(s["c"])(p,p.attr("x")+y,p.attr("y"))}if(n+u>=a.maxX){y=n+u-a.maxX;Object(s["c"])(p,p.attr("x")-y,p.attr("y"))}}if("upward"===e&&r+h<=a.minY||"upward"!==e&&r+f>=a.maxY){var v=void 0,m=void 0;"upward"===e&&r+h<=a.minY?(v="top",m=1):(v="bottom",m=-1),d.attr("textBaseline",v),g&&g.attr("path",[["M",0,0],["L",0,o*m]]),Object(s["c"])(p,p.attr("x"),(o+2)*m)}}},e.prototype.getShapeAttrs=function(){var t=Object(i["get"])(this.get("line"),"display"),e=Object(i["get"])(this.get("point"),"style",{}),n=Object(i["get"])(this.get("line"),"style",{}),o=Object(i["get"])(this.get("text"),"style",{}),a=this.get("direction"),s=t?Object(i["get"])(this.get("line"),"length",0):0,c="upward"===a?-1:1;return{point:Object(r["a"])({x:0,y:0},e),line:Object(r["a"])({path:[["M",0,0],["L",0,s*c]]},n),text:Object(r["a"])({x:0,y:(s+2)*c,text:Object(i["get"])(this.get("text"),"content",""),textBaseline:"upward"===a?"bottom":"top"},o)}},e}(o["a"]),j=O,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:u["a"].regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:u["a"].textColor,fontFamily:u["a"].fontFamily}}}})},e.prototype.renderInner=function(t){var e=Object(i["get"])(this.get("region"),"style",{}),n=(Object(i["get"])(this.get("text"),"style",{}),this.get("lineLength")||0),o=this.get("points");if(o.length){var a=Object(c["j"])(o),s=[];s.push(["M",o[0].x,a.minY-n]),o.forEach(function(t){s.push(["L",t.x,t.y])}),s.push(["L",o[o.length-1].x,o[o.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r["a"])({path:s},e)});var u=Object(r["a"])({id:this.getElementId("text"),name:"annotation-text",x:(a.minX+a.maxX)/2,y:a.minY-n},this.get("text"));l(t,u)}},e}(o["a"]),k=w,S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),r=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});Object(i["each"])(this.get("shapes"),function(t,n){var r=t.get("type"),a=Object(i["clone"])(t.attr());e.adjustShapeAttrs(a),e.addShape(o,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:a})});var a=Object(c["k"])({start:n,end:r});o.setClip({type:"rect",attrs:{x:a.minX,y:a.minY,width:a.width,height:a.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o["a"]),C=S,M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"shape",draw:i["noop"]})},e.prototype.renderInner=function(t){var e=this.get("render");Object(i["isFunction"])(e)&&e(t)},e}(o["a"]),A=M,T=n("fIp6"),E=n("de35"),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'<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(T["b"])(n)),this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),a=this.get("offsetX"),s=this.get("offsetY"),c=Object(T["d"])(t),l=Object(T["c"])(t),u={x:n,y:r};"middle"===i?u.x-=Math.round(c/2):"right"===i&&(u.x-=Math.round(c)),"middle"===o?u.y-=Math.round(l/2):"bottom"===o&&(u.y-=Math.round(l)),a&&(u.x+=a),s&&(u.y+=s),Object(T["e"])(t,{position:"absolute",left:u.x+"px",top:u.y+"px",zIndex:this.get("zIndex")})},e}(E["a"]),_=P;n.d(e,"Line",function(){return f}),n.d(e,"Text",function(){return d}),n.d(e,"Arc",function(){return y}),n.d(e,"Region",function(){return m}),n.d(e,"Image",function(){return x}),n.d(e,"DataMarker",function(){return j}),n.d(e,"DataRegion",function(){return k}),n.d(e,"RegionFilter",function(){return C}),n.d(e,"Shape",function(){return A}),n.d(e,"Html",function(){return _})},ugOi:function(t,e,n){var r=n("kewz"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},usqY:function(t,e,n){"use strict";function r(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){var n=t.pos;while(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("sqD9"),a=n("HXND"),s=n("YuPD"),c=Object(s["b"])({},i["b"].getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}});n.d(e,"a",function(){return l});var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this,c=s.chart,l=s.options;Object(a["b"])({chart:c,options:l}),this.chart.changeData(Object(o["a"])(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return a["a"]},e}(i["b"])},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 j(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 w=j.prototype=new O;w.constructor=j,r(w,x.prototype),w.isPureReactComponent=!0;var k={current:null},S=Object.prototype.hasOwnProperty,C={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)&&!C.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:k.current}}function A(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function T(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}function E(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}var P=/\/+/g,_=[];function L(t,e,n,r){if(_.length){var i=_.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 F(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>_.length&&_.push(t)}function I(t,e,n,r){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var s=!1;if(null===t)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return n(r,t,""===e?"."+B(t,0):e),1;if(s=0,e=""===e?".":e+":",Array.isArray(t))for(var c=0;c<t.length;c++){i=t[c];var l=e+B(i,c);s+=I(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+=I(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:I(t,"",e,n)}function B(t,e){return"object"===typeof t&&null!==t&&null!=t.key?E(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)?z(t,r,n,function(t){return t}):null!=t&&(T(t)&&(t=A(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(P,"$&/")+"/")+n)),r.push(t))}function z(t,e,n,r,i){var o="";null!=n&&(o=(""+n).replace(P,"$&/")+"/"),e=L(e,o,r,i),D(t,N,e),F(e)}var Y={current:null};function G(){var t=Y.current;if(null===t)throw Error(v(321));return t}var V={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:function(t,e,n){if(null==t)return t;var r=[];return z(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),F(e)},count:function(t){return D(t,function(){return null},null)},toArray:function(t){var e=[];return z(t,e,null,function(t){return t}),e},only:function(t){if(!T(t))throw Error(v(143));return t}},e.Component=x,e.Fragment=s,e.Profiler=l,e.PureComponent=j,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=k.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)&&!C.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=T,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+x+":function(t,e,n){"use strict";var r;n.d(e,"g",function(){return i}),n.d(e,"f",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"b",function(){return h});var i="range",o="type",a="percent",s="#f0f0f0",c="indicator-view",l="range-view",u="range-mask-view",h={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:(r={},r[i]={sync:"v"},r[a]={sync:"v",tickCount:5,tickInterval:.2},r),animation:!1}},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["n"])(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["n"])(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("mrSG"),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%"},j=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}(),w=j,k=function(){function t(t,e){this.cfg={};var n=Object(c["b"])("marker"),r=Object(h["uniqueId"])("marker_");n.setAttribute("id",r);var i=Object(c["b"])("path");i.setAttribute("stroke",t.stroke||"none"),i.setAttribute("fill",t.fill||"none"),n.appendChild(i),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=i,this.id=r;var o=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===o?this._setDefaultPath(e,i):(this.cfg=o,this._setMarker(t.lineWidth,i)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,r=this.cfg.path,i=this.cfg.d;Object(h["isArray"])(r)&&(r=r.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",r),n.appendChild(e),i&&n.setAttribute("refX",""+i/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}(),S=k,C=function(){function t(t){this.type="clip",this.cfg={};var e=Object(c["b"])("clipPath");this.el=e,this.id=Object(h["uniqueId"])("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}(),M=C,A=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,T=function(){function t(t){this.cfg={};var e=Object(c["b"])("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=Object(c["b"])("image");e.appendChild(n);var r=Object(h["uniqueId"])("pattern_");e.id=r,this.el=e,this.id=r,this.cfg=t;var i=A.exec(t),o=i[2];n.setAttribute("href",o);var a=new Image;function s(){e.setAttribute("width",""+a.width),e.setAttribute("height",""+a.height)}return o.match(/^data:/i)||(a.crossOrigin="Anonymous"),a.src=o,a.complete?s():(a.onload=s,a.src=a.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),E=T,P=function(){function t(t){var e=Object(c["b"])("defs"),n=Object(h["uniqueId"])("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i<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 w(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addPattern=function(t){var e=new E(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,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 _(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},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 j(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 w(t){j(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 k(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function S(t){!1===i.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(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,A={};function T(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),A[t]||(S(e),A[t]=!0)}function E(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function P(t){var e,n;for(n in t)c(t,n)&&(e=t[n],E(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 _(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 F={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(t,e,n){var r=this._calendar[t]||this._calendar["sameElse"];return E(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={},z={};function Y(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(B);for(e=0,n=r.length;e<n;e++)z[r[e]]?r[e]=z[r[e]]:r[e]=G(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=E(r[i])?r[i].call(e,t):r[i];return o}}function W(t,e){return t.isValid()?(e=H(e,t.localeData()),N[e]=N[e]||V(e),N[e](t)):t.localeData().invalidDate()}function H(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 X={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function U(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(B).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}var q="Invalid date";function Z(){return this._invalidDate}var K="%d",Q=/\d{1,2}/;function $(t){return this._ordinal.replace("%d",t)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tt(t,e,n,r){var i=this._relativeTime[n];return E(i)?i(t,e,n,r):i.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)}var nt={};function rt(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function it(t){return"string"===typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,r={};for(n in t)c(t,n)&&(e=it(n),e&&(r[e]=t[n]));return r}var at={};function st(t,e){at[t]=e}function ct(t){var e,n=[];for(e in t)c(t,e)&&n.push({unit:e,priority:at[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}function lt(t){return t%4===0&&t%100!==0||t%400===0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ht(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function ft(t,e){return function(n){return null!=n?(dt(this,t,n),i.updateOffset(this,e),this):pt(this,t)}}function pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&lt(t.year())&&1===t.month()&&29===t.date()?(n=ht(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return t=it(t),E(this[t])?this[t]():this}function yt(t,e){if("object"===typeof t){t=ot(t);var n,r=ct(t);for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(t=it(t),E(this[t]))return this[t](e);return this}var vt,mt=/\d/,bt=/\d\d/,xt=/\d{3}/,Ot=/\d{4}/,jt=/[+-]?\d{6}/,wt=/\d\d?/,kt=/\d\d\d\d?/,St=/\d\d\d\d\d\d?/,Ct=/\d{1,3}/,Mt=/\d{1,4}/,At=/[+-]?\d{1,6}/,Tt=/\d+/,Et=/[+-]?\d+/,Pt=/Z|[+-]\d\d:?\d\d/gi,_t=/Z|[+-]\d\d(?::?\d\d)?/gi,Lt=/[+-]?\d+(\.\d{1,3})?/,Ft=/[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 It(t,e,n){vt[t]=E(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 zt(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 Yt(t,e){zt(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,Wt=0,Ht=1,Xt=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},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),Y("MMMM",0,0,function(t){return this.localeData().months(this,t)}),rt("month","M"),st("month",8),It("M",wt),It("MM",wt,bt),It("MMM",function(t,e){return e.monthsShortRegex(t)}),It("MMMM",function(t,e){return e.monthsRegex(t)}),zt(["M","MM"],function(t,e){e[Ht]=ht(t)-1}),zt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[Ht]=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=Ft,oe=Ft;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}Y("Y",0,0,function(){var t=this.year();return t<=9999?D(t,4):"+"+t}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),rt("year","y"),st("year",1),It("Y",Et),It("YY",wt,bt),It("YYYY",Mt,Ot),It("YYYYY",At,jt),It("YYYYYY",At,jt),zt(["YYYYY","YYYYYY"],Wt),zt("YYYY",function(t,e){e[Wt]=2===t.length?i.parseTwoDigitYear(t):ht(t)}),zt("YY",function(t,e){e[Wt]=i.parseTwoDigitYear(t)}),zt("Y",function(t,e){e[Wt]=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 je(t,e,n,r,i){var o,a,s=(7+n-r)%7,c=Oe(t,r,i),l=1+7*(e-1)+s+c;return l<=0?(o=t-1,a=ye(o)+l):l>ye(t)?(o=t+1,a=l-ye(t)):(o=t,a=l),{year:o,dayOfYear:a}}function we(t,e,n){var r,i,o=Oe(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+ke(i,e,n)):a>ke(t.year(),e,n)?(r=a-ke(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function ke(t,e,n){var r=Oe(t,e,n),i=Oe(t+1,e,n);return(ye(t)-r+i)/7}function Se(t){return we(t,this._week.dow,this._week.doy).week}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),st("week",5),st("isoWeek",5),It("w",wt),It("ww",wt,bt),It("W",wt),It("WW",wt,bt),Yt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ht(t)});var Ce={dow:0,doy:6};function Me(){return this._week.dow}function Ae(){return this._week.doy}function Te(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ee(t){var e=we(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Pe(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function _e(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Le(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),It("d",wt),It("e",wt),It("E",wt),It("dd",function(t,e){return e.weekdaysMinRegex(t)}),It("ddd",function(t,e){return e.weekdaysShortRegex(t)}),It("dddd",function(t,e){return e.weekdaysRegex(t)}),Yt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:v(n).invalidWeekday=t}),Yt(["d","e","E"],function(t,e,n,r){e[r]=ht(t)});var Fe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ie="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),De="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Be=Ft,Re=Ft,Ne=Ft;function ze(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Le(n,this._week.dow):t?n[t.day()]:n}function Ye(t){return!0===t?Le(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ge(t){return!0===t?Le(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ve(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=Vt.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function We(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ve.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function He(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Pe(t,this.localeData()),this.add(t-e,"d")):e}function Xe(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ue(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=_e(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Be),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ze(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Re),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ke(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ne),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qe(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=g([2e3,1]).day(e),r=Rt(this.weekdaysMin(n,"")),i=Rt(this.weekdaysShort(n,"")),o=Rt(this.weekdays(n,"")),a.push(r),s.push(i),c.push(o),l.push(r),l.push(i),l.push(o);a.sort(t),s.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function Je(){return this.hours()||24}function tn(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,$e),Y("k",["kk",2],0,Je),Y("hmm",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),tn("a",!0),tn("A",!1),rt("hour","h"),st("hour",13),It("a",en),It("A",en),It("H",wt),It("h",wt),It("k",wt),It("HH",wt,bt),It("hh",wt,bt),It("kk",wt,bt),It("hmm",kt),It("hmmss",St),It("Hmm",kt),It("Hmmss",St),zt(["H","HH"],Ut),zt(["k","kk"],function(t,e,n){var r=ht(t);e[Ut]=24===r?0:r}),zt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),zt(["h","hh"],function(t,e,n){e[Ut]=ht(t),v(n).bigHour=!0}),zt("hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r)),v(n).bigHour=!0}),zt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r,2)),e[Zt]=ht(t.substr(i)),v(n).bigHour=!0}),zt("Hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r))}),zt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r,2)),e[Zt]=ht(t.substr(i))});var rn=/[ap]\.?m?\.?/i,on=ft("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var sn,cn={calendar:F,longDateFormat:X,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:Q,relativeTime:J,months:ee,monthsShort:ne,week:Ce,weekdays:Fe,weekdaysMin:De,weekdaysShort:Ie,meridiemParse:rn},ln={},un={};function hn(t,e){var n,r=Math.min(t.length,e.length);for(n=0;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])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[t]._config;else if(null!=e.parentLocale)if(null!=ln[e.parentLocale])r=ln[e.parentLocale]._config;else{if(n=dn(e.parentLocale),null==n)return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ln[t]=new L(_(r,e)),un[t]&&un[t].forEach(function(t){yn(t.name,t.config)}),gn(t),ln[t]}return delete ln[t],null}function vn(t,e){if(null!=e){var n,r,i=cn;null!=ln[t]&&null!=ln[t].parentLocale?ln[t].set(_(ln[t]._config,e)):(r=dn(t),null!=r&&(i=r._config),e=_(i,e),null==r&&(e.abbr=t),n=new L(e),n.parentLocale=ln[t],ln[t]=n),gn(t)}else null!=ln[t]&&(null!=ln[t].parentLocale?(ln[t]=ln[t].parentLocale,t===gn()&&gn(t)):null!=ln[t]&&delete ln[t]);return ln[t]}function mn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sn;if(!a(t)){if(e=dn(t),e)return e;t=[t]}return pn(t)}function bn(){return M(ln)}function xn(t){var e,n=t._a;return n&&-2===v(t).overflow&&(e=n[Ht]<0||n[Ht]>11?Ht:n[Xt]<1||n[Xt]>te(n[Wt],n[Ht])?Xt:n[Ut]<0||n[Ut]>24||24===n[Ut]&&(0!==n[qt]||0!==n[Zt]||0!==n[Kt])?Ut:n[qt]<0||n[qt]>59?qt:n[Zt]<0||n[Zt]>59?Zt:n[Kt]<0||n[Kt]>999?Kt:-1,v(t)._overflowDayOfYear&&(e<Wt||e>Xt)&&(e=Xt),v(t)._overflowWeeks&&-1===e&&(e=Qt),v(t)._overflowWeekday&&-1===e&&(e=$t),v(t).overflow=e),t}var On=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,jn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Cn=/^\/?Date\((-?\d+)/i,Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tn(t){var e,n,r,i,o,a,s=t._i,c=On.exec(s)||jn.exec(s);if(c){for(v(t).iso=!0,e=0,n=kn.length;e<n;e++)if(kn[e][1].exec(c[1])){i=kn[e][0],r=!1!==kn[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(!wn.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),Yn(t)}else t._isValid=!1}function En(t,e,n,r,i,o){var a=[Pn(t),ne.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Pn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function _n(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=Ie.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 Fn(t,e,n){if(t)return An[t];if(e)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}function In(t){var e,n=Mn.exec(_n(t._i));if(n){if(e=En(n[4],n[3],n[2],n[5],n[6],n[7]),!Ln(n[1],e,t))return;t._a=e,t._tzm=Fn(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=Cn.exec(t._i);null===e?(Tn(t),!1===t._isValid&&(delete t._isValid,In(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[Xt]&&null==t._a[Ht]&&zn(t),null!=t._dayOfYear&&(o=Bn(t._a[Wt],r[Wt]),(t._dayOfYear>ye(o)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Ht]=n.getUTCMonth(),t._a[Xt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Ut]&&0===t._a[qt]&&0===t._a[Zt]&&0===t._a[Kt]&&(t._nextDay=!0,t._a[Ut]=0),t._d=(t._useUTC?xe:be).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ut]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(v(t).weekdayMismatch=!0)}}function zn(t){var e,n,r,i,o,a,s,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=Bn(e.GG,t._a[Wt],we(Zn(),1,4).year),r=Bn(e.W,1),i=Bn(e.E,1),(i<1||i>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=we(Zn(),o,a),n=Bn(e.gg,t._a[Wt],l.year),r=Bn(e.w,l.week),null!=e.d?(i=e.d,(i<0||i>6)&&(c=!0)):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(c=!0)):i=o),r<1||r>ke(n,o,a)?v(t)._overflowWeeks=!0:null!=c?v(t)._overflowWeekday=!0:(s=je(n,r,i,o,a),t._a[Wt]=s.year,t._dayOfYear=s.dayOfYear)}function Yn(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],v(t).empty=!0;var e,n,r,o,a,s,c=""+t._i,l=c.length,u=0;for(r=H(t._f,t._locale).match(B)||[],e=0;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),z[o]?(n?v(t).empty=!1:v(t).unusedTokens.push(o),Gt(o,n,t)):t._strict&&!n&&v(t).unusedTokens.push(o);v(t).charsLeftOver=l-u,c.length>0&&v(t).unusedInput.push(c),t._a[Ut]<=12&&!0===v(t).bigHour&&t._a[Ut]>0&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[Ut]=Gn(t._locale,t._a[Ut],t._meridiem),s=v(t).era,null!==s&&(t._a[Wt]=t._locale.erasConvertYear(s,t._a[Wt])),Nn(t),xn(t)}else In(t);else Tn(t)}function Gn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Vn(t){var e,n,r,i,o,a,s=!1;if(0===t._f.length)return v(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,a=!1,e=j({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Yn(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 Wn(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 Hn(t){var e=new w(xn(Xn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Xn(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)),k(e)?new w(xn(e)):(f(e)?t._d=e:a(n)?Vn(t):n?Yn(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)?Wn(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,Hn(o)}function Zn(t,e,n,r){return qn(t,e,n,r,!1)}i.createFromInputFallback=C("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=C("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=C("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 Ar(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){Y(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",""),It("Z",_t),It("ZZ",_t),zt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=fr(_t,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=(k(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(_t,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,Ar(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(Pt,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 jr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return j(e,this),e=Xn(e),e._a?(t=e._isUTC?g(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&lr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var Cr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ar(t,e){var n,r,i,o=t,a=null;return sr(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Cr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ht(a[Xt])*n,h:ht(a[Ut])*n,m:ht(a[qt])*n,s:ht(a[Zt])*n,ms:ht(cr(1e3*a[Kt]))*n}):(a=Mr.exec(t))?(n="-"===a[1]?-1:1,o={y:Tr(a[2],n),M:Tr(a[3],n),w:Tr(a[4],n),d:Tr(a[5],n),h:Tr(a[6],n),m:Tr(a[7],n),s:Tr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Pr(Zn(o.from),Zn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(t)&&c(t,"_locale")&&(r._locale=t._locale),sr(t)&&c(t,"_isValid")&&(r._isValid=t._isValid),r}function Tr(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Er(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Pr(t,e){var n;return t.isValid()&&e.isValid()?(e=pr(e,t),t.isBefore(e)?n=Er(t,e):(n=Er(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function _r(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Ar(n,r),Lr(this,i,t),this}}function Lr(t,e,n,r){var o=e._milliseconds,a=cr(e._days),s=cr(e._months);t.isValid()&&(r=null==r||r,s&&ue(t,pt(t,"Month")+s*n),a&&dt(t,"Date",pt(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,a||s))}Ar.fn=ar.prototype,Ar.invalid=or;var Fr=_r(1,"add"),Ir=_r(-1,"subtract");function Dr(t){return"string"===typeof t||t instanceof String}function Br(t){return k(t)||f(t)||Dr(t)||h(t)||Nr(t)||Rr(t)||null===t||void 0===t}function Rr(t){var e,n,r=s(t)&&!l(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;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 zr(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 Yr(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):zr(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&&(E(e[o])?e[o].call(this,n):e[o]);return this.format(a||this.localeData().calendar(o,this,Zn(n)))}function Vr(){return new w(this)}function Wr(t,e){var n=k(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 Hr(t,e){var n=k(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 Xr(t,e,n,r){var i=k(t)?t:Zn(t),o=k(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=k(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?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(t+e+n+r)}function ei(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ni(t,e){return this.isValid()&&(k(t)&&t.isValid()||Zn(t).isValid())?Ar({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ri(t){return this.from(Zn(),t)}function ii(t,e){return this.isValid()&&(k(t)&&t.isValid()||Zn(t).isValid())?Ar({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function oi(t){return this.to(Zn(),t)}function ai(t){var e;return void 0===t?this._locale._abbr:(e=mn(t),null!=e&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ci(){return this._locale}var li=1e3,ui=60*li,hi=60*ui,fi=3506328*hi;function pi(t,e){return(t%e+e)%e}function di(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function gi(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function yi(t){var e,n;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gi:di,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=pi(e+(this._isUTC?0:this.utcOffset()*ui),hi);break;case"minute":e=this._d.valueOf(),e-=pi(e,ui);break;case"second":e=this._d.valueOf(),e-=pi(e,li);break}return this._d.setTime(e),i.updateOffset(this,!0),this}function vi(t){var e,n;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gi:di,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=hi-pi(e+(this._isUTC?0:this.utcOffset()*ui),hi)-1;break;case"minute":e=this._d.valueOf(),e+=ui-pi(e,ui)-1;break;case"second":e=this._d.valueOf(),e+=li-pi(e,li)-1;break}return this._d.setTime(e),i.updateOffset(this,!0),this}function mi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function Oi(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function ji(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function wi(){return this.isValid()?this.toISOString():null}function ki(){return m(this)}function Si(){return d({},v(this))}function Ci(){return v(this).overflow}function Mi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ai(t,e){var n,r,o,a=this._eras||mn("en")._eras;for(n=0,r=a.length;n<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 Ti(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 Ei(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n}function Pi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;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 _i(){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 Fi(){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 Ii(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 zi(t,e){return e.erasNarrowRegex(t)}function Yi(t,e){return e._eraYearOrdinalRegex||Tt}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){Y(0,[t,t.length],0,e)}function Wi(t){return Ki.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Hi(t){return Ki.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Xi(){return ke(this.year(),1,4)}function Ui(){return ke(this.isoWeekYear(),1,4)}function qi(){var t=this.localeData()._week;return ke(this.year(),t.dow,t.doy)}function Zi(){var t=this.localeData()._week;return ke(this.weekYear(),t.dow,t.doy)}function Ki(t,e,n,r,i){var o;return null==t?we(this,r,i).year:(o=ke(t,r,i),e>o&&(e=o),Qi.call(this,t,e,n,r,i))}function Qi(t,e,n,r,i){var o=je(t,e,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function $i(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),It("N",Ri),It("NN",Ri),It("NNN",Ri),It("NNNN",Ni),It("NNNNN",zi),zt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?v(n).era=i:v(n).invalidEra=t}),It("y",Tt),It("yy",Tt),It("yyy",Tt),It("yyyy",Tt),It("yo",Yi),zt(["y","yy","yyy","yyyy"],Wt),zt(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,i):e[Wt]=parseInt(t,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Vi("gggg","weekYear"),Vi("ggggg","weekYear"),Vi("GGGG","isoWeekYear"),Vi("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),st("weekYear",1),st("isoWeekYear",1),It("G",Et),It("g",Et),It("GG",wt,bt),It("gg",wt,bt),It("GGGG",Mt,Ot),It("gggg",Mt,Ot),It("GGGGG",At,jt),It("ggggg",At,jt),Yt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ht(t)}),Yt(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),rt("quarter","Q"),st("quarter",7),It("Q",mt),zt("Q",function(t,e){e[Ht]=3*(ht(t)-1)}),Y("D",["DD",2],"Do","date"),rt("date","D"),st("date",9),It("D",wt),It("DD",wt,bt),It("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),zt(["D","DD"],Xt),zt("Do",function(t,e){e[Xt]=ht(t.match(wt)[0])});var Ji=ft("Date",!0);function to(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}Y("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),st("dayOfYear",4),It("DDD",Ct),It("DDDD",xt),zt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ht(t)}),Y("m",["mm",2],0,"minute"),rt("minute","m"),st("minute",14),It("m",wt),It("mm",wt,bt),zt(["m","mm"],qt);var eo=ft("Minutes",!1);Y("s",["ss",2],0,"second"),rt("second","s"),st("second",15),It("s",wt),It("ss",wt,bt),zt(["s","ss"],Zt);var no,ro,io=ft("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),st("millisecond",16),It("S",Ct,mt),It("SS",Ct,bt),It("SSS",Ct,xt),no="SSSS";no.length<=9;no+="S")It(no,Tt);function oo(t,e){e[Kt]=ht(1e3*("0."+t))}for(no="S";no.length<=9;no+="S")zt(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=ft("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var co=w.prototype;function lo(t){return Zn(1e3*t)}function uo(){return Zn.apply(null,arguments).parseZone()}function ho(t){return t}co.add=Fr,co.calendar=Gr,co.clone=Vr,co.diff=Kr,co.endOf=vi,co.format=ei,co.from=ni,co.fromNow=ri,co.to=ii,co.toNow=oi,co.get=gt,co.invalidAt=Ci,co.isAfter=Wr,co.isBefore=Hr,co.isBetween=Xr,co.isSame=Ur,co.isSameOrAfter=qr,co.isSameOrBefore=Zr,co.isValid=ki,co.lang=si,co.locale=ai,co.localeData=ci,co.max=Qn,co.min=Kn,co.parsingFlags=Si,co.set=yt,co.startOf=yi,co.subtract=Ir,co.toArray=Oi,co.toObject=ji,co.toDate=xi,co.toISOString=Jr,co.inspect=ti,"undefined"!==typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=wi,co.toString=$r,co.unix=bi,co.valueOf=mi,co.creationData=Mi,co.eraName=Pi,co.eraNarrow=_i,co.eraAbbr=Li,co.eraYear=Fi,co.year=ve,co.isLeapYear=me,co.weekYear=Wi,co.isoWeekYear=Hi,co.quarter=co.quarters=$i,co.month=he,co.daysInMonth=fe,co.week=co.weeks=Te,co.isoWeek=co.isoWeeks=Ee,co.weeksInYear=qi,co.weeksInWeekYear=Zi,co.isoWeeksInYear=Xi,co.isoWeeksInISOWeekYear=Ui,co.date=Ji,co.day=co.days=He,co.weekday=Xe,co.isoWeekday=Ue,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=eo,co.second=co.seconds=io,co.millisecond=co.milliseconds=ro,co.utcOffset=gr,co.utc=vr,co.local=mr,co.parseZone=br,co.hasAlignedHourOffset=xr,co.isDST=Or,co.isLocal=wr,co.isUtcOffset=kr,co.isUtc=Sr,co.isUTC=Sr,co.zoneAbbr=ao,co.zoneName=so,co.dates=C("dates accessor is deprecated. Use date instead.",Ji),co.months=C("months accessor is deprecated. Use month instead",he),co.years=C("years accessor is deprecated. Use year instead",ve),co.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",jr);var fo=L.prototype;function po(t,e,n,r){var i=mn(),o=g().set(r,e);return i[n](o,t)}function go(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return po(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(t,r,n,"month");return i}function yo(t,e,n,r){"boolean"===typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var i,o=mn(),a=t?o._week.dow:0,s=[];if(null!=n)return po(e,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(e,(i+a)%7,r,"day");return s}function vo(t,e){return go(t,e,"months")}function mo(t,e){return go(t,e,"monthsShort")}function bo(t,e,n){return yo(t,e,n,"weekdays")}function xo(t,e,n){return yo(t,e,n,"weekdaysShort")}function Oo(t,e,n){return yo(t,e,n,"weekdaysMin")}fo.calendar=I,fo.longDateFormat=U,fo.invalidDate=Z,fo.ordinal=$,fo.preparse=ho,fo.postformat=ho,fo.relativeTime=tt,fo.pastFuture=et,fo.set=P,fo.eras=Ai,fo.erasParse=Ti,fo.erasConvertYear=Ei,fo.erasAbbrRegex=Di,fo.erasNameRegex=Ii,fo.erasNarrowRegex=Bi,fo.months=ae,fo.monthsShort=se,fo.monthsParse=le,fo.monthsRegex=de,fo.monthsShortRegex=pe,fo.week=Se,fo.firstDayOfYear=Ae,fo.firstDayOfWeek=Me,fo.weekdays=ze,fo.weekdaysMin=Ge,fo.weekdaysShort=Ye,fo.weekdaysParse=We,fo.weekdaysRegex=qe,fo.weekdaysShortRegex=Ze,fo.weekdaysMinRegex=Ke,fo.isPM=nn,fo.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===ht(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),i.lang=C("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=C("moment.langData is deprecated. Use moment.localeData instead.",mn);var jo=Math.abs;function wo(){var t=this._data;return this._milliseconds=jo(this._milliseconds),this._days=jo(this._days),this._months=jo(this._months),t.milliseconds=jo(t.milliseconds),t.seconds=jo(t.seconds),t.minutes=jo(t.minutes),t.hours=jo(t.hours),t.months=jo(t.months),t.years=jo(t.years),this}function ko(t,e,n,r){var i=Ar(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function So(t,e){return ko(this,t,e,1)}function Co(t,e){return ko(this,t,e,-1)}function Mo(t){return t<0?Math.floor(t):Math.ceil(t)}function Ao(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Mo(Eo(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=ut(o/1e3),c.seconds=t%60,e=ut(t/60),c.minutes=e%60,n=ut(e/60),c.hours=n%24,a+=ut(n/24),i=ut(To(a)),s+=i,a-=Mo(Eo(i)),r=ut(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function To(t){return 4800*t/146097}function Eo(t){return 146097*t/4800}function Po(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=it(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+To(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Eo(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function _o(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ht(this._months/12):NaN}function Lo(t){return function(){return this.as(t)}}var Fo=Lo("ms"),Io=Lo("s"),Do=Lo("m"),Bo=Lo("h"),Ro=Lo("d"),No=Lo("w"),zo=Lo("M"),Yo=Lo("Q"),Go=Lo("y");function Vo(){return Ar(this)}function Wo(t){return t=it(t),this.isValid()?this[t+"s"]():NaN}function Ho(t){return function(){return this.isValid()?this._data[t]:NaN}}var Xo=Ho("milliseconds"),Uo=Ho("seconds"),qo=Ho("minutes"),Zo=Ho("hours"),Ko=Ho("days"),Qo=Ho("months"),$o=Ho("years");function Jo(){return ut(this.days()/7)}var ta=Math.round,ea={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function ra(t,e,n,r){var i=Ar(t).abs(),o=ta(i.as("s")),a=ta(i.as("m")),s=ta(i.as("h")),c=ta(i.as("d")),l=ta(i.as("M")),u=ta(i.as("w")),h=ta(i.as("y")),f=o<=n.ss&&["s",o]||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=wo,ua.add=So,ua.subtract=Co,ua.as=Po,ua.asMilliseconds=Fo,ua.asSeconds=Io,ua.asMinutes=Do,ua.asHours=Bo,ua.asDays=Ro,ua.asWeeks=No,ua.asMonths=zo,ua.asQuarters=Yo,ua.asYears=Go,ua.valueOf=_o,ua._bubble=Ao,ua.clone=Vo,ua.get=Wo,ua.milliseconds=Xo,ua.seconds=Uo,ua.minutes=qo,ua.hours=Zo,ua.days=Ko,ua.weeks=Jo,ua.months=Qo,ua.years=$o,ua.humanize=aa,ua.toISOString=la,ua.toString=la,ua.toJSON=la,ua.locale=ai,ua.localeData=ci,ua.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ua.lang=si,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),It("x",Et),It("X",Lt),zt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),zt("x",function(t,e,n){n._d=new Date(ht(t))}),i.version="2.29.1",o(Zn),i.fn=co,i.min=Jn,i.max=tr,i.now=er,i.utc=g,i.unix=lo,i.months=vo,i.isDate=f,i.locale=gn,i.invalid=b,i.duration=Ar,i.isMoment=k,i.weekdays=bo,i.parseZone=uo,i.localeData=mn,i.isDuration=sr,i.monthsShort=mo,i.weekdaysMin=Oo,i.defineLocale=yn,i.updateLocale=vn,i.locales=bn,i.weekdaysShort=xo,i.normalizeUnits=it,i.relativeTimeRounding=ia,i.relativeTimeThreshold=oa,i.calendarFormat=Yr,i.prototype=co,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})}).call(this,n("YuTi")(t))},wq2r:function(t,e,n){"use strict";var r=n("mrSG"),i=n("aFU3"),o=n("R5nb"),a=n("9eUa"),s=n("iTfj"),c=n("cyZq"),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.onCanvasChange=function(t){Object(a["h"])(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(a["a"])(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];Object(s["each"])(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=Math.min.apply(null,e),o=Math.max.apply(null,e),a=Math.min.apply(null,n),l=Math.max.apply(null,n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:l,width:o-i,height:l-a};var u=this.cfg.canvas;if(u){var h=u.getViewRange();this.set("isInView",Object(c["f"])(r,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),Object(a["a"])(t,this),this._applyClip(t,this.getClip()),Object(a["d"])(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i["AbstractGroup"]);e["a"]=l},wtjL:function(t,e,n){"use strict";var r=n("Vwaf").HTML_TAG_RE;function i(t){var e=32|t;return e>=97&&e<=122}t.exports=function(t,e){var n,o,a,s,c=t.pos;return!!t.md.options.html&&(a=t.posMax,!(60!==t.src.charCodeAt(c)||c+2>=a)&&(n=t.src.charCodeAt(c+1),!(33!==n&&63!==n&&47!==n&&!i(n))&&(o=t.src.slice(c).match(r),!!o&&(e||(s=t.push("html_inline","",0),s.content=t.src.slice(c,c+o[0].length)),t.pos+=o[0].length,!0))))}},x3EW:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("iTfj"),o=n("MeYt"),a=n("L16w"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:a["a"].lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),r=e.slice(0).reverse(),i=this.getGridPath(r,!0),o=this.get("closed");return o?n=n.concat(i):(i[0][0]="L",n=n.concat(i),n.push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),r=this.get("items"),o=this.get("alternateColor"),a=null;Object(i["each"])(r,function(s,c){var l=s.id||c;if(n){var u=e.getPathStyle();u=Object(i["isFunction"])(u)?u(s,c,r):u;var h=e.getElementId("line-"+l),f=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:h,attrs:Object(i["mix"])({path:f},u)})}if(o&&c>0){var p=e.getElementId("region-"+l),d=c%2===0;if(Object(i["isString"])(o))d&&e.drawAlternateRegion(p,t,a.points,s.points,o);else{var g=d?o[1]:o[0];e.drawAlternateRegion(p,t,a.points,s.points,g)}}a=s})},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var o=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:o,fill:i}})},e}(o["a"]),c=s;function l(t,e,n,r){var i=n-t,o=r-e;return Math.sqrt(i*i+o*o)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),o=[];if(t.length)if("circle"===n){var a=this.get("center"),s=t[0],c=l(a.x,a.y,s.x,s.y),u=e?0:1;r?(o.push(["M",a.x,a.y-c]),o.push(["A",c,c,0,0,u,a.x,a.y+c]),o.push(["A",c,c,0,0,u,a.x,a.y-c]),o.push(["Z"])):Object(i["each"])(t,function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["A",c,c,0,0,u,t.x,t.y])})}else Object(i["each"])(t,function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["L",t.x,t.y])}),r&&o.push(["Z"]);return o},e}(c),h=u,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return Object(i["each"])(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(c),p=f;n.d(e,"Base",function(){return c}),n.d(e,"Circle",function(){return h}),n.d(e,"Line",function(){return p})},y1pI:function(t,e,n){var r=n("ljhN");function i(t,e){var n=t.length;while(n--)if(r(t[n][0],e))return n;return-1}t.exports=i},y753:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa");function c(t){var e=t.chart,n=t.options,i=n.data,a=n.lineStyle,c=n.color,l=n.point,u=n.area;e.data(i);var h=Object(o["b"])({},t,{options:{line:{style:a,color:c},point:l?Object(r["a"])({color:c},l):l,area:u?Object(r["a"])({color:c},u):u,label:void 0}}),f=Object(o["b"])({},h,{options:{tooltip:!1}});return Object(s["d"])(h),Object(s["e"])(f),Object(s["a"])(f),t}function l(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return Object(o["e"])(Object(a["f"])((e={},e[s]=r,e[c]=i,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,o=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:o}),t}function h(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(r,i),e.axis(o,a),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"line");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o["r"])(l)})}else s.label(!1);return t}function p(t){return Object(o["e"])(c,l,a["j"],u,h,a["d"],a["k"],f,a["c"],a["a"],Object(a["b"])())(t)}var d=n("kXyF"),g=n("iTfj"),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),i=n.shared,o=n.title,a=t.prototype.getTooltipItems.call(this,e);if(a.length>0){var s=this.view.geometries[0],c=s.dataArray,l=a[0].name,u=[];return c.forEach(function(t){t.forEach(function(t){var e=d["f"].getTooltipItems(t,s),n=e[0];if(!i&&n&&n.name===l){var a=Object(g["isNil"])(o)?l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}else if(i&&n){a=Object(g["isNil"])(o)?n.name||l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}})}),u}return[]},e}(d["e"]);Object(d["j"])("radar-tooltip",y);var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,e=this.getTooltipController();e.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(d["a"]);Object(d["i"])("radar-tooltip",v),Object(d["k"])("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return p}})(i["b"])},yKnv:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s,c=e.length;for(n=c-1;n>=0;n--)r=e[n],95!==r.marker&&42!==r.marker||-1!==r.end&&(i=e[r.end],s=n>0&&e[n-1].end===r.end+1&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1&&e[n-1].marker===r.marker,a=String.fromCharCode(r.marker),o=t.tokens[r.token],o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",o=t.tokens[i.token],o.type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}t.exports.tokenize=function(t,e){var n,r,i,o=t.pos,a=t.src.charCodeAt(o);if(e)return!1;if(95!==a&&42!==a)return!1;for(r=t.scanDelims(t.pos,42===a),n=0;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)}},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(!w[n]){if(!e.extractEvents)throw Error(a(97,t));for(var r in w[n]=e,n=e.eventTypes,n){var i=void 0,o=n[r],s=e,c=r;if(k.hasOwnProperty(c))throw Error(a(99,c));k[c]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&j(l[i],s,c);i=!0}else o.registrationName?(j(o.registrationName,s,c),i=!0):i=!1;if(!i)throw Error(a(98,r,t))}}}}function j(t,e,n){if(S[t])throw Error(a(100,t));S[t]=e,C[t]=e.eventTypes[n].dependencies}var w=[],k={},S={},C={};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 A=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),T=null,E=null,P=null;function _(t){if(t=y(t)){if("function"!==typeof T)throw Error(a(280));var e=t.stateNode;e&&(e=g(e),T(t.stateNode,t.type,e))}}function L(t){E?P?P.push(t):P=[t]:E=t}function F(){if(E){var t=E,e=P;if(P=E=null,_(t),e)for(t=0;t<e.length;t++)_(e[t])}}function I(t,e){return t(e)}function D(t,e,n,r,i){return t(e,n,r,i)}function B(){}var R=I,N=!1,z=!1;function Y(){null===E&&null===P||(B(),F())}function G(t,e,n){if(z)return t(e,n);z=!0;try{return R(t,e,n)}finally{z=!1,Y()}}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]*$/,W=Object.prototype.hasOwnProperty,H={},X={};function U(t){return!!W.call(X,t)||!W.call(H,t)&&(V.test(t)?X[t]=!0:(H[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 jt(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 wt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function kt(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function St(t){var e=kt(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 Ct(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=kt(t)?t.checked?"true":"false":t.value),t=r,t!==n&&(e.setValue(t),!0)}function At(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 Tt(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=wt(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 Et(t,e){e=e.checked,null!=e&&et(t,"checked",e,!1)}function Pt(t,e){Et(t,e);var n=wt(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,wt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function _t(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 Ft(t){var e="";return r.Children.forEach(t,function(t){null!=t&&(e+=t)}),e}function It(t,e){return t=i({children:void 0},e),(e=Ft(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=""+wt(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:wt(n)}}function Nt(t,e){var n=wt(e.value),r=wt(e.defaultValue);null!=n&&(n=""+n,n!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function zt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var Yt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Gt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Gt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Wt,Ht=function(t){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!==Yt.svg||"innerHTML"in t)t.innerHTML=e;else{for(Wt=Wt||document.createElement("div"),Wt.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Wt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Xt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function Ut(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var qt={animationend:Ut("Animation","AnimationEnd"),animationiteration:Ut("Animation","AnimationIteration"),animationstart:Ut("Animation","AnimationStart"),transitionend:Ut("Transition","TransitionEnd")},Zt={},Kt={};function Qt(t){if(Zt[t])return Zt[t];if(!qt[t])return t;var e,n=qt[t];for(e in n)if(n.hasOwnProperty(e)&&e in Kt)return Zt[t]=n[e];return t}A&&(Kt=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);var $t=Qt("animationend"),Jt=Qt("animationiteration"),te=Qt("animationstart"),ee=Qt("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=new("function"===typeof WeakMap?WeakMap:Map);function ie(t){var e=re.get(t);return void 0===e&&(e=new Map,re.set(t,e)),e}function oe(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{e=t,0!==(1026&e.effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function ae(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(t=t.alternate,null!==t&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function se(t){if(oe(t)!==t)throw Error(a(188))}function ce(t){var e=t.alternate;if(!e){if(e=oe(t),null===e)throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(r=i.return,null!==r){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return se(i),t;if(o===r)return se(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}function le(t){if(t=ce(t),!t)return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function ue(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function he(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var fe=null;function pe(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;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(!A)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=Yn(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<w.length;c++){var l=w[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 je,we,ke,Se=!1,Ce=[],Me=null,Ae=null,Te=null,Ee=new Map,Pe=new Map,_e=[],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(" "),Fe="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ie(t,e){var n=ie(e);Le.forEach(function(t){Oe(t,e,n)}),Fe.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":Ae=null;break;case"mouseover":case"mouseout":Te=null;break;case"pointerover":case"pointerout":Ee.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pe.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&&we(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 Ae=Re(Ae,t,e,n,r,i),!0;case"mouseover":return Te=Re(Te,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ee.set(o,Re(Ee.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Pe.set(o,Re(Pe.get(o)||null,t,e,n,r,i)),!0}return!1}function ze(t){var e=Yn(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(){ke(n)})}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function Ye(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&&we(n),t.blockedOn=e,!1}return!0}function Ge(t,e,n){Ye(t)&&n.delete(e)}function Ve(){for(Se=!1;0<Ce.length;){var t=Ce[0];if(null!==t.blockedOn){t=Gn(t.blockedOn),null!==t&&je(t);break}var e=cn(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);null!==e?t.blockedOn=e:Ce.shift()}null!==Me&&Ye(Me)&&(Me=null),null!==Ae&&Ye(Ae)&&(Ae=null),null!==Te&&Ye(Te)&&(Te=null),Ee.forEach(Ge),Pe.forEach(Ge)}function We(t,e){t.blockedOn===e&&(t.blockedOn=null,Se||(Se=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ve)))}function He(t){function e(e){return We(e,t)}if(0<Ce.length){We(Ce[0],t);for(var n=1;n<Ce.length;n++){var r=Ce[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Me&&We(Me,t),null!==Ae&&We(Ae,t),null!==Te&&We(Te,t),Ee.forEach(e),Pe.forEach(e),n=0;n<_e.length;n++)r=_e[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<_e.length&&(n=_e[0],null===n.blockedOn);)ze(n),null===n.blockedOn&&_e.shift()}var Xe={},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),Xe[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)||Y()}}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<Ce.length&&-1<Le.indexOf(t))t=De(null,t,e,n,r),Ce.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),Ce.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=Yn(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=Yt.html;function vn(t,e){t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument;var n=ie(t);e=C[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 jn(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?jn(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function wn(){for(var t=window,e=bn();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;t=e.contentWindow,e=bn(t.document)}return e}function kn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var Sn="$",Cn="/$",Mn="$?",An="$!",Tn=null,En=null;function Pn(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function _n(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Ln="function"===typeof setTimeout?setTimeout:void 0,Fn="function"===typeof clearTimeout?clearTimeout:void 0;function In(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Dn(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if(n===Sn||n===An||n===Mn){if(0===e)return t;e--}else n===Cn&&e++}t=t.previousSibling}return null}var Bn=Math.random().toString(36).slice(2),Rn="__reactInternalInstance$"+Bn,Nn="__reactEventHandlers$"+Bn,zn="__reactContainere$"+Bn;function Yn(t){var e=t[Rn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[zn]||n[Rn]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Dn(t);null!==t;){if(n=t[Rn])return n;t=Dn(t)}return e}t=n,n=t.parentNode}return null}function Gn(t){return t=t[Rn]||t[zn],!t||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function Vn(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function Wn(t){return t[Nn]||null}function Hn(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Xn(t,e){var n=t.stateNode;if(!n)return null;var r=g(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!("button"===t||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(a(231,e,typeof n));return n}function Un(t,e,n){(e=Xn(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=ue(n._dispatchListeners,e),n._dispatchInstances=ue(n._dispatchInstances,t))}function qn(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=Hn(e);for(e=n.length;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=Xn(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=A&&"CompositionEvent"in window,fr=null;A&&"documentMode"in document&&(fr=document.documentMode);var pr=A&&"TextEvent"in window&&!fr,dr=A&&(!hr||fr&&8<fr&&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 jr(t,e){if(xr)return"compositionend"===t||!hr&&mr(t,e)?(t=er(),tr=Jn=$n=null,xr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<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 wr={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):jr(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]}},kr={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?!!kr[t.type]:"textarea"===e}var Cr={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(Cr.change,t,e,n),t.type="change",L(n),Qn(t),t}var Ar=null,Tr=null;function Er(t){de(t)}function Pr(t){var e=Vn(t);if(Mt(e))return t}function _r(t,e){if("change"===t)return e}var Lr=!1;function Fr(){Ar&&(Ar.detachEvent("onpropertychange",Ir),Tr=Ar=null)}function Ir(t){if("value"===t.propertyName&&Pr(Tr))if(t=Mr(Tr,t,ge(t)),N)de(t);else{N=!0;try{I(Er,t)}finally{N=!1,Y()}}}function Dr(t,e,n){"focus"===t?(Fr(),Ar=e,Tr=n,Ar.attachEvent("onpropertychange",Ir)):"blur"===t&&Fr()}function Br(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Pr(Tr)}function Rr(t,e){if("click"===t)return Pr(e)}function Nr(t,e){if("input"===t||"change"===t)return Pr(e)}A&&(Lr=ye("input")&&(!document.documentMode||9<document.documentMode));var zr={eventTypes:Cr,_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=_r;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)}},Yr=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 Wr(){return Vr}var Hr=0,Xr=0,Ur=!1,qr=!1,Zr=Yr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Wr,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=Hr;return Hr=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=Xr;return Xr=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)?Yn(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=Hn(t))a++;for(t=0,e=u;e;e=Hn(e))t++;for(;0<a-t;)c=Hn(c),a--;for(;0<t-a;)u=Hn(u),t--;for(;a--;){if(c===u||c===u.alternate)break t;c=Hn(c),u=Hn(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=Hn(r)}for(r=[];h&&h!==u;){if(a=h.alternate,null!==a&&a===u)break;r.push(h),h=Hn(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=A&&"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&&kn(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),si&&ni(si,n)?null:(si=n,t=ir.getPooled(ii.select,ai,t,e),t.type="select",t.target=oi,Qn(t),t))}var ui={eventTypes:ii,extractEvents:function(t,e,n,r,i,o){if(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(o=!i)){t:{i=ie(i),o=C.onSelect;for(var a=0;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=Yr.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=Yr.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:Wr,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=Yr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Wr}),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}),ji={eventTypes:Xe,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=Yr;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 wi=Gn;g=Wn,y=wi,v=Vn,M({SimpleEventPlugin:ji,EnterLeaveEventPlugin:$r,ChangeEventPlugin:zr,SelectEventPlugin:ui,BeforeInputEventPlugin:wr});var ki=[],Si=-1;function Ci(t){0>Si||(t.current=ki[Si],ki[Si]=null,Si--)}function Mi(t,e){Si++,ki[Si]=t.current,t.current=e}var Ai={},Ti={current:Ai},Ei={current:!1},Pi=Ai;function _i(t,e){var n=t.type.contextTypes;if(!n)return Ai;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function Li(t){return t=t.childContextTypes,null!==t&&void 0!==t}function Fi(){Ci(Ei),Ci(Ti)}function Ii(t,e,n){if(Ti.current!==Ai)throw Error(a(168));Mi(Ti,e),Mi(Ei,n)}function Di(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in t))throw Error(a(108,Ot(e)||"Unknown",o));return i({},n,{},r)}function Bi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ai,Pi=Ti.current,Mi(Ti,t),Mi(Ei,Ei.current),!0}function Ri(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Di(t,e,Pi),r.__reactInternalMemoizedMergedChildContext=t,Ci(Ei),Ci(Ti),Mi(Ti,t)):Ci(Ei),Mi(Ei,n)}var Ni=o.unstable_runWithPriority,zi=o.unstable_scheduleCallback,Yi=o.unstable_cancelCallback,Gi=o.unstable_requestPaint,Vi=o.unstable_now,Wi=o.unstable_getCurrentPriorityLevel,Hi=o.unstable_ImmediatePriority,Xi=o.unstable_UserBlockingPriority,Ui=o.unstable_NormalPriority,qi=o.unstable_LowPriority,Zi=o.unstable_IdlePriority,Ki={},Qi=o.unstable_shouldYield,$i=void 0!==Gi?Gi:function(){},Ji=null,to=null,eo=!1,no=Vi(),ro=1e4>no?Vi:function(){return Vi()-no};function io(){switch(Wi()){case Hi:return 99;case Xi:return 98;case Ui:return 97;case qi:return 96;case Zi:return 95;default:throw Error(a(332))}}function oo(t){switch(t){case 99:return Hi;case 98:return Xi;case 97:return Ui;case 96:return qi;case 95:return Zi;default:throw Error(a(332))}}function ao(t,e){return t=oo(t),Ni(t,e)}function so(t,e,n){return t=oo(t),zi(t,e,n)}function co(t){return null===Ji?(Ji=[t],to=zi(Hi,uo)):Ji.push(t),Ki}function lo(){if(null!==to){var t=to;to=null,Yi(t)}uo()}function uo(){if(!eo&&null!==Ji){eo=!0;var t=0;try{var e=Ji;ao(99,function(){for(;t<e.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)),zi(Hi,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;Ci(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 jo(t,e){if(vo!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(vo=t,e=1073741823),e={context:t,observedBits:e,next:null},null===yo){if(null===go)throw Error(a(308));yo=e,go.dependencies={expirationTime:0,firstContext:e,responders:null}}else yo=yo.next=e;return t._currentValue}var wo=!1;function ko(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function So(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function Co(t,e){return t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null},t.next=t}function Mo(t,e){if(t=t.updateQueue,null!==t){t=t.shared;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function Ao(t,e){var n=t.alternate;null!==n&&So(n,t),t=t.updateQueue,n=t.baseQueue,null===n?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function To(t,e,n,r){var o=t.updateQueue;wo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,c=t.alternate,null!==c&&(c=c.updateQueue,null!==c&&(c.baseQueue=s))}if(null!==a){c=a.next;var l=o.baseState,u=0,h=null,f=null,p=null;if(null!==c){var d=c;do{if(s=d.expirationTime,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:wo=!0}}null!==d.callback&&(t.effectTag|=32,s=o.effects,null===s?o.effects=[d]:s.push(d))}if(d=d.next,null===d||d===c){if(s=o.shared.pending,null===s)break;d=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}while(1)}null===p?h=l:p.next=f,o.baseState=h,o.baseQueue=p,Bc(u),t.expirationTime=u,t.memoizedState=l}}function Eo(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;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 Po=tt.ReactCurrentBatchConfig,_o=(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 Fo={isMounted:function(t){return!!(t=t._reactInternalFiber)&&oe(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=jc(),i=Po.suspense;r=wc(r,t,i),i=Co(r,i),i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Mo(t,i),kc(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=jc(),i=Po.suspense;r=wc(r,t,i),i=Co(r,i),i.tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Mo(t,i),kc(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=jc(),r=Po.suspense;n=wc(n,t,r),r=Co(n,r),r.tag=2,void 0!==e&&null!==e&&(r.callback=e),Mo(t,r),kc(t,n)}};function Io(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=Ai,o=e.contextType;return"object"===typeof o&&null!==o?o=jo(o):(i=Li(e)?Pi:Ti.current,r=e.contextTypes,o=(r=null!==r&&void 0!==r)?_i(t,i):Ai),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=Fo,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&&Fo.enqueueReplaceState(e,e.state,null)}function Ro(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=_o,ko(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=jo(o):(o=Li(e)?Pi:Ti.current,i.context=_i(t,o)),To(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&&Fo.enqueueReplaceState(i,i.state,null),To(t,n,i,r),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.effectTag|=4)}var No=Array.isArray;function zo(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===_o&&(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 Yo(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=zo(t,e,n),r.return=t,r):(r=al(n.type,n.key,n.props,null,t.mode,r),r.ref=zo(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=zo(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;Yo(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);Yo(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);Yo(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=zo(t,l,o),r.return=t,t=r;break t}}n(t,l);break}e(t,l),l=l.sibling}o.type===at?(r=sl(o.props.children,t.mode,c,o.key),r.return=t,t=r):(c=al(o.type,o.key,o.props,null,t.mode,c),c.ref=zo(t,r,o),c.return=t,t=c)}return s(t);case ot:t:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),r=i(r,o.children||[]),r.return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}r=ll(o,t.mode,c),r.return=t,t=r}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),r=i(r,o),r.return=t,t=r):(n(t,r),r=cl(o,t.mode,c),r.return=t,t=r),s(t);if(No(o))return g(t,r,o,c);if(bt(o))return y(t,r,o,c);if(u&&Yo(t,o),"undefined"===typeof o&&!l)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return n(t,r)}}var Vo=Go(!0),Wo=Go(!1),Ho={},Xo={current:Ho},Uo={current:Ho},qo={current:Ho};function Zo(t){if(t===Ho)throw Error(a(174));return t}function Ko(t,e){switch(Mi(qo,e),Mi(Uo,t),Mi(Xo,Ho),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Vt(null,"");break;default:t=8===t?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Vt(e,t)}Ci(Xo),Mi(Xo,e)}function Qo(){Ci(Xo),Ci(Uo),Ci(qo)}function $o(t){Zo(qo.current);var e=Zo(Xo.current),n=Vt(e,t.type);e!==n&&(Mi(Uo,t),Mi(Xo,n))}function Jo(t){Uo.current===t&&(Ci(Xo),Ci(Uo))}var ta={current:0};function ea(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Mn||n.data===An))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function na(t,e){return{responder:t,props:e}}var ra=tt.ReactCurrentDispatcher,ia=tt.ReactCurrentBatchConfig,oa=0,aa=null,sa=null,ca=null,la=!1;function ua(){throw Error(a(321))}function ha(t,e){if(null===e)return!1;for(var n=0;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?Ia: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=Fa,e=null!==sa&&null!==sa.next,oa=0,ca=sa=aa=null,la=!1,e)throw Error(a(300));return t}function pa(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?aa.memoizedState=ca=t:ca=ca.next=t,ca}function da(){if(null===sa){var t=aa.alternate;t=null!==t?t.memoizedState:null}else t=sa.next;var e=null===ca?aa.memoizedState:ca.next;if(null!==e)ca=e,sa=t;else{if(null===t)throw Error(a(310));sa=t,t={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===ca?aa.memoizedState=ca=t:ca=ca.next=t}return ca}function ga(t,e){return"function"===typeof e?e(t):e}function ya(t){var e=da(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=sa,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var c=s=o=null,l=i;do{var u=l.expirationTime;if(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 ja(t,e,n,r){var i=da();r=void 0===r?null:r;var o=void 0;if(null!==sa){var a=sa.memoizedState;if(o=a.destroy,null!==r&&ha(r,a.deps))return void ba(e,n,o,r)}aa.effectTag|=t,i.memoizedState=ba(1|e,n,o,r)}function wa(t,e){return Oa(516,4,t,e)}function ka(t,e){return ja(516,4,t,e)}function Sa(t,e){return ja(4,2,t,e)}function Ca(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Ma(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,ja(4,2,Ca.bind(null,e,t),n)}function Aa(){}function Ta(t,e){return pa().memoizedState=[t,void 0===e?null:e],t}function Ea(t,e){var n=da();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ha(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Pa(t,e){var n=da();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ha(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function _a(t,e,n){var r=io();ao(98>r?98:r,function(){t(!0)}),ao(97<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=jc(),i=Po.suspense;r=wc(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){}kc(t,r)}}var Fa={readContext:jo,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},Ia={readContext:jo,useCallback:Ta,useContext:jo,useEffect:wa,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,Oa(4,2,Ca.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:Aa,useResponder:na,useDeferredValue:function(t,e){var n=ma(t),r=n[0],i=n[1];return wa(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],[Ta(_a.bind(null,e,t),[e,t]),n]}},Da={readContext:jo,useCallback:Ea,useContext:jo,useEffect:ka,useImperativeHandle:Ma,useLayoutEffect:Sa,useMemo:Pa,useReducer:ya,useRef:xa,useState:function(){return ya(ga)},useDebugValue:Aa,useResponder:na,useDeferredValue:function(t,e){var n=ya(ga),r=n[0],i=n[1];return ka(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],[Ea(_a.bind(null,e,t),[e,t]),n]}},Ba={readContext:jo,useCallback:Ea,useContext:jo,useEffect:ka,useImperativeHandle:Ma,useLayoutEffect:Sa,useMemo:Pa,useReducer:va,useRef:xa,useState:function(){return va(ga)},useDebugValue:Aa,useResponder:na,useDeferredValue:function(t,e){var n=va(ga),r=n[0],i=n[1];return ka(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],[Ea(_a.bind(null,e,t),[e,t]),n]}},Ra=null,Na=null,za=!1;function Ya(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(za){var e=Na;if(e){var n=e;if(!Ga(t,e)){if(e=In(n.nextSibling),!e||!Ga(t,e))return t.effectTag=-1025&t.effectTag|2,za=!1,void(Ra=t);Ya(Ra,n)}Ra=t,Na=In(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,za=!1,Ra=t}}function Wa(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;Ra=t}function Ha(t){if(t!==Ra)return!1;if(!za)return Wa(t),za=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!_n(e,t.memoizedProps))for(e=Na;e;)Ya(t,e),e=In(e.nextSibling);if(Wa(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===Cn){if(0===e){Na=In(t.nextSibling);break t}e--}else n!==Sn&&n!==An&&n!==Mn||e++}t=t.nextSibling}Na=null}}else Na=Ra?In(t.stateNode.nextSibling):null;return!0}function Xa(){Na=Ra=null,za=!1}var Ua=tt.ReactCurrentOwner,qa=!1;function Za(t,e,n,r){e.child=null===t?Wo(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)?Pi:Ti.current;return o=_i(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=jo(l):(l=Li(n)?Pi:Ti.current,l=_i(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),wo=!1;var f=e.memoizedState;a.state=f,To(e,r,a,i),c=e.memoizedState,s!==r||f!==c||Ei.current||wo?("function"===typeof u&&(Lo(e,n,u,r),c=e.memoizedState),(s=wo||Io(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=jo(l):(l=Li(n)?Pi:Ti.current,l=_i(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),wo=!1,c=e.memoizedState,a.state=c,To(e,r,a,i),f=e.memoizedState,s!==r||c!==f||Ei.current||wo?("function"===typeof u&&(Lo(e,n,u,r),f=e.memoizedState),(u=wo||Io(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?Ii(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Ii(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=Wo(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)&&Fi(),null;case 3:return Qo(),Ci(Ei),Ci(Ti),n=e.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==t&&null!==t.child||!Ha(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(Xo.current),Ha(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":Tt(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":Ct(r),_t(r,s,!0);break;case"textarea":Ct(r),zt(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":Tt(t,r),l=At(t,r),nn("invalid",t),vn(n,"onChange");break;case"option":l=It(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&&Ht(t,h)):"children"===s?"string"===typeof h?("textarea"!==o||""!==h)&&Xt(t,h):"number"===typeof h&&Xt(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":Ct(t),_t(t,r,!1);break;case"textarea":Ct(t),zt(t);break;case"option":null!=r.value&&t.setAttribute("value",""+wt(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)}Pn(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(Xo.current),Ha(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 Ci(ta),r=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=n,e):(n=null!==r,r=!1,null===t?void 0!==e.memoizedProps.fallback&&Ha(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===Xs&&(nc=Zs):(nc!==Xs&&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)&&Fi(),null;case 19:if(Ci(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!==Xs||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)&&Fi();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Qo(),Ci(Ei),Ci(Ti),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 Ci(ta),e=t.effectTag,4096&e?(t.effectTag=-4097&e|64,t):null;case 19:return Ci(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:jt(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(Xo.current),t=null,n){case"input":a=At(l,a),r=At(l,r),t=[];break;case"option":a=It(l,a),r=It(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=jt(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 js(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 ws(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 ks(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 ks(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&&Eo(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}Eo(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.effectTag&&Pn(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&&He(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function Cs(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:_s(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 As(t){return 5===t.tag||3===t.tag||4===t.tag}function Ts(t){t:{for(var e=t.return;null!==e;){if(As(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&&(Xt(e,""),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||As(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?Es(t,n,e):Ps(t,n,e)}function Es(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(Es(t,e,n),t=t.sibling;null!==t;)Es(t,e,n),t=t.sibling}function Ps(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(Ps(t,e,n),t=t.sibling;null!==t;)Ps(t,e,n),t=t.sibling}function _s(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(Cs(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(Cs(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 ws(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&&Et(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?Ht(n,c):"children"===s?Xt(n,c):et(n,s,c,e)}switch(t){case"input":Pt(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,He(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 Fs(e);case 19:return void Fs(e);case 17:return}throw Error(a(163))}function Fs(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 Is="function"===typeof WeakMap?WeakMap:Map;function Ds(t,e,n){n=Co(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=Co(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,zs=tt.ReactCurrentDispatcher,Ys=tt.ReactCurrentOwner,Gs=0,Vs=8,Ws=16,Hs=32,Xs=0,Us=1,qs=2,Zs=3,Ks=4,Qs=5,$s=Gs,Js=null,tc=null,ec=0,nc=Xs,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 jc(){return($s&(Ws|Hs))!==Gs?1073741821-(ro()/10|0):0!==Oc?Oc:Oc=1073741821-(ro()/10|0)}function wc(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&Ws)!==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 kc(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&(Ws|Hs))===Gs?Tc(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 Cc(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(Tc.bind(null,t));else{var e=Cc(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=jc();if(1073741823===e?r=99:1===e||2===e?r=95:(r=10*(1073741821-e)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==Ki&&Yi(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?co(Tc.bind(null,t)):so(r,Ac.bind(null,t),{timeout:10*(1073741821-e)-ro()}),t.callbackNode=e}}}function Ac(t,e){if(Oc=0,e)return e=jc(),dl(t,e),Mc(t),null;var n=Cc(t);if(0!==n){if(e=t.callbackNode,($s&(Ws|Hs))!==Gs)throw Error(a(327));if(Xc(),t===Js&&n===ec||Lc(t,n),null!==tc){var r=$s;$s|=Ws;var i=Ic();do{try{Nc();break}catch(e){Fc(t,e)}}while(1);if(mo(),$s=r,zs.current=i,nc===Us)throw e=rc,Lc(t,n),fl(t,n),Mc(t),e;if(null===tc)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,r=nc,Js=null,r){case Xs:case Us:throw Error(a(345));case qs:dl(t,2<n?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=Cc(t),0!==o&&o!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Ln(Vc.bind(null,t),i);break}Vc(t);break;case Ks:if(fl(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=Gc(i)),cc&&(i=t.lastPingedTime,0===i||i>=n)){t.lastPingedTime=n,Lc(t,n);break}if(i=Cc(t),0!==i&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==oc?r=10*(1073741821-oc)-ro():1073741823===ic?r=0:(r=10*(1073741821-ic)-5e3,i=ro(),n=10*(1073741821-n)-i,r=i-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ns(r/1960))-r,n<r&&(r=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 Ac.bind(null,t)}}return null}function Tc(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,($s&(Ws|Hs))!==Gs)throw Error(a(327));if(Xc(),t===Js&&e===ec||Lc(t,e),null!==tc){var n=$s;$s|=Ws;var r=Ic();do{try{Rc();break}catch(e){Fc(t,e)}}while(1);if(mo(),$s=n,zs.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 Ec(){if(null!==mc){var t=mc;mc=null,t.forEach(function(t,e){dl(e,t),Mc(e)}),lo()}}function Pc(t,e){var n=$s;$s|=1;try{return t(e)}finally{$s=n,$s===Gs&&lo()}}function _c(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,Fn(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&&Fi();break;case 3:Qo(),Ci(Ei),Ci(Ti);break;case 5:Jo(r);break;case 4:Qo();break;case 13:Ci(ta);break;case 19:Ci(ta);break;case 10:bo(r)}n=n.return}Js=t,tc=ol(t.current,null),ec=e,nc=Xs,rc=null,oc=ic=1073741823,ac=null,sc=0,cc=!1}function Fc(t,e){do{try{if(mo(),ra.current=Fa,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=Co(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 Is,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."+jt(a))}nc!==Qs&&(nc=qs),s=vs(s,a),h=o;do{switch(h.tag){case 3:c=s,h.effectTag|=4096,h.expirationTime=e;var x=Ds(h,c,e);Ao(h,x);break t;case 1:c=s;var O=h.type,j=h.stateNode;if(0===(64&h.effectTag)&&("function"===typeof O.getDerivedStateFromError||null!==j&&"function"===typeof j.componentDidCatch&&(null===dc||!dc.has(j)))){h.effectTag|=4096,h.expirationTime=e;var w=Bs(h,c,e);Ao(h,w);break t}}h=h.return}while(null!==h)}tc=Yc(tc)}catch(t){e=t;continue}break}while(1)}function Ic(){var t=zs.current;return zs.current=Fa,null===t?Fa:t}function Dc(t,e){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=zc(tc)}function Nc(){for(;null!==tc&&!Qi();)tc=zc(tc)}function zc(t){var e=Rs(t.alternate,t,ec);return t.memoizedProps=t.pendingProps,null===e&&(e=Yc(t)),Ys.current=null,e}function Yc(t){tc=t;do{var e=tc.alternate;if(t=tc.return,0===(2048&tc.effectTag)){if(e=gs(e,tc,ec),1===ec||1!==tc.childExpirationTime){for(var n=0,r=tc.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}tc.childExpirationTime=n}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=tc.firstEffect),null!==tc.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=tc.firstEffect),t.lastEffect=tc.lastEffect),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===Xs&&(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,Wc.bind(null,t,e)),null}function Wc(t,e){do{Xc()}while(null!==yc);if(($s&(Ws|Hs))!==Gs)throw Error(a(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=Gc(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Js&&(tc=Js=null,ec=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=$s;$s|=Hs,Ys.current=null,Tn=en;var s=wn();if(kn(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;En={activeElementDetached:null,focusedElem:s,selectionRange:c},en=!1,hc=i;do{try{Hc()}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&&Xt(hc.stateNode,""),128&x){var O=hc.alternate;if(null!==O){var j=O.ref;null!==j&&("function"===typeof j?j(null):j.current=null)}}switch(1038&x){case 2:Ts(hc),hc.effectTag&=-3;break;case 6:Ts(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,_s(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(j=En,O=wn(),x=j.focusedElem,c=j.selectionRange,O!==x&&x&&x.ownerDocument&&jn(x.ownerDocument.documentElement,x)){null!==c&&kn(x)&&(O=c.start,j=c.end,void 0===j&&(j=O),"selectionStart"in x?(x.selectionStart=O,x.selectionEnd=Math.min(j,x.value.length)):(j=(O=x.ownerDocument||document)&&O.defaultView||window,j.getSelection&&(j=j.getSelection(),u=x.textContent.length,s=Math.min(c.start,u),c=void 0===c.end?s:Math.min(c.end,u),!j.extend&&s>c&&(u=c,c=s,s=u),u=On(x,s),h=On(x,c),u&&h&&(1!==j.rangeCount||j.anchorNode!==u.node||j.anchorOffset!==u.offset||j.focusNode!==h.node||j.focusOffset!==h.offset)&&(O=O.createRange(),O.setStart(u.node,u.offset),j.removeAllRanges(),s>c?(j.addRange(O),j.extend(h.node,h.offset)):(O.setEnd(h.node,h.offset),j.addRange(O)))))),O=[];for(j=x;j=j.parentNode;)1===j.nodeType&&O.push({element:j,left:j.scrollLeft,top:j.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<O.length;x++)j=O[x],j.element.scrollLeft=j.left,j.element.scrollTop=j.top}en=!!Tn,En=Tn=null,t.current=n,hc=i;do{try{for(x=t;null!==hc;){var w=hc.effectTag;if(36&w&&Ss(x,hc.alternate,hc),128&w){O=void 0;var k=hc.ref;if(null!==k){var S=hc.stateNode;switch(hc.tag){case 5:O=S;break;default:O=S}"function"===typeof k?k(O):k.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 Hc(){for(;null!==hc;){var t=hc.effectTag;0!==(256&t)&&js(hc.alternate,hc),0===(512&t)||gc||(gc=!0,so(97,function(){return Xc(),null})),hc=hc.nextEffect}}function Xc(){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&(Ws|Hs))!==Gs)throw Error(a(331));var e=$s;for($s|=Hs,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:ws(5,n),ks(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=jc(),e=wc(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||Ei.current)qa=!0;else{if(r<n){switch(qa=!1,e.tag){case 3:rs(e),Xa();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=_i(e,Ti.current),Oo(e,n),i=fa(null,e,r,t,i,n),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,Li(r)){var o=!0;Bi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,ko(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&Lo(e,r,s,t),i.updater=Fo,e.stateNode=i,i._reactInternalFiber=e,Ro(e,r,t,n),e=ns(null,e,r,!0,o,n)}else e.tag=0,Za(null,e,i,n),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,xt(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=il(i),t=fo(i,t),o){case 0:e=ts(null,e,i,t,n);break t;case 1:e=es(null,e,i,t,n);break t;case 11:e=Ka(null,e,i,t,n);break t;case 14:e=Qa(null,e,i,fo(i.type,t),r,n);break t}throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),ts(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),es(t,e,r,i,n);case 3:if(rs(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,i=e.memoizedState,i=null!==i?i.element:null,So(t,e),To(e,r,null,n),r=e.memoizedState.element,r===i)Xa(),e=ps(t,e,n);else{if((i=e.stateNode.hydrate)&&(Na=In(e.stateNode.containerInfo.firstChild),Ra=e,i=za=!0),i)for(n=Wo(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Za(t,e,r,n),Xa();e=e.child}return e;case 5:return $o(e),null===t&&Va(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,_n(r,i)?s=null:null!==o&&_n(r,o)&&(e.effectTag|=16),Ja(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Za(t,e,s,n),e=e.child),e;case 6:return null===t&&Va(e),null;case 13:return ls(t,e,n);case 4:return Ko(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Vo(e,null,r,n):Za(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),Ka(t,e,r,i,n);case 7:return Za(t,e,e.pendingProps,n),e.child;case 8:return Za(t,e,e.pendingProps.children,n),e.child;case 12:return Za(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var c=e.type._context;if(Mi(po,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,o=ti(c,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823),0===o){if(s.children===i.children&&!Ei.current){e=ps(t,e,n);break t}}else for(c=e.child,null!==c&&(c.return=e);null!==c;){var l=c.dependencies;if(null!==l){s=c.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&o)){1===c.tag&&(u=Co(n,null),u.tag=2,Mo(c,u)),c.expirationTime<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=jo(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=jc(),s=Po.suspense;o=wc(o,i,s);t:if(n){n=n._reactInternalFiber;e:{if(oe(n)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Li(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var l=n.type;if(Li(l)){n=Di(n,l,c);break t}}n=c}else n=Ai;return null===e.context?e.context=n:e.pendingContext=n,e=Co(o,s),e.payload={element:t},r=void 0===r?null:r,null!==r&&(e.callback=r),Mo(i,e),kc(i,o),o}function yl(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function vl(t,e){t=t.memoizedState,null!==t&&null!==t.dehydrated&&t.retryTime<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,ko(i),t[zn]=r.current,n&&0!==e&&Ie(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 jl(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)}}_c(function(){gl(e,a,t,i)})}return yl(a)}function wl(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 kl(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!xl(e))throw Error(a(200));return wl(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[zn]=null})},je=function(t){if(13===t.tag){var e=ho(jc(),150,100);kc(t,e),ml(t,e)}},we=function(t){13===t.tag&&(kc(t,3),ml(t,3))},ke=function(t){if(13===t.tag){var e=jc();e=wc(e,t,null),kc(t,e),ml(t,e)}},T=function(t,e,n){switch(e){case"input":if(Pt(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=Wn(r);if(!i)throw Error(a(90));Mt(r),Pt(r,i)}}}break;case"textarea":Nt(t,n);break;case"select":e=n.value,null!=e&&Dt(t,!!n.multiple,e,!1)}},I=Pc,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|Ws|Hs))===Gs&&(Ec(),Xc())},R=function(t,e){var n=$s;$s|=2;try{return t(e)}finally{$s=n,$s===Gs&&lo()}};var Sl={Events:[Gn,Vn,Wn,M,k,Qn,function(t){he(t,Kn)},L,F,sn,de,Xc,{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:Yn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sl,e.createPortal=kl,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&(Ws|Hs))!==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 jl(null,t,e,!0,n)},e.render=function(t,e,n){if(!xl(e))throw Error(a(200));return jl(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!xl(t))throw Error(a(40));return!!t._reactRootContainer&&(_c(function(){jl(null,null,t,!1,function(){t._reactRootContainer=null,t[zn]=null})}),!0)},e.unstable_batchedUpdates=Pc,e.unstable_createPortal=function(t,e){return kl(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 jl(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){var n=t[0],r=t[1];if(Object(c["isArray"])(e)){var i=e[0],o=e[1];return[i,o]}var a=Object(c["get"])(e,n),s=Object(c["get"])(e,r);return[a,s]}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 j=n("kXyF");function w(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=j["f"].getLegendItems(e,a,n,e.getTheme(),o);return t.concat(r)},[])}var k=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(k["d"])(Object(s["b"])({},t,{options:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(s["n"])(e,f)),r),{line:{color:r.color,style:r.lineStyle}})})),Object(k["e"])(Object(s["b"])({},t,{options:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(s["n"])(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(k["c"])(Object(s["b"])({},t,{options:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(s["n"])(e,f)),r),{widthRatio:r.columnWidthRatio,interval:Object(o["a"])(Object(o["a"])({},Object(s["n"])(r,["color"])),{style:r.columnStyle})})})),t}var C=function(t,e){var n=e[0],r=e[1],i=t.getOptions().data,o=t.getXScale(),a=Object(c["size"])(i);if(o&&a){var l=!0,u=Object(c["valuesOfKey"])(i,o.field),h=l?u:u.reverse(),f=Object(c["size"])(h),p=Math.floor(n*(f-1)),d=Math.floor(r*(f-1));t.filter(o.field,function(t){var e=h.indexOf(t);return!(e>-1)||Object(s["k"])(e,p,d)}),t.render(!0)}};function M(t){var e,n=t.options,r=n.geometryOptions,o=void 0===r?[]:r,a=n.xField,l=n.yField,u=Object(c["every"])(o,function(t){var e=t.geometry;return e===i.Line||void 0===e});return Object(s["b"])({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:u?[0,1]:void 0},e),tooltip:{showMarkers:u,showCrosshairs:u,shared:!0,crosshairs:{type:"x"}},interactions:u?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:x(l,n.yAxis),geometryOptions:[b(a,l[0],o[0]),b(a,l[1],o[1])],annotations:x(l,n.annotations)}})}function A(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,a=n.geometryOptions,s=n.data,c=n.tooltip,l={line:0,column:1},h=[Object(o["a"])(Object(o["a"])({},a[0]),{id:f,data:s[0],yField:i[0]}),Object(o["a"])(Object(o["a"])({},a[1]),{id:p,data:s[1],yField:i[1]})];return h.sort(function(t,e){return-l[t.geometry]+l[e.geometry]}).forEach(function(t){var n=t.id,i=t.data,a=t.yField,s=m(t)&&t.isPercent,l=s?Object(u["b"])(i,a,r,a):i,h=e.createView({id:n}).data(l),f=s?Object(o["a"])({formatter:function(e){return{name:e[t.seriesField]||a,value:(100*Number(e[a])).toFixed(2)+"%"}}},c):c;S({chart:h,options:{xField:r,yField:a,tooltip:f,geometryOption:t}})}),t}function T(t){var e,n=t.chart,r=t.options,i=r.geometryOptions,o=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],a=0;return n.once("beforepaint",function(){Object(c["each"])(i,function(t,e){var r=Object(h["a"])(n,0===e?f:p);if(!t.color){var i=r.getGroupScales(),s=Object(c["get"])(i,[0,"values","length"],1),l=o.slice(a,a+s).concat(0===e?[]:o);r.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,l):e.color(l[0])}),a+=s}}),n.render(!0)}),t}function E(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,a=i.yAxis,c=i.xField,u=i.yField;return Object(l["f"])((e={},e[c]=o,e[u[0]]=a[0],e))(Object(s["b"])({},t,{chart:Object(h["a"])(r,f)})),Object(l["f"])((n={},n[c]=o,n[u[1]]=a[1],n))(Object(s["b"])({},t,{chart:Object(h["a"])(r,p)})),t}function P(t){var e=t.chart,n=t.options,i=Object(h["a"])(e,f),o=Object(h["a"])(e,p),a=n.xField,s=n.yField,c=n.xAxis,l=n.yAxis;return e.axis(a,!1),e.axis(s[0],!1),e.axis(s[1],!1),i.axis(a,c),i.axis(s[0],O(l[0],r.Left)),o.axis(a,!1),o.axis(s[1],O(l[1],r.Right)),t}function _(t){var e=t.chart,n=t.options,r=n.tooltip,i=Object(h["a"])(e,f),o=Object(h["a"])(e,p);return e.tooltip(r),i.tooltip({shared:!0}),o.tooltip({shared:!0}),t}function L(t){var e=t.chart;return Object(l["c"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f)})),Object(l["c"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p)})),t}function F(t){var e=t.chart,n=t.options,r=n.annotations,i=Object(c["get"])(r,[0]),o=Object(c["get"])(r,[1]);return Object(l["b"])(i)(Object(s["b"])({},t,{chart:Object(h["a"])(e,f),options:{annotations:i}})),Object(l["b"])(o)(Object(s["b"])({},t,{chart:Object(h["a"])(e,p),options:{annotations:o}})),t}function I(t){var e=t.chart;return Object(l["a"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f)})),Object(l["a"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p)})),t}function D(t){var e=t.chart,n=t.options,r=n.yAxis;return Object(l["e"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,f),options:{yAxis:r[0]}})),Object(l["e"])(Object(s["b"])({},t,{chart:Object(h["a"])(e,p),options:{yAxis:r[1]}})),t}function B(t){var e=t.chart,n=t.options,r=n.legend,i=n.geometryOptions,o=n.yField,a=n.data,l=Object(h["a"])(e,f),u=Object(h["a"])(e,p);return!1===r?e.legend(!1):Object(c["isObject"])(r)&&!0===r.custom?e.legend(r):(e.once("beforepaint",function(){var t=a[0].length?w({view:l,geometryOption:i[0],yField:o[0],legend:r}):[],n=a[1].length?w({view:u,geometryOption:i[1],yField:o[1],legend:r}):[];e.legend(Object(s["b"])({},r,{custom:!0,items:t.concat(n)}))}),e.on("legend-item:click",function(t){var n=Object(c["get"])(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,i=r.value,a=r.isGeometry,s=r.viewId;if(a){var l=Object(c["findIndex"])(o,function(t){return t===i});if(l>-1){var u=Object(c["get"])(Object(h["a"])(e,s),"geometries");Object(c["each"])(u,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=Object(c["get"])(e.getController("legend"),"option.items",[]);Object(c["each"])(e.views,function(t){var n=t.getGroupScales();Object(c["each"])(n,function(e){e.values&&e.values.indexOf(i)>-1&&t.filter(e.field,function(t){var e=Object(c["find"])(f,function(e){return e.value===t});return!e.unchecked})}),e.render(!0)})}}})),t}function R(t){var e=t.chart,n=t.options,r=n.slider,i=Object(h["a"])(e,f),o=Object(h["a"])(e,p);return r&&(i.option("slider",r),i.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;Object(c["isEqual"])(n,r)||C(o,n)}),e.once("afterpaint",function(){if(!Object(c["isBoolean"])(r)){var t=r.start,e=r.end;(t||e)&&C(o,[t,e])}})),t}function N(t){return Object(s["e"])(M,A,E,P,D,_,L,F,l["j"],I,T,B,R)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}Object(o["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(s["b"])({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return N}})(a["b"])},z4Vf:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa");function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,a=n.color;return e.data(r),Object(o["e"])(c["c"])(Object(o["b"])({},t,{options:{marginRatio:1,interval:{style:i,color:a}}})),t}function u(t){var e=t.chart,n=t.options,i=n.label,s=n.xField,c=Object(o["c"])(e,"interval");if(!1===i)c.label(!1);else if(Object(a["isObject"])(i)){var l=i.callback,u=i.fields,h=Object(r["c"])(i,["callback","fields"]),f=h.offset,p=h.layout;(void 0===f||f>=0)&&(p=p?Object(a["isArray"])(p)?p:[p]:[],h.layout=Object(a["filter"])(p,function(t){return"limit-in-shape"!==t.type}),h.layout.length||delete h.layout),c.label({fields:u||[s],callback:l,cfg:Object(o["r"])(h)})}else Object(o["m"])(o["a"].WARN,null===i,"the label option must be an Object."),c.label({fields:[s]});return t}function h(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}),t}function p(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,c=n.yField;return Object(o["e"])(Object(s["f"])((e={},e[a]=r,e[c]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return r?e.axis(o,r):e.axis(o,!1),i?e.axis(a,i):e.axis(a,!1),t}function g(t){Object(o["e"])(l,p,u,f,d,h,s["k"],s["c"],s["a"],s["j"],Object(s["b"])(),s["i"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}Object(r["b"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{xAxis:!1,yAxis:!1,legend:{position:"right",offsetX:-10},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return g}})(i["b"])},zJSt:function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return h});var r=n("mrSG"),i=n("kXyF"),o=n("iTfj"),a=n("f6Jy"),s=n("u3os"),c=n("YuPD"),l="data-chart-source-type",u=["padding","appendPadding","renderer","pixelRatio","syncViewPadding","supportCSSTransform","limitInPlot"],h=function(t){function e(e,n){var r=t.call(this)||this;return r.type="base",r.container="string"===typeof e?document.getElementById(e):e,r.options=Object(c["b"])({},r.getDefaultOptions(),n),r.createG2(),r.bindEvents(),r}return Object(r["b"])(e,t),e.getDefaultOptions=function(){return{renderer:"canvas",xAxis:{nice:!0,label:{autoRotate:!1,autoHide:{type:"equidistance",cfg:{minGap:6}}}},yAxis:{nice:!0,label:{autoHide:!0,autoRotate:!1}},animation:!0}},e.prototype.createG2=function(){var t=this.options,e=t.width,n=t.height;this.chart=new i["b"](Object(r["a"])(Object(r["a"])(Object(r["a"])({container:this.container,autoFit:!1},this.getChartSize(e,n)),{localRefresh:!1}),Object(c["n"])(this.options,u))),this.container.setAttribute(l,"G2Plot")},e.prototype.getChartSize=function(t,e){var n=Object(c["g"])(this.container);return{width:t||n.width||400,height:e||n.height||400}},e.prototype.bindEvents=function(){var t=this;this.chart&&this.chart.on("*",function(e){(null===e||void 0===e?void 0:e.type)&&t.emit(e.type,e)})},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){this.chart.clear(),this.chart.options={data:[],animate:!0},this.chart.views=[],this.execAdaptor(),this.chart.render(),this.bindSizeSensor()},e.prototype.update=function(t){this.updateOption(t),this.render()},e.prototype.updateOption=function(t){this.options=Object(c["b"])({},this.options,t)},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=Object(c["f"])(this.chart);Object(o["each"])(r,function(r){e(r.getData())&&r.setState(t,n)})},e.prototype.getStates=function(){var t=Object(c["f"])(this.chart),e=[];return Object(o["each"])(t,function(t){var n=t.getData(),r=t.getStates();Object(o["each"])(r,function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})})}),e},e.prototype.changeData=function(t){this.update({data:t})},e.prototype.changeSize=function(t,e){this.chart.changeSize(t,e)},e.prototype.destroy=function(){this.unbindSizeSensor(),this.chart.destroy(),this.off(),this.container.removeAttribute(l)},e.prototype.execAdaptor=function(){var t=this.getSchemaAdaptor(),e=this.options,n=e.padding,r=e.appendPadding;this.chart.padding=n,this.chart.appendPadding=r,t({chart:this.chart,options:this.options})},e.prototype.triggerResize=function(){this.chart.forceFit()},e.prototype.bindSizeSensor=function(){var t=this;if(!this.unbind){var e=this.options.autoFit,n=void 0===e||e;n&&(this.unbind=Object(s["bind"])(this.container,function(){var e=Object(c["g"])(t.container),n=e.width,r=e.height;n===t.chart.width&&r===t.chart.height||t.triggerResize()}))}},e.prototype.unbindSizeSensor=function(){this.unbind&&(this.unbind(),this.unbind=void 0)},e}(a["a"])},zK8m:function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("6JdA"),a=n("sstZ"),s=n("aSjE"),c=n("LmB6"),l=o["a"].transform,u="matrix",h=["zIndex","capture","visible","type"],f=["repeat"],p=":",d="*";function g(t){for(var e=[],n=0;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["b"])(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;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];var n=this.isCanvas&&this.isCanvas();if(n||this.get("canvas")){this.set("animating",!0);var r=this.get("timeline");r||(r=this.get("canvas").get("timeline"),this.set("timeline",r));var o=this.get("animations")||[];r.timer||r.initTimer();var a,s,c,l,u,h=t[0],f=t[1],p=t[2],d=void 0===p?"easeLinear":p,g=t[3],b=void 0===g?i["noop"]:g,x=t[4],O=void 0===x?0:x;Object(i["isFunction"])(h)?(a=h,h={}):Object(i["isObject"])(h)&&h.onFrame&&(a=h.onFrame,s=h.repeat),Object(i["isObject"])(f)?(u=f,f=u.duration,d=u.easing||"easeLinear",O=u.delay||0,s=u.repeat||s||!1,b=u.callback||i["noop"],c=u.pauseCallback||i["noop"],l=u.resumeCallback||i["noop"]):(Object(i["isNumber"])(b)&&(O=b,b=null),Object(i["isFunction"])(d)?(b=d,d="easeLinear"):d=d||"easeLinear");var j=v(h,this),w={fromAttrs:y(j,this),toAttrs:j,duration:f,easing:d,repeat:s,callback:b,pauseCallback:c,resumeCallback:l,delay:O,startTime:r.getTime(),id:Object(i["uniqueId"])(),onFrame:a,pathFormatted:!1};o.length>0?o=m(o,w):r.addAnimator(this),o.push(w),this.set("animations",o),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");Object(i["each"])(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return Object(i["each"])(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline"),e=t.getTime(),n=this.get("animations"),r=this.get("_pause").pauseTime;return Object(i["each"])(n,function(t){t.startTime=t.startTime+(e-r),t._paused=!1,t._pauseTime=null,t.resumeCallback&&t.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",n),this},e.prototype.emitDelegation=function(t,e){var n,r=this,o=e.propagationPath;this.getEvents();"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var s=function(t){var s=o[t],l=s.get("name");if(l){if((s.isGroup()||s.isCanvas&&s.isCanvas())&&n&&Object(a["g"])(s,n))return"break";Object(i["isArray"])(l)?Object(i["each"])(l,function(t){r.emitDelegateEvent(s,t,e)}):c.emitDelegateEvent(s,l,e)}},c=this,l=0;l<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;if(v=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok){for(p=t.md.normalizeLink(u.str),t.md.validateLink(p)?l=u.pos:p="",v=l;l<y;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(d=u.str,l=u.pos;l<y;l++)if(o=t.src.charCodeAt(l),!i(o)&&10!==o)break}(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;p=h.href,d=h.title}return e||(t.pos=c,t.posMax=s,f=t.push("link_open","a",1),f.attrs=n=[["href",p]],d&&n.push(["title",d]),t.md.inline.tokenize(t),f=t.push("link_close","a",-1)),t.pos=l,t.posMax=y,!0}},zZ0H:function(t,e){function n(t){return t}t.exports=n},zoYe:function(t,e,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),s=1/0,c=r?r.prototype:void 0,l=c?c.toString:void 0;function u(t){if("string"==typeof t)return t;if(o(t))return i(t,u)+"";if(a(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}t.exports=u}}]);