victory-core 17.2.3 → 17.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/victory-core.js +85 -68
- package/dist/victory-core.min.js +1 -1
- package/es/victory-container/victory-container.js +2 -1
- package/es/victory-portal/victory-portal.js +3 -2
- package/es/victory-util/domain.js +33 -20
- package/lib/victory-container/victory-container.js +5 -1
- package/lib/victory-portal/victory-portal.js +3 -2
- package/lib/victory-util/domain.js +33 -20
- package/package.json +1 -1
- package/src/victory-container/victory-container.js +3 -3
- package/src/victory-portal/victory-portal.js +7 -2
- package/src/victory-util/domain.js +34 -17
package/dist/victory-core.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],e):"object"==typeof exports?exports.VictoryCore=e(require("react"),require("prop-types")):t.VictoryCore=e(t.React,t.PropTypes)}(this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=194)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";var r=n(282),a=n.n(r),i=n(78),o=n.n(i),u=n(69),c=n.n(u),s=n(6),l=n.n(s),f=n(7),h=n.n(f),p=n(3),d=n(0),y=n.n(d);e.a={getPoint:function(t){var e=function(t){return void 0!==t},n=t._x,r=t._x1,a=t._x0,i=t._voronoiX,o=t._y,u=t._y1,c=t._y0,s=t._voronoiY,l=e(r)?r:n,f=e(u)?u:o;return{x:e(i)?i:l,x0:e(a)?a:n,y:e(s)?s:f,y0:e(c)?c:o}},scalePoint:function(t,e){var n=t.scale,r=t.polar,a=this.getPoint(e),i=t.origin||{x:0,y:0},o=n.x(a.x),u=n.x(a.x0),c=n.y(a.y),s=n.y(a.y0);return{x:r?c*Math.cos(o)+i.x:o,x0:r?s*Math.cos(u)+i.x:u,y:r?-c*Math.sin(o)+i.y:c,y0:r?-s*Math.sin(u)+i.x:s}},getPadding:function(t){var e="number"==typeof t.padding?t.padding:0,n="object"==typeof t.padding?t.padding:{};return{top:n.top||e,bottom:n.bottom||e,left:n.left||e,right:n.right||e}},getStyles:function(t,e){if(!t)return h()({parent:{height:"100%",width:"100%"}},e);var n=t.data,r=t.labels,a=t.parent,i=e&&e.parent||{},o=e&&e.labels||{},u=e&&e.data||{};return{parent:h()({},a,i,{width:"100%",height:"100%"}),labels:h()({},r,o),data:h()({},n,u)}},evaluateProp:function(t,e,n){return l()(t)?t(e,n):t},evaluateStyle:function(t,e,n){var r=this;return t&&Object.keys(t).some(function(e){return l()(t[e])})?Object.keys(t).reduce(function(a,i){return a[i]=r.evaluateProp(t[i],e,n),a},{}):t},degreesToRadians:function(t){return t*(Math.PI/180)},radiansToDegrees:function(t){return t/(Math.PI/180)},getRadius:function(t){var e=this.getPadding(t),n=e.left,r=e.right,a=e.top,i=e.bottom,o=t.width,u=t.height;return Math.min(o-n-r,u-a-i)/2},getPolarOrigin:function(t){var e=t.width,n=t.height,r=this.getPadding(t),a=r.top,i=r.bottom,o=r.left,u=r.right,c=Math.min(e-o-u,n-a-i)/2,s=e/2+o-u,l=n/2+a-i;return{x:s+c>e?c+o-u:s,y:l+c>n?c+a-i:l}},getRange:function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?this.getPolarRange(t,e):this.getCartesianRange(t,e)},getCartesianRange:function(t,e){var n="x"!==e,r=this.getPadding(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]},getPolarRange:function(t,e){if("x"===e){return[this.degreesToRadians(t.startAngle||0),this.degreesToRadians(t.endAngle||360)]}return[t.innerRadius||0,this.getRadius(t)]},createAccessor:function(t){return l()(t)?t:null===t||void 0===t?function(t){return t}:c()(t)},modifyProps:function(t,e,n){var r=t.theme&&t.theme[n]?t.theme[n]:{},a=o()(r,["style"]);return h()({},t,a,e)},getCurrentAxis:function(t,e){var n="x"===t?"y":"x";return e?n:t},isVertical:function(t){return{top:!1,bottom:!1,left:!0,right:!0}[t.orientation||(t.dependentAxis?"left":"bottom")]},stringTicks:function(t){return void 0!==t.tickValues&&p.a.containsStrings(t.tickValues)},reduceChildren:function(t,e){var n=0,r=function(t,i){return a()(t,function(t,a){var o=a.props.name||n;if(n++,a.props&&a.props.children){var u=y.a.Children.toArray(a.props.children),c=r(u,a);t=t.concat(c)}else{var s=e(a,o,i);t=s?t.concat(s):t}return t},[])};return r(t)}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(27),i=n.n(a),o=n(83),u=n.n(o),c=n(26),s=n.n(c),l=n(137),f=n.n(l);e.a={isNonEmptyArray:function(t){return Array.isArray(t)&&t.length>0},containsStrings:function(t){return Array.isArray(t)&&t.some(function(t){return"string"==typeof t})},containsDates:function(t){return Array.isArray(t)&&t.some(function(t){return t instanceof Date})},containsNumbers:function(t){return Array.isArray(t)&&t.some(function(t){return"number"==typeof t})},containsOnlyStrings:function(t){return this.isNonEmptyArray(t)&&t.every(function(t){return"string"==typeof t})},isArrayOfArrays:function(t){return this.isNonEmptyArray(t)&&t.every(Array.isArray)},removeUndefined:function(t){return t.filter(function(t){return void 0!==t})},getMaxValue:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var i=t.concat(n);return this.containsDates(i)?new Date(Math.max.apply(Math,r(i))):Math.max.apply(Math,r(i))},getMinValue:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var i=t.concat(n);return this.containsDates(i)?new Date(Math.min.apply(Math,r(i))):Math.min.apply(Math,r(i))},splitArray:function(t,e){var n=0;return t.reduce(function(r,a,i){return e(a)?(r=r.concat([t.slice(n,i)]),n=i+1):i===t.length-1&&(r=r.concat([t.slice(n,t.length)])),r},[]).filter(function(t){return Array.isArray(t)&&t.length>0})},allSetsEqual:function(t){return t.every(function(t){return f()(t[0],t[1])})},areVictoryPropsEqual:function(t,e){return this.checkEquality(t,e)},checkEquality:function(t,e){var n=this,r=function(t,e){return t===e||typeof t==typeof e&&("function"==typeof t||("object"!=typeof t||s()(t).length===s()(e).length)&&("object"!=typeof t||0===s()(t).length?f()(t,e):void 0))},a=r(t,e);return"boolean"==typeof a?a:s()(t).reduce(function(a,o){if(!a)return!1;var c=t[o],s=e[o],l=r(c,s);return"boolean"==typeof l?l:i()(c)?!!i()(s)&&(u()(c)&&u()(s)||n.checkEquality(c,s)):Array.isArray(c)?!!Array.isArray(s)&&(u()(c)&&u()(s)||n.checkEquality(c,s)):f()(c,s)},!0)}}},function(t,e,n){var r=n(76),a=n(30),i=n(46),o=n(48),u=n(79),c=n(26),s=Object.prototype,l=s.hasOwnProperty,f=i(function(t,e){if(u(e)||o(e))return void a(e,c(e),t);for(var n in e)l.call(e,n)&&r(t,n,e[n])});t.exports=f},function(t,e,n){"use strict";function r(t,e,n,o){function u(e){return t(e=new Date(+e)),e}return u.floor=u,u.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},u.round=function(t){var e=u(t),n=u.ceil(t);return t-e<n-t?e:n},u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},u.range=function(n,r,a){var i=[];if(n=u.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return i;do{i.push(new Date(+n))}while(e(n,a),t(n),n<r);return i},u.filter=function(n){return r(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(u.count=function(e,r){return a.setTime(+e),i.setTime(+r),t(a),t(i),Math.floor(n(a,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(o?function(e){return o(e)%t==0}:function(e){return u.count(0,e)%t==0}):u:null}),u}e.a=r;var a=new Date,i=new Date},function(t,e,n){function r(t){if(!i(t))return!1;var e=a(t);return e==u||e==c||e==o||e==s}var a=n(116),i=n(10),o="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,e,n){var r=n(44),a=n(255),i=n(21),o=n(258),u=i(function(t){return t.push(void 0,o),r(a,void 0,t)});t.exports=u},function(t,e,n){"use strict";var r=n(1),a=n.n(r),i=n(15);e.a={active:a.a.bool,className:a.a.string,data:a.a.array,events:a.a.object,index:a.a.oneOfType([a.a.number,a.a.string]),origin:a.a.shape({x:a.a.number,y:a.a.number}),polar:a.a.bool,role:a.a.string,scale:a.a.oneOfType([i.a.scale,a.a.shape({x:i.a.scale,y:i.a.scale})]),shapeRendering:a.a.string,style:a.a.object}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";var r=n(170);n.d(e,"b",function(){return r.a});var a=n(23);n.d(e,"a",function(){return a.a});var i=n(171);n.d(e,"c",function(){return i.a});var o=(n(357),n(358),n(173),n(175),n(359),n(362),n(363),n(179),n(364),n(365),n(366),n(367),n(180),n(172),n(368),n(97));n.d(e,"d",function(){return o.a});var u=n(177);n.d(e,"e",function(){return u.a});var c=(n(369),n(370),n(371),n(178));n.d(e,"h",function(){return c.a}),n.d(e,"f",function(){return c.b}),n.d(e,"g",function(){return c.c});n(181),n(174),n(372)},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return u});var r=1e3,a=6e4,i=36e5,o=864e5,u=6048e5},function(t,e,n){"use strict";var r=n(72);n.d(e,"a",function(){return r.e}),n.d(e,"f",function(){return r.g}),n.d(e,"d",function(){return r.f});var a=n(239);n.d(e,"e",function(){return a.a}),n.d(e,"c",function(){return a.b});var i=n(240);n.d(e,"b",function(){return i.a})},function(t,e,n){var r=n(209),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();t.exports=i},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(276),i=n.n(a),o=n(6),u=n.n(o),c=n(49),s=n(1),l=n.n(s),f=function(t){var e=function(e,n,r,a){var i=n[r];if(void 0===i||null===i)return e?new Error("Required `"+r+"` was not specified in `"+a+"`."):null;for(var o=arguments.length,u=Array(o>4?o-4:0),c=4;c<o;c++)u[c-4]=arguments[c];return t.apply(void 0,[n,r,a].concat(u))},n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n},h=function(){return null},p=function(){},d=function(t){return void 0===t?p:null===t?h:t.constructor},y=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)};e.a={deprecated:function(t,e){return function(n,a,i){var o=n[a];return null!==o&&void 0!==o&&c.a.warn('"'+a+'" property of "'+i+'" has been deprecated '+e),l.a.checkPropTypes(r({},a,t),n,a,i)}},allOfType:function(t){return f(function(e,n,r){for(var a=arguments.length,i=Array(a>3?a-3:0),o=3;o<a;o++)i[o-3]=arguments[o];return t.reduce(function(t,a){return t||a.apply(void 0,[e,n,r].concat(i))},void 0)})},nonNegative:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r<0)return new Error("`"+e+"` in `"+n+"` must be a non-negative number.")}),integer:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r%1!=0)return new Error("`"+e+"` in `"+n+"` must be an integer.")}),greaterThanZero:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r<=0)return new Error("`"+e+"` in `"+n+"` must be a number greater than zero.")}),domain:f(function(t,e,n){var r=t[e];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`"+e+"` in `"+n+"` must be an array of two unique numeric values.")}),scale:f(function(t,e,n){var r=["linear","time","log","sqrt"],a=t[e];if(!function(t){return u()(t)?u()(t.copy)&&u()(t.domain)&&u()(t.range):"string"==typeof t&&-1!==r.indexOf(t)}(a))return new Error("`"+e+"` in `"+n+"` must be a d3 scale.")}),homogeneousArray:f(function(t,e,n){var r=t[e];if(!Array.isArray(r))return new Error("`"+e+"` in `"+n+"` must be an array.");if(!(r.length<2)){var a=d(r[0]),o=i()(r,function(t){return a!==d(t)});if(o){var u=y(r[0]),c=y(o);return new Error("Expected `"+e+"` in `"+n+"` to be a homogeneous array, but found types `"+u+"` and `"+c+"`.")}}}),matchDataLength:f(function(t,e){if(t[e]&&Array.isArray(t[e])&&t[e].length!==t.data.length)return new Error("Length of data and "+e+" arrays must match.")})}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i});var r=Array.prototype,a=r.map,i=r.slice},function(t,e,n){function r(t,e){return a(t)?t:i(t,e)?[t]:o(u(t))}var a=n(9),i=n(67),o=n(228),u=n(110);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){if("string"==typeof t||a(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var a=n(19),i=1/0;t.exports=r},function(t,e,n){function r(t,e){return o(i(t,e,a),t+"")}var a=n(43),i=n(114),o=n(115);t.exports=r},function(t,e,n){"use strict";var r=n(71);n.d(e,"a",function(){return r.a});var a=(n(122),n(74),n(120),n(123),n(45));n.d(e,"c",function(){return a.a});var i=(n(124),n(241));n.d(e,"d",function(){return i.a});var o=(n(125),n(242),n(245),n(119),n(246),n(247),n(248),n(249));n.d(e,"b",function(){return o.a});n(250)},function(t,e,n){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?u(t)?i(t[0],t[1]):a(t):c(t)}var a=n(212),i=n(226),o=n(43),u=n(9),c=n(69);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){var r=n(41),a=r(Object.keys,Object);t.exports=a},function(t,e,n){function r(t){if(!o(t)||a(t)!=u)return!1;var e=i(t);if(null===e)return!0;var n=f.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}var a=n(116),i=n(117),o=n(66),u="[object Object]",c=Function.prototype,s=Object.prototype,l=c.toString,f=s.hasOwnProperty,h=l.call(Object);t.exports=r},function(t,e,n){"use strict";function r(t,e){return function(n){return t+n*e}}function a(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function i(t,e){var n=e-t;return n?r(t,n>180||n<-180?n-360*Math.round(n/360):n):Object(c.a)(isNaN(t)?e:t)}function o(t){return 1==(t=+t)?u:function(e,n){return n-e?a(e,n,t):Object(c.a)(isNaN(e)?n:e)}}function u(t,e){var n=e-t;return n?r(t,n):Object(c.a)(isNaN(t)?e:t)}e.c=i,e.b=o,e.a=u;var c=n(121)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(251),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function t(){r(this,t),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=Object(a.b)(this.loop)}return i(t,[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach(function(t){t.callback(Object(a.a)()-t.startTime,t.duration)})}},{key:"start",value:function(){this.timer.start()}},{key:"stop",value:function(){this.timer.stop()}},{key:"subscribe",value:function(t,e){return e=this.shouldAnimate?e:0,this.subscribers.push({startTime:Object(a.a)(),callback:t,duration:e})}},{key:"unsubscribe",value:function(t){null!==t&&delete this.subscribers[t-1]}}]),t}();e.a=o},function(t,e,n){function r(t,e,n,r){var o=!n;n||(n={});for(var u=-1,c=e.length;++u<c;){var s=e[u],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),o?i(n,s,l):a(n,s,l)}return n}var a=n(76),i=n(77);t.exports=r},function(t,e,n){"use strict";var r=n(320);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t){return t>1?0:t<-1?p:Math.acos(t)}function a(t){return t>=1?d:t<=-1?-d:Math.asin(t)}n.d(e,"a",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"h",function(){return c}),n.d(e,"i",function(){return s}),n.d(e,"k",function(){return l}),n.d(e,"l",function(){return f}),n.d(e,"f",function(){return h}),n.d(e,"j",function(){return p}),n.d(e,"g",function(){return d}),n.d(e,"m",function(){return y}),e.b=r,e.c=a;var i=Math.abs,o=Math.atan2,u=Math.cos,c=Math.max,s=Math.min,l=Math.sin,f=Math.sqrt,h=1e-12,p=Math.PI,d=p/2,y=2*p},function(t,e,n){"use strict";e.a=function(t,e){if((a=t.length)>1)for(var n,r,a,i=1,o=t[e[0]],u=o.length;i<a;++i)for(r=o,o=t[e[i]],n=0;n<u;++n)o[n][1]+=o[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}},function(t,e,n){"use strict";e.a=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}},function(t,e,n){"use strict";e.a=function(t){return null===t?NaN:+t}},function(t,e,n){"use strict";function r(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(i.h)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return Object(c.a)(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,a=e(),o=0,u=a.length-1,c=a[o],s=a[u];return s<c&&(r=c,c=s,s=r,r=o,o=u,u=r),r=Object(i.f)(c,s,n),r>0?(c=Math.floor(c/r)*r,s=Math.ceil(s/r)*r,r=Object(i.f)(c,s,n)):r<0&&(c=Math.ceil(c*r)/r,s=Math.floor(s*r)/r,r=Object(i.f)(c,s,n)),r>0?(a[o]=Math.floor(c/r)*r,a[u]=Math.ceil(s/r)*r,e(a)):r<0&&(a[o]=Math.ceil(c*r)/r,a[u]=Math.floor(s*r)/r,e(a)),t},t}function a(){var t=Object(u.b)(u.c,o.c);return t.copy=function(){return Object(u.a)(t,a())},r(t)}e.b=r,e.a=a;var i=n(11),o=n(22),u=n(57),c=n(380)},function(t,e,n){"use strict";e.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,a=Array(r);++n<r;)a[n]=e(t[n],n,t);return a}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(a(t[n][0],e))return n;return-1}var a=n(25);t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t,e){e=a(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}var a=n(18),i=n(20);t.exports=r},function(t,e){function n(t){return t}t.exports=n},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},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e-=t,function(n){return t+e*n}}},function(t,e,n){function r(t){return a(function(e,n){var r=-1,a=n.length,o=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,u&&i(n[0],n[1],u)&&(o=a<3?void 0:o,a=1),e=Object(e);++r<a;){var c=n[r];c&&t(e,c,r,o)}return e})}var a=n(21),i=n(70);t.exports=r},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},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!a(t)}var a=n(6),i=n(112);t.exports=r},function(t,e,n){"use strict";e.a={warn:function(t){}}},function(t,e,n){function r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=a(t.prototype),r=t.apply(n,e);return i(r)?r:n}}var a=n(133),i=n(10);t.exports=r},function(t,e){function n(t){return t.placeholder}t.exports=n},function(t,e){function n(t,e){for(var n=-1,a=t.length,i=0,o=[];++n<a;){var u=t[n];u!==e&&u!==r||(t[n]=r,o[i++]=n)}return o}var r="__lodash_placeholder__";t.exports=n},function(t,e,n){"use strict";function r(t){this._context=t}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";e.a=function(){}},function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function a(t){this._context=t}e.c=r,e.a=a,a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.b=function(t){return new a(t)}},function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function a(t,e){this._context=t,this._k=(1-e)/6}e.c=r,e.a=a,a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:r(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new a(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){"use strict";function r(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Object(p.a)(e)}function a(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}function i(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}function o(t,e,n,r){var a=t[0],i=t[1],o=e[0],u=e[1];return i<a?(a=n(i,a),o=r(u,o)):(a=n(a,i),o=r(o,u)),function(t){return o(a(t))}}function u(t,e,n,r){var a=Math.min(t.length,e.length)-1,i=new Array(a),o=new Array(a),u=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++u<a;)i[u]=n(t[u],t[u+1]),o[u]=r(e[u],e[u+1]);return function(e){var n=Object(l.b)(t,e,1,a)-1;return o[n](i[n](e))}}function c(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function s(t,e){function n(){return s=Math.min(v.length,b.length)>2?u:o,l=p=null,c}function c(e){return(l||(l=s(v,b,m?a(t):t,g)))(+e)}var s,l,p,v=y,b=y,g=f.a,m=!1;return c.invert=function(t){return(p||(p=s(b,v,r,m?i(e):e)))(+t)},c.domain=function(t){return arguments.length?(v=h.a.call(t,d.a),n()):v.slice()},c.range=function(t){return arguments.length?(b=h.b.call(t),n()):b.slice()},c.rangeRound=function(t){return b=h.b.call(t),g=f.d,n()},c.clamp=function(t){return arguments.length?(m=!!t,n()):m},c.interpolate=function(t){return arguments.length?(g=t,n()):g},n()}e.c=r,e.a=c,e.b=s;var l=n(11),f=n(22),h=n(17),p=n(99),d=n(183),y=[0,1]},function(t,e,n){"use strict";var r=n(100);e.a=function(t){return t=Object(r.a)(Math.abs(t)),t?t[1]:NaN}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var a=n(214),i=n(215),o=n(216),u=n(217),c=n(218);r.prototype.clear=a,r.prototype.delete=i,r.prototype.get=o,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e,n,o,u){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:a(t,e,n,o,r,u))}var a=n(219),i=n(66);t.exports=r},function(t,e,n){function r(){if(!arguments.length)return[];var t=arguments[0];return a(t)?t:[t]}var a=n(9);t.exports=r},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&a(t,e,0)>-1}var a=n(63);t.exports=r},function(t,e){function n(t,e,n){for(var r=n-1,a=t.length;++r<a;)if(t[r]===e)return r;return-1}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function r(t,e){if(a(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(u.test(t)||!o.test(t)||null!=e&&t in Object(e))}var a=n(9),i=n(19),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=r},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||a.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){function r(t){return o(t)?a(u(t)):i(t)}var a=n(233),i=n(234),o=n(67),u=n(20);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){"use strict";var r=n(13),a=n(119),i=n(122),o=n(123),u=n(45),c=n(124),s=n(125),l=n(121);e.a=function(t,e){var n,f=typeof e;return null==e||"boolean"===f?Object(l.a)(e):("number"===f?u.a:"string"===f?(n=Object(r.a)(e))?(e=n,a.a):s.a:e instanceof r.a?a.a:e instanceof Date?o.a:Array.isArray(e)?i.a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?c.a:u.a)(t,e)}},function(t,e,n){"use strict";function r(){}function a(t){var e;return t=(t+"").trim().toLowerCase(),(e=x.exec(t))?(e=parseInt(e[1],16),new s(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=O.exec(t))?i(parseInt(e[1],16)):(e=w.exec(t))?new s(e[1],e[2],e[3],1):(e=j.exec(t))?new s(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=M.exec(t))?o(e[1],e[2],e[3],e[4]):(e=k.exec(t))?o(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=T.exec(t))?l(e[1],e[2]/100,e[3]/100,1):(e=A.exec(t))?l(e[1],e[2]/100,e[3]/100,e[4]):P.hasOwnProperty(t)?i(P[t]):"transparent"===t?new s(NaN,NaN,NaN,0):null}function i(t){return new s(t>>16&255,t>>8&255,255&t,1)}function o(t,e,n,r){return r<=0&&(t=e=n=NaN),new s(t,e,n,r)}function u(t){return t instanceof r||(t=a(t)),t?(t=t.rgb(),new s(t.r,t.g,t.b,t.opacity)):new s}function c(t,e,n,r){return 1===arguments.length?u(t):new s(t,e,n,null==r?1:r)}function s(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function l(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new p(t,e,n,r)}function f(t){if(t instanceof p)return new p(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=a(t)),!t)return new p;if(t instanceof p)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,o=Math.min(e,n,i),u=Math.max(e,n,i),c=NaN,s=u-o,l=(u+o)/2;return s?(c=e===u?(n-i)/s+6*(n<i):n===u?(i-e)/s+2:(e-n)/s+4,s/=l<.5?u+o:2-u-o,c*=60):s=l>0&&l<1?0:c,new p(c,s,l,t.opacity)}function h(t,e,n,r){return 1===arguments.length?f(t):new p(t,e,n,null==r?1:r)}function p(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function d(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}e.a=r,n.d(e,"d",function(){return v}),n.d(e,"c",function(){return b}),e.e=a,e.h=u,e.g=c,e.b=s,e.f=h;var y=n(73),v=.7,b=1/v,g="\\s*([+-]?\\d+)\\s*",m="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,O=/^#([0-9a-f]{6})$/,w=new RegExp("^rgb\\("+[g,g,g]+"\\)$"),j=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),M=new RegExp("^rgba\\("+[g,g,g,m]+"\\)$"),k=new RegExp("^rgba\\("+[_,_,_,m]+"\\)$"),T=new RegExp("^hsl\\("+[m,_,_]+"\\)$"),A=new RegExp("^hsla\\("+[m,_,_,m]+"\\)$"),P={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Object(y.a)(r,a,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(y.a)(s,c,Object(y.b)(r,{brighter:function(t){return t=null==t?b:Math.pow(b,t),new s(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?v:Math.pow(v,t),new s(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(y.a)(p,h,Object(y.b)(r,{brighter:function(t){return t=null==t?b:Math.pow(b,t),new p(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?v:Math.pow(v,t),new p(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,a=2*n-r;return new s(d(t>=240?t-240:t+120,a,r),d(t,a,r),d(t<120?t+240:t-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}e.b=r,e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},function(t,e,n){"use strict";function r(t,e,n,r,a){var i=t*t,o=i*t;return((1-3*t+3*i-o)*e+(4-6*i+3*o)*n+(1+3*t+3*i-3*o)*r+o*a)/6}e.a=r,e.b=function(t){var e=t.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[a],o=t[a+1],u=a>0?t[a-1]:2*i-o,c=a<e-1?t[a+2]:2*o-i;return r((n-a/e)*e,u,i,o,c)}}},function(t,e,n){"use strict";function r(){return m||(O(a),m=x.now()+_)}function a(){m=0}function i(){this._call=this._time=this._next=null}function o(t,e,n){var r=new i;return r.restart(t,e,n),r}function u(){r(),++d;for(var t,e=h;e;)(t=m-e._time)>=0&&e._call.call(null,t),e=e._next;--d}function c(){m=(g=x.now())+_,d=y=0;try{u()}finally{d=0,l(),m=0}}function s(){var t=x.now(),e=t-g;e>b&&(_-=e,g=t)}function l(){for(var t,e,n=h,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:h=e);p=t,f(r)}function f(t){if(!d){y&&(y=clearTimeout(y));var e=t-m;e>24?(t<1/0&&(y=setTimeout(c,e)),v&&(v=clearInterval(v))):(v||(g=m,v=setInterval(s,b)),d=1,O(c))}}e.b=r,e.a=i,e.c=o;var h,p,d=0,y=0,v=0,b=1e3,g=0,m=0,_=0,x="object"==typeof performance&&performance.now?performance:Date,O="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};i.prototype=o.prototype={constructor:i,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==e?0:+e),this._next||p===this||(p?p._next=this:h=this,p=this),this._call=t,this._time=n,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}}},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||a(t,e,n)}var a=n(77),i=n(25),o=Object.prototype,u=o.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&a?a(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var a=n(256);t.exports=r},function(t,e,n){var r=n(39),a=n(259),i=n(260),o=n(18),u=n(30),c=n(263),s=n(128),l=n(264),f=s(function(t,e){var n={};if(null==t)return n;var s=!1;e=r(e,function(e){return e=o(e,t),s||(s=e.length>1),e}),u(t,l(t),n),s&&(n=a(n,7,c));for(var f=e.length;f--;)i(n,e[f]);return n});t.exports=f},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(81),u=n.n(o),c=n(4),s=n.n(c),l=n(0),f=n.n(l),h=n(1),p=n.n(h),d=n(82),y=n(15),v=n(3),b=n(2),g=n(84),m=n(85),_=n(49),x=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(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),w={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},j=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),O(e,[{key:"componentWillMount",value:function(){this.cacheAttributes(this.calculateAttributes(this.props))}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.dx,a=e.dy,i=e.content,o=e.lineHeight,u=e.textAnchor,c=e.transform,s=this.props,l=s.angle,f=s.className,h=s.datum,p=s.x,d=s.y,y=s.active;return!v.a.allSetsEqual([[y,t.active],[l,t.angle],[f,t.className],[p,t.x],[d,t.y],[r,this.dx],[a,this.dy],[o,this.lineHeight],[u,this.textAnchor],[c,this.transform],[i,this.content],[n,this.style],[h,t.datum]])&&(this.cacheAttributes(e),!0)}},{key:"cacheAttributes",value:function(t){var e=t.style,n=t.dx,r=t.dy,a=t.content,i=t.textAnchor,o=t.transform,u=t.lineHeight;this.style=e,this.dx=n,this.dy=r,this.content=a,this.textAnchor=i,this.lineHeight=u,this.transform=o}},{key:"calculateAttributes",value:function(t){var e=this.getStyles(t),n=this.getHeight(t,"lineHeight"),r=t.textAnchor?b.a.evaluateProp(t.textAnchor,t.datum):"start",a=this.getContent(t);return{style:e,dx:t.dx?b.a.evaluateProp(this.props.dx,t.datum):0,dy:this.getDy(t,e,a,n),content:a,lineHeight:n,textAnchor:r,transform:this.getTransform(t,e)}}},{key:"getStyle",value:function(t,e){e=e?u()({},w,e):w;var n=t.datum||t.data,r=b.a.evaluateStyle(e,n,t.active);return s()({},r,{fontSize:this.getFontSize(r)})}},{key:"getStyles",value:function(t){var e=this;return Array.isArray(t.style)?t.style.map(function(n){return e.getStyle(t,n)}):[this.getStyle(t,t.style)]}},{key:"getHeight",value:function(t,e){var n=t.datum||t.data;return b.a.evaluateProp(t[e],n,t.active)}},{key:"getContent",value:function(t){if(void 0===t.text||null===t.text)return[" "];var e=t.datum||t.data;return Array.isArray(t.text)?t.text.map(function(n){return b.a.evaluateProp(n,e,t.active)}):(""+b.a.evaluateProp(t.text,e,t.active)).split("\n")}},{key:"getDy",value:function(t,e,n,r){var a=e[0].fontSize,i=t.datum||t.data,o=t.dy?b.a.evaluateProp(t.dy,i):0,u=n.length,c=this.getHeight(t,"capHeight"),s=e.verticalAnchor||t.verticalAnchor;switch(s?b.a.evaluateProp(s,i):"middle"){case"end":return o+(c/2+(.5-u)*r)*a;case"middle":return o+(c/2+(.5-u/2)*r)*a;default:return o+(c/2+r/2)*a}}},{key:"getTransform",value:function(t,e){var n=t.datum,r=t.x,a=t.y,i=t.polar,o=i?g.a.getPolarAngle(t):0,u=e.angle||t.angle||o,c=t.transform||e.transform,s=c&&b.a.evaluateProp(c,n),l=u&&{rotate:[u,r,a]};return s||u?m.a.toTransformString(s,l):void 0}},{key:"getFontSize",value:function(t){var e=t&&t.fontSize;if("number"==typeof e)return e;if(void 0===e||null===e)return w.fontSize;if("string"==typeof e){var n=+e.replace("px","");return isNaN(n)?(_.a.warn("fontSize should be expressed as a number of pixels"),w.fontSize):n}return w.fontSize}},{key:"renderElements",value:function(t){var e=this,n={dx:this.dx,dy:this.dy,x:t.x,y:t.y,transform:this.transform,className:t.className};return f.a.createElement("text",x({},n,t.events),this.props.title&&f.a.createElement("title",null,this.props.title),this.props.desc&&f.a.createElement("desc",null,this.props.desc),this.content.map(function(n,r){var a=e.style[r]||e.style[0],i=e.style[r-1]||e.style[0],o=(a.fontSize+i.fontSize)/2,u=a.textAnchor||e.textAnchor,c=r?e.lineHeight*o:void 0;return f.a.createElement("tspan",{key:r,x:t.x,dy:c,dx:e.dx,style:a,textAnchor:u},n)}))}},{key:"render",value:function(){var t=this.renderElements(this.props);return this.props.renderInPortal?f.a.createElement(d.a,null,t):t}}]),e}(f.a.Component);j.displayName="VictoryLabel",j.role="label",j.propTypes={active:p.a.bool,angle:p.a.oneOfType([p.a.string,p.a.number]),capHeight:p.a.oneOfType([p.a.string,y.a.nonNegative,p.a.func]),className:p.a.string,data:p.a.array,datum:p.a.any,desc:p.a.string,dx:p.a.oneOfType([p.a.number,p.a.string,p.a.func]),dy:p.a.oneOfType([p.a.number,p.a.string,p.a.func]),events:p.a.object,index:p.a.oneOfType([p.a.number,p.a.string]),labelPlacement:p.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:p.a.oneOfType([p.a.string,y.a.nonNegative,p.a.func]),origin:p.a.shape({x:p.a.number,y:p.a.number}),polar:p.a.bool,renderInPortal:p.a.bool,style:p.a.oneOfType([p.a.object,p.a.array]),text:p.a.oneOfType([p.a.string,p.a.number,p.a.func,p.a.array]),textAnchor:p.a.oneOfType([p.a.oneOf(["start","middle","end","inherit"]),p.a.func]),title:p.a.string,transform:p.a.oneOfType([p.a.string,p.a.object,p.a.func]),verticalAnchor:p.a.oneOfType([p.a.oneOf(["start","middle","end"]),p.a.func]),x:p.a.oneOfType([p.a.number,p.a.string]),y:p.a.oneOfType([p.a.number,p.a.string])},j.defaultProps={capHeight:.71,lineHeight:1},e.a=j},function(t,e,n){var r=n(265),a=n(46),i=a(function(t,e,n){r(t,e,n)});t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(78),u=n.n(o),c=n(7),s=n.n(c),l=n(0),f=n.n(l),h=n(1),p=n.n(h),d=n(49),y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),y(e,[{key:"componentDidMount",value:function(){if(!this.checkedContext){if("function"!=typeof this.context.portalUpdate){d.a.warn("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"),this.renderInPlace=!0}this.checkedContext=!0}this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=this.props.children,e=t&&t.props||{},n=t&&f.a.cloneElement(t,s()({},e,u()(this.props,"children")));return this.renderPortal(n)}}]),e}(f.a.Component);v.propTypes={children:p.a.node},v.contextTypes={portalDeregister:p.a.func,portalRegister:p.a.func,portalUpdate:p.a.func},e.a=v},function(t,e,n){function r(t){if(null==t)return!0;if(c(t)&&(u(t)||"string"==typeof t||"function"==typeof t.splice||s(t)||f(t)||o(t)))return!t.length;var e=i(t);if(e==h||e==p)return!t.size;if(l(t))return!a(t).length;for(var n in t)if(y.call(t,n))return!1;return!0}var a=n(281),i=n(107),o=n(38),u=n(9),c=n(48),s=n(64),l=n(79),f=n(65),h="[object Map]",p="[object Set]",d=Object.prototype,y=d.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";var r=n(2);e.a={getText:function(t,e,n){return void 0!==e.label?e.label:Array.isArray(t.labels)?t.labels[n]:t.labels},getVerticalAnchor:function(t,e){var n=e._y>=0?1:-1,r=t.style&&t.style.labels||{};return e.getVerticalAnchor||r.verticalAnchor?e.getVerticalAnchor||r.verticalAnchor:t.horizontal?"middle":n>=0?"end":"start"},getTextAnchor:function(t,e){var n=t.style,r=t.horizontal,a=e._y>=0?1:-1,i=n&&n.labels||{};return e.getVerticalAnchor||i.verticalAnchor?e.getVerticalAnchor||i.verticalAnchor:r?a>=0?"start":"end":"middle"},getAngle:function(t,e){var n=t.style&&t.style.labels||{};return e.angle||n.angle},getPadding:function(t,e){var n=t.horizontal,a=t.style,i=t.active,o=a.labels||{},u=r.a.evaluateProp(o.padding,e,i)||0,c=e._y<0?-1:1;return{x:n?c*u:0,y:n?0:c*u}},getPosition:function(t,e){var n=t.horizontal,a=t.polar,i=r.a.scalePoint(t,e),o=i.x,u=i.y,c=this.getPadding(t,e);if(a){var s=this.getPolarPadding(t,e);return{x:o+s.x,y:u+s.y}}return{x:n?u+c.x:o+c.x,y:n?o+c.y:u-c.y}},getPolarPadding:function(t,e){var n=t.active,a=t.style,i=this.getDegrees(t,e),o=a.labels||{},u=r.a.evaluateProp(o.padding,e,n)||0,c=r.a.degreesToRadians(i);return{x:u*Math.cos(c),y:-u*Math.sin(c)}},getLabelPlacement:function(t){var e=t.labelComponent,n=t.labelPlacement,r=t.polar,a=r?"perpendicular":"vertical";return n||(e.props&&e.props.labelPlacement||a)},getPolarOrientation:function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"},getPolarTextAnchor:function(t,e){var n=this.getLabelPlacement(t);return"perpendicular"===n||"vertical"===n&&(90===e||270===e)?"middle":e<=90||e>270?"start":"end"},getPolarVerticalAnchor:function(t,e){var n=this.getLabelPlacement(t),r=this.getPolarOrientation(e);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"},getPolarAngle:function(t,e){var n=t.labelPlacement,r=t.datum;if(!n||"vertical"===n)return 0;var a=void 0!==e?e:this.getDegrees(t,r),i=a>90&&a<180||a>270?1:-1,o=void 0;return 0===a||180===a?o=90:a>0&&a<180?o=90-a:a>180&&a<360&&(o=270-a),o+i*("perpendicular"===n?0:90)},getDegrees:function(t,e){var n=r.a.getPoint(e),a=n.x;return r.a.radiansToDegrees(t.scale.x(a))},getProps:function(t,e){var n=t.scale,r=t.data,a=t.style,i=t.horizontal,o=t.polar,u=r[e],c=this.getDegrees(t,u),s=o?this.getPolarTextAnchor(t,c):this.getTextAnchor(t,u),l=o?this.getPolarVerticalAnchor(t,c):this.getVerticalAnchor(t,u),f=this.getAngle(t,u),h=this.getText(t,u,e),p=this.getLabelPlacement(t),d=this.getPosition(t,u);return{angle:f,data:r,datum:u,horizontal:i,index:e,polar:o,scale:n,labelPlacement:p,text:h,textAnchor:s,verticalAnchor:l,x:d.x,y:d.y,style:a.labels}}}},function(t,e,n){"use strict";var r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(n.length>0)return n.reduce(function(t,e){return[t,r(e)].join(" ")},r(t));if(!t||"string"==typeof t)return t;var i=[];for(var o in t)if(t.hasOwnProperty(o)){var u=t[o];i.push(o+"("+u+")")}return i.join(" ")};e.a={toTransformString:r,getColorScale:function(t){var e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}}},function(t,e,n){var r=n(21),a=n(141),i=n(51),o=n(52),u=r(function(t,e){var n=o(e,i(u));return a(t,64,void 0,e,n)});u.placeholder={},t.exports=u},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var i=n(146),o=n.n(i),u=n(6),c=n.n(u),s=n(83),l=n.n(s),f=n(300),h=n.n(f),p=n(81),d=n.n(p),y=n(301),v=n.n(y),b=n(4),g=n.n(b);e.a={getEvents:function(t,e,n,r){var i=this,o=function(t){var r=function(){var r=t.reduce(function(t,n){return void 0!==n.target?""+n.target==""+e?t.concat(n):t:t.concat(n)},[]);return void 0!==n&&"parent"!==e?r.filter(function(t){var e=t.eventKey,r=function(t){return!t||""+t==""+n};return Array.isArray(e)?e.some(function(t){return r(t)}):r(e)}):r}();return Array.isArray(r)&&r.reduce(function(t,e){return e?g()(t,e.eventHandlers):t},{})},u=function(){if(Array.isArray(i.componentEvents)){var e;return Array.isArray(t.events)?(e=i.componentEvents).concat.apply(e,a(t.events)):i.componentEvents}return t.events}(),s=u&&c()(r)?r(o(u),e):void 0;if(!t.sharedEvents)return s;var l=t.sharedEvents.getEvents,f=t.sharedEvents.events&&l(o(t.sharedEvents.events),e);return g()({},f,s)},getScopedEvents:function(t,e,n,a){var i=this;if(l()(t))return{};a=a||this.baseProps;var u=function(t,e){var n=t.childName,r=t.target,o=t.key,u="props"===e?a:i.state,c=void 0!==n&&null!==n&&u[n]?u[n]:u;return"parent"===o?c.parent:c[o]&&c[o][r]},s=function(t,c){var s="parent"===e?t.childName:t.childName||n,l=t.target||e,f=function(e){return"all"===t.eventKey?a[e]?o()(Object.keys(a[e]),"parent"):o()(Object.keys(a),"parent"):void 0===t.eventKey&&"parent"===c?a[e]?Object.keys(a[e]):Object.keys(a):void 0!==t.eventKey?t.eventKey:c},h=function(e,n){var o=function(){return null},c=u({childName:n,key:e,target:l},"props"),s=u({childName:n,key:e,target:l},"state"),f=t.mutation||o,h=f(g()({},c,s),a),p=i.state[n]||{},d=function(t){return"parent"===l?v()(t[e],h):v()(t[e],r({},l,h))};return void 0!==n&&null!==n?v()(i.state,r({},n,v()(p,r({},e,d(p))))):v()(i.state,r({},e,d(i.state)))},p=function(t){var e=f(t);return Array.isArray(e)?e.reduce(function(e,n){return g()(e,h(n,t))},{}):h(e,t)},d="all"===s?o()(Object.keys(a),"parent"):s;return Array.isArray(d)?d.reduce(function(t,e){return g()(t,p(e))},{}):p(d)},f=function(t,e){return Array.isArray(t)?t.reduce(function(t,n){return t=d()({},t,s(n,e))},{}):s(t,e)},h=function(t){var e=function(t){return c()(t.callback)&&t.callback},n=Array.isArray(t)?t.map(function(t){return e(t)}):[e(t)],r=n.filter(function(t){return!1!==t});return r.length?function(){return r.forEach(function(t){return t()})}:void 0},p=function(e,n,r,a){var o=t[a](e,n,r,i);if(o){var u=h(o);i.setState(f(o,r),u)}};return Object.keys(t).reduce(function(t,e){return t[e]=p,t},{})},getPartialEvents:function(t,e,n){return t?Object.keys(t).reduce(function(r,a){return r[a]=h()(t[a],h.a.placeholder,n,e,a),r},{}):{}},getEventState:function(t,e,n){return n?this.state[n]&&this.state[n][t]&&this.state[n][t][e]:"parent"===t?this.state[t]&&this.state[t][e]||this.state[t]:this.state[t]&&this.state[t][e]},getComponentEvents:function(t,e){var n=Array.isArray(e)&&e.reduce(function(e,n){var r,i=t[n],o=i&&i.type&&i.type.defaultEvents,u=c()(o)?o(i.props):o;return e=Array.isArray(u)?(r=e).concat.apply(r,a(u)):e},[]);return n&&n.length?n:void 0}}},function(t,e,n){"use strict";var r=n(304),a=n(305);e.a={material:r.a,grayscale:a.a}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(7),i=n.n(a),o=n(81),u=n.n(o),c={"American Typewriter":2.09,Baskerville:2.51,Georgia:2.27,"Hoefler Text":2.39,Palatino:2.26,"Times New Roman":2.48,Arial:2.26,"Gill Sans":2.47,"Gill Sans 300":2.58,"Helvetica Neue":2.24,"Lucida Grande":2.05,Tahoma:2.25,"Trebuchet MS":2.2,Verdana:1.96,"Courier New":1.67,cursive:1.84,fantasy:2.09,monospace:1.81,serif:2.04,"sans-serif":1.89},s={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},l={em:1,ex:.5},f={averageFontConstant:2.1675,widthOverlapCoef:1.25,heightOverlapCoef:1.05,lineCapitalCoef:1.15,lineSpaceHeightCoef:.2},h={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},p=function(t){return t*Math.PI/180},d=function(t){var e=t.split(",")[0].replace(/'|"/g,"");return c[e]||f.averageFontConstant},y=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},v=function(t,e,n){var r=p(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},b=function(t,e){var n=t.match(/[a-zA-Z%]+/)[0],r=t.match(/[0-9.,]+/);return s.hasOwnProperty(n)?r*s[n]:l.hasOwnProperty(n)?(e?r*e:r*f.defaultFontSize)*l[n]:r},g=function(t,e){var n=Array.isArray(t)?t[e]:t,r=i()({},n,h);return u()({},r,{characterConstant:r.characterConstant||d(r.fontFamily),letterSpacing:b(r.letterSpacing,r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:b(String(r.fontSize))})},m=function(t,e){var n=y(t).map(function(t,n){var r=t.toString().length,a=g(e,n);return r*a.fontSize/a.characterConstant+a.letterSpacing*Math.max(r-1,0)});return Math.max.apply(Math,r(n))},_=function(t,e){return y(t).reduce(function(t,n,r){var a=g(e,r),i=a.fontSize*f.lineCapitalCoef,o=0===r?0:a.fontSize*f.lineSpaceHeightCoef;return t+a.lineHeight*(i+o)},0)},x=function(t,e){var n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=_(t,e),a=m(t,e),i=n?v(a,r,n):a,o=n?v(r,a,n):r;return{width:i*f.widthOverlapCoef,height:o*f.heightOverlapCoef}};e.a={approximateTextSize:x,convertLengthToPixels:b}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(319);n.d(e,"arc",function(){return r.a});var a=n(155);n.d(e,"area",function(){return a.a});var i=n(91);n.d(e,"line",function(){return i.a});var o=n(321);n.d(e,"pie",function(){return o.a});var u=n(324);n.d(e,"areaRadial",function(){return u.a}),n.d(e,"radialArea",function(){return u.a});var c=n(157);n.d(e,"lineRadial",function(){return c.a}),n.d(e,"radialLine",function(){return c.a});var s=n(158);n.d(e,"pointRadial",function(){return s.a});var l=n(325);n.d(e,"linkHorizontal",function(){return l.a}),n.d(e,"linkVertical",function(){return l.c}),n.d(e,"linkRadial",function(){return l.b});var f=n(326);n.d(e,"symbol",function(){return f.a}),n.d(e,"symbols",function(){return f.b});var h=n(160);n.d(e,"symbolCircle",function(){return h.a});var p=n(161);n.d(e,"symbolCross",function(){return p.a});var d=n(162);n.d(e,"symbolDiamond",function(){return d.a});var y=n(164);n.d(e,"symbolSquare",function(){return y.a});var v=n(163);n.d(e,"symbolStar",function(){return v.a});var b=n(165);n.d(e,"symbolTriangle",function(){return b.a});var g=n(166);n.d(e,"symbolWye",function(){return g.a});var m=n(327);n.d(e,"curveBasisClosed",function(){return m.a});var _=n(328);n.d(e,"curveBasisOpen",function(){return _.a});var x=n(55);n.d(e,"curveBasis",function(){return x.b});var O=n(329);n.d(e,"curveBundle",function(){return O.a});var w=n(167);n.d(e,"curveCardinalClosed",function(){return w.b});var j=n(168);n.d(e,"curveCardinalOpen",function(){return j.b});var M=n(56);n.d(e,"curveCardinal",function(){return M.b});var k=n(330);n.d(e,"curveCatmullRomClosed",function(){return k.a});var T=n(331);n.d(e,"curveCatmullRomOpen",function(){return T.a});var A=n(93);n.d(e,"curveCatmullRom",function(){return A.a});var P=n(332);n.d(e,"curveLinearClosed",function(){return P.a});var E=n(53);n.d(e,"curveLinear",function(){return E.a});var C=n(333);n.d(e,"curveMonotoneX",function(){return C.a}),n.d(e,"curveMonotoneY",function(){return C.b});var S=n(334);n.d(e,"curveNatural",function(){return S.a});var N=n(335);n.d(e,"curveStep",function(){return N.a}),n.d(e,"curveStepAfter",function(){return N.b}),n.d(e,"curveStepBefore",function(){return N.c});var D=n(336);n.d(e,"stack",function(){return D.a});var L=n(337);n.d(e,"stackOffsetExpand",function(){return L.a});var R=n(338);n.d(e,"stackOffsetDiverging",function(){return R.a});var F=n(33);n.d(e,"stackOffsetNone",function(){return F.a});var I=n(339);n.d(e,"stackOffsetSilhouette",function(){return I.a});var W=n(340);n.d(e,"stackOffsetWiggle",function(){return W.a});var z=n(94);n.d(e,"stackOrderAscending",function(){return z.a});var U=n(341);n.d(e,"stackOrderDescending",function(){return U.a});var q=n(342);n.d(e,"stackOrderInsideOut",function(){return q.a});var V=n(34);n.d(e,"stackOrderNone",function(){return V.a});var B=n(343);n.d(e,"stackOrderReverse",function(){return B.a})},function(t,e,n){"use strict";var r=n(31),a=n(16),i=n(53),o=n(92);e.a=function(){function t(t){var a,i,o,f=t.length,h=!1;for(null==c&&(l=s(o=Object(r.a)())),a=0;a<=f;++a)!(a<f&&u(i=t[a],a,t))===h&&((h=!h)?l.lineStart():l.lineEnd()),h&&l.point(+e(i,a,t),+n(i,a,t));if(o)return l=null,o+""||null}var e=o.a,n=o.b,u=Object(a.a)(!0),c=null,s=i.a,l=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Object(a.a)(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Object(a.a)(+e),t):n},t.defined=function(e){return arguments.length?(u="function"==typeof e?e:Object(a.a)(!!e),t):u},t.curve=function(e){return arguments.length?(s=e,null!=c&&(l=s(c)),t):s},t.context=function(e){return arguments.length?(null==e?c=l=null:l=s(c=e),t):c},t}},function(t,e,n){"use strict";function r(t){return t[0]}function a(t){return t[1]}e.a=r,e.b=a},function(t,e,n){"use strict";function r(t,e,n){var r=t._x1,a=t._y1,o=t._x2,u=t._y2;if(t._l01_a>i.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,a=(a*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>i.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*l+t._x1*t._l23_2a-e*t._l12_2a)/f,u=(u*l+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,a,o,u,t._x2,t._y2)}function a(t,e){this._context=t,this._alpha=e}e.b=r;var i=n(32),o=n(56);a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,a=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new a(t,e):new o.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t){for(var e,n=0,r=-1,a=t.length;++r<a;)(e=+t[r][1])&&(n+=e);return n}e.b=r;var a=n(34);e.a=function(t){var e=t.map(r);return Object(a.a)(t).sort(function(t,n){return e[t]-e[n]})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(104),i=n.n(a),o=n(69),u=n.n(o),c=n(6),s=n.n(c),l=n(127),f=n.n(l),h=n(152),p=n.n(h),d=n(351),y=n.n(d),v=n(4),b=n.n(v),g=n(2),m=n(3),_=n(96);e.a={getData:function(t){var e=void 0;if(t.data){if(t.data.length<1)return[];e=this.formatData(t.data,t)}else e=this.formatData(this.generateData(t),t);return this.addEventKeys(t,e)},generateDataArray:function(t,e){var n=t.domain&&Array.isArray(t.domain)?t.domain:t.domain&&t.domain[e],a=n||_.a.getBaseScale(t,e).domain(),i=t.samples||1,o=Math.max.apply(Math,r(a)),u=Math.min.apply(Math,r(a)),c=(o-u)/i,s=p()(u,o,c);return f()(s)===o?s:s.concat(o)},generateData:function(t){var e=this.generateDataArray(t,"x"),n=this.generateDataArray(t,"y");return e.map(function(t,e){return{x:t,y:n[e]}})},formatData:function(t,e,n){if(!Array.isArray(t))return[];n=n||{x:this.createStringMap(e,"x"),y:this.createStringMap(e,"y")};var r={x:g.a.createAccessor(void 0!==e.x?e.x:"x"),y:g.a.createAccessor(void 0!==e.y?e.y:"y"),y0:g.a.createAccessor(void 0!==e.y0?e.y0:"y0")},a=t.map(function(t,e){var a=void 0!==t._x?t._x:r.x(t),i=void 0!==t._y?t._y:r.y(t),o=void 0!==t._y0?t._y0:r.y0(t),u=void 0!==a?a:e,c=void 0!==i?i:t,s=void 0===o?{x:u,y:c}:{x:u,y:c,y0:o},l=void 0===o?{_x:u,_y:c}:{_x:u,_y:c,_y0:o};return b()(s,t,l,"string"==typeof u?{_x:n.x[u],xName:u}:{},"string"==typeof c?{_y:n.y[c],yName:c}:{},"string"==typeof o?{_y0:n.y[o],yName:o}:{})}),i=this.sortData(a,e.sortKey);return this.cleanData(i,e)},sortData:function(t,e){return e?("x"!==e&&"y"!==e||(e="_"+e),i()(t,e)):t},cleanData:function(t,e){var n={x:_.a.getScaleType(e,"x"),y:_.a.getScaleType(e,"y")};if("log"!==n.x&&"log"!==n.y)return t;var r=function(t,e){return"log"!==n[e]||0!==t["_"+e]};return t.filter(function(t){return r(t,"x")&&r(t,"y")&&r(t,"y0")})},getEventKey:function(t){return s()(t)?t:null===t||void 0===t?function(){}:u()(t)},addEventKeys:function(t,e){var n=this.getEventKey(t.eventKey);return e.map(function(t,e){var r=t.eventKey||n(t)||e;return b()({eventKey:r},t)})},createStringMap:function(t,e){var n=this.getStringsFromAxes(t,e),a=this.getStringsFromCategories(t,e),i=this.getStringsFromData(t,e),o=y()([].concat(r(n),r(a),r(i)));return 0===o.length?null:o.reduce(function(t,e,n){return t[e]=n+1,t},{})},getStringsFromData:function(t,e){if(!Array.isArray(t.data))return[];var n=void 0===t[e]?e:t[e],r=g.a.createAccessor(n);return t.data.map(function(t){return r(t)}).filter(function(t){return"string"==typeof t}).reduce(function(t,e){return void 0!==e&&null!==e&&-1===t.indexOf(e)&&t.push(e),t},[])},getStringsFromAxes:function(t,e){return t.tickValues&&(Array.isArray(t.tickValues)||t.tickValues[e])?(t.tickValues[e]||t.tickValues).filter(function(t){return"string"==typeof t}):[]},getStringsFromCategories:function(t,e){if(!t.categories)return[];var n=this.getCategories(t,e),r=n&&n.filter(function(t){return"string"==typeof t});return r?m.a.removeUndefined(r):[]},getCategories:function(t,e){return t.categories&&!Array.isArray(t.categories)?t.categories[e]:t.categories},downsample:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t.length>e){var r=Math.pow(2,Math.ceil(Math.log2(t.length/e)));return t.filter(function(t,e){return(e+n)%r==0})}return t}}},function(t,e,n){"use strict";var r=n(6),a=n.n(r),i=n(169),o=n.n(i),u=n(2),c=n(3),s=n(355),l=["linear","time","log","sqrt"];e.a={getDefaultScale:function(){return s.scaleLinear()},toNewName:function(t){return"scale"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)},validScale:function(t){return"function"==typeof t?a()(t.copy)&&a()(t.domain)&&a()(t.range):"string"==typeof t&&o()(l,t)},isScaleDefined:function(t,e){return!!t.scale&&(!t.scale.x&&!t.scale.y||!!t.scale[e])},getScaleTypeFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return"string"==typeof n?n:this.getType(n)}},getScaleFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return this.validScale(n)?a()(n)?n:s[this.toNewName(n)]():void 0}},getScaleTypeFromData:function(t,e){if(!t.data)return"linear";var n=u.a.createAccessor(t[e]),r=t.data.map(n);return c.a.containsDates(r)?"time":"linear"},getBaseScale:function(t,e){var n=this.getScaleFromProps(t,e);if(n)return n;var r=this.getScaleTypeFromData(t,e);return s[this.toNewName(r)]()},getType:function(t){var e=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}],n=e.filter(function(e){return void 0!==t[e.method]})[0];return n?n.name:void 0},getScaleType:function(t,e){return this.getScaleTypeFromProps(t,e)||this.getScaleTypeFromData(t,e)}}},function(t,e,n){"use strict";var r=n(35);e.a=function(t,e,n){if(null==n&&(n=r.a),a=t.length){if((e=+e)<=0||a<2)return+n(t[0],0,t);if(e>=1)return+n(t[a-1],a-1,t);var a,i=(a-1)*e,o=Math.floor(i),u=+n(t[o],o,t);return u+(+n(t[o+1],o+1,t)-u)*(i-o)}}},function(t,e,n){"use strict";function r(){}function a(t,e){var n=new r;if(t instanceof r)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var a,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(a=t[i],i,t),a)}else if(t)for(var u in t)n.set(u,t[u]);return n}n.d(e,"b",function(){return i});var i="$";r.prototype=a.prototype={constructor:r,has:function(t){return i+t in this},get:function(t){return this[i+t]},set:function(t,e){return this[i+t]=e,this},remove:function(t){var e=i+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===i&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===i&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===i&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===i&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===i&&++t;return t},empty:function(){for(var t in this)if(t[0]===i)return!1;return!0},each:function(t){for(var e in this)e[0]===i&&t(this[e],e.slice(1),this)}},e.a=a},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}},function(t,e,n){"use strict";var r=(n(5),n(395));n.d(e,"c",function(){return r.a}),n.d(e,"m",function(){return r.a});var a=n(396);n.d(e,"g",function(){return a.a}),n.d(e,"q",function(){return a.a});var i=n(397);n.d(e,"d",function(){return i.a});var o=n(398);n.d(e,"b",function(){return o.a});var u=n(399);n.d(e,"a",function(){return u.a});var c=n(400);n.d(e,"i",function(){return c.b}),n.d(e,"h",function(){return c.b}),n.d(e,"e",function(){return c.a});var s=n(401);n.d(e,"f",function(){return s.a});var l=n(402);n.d(e,"j",function(){return l.a});var f=n(403);n.d(e,"n",function(){return f.a});var h=n(404);n.d(e,"l",function(){return h.a});var p=n(405);n.d(e,"k",function(){return p.a});var d=n(406);n.d(e,"s",function(){return d.b}),n.d(e,"r",function(){return d.b}),n.d(e,"o",function(){return d.a});var y=n(407);n.d(e,"p",function(){return y.a});var v=n(408);n.d(e,"t",function(){return v.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return u});var r,a,i,o,u,c=n(192);!function(t){r=Object(c.a)(t),a=r.format,i=r.parse,o=r.utcFormat,u=r.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(0),c=n.n(u),s=n(1),l=n.n(s),f=n(195),h=n(206),p=n(29),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={data:Array.isArray(n.props.data)?n.props.data[0]:n.props.data,animationInfo:{progress:0,animating:!1}},n.interpolator=null,n.queue=Array.isArray(n.props.data)?n.props.data.slice(1):[],n.ease=f[n.toNewName(n.props.easing)],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(n),n.getTimer=n.getTimer.bind(n),n}return o(e,t),d(e,[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentWillReceiveProps",value:function(t){if(this.getTimer().unsubscribe(this.loopID),Array.isArray(t.data)){var e;(e=this.queue).push.apply(e,r(t.data))}else this.queue.length=0,this.queue.push(t.data);this.traverseQueue()}},{key:"componentWillUnmount",value:function(){this.loopID?this.getTimer().unsubscribe(this.loopID):this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new p.a),this.timer)}},{key:"toNewName",value:function(t){return"ease"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"traverseQueue",value:function(){var t=this;if(this.queue.length){var e=this.queue[0];this.interpolator=Object(h.a)(this.state.data,e),this.props.delay?setTimeout(function(){t.loopID=t.getTimer().subscribe(t.functionToBeRunEachFrame,t.props.duration)},this.props.delay):this.loopID=this.getTimer().subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(t,e){e=void 0!==e?e:this.props.duration;var n=e?t/e:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1}}),this.loopID&&this.getTimer().unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}]),e}(c.a.Component);y.displayName="VictoryAnimation",y.propTypes={children:l.a.func,data:l.a.oneOfType([l.a.object,l.a.array]),delay:l.a.number,duration:l.a.number,easing:l.a.oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:l.a.func},y.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},y.contextTypes={getTimer:l.a.func},e.a=y},function(t,e,n){var r=n(105),a=n(211),i=n(21),o=n(70),u=i(function(t,e){if(null==t)return[];var n=e.length;return n>1&&o(t,e[0],e[1])?e=[]:n>2&&o(e[0],e[1],e[2])&&(e=[e[0]]),a(t,r(e,1),[])});t.exports=u},function(t,e,n){function r(t,e,n,o,u){var c=-1,s=t.length;for(n||(n=i),u||(u=[]);++c<s;){var l=t[c];e>0&&n(l)?e>1?r(l,e-1,n,o,u):a(u,l):o||(u[u.length]=l)}return u}var a=n(207),i=n(208);t.exports=r},function(t,e,n){var r=n(14),a=r.Symbol;t.exports=a},function(t,e){function n(t){return a.call(t)}var r=Object.prototype,a=r.toString;t.exports=n},function(t,e,n){function r(t){return t===t&&!a(t)}var a=n(10);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t){return null==t?"":a(t)}var a=n(230);t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,a)}var a=n(231),i=n(232);t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=i(r.length-e,0),c=Array(u);++o<u;)c[o]=r[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=r[o];return s[e]=n(c),a(t,this,s)}}var a=n(44),i=Math.max;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return a.call(t)}var r=Object.prototype,a=r.toString;t.exports=n},function(t,e,n){var r=n(41),a=r(Object.getPrototypeOf,Object);t.exports=a},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var r=Math.PI/180,a=180/Math.PI},function(t,e,n){"use strict";function r(t){return function(e){var n,r,i=e.length,o=new Array(i),u=new Array(i),c=new Array(i);for(n=0;n<i;++n)r=Object(a.f)(e[n]),o[n]=r.r||0,u[n]=r.g||0,c[n]=r.b||0;return o=t(o),u=t(u),c=t(c),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=c(t),r+""}}}var a=n(13),i=n(74),o=n(120),u=n(28);e.a=function t(e){function n(t,e){var n=r((t=Object(a.f)(t)).r,(e=Object(a.f)(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),c=Object(u.a)(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=c(e),t+""}}var r=Object(u.b)(e);return n.gamma=t,n}(1);r(i.b),r(o.a)},function(t,e,n){"use strict";var r=n(74);e.a=function(t){var e=t.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*e),i=t[(a+e-1)%e],o=t[a%e],u=t[(a+1)%e],c=t[(a+2)%e];return Object(r.a)((n-a/e)*e,i,o,u,c)}}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";var r=n(71);e.a=function(t,e){var n,a=e?e.length:0,i=t?Math.min(a,t.length):0,o=new Array(a),u=new Array(a);for(n=0;n<i;++n)o[n]=Object(r.a)(t[n],e[n]);for(;n<a;++n)u[n]=e[n];return function(t){for(n=0;n<i;++n)u[n]=o[n](t);return u}}},function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return t=+t,e-=t,function(r){return n.setTime(t+e*r),n}}},function(t,e,n){"use strict";var r=n(71);e.a=function(t,e){var n,a={},i={};null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(n in e)n in t?a[n]=Object(r.a)(t[n],e[n]):i[n]=e[n];return function(t){for(n in a)i[n]=a[n](t);return i}}},function(t,e,n){"use strict";function r(t){return function(){return t}}function a(t){return function(e){return t(e)+""}}var i=n(45),o=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(o.source,"g");e.a=function(t,e){var n,c,s,l=o.lastIndex=u.lastIndex=0,f=-1,h=[],p=[];for(t+="",e+="";(n=o.exec(t))&&(c=u.exec(e));)(s=c.index)>l&&(s=e.slice(l,s),h[f]?h[f]+=s:h[++f]=s),(n=n[0])===(c=c[0])?h[f]?h[f]+=c:h[++f]=c:(h[++f]=null,p.push({i:f,x:Object(i.a)(n,c)})),l=u.lastIndex;return l<e.length&&(s=e.slice(l),h[f]?h[f]+=s:h[++f]=s),h.length<2?p[0]?a(p[0].x):r(e):(e=p.length,function(t){for(var n,r=0;r<e;++r)h[(n=p[r]).i]=n.x(t);return h.join("")})}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(254),u=n.n(o),c=n(7),s=n.n(c),l=n(78),f=n.n(l),h=n(4),p=n.n(h),d=n(0),y=n.n(d),v=n(1),b=n.n(v),g=n(130),m=n(29),_=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},x=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),O=function(t){function e(t){r(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getTimer=n.getTimer.bind(n),n.containerId=void 0===n.props.containerId?u()("victory-container-"):n.props.containerId,n}return i(e,t),x(e,[{key:"getChildContext",value:function(){return{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister,getTimer:this.getTimer}}},{key:"componentWillMount",value:function(){var t=this;this.savePortalRef=function(e){return t.portalRef=e,e},this.portalUpdate=function(e,n){return t.portalRef.portalUpdate(e,n)},this.portalRegister=function(){return t.portalRef.portalRegister()},this.portalDeregister=function(e){return t.portalRef.portalDeregister(e)}}},{key:"componentWillUnmount",value:function(){this.context.getTimer||this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new m.a),this.timer)}},{key:"getIdForElement",value:function(t){return this.containerId+"-"+t}},{key:"getChildren",value:function(t){return t.children}},{key:"renderContainer",value:function(t,e,n){var r=t.title,a=t.desc,i=t.portalComponent,o=t.className,u=this.getChildren(t),c=s()({style:n,className:o},e);return y.a.createElement("svg",_({},c,{overflow:"visible"}),y.a.createElement("svg",c,u),r?y.a.createElement("title",{id:this.getIdForElement("title")},r):null,a?y.a.createElement("desc",{id:this.getIdForElement("desc")},a):null,y.a.cloneElement(i,{ref:this.savePortalRef}))}},{key:"render",value:function(){var t=this.props,e=t.width,n=t.height,r=t.responsive,a=t.events,i=r?this.props.style:f()(this.props.style,["height","width"]),o=s()({},i,{touchAction:"none"}),u=p()({width:e,height:n,role:"img","aria-labelledby":this.getIdForElement("title")+" "+this.getIdForElement("desc"),viewBox:r?"0 0 "+e+" "+n:void 0},a);return this.renderContainer(this.props,u,o)}}]),e}(y.a.Component);O.displayName="VictoryContainer",O.role="container",O.propTypes={children:b.a.oneOfType([b.a.arrayOf(b.a.node),b.a.node]),className:b.a.string,containerId:b.a.oneOfType([b.a.number,b.a.string]),desc:b.a.string,events:b.a.object,height:b.a.number,origin:b.a.shape({x:b.a.number,y:b.a.number}),polar:b.a.bool,portalComponent:b.a.element,responsive:b.a.bool,style:b.a.object,theme:b.a.object,title:b.a.string,width:b.a.number},O.defaultProps={portalComponent:y.a.createElement(g.a,null),responsive:!0},O.contextTypes={getTimer:b.a.func},O.childContextTypes={portalUpdate:b.a.func,portalRegister:b.a.func,portalDeregister:b.a.func,getTimer:b.a.func},e.a=O},function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},function(t,e,n){function r(t){return o(i(t,void 0,a),t+"")}var a=n(129),i=n(114),o=n(115);t.exports=r},function(t,e,n){function r(t){return(null==t?0:t.length)?a(t,1):[]}var a=n(105);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t){function e(t){r(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(n),n.portalRegister=n.portalRegister.bind(n),n.portalDeregister=n.portalDeregister.bind(n),n}return i(e,t),l(e,[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(t,e){this.map[t]=e,this.forceUpdate()}},{key:"portalDeregister",value:function(t){delete this.map[t]}},{key:"render",value:function(){var t=this;return u.a.cloneElement(this.props.groupComponent,{},Object.keys(this.map).map(function(e){var n=t.map[e];return n?u.a.cloneElement(n,{key:e}):n}))}}]),e}(u.a.Component);f.displayName="Portal",f.propTypes={groupComponent:s.a.element},f.defaultProps={groupComponent:u.a.createElement("g",null)},e.a=f},function(t,e,n){function r(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||a(t,e,n)}var a=n(77),i=n(25);t.exports=r},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){var r=n(10),a=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(a)return a(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){function r(t){return i(t)&&a(t)}var a=n(48),i=n(66);t.exports=r},function(t,e,n){function r(t){var e=a(t),n=e%1;return e===e?n?e-n:e:0}var a=n(136);t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=a(t))===i||t===-i){return(t<0?-1:1)*o}return t===t?t:0}var a=n(280),i=1/0,o=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t,e){return a(t,e)}var a=n(60);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(10),u=n.n(o),c=n(139),s=n.n(c),l=n(6),f=n.n(l),h=n(7),p=n.n(h),d=n(0),y=n.n(d),v=n(1),b=n.n(v),g=n(103),m=n(3),_=n(2),x=n(29),O=n(140),w=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=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),M=function(t){function e(t){r(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var i=n.props.children,o=i.props.polar;return n.continuous=!o&&i.type&&!0===i.type.continuous,n.getTransitionState=n.getTransitionState.bind(n),n.getTimer=n.getTimer.bind(n),n}return i(e,t),j(e,[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"componentWillReceiveProps",value:function(t){var e=this;this.getTimer().bypassAnimation(),this.setState(this.getTransitionState(this.props,t),function(){return e.getTimer().resumeAnimation()})}},{key:"componentWillUnmount",value:function(){this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new x.a),this.timer)}},{key:"getTransitionState",value:function(t,e){var n=t.animate;if(n){if(n.parentState){return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e}}var r=y.a.Children.toArray(t.children),a=y.a.Children.toArray(e.children),i=O.a.getInitialTransitionState(r,a),o=i.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:i.nodesWillEnter,childrenTransitions:i.childrenTransitions,nodesShouldEnter:i.nodesShouldEnter,oldProps:o?t:null,nextProps:e}}return{}}},{key:"getDomainFromChildren",value:function(t,e){var n=function(t){return t.reduce(function(t,r){if(r.type&&f()(r.type.getDomain)){var a=r.props&&r.type.getDomain(r.props,e);return a?t.concat(a):t}return r.props&&r.props.children?t.concat(n(y.a.Children.toArray(r.props.children))):t},[])},r=y.a.Children.toArray(t.children)[0],a=r.props||{},i=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[e];if(!a.children&&i)return i;var o=n([r]);return 0===o.length?[0,1]:[m.a.getMinValue(o),m.a.getMaxValue(o)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props}},{key:"pickDomainProps",value:function(t){var e=u()(t.animate)&&t.animate.parentState;return e&&e.nodesWillExit?this.continous||e.continuous?e.nextProps||this.state.nextProps||t:t:this.continuous&&this.state.nodesWillExit?this.state.nextProps||t:t}},{key:"getClipWidth",value:function(t,e){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=_.a.getRange(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width}()}},{key:"render",value:function(){var t=this,e=this.pickProps(),n=u()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:O.a.getTransitionPropsFactory(e,this.state,function(e){return t.setState(e)}),r=y.a.Children.toArray(e.children)[0],a=n(r);this.transitionProps=a;var i={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},o=this.getClipWidth(e,r),c=p()({domain:i,clipWidth:o},a,r.props),l=e.animationWhitelist||[],f=l.concat(["clipWidth"]),h=f.length?s()(c,f):c;return y.a.createElement(g.a,w({},c.animate,{data:h}),function(e){if(r.props.groupComponent){var n=t.continuous?y.a.cloneElement(r.props.groupComponent,{clipWidth:e.clipWidth||0}):r.props.groupComponent;return y.a.cloneElement(r,p()({animate:null,animating:!0,groupComponent:n},e,c))}return y.a.cloneElement(r,p()({animate:null,animating:!0},e,c))})}}]),e}(y.a.Component);M.displayName="VictoryTransition",M.propTypes={animate:b.a.oneOfType([b.a.bool,b.a.object]),animationWhitelist:b.a.array,children:b.a.node},e.a=M},function(t,e,n){var r=n(283),a=n(128),i=a(function(t,e){return null==t?{}:r(t,e)});t.exports=i},function(t,e,n){"use strict";function r(t,e){return(t.key||e).toString()}function a(t){return t.reduce(function(t,e,n){return t[r(e,n)]=e,t},{})}function i(t,e){var n=!1,r=Object.keys(t).reduce(function(t,r){return r in e||(n=!0,t[r]=!0),t},{});return n&&r}function o(t,e){var n=t&&a(t),r=e&&a(e);return{entering:n&&i(r,n),exiting:r&&i(n,r)}}function u(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function c(t,e){var n=!1,r=!1,a=function(t,e){if(!e||t.type!==e.type)return{};var a=o(u(t),u(e))||{},i=a.entering,c=a.exiting;return n=n||!!c,r=r||!!i,{entering:i||!1,exiting:c||!1}},i=function(t,e){return t.map(function(n,r){return n&&n.props&&n.props.children?i(w.a.Children.toArray(t[r].props.children),w.a.Children.toArray(e[r].props.children)):a(n,e[r])})},c=i(w.a.Children.toArray(t),w.a.Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:c,nodesShouldEnter:!1}}function s(t,e){var n=t.onEnter&&t.onEnter.after?t.onEnter.after:b.a;return{data:e.map(function(t,r){return x()({},t,n(t,r,e))})}}function l(t,e,n,r){if((t=x()({},t,{onEnd:r}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:n};var a=t.onLoad&&t.onLoad.before?t.onLoad.before:b.a;return n=n.map(function(t,e){return x()({},t,a(t,e,n))}),{animate:t,data:n,clipWidth:0}}function f(t,e,n){if((t=x()({},t,{onEnd:n}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:e};var r=t.onLoad&&t.onLoad.after?t.onLoad.after:b.a;return e=e.map(function(t,n){return x()({},t,r(t,n,e))}),{animate:t,data:e}}function h(t,e,n,r,a){var i=t&&t.onExit;if(t=x()({},t,i),r){t.onEnd=a;var o=t.onExit&&t.onExit.before?t.onExit.before:b.a;n=n.map(function(t,e){var a=(t.key||e).toString();return r[a]?x()({},t,o(t,e,n)):t})}return{animate:t,data:n}}function p(t,e,n,r,a){if(r){t=x()({},t,{onEnd:a});var i=t.onEnter&&t.onEnter.before?t.onEnter.before:b.a;n=n.map(function(t,e){var a=(t.key||e).toString();return r[a]?x()({},t,i(t,e,n)):t})}return{animate:t,data:n}}function d(t,e,n,a){var i=t&&t.onEnter;if(t=x()({},t,i),n){t.onEnd=a;var o=t.onEnter&&t.onEnter.after?t.onEnter.after:b.a;e=e.map(function(t,a){var i=r(t,a);return n[i]?x()({},t,o(t,a,e)):t})}return{animate:t,data:e}}function y(t,e,n){var r=e&&e.nodesWillExit,a=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,o=e&&e.nodesShouldLoad,c=e&&e.nodesDoneLoad,y=e&&e.childrenTransitions||[],v={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},b=function(t,e,r){return o?f(r,e,function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}):l(r,t,e,function(){n({nodesDoneLoad:!0})})},g=function(t,e,r,a){return h(a,e,r,t,function(){n({nodesWillExit:!1})})},_=function(t,e,r,a){return i?d(a,r,t,function(){n({nodesWillEnter:!1})}):p(a,e,r,t,function(){n({nodesShouldEnter:!0})})},O=function(t,e){var n=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar?t.type.defaultPolarTransitions||t.type.defaultTransitions:t.type.defaultTransitions;if(r){var a=n[e]&&n[e].duration;return void 0!==a?a:r[e]&&r[e].duration}return{}};return function(n,o){var l=u(n)||[],f=m()({},t.animate,n.props.animate),h=n.props.polar?n.type.defaultPolarTransitions||n.type.defaultTransitions:n.type.defaultTransitions;f.onExit=m()({},f.onExit,h&&h.onExit),f.onEnter=m()({},f.onEnter,h&&h.onEnter),f.onLoad=m()({},f.onLoad,h&&h.onLoad);var p=y[o]||y[0];if(!c){var d=void 0!==v.load?v.load:O(n,"onLoad"),w={duration:d};return b(n,l,x()({},f,w))}if(r){var j=p&&p.exiting,M=void 0!==v.exit?v.exit:O(n,"onExit"),k=j?{duration:M}:{delay:M};return g(j,n,l,x()({},f,k))}if(a){var T=p&&p.entering,A=void 0!==v.enter?v.enter:O(n,"onEnter"),P=void 0!==v.move?v.move:n.props.animate&&n.props.animate.duration,E={duration:i&&T?A:P};return _(T,n,l,x()({},f,E))}return!e&&f&&f.onExit?s(f,l):{animate:f,data:l}}}var v=n(43),b=n.n(v),g=n(7),m=n.n(g),_=n(4),x=n.n(_),O=n(0),w=n.n(O);e.a={getInitialTransitionState:c,getTransitionPropsFactory:y}},function(t,e,n){function r(t,e,n,r,O,w,j,M){var k=e&v;if(!k&&"function"!=typeof t)throw new TypeError(d);var T=r?r.length:0;if(T||(e&=~(m|_),r=O=void 0),j=void 0===j?j:x(p(j),0),M=void 0===M?M:p(M),T-=O?O.length:0,e&_){var A=r,P=O;r=O=void 0}var E=k?void 0:s(t),C=[t,e,n,r,O,A,P,w,j,M];if(E&&l(C,E),t=C[0],e=C[1],n=C[2],r=C[3],O=C[4],M=C[9]=void 0===C[9]?k?0:t.length:x(C[9]-T,0),!M&&e&(b|g)&&(e&=~(b|g)),e&&e!=y)S=e==b||e==g?o(t,e,M):e!=m&&e!=(y|m)||O.length?u.apply(void 0,C):c(t,e,n,r);else var S=i(t,e,n);return h((E?a:f)(S,C),t,e)}var a=n(288),i=n(289),o=n(290),u=n(142),c=n(296),s=n(297),l=n(298),f=n(144),h=n(145),p=n(135),d="Expected a function",y=1,v=2,b=8,g=16,m=32,_=64,x=Math.max;t.exports=r},function(t,e,n){function r(t,e,n,m,_,x,O,w,j,M){function k(){for(var p=arguments.length,d=Array(p),y=p;y--;)d[y]=arguments[y];if(E)var v=s(k),b=o(d,v);if(m&&(d=a(d,m,_,E)),x&&(d=i(d,x,O,E)),p-=b,E&&p<M){var g=f(d,v);return c(t,e,r,k.placeholder,n,d,g,w,j,M-p)}var N=A?n:this,D=P?N[t]:t;return p=d.length,w?d=l(d,w):C&&p>1&&d.reverse(),T&&j<p&&(d.length=j),this&&this!==h&&this instanceof k&&(D=S||u(D)),D.apply(N,d)}var T=e&b,A=e&p,P=e&d,E=e&(y|v),C=e&g,S=P?void 0:u(t);return k}var a=n(291),i=n(292),o=n(293),u=n(50),c=n(143),s=n(51),l=n(295),f=n(52),h=n(14),p=1,d=2,y=8,v=16,b=128,g=512;t.exports=r},function(t,e,n){function r(t,e,n,r,p,d,y,v,b,g){var m=e&l,_=m?y:void 0,x=m?void 0:y,O=m?d:void 0,w=m?void 0:d;e|=m?f:h,(e&=~(m?h:f))&s||(e&=~(u|c));var j=[t,e,p,O,_,w,x,v,b,g],M=n.apply(void 0,j);return a(t)&&i(M,j),M.placeholder=r,o(M,t,e)}var a=n(294),i=n(144),o=n(145),u=1,c=2,s=4,l=8,f=32,h=64;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){var r=n(299),a=n(21),i=n(134),o=a(function(t,e){return i(t)?r(t,e):[]});t.exports=o},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&a(t,e,0)>-1}var a=n(63);t.exports=r},function(t,e){function n(t,e,n){for(var r=-1,a=null==t?0:t.length;++r<a;)if(n(e,t[r]))return!0;return!1}t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(15),f=n(2),h=n(3),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),p(e,[{key:"componentWillMount",value:function(){Object.assign(this,this.calculateAttributes(this.props))}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=this.props,r=n.className,a=n.clipId,i=n.clipWidth,o=n.translateX,u=n.translateY;return!h.a.allSetsEqual([[r,t.className],[a,t.clipId],[i,t.clipWidth],[o,t.translateX],[u,t.translateY],[this.x,e.x],[this.y,e.y],[this.height,e.height],[this.width,e.width]])&&(Object.assign(this,e),!0)}},{key:"calculateAttributes",value:function(t){var e=t.polar,n=t.origin,r=t.clipWidth,a=void 0===r?0:r,i=t.clipHeight,o=void 0===i?0:i,u=t.translateX,c=void 0===u?0:u,s=t.translateY,l=void 0===s?0:s,h=f.a.getPadding({padding:t.clipPadding}),p=t.radius||f.a.getRadius(t);return{x:(e?n.x:c)-h.left,y:(e?n.y:l)-h.top,width:Math.max((e?p:a)+h.left+h.right,0),height:Math.max((e?p:o)+h.top+h.bottom,0)}}},{key:"renderClipPath",value:function(t,e){return u.a.createElement("defs",null,u.a.createElement("clipPath",{id:e},u.a.createElement("rect",t)))}},{key:"renderPolarClipPath",value:function(t,e){return u.a.createElement("defs",null,u.a.createElement("clipPath",{id:e},u.a.createElement("circle",t)))}},{key:"render",value:function(){var t=this.props,e=t.clipId,n=t.className,r=t.polar,a=r?{className:n,cx:this.x,cy:this.y,r:Math.max(this.width,this.height)}:{className:n,x:this.x,y:this.y,width:this.width,height:this.height};return r?this.renderPolarClipPath(a,e):this.renderClipPath(a,e)}}]),e}(u.a.Component);d.propTypes={className:s.a.string,clipHeight:l.a.nonNegative,clipId:s.a.number,clipPadding:s.a.oneOfType([s.a.number,s.a.shape({top:s.a.number,bottom:s.a.number,left:s.a.number,right:s.a.number})]),clipWidth:l.a.nonNegative,origin:s.a.shape({x:s.a.number,y:s.a.number}),polar:s.a.bool,radius:s.a.number,translateX:s.a.number,translateY:s.a.number},e.a=d},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(83),c=n.n(u),s=n(146),l=n.n(s),f=n(139),h=n.n(f),p=n(86),d=n.n(p),y=n(6),v=n.n(y),b=n(26),g=n.n(b),m=n(4),_=n.n(m),x=n(7),O=n.n(x),w=n(0),j=n.n(w),M=n(87),k=n(3),T=n(138),A=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),P=function t(e,n,r){null===e&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,n);if(void 0===a){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in a)return a.value;var o=a.get;if(void 0!==o)return o.call(r)},E=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];e.a=function(t,e){return function(n){function u(){return a(this,u),i(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return o(u,n),A(u,[{key:"componentWillMount",value:function(){v()(P(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"componentWillMount",this))&&P(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"componentWillMount",this).call(this),this.state=this.state||{};var t=M.a.getScopedEvents.bind(this);this.getEvents=d()(M.a.getEvents.bind(this),t),this.getEventState=M.a.getEventState.bind(this);var e=this.getCalculatedValues(this.props);this.cacheValues(e),this.stateChanges=this.getStateChanges(this.props,e)}},{key:"shouldComponentUpdate",value:function(t){var e=this.getCalculatedValues(t);if(this.props.animate||this.props.animating)return this.cacheValues(e),!0;var n=this.getStateChanges(t,e);return k.a.areVictoryPropsEqual(this.calculatedState,n)?!k.a.areVictoryPropsEqual(this.props,t)&&(this.cacheValues(e),!0):(this.cacheValues(e),this.calculatedState=n,!0)}},{key:"getStateChanges",value:function(t,n){var r=this,a=n.hasEvents,i=n.getSharedEventState;if(!a)return{};var o=function(t,e){var n=O()({},r.getEventState(t,e),i(t,e));return c()(n)?void 0:n};return e=e||{},(e.components||E).map(function(e){return t.standalone||"parent"!==e.name?void 0!==e.index?o(e.index,e.name):n.dataKeys.map(function(t){return o(t,e.name)}):void 0}).filter(Boolean)}},{key:"getCalculatedValues",value:function(e){var n=e.sharedEvents,r=t.expectedComponents,a=M.a.getComponentEvents(e,r),i=n&&v()(n.getEventState)?n.getEventState:function(){},o=this.getBaseProps(e,i);return{componentEvents:a,getSharedEventState:i,baseProps:o,dataKeys:g()(o).filter(function(t){return"parent"!==t}),hasEvents:e.events||e.sharedEvents||a,events:this.getAllEvents(e)}}},{key:"cacheValues",value:function(t){var e=this;g()(t).forEach(function(n){e[n]=t[n]})}},{key:"getBaseProps",value:function(e,n){n=n||this.getSharedEventState;var r=n("parent","parent"),a=this.getEventState("parent","parent"),i=O()({},a,r),o=i.parentControlledProps,u=o?h()(i,o):{},c=O()({},u,e);return v()(t.getBaseProps)?t.getBaseProps(c):{}}},{key:"getAllEvents",value:function(t){if(Array.isArray(this.componentEvents)){var e;return Array.isArray(t.events)?(e=this.componentEvents).concat.apply(e,r(t.events)):this.componentEvents}return t.events}},{key:"getComponentProps",value:function(e,n,r){var a=t.role,i=this.dataKeys&&this.dataKeys[r]||r,o=this.baseProps[i][n]||this.baseProps[i];if(o||this.hasEvents){if(this.hasEvents){var u=this.getEvents(this.props,n,i),c=O()({index:r,key:a+"-"+n+"-"+i},this.getEventState(i,n),this.getSharedEventState(i,n),e.props,o),s=O()({},M.a.getPartialEvents(u,i,c),c.events);return _()({},c,{events:s})}return O()({index:r,key:a+"-"+n+"-"+i},e.props,o)}}},{key:"renderContainer",value:function(t,e){var n=t.type&&"container"===t.type.role,r=n?this.getComponentProps(t,"parent","parent"):{};return j.a.cloneElement(t,r,e)}},{key:"animateComponent",value:function(t,e){return j.a.createElement(T.a,{animate:t.animate,animationWhitelist:e},j.a.createElement(this.constructor,t))}},{key:"renderContinuousData",value:function(t){var e=this,n=t.dataComponent,a=t.labelComponent,i=t.groupComponent,o=l()(this.dataKeys,"all"),u=o.reduce(function(t,n){var r=e.getComponentProps(a,"labels",n);return r&&void 0!==r.text&&null!==r.text&&(t=t.concat(j.a.cloneElement(a,r))),t},[]),c=this.getComponentProps(n,"data","all"),s=[j.a.cloneElement(n,c)].concat(r(u));return this.renderContainer(i,s)}},{key:"renderData",value:function(t){var e=this,n=t.dataComponent,a=t.labelComponent,i=t.groupComponent,o=this.dataKeys.map(function(t,r){var a=e.getComponentProps(n,"data",r);return j.a.cloneElement(n,a)}),u=this.dataKeys.map(function(t,n){var r=e.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return j.a.cloneElement(a,r)}).filter(Boolean),c=[].concat(r(o),r(u));return this.renderContainer(i,c)}}]),u}(t)}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(313),p=n(8),d=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},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),y(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.datum,u=a.x,c=a.y,s=a.size,l=a.symbol;return!f.a.allSetsEqual([[i,t.className],[u,t.x],[c,t.y],[s,t.size],[l,t.symbol],[r,this.path],[n,this.style],[o,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active;return{style:l.a.evaluateStyle(e,n,r),path:this.getPath(t)}}},{key:"getPath",value:function(t){var e=t.datum,n=t.active,r=t.x,a=t.y,i={circle:h.a.circle,square:h.a.square,diamond:h.a.diamond,triangleDown:h.a.triangleDown,triangleUp:h.a.triangleUp,plus:h.a.plus,star:h.a.star},o=l.a.evaluateProp(t.symbol,e,n),u=l.a.evaluateProp(t.size,e,n);return i[o].call(null,r,a,u)}},{key:"renderPoint",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className;return u.a.createElement("path",d({},n,{d:t,className:o,role:a||"presentation",shapeRendering:i||"auto",style:e}))}},{key:"render",value:function(){return this.renderPoint(this.path,this.style,this.props.events)}}]),e}(u.a.Component);v.propTypes=d({},p.a,{datum:s.a.object,size:s.a.oneOfType([s.a.number,s.a.func]),symbol:s.a.oneOfType([s.a.oneOf(["circle","diamond","plus","square","star","triangleDown","triangleUp"]),s.a.func]),x:s.a.number,y:s.a.number}),e.a=v},function(t,e,n){var r=n(314),a=r();t.exports=a},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(8),p=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},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.cornerRadius,u=a.datum,c=a.dx,s=a.dy,l=a.height,h=a.width,p=a.orientation,d=a.pointerLength,y=a.pointerWidth,v=a.x,b=a.y;return!f.a.allSetsEqual([[i,t.className],[o,t.cornerRadius],[c,t.dx],[s,t.dy],[v,t.x],[b,t.y],[l,t.height],[h,t.width],[p,t.orientation],[d,t.pointerLength],[y,t.pointerWidth],[r,this.path],[n,this.style],[u,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.datum,n=t.active,r=t.style;return{style:l.a.evaluateStyle(r,e,n),path:this.getFlyoutPath(t)}}},{key:"getVerticalPath",value:function(t){var e=t.pointerLength,n=t.pointerWidth,r=t.cornerRadius,a=t.orientation,i=t.width,o=t.height,u="top"===a?1:-1,c=t.x+(t.dx||0),s=t.y-u*(t.dy||0),l=s-u*e,f=s-u*e-u*o,h=c+i/2,p=c-i/2,d="top"===a?"0 0 0":"0 0 1",y=Math.round(r)+" "+Math.round(r)+" "+d;return"M "+Math.round(c-n/2)+", "+Math.round(l)+"\n L "+Math.round(c)+", "+Math.round(s)+"\n L "+Math.round(c+n/2)+", "+Math.round(l)+"\n L "+Math.round(h-r)+", "+Math.round(l)+"\n A "+y+" "+Math.round(h)+", "+Math.round(l-u*r)+"\n L "+Math.round(h)+", "+Math.round(f+u*r)+"\n A "+y+" "+Math.round(h-r)+", "+Math.round(f)+"\n L "+Math.round(p+r)+", "+Math.round(f)+"\n A "+y+" "+Math.round(p)+", "+Math.round(f+u*r)+"\n L "+Math.round(p)+", "+Math.round(l-u*r)+"\n A "+y+" "+Math.round(p+r)+", "+Math.round(l)+"\n z"}},{key:"getHorizontalPath",value:function(t){var e=t.pointerLength,n=t.pointerWidth,r=t.cornerRadius,a=t.orientation,i=t.width,o=t.height,u="right"===a?1:-1,c=t.x+u*(t.dx||0),s=t.y-(t.dy||0),l=c+u*e,f=c+u*e+u*i,h=s+o/2,p=s-o/2,d="right"===a?"0 0 0":"0 0 1",y=Math.round(r)+" "+Math.round(r)+" "+d;return"M "+Math.round(l)+", "+Math.round(s-n/2)+"\n L "+Math.round(c)+", "+Math.round(s)+"\n L "+Math.round(l)+", "+Math.round(s+n/2)+"\n L "+Math.round(l)+", "+Math.round(h-r)+"\n A "+y+" "+Math.round(l+u*r)+", "+Math.round(h)+"\n L "+(f-u*r)+", "+h+"\n A "+y+" "+Math.round(f)+", "+Math.round(h-r)+"\n L "+f+", "+(p+r)+"\n A "+y+" "+Math.round(f-u*r)+", "+Math.round(p)+"\n L "+Math.round(l+u*r)+", "+Math.round(p)+"\n A "+y+" "+Math.round(l)+", "+Math.round(p+r)+"\n z"}},{key:"getFlyoutPath",value:function(t){var e=t.orientation||"top";return"left"===e||"right"===e?this.getHorizontalPath(t):this.getVerticalPath(t)}},{key:"renderFlyout",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className;return u.a.createElement("path",p({className:o,d:t,style:e,shapeRendering:i||"auto",role:a||"presentation"},n))}},{key:"render",value:function(){return this.renderFlyout(this.path,this.style,this.props.events)}}]),e}(u.a.Component);y.propTypes=p({},h.a,{cornerRadius:s.a.number,datum:s.a.object,dx:s.a.number,dy:s.a.number,height:s.a.number,orientation:s.a.oneOf(["top","bottom","left","right"]),pointerLength:s.a.number,pointerWidth:s.a.number,width:s.a.number,x:s.a.number,y:s.a.number}),e.a=y},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"e",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return u});var r=function(t){var e=void 0!==t._y1?t._y1:t._y;return null!==e&&void 0!==e&&null!==t._y0},a=function(t){return function(e){return t.x(void 0!==e._x1?e._x1:e._x)}},i=function(t){return function(e){return t.y(void 0!==e._y1?e._y1:e._y)}},o=function(t){return function(e){return t.y(e._y0)}},u=function(t){return function(e){return-1*t.x(void 0!==e._x1?e._x1:e._x)+Math.PI/2}}},function(t,e,n){"use strict";var r=n(31),a=n(16),i=n(53),o=n(91),u=n(92);e.a=function(){function t(t){var e,a,i,o,u,y=t.length,v=!1,b=new Array(y),g=new Array(y);for(null==h&&(d=p(u=Object(r.a)())),e=0;e<=y;++e){if(!(e<y&&f(o=t[e],e,t))===v)if(v=!v)a=e,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),i=e-1;i>=a;--i)d.point(b[i],g[i]);d.lineEnd(),d.areaEnd()}v&&(b[e]=+n(o,e,t),g[e]=+s(o,e,t),d.point(c?+c(o,e,t):b[e],l?+l(o,e,t):g[e]))}if(u)return d=null,u+""||null}function e(){return Object(o.a)().defined(f).curve(p).context(h)}var n=u.a,c=null,s=Object(a.a)(0),l=u.b,f=Object(a.a)(!0),h=null,p=i.a,d=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:Object(a.a)(+e),c=null,t):n},t.x0=function(e){return arguments.length?(n="function"==typeof e?e:Object(a.a)(+e),t):n},t.x1=function(e){return arguments.length?(c=null==e?null:"function"==typeof e?e:Object(a.a)(+e),t):c},t.y=function(e){return arguments.length?(s="function"==typeof e?e:Object(a.a)(+e),l=null,t):s},t.y0=function(e){return arguments.length?(s="function"==typeof e?e:Object(a.a)(+e),t):s},t.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:Object(a.a)(+e),t):l},t.lineX0=t.lineY0=function(){return e().x(n).y(s)},t.lineY1=function(){return e().x(n).y(l)},t.lineX1=function(){return e().x(c).y(s)},t.defined=function(e){return arguments.length?(f="function"==typeof e?e:Object(a.a)(!!e),t):f},t.curve=function(e){return arguments.length?(p=e,null!=h&&(d=p(h)),t):p},t.context=function(e){return arguments.length?(null==e?h=d=null:d=p(h=e),t):h},t}},function(t,e,n){"use strict";function r(t){this._curve=t}function a(t){function e(e){return new r(t(e))}return e._curve=t,e}n.d(e,"a",function(){return o}),e.b=a;var i=n(53),o=a(i.a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}}},function(t,e,n){"use strict";function r(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Object(a.b)(t)):e()._curve},t}e.b=r;var a=n(156),i=n(91);e.a=function(){return r(Object(i.a)().curve(a.a))}},function(t,e,n){"use strict";e.a=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.prototype.slice},function(t,e,n){"use strict";var r=n(32);e.a={draw:function(t,e){var n=Math.sqrt(e/r.j);t.moveTo(n,0),t.arc(0,0,n,0,r.m)}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}}},function(t,e,n){"use strict";var r=Math.sqrt(1/3),a=2*r;e.a={draw:function(t,e){var n=Math.sqrt(e/a),i=n*r;t.moveTo(0,-n),t.lineTo(i,0),t.lineTo(0,n),t.lineTo(-i,0),t.closePath()}}},function(t,e,n){"use strict";var r=n(32),a=Math.sin(r.j/10)/Math.sin(7*r.j/10),i=Math.sin(r.m/10)*a,o=-Math.cos(r.m/10)*a;e.a={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),a=i*n,u=o*n;t.moveTo(0,-n),t.lineTo(a,u);for(var c=1;c<5;++c){var s=r.m*c/5,l=Math.cos(s),f=Math.sin(s);t.lineTo(f*n,-l*n),t.lineTo(l*a-f*u,f*a+l*u)}t.closePath()}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}}},function(t,e,n){"use strict";var r=Math.sqrt(3);e.a={draw:function(t,e){var n=-Math.sqrt(e/(3*r));t.moveTo(0,2*n),t.lineTo(-r*n,-n),t.lineTo(r*n,-n),t.closePath()}}},function(t,e,n){"use strict";var r=-.5,a=Math.sqrt(3)/2,i=1/Math.sqrt(12),o=3*(i/2+1);e.a={draw:function(t,e){var n=Math.sqrt(e/o),u=n/2,c=n*i,s=u,l=n*i+n,f=-s,h=l;t.moveTo(u,c),t.lineTo(s,l),t.lineTo(f,h),t.lineTo(r*u-a*c,a*u+r*c),t.lineTo(r*s-a*l,a*s+r*l),t.lineTo(r*f-a*h,a*f+r*h),t.lineTo(r*u+a*c,r*c-a*u),t.lineTo(r*s+a*l,r*l-a*s),t.lineTo(r*f+a*h,r*h-a*f),t.closePath()}}},function(t,e,n){"use strict";function r(t,e){this._context=t,this._k=(1-e)/6}e.a=r;var a=n(54),i=n(56);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(i.c)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._k=(1-e)/6}e.a=r;var a=n(56);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(a.c)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&a(t,e,0)>-1}var a=n(63);t.exports=r},function(t,e,n){"use strict";var r=n(23),a=n(171),i=Object(a.a)(r.a),o=i.right;i.left;e.a=o},function(t,e,n){"use strict";function r(t){return function(e,n){return Object(a.a)(t(e),n)}}var a=n(23);e.a=function(t){return 1===t.length&&(t=r(t)),{left:function(e,n,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r<a;){var i=r+a>>>1;t(e[i],n)<0?r=i+1:a=i}return r},right:function(e,n,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r<a;){var i=r+a>>>1;t(e[i],n)>0?a=i:r=i+1}return r}}}},function(t,e,n){"use strict";function r(t,e){return[t,e]}e.a=r},function(t,e,n){"use strict";var r=n(174);e.a=function(t,e){var n=Object(r.a)(t,e);return n?Math.sqrt(n):n}},function(t,e,n){"use strict";var r=n(35);e.a=function(t,e){var n,a,i=t.length,o=0,u=-1,c=0,s=0;if(null==e)for(;++u<i;)isNaN(n=Object(r.a)(t[u]))||(a=n-c,c+=a/++o,s+=a*(n-c));else for(;++u<i;)isNaN(n=Object(r.a)(e(t[u],u,t)))||(a=n-c,c+=a/++o,s+=a*(n-c));if(o>1)return s/(o-1)}},function(t,e,n){"use strict";e.a=function(t,e){var n,r,a,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=a=n;++o<i;)null!=(n=t[o])&&(r>n&&(r=n),a<n&&(a=n))}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=a=n;++o<i;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),a<n&&(a=n));return[r,a]}},function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return i});var r=Array.prototype,a=r.slice,i=r.map},function(t,e,n){"use strict";e.a=function(t,e,n){t=+t,e=+e,n=(a=arguments.length)<2?(e=t,t=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((e-t)/n)),i=new Array(a);++r<a;)i[r]=t+r*n;return i}},function(t,e,n){"use strict";function r(t,e,n){var r=(e-t)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),c=r/Math.pow(10,a);return a>=0?(c>=i?10:c>=o?5:c>=u?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=i?10:c>=o?5:c>=u?2:1)}function a(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),c=r/a;return c>=i?a*=10:c>=o?a*=5:c>=u&&(a*=2),e<t?-a:a}e.b=r,e.c=a;var i=Math.sqrt(50),o=Math.sqrt(10),u=Math.sqrt(2);e.a=function(t,e,n){var a,i,o,u=e<t,c=-1;if(u&&(a=t,t=e,e=a),0===(o=r(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),i=new Array(a=Math.ceil(e-t+1));++c<a;)i[c]=(t+c)*o;else for(t=Math.floor(t*o),e=Math.ceil(e*o),i=new Array(a=Math.ceil(t-e+1));++c<a;)i[c]=(t-c)/o;return u&&i.reverse(),i}},function(t,e,n){"use strict";e.a=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}},function(t,e,n){"use strict";e.a=function(t,e){var n,r,a=t.length,i=-1;if(null==e){for(;++i<a;)if(null!=(n=t[i])&&n>=n)for(r=n;++i<a;)null!=(n=t[i])&&r>n&&(r=n)}else for(;++i<a;)if(null!=(n=e(t[i],i,t))&&n>=n)for(r=n;++i<a;)null!=(n=e(t[i],i,t))&&r>n&&(r=n);return r}},function(t,e,n){"use strict";function r(t){return t.length}var a=n(180);e.a=function(t){if(!(o=t.length))return[];for(var e=-1,n=Object(a.a)(t,r),i=new Array(n);++e<n;)for(var o,u=-1,c=i[e]=new Array(o);++u<o;)c[u]=t[u][e];return i}},function(t,e,n){"use strict";function r(t){function e(e){var r=e+"",a=n.get(r);if(!a){if(c!==o)return c;n.set(r,a=u.push(e))}return t[(a-1)%t.length]}var n=Object(a.a)(),u=[],c=o;return t=null==t?[]:i.b.call(t),e.domain=function(t){if(!arguments.length)return u.slice();u=[],n=Object(a.a)();for(var r,i,o=-1,c=t.length;++o<c;)n.has(i=(r=t[o])+"")||n.set(i,u.push(r));return e},e.range=function(n){return arguments.length?(t=i.b.call(n),e):t.slice()},e.unknown=function(t){return arguments.length?(c=t,e):c},e.copy=function(){return r().domain(u).range(t).unknown(c)},e}n.d(e,"b",function(){return o}),e.a=r;var a=n(373),i=n(17),o={name:"implicit"}},function(t,e,n){"use strict";e.a=function(t){return+t}},function(t,e,n){"use strict";var r=n(381);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var a=(n(185),n(186));n.d(e,"c",function(){return a.a});var i=n(387);n.d(e,"d",function(){return i.a});var o=n(388);n.d(e,"e",function(){return o.a});var u=n(389);n.d(e,"f",function(){return u.a})},function(t,e,n){"use strict";var r=n(58),a=n(382),i=n(383),o=n(186),u=n(187),c=n(188),s=n(386),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){function e(t){function e(t){var e,i,o,u=_,h=x;if("c"===m)h=O(t)+h,t="";else{t=+t;var y=t<0;if(t=O(Math.abs(t),g),y&&0==+t&&(y=!1),u=(y?"("===a?a:"-":"-"===a||"("===a?"":a)+u,h=h+("s"===m?l[8+c.b/3]:"")+(y&&"("===a?")":""),w)for(e=-1,i=t.length;++e<i;)if(48>(o=t.charCodeAt(e))||o>57){h=(46===o?p+t.slice(e+1):t.slice(e))+h,t=t.slice(0,e);break}}b&&!s&&(t=f(t,1/0));var j=u.length+t.length+h.length,M=j<v?new Array(v-j+1).join(n):"";switch(b&&s&&(t=f(M+t,M.length?v-h.length:1/0),M=""),r){case"<":t=u+t+h+M;break;case"=":t=u+M+t+h;break;case"^":t=M.slice(0,j=M.length>>1)+u+t+h+M.slice(j);break;default:t=M+u+t+h}return d(t)}t=Object(o.a)(t);var n=t.fill,r=t.align,a=t.sign,i=t.symbol,s=t.zero,v=t.width,b=t.comma,g=t.precision,m=t.type,_="$"===i?h[0]:"#"===i&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===i?h[1]:/[%p]/.test(m)?y:"",O=u.a[m],w=!m||/[defgprs%]/.test(m);return g=null==g?m?6:12:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),e.toString=function(){return t+""},e}function n(t,n){var a=e((t=Object(o.a)(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),c=l[8+i/3];return function(t){return a(u*t)+c}}var f=t.grouping&&t.thousands?Object(a.a)(t.grouping,t.thousands):s.a,h=t.currency,p=t.decimal,d=t.numerals?Object(i.a)(t.numerals):s.a,y=t.percent||"%";return{format:e,formatPrefix:n}}},function(t,e,n){"use strict";function r(t){return new a(t)}function a(t){if(!(e=o.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",a=e[3]||"-",u=e[4]||"",c=!!e[5],s=e[6]&&+e[6],l=!!e[7],f=e[8]&&+e[8].slice(1),h=e[9]||"";"n"===h?(l=!0,h="g"):i.a[h]||(h=""),(c||"0"===n&&"="===r)&&(c=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=a,this.symbol=u,this.zero=c,this.width=s,this.comma=l,this.precision=f,this.type=h}e.a=r;var i=n(187),o=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(t,e,n){"use strict";var r=n(384),a=n(188),i=n(385);e.a={"":r.a,"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Object(i.a)(100*t,e)},r:i.a,s:a.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,e,n){"use strict";n.d(e,"b",function(){return r});var r,a=n(100);e.a=function(t,e){var n=Object(a.a)(t,e);if(!n)return t+"";var i=n[0],o=n[1],u=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return u===c?i:u>c?i+new Array(u-c+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+Object(a.a)(t,Math.max(0,e+u-1))[0]}},function(t,e,n){"use strict";e.a=function(t,e){t=t.slice();var n,r=0,a=t.length-1,i=t[r],o=t[a];return o<i&&(n=r,r=a,a=n,n=i,i=o,o=n),t[r]=e.floor(i),t[a]=e.ceil(o),t}},function(t,e,n){"use strict";function r(t){return new Date(t)}function a(t){return t instanceof Date?+t:+new Date(+t)}function i(t,e,n,c,s,_,x,O,w){function j(r){return(x(r)<r?P:_(r)<r?E:s(r)<r?C:c(r)<r?S:e(r)<r?n(r)<r?N:D:t(r)<r?L:R)(r)}function M(e,n,r,a){if(null==e&&(e=10),"number"==typeof e){var i=Math.abs(r-n)/e,u=Object(o.c)(function(t){return t[2]}).right(F,i);u===F.length?(a=Object(o.g)(n/m,r/m,e),e=t):u?(u=F[i/F[u-1][2]<F[u][2]/i?u-1:u],a=u[1],e=u[0]):(a=Object(o.g)(n,r,e),e=O)}return null==a?e:e.every(a)}var k=Object(f.b)(f.c,u.c),T=k.invert,A=k.domain,P=w(".%L"),E=w(":%S"),C=w("%I:%M"),S=w("%I %p"),N=w("%a %d"),D=w("%b %d"),L=w("%B"),R=w("%Y"),F=[[x,1,p],[x,5,5*p],[x,15,15*p],[x,30,30*p],[_,1,d],[_,5,5*d],[_,15,15*d],[_,30,30*d],[s,1,y],[s,3,3*y],[s,6,6*y],[s,12,12*y],[c,1,v],[c,2,2*v],[n,1,b],[e,1,g],[e,3,3*g],[t,1,m]];return k.invert=function(t){return new Date(T(t))},k.domain=function(t){return arguments.length?A(l.a.call(t,a)):A().map(r)},k.ticks=function(t,e){var n,r=A(),a=r[0],i=r[r.length-1],o=i<a;return o&&(n=a,a=i,i=n),n=M(t,a,i,e),n=n?n.range(a,i+1):[],o?n.reverse():n},k.tickFormat=function(t,e){return null==e?j:w(e)},k.nice=function(t,e){var n=A();return(t=M(t,n[0],n[n.length-1],e))?A(Object(h.a)(n,t)):k},k.copy=function(){return Object(f.a)(k,i(t,e,n,c,s,_,x,O,w))},k}e.a=i;var o=n(11),u=n(22),c=n(101),s=n(191),l=n(17),f=n(57),h=n(189),p=1e3,d=60*p,y=60*d,v=24*y,b=7*v,g=30*v,m=365*v;e.b=function(){return i(c.j,c.f,c.i,c.a,c.b,c.d,c.g,c.c,s.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(t,e,n){"use strict";var r=n(102);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});n(192),n(193),n(409)},function(t,e,n){"use strict";function r(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function a(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function i(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function o(t){function e(t,e){return function(n){var r,a,i,o=[],u=-1,c=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++u<s;)37===t.charCodeAt(u)&&(o.push(t.slice(c,u)),null!=(a=et[r=t.charAt(++u)])?r=t.charAt(++u):a="e"===r?" ":"0",(i=e[r])&&(r=i(n,a)),o.push(r),c=u+1);return o.push(t.slice(c,u)),o.join("")}}function n(t,e){return function(n){var r=i(1900);if(o(r,t,n+="",0)!=n.length)return null;if("p"in r&&(r.H=r.H%12+12*r.p),"W"in r||"U"in r){"w"in r||(r.w="W"in r?1:0);var u="Z"in r?a(i(r.y)).getUTCDay():e(i(r.y)).getDay();r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(u+5)%7:r.w+7*r.U-(u+6)%7}return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,a(r)):e(r)}}function o(t,e,n,r){for(var a,i,o=0,u=e.length,c=n.length;o<u;){if(r>=c)return-1;if(37===(a=e.charCodeAt(o++))){if(a=e.charAt(o++),!(i=Ft[a in et?e.charAt(o++):a])||(r=i(t,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}function u(t,e,n){var r=Mt.exec(e.slice(n));return r?(t.p=kt[r[0].toLowerCase()],n+r[0].length):-1}function c(t,e,n){var r=Pt.exec(e.slice(n));return r?(t.w=Et[r[0].toLowerCase()],n+r[0].length):-1}function tt(t,e,n){var r=Tt.exec(e.slice(n));return r?(t.w=At[r[0].toLowerCase()],n+r[0].length):-1}function nt(t,e,n){var r=Nt.exec(e.slice(n));return r?(t.m=Dt[r[0].toLowerCase()],n+r[0].length):-1}function rt(t,e,n){var r=Ct.exec(e.slice(n));return r?(t.m=St[r[0].toLowerCase()],n+r[0].length):-1}function at(t,e,n){return o(t,bt,e,n)}function it(t,e,n){return o(t,gt,e,n)}function ot(t,e,n){return o(t,mt,e,n)}function ut(t){return Ot[t.getDay()]}function ct(t){return xt[t.getDay()]}function st(t){return jt[t.getMonth()]}function lt(t){return wt[t.getMonth()]}function ft(t){return _t[+(t.getHours()>=12)]}function ht(t){return Ot[t.getUTCDay()]}function pt(t){return xt[t.getUTCDay()]}function dt(t){return jt[t.getUTCMonth()]}function yt(t){return wt[t.getUTCMonth()]}function vt(t){return _t[+(t.getUTCHours()>=12)]}var bt=t.dateTime,gt=t.date,mt=t.time,_t=t.periods,xt=t.days,Ot=t.shortDays,wt=t.months,jt=t.shortMonths,Mt=s(_t),kt=l(_t),Tt=s(xt),At=l(xt),Pt=s(Ot),Et=l(Ot),Ct=s(wt),St=l(wt),Nt=s(jt),Dt=l(jt),Lt={a:ut,A:ct,b:st,B:lt,c:null,d:M,e:M,H:k,I:T,j:A,L:P,m:E,M:C,p:ft,S:S,U:N,w:D,W:L,x:null,X:null,y:R,Y:F,Z:I,"%":J},Rt={a:ht,A:pt,b:dt,B:yt,c:null,d:W,e:W,H:z,I:U,j:q,L:V,m:B,M:H,p:vt,S:Y,U:X,w:K,W:$,x:null,X:null,y:G,Y:Z,Z:Q,"%":J},Ft={a:c,A:tt,b:nt,B:rt,c:at,d:g,e:g,H:_,I:_,j:m,L:w,m:b,M:x,p:u,S:O,U:h,w:f,W:p,x:it,X:ot,y:y,Y:d,Z:v,"%":j};return Lt.x=e(gt,Lt),Lt.X=e(mt,Lt),Lt.c=e(bt,Lt),Rt.x=e(gt,Rt),Rt.X=e(mt,Rt),Rt.c=e(bt,Rt),{format:function(t){var n=e(t+="",Lt);return n.toString=function(){return t},n},parse:function(t){var e=n(t+="",r);return e.toString=function(){return t},e},utcFormat:function(t){var n=e(t+="",Rt);return n.toString=function(){return t},n},utcParse:function(t){var e=n(t,a);return e.toString=function(){return t},e}}}function u(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(e)+a:a)}function c(t){return t.replace(at,"\\$&")}function s(t){return new RegExp("^(?:"+t.map(c).join("|")+")","i")}function l(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function f(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function h(t,e,n){var r=nt.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function p(t,e,n){var r=nt.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function d(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function y(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function v(t,e,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function b(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function g(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function m(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function _(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function x(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function O(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function w(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function j(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function M(t,e){return u(t.getDate(),e,2)}function k(t,e){return u(t.getHours(),e,2)}function T(t,e){return u(t.getHours()%12||12,e,2)}function A(t,e){return u(1+tt.a.count(Object(tt.j)(t),t),e,3)}function P(t,e){return u(t.getMilliseconds(),e,3)}function E(t,e){return u(t.getMonth()+1,e,2)}function C(t,e){return u(t.getMinutes(),e,2)}function S(t,e){return u(t.getSeconds(),e,2)}function N(t,e){return u(tt.h.count(Object(tt.j)(t),t),e,2)}function D(t){return t.getDay()}function L(t,e){return u(tt.e.count(Object(tt.j)(t),t),e,2)}function R(t,e){return u(t.getFullYear()%100,e,2)}function F(t,e){return u(t.getFullYear()%1e4,e,4)}function I(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+u(e/60|0,"0",2)+u(e%60,"0",2)}function W(t,e){return u(t.getUTCDate(),e,2)}function z(t,e){return u(t.getUTCHours(),e,2)}function U(t,e){return u(t.getUTCHours()%12||12,e,2)}function q(t,e){return u(1+tt.k.count(Object(tt.t)(t),t),e,3)}function V(t,e){return u(t.getUTCMilliseconds(),e,3)}function B(t,e){return u(t.getUTCMonth()+1,e,2)}function H(t,e){return u(t.getUTCMinutes(),e,2)}function Y(t,e){return u(t.getUTCSeconds(),e,2)}function X(t,e){return u(tt.r.count(Object(tt.t)(t),t),e,2)}function K(t){return t.getUTCDay()}function $(t,e){return u(tt.o.count(Object(tt.t)(t),t),e,2)}function G(t,e){return u(t.getUTCFullYear()%100,e,2)}function Z(t,e){return u(t.getUTCFullYear()%1e4,e,4)}function Q(){return"+0000"}function J(){return"%"}e.a=o;var tt=n(101),et={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,rt=/^%/,at=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g},function(t,e,n){"use strict";function r(t){return t.toISOString()}n.d(e,"a",function(){return i});var a=n(102),i="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(a.b)(i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(103);n.d(e,"VictoryAnimation",function(){return r.a});var a=n(126);n.d(e,"VictoryContainer",function(){return a.a});var i=n(80);n.d(e,"VictoryLabel",function(){return i.a});var o=n(138);n.d(e,"VictoryTransition",function(){return o.a});var u=n(286);n.d(e,"VictorySharedEvents",function(){return u.a});var c=n(303);n.d(e,"VictoryClipContainer",function(){return c.a});var s=n(88);n.d(e,"VictoryTheme",function(){return s.a});var l=n(306);n.d(e,"VictoryLegend",function(){return l.a});var f=n(316);n.d(e,"VictoryTooltip",function(){return f.a});var h=n(82);n.d(e,"VictoryPortal",function(){return h.a});var p=n(130);n.d(e,"Portal",function(){return p.a});var d=n(317);n.d(e,"Arc",function(){return d.a});var y=n(318);n.d(e,"Area",function(){return y.a});var v=n(344);n.d(e,"Bar",function(){return v.a});var b=n(345);n.d(e,"Candle",function(){return b.a});var g=n(149);n.d(e,"ClipPath",function(){return g.a});var m=n(346);n.d(e,"Curve",function(){return m.a});var _=n(347);n.d(e,"ErrorBar",function(){return _.a});var x=n(348);n.d(e,"Line",function(){return x.a});var O=n(151);n.d(e,"Point",function(){return O.a});var w=n(349);n.d(e,"Slice",function(){return w.a});var j=n(350);n.d(e,"Voronoi",function(){return j.a});var M=n(153);n.d(e,"Flyout",function(){return M.a});var k=n(150);n.d(e,"addEvents",function(){return k.a});var T=n(3);n.d(e,"Collection",function(){return T.a});var A=n(95);n.d(e,"Data",function(){return A.a});var P=n(419);n.d(e,"DefaultTransitions",function(){return P.a});var E=n(420);n.d(e,"Domain",function(){return E.a});var C=n(87);n.d(e,"Events",function(){return C.a});var S=n(2);n.d(e,"Helpers",function(){return S.a});var N=n(84);n.d(e,"LabelHelpers",function(){return N.a});var D=n(49);n.d(e,"Log",function(){return D.a});var L=n(15);n.d(e,"PropTypes",function(){return L.a});var R=n(96);n.d(e,"Scale",function(){return R.a});var F=n(423);n.d(e,"Selection",function(){return F.a});var I=n(85);n.d(e,"Style",function(){return I.a});var W=n(89);n.d(e,"TextSize",function(){return W.a});var z=n(29);n.d(e,"Timer",function(){return z.a});var U=n(140);n.d(e,"Transitions",function(){return U.a})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(196);n.d(e,"easeLinear",function(){return r.a});var a=n(197);n.d(e,"easeQuad",function(){return a.b}),n.d(e,"easeQuadIn",function(){return a.a}),n.d(e,"easeQuadOut",function(){return a.c}),n.d(e,"easeQuadInOut",function(){return a.b});var i=n(198);n.d(e,"easeCubic",function(){return i.b}),n.d(e,"easeCubicIn",function(){return i.a}),n.d(e,"easeCubicOut",function(){return i.c}),n.d(e,"easeCubicInOut",function(){return i.b});var o=n(199);n.d(e,"easePoly",function(){return o.b}),n.d(e,"easePolyIn",function(){return o.a}),n.d(e,"easePolyOut",function(){return o.c}),n.d(e,"easePolyInOut",function(){return o.b});var u=n(200);n.d(e,"easeSin",function(){return u.b}),n.d(e,"easeSinIn",function(){return u.a}),n.d(e,"easeSinOut",function(){return u.c}),n.d(e,"easeSinInOut",function(){return u.b});var c=n(201);n.d(e,"easeExp",function(){return c.b}),n.d(e,"easeExpIn",function(){return c.a}),n.d(e,"easeExpOut",function(){return c.c}),n.d(e,"easeExpInOut",function(){return c.b});var s=n(202);n.d(e,"easeCircle",function(){return s.b}),n.d(e,"easeCircleIn",function(){return s.a}),n.d(e,"easeCircleOut",function(){return s.c}),n.d(e,"easeCircleInOut",function(){return s.b});var l=n(203);n.d(e,"easeBounce",function(){return l.c}),n.d(e,"easeBounceIn",function(){return l.a}),n.d(e,"easeBounceOut",function(){return l.c}),n.d(e,"easeBounceInOut",function(){return l.b});var f=n(204);n.d(e,"easeBack",function(){return f.b}),n.d(e,"easeBackIn",function(){return f.a}),n.d(e,"easeBackOut",function(){return f.c}),n.d(e,"easeBackInOut",function(){return f.b});var h=n(205);n.d(e,"easeElastic",function(){return h.c}),n.d(e,"easeElasticIn",function(){return h.a}),n.d(e,"easeElasticOut",function(){return h.c}),n.d(e,"easeElasticInOut",function(){return h.b})},function(t,e,n){"use strict";function r(t){return+t}e.a=r},function(t,e,n){"use strict";function r(t){return t*t}function a(t){return t*(2-t)}function i(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";function r(t){return t*t*t}function a(t){return--t*t*t+1}function i(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i});var r=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),a=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),i=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3)},function(t,e,n){"use strict";function r(t){return 1-Math.cos(t*u)}function a(t){return Math.sin(t*u)}function i(t){return(1-Math.cos(o*t))/2}e.a=r,e.c=a,e.b=i;var o=Math.PI,u=o/2},function(t,e,n){"use strict";function r(t){return Math.pow(2,10*t-10)}function a(t){return 1-Math.pow(2,-10*t)}function i(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";function r(t){return 1-Math.sqrt(1-t*t)}function a(t){return Math.sqrt(1- --t*t)}function i(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";function r(t){return 1-a(1-t)}function a(t){return(t=+t)<o?y*t*t:t<c?y*(t-=u)*t+s:t<f?y*(t-=l)*t+h:y*(t-=p)*t+d}function i(t){return((t*=2)<=1?1-a(1-t):a(t-1)+1)/2}e.a=r,e.c=a,e.b=i;var o=4/11,u=6/11,c=8/11,s=.75,l=9/11,f=10/11,h=.9375,p=21/22,d=63/64,y=1/o/o},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i});var r=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),a=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),i=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158)},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o});var r=2*Math.PI,a=function t(e,n){function a(t){return e*Math.pow(2,10*--t)*Math.sin((i-t)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return a.amplitude=function(e){return t(e,n*r)},a.period=function(n){return t(e,n)},a}(1,.3),i=function t(e,n){function a(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return a.amplitude=function(e){return t(e,n*r)},a.period=function(n){return t(e,n)},a}(1,.3),o=function t(e,n){function a(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((i-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((i+t)/n))/2}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return a.amplitude=function(e){return t(e,n*r)},a.period=function(n){return t(e,n)},a}(1,.3)},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(104),a=n.n(r),i=n(27),o=n.n(i),u=n(22),c=function(t){if(null!==t)switch(typeof t){case"undefined":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return t instanceof Date||Array.isArray(t)||o()(t);case"function":return!0}return!1},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?t:e}},l=function(t,e){return function(n){return n>=1?e:function(){var r="function"==typeof t?t.apply(this,arguments):t,a="function"==typeof e?e.apply(this,arguments):e;return Object(u.a)(r,a)(n)}}},f=function(t,e){var n=function(t){return Array.isArray(t)?a()(t,"key"):t},r={},i={},h=void 0;null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(h in e)h in t?r[h]=function(t,e){return t!==e&&c(t)&&c(e)?"function"==typeof t||"function"==typeof e?l(t,e):"object"==typeof t&&o()(t)||"object"==typeof e&&o()(e)?f(t,e):Object(u.a)(t,e):s(t,e)}(n(t[h]),n(e[h])):i[h]=e[h];return function(t){for(h in r)i[h]=r[h](t);return i}},h=function(t,e){var n=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return Object(u.a)(n(t),n(e))},p=function(t,e){return t!==e&&c(t)&&c(e)?"function"==typeof t||"function"==typeof e?l(t,e):o()(t)||o()(e)?f(t,e):"string"==typeof t||"string"==typeof e?h(t,e):Object(u.a)(t,e):s(t,e)}},function(t,e){function n(t,e){for(var n=-1,r=e.length,a=t.length;++n<r;)t[a+n]=e[n];return t}t.exports=n},function(t,e,n){function r(t){return o(t)||i(t)||!!(u&&t&&t[u])}var a=n(106),i=n(38),o=n(9),u=a?a.isConcatSpreadable:void 0;t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(210))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){function r(t,e,n){var r=-1;e=a(e.length?e:[l],c(i));var f=o(t,function(t,n,i){return{criteria:a(e,function(e){return e(t)}),index:++r,value:t}});return u(f,function(t,e){return s(t,e,n)})}var a=n(39),i=n(24),o=n(235),u=n(236),c=n(113),s=n(237),l=n(43);t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||a(n,t,e)}}var a=n(213),i=n(225),o=n(109);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,s=c,l=!r;if(null==t)return!s;for(t=Object(t);c--;){var f=n[c];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++c<s;){f=n[c];var h=f[0],p=t[h],d=f[1];if(l&&f[2]){if(void 0===p&&!(h in t))return!1}else{var y=new a;if(r)var v=r(p,d,h,t,e,y);if(!(void 0===v?i(d,p,o|u,r,y):v))return!1}}return!0}var a=n(59),i=n(60),o=1,u=2;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}var a=n(40),i=Array.prototype,o=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]}var a=n(40);t.exports=r},function(t,e,n){function r(t){return a(this.__data__,t)>-1}var a=n(40);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=a(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var a=n(40);t.exports=r},function(t,e,n){function r(t,e,n,r,v,g){var m=s(t),_=s(e),x=m?d:c(t),O=_?d:c(e);x=x==p?y:x,O=O==p?y:O;var w=x==y,j=O==y,M=x==O;if(M&&l(t)){if(!l(e))return!1;m=!0,w=!1}if(M&&!w)return g||(g=new a),m||f(t)?i(t,e,n,r,v,g):o(t,e,x,n,r,v,g);if(!(n&h)){var k=w&&b.call(t,"__wrapped__"),T=j&&b.call(e,"__wrapped__");if(k||T){var A=k?t.value():t,P=T?e.value():e;return g||(g=new a),v(A,P,n,r,g)}}return!!M&&(g||(g=new a),u(t,e,n,r,v,g))}var a=n(59),i=n(220),o=n(222),u=n(223),c=n(107),s=n(9),l=n(64),f=n(65),h=1,p="[object Arguments]",d="[object Array]",y="[object Object]",v=Object.prototype,b=v.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n,r,s,l){var f=n&u,h=t.length,p=e.length;if(h!=p&&!(f&&p>h))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var y=-1,v=!0,b=n&c?new a:void 0;for(l.set(t,e),l.set(e,t);++y<h;){var g=t[y],m=e[y];if(r)var _=f?r(m,g,y,e,t,l):r(g,m,y,t,e,l);if(void 0!==_){if(_)continue;v=!1;break}if(b){if(!i(e,function(t,e){if(!o(b,e)&&(g===t||s(g,t,n,r,l)))return b.push(e)})){v=!1;break}}else if(g!==m&&!s(g,m,n,r,l)){v=!1;break}}return l.delete(t),l.delete(e),v}var a=n(61),i=n(221),o=n(62),u=1,c=2;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t,e,n,r,o,c){var s=n&i,l=a(t),f=l.length;if(f!=a(e).length&&!s)return!1;for(var h=f;h--;){var p=l[h];if(!(s?p in e:u.call(e,p)))return!1}var d=c.get(t);if(d&&c.get(e))return d==e;var y=!0;c.set(t,e),c.set(e,t);for(var v=s;++h<f;){p=l[h];var b=t[p],g=e[p];if(r)var m=s?r(g,b,p,e,t,c):r(b,g,p,t,e,c);if(!(void 0===m?b===g||o(b,g,n,r,c):m)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var _=t.constructor,x=e.constructor;_!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(y=!1)}return c.delete(t),c.delete(e),y}var a=n(224),i=1,o=Object.prototype,u=o.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(41),a=r(Object.keys,Object);t.exports=a},function(t,e,n){function r(t){for(var e=i(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,a(o)]}return e}var a=n(108),i=n(26);t.exports=r},function(t,e,n){function r(t,e){return u(t)&&c(e)?s(l(t),e):function(n){var r=i(n,t);return void 0===r&&r===e?o(n,t):a(e,r,f|h)}}var a=n(60),i=n(227),o=n(111),u=n(67),c=n(108),s=n(109),l=n(20),f=1,h=2;t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?void 0:a(t,e);return void 0===r?n:r}var a=n(42);t.exports=r},function(t,e,n){var r=n(229),a=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,u=r(function(t){var e=[];return a.test(t)&&e.push(""),t.replace(i,function(t,n,r,a){e.push(r?a.replace(o,"$1"):n||t)}),e});t.exports=u},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if("string"==typeof t)return t;if(o(t))return i(t,r)+"";if(u(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}var a=n(106),i=n(39),o=n(9),u=n(19),c=1/0,s=a?a.prototype:void 0,l=s?s.toString:void 0;t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=a(e,t);for(var r=-1,l=e.length,f=!1;++r<l;){var h=s(e[r]);if(!(f=null!=t&&n(t,h)))break;t=t[h]}return f||++r!=l?f:!!(l=null==t?0:t.length)&&c(l)&&u(h,l)&&(o(t)||i(t))}var a=n(18),i=n(38),o=n(9),u=n(68),c=n(112),s=n(20);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return a(e,t)}}var a=n(42);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,a=Array(r);++n<r;)a[n]=e(t[n],n,t);return a}t.exports=n},function(t,e){function n(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}t.exports=n},function(t,e,n){function r(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,u=i.length,c=n.length;++r<u;){var s=a(i[r],o[r]);if(s){if(r>=c)return s;return s*("desc"==n[r]?-1:1)}}return t.index-e.index}var a=n(238);t.exports=r},function(t,e,n){function r(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t===t,o=a(t),u=void 0!==e,c=null===e,s=e===e,l=a(e);if(!c&&!l&&!o&&t>e||o&&u&&s&&!c&&!l||r&&u&&s||!n&&s||!i)return 1;if(!r&&!o&&!l&&t<e||l&&n&&i&&!r&&!o||c&&n&&i||!u&&i||!s)return-1}return 0}var a=n(19);t.exports=r},function(t,e,n){"use strict";function r(t){if(t instanceof i)return new i(t.l,t.a,t.b,t.opacity);if(t instanceof h){var e=t.h*y.a;return new i(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof d.b||(t=Object(d.h)(t));var n=s(t.r),r=s(t.g),a=s(t.b),u=o((.4124564*n+.3575761*r+.1804375*a)/v),c=o((.2126729*n+.7151522*r+.072175*a)/b);return new i(116*c-16,500*(u-c),200*(c-o((.0193339*n+.119192*r+.9503041*a)/g)),t.opacity)}function a(t,e,n,a){return 1===arguments.length?r(t):new i(t,e,n,null==a?1:a)}function i(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function o(t){return t>O?Math.pow(t,1/3):t/x+m}function u(t){return t>_?t*t*t:x*(t-m)}function c(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function s(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function l(t){if(t instanceof h)return new h(t.h,t.c,t.l,t.opacity);t instanceof i||(t=r(t));var e=Math.atan2(t.b,t.a)*y.b;return new h(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function f(t,e,n,r){return 1===arguments.length?l(t):new h(t,e,n,null==r?1:r)}function h(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}e.a=a,e.b=f;var p=n(73),d=n(72),y=n(118),v=.95047,b=1,g=1.08883,m=4/29,_=6/29,x=3*_*_,O=_*_*_;Object(p.a)(i,a,Object(p.b)(d.a,{brighter:function(t){return new i(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new i(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=b*u(t),e=v*u(e),n=g*u(n),new d.b(c(3.2404542*e-1.5371385*t-.4985314*n),c(-.969266*e+1.8760108*t+.041556*n),c(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),Object(p.a)(h,f,Object(p.b)(d.a,{brighter:function(t){return new h(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new h(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return r(this).rgb()}}))},function(t,e,n){"use strict";function r(t){if(t instanceof i)return new i(t.h,t.s,t.l,t.opacity);t instanceof u.b||(t=Object(u.h)(t));var e=t.r/255,n=t.g/255,r=t.b/255,a=(v*r+d*e-y*n)/(v+d-y),o=r-a,s=(p*(n-a)-f*o)/h,l=Math.sqrt(s*s+o*o)/(p*a*(1-a)),b=l?Math.atan2(s,o)*c.b-120:NaN;return new i(b<0?b+360:b,l,a,t.opacity)}function a(t,e,n,a){return 1===arguments.length?r(t):new i(t,e,n,null==a?1:a)}function i(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}e.a=a;var o=n(73),u=n(72),c=n(118),s=-.14861,l=1.78277,f=-.29227,h=-.90649,p=1.97294,d=p*h,y=p*l,v=l*f-h*s;Object(o.a)(i,a,Object(o.b)(u.a,{brighter:function(t){return t=null==t?u.c:Math.pow(u.c,t),new i(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u.d:Math.pow(u.d,t),new i(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*c.a,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),a=Math.sin(t);return new u.b(255*(e+n*(s*r+l*a)),255*(e+n*(f*r+h*a)),255*(e+n*(p*r)),this.opacity)}}))},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}}},function(t,e,n){"use strict";function r(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,u,c){if(t!==i||r!==o){var s=u.push("translate(",null,e,null,n);c.push({i:s-4,x:Object(a.a)(t,i)},{i:s-2,x:Object(a.a)(r,o)})}else(i||o)&&u.push("translate("+i+e+o+n)}function u(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Object(a.a)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function c(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Object(a.a)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function s(t,e,n,r,o,u){if(t!==n||e!==r){var c=o.push(i(o)+"scale(",null,",",null,")");u.push({i:c-4,x:Object(a.a)(t,n)},{i:c-2,x:Object(a.a)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],a=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,a),u(e.rotate,n.rotate,r,a),c(e.skewX,n.skewX,r,a),s(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,a),e=n=null,function(t){for(var e,n=-1,i=a.length;++n<i;)r[(e=a[n]).i]=e.x(t);return r.join("")}}}var a=n(45),i=n(243);r(i.a,"px, ","px)","deg)"),r(i.b,", ",")",")")},function(t,e,n){"use strict";function r(t){return"none"===t?s.b:(i||(i=document.createElement("DIV"),o=document.documentElement,u=document.defaultView),i.style.transform=t,t=u.getComputedStyle(o.appendChild(i),null).getPropertyValue("transform"),o.removeChild(i),t=t.slice(7,-1).split(","),Object(s.a)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function a(t){return null==t?s.b:(c||(c=document.createElementNS("http://www.w3.org/2000/svg","g")),c.setAttribute("transform",t),(t=c.transform.baseVal.consolidate())?(t=t.matrix,Object(s.a)(t.a,t.b,t.c,t.d,t.e,t.f)):s.b)}e.a=r,e.b=a;var i,o,u,c,s=n(244)},function(t,e,n){"use strict";n.d(e,"b",function(){return a});var r=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};e.a=function(t,e,n,a,i,o){var u,c,s;return(u=Math.sqrt(t*t+e*e))&&(t/=u,e/=u),(s=t*n+e*a)&&(n-=t*s,a-=e*s),(c=Math.sqrt(n*n+a*a))&&(n/=c,a/=c,s/=c),t*a<e*n&&(t=-t,e=-e,s=-s,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*r,skewX:Math.atan(s)*r,scaleX:u,scaleY:c}}},function(t,e,n){"use strict";Math.SQRT2},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t((e=Object(a.d)(e)).h,(n=Object(a.d)(n)).h),o=Object(i.a)(e.s,n.s),u=Object(i.a)(e.l,n.l),c=Object(i.a)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=o(t),e.l=u(t),e.opacity=c(t),e+""}}}var a=n(13),i=n(28);r(i.c),r(i.a)},function(t,e,n){"use strict";n(13),n(28)},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t((e=Object(a.c)(e)).h,(n=Object(a.c)(n)).h),o=Object(i.a)(e.c,n.c),u=Object(i.a)(e.l,n.l),c=Object(i.a)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=o(t),e.l=u(t),e.opacity=c(t),e+""}}}var a=n(13),i=n(28);r(i.c),r(i.a)},function(t,e,n){"use strict";function r(t){return function e(n){function r(e,r){var o=t((e=Object(a.b)(e)).h,(r=Object(a.b)(r)).h),u=Object(i.a)(e.s,r.s),c=Object(i.a)(e.l,r.l),s=Object(i.a)(e.opacity,r.opacity);return function(t){return e.h=o(t),e.s=u(t),e.l=c(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}n.d(e,"a",function(){return o});var a=n(13),i=n(28),o=(r(i.c),r(i.a))},function(t,e,n){"use strict"},function(t,e,n){"use strict";var r=n(75);n.d(e,"a",function(){return r.b}),n.d(e,"b",function(){return r.c});n(252),n(253)},function(t,e,n){"use strict";n(75)},function(t,e,n){"use strict";n(75)},function(t,e,n){function r(t){var e=++i;return a(t)+e}var a=n(110),i=0;t.exports=r},function(t,e,n){var r=n(30),a=n(46),i=n(47),o=a(function(t,e,n,a){r(e,i(e),t,a)});t.exports=o},function(t,e,n){var r=n(257),a=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=a},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n,r){return void 0===t||a(t,i[n])&&!o.call(r,n)?e:t}var a=n(25),i=Object.prototype,o=i.hasOwnProperty;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e){return e=a(e,t),null==(t=o(t,e))||delete t[u(i(e))]}var a=n(18),i=n(127),o=n(261),u=n(20);t.exports=r},function(t,e,n){function r(t,e){return e.length<2?t:a(t,i(e,0,-1))}var a=n(42),i=n(262);t.exports=r},function(t,e){function n(t,e,n){var r=-1,a=t.length;e<0&&(e=-e>a?0:a+e),n=n>a?a:n,n<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(a);++r<a;)i[r]=t[r+e];return i}t.exports=n},function(t,e,n){function r(t){return a(t)?void 0:t}var a=n(27);t.exports=r},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},function(t,e,n){function r(t,e,n,l,f){t!==e&&o(e,function(o,s){if(c(o))f||(f=new a),u(t,e,s,n,r,l,f);else{var h=l?l(t[s],o,s+"",t,e,f):void 0;void 0===h&&(h=o),i(t,s,h)}},s)}var a=n(59),i=n(131),o=n(266),u=n(268),c=n(10),s=n(47);t.exports=r},function(t,e,n){var r=n(267),a=r();t.exports=a},function(t,e){function n(t){return function(e,n,r){for(var a=-1,i=Object(e),o=r(e),u=o.length;u--;){var c=o[t?u:++a];if(!1===n(i[c],c,i))break}return e}}t.exports=n},function(t,e,n){function r(t,e,n,r,g,m,_){var x=t[n],O=e[n],w=_.get(O);if(w)return void a(t,n,w);var j=m?m(x,O,n+"",t,e,_):void 0,M=void 0===j;if(M){var k=l(O),T=!k&&h(O),A=!k&&!T&&v(O);j=O,k||T||A?l(x)?j=x:f(x)?j=u(x):T?(M=!1,j=i(O,!0)):A?(M=!1,j=o(O,!0)):j=[]:y(O)||s(O)?(j=x,s(x)?j=b(x):(!d(x)||r&&p(x))&&(j=c(O))):M=!1}M&&(_.set(O,j),g(j,O,r,m,_),_.delete(O)),a(t,n,j)}var a=n(131),i=n(269),o=n(271),u=n(132),c=n(274),s=n(38),l=n(9),f=n(134),h=n(64),p=n(6),d=n(10),y=n(27),v=n(65),b=n(275);t.exports=r},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}var a=n(14),i="object"==typeof e&&e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=o&&o.exports===i,c=u?a.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=r}).call(e,n(270)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){function r(t,e){var n=e?a(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var a=n(272);t.exports=r},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new a(e).set(new a(t)),e}var a=n(273);t.exports=r},function(t,e,n){var r=n(14),a=r.Uint8Array;t.exports=a},function(t,e,n){function r(t){return"function"!=typeof t.constructor||o(t)?{}:a(i(t))}var a=n(133),i=n(117),o=n(79);t.exports=r},function(t,e,n){function r(t){return a(t,i(t))}var a=n(30),i=n(47);t.exports=r},function(t,e,n){var r=n(277),a=n(278),i=r(a);t.exports=i},function(t,e,n){function r(t){return function(e,n,r){var u=Object(e);if(!i(e)){var c=a(n,3);e=o(e),n=function(t){return c(u[t],t,u)}}var s=t(e,n,r);return s>-1?u[c?e[s]:s]:void 0}}var a=n(24),i=n(48),o=n(26);t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var c=null==n?0:o(n);return c<0&&(c=u(r+c,0)),a(t,i(e,3),c)}var a=n(279),i=n(24),o=n(135),u=Math.max;t.exports=r},function(t,e){function n(t,e,n,r){for(var a=t.length,i=n+(r?1:-1);r?i--:++i<a;)if(e(t[i],i,t))return i;return-1}t.exports=n},function(t,e,n){function r(t){if("number"==typeof t)return t;if(i(t))return o;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var n=s.test(t);return n||l.test(t)?f(t.slice(2),n?2:8):c.test(t)?o:+t}var a=n(10),i=n(19),o=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt;t.exports=r},function(t,e,n){var r=n(41),a=r(Object.keys,Object);t.exports=a},function(t,e){function n(t,e,n,r){var a=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++a]);++a<i;)n=e(n,t[a],a,t);return n}t.exports=n},function(t,e,n){function r(t,e){return a(t,e,function(e,n){return i(t,n)})}var a=n(284),i=n(111);t.exports=r},function(t,e,n){function r(t,e,n){for(var r=-1,u=e.length,c={};++r<u;){var s=e[r],l=a(t,s);n(l,s)&&i(c,o(s,t),l)}return c}var a=n(42),i=n(285),o=n(18);t.exports=r},function(t,e,n){function r(t,e,n,r){if(!u(t))return t;e=i(e,t);for(var s=-1,l=e.length,f=l-1,h=t;null!=h&&++s<l;){var p=c(e[s]),d=n;if(s!=f){var y=h[p];d=r?r(y,p,h):void 0,void 0===d&&(d=u(y)?y:o(e[s+1])?[]:{})}a(h,p,d),h=h[p]}return t}var a=n(76),i=n(18),o=n(68),u=n(10),c=n(20);t.exports=r},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(287),c=n.n(u),s=n(7),l=n.n(s),f=n(86),h=n.n(f),p=n(6),d=n.n(p),y=n(4),v=n.n(y),b=n(0),g=n.n(b),m=n(1),_=n.n(m),x=n(15),O=n(87),w=n(2),j=n(29),M=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t){function e(){a(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.state=t.state||{},t.getScopedEvents=O.a.getScopedEvents.bind(t),t.getEventState=O.a.getEventState.bind(t),t.getTimer=t.getTimer.bind(t),t}return o(e,t),M(e,[{key:"getChildContext",value:function(){return{getTimer:this.getTimer}}},{key:"componentWillMount",value:function(){this.setUpChildren(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.setUpChildren(t)}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new j.a),this.timer)}},{key:"getAllEvents",value:function(t){var e=["container","groupComponent"];if(this.componentEvents=O.a.getComponentEvents(t,e),Array.isArray(this.componentEvents)){var n;return Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,r(t.events)):this.componentEvents}return t.events}},{key:"setUpChildren",value:function(t){if(this.events=this.getAllEvents(t),this.events){this.childComponents=g.a.Children.toArray(t.children);var e=this.getBasePropsFromChildren(this.childComponents),n=t.container?t.container.props:{};this.baseProps=v()({},e,{parent:n})}}},{key:"getBasePropsFromChildren",value:function(t){var e=function(t,e,n){if(t.type&&d()(t.type.getBaseProps)){t=n?g.a.cloneElement(t,n.props):t;var r=t.props&&t.type.getBaseProps(t.props);return r?[[e,r]]:null}return null},n=w.a.reduceChildren(t,e);return c()(n)}},{key:"getNewChildren",value:function(t){var e=this,n=t.events,r=t.eventKey,a=Object.keys(this.baseProps),i=function(t){return t.reduce(function(t,o,u){if(o.props.children)return t.concat(g.a.cloneElement(o,o.props,i(g.a.Children.toArray(o.props.children))));if(o.type&&d()(o.type.getBaseProps)){var c=o.props.name||a.shift()||u,s=Array.isArray(n)&&n.filter(function(t){return"parent"!==t.target&&(Array.isArray(t.childName)?t.childName.indexOf(c)>-1:t.childName===c||"all"===t.childName)}),l={events:s,getEvents:h()(e.getScopedEvents,c,e.baseProps),getEventState:h()(e.getEventState,c)};return t.concat(g.a.cloneElement(o,v()({key:"events-"+c,sharedEvents:l,eventKey:r},o.props)))}return t.concat(o)},[])};return i(this.childComponents)}},{key:"getContainer",value:function(t,e){var n=Array.isArray(this.events)&&this.events.filter(function(t){return"parent"===t.target}),r=n.length>0?{events:n,getEvents:h()(this.getScopedEvents,null,this.baseProps),getEventState:h()(this.getEventState,null)}:null,a=this.props.container||this.props.groupComponent,i=a.type&&a.type.role,o=a.props||{},u=O.a.getEvents.bind(this),c=r&&u({sharedEvents:r},"parent"),s=l()({},this.getEventState("parent","parent"),o,this.baseProps.parent,{children:e}),f=l()({},O.a.getPartialEvents(c,"parent",s),o.events);return"container"===i?g.a.cloneElement(a,v()({},s,{events:f})):g.a.cloneElement(a,f,e)}},{key:"render",value:function(){if(this.events){var t=this.getNewChildren(this.props);return this.getContainer(this.props,t)}return g.a.cloneElement(this.props.container,{children:this.props.children})}}]),e}(g.a.Component);k.displayName="VictorySharedEvents",k.role="shared-event-wrapper",k.propTypes={children:_.a.oneOfType([_.a.arrayOf(_.a.node),_.a.node]),container:_.a.node,eventKey:_.a.oneOfType([_.a.array,_.a.func,x.a.allOfType([x.a.integer,x.a.nonNegative]),_.a.string]),events:_.a.arrayOf(_.a.shape({childName:_.a.oneOfType([_.a.string,_.a.array]),eventHandlers:_.a.object,eventKey:_.a.oneOfType([_.a.array,_.a.func,x.a.allOfType([x.a.integer,x.a.nonNegative]),_.a.string]),target:_.a.string})),groupComponent:_.a.node},k.defaultProps={groupComponent:g.a.createElement("g",null)},k.contextTypes={getTimer:_.a.func},k.childContextTypes={getTimer:_.a.func},e.a=k},function(t,e){function n(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var a=t[e];r[a[0]]=a[1]}return r}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e,n){function r(){return(this&&this!==i&&this instanceof r?c:t).apply(u?n:this,arguments)}var u=e&o,c=a(t);return r}var a=n(50),i=n(14),o=1;t.exports=r},function(t,e,n){function r(t,e,n){function r(){for(var i=arguments.length,h=Array(i),p=i,d=c(r);p--;)h[p]=arguments[p];var y=i<3&&h[0]!==d&&h[i-1]!==d?[]:s(h,d);return(i-=y.length)<n?u(t,e,o,r.placeholder,void 0,h,y,void 0,void 0,n-i):a(this&&this!==l&&this instanceof r?f:t,this,h)}var f=i(t);return r}var a=n(44),i=n(50),o=n(142),u=n(143),c=n(51),s=n(52),l=n(14);t.exports=r},function(t,e){function n(t,e,n,a){for(var i=-1,o=t.length,u=n.length,c=-1,s=e.length,l=r(o-u,0),f=Array(s+l),h=!a;++c<s;)f[c]=e[c];for(;++i<u;)(h||i<o)&&(f[n[i]]=t[i]);for(;l--;)f[c++]=t[i++];return f}var r=Math.max;t.exports=n},function(t,e){function n(t,e,n,a){for(var i=-1,o=t.length,u=-1,c=n.length,s=-1,l=e.length,f=r(o-c,0),h=Array(f+l),p=!a;++i<f;)h[i]=t[i];for(var d=i;++s<l;)h[d+s]=e[s];for(;++u<c;)(p||i<o)&&(h[d+n[u]]=t[i++]);return h}var r=Math.max;t.exports=n},function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length,r=o(e.length,n),u=a(t);r--;){var c=e[r];t[r]=i(c,n)?u[c]:void 0}return t}var a=n(132),i=n(68),o=Math.min;t.exports=r},function(t,e,n){function r(t,e,n,r){function c(){for(var e=-1,i=arguments.length,u=-1,f=r.length,h=Array(f+i),p=this&&this!==o&&this instanceof c?l:t;++u<f;)h[u]=r[u];for(;i--;)h[u++]=arguments[++e];return a(p,s?n:this,h)}var s=e&u,l=i(t);return c}var a=n(44),i=n(50),o=n(14),u=1;t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e,n,r){var f=-1,h=i,p=!0,d=t.length,y=[],v=e.length;if(!d)return y;n&&(e=u(e,c(n))),r?(h=o,p=!1):e.length>=l&&(h=s,p=!1,e=new a(e));t:for(;++f<d;){var b=t[f],g=null==n?b:n(b);if(b=r||0!==b?b:0,p&&g===g){for(var m=v;m--;)if(e[m]===g)continue t;y.push(b)}else h(e,g,r)||y.push(b)}return y}var a=n(61),i=n(147),o=n(148),u=n(39),c=n(113),s=n(62),l=200;t.exports=r},function(t,e,n){var r=n(21),a=n(141),i=n(51),o=n(52),u=r(function(t,e){var n=o(e,i(u));return a(t,32,void 0,e,n)});u.placeholder={},t.exports=u},function(t,e,n){t.exports=n(302)},function(t,e,n){var r=n(30),a=n(46),i=n(47),o=a(function(t,e){r(e,i(e),t)});t.exports=o},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(6),c=n.n(u),s=n(7),l=n.n(s),f=n(4),h=n.n(f),p=n(0),d=n.n(p),y=n(1),v=n.n(y),b=n(149),g=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},m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.clipId=void 0!==t.clipId?t.clipId:Math.round(1e4*Math.random()),n}return o(e,t),m(e,[{key:"renderClippedGroup",value:function(t,e){var n=t.style,r=t.events,a=t.transform,i=t.children,o=t.className,u=this.renderClipComponent(t,e);return d.a.createElement("g",g({className:o,style:n},r,{transform:a}),u,d.a.createElement("g",{clipPath:"url(#"+e+")"},i))}},{key:"renderGroup",value:function(t){var e=t.style,n=t.events,r=t.transform,a=t.children,i=t.className;return d.a.createElement("g",g({className:i,style:e},n,{transform:r}),a)}},{key:"renderClipComponent",value:function(t,e){return d.a.cloneElement(t.clipPathComponent,h()({},t,{clipId:e}))}},{key:"getClipValue",value:function(t,e){var n={x:t.clipWidth,y:t.clipHeight};if(void 0!==n[e])return n[e];var r=this.getRange(t,e);return r?Math.abs(r[0]-r[1])||void 0:void 0}},{key:"getTranslateValue",value:function(t,e){var n={x:t.translateX,y:t.translateY};if(void 0!==n[e])return n[e];var a=this.getRange(t,e);return a?Math.min.apply(Math,r(a)):void 0}},{key:"getRange",value:function(t,e){var n=t.scale||{};if(n[e])return c()(n[e].range)?n[e].range():void 0}},{key:"render",value:function(){var t=this.getClipValue(this.props,"y"),e=this.getClipValue(this.props,"x");if(void 0===e||void 0===t)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),a=l()({},this.props,{clipHeight:t,clipWidth:e,translateX:n,translateY:r});return this.renderClippedGroup(a,this.clipId)}}]),e}(d.a.Component);_.displayName="VictoryClipContainer",_.role="container",_.propTypes={children:v.a.oneOfType([v.a.arrayOf(v.a.node),v.a.node]),className:v.a.string,clipHeight:v.a.number,clipId:v.a.number,clipPadding:v.a.shape({top:v.a.number,bottom:v.a.number,left:v.a.number,right:v.a.number}),clipPathComponent:v.a.element,clipWidth:v.a.number,events:v.a.object,origin:v.a.shape({x:v.a.number,y:v.a.number}),polar:v.a.bool,radius:v.a.number,style:v.a.object,transform:v.a.string,translateX:v.a.number,translateY:v.a.number},_.defaultProps={clipPathComponent:d.a.createElement(b.a,null)},e.a=_},function(t,e,n){"use strict";var r=n(4),a=n.n(r),i=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],o={width:350,height:350,padding:50},u={fontFamily:"'Roboto', 'Helvetica Neue', Helvetica, sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:"#455A64",stroke:"transparent",strokeWidth:0},c=a()({textAnchor:"middle"},u);e.a={area:a()({style:{data:{fill:"#212121"},labels:c}},o),axis:a()({style:{axis:{fill:"transparent",stroke:"#90A4AE",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:8,stroke:"transparent"}),grid:{fill:"transparent",stroke:"#ECEFF1",strokeDasharray:"10, 5",strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"none"},ticks:{fill:"transparent",size:5,stroke:"#90A4AE",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},tickLabels:a()({},u,{fill:"#455A64"})}},o),bar:a()({style:{data:{fill:"#455A64",padding:8,strokeWidth:0},labels:u}},o),candlestick:a()({style:{data:{stroke:"#455A64"},labels:c},candleColors:{positive:"#ffffff",negative:"#455A64"}},o),chart:o,errorbar:a()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},o),group:a()({colorScale:i},o),line:a()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},o),pie:a()({colorScale:i,style:{data:{padding:8,stroke:"#ECEFF1",strokeWidth:1},labels:a()({},u,{padding:20})}},o),scatter:a()({style:{data:{fill:"#455A64",opacity:1,stroke:"transparent",strokeWidth:0},labels:c}},o),stack:a()({colorScale:i},o),tooltip:{style:a()({},c,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:a()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:a()({},c,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},o),legend:{colorScale:i,gutter:10,orientation:"vertical",style:{data:{type:"circle"},labels:u},symbolSpacer:8}}},function(t,e,n){"use strict";var r=n(4),a=n.n(r),i=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],o={width:450,height:300,padding:50,colorScale:i},u={fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:"#252525",stroke:"transparent"},c=a()({textAnchor:"middle"},u);e.a={area:a()({style:{data:{fill:"#252525"},labels:c}},o),axis:a()({style:{axis:{fill:"transparent",stroke:"#252525",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:25}),grid:{fill:"transparent",stroke:"transparent",pointerEvents:"none"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:u}},o),bar:a()({style:{data:{fill:"#252525",padding:8,strokeWidth:0},labels:u}},o),candlestick:a()({style:{data:{stroke:"#252525",strokeWidth:1},labels:c},candleColors:{positive:"#ffffff",negative:"#252525"}},o),chart:o,errorbar:a()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},o),group:a()({colorScale:i},o),line:a()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},o),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:a()({},u,{padding:20})},colorScale:i,width:400,height:400,padding:50},scatter:a()({style:{data:{fill:"#252525",stroke:"transparent",strokeWidth:0},labels:c}},o),stack:a()({colorScale:i},o),tooltip:{style:a()({},c,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:a()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:a()({},c,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},o),legend:{colorScale:i,gutter:10,orientation:"vertical",style:{data:{type:"circle"},labels:u},symbolSpacer:8}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(86),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(307),p=n(15),d=n(150),y=n(2),v=n(80),b=n(126),g=n(88),m=n(151),_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x={orientation:"vertical",x:0,y:0},O=[{name:"Series 1"},{name:"Series 2"}],w=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),_(e,[{key:"render",value:function(){var t=this.constructor.role,e=y.a.modifyProps(this.props,x,t),n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(s.a.Component);w.displayName="VictoryLegend",w.role="legend",w.propTypes={colorScale:f.a.oneOfType([f.a.arrayOf(f.a.string),f.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:f.a.element,data:f.a.arrayOf(f.a.shape({name:f.a.string.isRequired,label:f.a.object,symbol:f.a.object})),dataComponent:f.a.element,eventKey:f.a.oneOfType([f.a.func,p.a.allOfType([p.a.integer,p.a.nonNegative]),f.a.string]),events:f.a.arrayOf(f.a.shape({target:f.a.oneOf(["data","labels","parent"]),eventKey:f.a.oneOfType([f.a.array,p.a.allOfType([p.a.integer,p.a.nonNegative]),f.a.string]),eventHandlers:f.a.object})),groupComponent:f.a.element,gutter:f.a.number,height:f.a.oneOfType([p.a.nonNegative,f.a.func]),itemsPerRow:f.a.number,labelComponent:f.a.element,orientation:f.a.oneOf(["horizontal","vertical"]),padding:f.a.oneOfType([f.a.number,f.a.shape({top:f.a.number,bottom:f.a.number,left:f.a.number,right:f.a.number})]),sharedEvents:f.a.shape({events:f.a.array,getEventState:f.a.func}),standalone:f.a.bool,style:f.a.shape({data:f.a.object,labels:f.a.object,parent:f.a.object}),symbolSpacer:f.a.number,theme:f.a.object,width:f.a.oneOfType([p.a.nonNegative,f.a.func]),x:f.a.number,y:f.a.number},w.defaultProps={data:O,containerComponent:s.a.createElement(b.a,null),dataComponent:s.a.createElement(m.a,null),groupComponent:s.a.createElement("g",null),labelComponent:s.a.createElement(v.a,null),standalone:!0,theme:g.a.grayscale},w.getBaseProps=u()(h.a,x),w.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(d.a)(w)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(308),i=n.n(a),o=n(310),u=n.n(o),c=n(4),s=n.n(c),l=n(7),f=n.n(l),h=n(2),p=n(85),d=n(89),y=function(t,e){var n=t.gutter,r=t.itemsPerRow,a=t.padding,o=t.isHorizontal,c=e.length,s=r?Math.ceil(c/r):1,l=o?u()(e,"height").height*s+n*(s-1):(i()(e,"height")+n*(c-1))/s;return a.top+l+a.bottom},v=function(t,e,n){var r=t.gutter,a=t.itemsPerRow,i=t.symbolSpacer,o=t.padding,u=t.isHorizontal,c=a?Math.ceil(e/a):1,s=a||e,l=void 0;if(u){l=3*i*s+n*s+r*s}else l=(n+2*i+r)*c;return o.left+l+o.right},b=function(t){var e=t.colorScale;return"string"==typeof e?p.a.getColorScale(e):e||[]},g=function(t){var e=t.data,n=t.style;return e.map(function(t){var e=f()({},t.labels,n.labels);return h.a.evaluateStyle(e,t)})},m=function(t,e){return t.data.map(function(t,n){return d.a.approximateTextSize(t.name,e[n])})},_=function(t){var e=t.orientation,n=t.theme,r=n&&n.legend&&n.legend.style?n.legend.style:{},a=h.a.getStyles(t.style,r),i=b(t),o="horizontal"===e,u=h.a.getPadding(t);return s()({},t,{style:a,isHorizontal:o,colorScale:i,padding:u})},x=function(t,e){return t.symbol&&t.symbol.size?t.symbol.size:e/2.5};e.a=function(t,e){var n=h.a.modifyProps(t,e,"legend");t=s()({},n,_(n));var a=t,i=a.data,o=a.standalone,u=a.theme,c=a.padding,l=a.style,p=a.colorScale,d=a.itemsPerRow,b=a.gutter,O=a.isHorizontal,w=a.symbolSpacer,j=g(t),M=m(t,j),k=Math.max.apply(Math,r(M.map(function(t){return t.width}))),T=t.height||y(t,M),A=t.width||v(t,M.width,k),P={parent:{width:A,height:T,data:i,standalone:o,theme:u,padding:c,style:l.parent}};return i.reduce(function(t,e,n){var r=j[n].fontSize,a=r/2,o=r+w,u=r+b,s=d?n%d:n,h=d?Math.floor(n/d):0,y=d?u*h:0,v=e.eventKey||n,g=O?c.top+a+y:c.top+a+u*s,m=p[n%p.length],_=f()({},e.symbol,l.data,{fill:m}),M={index:n,data:i,datum:e,key:"legend-symbol-"+n,symbol:_.type||"circle",size:x(e,r),style:_,y:g,x:O?c.left+a+(r+w+k+b)*s:c.left+a+(u+k)*h},T={datum:e,data:i,key:"legend-label-"+n,text:e.name,style:j[n],y:g,x:O?c.left+o*(s+1)+(k+b)*s:c.left+o+(u+k)*h};return t[v]={data:M,labels:T},t},P)}},function(t,e,n){function r(t,e){return t&&t.length?i(t,a(e,2)):0}var a=n(24),i=n(309);t.exports=r},function(t,e){function n(t,e){for(var n,r=-1,a=t.length;++r<a;){var i=e(t[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}t.exports=n},function(t,e,n){function r(t,e){return t&&t.length?a(t,o(e,2),i):void 0}var a=n(311),i=n(312),o=n(24);t.exports=r},function(t,e,n){function r(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],u=e(o);if(null!=u&&(void 0===c?u===u&&!a(u):n(u,c)))var c=u,s=o}return s}var a=n(19);t.exports=r},function(t,e){function n(t,e){return t>e}t.exports=n},function(t,e,n){"use strict";var r=n(152),a=n.n(r);e.a={circle:function(t,e,n){var r=Math.round(n);return"M "+Math.round(t)+", "+Math.round(e)+" m "+-r+", 0\n a "+r+", "+r+" 0 1,0 "+2*r+",0\n a "+r+", "+r+" 0 1,0 "+2*-r+",0"},square:function(t,e,n){var r=.87*n,a=Math.round(t-r),i=Math.round(t+r),o=Math.round(e-r),u=Math.round(e+r);return"M "+a+", "+u+"\n L "+i+", "+u+"\n L "+i+", "+o+"\n L "+a+", "+o+"\n z"},diamond:function(t,e,n){var r=.87*n,a=Math.sqrt(r*r*2);return"M "+Math.round(t)+", "+Math.round(e+a)+"\n L "+Math.round(t+a)+", "+Math.round(e)+"\n L "+Math.round(t)+", "+Math.round(e-a)+"\n L "+Math.round(t-a)+", "+Math.round(e)+"\n z"},triangleDown:function(t,e,n){var r=n/2*Math.sqrt(3),a=Math.round(t-n),i=Math.round(t+n),o=Math.round(e-n),u=Math.round(e+r);return"M "+a+", "+o+"\n L "+i+", "+o+"\n L "+Math.round(t)+", "+u+"\n z"},triangleUp:function(t,e,n){var r=n/2*Math.sqrt(3),a=Math.round(t-n),i=Math.round(t+n),o=Math.round(e-r),u=Math.round(e+n);return"M "+a+", "+u+"\n L "+i+", "+u+"\n L "+Math.round(t)+", "+o+"\n z"},plus:function(t,e,n){var r=1.1*n;return"M "+Math.round(t-r/2.5)+", "+Math.round(e+r)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e+r)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e+r/2.5)+"\n L "+Math.round(t+r)+", "+Math.round(e+r/2.5)+"\n L "+Math.round(t+r)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e-r)+"\n L "+Math.round(t-r/2.5)+", "+Math.round(e-r)+"\n L "+Math.round(t-r/2.5)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t-r)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t-r)+", "+Math.round(e+r/2.5)+"\n L "+Math.round(t-r/2.5)+", "+Math.round(e+r/2.5)+"\n z"},star:function(t,e,n){var r=1.35*n,i=Math.PI/5;return"M "+a()(10).map(function(n){var a=n%2==0?r:r/2;return a*Math.sin(i*(n+1))+t+",\n "+(a*Math.cos(i*(n+1))+e)}).join("L")+" z"}}},function(t,e,n){function r(t){return function(e,n,r){return r&&"number"!=typeof r&&i(e,n,r)&&(n=r=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),r=void 0===r?e<n?1:-1:o(r),a(e,n,r,t)}}var a=n(315),i=n(70),o=n(136);t.exports=r},function(t,e){function n(t,e,n,i){for(var o=-1,u=a(r((e-t)/(n||1)),0),c=Array(u);u--;)c[i?u:++o]=t,t+=n;return c}var r=Math.ceil,a=Math.max;t.exports=n},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(7),c=n.n(u),s=n(4),l=n.n(s),f=n(0),h=n.n(f),p=n(1),d=n.n(p),y=n(15),v=n(89),b=n(2),g=n(3),m=n(84),_=n(80),x=n(88),O=n(153),w=n(82),j=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),M={cornerRadius:5,pointerLength:10,pointerWidth:10},k=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),j(e,[{key:"shouldComponentUpdate",value:function(t){return!g.a.areVictoryPropsEqual(this.props,t)}},{key:"getDefaultOrientation",value:function(t){var e=t.datum,n=t.horizontal;if(t.polar)return this.getPolarOrientation(t,e);var r=n?"right":"top",a=n?"left":"bottom";return e&&e.y<0?a:r}},{key:"getPolarOrientation",value:function(t,e){var n=m.a.getDegrees(t,e),r=t.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}},{key:"getEvaluatedProps",value:function(t){var e=t.horizontal,n=t.datum,r=t.pointerLength,a=t.pointerWidth,i=t.cornerRadius,o=t.width,u=t.height,c=t.dx,s=t.dy,f=t.text,h=t.active,p=Array.isArray(t.style)?t.style.map(function(t){return b.a.evaluateStyle(t,n,h)}):b.a.evaluateStyle(t.style,n,h),d=b.a.evaluateStyle(t.flyoutStyle,n,h),y=d&&d.padding||0,v=e?y:0,g=e?0:y,m=b.a.evaluateProp(t.orientation,n,h)||this.getDefaultOrientation(t);return l()({},t,{style:p,flyoutStyle:d,orientation:m,dx:void 0!==c?b.a.evaluateProp(c,n,h):v,dy:void 0!==s?b.a.evaluateProp(s,n,h):g,cornerRadius:b.a.evaluateProp(i,n,h),pointerLength:b.a.evaluateProp(r,n,h),pointerWidth:b.a.evaluateProp(a,n,h),width:b.a.evaluateProp(o,n,h),height:b.a.evaluateProp(u,n,h),active:b.a.evaluateProp(h,n,h),text:b.a.evaluateProp(f,n,h)})}},{key:"getCalculatedValues",value:function(t){var e=t.style,n=t.text,r=t.datum,a=t.theme,i=t.active,o=a&&a.tooltip&&a.tooltip.style?a.tooltip.style:{},u=Array.isArray(e)?e.map(function(t){return c()({},t,o)}):c()({},e,o),s=a&&a.tooltip&&a.tooltip.flyoutStyle?a.tooltip.flyoutStyle:{},l=t.flyoutStyle?c()({},t.flyoutStyle,s):s,f=Array.isArray(u)?u.map(function(t){return b.a.evaluateStyle(t,r,i)}):b.a.evaluateStyle(u,r,i),h=v.a.approximateTextSize(n,f),p=this.getDimensions(t,h,f);return{labelStyle:f,flyoutStyle:l,labelSize:h,flyoutDimensions:p,flyoutCenter:this.getFlyoutCenter(t,p),transform:this.getTransform(t)}}},{key:"getTransform",value:function(t){var e=t.x,n=t.y,r=t.style,a=r||{},i=a.angle||t.angle||this.getDefaultAngle(t);return i?"rotate("+i+" "+e+" "+n+")":void 0}},{key:"getDefaultAngle",value:function(t){var e=t.polar,n=t.labelPlacement,r=t.orientation,a=t.datum;if(!e||!n||"vertical"===n)return 0;var i=m.a.getDegrees(t,a),o=i>90&&i<180||i>270?1:-1,u="perpendicular"===n?0:90,c=void 0;return 0===i||180===i?c="top"===r&&180===i?270:90:i>0&&i<180?c=90-i:i>180&&i<360&&(c=270-i),c+o*u}},{key:"getFlyoutCenter",value:function(t,e){var n=t.x,r=t.y,a=t.dx,i=t.dy,o=t.pointerLength,u=t.orientation,c=e.height,s=e.width,l="left"===u?-1:1,f="bottom"===u?-1:1;return{x:"left"===u||"right"===u?n+l*(o+s/2+a):n+a,y:"top"===u||"bottom"===u?r-f*(o+c/2+i):r-i}}},{key:"getLabelPadding",value:function(t){if(!t)return 0;var e=Array.isArray(t)?t.map(function(t){return t.padding}):[t.padding];return Math.max.apply(Math,r(e).concat([0]))}},{key:"getDimensions",value:function(t,e,n){var r=t.orientation,a=t.cornerRadius,i=t.pointerLength,o=t.pointerWidth,u=this.getLabelPadding(n);return{height:t.height||function(){var t=e.height+u,n="top"===r||"bottom"===r?2*a:2*a+o;return Math.max(n,t)}()+u/2,width:t.width||function(){var t=e.width+u,n="left"===r||"right"===r?2*a+i:2*a;return Math.max(n,t)}()+u}}},{key:"getLabelProps",value:function(t,e){var n=e.flyoutCenter,r=e.labelStyle,a=e.labelSize,i=e.dy,o=e.dx,u=t.text,s=t.datum,l=t.labelComponent,f=t.index,h=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return c()({},l.props,{key:"label-"+f,text:u,datum:s,textAnchor:h,dy:i,dx:o,style:r,x:h&&"middle"!==h?function(){var t="end"===h?-1:1;return n.x-t*(a.width/2)}():n.x,y:n.y,verticalAnchor:"middle",angle:r.angle})}},{key:"getFlyoutProps",value:function(t,e){var n=e.flyoutDimensions,r=e.flyoutStyle,a=t.x,i=t.y,o=t.dx,u=t.dy,s=t.datum,l=t.index,f=t.orientation,h=t.pointerLength,p=t.pointerWidth,d=t.cornerRadius,y=t.events,v=t.flyoutComponent;return c()({},v.props,{x:a,y:i,dx:o,dy:u,datum:s,index:l,orientation:f,pointerLength:h,pointerWidth:p,cornerRadius:d,events:y,key:"flyout-"+l,width:n.width,height:n.height,style:r})}},{key:"renderTooltip",value:function(t){var e=this.getEvaluatedProps(t),n=e.flyoutComponent,r=e.labelComponent,a=e.groupComponent,i=e.active,o=e.renderInPortal;if(!i)return o?h.a.createElement(w.a,null,null):null;var u=this.getCalculatedValues(e),c=[h.a.cloneElement(n,this.getFlyoutProps(e,u)),h.a.cloneElement(r,this.getLabelProps(e,u))],s=h.a.cloneElement(a,{role:"presentation",transform:u.transform},c);return o?h.a.createElement(w.a,null,s):s}},{key:"render",value:function(){var t=b.a.modifyProps(this.props,M,"tooltip");return this.renderTooltip(t)}}]),e}(h.a.Component);k.displayName="VictoryTooltip",k.propTypes={activateData:d.a.bool,active:d.a.oneOfType([d.a.bool,d.a.func]),angle:d.a.number,cornerRadius:d.a.oneOfType([y.a.nonNegative,d.a.func]),data:d.a.array,datum:d.a.object,dx:d.a.oneOfType([d.a.number,d.a.func]),dy:d.a.oneOfType([d.a.number,d.a.func]),events:d.a.object,flyoutComponent:d.a.element,flyoutStyle:d.a.object,groupComponent:d.a.element,height:d.a.oneOfType([y.a.nonNegative,d.a.func]),horizontal:d.a.bool,index:d.a.oneOfType([d.a.number,d.a.string]),labelComponent:d.a.element,orientation:d.a.oneOfType([d.a.oneOf(["top","bottom","left","right"]),d.a.func]),pointerLength:d.a.oneOfType([y.a.nonNegative,d.a.func]),pointerWidth:d.a.oneOfType([y.a.nonNegative,d.a.func]),polar:d.a.bool,renderInPortal:d.a.bool,style:d.a.oneOfType([d.a.object,d.a.array]),text:d.a.oneOfType([d.a.string,d.a.number,d.a.func,d.a.array]),theme:d.a.object,width:d.a.oneOfType([y.a.nonNegative,d.a.func]),x:d.a.number,y:d.a.number},k.defaultProps={theme:x.a.grayscale,active:!1,renderInPortal:!0,labelComponent:h.a.createElement(_.a,null),flyoutComponent:h.a.createElement(O.a,null),groupComponent:h.a.createElement("g",null)},k.defaultEvents=function(t){return[{target:"data",eventHandlers:{onMouseOver:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}]},onTouchStart:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}]},onMouseOut:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!1}}},{target:"data",mutation:function(){return{active:!1}}}]:[{target:"labels",mutation:function(){return{active:!1}}}]},onTouchEnd:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!1}}},{target:"data",mutation:function(){return{active:!1}}}]:[{target:"labels",mutation:function(){return{active:!1}}}]}}}]},e.a=k},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(137),u=n.n(o),c=n(4),s=n.n(c),l=n(0),f=n.n(l),h=n(1),p=n.n(h),d=n(2),y=n(8),v=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},b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),b(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.cx,r=e.cy,a=e.r,i=this.getStyle(t);return n!==t.cx||r!==t.cy||a!==t.r?(this.style=i,!0):!u()(i,this.style)&&(this.style=i,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return d.a.evaluateStyle(s()({stroke:"black",fill:"none"},e),n,r)}},{key:"getArcPath",value:function(t){var e=t.cx,n=t.cy,r=t.r,a=t.startAngle,i=t.endAngle,o=t.closedPath,u=Math.abs(i-a)/2+a,c=e+r*Math.cos(d.a.degreesToRadians(a)),s=n-r*Math.sin(d.a.degreesToRadians(a)),l=e+r*Math.cos(d.a.degreesToRadians(u)),f=n-r*Math.sin(d.a.degreesToRadians(u)),h=e+r*Math.cos(d.a.degreesToRadians(i)),p=n-r*Math.sin(d.a.degreesToRadians(i)),y=u-a<=180?0:1,v=i-u<=180?0:1;return(o?" M "+e+", "+n+" L "+c+", "+s:"M "+c+", "+s)+" A "+r+", "+r+", 0, "+y+", 0, "+l+", "+f+" A "+r+", "+r+", 0, "+v+", 0, "+h+", "+p+" "+(o?"Z":"")}},{key:"renderAxisLine",value:function(t,e,n){var r=t.role,a=t.shapeRendering,i=t.className,o=this.getArcPath(t);return f.a.createElement("path",v({className:i,d:o,style:e,role:r||"presentation",shapeRendering:a||"auto"},n))}},{key:"render",value:function(){return this.renderAxisLine(this.props,this.style,this.props.events)}}]),e}(f.a.Component);g.propTypes=v({},y.a,{closedPath:p.a.bool,cx:p.a.number,cy:p.a.number,datum:p.a.any,endAngle:p.a.number,r:p.a.number,startAngle:p.a.number}),e.a=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(3),p=n(2),d=n(154),y=n(90),v=n(8),b=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},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.areaPath,r=t.linePath;this.style=e,this.areaPath=n,this.linePath=r}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.areaPath,a=e.linePath,i=this.props,o=i.className,u=i.interpolation;return!h.a.allSetsEqual([[o,t.className],[u,t.interpolation],[a,this.linePath],[r,this.areaPath],[n,this.style]])&&(this.style=n,this.areaPath=r,this.linePath=a,!0)}},{key:"getLineFunction",value:function(t){var e=t.polar,n=t.scale,r=this.toNewName(t.interpolation);return e?y.lineRadial().defined(d.a).curve(y[r+"Closed"]).angle(Object(d.b)(n)).radius(Object(d.d)(n)):y.line().defined(d.a).curve(y[r]).x(Object(d.c)(n)).y(Object(d.e)(n))}},{key:"getAreaFunction",value:function(t){var e=t.polar,n=t.scale,r=this.toNewName(t.interpolation);return e?y.radialArea().defined(d.a).curve(y[r+"Closed"]).angle(Object(d.b)(n)).outerRadius(Object(d.e)(n)).innerRadius(Object(d.d)(n)):y.area().defined(d.a).curve(y[r]).x(Object(d.c)(n)).y1(Object(d.e)(n)).y0(Object(d.d)(n))}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.data,r=t.active,a=this.getAreaFunction(t),i=this.getLineFunction(t);return{style:p.a.evaluateStyle(u()({fill:"black"},e),n,r),areaPath:a(n),linePath:i(n)}}},{key:"toNewName",value:function(t){return"curve"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"renderArea",value:function(t,e,n){var r=e.stroke?"none":e.fill,a=u()({},e,{stroke:r}),i=this.props,o=i.role,c=i.shapeRendering,l=i.className,f=i.polar,h=i.origin,p=f&&h?"translate("+h.x+", "+h.y+")":void 0;return s.a.createElement("path",b({key:"area",style:a,shapeRendering:c||"auto",role:o||"presentation",d:t,transform:p,className:l},n))}},{key:"renderLine",value:function(t,e,n){if(!e.stroke||"none"===e.stroke||"transparent"===e.stroke)return null;var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,c=r.polar,l=r.origin,f=c&&l?"translate("+l.x+", "+l.y+")":void 0,h=u()({},e,{fill:"none"});return s.a.createElement("path",b({key:"area-stroke",style:h,shapeRendering:i||"auto",role:a||"presentation",d:t,transform:f,className:o},n))}},{key:"render",value:function(){var t=this.props,e=t.events,n=t.groupComponent,r=this.renderArea(this.areaPath,this.style,e),a=this.renderLine(this.linePath,this.style,e);if(!a)return r;var i=[r,a].map(function(t,e){return s.a.cloneElement(t,{key:e})});return s.a.cloneElement(n,{},i)}}]),e}(s.a.Component);m.propTypes=b({},v.a,{groupComponent:f.a.element,interpolation:f.a.string}),m.defaultProps={groupComponent:s.a.createElement("g",null)},e.a=m},function(t,e,n){"use strict";function r(t){return t.innerRadius}function a(t){return t.outerRadius}function i(t){return t.startAngle}function o(t){return t.endAngle}function u(t){return t&&t.padAngle}function c(t,e,n,r,a,i,o,u){var c=n-t,s=r-e,l=o-a,f=u-i,h=(l*(e-i)-f*(t-a))/(f*c-l*s);return[t+h*c,e+h*s]}function s(t,e,n,r,a,i,o){var u=t-n,c=e-r,s=(o?i:-i)/Object(h.l)(u*u+c*c),l=s*c,f=-s*u,p=t+l,d=e+f,y=n+l,v=r+f,b=(p+y)/2,g=(d+v)/2,m=y-p,_=v-d,x=m*m+_*_,O=a-i,w=p*v-y*d,j=(_<0?-1:1)*Object(h.l)(Object(h.h)(0,O*O*x-w*w)),M=(w*_-m*j)/x,k=(-w*m-_*j)/x,T=(w*_+m*j)/x,A=(-w*m+_*j)/x,P=M-b,E=k-g,C=T-b,S=A-g;return P*P+E*E>C*C+S*S&&(M=T,k=A),{cx:M,cy:k,x01:-l,y01:-f,x11:M*(a/O-1),y11:k*(a/O-1)}}var l=n(31),f=n(16),h=n(32);e.a=function(){function t(){var t,r,a=+e.apply(this,arguments),i=+n.apply(this,arguments),o=y.apply(this,arguments)-h.g,u=v.apply(this,arguments)-h.g,f=Object(h.a)(u-o),m=u>o;if(g||(g=t=Object(l.a)()),i<a&&(r=i,i=a,a=r),i>h.f)if(f>h.m-h.f)g.moveTo(i*Object(h.e)(o),i*Object(h.k)(o)),g.arc(0,0,i,o,u,!m),a>h.f&&(g.moveTo(a*Object(h.e)(u),a*Object(h.k)(u)),g.arc(0,0,a,u,o,m));else{var _,x,O=o,w=u,j=o,M=u,k=f,T=f,A=b.apply(this,arguments)/2,P=A>h.f&&(d?+d.apply(this,arguments):Object(h.l)(a*a+i*i)),E=Object(h.i)(Object(h.a)(i-a)/2,+p.apply(this,arguments)),C=E,S=E;if(P>h.f){var N=Object(h.c)(P/a*Object(h.k)(A)),D=Object(h.c)(P/i*Object(h.k)(A));(k-=2*N)>h.f?(N*=m?1:-1,j+=N,M-=N):(k=0,j=M=(o+u)/2),(T-=2*D)>h.f?(D*=m?1:-1,O+=D,w-=D):(T=0,O=w=(o+u)/2)}var L=i*Object(h.e)(O),R=i*Object(h.k)(O),F=a*Object(h.e)(M),I=a*Object(h.k)(M);if(E>h.f){var W=i*Object(h.e)(w),z=i*Object(h.k)(w),U=a*Object(h.e)(j),q=a*Object(h.k)(j);if(f<h.j){var V=k>h.f?c(L,R,U,q,W,z,F,I):[F,I],B=L-V[0],H=R-V[1],Y=W-V[0],X=z-V[1],K=1/Object(h.k)(Object(h.b)((B*Y+H*X)/(Object(h.l)(B*B+H*H)*Object(h.l)(Y*Y+X*X)))/2),$=Object(h.l)(V[0]*V[0]+V[1]*V[1]);C=Object(h.i)(E,(a-$)/(K-1)),S=Object(h.i)(E,(i-$)/(K+1))}}T>h.f?S>h.f?(_=s(U,q,L,R,i,S,m),x=s(W,z,F,I,i,S,m),g.moveTo(_.cx+_.x01,_.cy+_.y01),S<E?g.arc(_.cx,_.cy,S,Object(h.d)(_.y01,_.x01),Object(h.d)(x.y01,x.x01),!m):(g.arc(_.cx,_.cy,S,Object(h.d)(_.y01,_.x01),Object(h.d)(_.y11,_.x11),!m),g.arc(0,0,i,Object(h.d)(_.cy+_.y11,_.cx+_.x11),Object(h.d)(x.cy+x.y11,x.cx+x.x11),!m),g.arc(x.cx,x.cy,S,Object(h.d)(x.y11,x.x11),Object(h.d)(x.y01,x.x01),!m))):(g.moveTo(L,R),g.arc(0,0,i,O,w,!m)):g.moveTo(L,R),a>h.f&&k>h.f?C>h.f?(_=s(F,I,W,z,a,-C,m),x=s(L,R,U,q,a,-C,m),g.lineTo(_.cx+_.x01,_.cy+_.y01),C<E?g.arc(_.cx,_.cy,C,Object(h.d)(_.y01,_.x01),Object(h.d)(x.y01,x.x01),!m):(g.arc(_.cx,_.cy,C,Object(h.d)(_.y01,_.x01),Object(h.d)(_.y11,_.x11),!m),g.arc(0,0,a,Object(h.d)(_.cy+_.y11,_.cx+_.x11),Object(h.d)(x.cy+x.y11,x.cx+x.x11),m),g.arc(x.cx,x.cy,C,Object(h.d)(x.y11,x.x11),Object(h.d)(x.y01,x.x01),!m))):g.arc(0,0,a,M,j,m):g.lineTo(F,I)}else g.moveTo(0,0);if(g.closePath(),t)return g=null,t+""||null}var e=r,n=a,p=Object(f.a)(0),d=null,y=i,v=o,b=u,g=null;return t.centroid=function(){var t=(+e.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+y.apply(this,arguments)+ +v.apply(this,arguments))/2-h.j/2;return[Object(h.e)(r)*t,Object(h.k)(r)*t]},t.innerRadius=function(n){return arguments.length?(e="function"==typeof n?n:Object(f.a)(+n),t):e},t.outerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Object(f.a)(+e),t):n},t.cornerRadius=function(e){return arguments.length?(p="function"==typeof e?e:Object(f.a)(+e),t):p},t.padRadius=function(e){return arguments.length?(d=null==e?null:"function"==typeof e?e:Object(f.a)(+e),t):d},t.startAngle=function(e){return arguments.length?(y="function"==typeof e?e:Object(f.a)(+e),t):y},t.endAngle=function(e){return arguments.length?(v="function"==typeof e?e:Object(f.a)(+e),t):v},t.padAngle=function(e){return arguments.length?(b="function"==typeof e?e:Object(f.a)(+e),t):b},t.context=function(e){return arguments.length?(g=null==e?null:e,t):g},t}},function(t,e,n){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new r}var i=Math.PI,o=2*i,u=o-1e-6;r.prototype=a.prototype={constructor:r,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,a,i){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+i)},arcTo:function(t,e,n,r,a){t=+t,e=+e,n=+n,r=+r,a=+a;var o=this._x1,u=this._y1,c=n-t,s=r-e,l=o-t,f=u-e,h=l*l+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(f*c-s*l)>1e-6&&a){var p=n-o,d=r-u,y=c*c+s*s,v=p*p+d*d,b=Math.sqrt(y),g=Math.sqrt(h),m=a*Math.tan((i-Math.acos((y+h-v)/(2*b*g)))/2),_=m/g,x=m/b;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*l)+","+(e+_*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>l*d)+","+(this._x1=t+x*c)+","+(this._y1=e+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,a,c){t=+t,e=+e,n=+n;var s=n*Math.cos(r),l=n*Math.sin(r),f=t+s,h=e+l,p=1^c,d=c?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%o+o),d>u?this._+="A"+n+","+n+",0,1,"+p+","+(t-s)+","+(e-l)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=i)+","+p+","+(this._x1=t+n*Math.cos(a))+","+(this._y1=e+n*Math.sin(a))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.a=a},function(t,e,n){"use strict";var r=n(16),a=n(322),i=n(323),o=n(32);e.a=function(){function t(t){var r,a,i,f,h,p=t.length,d=0,y=new Array(p),v=new Array(p),b=+c.apply(this,arguments),g=Math.min(o.m,Math.max(-o.m,s.apply(this,arguments)-b)),m=Math.min(Math.abs(g)/p,l.apply(this,arguments)),_=m*(g<0?-1:1);for(r=0;r<p;++r)(h=v[y[r]=r]=+e(t[r],r,t))>0&&(d+=h);for(null!=n?y.sort(function(t,e){return n(v[t],v[e])}):null!=u&&y.sort(function(e,n){return u(t[e],t[n])}),r=0,i=d?(g-p*_)/d:0;r<p;++r,b=f)a=y[r],h=v[a],f=b+(h>0?h*i:0)+_,v[a]={data:t[a],index:r,value:h,startAngle:b,endAngle:f,padAngle:m};return v}var e=i.a,n=a.a,u=null,c=Object(r.a)(0),s=Object(r.a)(o.m),l=Object(r.a)(0);return t.value=function(n){return arguments.length?(e="function"==typeof n?n:Object(r.a)(+n),t):e},t.sortValues=function(e){return arguments.length?(n=e,u=null,t):n},t.sort=function(e){return arguments.length?(u=e,n=null,t):u},t.startAngle=function(e){return arguments.length?(c="function"==typeof e?e:Object(r.a)(+e),t):c},t.endAngle=function(e){return arguments.length?(s="function"==typeof e?e:Object(r.a)(+e),t):s},t.padAngle=function(e){return arguments.length?(l="function"==typeof e?e:Object(r.a)(+e),t):l},t}},function(t,e,n){"use strict";e.a=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var r=n(156),a=n(155),i=n(157);e.a=function(){var t=Object(a.a)().curve(r.a),e=t.curve,n=t.lineX0,o=t.lineX1,u=t.lineY0,c=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(i.b)(n())},delete t.lineX0,t.lineEndAngle=function(){return Object(i.b)(o())},delete t.lineX1,t.lineInnerRadius=function(){return Object(i.b)(u())},delete t.lineY0,t.lineOuterRadius=function(){return Object(i.b)(c())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Object(r.b)(t)):e()._curve},t}},function(t,e,n){"use strict";function r(t){return t.source}function a(t){return t.target}function i(t){function e(){var e,r=p.a.call(arguments),a=n.apply(this,r),s=i.apply(this,r);if(c||(c=e=Object(h.a)()),t(c,+o.apply(this,(r[0]=a,r)),+u.apply(this,r),+o.apply(this,(r[0]=s,r)),+u.apply(this,r)),e)return c=null,e+""||null}var n=r,i=a,o=y.a,u=y.b,c=null;return e.source=function(t){return arguments.length?(n=t,e):n},e.target=function(t){return arguments.length?(i=t,e):i},e.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(d.a)(+t),e):o},e.y=function(t){return arguments.length?(u="function"==typeof t?t:Object(d.a)(+t),e):u},e.context=function(t){return arguments.length?(c=null==t?null:t,e):c},e}function o(t,e,n,r,a){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,a,r,a)}function u(t,e,n,r,a){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+a)/2,r,n,r,a)}function c(t,e,n,r,a){var i=Object(v.a)(e,n),o=Object(v.a)(e,n=(n+a)/2),u=Object(v.a)(r,n),c=Object(v.a)(r,a);t.moveTo(i[0],i[1]),t.bezierCurveTo(o[0],o[1],u[0],u[1],c[0],c[1])}function s(){return i(o)}function l(){return i(u)}function f(){var t=i(c);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}e.a=s,e.c=l,e.b=f;var h=n(31),p=n(159),d=n(16),y=n(92),v=n(158)},function(t,e,n){"use strict";n.d(e,"b",function(){return h});var r=n(31),a=n(160),i=n(161),o=n(162),u=n(163),c=n(164),s=n(165),l=n(166),f=n(16),h=[a.a,i.a,o.a,c.a,u.a,s.a,l.a];e.a=function(){function t(){var t;if(i||(i=t=Object(r.a)()),e.apply(this,arguments).draw(i,+n.apply(this,arguments)),t)return i=null,t+""||null}var e=Object(f.a)(a.a),n=Object(f.a)(64),i=null;return t.type=function(n){return arguments.length?(e="function"==typeof n?n:Object(f.a)(n),t):e},t.size=function(e){return arguments.length?(n="function"==typeof e?e:Object(f.a)(+e),t):n},t.context=function(e){return arguments.length?(i=null==e?null:e,t):i},t}},function(t,e,n){"use strict";function r(t){this._context=t}var a=n(54),i=n(55);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Object(i.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t){this._context=t}var a=n(55);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Object(a.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e){this._basis=new a.a(t),this._beta=e}var a=n(55);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,a=t[0],i=e[0],o=t[n]-a,u=e[n]-i,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(a+r*o),this._beta*e[c]+(1-this._beta)*(i+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function t(e){function n(t){return 1===e?new a.a(t):new r(t,e)}return n.beta=function(e){return t(+e)},n}(.85)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var a=n(167),i=n(54),o=n(93);r.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(o.b)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new r(t,e):new a.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var a=n(168),i=n(93);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i.b)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new r(t,e):new a.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t){this._context=t}var a=n(54);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t){return t<0?-1:1}function a(t,e,n){var a=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(a||i<0&&-0),u=(n-t._y1)/(i||a<0&&-0),c=(o*i+u*a)/(a+i);return(r(o)+r(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(c))||0}function i(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function o(t,e,n){var r=t._x0,a=t._y0,i=t._x1,o=t._y1,u=(i-r)/3;t._context.bezierCurveTo(r+u,a+u*e,i-u,o-u*n,i,o)}function u(t){this._context=t}function c(t){this._context=new s(t)}function s(t){this._context=t}function l(t){return new u(t)}function f(t){return new c(t)}e.a=l,e.b=f,u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:o(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,t!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=a(this,t,e)),n);break;default:o(this,this._t0,n=a(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(c.prototype=Object.create(u.prototype)).point=function(t,e){u.prototype.point.call(this,e,t)},s.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,a,i){this._context.bezierCurveTo(e,t,r,n,i,a)}}},function(t,e,n){"use strict";function r(t){this._context=t}function a(t){var e,n,r=t.length-1,a=new Array(r),i=new Array(r),o=new Array(r);for(a[0]=0,i[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)a[e]=1,i[e]=4,o[e]=4*t[e]+2*t[e+1];for(a[r-1]=2,i[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=a[e]/i[e-1],i[e]-=n,o[e]-=n*o[e-1];for(a[r-1]=o[r-1]/i[r-1],e=r-2;e>=0;--e)a[e]=(o[e]-a[e+1])/i[e];for(i[r-1]=(t[r]+a[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-a[e+1];return[a,i]}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=a(t),i=a(e),o=0,u=1;u<n;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],e[u]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e){this._context=t,this._t=e}function a(t){return new r(t,0)}function i(t){return new r(t,1)}e.c=a,e.b=i,r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},e.a=function(t){return new r(t,.5)}},function(t,e,n){"use strict";function r(t,e){return t[e]}var a=n(159),i=n(16),o=n(33),u=n(34);e.a=function(){function t(t){var r,a,i=e.apply(this,arguments),o=t.length,u=i.length,l=new Array(u);for(r=0;r<u;++r){for(var f,h=i[r],p=l[r]=new Array(o),d=0;d<o;++d)p[d]=f=[0,+s(t[d],h,d,t)],f.data=t[d];p.key=h}for(r=0,a=n(l);r<u;++r)l[a[r]].index=r;return c(l,a),l}var e=Object(i.a)([]),n=u.a,c=o.a,s=r;return t.keys=function(n){return arguments.length?(e="function"==typeof n?n:Object(i.a)(a.a.call(n)),t):e},t.value=function(e){return arguments.length?(s="function"==typeof e?e:Object(i.a)(+e),t):s},t.order=function(e){return arguments.length?(n=null==e?u.a:"function"==typeof e?e:Object(i.a)(a.a.call(e)),t):n},t.offset=function(e){return arguments.length?(c=null==e?o.a:e,t):c},t}},function(t,e,n){"use strict";var r=n(33);e.a=function(t,e){if((a=t.length)>0){for(var n,a,i,o=0,u=t[0].length;o<u;++o){for(i=n=0;n<a;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<a;++n)t[n][o][1]/=i}Object(r.a)(t,e)}}},function(t,e,n){"use strict";e.a=function(t,e){if((u=t.length)>1)for(var n,r,a,i,o,u,c=0,s=t[e[0]].length;c<s;++c)for(i=o=0,n=0;n<u;++n)(a=(r=t[e[n]][c])[1]-r[0])>=0?(r[0]=i,r[1]=i+=a):a<0?(r[1]=o,r[0]=o+=a):r[0]=i}},function(t,e,n){"use strict";var r=n(33);e.a=function(t,e){if((n=t.length)>0){for(var n,a=0,i=t[e[0]],o=i.length;a<o;++a){for(var u=0,c=0;u<n;++u)c+=t[u][a][1]||0;i[a][1]+=i[a][0]=-c/2}Object(r.a)(t,e)}}},function(t,e,n){"use strict";var r=n(33);e.a=function(t,e){if((i=t.length)>0&&(a=(n=t[e[0]]).length)>0){for(var n,a,i,o=0,u=1;u<a;++u){for(var c=0,s=0,l=0;c<i;++c){for(var f=t[e[c]],h=f[u][1]||0,p=f[u-1][1]||0,d=(h-p)/2,y=0;y<c;++y){var v=t[e[y]];d+=(v[u][1]||0)-(v[u-1][1]||0)}s+=h,l+=d*h}n[u-1][1]+=n[u-1][0]=o,s&&(o-=l/s)}n[u-1][1]+=n[u-1][0]=o,Object(r.a)(t,e)}}},function(t,e,n){"use strict";var r=n(94);e.a=function(t){return Object(r.a)(t).reverse()}},function(t,e,n){"use strict";var r=n(34),a=n(94);e.a=function(t){var e,n,i=t.length,o=t.map(a.b),u=Object(r.a)(t).sort(function(t,e){return o[e]-o[t]}),c=0,s=0,l=[],f=[];for(e=0;e<i;++e)n=u[e],c<s?(c+=o[n],l.push(n)):(s+=o[n],f.push(n));return f.reverse().concat(l)}},function(t,e,n){"use strict";var r=n(34);e.a=function(t){return Object(r.a)(t).reverse()}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(4),c=n.n(u),s=n(0),l=n.n(s),f=n(1),h=n.n(f),p=n(2),d=n(3),y=n(8),v=n(90),b=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},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.datum,u=a.horizontal,c=a.x,s=a.y,l=a.y0;return!d.a.allSetsEqual([[i,t.className],[c,t.x],[s,t.y],[l,t.y0],[u,t.horizontal],[r,this.path],[n,this.style],[o,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.datum,n=t.active,r=t.polar,a=t.style&&t.style.fill||"black",i={fill:"black",stroke:a},o=p.a.evaluateStyle(c()(i,t.style),e,n),u=this.getBarWidth(t,o);return{style:o,path:r?this.getPolarBarPath(t,u):this.getBarPath(t,u)}}},{key:"getPosition",value:function(t,e){var n=e/2,r=t.x,a=t.y,i=t.y0;return{y0:Math.round(i),y1:Math.round(a),x0:Math.round(r-n),x1:Math.round(r+n)}}},{key:"getVerticalBarPath",value:function(t,e){var n=this.getPosition(t,e),r=n.x0,a=n.x1,i=n.y0,o=n.y1;return"M "+r+", "+i+"\n L "+r+", "+o+"\n L "+a+", "+o+"\n L "+a+", "+i+"\n L "+r+", "+i+"\n z"}},{key:"getHorizontalBarPath",value:function(t,e){var n=this.getPosition(t,e),r=n.x0,a=n.x1,i=n.y0,o=n.y1;return"M "+i+", "+r+"\n L "+i+", "+a+"\n L "+o+", "+a+"\n L "+o+", "+r+"\n L "+i+", "+r+"\n z"}},{key:"transformAngle",value:function(t){return-1*t+Math.PI/2}},{key:"getAngularWidth",value:function(t,e){var n=t.scale,a=n.y.range(),i=Math.max.apply(Math,r(a)),o=Math.abs(n.x.range()[1]-n.x.range()[0]);return e/(2*Math.PI*i)*o}},{key:"getAngle",value:function(t,e){var n=t.data,r=t.scale,a=void 0===n[e]._x1?"_x":"_x1";return r.x(n[e][a])}},{key:"getStartAngle",value:function(t,e){var n=t.data,r=t.scale,a=this.getAngle(t,e),i=Math.abs(r.x.range()[1]-r.x.range()[0]),o=0===e?this.getAngle(t,n.length-1)-2*Math.PI:this.getAngle(t,e-1);return 0===e&&i<2*Math.PI?r.x.range()[0]:(a+o)/2}},{key:"getEndAngle",value:function(t,e){var n=t.data,r=t.scale,a=this.getAngle(t,e),i=Math.abs(r.x.range()[1]-r.x.range()[0]),o=r.x.range()[1]===2*Math.PI?this.getAngle(t,0)+2*Math.PI:r.x.range()[1],u=e===n.length-1?this.getAngle(t,0)+2*Math.PI:this.getAngle(t,e+1);return e===n.length-1&&i<2*Math.PI?o:(a+u)/2}},{key:"getVerticalPolarBarPath",value:function(t){var e=t.datum,n=t.scale,r=t.style,a=t.index,i=n.y(e._y0||0),o=n.y(void 0!==e._y1?e._y1:e._y),u=n.x(void 0!==e._x1?e._x1:e._x),c=void 0,s=void 0;if(r.width){var l=this.getAngularWidth(t,r.width);c=u-l/2,s=u+l/2}else c=this.getStartAngle(t,a),s=this.getEndAngle(t,a);return v.arc().innerRadius(i).outerRadius(o).startAngle(this.transformAngle(c)).endAngle(this.transformAngle(s))()}},{key:"getBarPath",value:function(t,e){return this.props.horizontal?this.getHorizontalBarPath(t,e):this.getVerticalBarPath(t,e)}},{key:"getPolarBarPath",value:function(t){return this.getVerticalPolarBarPath(t)}},{key:"getBarWidth",value:function(t,e){if(e.width)return e.width;var n=t.scale,r=t.data,a=n.x.range(),i=Math.abs(a[1]-a[0]),o=r.length+2,u=r.length<2?8:.5*i/o;return Math.max(1,Math.round(u))}},{key:"renderBar",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,u=r.origin,c=r.polar,s=c&&u?"translate("+u.x+", "+u.y+")":void 0;return l.a.createElement("path",b({d:t,transform:s,className:o,style:e,role:a||"presentation",shapeRendering:i||"auto"},n))}},{key:"render",value:function(){return this.renderBar(this.path,this.style,this.props.events)}}]),e}(l.a.Component);m.propTypes=b({},y.a,{datum:h.a.object,horizontal:h.a.bool,padding:h.a.oneOfType([h.a.number,h.a.object]),width:h.a.number,x:h.a.number,y:h.a.number,y0:h.a.number}),e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(3),d=n(8),y=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},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.candleWidth;this.style=e,this.candleWidth=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.candleHeight,a=e.datum,i=e.x,o=e.y,u=e.y1,c=e.y2,s=this.calculateAttributes(t),l=s.style,f=s.candleWidth;return!p.a.allSetsEqual([[n,t.className],[r,t.candleHeight],[i,t.x],[o,t.y],[u,t.y1],[c,t.y2],[f,this.candleWidth],[l,this.style],[a,t.datum]])&&(this.style=l,this.candleWidth=f,!0)}},{key:"calculateAttributes",value:function(t){var e=t.data,n=t.datum,r=t.active,a=t.width,i=h.a.evaluateStyle(u()({stroke:"black"},t.style),n,r),o=t.padding.left||t.padding;return{style:i,candleWidth:i.width||.5*(a-2*o)/e.length}}},{key:"renderWick",value:function(t){return s.a.createElement("line",t)}},{key:"renderCandle",value:function(t){return s.a.createElement("rect",t)}},{key:"getCandleProps",value:function(t){var e=t.candleHeight,n=t.x,r=t.y,a=t.events,i=t.role,o=t.className,c=t.shapeRendering||"auto",s=n-this.candleWidth/2;return u()({x:s,y:r,style:this.style,role:i,width:this.candleWidth,height:e,shapeRendering:c,className:o},a)}},{key:"getWickProps",value:function(t){var e=t.x,n=t.y1,r=t.y2,a=t.events,i=t.className,o=t.shapeRendering||"auto",c=t.role||"presentation";return u()({x1:e,x2:e,y1:n,y2:r,style:this.style,role:c,shapeRendering:o,className:i},a)}},{key:"render",value:function(){var t=this.getCandleProps(this.props),e=this.getWickProps(this.props);return s.a.cloneElement(this.props.groupComponent,{},this.renderWick(e),this.renderCandle(t))}}]),e}(s.a.Component);b.propTypes=y({},d.a,{candleHeight:f.a.number,datum:f.a.object,groupComponent:f.a.element,padding:f.a.oneOfType([f.a.number,f.a.object]),width:f.a.number,x:f.a.number,y:f.a.number,y1:f.a.number,y2:f.a.number}),b.defaultProps={groupComponent:s.a.createElement("g",null)},e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(154),d=n(3),y=n(90),v=n(8),b=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},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.interpolation;return!d.a.allSetsEqual([[i,t.className],[o,t.interpolation],[r,this.path],[n,this.style]])&&(this.style=n,this.path=r,!0)}},{key:"getLineFunction",value:function(t){var e=t.polar,n=t.scale,r=t.openCurve,a=e&&!r?this.toNewName(t.interpolation)+"Closed":this.toNewName(t.interpolation);return e?y.lineRadial().defined(p.a).curve(y[a]).angle(Object(p.b)(n)).radius(Object(p.e)(n)):y.line().defined(p.a).curve(y[a]).x(Object(p.c)(n)).y(Object(p.e)(n))}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.data,r=t.active,a=this.getLineFunction(t);return{style:h.a.evaluateStyle(u()({fill:"none",stroke:"black"},e),n,r),path:a(n)}}},{key:"toNewName",value:function(t){return"curve"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"renderLine",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,u=r.polar,c=r.origin,l=u&&c?"translate("+c.x+", "+c.y+")":void 0;return s.a.createElement("path",b({style:e,shapeRendering:i||"auto",role:a||"presentation",d:t,transform:l,className:o},n))}},{key:"render",value:function(){var t=this.props.events;return this.renderLine(this.path,this.style,t)}}]),e}(s.a.Component);m.propTypes=b({},v.a,{interpolation:f.a.string,openCurve:f.a.bool,origin:f.a.object,polar:f.a.bool}),e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(3),d=n(8),y=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},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(t){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.borderWidth,r=e.className,a=e.datum,i=e.x,o=e.y,u=e.errorX,c=e.errorY,s=this.getStyle(t);return!p.a.allSetsEqual([[n,t.borderWidth],[r,t.className],[i,t.x],[o,t.y],[u,t.errorX],[c,t.errorY],[this.style,s],[a,t.datum]])&&(this.style=s,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return h.a.evaluateStyle(u()({stroke:"black"},e),n,r)}},{key:"renderLine",value:function(t,e,n){return s.a.createElement("line",y({},t,{style:e},n))}},{key:"renderBorder",value:function(t,e,n){var r=t.x,a=t.y,i=t.borderWidth,o=t.events,u=t.style,c=t.role,s=t.shapeRendering,l=t.className,f="Right"===n||"Left"===n,h=e["error"+n],p={role:c,shapeRendering:s,className:l,key:"border"+n,x1:f?h:r-i,x2:f?h:r+i,y1:f?a-i:h,y2:f?a+i:h};return this.renderLine(p,u,o)}},{key:"renderCross",value:function(t,e,n){var r=t.x,a=t.y,i=t.events,o=t.style,u=t.role,c=t.shapeRendering,s=t.className,l="Top"===n||"Bottom"===n,f=e["error"+n],h={role:u,shapeRendering:c,className:s,key:"cross"+n,x1:r,x2:l?r:f,y1:a,y2:l?f:a};return this.renderLine(h,o,i)}},{key:"renderErrorBar",value:function(t,e){var n=e.groupComponent;return s.a.cloneElement(n,{},t.errorRight?this.renderBorder(e,t,"Right"):null,t.errorLeft?this.renderBorder(e,t,"Left"):null,t.errorBottom?this.renderBorder(e,t,"Bottom"):null,t.errorTop?this.renderBorder(e,t,"Top"):null,t.errorRight?this.renderCross(e,t,"Right"):null,t.errorLeft?this.renderCross(e,t,"Left"):null,t.errorBottom?this.renderCross(e,t,"Bottom"):null,t.errorTop?this.renderCross(e,t,"Top"):null)}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.borderWidth,a=t.groupComponent,i=t.events,o=t.errorX,u=t.errorY,c=t.scale,l=t.role,f=t.shapeRendering,h=t.className,p=void 0,d=void 0,y=void 0,v=void 0,b=void 0,g=void 0,m=void 0,_=void 0,x=void 0,O=void 0;o&&(p=c.x.range(),y=o[0],v=o[1],x=y>=p[1]?p[1]:y,O=v<=p[0]?p[0]:v),u&&(d=c.y.range(),b=u[1],g=u[0],m=b>=d[0]?d[0]:b,_=g<=d[1]?d[1]:g);var w={x:e,y:n,borderWidth:r,groupComponent:a,events:i,className:h,role:l||"presentation",shapeRendering:f||"auto",style:this.style};return s.a.cloneElement(this.props.groupComponent,{},this.renderErrorBar({errorTop:m,errorBottom:_,errorRight:x,errorLeft:O},w))}}]),e}(s.a.Component);b.propTypes=y({},d.a,{borderWidth:f.a.number,datum:f.a.object,errorX:f.a.oneOfType([f.a.number,f.a.array,f.a.bool]),errorY:f.a.oneOfType([f.a.number,f.a.array,f.a.bool]),groupComponent:f.a.element,x:f.a.number,y:f.a.number}),b.defaultProps={borderWidth:10,groupComponent:s.a.createElement("g",null)},e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(3),d=n(8),y=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},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.datum,a=e.x1,i=e.x2,o=e.y1,u=e.y2,c=this.getStyle(t);return!p.a.allSetsEqual([[n,t.className],[a,t.x1],[i,t.x2],[o,t.y1],[u,t.y2],[c,this.style],[r,t.datum]])&&(this.style=c,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return h.a.evaluateStyle(u()({stroke:"black"},e),n,r)}},{key:"renderAxisLine",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className;return s.a.createElement("line",y({},t,{className:o,style:e,role:a||"presentation",shapeRendering:i||"auto",vectorEffect:"non-scaling-stroke"},n))}},{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,r=t.y1,a=t.y2,i=t.events;return this.renderAxisLine({x1:e,x2:n,y1:r,y2:a},this.style,i)}}]),e}(s.a.Component);b.propTypes=y({},d.a,{datum:f.a.any,x1:f.a.number,x2:f.a.number,y1:f.a.number,y2:f.a.number}),e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(8),p=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},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.datum,u=a.slice;return!f.a.allSetsEqual([[i,t.className],[r,this.path],[n,this.style],[o,t.datum],[u,t.slice]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active,a=t.pathFunction,i=t.slice;return{style:l.a.evaluateStyle(e,n,r),path:a(i)}}},{key:"renderSlice",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,c=r.origin,s=c?"translate("+c.x+", "+c.y+")":void 0;return u.a.createElement("path",p({d:t,className:o,role:a||"presentation",style:e,transform:s,shapeRendering:i||"auto"},n))}},{key:"render",value:function(){return this.renderSlice(this.path,this.style,this.props.events)}}]),e}(u.a.Component);y.propTypes=p({},h.a,{datum:s.a.object,pathFunction:s.a.func,slice:s.a.object}),e.a=y},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(8),p=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},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.circle,r=t.voronoi;this.style=e,this.circle=n,this.voronoi=r}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.circle,a=e.voronoi,i=this.props,o=i.className,u=i.x,c=i.y,s=i.datum;return!f.a.allSetsEqual([[o,t.className],[u,t.x],[c,t.y],[r,this.circle],[a,this.voronoi],[n,this.style],[s,t.datum]])&&(this.style=n,this.circle=r,this.voronoi=a,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active;return{style:l.a.evaluateStyle(e,n,r),circle:this.getCirclePath(t),voronoi:this.getVoronoiPath(t)}}},{key:"getVoronoiPath",value:function(t){var e=t.polygon;return Array.isArray(e)&&e.length?"M "+t.polygon.join("L")+" Z":""}},{key:"getCirclePath",value:function(t){if(!t.size)return null;var e=t.x,n=t.y,r=t.datum,a=t.active,i=l.a.evaluateProp(t.size,r,a);return"M "+e+", "+n+" m "+-i+", 0\n a "+i+", "+i+" 0 1,0 "+2*i+",0\n a "+i+", "+i+" 0 1,0 "+2*-i+",0"}},{key:"renderPoint",value:function(t,e,n){var r=t.circle&&"clipPath-"+Math.random(),a=t.circle?"url(#"+r+")":void 0,i=this.props,o=i.role,c=i.shapeRendering,s=i.className,l=u.a.createElement("path",p({d:t.circle||t.voronoi,className:s,clipPath:a,style:e,role:o||"presentation",shapeRendering:c||"auto"},n));return t.circle?u.a.createElement("g",null,u.a.createElement("defs",null,u.a.createElement("clipPath",{id:r},u.a.createElement("path",{d:t.voronoi,className:s}))),l):l}},{key:"render",value:function(){var t={circle:this.circle,voronoi:this.voronoi};return this.renderPoint(t,this.style,this.props.events)}}]),e}(u.a.Component);y.propTypes=p({},h.a,{datum:s.a.object,polygon:s.a.array,size:s.a.number,x:s.a.number,y:s.a.number}),e.a=y},function(t,e,n){function r(t){return t&&t.length?a(t):[]}var a=n(352);t.exports=r},function(t,e,n){function r(t,e,n){var r=-1,f=i,h=t.length,p=!0,d=[],y=d;if(n)p=!1,f=o;else if(h>=l){var v=e?null:c(t);if(v)return s(v);p=!1,f=u,y=new a}else y=e?[]:d;t:for(;++r<h;){var b=t[r],g=e?e(b):b;if(b=n||0!==b?b:0,p&&g===g){for(var m=y.length;m--;)if(y[m]===g)continue t;e&&y.push(g),d.push(b)}else f(y,g,n)||(y!==d&&y.push(g),d.push(b))}return d}var a=n(61),i=n(147),o=n(148),u=n(62),c=n(353),s=n(354),l=200;t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(356);n.d(e,"scaleBand",function(){return r.a}),n.d(e,"scalePoint",function(){return r.b});var a=n(379);n.d(e,"scaleIdentity",function(){return a.a});var i=n(36);n.d(e,"scaleLinear",function(){return i.a});var o=n(390);n.d(e,"scaleLog",function(){return o.a});var u=n(182);n.d(e,"scaleOrdinal",function(){return u.a}),n.d(e,"scaleImplicit",function(){return u.b});var c=n(391);n.d(e,"scalePow",function(){return c.a}),n.d(e,"scaleSqrt",function(){return c.b});var s=n(392);n.d(e,"scaleQuantile",function(){return s.a});var l=n(393);n.d(e,"scaleQuantize",function(){return l.a});var f=n(394);n.d(e,"scaleThreshold",function(){return f.a});var h=n(190);n.d(e,"scaleTime",function(){return h.b});var p=n(410);n.d(e,"scaleUtc",function(){return p.a});var d=n(411);n.d(e,"schemeCategory10",function(){return d.a});var y=n(412);n.d(e,"schemeCategory20b",function(){return y.a});var v=n(413);n.d(e,"schemeCategory20c",function(){return v.a});var b=n(414);n.d(e,"schemeCategory20",function(){return b.a});var g=n(415);n.d(e,"interpolateCubehelixDefault",function(){return g.a});var m=n(416);n.d(e,"interpolateRainbow",function(){return m.b}),n.d(e,"interpolateWarm",function(){return m.c}),n.d(e,"interpolateCool",function(){return m.a});var _=n(417);n.d(e,"interpolateViridis",function(){return _.a}),n.d(e,"interpolateMagma",function(){return _.c}),n.d(e,"interpolateInferno",function(){return _.b}),n.d(e,"interpolatePlasma",function(){return _.d});var x=n(418);n.d(e,"scaleSequential",function(){return x.a})},function(t,e,n){"use strict";function r(){function t(){var t=i().length,r=s[1]<s[0],a=s[r-0],u=s[1-r];e=(u-a)/Math.max(1,t-f+2*h),l&&(e=Math.floor(e)),a+=(u-a-e*(t-f))*p,n=e*(1-f),l&&(a=Math.round(a),n=Math.round(n));var d=Object(o.e)(t).map(function(t){return a+e*t});return c(r?d.reverse():d)}var e,n,a=Object(u.a)().unknown(void 0),i=a.domain,c=a.range,s=[0,1],l=!1,f=0,h=0,p=.5;return delete a.unknown,a.domain=function(e){return arguments.length?(i(e),t()):i()},a.range=function(e){return arguments.length?(s=[+e[0],+e[1]],t()):s.slice()},a.rangeRound=function(e){return s=[+e[0],+e[1]],l=!0,t()},a.bandwidth=function(){return n},a.step=function(){return e},a.round=function(e){return arguments.length?(l=!!e,t()):l},a.padding=function(e){return arguments.length?(f=h=Math.max(0,Math.min(1,e)),t()):f},a.paddingInner=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),t()):f},a.paddingOuter=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),t()):h},a.align=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),t()):p},a.copy=function(){return r().domain(i()).range(s).round(l).paddingInner(f).paddingOuter(h).align(p)},t()}function a(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return a(e())},t}function i(){return a(r().paddingInner(1))}e.a=r,e.b=i;var o=n(11),u=n(182)},function(t,e,n){"use strict";n(172)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(176),n(170),n(360),n(175),n(361),n(177),n(178),n(179)},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";n(176),n(23),n(35),n(97)},function(t,e,n){"use strict";n(173)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(35)},function(t,e,n){"use strict";n(23),n(35),n(97)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(23)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(181)},function(t,e,n){"use strict";var r=(n(374),n(375),n(98));n.d(e,"a",function(){return r.a});n(376),n(377),n(378)},function(t,e,n){"use strict";n(98)},function(t,e,n){"use strict";function r(){}function a(t,e){var n=new r;if(t instanceof r)t.each(function(t){n.add(t)});else if(t){var a=-1,i=t.length;if(null==e)for(;++a<i;)n.add(t[a]);else for(;++a<i;)n.add(e(t[a],a,t))}return n}var i=n(98),o=i.a.prototype;r.prototype=a.prototype={constructor:r,has:o.has,add:function(t){return t+="",this[i.b+t]=t,this},remove:o.remove,clear:o.clear,values:o.keys,size:o.size,empty:o.empty,each:o.each}},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";function r(){function t(t){return+t}var e=[0,1];return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=a.a.call(n,o.a),t):e.slice()},t.copy=function(){return r().domain(e)},Object(i.b)(t)}e.a=r;var a=n(17),i=n(36),o=n(183)},function(t,e,n){"use strict";var r=n(11),a=n(184);e.a=function(t,e,n){var i,o=t[0],u=t[t.length-1],c=Object(r.g)(o,u,null==e?10:e);switch(n=Object(a.c)(null==n?",f":n),n.type){case"s":var s=Math.max(Math.abs(o),Math.abs(u));return null!=n.precision||isNaN(i=Object(a.e)(c,s))||(n.precision=i),Object(a.b)(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=Object(a.f)(c,Math.max(Math.abs(o),Math.abs(u))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=Object(a.d)(c))||(n.precision=i-2*("%"===n.type))}return Object(a.a)(n)}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i});var r,a,i,o=n(185);!function(t){r=Object(o.a)(t),a=r.format,i=r.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(t,e,n){"use strict";e.a=function(t,e){return function(n,r){for(var a=n.length,i=[],o=0,u=t[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(n.substring(a-=u,a+u)),!((c+=u+1)>r));)u=t[o=(o+1)%t.length];return i.reverse().join(e)}}},function(t,e,n){"use strict";e.a=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}},function(t,e,n){"use strict";e.a=function(t,e){t=t.toPrecision(e);t:for(var n,r=t.length,a=1,i=-1;a<r;++a)switch(t[a]){case".":i=n=a;break;case"0":0===i&&(i=a),n=a;break;case"e":break t;default:i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}},function(t,e,n){"use strict";var r=n(100);e.a=function(t,e){var n=Object(r.a)(t,e);if(!n)return t+"";var a=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+a:a.length>i+1?a.slice(0,i+1)+"."+a.slice(i+1):a+new Array(i-a.length+2).join("0")}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var r=n(58);e.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,e,n){"use strict";var r=n(58);e.a=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(e)/3)))-Object(r.a)(Math.abs(t)))}},function(t,e,n){"use strict";var r=n(58);e.a=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(r.a)(e)-Object(r.a)(t))+1}},function(t,e,n){"use strict";function r(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:Object(h.a)(e)}function a(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function i(t){return isFinite(t)?+("1e"+t):t<0?0:t}function o(t){return 10===t?i:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function u(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function c(t){return function(e){return-t(-e)}}function s(){function t(){return h=u(i),y=o(i),n()[0]<0&&(h=c(h),y=c(y)),e}var e=Object(d.b)(r,a).domain([1,10]),n=e.domain,i=10,h=u(10),y=o(10);return e.base=function(e){return arguments.length?(i=+e,t()):i},e.domain=function(e){return arguments.length?(n(e),t()):n()},e.ticks=function(t){var e,r=n(),a=r[0],o=r[r.length-1];(e=o<a)&&(f=a,a=o,o=f);var u,c,s,f=h(a),p=h(o),d=null==t?10:+t,v=[];if(!(i%1)&&p-f<d){if(f=Math.round(f)-1,p=Math.round(p)+1,a>0){for(;f<p;++f)for(c=1,u=y(f);c<i;++c)if(!((s=u*c)<a)){if(s>o)break;v.push(s)}}else for(;f<p;++f)for(c=i-1,u=y(f);c>=1;--c)if(!((s=u*c)<a)){if(s>o)break;v.push(s)}}else v=Object(l.h)(f,p,Math.min(p-f,d)).map(y);return e?v.reverse():v},e.tickFormat=function(t,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=Object(f.a)(n)),t===1/0)return n;null==t&&(t=10);var r=Math.max(1,i*t/e.ticks().length);return function(t){var e=t/y(Math.round(h(t)));return e*i<i-.5&&(e*=i),e<=r?n(t):""}},e.nice=function(){return n(Object(p.a)(n(),{floor:function(t){return y(Math.floor(h(t)))},ceil:function(t){return y(Math.ceil(h(t)))}}))},e.copy=function(){return Object(d.a)(e,s().base(i))},e}e.a=s;var l=n(11),f=n(184),h=n(99),p=n(189),d=n(57)},function(t,e,n){"use strict";function r(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function a(){function t(t,e){return(e=r(e,n)-(t=r(t,n)))?function(a){return(r(a,n)-t)/e}:Object(o.a)(e)}function e(t,e){return e=r(e,n)-(t=r(t,n)),function(a){return r(t+e*a,1/n)}}var n=1,i=Object(c.b)(t,e),s=i.domain;return i.exponent=function(t){return arguments.length?(n=+t,s(s())):n},i.copy=function(){return Object(c.a)(i,a().exponent(n))},Object(u.b)(i)}function i(){return a().exponent(.5)}e.a=a,e.b=i;var o=n(99),u=n(36),c=n(57)},function(t,e,n){"use strict";function r(){function t(){var t=0,r=Math.max(1,o.length);for(u=new Array(r-1);++t<r;)u[t-1]=Object(a.d)(n,t/r);return e}function e(t){if(!isNaN(t=+t))return o[Object(a.b)(u,t)]}var n=[],o=[],u=[];return e.invertExtent=function(t){var e=o.indexOf(t);return e<0?[NaN,NaN]:[e>0?u[e-1]:n[0],e<u.length?u[e]:n[n.length-1]]},e.domain=function(e){if(!arguments.length)return n.slice();n=[];for(var r,i=0,o=e.length;i<o;++i)null==(r=e[i])||isNaN(r=+r)||n.push(r);return n.sort(a.a),t()},e.range=function(e){return arguments.length?(o=i.b.call(e),t()):o.slice()},e.quantiles=function(){return u.slice()},e.copy=function(){return r().domain(n).range(o)},e}e.a=r;var a=n(11),i=n(17)},function(t,e,n){"use strict";function r(){function t(t){if(t<=t)return l[Object(a.b)(s,t,0,c)]}function e(){var e=-1;for(s=new Array(c);++e<c;)s[e]=((e+1)*u-(e-c)*n)/(c+1);return t}var n=0,u=1,c=1,s=[.5],l=[0,1];return t.domain=function(t){return arguments.length?(n=+t[0],u=+t[1],e()):[n,u]},t.range=function(t){return arguments.length?(c=(l=i.b.call(t)).length-1,e()):l.slice()},t.invertExtent=function(t){var e=l.indexOf(t);return e<0?[NaN,NaN]:e<1?[n,s[0]]:e>=c?[s[c-1],u]:[s[e-1],s[e]]},t.copy=function(){return r().domain([n,u]).range(l)},Object(o.b)(t)}e.a=r;var a=n(11),i=n(17),o=n(36)},function(t,e,n){"use strict";function r(){function t(t){if(t<=t)return n[Object(a.b)(e,t,0,o)]}var e=[.5],n=[0,1],o=1;return t.domain=function(r){return arguments.length?(e=i.b.call(r),o=Math.min(e.length,n.length-1),t):e.slice()},t.range=function(r){return arguments.length?(n=i.b.call(r),o=Math.min(e.length,n.length-1),t):n.slice()},t.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},t.copy=function(){return r().domain(e).range(n)},t}e.a=r;var a=n(11),i=n(17)},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):a:null},e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setTime(Math.floor(t/a.d)*a.d)},function(t,e){t.setTime(+t+e*a.d)},function(t,e){return(e-t)/a.d},function(t){return t.getUTCSeconds()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setTime(Math.floor(t/a.c)*a.c)},function(t,e){t.setTime(+t+e*a.c)},function(t,e){return(e-t)/a.c},function(t){return t.getMinutes()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){var e=t.getTimezoneOffset()*a.c%a.b;e<0&&(e+=a.b),t.setTime(Math.floor((+t-e)/a.b)*a.b+e)},function(t,e){t.setTime(+t+e*a.b)},function(t,e){return(e-t)/a.b},function(t){return t.getHours()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*a.c)/a.a},function(t){return t.getDate()-1});e.a=i;i.range},function(t,e,n){"use strict";function r(t){return Object(a.a)(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.e})}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var a=n(5),i=n(12),o=r(0),u=r(1),c=r(2),s=r(3),l=r(4),f=r(5),h=r(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});a.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*a.c)},function(t,e){return(e-t)/a.c},function(t){return t.getUTCMinutes()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*a.b)},function(t,e){return(e-t)/a.b},function(t){return t.getUTCHours()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/a.a},function(t){return t.getUTCDate()-1});e.a=i;i.range},function(t,e,n){"use strict";function r(t){return Object(a.a)(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/i.e})}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var a=n(5),i=n(12),o=r(0),u=r(1),c=r(2),s=r(3),l=r(4),f=r(5),h=r(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});a.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},e.a=a;a.range},function(t,e,n){"use strict";function r(t){var e=new Date(t);return isNaN(e)?null:e}var a=n(193),i=n(102);+new Date("2000-01-01T00:00:00.000Z")||Object(i.c)(a.a)},function(t,e,n){"use strict";var r=n(190),a=n(191),i=n(101);e.a=function(){return Object(r.a)(i.t,i.p,i.s,i.k,i.l,i.n,i.q,i.m,a.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,e,n){"use strict";var r=n(13),a=n(22);e.a=Object(a.b)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o});var r=n(13),a=n(22),i=Object(a.b)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(a.b)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(r.b)();e.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return u.h=360*t-100,u.s=1.5-1.5*e,u.l=.8-.9*e,u+""}},function(t,e,n){"use strict";function r(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"d",function(){return u});var a=n(37);e.a=r(Object(a.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var i=r(Object(a.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),o=r(Object(a.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=r(Object(a.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,e,n){"use strict";function r(t){function e(e){var r=(e-n)/(i-n);return t(o?Math.max(0,Math.min(1,r)):r)}var n=0,i=1,o=!1;return e.domain=function(t){return arguments.length?(n=+t[0],i=+t[1],e):[n,i]},e.clamp=function(t){return arguments.length?(o=!!t,e):o},e.interpolator=function(n){return arguments.length?(t=n,e):t},e.copy=function(){return r(t).domain([n,i]).clamp(o)},Object(a.b)(e)}e.a=r;var a=n(36)},function(t,e,n){"use strict";e.a={continuousTransitions:function(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}},continuousPolarTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}},onExit:{duration:500,before:function(t,e,n){var r=function(t){return(0===e?n[e+1]:n[e-1])[t]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:function(t,e,n){var r=function(t){return(0===e?n[e+1]:n[e-1])[t]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:function(t){return{_x:t._x,_y:t._y,_y1:t._y1,_y0:t._y0}}}}},discreteTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(t){return t}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return t}}}}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(421),i=n.n(a),o=n(27),u=n.n(o),c=n(169),s=n.n(c),l=n(129),f=n.n(l),h=n(95),p=n(96),d=n(2),y=n(3);e.a={getDomain:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return this.padDomain(n,t,e);var r=this.getDomainFromCategories(t,e);if(r)return this.padDomain(r,t,e);var a=h.a.getData(t),i=this.getDomainFromData(t,e,a);return this.cleanDomain(this.padDomain(i,t,e),t,e)},cleanDomain:function(t,e,n){if("log"!==p.a.getScaleType(e,n))return t;return function(t){var e=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?e:t[0],0===t[1]?e:t[1]]}(t)},getDomainWithZero:function(t,e){var n=this,r=this.getDomainFromProps(t,e);if(r)return this.cleanDomain(this.padDomain(r,t,e),t,e);var a=t.horizontal,i=function(r){var i="y"===e&&!a||"x"===e&&a,o=y.a.getMinValue(r,0),u=y.a.getMaxValue(r,0),c=i?[o,u]:r;return n.padDomain(c,t,e)},o=this.getDomainFromCategories(t,e);if(o)return this.cleanDomain(this.padDomain(i(o),t,e),t,e);var u=h.a.getData(t),c=i(this.getDomainFromData(t,e,u));return this.cleanDomain(this.padDomain(c,t,e),t,e)},getDomainFromProps:function(t,e){return t.domain&&t.domain[e]?t.domain[e]:t.domain&&Array.isArray(t.domain)?t.domain:void 0},getDomainFromData:function(t,e,n){var r=d.a.getCurrentAxis(e,t.horizontal),a=f()(n).map(function(t){return t["_"+r]});if(a.length<1)return p.a.getBaseScale(t,e).domain();var i=y.a.getMinValue(a),o=y.a.getMaxValue(a),u=void 0;u=i===o?this.getSinglePointDomain(o):[i,o];var c=Math.abs((t.startAngle||0)-(t.endAngle||360));return t.polar&&"x"===e&&360===c?this.getSymmetricDomain(u,a):u},getSinglePointDomain:function(t){var e=Math.pow(10,-15);return[t instanceof Date?new Date(t-1):t-e,t instanceof Date?new Date(t+1):t+e]},getSymmetricDomain:function(t,e){var n=i()(e.sort(function(t,e){return t-e})),r=n[1]-n[0];return[t[0],t[1]+r]},getDomainFromTickValues:function(t,e){var n=void 0;if(d.a.stringTicks(t))n=[1,t.tickValues.length];else{var r=t.tickValues.map(function(t){return+t}),a=[y.a.getMinValue(r),y.a.getMaxValue(r)];n=t.polar&&"x"===e?this.getSymmetricDomain(a,r):a}return d.a.isVertical(t)&&n.reverse(),n},getDomainFromCategories:function(t,e){var n=h.a.getCategories(t,e);if(n){var r=y.a.containsStrings(n)?h.a.getStringsFromCategories(t,e):[],a=0===r.length?null:r.reduce(function(t,e,n){return t[e]=n+1,t},{}),i=a?n.map(function(t){return a[t]}):n;return[y.a.getMinValue(i),y.a.getMaxValue(i)]}},getDomainFromGroupedData:function(t,e,n){var a=t.horizontal,i="x"===e&&!a||"y"===e&&a;if(i&&t.categories)return this.getDomainFromCategories(t,e);var o=this.getDomainFromData(t,e,n),u=i?[]:this.getCumulativeData(t,e,n),c=u.map(function(t){return t.reduce(function(t,e){return e>0?+e+ +t:t},0)}),s=u.map(function(t){return t.reduce(function(t,e){return e<0?+e+ +t:t},0)}),l=Math.min.apply(Math,r(s)),f=l<0?l:y.a.getMinValue(o),h=y.a.getMaxValue.apply(y.a,[o].concat(r(c)));return f===h?this.getSinglePointDomain(h):[f,h]},getCumulativeData:function(t,e,n){var r=d.a.getCurrentAxis(e,t.horizontal),a="x"===r?"y":"x",i=[],o=[];n.forEach(function(t){t.forEach(function(t){void 0===t.category||s()(i,t.category)?s()(o,t["_"+a])||o.push(t["_"+a]):i.push(t.category)})});return 0===i.length?function(){return o.map(function(t,e){return n.map(function(t){return t[e]&&t[e]["_"+r]})})}():function(){return i.map(function(t){return n.reduce(function(n,r){return r.category===t?n.concat(r["_"+e]):n},[])})}()},getDomainPadding:function(t,e){var n=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return n(u()(t.domainPadding)?t.domainPadding[e]:t.domainPadding)},padDomain:function(t,e,n){if(!e.domainPadding)return t;var a=this.getDomainPadding(e,n);if(!a.left&&!a.right)return t;var i=y.a.getMinValue(t),o=y.a.getMaxValue(t),u=d.a.getRange(e,n),c=Math.abs(Math.max.apply(Math,r(u))-Math.min.apply(Math,r(u))),s={left:Math.abs(o-i)*a.left/c,right:Math.abs(o-i)*a.right/c},l={min:i>=0&&i-s.left<=0?0:i.valueOf()-s.left,max:o<=0&&o+s.right>=0?0:o.valueOf()+s.right},f={left:Math.abs(l.max-l.min)*a.left/c,right:Math.abs(l.max-l.min)*a.right/c},h={min:i>=0&&i-f.left<=0?0:i.valueOf()-f.left,max:o>=0&&o+f.right<=0?0:o.valueOf()+f.right};return i instanceof Date||o instanceof Date?[new Date(h.min),new Date(h.max)]:[h.min,h.max]},orientDomain:function(t,e,n){var r="x"===n?"y":"x",a=function(t){return"x"===t?"bottom":"left"},i="left"===e.x||"right"===e.x,o=i?e[r]===a(n):e[r]===a(r);return i?o?t.concat().reverse():t:o?t:t.concat().reverse()}}},function(t,e,n){function r(t){return t&&t.length?a(t):[]}var a=n(422);t.exports=r},function(t,e,n){function r(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n],c=e?e(u):u;if(!n||!a(c,s)){var s=c;o[i++]=0===u?0:u}}return o}var a=n(25);t.exports=r},function(t,e,n){"use strict";var r=n(6),a=n.n(r),i=n(0),o=n.n(i),u=n(95),c=n(3);e.a={getParentSVG:function(t){return"svg"===t.nodeName?t:this.getParentSVG(t.parentNode)},getTransformationMatrix:function(t){return t.getScreenCTM().inverse()},getSVGEventCoordinates:function(t){if("undefined"==typeof document)return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};t=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;var e=this.getParentSVG(t.target),n=this.getTransformationMatrix(e);return{x:this.transformTarget(t.clientX,n,"x"),y:this.transformTarget(t.clientY,n,"y")}},transformTarget:function(t,e,n){var r=e.a,a=e.d,i=e.e,o=e.f;return"y"===n?a*t+o:r*t+i},getDomainCoordinates:function(t,e){var n=t.scale;return e=e||{x:n.x.domain(),y:n.y.domain()},{x:[n.x(e.x[0]),n.x(e.x[1])],y:[n.y(e.y[0]),n.y(e.y[1])]}},getDataCoordinates:function(t,e,n,r){if(t.polar){var a=t.origin||{x:0,y:0},i=n-a.x,o=r-a.y,u=Math.abs(i*Math.sqrt(1+Math.pow(-o/i,2))),c=(-Math.atan2(o,i)+2*Math.PI)%(2*Math.PI);return{x:e.x.invert(c),y:e.y.invert(u)}}return{x:e.x.invert(n),y:e.y.invert(r)}},getBounds:function(t){var e=t.x1,n=t.x2,r=t.y1,a=t.y2,i=t.scale,o=this.getDataCoordinates(t,i,e,r),u=this.getDataCoordinates(t,i,n,a),s=function(t,e){return[c.a.getMinValue([t,e]),c.a.getMaxValue([t,e])]};return{x:s(o.x,u.x),y:s(o.y,u.y)}},getDatasets:function(t){if(t.data)return[{data:t.data}];for(var e=o.a.Children.toArray(t.children).reverse(),n=e.length,r=[],i=0,c=0;n>0;){var s=e[--n],l=s.props.name||c;if(c++,s.type&&"axis"===s.type.role)c++;else if(s.type&&a()(s.type.getData))r[i++]={childName:l,data:s.type.getData(s.props)};else if(s.props&&s.props.children)for(var f=o.a.Children.toArray(s.props.children),h=f.length,p=0;p<h;p++)e[n++]=f[p];else r[i++]={childName:l,data:function(t){var e=u.a.getData(t);return Array.isArray(e)&&e.length>0?e:void 0}(s.props)}}return r},filterDatasets:function(t,e){var n=this,r=t.reduce(function(t,r){var a=n.getSelectedData(r.data,e);return t=a?t.concat({childName:r.childName,eventKey:a.eventKey,data:a.data}):t},[]);return r.length?r:null},getSelectedData:function(t,e){var n=e.x,r=e.y,a=function(t){return t._x>=n[0]&&t._x<=n[1]&&t._y>=r[0]&&t._y<=r[1]},i=t.reduce(function(t,e,n){return a(e)&&(t.data.push(e),t.eventKey.push(void 0===e.eventKey?n:e.eventKey)),t},{data:[],eventKey:[]});return i.data.length>0?i:null}}}])});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],e):"object"==typeof exports?exports.VictoryCore=e(require("react"),require("prop-types")):t.VictoryCore=e(t.React,t.PropTypes)}(this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=194)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";var r=n(282),a=n.n(r),i=n(78),o=n.n(i),u=n(69),c=n.n(u),s=n(6),l=n.n(s),f=n(7),h=n.n(f),p=n(3),d=n(0),y=n.n(d);e.a={getPoint:function(t){var e=function(t){return void 0!==t},n=t._x,r=t._x1,a=t._x0,i=t._voronoiX,o=t._y,u=t._y1,c=t._y0,s=t._voronoiY,l=e(r)?r:n,f=e(u)?u:o;return{x:e(i)?i:l,x0:e(a)?a:n,y:e(s)?s:f,y0:e(c)?c:o}},scalePoint:function(t,e){var n=t.scale,r=t.polar,a=this.getPoint(e),i=t.origin||{x:0,y:0},o=n.x(a.x),u=n.x(a.x0),c=n.y(a.y),s=n.y(a.y0);return{x:r?c*Math.cos(o)+i.x:o,x0:r?s*Math.cos(u)+i.x:u,y:r?-c*Math.sin(o)+i.y:c,y0:r?-s*Math.sin(u)+i.x:s}},getPadding:function(t){var e="number"==typeof t.padding?t.padding:0,n="object"==typeof t.padding?t.padding:{};return{top:n.top||e,bottom:n.bottom||e,left:n.left||e,right:n.right||e}},getStyles:function(t,e){if(!t)return h()({parent:{height:"100%",width:"100%"}},e);var n=t.data,r=t.labels,a=t.parent,i=e&&e.parent||{},o=e&&e.labels||{},u=e&&e.data||{};return{parent:h()({},a,i,{width:"100%",height:"100%"}),labels:h()({},r,o),data:h()({},n,u)}},evaluateProp:function(t,e,n){return l()(t)?t(e,n):t},evaluateStyle:function(t,e,n){var r=this;return t&&Object.keys(t).some(function(e){return l()(t[e])})?Object.keys(t).reduce(function(a,i){return a[i]=r.evaluateProp(t[i],e,n),a},{}):t},degreesToRadians:function(t){return t*(Math.PI/180)},radiansToDegrees:function(t){return t/(Math.PI/180)},getRadius:function(t){var e=this.getPadding(t),n=e.left,r=e.right,a=e.top,i=e.bottom,o=t.width,u=t.height;return Math.min(o-n-r,u-a-i)/2},getPolarOrigin:function(t){var e=t.width,n=t.height,r=this.getPadding(t),a=r.top,i=r.bottom,o=r.left,u=r.right,c=Math.min(e-o-u,n-a-i)/2,s=e/2+o-u,l=n/2+a-i;return{x:s+c>e?c+o-u:s,y:l+c>n?c+a-i:l}},getRange:function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?this.getPolarRange(t,e):this.getCartesianRange(t,e)},getCartesianRange:function(t,e){var n="x"!==e,r=this.getPadding(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]},getPolarRange:function(t,e){if("x"===e){return[this.degreesToRadians(t.startAngle||0),this.degreesToRadians(t.endAngle||360)]}return[t.innerRadius||0,this.getRadius(t)]},createAccessor:function(t){return l()(t)?t:null===t||void 0===t?function(t){return t}:c()(t)},modifyProps:function(t,e,n){var r=t.theme&&t.theme[n]?t.theme[n]:{},a=o()(r,["style"]);return h()({},t,a,e)},getCurrentAxis:function(t,e){var n="x"===t?"y":"x";return e?n:t},isVertical:function(t){return{top:!1,bottom:!1,left:!0,right:!0}[t.orientation||(t.dependentAxis?"left":"bottom")]},stringTicks:function(t){return void 0!==t.tickValues&&p.a.containsStrings(t.tickValues)},reduceChildren:function(t,e){var n=0,r=function(t,i){return a()(t,function(t,a){var o=a.props.name||n;if(n++,a.props&&a.props.children){var u=y.a.Children.toArray(a.props.children),c=r(u,a);t=t.concat(c)}else{var s=e(a,o,i);t=s?t.concat(s):t}return t},[])};return r(t)}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(27),i=n.n(a),o=n(83),u=n.n(o),c=n(26),s=n.n(c),l=n(137),f=n.n(l);e.a={isNonEmptyArray:function(t){return Array.isArray(t)&&t.length>0},containsStrings:function(t){return Array.isArray(t)&&t.some(function(t){return"string"==typeof t})},containsDates:function(t){return Array.isArray(t)&&t.some(function(t){return t instanceof Date})},containsNumbers:function(t){return Array.isArray(t)&&t.some(function(t){return"number"==typeof t})},containsOnlyStrings:function(t){return this.isNonEmptyArray(t)&&t.every(function(t){return"string"==typeof t})},isArrayOfArrays:function(t){return this.isNonEmptyArray(t)&&t.every(Array.isArray)},removeUndefined:function(t){return t.filter(function(t){return void 0!==t})},getMaxValue:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var i=t.concat(n);return this.containsDates(i)?new Date(Math.max.apply(Math,r(i))):Math.max.apply(Math,r(i))},getMinValue:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var i=t.concat(n);return this.containsDates(i)?new Date(Math.min.apply(Math,r(i))):Math.min.apply(Math,r(i))},splitArray:function(t,e){var n=0;return t.reduce(function(r,a,i){return e(a)?(r=r.concat([t.slice(n,i)]),n=i+1):i===t.length-1&&(r=r.concat([t.slice(n,t.length)])),r},[]).filter(function(t){return Array.isArray(t)&&t.length>0})},allSetsEqual:function(t){return t.every(function(t){return f()(t[0],t[1])})},areVictoryPropsEqual:function(t,e){return this.checkEquality(t,e)},checkEquality:function(t,e){var n=this,r=function(t,e){return t===e||typeof t==typeof e&&("function"==typeof t||("object"!=typeof t||s()(t).length===s()(e).length)&&("object"!=typeof t||0===s()(t).length?f()(t,e):void 0))},a=r(t,e);return"boolean"==typeof a?a:s()(t).reduce(function(a,o){if(!a)return!1;var c=t[o],s=e[o],l=r(c,s);return"boolean"==typeof l?l:i()(c)?!!i()(s)&&(u()(c)&&u()(s)||n.checkEquality(c,s)):Array.isArray(c)?!!Array.isArray(s)&&(u()(c)&&u()(s)||n.checkEquality(c,s)):f()(c,s)},!0)}}},function(t,e,n){var r=n(76),a=n(30),i=n(46),o=n(48),u=n(79),c=n(26),s=Object.prototype,l=s.hasOwnProperty,f=i(function(t,e){if(u(e)||o(e))return void a(e,c(e),t);for(var n in e)l.call(e,n)&&r(t,n,e[n])});t.exports=f},function(t,e,n){"use strict";function r(t,e,n,o){function u(e){return t(e=new Date(+e)),e}return u.floor=u,u.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},u.round=function(t){var e=u(t),n=u.ceil(t);return t-e<n-t?e:n},u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},u.range=function(n,r,a){var i=[];if(n=u.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return i;do{i.push(new Date(+n))}while(e(n,a),t(n),n<r);return i},u.filter=function(n){return r(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(u.count=function(e,r){return a.setTime(+e),i.setTime(+r),t(a),t(i),Math.floor(n(a,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(o?function(e){return o(e)%t==0}:function(e){return u.count(0,e)%t==0}):u:null}),u}e.a=r;var a=new Date,i=new Date},function(t,e,n){function r(t){if(!i(t))return!1;var e=a(t);return e==u||e==c||e==o||e==s}var a=n(116),i=n(10),o="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,e,n){var r=n(44),a=n(255),i=n(21),o=n(258),u=i(function(t){return t.push(void 0,o),r(a,void 0,t)});t.exports=u},function(t,e,n){"use strict";var r=n(1),a=n.n(r),i=n(15);e.a={active:a.a.bool,className:a.a.string,data:a.a.array,events:a.a.object,index:a.a.oneOfType([a.a.number,a.a.string]),origin:a.a.shape({x:a.a.number,y:a.a.number}),polar:a.a.bool,role:a.a.string,scale:a.a.oneOfType([i.a.scale,a.a.shape({x:i.a.scale,y:i.a.scale})]),shapeRendering:a.a.string,style:a.a.object}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";var r=n(170);n.d(e,"b",function(){return r.a});var a=n(23);n.d(e,"a",function(){return a.a});var i=n(171);n.d(e,"c",function(){return i.a});var o=(n(357),n(358),n(173),n(175),n(359),n(362),n(363),n(179),n(364),n(365),n(366),n(367),n(180),n(172),n(368),n(97));n.d(e,"d",function(){return o.a});var u=n(177);n.d(e,"e",function(){return u.a});var c=(n(369),n(370),n(371),n(178));n.d(e,"h",function(){return c.a}),n.d(e,"f",function(){return c.b}),n.d(e,"g",function(){return c.c});n(181),n(174),n(372)},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return u});var r=1e3,a=6e4,i=36e5,o=864e5,u=6048e5},function(t,e,n){"use strict";var r=n(72);n.d(e,"a",function(){return r.e}),n.d(e,"f",function(){return r.g}),n.d(e,"d",function(){return r.f});var a=n(239);n.d(e,"e",function(){return a.a}),n.d(e,"c",function(){return a.b});var i=n(240);n.d(e,"b",function(){return i.a})},function(t,e,n){var r=n(209),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();t.exports=i},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(276),i=n.n(a),o=n(6),u=n.n(o),c=n(49),s=n(1),l=n.n(s),f=function(t){var e=function(e,n,r,a){var i=n[r];if(void 0===i||null===i)return e?new Error("Required `"+r+"` was not specified in `"+a+"`."):null;for(var o=arguments.length,u=Array(o>4?o-4:0),c=4;c<o;c++)u[c-4]=arguments[c];return t.apply(void 0,[n,r,a].concat(u))},n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n},h=function(){return null},p=function(){},d=function(t){return void 0===t?p:null===t?h:t.constructor},y=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)};e.a={deprecated:function(t,e){return function(n,a,i){var o=n[a];return null!==o&&void 0!==o&&c.a.warn('"'+a+'" property of "'+i+'" has been deprecated '+e),l.a.checkPropTypes(r({},a,t),n,a,i)}},allOfType:function(t){return f(function(e,n,r){for(var a=arguments.length,i=Array(a>3?a-3:0),o=3;o<a;o++)i[o-3]=arguments[o];return t.reduce(function(t,a){return t||a.apply(void 0,[e,n,r].concat(i))},void 0)})},nonNegative:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r<0)return new Error("`"+e+"` in `"+n+"` must be a non-negative number.")}),integer:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r%1!=0)return new Error("`"+e+"` in `"+n+"` must be an integer.")}),greaterThanZero:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r<=0)return new Error("`"+e+"` in `"+n+"` must be a number greater than zero.")}),domain:f(function(t,e,n){var r=t[e];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`"+e+"` in `"+n+"` must be an array of two unique numeric values.")}),scale:f(function(t,e,n){var r=["linear","time","log","sqrt"],a=t[e];if(!function(t){return u()(t)?u()(t.copy)&&u()(t.domain)&&u()(t.range):"string"==typeof t&&-1!==r.indexOf(t)}(a))return new Error("`"+e+"` in `"+n+"` must be a d3 scale.")}),homogeneousArray:f(function(t,e,n){var r=t[e];if(!Array.isArray(r))return new Error("`"+e+"` in `"+n+"` must be an array.");if(!(r.length<2)){var a=d(r[0]),o=i()(r,function(t){return a!==d(t)});if(o){var u=y(r[0]),c=y(o);return new Error("Expected `"+e+"` in `"+n+"` to be a homogeneous array, but found types `"+u+"` and `"+c+"`.")}}}),matchDataLength:f(function(t,e){if(t[e]&&Array.isArray(t[e])&&t[e].length!==t.data.length)return new Error("Length of data and "+e+" arrays must match.")})}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i});var r=Array.prototype,a=r.map,i=r.slice},function(t,e,n){function r(t,e){return a(t)?t:i(t,e)?[t]:o(u(t))}var a=n(9),i=n(67),o=n(228),u=n(110);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){if("string"==typeof t||a(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var a=n(19),i=1/0;t.exports=r},function(t,e,n){function r(t,e){return o(i(t,e,a),t+"")}var a=n(43),i=n(114),o=n(115);t.exports=r},function(t,e,n){"use strict";var r=n(71);n.d(e,"a",function(){return r.a});var a=(n(122),n(74),n(120),n(123),n(45));n.d(e,"c",function(){return a.a});var i=(n(124),n(241));n.d(e,"d",function(){return i.a});var o=(n(125),n(242),n(245),n(119),n(246),n(247),n(248),n(249));n.d(e,"b",function(){return o.a});n(250)},function(t,e,n){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?u(t)?i(t[0],t[1]):a(t):c(t)}var a=n(212),i=n(226),o=n(43),u=n(9),c=n(69);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){var r=n(41),a=r(Object.keys,Object);t.exports=a},function(t,e,n){function r(t){if(!o(t)||a(t)!=u)return!1;var e=i(t);if(null===e)return!0;var n=f.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}var a=n(116),i=n(117),o=n(66),u="[object Object]",c=Function.prototype,s=Object.prototype,l=c.toString,f=s.hasOwnProperty,h=l.call(Object);t.exports=r},function(t,e,n){"use strict";function r(t,e){return function(n){return t+n*e}}function a(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function i(t,e){var n=e-t;return n?r(t,n>180||n<-180?n-360*Math.round(n/360):n):Object(c.a)(isNaN(t)?e:t)}function o(t){return 1==(t=+t)?u:function(e,n){return n-e?a(e,n,t):Object(c.a)(isNaN(e)?n:e)}}function u(t,e){var n=e-t;return n?r(t,n):Object(c.a)(isNaN(t)?e:t)}e.c=i,e.b=o,e.a=u;var c=n(121)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(251),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function t(){r(this,t),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=Object(a.b)(this.loop)}return i(t,[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach(function(t){t.callback(Object(a.a)()-t.startTime,t.duration)})}},{key:"start",value:function(){this.timer.start()}},{key:"stop",value:function(){this.timer.stop()}},{key:"subscribe",value:function(t,e){return e=this.shouldAnimate?e:0,this.subscribers.push({startTime:Object(a.a)(),callback:t,duration:e})}},{key:"unsubscribe",value:function(t){null!==t&&delete this.subscribers[t-1]}}]),t}();e.a=o},function(t,e,n){function r(t,e,n,r){var o=!n;n||(n={});for(var u=-1,c=e.length;++u<c;){var s=e[u],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),o?i(n,s,l):a(n,s,l)}return n}var a=n(76),i=n(77);t.exports=r},function(t,e,n){"use strict";var r=n(320);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t){return t>1?0:t<-1?p:Math.acos(t)}function a(t){return t>=1?d:t<=-1?-d:Math.asin(t)}n.d(e,"a",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"h",function(){return c}),n.d(e,"i",function(){return s}),n.d(e,"k",function(){return l}),n.d(e,"l",function(){return f}),n.d(e,"f",function(){return h}),n.d(e,"j",function(){return p}),n.d(e,"g",function(){return d}),n.d(e,"m",function(){return y}),e.b=r,e.c=a;var i=Math.abs,o=Math.atan2,u=Math.cos,c=Math.max,s=Math.min,l=Math.sin,f=Math.sqrt,h=1e-12,p=Math.PI,d=p/2,y=2*p},function(t,e,n){"use strict";e.a=function(t,e){if((a=t.length)>1)for(var n,r,a,i=1,o=t[e[0]],u=o.length;i<a;++i)for(r=o,o=t[e[i]],n=0;n<u;++n)o[n][1]+=o[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}},function(t,e,n){"use strict";e.a=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}},function(t,e,n){"use strict";e.a=function(t){return null===t?NaN:+t}},function(t,e,n){"use strict";function r(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(i.h)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return Object(c.a)(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,a=e(),o=0,u=a.length-1,c=a[o],s=a[u];return s<c&&(r=c,c=s,s=r,r=o,o=u,u=r),r=Object(i.f)(c,s,n),r>0?(c=Math.floor(c/r)*r,s=Math.ceil(s/r)*r,r=Object(i.f)(c,s,n)):r<0&&(c=Math.ceil(c*r)/r,s=Math.floor(s*r)/r,r=Object(i.f)(c,s,n)),r>0?(a[o]=Math.floor(c/r)*r,a[u]=Math.ceil(s/r)*r,e(a)):r<0&&(a[o]=Math.ceil(c*r)/r,a[u]=Math.floor(s*r)/r,e(a)),t},t}function a(){var t=Object(u.b)(u.c,o.c);return t.copy=function(){return Object(u.a)(t,a())},r(t)}e.b=r,e.a=a;var i=n(11),o=n(22),u=n(57),c=n(380)},function(t,e,n){"use strict";e.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,a=Array(r);++n<r;)a[n]=e(t[n],n,t);return a}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(a(t[n][0],e))return n;return-1}var a=n(25);t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t,e){e=a(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}var a=n(18),i=n(20);t.exports=r},function(t,e){function n(t){return t}t.exports=n},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},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e-=t,function(n){return t+e*n}}},function(t,e,n){function r(t){return a(function(e,n){var r=-1,a=n.length,o=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,u&&i(n[0],n[1],u)&&(o=a<3?void 0:o,a=1),e=Object(e);++r<a;){var c=n[r];c&&t(e,c,r,o)}return e})}var a=n(21),i=n(70);t.exports=r},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},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!a(t)}var a=n(6),i=n(112);t.exports=r},function(t,e,n){"use strict";e.a={warn:function(t){}}},function(t,e,n){function r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=a(t.prototype),r=t.apply(n,e);return i(r)?r:n}}var a=n(133),i=n(10);t.exports=r},function(t,e){function n(t){return t.placeholder}t.exports=n},function(t,e){function n(t,e){for(var n=-1,a=t.length,i=0,o=[];++n<a;){var u=t[n];u!==e&&u!==r||(t[n]=r,o[i++]=n)}return o}var r="__lodash_placeholder__";t.exports=n},function(t,e,n){"use strict";function r(t){this._context=t}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";e.a=function(){}},function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function a(t){this._context=t}e.c=r,e.a=a,a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.b=function(t){return new a(t)}},function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function a(t,e){this._context=t,this._k=(1-e)/6}e.c=r,e.a=a,a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:r(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new a(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){"use strict";function r(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Object(p.a)(e)}function a(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}function i(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}function o(t,e,n,r){var a=t[0],i=t[1],o=e[0],u=e[1];return i<a?(a=n(i,a),o=r(u,o)):(a=n(a,i),o=r(o,u)),function(t){return o(a(t))}}function u(t,e,n,r){var a=Math.min(t.length,e.length)-1,i=new Array(a),o=new Array(a),u=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++u<a;)i[u]=n(t[u],t[u+1]),o[u]=r(e[u],e[u+1]);return function(e){var n=Object(l.b)(t,e,1,a)-1;return o[n](i[n](e))}}function c(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function s(t,e){function n(){return s=Math.min(v.length,b.length)>2?u:o,l=p=null,c}function c(e){return(l||(l=s(v,b,m?a(t):t,g)))(+e)}var s,l,p,v=y,b=y,g=f.a,m=!1;return c.invert=function(t){return(p||(p=s(b,v,r,m?i(e):e)))(+t)},c.domain=function(t){return arguments.length?(v=h.a.call(t,d.a),n()):v.slice()},c.range=function(t){return arguments.length?(b=h.b.call(t),n()):b.slice()},c.rangeRound=function(t){return b=h.b.call(t),g=f.d,n()},c.clamp=function(t){return arguments.length?(m=!!t,n()):m},c.interpolate=function(t){return arguments.length?(g=t,n()):g},n()}e.c=r,e.a=c,e.b=s;var l=n(11),f=n(22),h=n(17),p=n(99),d=n(183),y=[0,1]},function(t,e,n){"use strict";var r=n(100);e.a=function(t){return t=Object(r.a)(Math.abs(t)),t?t[1]:NaN}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var a=n(214),i=n(215),o=n(216),u=n(217),c=n(218);r.prototype.clear=a,r.prototype.delete=i,r.prototype.get=o,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e,n,o,u){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:a(t,e,n,o,r,u))}var a=n(219),i=n(66);t.exports=r},function(t,e,n){function r(){if(!arguments.length)return[];var t=arguments[0];return a(t)?t:[t]}var a=n(9);t.exports=r},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&a(t,e,0)>-1}var a=n(63);t.exports=r},function(t,e){function n(t,e,n){for(var r=n-1,a=t.length;++r<a;)if(t[r]===e)return r;return-1}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function r(t,e){if(a(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(u.test(t)||!o.test(t)||null!=e&&t in Object(e))}var a=n(9),i=n(19),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=r},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||a.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){function r(t){return o(t)?a(u(t)):i(t)}var a=n(233),i=n(234),o=n(67),u=n(20);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){"use strict";var r=n(13),a=n(119),i=n(122),o=n(123),u=n(45),c=n(124),s=n(125),l=n(121);e.a=function(t,e){var n,f=typeof e;return null==e||"boolean"===f?Object(l.a)(e):("number"===f?u.a:"string"===f?(n=Object(r.a)(e))?(e=n,a.a):s.a:e instanceof r.a?a.a:e instanceof Date?o.a:Array.isArray(e)?i.a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?c.a:u.a)(t,e)}},function(t,e,n){"use strict";function r(){}function a(t){var e;return t=(t+"").trim().toLowerCase(),(e=x.exec(t))?(e=parseInt(e[1],16),new s(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=O.exec(t))?i(parseInt(e[1],16)):(e=w.exec(t))?new s(e[1],e[2],e[3],1):(e=j.exec(t))?new s(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=M.exec(t))?o(e[1],e[2],e[3],e[4]):(e=k.exec(t))?o(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=T.exec(t))?l(e[1],e[2]/100,e[3]/100,1):(e=A.exec(t))?l(e[1],e[2]/100,e[3]/100,e[4]):P.hasOwnProperty(t)?i(P[t]):"transparent"===t?new s(NaN,NaN,NaN,0):null}function i(t){return new s(t>>16&255,t>>8&255,255&t,1)}function o(t,e,n,r){return r<=0&&(t=e=n=NaN),new s(t,e,n,r)}function u(t){return t instanceof r||(t=a(t)),t?(t=t.rgb(),new s(t.r,t.g,t.b,t.opacity)):new s}function c(t,e,n,r){return 1===arguments.length?u(t):new s(t,e,n,null==r?1:r)}function s(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function l(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new p(t,e,n,r)}function f(t){if(t instanceof p)return new p(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=a(t)),!t)return new p;if(t instanceof p)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,o=Math.min(e,n,i),u=Math.max(e,n,i),c=NaN,s=u-o,l=(u+o)/2;return s?(c=e===u?(n-i)/s+6*(n<i):n===u?(i-e)/s+2:(e-n)/s+4,s/=l<.5?u+o:2-u-o,c*=60):s=l>0&&l<1?0:c,new p(c,s,l,t.opacity)}function h(t,e,n,r){return 1===arguments.length?f(t):new p(t,e,n,null==r?1:r)}function p(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function d(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}e.a=r,n.d(e,"d",function(){return v}),n.d(e,"c",function(){return b}),e.e=a,e.h=u,e.g=c,e.b=s,e.f=h;var y=n(73),v=.7,b=1/v,g="\\s*([+-]?\\d+)\\s*",m="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,O=/^#([0-9a-f]{6})$/,w=new RegExp("^rgb\\("+[g,g,g]+"\\)$"),j=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),M=new RegExp("^rgba\\("+[g,g,g,m]+"\\)$"),k=new RegExp("^rgba\\("+[_,_,_,m]+"\\)$"),T=new RegExp("^hsl\\("+[m,_,_]+"\\)$"),A=new RegExp("^hsla\\("+[m,_,_,m]+"\\)$"),P={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Object(y.a)(r,a,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(y.a)(s,c,Object(y.b)(r,{brighter:function(t){return t=null==t?b:Math.pow(b,t),new s(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?v:Math.pow(v,t),new s(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(y.a)(p,h,Object(y.b)(r,{brighter:function(t){return t=null==t?b:Math.pow(b,t),new p(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?v:Math.pow(v,t),new p(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,a=2*n-r;return new s(d(t>=240?t-240:t+120,a,r),d(t,a,r),d(t<120?t+240:t-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}e.b=r,e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},function(t,e,n){"use strict";function r(t,e,n,r,a){var i=t*t,o=i*t;return((1-3*t+3*i-o)*e+(4-6*i+3*o)*n+(1+3*t+3*i-3*o)*r+o*a)/6}e.a=r,e.b=function(t){var e=t.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[a],o=t[a+1],u=a>0?t[a-1]:2*i-o,c=a<e-1?t[a+2]:2*o-i;return r((n-a/e)*e,u,i,o,c)}}},function(t,e,n){"use strict";function r(){return m||(O(a),m=x.now()+_)}function a(){m=0}function i(){this._call=this._time=this._next=null}function o(t,e,n){var r=new i;return r.restart(t,e,n),r}function u(){r(),++d;for(var t,e=h;e;)(t=m-e._time)>=0&&e._call.call(null,t),e=e._next;--d}function c(){m=(g=x.now())+_,d=y=0;try{u()}finally{d=0,l(),m=0}}function s(){var t=x.now(),e=t-g;e>b&&(_-=e,g=t)}function l(){for(var t,e,n=h,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:h=e);p=t,f(r)}function f(t){if(!d){y&&(y=clearTimeout(y));var e=t-m;e>24?(t<1/0&&(y=setTimeout(c,e)),v&&(v=clearInterval(v))):(v||(g=m,v=setInterval(s,b)),d=1,O(c))}}e.b=r,e.a=i,e.c=o;var h,p,d=0,y=0,v=0,b=1e3,g=0,m=0,_=0,x="object"==typeof performance&&performance.now?performance:Date,O="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};i.prototype=o.prototype={constructor:i,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==e?0:+e),this._next||p===this||(p?p._next=this:h=this,p=this),this._call=t,this._time=n,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}}},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||a(t,e,n)}var a=n(77),i=n(25),o=Object.prototype,u=o.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&a?a(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var a=n(256);t.exports=r},function(t,e,n){var r=n(39),a=n(259),i=n(260),o=n(18),u=n(30),c=n(263),s=n(128),l=n(264),f=s(function(t,e){var n={};if(null==t)return n;var s=!1;e=r(e,function(e){return e=o(e,t),s||(s=e.length>1),e}),u(t,l(t),n),s&&(n=a(n,7,c));for(var f=e.length;f--;)i(n,e[f]);return n});t.exports=f},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(81),u=n.n(o),c=n(4),s=n.n(c),l=n(0),f=n.n(l),h=n(1),p=n.n(h),d=n(82),y=n(15),v=n(3),b=n(2),g=n(84),m=n(85),_=n(49),x=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(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),w={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},j=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),O(e,[{key:"componentWillMount",value:function(){this.cacheAttributes(this.calculateAttributes(this.props))}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.dx,a=e.dy,i=e.content,o=e.lineHeight,u=e.textAnchor,c=e.transform,s=this.props,l=s.angle,f=s.className,h=s.datum,p=s.x,d=s.y,y=s.active;return!v.a.allSetsEqual([[y,t.active],[l,t.angle],[f,t.className],[p,t.x],[d,t.y],[r,this.dx],[a,this.dy],[o,this.lineHeight],[u,this.textAnchor],[c,this.transform],[i,this.content],[n,this.style],[h,t.datum]])&&(this.cacheAttributes(e),!0)}},{key:"cacheAttributes",value:function(t){var e=t.style,n=t.dx,r=t.dy,a=t.content,i=t.textAnchor,o=t.transform,u=t.lineHeight;this.style=e,this.dx=n,this.dy=r,this.content=a,this.textAnchor=i,this.lineHeight=u,this.transform=o}},{key:"calculateAttributes",value:function(t){var e=this.getStyles(t),n=this.getHeight(t,"lineHeight"),r=t.textAnchor?b.a.evaluateProp(t.textAnchor,t.datum):"start",a=this.getContent(t);return{style:e,dx:t.dx?b.a.evaluateProp(this.props.dx,t.datum):0,dy:this.getDy(t,e,a,n),content:a,lineHeight:n,textAnchor:r,transform:this.getTransform(t,e)}}},{key:"getStyle",value:function(t,e){e=e?u()({},w,e):w;var n=t.datum||t.data,r=b.a.evaluateStyle(e,n,t.active);return s()({},r,{fontSize:this.getFontSize(r)})}},{key:"getStyles",value:function(t){var e=this;return Array.isArray(t.style)?t.style.map(function(n){return e.getStyle(t,n)}):[this.getStyle(t,t.style)]}},{key:"getHeight",value:function(t,e){var n=t.datum||t.data;return b.a.evaluateProp(t[e],n,t.active)}},{key:"getContent",value:function(t){if(void 0===t.text||null===t.text)return[" "];var e=t.datum||t.data;return Array.isArray(t.text)?t.text.map(function(n){return b.a.evaluateProp(n,e,t.active)}):(""+b.a.evaluateProp(t.text,e,t.active)).split("\n")}},{key:"getDy",value:function(t,e,n,r){var a=e[0].fontSize,i=t.datum||t.data,o=t.dy?b.a.evaluateProp(t.dy,i):0,u=n.length,c=this.getHeight(t,"capHeight"),s=e.verticalAnchor||t.verticalAnchor;switch(s?b.a.evaluateProp(s,i):"middle"){case"end":return o+(c/2+(.5-u)*r)*a;case"middle":return o+(c/2+(.5-u/2)*r)*a;default:return o+(c/2+r/2)*a}}},{key:"getTransform",value:function(t,e){var n=t.datum,r=t.x,a=t.y,i=t.polar,o=i?g.a.getPolarAngle(t):0,u=e.angle||t.angle||o,c=t.transform||e.transform,s=c&&b.a.evaluateProp(c,n),l=u&&{rotate:[u,r,a]};return s||u?m.a.toTransformString(s,l):void 0}},{key:"getFontSize",value:function(t){var e=t&&t.fontSize;if("number"==typeof e)return e;if(void 0===e||null===e)return w.fontSize;if("string"==typeof e){var n=+e.replace("px","");return isNaN(n)?(_.a.warn("fontSize should be expressed as a number of pixels"),w.fontSize):n}return w.fontSize}},{key:"renderElements",value:function(t){var e=this,n={dx:this.dx,dy:this.dy,x:t.x,y:t.y,transform:this.transform,className:t.className};return f.a.createElement("text",x({},n,t.events),this.props.title&&f.a.createElement("title",null,this.props.title),this.props.desc&&f.a.createElement("desc",null,this.props.desc),this.content.map(function(n,r){var a=e.style[r]||e.style[0],i=e.style[r-1]||e.style[0],o=(a.fontSize+i.fontSize)/2,u=a.textAnchor||e.textAnchor,c=r?e.lineHeight*o:void 0;return f.a.createElement("tspan",{key:r,x:t.x,dy:c,dx:e.dx,style:a,textAnchor:u},n)}))}},{key:"render",value:function(){var t=this.renderElements(this.props);return this.props.renderInPortal?f.a.createElement(d.a,null,t):t}}]),e}(f.a.Component);j.displayName="VictoryLabel",j.role="label",j.propTypes={active:p.a.bool,angle:p.a.oneOfType([p.a.string,p.a.number]),capHeight:p.a.oneOfType([p.a.string,y.a.nonNegative,p.a.func]),className:p.a.string,data:p.a.array,datum:p.a.any,desc:p.a.string,dx:p.a.oneOfType([p.a.number,p.a.string,p.a.func]),dy:p.a.oneOfType([p.a.number,p.a.string,p.a.func]),events:p.a.object,index:p.a.oneOfType([p.a.number,p.a.string]),labelPlacement:p.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:p.a.oneOfType([p.a.string,y.a.nonNegative,p.a.func]),origin:p.a.shape({x:p.a.number,y:p.a.number}),polar:p.a.bool,renderInPortal:p.a.bool,style:p.a.oneOfType([p.a.object,p.a.array]),text:p.a.oneOfType([p.a.string,p.a.number,p.a.func,p.a.array]),textAnchor:p.a.oneOfType([p.a.oneOf(["start","middle","end","inherit"]),p.a.func]),title:p.a.string,transform:p.a.oneOfType([p.a.string,p.a.object,p.a.func]),verticalAnchor:p.a.oneOfType([p.a.oneOf(["start","middle","end"]),p.a.func]),x:p.a.oneOfType([p.a.number,p.a.string]),y:p.a.oneOfType([p.a.number,p.a.string])},j.defaultProps={capHeight:.71,lineHeight:1},e.a=j},function(t,e,n){var r=n(265),a=n(46),i=a(function(t,e,n){r(t,e,n)});t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(78),u=n.n(o),c=n(7),s=n.n(c),l=n(0),f=n.n(l),h=n(1),p=n.n(h),d=n(49),y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),y(e,[{key:"componentDidMount",value:function(){if(!this.checkedContext){if("function"!=typeof this.context.portalUpdate){d.a.warn("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"),this.renderInPlace=!0}this.checkedContext=!0}this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,e=t&&t.props||{},n=t&&f.a.cloneElement(t,s()({},e,u()(this.props,"children")));return this.renderPortal(n)}}]),e}(f.a.Component);v.displayName="VictoryPortal",v.role="portal",v.propTypes={children:p.a.node},v.contextTypes={portalDeregister:p.a.func,portalRegister:p.a.func,portalUpdate:p.a.func},e.a=v},function(t,e,n){function r(t){if(null==t)return!0;if(c(t)&&(u(t)||"string"==typeof t||"function"==typeof t.splice||s(t)||f(t)||o(t)))return!t.length;var e=i(t);if(e==h||e==p)return!t.size;if(l(t))return!a(t).length;for(var n in t)if(y.call(t,n))return!1;return!0}var a=n(281),i=n(107),o=n(38),u=n(9),c=n(48),s=n(64),l=n(79),f=n(65),h="[object Map]",p="[object Set]",d=Object.prototype,y=d.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";var r=n(2);e.a={getText:function(t,e,n){return void 0!==e.label?e.label:Array.isArray(t.labels)?t.labels[n]:t.labels},getVerticalAnchor:function(t,e){var n=e._y>=0?1:-1,r=t.style&&t.style.labels||{};return e.getVerticalAnchor||r.verticalAnchor?e.getVerticalAnchor||r.verticalAnchor:t.horizontal?"middle":n>=0?"end":"start"},getTextAnchor:function(t,e){var n=t.style,r=t.horizontal,a=e._y>=0?1:-1,i=n&&n.labels||{};return e.getVerticalAnchor||i.verticalAnchor?e.getVerticalAnchor||i.verticalAnchor:r?a>=0?"start":"end":"middle"},getAngle:function(t,e){var n=t.style&&t.style.labels||{};return e.angle||n.angle},getPadding:function(t,e){var n=t.horizontal,a=t.style,i=t.active,o=a.labels||{},u=r.a.evaluateProp(o.padding,e,i)||0,c=e._y<0?-1:1;return{x:n?c*u:0,y:n?0:c*u}},getPosition:function(t,e){var n=t.horizontal,a=t.polar,i=r.a.scalePoint(t,e),o=i.x,u=i.y,c=this.getPadding(t,e);if(a){var s=this.getPolarPadding(t,e);return{x:o+s.x,y:u+s.y}}return{x:n?u+c.x:o+c.x,y:n?o+c.y:u-c.y}},getPolarPadding:function(t,e){var n=t.active,a=t.style,i=this.getDegrees(t,e),o=a.labels||{},u=r.a.evaluateProp(o.padding,e,n)||0,c=r.a.degreesToRadians(i);return{x:u*Math.cos(c),y:-u*Math.sin(c)}},getLabelPlacement:function(t){var e=t.labelComponent,n=t.labelPlacement,r=t.polar,a=r?"perpendicular":"vertical";return n||(e.props&&e.props.labelPlacement||a)},getPolarOrientation:function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"},getPolarTextAnchor:function(t,e){var n=this.getLabelPlacement(t);return"perpendicular"===n||"vertical"===n&&(90===e||270===e)?"middle":e<=90||e>270?"start":"end"},getPolarVerticalAnchor:function(t,e){var n=this.getLabelPlacement(t),r=this.getPolarOrientation(e);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"},getPolarAngle:function(t,e){var n=t.labelPlacement,r=t.datum;if(!n||"vertical"===n)return 0;var a=void 0!==e?e:this.getDegrees(t,r),i=a>90&&a<180||a>270?1:-1,o=void 0;return 0===a||180===a?o=90:a>0&&a<180?o=90-a:a>180&&a<360&&(o=270-a),o+i*("perpendicular"===n?0:90)},getDegrees:function(t,e){var n=r.a.getPoint(e),a=n.x;return r.a.radiansToDegrees(t.scale.x(a))},getProps:function(t,e){var n=t.scale,r=t.data,a=t.style,i=t.horizontal,o=t.polar,u=r[e],c=this.getDegrees(t,u),s=o?this.getPolarTextAnchor(t,c):this.getTextAnchor(t,u),l=o?this.getPolarVerticalAnchor(t,c):this.getVerticalAnchor(t,u),f=this.getAngle(t,u),h=this.getText(t,u,e),p=this.getLabelPlacement(t),d=this.getPosition(t,u);return{angle:f,data:r,datum:u,horizontal:i,index:e,polar:o,scale:n,labelPlacement:p,text:h,textAnchor:s,verticalAnchor:l,x:d.x,y:d.y,style:a.labels}}}},function(t,e,n){"use strict";var r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(n.length>0)return n.reduce(function(t,e){return[t,r(e)].join(" ")},r(t));if(!t||"string"==typeof t)return t;var i=[];for(var o in t)if(t.hasOwnProperty(o)){var u=t[o];i.push(o+"("+u+")")}return i.join(" ")};e.a={toTransformString:r,getColorScale:function(t){var e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}}},function(t,e,n){var r=n(21),a=n(141),i=n(51),o=n(52),u=r(function(t,e){var n=o(e,i(u));return a(t,64,void 0,e,n)});u.placeholder={},t.exports=u},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var i=n(146),o=n.n(i),u=n(6),c=n.n(u),s=n(83),l=n.n(s),f=n(300),h=n.n(f),p=n(81),d=n.n(p),y=n(301),v=n.n(y),b=n(4),g=n.n(b);e.a={getEvents:function(t,e,n,r){var i=this,o=function(t){var r=function(){var r=t.reduce(function(t,n){return void 0!==n.target?""+n.target==""+e?t.concat(n):t:t.concat(n)},[]);return void 0!==n&&"parent"!==e?r.filter(function(t){var e=t.eventKey,r=function(t){return!t||""+t==""+n};return Array.isArray(e)?e.some(function(t){return r(t)}):r(e)}):r}();return Array.isArray(r)&&r.reduce(function(t,e){return e?g()(t,e.eventHandlers):t},{})},u=function(){if(Array.isArray(i.componentEvents)){var e;return Array.isArray(t.events)?(e=i.componentEvents).concat.apply(e,a(t.events)):i.componentEvents}return t.events}(),s=u&&c()(r)?r(o(u),e):void 0;if(!t.sharedEvents)return s;var l=t.sharedEvents.getEvents,f=t.sharedEvents.events&&l(o(t.sharedEvents.events),e);return g()({},f,s)},getScopedEvents:function(t,e,n,a){var i=this;if(l()(t))return{};a=a||this.baseProps;var u=function(t,e){var n=t.childName,r=t.target,o=t.key,u="props"===e?a:i.state,c=void 0!==n&&null!==n&&u[n]?u[n]:u;return"parent"===o?c.parent:c[o]&&c[o][r]},s=function(t,c){var s="parent"===e?t.childName:t.childName||n,l=t.target||e,f=function(e){return"all"===t.eventKey?a[e]?o()(Object.keys(a[e]),"parent"):o()(Object.keys(a),"parent"):void 0===t.eventKey&&"parent"===c?a[e]?Object.keys(a[e]):Object.keys(a):void 0!==t.eventKey?t.eventKey:c},h=function(e,n){var o=function(){return null},c=u({childName:n,key:e,target:l},"props"),s=u({childName:n,key:e,target:l},"state"),f=t.mutation||o,h=f(g()({},c,s),a),p=i.state[n]||{},d=function(t){return"parent"===l?v()(t[e],h):v()(t[e],r({},l,h))};return void 0!==n&&null!==n?v()(i.state,r({},n,v()(p,r({},e,d(p))))):v()(i.state,r({},e,d(i.state)))},p=function(t){var e=f(t);return Array.isArray(e)?e.reduce(function(e,n){return g()(e,h(n,t))},{}):h(e,t)},d="all"===s?o()(Object.keys(a),"parent"):s;return Array.isArray(d)?d.reduce(function(t,e){return g()(t,p(e))},{}):p(d)},f=function(t,e){return Array.isArray(t)?t.reduce(function(t,n){return t=d()({},t,s(n,e))},{}):s(t,e)},h=function(t){var e=function(t){return c()(t.callback)&&t.callback},n=Array.isArray(t)?t.map(function(t){return e(t)}):[e(t)],r=n.filter(function(t){return!1!==t});return r.length?function(){return r.forEach(function(t){return t()})}:void 0},p=function(e,n,r,a){var o=t[a](e,n,r,i);if(o){var u=h(o);i.setState(f(o,r),u)}};return Object.keys(t).reduce(function(t,e){return t[e]=p,t},{})},getPartialEvents:function(t,e,n){return t?Object.keys(t).reduce(function(r,a){return r[a]=h()(t[a],h.a.placeholder,n,e,a),r},{}):{}},getEventState:function(t,e,n){return n?this.state[n]&&this.state[n][t]&&this.state[n][t][e]:"parent"===t?this.state[t]&&this.state[t][e]||this.state[t]:this.state[t]&&this.state[t][e]},getComponentEvents:function(t,e){var n=Array.isArray(e)&&e.reduce(function(e,n){var r,i=t[n],o=i&&i.type&&i.type.defaultEvents,u=c()(o)?o(i.props):o;return e=Array.isArray(u)?(r=e).concat.apply(r,a(u)):e},[]);return n&&n.length?n:void 0}}},function(t,e,n){"use strict";var r=n(304),a=n(305);e.a={material:r.a,grayscale:a.a}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(7),i=n.n(a),o=n(81),u=n.n(o),c={"American Typewriter":2.09,Baskerville:2.51,Georgia:2.27,"Hoefler Text":2.39,Palatino:2.26,"Times New Roman":2.48,Arial:2.26,"Gill Sans":2.47,"Gill Sans 300":2.58,"Helvetica Neue":2.24,"Lucida Grande":2.05,Tahoma:2.25,"Trebuchet MS":2.2,Verdana:1.96,"Courier New":1.67,cursive:1.84,fantasy:2.09,monospace:1.81,serif:2.04,"sans-serif":1.89},s={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},l={em:1,ex:.5},f={averageFontConstant:2.1675,widthOverlapCoef:1.25,heightOverlapCoef:1.05,lineCapitalCoef:1.15,lineSpaceHeightCoef:.2},h={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},p=function(t){return t*Math.PI/180},d=function(t){var e=t.split(",")[0].replace(/'|"/g,"");return c[e]||f.averageFontConstant},y=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},v=function(t,e,n){var r=p(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},b=function(t,e){var n=t.match(/[a-zA-Z%]+/)[0],r=t.match(/[0-9.,]+/);return s.hasOwnProperty(n)?r*s[n]:l.hasOwnProperty(n)?(e?r*e:r*f.defaultFontSize)*l[n]:r},g=function(t,e){var n=Array.isArray(t)?t[e]:t,r=i()({},n,h);return u()({},r,{characterConstant:r.characterConstant||d(r.fontFamily),letterSpacing:b(r.letterSpacing,r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:b(String(r.fontSize))})},m=function(t,e){var n=y(t).map(function(t,n){var r=t.toString().length,a=g(e,n);return r*a.fontSize/a.characterConstant+a.letterSpacing*Math.max(r-1,0)});return Math.max.apply(Math,r(n))},_=function(t,e){return y(t).reduce(function(t,n,r){var a=g(e,r),i=a.fontSize*f.lineCapitalCoef,o=0===r?0:a.fontSize*f.lineSpaceHeightCoef;return t+a.lineHeight*(i+o)},0)},x=function(t,e){var n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=_(t,e),a=m(t,e),i=n?v(a,r,n):a,o=n?v(r,a,n):r;return{width:i*f.widthOverlapCoef,height:o*f.heightOverlapCoef}};e.a={approximateTextSize:x,convertLengthToPixels:b}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(319);n.d(e,"arc",function(){return r.a});var a=n(155);n.d(e,"area",function(){return a.a});var i=n(91);n.d(e,"line",function(){return i.a});var o=n(321);n.d(e,"pie",function(){return o.a});var u=n(324);n.d(e,"areaRadial",function(){return u.a}),n.d(e,"radialArea",function(){return u.a});var c=n(157);n.d(e,"lineRadial",function(){return c.a}),n.d(e,"radialLine",function(){return c.a});var s=n(158);n.d(e,"pointRadial",function(){return s.a});var l=n(325);n.d(e,"linkHorizontal",function(){return l.a}),n.d(e,"linkVertical",function(){return l.c}),n.d(e,"linkRadial",function(){return l.b});var f=n(326);n.d(e,"symbol",function(){return f.a}),n.d(e,"symbols",function(){return f.b});var h=n(160);n.d(e,"symbolCircle",function(){return h.a});var p=n(161);n.d(e,"symbolCross",function(){return p.a});var d=n(162);n.d(e,"symbolDiamond",function(){return d.a});var y=n(164);n.d(e,"symbolSquare",function(){return y.a});var v=n(163);n.d(e,"symbolStar",function(){return v.a});var b=n(165);n.d(e,"symbolTriangle",function(){return b.a});var g=n(166);n.d(e,"symbolWye",function(){return g.a});var m=n(327);n.d(e,"curveBasisClosed",function(){return m.a});var _=n(328);n.d(e,"curveBasisOpen",function(){return _.a});var x=n(55);n.d(e,"curveBasis",function(){return x.b});var O=n(329);n.d(e,"curveBundle",function(){return O.a});var w=n(167);n.d(e,"curveCardinalClosed",function(){return w.b});var j=n(168);n.d(e,"curveCardinalOpen",function(){return j.b});var M=n(56);n.d(e,"curveCardinal",function(){return M.b});var k=n(330);n.d(e,"curveCatmullRomClosed",function(){return k.a});var T=n(331);n.d(e,"curveCatmullRomOpen",function(){return T.a});var A=n(93);n.d(e,"curveCatmullRom",function(){return A.a});var P=n(332);n.d(e,"curveLinearClosed",function(){return P.a});var E=n(53);n.d(e,"curveLinear",function(){return E.a});var C=n(333);n.d(e,"curveMonotoneX",function(){return C.a}),n.d(e,"curveMonotoneY",function(){return C.b});var S=n(334);n.d(e,"curveNatural",function(){return S.a});var N=n(335);n.d(e,"curveStep",function(){return N.a}),n.d(e,"curveStepAfter",function(){return N.b}),n.d(e,"curveStepBefore",function(){return N.c});var D=n(336);n.d(e,"stack",function(){return D.a});var L=n(337);n.d(e,"stackOffsetExpand",function(){return L.a});var R=n(338);n.d(e,"stackOffsetDiverging",function(){return R.a});var F=n(33);n.d(e,"stackOffsetNone",function(){return F.a});var I=n(339);n.d(e,"stackOffsetSilhouette",function(){return I.a});var W=n(340);n.d(e,"stackOffsetWiggle",function(){return W.a});var z=n(94);n.d(e,"stackOrderAscending",function(){return z.a});var U=n(341);n.d(e,"stackOrderDescending",function(){return U.a});var V=n(342);n.d(e,"stackOrderInsideOut",function(){return V.a});var q=n(34);n.d(e,"stackOrderNone",function(){return q.a});var B=n(343);n.d(e,"stackOrderReverse",function(){return B.a})},function(t,e,n){"use strict";var r=n(31),a=n(16),i=n(53),o=n(92);e.a=function(){function t(t){var a,i,o,f=t.length,h=!1;for(null==c&&(l=s(o=Object(r.a)())),a=0;a<=f;++a)!(a<f&&u(i=t[a],a,t))===h&&((h=!h)?l.lineStart():l.lineEnd()),h&&l.point(+e(i,a,t),+n(i,a,t));if(o)return l=null,o+""||null}var e=o.a,n=o.b,u=Object(a.a)(!0),c=null,s=i.a,l=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Object(a.a)(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Object(a.a)(+e),t):n},t.defined=function(e){return arguments.length?(u="function"==typeof e?e:Object(a.a)(!!e),t):u},t.curve=function(e){return arguments.length?(s=e,null!=c&&(l=s(c)),t):s},t.context=function(e){return arguments.length?(null==e?c=l=null:l=s(c=e),t):c},t}},function(t,e,n){"use strict";function r(t){return t[0]}function a(t){return t[1]}e.a=r,e.b=a},function(t,e,n){"use strict";function r(t,e,n){var r=t._x1,a=t._y1,o=t._x2,u=t._y2;if(t._l01_a>i.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,a=(a*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>i.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*l+t._x1*t._l23_2a-e*t._l12_2a)/f,u=(u*l+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,a,o,u,t._x2,t._y2)}function a(t,e){this._context=t,this._alpha=e}e.b=r;var i=n(32),o=n(56);a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,a=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new a(t,e):new o.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t){for(var e,n=0,r=-1,a=t.length;++r<a;)(e=+t[r][1])&&(n+=e);return n}e.b=r;var a=n(34);e.a=function(t){var e=t.map(r);return Object(a.a)(t).sort(function(t,n){return e[t]-e[n]})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(104),i=n.n(a),o=n(69),u=n.n(o),c=n(6),s=n.n(c),l=n(127),f=n.n(l),h=n(152),p=n.n(h),d=n(351),y=n.n(d),v=n(4),b=n.n(v),g=n(2),m=n(3),_=n(96);e.a={getData:function(t){var e=void 0;if(t.data){if(t.data.length<1)return[];e=this.formatData(t.data,t)}else e=this.formatData(this.generateData(t),t);return this.addEventKeys(t,e)},generateDataArray:function(t,e){var n=t.domain&&Array.isArray(t.domain)?t.domain:t.domain&&t.domain[e],a=n||_.a.getBaseScale(t,e).domain(),i=t.samples||1,o=Math.max.apply(Math,r(a)),u=Math.min.apply(Math,r(a)),c=(o-u)/i,s=p()(u,o,c);return f()(s)===o?s:s.concat(o)},generateData:function(t){var e=this.generateDataArray(t,"x"),n=this.generateDataArray(t,"y");return e.map(function(t,e){return{x:t,y:n[e]}})},formatData:function(t,e,n){if(!Array.isArray(t))return[];n=n||{x:this.createStringMap(e,"x"),y:this.createStringMap(e,"y")};var r={x:g.a.createAccessor(void 0!==e.x?e.x:"x"),y:g.a.createAccessor(void 0!==e.y?e.y:"y"),y0:g.a.createAccessor(void 0!==e.y0?e.y0:"y0")},a=t.map(function(t,e){var a=void 0!==t._x?t._x:r.x(t),i=void 0!==t._y?t._y:r.y(t),o=void 0!==t._y0?t._y0:r.y0(t),u=void 0!==a?a:e,c=void 0!==i?i:t,s=void 0===o?{x:u,y:c}:{x:u,y:c,y0:o},l=void 0===o?{_x:u,_y:c}:{_x:u,_y:c,_y0:o};return b()(s,t,l,"string"==typeof u?{_x:n.x[u],xName:u}:{},"string"==typeof c?{_y:n.y[c],yName:c}:{},"string"==typeof o?{_y0:n.y[o],yName:o}:{})}),i=this.sortData(a,e.sortKey);return this.cleanData(i,e)},sortData:function(t,e){return e?("x"!==e&&"y"!==e||(e="_"+e),i()(t,e)):t},cleanData:function(t,e){var n={x:_.a.getScaleType(e,"x"),y:_.a.getScaleType(e,"y")};if("log"!==n.x&&"log"!==n.y)return t;var r=function(t,e){return"log"!==n[e]||0!==t["_"+e]};return t.filter(function(t){return r(t,"x")&&r(t,"y")&&r(t,"y0")})},getEventKey:function(t){return s()(t)?t:null===t||void 0===t?function(){}:u()(t)},addEventKeys:function(t,e){var n=this.getEventKey(t.eventKey);return e.map(function(t,e){var r=t.eventKey||n(t)||e;return b()({eventKey:r},t)})},createStringMap:function(t,e){var n=this.getStringsFromAxes(t,e),a=this.getStringsFromCategories(t,e),i=this.getStringsFromData(t,e),o=y()([].concat(r(n),r(a),r(i)));return 0===o.length?null:o.reduce(function(t,e,n){return t[e]=n+1,t},{})},getStringsFromData:function(t,e){if(!Array.isArray(t.data))return[];var n=void 0===t[e]?e:t[e],r=g.a.createAccessor(n);return t.data.map(function(t){return r(t)}).filter(function(t){return"string"==typeof t}).reduce(function(t,e){return void 0!==e&&null!==e&&-1===t.indexOf(e)&&t.push(e),t},[])},getStringsFromAxes:function(t,e){return t.tickValues&&(Array.isArray(t.tickValues)||t.tickValues[e])?(t.tickValues[e]||t.tickValues).filter(function(t){return"string"==typeof t}):[]},getStringsFromCategories:function(t,e){if(!t.categories)return[];var n=this.getCategories(t,e),r=n&&n.filter(function(t){return"string"==typeof t});return r?m.a.removeUndefined(r):[]},getCategories:function(t,e){return t.categories&&!Array.isArray(t.categories)?t.categories[e]:t.categories},downsample:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t.length>e){var r=Math.pow(2,Math.ceil(Math.log2(t.length/e)));return t.filter(function(t,e){return(e+n)%r==0})}return t}}},function(t,e,n){"use strict";var r=n(6),a=n.n(r),i=n(169),o=n.n(i),u=n(2),c=n(3),s=n(355),l=["linear","time","log","sqrt"];e.a={getDefaultScale:function(){return s.scaleLinear()},toNewName:function(t){return"scale"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)},validScale:function(t){return"function"==typeof t?a()(t.copy)&&a()(t.domain)&&a()(t.range):"string"==typeof t&&o()(l,t)},isScaleDefined:function(t,e){return!!t.scale&&(!t.scale.x&&!t.scale.y||!!t.scale[e])},getScaleTypeFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return"string"==typeof n?n:this.getType(n)}},getScaleFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return this.validScale(n)?a()(n)?n:s[this.toNewName(n)]():void 0}},getScaleTypeFromData:function(t,e){if(!t.data)return"linear";var n=u.a.createAccessor(t[e]),r=t.data.map(n);return c.a.containsDates(r)?"time":"linear"},getBaseScale:function(t,e){var n=this.getScaleFromProps(t,e);if(n)return n;var r=this.getScaleTypeFromData(t,e);return s[this.toNewName(r)]()},getType:function(t){var e=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}],n=e.filter(function(e){return void 0!==t[e.method]})[0];return n?n.name:void 0},getScaleType:function(t,e){return this.getScaleTypeFromProps(t,e)||this.getScaleTypeFromData(t,e)}}},function(t,e,n){"use strict";var r=n(35);e.a=function(t,e,n){if(null==n&&(n=r.a),a=t.length){if((e=+e)<=0||a<2)return+n(t[0],0,t);if(e>=1)return+n(t[a-1],a-1,t);var a,i=(a-1)*e,o=Math.floor(i),u=+n(t[o],o,t);return u+(+n(t[o+1],o+1,t)-u)*(i-o)}}},function(t,e,n){"use strict";function r(){}function a(t,e){var n=new r;if(t instanceof r)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var a,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(a=t[i],i,t),a)}else if(t)for(var u in t)n.set(u,t[u]);return n}n.d(e,"b",function(){return i});var i="$";r.prototype=a.prototype={constructor:r,has:function(t){return i+t in this},get:function(t){return this[i+t]},set:function(t,e){return this[i+t]=e,this},remove:function(t){var e=i+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===i&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===i&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===i&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===i&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===i&&++t;return t},empty:function(){for(var t in this)if(t[0]===i)return!1;return!0},each:function(t){for(var e in this)e[0]===i&&t(this[e],e.slice(1),this)}},e.a=a},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}},function(t,e,n){"use strict";var r=(n(5),n(395));n.d(e,"c",function(){return r.a}),n.d(e,"m",function(){return r.a});var a=n(396);n.d(e,"g",function(){return a.a}),n.d(e,"q",function(){return a.a});var i=n(397);n.d(e,"d",function(){return i.a});var o=n(398);n.d(e,"b",function(){return o.a});var u=n(399);n.d(e,"a",function(){return u.a});var c=n(400);n.d(e,"i",function(){return c.b}),n.d(e,"h",function(){return c.b}),n.d(e,"e",function(){return c.a});var s=n(401);n.d(e,"f",function(){return s.a});var l=n(402);n.d(e,"j",function(){return l.a});var f=n(403);n.d(e,"n",function(){return f.a});var h=n(404);n.d(e,"l",function(){return h.a});var p=n(405);n.d(e,"k",function(){return p.a});var d=n(406);n.d(e,"s",function(){return d.b}),n.d(e,"r",function(){return d.b}),n.d(e,"o",function(){return d.a});var y=n(407);n.d(e,"p",function(){return y.a});var v=n(408);n.d(e,"t",function(){return v.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return u});var r,a,i,o,u,c=n(192);!function(t){r=Object(c.a)(t),a=r.format,i=r.parse,o=r.utcFormat,u=r.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(0),c=n.n(u),s=n(1),l=n.n(s),f=n(195),h=n(206),p=n(29),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={data:Array.isArray(n.props.data)?n.props.data[0]:n.props.data,animationInfo:{progress:0,animating:!1}},n.interpolator=null,n.queue=Array.isArray(n.props.data)?n.props.data.slice(1):[],n.ease=f[n.toNewName(n.props.easing)],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(n),n.getTimer=n.getTimer.bind(n),n}return o(e,t),d(e,[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentWillReceiveProps",value:function(t){if(this.getTimer().unsubscribe(this.loopID),Array.isArray(t.data)){var e;(e=this.queue).push.apply(e,r(t.data))}else this.queue.length=0,this.queue.push(t.data);this.traverseQueue()}},{key:"componentWillUnmount",value:function(){this.loopID?this.getTimer().unsubscribe(this.loopID):this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new p.a),this.timer)}},{key:"toNewName",value:function(t){return"ease"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"traverseQueue",value:function(){var t=this;if(this.queue.length){var e=this.queue[0];this.interpolator=Object(h.a)(this.state.data,e),this.props.delay?setTimeout(function(){t.loopID=t.getTimer().subscribe(t.functionToBeRunEachFrame,t.props.duration)},this.props.delay):this.loopID=this.getTimer().subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(t,e){e=void 0!==e?e:this.props.duration;var n=e?t/e:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1}}),this.loopID&&this.getTimer().unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}]),e}(c.a.Component);y.displayName="VictoryAnimation",y.propTypes={children:l.a.func,data:l.a.oneOfType([l.a.object,l.a.array]),delay:l.a.number,duration:l.a.number,easing:l.a.oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:l.a.func},y.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},y.contextTypes={getTimer:l.a.func},e.a=y},function(t,e,n){var r=n(105),a=n(211),i=n(21),o=n(70),u=i(function(t,e){if(null==t)return[];var n=e.length;return n>1&&o(t,e[0],e[1])?e=[]:n>2&&o(e[0],e[1],e[2])&&(e=[e[0]]),a(t,r(e,1),[])});t.exports=u},function(t,e,n){function r(t,e,n,o,u){var c=-1,s=t.length;for(n||(n=i),u||(u=[]);++c<s;){var l=t[c];e>0&&n(l)?e>1?r(l,e-1,n,o,u):a(u,l):o||(u[u.length]=l)}return u}var a=n(207),i=n(208);t.exports=r},function(t,e,n){var r=n(14),a=r.Symbol;t.exports=a},function(t,e){function n(t){return a.call(t)}var r=Object.prototype,a=r.toString;t.exports=n},function(t,e,n){function r(t){return t===t&&!a(t)}var a=n(10);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t){return null==t?"":a(t)}var a=n(230);t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,a)}var a=n(231),i=n(232);t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=i(r.length-e,0),c=Array(u);++o<u;)c[o]=r[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=r[o];return s[e]=n(c),a(t,this,s)}}var a=n(44),i=Math.max;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return a.call(t)}var r=Object.prototype,a=r.toString;t.exports=n},function(t,e,n){var r=n(41),a=r(Object.getPrototypeOf,Object);t.exports=a},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var r=Math.PI/180,a=180/Math.PI},function(t,e,n){"use strict";function r(t){return function(e){var n,r,i=e.length,o=new Array(i),u=new Array(i),c=new Array(i);for(n=0;n<i;++n)r=Object(a.f)(e[n]),o[n]=r.r||0,u[n]=r.g||0,c[n]=r.b||0;return o=t(o),u=t(u),c=t(c),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=c(t),r+""}}}var a=n(13),i=n(74),o=n(120),u=n(28);e.a=function t(e){function n(t,e){var n=r((t=Object(a.f)(t)).r,(e=Object(a.f)(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),c=Object(u.a)(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=c(e),t+""}}var r=Object(u.b)(e);return n.gamma=t,n}(1);r(i.b),r(o.a)},function(t,e,n){"use strict";var r=n(74);e.a=function(t){var e=t.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*e),i=t[(a+e-1)%e],o=t[a%e],u=t[(a+1)%e],c=t[(a+2)%e];return Object(r.a)((n-a/e)*e,i,o,u,c)}}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";var r=n(71);e.a=function(t,e){var n,a=e?e.length:0,i=t?Math.min(a,t.length):0,o=new Array(a),u=new Array(a);for(n=0;n<i;++n)o[n]=Object(r.a)(t[n],e[n]);for(;n<a;++n)u[n]=e[n];return function(t){for(n=0;n<i;++n)u[n]=o[n](t);return u}}},function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return t=+t,e-=t,function(r){return n.setTime(t+e*r),n}}},function(t,e,n){"use strict";var r=n(71);e.a=function(t,e){var n,a={},i={};null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(n in e)n in t?a[n]=Object(r.a)(t[n],e[n]):i[n]=e[n];return function(t){for(n in a)i[n]=a[n](t);return i}}},function(t,e,n){"use strict";function r(t){return function(){return t}}function a(t){return function(e){return t(e)+""}}var i=n(45),o=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(o.source,"g");e.a=function(t,e){var n,c,s,l=o.lastIndex=u.lastIndex=0,f=-1,h=[],p=[];for(t+="",e+="";(n=o.exec(t))&&(c=u.exec(e));)(s=c.index)>l&&(s=e.slice(l,s),h[f]?h[f]+=s:h[++f]=s),(n=n[0])===(c=c[0])?h[f]?h[f]+=c:h[++f]=c:(h[++f]=null,p.push({i:f,x:Object(i.a)(n,c)})),l=u.lastIndex;return l<e.length&&(s=e.slice(l),h[f]?h[f]+=s:h[++f]=s),h.length<2?p[0]?a(p[0].x):r(e):(e=p.length,function(t){for(var n,r=0;r<e;++r)h[(n=p[r]).i]=n.x(t);return h.join("")})}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(10),u=n.n(o),c=n(254),s=n.n(c),l=n(7),f=n.n(l),h=n(78),p=n.n(h),d=n(4),y=n.n(d),v=n(0),b=n.n(v),g=n(1),m=n.n(g),_=n(130),x=n(29),O=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},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),j=function(t){function e(t){r(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getTimer=n.getTimer.bind(n),n.containerId=u()(t)&&void 0===t.containerId?t.containerId:s()("victory-container-"),n}return i(e,t),w(e,[{key:"getChildContext",value:function(){return{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister,getTimer:this.getTimer}}},{key:"componentWillMount",value:function(){var t=this;this.savePortalRef=function(e){return t.portalRef=e,e},this.portalUpdate=function(e,n){return t.portalRef.portalUpdate(e,n)},this.portalRegister=function(){return t.portalRef.portalRegister()},this.portalDeregister=function(e){return t.portalRef.portalDeregister(e)}}},{key:"componentWillUnmount",value:function(){this.context.getTimer||this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new x.a),this.timer)}},{key:"getIdForElement",value:function(t){return this.containerId+"-"+t}},{key:"getChildren",value:function(t){return t.children}},{key:"renderContainer",value:function(t,e,n){var r=t.title,a=t.desc,i=t.portalComponent,o=t.className,u=this.getChildren(t),c=f()({style:n,className:o},e);return b.a.createElement("svg",O({},c,{overflow:"visible"}),b.a.createElement("svg",c,u),r?b.a.createElement("title",{id:this.getIdForElement("title")},r):null,a?b.a.createElement("desc",{id:this.getIdForElement("desc")},a):null,b.a.cloneElement(i,{ref:this.savePortalRef}))}},{key:"render",value:function(){var t=this.props,e=t.width,n=t.height,r=t.responsive,a=t.events,i=r?this.props.style:p()(this.props.style,["height","width"]),o=f()({},i,{touchAction:"none"}),u=y()({width:e,height:n,role:"img","aria-labelledby":this.getIdForElement("title")+" "+this.getIdForElement("desc"),viewBox:r?"0 0 "+e+" "+n:void 0},a);return this.renderContainer(this.props,u,o)}}]),e}(b.a.Component);j.displayName="VictoryContainer",j.role="container",j.propTypes={children:m.a.oneOfType([m.a.arrayOf(m.a.node),m.a.node]),className:m.a.string,containerId:m.a.oneOfType([m.a.number,m.a.string]),desc:m.a.string,events:m.a.object,height:m.a.number,origin:m.a.shape({x:m.a.number,y:m.a.number}),polar:m.a.bool,portalComponent:m.a.element,responsive:m.a.bool,style:m.a.object,theme:m.a.object,title:m.a.string,width:m.a.number},j.defaultProps={portalComponent:b.a.createElement(_.a,null),responsive:!0},j.contextTypes={getTimer:m.a.func},j.childContextTypes={portalUpdate:m.a.func,portalRegister:m.a.func,portalDeregister:m.a.func,getTimer:m.a.func},e.a=j},function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},function(t,e,n){function r(t){return o(i(t,void 0,a),t+"")}var a=n(129),i=n(114),o=n(115);t.exports=r},function(t,e,n){function r(t){return(null==t?0:t.length)?a(t,1):[]}var a=n(105);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t){function e(t){r(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(n),n.portalRegister=n.portalRegister.bind(n),n.portalDeregister=n.portalDeregister.bind(n),n}return i(e,t),l(e,[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(t,e){this.map[t]=e,this.forceUpdate()}},{key:"portalDeregister",value:function(t){delete this.map[t]}},{key:"render",value:function(){var t=this;return u.a.cloneElement(this.props.groupComponent,{},Object.keys(this.map).map(function(e){var n=t.map[e];return n?u.a.cloneElement(n,{key:e}):n}))}}]),e}(u.a.Component);f.displayName="Portal",f.propTypes={groupComponent:s.a.element},f.defaultProps={groupComponent:u.a.createElement("g",null)},e.a=f},function(t,e,n){function r(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||a(t,e,n)}var a=n(77),i=n(25);t.exports=r},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){var r=n(10),a=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(a)return a(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){function r(t){return i(t)&&a(t)}var a=n(48),i=n(66);t.exports=r},function(t,e,n){function r(t){var e=a(t),n=e%1;return e===e?n?e-n:e:0}var a=n(136);t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=a(t))===i||t===-i){return(t<0?-1:1)*o}return t===t?t:0}var a=n(280),i=1/0,o=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t,e){return a(t,e)}var a=n(60);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(10),u=n.n(o),c=n(139),s=n.n(c),l=n(6),f=n.n(l),h=n(7),p=n.n(h),d=n(0),y=n.n(d),v=n(1),b=n.n(v),g=n(103),m=n(3),_=n(2),x=n(29),O=n(140),w=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=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),M=function(t){function e(t){r(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var i=n.props.children,o=i.props.polar;return n.continuous=!o&&i.type&&!0===i.type.continuous,n.getTransitionState=n.getTransitionState.bind(n),n.getTimer=n.getTimer.bind(n),n}return i(e,t),j(e,[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"componentWillReceiveProps",value:function(t){var e=this;this.getTimer().bypassAnimation(),this.setState(this.getTransitionState(this.props,t),function(){return e.getTimer().resumeAnimation()})}},{key:"componentWillUnmount",value:function(){this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new x.a),this.timer)}},{key:"getTransitionState",value:function(t,e){var n=t.animate;if(n){if(n.parentState){return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e}}var r=y.a.Children.toArray(t.children),a=y.a.Children.toArray(e.children),i=O.a.getInitialTransitionState(r,a),o=i.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:i.nodesWillEnter,childrenTransitions:i.childrenTransitions,nodesShouldEnter:i.nodesShouldEnter,oldProps:o?t:null,nextProps:e}}return{}}},{key:"getDomainFromChildren",value:function(t,e){var n=function(t){return t.reduce(function(t,r){if(r.type&&f()(r.type.getDomain)){var a=r.props&&r.type.getDomain(r.props,e);return a?t.concat(a):t}return r.props&&r.props.children?t.concat(n(y.a.Children.toArray(r.props.children))):t},[])},r=y.a.Children.toArray(t.children)[0],a=r.props||{},i=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[e];if(!a.children&&i)return i;var o=n([r]);return 0===o.length?[0,1]:[m.a.getMinValue(o),m.a.getMaxValue(o)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props}},{key:"pickDomainProps",value:function(t){var e=u()(t.animate)&&t.animate.parentState;return e&&e.nodesWillExit?this.continous||e.continuous?e.nextProps||this.state.nextProps||t:t:this.continuous&&this.state.nodesWillExit?this.state.nextProps||t:t}},{key:"getClipWidth",value:function(t,e){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=_.a.getRange(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width}()}},{key:"render",value:function(){var t=this,e=this.pickProps(),n=u()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:O.a.getTransitionPropsFactory(e,this.state,function(e){return t.setState(e)}),r=y.a.Children.toArray(e.children)[0],a=n(r);this.transitionProps=a;var i={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},o=this.getClipWidth(e,r),c=p()({domain:i,clipWidth:o},a,r.props),l=e.animationWhitelist||[],f=l.concat(["clipWidth"]),h=f.length?s()(c,f):c;return y.a.createElement(g.a,w({},c.animate,{data:h}),function(e){if(r.props.groupComponent){var n=t.continuous?y.a.cloneElement(r.props.groupComponent,{clipWidth:e.clipWidth||0}):r.props.groupComponent;return y.a.cloneElement(r,p()({animate:null,animating:!0,groupComponent:n},e,c))}return y.a.cloneElement(r,p()({animate:null,animating:!0},e,c))})}}]),e}(y.a.Component);M.displayName="VictoryTransition",M.propTypes={animate:b.a.oneOfType([b.a.bool,b.a.object]),animationWhitelist:b.a.array,children:b.a.node},e.a=M},function(t,e,n){var r=n(283),a=n(128),i=a(function(t,e){return null==t?{}:r(t,e)});t.exports=i},function(t,e,n){"use strict";function r(t,e){return(t.key||e).toString()}function a(t){return t.reduce(function(t,e,n){return t[r(e,n)]=e,t},{})}function i(t,e){var n=!1,r=Object.keys(t).reduce(function(t,r){return r in e||(n=!0,t[r]=!0),t},{});return n&&r}function o(t,e){var n=t&&a(t),r=e&&a(e);return{entering:n&&i(r,n),exiting:r&&i(n,r)}}function u(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function c(t,e){var n=!1,r=!1,a=function(t,e){if(!e||t.type!==e.type)return{};var a=o(u(t),u(e))||{},i=a.entering,c=a.exiting;return n=n||!!c,r=r||!!i,{entering:i||!1,exiting:c||!1}},i=function(t,e){return t.map(function(n,r){return n&&n.props&&n.props.children?i(w.a.Children.toArray(t[r].props.children),w.a.Children.toArray(e[r].props.children)):a(n,e[r])})},c=i(w.a.Children.toArray(t),w.a.Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:c,nodesShouldEnter:!1}}function s(t,e){var n=t.onEnter&&t.onEnter.after?t.onEnter.after:b.a;return{data:e.map(function(t,r){return x()({},t,n(t,r,e))})}}function l(t,e,n,r){if((t=x()({},t,{onEnd:r}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:n};var a=t.onLoad&&t.onLoad.before?t.onLoad.before:b.a;return n=n.map(function(t,e){return x()({},t,a(t,e,n))}),{animate:t,data:n,clipWidth:0}}function f(t,e,n){if((t=x()({},t,{onEnd:n}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:e};var r=t.onLoad&&t.onLoad.after?t.onLoad.after:b.a;return e=e.map(function(t,n){return x()({},t,r(t,n,e))}),{animate:t,data:e}}function h(t,e,n,r,a){var i=t&&t.onExit;if(t=x()({},t,i),r){t.onEnd=a;var o=t.onExit&&t.onExit.before?t.onExit.before:b.a;n=n.map(function(t,e){var a=(t.key||e).toString();return r[a]?x()({},t,o(t,e,n)):t})}return{animate:t,data:n}}function p(t,e,n,r,a){if(r){t=x()({},t,{onEnd:a});var i=t.onEnter&&t.onEnter.before?t.onEnter.before:b.a;n=n.map(function(t,e){var a=(t.key||e).toString();return r[a]?x()({},t,i(t,e,n)):t})}return{animate:t,data:n}}function d(t,e,n,a){var i=t&&t.onEnter;if(t=x()({},t,i),n){t.onEnd=a;var o=t.onEnter&&t.onEnter.after?t.onEnter.after:b.a;e=e.map(function(t,a){var i=r(t,a);return n[i]?x()({},t,o(t,a,e)):t})}return{animate:t,data:e}}function y(t,e,n){var r=e&&e.nodesWillExit,a=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,o=e&&e.nodesShouldLoad,c=e&&e.nodesDoneLoad,y=e&&e.childrenTransitions||[],v={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},b=function(t,e,r){return o?f(r,e,function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}):l(r,t,e,function(){n({nodesDoneLoad:!0})})},g=function(t,e,r,a){return h(a,e,r,t,function(){n({nodesWillExit:!1})})},_=function(t,e,r,a){return i?d(a,r,t,function(){n({nodesWillEnter:!1})}):p(a,e,r,t,function(){n({nodesShouldEnter:!0})})},O=function(t,e){var n=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar?t.type.defaultPolarTransitions||t.type.defaultTransitions:t.type.defaultTransitions;if(r){var a=n[e]&&n[e].duration;return void 0!==a?a:r[e]&&r[e].duration}return{}};return function(n,o){var l=u(n)||[],f=m()({},t.animate,n.props.animate),h=n.props.polar?n.type.defaultPolarTransitions||n.type.defaultTransitions:n.type.defaultTransitions;f.onExit=m()({},f.onExit,h&&h.onExit),f.onEnter=m()({},f.onEnter,h&&h.onEnter),f.onLoad=m()({},f.onLoad,h&&h.onLoad);var p=y[o]||y[0];if(!c){var d=void 0!==v.load?v.load:O(n,"onLoad"),w={duration:d};return b(n,l,x()({},f,w))}if(r){var j=p&&p.exiting,M=void 0!==v.exit?v.exit:O(n,"onExit"),k=j?{duration:M}:{delay:M};return g(j,n,l,x()({},f,k))}if(a){var T=p&&p.entering,A=void 0!==v.enter?v.enter:O(n,"onEnter"),P=void 0!==v.move?v.move:n.props.animate&&n.props.animate.duration,E={duration:i&&T?A:P};return _(T,n,l,x()({},f,E))}return!e&&f&&f.onExit?s(f,l):{animate:f,data:l}}}var v=n(43),b=n.n(v),g=n(7),m=n.n(g),_=n(4),x=n.n(_),O=n(0),w=n.n(O);e.a={getInitialTransitionState:c,getTransitionPropsFactory:y}},function(t,e,n){function r(t,e,n,r,O,w,j,M){var k=e&v;if(!k&&"function"!=typeof t)throw new TypeError(d);var T=r?r.length:0;if(T||(e&=~(m|_),r=O=void 0),j=void 0===j?j:x(p(j),0),M=void 0===M?M:p(M),T-=O?O.length:0,e&_){var A=r,P=O;r=O=void 0}var E=k?void 0:s(t),C=[t,e,n,r,O,A,P,w,j,M];if(E&&l(C,E),t=C[0],e=C[1],n=C[2],r=C[3],O=C[4],M=C[9]=void 0===C[9]?k?0:t.length:x(C[9]-T,0),!M&&e&(b|g)&&(e&=~(b|g)),e&&e!=y)S=e==b||e==g?o(t,e,M):e!=m&&e!=(y|m)||O.length?u.apply(void 0,C):c(t,e,n,r);else var S=i(t,e,n);return h((E?a:f)(S,C),t,e)}var a=n(288),i=n(289),o=n(290),u=n(142),c=n(296),s=n(297),l=n(298),f=n(144),h=n(145),p=n(135),d="Expected a function",y=1,v=2,b=8,g=16,m=32,_=64,x=Math.max;t.exports=r},function(t,e,n){function r(t,e,n,m,_,x,O,w,j,M){function k(){for(var p=arguments.length,d=Array(p),y=p;y--;)d[y]=arguments[y];if(E)var v=s(k),b=o(d,v);if(m&&(d=a(d,m,_,E)),x&&(d=i(d,x,O,E)),p-=b,E&&p<M){var g=f(d,v);return c(t,e,r,k.placeholder,n,d,g,w,j,M-p)}var N=A?n:this,D=P?N[t]:t;return p=d.length,w?d=l(d,w):C&&p>1&&d.reverse(),T&&j<p&&(d.length=j),this&&this!==h&&this instanceof k&&(D=S||u(D)),D.apply(N,d)}var T=e&b,A=e&p,P=e&d,E=e&(y|v),C=e&g,S=P?void 0:u(t);return k}var a=n(291),i=n(292),o=n(293),u=n(50),c=n(143),s=n(51),l=n(295),f=n(52),h=n(14),p=1,d=2,y=8,v=16,b=128,g=512;t.exports=r},function(t,e,n){function r(t,e,n,r,p,d,y,v,b,g){var m=e&l,_=m?y:void 0,x=m?void 0:y,O=m?d:void 0,w=m?void 0:d;e|=m?f:h,(e&=~(m?h:f))&s||(e&=~(u|c));var j=[t,e,p,O,_,w,x,v,b,g],M=n.apply(void 0,j);return a(t)&&i(M,j),M.placeholder=r,o(M,t,e)}var a=n(294),i=n(144),o=n(145),u=1,c=2,s=4,l=8,f=32,h=64;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){var r=n(299),a=n(21),i=n(134),o=a(function(t,e){return i(t)?r(t,e):[]});t.exports=o},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&a(t,e,0)>-1}var a=n(63);t.exports=r},function(t,e){function n(t,e,n){for(var r=-1,a=null==t?0:t.length;++r<a;)if(n(e,t[r]))return!0;return!1}t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(15),f=n(2),h=n(3),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),p(e,[{key:"componentWillMount",value:function(){Object.assign(this,this.calculateAttributes(this.props))}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=this.props,r=n.className,a=n.clipId,i=n.clipWidth,o=n.translateX,u=n.translateY;return!h.a.allSetsEqual([[r,t.className],[a,t.clipId],[i,t.clipWidth],[o,t.translateX],[u,t.translateY],[this.x,e.x],[this.y,e.y],[this.height,e.height],[this.width,e.width]])&&(Object.assign(this,e),!0)}},{key:"calculateAttributes",value:function(t){var e=t.polar,n=t.origin,r=t.clipWidth,a=void 0===r?0:r,i=t.clipHeight,o=void 0===i?0:i,u=t.translateX,c=void 0===u?0:u,s=t.translateY,l=void 0===s?0:s,h=f.a.getPadding({padding:t.clipPadding}),p=t.radius||f.a.getRadius(t);return{x:(e?n.x:c)-h.left,y:(e?n.y:l)-h.top,width:Math.max((e?p:a)+h.left+h.right,0),height:Math.max((e?p:o)+h.top+h.bottom,0)}}},{key:"renderClipPath",value:function(t,e){return u.a.createElement("defs",null,u.a.createElement("clipPath",{id:e},u.a.createElement("rect",t)))}},{key:"renderPolarClipPath",value:function(t,e){return u.a.createElement("defs",null,u.a.createElement("clipPath",{id:e},u.a.createElement("circle",t)))}},{key:"render",value:function(){var t=this.props,e=t.clipId,n=t.className,r=t.polar,a=r?{className:n,cx:this.x,cy:this.y,r:Math.max(this.width,this.height)}:{className:n,x:this.x,y:this.y,width:this.width,height:this.height};return r?this.renderPolarClipPath(a,e):this.renderClipPath(a,e)}}]),e}(u.a.Component);d.propTypes={className:s.a.string,clipHeight:l.a.nonNegative,clipId:s.a.number,clipPadding:s.a.oneOfType([s.a.number,s.a.shape({top:s.a.number,bottom:s.a.number,left:s.a.number,right:s.a.number})]),clipWidth:l.a.nonNegative,origin:s.a.shape({x:s.a.number,y:s.a.number}),polar:s.a.bool,radius:s.a.number,translateX:s.a.number,translateY:s.a.number},e.a=d},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(83),c=n.n(u),s=n(146),l=n.n(s),f=n(139),h=n.n(f),p=n(86),d=n.n(p),y=n(6),v=n.n(y),b=n(26),g=n.n(b),m=n(4),_=n.n(m),x=n(7),O=n.n(x),w=n(0),j=n.n(w),M=n(87),k=n(3),T=n(138),A=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),P=function t(e,n,r){null===e&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,n);if(void 0===a){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in a)return a.value;var o=a.get;if(void 0!==o)return o.call(r)},E=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];e.a=function(t,e){return function(n){function u(){return a(this,u),i(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return o(u,n),A(u,[{key:"componentWillMount",value:function(){v()(P(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"componentWillMount",this))&&P(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"componentWillMount",this).call(this),this.state=this.state||{};var t=M.a.getScopedEvents.bind(this);this.getEvents=d()(M.a.getEvents.bind(this),t),this.getEventState=M.a.getEventState.bind(this);var e=this.getCalculatedValues(this.props);this.cacheValues(e),this.stateChanges=this.getStateChanges(this.props,e)}},{key:"shouldComponentUpdate",value:function(t){var e=this.getCalculatedValues(t);if(this.props.animate||this.props.animating)return this.cacheValues(e),!0;var n=this.getStateChanges(t,e);return k.a.areVictoryPropsEqual(this.calculatedState,n)?!k.a.areVictoryPropsEqual(this.props,t)&&(this.cacheValues(e),!0):(this.cacheValues(e),this.calculatedState=n,!0)}},{key:"getStateChanges",value:function(t,n){var r=this,a=n.hasEvents,i=n.getSharedEventState;if(!a)return{};var o=function(t,e){var n=O()({},r.getEventState(t,e),i(t,e));return c()(n)?void 0:n};return e=e||{},(e.components||E).map(function(e){return t.standalone||"parent"!==e.name?void 0!==e.index?o(e.index,e.name):n.dataKeys.map(function(t){return o(t,e.name)}):void 0}).filter(Boolean)}},{key:"getCalculatedValues",value:function(e){var n=e.sharedEvents,r=t.expectedComponents,a=M.a.getComponentEvents(e,r),i=n&&v()(n.getEventState)?n.getEventState:function(){},o=this.getBaseProps(e,i);return{componentEvents:a,getSharedEventState:i,baseProps:o,dataKeys:g()(o).filter(function(t){return"parent"!==t}),hasEvents:e.events||e.sharedEvents||a,events:this.getAllEvents(e)}}},{key:"cacheValues",value:function(t){var e=this;g()(t).forEach(function(n){e[n]=t[n]})}},{key:"getBaseProps",value:function(e,n){n=n||this.getSharedEventState;var r=n("parent","parent"),a=this.getEventState("parent","parent"),i=O()({},a,r),o=i.parentControlledProps,u=o?h()(i,o):{},c=O()({},u,e);return v()(t.getBaseProps)?t.getBaseProps(c):{}}},{key:"getAllEvents",value:function(t){if(Array.isArray(this.componentEvents)){var e;return Array.isArray(t.events)?(e=this.componentEvents).concat.apply(e,r(t.events)):this.componentEvents}return t.events}},{key:"getComponentProps",value:function(e,n,r){var a=t.role,i=this.dataKeys&&this.dataKeys[r]||r,o=this.baseProps[i][n]||this.baseProps[i];if(o||this.hasEvents){if(this.hasEvents){var u=this.getEvents(this.props,n,i),c=O()({index:r,key:a+"-"+n+"-"+i},this.getEventState(i,n),this.getSharedEventState(i,n),e.props,o),s=O()({},M.a.getPartialEvents(u,i,c),c.events);return _()({},c,{events:s})}return O()({index:r,key:a+"-"+n+"-"+i},e.props,o)}}},{key:"renderContainer",value:function(t,e){var n=t.type&&"container"===t.type.role,r=n?this.getComponentProps(t,"parent","parent"):{};return j.a.cloneElement(t,r,e)}},{key:"animateComponent",value:function(t,e){return j.a.createElement(T.a,{animate:t.animate,animationWhitelist:e},j.a.createElement(this.constructor,t))}},{key:"renderContinuousData",value:function(t){var e=this,n=t.dataComponent,a=t.labelComponent,i=t.groupComponent,o=l()(this.dataKeys,"all"),u=o.reduce(function(t,n){var r=e.getComponentProps(a,"labels",n);return r&&void 0!==r.text&&null!==r.text&&(t=t.concat(j.a.cloneElement(a,r))),t},[]),c=this.getComponentProps(n,"data","all"),s=[j.a.cloneElement(n,c)].concat(r(u));return this.renderContainer(i,s)}},{key:"renderData",value:function(t){var e=this,n=t.dataComponent,a=t.labelComponent,i=t.groupComponent,o=this.dataKeys.map(function(t,r){var a=e.getComponentProps(n,"data",r);return j.a.cloneElement(n,a)}),u=this.dataKeys.map(function(t,n){var r=e.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return j.a.cloneElement(a,r)}).filter(Boolean),c=[].concat(r(o),r(u));return this.renderContainer(i,c)}}]),u}(t)}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(313),p=n(8),d=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},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),y(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.datum,u=a.x,c=a.y,s=a.size,l=a.symbol;return!f.a.allSetsEqual([[i,t.className],[u,t.x],[c,t.y],[s,t.size],[l,t.symbol],[r,this.path],[n,this.style],[o,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active;return{style:l.a.evaluateStyle(e,n,r),path:this.getPath(t)}}},{key:"getPath",value:function(t){var e=t.datum,n=t.active,r=t.x,a=t.y,i={circle:h.a.circle,square:h.a.square,diamond:h.a.diamond,triangleDown:h.a.triangleDown,triangleUp:h.a.triangleUp,plus:h.a.plus,star:h.a.star},o=l.a.evaluateProp(t.symbol,e,n),u=l.a.evaluateProp(t.size,e,n);return i[o].call(null,r,a,u)}},{key:"renderPoint",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className;return u.a.createElement("path",d({},n,{d:t,className:o,role:a||"presentation",shapeRendering:i||"auto",style:e}))}},{key:"render",value:function(){return this.renderPoint(this.path,this.style,this.props.events)}}]),e}(u.a.Component);v.propTypes=d({},p.a,{datum:s.a.object,size:s.a.oneOfType([s.a.number,s.a.func]),symbol:s.a.oneOfType([s.a.oneOf(["circle","diamond","plus","square","star","triangleDown","triangleUp"]),s.a.func]),x:s.a.number,y:s.a.number}),e.a=v},function(t,e,n){var r=n(314),a=r();t.exports=a},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(8),p=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},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.cornerRadius,u=a.datum,c=a.dx,s=a.dy,l=a.height,h=a.width,p=a.orientation,d=a.pointerLength,y=a.pointerWidth,v=a.x,b=a.y;return!f.a.allSetsEqual([[i,t.className],[o,t.cornerRadius],[c,t.dx],[s,t.dy],[v,t.x],[b,t.y],[l,t.height],[h,t.width],[p,t.orientation],[d,t.pointerLength],[y,t.pointerWidth],[r,this.path],[n,this.style],[u,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.datum,n=t.active,r=t.style;return{style:l.a.evaluateStyle(r,e,n),path:this.getFlyoutPath(t)}}},{key:"getVerticalPath",value:function(t){var e=t.pointerLength,n=t.pointerWidth,r=t.cornerRadius,a=t.orientation,i=t.width,o=t.height,u="top"===a?1:-1,c=t.x+(t.dx||0),s=t.y-u*(t.dy||0),l=s-u*e,f=s-u*e-u*o,h=c+i/2,p=c-i/2,d="top"===a?"0 0 0":"0 0 1",y=Math.round(r)+" "+Math.round(r)+" "+d;return"M "+Math.round(c-n/2)+", "+Math.round(l)+"\n L "+Math.round(c)+", "+Math.round(s)+"\n L "+Math.round(c+n/2)+", "+Math.round(l)+"\n L "+Math.round(h-r)+", "+Math.round(l)+"\n A "+y+" "+Math.round(h)+", "+Math.round(l-u*r)+"\n L "+Math.round(h)+", "+Math.round(f+u*r)+"\n A "+y+" "+Math.round(h-r)+", "+Math.round(f)+"\n L "+Math.round(p+r)+", "+Math.round(f)+"\n A "+y+" "+Math.round(p)+", "+Math.round(f+u*r)+"\n L "+Math.round(p)+", "+Math.round(l-u*r)+"\n A "+y+" "+Math.round(p+r)+", "+Math.round(l)+"\n z"}},{key:"getHorizontalPath",value:function(t){var e=t.pointerLength,n=t.pointerWidth,r=t.cornerRadius,a=t.orientation,i=t.width,o=t.height,u="right"===a?1:-1,c=t.x+u*(t.dx||0),s=t.y-(t.dy||0),l=c+u*e,f=c+u*e+u*i,h=s+o/2,p=s-o/2,d="right"===a?"0 0 0":"0 0 1",y=Math.round(r)+" "+Math.round(r)+" "+d;return"M "+Math.round(l)+", "+Math.round(s-n/2)+"\n L "+Math.round(c)+", "+Math.round(s)+"\n L "+Math.round(l)+", "+Math.round(s+n/2)+"\n L "+Math.round(l)+", "+Math.round(h-r)+"\n A "+y+" "+Math.round(l+u*r)+", "+Math.round(h)+"\n L "+(f-u*r)+", "+h+"\n A "+y+" "+Math.round(f)+", "+Math.round(h-r)+"\n L "+f+", "+(p+r)+"\n A "+y+" "+Math.round(f-u*r)+", "+Math.round(p)+"\n L "+Math.round(l+u*r)+", "+Math.round(p)+"\n A "+y+" "+Math.round(l)+", "+Math.round(p+r)+"\n z"}},{key:"getFlyoutPath",value:function(t){var e=t.orientation||"top";return"left"===e||"right"===e?this.getHorizontalPath(t):this.getVerticalPath(t)}},{key:"renderFlyout",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className;return u.a.createElement("path",p({className:o,d:t,style:e,shapeRendering:i||"auto",role:a||"presentation"},n))}},{key:"render",value:function(){return this.renderFlyout(this.path,this.style,this.props.events)}}]),e}(u.a.Component);y.propTypes=p({},h.a,{cornerRadius:s.a.number,datum:s.a.object,dx:s.a.number,dy:s.a.number,height:s.a.number,orientation:s.a.oneOf(["top","bottom","left","right"]),pointerLength:s.a.number,pointerWidth:s.a.number,width:s.a.number,x:s.a.number,y:s.a.number}),e.a=y},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"e",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return u});var r=function(t){var e=void 0!==t._y1?t._y1:t._y;return null!==e&&void 0!==e&&null!==t._y0},a=function(t){return function(e){return t.x(void 0!==e._x1?e._x1:e._x)}},i=function(t){return function(e){return t.y(void 0!==e._y1?e._y1:e._y)}},o=function(t){return function(e){return t.y(e._y0)}},u=function(t){return function(e){return-1*t.x(void 0!==e._x1?e._x1:e._x)+Math.PI/2}}},function(t,e,n){"use strict";var r=n(31),a=n(16),i=n(53),o=n(91),u=n(92);e.a=function(){function t(t){var e,a,i,o,u,y=t.length,v=!1,b=new Array(y),g=new Array(y);for(null==h&&(d=p(u=Object(r.a)())),e=0;e<=y;++e){if(!(e<y&&f(o=t[e],e,t))===v)if(v=!v)a=e,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),i=e-1;i>=a;--i)d.point(b[i],g[i]);d.lineEnd(),d.areaEnd()}v&&(b[e]=+n(o,e,t),g[e]=+s(o,e,t),d.point(c?+c(o,e,t):b[e],l?+l(o,e,t):g[e]))}if(u)return d=null,u+""||null}function e(){return Object(o.a)().defined(f).curve(p).context(h)}var n=u.a,c=null,s=Object(a.a)(0),l=u.b,f=Object(a.a)(!0),h=null,p=i.a,d=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:Object(a.a)(+e),c=null,t):n},t.x0=function(e){return arguments.length?(n="function"==typeof e?e:Object(a.a)(+e),t):n},t.x1=function(e){return arguments.length?(c=null==e?null:"function"==typeof e?e:Object(a.a)(+e),t):c},t.y=function(e){return arguments.length?(s="function"==typeof e?e:Object(a.a)(+e),l=null,t):s},t.y0=function(e){return arguments.length?(s="function"==typeof e?e:Object(a.a)(+e),t):s},t.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:Object(a.a)(+e),t):l},t.lineX0=t.lineY0=function(){return e().x(n).y(s)},t.lineY1=function(){return e().x(n).y(l)},t.lineX1=function(){return e().x(c).y(s)},t.defined=function(e){return arguments.length?(f="function"==typeof e?e:Object(a.a)(!!e),t):f},t.curve=function(e){return arguments.length?(p=e,null!=h&&(d=p(h)),t):p},t.context=function(e){return arguments.length?(null==e?h=d=null:d=p(h=e),t):h},t}},function(t,e,n){"use strict";function r(t){this._curve=t}function a(t){function e(e){return new r(t(e))}return e._curve=t,e}n.d(e,"a",function(){return o}),e.b=a;var i=n(53),o=a(i.a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}}},function(t,e,n){"use strict";function r(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Object(a.b)(t)):e()._curve},t}e.b=r;var a=n(156),i=n(91);e.a=function(){return r(Object(i.a)().curve(a.a))}},function(t,e,n){"use strict";e.a=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.prototype.slice},function(t,e,n){"use strict";var r=n(32);e.a={draw:function(t,e){var n=Math.sqrt(e/r.j);t.moveTo(n,0),t.arc(0,0,n,0,r.m)}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}}},function(t,e,n){"use strict";var r=Math.sqrt(1/3),a=2*r;e.a={draw:function(t,e){var n=Math.sqrt(e/a),i=n*r;t.moveTo(0,-n),t.lineTo(i,0),t.lineTo(0,n),t.lineTo(-i,0),t.closePath()}}},function(t,e,n){"use strict";var r=n(32),a=Math.sin(r.j/10)/Math.sin(7*r.j/10),i=Math.sin(r.m/10)*a,o=-Math.cos(r.m/10)*a;e.a={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),a=i*n,u=o*n;t.moveTo(0,-n),t.lineTo(a,u);for(var c=1;c<5;++c){var s=r.m*c/5,l=Math.cos(s),f=Math.sin(s);t.lineTo(f*n,-l*n),t.lineTo(l*a-f*u,f*a+l*u)}t.closePath()}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}}},function(t,e,n){"use strict";var r=Math.sqrt(3);e.a={draw:function(t,e){var n=-Math.sqrt(e/(3*r));t.moveTo(0,2*n),t.lineTo(-r*n,-n),t.lineTo(r*n,-n),t.closePath()}}},function(t,e,n){"use strict";var r=-.5,a=Math.sqrt(3)/2,i=1/Math.sqrt(12),o=3*(i/2+1);e.a={draw:function(t,e){var n=Math.sqrt(e/o),u=n/2,c=n*i,s=u,l=n*i+n,f=-s,h=l;t.moveTo(u,c),t.lineTo(s,l),t.lineTo(f,h),t.lineTo(r*u-a*c,a*u+r*c),t.lineTo(r*s-a*l,a*s+r*l),t.lineTo(r*f-a*h,a*f+r*h),t.lineTo(r*u+a*c,r*c-a*u),t.lineTo(r*s+a*l,r*l-a*s),t.lineTo(r*f+a*h,r*h-a*f),t.closePath()}}},function(t,e,n){"use strict";function r(t,e){this._context=t,this._k=(1-e)/6}e.a=r;var a=n(54),i=n(56);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(i.c)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._k=(1-e)/6}e.a=r;var a=n(56);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(a.c)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&a(t,e,0)>-1}var a=n(63);t.exports=r},function(t,e,n){"use strict";var r=n(23),a=n(171),i=Object(a.a)(r.a),o=i.right;i.left;e.a=o},function(t,e,n){"use strict";function r(t){return function(e,n){return Object(a.a)(t(e),n)}}var a=n(23);e.a=function(t){return 1===t.length&&(t=r(t)),{left:function(e,n,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r<a;){var i=r+a>>>1;t(e[i],n)<0?r=i+1:a=i}return r},right:function(e,n,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r<a;){var i=r+a>>>1;t(e[i],n)>0?a=i:r=i+1}return r}}}},function(t,e,n){"use strict";function r(t,e){return[t,e]}e.a=r},function(t,e,n){"use strict";var r=n(174);e.a=function(t,e){var n=Object(r.a)(t,e);return n?Math.sqrt(n):n}},function(t,e,n){"use strict";var r=n(35);e.a=function(t,e){var n,a,i=t.length,o=0,u=-1,c=0,s=0;if(null==e)for(;++u<i;)isNaN(n=Object(r.a)(t[u]))||(a=n-c,c+=a/++o,s+=a*(n-c));else for(;++u<i;)isNaN(n=Object(r.a)(e(t[u],u,t)))||(a=n-c,c+=a/++o,s+=a*(n-c));if(o>1)return s/(o-1)}},function(t,e,n){"use strict";e.a=function(t,e){var n,r,a,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=a=n;++o<i;)null!=(n=t[o])&&(r>n&&(r=n),a<n&&(a=n))}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=a=n;++o<i;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),a<n&&(a=n));return[r,a]}},function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return i});var r=Array.prototype,a=r.slice,i=r.map},function(t,e,n){"use strict";e.a=function(t,e,n){t=+t,e=+e,n=(a=arguments.length)<2?(e=t,t=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((e-t)/n)),i=new Array(a);++r<a;)i[r]=t+r*n;return i}},function(t,e,n){"use strict";function r(t,e,n){var r=(e-t)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),c=r/Math.pow(10,a);return a>=0?(c>=i?10:c>=o?5:c>=u?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=i?10:c>=o?5:c>=u?2:1)}function a(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),c=r/a;return c>=i?a*=10:c>=o?a*=5:c>=u&&(a*=2),e<t?-a:a}e.b=r,e.c=a;var i=Math.sqrt(50),o=Math.sqrt(10),u=Math.sqrt(2);e.a=function(t,e,n){var a,i,o,u=e<t,c=-1;if(u&&(a=t,t=e,e=a),0===(o=r(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),i=new Array(a=Math.ceil(e-t+1));++c<a;)i[c]=(t+c)*o;else for(t=Math.floor(t*o),e=Math.ceil(e*o),i=new Array(a=Math.ceil(t-e+1));++c<a;)i[c]=(t-c)/o;return u&&i.reverse(),i}},function(t,e,n){"use strict";e.a=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}},function(t,e,n){"use strict";e.a=function(t,e){var n,r,a=t.length,i=-1;if(null==e){for(;++i<a;)if(null!=(n=t[i])&&n>=n)for(r=n;++i<a;)null!=(n=t[i])&&r>n&&(r=n)}else for(;++i<a;)if(null!=(n=e(t[i],i,t))&&n>=n)for(r=n;++i<a;)null!=(n=e(t[i],i,t))&&r>n&&(r=n);return r}},function(t,e,n){"use strict";function r(t){return t.length}var a=n(180);e.a=function(t){if(!(o=t.length))return[];for(var e=-1,n=Object(a.a)(t,r),i=new Array(n);++e<n;)for(var o,u=-1,c=i[e]=new Array(o);++u<o;)c[u]=t[u][e];return i}},function(t,e,n){"use strict";function r(t){function e(e){var r=e+"",a=n.get(r);if(!a){if(c!==o)return c;n.set(r,a=u.push(e))}return t[(a-1)%t.length]}var n=Object(a.a)(),u=[],c=o;return t=null==t?[]:i.b.call(t),e.domain=function(t){if(!arguments.length)return u.slice();u=[],n=Object(a.a)();for(var r,i,o=-1,c=t.length;++o<c;)n.has(i=(r=t[o])+"")||n.set(i,u.push(r));return e},e.range=function(n){return arguments.length?(t=i.b.call(n),e):t.slice()},e.unknown=function(t){return arguments.length?(c=t,e):c},e.copy=function(){return r().domain(u).range(t).unknown(c)},e}n.d(e,"b",function(){return o}),e.a=r;var a=n(373),i=n(17),o={name:"implicit"}},function(t,e,n){"use strict";e.a=function(t){return+t}},function(t,e,n){"use strict";var r=n(381);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var a=(n(185),n(186));n.d(e,"c",function(){return a.a});var i=n(387);n.d(e,"d",function(){return i.a});var o=n(388);n.d(e,"e",function(){return o.a});var u=n(389);n.d(e,"f",function(){return u.a})},function(t,e,n){"use strict";var r=n(58),a=n(382),i=n(383),o=n(186),u=n(187),c=n(188),s=n(386),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){function e(t){function e(t){var e,i,o,u=_,h=x;if("c"===m)h=O(t)+h,t="";else{t=+t;var y=t<0;if(t=O(Math.abs(t),g),y&&0==+t&&(y=!1),u=(y?"("===a?a:"-":"-"===a||"("===a?"":a)+u,h=h+("s"===m?l[8+c.b/3]:"")+(y&&"("===a?")":""),w)for(e=-1,i=t.length;++e<i;)if(48>(o=t.charCodeAt(e))||o>57){h=(46===o?p+t.slice(e+1):t.slice(e))+h,t=t.slice(0,e);break}}b&&!s&&(t=f(t,1/0));var j=u.length+t.length+h.length,M=j<v?new Array(v-j+1).join(n):"";switch(b&&s&&(t=f(M+t,M.length?v-h.length:1/0),M=""),r){case"<":t=u+t+h+M;break;case"=":t=u+M+t+h;break;case"^":t=M.slice(0,j=M.length>>1)+u+t+h+M.slice(j);break;default:t=M+u+t+h}return d(t)}t=Object(o.a)(t);var n=t.fill,r=t.align,a=t.sign,i=t.symbol,s=t.zero,v=t.width,b=t.comma,g=t.precision,m=t.type,_="$"===i?h[0]:"#"===i&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===i?h[1]:/[%p]/.test(m)?y:"",O=u.a[m],w=!m||/[defgprs%]/.test(m);return g=null==g?m?6:12:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),e.toString=function(){return t+""},e}function n(t,n){var a=e((t=Object(o.a)(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),c=l[8+i/3];return function(t){return a(u*t)+c}}var f=t.grouping&&t.thousands?Object(a.a)(t.grouping,t.thousands):s.a,h=t.currency,p=t.decimal,d=t.numerals?Object(i.a)(t.numerals):s.a,y=t.percent||"%";return{format:e,formatPrefix:n}}},function(t,e,n){"use strict";function r(t){return new a(t)}function a(t){if(!(e=o.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",a=e[3]||"-",u=e[4]||"",c=!!e[5],s=e[6]&&+e[6],l=!!e[7],f=e[8]&&+e[8].slice(1),h=e[9]||"";"n"===h?(l=!0,h="g"):i.a[h]||(h=""),(c||"0"===n&&"="===r)&&(c=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=a,this.symbol=u,this.zero=c,this.width=s,this.comma=l,this.precision=f,this.type=h}e.a=r;var i=n(187),o=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(t,e,n){"use strict";var r=n(384),a=n(188),i=n(385);e.a={"":r.a,"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Object(i.a)(100*t,e)},r:i.a,s:a.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,e,n){"use strict";n.d(e,"b",function(){return r});var r,a=n(100);e.a=function(t,e){var n=Object(a.a)(t,e);if(!n)return t+"";var i=n[0],o=n[1],u=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return u===c?i:u>c?i+new Array(u-c+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+Object(a.a)(t,Math.max(0,e+u-1))[0]}},function(t,e,n){"use strict";e.a=function(t,e){t=t.slice();var n,r=0,a=t.length-1,i=t[r],o=t[a];return o<i&&(n=r,r=a,a=n,n=i,i=o,o=n),t[r]=e.floor(i),t[a]=e.ceil(o),t}},function(t,e,n){"use strict";function r(t){return new Date(t)}function a(t){return t instanceof Date?+t:+new Date(+t)}function i(t,e,n,c,s,_,x,O,w){function j(r){return(x(r)<r?P:_(r)<r?E:s(r)<r?C:c(r)<r?S:e(r)<r?n(r)<r?N:D:t(r)<r?L:R)(r)}function M(e,n,r,a){if(null==e&&(e=10),"number"==typeof e){var i=Math.abs(r-n)/e,u=Object(o.c)(function(t){return t[2]}).right(F,i);u===F.length?(a=Object(o.g)(n/m,r/m,e),e=t):u?(u=F[i/F[u-1][2]<F[u][2]/i?u-1:u],a=u[1],e=u[0]):(a=Object(o.g)(n,r,e),e=O)}return null==a?e:e.every(a)}var k=Object(f.b)(f.c,u.c),T=k.invert,A=k.domain,P=w(".%L"),E=w(":%S"),C=w("%I:%M"),S=w("%I %p"),N=w("%a %d"),D=w("%b %d"),L=w("%B"),R=w("%Y"),F=[[x,1,p],[x,5,5*p],[x,15,15*p],[x,30,30*p],[_,1,d],[_,5,5*d],[_,15,15*d],[_,30,30*d],[s,1,y],[s,3,3*y],[s,6,6*y],[s,12,12*y],[c,1,v],[c,2,2*v],[n,1,b],[e,1,g],[e,3,3*g],[t,1,m]];return k.invert=function(t){return new Date(T(t))},k.domain=function(t){return arguments.length?A(l.a.call(t,a)):A().map(r)},k.ticks=function(t,e){var n,r=A(),a=r[0],i=r[r.length-1],o=i<a;return o&&(n=a,a=i,i=n),n=M(t,a,i,e),n=n?n.range(a,i+1):[],o?n.reverse():n},k.tickFormat=function(t,e){return null==e?j:w(e)},k.nice=function(t,e){var n=A();return(t=M(t,n[0],n[n.length-1],e))?A(Object(h.a)(n,t)):k},k.copy=function(){return Object(f.a)(k,i(t,e,n,c,s,_,x,O,w))},k}e.a=i;var o=n(11),u=n(22),c=n(101),s=n(191),l=n(17),f=n(57),h=n(189),p=1e3,d=60*p,y=60*d,v=24*y,b=7*v,g=30*v,m=365*v;e.b=function(){return i(c.j,c.f,c.i,c.a,c.b,c.d,c.g,c.c,s.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(t,e,n){"use strict";var r=n(102);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});n(192),n(193),n(409)},function(t,e,n){"use strict";function r(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function a(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function i(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function o(t){function e(t,e){return function(n){var r,a,i,o=[],u=-1,c=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++u<s;)37===t.charCodeAt(u)&&(o.push(t.slice(c,u)),null!=(a=et[r=t.charAt(++u)])?r=t.charAt(++u):a="e"===r?" ":"0",(i=e[r])&&(r=i(n,a)),o.push(r),c=u+1);return o.push(t.slice(c,u)),o.join("")}}function n(t,e){return function(n){var r=i(1900);if(o(r,t,n+="",0)!=n.length)return null;if("p"in r&&(r.H=r.H%12+12*r.p),"W"in r||"U"in r){"w"in r||(r.w="W"in r?1:0);var u="Z"in r?a(i(r.y)).getUTCDay():e(i(r.y)).getDay();r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(u+5)%7:r.w+7*r.U-(u+6)%7}return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,a(r)):e(r)}}function o(t,e,n,r){for(var a,i,o=0,u=e.length,c=n.length;o<u;){if(r>=c)return-1;if(37===(a=e.charCodeAt(o++))){if(a=e.charAt(o++),!(i=Ft[a in et?e.charAt(o++):a])||(r=i(t,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}function u(t,e,n){var r=Mt.exec(e.slice(n));return r?(t.p=kt[r[0].toLowerCase()],n+r[0].length):-1}function c(t,e,n){var r=Pt.exec(e.slice(n));return r?(t.w=Et[r[0].toLowerCase()],n+r[0].length):-1}function tt(t,e,n){var r=Tt.exec(e.slice(n));return r?(t.w=At[r[0].toLowerCase()],n+r[0].length):-1}function nt(t,e,n){var r=Nt.exec(e.slice(n));return r?(t.m=Dt[r[0].toLowerCase()],n+r[0].length):-1}function rt(t,e,n){var r=Ct.exec(e.slice(n));return r?(t.m=St[r[0].toLowerCase()],n+r[0].length):-1}function at(t,e,n){return o(t,bt,e,n)}function it(t,e,n){return o(t,gt,e,n)}function ot(t,e,n){return o(t,mt,e,n)}function ut(t){return Ot[t.getDay()]}function ct(t){return xt[t.getDay()]}function st(t){return jt[t.getMonth()]}function lt(t){return wt[t.getMonth()]}function ft(t){return _t[+(t.getHours()>=12)]}function ht(t){return Ot[t.getUTCDay()]}function pt(t){return xt[t.getUTCDay()]}function dt(t){return jt[t.getUTCMonth()]}function yt(t){return wt[t.getUTCMonth()]}function vt(t){return _t[+(t.getUTCHours()>=12)]}var bt=t.dateTime,gt=t.date,mt=t.time,_t=t.periods,xt=t.days,Ot=t.shortDays,wt=t.months,jt=t.shortMonths,Mt=s(_t),kt=l(_t),Tt=s(xt),At=l(xt),Pt=s(Ot),Et=l(Ot),Ct=s(wt),St=l(wt),Nt=s(jt),Dt=l(jt),Lt={a:ut,A:ct,b:st,B:lt,c:null,d:M,e:M,H:k,I:T,j:A,L:P,m:E,M:C,p:ft,S:S,U:N,w:D,W:L,x:null,X:null,y:R,Y:F,Z:I,"%":J},Rt={a:ht,A:pt,b:dt,B:yt,c:null,d:W,e:W,H:z,I:U,j:V,L:q,m:B,M:H,p:vt,S:Y,U:X,w:K,W:$,x:null,X:null,y:G,Y:Z,Z:Q,"%":J},Ft={a:c,A:tt,b:nt,B:rt,c:at,d:g,e:g,H:_,I:_,j:m,L:w,m:b,M:x,p:u,S:O,U:h,w:f,W:p,x:it,X:ot,y:y,Y:d,Z:v,"%":j};return Lt.x=e(gt,Lt),Lt.X=e(mt,Lt),Lt.c=e(bt,Lt),Rt.x=e(gt,Rt),Rt.X=e(mt,Rt),Rt.c=e(bt,Rt),{format:function(t){var n=e(t+="",Lt);return n.toString=function(){return t},n},parse:function(t){var e=n(t+="",r);return e.toString=function(){return t},e},utcFormat:function(t){var n=e(t+="",Rt);return n.toString=function(){return t},n},utcParse:function(t){var e=n(t,a);return e.toString=function(){return t},e}}}function u(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(e)+a:a)}function c(t){return t.replace(at,"\\$&")}function s(t){return new RegExp("^(?:"+t.map(c).join("|")+")","i")}function l(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function f(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function h(t,e,n){var r=nt.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function p(t,e,n){var r=nt.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function d(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function y(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function v(t,e,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function b(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function g(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function m(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function _(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function x(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function O(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function w(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function j(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function M(t,e){return u(t.getDate(),e,2)}function k(t,e){return u(t.getHours(),e,2)}function T(t,e){return u(t.getHours()%12||12,e,2)}function A(t,e){return u(1+tt.a.count(Object(tt.j)(t),t),e,3)}function P(t,e){return u(t.getMilliseconds(),e,3)}function E(t,e){return u(t.getMonth()+1,e,2)}function C(t,e){return u(t.getMinutes(),e,2)}function S(t,e){return u(t.getSeconds(),e,2)}function N(t,e){return u(tt.h.count(Object(tt.j)(t),t),e,2)}function D(t){return t.getDay()}function L(t,e){return u(tt.e.count(Object(tt.j)(t),t),e,2)}function R(t,e){return u(t.getFullYear()%100,e,2)}function F(t,e){return u(t.getFullYear()%1e4,e,4)}function I(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+u(e/60|0,"0",2)+u(e%60,"0",2)}function W(t,e){return u(t.getUTCDate(),e,2)}function z(t,e){return u(t.getUTCHours(),e,2)}function U(t,e){return u(t.getUTCHours()%12||12,e,2)}function V(t,e){return u(1+tt.k.count(Object(tt.t)(t),t),e,3)}function q(t,e){return u(t.getUTCMilliseconds(),e,3)}function B(t,e){return u(t.getUTCMonth()+1,e,2)}function H(t,e){return u(t.getUTCMinutes(),e,2)}function Y(t,e){return u(t.getUTCSeconds(),e,2)}function X(t,e){return u(tt.r.count(Object(tt.t)(t),t),e,2)}function K(t){return t.getUTCDay()}function $(t,e){return u(tt.o.count(Object(tt.t)(t),t),e,2)}function G(t,e){return u(t.getUTCFullYear()%100,e,2)}function Z(t,e){return u(t.getUTCFullYear()%1e4,e,4)}function Q(){return"+0000"}function J(){return"%"}e.a=o;var tt=n(101),et={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,rt=/^%/,at=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g},function(t,e,n){"use strict";function r(t){return t.toISOString()}n.d(e,"a",function(){return i});var a=n(102),i="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(a.b)(i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(103);n.d(e,"VictoryAnimation",function(){return r.a});var a=n(126);n.d(e,"VictoryContainer",function(){return a.a});var i=n(80);n.d(e,"VictoryLabel",function(){return i.a});var o=n(138);n.d(e,"VictoryTransition",function(){return o.a});var u=n(286);n.d(e,"VictorySharedEvents",function(){return u.a});var c=n(303);n.d(e,"VictoryClipContainer",function(){return c.a});var s=n(88);n.d(e,"VictoryTheme",function(){return s.a});var l=n(306);n.d(e,"VictoryLegend",function(){return l.a});var f=n(316);n.d(e,"VictoryTooltip",function(){return f.a});var h=n(82);n.d(e,"VictoryPortal",function(){return h.a});var p=n(130);n.d(e,"Portal",function(){return p.a});var d=n(317);n.d(e,"Arc",function(){return d.a});var y=n(318);n.d(e,"Area",function(){return y.a});var v=n(344);n.d(e,"Bar",function(){return v.a});var b=n(345);n.d(e,"Candle",function(){return b.a});var g=n(149);n.d(e,"ClipPath",function(){return g.a});var m=n(346);n.d(e,"Curve",function(){return m.a});var _=n(347);n.d(e,"ErrorBar",function(){return _.a});var x=n(348);n.d(e,"Line",function(){return x.a});var O=n(151);n.d(e,"Point",function(){return O.a});var w=n(349);n.d(e,"Slice",function(){return w.a});var j=n(350);n.d(e,"Voronoi",function(){return j.a});var M=n(153);n.d(e,"Flyout",function(){return M.a});var k=n(150);n.d(e,"addEvents",function(){return k.a});var T=n(3);n.d(e,"Collection",function(){return T.a});var A=n(95);n.d(e,"Data",function(){return A.a});var P=n(419);n.d(e,"DefaultTransitions",function(){return P.a});var E=n(420);n.d(e,"Domain",function(){return E.a});var C=n(87);n.d(e,"Events",function(){return C.a});var S=n(2);n.d(e,"Helpers",function(){return S.a});var N=n(84);n.d(e,"LabelHelpers",function(){return N.a});var D=n(49);n.d(e,"Log",function(){return D.a});var L=n(15);n.d(e,"PropTypes",function(){return L.a});var R=n(96);n.d(e,"Scale",function(){return R.a});var F=n(423);n.d(e,"Selection",function(){return F.a});var I=n(85);n.d(e,"Style",function(){return I.a});var W=n(89);n.d(e,"TextSize",function(){return W.a});var z=n(29);n.d(e,"Timer",function(){return z.a});var U=n(140);n.d(e,"Transitions",function(){return U.a})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(196);n.d(e,"easeLinear",function(){return r.a});var a=n(197);n.d(e,"easeQuad",function(){return a.b}),n.d(e,"easeQuadIn",function(){return a.a}),n.d(e,"easeQuadOut",function(){return a.c}),n.d(e,"easeQuadInOut",function(){return a.b});var i=n(198);n.d(e,"easeCubic",function(){return i.b}),n.d(e,"easeCubicIn",function(){return i.a}),n.d(e,"easeCubicOut",function(){return i.c}),n.d(e,"easeCubicInOut",function(){return i.b});var o=n(199);n.d(e,"easePoly",function(){return o.b}),n.d(e,"easePolyIn",function(){return o.a}),n.d(e,"easePolyOut",function(){return o.c}),n.d(e,"easePolyInOut",function(){return o.b});var u=n(200);n.d(e,"easeSin",function(){return u.b}),n.d(e,"easeSinIn",function(){return u.a}),n.d(e,"easeSinOut",function(){return u.c}),n.d(e,"easeSinInOut",function(){return u.b});var c=n(201);n.d(e,"easeExp",function(){return c.b}),n.d(e,"easeExpIn",function(){return c.a}),n.d(e,"easeExpOut",function(){return c.c}),n.d(e,"easeExpInOut",function(){return c.b});var s=n(202);n.d(e,"easeCircle",function(){return s.b}),n.d(e,"easeCircleIn",function(){return s.a}),n.d(e,"easeCircleOut",function(){return s.c}),n.d(e,"easeCircleInOut",function(){return s.b});var l=n(203);n.d(e,"easeBounce",function(){return l.c}),n.d(e,"easeBounceIn",function(){return l.a}),n.d(e,"easeBounceOut",function(){return l.c}),n.d(e,"easeBounceInOut",function(){return l.b});var f=n(204);n.d(e,"easeBack",function(){return f.b}),n.d(e,"easeBackIn",function(){return f.a}),n.d(e,"easeBackOut",function(){return f.c}),n.d(e,"easeBackInOut",function(){return f.b});var h=n(205);n.d(e,"easeElastic",function(){return h.c}),n.d(e,"easeElasticIn",function(){return h.a}),n.d(e,"easeElasticOut",function(){return h.c}),n.d(e,"easeElasticInOut",function(){return h.b})},function(t,e,n){"use strict";function r(t){return+t}e.a=r},function(t,e,n){"use strict";function r(t){return t*t}function a(t){return t*(2-t)}function i(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";function r(t){return t*t*t}function a(t){return--t*t*t+1}function i(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i});var r=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),a=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),i=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3)},function(t,e,n){"use strict";function r(t){return 1-Math.cos(t*u)}function a(t){return Math.sin(t*u)}function i(t){return(1-Math.cos(o*t))/2}e.a=r,e.c=a,e.b=i;var o=Math.PI,u=o/2},function(t,e,n){"use strict";function r(t){return Math.pow(2,10*t-10)}function a(t){return 1-Math.pow(2,-10*t)}function i(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";function r(t){return 1-Math.sqrt(1-t*t)}function a(t){return Math.sqrt(1- --t*t)}function i(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}e.a=r,e.c=a,e.b=i},function(t,e,n){"use strict";function r(t){return 1-a(1-t)}function a(t){return(t=+t)<o?y*t*t:t<c?y*(t-=u)*t+s:t<f?y*(t-=l)*t+h:y*(t-=p)*t+d}function i(t){return((t*=2)<=1?1-a(1-t):a(t-1)+1)/2}e.a=r,e.c=a,e.b=i;var o=4/11,u=6/11,c=8/11,s=.75,l=9/11,f=10/11,h=.9375,p=21/22,d=63/64,y=1/o/o},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i});var r=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),a=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),i=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158)},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o});var r=2*Math.PI,a=function t(e,n){function a(t){return e*Math.pow(2,10*--t)*Math.sin((i-t)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return a.amplitude=function(e){return t(e,n*r)},a.period=function(n){return t(e,n)},a}(1,.3),i=function t(e,n){function a(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return a.amplitude=function(e){return t(e,n*r)},a.period=function(n){return t(e,n)},a}(1,.3),o=function t(e,n){function a(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((i-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((i+t)/n))/2}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return a.amplitude=function(e){return t(e,n*r)},a.period=function(n){return t(e,n)},a}(1,.3)},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(104),a=n.n(r),i=n(27),o=n.n(i),u=n(22),c=function(t){if(null!==t)switch(typeof t){case"undefined":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return t instanceof Date||Array.isArray(t)||o()(t);case"function":return!0}return!1},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?t:e}},l=function(t,e){return function(n){return n>=1?e:function(){var r="function"==typeof t?t.apply(this,arguments):t,a="function"==typeof e?e.apply(this,arguments):e;return Object(u.a)(r,a)(n)}}},f=function(t,e){var n=function(t){return Array.isArray(t)?a()(t,"key"):t},r={},i={},h=void 0;null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(h in e)h in t?r[h]=function(t,e){return t!==e&&c(t)&&c(e)?"function"==typeof t||"function"==typeof e?l(t,e):"object"==typeof t&&o()(t)||"object"==typeof e&&o()(e)?f(t,e):Object(u.a)(t,e):s(t,e)}(n(t[h]),n(e[h])):i[h]=e[h];return function(t){for(h in r)i[h]=r[h](t);return i}},h=function(t,e){var n=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return Object(u.a)(n(t),n(e))},p=function(t,e){return t!==e&&c(t)&&c(e)?"function"==typeof t||"function"==typeof e?l(t,e):o()(t)||o()(e)?f(t,e):"string"==typeof t||"string"==typeof e?h(t,e):Object(u.a)(t,e):s(t,e)}},function(t,e){function n(t,e){for(var n=-1,r=e.length,a=t.length;++n<r;)t[a+n]=e[n];return t}t.exports=n},function(t,e,n){function r(t){return o(t)||i(t)||!!(u&&t&&t[u])}var a=n(106),i=n(38),o=n(9),u=a?a.isConcatSpreadable:void 0;t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(210))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){function r(t,e,n){var r=-1;e=a(e.length?e:[l],c(i));var f=o(t,function(t,n,i){return{criteria:a(e,function(e){return e(t)}),index:++r,value:t}});return u(f,function(t,e){return s(t,e,n)})}var a=n(39),i=n(24),o=n(235),u=n(236),c=n(113),s=n(237),l=n(43);t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||a(n,t,e)}}var a=n(213),i=n(225),o=n(109);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,s=c,l=!r;if(null==t)return!s;for(t=Object(t);c--;){var f=n[c];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++c<s;){f=n[c];var h=f[0],p=t[h],d=f[1];if(l&&f[2]){if(void 0===p&&!(h in t))return!1}else{var y=new a;if(r)var v=r(p,d,h,t,e,y);if(!(void 0===v?i(d,p,o|u,r,y):v))return!1}}return!0}var a=n(59),i=n(60),o=1,u=2;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}var a=n(40),i=Array.prototype,o=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]}var a=n(40);t.exports=r},function(t,e,n){function r(t){return a(this.__data__,t)>-1}var a=n(40);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=a(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var a=n(40);t.exports=r},function(t,e,n){function r(t,e,n,r,v,g){var m=s(t),_=s(e),x=m?d:c(t),O=_?d:c(e);x=x==p?y:x,O=O==p?y:O;var w=x==y,j=O==y,M=x==O;if(M&&l(t)){if(!l(e))return!1;m=!0,w=!1}if(M&&!w)return g||(g=new a),m||f(t)?i(t,e,n,r,v,g):o(t,e,x,n,r,v,g);if(!(n&h)){var k=w&&b.call(t,"__wrapped__"),T=j&&b.call(e,"__wrapped__");if(k||T){var A=k?t.value():t,P=T?e.value():e;return g||(g=new a),v(A,P,n,r,g)}}return!!M&&(g||(g=new a),u(t,e,n,r,v,g))}var a=n(59),i=n(220),o=n(222),u=n(223),c=n(107),s=n(9),l=n(64),f=n(65),h=1,p="[object Arguments]",d="[object Array]",y="[object Object]",v=Object.prototype,b=v.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n,r,s,l){var f=n&u,h=t.length,p=e.length;if(h!=p&&!(f&&p>h))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var y=-1,v=!0,b=n&c?new a:void 0;for(l.set(t,e),l.set(e,t);++y<h;){var g=t[y],m=e[y];if(r)var _=f?r(m,g,y,e,t,l):r(g,m,y,t,e,l);if(void 0!==_){if(_)continue;v=!1;break}if(b){if(!i(e,function(t,e){if(!o(b,e)&&(g===t||s(g,t,n,r,l)))return b.push(e)})){v=!1;break}}else if(g!==m&&!s(g,m,n,r,l)){v=!1;break}}return l.delete(t),l.delete(e),v}var a=n(61),i=n(221),o=n(62),u=1,c=2;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t,e,n,r,o,c){var s=n&i,l=a(t),f=l.length;if(f!=a(e).length&&!s)return!1;for(var h=f;h--;){var p=l[h];if(!(s?p in e:u.call(e,p)))return!1}var d=c.get(t);if(d&&c.get(e))return d==e;var y=!0;c.set(t,e),c.set(e,t);for(var v=s;++h<f;){p=l[h];var b=t[p],g=e[p];if(r)var m=s?r(g,b,p,e,t,c):r(b,g,p,t,e,c);if(!(void 0===m?b===g||o(b,g,n,r,c):m)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var _=t.constructor,x=e.constructor;_!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(y=!1)}return c.delete(t),c.delete(e),y}var a=n(224),i=1,o=Object.prototype,u=o.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(41),a=r(Object.keys,Object);t.exports=a},function(t,e,n){function r(t){for(var e=i(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,a(o)]}return e}var a=n(108),i=n(26);t.exports=r},function(t,e,n){function r(t,e){return u(t)&&c(e)?s(l(t),e):function(n){var r=i(n,t);return void 0===r&&r===e?o(n,t):a(e,r,f|h)}}var a=n(60),i=n(227),o=n(111),u=n(67),c=n(108),s=n(109),l=n(20),f=1,h=2;t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?void 0:a(t,e);return void 0===r?n:r}var a=n(42);t.exports=r},function(t,e,n){var r=n(229),a=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,u=r(function(t){var e=[];return a.test(t)&&e.push(""),t.replace(i,function(t,n,r,a){e.push(r?a.replace(o,"$1"):n||t)}),e});t.exports=u},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if("string"==typeof t)return t;if(o(t))return i(t,r)+"";if(u(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}var a=n(106),i=n(39),o=n(9),u=n(19),c=1/0,s=a?a.prototype:void 0,l=s?s.toString:void 0;t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=a(e,t);for(var r=-1,l=e.length,f=!1;++r<l;){var h=s(e[r]);if(!(f=null!=t&&n(t,h)))break;t=t[h]}return f||++r!=l?f:!!(l=null==t?0:t.length)&&c(l)&&u(h,l)&&(o(t)||i(t))}var a=n(18),i=n(38),o=n(9),u=n(68),c=n(112),s=n(20);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return a(e,t)}}var a=n(42);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,a=Array(r);++n<r;)a[n]=e(t[n],n,t);return a}t.exports=n},function(t,e){function n(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}t.exports=n},function(t,e,n){function r(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,u=i.length,c=n.length;++r<u;){var s=a(i[r],o[r]);if(s){if(r>=c)return s;return s*("desc"==n[r]?-1:1)}}return t.index-e.index}var a=n(238);t.exports=r},function(t,e,n){function r(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t===t,o=a(t),u=void 0!==e,c=null===e,s=e===e,l=a(e);if(!c&&!l&&!o&&t>e||o&&u&&s&&!c&&!l||r&&u&&s||!n&&s||!i)return 1;if(!r&&!o&&!l&&t<e||l&&n&&i&&!r&&!o||c&&n&&i||!u&&i||!s)return-1}return 0}var a=n(19);t.exports=r},function(t,e,n){"use strict";function r(t){if(t instanceof i)return new i(t.l,t.a,t.b,t.opacity);if(t instanceof h){var e=t.h*y.a;return new i(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof d.b||(t=Object(d.h)(t));var n=s(t.r),r=s(t.g),a=s(t.b),u=o((.4124564*n+.3575761*r+.1804375*a)/v),c=o((.2126729*n+.7151522*r+.072175*a)/b);return new i(116*c-16,500*(u-c),200*(c-o((.0193339*n+.119192*r+.9503041*a)/g)),t.opacity)}function a(t,e,n,a){return 1===arguments.length?r(t):new i(t,e,n,null==a?1:a)}function i(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function o(t){return t>O?Math.pow(t,1/3):t/x+m}function u(t){return t>_?t*t*t:x*(t-m)}function c(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function s(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function l(t){if(t instanceof h)return new h(t.h,t.c,t.l,t.opacity);t instanceof i||(t=r(t));var e=Math.atan2(t.b,t.a)*y.b;return new h(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function f(t,e,n,r){return 1===arguments.length?l(t):new h(t,e,n,null==r?1:r)}function h(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}e.a=a,e.b=f;var p=n(73),d=n(72),y=n(118),v=.95047,b=1,g=1.08883,m=4/29,_=6/29,x=3*_*_,O=_*_*_;Object(p.a)(i,a,Object(p.b)(d.a,{brighter:function(t){return new i(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new i(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=b*u(t),e=v*u(e),n=g*u(n),new d.b(c(3.2404542*e-1.5371385*t-.4985314*n),c(-.969266*e+1.8760108*t+.041556*n),c(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),Object(p.a)(h,f,Object(p.b)(d.a,{brighter:function(t){return new h(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new h(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return r(this).rgb()}}))},function(t,e,n){"use strict";function r(t){if(t instanceof i)return new i(t.h,t.s,t.l,t.opacity);t instanceof u.b||(t=Object(u.h)(t));var e=t.r/255,n=t.g/255,r=t.b/255,a=(v*r+d*e-y*n)/(v+d-y),o=r-a,s=(p*(n-a)-f*o)/h,l=Math.sqrt(s*s+o*o)/(p*a*(1-a)),b=l?Math.atan2(s,o)*c.b-120:NaN;return new i(b<0?b+360:b,l,a,t.opacity)}function a(t,e,n,a){return 1===arguments.length?r(t):new i(t,e,n,null==a?1:a)}function i(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}e.a=a;var o=n(73),u=n(72),c=n(118),s=-.14861,l=1.78277,f=-.29227,h=-.90649,p=1.97294,d=p*h,y=p*l,v=l*f-h*s;Object(o.a)(i,a,Object(o.b)(u.a,{brighter:function(t){return t=null==t?u.c:Math.pow(u.c,t),new i(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u.d:Math.pow(u.d,t),new i(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*c.a,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),a=Math.sin(t);return new u.b(255*(e+n*(s*r+l*a)),255*(e+n*(f*r+h*a)),255*(e+n*(p*r)),this.opacity)}}))},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}}},function(t,e,n){"use strict";function r(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,u,c){if(t!==i||r!==o){var s=u.push("translate(",null,e,null,n);c.push({i:s-4,x:Object(a.a)(t,i)},{i:s-2,x:Object(a.a)(r,o)})}else(i||o)&&u.push("translate("+i+e+o+n)}function u(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Object(a.a)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function c(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Object(a.a)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function s(t,e,n,r,o,u){if(t!==n||e!==r){var c=o.push(i(o)+"scale(",null,",",null,")");u.push({i:c-4,x:Object(a.a)(t,n)},{i:c-2,x:Object(a.a)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],a=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,a),u(e.rotate,n.rotate,r,a),c(e.skewX,n.skewX,r,a),s(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,a),e=n=null,function(t){for(var e,n=-1,i=a.length;++n<i;)r[(e=a[n]).i]=e.x(t);return r.join("")}}}var a=n(45),i=n(243);r(i.a,"px, ","px)","deg)"),r(i.b,", ",")",")")},function(t,e,n){"use strict";function r(t){return"none"===t?s.b:(i||(i=document.createElement("DIV"),o=document.documentElement,u=document.defaultView),i.style.transform=t,t=u.getComputedStyle(o.appendChild(i),null).getPropertyValue("transform"),o.removeChild(i),t=t.slice(7,-1).split(","),Object(s.a)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function a(t){return null==t?s.b:(c||(c=document.createElementNS("http://www.w3.org/2000/svg","g")),c.setAttribute("transform",t),(t=c.transform.baseVal.consolidate())?(t=t.matrix,Object(s.a)(t.a,t.b,t.c,t.d,t.e,t.f)):s.b)}e.a=r,e.b=a;var i,o,u,c,s=n(244)},function(t,e,n){"use strict";n.d(e,"b",function(){return a});var r=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};e.a=function(t,e,n,a,i,o){var u,c,s;return(u=Math.sqrt(t*t+e*e))&&(t/=u,e/=u),(s=t*n+e*a)&&(n-=t*s,a-=e*s),(c=Math.sqrt(n*n+a*a))&&(n/=c,a/=c,s/=c),t*a<e*n&&(t=-t,e=-e,s=-s,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*r,skewX:Math.atan(s)*r,scaleX:u,scaleY:c}}},function(t,e,n){"use strict";Math.SQRT2},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t((e=Object(a.d)(e)).h,(n=Object(a.d)(n)).h),o=Object(i.a)(e.s,n.s),u=Object(i.a)(e.l,n.l),c=Object(i.a)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=o(t),e.l=u(t),e.opacity=c(t),e+""}}}var a=n(13),i=n(28);r(i.c),r(i.a)},function(t,e,n){"use strict";n(13),n(28)},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t((e=Object(a.c)(e)).h,(n=Object(a.c)(n)).h),o=Object(i.a)(e.c,n.c),u=Object(i.a)(e.l,n.l),c=Object(i.a)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=o(t),e.l=u(t),e.opacity=c(t),e+""}}}var a=n(13),i=n(28);r(i.c),r(i.a)},function(t,e,n){"use strict";function r(t){return function e(n){function r(e,r){var o=t((e=Object(a.b)(e)).h,(r=Object(a.b)(r)).h),u=Object(i.a)(e.s,r.s),c=Object(i.a)(e.l,r.l),s=Object(i.a)(e.opacity,r.opacity);return function(t){return e.h=o(t),e.s=u(t),e.l=c(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}n.d(e,"a",function(){return o});var a=n(13),i=n(28),o=(r(i.c),r(i.a))},function(t,e,n){"use strict"},function(t,e,n){"use strict";var r=n(75);n.d(e,"a",function(){return r.b}),n.d(e,"b",function(){return r.c});n(252),n(253)},function(t,e,n){"use strict";n(75)},function(t,e,n){"use strict";n(75)},function(t,e,n){function r(t){var e=++i;return a(t)+e}var a=n(110),i=0;t.exports=r},function(t,e,n){var r=n(30),a=n(46),i=n(47),o=a(function(t,e,n,a){r(e,i(e),t,a)});t.exports=o},function(t,e,n){var r=n(257),a=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=a},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n,r){return void 0===t||a(t,i[n])&&!o.call(r,n)?e:t}var a=n(25),i=Object.prototype,o=i.hasOwnProperty;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e){return e=a(e,t),null==(t=o(t,e))||delete t[u(i(e))]}var a=n(18),i=n(127),o=n(261),u=n(20);t.exports=r},function(t,e,n){function r(t,e){return e.length<2?t:a(t,i(e,0,-1))}var a=n(42),i=n(262);t.exports=r},function(t,e){function n(t,e,n){var r=-1,a=t.length;e<0&&(e=-e>a?0:a+e),n=n>a?a:n,n<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(a);++r<a;)i[r]=t[r+e];return i}t.exports=n},function(t,e,n){function r(t){return a(t)?void 0:t}var a=n(27);t.exports=r},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},function(t,e,n){function r(t,e,n,l,f){t!==e&&o(e,function(o,s){if(c(o))f||(f=new a),u(t,e,s,n,r,l,f);else{var h=l?l(t[s],o,s+"",t,e,f):void 0;void 0===h&&(h=o),i(t,s,h)}},s)}var a=n(59),i=n(131),o=n(266),u=n(268),c=n(10),s=n(47);t.exports=r},function(t,e,n){var r=n(267),a=r();t.exports=a},function(t,e){function n(t){return function(e,n,r){for(var a=-1,i=Object(e),o=r(e),u=o.length;u--;){var c=o[t?u:++a];if(!1===n(i[c],c,i))break}return e}}t.exports=n},function(t,e,n){function r(t,e,n,r,g,m,_){var x=t[n],O=e[n],w=_.get(O);if(w)return void a(t,n,w);var j=m?m(x,O,n+"",t,e,_):void 0,M=void 0===j;if(M){var k=l(O),T=!k&&h(O),A=!k&&!T&&v(O);j=O,k||T||A?l(x)?j=x:f(x)?j=u(x):T?(M=!1,j=i(O,!0)):A?(M=!1,j=o(O,!0)):j=[]:y(O)||s(O)?(j=x,s(x)?j=b(x):(!d(x)||r&&p(x))&&(j=c(O))):M=!1}M&&(_.set(O,j),g(j,O,r,m,_),_.delete(O)),a(t,n,j)}var a=n(131),i=n(269),o=n(271),u=n(132),c=n(274),s=n(38),l=n(9),f=n(134),h=n(64),p=n(6),d=n(10),y=n(27),v=n(65),b=n(275);t.exports=r},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}var a=n(14),i="object"==typeof e&&e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=o&&o.exports===i,c=u?a.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=r}).call(e,n(270)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){function r(t,e){var n=e?a(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var a=n(272);t.exports=r},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new a(e).set(new a(t)),e}var a=n(273);t.exports=r},function(t,e,n){var r=n(14),a=r.Uint8Array;t.exports=a},function(t,e,n){function r(t){return"function"!=typeof t.constructor||o(t)?{}:a(i(t))}var a=n(133),i=n(117),o=n(79);t.exports=r},function(t,e,n){function r(t){return a(t,i(t))}var a=n(30),i=n(47);t.exports=r},function(t,e,n){var r=n(277),a=n(278),i=r(a);t.exports=i},function(t,e,n){function r(t){return function(e,n,r){var u=Object(e);if(!i(e)){var c=a(n,3);e=o(e),n=function(t){return c(u[t],t,u)}}var s=t(e,n,r);return s>-1?u[c?e[s]:s]:void 0}}var a=n(24),i=n(48),o=n(26);t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var c=null==n?0:o(n);return c<0&&(c=u(r+c,0)),a(t,i(e,3),c)}var a=n(279),i=n(24),o=n(135),u=Math.max;t.exports=r},function(t,e){function n(t,e,n,r){for(var a=t.length,i=n+(r?1:-1);r?i--:++i<a;)if(e(t[i],i,t))return i;return-1}t.exports=n},function(t,e,n){function r(t){if("number"==typeof t)return t;if(i(t))return o;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var n=s.test(t);return n||l.test(t)?f(t.slice(2),n?2:8):c.test(t)?o:+t}var a=n(10),i=n(19),o=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt;t.exports=r},function(t,e,n){var r=n(41),a=r(Object.keys,Object);t.exports=a},function(t,e){function n(t,e,n,r){var a=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++a]);++a<i;)n=e(n,t[a],a,t);return n}t.exports=n},function(t,e,n){function r(t,e){return a(t,e,function(e,n){return i(t,n)})}var a=n(284),i=n(111);t.exports=r},function(t,e,n){function r(t,e,n){for(var r=-1,u=e.length,c={};++r<u;){var s=e[r],l=a(t,s);n(l,s)&&i(c,o(s,t),l)}return c}var a=n(42),i=n(285),o=n(18);t.exports=r},function(t,e,n){function r(t,e,n,r){if(!u(t))return t;e=i(e,t);for(var s=-1,l=e.length,f=l-1,h=t;null!=h&&++s<l;){var p=c(e[s]),d=n;if(s!=f){var y=h[p];d=r?r(y,p,h):void 0,void 0===d&&(d=u(y)?y:o(e[s+1])?[]:{})}a(h,p,d),h=h[p]}return t}var a=n(76),i=n(18),o=n(68),u=n(10),c=n(20);t.exports=r},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(287),c=n.n(u),s=n(7),l=n.n(s),f=n(86),h=n.n(f),p=n(6),d=n.n(p),y=n(4),v=n.n(y),b=n(0),g=n.n(b),m=n(1),_=n.n(m),x=n(15),O=n(87),w=n(2),j=n(29),M=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t){function e(){a(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.state=t.state||{},t.getScopedEvents=O.a.getScopedEvents.bind(t),t.getEventState=O.a.getEventState.bind(t),t.getTimer=t.getTimer.bind(t),t}return o(e,t),M(e,[{key:"getChildContext",value:function(){return{getTimer:this.getTimer}}},{key:"componentWillMount",value:function(){this.setUpChildren(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.setUpChildren(t)}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new j.a),this.timer)}},{key:"getAllEvents",value:function(t){var e=["container","groupComponent"];if(this.componentEvents=O.a.getComponentEvents(t,e),Array.isArray(this.componentEvents)){var n;return Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,r(t.events)):this.componentEvents}return t.events}},{key:"setUpChildren",value:function(t){if(this.events=this.getAllEvents(t),this.events){this.childComponents=g.a.Children.toArray(t.children);var e=this.getBasePropsFromChildren(this.childComponents),n=t.container?t.container.props:{};this.baseProps=v()({},e,{parent:n})}}},{key:"getBasePropsFromChildren",value:function(t){var e=function(t,e,n){if(t.type&&d()(t.type.getBaseProps)){t=n?g.a.cloneElement(t,n.props):t;var r=t.props&&t.type.getBaseProps(t.props);return r?[[e,r]]:null}return null},n=w.a.reduceChildren(t,e);return c()(n)}},{key:"getNewChildren",value:function(t){var e=this,n=t.events,r=t.eventKey,a=Object.keys(this.baseProps),i=function(t){return t.reduce(function(t,o,u){if(o.props.children)return t.concat(g.a.cloneElement(o,o.props,i(g.a.Children.toArray(o.props.children))));if(o.type&&d()(o.type.getBaseProps)){var c=o.props.name||a.shift()||u,s=Array.isArray(n)&&n.filter(function(t){return"parent"!==t.target&&(Array.isArray(t.childName)?t.childName.indexOf(c)>-1:t.childName===c||"all"===t.childName)}),l={events:s,getEvents:h()(e.getScopedEvents,c,e.baseProps),getEventState:h()(e.getEventState,c)};return t.concat(g.a.cloneElement(o,v()({key:"events-"+c,sharedEvents:l,eventKey:r},o.props)))}return t.concat(o)},[])};return i(this.childComponents)}},{key:"getContainer",value:function(t,e){var n=Array.isArray(this.events)&&this.events.filter(function(t){return"parent"===t.target}),r=n.length>0?{events:n,getEvents:h()(this.getScopedEvents,null,this.baseProps),getEventState:h()(this.getEventState,null)}:null,a=this.props.container||this.props.groupComponent,i=a.type&&a.type.role,o=a.props||{},u=O.a.getEvents.bind(this),c=r&&u({sharedEvents:r},"parent"),s=l()({},this.getEventState("parent","parent"),o,this.baseProps.parent,{children:e}),f=l()({},O.a.getPartialEvents(c,"parent",s),o.events);return"container"===i?g.a.cloneElement(a,v()({},s,{events:f})):g.a.cloneElement(a,f,e)}},{key:"render",value:function(){if(this.events){var t=this.getNewChildren(this.props);return this.getContainer(this.props,t)}return g.a.cloneElement(this.props.container,{children:this.props.children})}}]),e}(g.a.Component);k.displayName="VictorySharedEvents",k.role="shared-event-wrapper",k.propTypes={children:_.a.oneOfType([_.a.arrayOf(_.a.node),_.a.node]),container:_.a.node,eventKey:_.a.oneOfType([_.a.array,_.a.func,x.a.allOfType([x.a.integer,x.a.nonNegative]),_.a.string]),events:_.a.arrayOf(_.a.shape({childName:_.a.oneOfType([_.a.string,_.a.array]),eventHandlers:_.a.object,eventKey:_.a.oneOfType([_.a.array,_.a.func,x.a.allOfType([x.a.integer,x.a.nonNegative]),_.a.string]),target:_.a.string})),groupComponent:_.a.node},k.defaultProps={groupComponent:g.a.createElement("g",null)},k.contextTypes={getTimer:_.a.func},k.childContextTypes={getTimer:_.a.func},e.a=k},function(t,e){function n(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var a=t[e];r[a[0]]=a[1]}return r}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e,n){function r(){return(this&&this!==i&&this instanceof r?c:t).apply(u?n:this,arguments)}var u=e&o,c=a(t);return r}var a=n(50),i=n(14),o=1;t.exports=r},function(t,e,n){function r(t,e,n){function r(){for(var i=arguments.length,h=Array(i),p=i,d=c(r);p--;)h[p]=arguments[p];var y=i<3&&h[0]!==d&&h[i-1]!==d?[]:s(h,d);return(i-=y.length)<n?u(t,e,o,r.placeholder,void 0,h,y,void 0,void 0,n-i):a(this&&this!==l&&this instanceof r?f:t,this,h)}var f=i(t);return r}var a=n(44),i=n(50),o=n(142),u=n(143),c=n(51),s=n(52),l=n(14);t.exports=r},function(t,e){function n(t,e,n,a){for(var i=-1,o=t.length,u=n.length,c=-1,s=e.length,l=r(o-u,0),f=Array(s+l),h=!a;++c<s;)f[c]=e[c];for(;++i<u;)(h||i<o)&&(f[n[i]]=t[i]);for(;l--;)f[c++]=t[i++];return f}var r=Math.max;t.exports=n},function(t,e){function n(t,e,n,a){for(var i=-1,o=t.length,u=-1,c=n.length,s=-1,l=e.length,f=r(o-c,0),h=Array(f+l),p=!a;++i<f;)h[i]=t[i];for(var d=i;++s<l;)h[d+s]=e[s];for(;++u<c;)(p||i<o)&&(h[d+n[u]]=t[i++]);return h}var r=Math.max;t.exports=n},function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length,r=o(e.length,n),u=a(t);r--;){var c=e[r];t[r]=i(c,n)?u[c]:void 0}return t}var a=n(132),i=n(68),o=Math.min;t.exports=r},function(t,e,n){function r(t,e,n,r){function c(){for(var e=-1,i=arguments.length,u=-1,f=r.length,h=Array(f+i),p=this&&this!==o&&this instanceof c?l:t;++u<f;)h[u]=r[u];for(;i--;)h[u++]=arguments[++e];return a(p,s?n:this,h)}var s=e&u,l=i(t);return c}var a=n(44),i=n(50),o=n(14),u=1;t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e,n,r){var f=-1,h=i,p=!0,d=t.length,y=[],v=e.length;if(!d)return y;n&&(e=u(e,c(n))),r?(h=o,p=!1):e.length>=l&&(h=s,p=!1,e=new a(e));t:for(;++f<d;){var b=t[f],g=null==n?b:n(b);if(b=r||0!==b?b:0,p&&g===g){for(var m=v;m--;)if(e[m]===g)continue t;y.push(b)}else h(e,g,r)||y.push(b)}return y}var a=n(61),i=n(147),o=n(148),u=n(39),c=n(113),s=n(62),l=200;t.exports=r},function(t,e,n){var r=n(21),a=n(141),i=n(51),o=n(52),u=r(function(t,e){var n=o(e,i(u));return a(t,32,void 0,e,n)});u.placeholder={},t.exports=u},function(t,e,n){t.exports=n(302)},function(t,e,n){var r=n(30),a=n(46),i=n(47),o=a(function(t,e){r(e,i(e),t)});t.exports=o},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(6),c=n.n(u),s=n(7),l=n.n(s),f=n(4),h=n.n(f),p=n(0),d=n.n(p),y=n(1),v=n.n(y),b=n(149),g=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},m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.clipId=void 0!==t.clipId?t.clipId:Math.round(1e4*Math.random()),n}return o(e,t),m(e,[{key:"renderClippedGroup",value:function(t,e){var n=t.style,r=t.events,a=t.transform,i=t.children,o=t.className,u=this.renderClipComponent(t,e);return d.a.createElement("g",g({className:o,style:n},r,{transform:a}),u,d.a.createElement("g",{clipPath:"url(#"+e+")"},i))}},{key:"renderGroup",value:function(t){var e=t.style,n=t.events,r=t.transform,a=t.children,i=t.className;return d.a.createElement("g",g({className:i,style:e},n,{transform:r}),a)}},{key:"renderClipComponent",value:function(t,e){return d.a.cloneElement(t.clipPathComponent,h()({},t,{clipId:e}))}},{key:"getClipValue",value:function(t,e){var n={x:t.clipWidth,y:t.clipHeight};if(void 0!==n[e])return n[e];var r=this.getRange(t,e);return r?Math.abs(r[0]-r[1])||void 0:void 0}},{key:"getTranslateValue",value:function(t,e){var n={x:t.translateX,y:t.translateY};if(void 0!==n[e])return n[e];var a=this.getRange(t,e);return a?Math.min.apply(Math,r(a)):void 0}},{key:"getRange",value:function(t,e){var n=t.scale||{};if(n[e])return c()(n[e].range)?n[e].range():void 0}},{key:"render",value:function(){var t=this.getClipValue(this.props,"y"),e=this.getClipValue(this.props,"x");if(void 0===e||void 0===t)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),a=l()({},this.props,{clipHeight:t,clipWidth:e,translateX:n,translateY:r});return this.renderClippedGroup(a,this.clipId)}}]),e}(d.a.Component);_.displayName="VictoryClipContainer",_.role="container",_.propTypes={children:v.a.oneOfType([v.a.arrayOf(v.a.node),v.a.node]),className:v.a.string,clipHeight:v.a.number,clipId:v.a.number,clipPadding:v.a.shape({top:v.a.number,bottom:v.a.number,left:v.a.number,right:v.a.number}),clipPathComponent:v.a.element,clipWidth:v.a.number,events:v.a.object,origin:v.a.shape({x:v.a.number,y:v.a.number}),polar:v.a.bool,radius:v.a.number,style:v.a.object,transform:v.a.string,translateX:v.a.number,translateY:v.a.number},_.defaultProps={clipPathComponent:d.a.createElement(b.a,null)},e.a=_},function(t,e,n){"use strict";var r=n(4),a=n.n(r),i=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],o={width:350,height:350,padding:50},u={fontFamily:"'Roboto', 'Helvetica Neue', Helvetica, sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:"#455A64",stroke:"transparent",strokeWidth:0},c=a()({textAnchor:"middle"},u);e.a={area:a()({style:{data:{fill:"#212121"},labels:c}},o),axis:a()({style:{axis:{fill:"transparent",stroke:"#90A4AE",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:8,stroke:"transparent"}),grid:{fill:"transparent",stroke:"#ECEFF1",strokeDasharray:"10, 5",strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"none"},ticks:{fill:"transparent",size:5,stroke:"#90A4AE",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},tickLabels:a()({},u,{fill:"#455A64"})}},o),bar:a()({style:{data:{fill:"#455A64",padding:8,strokeWidth:0},labels:u}},o),candlestick:a()({style:{data:{stroke:"#455A64"},labels:c},candleColors:{positive:"#ffffff",negative:"#455A64"}},o),chart:o,errorbar:a()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},o),group:a()({colorScale:i},o),line:a()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},o),pie:a()({colorScale:i,style:{data:{padding:8,stroke:"#ECEFF1",strokeWidth:1},labels:a()({},u,{padding:20})}},o),scatter:a()({style:{data:{fill:"#455A64",opacity:1,stroke:"transparent",strokeWidth:0},labels:c}},o),stack:a()({colorScale:i},o),tooltip:{style:a()({},c,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:a()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:a()({},c,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},o),legend:{colorScale:i,gutter:10,orientation:"vertical",style:{data:{type:"circle"},labels:u},symbolSpacer:8}}},function(t,e,n){"use strict";var r=n(4),a=n.n(r),i=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],o={width:450,height:300,padding:50,colorScale:i},u={fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:"#252525",stroke:"transparent"},c=a()({textAnchor:"middle"},u);e.a={area:a()({style:{data:{fill:"#252525"},labels:c}},o),axis:a()({style:{axis:{fill:"transparent",stroke:"#252525",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:25}),grid:{fill:"transparent",stroke:"transparent",pointerEvents:"none"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:u}},o),bar:a()({style:{data:{fill:"#252525",padding:8,strokeWidth:0},labels:u}},o),candlestick:a()({style:{data:{stroke:"#252525",strokeWidth:1},labels:c},candleColors:{positive:"#ffffff",negative:"#252525"}},o),chart:o,errorbar:a()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},o),group:a()({colorScale:i},o),line:a()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},o),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:a()({},u,{padding:20})},colorScale:i,width:400,height:400,padding:50},scatter:a()({style:{data:{fill:"#252525",stroke:"transparent",strokeWidth:0},labels:c}},o),stack:a()({colorScale:i},o),tooltip:{style:a()({},c,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:a()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:a()({},c,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},o),legend:{colorScale:i,gutter:10,orientation:"vertical",style:{data:{type:"circle"},labels:u},symbolSpacer:8}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(86),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(307),p=n(15),d=n(150),y=n(2),v=n(80),b=n(126),g=n(88),m=n(151),_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x={orientation:"vertical",x:0,y:0},O=[{name:"Series 1"},{name:"Series 2"}],w=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),_(e,[{key:"render",value:function(){var t=this.constructor.role,e=y.a.modifyProps(this.props,x,t),n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(s.a.Component);w.displayName="VictoryLegend",w.role="legend",w.propTypes={colorScale:f.a.oneOfType([f.a.arrayOf(f.a.string),f.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:f.a.element,data:f.a.arrayOf(f.a.shape({name:f.a.string.isRequired,label:f.a.object,symbol:f.a.object})),dataComponent:f.a.element,eventKey:f.a.oneOfType([f.a.func,p.a.allOfType([p.a.integer,p.a.nonNegative]),f.a.string]),events:f.a.arrayOf(f.a.shape({target:f.a.oneOf(["data","labels","parent"]),eventKey:f.a.oneOfType([f.a.array,p.a.allOfType([p.a.integer,p.a.nonNegative]),f.a.string]),eventHandlers:f.a.object})),groupComponent:f.a.element,gutter:f.a.number,height:f.a.oneOfType([p.a.nonNegative,f.a.func]),itemsPerRow:f.a.number,labelComponent:f.a.element,orientation:f.a.oneOf(["horizontal","vertical"]),padding:f.a.oneOfType([f.a.number,f.a.shape({top:f.a.number,bottom:f.a.number,left:f.a.number,right:f.a.number})]),sharedEvents:f.a.shape({events:f.a.array,getEventState:f.a.func}),standalone:f.a.bool,style:f.a.shape({data:f.a.object,labels:f.a.object,parent:f.a.object}),symbolSpacer:f.a.number,theme:f.a.object,width:f.a.oneOfType([p.a.nonNegative,f.a.func]),x:f.a.number,y:f.a.number},w.defaultProps={data:O,containerComponent:s.a.createElement(b.a,null),dataComponent:s.a.createElement(m.a,null),groupComponent:s.a.createElement("g",null),labelComponent:s.a.createElement(v.a,null),standalone:!0,theme:g.a.grayscale},w.getBaseProps=u()(h.a,x),w.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(d.a)(w)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(308),i=n.n(a),o=n(310),u=n.n(o),c=n(4),s=n.n(c),l=n(7),f=n.n(l),h=n(2),p=n(85),d=n(89),y=function(t,e){var n=t.gutter,r=t.itemsPerRow,a=t.padding,o=t.isHorizontal,c=e.length,s=r?Math.ceil(c/r):1,l=o?u()(e,"height").height*s+n*(s-1):(i()(e,"height")+n*(c-1))/s;return a.top+l+a.bottom},v=function(t,e,n){var r=t.gutter,a=t.itemsPerRow,i=t.symbolSpacer,o=t.padding,u=t.isHorizontal,c=a?Math.ceil(e/a):1,s=a||e,l=void 0;if(u){l=3*i*s+n*s+r*s}else l=(n+2*i+r)*c;return o.left+l+o.right},b=function(t){var e=t.colorScale;return"string"==typeof e?p.a.getColorScale(e):e||[]},g=function(t){var e=t.data,n=t.style;return e.map(function(t){var e=f()({},t.labels,n.labels);return h.a.evaluateStyle(e,t)})},m=function(t,e){return t.data.map(function(t,n){return d.a.approximateTextSize(t.name,e[n])})},_=function(t){var e=t.orientation,n=t.theme,r=n&&n.legend&&n.legend.style?n.legend.style:{},a=h.a.getStyles(t.style,r),i=b(t),o="horizontal"===e,u=h.a.getPadding(t);return s()({},t,{style:a,isHorizontal:o,colorScale:i,padding:u})},x=function(t,e){return t.symbol&&t.symbol.size?t.symbol.size:e/2.5};e.a=function(t,e){var n=h.a.modifyProps(t,e,"legend");t=s()({},n,_(n));var a=t,i=a.data,o=a.standalone,u=a.theme,c=a.padding,l=a.style,p=a.colorScale,d=a.itemsPerRow,b=a.gutter,O=a.isHorizontal,w=a.symbolSpacer,j=g(t),M=m(t,j),k=Math.max.apply(Math,r(M.map(function(t){return t.width}))),T=t.height||y(t,M),A=t.width||v(t,M.width,k),P={parent:{width:A,height:T,data:i,standalone:o,theme:u,padding:c,style:l.parent}};return i.reduce(function(t,e,n){var r=j[n].fontSize,a=r/2,o=r+w,u=r+b,s=d?n%d:n,h=d?Math.floor(n/d):0,y=d?u*h:0,v=e.eventKey||n,g=O?c.top+a+y:c.top+a+u*s,m=p[n%p.length],_=f()({},e.symbol,l.data,{fill:m}),M={index:n,data:i,datum:e,key:"legend-symbol-"+n,symbol:_.type||"circle",size:x(e,r),style:_,y:g,x:O?c.left+a+(r+w+k+b)*s:c.left+a+(u+k)*h},T={datum:e,data:i,key:"legend-label-"+n,text:e.name,style:j[n],y:g,x:O?c.left+o*(s+1)+(k+b)*s:c.left+o+(u+k)*h};return t[v]={data:M,labels:T},t},P)}},function(t,e,n){function r(t,e){return t&&t.length?i(t,a(e,2)):0}var a=n(24),i=n(309);t.exports=r},function(t,e){function n(t,e){for(var n,r=-1,a=t.length;++r<a;){var i=e(t[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}t.exports=n},function(t,e,n){function r(t,e){return t&&t.length?a(t,o(e,2),i):void 0}var a=n(311),i=n(312),o=n(24);t.exports=r},function(t,e,n){function r(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],u=e(o);if(null!=u&&(void 0===c?u===u&&!a(u):n(u,c)))var c=u,s=o}return s}var a=n(19);t.exports=r},function(t,e){function n(t,e){return t>e}t.exports=n},function(t,e,n){"use strict";var r=n(152),a=n.n(r);e.a={circle:function(t,e,n){var r=Math.round(n);return"M "+Math.round(t)+", "+Math.round(e)+" m "+-r+", 0\n a "+r+", "+r+" 0 1,0 "+2*r+",0\n a "+r+", "+r+" 0 1,0 "+2*-r+",0"},square:function(t,e,n){var r=.87*n,a=Math.round(t-r),i=Math.round(t+r),o=Math.round(e-r),u=Math.round(e+r);return"M "+a+", "+u+"\n L "+i+", "+u+"\n L "+i+", "+o+"\n L "+a+", "+o+"\n z"},diamond:function(t,e,n){var r=.87*n,a=Math.sqrt(r*r*2);return"M "+Math.round(t)+", "+Math.round(e+a)+"\n L "+Math.round(t+a)+", "+Math.round(e)+"\n L "+Math.round(t)+", "+Math.round(e-a)+"\n L "+Math.round(t-a)+", "+Math.round(e)+"\n z"},triangleDown:function(t,e,n){var r=n/2*Math.sqrt(3),a=Math.round(t-n),i=Math.round(t+n),o=Math.round(e-n),u=Math.round(e+r);return"M "+a+", "+o+"\n L "+i+", "+o+"\n L "+Math.round(t)+", "+u+"\n z"},triangleUp:function(t,e,n){var r=n/2*Math.sqrt(3),a=Math.round(t-n),i=Math.round(t+n),o=Math.round(e-r),u=Math.round(e+n);return"M "+a+", "+u+"\n L "+i+", "+u+"\n L "+Math.round(t)+", "+o+"\n z"},plus:function(t,e,n){var r=1.1*n;return"M "+Math.round(t-r/2.5)+", "+Math.round(e+r)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e+r)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e+r/2.5)+"\n L "+Math.round(t+r)+", "+Math.round(e+r/2.5)+"\n L "+Math.round(t+r)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t+r/2.5)+", "+Math.round(e-r)+"\n L "+Math.round(t-r/2.5)+", "+Math.round(e-r)+"\n L "+Math.round(t-r/2.5)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t-r)+", "+Math.round(e-r/2.5)+"\n L "+Math.round(t-r)+", "+Math.round(e+r/2.5)+"\n L "+Math.round(t-r/2.5)+", "+Math.round(e+r/2.5)+"\n z"},star:function(t,e,n){var r=1.35*n,i=Math.PI/5;return"M "+a()(10).map(function(n){var a=n%2==0?r:r/2;return a*Math.sin(i*(n+1))+t+",\n "+(a*Math.cos(i*(n+1))+e)}).join("L")+" z"}}},function(t,e,n){function r(t){return function(e,n,r){return r&&"number"!=typeof r&&i(e,n,r)&&(n=r=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),r=void 0===r?e<n?1:-1:o(r),a(e,n,r,t)}}var a=n(315),i=n(70),o=n(136);t.exports=r},function(t,e){function n(t,e,n,i){for(var o=-1,u=a(r((e-t)/(n||1)),0),c=Array(u);u--;)c[i?u:++o]=t,t+=n;return c}var r=Math.ceil,a=Math.max;t.exports=n},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(7),c=n.n(u),s=n(4),l=n.n(s),f=n(0),h=n.n(f),p=n(1),d=n.n(p),y=n(15),v=n(89),b=n(2),g=n(3),m=n(84),_=n(80),x=n(88),O=n(153),w=n(82),j=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),M={cornerRadius:5,pointerLength:10,pointerWidth:10},k=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),j(e,[{key:"shouldComponentUpdate",value:function(t){return!g.a.areVictoryPropsEqual(this.props,t)}},{key:"getDefaultOrientation",value:function(t){var e=t.datum,n=t.horizontal;if(t.polar)return this.getPolarOrientation(t,e);var r=n?"right":"top",a=n?"left":"bottom";return e&&e.y<0?a:r}},{key:"getPolarOrientation",value:function(t,e){var n=m.a.getDegrees(t,e),r=t.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}},{key:"getEvaluatedProps",value:function(t){var e=t.horizontal,n=t.datum,r=t.pointerLength,a=t.pointerWidth,i=t.cornerRadius,o=t.width,u=t.height,c=t.dx,s=t.dy,f=t.text,h=t.active,p=Array.isArray(t.style)?t.style.map(function(t){return b.a.evaluateStyle(t,n,h)}):b.a.evaluateStyle(t.style,n,h),d=b.a.evaluateStyle(t.flyoutStyle,n,h),y=d&&d.padding||0,v=e?y:0,g=e?0:y,m=b.a.evaluateProp(t.orientation,n,h)||this.getDefaultOrientation(t);return l()({},t,{style:p,flyoutStyle:d,orientation:m,dx:void 0!==c?b.a.evaluateProp(c,n,h):v,dy:void 0!==s?b.a.evaluateProp(s,n,h):g,cornerRadius:b.a.evaluateProp(i,n,h),pointerLength:b.a.evaluateProp(r,n,h),pointerWidth:b.a.evaluateProp(a,n,h),width:b.a.evaluateProp(o,n,h),height:b.a.evaluateProp(u,n,h),active:b.a.evaluateProp(h,n,h),text:b.a.evaluateProp(f,n,h)})}},{key:"getCalculatedValues",value:function(t){var e=t.style,n=t.text,r=t.datum,a=t.theme,i=t.active,o=a&&a.tooltip&&a.tooltip.style?a.tooltip.style:{},u=Array.isArray(e)?e.map(function(t){return c()({},t,o)}):c()({},e,o),s=a&&a.tooltip&&a.tooltip.flyoutStyle?a.tooltip.flyoutStyle:{},l=t.flyoutStyle?c()({},t.flyoutStyle,s):s,f=Array.isArray(u)?u.map(function(t){return b.a.evaluateStyle(t,r,i)}):b.a.evaluateStyle(u,r,i),h=v.a.approximateTextSize(n,f),p=this.getDimensions(t,h,f);return{labelStyle:f,flyoutStyle:l,labelSize:h,flyoutDimensions:p,flyoutCenter:this.getFlyoutCenter(t,p),transform:this.getTransform(t)}}},{key:"getTransform",value:function(t){var e=t.x,n=t.y,r=t.style,a=r||{},i=a.angle||t.angle||this.getDefaultAngle(t);return i?"rotate("+i+" "+e+" "+n+")":void 0}},{key:"getDefaultAngle",value:function(t){var e=t.polar,n=t.labelPlacement,r=t.orientation,a=t.datum;if(!e||!n||"vertical"===n)return 0;var i=m.a.getDegrees(t,a),o=i>90&&i<180||i>270?1:-1,u="perpendicular"===n?0:90,c=void 0;return 0===i||180===i?c="top"===r&&180===i?270:90:i>0&&i<180?c=90-i:i>180&&i<360&&(c=270-i),c+o*u}},{key:"getFlyoutCenter",value:function(t,e){var n=t.x,r=t.y,a=t.dx,i=t.dy,o=t.pointerLength,u=t.orientation,c=e.height,s=e.width,l="left"===u?-1:1,f="bottom"===u?-1:1;return{x:"left"===u||"right"===u?n+l*(o+s/2+a):n+a,y:"top"===u||"bottom"===u?r-f*(o+c/2+i):r-i}}},{key:"getLabelPadding",value:function(t){if(!t)return 0;var e=Array.isArray(t)?t.map(function(t){return t.padding}):[t.padding];return Math.max.apply(Math,r(e).concat([0]))}},{key:"getDimensions",value:function(t,e,n){var r=t.orientation,a=t.cornerRadius,i=t.pointerLength,o=t.pointerWidth,u=this.getLabelPadding(n);return{height:t.height||function(){var t=e.height+u,n="top"===r||"bottom"===r?2*a:2*a+o;return Math.max(n,t)}()+u/2,width:t.width||function(){var t=e.width+u,n="left"===r||"right"===r?2*a+i:2*a;return Math.max(n,t)}()+u}}},{key:"getLabelProps",value:function(t,e){var n=e.flyoutCenter,r=e.labelStyle,a=e.labelSize,i=e.dy,o=e.dx,u=t.text,s=t.datum,l=t.labelComponent,f=t.index,h=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return c()({},l.props,{key:"label-"+f,text:u,datum:s,textAnchor:h,dy:i,dx:o,style:r,x:h&&"middle"!==h?function(){var t="end"===h?-1:1;return n.x-t*(a.width/2)}():n.x,y:n.y,verticalAnchor:"middle",angle:r.angle})}},{key:"getFlyoutProps",value:function(t,e){var n=e.flyoutDimensions,r=e.flyoutStyle,a=t.x,i=t.y,o=t.dx,u=t.dy,s=t.datum,l=t.index,f=t.orientation,h=t.pointerLength,p=t.pointerWidth,d=t.cornerRadius,y=t.events,v=t.flyoutComponent;return c()({},v.props,{x:a,y:i,dx:o,dy:u,datum:s,index:l,orientation:f,pointerLength:h,pointerWidth:p,cornerRadius:d,events:y,key:"flyout-"+l,width:n.width,height:n.height,style:r})}},{key:"renderTooltip",value:function(t){var e=this.getEvaluatedProps(t),n=e.flyoutComponent,r=e.labelComponent,a=e.groupComponent,i=e.active,o=e.renderInPortal;if(!i)return o?h.a.createElement(w.a,null,null):null;var u=this.getCalculatedValues(e),c=[h.a.cloneElement(n,this.getFlyoutProps(e,u)),h.a.cloneElement(r,this.getLabelProps(e,u))],s=h.a.cloneElement(a,{role:"presentation",transform:u.transform},c);return o?h.a.createElement(w.a,null,s):s}},{key:"render",value:function(){var t=b.a.modifyProps(this.props,M,"tooltip");return this.renderTooltip(t)}}]),e}(h.a.Component);k.displayName="VictoryTooltip",k.propTypes={activateData:d.a.bool,active:d.a.oneOfType([d.a.bool,d.a.func]),angle:d.a.number,cornerRadius:d.a.oneOfType([y.a.nonNegative,d.a.func]),data:d.a.array,datum:d.a.object,dx:d.a.oneOfType([d.a.number,d.a.func]),dy:d.a.oneOfType([d.a.number,d.a.func]),events:d.a.object,flyoutComponent:d.a.element,flyoutStyle:d.a.object,groupComponent:d.a.element,height:d.a.oneOfType([y.a.nonNegative,d.a.func]),horizontal:d.a.bool,index:d.a.oneOfType([d.a.number,d.a.string]),labelComponent:d.a.element,orientation:d.a.oneOfType([d.a.oneOf(["top","bottom","left","right"]),d.a.func]),pointerLength:d.a.oneOfType([y.a.nonNegative,d.a.func]),pointerWidth:d.a.oneOfType([y.a.nonNegative,d.a.func]),polar:d.a.bool,renderInPortal:d.a.bool,style:d.a.oneOfType([d.a.object,d.a.array]),text:d.a.oneOfType([d.a.string,d.a.number,d.a.func,d.a.array]),theme:d.a.object,width:d.a.oneOfType([y.a.nonNegative,d.a.func]),x:d.a.number,y:d.a.number},k.defaultProps={theme:x.a.grayscale,active:!1,renderInPortal:!0,labelComponent:h.a.createElement(_.a,null),flyoutComponent:h.a.createElement(O.a,null),groupComponent:h.a.createElement("g",null)},k.defaultEvents=function(t){return[{target:"data",eventHandlers:{onMouseOver:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}]},onTouchStart:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}]},onMouseOut:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!1}}},{target:"data",mutation:function(){return{active:!1}}}]:[{target:"labels",mutation:function(){return{active:!1}}}]},onTouchEnd:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!1}}},{target:"data",mutation:function(){return{active:!1}}}]:[{target:"labels",mutation:function(){return{active:!1}}}]}}}]},e.a=k},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(137),u=n.n(o),c=n(4),s=n.n(c),l=n(0),f=n.n(l),h=n(1),p=n.n(h),d=n(2),y=n(8),v=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},b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),b(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.cx,r=e.cy,a=e.r,i=this.getStyle(t);return n!==t.cx||r!==t.cy||a!==t.r?(this.style=i,!0):!u()(i,this.style)&&(this.style=i,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return d.a.evaluateStyle(s()({stroke:"black",fill:"none"},e),n,r)}},{key:"getArcPath",value:function(t){var e=t.cx,n=t.cy,r=t.r,a=t.startAngle,i=t.endAngle,o=t.closedPath,u=Math.abs(i-a)/2+a,c=e+r*Math.cos(d.a.degreesToRadians(a)),s=n-r*Math.sin(d.a.degreesToRadians(a)),l=e+r*Math.cos(d.a.degreesToRadians(u)),f=n-r*Math.sin(d.a.degreesToRadians(u)),h=e+r*Math.cos(d.a.degreesToRadians(i)),p=n-r*Math.sin(d.a.degreesToRadians(i)),y=u-a<=180?0:1,v=i-u<=180?0:1;return(o?" M "+e+", "+n+" L "+c+", "+s:"M "+c+", "+s)+" A "+r+", "+r+", 0, "+y+", 0, "+l+", "+f+" A "+r+", "+r+", 0, "+v+", 0, "+h+", "+p+" "+(o?"Z":"")}},{key:"renderAxisLine",value:function(t,e,n){var r=t.role,a=t.shapeRendering,i=t.className,o=this.getArcPath(t);return f.a.createElement("path",v({className:i,d:o,style:e,role:r||"presentation",shapeRendering:a||"auto"},n))}},{key:"render",value:function(){return this.renderAxisLine(this.props,this.style,this.props.events)}}]),e}(f.a.Component);g.propTypes=v({},y.a,{closedPath:p.a.bool,cx:p.a.number,cy:p.a.number,datum:p.a.any,endAngle:p.a.number,r:p.a.number,startAngle:p.a.number}),e.a=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(3),p=n(2),d=n(154),y=n(90),v=n(8),b=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},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.areaPath,r=t.linePath;this.style=e,this.areaPath=n,this.linePath=r}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.areaPath,a=e.linePath,i=this.props,o=i.className,u=i.interpolation;return!h.a.allSetsEqual([[o,t.className],[u,t.interpolation],[a,this.linePath],[r,this.areaPath],[n,this.style]])&&(this.style=n,this.areaPath=r,this.linePath=a,!0)}},{key:"getLineFunction",value:function(t){var e=t.polar,n=t.scale,r=this.toNewName(t.interpolation);return e?y.lineRadial().defined(d.a).curve(y[r+"Closed"]).angle(Object(d.b)(n)).radius(Object(d.d)(n)):y.line().defined(d.a).curve(y[r]).x(Object(d.c)(n)).y(Object(d.e)(n))}},{key:"getAreaFunction",value:function(t){var e=t.polar,n=t.scale,r=this.toNewName(t.interpolation);return e?y.radialArea().defined(d.a).curve(y[r+"Closed"]).angle(Object(d.b)(n)).outerRadius(Object(d.e)(n)).innerRadius(Object(d.d)(n)):y.area().defined(d.a).curve(y[r]).x(Object(d.c)(n)).y1(Object(d.e)(n)).y0(Object(d.d)(n))}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.data,r=t.active,a=this.getAreaFunction(t),i=this.getLineFunction(t);return{style:p.a.evaluateStyle(u()({fill:"black"},e),n,r),areaPath:a(n),linePath:i(n)}}},{key:"toNewName",value:function(t){return"curve"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"renderArea",value:function(t,e,n){var r=e.stroke?"none":e.fill,a=u()({},e,{stroke:r}),i=this.props,o=i.role,c=i.shapeRendering,l=i.className,f=i.polar,h=i.origin,p=f&&h?"translate("+h.x+", "+h.y+")":void 0;return s.a.createElement("path",b({key:"area",style:a,shapeRendering:c||"auto",role:o||"presentation",d:t,transform:p,className:l},n))}},{key:"renderLine",value:function(t,e,n){if(!e.stroke||"none"===e.stroke||"transparent"===e.stroke)return null;var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,c=r.polar,l=r.origin,f=c&&l?"translate("+l.x+", "+l.y+")":void 0,h=u()({},e,{fill:"none"});return s.a.createElement("path",b({key:"area-stroke",style:h,shapeRendering:i||"auto",role:a||"presentation",d:t,transform:f,className:o},n))}},{key:"render",value:function(){var t=this.props,e=t.events,n=t.groupComponent,r=this.renderArea(this.areaPath,this.style,e),a=this.renderLine(this.linePath,this.style,e);if(!a)return r;var i=[r,a].map(function(t,e){return s.a.cloneElement(t,{key:e})});return s.a.cloneElement(n,{},i)}}]),e}(s.a.Component);m.propTypes=b({},v.a,{groupComponent:f.a.element,interpolation:f.a.string}),m.defaultProps={groupComponent:s.a.createElement("g",null)},e.a=m},function(t,e,n){"use strict";function r(t){return t.innerRadius}function a(t){return t.outerRadius}function i(t){return t.startAngle}function o(t){return t.endAngle}function u(t){return t&&t.padAngle}function c(t,e,n,r,a,i,o,u){var c=n-t,s=r-e,l=o-a,f=u-i,h=(l*(e-i)-f*(t-a))/(f*c-l*s);return[t+h*c,e+h*s]}function s(t,e,n,r,a,i,o){var u=t-n,c=e-r,s=(o?i:-i)/Object(h.l)(u*u+c*c),l=s*c,f=-s*u,p=t+l,d=e+f,y=n+l,v=r+f,b=(p+y)/2,g=(d+v)/2,m=y-p,_=v-d,x=m*m+_*_,O=a-i,w=p*v-y*d,j=(_<0?-1:1)*Object(h.l)(Object(h.h)(0,O*O*x-w*w)),M=(w*_-m*j)/x,k=(-w*m-_*j)/x,T=(w*_+m*j)/x,A=(-w*m+_*j)/x,P=M-b,E=k-g,C=T-b,S=A-g;return P*P+E*E>C*C+S*S&&(M=T,k=A),{cx:M,cy:k,x01:-l,y01:-f,x11:M*(a/O-1),y11:k*(a/O-1)}}var l=n(31),f=n(16),h=n(32);e.a=function(){function t(){var t,r,a=+e.apply(this,arguments),i=+n.apply(this,arguments),o=y.apply(this,arguments)-h.g,u=v.apply(this,arguments)-h.g,f=Object(h.a)(u-o),m=u>o;if(g||(g=t=Object(l.a)()),i<a&&(r=i,i=a,a=r),i>h.f)if(f>h.m-h.f)g.moveTo(i*Object(h.e)(o),i*Object(h.k)(o)),g.arc(0,0,i,o,u,!m),a>h.f&&(g.moveTo(a*Object(h.e)(u),a*Object(h.k)(u)),g.arc(0,0,a,u,o,m));else{var _,x,O=o,w=u,j=o,M=u,k=f,T=f,A=b.apply(this,arguments)/2,P=A>h.f&&(d?+d.apply(this,arguments):Object(h.l)(a*a+i*i)),E=Object(h.i)(Object(h.a)(i-a)/2,+p.apply(this,arguments)),C=E,S=E;if(P>h.f){var N=Object(h.c)(P/a*Object(h.k)(A)),D=Object(h.c)(P/i*Object(h.k)(A));(k-=2*N)>h.f?(N*=m?1:-1,j+=N,M-=N):(k=0,j=M=(o+u)/2),(T-=2*D)>h.f?(D*=m?1:-1,O+=D,w-=D):(T=0,O=w=(o+u)/2)}var L=i*Object(h.e)(O),R=i*Object(h.k)(O),F=a*Object(h.e)(M),I=a*Object(h.k)(M);if(E>h.f){var W=i*Object(h.e)(w),z=i*Object(h.k)(w),U=a*Object(h.e)(j),V=a*Object(h.k)(j);if(f<h.j){var q=k>h.f?c(L,R,U,V,W,z,F,I):[F,I],B=L-q[0],H=R-q[1],Y=W-q[0],X=z-q[1],K=1/Object(h.k)(Object(h.b)((B*Y+H*X)/(Object(h.l)(B*B+H*H)*Object(h.l)(Y*Y+X*X)))/2),$=Object(h.l)(q[0]*q[0]+q[1]*q[1]);C=Object(h.i)(E,(a-$)/(K-1)),S=Object(h.i)(E,(i-$)/(K+1))}}T>h.f?S>h.f?(_=s(U,V,L,R,i,S,m),x=s(W,z,F,I,i,S,m),g.moveTo(_.cx+_.x01,_.cy+_.y01),S<E?g.arc(_.cx,_.cy,S,Object(h.d)(_.y01,_.x01),Object(h.d)(x.y01,x.x01),!m):(g.arc(_.cx,_.cy,S,Object(h.d)(_.y01,_.x01),Object(h.d)(_.y11,_.x11),!m),g.arc(0,0,i,Object(h.d)(_.cy+_.y11,_.cx+_.x11),Object(h.d)(x.cy+x.y11,x.cx+x.x11),!m),g.arc(x.cx,x.cy,S,Object(h.d)(x.y11,x.x11),Object(h.d)(x.y01,x.x01),!m))):(g.moveTo(L,R),g.arc(0,0,i,O,w,!m)):g.moveTo(L,R),a>h.f&&k>h.f?C>h.f?(_=s(F,I,W,z,a,-C,m),x=s(L,R,U,V,a,-C,m),g.lineTo(_.cx+_.x01,_.cy+_.y01),C<E?g.arc(_.cx,_.cy,C,Object(h.d)(_.y01,_.x01),Object(h.d)(x.y01,x.x01),!m):(g.arc(_.cx,_.cy,C,Object(h.d)(_.y01,_.x01),Object(h.d)(_.y11,_.x11),!m),g.arc(0,0,a,Object(h.d)(_.cy+_.y11,_.cx+_.x11),Object(h.d)(x.cy+x.y11,x.cx+x.x11),m),g.arc(x.cx,x.cy,C,Object(h.d)(x.y11,x.x11),Object(h.d)(x.y01,x.x01),!m))):g.arc(0,0,a,M,j,m):g.lineTo(F,I)}else g.moveTo(0,0);if(g.closePath(),t)return g=null,t+""||null}var e=r,n=a,p=Object(f.a)(0),d=null,y=i,v=o,b=u,g=null;return t.centroid=function(){var t=(+e.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+y.apply(this,arguments)+ +v.apply(this,arguments))/2-h.j/2;return[Object(h.e)(r)*t,Object(h.k)(r)*t]},t.innerRadius=function(n){return arguments.length?(e="function"==typeof n?n:Object(f.a)(+n),t):e},t.outerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Object(f.a)(+e),t):n},t.cornerRadius=function(e){return arguments.length?(p="function"==typeof e?e:Object(f.a)(+e),t):p},t.padRadius=function(e){return arguments.length?(d=null==e?null:"function"==typeof e?e:Object(f.a)(+e),t):d},t.startAngle=function(e){return arguments.length?(y="function"==typeof e?e:Object(f.a)(+e),t):y},t.endAngle=function(e){return arguments.length?(v="function"==typeof e?e:Object(f.a)(+e),t):v},t.padAngle=function(e){return arguments.length?(b="function"==typeof e?e:Object(f.a)(+e),t):b},t.context=function(e){return arguments.length?(g=null==e?null:e,t):g},t}},function(t,e,n){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new r}var i=Math.PI,o=2*i,u=o-1e-6;r.prototype=a.prototype={constructor:r,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,a,i){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+i)},arcTo:function(t,e,n,r,a){t=+t,e=+e,n=+n,r=+r,a=+a;var o=this._x1,u=this._y1,c=n-t,s=r-e,l=o-t,f=u-e,h=l*l+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(f*c-s*l)>1e-6&&a){var p=n-o,d=r-u,y=c*c+s*s,v=p*p+d*d,b=Math.sqrt(y),g=Math.sqrt(h),m=a*Math.tan((i-Math.acos((y+h-v)/(2*b*g)))/2),_=m/g,x=m/b;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*l)+","+(e+_*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>l*d)+","+(this._x1=t+x*c)+","+(this._y1=e+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,a,c){t=+t,e=+e,n=+n;var s=n*Math.cos(r),l=n*Math.sin(r),f=t+s,h=e+l,p=1^c,d=c?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%o+o),d>u?this._+="A"+n+","+n+",0,1,"+p+","+(t-s)+","+(e-l)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=i)+","+p+","+(this._x1=t+n*Math.cos(a))+","+(this._y1=e+n*Math.sin(a))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.a=a},function(t,e,n){"use strict";var r=n(16),a=n(322),i=n(323),o=n(32);e.a=function(){function t(t){var r,a,i,f,h,p=t.length,d=0,y=new Array(p),v=new Array(p),b=+c.apply(this,arguments),g=Math.min(o.m,Math.max(-o.m,s.apply(this,arguments)-b)),m=Math.min(Math.abs(g)/p,l.apply(this,arguments)),_=m*(g<0?-1:1);for(r=0;r<p;++r)(h=v[y[r]=r]=+e(t[r],r,t))>0&&(d+=h);for(null!=n?y.sort(function(t,e){return n(v[t],v[e])}):null!=u&&y.sort(function(e,n){return u(t[e],t[n])}),r=0,i=d?(g-p*_)/d:0;r<p;++r,b=f)a=y[r],h=v[a],f=b+(h>0?h*i:0)+_,v[a]={data:t[a],index:r,value:h,startAngle:b,endAngle:f,padAngle:m};return v}var e=i.a,n=a.a,u=null,c=Object(r.a)(0),s=Object(r.a)(o.m),l=Object(r.a)(0);return t.value=function(n){return arguments.length?(e="function"==typeof n?n:Object(r.a)(+n),t):e},t.sortValues=function(e){return arguments.length?(n=e,u=null,t):n},t.sort=function(e){return arguments.length?(u=e,n=null,t):u},t.startAngle=function(e){return arguments.length?(c="function"==typeof e?e:Object(r.a)(+e),t):c},t.endAngle=function(e){return arguments.length?(s="function"==typeof e?e:Object(r.a)(+e),t):s},t.padAngle=function(e){return arguments.length?(l="function"==typeof e?e:Object(r.a)(+e),t):l},t}},function(t,e,n){"use strict";e.a=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var r=n(156),a=n(155),i=n(157);e.a=function(){var t=Object(a.a)().curve(r.a),e=t.curve,n=t.lineX0,o=t.lineX1,u=t.lineY0,c=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(i.b)(n())},delete t.lineX0,t.lineEndAngle=function(){return Object(i.b)(o())},delete t.lineX1,t.lineInnerRadius=function(){return Object(i.b)(u())},delete t.lineY0,t.lineOuterRadius=function(){return Object(i.b)(c())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Object(r.b)(t)):e()._curve},t}},function(t,e,n){"use strict";function r(t){return t.source}function a(t){return t.target}function i(t){function e(){var e,r=p.a.call(arguments),a=n.apply(this,r),s=i.apply(this,r);if(c||(c=e=Object(h.a)()),t(c,+o.apply(this,(r[0]=a,r)),+u.apply(this,r),+o.apply(this,(r[0]=s,r)),+u.apply(this,r)),e)return c=null,e+""||null}var n=r,i=a,o=y.a,u=y.b,c=null;return e.source=function(t){return arguments.length?(n=t,e):n},e.target=function(t){return arguments.length?(i=t,e):i},e.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(d.a)(+t),e):o},e.y=function(t){return arguments.length?(u="function"==typeof t?t:Object(d.a)(+t),e):u},e.context=function(t){return arguments.length?(c=null==t?null:t,e):c},e}function o(t,e,n,r,a){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,a,r,a)}function u(t,e,n,r,a){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+a)/2,r,n,r,a)}function c(t,e,n,r,a){var i=Object(v.a)(e,n),o=Object(v.a)(e,n=(n+a)/2),u=Object(v.a)(r,n),c=Object(v.a)(r,a);t.moveTo(i[0],i[1]),t.bezierCurveTo(o[0],o[1],u[0],u[1],c[0],c[1])}function s(){return i(o)}function l(){return i(u)}function f(){var t=i(c);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}e.a=s,e.c=l,e.b=f;var h=n(31),p=n(159),d=n(16),y=n(92),v=n(158)},function(t,e,n){"use strict";n.d(e,"b",function(){return h});var r=n(31),a=n(160),i=n(161),o=n(162),u=n(163),c=n(164),s=n(165),l=n(166),f=n(16),h=[a.a,i.a,o.a,c.a,u.a,s.a,l.a];e.a=function(){function t(){var t;if(i||(i=t=Object(r.a)()),e.apply(this,arguments).draw(i,+n.apply(this,arguments)),t)return i=null,t+""||null}var e=Object(f.a)(a.a),n=Object(f.a)(64),i=null;return t.type=function(n){return arguments.length?(e="function"==typeof n?n:Object(f.a)(n),t):e},t.size=function(e){return arguments.length?(n="function"==typeof e?e:Object(f.a)(+e),t):n},t.context=function(e){return arguments.length?(i=null==e?null:e,t):i},t}},function(t,e,n){"use strict";function r(t){this._context=t}var a=n(54),i=n(55);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Object(i.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t){this._context=t}var a=n(55);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Object(a.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e){this._basis=new a.a(t),this._beta=e}var a=n(55);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,a=t[0],i=e[0],o=t[n]-a,u=e[n]-i,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(a+r*o),this._beta*e[c]+(1-this._beta)*(i+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function t(e){function n(t){return 1===e?new a.a(t):new r(t,e)}return n.beta=function(e){return t(+e)},n}(.85)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var a=n(167),i=n(54),o=n(93);r.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(o.b)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new r(t,e):new a.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var a=n(168),i=n(93);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i.b)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new r(t,e):new a.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t){this._context=t}var a=n(54);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t){return t<0?-1:1}function a(t,e,n){var a=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(a||i<0&&-0),u=(n-t._y1)/(i||a<0&&-0),c=(o*i+u*a)/(a+i);return(r(o)+r(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(c))||0}function i(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function o(t,e,n){var r=t._x0,a=t._y0,i=t._x1,o=t._y1,u=(i-r)/3;t._context.bezierCurveTo(r+u,a+u*e,i-u,o-u*n,i,o)}function u(t){this._context=t}function c(t){this._context=new s(t)}function s(t){this._context=t}function l(t){return new u(t)}function f(t){return new c(t)}e.a=l,e.b=f,u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:o(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,t!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=a(this,t,e)),n);break;default:o(this,this._t0,n=a(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(c.prototype=Object.create(u.prototype)).point=function(t,e){u.prototype.point.call(this,e,t)},s.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,a,i){this._context.bezierCurveTo(e,t,r,n,i,a)}}},function(t,e,n){"use strict";function r(t){this._context=t}function a(t){var e,n,r=t.length-1,a=new Array(r),i=new Array(r),o=new Array(r);for(a[0]=0,i[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)a[e]=1,i[e]=4,o[e]=4*t[e]+2*t[e+1];for(a[r-1]=2,i[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=a[e]/i[e-1],i[e]-=n,o[e]-=n*o[e-1];for(a[r-1]=o[r-1]/i[r-1],e=r-2;e>=0;--e)a[e]=(o[e]-a[e+1])/i[e];for(i[r-1]=(t[r]+a[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-a[e+1];return[a,i]}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=a(t),i=a(e),o=0,u=1;u<n;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],e[u]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e){this._context=t,this._t=e}function a(t){return new r(t,0)}function i(t){return new r(t,1)}e.c=a,e.b=i,r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},e.a=function(t){return new r(t,.5)}},function(t,e,n){"use strict";function r(t,e){return t[e]}var a=n(159),i=n(16),o=n(33),u=n(34);e.a=function(){function t(t){var r,a,i=e.apply(this,arguments),o=t.length,u=i.length,l=new Array(u);for(r=0;r<u;++r){for(var f,h=i[r],p=l[r]=new Array(o),d=0;d<o;++d)p[d]=f=[0,+s(t[d],h,d,t)],f.data=t[d];p.key=h}for(r=0,a=n(l);r<u;++r)l[a[r]].index=r;return c(l,a),l}var e=Object(i.a)([]),n=u.a,c=o.a,s=r;return t.keys=function(n){return arguments.length?(e="function"==typeof n?n:Object(i.a)(a.a.call(n)),t):e},t.value=function(e){return arguments.length?(s="function"==typeof e?e:Object(i.a)(+e),t):s},t.order=function(e){return arguments.length?(n=null==e?u.a:"function"==typeof e?e:Object(i.a)(a.a.call(e)),t):n},t.offset=function(e){return arguments.length?(c=null==e?o.a:e,t):c},t}},function(t,e,n){"use strict";var r=n(33);e.a=function(t,e){if((a=t.length)>0){for(var n,a,i,o=0,u=t[0].length;o<u;++o){for(i=n=0;n<a;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<a;++n)t[n][o][1]/=i}Object(r.a)(t,e)}}},function(t,e,n){"use strict";e.a=function(t,e){if((u=t.length)>1)for(var n,r,a,i,o,u,c=0,s=t[e[0]].length;c<s;++c)for(i=o=0,n=0;n<u;++n)(a=(r=t[e[n]][c])[1]-r[0])>=0?(r[0]=i,r[1]=i+=a):a<0?(r[1]=o,r[0]=o+=a):r[0]=i}},function(t,e,n){"use strict";var r=n(33);e.a=function(t,e){if((n=t.length)>0){for(var n,a=0,i=t[e[0]],o=i.length;a<o;++a){for(var u=0,c=0;u<n;++u)c+=t[u][a][1]||0;i[a][1]+=i[a][0]=-c/2}Object(r.a)(t,e)}}},function(t,e,n){"use strict";var r=n(33);e.a=function(t,e){if((i=t.length)>0&&(a=(n=t[e[0]]).length)>0){for(var n,a,i,o=0,u=1;u<a;++u){for(var c=0,s=0,l=0;c<i;++c){for(var f=t[e[c]],h=f[u][1]||0,p=f[u-1][1]||0,d=(h-p)/2,y=0;y<c;++y){var v=t[e[y]];d+=(v[u][1]||0)-(v[u-1][1]||0)}s+=h,l+=d*h}n[u-1][1]+=n[u-1][0]=o,s&&(o-=l/s)}n[u-1][1]+=n[u-1][0]=o,Object(r.a)(t,e)}}},function(t,e,n){"use strict";var r=n(94);e.a=function(t){return Object(r.a)(t).reverse()}},function(t,e,n){"use strict";var r=n(34),a=n(94);e.a=function(t){var e,n,i=t.length,o=t.map(a.b),u=Object(r.a)(t).sort(function(t,e){return o[e]-o[t]}),c=0,s=0,l=[],f=[];for(e=0;e<i;++e)n=u[e],c<s?(c+=o[n],l.push(n)):(s+=o[n],f.push(n));return f.reverse().concat(l)}},function(t,e,n){"use strict";var r=n(34);e.a=function(t){return Object(r.a)(t).reverse()}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(4),c=n.n(u),s=n(0),l=n.n(s),f=n(1),h=n.n(f),p=n(2),d=n(3),y=n(8),v=n(90),b=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},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.datum,u=a.horizontal,c=a.x,s=a.y,l=a.y0;return!d.a.allSetsEqual([[i,t.className],[c,t.x],[s,t.y],[l,t.y0],[u,t.horizontal],[r,this.path],[n,this.style],[o,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.datum,n=t.active,r=t.polar,a=t.style&&t.style.fill||"black",i={fill:"black",stroke:a},o=p.a.evaluateStyle(c()(i,t.style),e,n),u=this.getBarWidth(t,o);return{style:o,path:r?this.getPolarBarPath(t,u):this.getBarPath(t,u)}}},{key:"getPosition",value:function(t,e){var n=e/2,r=t.x,a=t.y,i=t.y0;return{y0:Math.round(i),y1:Math.round(a),x0:Math.round(r-n),x1:Math.round(r+n)}}},{key:"getVerticalBarPath",value:function(t,e){var n=this.getPosition(t,e),r=n.x0,a=n.x1,i=n.y0,o=n.y1;return"M "+r+", "+i+"\n L "+r+", "+o+"\n L "+a+", "+o+"\n L "+a+", "+i+"\n L "+r+", "+i+"\n z"}},{key:"getHorizontalBarPath",value:function(t,e){var n=this.getPosition(t,e),r=n.x0,a=n.x1,i=n.y0,o=n.y1;return"M "+i+", "+r+"\n L "+i+", "+a+"\n L "+o+", "+a+"\n L "+o+", "+r+"\n L "+i+", "+r+"\n z"}},{key:"transformAngle",value:function(t){return-1*t+Math.PI/2}},{key:"getAngularWidth",value:function(t,e){var n=t.scale,a=n.y.range(),i=Math.max.apply(Math,r(a)),o=Math.abs(n.x.range()[1]-n.x.range()[0]);return e/(2*Math.PI*i)*o}},{key:"getAngle",value:function(t,e){var n=t.data,r=t.scale,a=void 0===n[e]._x1?"_x":"_x1";return r.x(n[e][a])}},{key:"getStartAngle",value:function(t,e){var n=t.data,r=t.scale,a=this.getAngle(t,e),i=Math.abs(r.x.range()[1]-r.x.range()[0]),o=0===e?this.getAngle(t,n.length-1)-2*Math.PI:this.getAngle(t,e-1);return 0===e&&i<2*Math.PI?r.x.range()[0]:(a+o)/2}},{key:"getEndAngle",value:function(t,e){var n=t.data,r=t.scale,a=this.getAngle(t,e),i=Math.abs(r.x.range()[1]-r.x.range()[0]),o=r.x.range()[1]===2*Math.PI?this.getAngle(t,0)+2*Math.PI:r.x.range()[1],u=e===n.length-1?this.getAngle(t,0)+2*Math.PI:this.getAngle(t,e+1);return e===n.length-1&&i<2*Math.PI?o:(a+u)/2}},{key:"getVerticalPolarBarPath",value:function(t){var e=t.datum,n=t.scale,r=t.style,a=t.index,i=n.y(e._y0||0),o=n.y(void 0!==e._y1?e._y1:e._y),u=n.x(void 0!==e._x1?e._x1:e._x),c=void 0,s=void 0;if(r.width){var l=this.getAngularWidth(t,r.width);c=u-l/2,s=u+l/2}else c=this.getStartAngle(t,a),s=this.getEndAngle(t,a);return v.arc().innerRadius(i).outerRadius(o).startAngle(this.transformAngle(c)).endAngle(this.transformAngle(s))()}},{key:"getBarPath",value:function(t,e){return this.props.horizontal?this.getHorizontalBarPath(t,e):this.getVerticalBarPath(t,e)}},{key:"getPolarBarPath",value:function(t){return this.getVerticalPolarBarPath(t)}},{key:"getBarWidth",value:function(t,e){if(e.width)return e.width;var n=t.scale,r=t.data,a=n.x.range(),i=Math.abs(a[1]-a[0]),o=r.length+2,u=r.length<2?8:.5*i/o;return Math.max(1,Math.round(u))}},{key:"renderBar",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,u=r.origin,c=r.polar,s=c&&u?"translate("+u.x+", "+u.y+")":void 0;return l.a.createElement("path",b({d:t,transform:s,className:o,style:e,role:a||"presentation",shapeRendering:i||"auto"},n))}},{key:"render",value:function(){return this.renderBar(this.path,this.style,this.props.events)}}]),e}(l.a.Component);m.propTypes=b({},y.a,{datum:h.a.object,horizontal:h.a.bool,padding:h.a.oneOfType([h.a.number,h.a.object]),width:h.a.number,x:h.a.number,y:h.a.number,y0:h.a.number}),e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(3),d=n(8),y=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},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.candleWidth;this.style=e,this.candleWidth=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.candleHeight,a=e.datum,i=e.x,o=e.y,u=e.y1,c=e.y2,s=this.calculateAttributes(t),l=s.style,f=s.candleWidth;return!p.a.allSetsEqual([[n,t.className],[r,t.candleHeight],[i,t.x],[o,t.y],[u,t.y1],[c,t.y2],[f,this.candleWidth],[l,this.style],[a,t.datum]])&&(this.style=l,this.candleWidth=f,!0)}},{key:"calculateAttributes",value:function(t){var e=t.data,n=t.datum,r=t.active,a=t.width,i=h.a.evaluateStyle(u()({stroke:"black"},t.style),n,r),o=t.padding.left||t.padding;return{style:i,candleWidth:i.width||.5*(a-2*o)/e.length}}},{key:"renderWick",value:function(t){return s.a.createElement("line",t)}},{key:"renderCandle",value:function(t){return s.a.createElement("rect",t)}},{key:"getCandleProps",value:function(t){var e=t.candleHeight,n=t.x,r=t.y,a=t.events,i=t.role,o=t.className,c=t.shapeRendering||"auto",s=n-this.candleWidth/2;return u()({x:s,y:r,style:this.style,role:i,width:this.candleWidth,height:e,shapeRendering:c,className:o},a)}},{key:"getWickProps",value:function(t){var e=t.x,n=t.y1,r=t.y2,a=t.events,i=t.className,o=t.shapeRendering||"auto",c=t.role||"presentation";return u()({x1:e,x2:e,y1:n,y2:r,style:this.style,role:c,shapeRendering:o,className:i},a)}},{key:"render",value:function(){var t=this.getCandleProps(this.props),e=this.getWickProps(this.props);return s.a.cloneElement(this.props.groupComponent,{},this.renderWick(e),this.renderCandle(t))}}]),e}(s.a.Component);b.propTypes=y({},d.a,{candleHeight:f.a.number,datum:f.a.object,groupComponent:f.a.element,padding:f.a.oneOfType([f.a.number,f.a.object]),width:f.a.number,x:f.a.number,y:f.a.number,y1:f.a.number,y2:f.a.number}),b.defaultProps={groupComponent:s.a.createElement("g",null)},e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(154),d=n(3),y=n(90),v=n(8),b=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},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.interpolation;return!d.a.allSetsEqual([[i,t.className],[o,t.interpolation],[r,this.path],[n,this.style]])&&(this.style=n,this.path=r,!0)}},{key:"getLineFunction",value:function(t){var e=t.polar,n=t.scale,r=t.openCurve,a=e&&!r?this.toNewName(t.interpolation)+"Closed":this.toNewName(t.interpolation);return e?y.lineRadial().defined(p.a).curve(y[a]).angle(Object(p.b)(n)).radius(Object(p.e)(n)):y.line().defined(p.a).curve(y[a]).x(Object(p.c)(n)).y(Object(p.e)(n))}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.data,r=t.active,a=this.getLineFunction(t);return{style:h.a.evaluateStyle(u()({fill:"none",stroke:"black"},e),n,r),path:a(n)}}},{key:"toNewName",value:function(t){return"curve"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"renderLine",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,u=r.polar,c=r.origin,l=u&&c?"translate("+c.x+", "+c.y+")":void 0;return s.a.createElement("path",b({style:e,shapeRendering:i||"auto",role:a||"presentation",d:t,transform:l,className:o},n))}},{key:"render",value:function(){var t=this.props.events;return this.renderLine(this.path,this.style,t)}}]),e}(s.a.Component);m.propTypes=b({},v.a,{interpolation:f.a.string,openCurve:f.a.bool,origin:f.a.object,polar:f.a.bool}),e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(3),d=n(8),y=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},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(t){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.borderWidth,r=e.className,a=e.datum,i=e.x,o=e.y,u=e.errorX,c=e.errorY,s=this.getStyle(t);return!p.a.allSetsEqual([[n,t.borderWidth],[r,t.className],[i,t.x],[o,t.y],[u,t.errorX],[c,t.errorY],[this.style,s],[a,t.datum]])&&(this.style=s,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return h.a.evaluateStyle(u()({stroke:"black"},e),n,r)}},{key:"renderLine",value:function(t,e,n){return s.a.createElement("line",y({},t,{style:e},n))}},{key:"renderBorder",value:function(t,e,n){var r=t.x,a=t.y,i=t.borderWidth,o=t.events,u=t.style,c=t.role,s=t.shapeRendering,l=t.className,f="Right"===n||"Left"===n,h=e["error"+n],p={role:c,shapeRendering:s,className:l,key:"border"+n,x1:f?h:r-i,x2:f?h:r+i,y1:f?a-i:h,y2:f?a+i:h};return this.renderLine(p,u,o)}},{key:"renderCross",value:function(t,e,n){var r=t.x,a=t.y,i=t.events,o=t.style,u=t.role,c=t.shapeRendering,s=t.className,l="Top"===n||"Bottom"===n,f=e["error"+n],h={role:u,shapeRendering:c,className:s,key:"cross"+n,x1:r,x2:l?r:f,y1:a,y2:l?f:a};return this.renderLine(h,o,i)}},{key:"renderErrorBar",value:function(t,e){var n=e.groupComponent;return s.a.cloneElement(n,{},t.errorRight?this.renderBorder(e,t,"Right"):null,t.errorLeft?this.renderBorder(e,t,"Left"):null,t.errorBottom?this.renderBorder(e,t,"Bottom"):null,t.errorTop?this.renderBorder(e,t,"Top"):null,t.errorRight?this.renderCross(e,t,"Right"):null,t.errorLeft?this.renderCross(e,t,"Left"):null,t.errorBottom?this.renderCross(e,t,"Bottom"):null,t.errorTop?this.renderCross(e,t,"Top"):null)}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.borderWidth,a=t.groupComponent,i=t.events,o=t.errorX,u=t.errorY,c=t.scale,l=t.role,f=t.shapeRendering,h=t.className,p=void 0,d=void 0,y=void 0,v=void 0,b=void 0,g=void 0,m=void 0,_=void 0,x=void 0,O=void 0;o&&(p=c.x.range(),y=o[0],v=o[1],x=y>=p[1]?p[1]:y,O=v<=p[0]?p[0]:v),u&&(d=c.y.range(),b=u[1],g=u[0],m=b>=d[0]?d[0]:b,_=g<=d[1]?d[1]:g);var w={x:e,y:n,borderWidth:r,groupComponent:a,events:i,className:h,role:l||"presentation",shapeRendering:f||"auto",style:this.style};return s.a.cloneElement(this.props.groupComponent,{},this.renderErrorBar({errorTop:m,errorBottom:_,errorRight:x,errorLeft:O},w))}}]),e}(s.a.Component);b.propTypes=y({},d.a,{borderWidth:f.a.number,datum:f.a.object,errorX:f.a.oneOfType([f.a.number,f.a.array,f.a.bool]),errorY:f.a.oneOfType([f.a.number,f.a.array,f.a.bool]),groupComponent:f.a.element,x:f.a.number,y:f.a.number}),b.defaultProps={borderWidth:10,groupComponent:s.a.createElement("g",null)},e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(4),u=n.n(o),c=n(0),s=n.n(c),l=n(1),f=n.n(l),h=n(2),p=n(3),d=n(8),y=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},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.datum,a=e.x1,i=e.x2,o=e.y1,u=e.y2,c=this.getStyle(t);return!p.a.allSetsEqual([[n,t.className],[a,t.x1],[i,t.x2],[o,t.y1],[u,t.y2],[c,this.style],[r,t.datum]])&&(this.style=c,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return h.a.evaluateStyle(u()({stroke:"black"},e),n,r)}},{key:"renderAxisLine",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className;return s.a.createElement("line",y({},t,{className:o,style:e,role:a||"presentation",shapeRendering:i||"auto",vectorEffect:"non-scaling-stroke"},n))}},{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,r=t.y1,a=t.y2,i=t.events;return this.renderAxisLine({x1:e,x2:n,y1:r,y2:a},this.style,i)}}]),e}(s.a.Component);b.propTypes=y({},d.a,{datum:f.a.any,x1:f.a.number,x2:f.a.number,y1:f.a.number,y2:f.a.number}),e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(8),p=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},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,a=this.props,i=a.className,o=a.datum,u=a.slice;return!f.a.allSetsEqual([[i,t.className],[r,this.path],[n,this.style],[o,t.datum],[u,t.slice]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active,a=t.pathFunction,i=t.slice;return{style:l.a.evaluateStyle(e,n,r),path:a(i)}}},{key:"renderSlice",value:function(t,e,n){var r=this.props,a=r.role,i=r.shapeRendering,o=r.className,c=r.origin,s=c?"translate("+c.x+", "+c.y+")":void 0;return u.a.createElement("path",p({d:t,className:o,role:a||"presentation",style:e,transform:s,shapeRendering:i||"auto"},n))}},{key:"render",value:function(){return this.renderSlice(this.path,this.style,this.props.events)}}]),e}(u.a.Component);y.propTypes=p({},h.a,{datum:s.a.object,pathFunction:s.a.func,slice:s.a.object}),e.a=y},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=n.n(o),c=n(1),s=n.n(c),l=n(2),f=n(3),h=n(8),p=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},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.circle,r=t.voronoi;this.style=e,this.circle=n,this.voronoi=r}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.circle,a=e.voronoi,i=this.props,o=i.className,u=i.x,c=i.y,s=i.datum;return!f.a.allSetsEqual([[o,t.className],[u,t.x],[c,t.y],[r,this.circle],[a,this.voronoi],[n,this.style],[s,t.datum]])&&(this.style=n,this.circle=r,this.voronoi=a,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active;return{style:l.a.evaluateStyle(e,n,r),circle:this.getCirclePath(t),voronoi:this.getVoronoiPath(t)}}},{key:"getVoronoiPath",value:function(t){var e=t.polygon;return Array.isArray(e)&&e.length?"M "+t.polygon.join("L")+" Z":""}},{key:"getCirclePath",value:function(t){if(!t.size)return null;var e=t.x,n=t.y,r=t.datum,a=t.active,i=l.a.evaluateProp(t.size,r,a);return"M "+e+", "+n+" m "+-i+", 0\n a "+i+", "+i+" 0 1,0 "+2*i+",0\n a "+i+", "+i+" 0 1,0 "+2*-i+",0"}},{key:"renderPoint",value:function(t,e,n){var r=t.circle&&"clipPath-"+Math.random(),a=t.circle?"url(#"+r+")":void 0,i=this.props,o=i.role,c=i.shapeRendering,s=i.className,l=u.a.createElement("path",p({d:t.circle||t.voronoi,className:s,clipPath:a,style:e,role:o||"presentation",shapeRendering:c||"auto"},n));return t.circle?u.a.createElement("g",null,u.a.createElement("defs",null,u.a.createElement("clipPath",{id:r},u.a.createElement("path",{d:t.voronoi,className:s}))),l):l}},{key:"render",value:function(){var t={circle:this.circle,voronoi:this.voronoi};return this.renderPoint(t,this.style,this.props.events)}}]),e}(u.a.Component);y.propTypes=p({},h.a,{datum:s.a.object,polygon:s.a.array,size:s.a.number,x:s.a.number,y:s.a.number}),e.a=y},function(t,e,n){function r(t){return t&&t.length?a(t):[]}var a=n(352);t.exports=r},function(t,e,n){function r(t,e,n){var r=-1,f=i,h=t.length,p=!0,d=[],y=d;if(n)p=!1,f=o;else if(h>=l){var v=e?null:c(t);if(v)return s(v);p=!1,f=u,y=new a}else y=e?[]:d;t:for(;++r<h;){var b=t[r],g=e?e(b):b;if(b=n||0!==b?b:0,p&&g===g){for(var m=y.length;m--;)if(y[m]===g)continue t;e&&y.push(g),d.push(b)}else f(y,g,n)||(y!==d&&y.push(g),d.push(b))}return d}var a=n(61),i=n(147),o=n(148),u=n(62),c=n(353),s=n(354),l=200;t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(356);n.d(e,"scaleBand",function(){return r.a}),n.d(e,"scalePoint",function(){return r.b});var a=n(379);n.d(e,"scaleIdentity",function(){return a.a});var i=n(36);n.d(e,"scaleLinear",function(){return i.a});var o=n(390);n.d(e,"scaleLog",function(){return o.a});var u=n(182);n.d(e,"scaleOrdinal",function(){return u.a}),n.d(e,"scaleImplicit",function(){return u.b});var c=n(391);n.d(e,"scalePow",function(){return c.a}),n.d(e,"scaleSqrt",function(){return c.b});var s=n(392);n.d(e,"scaleQuantile",function(){return s.a});var l=n(393);n.d(e,"scaleQuantize",function(){return l.a});var f=n(394);n.d(e,"scaleThreshold",function(){return f.a});var h=n(190);n.d(e,"scaleTime",function(){return h.b});var p=n(410);n.d(e,"scaleUtc",function(){return p.a});var d=n(411);n.d(e,"schemeCategory10",function(){return d.a});var y=n(412);n.d(e,"schemeCategory20b",function(){return y.a});var v=n(413);n.d(e,"schemeCategory20c",function(){return v.a});var b=n(414);n.d(e,"schemeCategory20",function(){return b.a});var g=n(415);n.d(e,"interpolateCubehelixDefault",function(){return g.a});var m=n(416);n.d(e,"interpolateRainbow",function(){return m.b}),n.d(e,"interpolateWarm",function(){return m.c}),n.d(e,"interpolateCool",function(){return m.a});var _=n(417);n.d(e,"interpolateViridis",function(){return _.a}),n.d(e,"interpolateMagma",function(){return _.c}),n.d(e,"interpolateInferno",function(){return _.b}),n.d(e,"interpolatePlasma",function(){return _.d});var x=n(418);n.d(e,"scaleSequential",function(){return x.a})},function(t,e,n){"use strict";function r(){function t(){var t=i().length,r=s[1]<s[0],a=s[r-0],u=s[1-r];e=(u-a)/Math.max(1,t-f+2*h),l&&(e=Math.floor(e)),a+=(u-a-e*(t-f))*p,n=e*(1-f),l&&(a=Math.round(a),n=Math.round(n));var d=Object(o.e)(t).map(function(t){return a+e*t});return c(r?d.reverse():d)}var e,n,a=Object(u.a)().unknown(void 0),i=a.domain,c=a.range,s=[0,1],l=!1,f=0,h=0,p=.5;return delete a.unknown,a.domain=function(e){return arguments.length?(i(e),t()):i()},a.range=function(e){return arguments.length?(s=[+e[0],+e[1]],t()):s.slice()},a.rangeRound=function(e){return s=[+e[0],+e[1]],l=!0,t()},a.bandwidth=function(){return n},a.step=function(){return e},a.round=function(e){return arguments.length?(l=!!e,t()):l},a.padding=function(e){return arguments.length?(f=h=Math.max(0,Math.min(1,e)),t()):f},a.paddingInner=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),t()):f},a.paddingOuter=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),t()):h},a.align=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),t()):p},a.copy=function(){return r().domain(i()).range(s).round(l).paddingInner(f).paddingOuter(h).align(p)},t()}function a(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return a(e())},t}function i(){return a(r().paddingInner(1))}e.a=r,e.b=i;var o=n(11),u=n(182)},function(t,e,n){"use strict";n(172)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(176),n(170),n(360),n(175),n(361),n(177),n(178),n(179)},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";n(176),n(23),n(35),n(97)},function(t,e,n){"use strict";n(173)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(35)},function(t,e,n){"use strict";n(23),n(35),n(97)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(23)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(181)},function(t,e,n){"use strict";var r=(n(374),n(375),n(98));n.d(e,"a",function(){return r.a});n(376),n(377),n(378)},function(t,e,n){"use strict";n(98)},function(t,e,n){"use strict";function r(){}function a(t,e){var n=new r;if(t instanceof r)t.each(function(t){n.add(t)});else if(t){var a=-1,i=t.length;if(null==e)for(;++a<i;)n.add(t[a]);else for(;++a<i;)n.add(e(t[a],a,t))}return n}var i=n(98),o=i.a.prototype;r.prototype=a.prototype={constructor:r,has:o.has,add:function(t){return t+="",this[i.b+t]=t,this},remove:o.remove,clear:o.clear,values:o.keys,size:o.size,empty:o.empty,each:o.each}},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";function r(){function t(t){return+t}var e=[0,1];return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=a.a.call(n,o.a),t):e.slice()},t.copy=function(){return r().domain(e)},Object(i.b)(t)}e.a=r;var a=n(17),i=n(36),o=n(183)},function(t,e,n){"use strict";var r=n(11),a=n(184);e.a=function(t,e,n){var i,o=t[0],u=t[t.length-1],c=Object(r.g)(o,u,null==e?10:e);switch(n=Object(a.c)(null==n?",f":n),n.type){case"s":var s=Math.max(Math.abs(o),Math.abs(u));return null!=n.precision||isNaN(i=Object(a.e)(c,s))||(n.precision=i),Object(a.b)(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=Object(a.f)(c,Math.max(Math.abs(o),Math.abs(u))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=Object(a.d)(c))||(n.precision=i-2*("%"===n.type))}return Object(a.a)(n)}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i});var r,a,i,o=n(185);!function(t){r=Object(o.a)(t),a=r.format,i=r.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(t,e,n){"use strict";e.a=function(t,e){return function(n,r){for(var a=n.length,i=[],o=0,u=t[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(n.substring(a-=u,a+u)),!((c+=u+1)>r));)u=t[o=(o+1)%t.length];return i.reverse().join(e)}}},function(t,e,n){"use strict";e.a=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}},function(t,e,n){"use strict";e.a=function(t,e){t=t.toPrecision(e);t:for(var n,r=t.length,a=1,i=-1;a<r;++a)switch(t[a]){case".":i=n=a;break;case"0":0===i&&(i=a),n=a;break;case"e":break t;default:i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}},function(t,e,n){"use strict";var r=n(100);e.a=function(t,e){var n=Object(r.a)(t,e);if(!n)return t+"";var a=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+a:a.length>i+1?a.slice(0,i+1)+"."+a.slice(i+1):a+new Array(i-a.length+2).join("0")}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var r=n(58);e.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,e,n){"use strict";var r=n(58);e.a=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(e)/3)))-Object(r.a)(Math.abs(t)))}},function(t,e,n){"use strict";var r=n(58);e.a=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(r.a)(e)-Object(r.a)(t))+1}},function(t,e,n){"use strict";function r(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:Object(h.a)(e)}function a(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function i(t){return isFinite(t)?+("1e"+t):t<0?0:t}function o(t){return 10===t?i:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function u(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function c(t){return function(e){return-t(-e)}}function s(){function t(){return h=u(i),y=o(i),n()[0]<0&&(h=c(h),y=c(y)),e}var e=Object(d.b)(r,a).domain([1,10]),n=e.domain,i=10,h=u(10),y=o(10);return e.base=function(e){return arguments.length?(i=+e,t()):i},e.domain=function(e){return arguments.length?(n(e),t()):n()},e.ticks=function(t){var e,r=n(),a=r[0],o=r[r.length-1];(e=o<a)&&(f=a,a=o,o=f);var u,c,s,f=h(a),p=h(o),d=null==t?10:+t,v=[];if(!(i%1)&&p-f<d){if(f=Math.round(f)-1,p=Math.round(p)+1,a>0){for(;f<p;++f)for(c=1,u=y(f);c<i;++c)if(!((s=u*c)<a)){if(s>o)break;v.push(s)}}else for(;f<p;++f)for(c=i-1,u=y(f);c>=1;--c)if(!((s=u*c)<a)){if(s>o)break;v.push(s)}}else v=Object(l.h)(f,p,Math.min(p-f,d)).map(y);return e?v.reverse():v},e.tickFormat=function(t,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=Object(f.a)(n)),t===1/0)return n;null==t&&(t=10);var r=Math.max(1,i*t/e.ticks().length);return function(t){var e=t/y(Math.round(h(t)));return e*i<i-.5&&(e*=i),e<=r?n(t):""}},e.nice=function(){return n(Object(p.a)(n(),{floor:function(t){return y(Math.floor(h(t)))},ceil:function(t){return y(Math.ceil(h(t)))}}))},e.copy=function(){return Object(d.a)(e,s().base(i))},e}e.a=s;var l=n(11),f=n(184),h=n(99),p=n(189),d=n(57)},function(t,e,n){"use strict";function r(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function a(){function t(t,e){return(e=r(e,n)-(t=r(t,n)))?function(a){return(r(a,n)-t)/e}:Object(o.a)(e)}function e(t,e){return e=r(e,n)-(t=r(t,n)),function(a){return r(t+e*a,1/n)}}var n=1,i=Object(c.b)(t,e),s=i.domain;return i.exponent=function(t){return arguments.length?(n=+t,s(s())):n},i.copy=function(){return Object(c.a)(i,a().exponent(n))},Object(u.b)(i)}function i(){return a().exponent(.5)}e.a=a,e.b=i;var o=n(99),u=n(36),c=n(57)},function(t,e,n){"use strict";function r(){function t(){var t=0,r=Math.max(1,o.length);for(u=new Array(r-1);++t<r;)u[t-1]=Object(a.d)(n,t/r);return e}function e(t){if(!isNaN(t=+t))return o[Object(a.b)(u,t)]}var n=[],o=[],u=[];return e.invertExtent=function(t){var e=o.indexOf(t);return e<0?[NaN,NaN]:[e>0?u[e-1]:n[0],e<u.length?u[e]:n[n.length-1]]},e.domain=function(e){if(!arguments.length)return n.slice();n=[];for(var r,i=0,o=e.length;i<o;++i)null==(r=e[i])||isNaN(r=+r)||n.push(r);return n.sort(a.a),t()},e.range=function(e){return arguments.length?(o=i.b.call(e),t()):o.slice()},e.quantiles=function(){return u.slice()},e.copy=function(){return r().domain(n).range(o)},e}e.a=r;var a=n(11),i=n(17)},function(t,e,n){"use strict";function r(){function t(t){if(t<=t)return l[Object(a.b)(s,t,0,c)]}function e(){var e=-1;for(s=new Array(c);++e<c;)s[e]=((e+1)*u-(e-c)*n)/(c+1);return t}var n=0,u=1,c=1,s=[.5],l=[0,1];return t.domain=function(t){return arguments.length?(n=+t[0],u=+t[1],e()):[n,u]},t.range=function(t){return arguments.length?(c=(l=i.b.call(t)).length-1,e()):l.slice()},t.invertExtent=function(t){var e=l.indexOf(t);return e<0?[NaN,NaN]:e<1?[n,s[0]]:e>=c?[s[c-1],u]:[s[e-1],s[e]]},t.copy=function(){return r().domain([n,u]).range(l)},Object(o.b)(t)}e.a=r;var a=n(11),i=n(17),o=n(36)},function(t,e,n){"use strict";function r(){function t(t){if(t<=t)return n[Object(a.b)(e,t,0,o)]}var e=[.5],n=[0,1],o=1;return t.domain=function(r){return arguments.length?(e=i.b.call(r),o=Math.min(e.length,n.length-1),t):e.slice()},t.range=function(r){return arguments.length?(n=i.b.call(r),o=Math.min(e.length,n.length-1),t):n.slice()},t.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},t.copy=function(){return r().domain(e).range(n)},t}e.a=r;var a=n(11),i=n(17)},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):a:null},e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setTime(Math.floor(t/a.d)*a.d)},function(t,e){t.setTime(+t+e*a.d)},function(t,e){return(e-t)/a.d},function(t){return t.getUTCSeconds()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setTime(Math.floor(t/a.c)*a.c)},function(t,e){t.setTime(+t+e*a.c)},function(t,e){return(e-t)/a.c},function(t){return t.getMinutes()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){var e=t.getTimezoneOffset()*a.c%a.b;e<0&&(e+=a.b),t.setTime(Math.floor((+t-e)/a.b)*a.b+e)},function(t,e){t.setTime(+t+e*a.b)},function(t,e){return(e-t)/a.b},function(t){return t.getHours()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*a.c)/a.a},function(t){return t.getDate()-1});e.a=i;i.range},function(t,e,n){"use strict";function r(t){return Object(a.a)(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.e})}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var a=n(5),i=n(12),o=r(0),u=r(1),c=r(2),s=r(3),l=r(4),f=r(5),h=r(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});a.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*a.c)},function(t,e){return(e-t)/a.c},function(t){return t.getUTCMinutes()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*a.b)},function(t,e){return(e-t)/a.b},function(t){return t.getUTCHours()});e.a=i;i.range},function(t,e,n){"use strict";var r=n(5),a=n(12),i=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/a.a},function(t){return t.getUTCDate()-1});e.a=i;i.range},function(t,e,n){"use strict";function r(t){return Object(a.a)(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/i.e})}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var a=n(5),i=n(12),o=r(0),u=r(1),c=r(2),s=r(3),l=r(4),f=r(5),h=r(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(5),a=Object(r.a)(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});a.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},e.a=a;a.range},function(t,e,n){"use strict";function r(t){var e=new Date(t);return isNaN(e)?null:e}var a=n(193),i=n(102);+new Date("2000-01-01T00:00:00.000Z")||Object(i.c)(a.a)},function(t,e,n){"use strict";var r=n(190),a=n(191),i=n(101);e.a=function(){return Object(r.a)(i.t,i.p,i.s,i.k,i.l,i.n,i.q,i.m,a.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,e,n){"use strict";var r=n(37);e.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,e,n){"use strict";var r=n(13),a=n(22);e.a=Object(a.b)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o});var r=n(13),a=n(22),i=Object(a.b)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(a.b)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(r.b)();e.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return u.h=360*t-100,u.s=1.5-1.5*e,u.l=.8-.9*e,u+""}},function(t,e,n){"use strict";function r(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"d",function(){return u});var a=n(37);e.a=r(Object(a.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var i=r(Object(a.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),o=r(Object(a.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=r(Object(a.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,e,n){"use strict";function r(t){function e(e){var r=(e-n)/(i-n);return t(o?Math.max(0,Math.min(1,r)):r)}var n=0,i=1,o=!1;return e.domain=function(t){return arguments.length?(n=+t[0],i=+t[1],e):[n,i]},e.clamp=function(t){return arguments.length?(o=!!t,e):o},e.interpolator=function(n){return arguments.length?(t=n,e):t},e.copy=function(){return r(t).domain([n,i]).clamp(o)},Object(a.b)(e)}e.a=r;var a=n(36)},function(t,e,n){"use strict";e.a={continuousTransitions:function(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}},continuousPolarTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}},onExit:{duration:500,before:function(t,e,n){var r=function(t){return(0===e?n[e+1]:n[e-1])[t]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:function(t,e,n){var r=function(t){return(0===e?n[e+1]:n[e-1])[t]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:function(t){return{_x:t._x,_y:t._y,_y1:t._y1,_y0:t._y0}}}}},discreteTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(t){return t}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return t}}}}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(421),i=n.n(a),o=n(27),u=n.n(o),c=n(169),s=n.n(c),l=n(129),f=n.n(l),h=n(95),p=n(96),d=n(2),y=n(3);e.a={getDomain:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return this.padDomain(n,t,e);var r=this.getDomainFromCategories(t,e);if(r)return this.padDomain(r,t,e);var a=h.a.getData(t),i=this.getDomainFromData(t,e,a);return this.cleanDomain(this.padDomain(i,t,e),t,e)},cleanDomain:function(t,e,n){if("log"!==p.a.getScaleType(e,n))return t;return function(t){var e=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?e:t[0],0===t[1]?e:t[1]]}(t)},getDomainWithZero:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return this.cleanDomain(this.padDomain(n,t,e),t,e);var a=t.horizontal,i=function(t,n){var i=d.a.getCurrentAxis(e,a);if("x"===i)return t;if(!n)return[y.a.getMinValue(t,0),y.a.getMaxValue(t,0)];var o=f()(n),u=o.map(function(t){return t["_"+i+"0"]||0}),c=o.map(function(t){return t["_"+i+"1"]||t["_"+i]||0});return[y.a.getMinValue([].concat(r(t),r(u))),y.a.getMaxValue([].concat(r(t),r(c)))]},o=this.getDomainFromCategories(t,e);if(o)return this.cleanDomain(this.padDomain(i(o),t,e),t,e);var u=h.a.getData(t),c=i(this.getDomainFromData(t,e,u),u);return this.cleanDomain(this.padDomain(c,t,e),t,e)},getDomainFromProps:function(t,e){return t.domain&&t.domain[e]?t.domain[e]:t.domain&&Array.isArray(t.domain)?t.domain:void 0},getDomainFromData:function(t,e,n){var r=d.a.getCurrentAxis(e,t.horizontal),a=f()(n),i=a.map(function(t){return void 0===t["_"+r+"1"]?t["_"+r]:t["_"+r+"1"]}),o=a.map(function(t){return void 0===t["_"+r+"0"]?t["_"+r]:t["_"+r+"0"]});if(i.length<1)return p.a.getBaseScale(t,e).domain();var u=y.a.getMinValue(o),c=y.a.getMaxValue(i),s=void 0;s=+u==+c?this.getSinglePointDomain(c):[u,c];var l=Math.abs((t.startAngle||0)-(t.endAngle||360));return t.polar&&"x"===e&&360===l?this.getSymmetricDomain(s,i):s},getSinglePointDomain:function(t){var e=Math.pow(10,-10);return[t instanceof Date?new Date(+t-1):t-e,t instanceof Date?new Date(+t+1):t+e]},getSymmetricDomain:function(t,e){var n=i()(e.sort(function(t,e){return t-e})),r=n[1]-n[0];return[t[0],t[1]+r]},getDomainFromTickValues:function(t,e){var n=void 0;if(d.a.stringTicks(t))n=[1,t.tickValues.length];else{var r=t.tickValues.map(function(t){return+t}),a=[y.a.getMinValue(r),y.a.getMaxValue(r)];n=t.polar&&"x"===e?this.getSymmetricDomain(a,r):a}return d.a.isVertical(t)&&n.reverse(),n},getDomainFromCategories:function(t,e){var n=h.a.getCategories(t,e);if(n){var r=y.a.containsStrings(n)?h.a.getStringsFromCategories(t,e):[],a=0===r.length?null:r.reduce(function(t,e,n){return t[e]=n+1,t},{}),i=a?n.map(function(t){return a[t]}):n;return[y.a.getMinValue(i),y.a.getMaxValue(i)]}},getDomainFromGroupedData:function(t,e,n){var a=t.horizontal,i="x"===e&&!a||"y"===e&&a;if(i&&t.categories)return this.getDomainFromCategories(t,e);var o=this.getDomainFromData(t,e,n),u=i?[]:this.getCumulativeData(t,e,n),c=u.map(function(t){return t.reduce(function(t,e){return e>0?+e+ +t:t},0)}),s=u.map(function(t){return t.reduce(function(t,e){return e<0?+e+ +t:t},0)}),l=Math.min.apply(Math,r(s)),f=l<0?l:y.a.getMinValue(o),h=y.a.getMaxValue.apply(y.a,[o].concat(r(c)));return+f==+h?this.getSinglePointDomain(f):[f,h]},getCumulativeData:function(t,e,n){var r=d.a.getCurrentAxis(e,t.horizontal),a="x"===r?"y":"x",i=[],o=[];n.forEach(function(t){t.forEach(function(t){void 0===t.category||s()(i,t.category)?s()(o,t["_"+a])||o.push(t["_"+a]):i.push(t.category)})});return 0===i.length?function(){return o.map(function(t,e){return n.map(function(t){return t[e]&&t[e]["_"+r]})})}():function(){return i.map(function(t){return n.reduce(function(n,r){return r.category===t?n.concat(r["_"+e]):n},[])})}()},getDomainPadding:function(t,e){var n=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return n(u()(t.domainPadding)?t.domainPadding[e]:t.domainPadding)},padDomain:function(t,e,n){if(!e.domainPadding)return t;var a=this.getDomainPadding(e,n);if(!a.left&&!a.right)return t;var i=y.a.getMinValue(t),o=y.a.getMaxValue(t),u=d.a.getRange(e,n),c=Math.abs(Math.max.apply(Math,r(u))-Math.min.apply(Math,r(u))),s={left:Math.abs(o-i)*a.left/c,right:Math.abs(o-i)*a.right/c},l={min:i>=0&&i-s.left<=0?0:i.valueOf()-s.left,max:o<=0&&o+s.right>=0?0:o.valueOf()+s.right},f={left:Math.abs(l.max-l.min)*a.left/c,right:Math.abs(l.max-l.min)*a.right/c},h={min:i>=0&&i-f.left<=0?0:i.valueOf()-f.left,max:o>=0&&o+f.right<=0?0:o.valueOf()+f.right};return i instanceof Date||o instanceof Date?[new Date(h.min),new Date(h.max)]:[h.min,h.max]},orientDomain:function(t,e,n){var r="x"===n?"y":"x",a=function(t){return"x"===t?"bottom":"left"},i="left"===e.x||"right"===e.x,o=i?e[r]===a(n):e[r]===a(r);return i?o?t.concat().reverse():t:o?t:t.concat().reverse()}}},function(t,e,n){function r(t){return t&&t.length?a(t):[]}var a=n(422);t.exports=r},function(t,e,n){function r(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n],c=e?e(u):u;if(!n||!a(c,s)){var s=c;o[i++]=0===u?0:u}}return o}var a=n(25);t.exports=r},function(t,e,n){"use strict";var r=n(6),a=n.n(r),i=n(0),o=n.n(i),u=n(95),c=n(3);e.a={getParentSVG:function(t){return"svg"===t.nodeName?t:this.getParentSVG(t.parentNode)},getTransformationMatrix:function(t){return t.getScreenCTM().inverse()},getSVGEventCoordinates:function(t){if("undefined"==typeof document)return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};t=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;var e=this.getParentSVG(t.target),n=this.getTransformationMatrix(e);return{x:this.transformTarget(t.clientX,n,"x"),y:this.transformTarget(t.clientY,n,"y")}},transformTarget:function(t,e,n){var r=e.a,a=e.d,i=e.e,o=e.f;return"y"===n?a*t+o:r*t+i},getDomainCoordinates:function(t,e){var n=t.scale;return e=e||{x:n.x.domain(),y:n.y.domain()},{x:[n.x(e.x[0]),n.x(e.x[1])],y:[n.y(e.y[0]),n.y(e.y[1])]}},getDataCoordinates:function(t,e,n,r){if(t.polar){var a=t.origin||{x:0,y:0},i=n-a.x,o=r-a.y,u=Math.abs(i*Math.sqrt(1+Math.pow(-o/i,2))),c=(-Math.atan2(o,i)+2*Math.PI)%(2*Math.PI);return{x:e.x.invert(c),y:e.y.invert(u)}}return{x:e.x.invert(n),y:e.y.invert(r)}},getBounds:function(t){var e=t.x1,n=t.x2,r=t.y1,a=t.y2,i=t.scale,o=this.getDataCoordinates(t,i,e,r),u=this.getDataCoordinates(t,i,n,a),s=function(t,e){return[c.a.getMinValue([t,e]),c.a.getMaxValue([t,e])]};return{x:s(o.x,u.x),y:s(o.y,u.y)}},getDatasets:function(t){if(t.data)return[{data:t.data}];for(var e=o.a.Children.toArray(t.children).reverse(),n=e.length,r=[],i=0,c=0;n>0;){var s=e[--n],l=s.props.name||c;if(c++,s.type&&"axis"===s.type.role)c++;else if(s.type&&a()(s.type.getData))r[i++]={childName:l,data:s.type.getData(s.props)};else if(s.props&&s.props.children)for(var f=o.a.Children.toArray(s.props.children),h=f.length,p=0;p<h;p++)e[n++]=f[p];else r[i++]={childName:l,data:function(t){var e=u.a.getData(t);return Array.isArray(e)&&e.length>0?e:void 0}(s.props)}}return r},filterDatasets:function(t,e){var n=this,r=t.reduce(function(t,r){var a=n.getSelectedData(r.data,e);return t=a?t.concat({childName:r.childName,eventKey:a.eventKey,data:a.data}):t},[]);return r.length?r:null},getSelectedData:function(t,e){var n=e.x,r=e.y,a=function(t){return t._x>=n[0]&&t._x<=n[1]&&t._y>=r[0]&&t._y<=r[1]},i=t.reduce(function(t,e,n){return a(e)&&(t.data.push(e),t.eventKey.push(void 0===e.eventKey?n:e.eventKey)),t},{data:[],eventKey:[]});return i.data.length>0?i:null}}}])});
|
|
2
2
|
//# sourceMappingURL=victory-core.min.js.map
|