victory 31.0.1 → 31.3.0
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/README.md +20 -21
- package/dist/victory.js +3151 -2689
- package/dist/victory.min.js +1 -1
- package/package.json +26 -26
- package/src/index.js +103 -19
package/dist/victory.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Victory=t(require("react")):e.Victory=t(e.React)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=211)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(105);n.d(t,"E",function(){return r.a});var a=n(275);n.d(t,"G",function(){return a.a});var o=n(292);n.d(t,"H",function(){return o.a});var i=n(140);n.d(t,"K",function(){return i.a});var u=n(294);n.d(t,"F",function(){return u.a});var c=n(295);n.d(t,"J",function(){return c.a});var l=n(136);n.d(t,"I",function(){return l.a});var s=n(133);n.d(t,"t",function(){return s.a});var f=n(298);n.d(t,"a",function(){return f.a});var p=n(299);n.d(t,"c",function(){return p.a}),n.d(t,"d",function(){return p.a});var d=n(141);n.d(t,"f",function(){return d.a});var h=n(300);n.d(t,"p",function(){return h.a});var y=n(301);n.d(t,"s",function(){return y.a});var b=n(305);n.d(t,"L",function(){return b.a});var m=n(306);n.d(t,"N",function(){return m.a});var g=n(15);n.d(t,"g",function(){return g.a});var v=n(88);n.d(t,"i",function(){return v.a});var x=n(379);n.d(t,"j",function(){return x.a});var O=n(96);n.d(t,"k",function(){return O.a});var w=n(87);n.d(t,"l",function(){return w.a});var _=n(6);n.d(t,"m",function(){return _.a});var j=(n(169),n(137));n.d(t,"n",function(){return j.a});var P=n(54);n.d(t,"q",function(){return P.a});var C=n(26);n.d(t,"u",function(){return C.a});var M=n(89);n.d(t,"w",function(){return M.a});var A=n(382);n.d(t,"x",function(){return A.a});var k=n(82);n.d(t,"y",function(){return k.a});var E=n(383);n.d(t,"B",function(){return E.a});var T=n(51);n.d(t,"C",function(){return T.a});var S=n(83);n.d(t,"D",function(){return S.a});var D=n(84);n.d(t,"v",function(){return D.a});var N=n(85);n.d(t,"r",function(){return N.a});var L=n(86);n.d(t,"o",function(){return L.a});var R=n(142);n.d(t,"e",function(){return R.a});var z=n(138);n.d(t,"z",function(){return z.a});var I=n(139);n.d(t,"A",function(){return I.a});var B=n(27);n.d(t,"h",function(){return B.a});var V=n(384);n.d(t,"M",function(){return V.a});var F=n(170);n.d(t,"b",function(){return F.a})},function(e,t,n){e.exports=n(212)()},function(e,t,n){var r=n(81),a=n(280),o=n(281),i=n(53),u=n(130),c=n(10),l=Object.prototype,s=l.hasOwnProperty,f=o(function(e,t){if(u(t)||i(t))return void a(t,c(t),e);for(var n in t)s.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){var r=n(79),a=n(47),o=n(80),i=n(277),u=Object.prototype,c=u.hasOwnProperty,l=r(function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&o(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=i(s),p=-1,d=f.length;++p<d;){var h=f[p],y=e[h];(void 0===y||a(y,u[h])&&!c.call(e,h))&&(e[h]=s[h])}return e});e.exports=l},function(e,t,n){function r(e){if(!o(e))return!1;var t=a(e);return t==u||t==c||t==i||t==l}var a=n(119),o=n(9),i="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";e.exports=r},function(e,t,n){"use strict";function r(e,t){var n="x"!==t,r=c(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}function a(e,t){if("x"===t){return[p(e.startAngle||0),p(e.endAngle||360)]}return[e.innerRadius||0,h(e)]}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,a=e._x0,o=e._voronoiX,i=e._y,u=e._y1,c=e._y0,l=e._voronoiY,s=t(r)?r:n,f=t(u)?u:i,p={x:t(o)?o:s,x0:t(a)?a:n,y:t(l)?l:f,y0:t(c)?c:i};return T()({},p,e)}function u(e,t){var n=e.scale,r=e.polar,a=i(t),o=e.origin||{x:0,y:0},u=n.x(a.x),c=n.x(a.x0),l=n.y(a.y),s=n.y(a.y0);return{x:r?l*Math.cos(u)+o.x:u,x0:r?s*Math.cos(c)+o.x:c,y:r?-l*Math.sin(u)+o.y:l,y0:r?-s*Math.sin(c)+o.x:s}}function c(e){var t=e.padding,n="number"==typeof t?t:0,r="object"==typeof t?t:{};return{top:r.top||n,bottom:r.bottom||n,left:r.left||n,right:r.right||n}}function l(e,t){if(!e)return T()({parent:{height:"100%",width:"100%"}},t);var n=e.data,r=e.labels,a=e.parent,o=t&&t.parent||{},i=t&&t.labels||{},u=t&&t.data||{};return{parent:T()({},a,o,{width:"100%",height:"100%"}),labels:T()({},r,i),data:T()({},n,u)}}function s(e,t,n){return k()(e)?e(t,n):e}function f(e,t,n){return e&&Object.keys(e).some(function(t){return k()(e[t])})?Object.keys(e).reduce(function(r,a){return r[a]=s(e[a],t,n),r},{}):e}function p(e){return"number"==typeof e?e*(Math.PI/180):e}function d(e){return"number"==typeof e?e/(Math.PI/180):e}function h(e){var t=c(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2}function y(e){var t=e.width,n=e.height,r=c(e),a=r.top,o=r.bottom,i=r.left,u=r.right,l=Math.min(t-i-u,n-a-o)/2,s=t/2+i-u,f=n/2+a-o;return{x:s+l>t?l+i-u:s,y:f+l>n?l+a-o:f}}function b(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?a(e,t):r(e,t)}function m(e){return k()(e)?e:null===e||void 0===e?function(e){return e}:M()(e)}function g(e,t,n){var r=e.theme&&e.theme[n]?e.theme[n]:{},a=o(r,["style"]);return T()({},e,a,t)}function v(e,t){var n="x"===e?"y":"x";return t?n:e}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain"],a=function(e,o,i){return e.reduce(function(e,u,c){var l=u.type&&u.type.role,s=u.props.name||"".concat(l,"-").concat(o[c]);if(u.props&&u.props.children){var f=_()({},u.props,P()(n,r)),p=u.type&&k()(u.type.getChildren)?u.type.getChildren(f):D.a.Children.toArray(u.props.children).map(function(e){var t=_()({},e.props,P()(f,r));return D.a.cloneElement(e,t)}),d=p.map(function(e,t){return"".concat(s,"-").concat(t)}),h=a(p,d,u);e=e.concat(h)}else{var y=t(u,s,i);e=y?e.concat(y):e}return e},[])},o=e.map(function(e,t){return t});return a(e,o)}function O(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce(function(e,n){var r=n.props||{};return e||r.horizontal||!r.children?e=e||r.horizontal:t(D.a.Children.toArray(r.children))},!1)};return t(D.a.Children.toArray(e.children))}var w=n(3),_=n.n(w),j=n(33),P=n.n(j),C=n(73),M=n.n(C),A=n(5),k=n.n(A),E=n(4),T=n.n(E),S=n(0),D=n.n(S);t.a={omit:o,getPoint:i,scalePoint:u,getPadding:c,getStyles:l,evaluateProp:s,evaluateStyle:f,degreesToRadians:p,radiansToDegrees:d,getRadius:h,getPolarOrigin:y,getRange:b,createAccessor:m,modifyProps:g,getCurrentAxis:v,reduceChildren:x,isHorizontal:O}},function(e,t,n){"use strict";function r(e,t,n,i){function u(t){return e(t=new Date(+t)),t}return u.floor=u,u.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},u.round=function(e){var t=u(e),n=u.ceil(e);return e-t<n-e?t:n},u.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},u.range=function(n,r,a){var o,i=[];if(n=u.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return i;do{i.push(o=new Date(+n)),t(n,a),e(n)}while(o<n&&n<r);return i},u.filter=function(n){return r(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(u.count=function(t,r){return a.setTime(+t),o.setTime(+r),e(a),e(o),Math.floor(n(a,o))},u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?u.filter(i?function(t){return i(t)%e==0}:function(t){return u.count(0,t)%e==0}):u:null}),u}t.a=r;var a=new Date,o=new Date},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(48),a=r(Object.keys,Object);e.exports=a},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,u,c,l=a(e),s=a(t);if(l&&s){if((u=e.length)!=t.length)return!1;for(n=u;0!=n--;)if(!r(e[n],t[n]))return!1;return!0}if(l!=s)return!1;var f=e instanceof Date,p=t instanceof Date;if(f!=p)return!1;if(f&&p)return e.getTime()==t.getTime();var d=e instanceof RegExp,h=t instanceof RegExp;if(d!=h)return!1;if(d&&h)return e.toString()==t.toString();var y=o(e);if((u=y.length)!==o(t).length)return!1;for(n=u;0!=n--;)if(!i.call(t,y[n]))return!1;for(n=u;0!=n--;)if(!("_owner"===(c=y[n])&&e.$$typeof||r(e[c],t[c])))return!1;return!0}return e!==e&&t!==t}var a=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty;e.exports=function(e,t){try{return r(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";var r=n(146);n.d(t,"b",function(){return r.a});var a=n(28);n.d(t,"a",function(){return a.a});var o=n(147);n.d(t,"c",function(){return o.a});var i=(n(316),n(317),n(149),n(151),n(318),n(321),n(322),n(155),n(323));n.d(t,"d",function(){return i.a});var u=(n(324),n(325),n(326),n(156));n.d(t,"e",function(){return u.a});var c=(n(148),n(327),n(90));n.d(t,"f",function(){return c.a});var l=n(153);n.d(t,"g",function(){return l.a});var s=(n(328),n(329),n(330),n(154));n.d(t,"j",function(){return s.a}),n.d(t,"h",function(){return s.b}),n.d(t,"i",function(){return s.c});n(157),n(150),n(331)},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"e",function(){return u});var r=1e3,a=6e4,o=36e5,i=864e5,u=6048e5},function(e,t,n){"use strict";var r=n(75);n.d(t,"a",function(){return r.e}),n.d(t,"f",function(){return r.g}),n.d(t,"d",function(){return r.f});var a=n(257);n.d(t,"e",function(){return a.a}),n.d(t,"c",function(){return a.b});var o=n(258);n.d(t,"b",function(){return o.a})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){return Array.isArray(e)&&e.length>0}function c(e){return Array.isArray(e)&&e.some(function(e){return"string"==typeof e})}function l(e){return Array.isArray(e)&&e.some(function(e){return e instanceof Date})}function s(e){return Array.isArray(e)&&e.some(function(e){return"number"==typeof e})}function f(e){return u(e)&&e.every(function(e){return"string"==typeof e})}function p(e){return u(e)&&e.every(Array.isArray)}function d(e){return e.filter(function(e){return void 0!==e})}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=e.concat(n);return l(o)?new Date(Math.max.apply(Math,r(o))):Math.max.apply(Math,r(o))}function y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=e.concat(n);return l(o)?new Date(Math.min.apply(Math,r(o))):Math.min.apply(Math,r(o))}t.a={containsDates:l,containsNumbers:s,containsOnlyStrings:f,containsStrings:c,getMaxValue:h,getMinValue:y,isArrayOfArrays:p,removeUndefined:d}},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&a(e,t,0)>-1}var a=n(67);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?u(e)?o(e[0],e[1]):a(e):c(e)}var a=n(227),o=n(241),i=n(18),u=n(8),c=n(73);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){if(null==e)return!0;if(c(e)&&(u(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||f(e)||i(e)))return!e.length;var t=o(e);if(t==p||t==d)return!e.size;if(s(e))return!a(e).length;for(var n in e)if(y.call(e,n))return!1;return!0}var a=n(293),o=n(68),i=n(72),u=n(8),c=n(53),l=n(108),s=n(130),f=n(109),p="[object Map]",d="[object Set]",h=Object.prototype,y=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var r=Array.prototype,a=r.map,o=r.slice},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t,n){function r(e){if(!i(e)||a(e)!=u)return!1;var t=o(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==p}var a=n(119),o=n(256),i=n(69),u="[object Object]",c=Function.prototype,l=Object.prototype,s=c.toString,f=l.hasOwnProperty,p=s.call(Object);e.exports=r},function(e,t,n){"use strict";var r=n(74);n.d(t,"a",function(){return r.a});var a=(n(124),n(77),n(122),n(125),n(259),n(260),n(50));n.d(t,"c",function(){return a.a});var o=(n(126),n(261));n.d(t,"d",function(){return o.a});var i=(n(127),n(262),n(265),n(121),n(266),n(267),n(268),n(269));n.d(t,"b",function(){return i.a});n(270),n(271)},function(e,t,n){"use strict";function r(e,t){return function(n){return e+n*t}}function a(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function o(e,t){var n=t-e;return n?r(e,n>180||n<-180?n-360*Math.round(n/360):n):Object(c.a)(isNaN(e)?t:e)}function i(e){return 1==(e=+e)?u:function(t,n){return n-t?a(t,n,e):Object(c.a)(isNaN(t)?n:t)}}function u(e,t){var n=t-e;return n?r(e,n):Object(c.a)(isNaN(e)?t:e)}t.c=o,t.b=i,t.a=u;var c=n(123)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(282),o=n.n(a),i=n(5),u=n.n(i),c=n(54),l=n(2),s=n.n(l),f=function(e){var t=function(t,n,r,a){var o=n[r];if(void 0===o||null===o)return t?new Error("Required `".concat(r,"` was not specified in `").concat(a,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,a].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},p=function(){return null},d=function(){},h=function(e){return void 0===e?d:null===e?p:e.constructor},y=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};t.a={deprecated:function(e,t){return function(n,a,o){var i=n[a];return null!==i&&void 0!==i&&c.a.warn('"'.concat(a,'" property of "').concat(o,'" has been deprecated ').concat(t)),s.a.checkPropTypes(r({},a,e),n,a,o)}},allOfType:function(e){return f(function(t,n,r){for(var a=arguments.length,o=new Array(a>3?a-3:0),i=3;i<a;i++)o[i-3]=arguments[i];return e.reduce(function(e,a){return e||a.apply(void 0,[t,n,r].concat(o))},void 0)})},nonNegative:f(function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))}),integer:f(function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))}),greaterThanZero:f(function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))}),domain:f(function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))}),scale:f(function(e,t,n){var r=["linear","time","log","sqrt"],a=e[t];if(!function(e){return u()(e)?u()(e.copy)&&u()(e.domain)&&u()(e.range):"string"==typeof e&&-1!==r.indexOf(e)}(a))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))}),homogeneousArray:f(function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var a=h(r[0]),i=o()(r,function(e){return a!==h(e)});if(i){var u=y(r[0]),c=y(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(u,"` and ")+"`".concat(c,"`."))}}}),matchDataLength:f(function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})}},function(e,t,n){"use strict";var r=n(2),a=n.n(r),o=n(26),i={categories:a.a.oneOfType([a.a.arrayOf(a.a.string),a.a.shape({x:a.a.arrayOf(a.a.string),y:a.a.arrayOf(a.a.string)})]),data:a.a.oneOfType([a.a.array,a.a.object]),dataComponent:a.a.element,labelComponent:a.a.element,labels:a.a.oneOfType([a.a.func,a.a.array]),samples:o.a.nonNegative,sortKey:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)]),sortOrder:a.a.oneOf(["ascending","descending"]),style:a.a.shape({parent:a.a.object,data:a.a.object,labels:a.a.object}),x:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)]),y:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)]),y0:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)])},u={animate:a.a.oneOfType([a.a.bool,a.a.object]),containerComponent:a.a.element,domain:a.a.oneOfType([o.a.domain,a.a.shape({x:o.a.domain,y:o.a.domain})]),maxDomain:a.a.oneOfType([a.a.number,a.a.instanceOf(Date),a.a.shape({x:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)]),y:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)])})]),minDomain:a.a.oneOfType([a.a.number,a.a.instanceOf(Date),a.a.shape({x:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)]),y:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)])})]),domainPadding:a.a.oneOfType([a.a.shape({x:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),y:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)])}),a.a.number,a.a.arrayOf(a.a.number)]),eventKey:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string]),events:a.a.arrayOf(a.a.shape({target:a.a.oneOf(["data","labels","parent"]),eventKey:a.a.oneOfType([a.a.array,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string]),eventHandlers:a.a.object})),externalEventMutations:a.a.arrayOf(a.a.shape({callback:a.a.function,childName:a.a.oneOfType([a.a.string,a.a.array]),eventKey:a.a.oneOfType([a.a.array,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string]),mutation:a.a.function,target:a.a.oneOfType([a.a.string,a.a.array])})),groupComponent:a.a.element,height:o.a.nonNegative,name:a.a.string,origin:a.a.shape({x:a.a.number,y:a.a.number}),padding:a.a.oneOfType([a.a.number,a.a.shape({top:a.a.number,bottom:a.a.number,left:a.a.number,right:a.a.number})]),polar:a.a.bool,range:a.a.oneOfType([o.a.domain,a.a.shape({x:o.a.domain,y:o.a.domain})]),scale:a.a.oneOfType([o.a.scale,a.a.shape({x:o.a.scale,y:o.a.scale})]),sharedEvents:a.a.shape({events:a.a.array,getEventState:a.a.func}),singleQuadrantDomainPadding:a.a.oneOfType([a.a.bool,a.a.shape({x:a.a.oneOfType([a.a.bool]),y:a.a.oneOfType([a.a.bool])})]),standalone:a.a.bool,theme:a.a.object,width:o.a.nonNegative},c={active:a.a.bool,className:a.a.string,clipPath:a.a.string,data:a.a.oneOfType([a.a.array,a.a.object]),events:a.a.object,id:a.a.oneOfType([a.a.number,a.a.string]),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([o.a.scale,a.a.shape({x:o.a.scale,y:o.a.scale})]),shapeRendering:a.a.string,style:a.a.object,transform:a.a.string};t.a={baseProps:u,dataProps:i,primitiveProps:c}},function(e,t,n){"use strict";t.a=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}},function(e,t,n){function r(e,t,n,r){return null==e?[]:(o(t)||(t=null==t?[]:[t]),n=r?void 0:n,o(n)||(n=null==n?[]:[n]),a(e,t,n))}var a=n(226),o=n(8);e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var a=n(30),o=1/0;e.exports=r},function(e,t,n){function r(e){var t=++o;return a(e)+t}var a=n(112),o=0;e.exports=r},function(e,t,n){var r=n(287),a=n(135),o=a(function(e,t){return null==e?{}:r(e,t)});e.exports=o},function(e,t,n){function r(e){return e&&e.length?a(e):[]}var a=n(145);e.exports=r},function(e,t,n){"use strict";t.a=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";function r(e){var t=e.domain;return e.ticks=function(e){var n=t();return Object(o.j)(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Object(c.a)(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),i=0,u=a.length-1,c=a[i],l=a[u];return l<c&&(r=c,c=l,l=r,r=i,i=u,u=r),r=Object(o.h)(c,l,n),r>0?(c=Math.floor(c/r)*r,l=Math.ceil(l/r)*r,r=Object(o.h)(c,l,n)):r<0&&(c=Math.ceil(c*r)/r,l=Math.floor(l*r)/r,r=Object(o.h)(c,l,n)),r>0?(a[i]=Math.floor(c/r)*r,a[u]=Math.ceil(l/r)*r,t(a)):r<0&&(a[i]=Math.ceil(c*r)/r,a[u]=Math.floor(l*r)/r,t(a)),e},e}function a(){var e=Object(u.b)(u.c,i.c);return e.copy=function(){return Object(u.a)(e,a())},r(e)}t.b=r,t.a=a;var o=n(12),i=n(24),u=n(58),c=n(339)},function(e,t,n){"use strict";t.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){var r=n(52),a=n(386),o=Object.prototype,i=o.hasOwnProperty,u=a(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(414);n.d(t,"arc",function(){return r.a});var a=n(174);n.d(t,"area",function(){return a.a});var o=n(99);n.d(t,"line",function(){return o.a});var i=n(416);n.d(t,"pie",function(){return i.a});var u=n(419);n.d(t,"areaRadial",function(){return u.a}),n.d(t,"radialArea",function(){return u.a});var c=n(176);n.d(t,"lineRadial",function(){return c.a}),n.d(t,"radialLine",function(){return c.a});var l=n(177);n.d(t,"pointRadial",function(){return l.a});var s=n(420);n.d(t,"linkHorizontal",function(){return s.a}),n.d(t,"linkVertical",function(){return s.c}),n.d(t,"linkRadial",function(){return s.b});var f=n(421);n.d(t,"symbol",function(){return f.a}),n.d(t,"symbols",function(){return f.b});var p=n(179);n.d(t,"symbolCircle",function(){return p.a});var d=n(180);n.d(t,"symbolCross",function(){return d.a});var h=n(181);n.d(t,"symbolDiamond",function(){return h.a});var y=n(183);n.d(t,"symbolSquare",function(){return y.a});var b=n(182);n.d(t,"symbolStar",function(){return b.a});var m=n(184);n.d(t,"symbolTriangle",function(){return m.a});var g=n(185);n.d(t,"symbolWye",function(){return g.a});var v=n(422);n.d(t,"curveBasisClosed",function(){return v.a});var x=n(423);n.d(t,"curveBasisOpen",function(){return x.a});var O=n(63);n.d(t,"curveBasis",function(){return O.b});var w=n(424);n.d(t,"curveBundle",function(){return w.a});var _=n(186);n.d(t,"curveCardinalClosed",function(){return _.b});var j=n(187);n.d(t,"curveCardinalOpen",function(){return j.b});var P=n(64);n.d(t,"curveCardinal",function(){return P.b});var C=n(425);n.d(t,"curveCatmullRomClosed",function(){return C.a});var M=n(426);n.d(t,"curveCatmullRomOpen",function(){return M.a});var A=n(101);n.d(t,"curveCatmullRom",function(){return A.a});var k=n(427);n.d(t,"curveLinearClosed",function(){return k.a});var E=n(61);n.d(t,"curveLinear",function(){return E.a});var T=n(428);n.d(t,"curveMonotoneX",function(){return T.a}),n.d(t,"curveMonotoneY",function(){return T.b});var S=n(429);n.d(t,"curveNatural",function(){return S.a});var D=n(430);n.d(t,"curveStep",function(){return D.a}),n.d(t,"curveStepAfter",function(){return D.b}),n.d(t,"curveStepBefore",function(){return D.c});var N=n(431);n.d(t,"stack",function(){return N.a});var L=n(432);n.d(t,"stackOffsetExpand",function(){return L.a});var R=n(433);n.d(t,"stackOffsetDiverging",function(){return R.a});var z=n(42);n.d(t,"stackOffsetNone",function(){return z.a});var I=n(434);n.d(t,"stackOffsetSilhouette",function(){return I.a});var B=n(435);n.d(t,"stackOffsetWiggle",function(){return B.a});var V=n(102);n.d(t,"stackOrderAscending",function(){return V.a});var F=n(436);n.d(t,"stackOrderDescending",function(){return F.a});var W=n(437);n.d(t,"stackOrderInsideOut",function(){return W.a});var q=n(43);n.d(t,"stackOrderNone",function(){return q.a});var U=n(438);n.d(t,"stackOrderReverse",function(){return U.a})},function(e,t,n){"use strict";var r=n(415);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return e>1?0:e<-1?d:Math.acos(e)}function a(e){return e>=1?h:e<=-1?-h:Math.asin(e)}n.d(t,"a",function(){return o}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"i",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"l",function(){return f}),n.d(t,"f",function(){return p}),n.d(t,"j",function(){return d}),n.d(t,"g",function(){return h}),n.d(t,"m",function(){return y}),t.b=r,t.c=a;var o=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,l=Math.min,s=Math.sin,f=Math.sqrt,p=1e-12,d=Math.PI,h=d/2,y=2*d},function(e,t,n){"use strict";t.a=function(e,t){if((a=e.length)>1)for(var n,r,a,o=1,i=e[t[0]],u=i.length;o<a;++o)for(r=i,i=e[t[o]],n=0;n<u;++n)i[n][1]+=i[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}},function(e,t,n){"use strict";t.a=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}},function(e,t,n){"use strict";function r(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function a(e,t){return t[1]-e[1]||t[0]-e[0]}function o(e,t){var n,r,o,y=e.sort(a).pop();for(l=[],u=new Array(e.length),i=new h.b,c=new h.b;;)if(o=p.c,y&&(!o||y[1]<o.y||y[1]===o.y&&y[0]<o.x))y[0]===n&&y[1]===r||(Object(s.a)(y),n=y[0],r=y[1]),y=e.pop();else{if(!o)break;Object(s.b)(o.arc)}if(Object(f.d)(),t){var b=+t[0][0],m=+t[0][1],g=+t[1][0],v=+t[1][1];Object(d.a)(b,m,g,v),Object(f.b)(b,m,g,v)}this.edges=l,this.cells=u,i=c=l=u=null}n.d(t,"f",function(){return y}),n.d(t,"g",function(){return b}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"e",function(){return l}),t.d=o;var i,u,c,l,s=n(469),f=n(196),p=n(197),d=n(104),h=n(103),y=1e-6,b=1e-12;o.prototype={constructor:o,polygons:function(){var e=this.edges;return this.cells.map(function(t){var n=t.halfedges.map(function(n){return Object(f.a)(t,e[n])});return n.data=t.site.data,n})},triangles:function(){var e=[],t=this.edges;return this.cells.forEach(function(n,a){if(i=(o=n.halfedges).length)for(var o,i,u,c=n.site,l=-1,s=t[o[i-1]],f=s.left===c?s.right:s.left;++l<i;)u=f,s=t[o[l]],f=s.left===c?s.right:s.left,u&&f&&a<u.index&&a<f.index&&r(c,u,f)<0&&e.push([c.data,u.data,f.data])}),e},links:function(){return this.edges.filter(function(e){return e.right}).map(function(e){return{source:e.left.data,target:e.right.data}})},find:function(e,t,n){for(var r,a,o=this,i=o._found||0,u=o.cells.length;!(a=o.cells[i]);)if(++i>=u)return null;var c=e-a.site[0],l=t-a.site[1],s=c*c+l*l;do{a=o.cells[r=i],i=null,a.halfedges.forEach(function(n){var r=o.edges[n],u=r.left;if(u!==a.site&&u||(u=r.right)){var c=e-u[0],l=t-u[1],f=c*c+l*l;f<s&&(s=f,i=u.index)}})}while(null!==i);return o._found=r,null==n||s<=n*n?a.site:null}}},function(e,t,n){function r(e,t,n){var r=!0,u=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(r="leading"in n?!!n.leading:r,u="trailing"in n?!!n.trailing:u),a(e,t,{leading:r,maxWait:t,trailing:u})}var a=n(473),o=n(9),i="Expected a function";e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}var a=n(47);e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function r(e,t){return a(e)?e:o(e,t)?[e]:i(u(e))}var a=n(8),o=n(71),i=n(243),u=n(112);e.exports=r},function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t-=e,function(n){return e+t*n}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}n.d(t,"a",function(){return u});var i=n(272),u=function(){function e(){r(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=Object(i.b)(this.loop)}return o(e,[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach(function(e){e.callback(Object(i.a)()-e.startTime,e.duration)})}},{key:"start",value:function(){this.timer.start()}},{key:"stop",value:function(){this.timer.stop()}},{key:"subscribe",value:function(e,t){return t=this.shouldAnimate?t:0,this.subscribers.push({startTime:Object(i.a)(),callback:e,duration:t})}},{key:"unsubscribe",value:function(e){null!==e&&delete this.subscribers[e-1]}}]),e}()},function(e,t,n){function r(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var a=n(278);e.exports=r},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(5),o=n(117);e.exports=r},function(e,t,n){"use strict";t.a={warn:function(e){}}},function(e,t,n){function r(e){return(null==e?0:e.length)?a(e,1):[]}var a=n(289);e.exports=r},function(e,t,n){var r=n(303),a=r();e.exports=a},function(e,t,n){var r=n(307),a=n(79),o=n(308),i=a(function(e,t){return o(e)?r(e,t):[]});e.exports=i},function(e,t,n){"use strict";function r(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Object(d.a)(t)}function a(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}function o(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function i(e,t,n,r){var a=e[0],o=e[1],i=t[0],u=t[1];return o<a?(a=n(o,a),i=r(u,i)):(a=n(a,o),i=r(i,u)),function(e){return i(a(e))}}function u(e,t,n,r){var a=Math.min(e.length,t.length)-1,o=new Array(a),i=new Array(a),u=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<a;)o[u]=n(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var n=Object(s.b)(e,t,1,a)-1;return i[n](o[n](t))}}function c(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function l(e,t){function n(){return l=Math.min(b.length,m.length)>2?u:i,s=d=null,c}function c(t){return(s||(s=l(b,m,v?a(e):e,g)))(+t)}var l,s,d,b=y,m=y,g=f.a,v=!1;return c.invert=function(e){return(d||(d=l(m,b,r,v?o(t):t)))(+e)},c.domain=function(e){return arguments.length?(b=p.a.call(e,h.a),n()):b.slice()},c.range=function(e){return arguments.length?(m=p.b.call(e),n()):m.slice()},c.rangeRound=function(e){return m=p.b.call(e),g=f.d,n()},c.clamp=function(e){return arguments.length?(v=!!e,n()):v},c.interpolate=function(e){return arguments.length?(g=e,n()):g},n()}t.c=r,t.a=c,t.b=l;var s=n(12),f=n(24),p=n(20),d=n(92),h=n(159),y=[0,1]},function(e,t,n){"use strict";var r=n(93);t.a=function(e){return e=Object(r.a)(Math.abs(e)),e?e[1]:NaN}},function(e,t,n){"use strict";var r=n(398);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){this._context=e}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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";t.a=function(){}},function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function a(e){this._context=e}t.c=r,t.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.b=function(e){return new a(e)}},function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function a(e,t){this._context=e,this._k=(1-t)/6}t.c=r,t.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.b=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){function r(){if(!arguments.length)return[];var e=arguments[0];return a(e)?e:[e]}var a=n(8);e.exports=r},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&a(e,t,0)>-1}var a=n(67);e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e,t){t=a(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}var a=n(49),o=n(31);e.exports=r},function(e,t,n){function r(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(u.test(e)||!i.test(e)||null!=t&&e in Object(t))}var a=n(8),o=n(30),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return i(e)?a(u(e)):o(e)}var a=n(250),o=n(251),i=n(71),u=n(31);e.exports=r},function(e,t,n){"use strict";var r=n(14),a=n(121),o=n(124),i=n(125),u=n(50),c=n(126),l=n(127),s=n(123);t.a=function(e,t){var n,f=typeof t;return null==t||"boolean"===f?Object(s.a)(t):("number"===f?u.a:"string"===f?(n=Object(r.a)(t))?(t=n,a.a):l.a:t instanceof r.a?a.a:t instanceof Date?i.a:Array.isArray(t)?o.a:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?c.a:u.a)(e,t)}},function(e,t,n){"use strict";function r(){}function a(e){var t;return e=(e+"").trim().toLowerCase(),(t=w.exec(e))?(t=parseInt(t[1],16),new l(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=_.exec(e))?o(parseInt(t[1],16)):(t=j.exec(e))?new l(t[1],t[2],t[3],1):(t=P.exec(e))?new l(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=C.exec(e))?i(t[1],t[2],t[3],t[4]):(t=M.exec(e))?i(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=A.exec(e))?f(t[1],t[2]/100,t[3]/100,1):(t=k.exec(e))?f(t[1],t[2]/100,t[3]/100,t[4]):E.hasOwnProperty(e)?o(E[e]):"transparent"===e?new l(NaN,NaN,NaN,0):null}function o(e){return new l(e>>16&255,e>>8&255,255&e,1)}function i(e,t,n,r){return r<=0&&(e=t=n=NaN),new l(e,t,n,r)}function u(e){return e instanceof r||(e=a(e)),e?(e=e.rgb(),new l(e.r,e.g,e.b,e.opacity)):new l}function c(e,t,n,r){return 1===arguments.length?u(e):new l(e,t,n,null==r?1:r)}function l(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function s(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function f(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new h(e,t,n,r)}function p(e){if(e instanceof h)return new h(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=a(e)),!e)return new h;if(e instanceof h)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,i=Math.min(t,n,o),u=Math.max(t,n,o),c=NaN,l=u-i,s=(u+i)/2;return l?(c=t===u?(n-o)/l+6*(n<o):n===u?(o-t)/l+2:(t-n)/l+4,l/=s<.5?u+i:2-u-i,c*=60):l=s>0&&s<1?0:c,new h(c,l,s,e.opacity)}function d(e,t,n,r){return 1===arguments.length?p(e):new h(e,t,n,null==r?1:r)}function h(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function y(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}t.a=r,n.d(t,"d",function(){return m}),n.d(t,"c",function(){return g}),t.e=a,t.h=u,t.g=c,t.b=l,t.f=d;var b=n(76),m=.7,g=1/m,v="\\s*([+-]?\\d+)\\s*",x="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",O="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",w=/^#([0-9a-f]{3})$/,_=/^#([0-9a-f]{6})$/,j=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),P=new RegExp("^rgb\\("+[O,O,O]+"\\)$"),C=new RegExp("^rgba\\("+[v,v,v,x]+"\\)$"),M=new RegExp("^rgba\\("+[O,O,O,x]+"\\)$"),A=new RegExp("^hsl\\("+[x,O,O]+"\\)$"),k=new RegExp("^hsla\\("+[x,O,O,x]+"\\)$"),E={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(b.a)(r,a,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Object(b.a)(l,c,Object(b.b)(r,{brighter:function(e){return e=null==e?g:Math.pow(g,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?m:Math.pow(m,e),new l(this.r*e,this.g*e,this.b*e,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},hex:function(){return"#"+s(this.r)+s(this.g)+s(this.b)},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"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===e?")":", "+e+")")}})),Object(b.a)(h,d,Object(b.b)(r,{brighter:function(e){return e=null==e?g:Math.pow(g,e),new h(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?m:Math.pow(m,e),new h(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new l(y(e>=240?e-240:e+120,a,r),y(e,a,r),y(e<120?e+240:e-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(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}t.b=r,t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},function(e,t,n){"use strict";function r(e,t,n,r,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*r+i*a)/6}t.a=r,t.b=function(e){var t=e.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[a],i=e[a+1],u=a>0?e[a-1]:2*o-i,c=a<t-1?e[a+2]:2*i-o;return r((n-a/t)*t,u,o,i,c)}}},function(e,t,n){"use strict";function r(){return v||(w(a),v=O.now()+x)}function a(){v=0}function o(){this._call=this._time=this._next=null}function i(e,t,n){var r=new o;return r.restart(e,t,n),r}function u(){r(),++h;for(var e,t=p;t;)(e=v-t._time)>=0&&t._call.call(null,e),t=t._next;--h}function c(){v=(g=O.now())+x,h=y=0;try{u()}finally{h=0,s(),v=0}}function l(){var e=O.now(),t=e-g;t>m&&(x-=t,g=e)}function s(){for(var e,t,n=p,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:p=t);d=e,f(r)}function f(e){if(!h){y&&(y=clearTimeout(y));e-v>24?(e<1/0&&(y=setTimeout(c,e-O.now()-x)),b&&(b=clearInterval(b))):(b||(g=O.now(),b=setInterval(l,m)),h=1,w(c))}}t.b=r,t.a=o,t.c=i;var p,d,h=0,y=0,b=0,m=1e3,g=0,v=0,x=0,O="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};o.prototype=i.prototype={constructor:o,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==t?0:+t),this._next||d===this||(d?d._next=this:p=this,d=this),this._call=e,this._time=n,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}}},function(e,t,n){function r(e,t){return i(o(e,t,a),e+"")}var a=n(18),o=n(128),i=n(129);e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];u.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}var a=n(52),o=n(47),i=Object.prototype,u=i.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";var r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(n.length>0)return n.reduce(function(e,t){return[e,r(t)].join(" ")},r(e)).trim();if(void 0===e||null===e||"string"==typeof e)return e;var o=[];for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];o.push("".concat(i,"(").concat(u,")"))}return o.join(" ").trim()};t.a={toTransformString:r,getColorScale:function(e){var t={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 e?t[e]:t.grayscale}}},function(e,t,n){"use strict";function r(e,t){return(e.key||t).toString()}function a(e){return e.reduce(function(e,t,n){return e[r(t,n)]=t,e},{})}function o(e,t){var n=!1,r=Object.keys(e).reduce(function(e,r){return r in t||(n=!0,e[r]=!0),e},{});return n&&r}function i(e,t){var n=e&&a(e),r=t&&a(t);return{entering:n&&o(r,n),exiting:r&&o(n,r)}}function u(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function c(e,t){var n=!1,r=!1,a=function(e,t){if(!t||e.type!==t.type)return{};var a=i(u(e),u(t))||{},o=a.entering,c=a.exiting;return n=n||!!c,r=r||!!o,{entering:o||!1,exiting:c||!1}},o=function(e,t){return e.map(function(n,r){return n&&n.props&&n.props.children&&t[r]?o(_.a.Children.toArray(e[r].props.children),_.a.Children.toArray(t[r].props.children)):a(n,t[r])})},c=o(_.a.Children.toArray(e),_.a.Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:c,nodesShouldEnter:!1}}function l(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:m.a;return{data:t.map(function(e,r){return O()({},e,n(e,r,t))})}}function s(e,t,n,r){if((e=O()({},e,{onEnd:r}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:n};var a=e.onLoad&&e.onLoad.before?e.onLoad.before:m.a;return n=n.map(function(e,t){return O()({},e,a(e,t,n))}),{animate:e,data:n,clipWidth:0}}function f(e,t,n){if((e=O()({},e,{onEnd:n}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var r=e.onLoad&&e.onLoad.after?e.onLoad.after:m.a;return t=t.map(function(e,n){return O()({},e,r(e,n,t))}),{animate:e,data:t}}function p(e,t,n,r,a){var o=e&&e.onExit;if(e=O()({},e,o),r){e.onEnd=a;var i=e.onExit&&e.onExit.before?e.onExit.before:m.a;n=n.map(function(e,t){var a=(e.key||t).toString();return r[a]?O()({},e,i(e,t,n)):e})}return{animate:e,data:n}}function d(e,t,n,r,a){if(r){e=O()({},e,{onEnd:a});var o=e.onEnter&&e.onEnter.before?e.onEnter.before:m.a;n=n.map(function(e,t){var a=(e.key||t).toString();return r[a]?O()({},e,o(e,t,n)):e})}return{animate:e,data:n}}function h(e,t,n,a){var o=e&&e.onEnter;if(e=O()({},e,o),n){e.onEnd=a;var i=e.onEnter&&e.onEnter.after?e.onEnter.after:m.a;t=t.map(function(e,a){var o=r(e,a);return n[o]?O()({},e,i(e,a,t)):e})}return{animate:e,data:t}}function y(e,t,n){var r=t&&t.nodesWillExit,a=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,c=t&&t.nodesDoneLoad,y=t&&t.childrenTransitions||[],b={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},m=function(e,t,r){return i?f(r,t,function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}):s(r,e,t,function(){n({nodesDoneLoad:!0})})},g=function(e,t,r,a){return p(a,t,r,e,function(){n({nodesWillExit:!1})})},x=function(e,t,r,a){return o?h(a,r,e,function(){n({nodesWillEnter:!1})}):d(a,t,r,e,function(){n({nodesShouldEnter:!0})})},w=function(e,t){var n=e.props.animate;if(!e.type)return{};var r=e.props&&e.props.polar?e.type.defaultPolarTransitions||e.type.defaultTransitions:e.type.defaultTransitions;if(r){var a=n[t]&&n[t].duration;return void 0!==a?a:r[t]&&r[t].duration}return{}};return function(n,i){var s=u(n)||[],f=v()({},e.animate,n.props.animate),p=n.props.polar?n.type.defaultPolarTransitions||n.type.defaultTransitions:n.type.defaultTransitions;f.onExit=v()({},f.onExit,p&&p.onExit),f.onEnter=v()({},f.onEnter,p&&p.onEnter),f.onLoad=v()({},f.onLoad,p&&p.onLoad);var d=y[i]||y[0];if(!c){var h=void 0!==b.load?b.load:w(n,"onLoad"),_={duration:h};return m(n,s,O()({},f,_))}if(r){var j=d&&d.exiting,P=void 0!==b.exit?b.exit:w(n,"onExit"),C=j?{duration:P}:{delay:P};return g(j,n,s,O()({},f,C))}if(a){var M=d&&d.entering,A=void 0!==b.enter?b.enter:w(n,"onEnter"),k=void 0!==b.move?b.move:n.props.animate&&n.props.animate.duration,E={duration:o&&M?A:k};return x(M,n,s,O()({},f,E))}return!t&&f&&f.onExit?l(f,s):{animate:f,data:s}}}var b=n(18),m=n.n(b),g=n(4),v=n.n(g),x=n(3),O=n.n(x),w=n(0),_=n.n(w);t.a={getInitialTransitionState:c,getTransitionPropsFactory:y}},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(11),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.rx,o=e.ry,i=e.width,u=e.height,c=e.events,l=e.className,s=e.clipPath,p=e.style,d=e.role,h=e.shapeRendering,y=e.transform;return f.a.createElement("rect",r({x:t,y:n,rx:a,ry:o,width:i,height:u,className:l,clipPath:s,style:p,transform:y,role:d||"presentation",shapeRendering:h||"auto",vectorEffect:"non-scaling-stroke"},c))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,events:d.a.object,height:d.a.number,role:d.a.string,rx:d.a.number,ry:d.a.number,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string,width:d.a.number,x:d.a.number,y:d.a.number}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(11),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.d,n=e.role,a=e.shapeRendering,o=e.className,i=e.clipPath,u=e.style,c=e.transform,l=e.events;return f.a.createElement("path",r({d:t,transform:c,className:o,clipPath:i,style:u,role:n||"presentation",shapeRendering:a||"auto"},l))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,d:d.a.string,events:d.a.object,role:d.a.string,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(11),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,a=e.y1,o=e.y2,i=e.events,u=e.className,c=e.clipPath,l=e.transform,s=e.style,p=e.shapeRendering,d=e.role;return f.a.createElement("line",r({x1:t,x2:n,y1:a,y2:o,className:u,clipPath:c,transform:l,style:s,role:d||"presentation",shapeRendering:p||"auto",vectorEffect:"non-scaling-stroke"},i))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,events:d.a.object,role:d.a.string,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string,x1:d.a.number,x2:d.a.number,y1:d.a.number,y2:d.a.number}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var c=n(16),l=n.n(c),s=n(34),f=n.n(s),p=n(311),d=n.n(p),h=n(57),y=n.n(h),b=n(5),m=n.n(b),g=n(19),v=n.n(g),x=n(3),O=n.n(x);t.a={getEvents:function(e,t,n,r){var o=this,i=function(e){var r=function(){var r=e.reduce(function(e,n){if(void 0!==n.target){return(Array.isArray(n.target)?l()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e}return e.concat(n)},[]);return void 0!==n&&"parent"!==t?r.filter(function(e){var t=e.eventKey,r=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some(function(e){return r(e)}):r(t)}):r}();return Array.isArray(r)&&r.reduce(function(e,t){return t?O()(e,t.eventHandlers):e},{})},u=function(){if(Array.isArray(o.componentEvents)){var t;return Array.isArray(e.events)?(t=o.componentEvents).concat.apply(t,a(e.events)):o.componentEvents}return e.events}(),c=u&&m()(r)?r(i(u),t):void 0;if(!e.sharedEvents)return c;var s=e.sharedEvents.getEvents,f=e.sharedEvents.events&&s(i(e.sharedEvents.events),t);return O()({},f,c)},getScopedEvents:function(e,t,n,a){var o=this;if(v()(e))return{};a=a||this.baseProps;var i=function(e,t){var n=e.childName,r=e.target,i=e.key,u="props"===t?a:o.state||{},c=void 0!==n&&null!==n&&u[n]?u[n]:u;return"parent"===i?c.parent:c[i]&&c[i][r]},u=function(e,u){var c="parent"===t?e.childName:e.childName||n,l=e.target||t,s=function(t){return"parent"===l?"parent":"all"===e.eventKey?a[t]?y()(Object.keys(a[t]),"parent"):y()(Object.keys(a),"parent"):void 0===e.eventKey&&"parent"===u?a[t]?Object.keys(a[t]):Object.keys(a):void 0!==e.eventKey?e.eventKey:u},f=function(t,n){var u=o.state||{};if(!m()(e.mutation))return u;var c=i({childName:n,key:t,target:l},"props"),s=i({childName:n,key:t,target:l},"state"),f=e.mutation(O()({},c,s),a),p=u[n]||{},d=function(e){return e[t]&&e[t][l]&&delete e[t][l],e[t]&&!Object.keys(e[t]).length&&delete e[t],e},h=function(e){return"parent"===l?O()(e,r({},t,O()(e[t],f))):O()(e,r({},t,O()(e[t],r({},l,f))))},y=function(e){return f?h(e):d(e)};return void 0!==n&&null!==n?O()(u,r({},n,y(p))):y(u)},p=function(e){var t=s(e);return Array.isArray(t)?t.reduce(function(t,n){return O()(t,f(n,e))},{}):f(t,e)},d="all"===c?y()(Object.keys(a),"parent"):c;return Array.isArray(d)?d.reduce(function(e,t){return O()(e,p(t))},{}):p(d)},c=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return e=O()({},e,u(n,t))},{}):u(e,t)},l=function(e){var t=function(e){return m()(e.callback)&&e.callback},n=Array.isArray(e)?e.map(function(e){return t(e)}):[t(e)],r=n.filter(function(e){return!1!==e});return r.length?function(){return r.forEach(function(e){return e()})}:void 0},s=function(t,n,r,a){var i=e[a](t,n,r,o);if(i){var u=l(i);o.setState(c(i,r),u)}};return Object.keys(e).reduce(function(e,t){return e[t]=s,e},{})},getPartialEvents:function(e,t,n){return e?Object.keys(e).reduce(function(r,a){var o=function(r){return e[a](r,n,t,a)};return r[a]=o,r},{}):{}},getEventState:function(e,t,n){var r=this.state||{};return n?r[n]&&r[n][e]&&r[n][e][t]:"parent"===e?r[e]&&r[e][t]||r[e]:r[e]&&r[e][t]},getExternalMutationsWithChildren:function(e,t,n,r){var a=this;return t=t||{},n=n||{},r.reduce(function(r,o){var i=n[o],u=a.getExternalMutations(e,t[o],n[o],o);return r[o]=u||i,d()(r,function(e){return!v()(e)})},{})},getExternalMutations:function(e,t,n,r){var a=this;return t=t||{},n=n||{},Object.keys(t).reduce(function(o,i){var u=n[i]||{},c=t[i]||{};if("parent"===i){var l={eventKey:i,target:"parent"},s=a.getExternalMutation(e,c,u,l);o[i]=void 0!==s?O()({},u,s):u}else{var p=f()(Object.keys(c).concat(Object.keys(u)));o[i]=p.reduce(function(t,n){var o={eventKey:i,target:n,childName:r},l=a.getExternalMutation(e,c[n],u[n],o);return t[n]=void 0!==l?O()({},u[n],l):u[n],d()(t,function(e){return!v()(e)})},{})}return d()(o,function(e){return!v()(e)})},{})},getExternalMutation:function(e,t,n,r){var a=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===r[t];if(Array.isArray(e[t])){var n=e[t].map(function(e){return"".concat(e)});return l()(n,r[t])}return!1};e=Array.isArray(e)?e:[e];var o=e;r.childName&&(o=e.filter(function(e){return a(e,"childName")}));var i=o.filter(function(e){return a(e,"target")});if(!v()(i)){var u=i.filter(function(e){return a(e,"eventKey")});if(!v()(u))return u.reduce(function(e,r){var a=r&&m()(r.mutation)?r.mutation:function(){},o=a(O()({},t,n));return O()({},e,o)},{})}},getComponentEvents:function(e,t){var n=Array.isArray(t)&&t.reduce(function(t,n){var r,o=e[n],i=o&&o.type&&o.type.defaultEvents,u=m()(i)?i(o.props):i;return t=Array.isArray(u)?(r=t).concat.apply(r,a(u)):t},[]);return n&&n.length?n:void 0}}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){var t={errorX:!0,errorY:!0};return X.a.isImmutable(e)?X.a.shallowToJS(e,t):e}function c(e){return X.a.isIterable(e)?e.size:e.length}function l(e,t){var n=D()(e.domain)?e.domain[t]:e.domain,a=n||K.a.getBaseScale(e,t).domain(),o=e.samples||1,i=Math.max.apply(Math,r(a)),u=Math.min.apply(Math,r(a)),c=(i-u)/o,l=B()(u,i,c);return z()(l)===i?l:l.concat(i)}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return k()(e,t,r)}function f(e,t){var n={x:K.a.getScaleType(t,"x"),y:K.a.getScaleType(t,"y")};if("log"!==n.x&&"log"!==n.y)return e;var r=function(e,t){return"log"!==n[t]||0!==e["_".concat(t)]};return e.filter(function(e){return r(e,"x")&&r(e,"y")&&r(e,"y0")})}function p(e){return L()(e)?e:null===e||void 0===e?function(){}:T()(e)}function d(e,t){var n=p(e.eventKey);return t.map(function(e,t){var r=e.eventKey||n(e)||t;return q()({eventKey:r},e)})}function h(e,t){var n=G.a.getCurrentAxis(t,e.horizontal),a=x(e,n),o=O(e,n),i=w(e,t),u=F()(r(a).concat(r(o),r(i)));return 0===u.length?null:u.reduce(function(e,t,n){return e[t]=n+1,e},{})}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=c(e);if(r>t){var a=Math.pow(2,Math.ceil(Math.log2(r/t)));return e.filter(function(e,t){return(t+n)%a==0})}return e}function b(e,t,n){if(!Array.isArray(e)&&!X.a.isIterable(e)||c(e)<1)return[];n=Array.isArray(n)?n:["x","y","y0"];var r={x:-1!==n.indexOf("x")?h(t,"x"):void 0,y:-1!==n.indexOf("y")?h(t,"y"):void 0,y0:-1!==n.indexOf("y0")?h(t,"y"):void 0},a=function(e){return G.a.createAccessor(void 0!==t[e]?t[e]:e)},o=n.reduce(function(e,t){return e[t]=a(t),e},{}),i=e.reduce(function(e,t,a){t=u(t);var i={x:a,y:t},c=n.reduce(function(e,n){var a=o[n](t),u=void 0!==a?a:i[n];return void 0!==u&&("string"==typeof u&&r[n]?(e["".concat(n,"Name")]=u,e["_".concat(n)]=r[n][u]):e["_".concat(n)]=u),e},{}),l=q()({},c,t);return M()(l)||e.push(l),e},[]),l=s(i,t.sortKey,t.sortOrder),p=f(l,t);return d(t,p)}function m(e){var t=l(e,"x"),n=l(e,"y");return t.map(function(e,t){return{x:e,y:n[t]}})}function g(e,t){var n=G.a.getCurrentAxis(t,e.horizontal);return e.categories&&!Array.isArray(e.categories)?e.categories[n]:e.categories}function v(e){return e.data?b(e.data,e):b(m(e),e)}function x(e,t){var n,r=e.tickValues,a=e.tickFormat;return n=r&&(Array.isArray(r)||r[t])?r[t]||r:a&&Array.isArray(a)?a:[],n.filter(function(e){return"string"==typeof e})}function O(e,t){if(!e.categories)return[];var n=g(e,t),r=n&&n.filter(function(e){return"string"==typeof e});return r?Y.a.removeUndefined(r):[]}function w(e,t){if(!Array.isArray(e.data)&&!X.a.isIterable(e.data))return[];var n=void 0===e[t]?t:e[t],r=G.a.createAccessor(n);return s(e.data,e.sortKey,e.sortOrder).reduce(function(e,t){return t=u(t),e.push(r(t)),e},[]).filter(function(e){return"string"==typeof e}).reduce(function(e,t){return void 0!==t&&null!==t&&-1===e.indexOf(t)&&e.push(t),e},[])}function _(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=H.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}var a=["area","bar","boxplot","candlestick","errorbar","group","line","pie","scatter","stack","voronoi"];return P()(a,n)}var j=n(16),P=n.n(j),C=n(19),M=n.n(C),A=n(29),k=n.n(A),E=n(73),T=n.n(E),S=n(23),D=n.n(S),N=n(5),L=n.n(N),R=n(313),z=n.n(R),I=n(56),B=n.n(I),V=n(34),F=n.n(V),W=n(3),q=n.n(W),U=n(0),H=n.n(U),G=n(6),Y=n(15),K=n(89),X=n(169);t.a={createStringMap:h,downsample:y,formatData:b,generateData:m,getCategories:g,getData:v,getStringsFromAxes:x,getStringsFromCategories:O,getStringsFromData:w,isDataComponent:_}},function(e,t,n){"use strict";function r(e){return"scale".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}function a(e){return"function"==typeof e?y()(e.copy)&&y()(e.domain)&&y()(e.range):"string"==typeof e&&m()(O,e)}function o(e,t){return!!e.scale&&(!e.scale.x&&!e.scale.y||!!e.scale[t])}function i(e,t){if(o(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:d(n)}}function u(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return v.a.containsDates(n)?"time":"linear"}function c(e,t){if(!e.data)return"linear";var n=g.a.createAccessor(e[t]),r=e.data.map(n);return v.a.containsDates(r)?"time":"linear"}function l(e,t){var n=f(e,t);if(n)return n;var a=u(e,t)||c(e,t);return x[r(a)]()}function s(){return x.scaleLinear()}function f(e,t){if(o(e,t)){var n=e.scale[t]||e.scale;return a(n)?y()(n)?n:x[r(n)]():void 0}}function p(e,t){return i(e,t)||c(e,t)}function d(e){var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}],n=t.filter(function(t){return void 0!==e[t.method]})[0];return n?n.name:void 0}var h=n(5),y=n.n(h),b=n(16),m=n.n(b),g=n(6),v=n(15),x=n(314),O=["linear","time","log","sqrt"];t.a={getBaseScale:l,getDefaultScale:s,getScaleFromProps:f,getScaleType:p,getType:d}},function(e,t,n){"use strict";var r=n(35);t.a=function(e,t,n){if(null==n&&(n=r.a),a=e.length){if((t=+t)<=0||a<2)return+n(e[0],0,e);if(t>=1)return+n(e[a-1],a-1,e);var a,o=(a-1)*t,i=Math.floor(o),u=+n(e[i],i,e);return u+(+n(e[i+1],i+1,e)-u)*(o-i)}}},function(e,t,n){"use strict";function r(){}function a(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var a,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(a=e[o],o,e),a)}else if(e)for(var u in e)n.set(u,e[u]);return n}n.d(t,"b",function(){return o});var o="$";r.prototype=a.prototype={constructor:r,has:function(e){return o+e in this},get:function(e){return this[o+e]},set:function(e,t){return this[o+e]=t,this},remove:function(e){var t=o+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===o&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===o&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===o&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===o&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===o&&++e;return e},empty:function(){for(var e in this)if(e[0]===o)return!1;return!0},each:function(e){for(var t in this)t[0]===o&&e(this[t],t.slice(1),this)}},t.a=a},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";t.a=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";var r=(n(7),n(355));n.d(t,"c",function(){return r.a}),n.d(t,"n",function(){return r.a});var a=n(356);n.d(t,"g",function(){return a.a}),n.d(t,"r",function(){return a.a});var o=n(357);n.d(t,"d",function(){return o.a});var i=n(358);n.d(t,"b",function(){return i.a});var u=n(359);n.d(t,"a",function(){return u.a});var c=n(360);n.d(t,"j",function(){return c.b}),n.d(t,"h",function(){return c.b}),n.d(t,"e",function(){return c.a}),n.d(t,"i",function(){return c.c});var l=n(361);n.d(t,"f",function(){return l.a});var s=n(362);n.d(t,"k",function(){return s.a});var f=n(363);n.d(t,"o",function(){return f.a});var p=n(364);n.d(t,"m",function(){return p.a});var d=n(365);n.d(t,"l",function(){return d.a});var h=n(366);n.d(t,"u",function(){return h.b}),n.d(t,"s",function(){return h.b}),n.d(t,"p",function(){return h.a}),n.d(t,"t",function(){return h.c});var y=n(367);n.d(t,"q",function(){return y.a});var b=n(368);n.d(t,"v",function(){return b.a})},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return u});var r,a,o,i,u,c=n(167);!function(e){r=Object(c.a)(e),a=r.format,o=r.parse,i=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(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t,n){if("log"!==z.a.getScaleType(t,n))return e;return function(e){var t=e[0]<0||e[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===e[0]?t:e[0],0===e[1]?t:e[1]]}(e)}function c(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return n(T()(e.domainPadding)?e.domainPadding[t]:e.domainPadding)}function l(e,t){return D()(e).map(function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]})}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",a=function(e){return"max"===n?Math.max.apply(Math,r(e)):Math.min.apply(Math,r(e))},o="max"===n?-1/0:1/0,i=!1,u=D()(e).reduce(function(e,n){var r=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],o=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],u=a([r,o]);return i=i||r instanceof Date||o instanceof Date,a([e,u])},o);return i?new Date(u):u}function f(e,t,n){if(!t.domainPadding)return e;var r=O(t,n),a=x(t,n),o=c(t,n);if(!o.left&&!o.right)return e;var i=B.a.getMinValue(e),u=B.a.getMaxValue(e),l=I.a.getRange(t,n),s=Math.abs(l[0]-l[1]),f={left:Math.abs(u-i)*o.left/s,right:Math.abs(u-i)*o.right/s},p=T()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,d=function(e,t){return!1===p?e:"min"===t&&i>=0&&e<=0||"max"===t&&u<=0&&e>=0?0:e},h={min:d(i.valueOf()-f.left,"min"),max:d(u.valueOf()+f.right,"max")},y={left:Math.abs(h.max-h.min)*o.left/s,right:Math.abs(h.max-h.min)*o.right/s},b={min:d(i.valueOf()-y.left,"min"),max:d(u.valueOf()+y.right,"max")},g={min:void 0!==r?r:b.min,max:void 0!==a?a:b.max};return i instanceof Date||u instanceof Date?m(new Date(g.min),new Date(g.max)):m(g.min,g.max)}function p(e,t){return e=M()(e)?e:b,t=M()(t)?t:d,function(n,r){var a=g(n,r);if(a)return t(a,n,r);var o=R.a.getCategories(n,r),i=o?y(n,r,o):e(n,r);return t(i,n,r)}}function d(e,t,n){return u(f(e,t,n),t,n)}function h(e,t){return p()(e,t)}function y(e,t,n){n=n||R.a.getCategories(e,t);var r=e.polar,a=e.startAngle,o=void 0===a?0:a,i=e.endAngle,u=void 0===i?360:i;if(n){var c=O(e,t),l=x(e,t),s=B.a.containsStrings(n)?R.a.getStringsFromCategories(e,t):[],f=0===s.length?null:s.reduce(function(e,t,n){return e[t]=n+1,e},{}),p=f?n.map(function(e){return f[e]}):n,d=void 0!==c?c:B.a.getMinValue(p),h=void 0!==l?l:B.a.getMaxValue(p),y=m(d,h);return r&&"x"===t&&360===Math.abs(o-u)?w(y,p):y}}function b(e,t,n){n=n||R.a.getData(e);var r=e.horizontal,a=e.polar,o=e.startAngle,i=void 0===o?0:o,u=e.endAngle,c=void 0===u?360:u,f=O(e,t),p=x(e,t);if(n.length<1){var d=z.a.getBaseScale(e,t).domain();return m(void 0!==f?f:B.a.getMinValue(d),void 0!==p?p:B.a.getMaxValue(d))}var h=I.a.getCurrentAxis(t,r),y=void 0!==f?f:s(n,h,"min"),b=void 0!==p?p:s(n,h,"max"),g=m(y,b);return a&&"x"===t&&360===Math.abs(i-c)?w(g,l(n,h)):g}function m(e,t){return+e==+t?function(e){var t=0===e?2*Math.pow(10,-10):Math.pow(10,-10),n=e instanceof Date?new Date(+e-1):+e-t,r=e instanceof Date?new Date(+e+1):+e+t;return 0===e?[0,r]:[n,r]}(t):[e,t]}function g(e,t){var n=O(e,t),r=x(e,t);return T()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==r?m(n,r):void 0}function v(e,t){var n=g(e,t);if(n)return n;var r=function(n){var r=I.a.getCurrentAxis(t,e.horizontal),a=O(e,t),o=x(e,t);if("x"===r)return n;var i=a||0,u=o||0;return m(void 0!==a?a:B.a.getMinValue(n,i),void 0!==o?o:B.a.getMaxValue(n,u))};return p(null,function(n){return d(r(n),e,t)})(e,t)}function x(e,t){return T()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain?e.maxDomain:void 0}function O(e,t){return T()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain?e.minDomain:void 0}function w(e,t){var n=k()(t.sort(function(e,t){return e-t})),r=n[1]-n[0];return[e[0],e[1]+r]}function _(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=L.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}var a=["area","axis","bar","boxplot","candlestick","errorbar","group","line","pie","scatter","stack","voronoi"];return P()(a,n)}var j=n(16),P=n.n(j),C=n(5),M=n.n(C),A=n(380),k=n.n(A),E=n(23),T=n.n(E),S=n(55),D=n.n(S),N=n(0),L=n.n(N),R=n(88),z=n(89),I=n(6),B=n(15);t.a={createDomainFunction:p,formatDomain:d,getDomain:h,getDomainFromCategories:y,getDomainFromData:b,getDomainFromMinMax:m,getDomainFromProps:g,getDomainWithZero:v,getMaxFromProps:x,getMinFromProps:O,getSymmetricDomain:w,isDomainComponent:_}},function(e,t,n){function r(e){return null==e?[]:a(e,o(e))}var a=n(385),o=n(10);e.exports=r},function(e,t,n){function r(e,t){return e&&a(e,t,o)}var a=n(394),o=n(10);e.exports=r},function(e,t,n){"use strict";var r=n(40),a=n(21),o=n(61),i=n(100);t.a=function(){function e(e){var a,o,i,f=e.length,p=!1;for(null==c&&(s=l(i=Object(r.a)())),a=0;a<=f;++a)!(a<f&&u(o=e[a],a,e))===p&&((p=!p)?s.lineStart():s.lineEnd()),p&&s.point(+t(o,a,e),+n(o,a,e));if(i)return s=null,i+""||null}var t=i.a,n=i.b,u=Object(a.a)(!0),c=null,l=o.a,s=null;return e.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(a.a)(+n),e):t},e.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(a.a)(+t),e):n},e.defined=function(t){return arguments.length?(u="function"==typeof t?t:Object(a.a)(!!t),e):u},e.curve=function(t){return arguments.length?(l=t,null!=c&&(s=l(c)),e):l},e.context=function(t){return arguments.length?(null==t?c=s=null:s=l(c=t),e):c},e}},function(e,t,n){"use strict";function r(e){return e[0]}function a(e){return e[1]}t.a=r,t.b=a},function(e,t,n){"use strict";function r(e,t,n){var r=e._x1,a=e._y1,i=e._x2,u=e._y2;if(e._l01_a>o.f){var c=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*c-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,a=(a*c-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>o.f){var s=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*s+e._x1*e._l23_2a-t*e._l12_2a)/f,u=(u*s+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(r,a,i,u,e._x2,e._y2)}function a(e,t){this._context=e,this._alpha=t}t.b=r;var o=n(41),i=n(64);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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,a=this._y2-t;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(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new a(e,t):new i.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";function r(e){for(var t,n=0,r=-1,a=e.length;++r<a;)(t=+e[r][1])&&(n+=t);return n}t.b=r;var a=n(43);t.a=function(e){var t=e.map(r);return Object(a.a)(e).sort(function(e,n){return t[e]-t[n]})}},function(e,t,n){"use strict";function r(){this._=null}function a(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function o(e,t){var n=t,r=t.R,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function i(e,t){var n=t,r=t.L,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function u(e){for(;e.L;)e=e.L;return e}t.a=a,r.prototype={constructor:r,insert:function(e,t){var n,r,a;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=u(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)r=n.U,n===r.L?(a=r.R,a&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.R&&(o(this,n),e=n,n=e.U),n.C=!1,r.C=!0,i(this,r))):(a=r.L,a&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.L&&(i(this,n),e=n,n=e.U),n.C=!1,r.C=!0,o(this,r))),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,a=e.U,c=e.L,l=e.R;if(n=c?l?u(l):c:l,a?a.L===e?a.L=n:a.R=n:this._=n,c&&l?(r=n.C,n.C=e.C,n.L=c,c.U=n,n!==l?(a=n.U,n.U=e.U,e=n.R,a.L=e,n.R=l,l.U=n):(n.U=a,a=n,e=n.R)):(r=e.C,e=n),e&&(e.U=a),!r){if(e&&e.C)return void(e.C=!1);do{if(e===this._)break;if(e===a.L){if(t=a.R,t.C&&(t.C=!1,a.C=!0,o(this,a),t=a.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,i(this,t),t=a.R),t.C=a.C,a.C=t.R.C=!1,o(this,a),e=this._;break}}else if(t=a.L,t.C&&(t.C=!1,a.C=!0,i(this,a),t=a.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,o(this,t),t=a.L),t.C=a.C,a.C=t.L.C=!1,i(this,a),e=this._;break}t.C=!0,e=a,a=a.U}while(!e.C);e&&(e.C=!1)}}},t.b=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=[null,null],i=l.e.push(a)-1;return a.left=e,a.right=t,n&&o(a,e,t,n),r&&o(a,t,e,r),l.b[e.index].halfedges.push(i),l.b[t.index].halfedges.push(i),a}function a(e,t,n){var r=[t,n];return r.left=e,r}function o(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function i(e,t,n,r,a){var o,i=e[0],u=e[1],c=i[0],l=i[1],s=u[0],f=u[1],p=0,d=1,h=s-c,y=f-l;if(o=t-c,h||!(o>0)){if(o/=h,h<0){if(o<p)return;o<d&&(d=o)}else if(h>0){if(o>d)return;o>p&&(p=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>p&&(p=o)}else if(h>0){if(o<p)return;o<d&&(d=o)}if(o=n-l,y||!(o>0)){if(o/=y,y<0){if(o<p)return;o<d&&(d=o)}else if(y>0){if(o>d)return;o>p&&(p=o)}if(o=a-l,y||!(o<0)){if(o/=y,y<0){if(o>d)return;o>p&&(p=o)}else if(y>0){if(o<p)return;o<d&&(d=o)}return!(p>0||d<1)||(p>0&&(e[0]=[c+p*h,l+p*y]),d<1&&(e[1]=[c+d*h,l+d*y]),!0)}}}}}function u(e,t,n,r,a){var o=e[1];if(o)return!0;var i,u,c=e[0],l=e.left,s=e.right,f=l[0],p=l[1],d=s[0],h=s[1],y=(f+d)/2,b=(p+h)/2;if(h===p){if(y<t||y>=r)return;if(f>d){if(c){if(c[1]>=a)return}else c=[y,n];o=[y,a]}else{if(c){if(c[1]<n)return}else c=[y,a];o=[y,n]}}else if(i=(f-d)/(h-p),u=b-i*y,i<-1||i>1)if(f>d){if(c){if(c[1]>=a)return}else c=[(n-u)/i,n];o=[(a-u)/i,a]}else{if(c){if(c[1]<n)return}else c=[(a-u)/i,a];o=[(n-u)/i,n]}else if(p<h){if(c){if(c[0]>=r)return}else c=[t,i*t+u];o=[r,i*r+u]}else{if(c){if(c[0]<t)return}else c=[r,i*r+u];o=[t,i*t+u]}return e[0]=c,e[1]=o,!0}function c(e,t,n,r){for(var a,o=l.e.length;o--;)u(a=l.e[o],e,t,n,r)&&i(a,e,t,n,r)&&(Math.abs(a[0][0]-a[1][0])>l.f||Math.abs(a[0][1]-a[1][1])>l.f)||delete l.e[o]}t.c=r,t.b=a,t.d=o,t.a=c;var l=n(44)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return x});var d=n(0),h=n.n(d),y=n(2),b=n.n(y),m=n(214),g=n(225),v=n(51),x=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),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=m[n.toNewName(n.props.easing)],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(p(n)),n.getTimer=n.getTimer.bind(p(n)),n}return f(t,e),l(t,[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentWillReceiveProps",value:function(e){if(this.getTimer().unsubscribe(this.loopID),Array.isArray(e.data)){var t;(t=this.queue).push.apply(t,r(e.data))}else this.queue.length=0,this.queue.push(e.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 v.a),this.timer)}},{key:"toNewName",value:function(e){return"ease".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"traverseQueue",value:function(){var e=this;if(this.queue.length){var t=this.queue[0];this.interpolator=Object(g.a)(this.state.data,t),this.props.delay?setTimeout(function(){e.loopID=e.getTimer().subscribe(e.functionToBeRunEachFrame,e.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(e,t){t=void 0!==t?t:this.props.duration;var n=t?e/t: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)}}]),t}(h.a.Component);Object.defineProperty(x,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:b.a.func,data:b.a.oneOfType([b.a.object,b.a.array]),delay:b.a.number,duration:b.a.number,easing:b.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:b.a.func}}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(x,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:b.a.func}})},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(229),o=n(230),i=n(231),u=n(232),c=n(233);r.prototype.clear=a,r.prototype.delete=o,r.prototype.get=i,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t,n){function r(e,t,n,i,u){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:a(e,t,n,i,r,u))}var a=n(234),o=n(69);e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return e===e&&!a(e)}var a=n(9);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(245);e.exports=r},function(e,t,n){var r=n(114),a=r.Symbol;e.exports=a},function(e,t,n){var r=n(246),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t,n){function r(e,t){return null!=e&&o(e,t,a)}var a=n(248),o=n(249);e.exports=r},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var r=Math.PI/180,a=180/Math.PI},function(e,t,n){"use strict";function r(e){return function(t){var n,r,o=t.length,i=new Array(o),u=new Array(o),c=new Array(o);for(n=0;n<o;++n)r=Object(a.f)(t[n]),i[n]=r.r||0,u[n]=r.g||0,c[n]=r.b||0;return i=e(i),u=e(u),c=e(c),r.opacity=1,function(e){return r.r=i(e),r.g=u(e),r.b=c(e),r+""}}}var a=n(14),o=n(77),i=n(122),u=n(25);t.a=function e(t){function n(e,t){var n=r((e=Object(a.f)(e)).r,(t=Object(a.f)(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),c=Object(u.a)(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=c(t),e+""}}var r=Object(u.b)(t);return n.gamma=e,n}(1);r(o.b),r(i.a)},function(e,t,n){"use strict";var r=n(77);t.a=function(e){var t=e.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*t),o=e[(a+t-1)%t],i=e[a%t],u=e[(a+1)%t],c=e[(a+2)%t];return Object(r.a)((n-a/t)*t,o,i,u,c)}}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";var r=n(74);t.a=function(e,t){var n,a=t?t.length:0,o=e?Math.min(a,e.length):0,i=new Array(o),u=new Array(a);for(n=0;n<o;++n)i[n]=Object(r.a)(e[n],t[n]);for(;n<a;++n)u[n]=t[n];return function(e){for(n=0;n<o;++n)u[n]=i[n](e);return u}}},function(e,t,n){"use strict";t.a=function(e,t){var n=new Date;return e=+e,t-=e,function(r){return n.setTime(e+t*r),n}}},function(e,t,n){"use strict";var r=n(74);t.a=function(e,t){var n,a={},o={};null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={});for(n in t)n in e?a[n]=Object(r.a)(e[n],t[n]):o[n]=t[n];return function(e){for(n in a)o[n]=a[n](e);return o}}},function(e,t,n){"use strict";function r(e){return function(){return e}}function a(e){return function(t){return e(t)+""}}var o=n(50),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(i.source,"g");t.a=function(e,t){var n,c,l,s=i.lastIndex=u.lastIndex=0,f=-1,p=[],d=[];for(e+="",t+="";(n=i.exec(e))&&(c=u.exec(t));)(l=c.index)>s&&(l=t.slice(s,l),p[f]?p[f]+=l:p[++f]=l),(n=n[0])===(c=c[0])?p[f]?p[f]+=c:p[++f]=c:(p[++f]=null,d.push({i:f,x:Object(o.a)(n,c)})),s=u.lastIndex;return s<t.length&&(l=t.slice(s),p[f]?p[f]+=l:p[++f]=l),p.length<2?d[0]?a(d[0].x):r(t):(t=d.length,function(e){for(var n,r=0;r<t;++r)p[(n=d[r]).i]=n.x(e);return p.join("")})}},function(e,t,n){function r(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,u=o(r.length-t,0),c=Array(u);++i<u;)c[i]=r[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=r[i];return l[t]=n(c),a(e,this,l)}}var a=n(276),o=Math.max;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=a(e))===o||e===-o){return(e<0?-1:1)*i}return e===e?e:0}var a=n(132),o=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=l.test(e);return n||s.test(e)?f(e.slice(2),n?2:8):c.test(e)?i:+e}var a=n(9),o=n(30),i=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return h});var l=n(0),s=n.n(l),f=n(2),p=n.n(f),d=n(26),h=function(e){function t(e){var n;return r(this,t),n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(c(n)),n.portalRegister=n.portalRegister.bind(c(n)),n.portalDeregister=n.portalDeregister.bind(c(n)),n}return u(t,e),o(t,[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return Object.keys(this.map).map(function(t){var n=e.map[t];return n?s.a.cloneElement(n,{key:t}):n})}},{key:"render",value:function(){return s.a.createElement("svg",this.props,this.getChildren())}}]),t}(s.a.Component);Object.defineProperty(h,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(h,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:p.a.string,height:d.a.nonNegative,style:p.a.object,viewBox:p.a.string,width:d.a.nonNegative}})},function(e,t,n){function r(e,t,n){for(var r=-1,u=t.length,c={};++r<u;){var l=t[r],s=a(e,l);n(s,l)&&o(c,i(l,e),s)}return c}var a=n(70),o=n(288),i=n(49);e.exports=r},function(e,t,n){function r(e){return i(o(e,void 0,a),e+"")}var a=n(55),o=n(128),i=n(129);e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return m});var l=n(4),s=n.n(l),f=n(0),p=n.n(f),d=n(2),h=n.n(d),y=n(54),b=n(6),m=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidMount",value:function(){if(!this.checkedContext){if("function"!=typeof this.context.portalUpdate){y.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(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},a=s()(r,n,b.a.omit(this.props,["children","groupComponent"])),o=e&&p.a.cloneElement(e,a);return this.renderPortal(o)}}]),t}(p.a.Component);Object.defineProperty(m,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(m,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:h.a.node,groupComponent:h.a.element}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:p.a.createElement("g",null)}}),Object.defineProperty(m,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{portalDeregister:h.a.func,portalRegister:h.a.func,portalUpdate:h.a.func}})},function(e,t,n){"use strict";function r(e,t){t=t||{};var n=t._y>=0?1:-1,r=e.style&&e.style.labels||{};return t.verticalAnchor||r.verticalAnchor?t.verticalAnchor||r.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}function a(e,t){t=t||{};var n=e.style,r=e.horizontal,a=t._y>=0?1:-1,o=n&&n.labels||{};return t.verticalAnchor||o.verticalAnchor?t.verticalAnchor||o.verticalAnchor:r?a>=0?"start":"end":"middle"}function o(e,t){t=t||{};var n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}function i(e,t){t=t||{};var n=e.horizontal,r=e.style,a=e.active,o=r.labels||{},i=m.a.evaluateProp(o.padding,t,a)||0,u=t._y<0?-1:1;return{x:n?u*i:0,y:n?0:u*i}}function u(e,t){var n=e.horizontal,r=e.polar,a=m.a.scalePoint(e,t),o=a.x,u=a.y,l=i(e,t);if(r){var s=c(e,t);return{x:o+s.x,y:u+s.y}}return{x:n?u+l.x:o+l.x,y:n?o+l.y:u-l.y}}function c(e,t){var n=e.active,r=e.style,a=y(e,t),o=r.labels||{},i=m.a.evaluateProp(o.padding,t,n)||0,u=m.a.degreesToRadians(a);return{x:i*Math.cos(u),y:-i*Math.sin(u)}}function l(e){var t=e.labelComponent,n=e.labelPlacement,r=e.polar,a=r?"perpendicular":"vertical";return n||(t.props&&t.props.labelPlacement||a)}function s(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}function f(e,t,n){return t=t||{},void 0!==t.label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function p(e,t){var n=l(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function d(e,t){var n=l(e),r=s(t);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}function h(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var a,o=void 0!==t?t:y(e,r),i=o>90&&o<180||o>270?1:-1;return 0===o||180===o?a=90:o>0&&o<180?a=90-o:o>180&&o<360&&(a=270-o),a+i*("perpendicular"===n?0:90)}function y(e,t){var n=m.a.getPoint(t),r=n.x;return m.a.radiansToDegrees(e.scale.x(r))}function b(e,t){var n=e.scale,i=e.data,c=e.style,s=e.horizontal,h=e.polar,b=i[t],m=y(e,b),g=h?p(e,m):a(e,b),v=h?d(e,m):r(e,b),x=o(e,b),O=f(e,b,t),w=l(e),_=u(e,b);return{angle:x,data:i,datum:b,horizontal:s,index:t,polar:h,scale:n,labelPlacement:w,text:O,textAnchor:g,verticalAnchor:v,x:_.x,y:_.y,style:c.labels}}var m=n(6);t.a={getText:f,getPolarTextAnchor:p,getPolarVerticalAnchor:d,getPolarAngle:h,getDegrees:y,getProps:b}},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(11),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.dx,o=e.dy,i=e.events,u=e.className,c=e.style,l=e.textAnchor,s=e.content;return f.a.createElement("tspan",r({x:t,y:n,dx:a,dy:o,textAnchor:l,className:u,style:c},i),s)}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,content:d.a.oneOfType([d.a.string,d.a.number]),dx:d.a.number,dy:d.a.number,events:d.a.object,style:d.a.object,textAnchor:d.a.oneOf(["start","middle","end","inherit"]),x:d.a.number,y:d.a.number}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(11),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.dx,o=e.dy,i=e.events,u=e.className,c=e.children,l=e.style,s=e.title,p=e.desc,d=e.transform,h=e.direction;return f.a.createElement("text",r({direction:h,className:u,x:t,dx:a,y:n,dy:o,transform:d,style:l},i),s&&f.a.createElement("title",null,s),p&&f.a.createElement("desc",null,p),c)}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:d.a.node,className:d.a.string,desc:d.a.string,direction:d.a.oneOf(["ltr","rtl","inherit"]),dx:d.a.number,dy:d.a.number,events:d.a.object,style:d.a.object,title:d.a.string,transform:d.a.string,x:d.a.oneOfType([d.a.number,d.a.string]),y:d.a.oneOfType([d.a.number,d.a.string])}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return M});var s=n(9),f=n.n(s),p=n(33),d=n.n(p),h=n(5),y=n.n(h),b=n(4),m=n.n(b),g=n(0),v=n.n(g),x=n(2),O=n.n(x),w=n(105),_=n(15),j=n(6),P=n(51),C=n(83),M=function(e){function t(e){var n;a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=n.props.children,o=r.props.polar;return n.continuous=!o&&r.type&&!0===r.type.continuous,n.getTransitionState=n.getTransitionState.bind(l(n)),n.getTimer=n.getTimer.bind(l(n)),n}return c(t,e),i(t,[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.getTimer().bypassAnimation(),this.setState(this.getTransitionState(this.props,e),function(){return t.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 P.a),this.timer)}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState){return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t}}var r=v.a.Children.toArray(e.children),a=v.a.Children.toArray(t.children),o=C.a.getInitialTransitionState(r,a),i=o.nodesWillExit;return{nodesWillExit:i,nodesWillEnter:o.nodesWillEnter,childrenTransitions:o.childrenTransitions,nodesShouldEnter:o.nodesShouldEnter,oldProps:i?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce(function(e,r){if(r.type&&y()(r.type.getDomain)){var a=r.props&&r.type.getDomain(r.props,t);return a?e.concat(a):e}return r.props&&r.props.children?e.concat(n(v.a.Children.toArray(r.props.children))):e},[])},r=v.a.Children.toArray(e.children)[0],a=r.props||{},o=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[t];if(!a.children&&o)return o;var i=n([r]);return 0===i.length?[0,1]:[_.a.getMinValue(i),_.a.getMaxValue(i)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props}},{key:"pickDomainProps",value:function(e){var t=f()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?this.continous||t.continuous?t.nextProps||this.state.nextProps||e:e:this.continuous&&this.state.nodesWillExit?this.state.nextProps||e:e}},{key:"getClipWidth",value:function(e,t){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=j.a.getRange(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width}()}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=f()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:C.a.getTransitionPropsFactory(t,this.state,function(t){return e.setState(t)}),a=v.a.Children.toArray(t.children)[0],o=n(a);this.transitionProps=o;var i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},u=this.getClipWidth(t,a),c=m()({domain:i,clipWidth:u},o,a.props),l=t.animationWhitelist||[],s=l.concat(["clipWidth"]),p=s.length?d()(c,s):c;return v.a.createElement(w.a,r({},c.animate,{data:p}),function(t){if(a.props.groupComponent){var n=e.continuous?v.a.cloneElement(a.props.groupComponent,{clipWidth:t.clipWidth||0}):a.props.groupComponent;return v.a.cloneElement(a,m()({animate:null,animating:!0,groupComponent:n},t,c))}return v.a.cloneElement(a,m()({animate:null,animating:!0},t,c))})}}]),t}(v.a.Component);Object.defineProperty(M,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(M,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:O.a.oneOfType([O.a.bool,O.a.object]),animationWhitelist:O.a.array,children:O.a.node}})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return d});var l=n(0),s=n.n(l),f=n(2),p=n.n(f),d=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.clipId;return s.a.createElement("defs",null,s.a.createElement("clipPath",{id:n},t))}}]),t}(s.a.Component);Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:p.a.oneOfType([p.a.arrayOf(p.a.node),p.a.node]),clipId:p.a.oneOfType([p.a.number,p.a.string])}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(11),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,a=e.r,o=e.events,i=e.className,u=e.style,c=e.role,l=e.shapeRendering,s=e.transform,p=e.clipPath;return f.a.createElement("circle",r({cx:t,cy:n,r:a,className:i,clipPath:p,transform:s,style:u,role:c||"presentation",shapeRendering:l||"auto",vectorEffect:"non-scaling-stroke"},o))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,cx:d.a.number,cy:d.a.number,events:d.a.object,r:d.a.number,role:d.a.string,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string}})},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&a(e,t,0)>-1}var a=n(67);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=-1,f=o,p=e.length,d=!0,h=[],y=h;if(n)d=!1,f=i;else if(p>=s){var b=t?null:c(e);if(b)return l(b);d=!1,f=u,y=new a}else y=t?[]:h;e:for(;++r<p;){var m=e[r],g=t?t(m):m;if(m=n||0!==m?m:0,d&&g===g){for(var v=y.length;v--;)if(y[v]===g)continue e;t&&y.push(g),h.push(m)}else f(y,g,n)||(y!==h&&y.push(g),h.push(m))}return h}var a=n(65),o=n(143),i=n(144),u=n(66),c=n(309),l=n(310),s=200;e.exports=r},function(e,t,n){"use strict";var r=n(28),a=n(147),o=Object(a.a)(r.a),i=o.right;o.left;t.a=i},function(e,t,n){"use strict";function r(e){return function(t,n){return Object(a.a)(e(t),n)}}var a=n(28);t.a=function(e){return 1===e.length&&(e=r(e)),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)<0?r=o+1:a=o}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)>0?a=o:r=o+1}return r}}}},function(e,t,n){"use strict";function r(e,t){return[e,t]}t.a=r},function(e,t,n){"use strict";var r=n(150);t.a=function(e,t){var n=Object(r.a)(e,t);return n?Math.sqrt(n):n}},function(e,t,n){"use strict";var r=n(35);t.a=function(e,t){var n,a,o=e.length,i=0,u=-1,c=0,l=0;if(null==t)for(;++u<o;)isNaN(n=Object(r.a)(e[u]))||(a=n-c,c+=a/++i,l+=a*(n-c));else for(;++u<o;)isNaN(n=Object(r.a)(t(e[u],u,e)))||(a=n-c,c+=a/++i,l+=a*(n-c));if(i>1)return l/(i-1)}},function(e,t,n){"use strict";t.a=function(e,t){var n,r,a,o=e.length,i=-1;if(null==t){for(;++i<o;)if(null!=(n=e[i])&&n>=n)for(r=a=n;++i<o;)null!=(n=e[i])&&(r>n&&(r=n),a<n&&(a=n))}else for(;++i<o;)if(null!=(n=t(e[i],i,e))&&n>=n)for(r=a=n;++i<o;)null!=(n=t(e[i],i,e))&&(r>n&&(r=n),a<n&&(a=n));return[r,a]}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return o});var r=Array.prototype,a=r.slice,o=r.map},function(e,t,n){"use strict";t.a=function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(a);++r<a;)o[r]=e+r*n;return o}},function(e,t,n){"use strict";function r(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),c=r/Math.pow(10,a);return a>=0?(c>=o?10:c>=i?5:c>=u?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=o?10:c>=i?5:c>=u?2:1)}function a(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),c=r/a;return c>=o?a*=10:c>=i?a*=5:c>=u&&(a*=2),t<e?-a:a}t.b=r,t.c=a;var o=Math.sqrt(50),i=Math.sqrt(10),u=Math.sqrt(2);t.a=function(e,t,n){var a,o,i,u,c=-1;if(t=+t,e=+e,n=+n,e===t&&n>0)return[e];if((a=t<e)&&(o=e,e=t,t=o),0===(u=r(e,t,n))||!isFinite(u))return[];if(u>0)for(e=Math.ceil(e/u),t=Math.floor(t/u),i=new Array(o=Math.ceil(t-e+1));++c<o;)i[c]=(e+c)*u;else for(e=Math.floor(e*u),t=Math.ceil(t*u),i=new Array(o=Math.ceil(e-t+1));++c<o;)i[c]=(e-c)/u;return a&&i.reverse(),i}},function(e,t,n){"use strict";t.a=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";t.a=function(e,t){var n,r,a=e.length,o=-1;if(null==t){for(;++o<a;)if(null!=(n=e[o])&&n>=n)for(r=n;++o<a;)null!=(n=e[o])&&r>n&&(r=n)}else for(;++o<a;)if(null!=(n=t(e[o],o,e))&&n>=n)for(r=n;++o<a;)null!=(n=t(e[o],o,e))&&r>n&&(r=n);return r}},function(e,t,n){"use strict";function r(e){return e.length}var a=n(156);t.a=function(e){if(!(i=e.length))return[];for(var t=-1,n=Object(a.a)(e,r),o=new Array(n);++t<n;)for(var i,u=-1,c=o[t]=new Array(i);++u<i;)c[u]=e[u][t];return o}},function(e,t,n){"use strict";function r(e){function t(t){var r=t+"",a=n.get(r);if(!a){if(c!==i)return c;n.set(r,a=u.push(t))}return e[(a-1)%e.length]}var n=Object(a.a)(),u=[],c=i;return e=null==e?[]:o.b.call(e),t.domain=function(e){if(!arguments.length)return u.slice();u=[],n=Object(a.a)();for(var r,o,i=-1,c=e.length;++i<c;)n.has(o=(r=e[i])+"")||n.set(o,u.push(r));return t},t.range=function(n){return arguments.length?(e=o.b.call(n),t):e.slice()},t.unknown=function(e){return arguments.length?(c=e,t):c},t.copy=function(){return r().domain(u).range(e).unknown(c)},t}n.d(t,"b",function(){return i}),t.a=r;var a=n(332),o=n(20),i={name:"implicit"}},function(e,t,n){"use strict";t.a=function(e){return+e}},function(e,t,n){"use strict";var r=n(340);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var a=(n(161),n(162));n.d(t,"c",function(){return a.a});var o=n(347);n.d(t,"d",function(){return o.a});var i=n(348);n.d(t,"e",function(){return i.a});var u=n(349);n.d(t,"f",function(){return u.a})},function(e,t,n){"use strict";var r=n(59),a=n(341),o=n(342),i=n(162),u=n(343),c=n(344),l=n(163),s=n(346),f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];t.a=function(e){function t(e){function t(e){var t,o,i,c=w,d=_;if("c"===O)d=j(e)+d,e="";else{e=+e;var b=e<0;if(e=j(Math.abs(e),v),x&&(e=Object(u.a)(e)),b&&0==+e&&(b=!1),c=(b?"("===a?a:"-":"-"===a||"("===a?"":a)+c,d=("s"===O?f[8+l.b/3]:"")+d+(b&&"("===a?")":""),P)for(t=-1,o=e.length;++t<o;)if(48>(i=e.charCodeAt(t))||i>57){d=(46===i?h+e.slice(t+1):e.slice(t))+d,e=e.slice(0,t);break}}g&&!s&&(e=p(e,1/0));var C=c.length+e.length+d.length,M=C<m?new Array(m-C+1).join(n):"";switch(g&&s&&(e=p(M+e,M.length?m-d.length:1/0),M=""),r){case"<":e=c+e+d+M;break;case"=":e=c+M+e+d;break;case"^":e=M.slice(0,C=M.length>>1)+c+e+d+M.slice(C);break;default:e=M+c+e+d}return y(e)}e=Object(i.a)(e);var n=e.fill,r=e.align,a=e.sign,o=e.symbol,s=e.zero,m=e.width,g=e.comma,v=e.precision,x=e.trim,O=e.type;"n"===O?(g=!0,O="g"):c.a[O]||(null==v&&(v=12),x=!0,O="g"),(s||"0"===n&&"="===r)&&(s=!0,n="0",r="=");var w="$"===o?d[0]:"#"===o&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",_="$"===o?d[1]:/[%p]/.test(O)?b:"",j=c.a[O],P=/[defgprs%]/.test(O);return v=null==v?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),t.toString=function(){return e+""},t}function n(e,n){var a=t((e=Object(i.a)(e),e.type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-o),c=f[8+o/3];return function(e){return a(u*e)+c}}var p=e.grouping&&e.thousands?Object(a.a)(e.grouping,e.thousands):s.a,d=e.currency,h=e.decimal,y=e.numerals?Object(o.a)(e.numerals):s.a,b=e.percent||"%";return{format:t,formatPrefix:n}}},function(e,t,n){"use strict";function r(e){return new a(e)}function a(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}t.a=r;var 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.trim?"~":"")+this.type}},function(e,t,n){"use strict";n.d(t,"b",function(){return r});var r,a=n(93);t.a=function(e,t){var n=Object(a.a)(e,t);if(!n)return e+"";var o=n[0],i=n[1],u=i-(r=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=o.length;return u===c?o:u>c?o+new Array(u-c+1).join("0"):u>0?o.slice(0,u)+"."+o.slice(u):"0."+new Array(1-u).join("0")+Object(a.a)(e,Math.max(0,t+u-1))[0]}},function(e,t,n){"use strict";t.a=function(e,t){e=e.slice();var n,r=0,a=e.length-1,o=e[r],i=e[a];return i<o&&(n=r,r=a,a=n,n=o,o=i,i=n),e[r]=t.floor(o),e[a]=t.ceil(i),e}},function(e,t,n){"use strict";function r(e){return new Date(e)}function a(e){return e instanceof Date?+e:+new Date(+e)}function o(e,t,n,c,l,x,O,w,_){function j(r){return(O(r)<r?k:x(r)<r?E:l(r)<r?T:c(r)<r?S:t(r)<r?n(r)<r?D:N:e(r)<r?L:R)(r)}function P(t,n,r,a){if(null==t&&(t=10),"number"==typeof t){var o=Math.abs(r-n)/t,u=Object(i.c)(function(e){return e[2]}).right(z,o);u===z.length?(a=Object(i.i)(n/v,r/v,t),t=e):u?(u=z[o/z[u-1][2]<z[u][2]/o?u-1:u],a=u[1],t=u[0]):(a=Math.max(Object(i.i)(n,r,t),1),t=w)}return null==a?t:t.every(a)}var C=Object(f.b)(f.c,u.c),M=C.invert,A=C.domain,k=_(".%L"),E=_(":%S"),T=_("%I:%M"),S=_("%I %p"),D=_("%a %d"),N=_("%b %d"),L=_("%B"),R=_("%Y"),z=[[O,1,d],[O,5,5*d],[O,15,15*d],[O,30,30*d],[x,1,h],[x,5,5*h],[x,15,15*h],[x,30,30*h],[l,1,y],[l,3,3*y],[l,6,6*y],[l,12,12*y],[c,1,b],[c,2,2*b],[n,1,m],[t,1,g],[t,3,3*g],[e,1,v]];return C.invert=function(e){return new Date(M(e))},C.domain=function(e){return arguments.length?A(s.a.call(e,a)):A().map(r)},C.ticks=function(e,t){var n,r=A(),a=r[0],o=r[r.length-1],i=o<a;return i&&(n=a,a=o,o=n),n=P(e,a,o,t),n=n?n.range(a,o+1):[],i?n.reverse():n},C.tickFormat=function(e,t){return null==t?j:_(t)},C.nice=function(e,t){var n=A();return(e=P(e,n[0],n[n.length-1],t))?A(Object(p.a)(n,e)):C},C.copy=function(){return Object(f.a)(C,o(e,t,n,c,l,x,O,w,_))},C}t.a=o;var i=n(12),u=n(24),c=n(94),l=n(166),s=n(20),f=n(58),p=n(164),d=1e3,h=60*d,y=60*h,b=24*y,m=7*b,g=30*b,v=365*b;t.b=function(){return o(c.k,c.f,c.j,c.a,c.b,c.d,c.g,c.c,l.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(e,t,n){"use strict";var r=n(95);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});n(167),n(168),n(369)},function(e,t,n){"use strict";function r(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function a(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function i(e){function t(e,t){return function(n){var r,a,o,i=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(i.push(e.slice(c,u)),null!=(a=he[r=e.charAt(++u)])?r=e.charAt(++u):a="e"===r?" ":"0",(o=t[r])&&(r=o(n,a)),i.push(r),c=u+1);return i.push(e.slice(c,u)),i.join("")}}function n(e,t){return function(n){var r,u,c=o(1900),l=i(c,e,n+="",0);if(l!=n.length)return null;if("Q"in c)return new Date(c.Q);if("p"in c&&(c.H=c.H%12+12*c.p),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(r=a(o(c.y)),u=r.getUTCDay(),r=u>4||0===u?de.p.ceil(r):Object(de.p)(r),r=de.l.offset(r,7*(c.V-1)),c.y=r.getUTCFullYear(),c.m=r.getUTCMonth(),c.d=r.getUTCDate()+(c.w+6)%7):(r=t(o(c.y)),u=r.getDay(),r=u>4||0===u?de.e.ceil(r):Object(de.e)(r),r=de.a.offset(r,7*(c.V-1)),c.y=r.getFullYear(),c.m=r.getMonth(),c.d=r.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),u="Z"in c?a(o(c.y)).getUTCDay():t(o(c.y)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(u+5)%7:c.w+7*c.U-(u+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,a(c)):t(c)}}function i(e,t,n,r){for(var a,o,i=0,u=t.length,c=n.length;i<u;){if(r>=c)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(o=Je[a in he?t.charAt(i++):a])||(r=o(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}function u(e,t,n){var r=Be.exec(t.slice(n));return r?(e.p=Ve[r[0].toLowerCase()],n+r[0].length):-1}function c(e,t,n){var r=qe.exec(t.slice(n));return r?(e.w=Ue[r[0].toLowerCase()],n+r[0].length):-1}function ye(e,t,n){var r=Fe.exec(t.slice(n));return r?(e.w=We[r[0].toLowerCase()],n+r[0].length):-1}function be(e,t,n){var r=Ye.exec(t.slice(n));return r?(e.m=Ke[r[0].toLowerCase()],n+r[0].length):-1}function me(e,t,n){var r=He.exec(t.slice(n));return r?(e.m=Ge[r[0].toLowerCase()],n+r[0].length):-1}function ge(e,t,n){return i(e,Te,t,n)}function ve(e,t,n){return i(e,Se,t,n)}function xe(e,t,n){return i(e,De,t,n)}function Oe(e){return Re[e.getDay()]}function we(e){return Le[e.getDay()]}function _e(e){return Ie[e.getMonth()]}function je(e){return ze[e.getMonth()]}function Pe(e){return Ne[+(e.getHours()>=12)]}function Ce(e){return Re[e.getUTCDay()]}function Me(e){return Le[e.getUTCDay()]}function Ae(e){return Ie[e.getUTCMonth()]}function ke(e){return ze[e.getUTCMonth()]}function Ee(e){return Ne[+(e.getUTCHours()>=12)]}var Te=e.dateTime,Se=e.date,De=e.time,Ne=e.periods,Le=e.days,Re=e.shortDays,ze=e.months,Ie=e.shortMonths,Be=l(Ne),Ve=s(Ne),Fe=l(Le),We=s(Le),qe=l(Re),Ue=s(Re),He=l(ze),Ge=s(ze),Ye=l(Ie),Ke=s(Ie),Xe={a:Oe,A:we,b:_e,B:je,c:null,d:E,e:E,f:L,H:T,I:S,j:D,L:N,m:R,M:z,p:Pe,Q:fe,s:pe,S:I,u:B,U:V,V:F,w:W,W:q,x:null,X:null,y:U,Y:H,Z:G,"%":se},Ze={a:Ce,A:Me,b:Ae,B:ke,c:null,d:Y,e:Y,f:$,H:K,I:X,j:Z,L:J,m:Q,M:ee,p:Ee,Q:fe,s:pe,S:te,u:ne,U:re,V:ae,w:oe,W:ie,x:null,X:null,y:ue,Y:ce,Z:le,"%":se},Je={a:c,A:ye,b:be,B:me,c:ge,d:x,e:x,f:C,H:w,I:w,j:O,L:P,m:v,M:_,p:u,Q:A,s:k,S:j,u:p,U:d,V:h,w:f,W:y,x:ve,X:xe,y:m,Y:b,Z:g,"%":M};return Xe.x=t(Se,Xe),Xe.X=t(De,Xe),Xe.c=t(Te,Xe),Ze.x=t(Se,Ze),Ze.X=t(De,Ze),Ze.c=t(Te,Ze),{format:function(e){var n=t(e+="",Xe);return n.toString=function(){return e},n},parse:function(e){var t=n(e+="",r);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",Ze);return n.toString=function(){return e},n},utcParse:function(e){var t=n(e,a);return t.toString=function(){return e},t}}}function u(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o<n?new Array(n-o+1).join(t)+a:a)}function c(e){return e.replace(me,"\\$&")}function l(e){return new RegExp("^(?:"+e.map(c).join("|")+")","i")}function s(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function f(e,t,n){var r=ye.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function p(e,t,n){var r=ye.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function d(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function h(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function y(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function b(e,t,n){var r=ye.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function m(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function g(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function v(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function x(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function O(e,t,n){var r=ye.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function _(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function j(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function P(e,t,n){var r=ye.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function C(e,t,n){var r=ye.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function M(e,t,n){var r=be.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function A(e,t,n){var r=ye.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function k(e,t,n){var r=ye.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function E(e,t){return u(e.getDate(),t,2)}function T(e,t){return u(e.getHours(),t,2)}function S(e,t){return u(e.getHours()%12||12,t,2)}function D(e,t){return u(1+de.a.count(Object(de.k)(e),e),t,3)}function N(e,t){return u(e.getMilliseconds(),t,3)}function L(e,t){return N(e,t)+"000"}function R(e,t){return u(e.getMonth()+1,t,2)}function z(e,t){return u(e.getMinutes(),t,2)}function I(e,t){return u(e.getSeconds(),t,2)}function B(e){var t=e.getDay();return 0===t?7:t}function V(e,t){return u(de.h.count(Object(de.k)(e),e),t,2)}function F(e,t){var n=e.getDay();return e=n>=4||0===n?Object(de.i)(e):de.i.ceil(e),u(de.i.count(Object(de.k)(e),e)+(4===Object(de.k)(e).getDay()),t,2)}function W(e){return e.getDay()}function q(e,t){return u(de.e.count(Object(de.k)(e),e),t,2)}function U(e,t){return u(e.getFullYear()%100,t,2)}function H(e,t){return u(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+u(t/60|0,"0",2)+u(t%60,"0",2)}function Y(e,t){return u(e.getUTCDate(),t,2)}function K(e,t){return u(e.getUTCHours(),t,2)}function X(e,t){return u(e.getUTCHours()%12||12,t,2)}function Z(e,t){return u(1+de.l.count(Object(de.v)(e),e),t,3)}function J(e,t){return u(e.getUTCMilliseconds(),t,3)}function $(e,t){return J(e,t)+"000"}function Q(e,t){return u(e.getUTCMonth()+1,t,2)}function ee(e,t){return u(e.getUTCMinutes(),t,2)}function te(e,t){return u(e.getUTCSeconds(),t,2)}function ne(e){var t=e.getUTCDay();return 0===t?7:t}function re(e,t){return u(de.s.count(Object(de.v)(e),e),t,2)}function ae(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Object(de.t)(e):de.t.ceil(e),u(de.t.count(Object(de.v)(e),e)+(4===Object(de.v)(e).getUTCDay()),t,2)}function oe(e){return e.getUTCDay()}function ie(e,t){return u(de.p.count(Object(de.v)(e),e),t,2)}function ue(e,t){return u(e.getUTCFullYear()%100,t,2)}function ce(e,t){return u(e.getUTCFullYear()%1e4,t,4)}function le(){return"+0000"}function se(){return"%"}function fe(e){return+e}function pe(e){return Math.floor(+e/1e3)}t.a=i;var de=n(94),he={"-":"",_:" ",0:"0"},ye=/^\s*\d+/,be=/^%/,me=/[\\^$*+?|[\]().{}]/g},function(e,t,n){"use strict";function r(e){return e.toISOString()}n.d(t,"a",function(){return o});var a=n(95),o="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(a.b)(o)},function(e,t,n){"use strict";t.a={IMMUTABLE_ITERABLE:"@@__IMMUTABLE_ITERABLE__@@",IMMUTABLE_RECORD:"@@__IMMUTABLE_RECORD__@@",IMMUTABLE_LIST:"@@__IMMUTABLE_LIST__@@",IMMUTABLE_MAP:"@@__IMMUTABLE_MAP__@@",isImmutable:function(e){return this.isIterable(e)||this.isRecord(e)},isIterable:function(e){return!(!e||!e[this.IMMUTABLE_ITERABLE])},isRecord:function(e){return!(!e||!e[this.IMMUTABLE_RECORD])},isList:function(e){return!(!e||!e[this.IMMUTABLE_LIST])},isMap:function(e){return!(!e||!e[this.IMMUTABLE_MAP])},shallowToJS:function(e,t){var n=this;return this.isIterable(e)?e.reduce(function(e,r,a){return t&&t[a]&&(r=n.shallowToJS(r)),e[a]=r,e},this.isList(e)?[]:{}):e}}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){if(e.orientation){return{top:"x",bottom:"x",left:"y",right:"y"}[e.orientation]}return e.dependentAxis?"y":"x"}function c(e,t){var n="x"===e?"y":"x";return t?n:e}function l(e,t){t=t||W.a;var n=function(e){return e.reduce(function(e,r){return r.type&&"axis"===r.type.role&&t(r)?e.concat(r):r.props&&r.props.children?e.concat(n(U.a.Children.toArray(r.props.children))):e},[])};return n(e)}function s(e,t){return l(e,function(e){return e.type.getAxis(e.props)===t})[0]}function f(e,t){var n=function(e){return"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis},r=function(e){return e.reduce(function(e,t){if(t.type&&"axis"===t.type.role&&n(t))return e.concat(t);if(t.props&&t.props.children){return r(U.a.Children.toArray(t.props.children)).length>0?e.concat(t):e}return e},[])};return r(e)}function p(e){var t=function(e){var t=Math.min.apply(Math,r(e)),n=Math.max.apply(Math,r(e));return n<0?n:Math.max(0,t)};return{x:H.a.containsDates(e.x)?new Date(Math.min.apply(Math,r(e.x))):t(e.x),y:H.a.containsDates(e.y)?new Date(Math.min.apply(Math,r(e.y))):t(e.y)}}function d(e,t){return H.a.containsDates(t)?"positive":function(){return e<=0&&Math.max.apply(Math,r(t))<=0?"negative":"positive"}()}function h(e,t,n){if(e&&e.props&&e.props.orientation)return e.props.orientation;var r=n||"positive",a={positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}},o={positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}};if(!e)return a[r][t];var i=e.props.dependentAxis;return!i&&"y"===t||i&&"x"===t?o[r][t]:a[r][t]}function y(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function b(e){return void 0!==e.tickValues&&H.a.containsStrings(e.tickValues)}function m(e){var t=e.tickValues,n=e.stringMap,a=t&&!H.a.containsDates(t)?function(e){return e}:void 0;if(n){var o=n&&I()(n),i=S()(E()(n),function(e){return e}),u=i.map(function(e){return o[e]}),c=[""].concat(r(u),[""]);return function(e){return c[e]}}return b(e)?function(e,n){return t[n]}:a}function g(e,t){var n=e.tickFormat,r=e.stringMap;if(n){if(n&&Array.isArray(n))return function(e,t){return n[t]};if(n&&V()(n)){var a=function(t,n,a){var o=I()(r),i=a.map(function(e){return o[e]});return e.tickFormat(o[t],n,i)};return r?a:n}return function(e){return e}}var o=m(e),i=t.tickFormat&&V()(t.tickFormat)?t.tickFormat():function(e){return e};return o||i}function v(e){var t=e.stringMap,n=u(e),r=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[n],a=r&&H.a.containsOnlyStrings(r)?r.map(function(e){return t[e]}):void 0,o=t&&E()(t);return a&&0!==a.length?a:o}function x(e){var t=e.tickValues,n=e.tickFormat,a=e.stringMap,o=t;a&&(o=v(e)),t&&H.a.containsStrings(t)&&(o=a?t.map(function(e){return a[e]}):N()(1,t.length+1));var i=o?R()(o):function(){if(n&&Array.isArray(n))return H.a.containsStrings(n)?n.map(function(e,t){return t}):n}();return Array.isArray(i)&&i.length?function(t){var n=u(e),a=e.domain&&e.domain[n]||e.domain;return Array.isArray(a)?t.filter(function(e){return e>=Math.min.apply(Math,r(a))&&e<=Math.max.apply(Math,r(a))}):t}(i):void 0}function O(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter(function(e,t){return t%n==0})}function w(e,t,n){var r=e.tickCount,a=x(e);if(a)return O(a,r);if(t.ticks&&V()(t.ticks)){var o=r||5,i=t.ticks(o),u=Array.isArray(i)&&i.length?i:t.domain(),c=O(u,r);if(n){var l=A()(c,0)?C()(c,0):c;return l.length?l:c}return c}return t.domain()}function _(e,t){var n=e.polar,r=e.startAngle,a=void 0===r?0:r,o=e.endAngle,i=void 0===o?360:o,u=x(e);if(Array.isArray(u)){var c=G.a.getMinFromProps(e,t),l=G.a.getMaxFromProps(e,t),s=b(e),f=u.map(function(e){return+e}),p=s?1:H.a.getMinValue(f),d=s?u.length:H.a.getMaxValue(f),h=void 0!==c?c:p,m=void 0!==l?l:d,g=G.a.getDomainFromMinMax(h,m),v=n&&"x"===t&&360===Math.abs(a-i)?G.a.getSymmetricDomain(g,f):g;return y(e)&&!n&&v.reverse(),v}}function j(e,t){var n=u(e);if(!t||t===n)return G.a.createDomainFunction(_)(e,n)}var P=n(57),C=n.n(P),M=n(16),A=n.n(M),k=n(97),E=n.n(k),T=n(29),S=n.n(T),D=n(56),N=n.n(D),L=n(34),R=n.n(L),z=n(390),I=n.n(z),B=n(5),V=n.n(B),F=n(18),W=n.n(F),q=n(0),U=n.n(q),H=n(15),G=n(96);t.a={getTicks:w,getTickFormat:g,getAxis:u,getAxisComponent:s,getAxisComponentsWithParent:f,getOrientation:h,getCurrentAxis:c,findAxisComponents:l,getOrigin:p,getOriginSign:d,getDomain:j,isVertical:y,stringTicks:b}},function(e,t,n){"use strict";var r=n(400);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";var r=n(402);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return x});var s=n(5),f=n.n(s),p=n(4),d=n.n(p),h=n(0),y=n.n(h),b=n(2),m=n.n(b),g=n(1),v=n(39),x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getPath",value:function(e){var t=e.datum,n=e.active,r=e.slice;if(f()(e.pathFunction))return e.pathFunction(r);var a=g.m.evaluateProp(e.cornerRadius,t,n),o=g.m.evaluateProp(e.innerRadius,t,n),i=g.m.evaluateProp(e.radius,t,n),u=g.m.degreesToRadians(g.m.evaluateProp(e.padAngle,t,n)),c=g.m.degreesToRadians(g.m.evaluateProp(e.sliceStartAngle,t,n)),l=g.m.degreesToRadians(g.m.evaluateProp(e.sliceEndAngle,t,n));return v.arc().cornerRadius(a).outerRadius(i).innerRadius(o)(d()({startAngle:c,endAngle:l,padAngle:u},r))}},{key:"render",value:function(){var e=this.props,t=e.datum,n=e.active,r=e.role,a=e.shapeRendering,o=e.className,i=e.origin,u=e.events,c=e.pathComponent,l=e.style,s=e.clipPath,f=i?"translate(".concat(i.x,", ").concat(i.y,")"):void 0,p=this.props.transform||f;return y.a.cloneElement(c,{className:o,role:r,shapeRendering:a,events:u,transform:p,clipPath:s,style:g.m.evaluateStyle(l,t,n),d:this.getPath(this.props)})}}]),t}(y.a.Component);Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.primitiveProps,{cornerRadius:m.a.oneOfType([m.a.number,m.a.func]),datum:m.a.object,innerRadius:m.a.oneOfType([m.a.number,m.a.func]),padAngle:m.a.oneOfType([m.a.number,m.a.func]),pathComponent:m.a.element,pathFunction:m.a.func,radius:m.a.oneOfType([m.a.number,m.a.func]),slice:m.a.object,sliceEndAngle:m.a.oneOfType([m.a.number,m.a.func]),sliceStartAngle:m.a.oneOfType([m.a.number,m.a.func])})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:y.a.createElement(g.r,null)}})},function(e,t,n){"use strict";var r=n(40),a=n(21),o=n(61),i=n(99),u=n(100);t.a=function(){function e(e){var t,a,o,i,u,y=e.length,b=!1,m=new Array(y),g=new Array(y);for(null==p&&(h=d(u=Object(r.a)())),t=0;t<=y;++t){if(!(t<y&&f(i=e[t],t,e))===b)if(b=!b)a=t,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),o=t-1;o>=a;--o)h.point(m[o],g[o]);h.lineEnd(),h.areaEnd()}b&&(m[t]=+n(i,t,e),g[t]=+l(i,t,e),h.point(c?+c(i,t,e):m[t],s?+s(i,t,e):g[t]))}if(u)return h=null,u+""||null}function t(){return Object(i.a)().defined(f).curve(d).context(p)}var n=u.a,c=null,l=Object(a.a)(0),s=u.b,f=Object(a.a)(!0),p=null,d=o.a,h=null;return e.x=function(t){return arguments.length?(n="function"==typeof t?t:Object(a.a)(+t),c=null,e):n},e.x0=function(t){return arguments.length?(n="function"==typeof t?t:Object(a.a)(+t),e):n},e.x1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:Object(a.a)(+t),e):c},e.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(a.a)(+t),s=null,e):l},e.y0=function(t){return arguments.length?(l="function"==typeof t?t:Object(a.a)(+t),e):l},e.y1=function(t){return arguments.length?(s=null==t?null:"function"==typeof t?t:Object(a.a)(+t),e):s},e.lineX0=e.lineY0=function(){return t().x(n).y(l)},e.lineY1=function(){return t().x(n).y(s)},e.lineX1=function(){return t().x(c).y(l)},e.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(a.a)(!!t),e):f},e.curve=function(t){return arguments.length?(d=t,null!=p&&(h=d(p)),e):d},e.context=function(t){return arguments.length?(null==t?p=h=null:h=d(p=t),e):p},e}},function(e,t,n){"use strict";function r(e){this._curve=e}function a(e){function t(t){return new r(e(t))}return t._curve=e,t}n.d(t,"a",function(){return i}),t.b=a;var o=n(61),i=a(o.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(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";function r(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(Object(a.b)(e)):t()._curve},e}t.b=r;var a=n(175),o=n(99);t.a=function(){return r(Object(o.a)().curve(a.a))}},function(e,t,n){"use strict";t.a=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.prototype.slice},function(e,t,n){"use strict";var r=n(41);t.a={draw:function(e,t){var n=Math.sqrt(t/r.j);e.moveTo(n,0),e.arc(0,0,n,0,r.m)}}},function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";var r=Math.sqrt(1/3),a=2*r;t.a={draw:function(e,t){var n=Math.sqrt(t/a),o=n*r;e.moveTo(0,-n),e.lineTo(o,0),e.lineTo(0,n),e.lineTo(-o,0),e.closePath()}}},function(e,t,n){"use strict";var r=n(41),a=Math.sin(r.j/10)/Math.sin(7*r.j/10),o=Math.sin(r.m/10)*a,i=-Math.cos(r.m/10)*a;t.a={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),a=o*n,u=i*n;e.moveTo(0,-n),e.lineTo(a,u);for(var c=1;c<5;++c){var l=r.m*c/5,s=Math.cos(l),f=Math.sin(l);e.lineTo(f*n,-s*n),e.lineTo(s*a-f*u,f*a+s*u)}e.closePath()}}},function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";var r=Math.sqrt(3);t.a={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";var r=-.5,a=Math.sqrt(3)/2,o=1/Math.sqrt(12),i=3*(o/2+1);t.a={draw:function(e,t){var n=Math.sqrt(t/i),u=n/2,c=n*o,l=u,s=n*o+n,f=-l,p=s;e.moveTo(u,c),e.lineTo(l,s),e.lineTo(f,p),e.lineTo(r*u-a*c,a*u+r*c),e.lineTo(r*l-a*s,a*l+r*s),e.lineTo(r*f-a*p,a*f+r*p),e.lineTo(r*u+a*c,r*c-a*u),e.lineTo(r*l+a*s,r*s-a*l),e.lineTo(r*f+a*p,r*p-a*f),e.closePath()}}},function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}t.a=r;var a=n(62),o=n(64);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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Object(o.c)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.b=function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}t.a=r;var a=n(64);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(e,t){switch(e=+e,t=+t,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,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.b=function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return _});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(39),m=n(1),g=function(e){var t=void 0!==e._y1?e._y1:e._y;return null!==t&&void 0!==t&&null!==e._y0},v=function(e){return function(t){return e.x(void 0!==t._x1?t._x1:t._x)}},x=function(e){return function(t){return e.y(void 0!==t._y1?t._y1:t._y)}},O=function(e){return function(t){return e.y(t._y0)}},w=function(e){return function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}},_=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getLineFunction",value:function(e){var t=e.polar,n=e.scale,r=this.toNewName(e.interpolation);return t?b.lineRadial().defined(g).curve(b["".concat(r,"Closed")]).angle(w(n)).radius(O(n)):b.line().defined(g).curve(b[r]).x(v(n)).y(x(n))}},{key:"getAreaFunction",value:function(e){var t=e.polar,n=e.scale,r=this.toNewName(e.interpolation);return t?b.radialArea().defined(g).curve(b["".concat(r,"Closed")]).angle(w(n)).outerRadius(x(n)).innerRadius(O(n)):b.area().defined(g).curve(b[r]).x(v(n)).y1(x(n)).y0(O(n))}},{key:"toNewName",value:function(e){return"curve".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.shapeRendering,r=e.className,a=e.polar,o=e.origin,i=e.data,u=e.active,c=e.pathComponent,l=e.events,s=e.groupComponent,p=e.clipPath,h=e.id,y=m.m.evaluateStyle(f()({fill:"black"},this.props.style),i,u),b=a&&o?"translate(".concat(o.x,", ").concat(o.y,")"):void 0,g=this.props.transform||b,v=y.stroke&&"none"!==y.stroke&&"transparent"!==y.stroke,x=this.getAreaFunction(this.props),O=v&&this.getLineFunction(this.props),w=y.stroke?"none":y.fill,_={className:r,role:t,shapeRendering:n,transform:g,events:l,clipPath:p},j=d.a.cloneElement(c,f()({key:"".concat(h,"-area"),style:f()({},y,{stroke:w}),d:x(i)},_)),P=v?d.a.cloneElement(c,f()({key:"".concat(h,"-area-stroke"),style:f()({},y,{fill:"none"}),d:O(i)},_)):null;return v?d.a.cloneElement(s,{},[j,P]):j}}]),t}(d.a.Component);Object.defineProperty(_,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.h.primitiveProps,{groupComponent:y.a.element,interpolation:y.a.string,pathComponent:y.a.element})}),Object.defineProperty(_,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null),pathComponent:d.a.createElement(m.r,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return j});var s=n(446),f=n.n(s),p=n(5),d=n.n(p),h=n(23),y=n.n(h),b=n(3),m=n.n(b),g=n(0),v=n.n(g),x=n(2),O=n.n(x),w=n(1),_=n(190),j=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getBarPath",value:function(e,t,n){return e.getPath?Object(_.a)(e,t):e.horizontal?Object(_.b)(e,t,n):Object(_.c)(e,t,n)}},{key:"getPolarBarPath",value:function(e,t){return Object(_.d)(e,t)}},{key:"getBarWidth",value:function(e,t){var n=e.active,r=e.scale,a=e.data,o=e.datum,i=e.barWidth,u=e.defaultBarWidth;if(i)return d()(i)?w.m.evaluateProp(i,o,n):i;if(t.width)return t.width;var c=r.x.range(),l=Math.abs(c[1]-c[0]),s=a.length+2,f=e.barRatio||.5,p=f*(a.length<2?u:l/s);return Math.max(1,p)}},{key:"getCornerRadiusFromObject",value:function(e){var t=e.cornerRadius,n=e.datum,r=e.active,a={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0},o=function(e,o){f()(t[e])?f()(t[o])||(a[e]=w.m.evaluateProp(t[o],n,r)):a[e]=w.m.evaluateProp(t[e],n,r)};return o("topLeft","top"),o("topRight","top"),o("bottomLeft","bottom"),o("bottomRight","bottom"),a}},{key:"getCornerRadius",value:function(e){var t=e.cornerRadius,n=e.datum,r=e.active,a={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0};return t?y()(t)?this.getCornerRadiusFromObject(e):(a.topLeft=w.m.evaluateProp(t,n,r),a.topRight=w.m.evaluateProp(t,n,r),a):a}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.datum,r=e.active,a=e.shapeRendering,o=e.className,i=e.origin,u=e.polar,c=e.pathComponent,l=e.events,s=e.clipPath,f=this.props.style&&this.props.style.fill||"black",p={fill:"black",stroke:f},d=w.m.evaluateStyle(m()(p,this.props.style),n,r),h=this.getBarWidth(this.props,d),y=this.getCornerRadius(this.props),b=u?this.getPolarBarPath(this.props,y):this.getBarPath(this.props,h,y),g=u&&i?"translate(".concat(i.x,", ").concat(i.y,")"):void 0,x=this.props.transform||g;return v.a.cloneElement(c,{d:b,transform:x,className:o,style:d,role:t,shapeRendering:a,events:l,clipPath:s})}}]),t}(v.a.Component);Object.defineProperty(j,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},w.h.primitiveProps,{alignment:O.a.oneOf(["start","middle","end"]),barRatio:O.a.number,barWidth:O.a.oneOfType([O.a.number,O.a.func]),cornerRadius:O.a.oneOfType([O.a.number,O.a.func,O.a.shape({top:O.a.oneOfType([O.a.number,O.a.func]),topLeft:O.a.oneOfType([O.a.number,O.a.func]),topRight:O.a.oneOfType([O.a.number,O.a.func]),bottom:O.a.oneOfType([O.a.number,O.a.func]),bottomLeft:O.a.oneOfType([O.a.number,O.a.func]),bottomRight:O.a.oneOfType([O.a.number,O.a.func])})]),datum:O.a.object,getPath:O.a.func,horizontal:O.a.bool,pathComponent:O.a.element,width:O.a.number,x:O.a.number,y:O.a.number,y0:O.a.number})}),Object.defineProperty(j,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:v.a.createElement(w.r,null),defaultBarWidth:8}})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return b}),n.d(t,"c",function(){return O}),n.d(t,"b",function(){return _}),n.d(t,"d",function(){return j});var l=n(1),s=n(39),f=n(447),p=function(e,t){var n=e.x,r=e.y,a=e.y0,o=e.horizontal,i=e.alignment||"middle",u="middle"===i?t/2:t,c=o?-1:1;return{x0:"start"===i?n:n-c*u,x1:"end"===i?n:n+c*u,y0:a,y1:r}},d=function(e,t){var n=e.data,r=e.scale,a=void 0===n[t]._x1?"_x":"_x1";return r.x(n[t][a])},h=function(e,t){var n=e.scale,r=n.y.range(),a=Math.max.apply(Math,o(r)),i=Math.abs(n.x.range()[1]-n.x.range()[0]);return t/(2*Math.PI*a)*i},y=function(e){return-1*e+Math.PI/2},b=function(e,t){return(0,e.getPath)(r({},e,p(e,t)))},m=function(e,t){var n=e.data,r=e.scale,a=e.alignment,o=d(e,t),i=Math.abs(r.x.range()[1]-r.x.range()[0]),u=0===t?d(e,n.length-1)-2*Math.PI:d(e,t-1);return 0===t&&i<2*Math.PI?r.x.range()[0]:"start"===a||"end"===a?"start"===a?u:o:(o+u)/2},g=function(e,t){var n=e.data,r=e.scale,a=e.alignment,o=d(e,t),i=Math.abs(r.x.range()[1]-r.x.range()[0]),u=r.x.range()[1]===2*Math.PI?d(e,0)+2*Math.PI:r.x.range()[1],c=t===n.length-1?d(e,0)+2*Math.PI:d(e,t+1);return t===n.length-1&&i<2*Math.PI?u:"start"===a||"end"===a?"start"===a?o:c:(o+c)/2},v=function(e,t,n){var r="".concat(t.topLeft," ").concat(t.topLeft," ").concat(n),a="".concat(t.topRight," ").concat(t.topRight," ").concat(n),o="".concat(t.bottomLeft," ").concat(t.bottomLeft," ").concat(n),i="".concat(t.bottomRight," ").concat(t.bottomRight," ").concat(n);return"".concat(["M","A ".concat(o,","),"L","A ".concat(r,","),"L","A ".concat(a,","),"L","A ".concat(i,",")].reduce(function(t,n,r){return t+="".concat(n," ").concat(e[r].x,", ").concat(e[r].y," \n")},"")," z")},x=function(e,t,n){var r=e.x0,a=e.x1,o=e.y0,i=e.y1,u=function(e){var u="Left"===e,c=u?1:-1,l=u?r:a,s={x:l+c*n["bottom".concat(e)],y:o},p={x:l,y:o-t*n["bottom".concat(e)]},d={x:l,y:i+t*n["top".concat(e)]},h={x:l+c*n["top".concat(e)],y:i};if(1===t?o-n["bottom".concat(e)]<i+n["top".concat(e)]:o+n["bottom".concat(e)]>i-n["top".concat(e)]){var y=Object(f.b)(l+c*n["top".concat(e)],i+t*n["top".concat(e)]),b=Object(f.a)(y,n["top".concat(e)]),m=Object(f.b)(l+c*n["bottom".concat(e)],o-t*n["bottom".concat(e)]),g=Object(f.a)(m,n["bottom".concat(e)]),v=b.intersection(g);if(v.length>0){var x=v[u?0:1];p={x:x.x,y:x.y},d={x:x.x,y:x.y}}else if(n["top".concat(e)]>n["bottom".concat(e)]){var O=b.solveX(o)[u?0:1];s={x:O,y:o},p={x:O,y:o},d={x:O,y:o}}else{var w=g.solveX(i)[u?0:1];p={x:w,y:i},d={x:w,y:i},h={x:w,y:i}}}var _=[s,p,d,h];return u?_:_.reverse()};return u("Left").concat(u("Right"))},O=function(e,t,n){var r=p(e,t),a=r.y0>r.y1?1:-1,o=a>0?"0 0 1":"0 0 0",i=x(r,a,n);return v(i,n,o)},w=function(e,t,n){var r=e.x0,a=e.x1,o=e.y0,i=e.y1,u=function(e){var u="Left"===e,c=u?1:-1,l=u?a:r,s={y:l+c*n["bottom".concat(e)],x:o},p={y:l,x:o+t*n["bottom".concat(e)]},d={y:l,x:i-t*n["top".concat(e)]},h={y:l+c*n["top".concat(e)],x:i};if(1===t?o+n["bottom".concat(e)]>i-n["top".concat(e)]:o-n["bottom".concat(e)]<i+n["top".concat(e)]){var y=Object(f.b)(i-t*n["top".concat(e)],l+c*n["top".concat(e)]),b=Object(f.a)(y,n["top".concat(e)]),m=Object(f.b)(o+t*n["bottom".concat(e)],l+c*n["bottom".concat(e)]),g=Object(f.a)(m,n["bottom".concat(e)]),v=b.intersection(g);if(v.length>0){var x=v.sort(function(e,t){return e.y-t.y})[u?0:1];p={x:x.x,y:x.y},d={x:x.x,y:x.y}}else if(n["top".concat(e)]>n["bottom".concat(e)]){var O=b.solveY(o)[u?1:0];s={y:O,x:o},p={y:O,x:o},d={y:O,x:o}}else{var w=g.solveY(i)[u?1:0];p={y:w,x:i},d={y:w,x:i},h={y:w,x:i}}}var _=[s,p,d,h];return u?_:_.reverse()};return u("Left").concat(u("Right"))},_=function(e,t,n){var r=p(e,t),a=r.y1>r.y0?1:-1,o=a>0?"0 0 1":"0 0 0",i=w(r,a,n);return v(i,n,o)},j=function(e,t){var n,r,a=e.datum,i=e.scale,u=e.index,c=e.alignment,f=l.m.evaluateStyle(e.style,a,e.active),p=i.y(a._y0||0),d=i.y(void 0!==a._y1?a._y1:a._y),b=i.x(void 0!==a._x1?a._x1:a._x);if(f.width){var v=h(e,f.width),x="middle"===c?v/2:v;n="start"===c?b:b-x,r="end"===c?b:b+x}else n=m(e,u),r=g(e,u);var O=function(e){return s.arc().innerRadius(p).outerRadius(d).startAngle(y(n)).endAngle(y(r)).cornerRadius(t[e])()},w=function(e){var t=O("".concat(e,"Right")),n=t.match(/[A-Z]/g),r=t.split(/[A-Z]/).slice(1),a=n.indexOf("L"),o=O("".concat(e,"Left")),i=o.match(/[A-Z]/g);return{rightMoves:n,rightCoords:r,rightMiddle:a,leftMoves:i,leftCoords:o.split(/[A-Z]/).slice(1),leftMiddle:i.indexOf("L")}},_=function(){var e,a,i=t.topRight,u=t.topLeft,c=d*Math.abs(r-n),l=w("top"),s=l.rightMoves,f=l.rightCoords,p=l.rightMiddle,h=l.leftMoves,y=l.leftCoords,b=l.leftMiddle;if(i===u||c<2*i+2*u)e=i>u?s:h,a=i>u?f:y;else{var m,g=function(e){return e<3},v=u>i&&g(p)?1:2;if(i>u){var x=g(p)?b:b-2;m=g(b)?b-1:x}else{var O=g(b)?1:2;m=g(p)?O:b-2}e=o(s.slice(0,v)).concat(o(h.slice(m))),a=o(f.slice(0,v)).concat(o(y.slice(m)))}var _=e.indexOf("L"),j=e.slice(0,_),P=a.slice(0,_);return j.map(function(e,t){return{command:e,coords:P[t].split(",")}})}(),j=function(){var e,a,i=t.bottomRight,u=t.bottomLeft,c=p*Math.abs(r-n),l=w("bottom"),s=l.rightMoves,f=l.rightCoords,d=l.rightMiddle,h=l.leftMoves,y=l.leftCoords,b=l.leftMiddle;if(i===u||c<2*i+2*u)e=i>u?s:h,a=i>u?f:y;else{var m=function(e,t){return e.length-t<4},g=i>u?m(s,d):m(h,b),v=g?-1:-3;e=o(h.slice(0,b+2)).concat(o(s.slice(v))),a=o(y.slice(0,b+2)).concat(o(f.slice(v)))}var x=e.indexOf("L"),O=e.slice(x,-1),_=a.slice(x,-1);return O.map(function(e,t){return{command:e,coords:_[t].split(",")}})}();return"".concat(o(_).concat(o(j)).reduce(function(e,t){return e+="".concat(t.command," ").concat(t.coords.join())},"")," z")}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return O});var s=n(5),f=n.n(s),p=n(4),d=n.n(p),h=n(3),y=n.n(h),b=n(0),m=n.n(b),g=n(2),v=n.n(g),x=n(1),O=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getCandleWidth",value:function(e,t){var n=e.active,r=e.datum,a=e.data,o=e.candleWidth,i=e.scale,u=e.defaultCandleWidth;if(o)return f()(o)?x.m.evaluateProp(o,r,n):o;if(t.width)return t.width;var c=i.x.range(),l=Math.abs(c[1]-c[0]),s=a.length+2,p=e.candleRatio||.5,d=p*(a.length<2?u:l/s);return Math.max(1,d)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.high,r=e.low,a=e.open,o=e.close,i=e.datum,u=e.active,c=e.events,l=e.groupComponent,s=e.clipPath,f=e.id,p=e.rectComponent,h=e.lineComponent,b=e.role,g=e.shapeRendering,v=e.className,O=e.wickStrokeWidth,w=e.transform,_=x.m.evaluateStyle(y()({stroke:"black"},this.props.style),i,u),j=d()({strokeWidth:O},_),P=this.getCandleWidth(this.props,_),C=Math.abs(o-a),M=t-P/2,A={role:b,shapeRendering:g,className:v,events:c,transform:w,clipPath:s},k=y()({key:"".concat(f,"-candle"),style:_,x:M,y:Math.min(a,o),width:P,height:C},A),E=y()({key:"".concat(f,"-highWick"),style:j,x1:t,x2:t,y1:n,y2:Math.min(a,o)},A),T=y()({key:"".concat(f,"-lowWick"),style:j,x1:t,x2:t,y1:Math.max(a,o),y2:r},A);return m.a.cloneElement(l,{},[m.a.cloneElement(p,k),m.a.cloneElement(h,E),m.a.cloneElement(h,T)])}}]),t}(m.a.Component);Object.defineProperty(O,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.primitiveProps,{candleRatio:v.a.number,candleWidth:v.a.oneOfType([v.a.number,v.a.func]),close:v.a.number,datum:v.a.object,defaultCandleWidth:v.a.number,groupComponent:v.a.element,high:v.a.number,lineComponent:v.a.element,low:v.a.number,open:v.a.number,rectComponent:v.a.element,wickStrokeWidth:v.a.number,width:v.a.number,x:v.a.number})}),Object.defineProperty(O,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{defaultCandleWidth:8,groupComponent:m.a.createElement("g",null),lineComponent:m.a.createElement(x.o,null),rectComponent:m.a.createElement(x.v,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return m});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(1),m=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getStyle",value:function(e){var t=e.style,n=e.datum,r=e.active;return b.m.evaluateStyle(f()({stroke:"black"},t),n,r)}},{key:"renderBorder",value:function(e,t,n){var r=e.x,a=e.y,o=e.borderWidth,i=e.events,u=e.style,c=e.role,l=e.shapeRendering,s=e.className,f=e.lineComponent,p=e.transform,h=e.id,y="right"===n||"left"===n,b={role:c,shapeRendering:l,className:s,events:i,style:u,transform:p,key:"".concat(h,"-border-").concat(n),x1:y?t[n]:r-o,x2:y?t[n]:r+o,y1:y?a-o:t[n],y2:y?a+o:t[n]};return d.a.cloneElement(f,b)}},{key:"renderCross",value:function(e,t,n){var r=e.x,a=e.y,o=e.events,i=e.style,u=e.role,c=e.shapeRendering,l=e.className,s=e.lineComponent,f=e.transform,p=e.id,h="top"===n||"bottom"===n,y={role:u,shapeRendering:c,className:l,events:o,style:i,transform:f,key:"".concat(p,"-cross-").concat(n),x1:r,x2:h?r:t[n],y1:a,y2:h?t[n]:a};return d.a.cloneElement(s,y)}},{key:"calculateError",value:function(e){var t=e.errorX,n=e.errorY,r=e.scale,a=r.x.range(),o=r.y.range(),i=t?t[0]:void 0,u=t?t[1]:void 0,c=n?n[1]:void 0,l=n?n[0]:void 0;return{right:i>=a[1]?a[1]:i,left:u<=a[0]?a[0]:u,top:c>=o[0]?o[0]:c,bottom:l<=o[1]?o[1]:l}}},{key:"render",value:function(){var e=f()({},this.props,{style:this.getStyle(this.props)}),t=this.calculateError(e),n=[t.right?this.renderBorder(e,t,"right"):null,t.left?this.renderBorder(e,t,"left"):null,t.bottom?this.renderBorder(e,t,"bottom"):null,t.top?this.renderBorder(e,t,"top"):null,t.right?this.renderCross(e,t,"right"):null,t.left?this.renderCross(e,t,"left"):null,t.bottom?this.renderCross(e,t,"bottom"):null,t.top?this.renderCross(e,t,"top"):null].filter(Boolean);return d.a.cloneElement(e.groupComponent,{},n)}}]),t}(d.a.Component);Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.primitiveProps,{borderWidth:y.a.number,datum:y.a.object,errorX:y.a.oneOfType([y.a.number,y.a.array,y.a.bool]),errorY:y.a.oneOfType([y.a.number,y.a.array,y.a.bool]),groupComponent:y.a.element,lineComponent:y.a.element,x:y.a.number,y:y.a.number})}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null),lineComponent:d.a.createElement(b.o,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return w});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(39),m=n(1),g=function(e){var t=void 0!==e._y1?e._y1:e._y;return null!==t&&void 0!==t&&null!==e._y0},v=function(e){return function(t){return e.x(void 0!==t._x1?t._x1:t._x)}},x=function(e){return function(t){return e.y(void 0!==t._y1?t._y1:t._y)}},O=function(e){return function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}},w=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getLineFunction",value:function(e){var t=e.polar,n=e.scale,r=!t,a=void 0===e.openCurve?r:e.openCurve,o=a?this.toNewName(e.interpolation):"".concat(this.toNewName(e.interpolation),"Closed");return t?b.lineRadial().defined(g).curve(b[o]).angle(O(n)).radius(x(n)):b.line().defined(g).curve(b[o]).x(v(n)).y(x(n))}},{key:"toNewName",value:function(e){return"curve".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.active,r=e.events,a=e.role,o=e.shapeRendering,i=e.className,u=e.polar,c=e.origin,l=e.pathComponent,s=e.clipPath,p=m.m.evaluateStyle(f()({fill:"none",stroke:"black"},this.props.style),t,n),h=this.getLineFunction(this.props),y=h(t),b=u&&c?"translate(".concat(c.x,", ").concat(c.y,")"):void 0,g=this.props.transform||b;return d.a.cloneElement(l,{className:i,style:p,role:a,shapeRendering:o,transform:g,events:r,d:y,clipPath:s})}}]),t}(d.a.Component);Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.h.primitiveProps,{interpolation:y.a.string,openCurve:y.a.bool,origin:y.a.object,pathComponent:y.a.element,polar:y.a.bool})}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:d.a.createElement(m.r,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(32),f=n.n(s),p=n(9),d=n.n(p),h=n(0),y=n.n(h),b=n(2),m=n.n(b),g=n(1),v=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.clipId=d()(e)&&void 0!==e.clipId?e.clipId:f()("voronoi-clip-"),n}return l(t,e),i(t,[{key:"getVoronoiPath",value:function(e){var t=e.polygon;return Array.isArray(t)&&t.length?"M ".concat(e.polygon.join("L")," Z"):""}},{key:"render",value:function(){var e=this.props,t=e.datum,n=e.active,r=e.role,a=e.shapeRendering,o=e.className,i=e.events,u=e.x,c=e.y,l=e.transform,s=e.pathComponent,f=e.clipPathComponent,p=e.groupComponent,d=e.circleComponent,h=e.id,b=this.getVoronoiPath(this.props),m=g.m.evaluateStyle(this.props.style,t,n),v=g.m.evaluateProp(this.props.size,t,n);if(v){var x=y.a.cloneElement(d,{key:"".concat(h,"-circle-clip"),style:m,className:o,role:r,shapeRendering:a,events:i,clipPath:"url(#".concat(this.clipId,")"),cx:u,cy:c,r:v}),O=y.a.cloneElement(f,{key:"".concat(h,"-voronoi-clip"),clipId:this.clipId},y.a.cloneElement(s,{d:b,className:o}));return y.a.cloneElement(p,{},[O,x])}return y.a.cloneElement(s,{style:m,className:o,d:b,role:r,shapeRendering:a,events:i,transform:l})}}]),t}(y.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.primitiveProps,{circleComponent:m.a.element,clipId:m.a.oneOfType([m.a.number,m.a.string]),clipPathComponent:m.a.element,datum:m.a.object,groupComponent:m.a.element,pathComponent:m.a.element,polygon:m.a.array,size:m.a.number,x:m.a.number,y:m.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:y.a.createElement(g.r,null),circleComponent:y.a.createElement(g.e,null),clipPathComponent:y.a.createElement(g.f,null),groupComponent:y.a.createElement("g",null)}})},function(e,t,n){"use strict";var r=n(466);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return s.b[e.index]={site:e,halfedges:[]}}function a(e,t){var n=e.site,r=t.left,a=t.right;return n===a&&(a=r,r=n),a?Math.atan2(a[1]-r[1],a[0]-r[0]):(n===r?(r=t[1],a=t[0]):(r=t[0],a=t[1]),Math.atan2(r[0]-a[0],a[1]-r[1]))}function o(e,t){return t[+(t.left!==e.site)]}function i(e,t){return t[+(t.left===e.site)]}function u(){for(var e,t,n,r,o=0,i=s.b.length;o<i;++o)if((e=s.b[o])&&(r=(t=e.halfedges).length)){var u=new Array(r),c=new Array(r);for(n=0;n<r;++n)u[n]=n,c[n]=a(e,s.e[t[n]]);for(u.sort(function(e,t){return c[t]-c[e]}),n=0;n<r;++n)c[n]=t[u[n]];for(n=0;n<r;++n)t[n]=c[n]}}function c(e,t,n,r){var a,u,c,f,p,d,h,y,b,m,g,v,x=s.b.length,O=!0;for(a=0;a<x;++a)if(u=s.b[a]){for(c=u.site,p=u.halfedges,f=p.length;f--;)s.e[p[f]]||p.splice(f,1);for(f=0,d=p.length;f<d;)m=i(u,s.e[p[f]]),g=m[0],v=m[1],h=o(u,s.e[p[++f%d]]),y=h[0],b=h[1],(Math.abs(g-y)>s.f||Math.abs(v-b)>s.f)&&(p.splice(f,0,s.e.push(Object(l.b)(c,m,Math.abs(g-e)<s.f&&r-v>s.f?[e,Math.abs(y-e)<s.f?b:r]:Math.abs(v-r)<s.f&&n-g>s.f?[Math.abs(b-r)<s.f?y:n,r]:Math.abs(g-n)<s.f&&v-t>s.f?[n,Math.abs(y-n)<s.f?b:t]:Math.abs(v-t)<s.f&&g-e>s.f?[Math.abs(b-t)<s.f?y:e,t]:null))-1),++d);d&&(O=!1)}if(O){var w,_,j,P=1/0;for(a=0,O=null;a<x;++a)(u=s.b[a])&&(c=u.site,w=c[0]-e,_=c[1]-t,(j=w*w+_*_)<P&&(P=j,O=u));if(O){var C=[e,t],M=[e,r],A=[n,r],k=[n,t];O.halfedges.push(s.e.push(Object(l.b)(c=O.site,C,M))-1,s.e.push(Object(l.b)(c,M,A))-1,s.e.push(Object(l.b)(c,A,k))-1,s.e.push(Object(l.b)(c,k,C))-1)}}for(a=0;a<x;++a)(u=s.b[a])&&(u.halfedges.length||delete s.b[a])}t.c=r,t.a=o,t.d=u,t.b=c;var l=n(104),s=n(44)},function(e,t,n){"use strict";function r(){Object(u.a)(this),this.x=this.y=this.arc=this.site=this.cy=null}function a(e){var t=e.P,n=e.N;if(t&&n){var a=t.site,o=e.site,u=n.site;if(a!==u){var s=o[0],f=o[1],p=a[0]-s,d=a[1]-f,h=u[0]-s,y=u[1]-f,b=2*(p*y-d*h);if(!(b>=-c.g)){var m=p*p+d*d,g=h*h+y*y,v=(y*m-d*g)/b,x=(p*g-h*m)/b,O=l.pop()||new r;O.arc=e,O.site=o,O.x=v+s,O.y=(O.cy=x+f)+Math.sqrt(v*v+x*x),e.circle=O;for(var w=null,_=c.c._;_;)if(O.y<_.y||O.y===_.y&&O.x<=_.x){if(!_.L){w=_.P;break}_=_.L}else{if(!_.R){w=_;break}_=_.R}c.c.insert(w,O),w||(i=O)}}}}function o(e){var t=e.circle;t&&(t.P||(i=t.N),c.c.remove(t),l.push(t),Object(u.a)(t),e.circle=null)}n.d(t,"c",function(){return i}),t.a=a,t.b=o;var i,u=n(103),c=n(44),l=[]},function(e,t,n){"use strict";var r=n(472);n.d(t,"c",function(){return r.a}),n.d(t,"b",function(){return r.b});var a=n(199);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var l=n(200),s=n.n(l),f=n(4),p=n.n(f),d=n(5),h=n.n(d),y=n(45),b=n.n(y),m=n(3),g=n.n(m),v=n(1),x=n(11),O=n.n(x),w={withinBounds:function(e,t,n){var r=s()(t,Number),a=r.x1,o=r.x2,i=r.y1,u=r.y2,c=s()(e,Number),l=c.x,f=c.y;return n=n?n/2:0,l+n>=Math.min(a,o)&&l-n<=Math.max(a,o)&&f+n>=Math.min(i,u)&&f-n<=Math.max(i,u)},getDomainBox:function(e,t,n){var r=e.brushDimension;t=p()({},t,e.domain),n=p()({},n,t);var a=v.x.getDomainCoordinates(e,t),i=v.x.getDomainCoordinates(e,n);return{x1:"y"!==r?Math.min.apply(Math,o(i.x)):Math.min.apply(Math,o(a.x)),x2:"y"!==r?Math.max.apply(Math,o(i.x)):Math.max.apply(Math,o(a.x)),y1:"x"!==r?Math.min.apply(Math,o(i.y)):Math.min.apply(Math,o(a.y)),y2:"x"!==r?Math.max.apply(Math,o(i.y)):Math.max.apply(Math,o(a.y))}},getHandles:function(e,t){var n=t.x1,r=t.x2,a=t.y1,o=t.y2,i=Math.min(n,r),u=Math.max(n,r),c=Math.min(a,o),l=Math.max(a,o),s=e.handleWidth/2;return{left:{x1:i-s,x2:i+s,y1:a,y2:o},right:{x1:u-s,x2:u+s,y1:a,y2:o},top:{x1:n,x2:r,y1:c+s,y2:c-s},bottom:{x1:n,x2:r,y1:l+s,y2:l-s}}},getActiveHandles:function(e,t,n){var r=this,a=this.getHandles(t,n),o=["top","bottom","left","right"].reduce(function(t,n){return t=r.withinBounds(e,a[n])?t.concat(n):t},[]);return o.length&&o},getResizeMutation:function(e,t){var n=e.x1,r=e.y1,a=e.x2,o=e.y2,i={left:{x1:Math.max(n,a),x2:Math.min(n,a),y1:r,y2:o},right:{x1:Math.min(n,a),x2:Math.max(n,a),y1:r,y2:o},top:{y1:Math.max(r,o),y2:Math.min(r,o),x1:n,x2:a},bottom:{y1:Math.min(r,o),y2:Math.max(r,o),x1:n,x2:a}};return t.reduce(function(e,t){return g()(e,i[t])},{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(e,t,n){return"none"===e?this.getMinimumDomain():"disable"===e?n:t},getSelectionMutation:function(e,t,n){var r=e.x,a=e.y,o=t.x1,i=t.x2,u=t.y1,c=t.y2;return{x1:"y"!==n?r:o,y1:"x"!==n?a:u,x2:"y"!==n?r:i,y2:"x"!==n?a:c}},panBox:function(e,t){var n=e.brushDimension,r=e.domain,a=e.startX,o=e.startY,i=p()({},e.brushDomain,r),u=p()({},e.fullDomain,r),c=e.x1?e:this.getDomainBox(e,u,i),l=c.x1,s=c.x2,f=c.y1,d=c.y2,h=t.x,y=t.y,b={x:a?a-h:0,y:o?o-y:0};return{x1:"y"!==n?Math.min(l,s)-b.x:Math.min(l,s),x2:"y"!==n?Math.max(l,s)-b.x:Math.max(l,s),y1:"x"!==n?Math.min(f,d)-b.y:Math.min(f,d),y2:"x"!==n?Math.max(f,d)-b.y:Math.max(f,d)}},constrainBox:function(e,t){var n=s()(t,Number),r=n.x1,a=n.y1,o=n.x2,i=n.y2;return{x1:e.x2>o?o-Math.abs(e.x2-e.x1):Math.max(e.x1,r),y1:e.y2>i?i-Math.abs(e.y2-e.y1):Math.max(e.y1,a),x2:e.x1<r?r+Math.abs(e.x2-e.x1):Math.min(e.x2,o),y2:e.y1<a?a+Math.abs(e.y2-e.y1):Math.min(e.y2,i)}},onMouseDown:function(e,t){var n=this;e.preventDefault();var a=t.brushDimension,o=t.handleWidth,i=t.cachedBrushDomain,u=t.domain,c=t.allowResize,l=t.allowDrag,s=t.allowDraw;if(!c&&!l)return{};var f=t.fullDomainBox||this.getDomainBox(t,u),d=t.parentSVG||v.x.getParentSVG(e),h=v.x.getSVGEventCoordinates(e,d),y=h.x,b=h.y;if(!this.withinBounds({x:y,y:b},f,o))return{};var m=p()({},t.brushDomain,u),g=O()(m,i)?t.currentDomain||m||u:m||u,x=this.getDomainBox(t,u,g),w=c&&this.getActiveHandles({x:y,y:b},t,x);return w?[{target:"parent",mutation:function(){return r({isSelecting:!0,domainBox:x,fullDomainBox:f,cachedBrushDomain:m,currentDomain:g,parentSVG:d},n.getResizeMutation(x,w))}}]:this.withinBounds({x:y,y:b},x)&&!O()(u,g)?[{target:"parent",mutation:function(){return r({isPanning:l,startX:y,startY:b,domainBox:x,fullDomainBox:f,currentDomain:g,cachedBrushDomain:m,parentSVG:d},x)}}]:s?[{target:"parent",mutation:function(){return r({isSelecting:c,domainBox:x,fullDomainBox:f,parentSVG:d,cachedBrushDomain:m,cachedCurrentDomain:g,currentDomain:n.getMinimumDomain()},n.getSelectionMutation({x:y,y:b},x,a))}}]:{}},onMouseMove:function(e,t){if(!t.isPanning&&!t.isSelecting)return{};var n=t.brushDimension,a=t.scale,o=t.isPanning,i=t.isSelecting,u=t.fullDomainBox,c=t.onBrushDomainChange,l=t.allowResize,s=t.allowDrag,f=t.parentSVG||v.x.getParentSVG(e),d=v.x.getSVGEventCoordinates(e,f),y=d.x,b=d.y;if(!l&&!s||!this.withinBounds({x:y,y:b},u))return{};if(s&&o){var m=t.startX,g=t.startY,x=this.panBox(t,{x:y,y:b}),O=this.constrainBox(x,u),w=v.x.getBounds(r({},O,{scale:a})),_=r({currentDomain:w,parentSVG:f,startX:x.x2>=u.x2||x.x1<=u.x1?m:y,startY:x.y2>=u.y2||x.y1<=u.y1?g:b},O);return h()(c)&&c(w,p()({},_,t)),[{target:"parent",mutation:function(){return _}}]}if(l&&i){var j="y"!==n?y:t.x2,P="x"!==n?b:t.y2,C=v.x.getBounds({x2:j,y2:P,x1:t.x1,y1:t.y1,scale:a}),M={x2:j,y2:P,currentDomain:C,parentSVG:f};return h()(c)&&c(C,p()({},M,t)),[{target:"parent",mutation:function(){return M}}]}return{}},onMouseUp:function(e,t){var n=t.x1,r=t.y1,a=t.x2,o=t.y2,i=t.isPanning,u=t.isSelecting,c=t.onBrushDomainChange,l=t.onBrushDomainChangeEnd,s=t.onBrushCleared,f=t.domain,d=t.allowResize,y=t.allowDrag,b=t.defaultBrushArea,m=void 0!==b&&"none"!==b,g=t.cachedCurrentDomain||t.currentDomain,v=this.getDefaultBrushArea(b,f,g),x={isPanning:!1,isSelecting:!1};return!d&&!m||n!==a&&r!==o?(y&&i||d&&u)&&h()(l)&&l(v,p()({},x,t)):(x.currentDomain=v,h()(c)&&c(v,p()({},x,t)),h()(l)&&l(v,p()({},x,t)),h()(s)&&s(v,p()({},x,t))),[{target:"parent",mutation:function(){return x}}]},onMouseLeave:function(e){return"svg"===e.target.nodeName?[{target:"parent",mutation:function(){return{isPanning:!1,isSelecting:!1}}}]:[]}};t.a=r({},w,{onMouseDown:w.onMouseDown.bind(w),onMouseUp:w.onMouseUp.bind(w),onMouseLeave:w.onMouseLeave.bind(w),onMouseMove:b()(w.onMouseMove.bind(w),16,{leading:!0,trailing:!1})})},function(e,t,n){function r(e,t){var n={};return t=i(t,3),o(e,function(e,r,o){a(n,r,t(e,r,o))}),n}var a=n(52),o=n(98),i=n(17);e.exports=r},function(e,t,n){"use strict";var r=n(475);n.d(t,"c",function(){return r.a}),n.d(t,"b",function(){return r.b});var a=n(202);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";var r=n(200),a=n.n(r),o=n(5),i=n.n(o),u=n(45),c=n.n(u),l=n(1),s={withinBounds:function(e,t){var n=a()(t,Number),r=n.x1,o=n.x2,i=n.y1,u=n.y2,c=a()(e,Number),l=c.x,s=c.y;return l>=Math.min(r,o)&&l<=Math.max(r,o)&&s>=Math.min(i,u)&&s<=Math.max(i,u)},onMouseMove:function(e,t){var n=t.onCursorChange,r=t.cursorDimension,a=t.domain,o=t.parentSVG||l.x.getParentSVG(e),u=l.x.getSVGEventCoordinates(e,o),c=l.x.getDataCoordinates(t,t.scale,u.x,u.y),s=this.withinBounds(c,{x1:a.x[0],x2:a.x[1],y1:a.y[0],y2:a.y[1]});if(s||(c=null),i()(n))if(s){var f=r?c[r]:c;n(f,t)}else c!==t.cursorValue&&n(t.defaultCursorValue||null,t);return[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:c,parentSVG:o}}}]},onTouchEnd:function(e,t){var n=t.onCursorChange;return i()(t.onCursorChange)&&n(null,t),[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:null}}}]}};t.a={onMouseMove:c()(s.onMouseMove.bind(s),32,{leading:!0,trailing:!1}),onTouchEnd:s.onTouchEnd.bind(s)}},function(e,t,n){"use strict";var r=n(476);n.d(t,"c",function(){return r.b}),n.d(t,"b",function(){return r.a});var a=n(204);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var c=n(16),l=n.n(c),s=n(5),f=n.n(s),p=n(45),d=n.n(p),h=n(4),y=n.n(h),b=n(3),m=n.n(b),g=n(1),v=n(0),x=n.n(v),O={getDatasets:function(e){if(e.data)return[{data:e.data}];var t=function(e){var t=g.i.getData(e);return Array.isArray(t)&&t.length>0?t:void 0},n=function(n,r,a){var o=e.selectionBlacklist||[];if(!g.i.isDataComponent(n)||l()(o,r))return null;if(n.type&&f()(n.type.getData)){n=a?x.a.cloneElement(n,a.props):n;var i=n.props&&n.type.getData(n.props);return i?{childName:r,data:i}:null}var u=t(n.props);return u?{childName:r,data:u}:null};return g.m.reduceChildren(x.a.Children.toArray(e.children),n,e)},filterDatasets:function(e,t,n){var r=this,a=t.reduce(function(t,a){var o=r.getSelectedData(e,a.data,n);return t=o?t.concat({childName:a.childName,eventKey:o.eventKey,data:o.data}):t},[]);return a.length?a:null},getPoint:function(e,t){return e.horizontal?{_x:t._y,_y:t._x,_x1:t._y1,_y1:t._x1,_x0:t._y0,_y0:t._x0}:t},getSelectedData:function(e,t){for(var n=this,r=e.x1,a=e.y1,o=e.x2,i=e.y2,u=[],c=[],l=0,s=0,f=t.length;s<f;s++){var p=t[s];(function(t){var u=n.getPoint(e,t),c=g.m.scalePoint(e,u);return c.x>=Math.min(r,o)&&c.x<=Math.max(r,o)&&c.y>=Math.min(a,i)&&c.y<=Math.max(a,i)})(p)&&(c[l]=p,u[l]=void 0===p.eventKey?s:p.eventKey,l++)}return l>0?{eventKey:u,data:c}:null},onMouseDown:function(e,t){e.preventDefault();var n=t.activateSelectedData,r=t.allowSelection,o=t.polar,i=t.selectedData;if(!r)return{};var u=t.selectionDimension,c=t.parentSVG||g.x.getParentSVG(e),l=g.x.getSVGEventCoordinates(e,c),s=l.x,p=l.y,d=o||"y"!==u?s:g.x.getDomainCoordinates(t).x[0],h=o||"x"!==u?p:g.x.getDomainCoordinates(t).y[0],b=o||"y"!==u?s:g.x.getDomainCoordinates(t).x[1],m=o||"x"!==u?p:g.x.getDomainCoordinates(t).y[1],v={x1:d,y1:h,select:!0,x2:b,y2:m,parentSVG:c};i&&f()(t.onSelectionCleared)&&t.onSelectionCleared(y()({},v,t));var x=[{target:"parent",mutation:function(){return v}}],O=i&&n?i.map(function(e){return{childName:e.childName,eventKey:e.eventKey,target:"data",mutation:function(){return null}}}):[];return x.concat.apply(x,a(O))},onMouseMove:function(e,t){var n=t.allowSelection,r=t.select,a=t.polar,o=t.selectionDimension;if(n&&r){var i=t.parentSVG||g.x.getParentSVG(e),u=g.x.getSVGEventCoordinates(e,i),c=u.x,l=u.y,s=a||"y"!==o?c:g.x.getDomainCoordinates(t).x[1],f=a||"x"!==o?l:g.x.getDomainCoordinates(t).y[1];return{target:"parent",mutation:function(){return{x2:s,y2:f,parentSVG:i}}}}return null},onMouseUp:function(e,t){var n=t.activateSelectedData,r=t.allowSelection,a=t.x2,o=t.y2;if(!r)return null;if(!a||!o)return[{target:"parent",mutation:function(){return{select:!1,x1:null,x2:null,y1:null,y2:null}}}];var i=this.getDatasets(t),u=g.x.getBounds(t),c=this.filterDatasets(t,i,u),l={selectedData:c,datasets:i,select:!1,x1:null,x2:null,y1:null,y2:null},s=c&&f()(t.onSelection)?t.onSelection(c,u,y()({},l,t)):{},p=[{target:"parent",mutation:function(){return l}}],d=c&&n?c.map(function(e){return{childName:e.childName,eventKey:e.eventKey,target:"data",mutation:function(){return m()({active:!0},s)}}}):[];return p.concat(d)}};t.a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},O,{onMouseDown:O.onMouseDown.bind(O),onMouseUp:O.onMouseUp.bind(O),onMouseMove:d()(O.onMouseMove.bind(O),16,{leading:!0,trailing:!1})})},function(e,t,n){"use strict";var r=n(477);n.d(t,"c",function(){return r.b}),n.d(t,"a",function(){return r.a});var a=n(208);n.d(t,"b",function(){return a.a})},function(e,t,n){"use strict";var r=n(478);n.d(t,"b",function(){return r.a});var a=n(207);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return y});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(1),y=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getVerticalPath",value:function(e){var t=e.pointerLength,n=e.pointerWidth,r=e.cornerRadius,a=e.orientation,o=e.width,i=e.height,u="top"===a?1:-1,c=e.x+(e.dx||0),l=e.y-u*(e.dy||0),s=l-u*t,f=l-u*t-u*i,p=c+o/2,d=c-o/2,h="top"===a?"0 0 0":"0 0 1",y="".concat(r," ").concat(r," ").concat(h);return"M ".concat(c-n/2,", ").concat(s,"\n L ").concat(c,", ").concat(l,"\n L ").concat(c+n/2,", ").concat(s,"\n L ").concat(p-r,", ").concat(s,"\n A ").concat(y," ").concat(p,", ").concat(s-u*r,"\n L ").concat(p,", ").concat(f+u*r,"\n A ").concat(y," ").concat(p-r,", ").concat(f,"\n L ").concat(d+r,", ").concat(f,"\n A ").concat(y," ").concat(d,", ").concat(f+u*r,"\n L ").concat(d,", ").concat(s-u*r,"\n A ").concat(y," ").concat(d+r,", ").concat(s,"\n z")}},{key:"getHorizontalPath",value:function(e){var t=e.pointerLength,n=e.pointerWidth,r=e.cornerRadius,a=e.orientation,o=e.width,i=e.height,u="right"===a?1:-1,c=e.x+u*(e.dx||0),l=e.y-(e.dy||0),s=c+u*t,f=c+u*t+u*o,p=l+i/2,d=l-i/2,h="right"===a?"0 0 0":"0 0 1",y="".concat(r," ").concat(r," ").concat(h);return"M ".concat(s,", ").concat(l-n/2,"\n L ").concat(c,", ").concat(l,"\n L ").concat(s,", ").concat(l+n/2,"\n L ").concat(s,", ").concat(p-r,"\n A ").concat(y," ").concat(s+u*r,", ").concat(p,"\n L ").concat(f-u*r,", ").concat(p,"\n A ").concat(y," ").concat(f,", ").concat(p-r,"\n L ").concat(f,", ").concat(d+r,"\n A ").concat(y," ").concat(f-u*r,", ").concat(d,"\n L ").concat(s+u*r,", ").concat(d,"\n A ").concat(y," ").concat(s,", ").concat(d+r,"\n z")}},{key:"getFlyoutPath",value:function(e){var t=e.orientation||"top";return"left"===t||"right"===t?this.getHorizontalPath(e):this.getVerticalPath(e)}},{key:"render",value:function(){var e=this.props,t=e.datum,n=e.active,r=e.role,a=e.shapeRendering,o=e.className,i=e.events,u=e.pathComponent,c=e.transform,l=e.clipPath,s=h.m.evaluateStyle(this.props.style,t,n),p=this.getFlyoutPath(this.props);return f.a.cloneElement(u,{style:s,className:o,shapeRendering:a,role:r,events:i,transform:c,d:p,clipPath:l})}}]),t}(f.a.Component);Object.defineProperty(y,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.primitiveProps,{cornerRadius:d.a.number,datum:d.a.object,dx:d.a.number,dy:d.a.number,height:d.a.number,orientation:d.a.oneOf(["top","bottom","left","right"]),pathComponent:d.a.element,pointerLength:d.a.number,pointerWidth:d.a.number,width:d.a.number,x:d.a.number,y:d.a.number})}),Object.defineProperty(y,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:f.a.createElement(h.r,null)}})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var u=n(16),c=n.n(u),l=n(10),s=n.n(l),f=n(38),p=n.n(f),d=n(19),h=n.n(d),y=n(5),b=n.n(y),m=n(45),g=n.n(m),v=n(3),x=n.n(v),O=n(1),w=n(11),_=n.n(w),j=n(195),P=n(0),C=n.n(P),M={withinBounds:function(e,t){var n=e.width,a=e.height,o=e.voronoiPadding,i=e.polar,u=e.origin,c=e.scale,l=o||0,s=t.x,f=t.y;if(i){var p=Math.pow(s-u.x,2)+Math.pow(f-u.y,2),d=Math.max.apply(Math,r(c.y.range()));return p<Math.pow(d,2)}return s>=l&&s<=n-l&&f>=l&&f<=a-l},getDatasets:function(e){var t=C.a.Children.toArray(e.children),n=function(t,n,r){var a=r&&r.type&&r.type.continuous,o=r?r.props&&r.props.style:e.style;return t.map(function(t,r){var i=O.m.getPoint(t),u=i.x,c=i.y,l=i.y0,s=i.x0,f=e.horizontal?(+c+ +l)/2:(+u+ +s)/2,p=e.horizontal?(+u+ +s)/2:(+c+ +l)/2;return x()({_voronoiX:"y"===e.voronoiDimension?0:f,_voronoiY:"x"===e.voronoiDimension?0:p,eventKey:r,childName:n,continuous:a,style:o},t)})};if(e.data)return n(e.data);var r=function(e){var t=O.i.getData(e);return Array.isArray(t)&&t.length>0?t:void 0},a=function(t,a){var o=t.props||{},i=o.name||a,u=e.voronoiBlacklist||[];if(!O.i.isDataComponent(t)||c()(u,i))return null;var l=t.type&&b()(t.type.getData)?t.type.getData:r,s=l(t.props);return s?n(s,i,t):null};return O.m.reduceChildren(t,a,e)},mergeDatasets:function(e,t){var n=p()(t,function(t){var n=O.m.scalePoint(e,t),r=n.x,a=n.y;return"".concat(r,",").concat(a)});return s()(n).map(function(e){var t=e.split(",");return{x:+t[0],y:+t[1],points:n[e]}})},getVoronoi:function(e,t){var n=e.width,r=e.height,a=e.voronoiPadding,o=a||0,i=Object(j.a)().x(function(e){return e.x}).y(function(e){return e.y}).extent([[o,o],[n-o,r-o]]),u=this.getDatasets(e),c=i(this.mergeDatasets(e,u)),l=e.voronoiDimension?void 0:e.radius;return c.find(t.x,t.y,l)},getActiveMutations:function(e,t){var n=t.childName,r=t.continuous,a=e.activateData,o=e.activateLabels,i=e.labels;if(!a&&!o)return[];var u=a?["data"]:[],c=i&&!o?u:u.concat("labels");return h()(c)?[]:c.map(function(e){var a=!0===r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:a,target:e,mutation:function(){return{active:!0}}}})},getInactiveMutations:function(e,t){var n=t.childName,r=t.continuous,a=e.activateData,o=e.activateLabels,i=e.labels;if(!a&&!o)return[];var u=a?["data"]:[],c=i&&!o?u:u.concat("labels");return h()(c)?[]:c.map(function(e){var a=r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:a,target:e,mutation:function(){return null}}})},getParentMutation:function(e,t,n){return[{target:"parent",eventKey:"parent",mutation:function(){return{activePoints:e,mousePosition:t,parentSVG:n}}}]},onActivated:function(e,t){b()(e.onActivated)&&e.onActivated(t,e)},onDeactivated:function(e,t){b()(e.onDeactivated)&&e.onDeactivated(t,e)},onMouseLeave:function(e,t){var n,a=this,o=t.activePoints||[];this.onDeactivated(t,o);var i=o.length?o.map(function(e){return a.getInactiveMutations(t,e)}):[];return(n=this.getParentMutation([])).concat.apply(n,r(i))},onMouseMove:function(e,t){var n=this,a=t.activePoints||[],o=t.parentSVG||O.x.getParentSVG(e),i=O.x.getSVGEventCoordinates(e,o);if(!this.withinBounds(t,i)){var u;this.onDeactivated(t,a);var c=a.length?a.map(function(e){return n.getInactiveMutations(t,e)}):[];return(u=this.getParentMutation([],i,o)).concat.apply(u,r(c))}var l=this.getVoronoi(t,i),s=l?l.data.points:[],f=this.getParentMutation(s,i,o);if(a.length&&_()(s,a))return f;this.onActivated(t,s),this.onDeactivated(t,a);var p=s.length?s.map(function(e){return n.getActiveMutations(t,e)}):[],d=a.length?a.map(function(e){return n.getInactiveMutations(t,e)}):[];return f.concat.apply(f,r(d).concat(r(p)))}};t.a={onMouseLeave:M.onMouseLeave.bind(M),onMouseMove:g()(M.onMouseMove.bind(M),32,{leading:!0,trailing:!1})}},function(e,t,n){"use strict";var r=n(479);n.d(t,"d",function(){return r.b}),n.d(t,"b",function(){return r.a});var a=n(210);n.d(t,"c",function(){return a.b}),n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return u(e)||i(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}function u(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return b});var c=n(4),l=n.n(c),s=n(5),f=n.n(s),p=n(45),d=n.n(p),h=n(0),y=(n.n(h),n(1)),b={checkDomainEquality:function(e,t){var n=function(n){var r=e&&e[n],a=t&&t[n];return!r&&!a||!(!r||!a)&&(+r[0]==+a[0]&&+r[1]==+a[1])};return n("x")&&n("y")},scale:function(e,t,n,r){var o=a(e,2),i=o[0],u=o[1],c=Math.abs(u-i),l=n.minimumZoom&&n.minimumZoom[r],s=this.getScaleFactor(t);if(l&&c<=l&&s<1)return e;var f=a(this.getDomain(n)[r],2),p=f[0],d=f[1],h=this.getScalePercent(t,n,r),b=s*i+h*(s*c),m=this.getMinimumDomain(b,n,r),g=this.getScaledDomain(e,s,h),v=a(g,2),x=v[0],O=v[1],w=[x>p&&x<d?x:p,O<d&&O>p?O:d],_=Math.abs(m[1]-m[0])>Math.abs(w[1]-w[0])?m:w;return y.g.containsDates([p,d])?[new Date(_[0]),new Date(_[1])]:_},getScaledDomain:function(e,t,n){var r=a(e,2),o=r[0],i=r[1],u=Math.abs(i-o),c=u-u*t,l=+o+c*n,s=+i-c*(1-n);return[Math.min(l,s),Math.max(l,s)]},getMinimumDomain:function(e,t,n){var r=t.minimumZoom,o=this.getDomain(t)[n],i=a(o,2),u=i[0],c=i[1],l=Math.abs(u-c)/1e3,s=r?r[n]||l:l,f=e-s/2,p=e+s/2;return[f>u&&f<c?f:u,p<c&&p>u?p:+u+s/2]},zoommingOut:function(e){return e.deltaY>0},getScaleFactor:function(e){var t=this.zoommingOut(e)?1:-1,n=Math.min(Math.abs(e.deltaY/300),.5);return Math.abs(1+t*n)},getScalePercent:function(e,t,n){var r=this.getDomain(t),o=a(r[n],2),i=o[0],u=o[1];return(this.getPosition(e,t,r)[n]-i)/Math.abs(u-i)},getPosition:function(e,t,n){var r=y.x.getSVGEventCoordinates(e),a=r.x,o=r.y,i={x:t.scale.x.domain(n.x),y:t.scale.y.domain(n.y)};return y.x.getDataCoordinates(t,i,a,o)},pan:function(e,t,n){var r,o=e.map(function(e){return+e}),i=a(o,2),u=i[0],c=i[1],l=t.map(function(e){return+e}),s=a(l,2),f=s[0],p=s[1],d=u+n,h=c+n;if(d>f&&h<p)r=[d,h];else if(d<f){var b=c-u;r=[f,f+b]}else if(h>p){var m=c-u;r=[p-m,p]}else r=e;return y.g.containsDates(e)||y.g.containsDates(t)?r.map(function(e){return new Date(e)}):r},getDomainScale:function(e,t,n){var r=Array.isArray(e)?e:e[n],o=a(r,2),i=o[0],u=o[1],c=t[n].range();return Math.abs(c[0]-c[1])/(u-i)},handleAnimation:function(e){var t=f()(e.getTimer)&&e.getTimer.bind(e);if(t&&f()(t().bypassAnimation))return t().bypassAnimation(),f()(t().resumeAnimation)?function(){return t().resumeAnimation()}:void 0},getLastDomain:function(e,t){var n=e.zoomDomain,r=e.cachedZoomDomain,a=e.currentDomain,o=e.domain;return n&&!this.checkDomainEquality(n,r)?l()({},n,o):l()({},a||n||t,o)},getDomain:function(e){var t=e.originalDomain,n=e.domain,a=e.children,o=e.zoomDimension,i=e.horizontal,u="x",c="y",s=o;i&&(u="y",c="x",o&&(s={x:u,y:c}[o]));var f=h.Children.toArray(a),p={};return f.length&&(p=o?r({},o,y.M.getDomainFromChildren(e,s,f)):{x:y.M.getDomainFromChildren(e,u,f),y:y.M.getDomainFromChildren(e,c,f)}),l()({},p,t,n)},onMouseDown:function(e,t){if(e.preventDefault(),t.allowPan){var n=t.parentSVG||y.x.getParentSVG(e),r=y.x.getSVGEventCoordinates(e,n),a=r.x,o=r.y;return[{target:"parent",mutation:function(){return{startX:a,startY:o,panning:!0,parentSVG:n,parentControlledProps:["domain"]}}}]}},onMouseUp:function(e,t){if(t.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseLeave:function(e,t){if(t.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseMove:function(e,t,n,r){if(t.panning&&t.allowPan){var a=t.scale,o=t.startX,i=t.startY,u=t.onZoomDomainChange,c=t.zoomDimension,s=t.zoomDomain,p=t.parentSVG||y.x.getParentSVG(e),d=y.x.getSVGEventCoordinates(e,p),h=d.x,b=d.y,m=this.getDomain(t),g=this.getLastDomain(t,m),v=(o-h)/this.getDomainScale(g,a,"x"),x=(b-i)/this.getDomainScale(g,a,"y"),O={x:"y"===c?m.x:this.pan(g.x,m.x,v),y:"x"===c?m.y:this.pan(g.y,m.y,x)},w=this.handleAnimation(r),_=!this.checkDomainEquality(m,g),j={parentControlledProps:["domain"],startX:h,startY:b,parentSVG:p,domain:O,currentDomain:O,originalDomain:m,cachedZoomDomain:s,zoomActive:_};return f()(u)&&u(O,l()({},j,t)),[{target:"parent",callback:w,mutation:function(){return j}}]}},onWheel:function(e,t,n,r){if(t.allowZoom){var a=t.onZoomDomainChange,o=t.zoomDimension,i=t.zoomDomain,u=this.getDomain(t),c=this.getLastDomain(t,u),s=c.x,p=c.y,d={x:"y"===o?c.x:this.scale(s,e,t,"x"),y:"x"===o?c.y:this.scale(p,e,t,"y")},h=this.handleAnimation(r),y=!this.zoommingOut(e)||t.zoomActive&&!this.checkDomainEquality(u,c),b={domain:d,currentDomain:d,originalDomain:u,cachedZoomDomain:i,parentControlledProps:["domain"],panning:!1,zoomActive:y};return f()(a)&&a(d,l()({},b,t)),[{target:"parent",callback:h,mutation:function(){return b}}]}}};t.b={checkDomainEquality:b.checkDomainEquality.bind(b),onMouseDown:b.onMouseDown.bind(b),onMouseUp:b.onMouseUp.bind(b),onMouseLeave:b.onMouseLeave.bind(b),onMouseMove:d()(b.onMouseMove.bind(b),16,{leading:!0,trailing:!1}),onWheel:d()(b.onWheel.bind(b),16,{leading:!0,trailing:!1})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(396),o=n(406),i=n(409),u=n(412),c=n(440),l=n(443),s=n(448),f=n(451),p=n(454),d=n(457),h=n(460),y=n(463),b=n(470),m=n(198),g=n(201),v=n(203),x=n(205),O=n(209),w=n(480),_=n(206),j=n(495),P=n(60),C=n(171),M=n(172);n.d(t,"Area",function(){return c.a}),n.d(t,"Bar",function(){return l.a}),n.d(t,"Border",function(){return r.c}),n.d(t,"Box",function(){return r.d}),n.d(t,"Candle",function(){return s.a}),n.d(t,"ClipPath",function(){return r.f}),n.d(t,"Curve",function(){return p.a}),n.d(t,"ErrorBar",function(){return f.a}),n.d(t,"LineSegment",function(){return r.p}),n.d(t,"Point",function(){return r.s}),n.d(t,"Slice",function(){return u.a}),n.d(t,"Voronoi",function(){return y.b}),n.d(t,"Flyout",function(){return _.a}),n.d(t,"Whisker",function(){return r.L}),n.d(t,"Circle",function(){return r.e}),n.d(t,"Rect",function(){return r.v}),n.d(t,"Line",function(){return r.o}),n.d(t,"Path",function(){return r.r}),n.d(t,"TSpan",function(){return r.z}),n.d(t,"Text",function(){return r.A}),n.d(t,"VictoryAnimation",function(){return r.E}),n.d(t,"VictoryArea",function(){return c.b}),n.d(t,"VictoryAxis",function(){return C.a}),n.d(t,"VictoryPolarAxis",function(){return M.a}),n.d(t,"VictoryBar",function(){return l.b}),n.d(t,"VictoryBoxPlot",function(){return h.a}),n.d(t,"VictoryCandlestick",function(){return s.b}),n.d(t,"VictoryChart",function(){return a.a}),n.d(t,"VictoryErrorBar",function(){return f.b}),n.d(t,"VictoryGroup",function(){return o.a}),n.d(t,"VictoryLine",function(){return p.b}),n.d(t,"VictoryLabel",function(){return r.H}),n.d(t,"VictoryLegend",function(){return j.a}),n.d(t,"VictoryPie",function(){return u.b}),n.d(t,"VictoryScatter",function(){return d.a}),n.d(t,"VictoryStack",function(){return i.a}),n.d(t,"VictoryTheme",function(){return r.J}),n.d(t,"VictoryTransition",function(){return r.K}),n.d(t,"VictorySharedEvents",function(){return P.a}),n.d(t,"VictoryTooltip",function(){return _.b}),n.d(t,"VictoryVoronoi",function(){return y.a}),n.d(t,"VictoryPortal",function(){return r.I}),n.d(t,"Portal",function(){return r.t}),n.d(t,"VictoryContainer",function(){return r.G}),n.d(t,"VictoryClipContainer",function(){return r.F}),n.d(t,"VictoryZoomContainer",function(){return O.b}),n.d(t,"ZoomHelpers",function(){return O.c}),n.d(t,"zoomContainerMixin",function(){return O.d}),n.d(t,"RawZoomHelpers",function(){return O.a}),n.d(t,"VictorySelectionContainer",function(){return v.b}),n.d(t,"SelectionHelpers",function(){return v.a}),n.d(t,"selectionContainerMixin",function(){return v.c}),n.d(t,"VictoryBrushContainer",function(){return m.b}),n.d(t,"BrushHelpers",function(){return m.a}),n.d(t,"brushContainerMixin",function(){return m.c}),n.d(t,"VictoryCursorContainer",function(){return g.b}),n.d(t,"CursorHelpers",function(){return g.a}),n.d(t,"cursorContainerMixin",function(){return g.c}),n.d(t,"VictoryVoronoiContainer",function(){return x.a}),n.d(t,"VoronoiHelpers",function(){return x.b}),n.d(t,"voronoiContainerMixin",function(){return x.c}),n.d(t,"combineContainerMixins",function(){return w.a}),n.d(t,"makeCreateContainerFunction",function(){return w.c}),n.d(t,"createContainer",function(){return w.b}),n.d(t,"VictoryBrushLine",function(){return b.a}),n.d(t,"addEvents",function(){return r.N}),n.d(t,"Collection",function(){return r.g}),n.d(t,"Data",function(){return r.i}),n.d(t,"DefaultTransitions",function(){return r.j}),n.d(t,"Domain",function(){return r.k}),n.d(t,"Events",function(){return r.l}),n.d(t,"Helpers",function(){return r.m}),n.d(t,"Log",function(){return r.q}),n.d(t,"PropTypes",function(){return r.u}),n.d(t,"Scale",function(){return r.w}),n.d(t,"Style",function(){return r.y}),n.d(t,"TextSize",function(){return r.B}),n.d(t,"Transitions",function(){return r.D}),n.d(t,"Selection",function(){return r.x}),n.d(t,"LabelHelpers",function(){return r.n}),n.d(t,"Axis",function(){return r.b}),n.d(t,"Wrapper",function(){return r.M})},function(e,t,n){"use strict";function r(){}var a=n(213);e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(215);n.d(t,"easeLinear",function(){return r.a});var a=n(216);n.d(t,"easeQuad",function(){return a.b}),n.d(t,"easeQuadIn",function(){return a.a}),n.d(t,"easeQuadOut",function(){return a.c}),n.d(t,"easeQuadInOut",function(){return a.b});var o=n(217);n.d(t,"easeCubic",function(){return o.b}),n.d(t,"easeCubicIn",function(){return o.a}),n.d(t,"easeCubicOut",function(){return o.c}),n.d(t,"easeCubicInOut",function(){return o.b});var i=n(218);n.d(t,"easePoly",function(){return i.b}),n.d(t,"easePolyIn",function(){return i.a}),n.d(t,"easePolyOut",function(){return i.c}),n.d(t,"easePolyInOut",function(){return i.b});var u=n(219);n.d(t,"easeSin",function(){return u.b}),n.d(t,"easeSinIn",function(){return u.a}),n.d(t,"easeSinOut",function(){return u.c}),n.d(t,"easeSinInOut",function(){return u.b});var c=n(220);n.d(t,"easeExp",function(){return c.b}),n.d(t,"easeExpIn",function(){return c.a}),n.d(t,"easeExpOut",function(){return c.c}),n.d(t,"easeExpInOut",function(){return c.b});var l=n(221);n.d(t,"easeCircle",function(){return l.b}),n.d(t,"easeCircleIn",function(){return l.a}),n.d(t,"easeCircleOut",function(){return l.c}),n.d(t,"easeCircleInOut",function(){return l.b});var s=n(222);n.d(t,"easeBounce",function(){return s.c}),n.d(t,"easeBounceIn",function(){return s.a}),n.d(t,"easeBounceOut",function(){return s.c}),n.d(t,"easeBounceInOut",function(){return s.b});var f=n(223);n.d(t,"easeBack",function(){return f.b}),n.d(t,"easeBackIn",function(){return f.a}),n.d(t,"easeBackOut",function(){return f.c}),n.d(t,"easeBackInOut",function(){return f.b});var p=n(224);n.d(t,"easeElastic",function(){return p.c}),n.d(t,"easeElasticIn",function(){return p.a}),n.d(t,"easeElasticOut",function(){return p.c}),n.d(t,"easeElasticInOut",function(){return p.b})},function(e,t,n){"use strict";function r(e){return+e}t.a=r},function(e,t,n){"use strict";function r(e){return e*e}function a(e){return e*(2-e)}function o(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";function r(e){return e*e*e}function a(e){return--e*e*e+1}function o(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o});var r=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),a=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),o=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3)},function(e,t,n){"use strict";function r(e){return 1-Math.cos(e*u)}function a(e){return Math.sin(e*u)}function o(e){return(1-Math.cos(i*e))/2}t.a=r,t.c=a,t.b=o;var i=Math.PI,u=i/2},function(e,t,n){"use strict";function r(e){return Math.pow(2,10*e-10)}function a(e){return 1-Math.pow(2,-10*e)}function o(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";function r(e){return 1-Math.sqrt(1-e*e)}function a(e){return Math.sqrt(1- --e*e)}function o(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";function r(e){return 1-a(1-e)}function a(e){return(e=+e)<i?y*e*e:e<c?y*(e-=u)*e+l:e<f?y*(e-=s)*e+p:y*(e-=d)*e+h}function o(e){return((e*=2)<=1?1-a(1-e):a(e-1)+1)/2}t.a=r,t.c=a,t.b=o;var i=4/11,u=6/11,c=8/11,l=.75,s=9/11,f=10/11,p=.9375,d=21/22,h=63/64,y=1/i/i},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o});var r=function e(t){function n(e){return e*e*((t+1)*e-t)}return t=+t,n.overshoot=e,n}(1.70158),a=function e(t){function n(e){return--e*e*((t+1)*e+t)+1}return t=+t,n.overshoot=e,n}(1.70158),o=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(1.70158)},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i});var r=2*Math.PI,a=function e(t,n){function a(e){return t*Math.pow(2,10*--e)*Math.sin((o-e)/n)}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=r);return a.amplitude=function(t){return e(t,n*r)},a.period=function(n){return e(t,n)},a}(1,.3),o=function e(t,n){function a(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+o)/n)}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=r);return a.amplitude=function(t){return e(t,n*r)},a.period=function(n){return e(t,n)},a}(1,.3),i=function e(t,n){function a(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((o-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((o+e)/n))/2}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=r);return a.amplitude=function(t){return e(t,n*r)},a.period=function(n){return e(t,n)},a}(1,.3)},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(29),a=n.n(r),o=n(23),i=n.n(o),u=n(24),c=function(e){if(null!==e)switch(typeof e){case"undefined":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return e instanceof Date||Array.isArray(e)||i()(e);case"function":return!0}return!1},l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},s=function(e,t){return function(n){return n>=1?t:function(){var r="function"==typeof e?e.apply(this,arguments):e,a="function"==typeof t?t.apply(this,arguments):t;return Object(u.a)(r,a)(n)}}},f=function(e,t){var n,r=function(e){return Array.isArray(e)?a()(e,"key"):e},o={},p={};null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={});for(n in t)n in e?o[n]=function(e,t){return e!==t&&c(e)&&c(t)?"function"==typeof e||"function"==typeof t?s(e,t):"object"==typeof e&&i()(e)||"object"==typeof t&&i()(t)?f(e,t):Object(u.a)(e,t):l(e,t)}(r(e[n]),r(t[n])):p[n]=t[n];return function(e){for(n in o)p[n]=o[n](e);return p}},p=function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return Object(u.a)(n(e),n(t))},d=function(e,t){return e!==t&&c(e)&&c(t)?"function"==typeof e||"function"==typeof t?s(e,t):i()(e)||i()(t)?f(e,t):"string"==typeof e||"string"==typeof t?p(e,t):Object(u.a)(e,t):l(e,t)}},function(e,t,n){function r(e,t,n){var r=-1;t=a(t.length?t:[s],c(o));var f=i(e,function(e,n,o){return{criteria:a(t,function(t){return t(e)}),index:++r,value:e}});return u(f,function(e,t){return l(e,t,n)})}var a=n(22),o=n(17),i=n(252),u=n(253),c=n(118),l=n(254),s=n(18);e.exports=r},function(e,t,n){function r(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}var a=n(228),o=n(240),i=n(111);e.exports=r},function(e,t,n){function r(e,t,n,r){var c=n.length,l=c,s=!r;if(null==e)return!l;for(e=Object(e);c--;){var f=n[c];if(s&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++c<l;){f=n[c];var p=f[0],d=e[p],h=f[1];if(s&&f[2]){if(void 0===d&&!(p in e))return!1}else{var y=new a;if(r)var b=r(d,h,p,e,t,y);if(!(void 0===b?o(h,d,i|u,r,y):b))return!1}}return!0}var a=n(106),o=n(107),i=1,u=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}var a=n(46),o=Array.prototype,i=o.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}var a=n(46);e.exports=r},function(e,t,n){function r(e){return a(this.__data__,e)>-1}var a=n(46);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var a=n(46);e.exports=r},function(e,t,n){function r(e,t,n,r,b,g){var v=l(e),x=l(t),O=v?h:c(e),w=x?h:c(t);O=O==d?y:O,w=w==d?y:w;var _=O==y,j=w==y,P=O==w;if(P&&s(e)){if(!s(t))return!1;v=!0,_=!1}if(P&&!_)return g||(g=new a),v||f(e)?o(e,t,n,r,b,g):i(e,t,O,n,r,b,g);if(!(n&p)){var C=_&&m.call(e,"__wrapped__"),M=j&&m.call(t,"__wrapped__");if(C||M){var A=C?e.value():e,k=M?t.value():t;return g||(g=new a),b(A,k,n,r,g)}}return!!P&&(g||(g=new a),u(e,t,n,r,b,g))}var a=n(106),o=n(235),i=n(237),u=n(238),c=n(68),l=n(8),s=n(108),f=n(109),p=1,d="[object Arguments]",h="[object Array]",y="[object Object]",b=Object.prototype,m=b.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,l,s){var f=n&u,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=s.get(e);if(h&&s.get(t))return h==t;var y=-1,b=!0,m=n&c?new a:void 0;for(s.set(e,t),s.set(t,e);++y<p;){var g=e[y],v=t[y];if(r)var x=f?r(v,g,y,t,e,s):r(g,v,y,e,t,s);if(void 0!==x){if(x)continue;b=!1;break}if(m){if(!o(t,function(e,t){if(!i(m,t)&&(g===e||l(g,e,n,r,s)))return m.push(t)})){b=!1;break}}else if(g!==v&&!l(g,v,n,r,s)){b=!1;break}}return s.delete(e),s.delete(t),b}var a=n(65),o=n(236),i=n(66),u=1,c=2;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t,n,r,i,c){var l=n&o,s=a(e),f=s.length;if(f!=a(t).length&&!l)return!1;for(var p=f;p--;){var d=s[p];if(!(l?d in t:u.call(t,d)))return!1}var h=c.get(e);if(h&&c.get(t))return h==t;var y=!0;c.set(e,t),c.set(t,e);for(var b=l;++p<f;){d=s[p];var m=e[d],g=t[d];if(r)var v=l?r(g,m,d,t,e,c):r(m,g,d,e,t,c);if(!(void 0===v?m===g||i(m,g,n,r,c):v)){y=!1;break}b||(b="constructor"==d)}if(y&&!b){var x=e.constructor,O=t.constructor;x!=O&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return c.delete(e),c.delete(t),y}var a=n(239),o=1,i=Object.prototype,u=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(48),a=r(Object.keys,Object);e.exports=a},function(e,t,n){function r(e){for(var t=o(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,a(i)]}return t}var a=n(110),o=n(10);e.exports=r},function(e,t,n){function r(e,t){return u(e)&&c(t)?l(s(e),t):function(n){var r=o(n,e);return void 0===r&&r===t?i(n,e):a(t,r,f|p)}}var a=n(107),o=n(242),i=n(115),u=n(71),c=n(110),l=n(111),s=n(31),f=1,p=2;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}var a=n(70);e.exports=r},function(e,t,n){var r=n(244),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(i(e))return o(e,r)+"";if(u(e))return s?s.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}var a=n(113),o=n(22),i=n(8),u=n(30),c=1/0,l=a?a.prototype:void 0,s=l?l.toString:void 0;e.exports=r},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(247))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){t=a(t,e);for(var r=-1,s=t.length,f=!1;++r<s;){var p=l(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=s?f:!!(s=null==e?0:e.length)&&c(s)&&u(p,s)&&(i(e)||o(e))}var a=n(49),o=n(72),i=n(8),u=n(116),c=n(117),l=n(31);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return a(t,e)}}var a=n(70);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t){function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,u=o.length,c=n.length;++r<u;){var l=a(o[r],i[r]);if(l){if(r>=c)return l;return l*("desc"==n[r]?-1:1)}}return e.index-t.index}var a=n(255);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e===e,i=a(e),u=void 0!==t,c=null===t,l=t===t,s=a(t);if(!c&&!s&&!i&&e>t||i&&u&&l&&!c&&!s||r&&u&&l||!n&&l||!o)return 1;if(!r&&!i&&!s&&e<t||s&&n&&o&&!r&&!i||c&&n&&o||!u&&o||!l)return-1}return 0}var a=n(30);e.exports=r},function(e,t,n){var r=n(48),a=r(Object.getPrototypeOf,Object);e.exports=a},function(e,t,n){"use strict";function r(e){if(e instanceof o)return new o(e.l,e.a,e.b,e.opacity);if(e instanceof p){if(isNaN(e.h))return new o(e.l,0,0,e.opacity);var t=e.h*y.a;return new o(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof h.b||(e=Object(h.h)(e));var n,r,a=l(e.r),u=l(e.g),c=l(e.b),s=i((.2225045*a+.7168786*u+.0606169*c)/m);return a===u&&u===c?n=r=s:(n=i((.4360747*a+.3850649*u+.1430804*c)/b),r=i((.0139322*a+.0971045*u+.7141733*c)/g)),new o(116*s-16,500*(n-s),200*(s-r),e.opacity)}function a(e,t,n,a){return 1===arguments.length?r(e):new o(e,t,n,null==a?1:a)}function o(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function i(e){return e>w?Math.pow(e,1/3):e/O+v}function u(e){return e>x?e*e*e:O*(e-v)}function c(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function l(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function s(e){if(e instanceof p)return new p(e.h,e.c,e.l,e.opacity);if(e instanceof o||(e=r(e)),0===e.a&&0===e.b)return new p(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*y.b;return new p(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function f(e,t,n,r){return 1===arguments.length?s(e):new p(e,t,n,null==r?1:r)}function p(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}t.a=a,t.b=f;var d=n(76),h=n(75),y=n(120),b=.96422,m=1,g=.82521,v=4/29,x=6/29,O=3*x*x,w=x*x*x;Object(d.a)(o,a,Object(d.b)(h.a,{brighter:function(e){return new o(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new o(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=b*u(t),e=m*u(e),n=g*u(n),new h.b(c(3.1338561*t-1.6168667*e-.4906146*n),c(-.9787684*t+1.9161415*e+.033454*n),c(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Object(d.a)(p,f,Object(d.b)(h.a,{brighter:function(e){return new p(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new p(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return r(this).rgb()}}))},function(e,t,n){"use strict";function r(e){if(e instanceof o)return new o(e.h,e.s,e.l,e.opacity);e instanceof u.b||(e=Object(u.h)(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(b*r+h*t-y*n)/(b+h-y),i=r-a,l=(d*(n-a)-f*i)/p,s=Math.sqrt(l*l+i*i)/(d*a*(1-a)),m=s?Math.atan2(l,i)*c.b-120:NaN;return new o(m<0?m+360:m,s,a,e.opacity)}function a(e,t,n,a){return 1===arguments.length?r(e):new o(e,t,n,null==a?1:a)}function o(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}t.a=a;var i=n(76),u=n(75),c=n(120),l=-.14861,s=1.78277,f=-.29227,p=-.90649,d=1.97294,h=d*p,y=d*s,b=s*f-p*l;Object(i.a)(o,a,Object(i.b)(u.a,{brighter:function(e){return e=null==e?u.c:Math.pow(u.c,e),new o(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?u.d:Math.pow(u.d,e),new o(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*c.a,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new u.b(255*(t+n*(l*r+s*a)),255*(t+n*(f*r+p*a)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(25)},function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t-=e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";function r(e,t,n,r){function o(e){return e.length?e.pop()+" ":""}function i(e,r,o,i,u,c){if(e!==o||r!==i){var l=u.push("translate(",null,t,null,n);c.push({i:l-4,x:Object(a.a)(e,o)},{i:l-2,x:Object(a.a)(r,i)})}else(o||i)&&u.push("translate("+o+t+i+n)}function u(e,t,n,i){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:Object(a.a)(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}function c(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:Object(a.a)(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}function l(e,t,n,r,i,u){if(e!==n||t!==r){var c=i.push(o(i)+"scale(",null,",",null,")");u.push({i:c-4,x:Object(a.a)(e,n)},{i:c-2,x:Object(a.a)(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}return function(t,n){var r=[],a=[];return t=e(t),n=e(n),i(t.translateX,t.translateY,n.translateX,n.translateY,r,a),u(t.rotate,n.rotate,r,a),c(t.skewX,n.skewX,r,a),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,a),t=n=null,function(e){for(var t,n=-1,o=a.length;++n<o;)r[(t=a[n]).i]=t.x(e);return r.join("")}}}var a=n(50),o=n(263);r(o.a,"px, ","px)","deg)"),r(o.b,", ",")",")")},function(e,t,n){"use strict";function r(e){return"none"===e?l.b:(o||(o=document.createElement("DIV"),i=document.documentElement,u=document.defaultView),o.style.transform=e,e=u.getComputedStyle(i.appendChild(o),null).getPropertyValue("transform"),i.removeChild(o),e=e.slice(7,-1).split(","),Object(l.a)(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function a(e){return null==e?l.b:(c||(c=document.createElementNS("http://www.w3.org/2000/svg","g")),c.setAttribute("transform",e),(e=c.transform.baseVal.consolidate())?(e=e.matrix,Object(l.a)(e.a,e.b,e.c,e.d,e.e,e.f)):l.b)}t.a=r,t.b=a;var o,i,u,c,l=n(264)},function(e,t,n){"use strict";n.d(t,"b",function(){return a});var r=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};t.a=function(e,t,n,a,o,i){var u,c,l;return(u=Math.sqrt(e*e+t*t))&&(e/=u,t/=u),(l=e*n+t*a)&&(n-=e*l,a-=t*l),(c=Math.sqrt(n*n+a*a))&&(n/=c,a/=c,l/=c),e*a<t*n&&(e=-e,t=-t,l=-l,u=-u),{translateX:o,translateY:i,rotate:Math.atan2(t,e)*r,skewX:Math.atan(l)*r,scaleX:u,scaleY:c}}},function(e,t,n){"use strict";Math.SQRT2},function(e,t,n){"use strict";function r(e){return function(t,n){var r=e((t=Object(a.d)(t)).h,(n=Object(a.d)(n)).h),i=Object(o.a)(t.s,n.s),u=Object(o.a)(t.l,n.l),c=Object(o.a)(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=u(e),t.opacity=c(e),t+""}}}var a=n(14),o=n(25);r(o.c),r(o.a)},function(e,t,n){"use strict";n(14),n(25)},function(e,t,n){"use strict";function r(e){return function(t,n){var r=e((t=Object(a.c)(t)).h,(n=Object(a.c)(n)).h),i=Object(o.a)(t.c,n.c),u=Object(o.a)(t.l,n.l),c=Object(o.a)(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=u(e),t.opacity=c(e),t+""}}}var a=n(14),o=n(25);r(o.c),r(o.a)},function(e,t,n){"use strict";function r(e){return function t(n){function r(t,r){var i=e((t=Object(a.b)(t)).h,(r=Object(a.b)(r)).h),u=Object(o.a)(t.s,r.s),c=Object(o.a)(t.l,r.l),l=Object(o.a)(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=u(e),t.l=c(Math.pow(e,n)),t.opacity=l(e),t+""}}return n=+n,r.gamma=t,r}(1)}n.d(t,"a",function(){return i});var a=n(14),o=n(25),i=(r(o.c),r(o.a))},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=n(78);n.d(t,"a",function(){return r.b}),n.d(t,"b",function(){return r.c});n(273),n(274)},function(e,t,n){"use strict";n(78)},function(e,t,n){"use strict";n(78)},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function l(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return A});var p=n(9),d=n.n(p),h=n(32),y=n.n(h),b=n(4),m=n.n(b),g=n(3),v=n.n(g),x=n(0),O=n.n(x),w=n(2),_=n.n(w),j=n(26),P=n(133),C=n(51),M=n(6),A=function(e){function t(e){var n;return i(this,t),n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.getTimer=n.getTimer.bind(f(n)),n.containerId=d()(e)&&void 0!==e.containerId?e.containerId:y()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n}return s(t,e),c(t,[{key:"getChildContext",value:function(){return{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister,getTimer:this.getTimer}}},{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 C.a),this.timer)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"renderContainer",value:function(e,t,n){var a=e.title,i=e.desc,u=e.portalComponent,c=e.className,l=e.width,s=e.height,f=e.portalZIndex,p=e.responsive,d=this.getChildren(e),h=p?{width:"100%",height:"100%"}:{width:l,height:s},y=v()({pointerEvents:"none",touchAction:"none",position:"relative"},h),b=v()({zIndex:f,position:"absolute",top:0,left:0},h),g=v()({pointerEvents:"all"},h),x=v()({overflow:"visible"},h),w={width:l,height:s,viewBox:t.viewBox,style:x};return O.a.createElement("div",{style:m()({},n,y),className:c,ref:e.containerRef},O.a.createElement("svg",o({},t,{style:g}),a?O.a.createElement("title",{id:this.getIdForElement("title")},a):null,i?O.a.createElement("desc",{id:this.getIdForElement("desc")},i):null,d),O.a.createElement("div",{style:b},O.a.cloneElement(u,r({},w,{ref:this.savePortalRef}))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,a=e.events,o=r?this.props.style:M.a.omit(this.props.style,["height","width"]),i=v()({width:t,height:n,role:"img","aria-labelledby":"".concat(this.getIdForElement("title")," ").concat(this.getIdForElement("desc")),viewBox:r?"0 0 ".concat(t," ").concat(n):void 0},a);return this.renderContainer(this.props,i,o)}}]),t}(O.a.Component);Object.defineProperty(A,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(A,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(A,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:_.a.oneOfType([_.a.arrayOf(_.a.node),_.a.node]),className:_.a.string,containerId:_.a.oneOfType([_.a.number,_.a.string]),containerRef:_.a.func,desc:_.a.string,events:_.a.object,height:j.a.nonNegative,name:_.a.string,origin:_.a.shape({x:j.a.nonNegative,y:j.a.nonNegative}),polar:_.a.bool,portalComponent:_.a.element,portalZIndex:j.a.integer,responsive:_.a.bool,style:_.a.object,theme:_.a.object,title:_.a.string,width:j.a.nonNegative}}),Object.defineProperty(A,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:O.a.createElement(P.a,null),portalZIndex:99,responsive:!0}}),Object.defineProperty(A,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:_.a.func}}),Object.defineProperty(A,"childContextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{portalUpdate:_.a.func,portalRegister:_.a.func,portalDeregister:_.a.func,getTimer:_.a.func}})},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){var r=n(279),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n,r){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),i?o(n,l,s):a(n,l,s)}return n}var a=n(81),o=n(52);e.exports=r},function(e,t,n){function r(e){return a(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,u&&o(n[0],n[1],u)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t})}var a=n(79),o=n(80);e.exports=r},function(e,t,n){var r=n(283),a=n(284),o=r(a);e.exports=o},function(e,t,n){function r(e){return function(t,n,r){var u=Object(t);if(!o(t)){var c=a(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,r);return l>-1?u[c?t[l]:l]:void 0}}var a=n(17),o=n(53),i=n(10);e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var c=null==n?0:i(n);return c<0&&(c=u(r+c,0)),a(e,o(t,3),c)}var a=n(285),o=n(17),i=n(286),u=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}e.exports=n},function(e,t,n){function r(e){var t=a(e),n=t%1;return t===t?n?t-n:t:0}var a=n(131);e.exports=r},function(e,t,n){function r(e,t){return a(e,t,function(t,n){return o(e,n)})}var a=n(134),o=n(115);e.exports=r},function(e,t,n){function r(e,t,n,r){if(!u(e))return e;t=o(t,e);for(var l=-1,s=t.length,f=s-1,p=e;null!=p&&++l<s;){var d=c(t[l]),h=n;if(l!=f){var y=p[d];h=r?r(y,d,p):void 0,void 0===h&&(h=u(y)?y:i(t[l+1])?[]:{})}a(p,d,h),p=p[d]}return e}var a=n(81),o=n(49),i=n(116),u=n(9),c=n(31);e.exports=r},function(e,t,n){function r(e,t,n,i,u){var c=-1,l=e.length;for(n||(n=o),u||(u=[]);++c<l;){var s=e[c];t>0&&n(s)?t>1?r(s,t-1,n,i,u):a(u,s):i||(u[u.length]=s)}return u}var a=n(290),o=n(291);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e){return i(e)||o(e)||!!(u&&e&&e[u])}var a=n(113),o=n(72),i=n(8),u=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return E});var l=n(32),s=n.n(l),f=n(19),p=n.n(f),d=n(4),h=n.n(d),y=n(3),b=n.n(y),m=n(0),g=n.n(m),v=n(2),x=n.n(v),O=n(136),w=n(26),_=n(6),j=n(137),P=n(82),C=n(54),M=n(138),A=n(139),k={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},E=function(e){function t(e){var n;return r(this,t),n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.id=void 0===e.id?s()("label-"):e.id,n}return c(t,e),o(t,[{key:"getPosition",value:function(e,t){return e.datum?_.a.scalePoint(e,e.datum)[t]:0}},{key:"getStyle",value:function(e,t){t=t?h()({},t,k):k;var n=e.datum||e.data,r=_.a.evaluateStyle(t,n,e.active);return b()({},r,{fontSize:this.getFontSize(r)})}},{key:"getStyles",value:function(e){var t=this;return Array.isArray(e.style)&&!p()(e.style)?e.style.map(function(n){return t.getStyle(e,n)}):[this.getStyle(e,e.style)]}},{key:"getHeight",value:function(e,t){var n=e.datum||e.data;return _.a.evaluateProp(e[t],n,e.active)}},{key:"getContent",value:function(e){if(void 0!==e.text&&null!==e.text){var t=e.datum||e.data;if(Array.isArray(e.text))return e.text.map(function(n){return _.a.evaluateProp(n,t,e.active)});var n=_.a.evaluateProp(e.text,t,e.active);if(void 0!==n&&null!==n)return"".concat(n).split("\n")}}},{key:"getDy",value:function(e,t,n,r){t=Array.isArray(t)?t[0]:t,r=this.checkLineHeight(r,r[0],1);var a=t.fontSize,o=e.datum||e.data,i=e.dy?_.a.evaluateProp(e.dy,o,e.active):0,u=n.length,c=this.getHeight(e,"capHeight"),l=t.verticalAnchor||e.verticalAnchor;switch(l?_.a.evaluateProp(l,o):"middle"){case"end":return i+(c/2+(.5-u)*r)*a;case"middle":return i+(c/2+(.5-u/2)*r)*a;default:return i+(c/2+r/2)*a}}},{key:"checkLineHeight",value:function(e,t,n){return Array.isArray(e)?p()(e)?n:t:e}},{key:"getTransform",value:function(e,t){var n=e.active,r=e.datum,a=e.x,o=e.y,i=e.polar,u=i?j.a.getPolarAngle(e):0,c=void 0===t.angle?e.angle:t.angle,l=void 0===c?u:c,s=e.transform||t.transform,f=s&&_.a.evaluateProp(s,r,n),p=l&&{rotate:[l,a,o]};return f||l?P.a.toTransformString(f,p):void 0}},{key:"getFontSize",value:function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(void 0===t||null===t)return k.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?(C.a.warn("fontSize should be expressed as a number of pixels"),k.fontSize):n}return k.fontSize}},{key:"renderElements",value:function(e,t){var n=this,r=e.datum,a=e.active,o=e.inline,i=e.className,u=e.title,c=e.desc,l=e.events,s=e.direction,f=this.getStyles(e),p=this.getHeight(e,"lineHeight"),d=e.textAnchor?_.a.evaluateProp(e.textAnchor,r,a):"start",h=e.dx?_.a.evaluateProp(e.dx,r,a):0,y=this.getDy(e,f,t,p),b=this.getTransform(e,f),m=void 0!==e.x?e.x:this.getPosition(e,"x"),v=void 0!==e.y?e.y:this.getPosition(e,"y"),x=t.map(function(t,r){var a=f[r]||f[0],i=f[r-1]||f[0],u=(a.fontSize+i.fontSize)/2,c=n.checkLineHeight(p,(p[r]+(p[r-1]||p[0]))/2,1),l={key:"".concat(n.id,"-key-").concat(r),x:o?void 0:e.x,dx:h,dy:r&&!o?c*u:void 0,textAnchor:a.textAnchor||d,style:a,content:t};return g.a.cloneElement(e.tspanComponent,l)});return g.a.cloneElement(e.textComponent,{direction:s,dx:h,dy:y,x:m,y:v,events:l,transform:b,className:i,title:u,desc:c,id:this.id},x)}},{key:"render",value:function(){var e=this.getContent(this.props);if(null===e||void 0===e)return null;var t=this.renderElements(this.props,e);return this.props.renderInPortal?g.a.createElement(O.a,null,t):t}}]),t}(g.a.Component);Object.defineProperty(E,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLabel"}),Object.defineProperty(E,"role",{configurable:!0,enumerable:!0,writable:!0,value:"label"}),Object.defineProperty(E,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{active:x.a.bool,angle:x.a.oneOfType([x.a.string,x.a.number]),capHeight:x.a.oneOfType([x.a.string,w.a.nonNegative,x.a.func]),className:x.a.string,data:x.a.array,datum:x.a.any,desc:x.a.string,direction:x.a.oneOf(["rtl","ltr","inherit"]),dx:x.a.oneOfType([x.a.number,x.a.string,x.a.func]),dy:x.a.oneOfType([x.a.number,x.a.string,x.a.func]),events:x.a.object,id:x.a.oneOfType([x.a.number,x.a.string]),index:x.a.oneOfType([x.a.number,x.a.string]),inline:x.a.bool,labelPlacement:x.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:x.a.oneOfType([x.a.string,w.a.nonNegative,x.a.func,x.a.array]),origin:x.a.shape({x:w.a.nonNegative,y:w.a.nonNegative}),polar:x.a.bool,renderInPortal:x.a.bool,scale:x.a.shape({x:w.a.scale,y:w.a.scale}),style:x.a.oneOfType([x.a.object,x.a.array]),text:x.a.oneOfType([x.a.string,x.a.number,x.a.func,x.a.array]),textAnchor:x.a.oneOfType([x.a.oneOf(["start","middle","end","inherit"]),x.a.func]),textComponent:x.a.element,title:x.a.string,transform:x.a.oneOfType([x.a.string,x.a.object,x.a.func]),tspanComponent:x.a.element,verticalAnchor:x.a.oneOfType([x.a.oneOf(["start","middle","end"]),x.a.func]),x:x.a.oneOfType([x.a.number,x.a.string]),y:x.a.oneOfType([x.a.number,x.a.string])}}),Object.defineProperty(E,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{direction:"inherit",textComponent:g.a.createElement(A.a,null),tspanComponent:g.a.createElement(M.a,null),capHeight:.71,lineHeight:1}})},function(e,t,n){var r=n(48),a=r(Object.keys,Object);e.exports=a},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return S});var d=n(32),h=n.n(d),y=n(9),b=n.n(y),m=n(5),g=n.n(m),v=n(4),x=n.n(v),O=n(3),w=n.n(O),_=n(0),j=n.n(_),P=n(2),C=n.n(P),M=n(26),A=n(6),k=n(141),E=n(142),T=n(84),S=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.clipId=b()(e)&&void 0!==e.clipId?e.clipId:h()("victory-clip-"),n}return p(t,e),l(t,[{key:"calculateAttributes",value:function(e){var t=e.polar,n=e.origin,r=e.clipWidth,a=void 0===r?0:r,o=e.clipHeight,i=void 0===o?0:o,u=e.translateX,c=void 0===u?0:u,l=e.translateY,s=void 0===l?0:l,f=A.a.getPadding({padding:e.clipPadding}),p=e.radius||A.a.getRadius(e);return{x:(t?n.x:c)-f.left,y:(t?n.y:s)-f.top,width:Math.max((t?p:a)+f.left+f.right,0),height:Math.max((t?p:i)+f.top+f.bottom,0)}}},{key:"renderClippedGroup",value:function(e,t){var n=e.style,a=e.events,o=e.transform,i=e.children,u=e.className,c=e.groupComponent,l=this.renderClipComponent(e,t),s=w()({className:u,style:n,transform:o,key:"clipped-group-".concat(t),clipPath:"url(#".concat(t,")")},a);return j.a.cloneElement(c,s,[l].concat(r(j.a.Children.toArray(i))))}},{key:"renderGroup",value:function(e){var t=e.style,n=e.events,r=e.transform,a=e.children,o=e.className,i=e.groupComponent;return j.a.cloneElement(i,w()({className:o,style:t,transform:r},n),a)}},{key:"renderClipComponent",value:function(e,t){var n,r=e.polar,a=e.origin,o=e.clipWidth,i=void 0===o?0:o,u=e.clipHeight,c=void 0===u?0:u,l=e.translateX,s=void 0===l?0:l,f=e.translateY,p=void 0===f?0:f,d=e.circleComponent,h=e.rectComponent,y=e.clipPathComponent,b=A.a.getPadding({padding:e.clipPadding}),m=b.top,g=b.bottom,v=b.left,x=b.right;if(r){var O=e.radius||A.a.getRadius(e),_={r:Math.max(O+v+x,O+m+g,0),cx:a.x-v,cy:a.y-m};n=j.a.cloneElement(d,_)}else{var P={x:s-v,y:p-m,width:Math.max(i+v+x,0),height:Math.max(c+m+g,0)};n=j.a.cloneElement(h,P)}return j.a.cloneElement(y,w()({key:"clip-path-".concat(t)},e,{clipId:t}),n)}},{key:"getClipValue",value:function(e,t){var n={x:e.clipWidth,y:e.clipHeight};if(void 0!==n[t])return n[t];var r=this.getRange(e,t);return r?Math.abs(r[0]-r[1])||void 0:void 0}},{key:"getTranslateValue",value:function(e,t){var n={x:e.translateX,y:e.translateY};if(void 0!==n[t])return n[t];var a=this.getRange(e,t);return a?Math.min.apply(Math,r(a)):void 0}},{key:"getRange",value:function(e,t){var n=e.scale||{};if(n[t])return g()(n[t].range)?n[t].range():void 0}},{key:"render",value:function(){var e=this.getClipValue(this.props,"y"),t=this.getClipValue(this.props,"x");if(void 0===t||void 0===e)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),a=x()({},this.props,{clipHeight:e,clipWidth:t,translateX:n,translateY:r});return this.renderClippedGroup(a,this.clipId)}}]),t}(j.a.Component);Object.defineProperty(S,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryClipContainer"}),Object.defineProperty(S,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(S,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:C.a.oneOfType([C.a.arrayOf(C.a.node),C.a.node]),circleComponent:C.a.element,className:C.a.string,clipHeight:M.a.nonNegative,clipId:C.a.oneOfType([C.a.number,C.a.string]),clipPadding:C.a.shape({top:C.a.number,bottom:C.a.number,left:C.a.number,right:C.a.number}),clipPathComponent:C.a.element,clipWidth:M.a.nonNegative,events:C.a.object,groupComponent:C.a.element,origin:C.a.shape({x:M.a.nonNegative,y:M.a.nonNegative}),polar:C.a.bool,radius:M.a.nonNegative,style:C.a.object,transform:C.a.string,translateX:C.a.number,translateY:C.a.number}}),Object.defineProperty(S,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{circleComponent:j.a.createElement(E.a,null),rectComponent:j.a.createElement(T.a,null),clipPathComponent:j.a.createElement(k.a,null),groupComponent:j.a.createElement("g",null)}})},function(e,t,n){"use strict";var r=n(296),a=n(297);t.a={material:r.a,grayscale:a.a}},function(e,t,n){"use strict";var r=n(3),a=n.n(r),o=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],i={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);t.a={area:a()({style:{data:{fill:"#212121"},labels:c}},i),axis:a()({style:{axis:{fill:"transparent",stroke:"#90A4AE",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"#ECEFF1",strokeDasharray:"10, 5",strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"#90A4AE",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},tickLabels:a()({},u,{fill:"#455A64"})}},i),bar:a()({style:{data:{fill:"#455A64",padding:8,strokeWidth:0},labels:u}},i),boxplot:a()({style:{max:{padding:8,stroke:"#455A64",strokeWidth:1},maxLabels:u,median:{padding:8,stroke:"#455A64",strokeWidth:1},medianLabels:u,min:{padding:8,stroke:"#455A64",strokeWidth:1},minLabels:u,q1:{padding:8,fill:"#455A64"},q1Labels:u,q3:{padding:8,fill:"#455A64"},q3Labels:u},boxWidth:20},i),candlestick:a()({style:{data:{stroke:"#455A64"},labels:c},candleColors:{positive:"#ffffff",negative:"#455A64"}},i),chart:i,errorbar:a()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},i),group:a()({colorScale:o},i),legend:{colorScale:o,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:u,title:a()({},u,{padding:5})}},line:a()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},i),pie:a()({colorScale:o,style:{data:{padding:8,stroke:"#ECEFF1",strokeWidth:1},labels:a()({},u,{padding:20})}},i),scatter:a()({style:{data:{fill:"#455A64",opacity:1,stroke:"transparent",strokeWidth:0},labels:c}},i),stack:a()({colorScale:o},i),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"}}},i)}},function(e,t,n){"use strict";var r=n(3),a=n.n(r),o=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],i={width:450,height:300,padding:50,colorScale:o},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);t.a={area:a()({style:{data:{fill:"#252525"},labels:c}},i),axis:a()({style:{axis:{fill:"transparent",stroke:"#252525",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:u}},i),bar:a()({style:{data:{fill:"#252525",padding:8,strokeWidth:0},labels:u}},i),boxplot:a()({style:{max:{padding:8,stroke:"#252525",strokeWidth:1},maxLabels:u,median:{padding:8,stroke:"#252525",strokeWidth:1},medianLabels:u,min:{padding:8,stroke:"#252525",strokeWidth:1},minLabels:u,q1:{padding:8,fill:"#969696"},q1Labels:u,q3:{padding:8,fill:"#969696"},q3Labels:u},boxWidth:20},i),candlestick:a()({style:{data:{stroke:"#252525",strokeWidth:1},labels:c},candleColors:{positive:"#ffffff",negative:"#252525"}},i),chart:i,errorbar:a()({borderWidth:8,style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},i),group:a()({colorScale:o},i),legend:{colorScale:o,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:u,title:a()({},u,{padding:5})}},line:a()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},i),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:a()({},u,{padding:20})},colorScale:o,width:400,height:400,padding:50},scatter:a()({style:{data:{fill:"#252525",stroke:"transparent",strokeWidth:0},labels:c}},i),stack:a()({colorScale:o},i),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"}}},i)}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(6),m=n(27),g=n(85),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getStyle",value:function(e){var t=e.style,n=e.datum,r=e.active;return b.a.evaluateStyle(f()({stroke:"black",fill:"none"},t),n,r)}},{key:"getArcPath",value:function(e){var t=e.cx,n=e.cy,r=e.r,a=e.startAngle,o=e.endAngle,i=e.closedPath,u=Math.abs(o-a)/2+a,c=t+r*Math.cos(b.a.degreesToRadians(a)),l=n-r*Math.sin(b.a.degreesToRadians(a)),s=t+r*Math.cos(b.a.degreesToRadians(u)),f=n-r*Math.sin(b.a.degreesToRadians(u)),p=t+r*Math.cos(b.a.degreesToRadians(o)),d=n-r*Math.sin(b.a.degreesToRadians(o)),h=u-a<=180?0:1,y=o-u<=180?0:1,m=i?" M ".concat(t,", ").concat(n," L ").concat(c,", ").concat(l):"M ".concat(c,", ").concat(l),g="A ".concat(r,", ").concat(r,", 0, ").concat(h,", 0, ").concat(s,", ").concat(f),v="A ".concat(r,", ").concat(r,", 0, ").concat(y,", 0, ").concat(p,", ").concat(d),x=i?"Z":"";return"".concat(m," ").concat(g," ").concat(v," ").concat(x)}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.shapeRendering,r=e.className,a=e.events,o=e.pathComponent,i=e.transform,u=e.clipPath;return d.a.cloneElement(o,{d:this.getArcPath(this.props),style:this.getStyle(this.props),className:r,role:t,shapeRendering:n,events:a,transform:i,clipPath:u})}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{closedPath:y.a.bool,cx:y.a.number,cy:y.a.number,datum:y.a.any,endAngle:y.a.number,pathComponent:y.a.element,r:y.a.number,startAngle:y.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(6),m=n(27),g=n(84),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,a=e.height,o=e.events,i=e.datum,u=e.active,c=e.role,l=e.clipPath,s=e.className,p=e.shapeRendering,h=e.rectComponent,y=e.transform,m=b.a.evaluateStyle(f()({fill:"none"},this.props.style),i,u);return d.a.cloneElement(h,{style:m,className:s,x:t,y:n,width:r,height:a,events:o,role:c,shapeRendering:p,transform:y,clipPath:l})}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{height:y.a.number,rectComponent:y.a.element,width:y.a.number,x:y.a.number,y:y.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{rectComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(6),m=n(27),g=n(86),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,r=e.y1,a=e.y2,o=e.events,i=e.datum,u=e.active,c=e.lineComponent,l=e.className,s=e.role,p=e.shapeRendering,h=e.transform,y=e.clipPath,m=b.a.evaluateStyle(f()({stroke:"black"},this.props.style),i,u);return d.a.cloneElement(c,{style:m,className:l,role:s,shapeRendering:p,events:o,x1:t,x2:n,y1:r,y2:a,transform:h,clipPath:y})}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{datum:y.a.any,lineComponent:y.a.element,x1:y.a.number,x2:y.a.number,y1:y.a.number,y2:y.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{lineComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return g});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n(302),b=n(27),m=n(85),g=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getPath",value:function(e){var t=e.datum,n=e.active,r=e.x,a=e.y,o=h.a.evaluateProp(e.size,t,n);if(e.getPath)return e.getPath(r,a,o);var i={circle:y.a.circle,square:y.a.square,diamond:y.a.diamond,triangleDown:y.a.triangleDown,triangleUp:y.a.triangleUp,plus:y.a.plus,minus:y.a.minus,star:y.a.star},u=h.a.evaluateProp(e.symbol,t,n);return("function"==typeof i[u]?i[u]:i.circle)(r,a,o)}},{key:"render",value:function(){var e=this.props,t=e.active,n=e.datum,r=e.role,a=e.shapeRendering,o=e.className,i=e.events,u=e.pathComponent,c=e.transform,l=e.clipPath,s=h.a.evaluateStyle(this.props.style,n,t),p=this.getPath(this.props);return f.a.cloneElement(u,{style:s,role:r,shapeRendering:a,className:o,events:i,d:p,transform:c,clipPath:l})}}]),t}(f.a.Component);Object.defineProperty(g,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.a.primitiveProps,{datum:d.a.object,getPath:d.a.func,pathComponent:d.a.element,size:d.a.oneOfType([d.a.number,d.a.func]),symbol:d.a.oneOfType([d.a.oneOf(["circle","diamond","plus","minus","square","star","triangleDown","triangleUp"]),d.a.func]),x:d.a.number,y:d.a.number})}),Object.defineProperty(g,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:f.a.createElement(m.a,null)}})},function(e,t,n){"use strict";var r=n(56),a=n.n(r);t.a={circle:function(e,t,n){return"M ".concat(e,", ").concat(t,"\n m ").concat(-n,", 0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*n,",0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*-n,",0")},square:function(e,t,n){var r=.87*n,a=e-r,o=t+r,i=e+r-a;return"M ".concat(a,", ").concat(o,"\n h").concat(i,"\n v-").concat(i,"\n h-").concat(i,"\n z")},diamond:function(e,t,n){var r=.87*n,a=Math.sqrt(r*r*2);return"M ".concat(e,", ").concat(t+a,"\n l ").concat(a,", -").concat(a,"\n l -").concat(a,", -").concat(a,"\n l -").concat(a,", ").concat(a,"\n l ").concat(a,", ").concat(a,"\n z")},triangleDown:function(e,t,n){var r=n/2*Math.sqrt(3),a=e-n,o=e+n,i=t-n,u=t+r;return"M ".concat(a,", ").concat(i,"\n L ").concat(o,", ").concat(i,"\n L ").concat(e,", ").concat(u,"\n z")},triangleUp:function(e,t,n){var r=n/2*Math.sqrt(3),a=e-n,o=e+n,i=t-r,u=t+n;return"M ".concat(a,", ").concat(u,"\n L ").concat(o,", ").concat(u,"\n L ").concat(e,", ").concat(i,"\n z")},plus:function(e,t,n){var r=1.1*n,a=r/1.5;return"\n M ".concat(e-a/2,", ").concat(t+r,"\n v-").concat(a,"\n h-").concat(a,"\n v-").concat(a,"\n h").concat(a,"\n v-").concat(a,"\n h").concat(a,"\n v").concat(a,"\n h").concat(a,"\n v").concat(a,"\n h-").concat(a,"\n v").concat(a,"\n z")},minus:function(e,t,n){var r=1.1*n,a=r-.3*r,o=e-r,i=t+a/2,u=e+r-o;return"M ".concat(o,", ").concat(i,"\n h").concat(u,"\n v-").concat(a,"\n h-").concat(u,"\n z")},star:function(e,t,n){var r=1.35*n,o=Math.PI/5;return"M ".concat(a()(10).map(function(n){var a=n%2==0?r:r/2;return"".concat(a*Math.sin(o*(n+1))+e,",\n ").concat(a*Math.cos(o*(n+1))+t)}).join("L")," z")}}},function(e,t,n){function r(e){return function(t,n,r){return r&&"number"!=typeof r&&o(t,n,r)&&(n=r=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),r=void 0===r?t<n?1:-1:i(r),a(t,n,r,e)}}var a=n(304),o=n(80),i=n(131);e.exports=r},function(e,t){function n(e,t,n,o){for(var i=-1,u=a(r((t-e)/(n||1)),0),c=Array(u);u--;)c[o?u:++i]=e,e+=n;return c}var r=Math.ceil,a=Math.max;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(6),m=n(27),g=n(86),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.groupComponent,n=e.lineComponent,r=e.events,a=e.className,o=e.majorWhisker,i=e.minorWhisker,u=e.datum,c=e.active,l=e.transform,s=e.clipPath,p=b.a.evaluateStyle(this.props.style,u,c),h={style:p,events:r,className:a,transform:l,clipPath:s};return d.a.cloneElement(t,{},[d.a.cloneElement(n,f()({key:"major-whisker"},h,o)),d.a.cloneElement(n,f()({key:"minor-whisker"},h,i))])}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{groupComponent:y.a.element,lineComponent:y.a.element,majorWhisker:y.a.shape({x1:y.a.number,x2:y.a.number,y1:y.a.number,y2:y.a.number}),minorWhisker:y.a.shape({x1:y.a.number,x2:y.a.number,y1:y.a.number,y2:y.a.number})})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null),lineComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=n(19),h=n.n(d),y=n(57),b=n.n(y),m=n(33),g=n.n(m),v=n(5),x=n.n(v),O=n(10),w=n.n(O),_=n(3),j=n.n(_),P=n(4),C=n.n(P),M=n(0),A=n.n(M),k=n(87),E=n(11),T=n.n(E),S=n(140),D=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];t.a=function(e,t){return function(n){function a(e){var t;u(this,a),t=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));var n=k.a.getScopedEvents.bind(p(t)),r=k.a.getEvents.bind(p(t));t.state={},t.getEvents=function(e,t,a){return r(e,t,a,n)},t.getEventState=k.a.getEventState.bind(p(t));var o=t.getCalculatedValues(e);return t.cacheValues(o),t.externalMutations=t.getExternalMutations(e),t}return f(a,n),l(a,[{key:"componentDidUpdate",value:function(){var e=this.getExternalMutations(this.props);T()(this.externalMutations,e)||(this.externalMutations=e,this.applyExternalMutations(this.props,e))}},{key:"componentWillReceiveProps",value:function(e){this.cacheValues(this.getCalculatedValues(e))}},{key:"applyExternalMutations",value:function(e,t){if(!h()(t)){var n=e.externalEventMutations.reduce(function(e,t){return e=x()(t.callback)?e.concat(t.callback):e},[]),r=n.length?function(){n.forEach(function(e){return e()})}:void 0;this.setState(t,r)}}},{key:"getStateChanges",value:function(e,n){var r=this,a=n.hasEvents,o=n.getSharedEventState;if(!a)return{};t=t||{};var i=t.components||D,u=function(e,t){var n=C()({},r.getEventState(e,t),o(e,t));return h()(n)?void 0:n};return i.map(function(t){return e.standalone||"parent"!==t.name?void 0!==t.index?u(t.index,t.name):n.dataKeys.map(function(e){return u(e,t.name)}):void 0}).filter(Boolean)}},{key:"getCalculatedValues",value:function(t){var n=t.sharedEvents,r=e.expectedComponents,a=k.a.getComponentEvents(t,r),o=n&&x()(n.getEventState)?n.getEventState:function(){},i=this.getBaseProps(t,o);return{componentEvents:a,getSharedEventState:o,baseProps:i,dataKeys:w()(i).filter(function(e){return"parent"!==e}),hasEvents:t.events||t.sharedEvents||a,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return h()(n)||t?void 0:k.a.getExternalMutations(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;w()(e).forEach(function(n){t[n]=e[n]})}},{key:"getBaseProps",value:function(t,n){n=n||this.getSharedEventState;var r=n("parent","parent"),a=this.getEventState("parent","parent"),o=C()({},a,r),i=o.parentControlledProps,u=i?g()(o,i):{},c=C()({},u,t);return x()(e.getBaseProps)?e.getBaseProps(c):{}}},{key:"getAllEvents",value:function(e){if(Array.isArray(this.componentEvents)){var t;return Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,r(e.events)):this.componentEvents}return e.events}},{key:"getComponentProps",value:function(t,n,r){var a=this.props.name||e.role,o=this.dataKeys&&this.dataKeys[r]||r,i="".concat(a,"-").concat(n,"-").concat(o),u=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(u||this.hasEvents){if(this.hasEvents){var c=this.getEvents(this.props,n,o),l=C()({index:r,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),t.props,u,{id:i}),s=C()({},k.a.getPartialEvents(c,o,l),l.events);return j()({},l,{events:s})}return C()({index:r,key:i},t.props,u,{id:i})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role,r=n?this.getComponentProps(e,"parent","parent"):{};return A.a.cloneElement(e,r,t)}},{key:"animateComponent",value:function(e,t){return A.a.createElement(S.a,{animate:e.animate,animationWhitelist:t},A.a.createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,a=e.labelComponent,o=e.groupComponent,i=b()(this.dataKeys,"all"),u=i.reduce(function(e,n){var r=t.getComponentProps(a,"labels",n);return r&&void 0!==r.text&&null!==r.text&&(e=e.concat(A.a.cloneElement(a,r))),e},[]),c=this.getComponentProps(n,"data","all"),l=[A.a.cloneElement(n,c)].concat(r(u));return this.renderContainer(o,l)}},{key:"renderData",value:function(e){var t=this,n=e.dataComponent,a=e.labelComponent,o=e.groupComponent,i=this.dataKeys.map(function(e,r){var a=t.getComponentProps(n,"data",r);return A.a.cloneElement(n,a)}),u=this.dataKeys.map(function(e,n){var r=t.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return A.a.cloneElement(a,r)}).filter(Boolean),c=r(i).concat(r(u));return this.renderContainer(o,c)}}]),a}(e)}},function(e,t,n){function r(e,t,n,r){var f=-1,p=o,d=!0,h=e.length,y=[],b=t.length;if(!h)return y;n&&(t=u(t,c(n))),r?(p=i,d=!1):t.length>=s&&(p=l,d=!1,t=new a(t));e:for(;++f<h;){var m=e[f],g=null==n?m:n(m);if(m=r||0!==m?m:0,d&&g===g){for(var v=b;v--;)if(t[v]===g)continue e;y.push(m)}else p(t,g,r)||y.push(m)}return y}var a=n(65),o=n(143),i=n(144),u=n(22),c=n(118),l=n(66),s=200;e.exports=r},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(53),o=n(69);e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n=a(u(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}var a=n(22),o=n(17),i=n(134),u=n(312);e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(315);n.d(t,"scaleBand",function(){return r.a}),n.d(t,"scalePoint",function(){return r.b});var a=n(338);n.d(t,"scaleIdentity",function(){return a.a});var o=n(36);n.d(t,"scaleLinear",function(){return o.a});var i=n(350);n.d(t,"scaleLog",function(){return i.a});var u=n(158);n.d(t,"scaleOrdinal",function(){return u.a}),n.d(t,"scaleImplicit",function(){return u.b});var c=n(351);n.d(t,"scalePow",function(){return c.a}),n.d(t,"scaleSqrt",function(){return c.b});var l=n(352);n.d(t,"scaleQuantile",function(){return l.a});var s=n(353);n.d(t,"scaleQuantize",function(){return s.a});var f=n(354);n.d(t,"scaleThreshold",function(){return f.a});var p=n(165);n.d(t,"scaleTime",function(){return p.b});var d=n(370);n.d(t,"scaleUtc",function(){return d.a});var h=n(371);n.d(t,"schemeCategory10",function(){return h.a});var y=n(372);n.d(t,"schemeCategory20b",function(){return y.a});var b=n(373);n.d(t,"schemeCategory20c",function(){return b.a});var m=n(374);n.d(t,"schemeCategory20",function(){return m.a});var g=n(375);n.d(t,"interpolateCubehelixDefault",function(){return g.a});var v=n(376);n.d(t,"interpolateRainbow",function(){return v.b}),n.d(t,"interpolateWarm",function(){return v.c}),n.d(t,"interpolateCool",function(){return v.a});var x=n(377);n.d(t,"interpolateViridis",function(){return x.a}),n.d(t,"interpolateMagma",function(){return x.c}),n.d(t,"interpolateInferno",function(){return x.b}),n.d(t,"interpolatePlasma",function(){return x.d});var O=n(378);n.d(t,"scaleSequential",function(){return O.a})},function(e,t,n){"use strict";function r(){function e(){var e=o().length,r=l[1]<l[0],a=l[r-0],u=l[1-r];t=(u-a)/Math.max(1,e-f+2*p),s&&(t=Math.floor(t)),a+=(u-a-t*(e-f))*d,n=t*(1-f),s&&(a=Math.round(a),n=Math.round(n));var h=Object(i.g)(e).map(function(e){return a+t*e});return c(r?h.reverse():h)}var t,n,a=Object(u.a)().unknown(void 0),o=a.domain,c=a.range,l=[0,1],s=!1,f=0,p=0,d=.5;return delete a.unknown,a.domain=function(t){return arguments.length?(o(t),e()):o()},a.range=function(t){return arguments.length?(l=[+t[0],+t[1]],e()):l.slice()},a.rangeRound=function(t){return l=[+t[0],+t[1]],s=!0,e()},a.bandwidth=function(){return n},a.step=function(){return t},a.round=function(t){return arguments.length?(s=!!t,e()):s},a.padding=function(t){return arguments.length?(f=p=Math.max(0,Math.min(1,t)),e()):f},a.paddingInner=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),e()):f},a.paddingOuter=function(t){return arguments.length?(p=Math.max(0,Math.min(1,t)),e()):p},a.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),e()):d},a.copy=function(){return r().domain(o()).range(l).round(s).paddingInner(f).paddingOuter(p).align(d)},e()}function a(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return a(t())},e}function o(){return a(r().paddingInner(1))}t.a=r,t.b=o;var i=n(12),u=n(158)},function(e,t,n){"use strict";n(148)},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(152),n(146),n(319),n(151),n(320),n(153),n(154),n(155)},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";n(152),n(28),n(35),n(90)},function(e,t,n){"use strict";n(149)},function(e,t,n){"use strict";t.a=function(e,t){var n,r,a=e.length,o=-1;if(null==t){for(;++o<a;)if(null!=(n=e[o])&&n>=n)for(r=n;++o<a;)null!=(n=e[o])&&n>r&&(r=n)}else for(;++o<a;)if(null!=(n=t(e[o],o,e))&&n>=n)for(r=n;++o<a;)null!=(n=t(e[o],o,e))&&n>r&&(r=n);return r}},function(e,t,n){"use strict";n(35)},function(e,t,n){"use strict";n(28),n(35),n(90)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(28)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(157)},function(e,t,n){"use strict";var r=(n(333),n(334),n(91));n.d(t,"a",function(){return r.a});n(335),n(336),n(337)},function(e,t,n){"use strict";n(91)},function(e,t,n){"use strict";function r(){}function a(e,t){var n=new r;if(e instanceof r)e.each(function(e){n.add(e)});else if(e){var a=-1,o=e.length;if(null==t)for(;++a<o;)n.add(e[a]);else for(;++a<o;)n.add(t(e[a],a,e))}return n}var o=n(91),i=o.a.prototype;r.prototype=a.prototype={constructor:r,has:i.has,add:function(e){return e+="",this[o.b+e]=e,this},remove:i.remove,clear:i.clear,values:i.keys,size:i.size,empty:i.empty,each:i.each}},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){function e(e){return+e}var t=[0,1];return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=a.a.call(n,i.a),e):t.slice()},e.copy=function(){return r().domain(t)},Object(o.b)(e)}t.a=r;var a=n(20),o=n(36),i=n(159)},function(e,t,n){"use strict";var r=n(12),a=n(160);t.a=function(e,t,n){var o,i=e[0],u=e[e.length-1],c=Object(r.i)(i,u,null==t?10:t);switch(n=Object(a.c)(null==n?",f":n),n.type){case"s":var l=Math.max(Math.abs(i),Math.abs(u));return null!=n.precision||isNaN(o=Object(a.e)(c,l))||(n.precision=o),Object(a.b)(n,l);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=Object(a.f)(c,Math.max(Math.abs(i),Math.abs(u))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=Object(a.d)(c))||(n.precision=o-2*("%"===n.type))}return Object(a.a)(n)}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var r,a,o,i=n(161);!function(e){r=Object(i.a)(e),a=r.format,o=r.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(e,t,n){"use strict";t.a=function(e,t){return function(n,r){for(var a=n.length,o=[],i=0,u=e[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(n.substring(a-=u,a+u)),!((c+=u+1)>r));)u=e[i=(i+1)%e.length];return o.reverse().join(t)}}},function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";t.a=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(a>0){if(!+e[r])break e;a=0}}return a>0?e.slice(0,a)+e.slice(t+1):e}},function(e,t,n){"use strict";var r=n(163),a=n(345);t.a={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Object(a.a)(100*e,t)},r:a.a,s:r.a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";var r=n(93);t.a=function(e,t){var n=Object(r.a)(e,t);if(!n)return e+"";var a=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+a:a.length>o+1?a.slice(0,o+1)+"."+a.slice(o+1):a+new Array(o-a.length+2).join("0")}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(59);t.a=function(e){return Math.max(0,-Object(r.a)(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(59);t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(t)/3)))-Object(r.a)(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(59);t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Object(r.a)(t)-Object(r.a)(e))+1}},function(e,t,n){"use strict";function r(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:Object(p.a)(t)}function a(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function o(e){return isFinite(e)?+("1e"+e):e<0?0:e}function i(e){return 10===e?o:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function u(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function c(e){return function(t){return-e(-t)}}function l(){function e(){return p=u(o),y=i(o),n()[0]<0&&(p=c(p),y=c(y)),t}var t=Object(h.b)(r,a).domain([1,10]),n=t.domain,o=10,p=u(10),y=i(10);return t.base=function(t){return arguments.length?(o=+t,e()):o},t.domain=function(t){return arguments.length?(n(t),e()):n()},t.ticks=function(e){var t,r=n(),a=r[0],i=r[r.length-1];(t=i<a)&&(f=a,a=i,i=f);var u,c,l,f=p(a),d=p(i),h=null==e?10:+e,b=[];if(!(o%1)&&d-f<h){if(f=Math.round(f)-1,d=Math.round(d)+1,a>0){for(;f<d;++f)for(c=1,u=y(f);c<o;++c)if(!((l=u*c)<a)){if(l>i)break;b.push(l)}}else for(;f<d;++f)for(c=o-1,u=y(f);c>=1;--c)if(!((l=u*c)<a)){if(l>i)break;b.push(l)}}else b=Object(s.j)(f,d,Math.min(d-f,h)).map(y);return t?b.reverse():b},t.tickFormat=function(e,n){if(null==n&&(n=10===o?".0e":","),"function"!=typeof n&&(n=Object(f.a)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,o*e/t.ticks().length);return function(e){var t=e/y(Math.round(p(e)));return t*o<o-.5&&(t*=o),t<=r?n(e):""}},t.nice=function(){return n(Object(d.a)(n(),{floor:function(e){return y(Math.floor(p(e)))},ceil:function(e){return y(Math.ceil(p(e)))}}))},t.copy=function(){return Object(h.a)(t,l().base(o))},t}t.a=l;var s=n(12),f=n(160),p=n(92),d=n(164),h=n(58)},function(e,t,n){"use strict";function r(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function a(){function e(e,t){return(t=r(t,n)-(e=r(e,n)))?function(a){return(r(a,n)-e)/t}:Object(i.a)(t)}function t(e,t){return t=r(t,n)-(e=r(e,n)),function(a){return r(e+t*a,1/n)}}var n=1,o=Object(c.b)(e,t),l=o.domain;return o.exponent=function(e){return arguments.length?(n=+e,l(l())):n},o.copy=function(){return Object(c.a)(o,a().exponent(n))},Object(u.b)(o)}function o(){return a().exponent(.5)}t.a=a,t.b=o;var i=n(92),u=n(36),c=n(58)},function(e,t,n){"use strict";function r(){function e(){var e=0,r=Math.max(1,i.length);for(u=new Array(r-1);++e<r;)u[e-1]=Object(a.f)(n,e/r);return t}function t(e){if(!isNaN(e=+e))return i[Object(a.b)(u,e)]}var n=[],i=[],u=[];return t.invertExtent=function(e){var t=i.indexOf(e);return t<0?[NaN,NaN]:[t>0?u[t-1]:n[0],t<u.length?u[t]:n[n.length-1]]},t.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var r,o=0,i=t.length;o<i;++o)null==(r=t[o])||isNaN(r=+r)||n.push(r);return n.sort(a.a),e()},t.range=function(t){return arguments.length?(i=o.b.call(t),e()):i.slice()},t.quantiles=function(){return u.slice()},t.copy=function(){return r().domain(n).range(i)},t}t.a=r;var a=n(12),o=n(20)},function(e,t,n){"use strict";function r(){function e(e){if(e<=e)return s[Object(a.b)(l,e,0,c)]}function t(){var t=-1;for(l=new Array(c);++t<c;)l[t]=((t+1)*u-(t-c)*n)/(c+1);return e}var n=0,u=1,c=1,l=[.5],s=[0,1];return e.domain=function(e){return arguments.length?(n=+e[0],u=+e[1],t()):[n,u]},e.range=function(e){return arguments.length?(c=(s=o.b.call(e)).length-1,t()):s.slice()},e.invertExtent=function(e){var t=s.indexOf(e);return t<0?[NaN,NaN]:t<1?[n,l[0]]:t>=c?[l[c-1],u]:[l[t-1],l[t]]},e.copy=function(){return r().domain([n,u]).range(s)},Object(i.b)(e)}t.a=r;var a=n(12),o=n(20),i=n(36)},function(e,t,n){"use strict";function r(){function e(e){if(e<=e)return n[Object(a.b)(t,e,0,i)]}var t=[.5],n=[0,1],i=1;return e.domain=function(r){return arguments.length?(t=o.b.call(r),i=Math.min(t.length,n.length-1),e):t.slice()},e.range=function(r){return arguments.length?(n=o.b.call(r),i=Math.min(t.length,n.length-1),e):n.slice()},e.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},e.copy=function(){return r().domain(t).range(n)},e}t.a=r;var a=n(12),o=n(20)},function(e,t,n){"use strict";var r=n(7),a=Object(r.a)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Object(r.a)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):a:null},t.a=a;a.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){e.setTime(Math.floor(e/a.d)*a.d)},function(e,t){e.setTime(+e+t*a.d)},function(e,t){return(t-e)/a.d},function(e){return e.getUTCSeconds()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){e.setTime(Math.floor(e/a.c)*a.c)},function(e,t){e.setTime(+e+t*a.c)},function(e,t){return(t-e)/a.c},function(e){return e.getMinutes()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){var t=e.getTimezoneOffset()*a.c%a.b;t<0&&(t+=a.b),e.setTime(Math.floor((+e-t)/a.b)*a.b+t)},function(e,t){e.setTime(+e+t*a.b)},function(e,t){return(t-e)/a.b},function(e){return e.getHours()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*a.c)/a.a},function(e){return e.getDate()-1});t.a=o;o.range},function(e,t,n){"use strict";function r(e){return Object(a.a)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.c)/o.e})}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return s});var a=n(7),o=n(13),i=r(0),u=r(1),c=r(2),l=r(3),s=r(4),f=r(5),p=r(6);i.range,u.range,c.range,l.range,s.range,f.range,p.range},function(e,t,n){"use strict";var r=n(7),a=Object(r.a)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.a=a;a.range},function(e,t,n){"use strict";var r=n(7),a=Object(r.a)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Object(r.a)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.a=a;a.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*a.c)},function(e,t){return(t-e)/a.c},function(e){return e.getUTCMinutes()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*a.b)},function(e,t){return(t-e)/a.b},function(e){return e.getUTCHours()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(7),a=n(13),o=Object(r.a)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/a.a},function(e){return e.getUTCDate()-1});t.a=o;o.range},function(e,t,n){"use strict";function r(e){return Object(a.a)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.e})}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return s});var a=n(7),o=n(13),i=r(0),u=r(1),c=r(2),l=r(3),s=r(4),f=r(5),p=r(6);i.range,u.range,c.range,l.range,s.range,f.range,p.range},function(e,t,n){"use strict";var r=n(7),a=Object(r.a)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.a=a;a.range},function(e,t,n){"use strict";var r=n(7),a=Object(r.a)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Object(r.a)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.a=a;a.range},function(e,t,n){"use strict";function r(e){var t=new Date(e);return isNaN(t)?null:t}var a=n(168),o=n(95);+new Date("2000-01-01T00:00:00.000Z")||Object(o.c)(a.a)},function(e,t,n){"use strict";var r=n(165),a=n(166),o=n(94);t.a=function(){return Object(r.a)(o.v,o.q,o.u,o.l,o.m,o.o,o.r,o.n,a.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(e,t,n){"use strict";var r=n(37);t.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";var r=n(37);t.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";var r=n(37);t.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";var r=n(37);t.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";var r=n(14),a=n(24);t.a=Object(a.b)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"a",function(){return i});var r=n(14),a=n(24),o=Object(a.b)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),i=Object(a.b)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(r.b)();t.b=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return u.h=360*e-100,u.s=1.5-1.5*t,u.l=.8-.9*t,u+""}},function(e,t,n){"use strict";function r(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"d",function(){return u});var a=n(37);t.a=r(Object(a.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var o=r(Object(a.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),i=r(Object(a.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=r(Object(a.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";function r(e){function t(t){var r=(t-n)/(o-n);return e(i?Math.max(0,Math.min(1,r)):r)}var n=0,o=1,i=!1;return t.domain=function(e){return arguments.length?(n=+e[0],o=+e[1],t):[n,o]},t.clamp=function(e){return arguments.length?(i=!!e,t):i},t.interpolator=function(n){return arguments.length?(e=n,t):e},t.copy=function(){return r(e).domain([n,o]).clamp(i)},Object(a.b)(t)}t.a=r;var a=n(36)},function(e,t,n){"use strict";t.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(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(e,t,n){var r=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:function(e,t,n){var r=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:function(e){return{_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0}}}}},discreteTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(e){return e}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(e){return e}}}}}},function(e,t,n){function r(e){return e&&e.length?a(e):[]}var a=n(381);e.exports=r},function(e,t,n){function r(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var u=e[n],c=t?t(u):u;if(!n||!a(c,l)){var l=c;i[o++]=0===u?0:u}}return i}var a=n(47);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=t.a,a=t.d,o=t.e,i=t.f;return"y"===n?a*e+i:r*e+o}function a(e){return e.getScreenCTM().inverse()}function o(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function i(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,t=t||o(e);var n=a(t);return{x:r(e.clientX,n,"x"),y:r(e.clientY,n,"y")}}function u(e,t){var n=e.scale;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:[n.x(t.x[0]),n.x(t.x[1])],y:[n.y(t.y[0]),n.y(t.y[1])]}}function c(e,t,n,r){if(e.polar){var a=e.origin||{x:0,y:0},o=n-a.x,i=r-a.y,u=Math.abs(o*Math.sqrt(1+Math.pow(-i/o,2))),c=(-Math.atan2(i,o)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(c),y:t.y.invert(u)}}return{x:t.x.invert(n),y:t.y.invert(r)}}function l(e){var t=e.x1,n=e.x2,r=e.y1,a=e.y2,o=e.scale,i=c(e,o,t,r),u=c(e,o,n,a),l=function(e,t){return[s.a.getMinValue([e,t]),s.a.getMaxValue([e,t])]};return{x:l(i.x,u.x),y:l(i.y,u.y)}}var s=n(15);t.a={getParentSVG:o,getSVGEventCoordinates:i,getDomainCoordinates:u,getDataCoordinates:c,getBounds:l}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var u=n(4),c=n.n(u),l=n(3),s=n.n(l),f={"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},p={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},d={em:1,ex:.5},h={averageFontConstant:2.1675,widthOverlapCoef:1.25,heightOverlapCoef:1.05,lineCapitalCoef:1.15,lineSpaceHeightCoef:.2},y={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},b=function(e){return e*Math.PI/180},m=function(e){var t=e.split(",")[0].replace(/'|"/g,"");return f[t]||h.averageFontConstant},g=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},v=function(e,t,n){var r=b(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},x=function(e,t){var n=e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return p.hasOwnProperty(n)?r*p[n]:d.hasOwnProperty(n)?(t?r*t:r*y.fontSize)*d[n]:r},O=function(e,t){var n=Array.isArray(e)?e[t]:e,r=c()({},n,y);return s()({},r,{characterConstant:r.characterConstant||m(r.fontFamily),letterSpacing:x(r.letterSpacing,r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:x(String(r.fontSize))})},w=function(e,t){if(!e)return 0;var n=g(e).map(function(e,n){var r=e.toString().length,a=O(t,n);return r*a.fontSize/a.characterConstant+a.letterSpacing*Math.max(r-1,0)});return Math.max.apply(Math,r(n))},_=function(e,t){return e?g(e).reduce(function(e,n,r){var a=O(t,r),o=n.toString().match(/[(A-Z)(0-9)]/),i=o?a.fontSize*h.lineCapitalCoef:a.fontSize,u=0===r?0:a.fontSize*h.lineSpaceHeightCoef;return e+a.lineHeight*(i+u)},0):0},j=function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=_(e,t),a=w(e,t),o=n?v(a,r,n):a,i=n?v(r,a,n):r;return{width:o*h.widthOverlapCoef,height:i*h.heightOverlapCoef}};t.a={approximateTextSize:j,convertLengthToPixels:x}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var u=n(23),c=n.n(u),l=n(97),s=n.n(l),f=n(38),p=n.n(f),d=n(389),h=n.n(d),y=n(34),b=n.n(y),m=n(5),g=n.n(m),v=n(55),x=n.n(v),O=n(4),w=n.n(O),_=n(3),j=n.n(_),P=n(0),C=n.n(P),M=n(170),A=n(82),k=n(83),E=n(88),T=n(96),S=n(87),D=n(15),N=n(6);t.a={getData:function(e,t){return e.data?E.a.getData(e):(t=t||C.a.Children.toArray(e.children),this.getDataFromChildren(t))},getDefaultDomainPadding:function(e,t,n){var r=n.some(function(e){return e.props&&e.props.horizontal}),a=e&&e.horizontal||r,o=n.filter(function(e){return e.type&&e.type.role&&"group"===e.type.role});if(!(o.length<1)){var i=o[0].props,u=i.offset,c=i.children;return(a?{y:u*c.length/2}:{x:u*c.length/2})[t]}},getDomain:function(e,t,n){n=n||C.a.Children.toArray(e.children);var a,o=T.a.getDomainFromProps(e,t),i=T.a.getMinFromProps(e,t),u=T.a.getMaxFromProps(e,t),c=e.polar?0:this.getDefaultDomainPadding(e,t,n);if(o)a=o;else{var l=(e.data||e.y)&&E.a.getData(e),s=l?T.a.getDomainFromData(e,t,l):[],f=this.getDomainFromChildren(e,t,n),p=i||D.a.getMinValue(r(s).concat(r(f))),d=u||D.a.getMaxValue(r(s).concat(r(f)));a=T.a.getDomainFromMinMax(p,d)}return T.a.formatDomain(a,j()({domainPadding:c},e),t)},setAnimationState:function(e,t){if(e.animate)if(e.animate.parentState){var n=e.animate.parentState.nodesWillExit,r=n?e:null;this.setState(w()({oldProps:r,nextProps:t},e.animate.parentState))}else{var a=C.a.Children.toArray(e.children),o=C.a.Children.toArray(t.children),i=function(e){var t=function(e){return e.type&&e.type.continuous};return Array.isArray(e)?h()(e,t):t(e)},u=!e.polar&&h()(a,function(e){return i(e)||e.props.children&&i(e.props.children)}),c=k.a.getInitialTransitionState(a,o),l=c.nodesWillExit,s=c.nodesWillEnter,f=c.childrenTransitions,p=c.nodesShouldEnter;this.setState({nodesWillExit:l,nodesWillEnter:s,nodesShouldEnter:p,childrenTransitions:D.a.isArrayOfArrays(f)?f[0]:f,oldProps:l?e:null,nextProps:t,continuous:u})}},getAllEvents:function(e){var t=["groupComponent","containerComponent","labelComponent"];if(this.componentEvents=S.a.getComponentEvents(e,t),Array.isArray(this.componentEvents)){var n;return Array.isArray(e.events)?(n=this.componentEvents).concat.apply(n,r(e.events)):this.componentEvents}return e.events},getAnimationProps:function(e,t,n){var r=this;if(!e.animate)return t.props.animate;var a=e.animate&&e.animate.getTransitions,o=function(){var e=r.state&&r.state.childrenTransitions;return e=D.a.isArrayOfArrays(e)?e[n]:e,w()({childrenTransitions:e},r.state)}(),i=e.animate&&e.animate.parentState||o;if(!a){var u=k.a.getTransitionPropsFactory(e,o,function(e){return r.setState(e)});a=function(e){return u(e,n)}}return w()({getTransitions:a,parentState:i},e.animate,t.props.animate)},getDomainFromChildren:function(e,t,n){var r=n?n.slice(0):C.a.Children.toArray(e.children),a=n.some(function(e){return e.props&&e.props.horizontal}),o=e&&e.horizontal||a.length>0,i=M.a.getCurrentAxis(t,o),u=e.data?E.a.getData(e,t):void 0,c=e.polar,l=e.startAngle,s=e.endAngle,f=e.categories,p=e.minDomain,d=e.maxDomain,h={polar:c,startAngle:l,endAngle:s,categories:f,minDomain:p,maxDomain:d},y=u?j()(h,{data:u}):h,b=function(e){var t=j()({},e.props,y);return T.a.isDomainComponent(e)?e.type&&g()(e.type.getDomain)?e.props&&e.type.getDomain(t,i):T.a.getDomain(t,i):null},m=N.a.reduceChildren(r,b,e);return[0===m.length?0:D.a.getMinValue(m),0===m.length?1:D.a.getMaxValue(m)]},getDataFromChildren:function(e,t){var n=e.polar,r=e.startAngle,a=e.endAngle,o=e.categories,i=e.minDomain,u=e.maxDomain,c={polar:n,startAngle:r,endAngle:a,categories:o,minDomain:i,maxDomain:u},l=0,f=function(e,t,n){var r,a=j()({},e.props,c);return E.a.isDataComponent(e)?(e.type&&g()(e.type.getData)?(e=n?C.a.cloneElement(e,n.props):e,r=e.type.getData(a)):r=E.a.getData(a),l+=1,r.map(function(e){return j()({stack:l},e)})):null},d=t?t.slice(0):C.a.Children.toArray(e.children),h=d.filter(function(e){return e.type&&"stack"===e.type.role}).length,y=N.a.reduceChildren(d,f,e),b=h?"eventKey":"stack";return s()(p()(y,b))},getColor:function(e,t,n){var r=e.style,a=e.colorScale,o=e.color;if(r&&r.data&&r.data.fill)return r.data.fill;if(a=t.props&&t.props.colorScale?t.props.colorScale:a,o=t.props&&t.props.color?t.props.color:o,a||o){var i=Array.isArray(a)?a:A.a.getColorScale(a);return o||i[n%i.length]}},getWidth:function(e){var t=e.datasets,n=e.scale,r=e.horizontal,a=r?n.y.range():n.x.range(),o=Math.abs(a[1]-a[0]),i=Array.isArray(t[0])?t[0].length:1,u=t.length*i+2;return{width:Math.round(.5*o/u)}},getStyle:function(e,t,n){var r=e&&e[n]&&e[n].style?e[n].style:{};return N.a.getStyles(t,r)},getChildStyle:function(e,t,n){var r=n.style,a=n.role,o=e.props.style||{};if(Array.isArray(o))return o;var i=e.type&&e.type.role,u="stack"===i?void 0:this.getColor(n,e,t),c="line"===i?{fill:"none",stroke:u}:{fill:u},l="stack"===a?{}:this.getWidth(n),s=w()({},o.data,j()({},l,r.data,c)),f=w()({},o.labels,r.labels);return{parent:r.parent,data:s,labels:f}},getStringsFromCategories:function(e,t){var n=function(e){var n=e.props||{};if(T.a.isDomainComponent(e)&&n.categories){var r=n.categories&&!Array.isArray(n.categories)?n.categories[t]:n.rops.categories,a=r&&r.filter(function(e){return"string"==typeof e});return a?D.a.removeUndefined(a):[]}return null};return N.a.reduceChildren(e.slice(0),n)},getStringsFromData:function(e,t){var n=function(e){var n,r=e.props||{};if(!E.a.isDataComponent(e))return null;n=e.type&&g()(e.type.getData)?e.type.getData(r):E.a.getData(r);var a="x"===t?"xName":"yName";return n.map(function(e){return e[a]}).filter(Boolean)};return N.a.reduceChildren(e.slice(0),n)},getStringsFromChildren:function(e,t,n){var a=N.a.getCurrentAxis(t,e.horizontal);n=n||C.a.Children.toArray(e.children);var o=c()(e.categories)?e.categories[t]:e.categories,i=M.a.getAxisComponent(n,a),u=i?E.a.getStringsFromAxes(i.props,t):[],l=o||this.getStringsFromCategories(n,t),s=this.getStringsFromData(n,t);return b()(x()(r(l).concat(r(s),r(u))))},getCategories:function(e,t){var n=e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories,r=n||this.getStringsFromChildren(e,t);return r.length>0?r:void 0}}},function(e,t,n){function r(e,t){return a(t,function(t){return e[t]})}var a=n(22);e.exports=r},function(e,t,n){function r(e,t){return function(n,r){var c=u(n)?a:o,l=t?t():{};return c(n,e,i(r,2),l)}}var a=n(387),o=n(388),i=n(17),u=n(8);e.exports=r},function(e,t){function n(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}e.exports=n},function(e,t){function n(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(391),a=n(392),o=n(18),i=Object.prototype,u=i.toString,c=a(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=u.call(t)),e[t]=n},r(o));e.exports=c},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){return a(n,e,t(r),{})}}var a=n(393);e.exports=r},function(e,t,n){function r(e,t,n,r){return a(e,function(e,a,o){t(r,n(e),a,o)}),r}var a=n(98);e.exports=r},function(e,t,n){var r=n(395),a=r();e.exports=a},function(e,t){function n(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++a];if(!1===n(o[c],c,o))break}return t}}e.exports=n},function(e,t,n){"use strict";var r=n(397);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return j});var s=n(3),f=n.n(s),p=n(4),d=n.n(p),h=n(2),y=n.n(h),b=n(0),m=n.n(b),g=n(1),v=n(60),x=n(171),O=n(172),w=n(405),_={width:450,height:300,padding:50},j=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.state={},e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0}),n.setAnimationState=g.M.setAnimationState.bind(l(n)),n.events=g.M.getAllEvents(e),n}return c(t,e),i(t,[{key:"componentWillMount",value:function(){this.events=g.M.getAllEvents(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.props.animate&&this.setAnimationState(this.props,e),this.events=g.M.getAllEvents(e)}},{key:"getNewChildren",value:function(e,t,n){var r=Object(w.c)(e,t,n),a=g.M.getAnimationProps.bind(this);return r.map(function(t,n){var r=f()({animate:a(e,t,n)},t.props);return m.a.cloneElement(t,r)})}},{key:"renderContainer",value:function(e,t){var n=d()({},e.props,t);return m.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,a=e.standalone,o=e.theme,i=e.polar,u=e.name,c=t.domain,l=t.scale,s=t.style,f=t.origin,p=t.radius,d=t.horizontal;return{domain:c,scale:l,width:n,height:r,standalone:a,theme:o,style:s.parent,horizontal:d,name:u,polar:i,radius:p,origin:i?f:void 0}}},{key:"render",value:function(){var e=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,t=g.m.modifyProps(e,_,"chart"),n=t.eventKey,r=t.containerComponent,a=t.groupComponent,o=t.standalone,i=t.externalEventMutations,u=e.polar?t.defaultPolarAxes:t.defaultAxes,c=Object(w.b)(t,u),l=Object(w.a)(t,c),s=this.getNewChildren(t,c,l),f=o?this.getContainerProps(t,l):{},p=o?this.renderContainer(r,f):a;return this.events?m.a.createElement(v.a,{container:p,eventKey:n,events:this.events,externalEventMutations:i},s):m.a.cloneElement(p,p.props,s)}}]),t}(m.a.Component);Object.defineProperty(j,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryChart"}),Object.defineProperty(j,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.baseProps,{children:y.a.oneOfType([y.a.arrayOf(y.a.node),y.a.node]),defaultAxes:y.a.shape({independent:y.a.element,dependent:y.a.element}),defaultPolarAxes:y.a.shape({independent:y.a.element,dependent:y.a.element}),endAngle:y.a.number,innerRadius:g.u.nonNegative,startAngle:y.a.number})}),Object.defineProperty(j,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:m.a.createElement(g.G,null),defaultAxes:{independent:m.a.createElement(x.a,null),dependent:m.a.createElement(x.a,{dependentAxis:!0})},defaultPolarAxes:{independent:m.a.createElement(O.a,null),dependent:m.a.createElement(O.a,{dependentAxis:!0})},groupComponent:m.a.createElement("g",null),standalone:!0,theme:g.J.grayscale}}),Object.defineProperty(j,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent"]})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return A});var d=n(399),h=n.n(d),y=n(19),b=n.n(y),m=n(4),g=n.n(m),v=n(5),x=n.n(v),O=n(3),w=n.n(O),_=n(0),j=n.n(_),P=n(2),C=n.n(P),M=n(1),A=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.state=n.state||{},n.getScopedEvents=M.l.getScopedEvents.bind(p(n)),n.getEventState=M.l.getEventState.bind(p(n)),n.getTimer=n.getTimer.bind(p(n)),n.baseProps=n.getBaseProps(e),n}return f(t,e),l(t,[{key:"getChildContext",value:function(){return{getTimer:this.getTimer}}},{key:"componentWillReceiveProps",value:function(e){this.baseProps=this.getBaseProps(e);var t=this.getExternalMutations(e,this.baseProps);this.applyExternalMutations(e,t)}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new M.C),this.timer)}},{key:"getAllEvents",value:function(e){var t=["container","groupComponent"],n=M.l.getComponentEvents(e,t);return Array.isArray(n)?Array.isArray(e.events)?n.concat.apply(n,r(e.events)):n:e.events}},{key:"applyExternalMutations",value:function(e,t){if(!b()(t)){var n=e.externalEventMutations.reduce(function(e,t){return e=x()(t.callback)?e.concat(t.callback):e},[]),r=n.length?function(){n.forEach(function(e){return e()})}:void 0;this.setState(t,r)}}},{key:"getExternalMutations",value:function(e,t){return b()(e.externalEventMutations)?void 0:M.l.getExternalMutationsWithChildren(e.externalEventMutations,t,this.state,Object.keys(t))}},{key:"getBaseProps",value:function(e){var t=e.container,n=j.a.Children.toArray(this.props.children),r=this.getBasePropsFromChildren(n),a=t?t.props:{};return w()({},r,{parent:a})}},{key:"getBasePropsFromChildren",value:function(e){var t=function(e,t){if(e.type&&x()(e.type.getBaseProps)){var n=e.props&&e.type.getBaseProps(e.props);return n?[[t,n]]:null}return null},n=M.m.reduceChildren(e,t);return h()(n)}},{key:"getNewChildren",value:function(e,t){var n=this,r=e.events,a=e.eventKey,o=function(e,i){return e.reduce(function(e,u,c){if(u.props.children){var l=j.a.Children.toArray(u.props.children),s=i.slice(c,c+l.length),f=j.a.cloneElement(u,u.props,o(l,s));return e.concat(f)}if(u.type&&x()(u.type.getBaseProps)){var p=u.props.name||i[c],d=Array.isArray(r)&&r.filter(function(e){return"parent"!==e.target&&(Array.isArray(e.childName)?e.childName.indexOf(p)>-1:e.childName===p||"all"===e.childName)}),h={events:d,getEvents:function(e,r){return n.getScopedEvents(e,r,p,t)},getEventState:function(e,t){return n.getEventState(e,t,p)}};return e.concat(j.a.cloneElement(u,w()({key:"events-".concat(p),sharedEvents:h,eventKey:a,name:p},u.props)))}return e.concat(u)},[])},i=Object.keys(t),u=j.a.Children.toArray(e.children);return o(u,i)}},{key:"getContainer",value:function(e,t,n){var r=this,a=this.getNewChildren(e,t),o=Array.isArray(n)&&n.filter(function(e){return"parent"===e.target}),i=o.length>0?{events:o,getEvents:function(e,n){return r.getScopedEvents(e,n,null,t)},getEventState:this.getEventState}:null,u=e.container||e.groupComponent,c=u.type&&u.type.role,l=u.props||{},s=M.l.getEvents.bind(this),f=i&&s({sharedEvents:i},"parent"),p=g()({},this.getEventState("parent","parent"),l,t.parent,{children:a}),d=g()({},M.l.getPartialEvents(f,"parent",p),l.events);return"container"===c?j.a.cloneElement(u,w()({},p,{events:d})):j.a.cloneElement(u,d,a)}},{key:"render",value:function(){var e=this.getAllEvents(this.props);return e?this.getContainer(this.props,this.baseProps,e):j.a.cloneElement(this.props.container,{children:this.props.children})}}]),t}(j.a.Component);Object.defineProperty(A,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySharedEvents"}),Object.defineProperty(A,"role",{configurable:!0,enumerable:!0,writable:!0,value:"shared-event-wrapper"}),Object.defineProperty(A,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:C.a.oneOfType([C.a.arrayOf(C.a.node),C.a.node]),container:C.a.node,eventKey:C.a.oneOfType([C.a.array,C.a.func,M.u.allOfType([M.u.integer,M.u.nonNegative]),C.a.string]),events:C.a.arrayOf(C.a.shape({childName:C.a.oneOfType([C.a.string,C.a.array]),eventHandlers:C.a.object,eventKey:C.a.oneOfType([C.a.array,C.a.func,M.u.allOfType([M.u.integer,M.u.nonNegative]),C.a.string]),target:C.a.string})),externalEventMutations:C.a.arrayOf(C.a.shape({callback:C.a.function,childName:C.a.oneOfType([C.a.string,C.a.array]),eventKey:C.a.oneOfType([C.a.array,M.u.allOfType([M.u.integer,M.u.nonNegative]),C.a.string]),mutation:C.a.function,target:C.a.oneOfType([C.a.string,C.a.array])})),groupComponent:C.a.node}}),Object.defineProperty(A,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:j.a.createElement("g",null)}}),Object.defineProperty(A,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:C.a.func}}),Object.defineProperty(A,"childContextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:C.a.func}})},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var a=e[t];r[a[0]]=a[1]}return r}e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=n(3),y=n.n(h),b=n(2),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O=n(401),w={width:450,height:300,padding:50},_=["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"],j={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},P=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),s(t,[{key:"renderLine",value:function(e){var t=e.axisComponent,n=this.getComponentProps(t,"axis",0);return v.a.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent;if(!e.label)return null;var n=this.getComponentProps(t,"axisLabel",0);return v.a.cloneElement(t,n)}},{key:"renderGridAndTicks",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.gridComponent,o=e.name;return this.dataKeys.map(function(i,u){var c=t.getComponentProps(n,"ticks",u),l=v.a.cloneElement(n,c),s=t.getComponentProps(a,"grid",u),f=v.a.cloneElement(a,s),p=t.getComponentProps(r,"tickLabels",u),d=v.a.cloneElement(r,p);return v.a.cloneElement(e.groupComponent,{key:"".concat(o,"-tick-group-").concat(i)},f,l,d)})}},{key:"fixLabelOverlap",value:function(e,t){var n=x.b.isVertical(t),r=n?t.height:t.width,a=function(e){return e.type&&"label"===e.type.role},o=e.map(function(e){return e.props.children}).reduce(function(e,t){return e.concat(t)},[]).filter(a).map(function(e){return e.props}),i=function(e){return"object"==typeof e?y()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}},u=o.reduce(function(e,t){var r=i(t.style.padding),a=x.B.approximateTextSize(t.text,{angle:t.angle,fontSize:t.style.fontSize,letterSpacing:t.style.letterSpacing,fontFamily:t.style.fontFamily});return e+(n?a.height+r.top+r.bottom:a.width+r.right+r.left)},0),c=Math.floor(r*e.length/u),l=Math.ceil(e.length/c)||1,s=function(e){return e.props.children.filter(a).reduce(function(e,t){return(n?t.props.y:t.props.x)||0},0)};return e.sort(function(e,t){return n?s(t)-s(e):s(e)-s(t)}).filter(function(e,t){return t%l==0})}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=x.m.modifyProps(this.props,w,"axis");if(this.shouldAnimate())return this.animateComponent(e,_);var t=this.renderGridAndTicks(e),n=e.fixLabelOverlap?this.fixLabelOverlap(t,e):t,r=[this.renderLine(e),this.renderLabel(e)].concat(a(n));return e.standalone?this.renderContainer(e.containerComponent,r):v.a.cloneElement(e.groupComponent,{},r)}}]),t}(v.a.Component);Object.defineProperty(P,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(P,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(P,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(P,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,{axisComponent:m.a.element,axisLabelComponent:m.a.element,categories:m.a.oneOfType([m.a.arrayOf(m.a.string),m.a.shape({x:m.a.arrayOf(m.a.string),y:m.a.arrayOf(m.a.string)})]),crossAxis:m.a.bool,dependentAxis:m.a.bool,events:m.a.arrayOf(m.a.shape({target:m.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:m.a.oneOfType([m.a.array,x.u.allOfType([x.u.integer,x.u.nonNegative]),m.a.string]),eventHandlers:m.a.object})),fixLabelOverlap:m.a.bool,gridComponent:m.a.element,groupComponent:m.a.element,invertAxis:m.a.bool,label:m.a.any,offsetX:m.a.number,offsetY:m.a.number,orientation:m.a.oneOf(["top","bottom","left","right"]),origin:m.a.shape({x:m.a.number,y:m.a.number}),stringMap:m.a.object,style:m.a.shape({parent:m.a.object,axis:m.a.object,axisLabel:m.a.object,grid:m.a.object,ticks:m.a.object,tickLabels:m.a.object}),tickComponent:m.a.element,tickCount:x.u.allOfType([x.u.integer,x.u.greaterThanZero]),tickFormat:m.a.oneOfType([m.a.func,x.u.homogeneousArray]),tickLabelComponent:m.a.element,tickValues:x.u.homogeneousArray})}),Object.defineProperty(P,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:v.a.createElement(x.p,{type:"axis"}),axisLabelComponent:v.a.createElement(x.H,null),tickLabelComponent:v.a.createElement(x.H,null),tickComponent:v.a.createElement(x.p,{type:"tick"}),gridComponent:v.a.createElement(x.p,{type:"grid"}),scale:"linear",standalone:!0,theme:x.J.grayscale,containerComponent:v.a.createElement(x.G,null),groupComponent:v.a.createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(P,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getDomain}),Object.defineProperty(P,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getAxis}),Object.defineProperty(P,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:O.b}),Object.defineProperty(P,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.c)(e,w.style)}}),Object.defineProperty(P,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.a)(e,w)}}),Object.defineProperty(P,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]}),t.a=Object(x.N)(P,j)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return V}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return x});var c=n(5),l=n.n(c),s=n(4),f=n.n(s),p=n(3),d=n.n(p),h=n(1),y={top:-1,left:-1,right:1,bottom:1},b=function(e,t,n){return l()(e)?e(t,n):e},m=function(e,t,n){return e&&Object.keys(e).some(function(t){return l()(e[t])})?Object.keys(e).reduce(function(r,a){return r[a]=b(e[a],t,n),r},{}):e},g=function(e){var t=h.b.getAxis(e),n=h.w.getBaseScale(e,t),r=h.b.getDomain(e)||n.domain();return n.range(h.m.getRange(e,t)),n.domain(r),n},v=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",o=t&&t[a]&&t[a].style;return r&&o?function(){return["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce(function(e,t){return e[t]=f()({},o[t],r[t]),e},{})}():o||r},x=function(e,t){var n=e.style||{};t=t||{};var r={height:"100%",width:"100%"};return{parent:f()(n.parent,t.parent,r),axis:f()({},n.axis,t.axis),axisLabel:f()({},n.axisLabel,t.axisLabel),grid:f()({},n.grid,t.grid),ticks:f()({},n.ticks,t.ticks),tickLabels:f()({},n.tickLabels,t.tickLabels)}},O=function(e,t,n){var r=e.position,a=e.transform;return{x1:a.x,y1:a.y,x2:a.x+r.x2,y2:a.y+r.y2,style:t,datum:n}},w=function(e,t,n,r,a){var o=e.position,i=e.transform;return{style:t,x:i.x+o.x,y:i.y+o.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:a,datum:r}},_=function(e,t,n){var r=e.edge,a=e.transform;return{type:"grid",x1:a.x,y1:a.y,x2:r.x+a.x,y2:r.y+a.y,style:t,datum:n}},j=function(e,t,n){var r=t.style,a=t.padding,o=t.isVertical,i=e.width,u=e.height;return{type:"axis",style:r.axis,x1:o?n.x:a.left+n.x,x2:o?n.x:i-a.right+n.x,y1:o?a.top+n.y:n.y,y2:o?u-a.bottom+n.y:n.y}},P=function(e,t,n){return{tickStyle:m(e.ticks,t,n),labelStyle:m(e.tickLabels,t,n),gridStyle:m(e.grid,t,n)}},C=function(e){return e.dependentAxis?e.theme&&e.theme.dependentAxis?"dependentAxis":"axis":e.theme&&e.theme.independentAxis?"independentAxis":"axis"},M=function(e,t){var n=e.theme.axis||{};return f()({},e.theme[t],n)},A=function(e,t,n){return"axis"!==n&&(e.theme[n]=M(e,n)),h.m.modifyProps(e,t,n)},k=function(e,t,n){var r=t.style,a=t.orientation,o=t.padding,i=t.labelPadding,u=t.isVertical,c=y[a],l=o.left+o.right,s=o.top+o.bottom,f=c<0?"end":"start",p=r.axisLabel,d=u?-90:0;return{x:u?n.x+c*i:(e.width-l)/2+o.left+n.x,y:u?(e.height-s)/2+o.top+n.y:c*i+n.y,verticalAnchor:p.verticalAnchor||f,textAnchor:p.textAnchor||"middle",angle:void 0===p.angle?d:p.angle,style:p,text:e.label}},E=function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"},r=n[e];return{textAnchor:t?r:"middle",verticalAnchor:t?"middle":r}},T=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=h.b.isVertical(e),a=n.fontSize||14;return e.label?a*(r?2.3:1.6):0},S=function(e,t){var n=t.style,r=t.padding,o=t.isVertical,i=t.orientation,u=t.labelPadding,c=t.stringTicks,l=t.ticks,s="right"===i?r.right:r.left,f="top"===i?r.top:r.bottom,p=n.axisLabel.fontSize||14,d=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:s,h=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:f,y=l.map(function(t){var r=c?e.tickValues[t-1]:t;return m(n.ticks,r).size||0}),b=p+2*Math.max.apply(Math,a(y))+u,g=1.2*p,v=o?b:g,x=o?g:b;return{x:null!==d&&void 0!==d?d:v,y:null!==h&&void 0!==h?h:x}},D=function(e,t,n){var r=t.orientation;return{top:{x:0,y:n.y},bottom:{x:0,y:e.height-n.y},left:{x:n.x,y:0},right:{x:e.width-n.x,y:0}}[r]},N=function(e,t,n){var r=e.tickStyle,a=e.labelStyle,o=r.size||0,i=r.padding||0,u=a.padding||0,c=o+i+u,l=y[t];return{x:n?l*c:0,x2:n?l*o:0,y:n?0:l*c,y2:n?0:l*o}},L=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},R=function(e,t){var n=t.orientation,r=t.padding,a=t.isVertical,o=-y[n];return{x:a?o*(e.width-(r.left+r.right)):0,y:a?0:o*(e.height-(r.top+r.bottom))}},z=function(e,t,n){var r=t.padding,a=t.orientation,o="right"===a?r.right:r.left,i="top"===a?r.top:r.bottom;return{x:e.crossAxis?n.x-o:0,y:e.crossAxis?n.y-i:0}},I=function(e,t){var n=S(e,t);return{globalTransform:D(e,t,n),gridOffset:z(e,t,n),gridEdge:R(e,t)}},B=function(e){var t=v(e),n=x(e,t),r=h.m.getPadding(e),a=e.orientation||(e.dependentAxis?"left":"bottom"),o=h.b.isVertical(e),i=T(e,n),u=h.b.stringTicks(e)?e.tickValues:void 0,c=h.b.getAxis(e),l=g(e),s=h.b.getDomain(e),f=h.b.getTicks(e,l,e.crossAxis),p=h.b.getTickFormat(e,l);return{axis:c,style:n,padding:r,orientation:a,isVertical:o,labelPadding:i,stringTicks:u,anchors:E(a,o),scale:l,ticks:f,tickFormat:p,domain:s}},V=function(e,t){var n=C(e);e=A(e,t,n);var a=B(e),o=a.axis,i=a.style,u=a.orientation,c=a.isVertical,l=a.scale,s=a.ticks,f=a.tickFormat,p=a.anchors,y=a.domain,b=a.stringTicks,m=a.name,g="x"===o?"y":"x",v=e,x=v.width,M=v.height,E=v.standalone,T=v.theme,S=v.polar,D=v.padding,R=I(e,a),z=R.globalTransform,V=R.gridOffset,F=R.gridEdge,W={scale:r({},o,l),polar:S},q=j(e,a,z),U=k(e,a,z),H={parent:d()({style:i.parent,ticks:s,standalone:E,theme:T,width:x,height:M,padding:D,domain:y,name:m},W)},G={dimension:g,range:r({},g,h.m.getRange(e,g)),scale:e.scale&&e.scale[g]?r({},g,e.scale[g]):void 0};return s.reduce(function(e,t,n){var r=b?b[n]:t,a=P(i,r,n),h={position:N(a,u,c),transform:L(l(t),z,c)},y={edge:F,transform:{x:c?-V.x+z.x:l(t)+z.x,y:c?l(t)+z.y:V.y+z.y}};return e[n]={axis:d()({dimension:o},W,q),axisLabel:d()({},W,U),ticks:d()({},W,O(h,a.tickStyle,t)),tickLabels:d()({},W,w(h,a.labelStyle,p,t,f(t,n,s))),grid:d()({},W,G,_(y,a.gridStyle,t))},e},H)}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=n(3),y=n.n(h),b=n(0),m=n.n(b),g=n(2),v=n.n(g),x=n(1),O=n(403),w={width:450,height:300,padding:50},_=["style","domain","range","tickCount","tickValues","padding","width","height"],j={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},P=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),s(t,[{key:"renderAxisLine",value:function(e){var t=e.dependentAxis,n=t?e.axisComponent:e.circularAxisComponent,r=this.getComponentProps(n,"axis",0);return m.a.cloneElement(n,r)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent,n=e.dependentAxis;if(!e.label||!n)return null;var r=this.getComponentProps(t,"axisLabel",0);return m.a.cloneElement(t,r)}},{key:"renderAxis",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,o=e.name,i=e.dependentAxis?"radial":"angular",u="radial"===i?e.circularGridComponent:e.gridComponent,c=this.dataKeys.map(function(e,r){var a=y()({key:"".concat(o,"-tick-").concat(e)},t.getComponentProps(n,"ticks",r));return m.a.cloneElement(n,a)}),l=this.dataKeys.map(function(e,n){var r=y()({key:"".concat(o,"-grid-").concat(e)},t.getComponentProps(u,"grid",n));return m.a.cloneElement(u,r)}),s=this.dataKeys.map(function(e,n){var a=y()({key:"".concat(o,"-tick-").concat(e)},t.getComponentProps(r,"tickLabels",n));return m.a.cloneElement(r,a)}),f=this.renderAxisLine(e),p=this.renderLabel(e),d=[f,p].concat(a(c),a(l),a(s));return this.renderGroup(e,d)}},{key:"renderGroup",value:function(e,t){var n=e.groupComponent,r=n.props||{},a=x.m.getPolarOrigin(e),o=r.transform||"translate(".concat(a.x,", ").concat(a.y,")");return m.a.cloneElement(n,{transform:o},t)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=x.m.modifyProps(this.props,w,"axis");if(this.shouldAnimate())return this.animateComponent(e,_);var t=this.renderAxis(e);return e.standalone?this.renderContainer(e.containerComponent,t):t}}]),t}(m.a.Component);Object.defineProperty(P,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(P,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(P,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(P,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,{axisAngle:v.a.number,axisComponent:v.a.element,axisLabelComponent:v.a.element,axisValue:v.a.number,categories:v.a.oneOfType([v.a.arrayOf(v.a.string),v.a.shape({x:v.a.arrayOf(v.a.string),y:v.a.arrayOf(v.a.string)})]),circularAxisComponent:v.a.element,circularGridComponent:v.a.element,containerComponent:v.a.element,dependentAxis:v.a.bool,endAngle:v.a.number,events:v.a.arrayOf(v.a.shape({target:v.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:v.a.oneOfType([v.a.array,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string]),eventHandlers:v.a.object})),gridComponent:v.a.element,innerRadius:x.u.nonNegative,labelPlacement:v.a.oneOf(["parallel","perpendicular","vertical"]),startAngle:v.a.number,stringMap:v.a.object,style:v.a.shape({parent:v.a.object,axis:v.a.object,axisLabel:v.a.object,grid:v.a.object,ticks:v.a.object,tickLabels:v.a.object}),tickComponent:v.a.element,tickCount:x.u.allOfType([x.u.integer,x.u.greaterThanZero]),tickFormat:v.a.oneOfType([v.a.func,x.u.homogeneousArray]),tickLabelComponent:v.a.element,tickValues:x.u.homogeneousArray})}),Object.defineProperty(P,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:m.a.createElement(x.p,{type:"axis"}),axisLabelComponent:m.a.createElement(x.H,null),circularAxisComponent:m.a.createElement(x.a,{type:"axis"}),circularGridComponent:m.a.createElement(x.a,{type:"grid"}),containerComponent:m.a.createElement(x.G,null),endAngle:360,gridComponent:m.a.createElement(x.p,{type:"grid"}),groupComponent:m.a.createElement("g",{role:"presentation"}),labelPlacement:"parallel",scale:"linear",startAngle:0,standalone:!0,theme:x.J.grayscale,tickComponent:m.a.createElement(x.p,{type:"tick"}),tickLabelComponent:m.a.createElement(x.H,null)}}),Object.defineProperty(P,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getDomain}),Object.defineProperty(P,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getAxis}),Object.defineProperty(P,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:O.b}),Object.defineProperty(P,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.c)(e,w.style)}}),Object.defineProperty(P,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.a)(e,w)}}),Object.defineProperty(P,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","circularAxisComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent","circularGridComponent"]}),t.a=Object(x.N)(P,j)},function(e,t,n){"use strict";n.d(t,"b",function(){return O}),n.d(t,"c",function(){return w}),n.d(t,"a",function(){return D});var r=n(5),a=n.n(r),o=n(4),i=n.n(o),u=n(404),c=n.n(u),l=n(3),s=n.n(l),f=n(1),p=function(e,t,n){return"x"===n?e*Math.cos(t):-e*Math.sin(t)},d=function(e){var t=e.dependentAxis?"radial":"angular",n="angular"===t?"radial":"angular";return e.horizontal?n:t},h=function(e,t){var n=function(e){return t(e)%(2*Math.PI)};return c()(e,n)},y=function(e,t,n){return a()(e)?e(t,n):e},b=function(e,t,n){return e&&Object.keys(e).some(function(t){return a()(e[t])})?Object.keys(e).reduce(function(r,a){return r[a]=y(e[a],t,n),r},{}):e},m=function(e,t,n){return{tickStyle:b(e.ticks,t,n),labelStyle:b(e.tickLabels,t,n),gridStyle:b(e.grid,t,n)}},g=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",o=t&&t[a]&&t[a].style;return r&&o?function(){return["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce(function(e,t){return e[t]=i()({},o[t],r[t]),e},{})}():o||r},v=function(e){var t=f.m.getPadding(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2},x=function(e,t){if(e.range&&e.range[t])return e.range[t];if(e.range&&Array.isArray(e.range))return e.range;if("angular"===d(e))return[f.m.degreesToRadians(e.startAngle),f.m.degreesToRadians(e.endAngle)];var n=v(e);return[e.innerRadius||0,n]},O=function(e){var t=f.b.getAxis(e),n=f.w.getBaseScale(e,t),r=f.b.getDomain(e,t)||n.domain(),a=x(e,t);return n.range(a),n.domain(r),n},w=function(e,t){var n=e.style||{};t=t||{};var r={height:"auto",width:"100%"};return{parent:i()(r,n.parent,t.parent),axis:i()({},n.axis,t.axis),axisLabel:i()({},n.axisLabel,t.axisLabel),grid:i()({},n.grid,t.grid),ticks:i()({},n.ticks,t.ticks),tickLabels:i()({},n.tickLabels,t.tickLabels)}},_=function(e){var t=e.axisAngle,n=e.startAngle,r=e.axisValue,a=e.dependentAxis,o=e.scale,i="y"===f.b.getAxis(e)?"x":"y";return void 0!==r&&a&&void 0!==o[i]?f.m.radiansToDegrees(o.x(r)):void 0===t?n:t},j=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.scale,u=t.style,c=t.stringTicks,l=c?c[r]:n,s=m(u,l,r),f=s.tickStyle,p=f.padding||0,d=p,h="radial"===a?_(e):void 0;return"angular"===a?{index:r,datum:n,style:f,x1:o*Math.cos(i(n)),y1:-o*Math.sin(i(n)),x2:(o+p)*Math.cos(i(n)),y2:-(o+p)*Math.sin(i(n))}:{style:u,index:r,datum:n,x1:i(n)/2*Math.cos(h-d),x2:i(n)/2*Math.cos(h+d),y1:-i(n)/2*Math.sin(h-d),y2:-i(n)/2*Math.sin(h+d)}},P=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.tickFormat,u=t.style,c=t.scale,l=t.ticks,p=t.stringTicks,d=p?p[r]:n,h=m(u,d,r),y=h.labelStyle,b=e.tickLabelComponent,g=b.props&&b.props.labelPlacement?b.props.labelPlacement:e.labelPlacement,v=y.padding||0,x="radial"===a?_(e):void 0,O="angular"===a?f.m.radiansToDegrees(c(n)):x+0,w=void 0===y.angle?f.n.getPolarAngle(s()({},e,{labelPlacement:g}),O):y.angle,j="angular"===a?o+v:c(n);return{index:r,datum:n,style:y,angle:w,textAnchor:y.textAnchor||f.n.getPolarTextAnchor(s()({},e,{labelPlacement:g}),O),text:i(n,r,l),x:j*Math.cos(f.m.degreesToRadians(O)),y:-j*Math.sin(f.m.degreesToRadians(O))}},C=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.style,u=t.scale,c=t.stringTicks,l=e.startAngle,s=e.endAngle,f=e.innerRadius,d=void 0===f?0:f,h=c?c[r]:n,y=m(i,h,r),b=y.gridStyle,g=u(n);return"angular"===a?{index:r,datum:n,style:b,x1:p(o,g,"x"),y1:p(o,g,"y"),x2:p(d,g,"x"),y2:p(d,g,"y")}:{style:b,index:r,datum:n,cx:0,cy:0,r:u(n),startAngle:l,endAngle:s}},M=function(e,t){var n=t.axisType,r=t.radius,a=t.style,o=(t.scale,e.axisLabelComponent);if("radial"!==n)return{};var i=o.props&&o.props.labelPlacement?o.props.labelPlacement:e.labelPlacement,u=a&&a.axisLabel||{},c="radial"===n?_(e):void 0,l=void 0===u.angle?f.n.getPolarAngle(s()({},e,{labelPlacement:i}),c):u.angle,d=r+(u.padding||0);return{style:u,angle:l,textAnchor:u.textAnchor||f.n.getTextPolarAnchor(s()({},e,{labelPlacement:i}),c),verticalAnchor:u.verticalAnchor||f.n.getPolarVerticalAnchor(s()({},e,{labelPlacement:i}),c),text:e.label,x:p(d,f.m.degreesToRadians(c),"x"),y:p(d,f.m.degreesToRadians(c),"y")}},A=function(e,t){var n=t.style,r=t.axisType,a=t.radius,o=(t.scale,e.startAngle),i=e.endAngle,u=e.innerRadius,c=void 0===u?0:u,l="radial"===r?f.m.degreesToRadians(_(e)):void 0;return"radial"===r?{style:n.axis,x1:p(c,l,"x"),x2:p(a,l,"x"),y1:p(c,l,"y"),y2:p(a,l,"y")}:{style:n.axis,cx:0,cy:0,r:a,startAngle:o,endAngle:i}},k=function(e){return e.dependentAxis?e.theme&&e.theme.dependentAxis?"dependentAxis":"axis":e.theme&&e.theme.independentAxis?"independentAxis":"axis"},E=function(e,t){var n=e.theme.axis||{};return i()({},e.theme[t],n)},T=function(e,t,n){return"axis"!==n&&(e.theme[n]=E(e,n)),f.m.modifyProps(e,t,n)},S=function(e){e=s()({polar:!0},e);var t=g(e),n=w(e,t),r=f.m.getPadding(e),a=f.b.getAxis(e),o=d(e),i=f.b.stringTicks(e)?e.tickValues:void 0,u=f.b.getDomain(e,a),c=x(e,a),l=O(e),p=f.b.getTicks(e,l);return{axis:a,style:n,padding:r,stringTicks:i,axisType:o,scale:l,ticks:"angular"===o?h(p,l):p,tickFormat:f.b.getTickFormat(e,l),domain:u,range:c,radius:v(e)}},D=function(e,t){var n=k(e);e=T(e,t,n);var r=S(e),a=r.style,o=r.scale,i=r.ticks,u=r.domain,c=e,l=c.width,s=c.height,f=c.standalone,p=c.theme,d=c.name,h=A(e,r),y=M(e,r),b={parent:{style:a.parent,ticks:i,scale:o,width:l,height:s,domain:u,standalone:f,theme:p,name:d}};return i.reduce(function(t,n,a){return t[a]={axis:h,axisLabel:y,ticks:j(e,r,n,a),tickLabels:P(e,r,n,a),grid:C(e,r,n,a)},t},b)}},function(e,t,n){function r(e,t){return e&&e.length?o(e,a(t,2)):[]}var a=n(17),o=n(145);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=n.domain,a=n.scale,o=n.originSign,i=n.stringMap,u=n.categories,c=n.horizontal,l=e.props||{},s=e.type.getAxis(l),f=h.b.getCurrentAxis(s,c),p="x"===s?"y":"x",d=g(t,n),y="y"===s?void 0:d.y,b="x"===s?void 0:d.x,m=!1!==l.crossAxis,v=h.b.getOrientation(e,s,o[p]);return{stringMap:i[f],categories:u[f],startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,domain:r,scale:a,offsetY:void 0!==l.offsetY?l.offsetY:y,offsetX:void 0!==l.offsetX?l.offsetX:b,crossAxis:m,orientation:v}}function a(e,t,n){var a=h.b.findAxisComponents([e]);return a.length>0?r(a[0],t,n):{categories:n.categories,domain:n.domain,range:n.range,scale:n.scale}}function o(e){var t=e.style&&e.style.parent;return{parent:f()({},t,{height:"100%",width:"100%",userSelect:"none"})}}function i(e,t){var n=o(e),r=h.m.isHorizontal(e),a={x:h.M.getCategories(e,"x",t),y:h.M.getCategories(e,"y",t)},i={x:v(e,"x",t),y:v(e,"y",t)},u={x:h.b.getAxisComponent(t,"x"),y:h.b.getAxisComponent(t,"y")},c={x:m(l()({},e,{categories:a}),"x",t),y:m(l()({},e,{categories:a}),"y",t)},s={x:h.m.getRange(e,"x"),y:h.m.getRange(e,"y")},f={x:h.w.getScaleFromProps(e,"x")||u.x&&u.x.type.getScale(u.x.props)||h.w.getDefaultScale(),y:h.w.getScaleFromProps(e,"y")||u.y&&u.y.type.getScale(u.y.props)||h.w.getDefaultScale()},p={x:f.x.domain(c.x).range(s.x),y:f.y.domain(c.y).range(s.y)},d=e.polar?h.m.getPolarOrigin(e):h.b.getOrigin(c);return{axisComponents:u,categories:a,domain:c,range:s,horizontal:r,scale:p,stringMap:i,style:n,origin:d,originSign:{x:h.b.getOriginSign(d.x,c.x),y:h.b.getOriginSign(d.y,c.y)},defaultDomainPadding:b(t,r),padding:h.m.getPadding(e)}}function u(e,t,n){t=t||y(e),n=n||i(e,t);var r=n.style.parent,o=e.height,u=e.polar,c=e.theme,l=e.width,s=n,p=s.origin,h=s.horizontal,b=e.name||"chart";return t.map(function(t,i){var s=t.type&&t.type.role,y=Array.isArray(t.props.style)?t.props.style:f()({},t.props.style,{parent:r}),m=a(t,e,n),g=t.props.name||"".concat(b,"-").concat(s,"-").concat(i),v=f()({horizontal:h,height:o,polar:u,theme:c,width:l,style:y,name:g,origin:u?p:void 0,padding:n.padding,key:"".concat(g,"-key-").concat(i),standalone:!1},m);return d.a.cloneElement(t,v)})}n.d(t,"c",function(){return u}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return y});var c=n(3),l=n.n(c),s=n(4),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=function(e,t){var n=d.a.Children.toArray(e.children);if(0===n.length)return[t.independent,t.dependent];var r={dependent:h.b.getAxisComponentsWithParent(n,"dependent"),independent:h.b.getAxisComponentsWithParent(n,"independent")};if(0===r.dependent.length&&0===r.independent.length)return n.concat([t.independent,t.dependent]);var a=0;return n.filter(function(e){var t=e.type&&e.type.role,n=e.props||{};if("axis"!==t||n.dependentAxis)return!0;if(a<1)return a++,!0;return h.q.warn("Only one independent VictoryAxis component is allowed when using the VictoryChart wrapper. Only the first axis will be used. Please compose multi-axis charts manually"),!1})},b=function(e,t){var n=e.filter(function(e){return e.type&&e.type.role&&"group"===e.type.role});if(!(n.length<1)){var r=n[0].props,a=r.offset,o=r.children;return t?{y:a*o.length/2}:{x:a*o.length/2}}},m=function(e,t,n){n=n||d.a.Children.toArray(e.children);var r=h.M.getDomain(e,t,n),a=h.b.getAxisComponent(n,t);return a&&a.props&&a.props.invertAxis?r.concat().reverse():r},g=function(e,t){var n=t.axisComponents,r=t.scale,a=t.origin,o=t.domain,i=t.originSign,u=t.padding,c=u.top,l=u.bottom,s=u.left,f=u.right,p={x:h.b.getOrientation(n.x,"x",i.y),y:h.b.getOrientation(n.y,"y",i.x)},d={y:"bottom"===p.x?l:c,x:"left"===p.y?s:f},y={x:"left"===p.y?0:e.width,y:"bottom"===p.x?e.height:0},b={x:a.x===o.x[0]||a.x===o.x[1]?0:r.x(a.x),y:a.y===o.y[0]||a.y===o.y[1]?0:r.y(a.y)},m={x:b.x?Math.abs(y.x-b.x):d.x,y:b.y?Math.abs(y.y-b.y):d.y};return{x:n.x&&void 0!==n.x.offsetX?n.x.offsetX:m.x,y:n.y&&void 0!==n.y.offsetY?n.y.offsetY:m.y}},v=function(e,t,n){var r=h.M.getStringsFromChildren(e,t,n);return 0===r.length?null:r.reduce(function(e,t,n){return e[t]=n+1,e},{})}},function(e,t,n){"use strict";var r=n(407);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return w});var s=n(4),f=n.n(s),p=n(3),d=n.n(p),h=n(2),y=n.n(h),b=n(0),m=n.n(b),g=n(1),v=n(60),x=n(408),O={width:450,height:300,padding:50,offset:0},w=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=g.M.setAnimationState.bind(l(n)),n.events=g.M.getAllEvents(e)),n}return c(t,e),i(t,[{key:"componentWillMount",value:function(){this.events=g.M.getAllEvents(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.props.animate&&this.setAnimationState(this.props,e),this.events=g.M.getAllEvents(e)}},{key:"getNewChildren",value:function(e,t,n){var r=Object(x.b)(e,t,n),a=g.M.getAnimationProps.bind(this);return r.map(function(t,n){var r=d()({animate:a(e,t,n)},t.props);return m.a.cloneElement(t,r)})}},{key:"renderContainer",value:function(e,t){var n=f()({},e.props,t);return m.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,a=e.standalone,o=e.theme,i=e.polar,u=e.horizontal,c=e.name,l=t.domain,s=t.scale,f=t.style,p=t.origin;return{domain:l,scale:s,width:n,height:r,standalone:a,theme:o,style:f.parent,horizontal:u,polar:i,origin:p,name:c}}},{key:"render",value:function(){var e=this.constructor.role,t=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,n=g.m.modifyProps(t,O,e),r=n.eventKey,a=n.containerComponent,o=n.standalone,i=n.groupComponent,u=n.externalEventMutations,c=m.a.Children.toArray(n.children),l=Object(x.a)(n,c),s=this.getNewChildren(n,c,l),f=o?this.getContainerProps(n,l):{},p=o?this.renderContainer(a,f):i;return this.events?m.a.createElement(v.a,{container:p,eventKey:r,events:this.events,externalEventMutations:u},s):m.a.cloneElement(p,p.props,s)}}]),t}(m.a.Component);Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryGroup"}),Object.defineProperty(w,"role",{configurable:!0,enumerable:!0,writable:!0,value:"group"}),Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.baseProps,g.h.dataProps,{children:y.a.oneOfType([y.a.arrayOf(y.a.node),y.a.node]),color:y.a.oneOfType([y.a.string,y.a.func]),colorScale:y.a.oneOfType([y.a.arrayOf(y.a.string),y.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),horizontal:y.a.bool,offset:y.a.number})}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:m.a.createElement(g.G,null),groupComponent:m.a.createElement("g",null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:g.J.grayscale}}),Object.defineProperty(w,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent","labelComponent"]}),Object.defineProperty(w,"getChildren",{configurable:!0,enumerable:!0,writable:!0,value:x.b})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){var n=O.M.getStyle(e.theme,e.style,"group"),r=O.m.modifyProps(e,w),a=r.offset,o=r.colorScale,i=r.color,u=r.polar,c=r.horizontal||t.every(function(e){return e.props&&e.props.horizontal}),l={x:O.M.getCategories(r,"x"),y:O.M.getCategories(r,"y")},s=O.M.getDataFromChildren(r),f={x:O.M.getDomain(g()({},r,{categories:l}),"x",t),y:O.M.getDomain(g()({},r,{categories:l}),"y",t)},p={x:O.m.getRange(r,"x"),y:O.m.getRange(r,"y")},d={x:O.w.getScaleFromProps(r,"x")||O.w.getDefaultScale(),y:O.w.getScaleFromProps(r,"y")||O.w.getDefaultScale()},h=d.x.domain(f.x).range(p.x),y=d.y.domain(f.y).range(p.y);return{datasets:s,categories:l,range:p,domain:f,horizontal:c,scale:{x:c?y:h,y:c?h:y},style:n,colorScale:o,color:i,offset:a,origin:u?e.origin:O.m.getPolarOrigin(r),padding:O.m.getPadding(e)}}function c(e,t,n){if(!e.offset)return 0;var a=x.a.Children.toArray(e.children),o=a.some(function(e){return e.props.horizontal}),i=e&&e.horizontal||o.length>0,u=O.m.getCurrentAxis(t,i),c=n.domain[u],l=n.range[u];return(Math.max.apply(Math,r(c))-Math.min.apply(Math,r(c)))/(Math.max.apply(Math,r(l))-Math.min.apply(Math,r(l)))*e.offset}function l(e,t,n){return(n-(t.datasets.length-1)/2)*c(e,"x",t)}function s(e,t,n){return(n-(t.datasets.length-1)/2)*f(e,t)}function f(e,t){var n=t.range,a=Math.abs(n.x[1]-n.x[0]),o=Math.max.apply(Math,r(n.y));return e.offset/(2*Math.PI*o)*a}function p(e,t,n){if(e.labels)return Math.floor(t.length/2)===n?e.labels:void 0}function d(e,t){var n=t.categories,r=t.domain,a=t.range,o=t.scale,i=t.horizontal,u=t.origin,c=t.padding,l=e.width;return{height:e.height,width:l,theme:e.theme,polar:e.polar,origin:u,categories:n,domain:r,range:a,scale:o,horizontal:i,padding:c,standalone:!1}}function h(e,t){var n=t.type&&t.type.role,r=t.props.colorScale||e.colorScale;if("group"===n||"stack"===n)return e.theme&&e.theme.group?r||e.theme.group.colorScale:r}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=e.data||e.y?O.i.getData(e):t,a=n||0;return r.map(function(e){var t=e._x instanceof Date?new Date(e._x.getTime()+a):e._x+a;return g()({},e,{_x1:t})})}function b(e,t,n){e=O.m.modifyProps(e,w,"stack"),t=t||x.a.Children.toArray(e.children),n=n||u(e,t);var r=n,a=r.datasets,o=e,i=o.labelComponent,c=o.polar,f=d(e,n),b=e.name||"group";return t.map(function(t,r){var o=t.type&&t.type.role,u=c?s(e,n,r):l(e,n,r),d="voronoi"===o||"tooltip"===o||"label"===o?t.props.style:O.M.getChildStyle(t,r,n),m=e.labels?p(e,a,r):t.props.labels,v=t.props.name||"".concat(b,"-").concat(o,"-").concat(r);return x.a.cloneElement(t,g()({labels:m,style:d,key:"".concat(v,"-key-").concat(r),name:v,data:y(e,a[r],u),colorScale:h(e,t),labelComponent:i||t.props.labelComponent,xOffset:"stack"===o?u:void 0},f))})}n.d(t,"b",function(){return b}),n.d(t,"a",function(){return u});var m=n(3),g=n.n(m),v=n(0),x=n.n(v),O=n(1),w={width:450,height:300,padding:50,offset:0}},function(e,t,n){"use strict";var r=n(410);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return w});var s=n(4),f=n.n(s),p=n(3),d=n.n(p),h=n(2),y=n.n(h),b=n(0),m=n.n(b),g=n(1),v=n(60),x=n(411),O={width:450,height:300,padding:50},w=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=g.M.setAnimationState.bind(l(n)),n.events=g.M.getAllEvents(e)),n}return c(t,e),i(t,[{key:"componentWillMount",value:function(){this.events=g.M.getAllEvents(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.props.animate&&this.setAnimationState(this.props,e),this.events=g.M.getAllEvents(e)}},{key:"getNewChildren",value:function(e,t,n){var r=Object(x.b)(e,t,n),a=g.M.getAnimationProps.bind(this);return r.map(function(t,n){var r=d()({animate:a(e,t,n)},t.props);return m.a.cloneElement(t,r)})}},{key:"renderContainer",value:function(e,t){var n=f()({},e.props,t);return m.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,a=e.standalone,o=e.theme,i=e.polar,u=e.horizontal,c=e.name,l=t.domain,s=t.scale,f=t.style,p=t.origin;return{domain:l,scale:s,width:n,height:r,standalone:a,theme:o,style:f.parent,horizontal:u,polar:i,origin:p,name:c}}},{key:"render",value:function(){var e=this.constructor.role,t=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,n=g.m.modifyProps(t,O,e),r=n.eventKey,a=n.containerComponent,o=n.standalone,i=n.groupComponent,u=n.externalEventMutations,c=m.a.Children.toArray(n.children),l=Object(x.a)(n,c),s=this.getNewChildren(n,c,l),f=o?this.getContainerProps(n,l):{},p=o?this.renderContainer(a,f):i;return this.events?m.a.createElement(v.a,{container:p,eventKey:r,events:this.events,externalEventMutations:u},s):m.a.cloneElement(p,p.props,s)}}]),t}(m.a.Component);Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryStack"}),Object.defineProperty(w,"role",{configurable:!0,enumerable:!0,writable:!0,value:"stack"}),Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.baseProps,{categories:y.a.oneOfType([y.a.arrayOf(y.a.string),y.a.shape({x:y.a.arrayOf(y.a.string),y:y.a.arrayOf(y.a.string)})]),children:y.a.oneOfType([y.a.arrayOf(y.a.node),y.a.node]),colorScale:y.a.oneOfType([y.a.arrayOf(y.a.string),y.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),fillInMissingData:y.a.bool,horizontal:y.a.bool,labelComponent:y.a.element,labels:y.a.oneOfType([y.a.func,y.a.array]),style:y.a.shape({parent:y.a.object,data:y.a.object,labels:y.a.object}),xOffset:y.a.number})}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:m.a.createElement(g.G,null),groupComponent:m.a.createElement("g",null),scale:"linear",standalone:!0,theme:g.J.grayscale,fillInMissingData:!0}}),Object.defineProperty(w,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent","labelComponent"]}),Object.defineProperty(w,"getChildren",{configurable:!0,enumerable:!0,writable:!0,value:x.b})},function(e,t,n){"use strict";function r(e,t){var n=e.fillInMissingData,r=t.reduce(function(e,t){return t.forEach(function(t){e[t._x instanceof Date?t._x.getTime():t._x]=!0}),e},{}),a=y()(r).map(function(e){return+e}),o=d()(a);return t.map(function(e){var t=0,r=e[0]&&e[0]._x instanceof Date;return o.map(function(a,o){a=+a;var i=e[o-t];if(i){if((r?i._x.getTime():i._x)===a)return i;t++;var u=n?0:null;return a=r?new Date(a):a,{x:a,y:u,_x:a,_y:u}}var c=n?0:null;return a=r?new Date(a):a,{x:a,y:c,_x:a,_y:c}})})}function a(e,t,n){if(e.y0)return e.y0;var r=e._y,a=n.slice(0,t),o=a.reduce(function(t,n){return t.concat(n.filter(function(t){return e._x instanceof Date?t._x.getTime()===e._x.getTime():t._x===e._x}).map(function(e){return e._y||0}))},[]),i=o.length&&o.reduce(function(e,t){return r<0&&t<0||r>=0&&t>=0?+t+e:e},0);return o.some(function(e){return e instanceof Date})?new Date(i):i}function o(e,t,n){var r=e.xOffset||0;return t[n].map(function(e){var o=a(e,n,t)||0;return m()({},e,{_y0:e._y instanceof Date?o?new Date(o):e._y:o,_y1:null===e._y?null:e._y instanceof Date?new Date(+e._y+ +o):e._y+o,_x1:null===e._x?null:e._x instanceof Date?new Date(+e._x+ +r):e._x+r})})}function i(e){var t=x.M.getDataFromChildren(e),n=r(e,t);return n.map(function(t,r){return o(e,n,r)})}function u(e,t){t=t||v.a.Children.toArray(e.children);var n=x.M.getStyle(e.theme,e.style,"stack"),r=e.horizontal||t.every(function(e){return e.props.horizontal}),a={x:x.M.getCategories(e,"x"),y:x.M.getCategories(e,"y")},o=i(e),u=t.map(function(e,t){return v.a.cloneElement(e,{data:o[t]})}),c={x:x.M.getDomain(m()({},e,{categories:a}),"x",u),y:x.M.getDomain(m()({},e,{categories:a}),"y",u)},l={x:x.m.getRange(e,"x"),y:x.m.getRange(e,"y")},s={x:x.w.getScaleFromProps(e,"x")||x.w.getDefaultScale(),y:x.w.getScaleFromProps(e,"y")||x.w.getDefaultScale()},f=s.x.domain(c.x).range(l.x),p=s.y.domain(c.y).range(l.y),d={x:r?p:f,y:r?f:p},h=e.colorScale;return{datasets:o,categories:a,range:l,domain:c,horizontal:r,scale:d,style:n,colorScale:h,role:"stack"}}function c(e,t,n){if(e.labels)return t.length===n+1?e.labels:void 0}function l(e,t){var n=t.categories,r=t.domain,a=t.range,o=t.scale,i=t.horizontal;return{height:e.height,width:e.width,padding:x.m.getPadding(e),standalone:!1,theme:e.theme,categories:n,domain:r,range:a,scale:o,horizontal:i}}function s(e,t){var n=t.type&&t.type.role,r=t.props.colorScale||e.colorScale;if("group"===n||"stack"===n)return e.theme?r||e.theme.props.colorScale:r}function f(e,t,n){e=x.m.modifyProps(e,O,"stack"),t=t||v.a.Children.toArray(e.children),n=n||u(e,t);var r=n,a=r.datasets,o=l(e,n),i=e.name||"stack";return t.map(function(t,r){var u=t.type&&t.type.role,l=a[r],f=x.M.getChildStyle(t,r,n),p=e.labels?c(e,a,r):t.props.labels,d=t.props.name||"".concat(i,"-").concat(u,"-").concat(r);return v.a.cloneElement(t,m()({key:"".concat(d,"-key-").concat(r),labels:p,name:d,domainPadding:t.props.domainPadding||e.domainPadding,theme:e.theme,labelComponent:e.labelComponent||t.props.labelComponent,style:f,colorScale:s(e,t),data:l,polar:e.polar},o))})}n.d(t,"b",function(){return f}),n.d(t,"a",function(){return u});var p=n(29),d=n.n(p),h=n(10),y=n.n(h),b=n(3),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O={width:450,height:300,padding:50}},function(e,t,n){"use strict";var r=n(413);n.d(t,"b",function(){return r.a});var a=n(173);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),s=n.n(l),f=n(2),p=n.n(f),d=n(1),h=n(173),y=n(439),b={endAngle:360,height:400,innerRadius:0,cornerRadius:0,padAngle:0,padding:30,width:400,startAngle:0,colorScale:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],labelPosition:"centroid"},m=["data","endAngle","height","innerRadius","cornerRadius","padAngle","padding","colorScale","startAngle","style","width"],g=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"shouldAnimate",value:function(){return Boolean(this.props.animate)}},{key:"render",value:function(){var e=this.constructor.role,t=d.m.modifyProps(this.props,b,e);if(this.shouldAnimate())return this.animateComponent(t,m);var n=this.renderData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(s.a.Component);Object.defineProperty(g,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPie"}),Object.defineProperty(g,"role",{configurable:!0,enumerable:!0,writable:!0,value:"pie"}),Object.defineProperty(g,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500,before:function(){return{_y:0,label:" "}}},onEnter:{duration:500,before:function(){return{_y:0,label:" "}},after:function(e){return{y_:e._y,label:e.label}}}}}),Object.defineProperty(g,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:p.a.oneOfType([p.a.bool,p.a.object]),colorScale:p.a.oneOfType([p.a.arrayOf(p.a.string),p.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:p.a.element,cornerRadius:p.a.oneOfType([d.u.nonNegative,p.a.func]),data:p.a.array,dataComponent:p.a.element,endAngle:p.a.number,eventKey:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string]),events:p.a.arrayOf(p.a.shape({target:p.a.oneOf(["data","labels","parent"]),eventKey:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string]),eventHandlers:p.a.object})),externalEventMutations:p.a.arrayOf(p.a.shape({callback:p.a.function,childName:p.a.oneOfType([p.a.string,p.a.array]),eventKey:p.a.oneOfType([p.a.array,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string]),mutation:p.a.function,target:p.a.oneOfType([p.a.string,p.a.array])})),groupComponent:p.a.element,height:d.u.nonNegative,innerRadius:p.a.oneOfType([d.u.nonNegative,p.a.func]),labelComponent:p.a.element,labelPosition:p.a.oneOf(["startAngle","centroid","endAngle"]),labelRadius:p.a.oneOfType([d.u.nonNegative,p.a.func]),labels:p.a.oneOfType([p.a.func,p.a.array]),name:p.a.string,origin:p.a.shape({x:d.u.nonNegative,y:d.u.nonNegative}),padAngle:p.a.oneOfType([d.u.nonNegative,p.a.func]),padding:p.a.oneOfType([p.a.number,p.a.shape({top:p.a.number,bottom:p.a.number,left:p.a.number,right:p.a.number})]),radius:p.a.oneOfType([d.u.nonNegative,p.a.func]),sharedEvents:p.a.shape({events:p.a.array,getEventState:p.a.func}),sortKey:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string,p.a.arrayOf(p.a.string)]),sortOrder:p.a.oneOf(["ascending","descending"]),standalone:p.a.bool,startAngle:p.a.number,style:p.a.shape({parent:p.a.object,data:p.a.object,labels:p.a.object}),theme:p.a.object,width:d.u.nonNegative,x:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string,p.a.arrayOf(p.a.string)]),y:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string,p.a.arrayOf(p.a.string)])}}),Object.defineProperty(g,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:[{x:"A",y:1},{x:"B",y:2},{x:"C",y:3},{x:"D",y:1},{x:"E",y:2}],standalone:!0,dataComponent:s.a.createElement(h.a,null),labelComponent:s.a.createElement(d.H,null),containerComponent:s.a.createElement(d.G,null),groupComponent:s.a.createElement("g",null),sortOrder:"ascending",theme:d.J.grayscale}}),Object.defineProperty(g,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(y.a)(e,b)}}),Object.defineProperty(g,"getData",{configurable:!0,enumerable:!0,writable:!0,value:d.i.getData}),Object.defineProperty(g,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(d.N)(g)},function(e,t,n){"use strict";function r(e){return e.innerRadius}function a(e){return e.outerRadius}function o(e){return e.startAngle}function i(e){return e.endAngle}function u(e){return e&&e.padAngle}function c(e,t,n,r,a,o,i,u){var c=n-e,l=r-t,s=i-a,f=u-o,p=(s*(t-o)-f*(e-a))/(f*c-s*l);return[e+p*c,t+p*l]}function l(e,t,n,r,a,o,i){var u=e-n,c=t-r,l=(i?o:-o)/Object(p.l)(u*u+c*c),s=l*c,f=-l*u,d=e+s,h=t+f,y=n+s,b=r+f,m=(d+y)/2,g=(h+b)/2,v=y-d,x=b-h,O=v*v+x*x,w=a-o,_=d*b-y*h,j=(x<0?-1:1)*Object(p.l)(Object(p.h)(0,w*w*O-_*_)),P=(_*x-v*j)/O,C=(-_*v-x*j)/O,M=(_*x+v*j)/O,A=(-_*v+x*j)/O,k=P-m,E=C-g,T=M-m,S=A-g;return k*k+E*E>T*T+S*S&&(P=M,C=A),{cx:P,cy:C,x01:-s,y01:-f,x11:P*(a/w-1),y11:C*(a/w-1)}}var s=n(40),f=n(21),p=n(41);t.a=function(){function e(){var e,r,a=+t.apply(this,arguments),o=+n.apply(this,arguments),i=y.apply(this,arguments)-p.g,u=b.apply(this,arguments)-p.g,f=Object(p.a)(u-i),v=u>i;if(g||(g=e=Object(s.a)()),o<a&&(r=o,o=a,a=r),o>p.f)if(f>p.m-p.f)g.moveTo(o*Object(p.e)(i),o*Object(p.k)(i)),g.arc(0,0,o,i,u,!v),a>p.f&&(g.moveTo(a*Object(p.e)(u),a*Object(p.k)(u)),g.arc(0,0,a,u,i,v));else{var x,O,w=i,_=u,j=i,P=u,C=f,M=f,A=m.apply(this,arguments)/2,k=A>p.f&&(h?+h.apply(this,arguments):Object(p.l)(a*a+o*o)),E=Object(p.i)(Object(p.a)(o-a)/2,+d.apply(this,arguments)),T=E,S=E;if(k>p.f){var D=Object(p.c)(k/a*Object(p.k)(A)),N=Object(p.c)(k/o*Object(p.k)(A));(C-=2*D)>p.f?(D*=v?1:-1,j+=D,P-=D):(C=0,j=P=(i+u)/2),(M-=2*N)>p.f?(N*=v?1:-1,w+=N,_-=N):(M=0,w=_=(i+u)/2)}var L=o*Object(p.e)(w),R=o*Object(p.k)(w),z=a*Object(p.e)(P),I=a*Object(p.k)(P);if(E>p.f){var B=o*Object(p.e)(_),V=o*Object(p.k)(_),F=a*Object(p.e)(j),W=a*Object(p.k)(j);if(f<p.j){var q=C>p.f?c(L,R,F,W,B,V,z,I):[z,I],U=L-q[0],H=R-q[1],G=B-q[0],Y=V-q[1],K=1/Object(p.k)(Object(p.b)((U*G+H*Y)/(Object(p.l)(U*U+H*H)*Object(p.l)(G*G+Y*Y)))/2),X=Object(p.l)(q[0]*q[0]+q[1]*q[1]);T=Object(p.i)(E,(a-X)/(K-1)),S=Object(p.i)(E,(o-X)/(K+1))}}M>p.f?S>p.f?(x=l(F,W,L,R,o,S,v),O=l(B,V,z,I,o,S,v),g.moveTo(x.cx+x.x01,x.cy+x.y01),S<E?g.arc(x.cx,x.cy,S,Object(p.d)(x.y01,x.x01),Object(p.d)(O.y01,O.x01),!v):(g.arc(x.cx,x.cy,S,Object(p.d)(x.y01,x.x01),Object(p.d)(x.y11,x.x11),!v),g.arc(0,0,o,Object(p.d)(x.cy+x.y11,x.cx+x.x11),Object(p.d)(O.cy+O.y11,O.cx+O.x11),!v),g.arc(O.cx,O.cy,S,Object(p.d)(O.y11,O.x11),Object(p.d)(O.y01,O.x01),!v))):(g.moveTo(L,R),g.arc(0,0,o,w,_,!v)):g.moveTo(L,R),a>p.f&&C>p.f?T>p.f?(x=l(z,I,B,V,a,-T,v),O=l(L,R,F,W,a,-T,v),g.lineTo(x.cx+x.x01,x.cy+x.y01),T<E?g.arc(x.cx,x.cy,T,Object(p.d)(x.y01,x.x01),Object(p.d)(O.y01,O.x01),!v):(g.arc(x.cx,x.cy,T,Object(p.d)(x.y01,x.x01),Object(p.d)(x.y11,x.x11),!v),g.arc(0,0,a,Object(p.d)(x.cy+x.y11,x.cx+x.x11),Object(p.d)(O.cy+O.y11,O.cx+O.x11),v),g.arc(O.cx,O.cy,T,Object(p.d)(O.y11,O.x11),Object(p.d)(O.y01,O.x01),!v))):g.arc(0,0,a,P,j,v):g.lineTo(z,I)}else g.moveTo(0,0);if(g.closePath(),e)return g=null,e+""||null}var t=r,n=a,d=Object(f.a)(0),h=null,y=o,b=i,m=u,g=null;return e.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+y.apply(this,arguments)+ +b.apply(this,arguments))/2-p.j/2;return[Object(p.e)(r)*e,Object(p.k)(r)*e]},e.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(+n),e):t},e.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),e):n},e.cornerRadius=function(t){return arguments.length?(d="function"==typeof t?t:Object(f.a)(+t),e):d},e.padRadius=function(t){return arguments.length?(h=null==t?null:"function"==typeof t?t:Object(f.a)(+t),e):h},e.startAngle=function(t){return arguments.length?(y="function"==typeof t?t:Object(f.a)(+t),e):y},e.endAngle=function(t){return arguments.length?(b="function"==typeof t?t:Object(f.a)(+t),e):b},e.padAngle=function(t){return arguments.length?(m="function"==typeof t?t:Object(f.a)(+t),e):m},e.context=function(t){return arguments.length?(g=null==t?null:t,e):g},e}},function(e,t,n){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new r}var o=Math.PI,i=2*o,u=i-1e-6;r.prototype=a.prototype={constructor:r,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+o)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var i=this._x1,u=this._y1,c=n-e,l=r-t,s=i-e,f=u-t,p=s*s+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(p>1e-6)if(Math.abs(f*c-l*s)>1e-6&&a){var d=n-i,h=r-u,y=c*c+l*l,b=d*d+h*h,m=Math.sqrt(y),g=Math.sqrt(p),v=a*Math.tan((o-Math.acos((y+p-b)/(2*m*g)))/2),x=v/g,O=v/m;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*s)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*d>s*h)+","+(this._x1=e+O*c)+","+(this._y1=t+O*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,a,c){e=+e,t=+t,n=+n;var l=n*Math.cos(r),s=n*Math.sin(r),f=e+l,p=t+s,d=1^c,h=c?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&(this._+="L"+f+","+p),n&&(h<0&&(h=h%i+i),h>u?this._+="A"+n+","+n+",0,1,"+d+","+(e-l)+","+(t-s)+"A"+n+","+n+",0,1,"+d+","+(this._x1=f)+","+(this._y1=p):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=o)+","+d+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.a=a},function(e,t,n){"use strict";var r=n(21),a=n(417),o=n(418),i=n(41);t.a=function(){function e(e){var r,a,o,f,p,d=e.length,h=0,y=new Array(d),b=new Array(d),m=+c.apply(this,arguments),g=Math.min(i.m,Math.max(-i.m,l.apply(this,arguments)-m)),v=Math.min(Math.abs(g)/d,s.apply(this,arguments)),x=v*(g<0?-1:1);for(r=0;r<d;++r)(p=b[y[r]=r]=+t(e[r],r,e))>0&&(h+=p);for(null!=n?y.sort(function(e,t){return n(b[e],b[t])}):null!=u&&y.sort(function(t,n){return u(e[t],e[n])}),r=0,o=h?(g-d*x)/h:0;r<d;++r,m=f)a=y[r],p=b[a],f=m+(p>0?p*o:0)+x,b[a]={data:e[a],index:r,value:p,startAngle:m,endAngle:f,padAngle:v};return b}var t=o.a,n=a.a,u=null,c=Object(r.a)(0),l=Object(r.a)(i.m),s=Object(r.a)(0);return e.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),e):t},e.sortValues=function(t){return arguments.length?(n=t,u=null,e):n},e.sort=function(t){return arguments.length?(u=t,n=null,e):u},e.startAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),e):c},e.endAngle=function(t){return arguments.length?(l="function"==typeof t?t:Object(r.a)(+t),e):l},e.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Object(r.a)(+t),e):s},e}},function(e,t,n){"use strict";t.a=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(175),a=n(174),o=n(176);t.a=function(){var e=Object(a.a)().curve(r.a),t=e.curve,n=e.lineX0,i=e.lineX1,u=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return Object(o.b)(n())},delete e.lineX0,e.lineEndAngle=function(){return Object(o.b)(i())},delete e.lineX1,e.lineInnerRadius=function(){return Object(o.b)(u())},delete e.lineY0,e.lineOuterRadius=function(){return Object(o.b)(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t(Object(r.b)(e)):t()._curve},e}},function(e,t,n){"use strict";function r(e){return e.source}function a(e){return e.target}function o(e){function t(){var t,r=d.a.call(arguments),a=n.apply(this,r),l=o.apply(this,r);if(c||(c=t=Object(p.a)()),e(c,+i.apply(this,(r[0]=a,r)),+u.apply(this,r),+i.apply(this,(r[0]=l,r)),+u.apply(this,r)),t)return c=null,t+""||null}var n=r,o=a,i=y.a,u=y.b,c=null;return t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(e){return arguments.length?(o=e,t):o},t.x=function(e){return arguments.length?(i="function"==typeof e?e:Object(h.a)(+e),t):i},t.y=function(e){return arguments.length?(u="function"==typeof e?e:Object(h.a)(+e),t):u},t.context=function(e){return arguments.length?(c=null==e?null:e,t):c},t}function i(e,t,n,r,a){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,a,r,a)}function u(e,t,n,r,a){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+a)/2,r,n,r,a)}function c(e,t,n,r,a){var o=Object(b.a)(t,n),i=Object(b.a)(t,n=(n+a)/2),u=Object(b.a)(r,n),c=Object(b.a)(r,a);e.moveTo(o[0],o[1]),e.bezierCurveTo(i[0],i[1],u[0],u[1],c[0],c[1])}function l(){return o(i)}function s(){return o(u)}function f(){var e=o(c);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}t.a=l,t.c=s,t.b=f;var p=n(40),d=n(178),h=n(21),y=n(100),b=n(177)},function(e,t,n){"use strict";n.d(t,"b",function(){return p});var r=n(40),a=n(179),o=n(180),i=n(181),u=n(182),c=n(183),l=n(184),s=n(185),f=n(21),p=[a.a,o.a,i.a,c.a,u.a,l.a,s.a];t.a=function(){function e(){var e;if(o||(o=e=Object(r.a)()),t.apply(this,arguments).draw(o,+n.apply(this,arguments)),e)return o=null,e+""||null}var t=Object(f.a)(a.a),n=Object(f.a)(64),o=null;return e.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(n),e):t},e.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),e):n},e.context=function(t){return arguments.length?(o=null==t?null:t,e):o},e}},function(e,t,n){"use strict";function r(e){this._context=e}var a=n(62),o=n(63);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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Object(o.c)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e){this._context=e}var a=n(63);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(e,t){switch(e=+e,t=+t,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+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Object(a.c)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e,t){this._basis=new a.a(e),this._beta=t}var a=n(63);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,a=e[0],o=t[0],i=e[n]-a,u=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(a+r*i),this._beta*t[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.a=function e(t){function n(e){return 1===t?new a.a(e):new r(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._alpha=t}var a=n(186),o=n(62),i=n(101);r.prototype={areaStart:o.a,areaEnd:o.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Object(i.b)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new r(e,t):new a.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._alpha=t}var a=n(187),o=n(101);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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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(o.b)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new r(e,t):new a.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";function r(e){this._context=e}var a=n(62);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function a(e,t,n){var a=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(a||o<0&&-0),u=(n-e._y1)/(o||a<0&&-0),c=(i*o+u*a)/(a+o);return(r(i)+r(u))*Math.min(Math.abs(i),Math.abs(u),.5*Math.abs(c))||0}function o(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function i(e,t,n){var r=e._x0,a=e._y0,o=e._x1,i=e._y1,u=(o-r)/3;e._context.bezierCurveTo(r+u,a+u*t,o-u,i-u*n,o,i)}function u(e){this._context=e}function c(e){this._context=new l(e)}function l(e){this._context=e}function s(e){return new u(e)}function f(e){return new c(e)}t.a=s,t.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:i(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,i(this,o(this,n=a(this,e,t)),n);break;default:i(this,this._t0,n=a(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(c.prototype=Object.create(u.prototype)).point=function(e,t){u.prototype.point.call(this,t,e)},l.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,o){this._context.bezierCurveTo(t,e,r,n,o,a)}}},function(e,t,n){"use strict";function r(e){this._context=e}function a(e){var t,n,r=e.length-1,a=new Array(r),o=new Array(r),i=new Array(r);for(a[0]=0,o[0]=2,i[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,o[t]=4,i[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,o[r-1]=7,i[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/o[t-1],o[t]-=n,i[t]-=n*i[t-1];for(a[r-1]=i[r-1]/o[r-1],t=r-2;t>=0;--t)a[t]=(i[t]-a[t+1])/o[t];for(o[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-a[t+1];return[a,o]}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=a(e),o=a(t),i=0,u=1;u<n;++i,++u)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[u],t[u]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e,t){this._context=e,this._t=t}function a(e){return new r(e,0)}function o(e){return new r(e,1)}t.c=a,t.b=o,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}},t.a=function(e){return new r(e,.5)}},function(e,t,n){"use strict";function r(e,t){return e[t]}var a=n(178),o=n(21),i=n(42),u=n(43);t.a=function(){function e(e){var r,a,o=t.apply(this,arguments),i=e.length,u=o.length,s=new Array(u);for(r=0;r<u;++r){for(var f,p=o[r],d=s[r]=new Array(i),h=0;h<i;++h)d[h]=f=[0,+l(e[h],p,h,e)],f.data=e[h];d.key=p}for(r=0,a=n(s);r<u;++r)s[a[r]].index=r;return c(s,a),s}var t=Object(o.a)([]),n=u.a,c=i.a,l=r;return e.keys=function(n){return arguments.length?(t="function"==typeof n?n:Object(o.a)(a.a.call(n)),e):t},e.value=function(t){return arguments.length?(l="function"==typeof t?t:Object(o.a)(+t),e):l},e.order=function(t){return arguments.length?(n=null==t?u.a:"function"==typeof t?t:Object(o.a)(a.a.call(t)),e):n},e.offset=function(t){return arguments.length?(c=null==t?i.a:t,e):c},e}},function(e,t,n){"use strict";var r=n(42);t.a=function(e,t){if((a=e.length)>0){for(var n,a,o,i=0,u=e[0].length;i<u;++i){for(o=n=0;n<a;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<a;++n)e[n][i][1]/=o}Object(r.a)(e,t)}}},function(e,t,n){"use strict";t.a=function(e,t){if((u=e.length)>1)for(var n,r,a,o,i,u,c=0,l=e[t[0]].length;c<l;++c)for(o=i=0,n=0;n<u;++n)(a=(r=e[t[n]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=a):a<0?(r[1]=i,r[0]=i+=a):r[0]=o}},function(e,t,n){"use strict";var r=n(42);t.a=function(e,t){if((n=e.length)>0){for(var n,a=0,o=e[t[0]],i=o.length;a<i;++a){for(var u=0,c=0;u<n;++u)c+=e[u][a][1]||0;o[a][1]+=o[a][0]=-c/2}Object(r.a)(e,t)}}},function(e,t,n){"use strict";var r=n(42);t.a=function(e,t){if((o=e.length)>0&&(a=(n=e[t[0]]).length)>0){for(var n,a,o,i=0,u=1;u<a;++u){for(var c=0,l=0,s=0;c<o;++c){for(var f=e[t[c]],p=f[u][1]||0,d=f[u-1][1]||0,h=(p-d)/2,y=0;y<c;++y){var b=e[t[y]];h+=(b[u][1]||0)-(b[u-1][1]||0)}l+=p,s+=h*p}n[u-1][1]+=n[u-1][0]=i,l&&(i-=s/l)}n[u-1][1]+=n[u-1][0]=i,Object(r.a)(e,t)}}},function(e,t,n){"use strict";var r=n(102);t.a=function(e){return Object(r.a)(e).reverse()}},function(e,t,n){"use strict";var r=n(43),a=n(102);t.a=function(e){var t,n,o=e.length,i=e.map(a.b),u=Object(r.a)(e).sort(function(e,t){return i[t]-i[e]}),c=0,l=0,s=[],f=[];for(t=0;t<o;++t)n=u[t],c<l?(c+=i[n],s.push(n)):(l+=i[n],f.push(n));return f.reverse().concat(s)}},function(e,t,n){"use strict";var r=n(43);t.a=function(e){return Object(r.a)(e).reverse()}},function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n(23),a=n.n(r),o=n(5),i=n.n(o),u=n(4),c=n.n(u),l=n(3),s=n.n(l),f=n(39),p=n(1),d=function(e){return void 0===e||null===e?e:"".concat(e)},h=function(e,t,n){return e&&e.data&&e.data.fill?e.data.fill:t&&t[n%t.length]},y=function(e,t){return"number"==typeof e.radius?e.radius:Math.min(e.width-t.left-t.right,e.height-t.top-t.bottom)/2},b=function(e,t){var n=e.width,r=e.height,o=a()(e.origin)?e.origin:{};return{x:void 0!==o.x?o.x:(t.left-t.right+n)/2,y:void 0!==o.y?o.y:(t.top-t.bottom+r)/2}},m=function(e,t){return f.pie().sort(null).startAngle(p.m.degreesToRadians(e.startAngle)).endAngle(p.m.degreesToRadians(e.endAngle)).padAngle(p.m.degreesToRadians(e.padAngle)).value(function(e){return e._y})(t)},g=function(e){var t=e.theme,n=e.colorScale,r=t&&t.pie&&t.pie.style?t.pie.style:{},a=p.m.getStyles(e.style,r,"auto","100%"),o=Array.isArray(n)?n:p.y.getColorScale(n),i=p.m.getPadding(e),u=y(e,i),c=b(e,i),l=p.i.getData(e);return{style:a,colors:o,padding:i,defaultRadius:u,data:l,slices:m(e,l),origin:c}},v=function(e,t){var n=t.style,r=t.colors,a=h(n,r,e);return s()({fill:a},n.data)},x=function(e,t,n){var r;return r=t.label?t.label:Array.isArray(e.labels)?e.labels[n]:i()(e.labels)?e.labels(t):t.xName||t._x,d(r)},O=function(e,t,n){var r=n&&n.padding||0,a=t||e+r;return f.arc().outerRadius(a).innerRadius(a)},w=function(e,t,n){var r={startAngle:"startAngle"===n?t.endAngle:t.startAngle,endAngle:"endAngle"===n?t.startAngle:t.endAngle},a=s()({},t,r);return e.centroid(a)},_=function(e){var t=function(e){return e*(180/Math.PI)},n=t(e.startAngle),r=t(e.endAngle),a=n+(r-n)/2;return a<45||a>315?"top":a>=45&&a<135?"right":a>=135&&a<225?"bottom":"left"},j=function(e){return"top"===e||"bottom"===e?"middle":"right"===e?"start":"end"},P=function(e){return"left"===e||"right"===e?"middle":"bottom"===e?"start":"end"},C=function(e,t,n){var r=t.index,a=t.datum,o=t.data,i=t.slice,u=n.style,c=n.defaultRadius,l=n.origin,f=p.m.evaluateStyle(s()({padding:0},u.labels),a,e.active),d=p.m.evaluateProp(e.labelRadius,a),h=O(c,d,f),y=w(h,i,e.labelPosition),b=_(i);return{index:r,datum:a,data:o,slice:i,orientation:b,style:f,x:Math.round(y[0])+l.x,y:Math.round(y[1])+l.y,text:x(e,a,r),textAnchor:f.textAnchor||j(b),verticalAnchor:f.verticalAnchor||P(b),angle:f.angle}},M=function(e,t){e=p.m.modifyProps(e,t,"pie");var n=g(e),r=n.slices,a=n.style,o=n.data,i=n.origin,u=n.defaultRadius,l=e,s=l.labels,f=l.events,d=l.sharedEvents,h=l.height,y=l.width,b=l.standalone,m=l.name,O=l.innerRadius,w=l.cornerRadius,_=l.padAngle,j=e.radius||u,P={parent:{standalone:b,height:h,width:y,slices:r,name:m,style:a.parent}};return r.reduce(function(t,r,a){var u=c()({},o[a],{startAngle:p.m.radiansToDegrees(r.startAngle),endAngle:p.m.radiansToDegrees(r.endAngle),padAngle:p.m.radiansToDegrees(r.padAngle)}),l=u.eventKey||a,h={index:a,slice:r,datum:u,data:o,origin:i,innerRadius:O,radius:j,cornerRadius:w,padAngle:_,style:v(a,n)};t[l]={data:h};var y=x(e,u,a);return(void 0!==y&&null!==y||s&&(f||d))&&(t[l].labels=C(e,h,n)),t},P)}},function(e,t,n){"use strict";var r=n(441);n.d(t,"b",function(){return r.a});var a=n(188);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(442),y=n(188),b=n(1),m={width:450,height:300,padding:50,interpolation:"linear"},g={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]},v=["data","domain","height","padding","style","width"],x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=b.m.modifyProps(this.props,m,e);if(this.shouldAnimate())return this.animateComponent(t,v);var n=this.renderContinuousData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(d.a.Component);Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{interpolation:f.a.oneOf(["basis","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),label:b.u.deprecated(f.a.string,"Use `labels` instead for individual data labels")})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(b.G,null),dataComponent:d.a.createElement(y.a,null),groupComponent:d.a.createElement(b.F,null),labelComponent:d.a.createElement(b.H,{renderInPortal:!0}),samples:50,scale:"linear",sortKey:"x",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(x,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryArea"}),Object.defineProperty(x,"role",{configurable:!0,enumerable:!0,writable:!0,value:"area"}),Object.defineProperty(x,"continuous",{configurable:!0,enumerable:!0,writable:!0,value:!0}),Object.defineProperty(x,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousTransitions()}),Object.defineProperty(x,"defaultPolarTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousPolarTransitions()}),Object.defineProperty(x,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.k.getDomainWithZero}),Object.defineProperty(x,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.i.getData}),Object.defineProperty(x,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,m)}}),Object.defineProperty(x,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(x,g)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return p});var u=n(3),c=n.n(u),l=n(1),s=function(e,t){var n=l.i.getData(e);n.length<2&&(n=[]);var a="log"===l.w.getType(t.y)?1/Number.MAX_SAFE_INTEGER:0,o=t.y.domain(),i=Math.min.apply(Math,r(o))>0?Math.min.apply(Math,r(o)):a;return n.map(function(e){var t=void 0!==e._y1?e._y1:e._y,n=void 0!==e._y0?e._y0:i;return c()({},e,{_y0:n,_y1:t})})},f=function(e){var t=e.theme,n=e.polar,r=t&&t.area&&t.area.style?t.area.style:{},a=l.m.getStyles(e.style,r),o={x:l.m.getRange(e,"x"),y:l.m.getRange(e,"y")},i={x:l.k.getDomainWithZero(e,"x"),y:l.k.getDomainWithZero(e,"y")},u={x:l.w.getBaseScale(e,"x").domain(i.x).range(o.x),y:l.w.getBaseScale(e,"y").domain(i.y).range(o.y)},c=n?e.origin||l.m.getPolarOrigin(e):void 0;return{style:a,data:s(e,u),scale:u,domain:i,origin:c}},p=function(e,t){var n=l.m.modifyProps(e,t,"area");e=c()({},n,f(n));var r=e,a=r.data,o=r.domain,i=r.events,u=r.groupComponent,s=r.height,p=r.interpolation,d=r.origin,h=r.padding,y=r.polar,b=r.scale,m=r.sharedEvents,g=r.standalone,v=r.style,x=r.theme,O=r.width,w=r.labels,_=r.name,j={parent:{style:v.parent,width:O,height:s,scale:b,data:a,domain:o,standalone:g,theme:x,polar:y,origin:d,padding:h,name:_},all:{data:{polar:y,origin:d,scale:b,data:a,interpolation:p,groupComponent:u,style:v.data}}};return a.reduce(function(t,n,r){var a=l.n.getText(e,n,r);if(void 0!==a&&null!==a||w&&(i||m)){t[n.eventKey||r]={labels:l.n.getProps(e,r)}}return t},j)}},function(e,t,n){"use strict";var r=n(444);n.d(t,"b",function(){return r.a});var a=n(189);n.d(t,"a",function(){return a.a});n(190)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(445),y=n(189),b=n(1),m={width:450,height:300,padding:50},g=[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],v=["data","domain","height","padding","style","width"],x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=b.m.modifyProps(this.props,m,e);if(this.shouldAnimate())return this.animateComponent(t,v);var n=this.renderData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(d.a.Component);Object.defineProperty(x,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBar"}),Object.defineProperty(x,"role",{configurable:!0,enumerable:!0,writable:!0,value:"bar"}),Object.defineProperty(x,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}}}}),Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{alignment:f.a.oneOf(["start","middle","end"]),barRatio:f.a.number,barWidth:f.a.oneOfType([f.a.number,f.a.func]),cornerRadius:f.a.oneOfType([f.a.number,f.a.func,f.a.shape({top:f.a.oneOfType([f.a.number,f.a.func]),topLeft:f.a.oneOfType([f.a.number,f.a.func]),topRight:f.a.oneOfType([f.a.number,f.a.func]),bottom:f.a.oneOfType([f.a.number,f.a.func]),bottomLeft:f.a.oneOfType([f.a.number,f.a.func]),bottomRight:f.a.oneOfType([f.a.number,f.a.func])})]),getPath:f.a.func,horizontal:f.a.bool})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(b.G,null),data:g,dataComponent:d.a.createElement(y.a,null),groupComponent:d.a.createElement("g",{role:"presentation"}),labelComponent:d.a.createElement(b.H,null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(x,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.k.getDomainWithZero}),Object.defineProperty(x,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.i.getData}),Object.defineProperty(x,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,m)}}),Object.defineProperty(x,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(x)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(3),a=n.n(r),o=n(1),i=function(e,t){var n=function(n){var r="log"===o.w.getType(e.scale[n])?1/Number.MAX_SAFE_INTEGER:0;return t["_".concat(n)]instanceof Date?new Date(r):r},r=void 0!==t._y0?t._y0:n("y"),i=void 0!==t._x0?t._x0:n("x");return o.m.scalePoint(e,a()({},t,{_y0:r,_x0:i}))},u=function(e){var t=e.theme,n=e.horizontal,r=e.polar,a=t&&t.bar&&t.bar.style?t.bar.style:{},i=o.m.getStyles(e.style,a),u=o.i.getData(e),c={x:o.m.getRange(e,"x"),y:o.m.getRange(e,"y")},l={x:o.k.getDomainWithZero(e,"x"),y:o.k.getDomainWithZero(e,"y")},s=o.w.getBaseScale(e,"x").domain(l.x).range(c.x),f=o.w.getBaseScale(e,"y").domain(l.y).range(c.y);return{style:i,data:u,scale:{x:n?f:s,y:n?s:f},domain:l,origin:r?e.origin||o.m.getPolarOrigin(e):void 0}},c=function(e,t){var n=o.m.modifyProps(e,t,"bar");e=a()({},n,u(n));var r=e,c=r.alignment,l=r.barRatio,s=r.cornerRadius,f=r.data,p=r.domain,d=r.events,h=r.height,y=r.horizontal,b=r.origin,m=r.padding,g=r.polar,v=r.scale,x=r.sharedEvents,O=r.standalone,w=r.style,_=r.theme,j=r.width,P=r.labels,C=r.name,M=r.barWidth,A=r.getPath,k={parent:{domain:p,scale:v,width:j,height:h,data:f,standalone:O,name:C,theme:_,polar:g,origin:b,padding:m,style:w.parent}};return f.reduce(function(t,n,r){var a=n.eventKey||r,u=i(e,n),p=u.x,m=u.y,O=u.y0,_=u.x0,C={alignment:c,barRatio:l,cornerRadius:s,data:f,datum:n,horizontal:y,index:r,polar:g,origin:b,scale:v,style:w.data,width:j,height:h,x:p,y:m,y0:O,x0:_,barWidth:M,getPath:A};t[a]={data:C};var k=o.n.getText(e,n,r);return(void 0!==k&&null!==k||P&&(d||x))&&(t[a].labels=o.n.getProps(e,r)),t},k)}},function(e,t){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r});var r=function(e,t){return{x:e,y:t,distance:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},add:function(e){return r(this.x+e.x,this.y+e.y)},subtract:function(e){return r(this.x-e.x,this.y-e.y)},scalarMult:function(e){return r(this.x*e,this.y*e)},scalarDivide:function(e){if(0===e)throw new Error("Division by 0 error");return r(this.x/e,this.y/e)},equals:function(e){return this.x===e.x&&this.y===e.y}}},a=function(e,t){return{center:e,radius:t,hasIntersection:function(e){var t=this.center,n=e.center,r=this.radius,a=e.radius,o=t.distance(n);return!(o>r+a)&&!(o<Math.abs(r-a))},equals:function(e){var t=this.center,n=e.center;return this.radius===e.radius&&t.equals(n)},intersection:function(e){var t=this.center,n=e.center,a=this.radius,o=e.radius,i=t.distance(n);if(!this.hasIntersection(e)||this.equals(e))return[];var u=(Math.pow(a,2)-Math.pow(o,2)+Math.pow(i,2))/(2*i),c=Math.sqrt(Math.pow(a,2)-Math.pow(u,2)),l=t.add(n.subtract(t).scalarMult(u).scalarDivide(i)),s=t.x,f=t.y,p=n.x,d=n.y,h=l.x,y=l.y,b=[r(h-c*(d-f)/i,y+c*(p-s)/i),r(h+c*(d-f)/i,y-c*(p-s)/i)];return b.sort(function(e,t){return e.x-t.x}),b},solveX:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.y,2));return[this.center.x-t,this.center.x+t]},solveY:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.x,2));return[this.center.y-t,this.center.y+t]}}}},function(e,t,n){"use strict";var r=n(449);n.d(t,"b",function(){return r.a});var a=n(191);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=n(191),b=n(450),m={width:450,height:300,padding:50,candleColors:{positive:"#ffffff",negative:"#252525"}},g=[{x:new Date(2016,6,1),open:5,close:10,high:15,low:0},{x:new Date(2016,6,2),open:10,close:15,high:20,low:5},{x:new Date(2016,6,3),open:15,close:20,high:25,low:10},{x:new Date(2016,6,4),open:20,close:25,high:30,low:15},{x:new Date(2016,6,5),open:25,close:30,high:35,low:20},{x:new Date(2016,6,6),open:30,close:35,high:40,low:25},{x:new Date(2016,6,7),open:35,close:40,high:45,low:30},{x:new Date(2016,6,8),open:40,close:45,high:50,low:35}],v=["data","domain","height","padding","samples","size","style","width"],x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=h.m.modifyProps(this.props,m,e);if(this.shouldAnimate())return this.animateComponent(t,v);var n=this.renderData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(d.a.Component);Object.defineProperty(x,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryCandlestick"}),Object.defineProperty(x,"role",{configurable:!0,enumerable:!0,writable:!0,value:"candlestick"}),Object.defineProperty(x,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:h.j.discreteTransitions()}),Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.baseProps,h.h.dataProps,{candleColors:f.a.shape({positive:f.a.string,negative:f.a.string}),candleRatio:f.a.number,candleWidth:f.a.oneOfType([f.a.func,f.a.number]),close:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),high:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),low:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),open:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),wickStrokeWidth:f.a.number})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(h.G,null),data:g,dataComponent:d.a.createElement(y.a,null),groupComponent:d.a.createElement("g",{role:"presentation"}),labelComponent:d.a.createElement(h.H,null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:h.J.grayscale}}),Object.defineProperty(x,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.c}),Object.defineProperty(x,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.b}),Object.defineProperty(x,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(b.a)(e,m)}}),Object.defineProperty(x,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(h.N)(x)},function(e,t,n){"use strict";n.d(t,"a",function(){return h}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return i});var r=n(3),a=n.n(r),o=n(1),i=function(e){var t=["x","high","low","close","open"];return o.i.formatData(e.data,e,t)},u=function(e,t,n){var r={min:"_low",max:"_high"},a="x"===t?"_x":r[n],o="min"===n?1/0:-1/0;return e.reduce(function(e,t){var r=t[a];return e<r&&"min"===n||e>r&&"max"===n?e:r},o)},c=function(e,t){var n=o.k.getMinFromProps(e,t),r=o.k.getMaxFromProps(e,t),a=i(e);if(a.length<1){var c=o.w.getBaseScale(e,t).domain(),l=void 0!==n?n:o.g.getMinValue(c),s=void 0!==r?r:o.g.getMaxValue(c);return o.k.getDomainFromMinMax(l,s)}var f=void 0!==n?n:u(a,t,"min"),p=void 0!==r?r:u(a,t,"max");return o.k.getDomainFromMinMax(f,p)},l=function(e,t){return o.k.createDomainFunction(c)(e,t)},s=function(e){var t=e.theme,n=e.polar,r=t&&t.candlestick&&t.candlestick.style?t.candlestick.style:{},a=o.m.getStyles(e.style,r),u=i(e),c={x:o.m.getRange(e,"x"),y:o.m.getRange(e,"y")},s={x:l(e,"x"),y:l(e,"y")};return{domain:s,data:u,scale:{x:o.w.getBaseScale(e,"x").domain(s.x).range(c.x),y:o.w.getBaseScale(e,"y").domain(s.y).range(c.y)},style:a,origin:n?e.origin||o.m.getPolarOrigin(e):void 0}},f=function(e){return"none"===e||"transparent"===e},p=function(e,t,n){t=t||{};var r=e.open>e.close?n.candleColors.negative:n.candleColors.positive,o=t.fill||r,i=t.stroke,u=f(i)?o:i||"black";return a()({},t,{stroke:u,fill:o})},d=function(e,t,n){var r=e.x,a=e.high,o=e.index,i=e.scale,u=e.datum,c=e.data,l=n.labels||{};return{style:l,y:a-(l.padding||0),x:r,text:t,index:o,scale:i,datum:u,data:c,textAnchor:l.textAnchor,verticalAnchor:l.verticalAnchor||"end",angle:l.angle}},h=function(e,t){e=o.m.modifyProps(e,t,"candlestick");var n=s(e),r=n.data,a=n.style,i=n.scale,u=n.domain,c=n.origin,l=e,f=l.groupComponent,h=l.width,y=l.height,b=l.padding,m=l.standalone,g=l.name,v=l.candleWidth,x=l.candleRatio,O=l.theme,w=l.polar,_=l.wickStrokeWidth,j=l.labels,P=l.events,C=l.sharedEvents,M={parent:{domain:u,scale:i,width:h,height:y,data:r,standalone:m,theme:O,polar:w,origin:c,name:g,style:a.parent,padding:b}};return r.reduce(function(t,n,u){var l=n.eventKey||u,s=i.x(void 0!==n._x1?n._x1:n._x),y=i.y(n._high),b=i.y(n._close),m=i.y(n._open),g=i.y(n._low),O=p(n,a.data,e),M={x:s,high:y,low:g,candleWidth:v,candleRatio:x,scale:i,data:r,datum:n,groupComponent:f,index:u,style:O,width:h,polar:w,origin:c,wickStrokeWidth:_,open:m,close:b};t[l]={data:M};var A=o.n.getText(e,n,u);return(void 0!==A&&null!==A||j&&(P||C))&&(t[l].labels=d(M,A,a)),t},M)}},function(e,t,n){"use strict";var r=n(452);n.d(t,"b",function(){return r.a});var a=n(192);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=n(192),b=n(453),m={width:450,height:300,padding:50},g=[{x:1,y:1,errorX:.1,errorY:.1},{x:2,y:2,errorX:.2,errorY:.2},{x:3,y:3,errorX:.3,errorY:.3},{x:4,y:4,errorX:.4,errorY:.4}],v=["data","domain","height","padding","samples","style","width","errorX","errorY","borderWidth"],x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=h.m.modifyProps(this.props,m,e);if(this.shouldAnimate())return this.animateComponent(t,v);var n=this.renderData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(d.a.Component);Object.defineProperty(x,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryErrorBar"}),Object.defineProperty(x,"role",{configurable:!0,enumerable:!0,writable:!0,value:"errorbar"}),Object.defineProperty(x,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:h.j.discreteTransitions()}),Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.baseProps,h.h.dataProps,{borderWidth:f.a.number,errorX:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),errorY:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),horizontal:f.a.bool})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(h.G,null),data:g,dataComponent:d.a.createElement(y.a,null),labelComponent:d.a.createElement(h.H,null),groupComponent:d.a.createElement("g",{role:"presentation"}),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:h.J.grayscale}}),Object.defineProperty(x,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.c}),Object.defineProperty(x,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.b}),Object.defineProperty(x,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(b.a)(e,m)}}),Object.defineProperty(x,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(h.N)(x)},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"c",function(){return u}),n.d(t,"b",function(){return o});var r=n(1),a=function(e,t,n){var r={x:"_errorX",y:"_errorY"},a=e[r[n]];return 0!==a&&(Array.isArray(a)?[0!==a[0]&&t[n](a[0]+e["_".concat(n)]),0!==a[1]&&t[n](e["_".concat(n)]-a[1])]:[t[n](a+e["_".concat(n)]),t[n](e["_".concat(n)]-a)])},o=function(e){var t=["x","y","errorX","errorY"];if(e.data)return r.i.formatData(e.data,e,t);var n=e.errorX||e.errorY?r.i.generateData(e):[];return r.i.formatData(n,e,t)},i=function(e,t){var n=r.k.getMinFromProps(e,t),a=r.k.getMaxFromProps(e,t),i=o(e);if(i.length<1){var u=r.w.getBaseScale(e,t).domain(),c=void 0!==n?n:r.g.getMinValue(u),l=void 0!==a?a:r.g.getMaxValue(u);return r.k.getDomainFromMinMax(c,l)}var s=r.m.getCurrentAxis(t,e.horizontal),f="x"===s?"_errorX":"_errorY",p=function(e){var t="min"===e?1/0:-1/0,n="min"===e?1:0,r="min"===e?-1:1;return i.reduce(function(t,a){var o=Array.isArray(a[f])?a[f][n]:a[f],i=a["_".concat(s)]+r*(o||0);return t<i&&"min"===e||t>i&&"max"===e?t:i},t)},d=void 0!==n?n:p("min"),h=void 0!==a?a:p("max");return r.k.getDomainFromMinMax(d,h)},u=function(e,t){return r.k.createDomainFunction(i)(e,t)},c=function(e){var t=e.theme&&e.theme.errorbar&&e.theme.errorbar.style?e.theme.errorbar.style:{},n=r.m.getStyles(e.style,t)||{},a=o(e),i={x:r.m.getRange(e,"x"),y:r.m.getRange(e,"y")},c={x:u(e,"x"),y:u(e,"y")};return{domain:c,data:a,scale:{x:r.w.getBaseScale(e,"x").domain(c.x).range(i.x),y:r.w.getBaseScale(e,"y").domain(c.y).range(i.y)},style:n,origin:e.polar?e.origin||r.m.getPolarOrigin(e):void 0}},l=function(e,t,n){var r=e.x,a=e.index,o=e.scale,i=e.errorY,u=i&&Array.isArray(i)?i[0]:i,c=u||e.y,l=n.labels||{};return{style:l,y:c-(l.padding||0),x:r,text:t,index:a,scale:o,datum:e.datum,data:e.data,textAnchor:l.textAnchor,verticalAnchor:l.verticalAnchor||"end",angle:l.angle}},s=function(e,t){e=r.m.modifyProps(e,t,"errorbar");var n=c(e),o=n.data,i=n.style,u=n.scale,s=n.domain,f=n.origin,p=e,d=p.groupComponent,h=p.height,y=p.width,b=p.borderWidth,m=p.standalone,g=p.theme,v=p.polar,x=p.padding,O=p.labels,w=p.events,_=p.sharedEvents,j=p.name,P={parent:{domain:s,scale:u,data:o,height:h,width:y,standalone:m,theme:g,polar:v,origin:f,name:j,padding:x,style:i.parent}};return o.reduce(function(t,n,c){var s=n.eventKey||c,f=u.x(void 0!==n._x1?n._x1:n._x),p=u.y(void 0!==n._y1?n._y1:n._y),h={x:f,y:p,scale:u,datum:n,data:o,index:c,groupComponent:d,borderWidth:b,style:i.data,errorX:a(n,u,"x"),errorY:a(n,u,"y")};t[s]={data:h};var y=r.n.getText(e,n,c);return(void 0!==y&&null!==y||O&&(w||_))&&(t[s].labels=l(h,y,i)),t},P)}},function(e,t,n){"use strict";var r=n(455);n.d(t,"b",function(){return r.a});var a=n(193);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(456),y=n(193),b=n(1),m={width:450,height:300,padding:50,interpolation:"linear"},g={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]},v=["data","domain","height","padding","samples","style","width"],x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=b.m.modifyProps(this.props,m,e);if(this.shouldAnimate())return this.animateComponent(t,v);var n=this.renderContinuousData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(d.a.Component);Object.defineProperty(x,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLine"}),Object.defineProperty(x,"role",{configurable:!0,enumerable:!0,writable:!0,value:"line"}),Object.defineProperty(x,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousTransitions()}),Object.defineProperty(x,"defaultPolarTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousPolarTransitions()}),Object.defineProperty(x,"continuous",{configurable:!0,enumerable:!0,writable:!0,value:!0}),Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{interpolation:f.a.oneOf(["basis","bundle","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),label:b.u.deprecated(f.a.string,"Use `labels` instead for individual data labels")})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(b.G,null),dataComponent:d.a.createElement(y.a,null),labelComponent:d.a.createElement(b.H,{renderInPortal:!0}),groupComponent:d.a.createElement(b.F,null),samples:50,scale:"linear",sortKey:"x",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(x,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.k.getDomain}),Object.defineProperty(x,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.i.getData}),Object.defineProperty(x,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,m)}}),Object.defineProperty(x,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(x,g)},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(3),a=n.n(r),o=n(1),i=function(e){var t=o.i.getData(e);t.length<2&&(t=[]);var n={x:o.m.getRange(e,"x"),y:o.m.getRange(e,"y")},r={x:o.k.getDomain(e,"x"),y:o.k.getDomain(e,"y")},a={x:o.w.getBaseScale(e,"x").domain(r.x).range(n.x),y:o.w.getBaseScale(e,"y").domain(r.y).range(n.y)},i=e.polar?e.origin||o.m.getPolarOrigin(e):void 0,u=e.theme&&e.theme.line&&e.theme.line.style?e.theme.line.style:{};return{domain:r,data:t,scale:a,style:o.m.getStyles(e.style,u),origin:i}},u=function(e,t){var n=o.m.modifyProps(e,t,"line");e=a()({},n,i(n));var r=e,u=r.data,c=r.domain,l=r.events,s=r.groupComponent,f=r.height,p=r.interpolation,d=r.origin,h=r.padding,y=r.polar,b=r.scale,m=r.sharedEvents,g=r.standalone,v=r.style,x=r.theme,O=r.width,w=r.labels,_=r.name,j={parent:{style:v.parent,scale:b,data:u,height:f,width:O,name:_,domain:c,standalone:g,polar:y,origin:d,padding:h},all:{data:{polar:y,origin:d,scale:b,data:u,interpolation:p,groupComponent:s,theme:x,style:v.data}}};return u.reduce(function(t,n,r){var a=o.n.getText(e,n,r);if(void 0!==a&&null!==a||w&&(l||m)){t[n.eventKey||r]={labels:o.n.getProps(e,r)}}return t},j)}},function(e,t,n){"use strict";var r=n(458);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=n(459),b={width:450,height:300,padding:50,size:3,symbol:"circle"},m=["data","domain","height","maxBubbleSize","padding","samples","size","style","width"],g=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=h.m.modifyProps(this.props,b,e);if(this.shouldAnimate())return this.animateComponent(t,m);var n=this.renderData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(d.a.Component);Object.defineProperty(g,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryScatter"}),Object.defineProperty(g,"role",{configurable:!0,enumerable:!0,writable:!0,value:"scatter"}),Object.defineProperty(g,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:h.j.discreteTransitions()}),Object.defineProperty(g,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.baseProps,h.h.dataProps,{bubbleProperty:f.a.string,maxBubbleSize:h.u.nonNegative,minBubbleSize:h.u.nonNegative,size:f.a.oneOfType([h.u.nonNegative,f.a.func]),symbol:f.a.oneOfType([f.a.oneOf(["circle","diamond","plus","minus","square","star","triangleDown","triangleUp"]),f.a.func])})}),Object.defineProperty(g,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(h.G,null),dataComponent:d.a.createElement(h.s,null),labelComponent:d.a.createElement(h.H,null),groupComponent:d.a.createElement("g",null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:h.J.grayscale}}),Object.defineProperty(g,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:h.k.getDomain}),Object.defineProperty(g,"getData",{configurable:!0,enumerable:!0,writable:!0,value:h.i.getData}),Object.defineProperty(g,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(y.a)(e,b)}}),Object.defineProperty(g,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(h.N)(g)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return b});var u=n(97),c=n.n(u),l=n(3),s=n.n(l),f=n(1),p=function(e,t){return t.bubbleProperty?"circle":e.symbol||t.symbol},d=function(e,t){var n=t.data,a=t.z,o=t.maxBubbleSize,i=t.minBubbleSize,u=n.map(function(e){return e[a]}),l=Math.min.apply(Math,r(u)),s=Math.max.apply(Math,r(u)),p=o||function(){var e=Math.min.apply(Math,r(c()(f.m.getPadding(t))));return Math.max(e,5)}(),d=i||.1*p;if(s===l)return Math.max(d,1);var h=Math.PI*Math.pow(p,2),y=Math.PI*Math.pow(d,2),b=(e[a]-l)/(s-l)*h,m=Math.max(b,y),g=Math.sqrt(m/Math.PI);return Math.max(g,1)},h=function(e,t){var n=t.size,r=t.z;return e.size?"function"==typeof e.size?e.size:Math.max(e.size,1):"function"==typeof t.size?n:e[r]?d(e,t):Math.max(n||0,1)},y=function(e){var t=e.theme&&e.theme.scatter&&e.theme.scatter.style?e.theme.scatter.style:{},n=f.m.getStyles(e.style,t),r=f.i.getData(e),a={x:f.m.getRange(e,"x"),y:f.m.getRange(e,"y")},o={x:f.k.getDomain(e,"x"),y:f.k.getDomain(e,"y")};return{domain:o,data:r,scale:{x:f.w.getBaseScale(e,"x").domain(o.x).range(a.x),y:f.w.getBaseScale(e,"y").domain(o.y).range(a.y)},style:n,origin:e.polar?e.origin||f.m.getPolarOrigin(e):void 0,z:e.bubbleProperty||"z"}},b=function(e,t){var n=f.m.modifyProps(e,t,"scatter");e=s()({},n,y(n));var r=e,a=r.data,o=r.domain,i=r.events,u=r.height,c=r.origin,l=r.padding,d=r.polar,b=r.scale,m=r.name,g=r.sharedEvents,v=r.standalone,x=r.style,O=r.theme,w=r.width,_=r.labels,j={parent:{style:x.parent,scale:b,domain:o,data:a,height:u,width:w,standalone:v,theme:O,origin:c,polar:d,padding:l,name:m}};return a.reduce(function(t,n,r){var o=n.eventKey,u=f.m.scalePoint(e,n),l=u.x,s=u.y,y={x:l,y:s,datum:n,data:a,index:r,scale:b,polar:d,origin:c,size:h(n,e),symbol:p(n,e),style:x.data};t[o]={data:y};var m=f.n.getText(e,n,r);return(void 0!==m&&null!==m||_&&(i||g))&&(t[o].labels=f.n.getProps(e,r)),t},j)}},function(e,t,n){"use strict";var r=n(461);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=n(55),y=n.n(h),b=n(0),m=n.n(b),g=n(2),v=n.n(g),x=n(1),O=n(462),w={width:450,height:300,padding:{top:20,right:20,bottom:20,left:20}},_={components:[{name:"min"},{name:"minLabels"},{name:"max"},{name:"maxLabels"},{name:"median"},{name:"medianLabels"},{name:"q1"},{name:"q1Labels"},{name:"q3"},{name:"q3Labels"},{name:"parent",index:"parent"}]},j=[{x:1,min:5,q1:7,median:12,q3:18,max:20},{x:2,min:2,q1:5,median:8,q3:12,max:15}],P=["data","domain","height","padding","style","width"],C=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),s(t,[{key:"renderBoxPlot",value:function(e){var t=this,n=["q1","q3","max","min","median"],r=y()(n.map(function(n){return t.dataKeys.map(function(r,a){var o=e["".concat(n,"Component")],i=t.getComponentProps(o,n,a);return m.a.cloneElement(o,i)})})),o=y()(n.map(function(n){return t.dataKeys.map(function(r,a){var o="".concat(n,"Labels"),i=e["".concat(n,"LabelComponent")],u=t.getComponentProps(i,o,a);if(void 0!==u.text&&null!==u.text)return m.a.cloneElement(i,u)}).filter(Boolean)})),i=a(r).concat(a(o));return this.renderContainer(e.groupComponent,i)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=x.m.modifyProps(this.props,w,e);if(this.shouldAnimate())return this.animateComponent(t,P);var n=this.renderBoxPlot(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(m.a.Component);Object.defineProperty(C,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBoxPlot"}),Object.defineProperty(C,"role",{configurable:!0,enumerable:!0,writable:!0,value:"boxplot"}),Object.defineProperty(C,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:x.j.discreteTransitions()}),Object.defineProperty(C,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,x.h.dataProps,{boxWidth:v.a.number,events:v.a.arrayOf(v.a.shape({target:v.a.oneOf(["max","maxLabels","median","medianLabels","min","minLabels","q1","q1Labels","q3","q3Labels","parent"]),eventKey:v.a.oneOfType([v.a.array,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string]),eventHandlers:v.a.object})),horizontal:v.a.bool,labelOrientation:v.a.oneOf(["top","bottom","left","right"]),labels:v.a.bool,max:v.a.oneOfType([v.a.func,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string,v.a.arrayOf(v.a.string)]),maxComponent:v.a.element,maxLabelComponent:v.a.element,maxLabels:v.a.oneOfType([v.a.func,v.a.array,v.a.bool]),median:v.a.oneOfType([v.a.func,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string,v.a.arrayOf(v.a.string)]),medianComponent:v.a.element,medianLabelComponent:v.a.element,medianLabels:v.a.oneOfType([v.a.func,v.a.array,v.a.bool]),min:v.a.oneOfType([v.a.func,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string,v.a.arrayOf(v.a.string)]),minComponent:v.a.element,minLabelComponent:v.a.element,minLabels:v.a.oneOfType([v.a.func,v.a.array,v.a.bool]),q1:v.a.oneOfType([v.a.func,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string,v.a.arrayOf(v.a.string)]),q1Component:v.a.element,q1LabelComponent:v.a.element,q1Labels:v.a.oneOfType([v.a.func,v.a.array,v.a.bool]),q3:v.a.oneOfType([v.a.func,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string,v.a.arrayOf(v.a.string)]),q3Component:v.a.element,q3LabelComponent:v.a.element,q3Labels:v.a.oneOfType([v.a.func,v.a.array,v.a.bool]),style:v.a.shape({boxes:v.a.object,labels:v.a.object,parent:v.a.object,max:v.a.object,maxLabels:v.a.object,median:v.a.object,medianLabels:v.a.object,min:v.a.object,minLabels:v.a.object,q1:v.a.object,q1Labels:v.a.object,q3:v.a.object,q3Labels:v.a.object,whiskers:v.a.object}),whiskerWidth:v.a.number})}),Object.defineProperty(C,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:m.a.createElement(x.G,null),data:j,dataComponent:m.a.createElement(x.d,null),groupComponent:m.a.createElement("g",{role:"presentation"}),maxComponent:m.a.createElement(x.L,null),maxLabelComponent:m.a.createElement(x.H,null),medianComponent:m.a.createElement(x.p,null),medianLabelComponent:m.a.createElement(x.H,null),minComponent:m.a.createElement(x.L,null),minLabelComponent:m.a.createElement(x.H,null),q1Component:m.a.createElement(x.d,null),q1LabelComponent:m.a.createElement(x.H,null),q3Component:m.a.createElement(x.d,null),q3LabelComponent:m.a.createElement(x.H,null),samples:50,scale:"linear",sortKey:"x",sortOrder:"ascending",standalone:!0,theme:x.J.grayscale}}),Object.defineProperty(C,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:O.c}),Object.defineProperty(C,"getData",{configurable:!0,enumerable:!0,writable:!0,value:O.b}),Object.defineProperty(C,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.a)(e,w)}}),Object.defineProperty(C,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["maxComponent","maxLabelComponent","medianComponent","medianLabelComponent","minComponent","minLabelComponent","q1Component","q1LabelComponent","q3Component","q3LabelComponent","groupComponent","containerComponent"]}),t.a=Object(x.N)(C,_)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"c",function(){return M}),n.d(t,"b",function(){return _}),n.d(t,"a",function(){return R});var a=n(10),o=n.n(a),i=n(38),u=n.n(i),c=n(34),l=n.n(c),s=n(3),f=n.n(s),p=n(4),d=n.n(p),h=n(29),y=n.n(h),b=n(1),m=n(12),g=["max","min","median","q1","q3"],v=function(e,t){if(t.every(function(e){return g.every(function(t){return"number"==typeof e["_".concat(t)]})})){var n=t.map(function(t){var n=t._x,r=t._y;return e.horizontal?r:n});if(!l()(n).length===n.length)throw new Error("\n data prop may only take an array of objects with a unique\n independent variable. Make sure your x or y values are distinct.\n ");return!0}return!1},x=function(e,t){var n=e.map(function(e){return t?e._x:e._y}),r={_q1:Object(m.f)(n,.25),_q3:Object(m.f)(n,.75),_min:Object(m.e)(n),_median:Object(m.f)(n,.5),_max:Object(m.d)(n)};return t?f()({},r,{_y:e[0]._y}):f()({},r,{_x:e[0]._x})},O=function(e,t){return t.every(function(e){return Array.isArray(e._x)})||e.horizontal},w=function(e,t){if(v(e,t))return t;var n=t.every(function(e){return Array.isArray(e._x)}),a=t.every(function(e){return Array.isArray(e._y)}),i=n||e.horizontal,c=i?"_x":"_y",l=i?"_y":"_x";if(n&&a)throw new Error("\n data may not be given with array values for both x and y\n ");if(n||a)return t.map(function(e){var t=e[c].map(function(t){return f()({},e,r({},c,t))}),n=y()(t,c);return x(n,i)});var s=u()(t,l);return o()(s).map(function(e){var t=s[e],n=y()(t,c);return x(n,i)})},_=function(e){var t=g.concat("x","y"),n=b.i.formatData(e.data,e,t);return n.length?w(e,n):[]},j=function(e,t,n){var r=b.k.getMinFromProps(t,n),a=b.k.getMaxFromProps(t,n),o=void 0!==r?r:e.reduce(function(e,t){return e<t["_".concat(n)]?e:t["_".concat(n)]},1/0),i=void 0!==a?a:e.reduce(function(e,t){return e>t["_".concat(n)]?e:t["_".concat(n)]},-1/0);return b.k.getDomainFromMinMax(o,i)},P=function(e,t,n){var r=b.k.getMinFromProps(t,n),a=b.k.getMaxFromProps(t,n),o=void 0!==r?r:e.reduce(function(e,t){return e<t._min?e:t._min},1/0),i=void 0!==a?a:e.reduce(function(e,t){return e>t._max?e:t._max},-1/0);return b.k.getDomainFromMinMax(o,i)},C=function(e,t){var n=b.k.getMinFromProps(e,t),r=b.k.getMaxFromProps(e,t),a=_(e);if(a.length<1){var o=b.w.getBaseScale(e,t).domain(),i=void 0!==n?n:b.g.getMinValue(o),u=void 0!==r?r:b.g.getMaxValue(o);return b.k.getDomainFromMinMax(i,u)}return e.horizontal&&"x"===t||!e.horizontal&&"y"===t?P(a,e,t):j(a,e,t)},M=function(e,t){return b.k.createDomainFunction(C)(e,t)},A=function(e,t){var n=e.style||{};t=t||{};var r={height:"100%",width:"100%"},a=d()({},n.labels,t.labels),o=d()({},n.boxes,t.boxes),i=d()({},n.whiskers,t.whiskers);return{boxes:o,labels:a,parent:d()({},n.parent,t.parent,r),max:d()({},n.max,t.max,i),maxLabels:d()({},n.maxLabels,t.maxlabels,a),median:d()({},n.median,t.median,i),medianLabels:d()({},n.medianLabels,t.medianlabels,a),min:d()({},n.min,t.min,i),minLabels:d()({},n.minLabels,t.minlabels,a),q1:d()({},n.q1,t.q1,o),q1Labels:d()({},n.q1Labels,t.q1labels,a),q3:d()({},n.q3,t.q3,o),q3Labels:d()({},n.q3Labels,t.q3labels,a),whiskers:i}},k=function(e){var t=e.theme,n=_(e),r=O(e,n),a={x:b.m.getRange(e,"x"),y:b.m.getRange(e,"y")},o={x:M(e,"x"),y:M(e,"y")},i={x:b.w.getBaseScale(e,"x").domain(o.x).range(a.x),y:b.w.getBaseScale(e,"y").domain(o.y).range(a.y)},u=t&&t.boxplot&&t.boxplot.style?t.boxplot.style:{},c=A(e,u),l=r?"top":"right";return{data:n,horizontal:r,domain:o,scale:i,style:c,labelOrientation:e.labelOrientation||l,boxWidth:e.boxWidth||1}},E=function(e,t){var n=e.horizontal,r=e.style,a=e.boxWidth,o=e.whiskerWidth,i=e.datum,u=e.scale,c=e.index,l=e.positions,s=l.min,f=l.max,p=l.q1,d=l.q3,h=l.x,y=l.y,b="min"===t?p:d,m="min"===t?s:f,g="number"==typeof o?o:a;return{datum:i,index:c,scale:u,majorWhisker:{x1:n?b:h,y1:n?y:b,x2:n?m:h,y2:n?y:m},minorWhisker:{x1:n?m:h-g/2,y1:n?y-g/2:m,x2:n?m:h+g/2,y2:n?y+g/2:m},style:r[t]||r.whisker}},T=function(e,t){var n=e.horizontal,r=e.boxWidth,a=e.style,o=e.scale,i=e.datum,u=e.index,c=e.positions,l=c.median,s=c.q1,f=c.q3,p=c.x,d=c.y,h="q1"===t?s:l,y="q1"===t?l:f,b="q1"===t?l-s:f-l,m="q1"===t?s-l:l-f;return{datum:i,scale:o,index:u,x:n?h:p-r/2,y:n?d-r/2:y,width:n?b:r,height:n?r:m,style:a[t]||a.boxes}},S=function(e){var t=e.boxWidth,n=e.horizontal,r=e.style,a=e.datum,o=e.scale,i=e.index,u=e.positions,c=u.median,l=u.x,s=u.y;return{datum:a,scale:o,index:i,x1:n?c:l-t/2,y1:n?s-t/2:c,x2:n?c:l+t/2,y2:n?s+t/2:c,style:r.median}},D=function(e,t){var n=e.datum,r=e.index,a=e.labels,o="".concat(t,"Labels"),i=e[o];if(!i&&!a)return null;if(!0===i||!0===a){return"".concat(n["_".concat(t)])}return Array.isArray(i)?i[r]:i},N=function(e,t,n){var r=e.datum,a=e.positions,o=e.index,i=e.boxWidth,u=e.horizontal,c=e.labelOrientation,l=e.style,s="".concat(n,"Labels"),f=l[s]||l.labels,p=u?"end":"middle",d=u?"middle":"start",h="number"==typeof e.whiskerWidth?e.whiskerWidth:i,y="min"===n||"max"===n?h:i,b=function(e){var t={x:"left"===c?-1:1,y:"top"===c?-1:1};return a[e]+t[e]*y/2+t[e]*(f.padding||0)};return{text:t,datum:r,index:o,style:f,y:u?b("y"):a[n],x:u?a[n]:b("x"),textAnchor:f.textAnchor||d,verticalAnchor:f.verticalAnchor||p,angle:f.angle}},L=function(e,t){return"median"===t?S(e):"min"===t||"max"===t?E(e,t):T(e,t)},R=function(e,t){var n=b.m.modifyProps(e,t,"boxplot");e=f()({},n,k(n));var r=e,a=r.groupComponent,o=r.width,i=r.height,u=r.padding,c=r.standalone,l=r.theme,s=r.events,p=r.sharedEvents,d=r.scale,h=r.horizontal,y=r.data,m=r.style,v=r.domain,x=r.name,O={parent:{domain:v,scale:d,width:o,height:i,data:y,standalone:c,name:x,theme:l,style:m.parent||{},padding:u,groupComponent:a}},w=h?d.x:d.y;return y.reduce(function(t,n,r){var a=void 0!==n.eventKey?n.eventKey:r,o={x:d.x(n._x),y:d.y(n._y),min:w(n._min),max:w(n._max),median:w(n._median),q1:w(n._q1),q3:w(n._q3)},i=f()({index:r,datum:n,positions:o},e),u=g.reduce(function(e,t){return e[t]=L(i,t),e},{});return t[a]=u,g.forEach(function(n){var r=D(i,n),o=e.labels||e["".concat(n,"Labels")];if(null!==r&&void 0!==r||o&&(s||p)){var u="".concat(n,"Labels");t[a][u]=N(i,r,n)}}),t},O)}},function(e,t,n){"use strict";var r=n(464);n.d(t,"a",function(){return r.a});var a=n(194);n.d(t,"b",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),f=n.n(s),p=n(1),d=n(194),h=n(465),y={width:450,height:300,padding:50},b=["data","domain","height","padding","samples","size","style","width"],m=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=this.constructor.role,t=p.m.modifyProps(this.props,y,e);if(this.shouldAnimate())return this.animateComponent(t,b);var n=this.renderData(t);return t.standalone?this.renderContainer(t.containerComponent,n):n}}]),t}(f.a.Component);Object.defineProperty(m,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoi"}),Object.defineProperty(m,"role",{configurable:!0,enumerable:!0,writable:!0,value:"voronoi"}),Object.defineProperty(m,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:p.j.discreteTransitions()}),Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},p.h.baseProps,p.h.dataProps,{size:p.u.nonNegative})}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:f.a.createElement(p.G,null),dataComponent:f.a.createElement(d.a,null),labelComponent:f.a.createElement(p.H,null),groupComponent:f.a.createElement("g",{role:"presentation"}),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:p.J.grayscale}}),Object.defineProperty(m,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:p.k.getDomain}),Object.defineProperty(m,"getData",{configurable:!0,enumerable:!0,writable:!0,value:p.i.getData}),Object.defineProperty(m,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,y)}}),Object.defineProperty(m,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(p.N)(m)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return y});var u=n(57),c=n.n(u),l=n(3),s=n.n(l),f=n(195),p=n(1),d=function(e,t,n){var a=[Math.min.apply(Math,r(t.x)),Math.min.apply(Math,r(t.y))],o=[Math.max.apply(Math,r(t.x)),Math.max.apply(Math,r(t.y))],i=function(e){return-1*n.x(void 0!==e._x1?e._x1:e._x)+Math.PI/2},u=function(e){return n.x(void 0!==e._x1?e._x1:e._x)};return Object(f.a)().x(function(t){return e.polar?i(t):u(t)}).y(function(e){return n.y(void 0!==e._y1?e._y1:e._y)}).extent([a,o])},h=function(e){var t=e.theme&&e.theme.voronoi&&e.theme.voronoi.style?e.theme.voronoi.style:{},n=p.m.getStyles(e.style,t),r=p.i.getData(e),a={x:p.m.getRange(e,"x"),y:p.m.getRange(e,"y")},o={x:p.k.getDomain(e,"x"),y:p.k.getDomain(e,"y")},i={x:p.w.getBaseScale(e,"x").domain(o.x).range(a.x),y:p.w.getBaseScale(e,"y").domain(o.y).range(a.y)};return{domain:o,data:r,scale:i,style:n,polygons:d(e,a,i).polygons(r),origin:e.polar?e.origin||p.m.getPolarOrigin(e):void 0}},y=function(e,t){var n=p.m.modifyProps(e,t,"scatter");e=s()({},n,h(n));var r=e,a=r.data,o=r.domain,i=r.events,u=r.height,l=r.origin,f=r.padding,d=r.polar,y=r.polygons,b=r.scale,m=r.sharedEvents,g=r.standalone,v=r.style,x=r.theme,O=r.width,w=r.labels,_=r.name,j={parent:{style:v.parent,scale:b,domain:o,data:a,standalone:g,height:u,width:O,theme:x,origin:l,polar:d,padding:f,name:_}};return a.reduce(function(t,n,r){var o=c()(y[r],"data"),u=n.eventKey,s=p.m.scalePoint(e,n),f=s.x,d=s.y,h={x:f,y:d,datum:n,data:a,index:r,scale:b,polygon:o,origin:l,size:e.size,style:v.data};t[u]={data:h};var g=p.n.getText(e,n,r);return(void 0!==g&&null!==g||w&&(i||m))&&(t[u].labels=p.n.getProps(e,r)),t},j)}},function(e,t,n){"use strict";var r=n(467),a=n(468),o=n(44);t.a=function(){function e(e){return new o.d(e.map(function(r,a){var i=[Math.round(t(r,a,e)/o.f)*o.f,Math.round(n(r,a,e)/o.f)*o.f];return i.index=a,i.data=r,i}),i)}var t=a.a,n=a.b,i=null;return e.polygons=function(t){return e(t).polygons()},e.links=function(t){return e(t).links()},e.triangles=function(t){return e(t).triangles()},e.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),e):t},e.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(r.a)(+t),e):n},e.extent=function(t){return arguments.length?(i=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],e):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},e.size=function(t){return arguments.length?(i=null==t?null:[[0,0],[+t[0],+t[1]]],e):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},e}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(e){return e[0]}function a(e){return e[1]}t.a=r,t.b=a},function(e,t,n){"use strict";function r(){Object(s.a)(this),this.edge=this.site=this.circle=null}function a(e){var t=y.pop()||new r;return t.site=e,t}function o(e){Object(p.b)(e),h.a.remove(e),y.push(e),Object(s.a)(e)}function i(e){var t=e.circle,n=t.x,r=t.cy,a=[n,r],i=e.P,u=e.N,c=[e];o(e);for(var l=i;l.circle&&Math.abs(n-l.circle.x)<h.f&&Math.abs(r-l.circle.cy)<h.f;)i=l.P,c.unshift(l),o(l),l=i;c.unshift(l),Object(p.b)(l);for(var s=u;s.circle&&Math.abs(n-s.circle.x)<h.f&&Math.abs(r-s.circle.cy)<h.f;)u=s.N,c.push(s),o(s),s=u;c.push(s),Object(p.b)(s);var f,y=c.length;for(f=1;f<y;++f)s=c[f],l=c[f-1],Object(d.d)(s.edge,l.site,s.site,a);l=c[0],s=c[y-1],s.edge=Object(d.c)(l.site,s.site,null,a),Object(p.a)(l),Object(p.a)(s)}function u(e){for(var t,n,r,o,i=e[0],u=e[1],s=h.a._;s;)if((r=c(s,u)-i)>h.f)s=s.L;else{if(!((o=i-l(s,u))>h.f)){r>-h.f?(t=s.P,n=s):o>-h.f?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}Object(f.c)(e);var y=a(e);if(h.a.insert(t,y),t||n){if(t===n)return Object(p.b)(t),n=a(t.site),h.a.insert(y,n),y.edge=n.edge=Object(d.c)(t.site,y.site),Object(p.a)(t),void Object(p.a)(n);if(!n)return void(y.edge=Object(d.c)(t.site,y.site));Object(p.b)(t),Object(p.b)(n);var b=t.site,m=b[0],g=b[1],v=e[0]-m,x=e[1]-g,O=n.site,w=O[0]-m,_=O[1]-g,j=2*(v*_-x*w),P=v*v+x*x,C=w*w+_*_,M=[(_*P-x*C)/j+m,(v*C-w*P)/j+g];Object(d.d)(n.edge,b,O,M),y.edge=Object(d.c)(b,e,null,M),n.edge=Object(d.c)(e,O,null,M),Object(p.a)(t),Object(p.a)(n)}}function c(e,t){var n=e.site,r=n[0],a=n[1],o=a-t;if(!o)return r;var i=e.P;if(!i)return-1/0;n=i.site;var u=n[0],c=n[1],l=c-t;if(!l)return u;var s=u-r,f=1/o-1/l,p=s/l;return f?(-p+Math.sqrt(p*p-2*f*(s*s/(-2*l)-c+l/2+a-o/2)))/f+r:(r+u)/2}function l(e,t){var n=e.N;if(n)return c(n,t);var r=e.site;return r[1]===t?r[0]:1/0}t.b=i,t.a=u;var s=n(103),f=n(196),p=n(197),d=n(104),h=n(44),y=[]},function(e,t,n){"use strict";var r=n(471);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){return p(e)||f(e)||s()}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function f(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function p(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return I});var d=n(33),h=n.n(d),y=n(5),b=n.n(y),m=n(4),g=n.n(m),v=n(3),x=n.n(v),O=n(0),w=n.n(O),_=n(2),j=n.n(_),P=n(1),C=n(11),M=n.n(C),A=function(e){var t=e.scale,n=void 0===t?{}:t,r=e.dimension,a=void 0===r?"x":r;if(n[a])return n[a];var o=P.w.getBaseScale(e,a),i=P.m.getRange(e,a),u=P.k.getDomainFromProps(e,a)||[0,1];return o.range(i).domain(u),o},k=function(e,t){var n=A(e);return[n(Math.min.apply(Math,l(t))),n(Math.max.apply(Math,l(t)))]},E=function(e,t){var n=A(e);return[n.invert(Math.min.apply(Math,l(t))),n.invert(Math.max.apply(Math,l(t)))]},T=function(e){return A(e).range()},S=function(e){return A(e).domain()},D=function(e,t){return e>=Math.min.apply(Math,l(t))&&e<=Math.max.apply(Math,l(t))},N=function(e,t,n){var r=e.handleWidth/2,a=e.dimension,o=function(e){var t={min:"x"===a?Math.min.apply(Math,l(n)):Math.max.apply(Math,l(n)),max:"x"===a?Math.max.apply(Math,l(n)):Math.min.apply(Math,l(n))};return[t[e]-r,t[e]+r]},i=["min","max"].reduce(function(e,n){return e[n]=D(t,o(n))?n:void 0,e},{});return i.min&&i.max?"both":i.min||i.max},L=function(){return[0,1/Number.MAX_SAFE_INTEGER]},R=function(e,t){var n=e.brushDomain,r=e.startPosition,a=k(e,n),o=T(e),i=Math.abs(a[1]-a[0]),u=Math.min.apply(Math,l(o)),c=Math.max.apply(Math,l(o)),s=r?r-t:0,f=Math.min.apply(Math,l(a))-s,p=Math.max.apply(Math,l(a))-s;return[f>c-i?c-i:Math.max(f,u),p<u+i?u+i:Math.min(p,c)]},z={brushAreaStyle:{stroke:"none",fill:"black",opacity:function(e,t){return t?.2:.1}},brushStyle:{pointerEvents:"none",stroke:"none",fill:"black",opacity:function(e,t){return t?.4:.3}},handleStyle:{pointerEvents:"none",stroke:"none",fill:"none"}},I=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"getRectDimensions",value:function(e,t,n){var r=e.dimension,a=e.brushDomain;n=n||a||S(e);var o=k(e,n),i="x"===r?{y1:e.y1,y2:e.y2,x1:Math.min.apply(Math,l(o)),x2:Math.max.apply(Math,l(o))}:{x1:e.x1,x2:e.x2,y1:Math.min.apply(Math,l(o)),y2:Math.max.apply(Math,l(o))},u=i.x1,c=i.x2,s=i.y1,f=i.y2,p={x:"x"===r?0:t/2,y:"y"===r?0:t/2},d=Math.min(u,c)-p.x,h=Math.min(s,f)-p.y;return{x:d,y:h,width:Math.max(u,c)+p.x-d,height:Math.max(s,f)+p.y-h}}},{key:"getHandleDimensions",value:function(e){var t=e.dimension,n=e.handleWidth,r=e.x1,a=e.x2,o=e.y1,i=e.y2,u=e.brushDomain,c=e.brushWidth||e.width,s=u||S(e),f=k(e,s),p=Math.min(r,a)-c/2,d=Math.min(o,i)-c/2,h={min:"x"===t?Math.min.apply(Math,l(f))-n/2:p,max:"x"===t?Math.max.apply(Math,l(f))-n/2:p},y={min:"y"===t?Math.max.apply(Math,l(f))-n/2:d,max:"y"===t?Math.min.apply(Math,l(f))-n/2:d},b="x"===t?n:c,m="x"===t?c:n;return{min:{x:h.min,y:y.min,width:b,height:m},max:{x:h.max,y:y.max,width:b,height:m}}}},{key:"getCursor",value:function(e){var t=e.dimension,n=e.activeBrushes,r=void 0===n?{}:n;return r.minHandle||r.maxHandle?"x"===t?"ew-resize":"ns-resize":r.brush?"move":"crosshair"}},{key:"renderHandles",value:function(e){var t=e.handleComponent,n=e.handleStyle,r=e.id,a=e.brushDomain,o=e.datum,i=void 0===o?{}:o,u=e.activeBrushes,c=void 0===u?{}:u;if(!a)return null;var l=this.getHandleDimensions(e),s=x()({},z.handleStyle,n),f=x()({handleValue:P.g.getMinValue(a)},i),p=x()({handleValue:P.g.getMaxValue(a)},i),d=x()({key:"".concat(r,"-min"),style:P.m.evaluateStyle(s,f,c.minHandle)},l.min),h=x()({key:"".concat(r,"-max"),style:P.m.evaluateStyle(s,p,c.maxHandle)},l.max);return[w.a.cloneElement(t,d),w.a.cloneElement(t,h)]}},{key:"renderBrush",value:function(e){var t=e.brushComponent,n=e.brushStyle,r=e.activeBrushes,a=void 0===r?{}:r,o=e.datum,i=void 0===o?{}:o;if(!e.brushDomain)return null;var u=e.brushWidth||e.width,c=this.getRectDimensions(e,u),l=x()({},z.brushStyle,n),s=P.m.evaluateStyle(l,i,a.brush),f=x()({style:s},c);return w.a.cloneElement(t,f)}},{key:"renderBrushArea",value:function(e){var t=e.brushAreaComponent,n=e.brushAreaStyle,r=e.activeBrushes,a=void 0===r?{}:r,o=e.datum,i=void 0===o?{}:o,u=e.brushAreaWidth||e.width,c=this.getCursor(e),l=this.getRectDimensions(e,u,S(e)),s=x()({cursor:c},z.brushAreaStyle,n),f=P.m.evaluateStyle(s,i,a.brushArea),p=x()({style:f},l);return w.a.cloneElement(t,p)}},{key:"renderLine",value:function(e){var t=h()(e,["x1","x2","y1","y2","datum","scale","active","style"]);return w.a.cloneElement(e.lineComponent,t)}},{key:"render",value:function(){return w.a.createElement("g",this.props.events,this.renderLine(this.props),this.renderBrushArea(this.props),this.renderBrush(this.props),this.renderHandles(this.props))}}]),t}(w.a.Component);Object.defineProperty(I,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{allowDrag:j.a.bool,allowDraw:j.a.bool,allowResize:j.a.bool,brushAreaComponent:j.a.element,brushAreaStyle:j.a.object,brushAreaWidth:j.a.number,brushComponent:j.a.element,brushDimension:j.a.oneOf(["x","y"]),brushDomain:j.a.array,brushStyle:j.a.object,brushWidth:j.a.number,className:j.a.string,dimension:j.a.oneOf(["x","y"]),disable:j.a.bool,events:j.a.object,groupComponent:j.a.element,handleComponent:j.a.element,handleStyle:j.a.object,handleWidth:j.a.number,id:j.a.oneOfType([j.a.number,j.a.string]),lineComponent:j.a.element,name:j.a.string,onBrushDomainChange:j.a.func,scale:j.a.object,style:j.a.object,type:j.a.string,width:j.a.number}}),Object.defineProperty(I,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{allowDrag:!0,allowDraw:!0,allowResize:!0,brushAreaComponent:w.a.createElement(P.d,null),brushComponent:w.a.createElement(P.d,null),groupComponent:w.a.createElement("g",null),handleComponent:w.a.createElement(P.d,null),handleWidth:10,lineComponent:w.a.createElement(P.p,null),width:10}}),Object.defineProperty(I,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return e.disable?void 0:[{target:e.type,eventHandlers:{onMouseEnter:function(e,t){e.preventDefault();var n=t.dimension,r=t.allowResize,a=t.brushDomain,o=t.parentSVG||P.x.getParentSVG(e),i=P.x.getSVGEventCoordinates(e,o)[n],u=S(t),c=a||u,l=k(t,c),s=r&&N(t,i,l),f={brushArea:!t.brushDomain,brush:D(i,l)&&!M()(u,c),minHandle:"min"===s||"both"===s,maxHandle:"min"===s||"both"===s};return[{mutation:function(){return{activeBrushes:f,brushDomain:t.brushDomain,parentSVG:o}}}]},onMouseDown:function(e,t){e.preventDefault();var n=t.allowResize,r=t.allowDrag,a=t.allowDraw,o=t.dimension,i=t.activeBrushes,u=t.brushDomain;if(!n&&!r)return[];var c=S(t),l=u||c,s=t.parentSVG||P.x.getParentSVG(e),f=P.x.getSVGEventCoordinates(e,s)[o],p=k(t,l),d=n&&N(t,f,p);return d?[{mutation:function(){return{parentSVG:s,isSelecting:!0,activeHandle:d,brushDomain:l,startPosition:f,activeBrushes:i}}}]:D(f,p)&&!M()(c,l)?[{mutation:function(){return{isPanning:r,startPosition:f,brushDomain:l,activeBrushes:i,parentSVG:s}}}]:a?[{mutation:function(){return{isSelecting:n,brushDomain:null,startPosition:f,activeBrushes:i,parentSVG:s}}}]:[]},onMouseMove:function(e,t){var n=t.isPanning,r=t.isSelecting,a=t.allowResize,o=t.allowDrag,i=t.dimension,u=t.onBrushDomainChange,c=t.brushDomain;(n||r)&&(e.preventDefault(),e.stopPropagation());var s=t.parentSVG||P.x.getParentSVG(e),f=P.x.getSVGEventCoordinates(e,s)[i],p=S(t),d=c||p,h=k(t,d),y=N(t,f,h),m={brushArea:!t.brushDomain,brush:D(f,h)&&!M()(p,d),minHandle:"min"===y||"both"===y,maxHandle:"max"===y||"both"===y};if(!t.isPanning&&!t.isSelecting)return[{mutation:function(){return{activeBrushes:m,brushDomain:t.brushDomain,parentSVG:s}}}];if(o&&n){var v=T(t),x=R(t,f),O=E(t,x),w=Math.max.apply(Math,l(x))>=Math.max.apply(Math,l(v))||Math.min.apply(Math,l(x))<=Math.min.apply(Math,l(v))?t.startPosition:f,_={startPosition:w,isPanning:!0,brushDomain:O,activeBrushes:{brush:!0},parentSVG:s};return b()(u)&&u(O,g()({},_,t)),[{mutation:function(){return _}}]}if(a&&r){var j=c||L(),C=k(t,j),A="min"===t.activeHandle?"max":"min",z=t.activeHandle&&"both"===N(t,f,C)?A:t.activeHandle;if(z){var I="x"===i?Math.max.apply(Math,l(C)):Math.min.apply(Math,l(C)),B="x"===i?Math.min.apply(Math,l(C)):Math.max.apply(Math,l(C));j=E(t,["max"===z?B:f,"min"===z?I:f])}else j=E(t,[t.startPosition,f]);var V={brushDomain:j,startPosition:t.startPosition,isSelecting:r,activeHandle:z,parentSVG:s,activeBrushes:{brush:!0,minHandle:"min"===y,maxHandle:"max"===y}};return b()(u)&&u(j,g()({},V,t)),[{mutation:function(){return V}}]}return[]},onMouseUp:function(e,t){var n=t.onBrushDomainChange,r=t.brushDomain,a=t.allowResize,o=t.activeBrushes,i={isPanning:!1,isSelecting:!1,activeHandle:null,startPosition:null,brushDomain:r,activeBrushes:o};return a&&b()(n)&&n(r,g()({},i,t)),[{mutation:function(){return i}}]},onMouseLeave:function(e,t){var n=t.brushDomain;return[{mutation:function(){return{isPanning:!1,isSelecting:!1,activeHandle:null,startPosition:null,brushDomain:n,activeBrushes:{}}}}]}}}]}})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return M});var y=n(4),b=n.n(y),m=n(3),g=n.n(m),v=n(2),x=n.n(v),O=n(0),w=n.n(O),_=n(1),j=n(199),P=n(11),C=n.n(P),M=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getSelectBox",value:function(e,t){var n=t.x,r=t.y,a=e.brushStyle,o=e.brushComponent,i=e.name,u=o.props&&o.props.style,c=e.allowDrag||e.allowResize?"move":"auto";return n[0]!==n[1]&&r[0]!==r[1]?w.a.cloneElement(o,{key:"".concat(i,"-brush"),width:Math.abs(n[1]-n[0])||1,height:Math.abs(r[1]-r[0])||1,x:Math.min(n[0],n[1]),y:Math.min(r[0],r[1]),cursor:c,style:b()({},u,a)}):null}},{key:"getCursorPointers",value:function(e){var t={yProps:"ns-resize",xProps:"ew-resize"};return!e.allowResize&&e.allowDrag?(t.xProps="move",t.yProps="move"):e.allowResize||e.allowDrag||(t.xProps="auto",t.yProps="auto"),t}},{key:"getHandles",value:function(e,t){var n=e.brushDimension,r=e.handleWidth,a=e.handleStyle,o=e.handleComponent,i=e.name,u=t.x,c=t.y,l=Math.abs(u[1]-u[0])||1,s=Math.abs(c[1]-c[0])||1,f=o.props&&o.props.style||{},p=b()({},f,a),d=this.getCursorPointers(e),h={style:p,width:l,height:r,cursor:d.yProps},y={style:p,width:r,height:s,cursor:d.xProps},m={top:"x"!==n&&g()({x:u[0],y:c[1]-r/2},h),bottom:"x"!==n&&g()({x:u[0],y:c[0]-r/2},h),left:"y"!==n&&g()({y:c[1],x:u[0]-r/2},y),right:"y"!==n&&g()({y:c[1],x:u[1]-r/2},y)},v=["top","bottom","left","right"].reduce(function(e,t){return e=m[t]?e.concat(w.a.cloneElement(o,g()({key:"".concat(i,"-handle-").concat(t)},m[t]))):e},[]);return v.length?v:null}},{key:"getRect",value:function(e){var t=e.currentDomain,n=e.cachedBrushDomain,r=b()({},e.brushDomain,e.domain),a=C()(r,n)?b()({},t,r):r,o=_.x.getDomainCoordinates(e,a),i=this.getSelectBox(e,o);return i?[i,this.getHandles(e,o)]:[]}},{key:"getChildren",value:function(e){return o(w.a.Children.toArray(e.children)).concat(o(this.getRect(e)))}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},_.G.propTypes,{allowDrag:x.a.bool,allowDraw:x.a.bool,allowResize:x.a.bool,brushComponent:x.a.element,brushDimension:x.a.oneOf(["x","y"]),brushDomain:x.a.shape({x:x.a.array,y:x.a.array}),brushStyle:x.a.object,defaultBrushArea:x.a.oneOf(["all","disable","none"]),disable:x.a.bool,handleComponent:x.a.element,handleStyle:x.a.object,handleWidth:x.a.number,onBrushCleared:x.a.func,onBrushDomainChange:x.a.func,onBrushDomainChangeEnd:x.a.func})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},_.G.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:w.a.createElement("rect",null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:w.a.createElement("rect",null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:j.a.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:j.a.onMouseDown(t,n)},onMouseMove:function(t,n){return e.disable?{}:j.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:j.a.onMouseMove(t,n)},onMouseUp:function(t,n){return e.disable?{}:j.a.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:j.a.onMouseUp(t,n)},onMouseLeave:function(t,n){return e.disable?{}:j.a.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:j.a.onMouseLeave(t,n)}}}]}}),n};t.b=M(_.G)},function(e,t,n){function r(e,t,n){function r(t){var n=g,r=v;return g=v=void 0,j=t,O=e.apply(r,n)}function s(e){return j=e,w=setTimeout(d,t),P?r(e):O}function f(e){var n=e-_,r=e-j,a=t-n;return C?l(a,x-r):a}function p(e){var n=e-_,r=e-j;return void 0===_||n>=t||n<0||C&&r>=x}function d(){var e=o();if(p(e))return h(e);w=setTimeout(d,f(e))}function h(e){return w=void 0,M&&g?r(e):(g=v=void 0,O)}function y(){void 0!==w&&clearTimeout(w),j=0,g=_=v=w=void 0}function b(){return void 0===w?O:h(o())}function m(){var e=o(),n=p(e);if(g=arguments,v=this,_=e,n){if(void 0===w)return s(_);if(C)return w=setTimeout(d,t),r(_)}return void 0===w&&(w=setTimeout(d,t)),O}var g,v,x,O,w,_,j=0,P=!1,C=!1,M=!0;if("function"!=typeof e)throw new TypeError(u);return t=i(t)||0,a(n)&&(P=!!n.leading,C="maxWait"in n,x=C?c(i(n.maxWait)||0,t):x,M="trailing"in n?!!n.trailing:M),m.cancel=y,m.flush=b,m}var a=n(9),o=n(474),i=n(132),u="Expected a function",c=Math.max,l=Math.min;e.exports=r},function(e,t,n){var r=n(114),a=function(){return r.Date.now()};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return M});var y=n(9),b=n.n(y),m=n(3),g=n.n(m),v=n(4),x=n.n(v),O=n(2),w=n.n(O),_=n(0),j=n.n(_),P=n(1),C=n(202),M=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getCursorPosition",value:function(e){var t=e.cursorValue,n=e.defaultCursorValue,r=e.cursorDimension,a=e.domain;return t||("number"==typeof n?c({x:(a.x[0]+a.x[1])/2,y:(a.y[0]+a.y[1])/2},r,n):n)}},{key:"getCursorLabelOffset",value:function(e){var t=e.cursorLabelOffset;return"number"==typeof t?{x:t,y:t}:t}},{key:"getPadding",value:function(e){if(void 0===e.padding){var t=e.children.find(function(e){return b()(e.props)&&void 0!==e.props.padding});return P.m.getPadding(t.props)}return P.m.getPadding(e)}},{key:"getCursorElements",value:function(e){var t=e.scale,n=e.cursorDimension,r=e.cursorLabelComponent,a=e.cursorLabel,o=e.cursorComponent,i=e.width,u=e.height,c=e.name,l=this.getCursorPosition(e),s=this.getCursorLabelOffset(e);if(!l)return[];var f=[],p=this.getPadding(e),d={x:t.x(l.x),y:t.y(l.y)};a&&f.push(j.a.cloneElement(r,x()({active:!0},r.props,{x:d.x+s.x,y:d.y+s.y,text:P.m.evaluateProp(a,l,!0),active:!0,key:"".concat(c,"-cursor-label")})));var h=g()({stroke:"black"},o.props.style);return"x"!==n&&void 0!==n||f.push(j.a.cloneElement(o,{key:"".concat(c,"-x-cursor"),x1:d.x,x2:d.x,y1:p.top,y2:u-p.bottom,style:h})),"y"!==n&&void 0!==n||f.push(j.a.cloneElement(o,{key:"".concat(c,"-y-cursor"),x1:p.left,x2:i-p.right,y1:d.y,y2:d.y,style:h})),f}},{key:"getChildren",value:function(e){return a(j.a.Children.toArray(e.children)).concat(a(this.getCursorElements(e)))}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryCursorContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},P.G.propTypes,{cursorDimension:w.a.oneOf(["x","y"]),cursorLabel:w.a.func,cursorLabelComponent:w.a.element,cursorLabelOffset:w.a.oneOfType([w.a.number,w.a.shape({x:w.a.number,y:w.a.number})]),defaultCursorValue:w.a.oneOfType([w.a.number,w.a.shape({x:w.a.number,y:w.a.number})]),disable:w.a.bool,onCursorChange:w.a.func})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},P.G.defaultProps,{cursorLabelComponent:j.a.createElement(P.H,null),cursorLabelOffset:{x:5,y:-10},cursorComponent:j.a.createElement(P.p,null)})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(){return[]},onTouchCancel:function(){return[]},onMouseMove:function(t,n){return e.disable?{}:C.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:C.a.onMouseMove(t,n)}}}]}}),n};t.b=M(P.G)},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return O});var y=n(2),b=n.n(y),m=n(0),g=n.n(m),v=n(1),x=n(204),O=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getRect",value:function(e){var t=e.x1,n=e.x2,r=e.y1,a=e.y2,o=e.selectionStyle,i=e.selectionComponent,u=e.name,c=Math.abs(n-t)||1,l=Math.abs(a-r)||1,s=Math.min(t,n),f=Math.min(r,a);return a&&n&&t&&r?g.a.cloneElement(i,{key:"".concat(u,"-selection"),x:s,y:f,width:c,height:l,style:o}):null}},{key:"getChildren",value:function(e){return o(g.a.Children.toArray(e.children)).concat([this.getRect(e)])}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySelectionContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},v.G.propTypes,{activateSelectedData:b.a.bool,allowSelection:b.a.bool,disable:b.a.bool,onSelection:b.a.func,onSelectionCleared:b.a.func,selectionBlacklist:b.a.arrayOf(b.a.string),selectionComponent:b.a.element,selectionDimension:b.a.oneOf(["x","y"]),selectionStyle:b.a.object})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},v.G.defaultProps,{activateSelectedData:!0,allowSelection:!0,selectionComponent:g.a.createElement("rect",null),selectionStyle:{stroke:"transparent",fill:"black",fillOpacity:.1}})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:x.a.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:x.a.onMouseDown(t,n)},onMouseMove:function(t,n){return e.disable?{}:x.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:x.a.onMouseMove(t,n)},onMouseUp:function(t,n){return e.disable?{}:x.a.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:x.a.onMouseUp(t,n)}}}]}}),n};t.a=O(v.G)},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function i(e){return l(e)||c(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function c(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function l(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function d(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return k});var b=n(33),m=n.n(b),g=n(5),v=n.n(g),x=n(4),O=n.n(x),w=n(2),_=n.n(w),j=n(0),P=n.n(j),C=n(206),M=n(1),A=n(208),k=function(e){var t,n;return n=t=function(e){function t(){return s(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y(t,e),p(t,[{key:"getLabelPadding",value:function(e){if(!e)return 0;var t=Array.isArray(e)?e.map(function(e){return e.padding}):[e.padding];return Math.max.apply(Math,i(t).concat([0]))}},{key:"getFlyoutSize",value:function(e,t,n){var r=this.getLabelPadding(n),a=M.B.approximateTextSize(t,n);return{x:e.width||a.width+r,y:e.height||a.height+r}}},{key:"getLabelCornerRadius",value:function(e,t){if(void 0!==t.cornerRadius)return t.cornerRadius;var n=e.theme||t.theme;return n.tooltip&&n.tooltip.cornerRadius||0}},{key:"getFlyoutExtent",value:function(e,t,n){var r=n.text,a=n.style,o=n.orientation,u=n.dx,c=void 0===u?0:u,l=n.dy,s=void 0===l?0:l,f=this.getFlyoutSize(t.labelComponent,r,a),p=this.getLabelCornerRadius(t,n),d=e.x+c+2*p,h=e.y+s+2*p,y="top"===o||"bottom"===o?f.x/2:f.x,b="left"===o?-1:1,m="bottom"===o?1:-1,g={};return g.x="top"===o||"bottom"===o?[d-y,d+y]:[d,d+b*y],g.y=[h,h+m*f.y],{x:[Math.min.apply(Math,i(g.x)),Math.max.apply(Math,i(g.x))],y:[Math.min.apply(Math,i(g.y)),Math.max.apply(Math,i(g.y))]}}},{key:"getPoint",value:function(e,t){var n=["_x","_x1","_x0","_y","_y1","_y0"];return e.horizontal?{_x:t._y,_y:t._x,_x1:t._y1,_y1:t._x1,_x0:t._y0,_y0:t._x0}:m()(t,n)}},{key:"getLabelPosition",value:function(e,t,n){var r=e.mousePosition,a=e.voronoiDimension,o=e.scale,u=e.voronoiPadding,c=this.getPoint(e,t[0]),l=M.m.scalePoint(e,c);if(!a||t.length<2)return l;var s="y"===a?r.x:l.x,f="x"===a?r.y:l.y;if(e.polar)return{x:s,y:f};var p={x:o.x.range(),y:o.y.range()},d={x:[Math.min.apply(Math,i(p.x))+u,Math.max.apply(Math,i(p.x))-u],y:[Math.min.apply(Math,i(p.y))+u,Math.max.apply(Math,i(p.y))-u]},h=this.getFlyoutExtent({x:s,y:f},e,n),y={x:[h.x[0]<d.x[0]?d.x[0]-h.x[0]:0,h.x[1]>d.x[1]?h.x[1]-d.x[1]:0],y:[h.y[0]<d.y[0]?d.y[0]-h.y[0]:0,h.y[1]>d.y[1]?h.y[1]-d.y[1]:0]};return{x:Math.round(s+y.x[0]-y.x[1]),y:Math.round(f+y.y[0]-y.y[1])}}},{key:"getStyle",value:function(e,t,n){var r=e.labels,a=e.labelComponent,o=e.theme,i=a.props||{},u=o&&o.voronoi&&o.voronoi.style?o.voronoi.style:{},c="flyout"===n?i.flyoutStyle:i.style;return t.reduce(function(e,a,o){var i=v()(r)?r(a,o,t):void 0,l=void 0!==i?"".concat(i).split("\n"):[],s=a.style&&a.style[n]||{},f=Array.isArray(c)?c[o]:c,p=M.m.evaluateStyle(O()({},f,s,u[n]),a,!0),d=l.length?l.map(function(){return p}):[p];return e=e.concat(d)},[])}},{key:"getDefaultLabelProps",value:function(e,t){var n=e.voronoiDimension,r=e.horizontal,a=this.getPoint(e,t[0]),o=n&&t.length>1,i=void 0!==a._y1?a._y1:a._y,u=i<0?"left":"right",c=i<0?"bottom":"top",l=r?u:c;return{orientation:o?"top":l,pointerLength:o?0:void 0}}},{key:"getLabelProps",value:function(e,t){var n=e.labels,r=e.scale,a=e.labelComponent,i=e.theme,u=t.reduce(function(e,r,a){var o=v()(n)?n(r,a,t):null;return null===o||void 0===o?e:e=e.concat("".concat(o).split("\n"))},[]),c=a.props||{},l=t[0],s=l.childName,f=l.eventKey,p=(l.style,l.continuous,o(l,["childName","eventKey","style","continuous"])),d=e.name===s?s:"".concat(e.name,"-").concat(s),h=O()({key:"".concat(d,"-").concat(f,"-voronoi-tooltip"),id:"".concat(d,"-").concat(f,"-voronoi-tooltip"),active:!0,flyoutStyle:this.getStyle(e,t,"flyout")[0],renderInPortal:!1,style:this.getStyle(e,t,"labels"),datum:p,scale:r,theme:i,text:u},c,this.getDefaultLabelProps(e,t)),y=this.getLabelPosition(e,t,h);return O()({},y,h)}},{key:"getTooltip",value:function(e){var t=e.labels,n=e.activePoints,r=e.labelComponent;return t&&Array.isArray(n)&&n.length?P.a.cloneElement(r,this.getLabelProps(e,n)):null}},{key:"getChildren",value:function(e){return i(P.a.Children.toArray(e.children)).concat([this.getTooltip(e)])}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoiContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},M.G.propTypes,{activateData:_.a.bool,activateLabels:_.a.bool,disable:_.a.bool,labelComponent:_.a.element,labels:_.a.func,onActivated:_.a.func,onDeactivated:_.a.func,radius:_.a.number,voronoiBlacklist:_.a.arrayOf(_.a.string),voronoiDimension:_.a.oneOf(["x","y"]),voronoiPadding:_.a.number})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},M.G.defaultProps,{activateData:!0,activateLabels:!0,labelComponent:P.a.createElement(C.b,null),voronoiPadding:5})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(t,n){return e.disable?{}:A.a.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:A.a.onMouseLeave(t,n)},onMouseMove:function(t,n){return e.disable?{}:A.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:A.a.onMouseMove(t,n)}}},{target:"data",eventHandlers:e.disable?{}:{onMouseOver:function(){return null},onMouseOut:function(){return null},onMouseMove:function(){return null}}}]}}),n};t.a=k(M.G)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return C});var d=n(32),h=n.n(d),y=n(4),b=n.n(y),m=n(3),g=n.n(m),v=n(0),x=n.n(v),O=n(2),w=n.n(O),_=n(1),j=n(207),P={cornerRadius:5,pointerLength:10,pointerWidth:10},C=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.id=void 0===e.id?h()("tooltip-"):e.id,n}return p(t,e),l(t,[{key:"getDefaultOrientation",value:function(e){var t=e.datum,n=e.horizontal;if(e.polar)return this.getPolarOrientation(e,t);var r=n?"right":"top",a=n?"left":"bottom";return t&&t.y<0?a:r}},{key:"getPolarOrientation",value:function(e,t){var n=_.n.getDegrees(e,t),r=e.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}},{key:"getEvaluatedProps",value:function(e){var t=e.horizontal,n=e.datum,r=e.pointerLength,a=e.pointerWidth,o=e.cornerRadius,i=e.width,u=e.height,c=e.dx,l=e.dy,s=e.text,f=e.active,p=Array.isArray(e.style)?e.style.map(function(e){return _.m.evaluateStyle(e,n,f)}):_.m.evaluateStyle(e.style,n,f),d=_.m.evaluateStyle(e.flyoutStyle,n,f),h=d&&d.padding||0,y=t?h:0,b=t?0:h,m=_.m.evaluateProp(e.orientation,n,f)||this.getDefaultOrientation(e);return g()({},e,{style:p,flyoutStyle:d,orientation:m,dx:void 0!==c?_.m.evaluateProp(c,n,f):y,dy:void 0!==l?_.m.evaluateProp(l,n,f):b,cornerRadius:_.m.evaluateProp(o,n,f),pointerLength:_.m.evaluateProp(r,n,f),pointerWidth:_.m.evaluateProp(a,n,f),width:_.m.evaluateProp(i,n,f),height:_.m.evaluateProp(u,n,f),active:_.m.evaluateProp(f,n,f),text:_.m.evaluateProp(s,n,f)})}},{key:"getCalculatedValues",value:function(e){var t=e.style,n=e.text,r=e.datum,a=e.active,o=e.theme||_.J.grayscale,i=o&&o.tooltip&&o.tooltip.style?o.tooltip.style:{},u=Array.isArray(t)?t.map(function(e){return b()({},e,i)}):b()({},t,i),c=o&&o.tooltip&&o.tooltip.flyoutStyle?o.tooltip.flyoutStyle:{},l=e.flyoutStyle?b()({},e.flyoutStyle,c):c,s=Array.isArray(u)?u.map(function(e){return _.m.evaluateStyle(e,r,a)}):_.m.evaluateStyle(u,r,a),f=_.B.approximateTextSize(n,s),p=this.getDimensions(e,f,s);return{labelStyle:s,flyoutStyle:l,labelSize:f,flyoutDimensions:p,flyoutCenter:this.getFlyoutCenter(e,p),transform:this.getTransform(e)}}},{key:"getTransform",value:function(e){var t=e.x,n=e.y,r=e.style,a=r||{},o=a.angle||e.angle||this.getDefaultAngle(e);return o?"rotate(".concat(o," ").concat(t," ").concat(n,")"):void 0}},{key:"getDefaultAngle",value:function(e){var t=e.polar,n=e.labelPlacement,r=e.orientation,a=e.datum;if(!t||!n||"vertical"===n)return 0;var o,i=_.n.getDegrees(e,a),u=i>90&&i<180||i>270?1:-1,c="perpendicular"===n?0:90;return 0===i||180===i?o="top"===r&&180===i?270:90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+u*c}},{key:"getFlyoutCenter",value:function(e,t){var n=e.x,r=e.y,a=e.dx,o=e.dy,i=e.pointerLength,u=e.orientation,c=t.height,l=t.width,s="left"===u?-1:1,f="bottom"===u?-1:1;return{x:"left"===u||"right"===u?n+s*(i+l/2+a):n+a,y:"top"===u||"bottom"===u?r-f*(i+c/2+o):r-o}}},{key:"getLabelPadding",value:function(e){if(!e)return 0;var t=Array.isArray(e)?e.map(function(e){return e.padding}):[e.padding];return Math.max.apply(Math,r(t).concat([0]))}},{key:"getDimensions",value:function(e,t,n){var r=e.orientation,a=e.cornerRadius,o=e.pointerLength,i=e.pointerWidth,u=this.getLabelPadding(n);return{height:e.height||function(){var e=t.height+u,n="top"===r||"bottom"===r?2*a:2*a+i;return Math.max(n,e)}()+u/2,width:e.width||function(){var e=t.width+u,n="left"===r||"right"===r?2*a+o:2*a;return Math.max(n,e)}()+u}}},{key:"getLabelProps",value:function(e,t){var n=t.flyoutCenter,r=t.labelStyle,a=t.labelSize,o=t.dy,i=t.dx,u=e.text,c=e.datum,l=e.labelComponent,s=e.index,f=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return b()({},l.props,{key:"".concat(this.id,"-label-").concat(s),text:u,datum:c,textAnchor:f,dy:o,dx:i,style:r,x:f&&"middle"!==f?function(){var e="end"===f?-1:1;return n.x-e*(a.width/2)}():n.x,y:n.y,verticalAnchor:"middle",angle:r.angle})}},{key:"getFlyoutProps",value:function(e,t){var n=t.flyoutDimensions,r=t.flyoutStyle,a=e.x,o=e.y,i=e.dx,u=e.dy,c=e.datum,l=e.index,s=e.orientation,f=e.pointerLength,p=e.pointerWidth,d=e.cornerRadius,h=e.events,y=e.flyoutComponent;return b()({},y.props,{x:a,y:o,dx:i,dy:u,datum:c,index:l,orientation:s,pointerLength:f,pointerWidth:p,cornerRadius:d,events:h,key:"".concat(this.id,"-tooltip-").concat(l),width:n.width,height:n.height,style:r})}},{key:"renderTooltip",value:function(e){var t=this.getEvaluatedProps(e),n=t.flyoutComponent,r=t.labelComponent,a=t.groupComponent,o=t.active,i=t.renderInPortal;if(!o)return i?x.a.createElement(_.I,null,null):null;var u=this.getCalculatedValues(t),c=[x.a.cloneElement(n,this.getFlyoutProps(t,u)),x.a.cloneElement(r,this.getLabelProps(t,u))],l=x.a.cloneElement(a,{role:"presentation",transform:u.transform},c);return i?x.a.createElement(_.I,null,l):l}},{key:"render",value:function(){var e=_.m.modifyProps(this.props,P,"tooltip");return this.renderTooltip(e)}}]),t}(x.a.Component);Object.defineProperty(C,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTooltip"}),Object.defineProperty(C,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{activateData:w.a.bool,active:w.a.oneOfType([w.a.bool,w.a.func]),angle:w.a.number,cornerRadius:w.a.oneOfType([_.u.nonNegative,w.a.func]),data:w.a.array,datum:w.a.object,dx:w.a.oneOfType([w.a.number,w.a.func]),dy:w.a.oneOfType([w.a.number,w.a.func]),events:w.a.object,flyoutComponent:w.a.element,flyoutStyle:w.a.object,groupComponent:w.a.element,height:w.a.oneOfType([_.u.nonNegative,w.a.func]),horizontal:w.a.bool,id:w.a.oneOfType([w.a.number,w.a.string]),index:w.a.oneOfType([w.a.number,w.a.string]),labelComponent:w.a.element,orientation:w.a.oneOfType([w.a.oneOf(["top","bottom","left","right"]),w.a.func]),pointerLength:w.a.oneOfType([_.u.nonNegative,w.a.func]),pointerWidth:w.a.oneOfType([_.u.nonNegative,w.a.func]),polar:w.a.bool,renderInPortal:w.a.bool,style:w.a.oneOfType([w.a.object,w.a.array]),text:w.a.oneOfType([w.a.string,w.a.number,w.a.func,w.a.array]),theme:w.a.object,width:w.a.oneOfType([_.u.nonNegative,w.a.func]),x:w.a.number,y:w.a.number}}),Object.defineProperty(C,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{active:!1,renderInPortal:!0,labelComponent:x.a.createElement(_.H,null),flyoutComponent:x.a.createElement(j.a,null),groupComponent:x.a.createElement("g",null)}}),Object.defineProperty(C,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"data",eventHandlers:{onMouseOver:function(){return e.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 e.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 e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}]},onTouchEnd:function(){return e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}]}}}]}})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return P});var y=n(5),b=n.n(y),m=n(4),g=n.n(m),v=n(2),x=n.n(v),O=n(0),w=n.n(O),_=n(210),j=n(1),P=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"clipDataComponents",value:function(e,t){var n=t.scale,a=t.clipContainerComponent,i=t.polar,u=t.origin,c=n.x.range(),l=n.y.range(),s=Math.abs(c[0]-c[1]),f=Math.abs(l[0]-l[1]),p=Math.max.apply(Math,o(l)),d=w.a.cloneElement(a,r({clipWidth:s,clipHeight:f,translateX:Math.min.apply(Math,o(c)),translateY:Math.min.apply(Math,o(l)),polar:i,origin:i?u:void 0,radius:i?p:void 0},a.props));return w.a.Children.toArray(e).map(function(e){return j.i.isDataComponent(e)?w.a.cloneElement(e,{groupComponent:d}):e})}},{key:"modifyPolarDomain",value:function(e,t){return{x:t.x,y:[0,e.y[1]]}}},{key:"downsampleZoomData",value:function(e,t,n){var r=e.downsample,a=function(e){var n=e.data,r=e.x,a=e.y,o=t.type&&b()(t.type.getData)?t.type.getData:function(){};return!Array.isArray(n)||r||a?o(e):n}(t.props);if(r&&n&&a){var o=!0===r?150:r,i=e.zoomDimension||"x",u=a.findIndex(function(e){return e[i]>=n[i][0]}),c=a.findIndex(function(e){return e[i]>n[i][1]});0!==u&&(u-=1),-1!==c&&(c+=1);var l=a.slice(u,c);return j.i.downsample(l,o,u)}}},{key:"modifyChildren",value:function(e){var t=this;return w.a.Children.toArray(e.children).map(function(n){var o,i=n.type&&n.type.role,u=j.i.isDataComponent(n),c=e.currentDomain,l=e.zoomActive,s=e.allowZoom,f=g()({},e.originalDomain,e.domain),p=g()({},e.zoomDomain,e.domain),d=g()({},e.cachedZoomDomain,e.domain);o=_.b.checkDomainEquality(p,d)?s&&!l?n.props.domain:g()({},c,f):p;var h=e.polar?t.modifyPolarDomain(o,f):o;h&&e.zoomDimension&&(h=r({},p,a({},e.zoomDimension,h[e.zoomDimension])));var y=u&&"stack"!==i?{domain:h,data:t.downsampleZoomData(e,n,h)}:{domain:h};return w.a.cloneElement(n,g()(y,n.props))})}},{key:"getChildren",value:function(e){var t=this.modifyChildren(e);return this.clipDataComponents(t,e)}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryZoomContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},j.G.propTypes,{allowPan:x.a.bool,allowZoom:x.a.bool,clipContainerComponent:x.a.element.isRequired,disable:x.a.bool,downsample:x.a.oneOfType([x.a.bool,x.a.number]),minimumZoom:x.a.shape({x:x.a.number,y:x.a.number}),onZoomDomainChange:x.a.func,zoomDimension:x.a.oneOf(["x","y"]),zoomDomain:x.a.shape({x:j.u.domain,y:j.u.domain})})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},j.G.defaultProps,{clipContainerComponent:w.a.createElement(j.F,null),allowPan:!0,allowZoom:!0,zoomActive:!1})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:_.b.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:_.b.onMouseDown(t,n)},onMouseUp:function(t,n){return e.disable?{}:_.b.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:_.b.onMouseUp(t,n)},onMouseLeave:function(t,n){return e.disable?{}:_.b.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:_.b.onMouseLeave(t,n)},onMouseMove:function(t,n,r,a){return e.disable?{}:_.b.onMouseMove(t,n,r,a)},onTouchMove:function(t,n,r,a){return e.disable?{}:(t.preventDefault(),_.b.onMouseMove(t,n,r,a))},onWheel:function(t,n,r,a){return n.allowZoom&&!e.disable&&t.preventDefault(),e.disable?{}:_.b.onWheel(t,n,r,a)}}}]}}),n};t.a=P(j.G)},function(e,t,n){"use strict";var r=n(481);n.d(t,"a",function(){return r.a}),n.d(t,"c",function(){return r.c}),n.d(t,"b",function(){return r.b})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function y(e,t){return g(e)||m(e,t)||b()}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function m(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}function g(e){if(Array.isArray(e))return e}n.d(t,"b",function(){return H}),n.d(t,"c",function(){return U}),n.d(t,"a",function(){return W});var v=n(5),x=n.n(v),O=n(19),w=n.n(O),_=n(482),j=n.n(_),P=n(16),C=n.n(P),M=n(488),A=n.n(M),k=n(38),E=n.n(k),T=n(490),S=n.n(T),D=n(1),N=n(205),L=n(209),R=n(203),z=n(198),I=n(201),B=function(e){return e?Array.isArray(e)?e:[e]:[]},V=function(e){return e.reduce(function(e,t){return A()(e,function(e,n){var r=t[n];t[n]=r?function(){var t=B(r.apply(void 0,arguments)),n=B(e.apply(void 0,arguments));return t.concat(n)}:e}),t})},F=function(e){var t=E()(e,"target");return S()(t).map(function(e){var t=y(e,2),n=t[0],r=t[1];return r=r.filter(Boolean),w()(r)?null:{target:n,eventHandlers:V(r.map(function(e){return e.eventHandlers}))}}).filter(Boolean)},W=function(e,t){var n,a,o=e.map(function(e){return e(t)}),i=o.map(function(e){return new e}),c=j()(e)(t),s=o.map(function(e){return e.displayName.match(/Victory(.*)Container/)[1]||""}).join("");return a=n=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getChildren",value:function(e){return i.reduce(function(t,n){return n.getChildren(u({},e,{children:t}))},e.children)}}]),t}(c),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Victory".concat(s,"Container")}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:o.reduce(function(e,t){return u({},e,t.propTypes)},{})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:o.reduce(function(e,t){return u({},e,t.defaultProps)},{})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return F(o.reduce(function(t,n){var a=x()(n.defaultEvents)?n.defaultEvents(e):n.defaultEvents;return r(t).concat(r(a))},[]))}}),a},q=function(e,t){e&&!C()(t,e)&&D.q.warn('"'.concat(e,'" is not a valid behavior. Choose from [').concat(t.join(", "),"]."))},U=function(e,t){return function(n,a){var o=Object.keys(e);q(n,o),q(a,o),(arguments.length<=2?0:arguments.length-2)&&D.q.warn("too many arguments given to createContainer (maximum accepted: 2).");var i=e[n],u=e[a]||[];return i?W(r(i).concat(r(u)),t):t}},H=U({zoom:[L.d],voronoi:[N.c],selection:[R.c],cursor:[I.c],brush:[z.c]},D.G)},function(e,t,n){var r=n(483),a=r();e.exports=a},function(e,t,n){function r(e){return o(function(t){var n=t.length,r=n,o=a.prototype.thru;for(e&&t.reverse();r--;){var y=t[r];if("function"!=typeof y)throw new TypeError(s);if(o&&!b&&"wrapper"==u(y))var b=new a([],!0)}for(r=b?r:n;++r<n;){y=t[r];var m=u(y),g="wrapper"==m?i(y):void 0;b=g&&l(g[0])&&g[1]==(d|f|p|h)&&!g[4].length&&1==g[9]?b[u(g[0])].apply(b,g[3]):1==y.length&&l(y)?b[m]():b.thru(y)}return function(){var e=arguments,r=e[0];if(b&&1==e.length&&c(r))return b.plant(r).value();for(var a=0,o=n?t[a].apply(this,e):r;++a<n;)o=t[a].call(this,o);return o}})}var a=n(484),o=n(135),i=n(485),u=n(486),c=n(8),l=n(487),s="Expected a function",f=8,p=32,d=128,h=256;e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t){function n(){}e.exports=n},function(e,t){function n(){return""}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e,t){return e&&a(e,o(t))}var a=n(98),o=n(489);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){var r=n(491),a=n(10),o=r(a);e.exports=o},function(e,t,n){function r(e){return function(t){var n=o(t);return n==c?i(t):n==l?u(t):a(t,e(t))}}var a=n(492),o=n(68),i=n(493),u=n(494),c="[object Map]",l="[object Set]";e.exports=r},function(e,t,n){function r(e,t){return a(t,function(t){return[t,e[t]]})}var a=n(22);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){"use strict";var r=n(496);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=n(0),h=n.n(d),y=n(2),b=n.n(y),m=n(497),g=n(1),v={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},x=[{name:"Series 1"},{name:"Series 2"}],O=function(e){function t(){return u(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),l(t,[{key:"renderChildren",value:function(e){var t=this,n=e.dataComponent,a=e.labelComponent,o=e.title,i=this.dataKeys.map(function(e,r){if("all"!==e){var a=t.getComponentProps(n,"data",r);return h.a.cloneElement(n,a)}}).filter(Boolean),u=this.dataKeys.map(function(e,n){var r=t.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return h.a.cloneElement(a,r)}).filter(Boolean),c=this.getComponentProps(e.borderComponent,"border","all"),l=h.a.cloneElement(e.borderComponent,c);if(o){var s=this.getComponentProps(e.title,"title","all"),f=h.a.cloneElement(e.titleComponent,s);return[l].concat(r(i),[f],r(u))}return[l].concat(r(i),r(u))}},{key:"render",value:function(){var e=this.constructor.role,t=g.m.modifyProps(this.props,v,e),n=[this.renderChildren(t)];return t.standalone?this.renderContainer(t.containerComponent,n):h.a.cloneElement(t.groupComponent,{},n)}}]),t}(h.a.Component);Object.defineProperty(O,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLegend"}),Object.defineProperty(O,"role",{configurable:!0,enumerable:!0,writable:!0,value:"legend"}),Object.defineProperty(O,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:b.a.element,borderPadding:b.a.oneOfType([b.a.number,b.a.shape({top:b.a.number,bottom:b.a.number,left:b.a.number,right:b.a.number})]),centerTitle:b.a.bool,colorScale:b.a.oneOfType([b.a.arrayOf(b.a.string),b.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:b.a.element,data:b.a.arrayOf(b.a.shape({name:b.a.string.isRequired,label:b.a.object,symbol:b.a.object})),dataComponent:b.a.element,eventKey:b.a.oneOfType([b.a.func,g.u.allOfType([g.u.integer,g.u.nonNegative]),b.a.string]),events:b.a.arrayOf(b.a.shape({target:b.a.oneOf(["data","labels","parent"]),eventKey:b.a.oneOfType([b.a.array,g.u.allOfType([g.u.integer,g.u.nonNegative]),b.a.string]),eventHandlers:b.a.object})),externalEventMutations:b.a.arrayOf(b.a.shape({callback:b.a.function,childName:b.a.oneOfType([b.a.string,b.a.array]),eventKey:b.a.oneOfType([b.a.array,g.u.allOfType([g.u.integer,g.u.nonNegative]),b.a.string]),mutation:b.a.function,target:b.a.oneOfType([b.a.string,b.a.array])})),groupComponent:b.a.element,gutter:b.a.oneOfType([b.a.number,b.a.shape({left:b.a.number,right:b.a.number})]),height:g.u.nonNegative,itemsPerRow:g.u.nonNegative,labelComponent:b.a.element,name:b.a.string,orientation:b.a.oneOf(["horizontal","vertical"]),padding:b.a.oneOfType([b.a.number,b.a.shape({top:b.a.number,bottom:b.a.number,left:b.a.number,right:b.a.number})]),rowGutter:b.a.oneOfType([b.a.number,b.a.shape({top:b.a.number,bottom:b.a.number})]),sharedEvents:b.a.shape({events:b.a.array,getEventState:b.a.func}),standalone:b.a.bool,style:b.a.shape({border:b.a.object,data:b.a.object,labels:b.a.object,parent:b.a.object,title:b.a.object}),symbolSpacer:b.a.number,theme:b.a.object,title:b.a.oneOfType([b.a.string,b.a.array]),titleComponent:b.a.element,titleOrientation:b.a.oneOf(["top","bottom","left","right"]),width:g.u.nonNegative,x:g.u.nonNegative,y:g.u.nonNegative}}),Object.defineProperty(O,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:h.a.createElement(g.c,null),data:x,containerComponent:h.a.createElement(g.G,null),dataComponent:h.a.createElement(g.s,null),groupComponent:h.a.createElement("g",null),labelComponent:h.a.createElement(g.H,null),standalone:!0,theme:g.J.grayscale,titleComponent:h.a.createElement(g.H,null)}}),Object.defineProperty(O,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(m.a)(e,v)}}),Object.defineProperty(O,"getDimensions",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(m.b)(e,v)}}),Object.defineProperty(O,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"]}),t.a=Object(g.N)(O)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return I}),n.d(t,"b",function(){return z});var l=n(56),s=n.n(l),f=n(498),p=n.n(f),d=n(10),h=n.n(d),y=n(38),b=n.n(y),m=n(3),g=n.n(m),v=n(4),x=n.n(v),O=n(1),w=function(e){var t=e.colorScale;return"string"==typeof t?O.y.getColorScale(t):t||[]},_=function(e){var t=e.data,n=e.style;return t.map(function(e){var t=x()({},e.labels,n.labels);return O.m.evaluateStyle(t,e)})},j=function(e,t){var n=e.style||{};t=t||{};var r={height:"100%",width:"100%"};return{parent:x()(n.parent,t.parent,r),data:x()({},n.data,t.data),labels:x()({},n.labels,t.labels),border:x()({},n.border,t.border),title:x()({},n.title,t.title)}},P=function(e){var t=e.orientation,n=e.theme,r=n&&n.legend&&n.legend.style?n.legend.style:{},a=j(e,r),o=w(e),i="horizontal"===t,u=O.m.getPadding({padding:e.borderPadding});return g()({},e,{style:a,isHorizontal:i,colorScale:o,borderPadding:u})},C=function(e,t){var n=e.itemsPerRow,r=e.isHorizontal;return n?r?t%n:Math.floor(t/n):r?t:0},M=function(e,t){var n=e.itemsPerRow,r=e.isHorizontal;return n?r?Math.floor(t/n):t%n:r?0:t},A=function(e){var t=e.data,n=e.style&&e.style.data||{},r=_(e);return t.map(function(t,a){var o=t.symbol||{},i=r[a].fontSize,c=o.size||n.size||i/2.5;return u({},t,{size:c,symbolSpacer:e.symbolSpacer||Math.max(c,i),fontSize:i,textSize:O.B.approximateTextSize(t.name,r[a]),column:C(e,a),row:M(e,a)})})},k=function(e,t){var n=e.gutter||{},a="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=b()(t,"column");return h()(o).reduce(function(e,t,n){var i=o[t].map(function(e){return e.textSize.width+e.size+e.symbolSpacer+a});return e[n]=Math.max.apply(Math,r(i)),e},[])},E=function(e,t){var n=e.rowGutter||{},a="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=b()(t,"row");return h()(o).reduce(function(e,t,n){var i=o[t],u=i.map(function(e){return e.textSize.height+e.symbolSpacer+a});return e[n]=Math.max.apply(Math,r(u)),e},[])},T=function(e){var t=e.style&&e.style.title||{},n=O.B.approximateTextSize(e.title,t),r=t.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},S=function(e,t,n){var r=e.column,a=e.row;return{x:s()(r).reduce(function(e,t){return e+=n[t]},0),y:s()(a).reduce(function(e,n){return e+=t[n]},0)}},D=function(e,t){var n={textAnchor:"right"===e?"end":"start",verticalAnchor:"bottom"===e?"end":"start"};if(t){var r="top"===e||"bottom"===e;return{textAnchor:r?"middle":n.textAnchor,verticalAnchor:r?n.verticalAnchor:"middle"}}return n},N=function(e){var t=e.titleOrientation,n=e.centerTitle,r=e.titleComponent,a=e.style&&e.style.title||{},o=r.props&&r.props.style||{},i=D(t,n);return Array.isArray(o)?o.map(function(e){return x()({},e,a,i)}):x()({},o,a,i)},L=function(e,t){var n=e.title,r=e.titleOrientation,a=e.centerTitle,o=e.borderPadding,i=t.height,u=t.width,c=N(e),l=Array.isArray(c)?c[0].padding:c.padding,s="top"===r||"bottom"===r,f="bottom"===r?"bottom":"top",p="right"===r?"right":"left",d={x:a?u/2:o[f]+(l||0),y:a?i/2:o[p]+(l||0)},h=function(){return o[r]+(l||0)},y=s?d.x:h(),b=s?h():d.y;return{x:"right"===r?e.x+u-y:e.x+y,y:"bottom"===r?e.y+i-b:e.y+b,style:c,text:n}},R=function(e,t,n){var r=e.x,a=e.y,o=e.borderPadding,i=e.style;return{x:r,y:a,height:(t||0)+o.top+o.bottom,width:(n||0)+o.left+o.right,style:g()({fill:"none"},i.border)}},z=function(e,t){var n=O.m.modifyProps(e,t,"legend");e=g()({},n,P(n));var r=e,a=r.title,o=r.titleOrientation,i=A(e),u=k(e,i),c=E(e,i),l=a?T(e):{height:0,width:0};return{height:"left"===o||"right"===o?Math.max(p()(c),l.height):p()(c)+l.height,width:"left"===o||"right"===o?p()(u)+l.width:Math.max(p()(u),l.width)}},I=function(e,t){var n=O.m.modifyProps(e,t,"legend");e=g()({},n,P(n));var r=e,a=r.data,o=r.standalone,i=r.theme,u=r.padding,c=r.style,l=r.colorScale,s=r.gutter,f=r.rowGutter,p=r.borderPadding,d=r.title,h=r.titleOrientation,y=r.name,b=r.x,m=void 0===b?0:b,v=r.y,w=void 0===v?0:v,j=A(e),C=k(e,j),M=E(e,j),D=_(e),N=d?T(e):{height:0,width:0},I={x:"left"===h?N.width:0,y:"top"===h?N.height:0},B={x:s&&"object"==typeof s?s.left||0:0,y:f&&"object"==typeof f?f.top||0:0},V=z(e,t),F=V.height,W=V.width,q=R(e,F,W),U=L(e,q),H={parent:{data:a,standalone:o,theme:i,padding:u,name:y,height:e.height,width:e.width,style:c.parent},all:{border:q,title:U}};return j.reduce(function(e,t,n){var r=l[n%l.length],o=x()({},t.symbol,c.data,{fill:r}),i=t.eventKey||n,u=S(t,M,C),s=w+p.top+t.symbolSpacer,f=m+p.left+t.symbolSpacer,d={index:n,data:a,datum:t,symbol:o.type||o.symbol||"circle",size:t.size,style:o,y:s+u.y+I.y+B.y,x:f+u.x+I.x+B.x},h={datum:t,data:a,text:t.name,style:D[n],y:d.y,x:d.x+t.symbolSpacer+t.size/2};return e[i]={data:d,labels:h},e},H)}},function(e,t,n){function r(e){return e&&e.length?a(e,o):0}var a=n(499),o=n(18);e.exports=r},function(e,t){function n(e,t){for(var n,r=-1,a=e.length;++r<a;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}e.exports=n}])});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Victory=t(require("react")):e.Victory=t(e.React)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=212)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(108);n.d(t,"E",function(){return r.a});var a=n(276);n.d(t,"G",function(){return a.a});var o=n(293);n.d(t,"H",function(){return o.a});var i=n(141);n.d(t,"K",function(){return i.a});var u=n(295);n.d(t,"F",function(){return u.a});var c=n(296);n.d(t,"J",function(){return c.a});var l=n(137);n.d(t,"I",function(){return l.a});var s=n(134);n.d(t,"t",function(){return s.a});var f=n(299);n.d(t,"a",function(){return f.a});var p=n(300);n.d(t,"c",function(){return p.a}),n.d(t,"d",function(){return p.a});var d=n(142);n.d(t,"f",function(){return d.a});var h=n(301);n.d(t,"p",function(){return h.a});var y=n(302);n.d(t,"s",function(){return y.a});var b=n(306);n.d(t,"L",function(){return b.a});var m=n(307);n.d(t,"N",function(){return m.a});var g=n(17);n.d(t,"g",function(){return g.a});var v=n(91);n.d(t,"i",function(){return v.a});var x=n(381);n.d(t,"j",function(){return x.a});var O=n(99);n.d(t,"k",function(){return O.a});var w=n(90);n.d(t,"l",function(){return w.a});var _=n(7);n.d(t,"m",function(){return _.a});var j=(n(170),n(138));n.d(t,"n",function(){return j.a});var P=n(56);n.d(t,"q",function(){return P.a});var C=n(27);n.d(t,"u",function(){return C.a});var M=n(92);n.d(t,"w",function(){return M.a});var A=n(384);n.d(t,"x",function(){return A.a});var k=n(85);n.d(t,"y",function(){return k.a});var E=n(385);n.d(t,"B",function(){return E.a});var T=n(53);n.d(t,"C",function(){return T.a});var S=n(86);n.d(t,"D",function(){return S.a});var D=n(87);n.d(t,"v",function(){return D.a});var N=n(88);n.d(t,"r",function(){return N.a});var L=n(89);n.d(t,"o",function(){return L.a});var R=n(143);n.d(t,"e",function(){return R.a});var z=n(139);n.d(t,"z",function(){return z.a});var I=n(140);n.d(t,"A",function(){return I.a});var V=n(28);n.d(t,"h",function(){return V.a});var B=n(386);n.d(t,"M",function(){return B.a});var F=n(171);n.d(t,"b",function(){return F.a})},function(e,t,n){e.exports=n(213)()},function(e,t,n){var r=n(84),a=n(281),o=n(282),i=n(55),u=n(131),c=n(12),l=Object.prototype,s=l.hasOwnProperty,f=o(function(e,t){if(u(t)||i(t))return void a(t,c(t),e);for(var n in t)s.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){var r=n(82),a=n(48),o=n(83),i=n(278),u=Object.prototype,c=u.hasOwnProperty,l=r(function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&o(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=i(s),p=-1,d=f.length;++p<d;){var h=f[p],y=e[h];(void 0===y||a(y,u[h])&&!c.call(e,h))&&(e[h]=s[h])}return e});e.exports=l},function(e,t,n){function r(e){if(!o(e))return!1;var t=a(e);return t==u||t==c||t==i||t==l}var a=n(76),o=n(11),i="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";e.exports=r},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,c,l,s=a(e),f=a(t);if(s&&f){if((c=e.length)!=t.length)return!1;for(n=c;0!=n--;)if(!r(e[n],t[n]))return!1;return!0}if(s!=f)return!1;var p=e instanceof Date,d=t instanceof Date;if(p!=d)return!1;if(p&&d)return e.getTime()==t.getTime();var h=e instanceof RegExp,y=t instanceof RegExp;if(h!=y)return!1;if(h&&y)return e.toString()==t.toString();var b=o(e);if((c=b.length)!==o(t).length)return!1;for(n=c;0!=n--;)if(!i.call(t,b[n]))return!1;if(u&&e instanceof Element&&t instanceof Element)return e===t;for(n=c;0!=n--;)if(!("_owner"===(l=b[n])&&e.$$typeof||r(e[l],t[l])))return!1;return!0}return e!==e&&t!==t}var a=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty,u="undefined"!=typeof Element;e.exports=function(e,t){try{return r(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";function r(e,t){var n="x"!==t,r=c(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}function a(e,t){if("x"===t){return[p(e.startAngle||0),p(e.endAngle||360)]}return[e.innerRadius||0,h(e)]}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,a=e._x0,o=e._voronoiX,i=e._y,u=e._y1,c=e._y0,l=e._voronoiY,s=t(r)?r:n,f=t(u)?u:i,p={x:t(o)?o:s,x0:t(a)?a:n,y:t(l)?l:f,y0:t(c)?c:i};return T()({},p,e)}function u(e,t){var n=e.scale,r=e.polar,a=i(t),o=e.origin||{x:0,y:0},u=n.x(a.x),c=n.x(a.x0),l=n.y(a.y),s=n.y(a.y0);return{x:r?l*Math.cos(u)+o.x:u,x0:r?s*Math.cos(c)+o.x:c,y:r?-l*Math.sin(u)+o.y:l,y0:r?-s*Math.sin(c)+o.x:s}}function c(e){var t=e.padding,n="number"==typeof t?t:0,r="object"==typeof t?t:{};return{top:r.top||n,bottom:r.bottom||n,left:r.left||n,right:r.right||n}}function l(e,t){if(!e)return T()({parent:{height:"100%",width:"100%"}},t);var n=e.data,r=e.labels,a=e.parent,o=t&&t.parent||{},i=t&&t.labels||{},u=t&&t.data||{};return{parent:T()({},a,o,{width:"100%",height:"100%"}),labels:T()({},r,i),data:T()({},n,u)}}function s(e,t,n){return k()(e)?e(t,n):e}function f(e,t,n){return e&&Object.keys(e).some(function(t){return k()(e[t])})?Object.keys(e).reduce(function(r,a){return r[a]=s(e[a],t,n),r},{}):e}function p(e){return"number"==typeof e?e*(Math.PI/180):e}function d(e){return"number"==typeof e?e/(Math.PI/180):e}function h(e){var t=c(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2}function y(e){var t=e.width,n=e.height,r=c(e),a=r.top,o=r.bottom,i=r.left,u=r.right,l=Math.min(t-i-u,n-a-o)/2,s=t/2+i-u,f=n/2+a-o;return{x:s+l>t?l+i-u:s,y:f+l>n?l+a-o:f}}function b(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?a(e,t):r(e,t)}function m(e){return k()(e)?e:null===e||void 0===e?function(e){return e}:M()(e)}function g(e,t,n){var r=e.theme&&e.theme[n]?e.theme[n]:{},a=o(r,["style"]);return T()({},e,a,t)}function v(e,t){var n="x"===e?"y":"x";return t?n:e}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},o=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain"],i=function(e,u,c){return e.reduce(function(e,r,l){var s=r.type&&r.type.role,f=r.props.name||"".concat(s,"-").concat(u[l]);if(r.props&&r.props.children){var p=_()({},r.props,P()(n,o)),d=r.type&&k()(r.type.getChildren)?r.type.getChildren(p):D.a.Children.toArray(r.props.children).map(function(e){var t=_()({},e.props,P()(p,o));return D.a.cloneElement(e,t)}),h=d.map(function(e,t){return"".concat(f,"-").concat(t)}),y=i(d,h,r);e=a(e,y)}else{var b=t(r,f,c);b&&(e=a(e,b))}return e},r)},u=e.map(function(e,t){return t});return i(e,u)}function O(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce(function(e,n){var r=n.props||{};return e||r.horizontal||!r.children?e=e||r.horizontal:t(D.a.Children.toArray(r.children))},!1)};return t(D.a.Children.toArray(e.children))}var w=n(3),_=n.n(w),j=n(34),P=n.n(j),C=n(75),M=n.n(C),A=n(5),k=n.n(A),E=n(4),T=n.n(E),S=n(0),D=n.n(S);t.a={omit:o,getPoint:i,scalePoint:u,getPadding:c,getStyles:l,evaluateProp:s,evaluateStyle:f,degreesToRadians:p,radiansToDegrees:d,getRadius:h,getPolarOrigin:y,getRange:b,createAccessor:m,modifyProps:g,getCurrentAxis:v,reduceChildren:x,isHorizontal:O}},function(e,t,n){"use strict";function r(e,t,n,i){function u(t){return e(t=new Date(+t)),t}return u.floor=u,u.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},u.round=function(e){var t=u(e),n=u.ceil(e);return e-t<n-e?t:n},u.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},u.range=function(n,r,a){var o,i=[];if(n=u.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return i;do{i.push(o=new Date(+n)),t(n,a),e(n)}while(o<n&&n<r);return i},u.filter=function(n){return r(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(u.count=function(t,r){return a.setTime(+t),o.setTime(+r),e(a),e(o),Math.floor(n(a,o))},u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?u.filter(i?function(t){return i(t)%e==0}:function(t){return u.count(0,t)%e==0}):u:null}),u}t.a=r;var a=new Date,o=new Date},function(e,t){function n(e){return null==e}e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(49),a=r(Object.keys,Object);e.exports=a},function(e,t,n){function r(e){if(null==e)return!0;if(c(e)&&(u(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||f(e)||i(e)))return!e.length;var t=o(e);if(t==p||t==d)return!e.size;if(s(e))return!a(e).length;for(var n in e)if(y.call(e,n))return!1;return!0}var a=n(294),o=n(71),i=n(74),u=n(10),c=n(55),l=n(110),s=n(131),f=n(111),p="[object Map]",d="[object Set]",h=Object.prototype,y=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";var r=n(147);n.d(t,"b",function(){return r.a});var a=n(29);n.d(t,"a",function(){return a.a});var o=n(148);n.d(t,"c",function(){return o.a});var i=(n(318),n(319),n(150),n(152),n(320),n(323),n(324),n(156),n(325));n.d(t,"d",function(){return i.a});var u=(n(326),n(327),n(328),n(157));n.d(t,"e",function(){return u.a});var c=(n(149),n(329),n(93));n.d(t,"f",function(){return c.a});var l=n(154);n.d(t,"g",function(){return l.a});var s=(n(330),n(331),n(332),n(155));n.d(t,"j",function(){return s.a}),n.d(t,"h",function(){return s.b}),n.d(t,"i",function(){return s.c});n(158),n(151),n(333)},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"e",function(){return u});var r=1e3,a=6e4,o=36e5,i=864e5,u=6048e5},function(e,t,n){"use strict";var r=n(78);n.d(t,"a",function(){return r.e}),n.d(t,"f",function(){return r.g}),n.d(t,"d",function(){return r.f});var a=n(258);n.d(t,"e",function(){return a.a}),n.d(t,"c",function(){return a.b});var o=n(259);n.d(t,"b",function(){return o.a})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){return Array.isArray(e)&&e.length>0}function c(e){return Array.isArray(e)&&e.some(function(e){return"string"==typeof e})}function l(e){return Array.isArray(e)&&e.some(function(e){return e instanceof Date})}function s(e){return Array.isArray(e)&&e.some(function(e){return"number"==typeof e})}function f(e){return u(e)&&e.every(function(e){return"string"==typeof e})}function p(e){return u(e)&&e.every(Array.isArray)}function d(e){return e.filter(function(e){return void 0!==e})}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=e.concat(n);return l(o)?new Date(Math.max.apply(Math,r(o))):Math.max.apply(Math,r(o))}function y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=e.concat(n);return l(o)?new Date(Math.min.apply(Math,r(o))):Math.min.apply(Math,r(o))}t.a={containsDates:l,containsNumbers:s,containsOnlyStrings:f,containsStrings:c,getMaxValue:h,getMinValue:y,isArrayOfArrays:p,removeUndefined:d}},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&a(e,t,0)>-1}var a=n(70);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?u(e)?o(e[0],e[1]):a(e):c(e)}var a=n(228),o=n(242),i=n(20),u=n(10),c=n(75);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var r=Array.prototype,a=r.map,o=r.slice},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t,n){function r(e){if(!i(e)||a(e)!=u)return!1;var t=o(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==p}var a=n(76),o=n(257),i=n(50),u="[object Object]",c=Function.prototype,l=Object.prototype,s=c.toString,f=l.hasOwnProperty,p=s.call(Object);e.exports=r},function(e,t,n){"use strict";var r=n(77);n.d(t,"a",function(){return r.a});var a=(n(125),n(80),n(123),n(126),n(260),n(261),n(52));n.d(t,"c",function(){return a.a});var o=(n(127),n(262));n.d(t,"d",function(){return o.a});var i=(n(128),n(263),n(266),n(122),n(267),n(268),n(269),n(270));n.d(t,"b",function(){return i.a});n(271),n(272)},function(e,t,n){"use strict";function r(e,t){return function(n){return e+n*t}}function a(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function o(e,t){var n=t-e;return n?r(e,n>180||n<-180?n-360*Math.round(n/360):n):Object(c.a)(isNaN(e)?t:e)}function i(e){return 1==(e=+e)?u:function(t,n){return n-t?a(t,n,e):Object(c.a)(isNaN(t)?n:t)}}function u(e,t){var n=t-e;return n?r(e,n):Object(c.a)(isNaN(e)?t:e)}t.c=o,t.b=i,t.a=u;var c=n(124)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(283),o=n.n(a),i=n(5),u=n.n(i),c=n(56),l=n(2),s=n.n(l),f=function(e){var t=function(t,n,r,a){var o=n[r];if(void 0===o||null===o)return t?new Error("Required `".concat(r,"` was not specified in `").concat(a,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,a].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},p=function(){return null},d=function(){},h=function(e){return void 0===e?d:null===e?p:e.constructor},y=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};t.a={deprecated:function(e,t){return function(n,a,o){var i=n[a];return null!==i&&void 0!==i&&c.a.warn('"'.concat(a,'" property of "').concat(o,'" has been deprecated ').concat(t)),s.a.checkPropTypes(r({},a,e),n,a,o)}},allOfType:function(e){return f(function(t,n,r){for(var a=arguments.length,o=new Array(a>3?a-3:0),i=3;i<a;i++)o[i-3]=arguments[i];return e.reduce(function(e,a){return e||a.apply(void 0,[t,n,r].concat(o))},void 0)})},nonNegative:f(function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))}),integer:f(function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))}),greaterThanZero:f(function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))}),domain:f(function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))}),scale:f(function(e,t,n){var r=["linear","time","log","sqrt"],a=e[t];if(!function(e){return u()(e)?u()(e.copy)&&u()(e.domain)&&u()(e.range):"string"==typeof e&&-1!==r.indexOf(e)}(a))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))}),homogeneousArray:f(function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var a=h(r[0]),i=o()(r,function(e){return a!==h(e)});if(i){var u=y(r[0]),c=y(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(u,"` and ")+"`".concat(c,"`."))}}}),matchDataLength:f(function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})}},function(e,t,n){"use strict";var r=n(2),a=n.n(r),o=n(27),i={categories:a.a.oneOfType([a.a.arrayOf(a.a.string),a.a.shape({x:a.a.arrayOf(a.a.string),y:a.a.arrayOf(a.a.string)})]),data:a.a.oneOfType([a.a.array,a.a.object]),dataComponent:a.a.element,labelComponent:a.a.element,labels:a.a.oneOfType([a.a.func,a.a.array]),samples:o.a.nonNegative,sortKey:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)]),sortOrder:a.a.oneOf(["ascending","descending"]),style:a.a.shape({parent:a.a.object,data:a.a.object,labels:a.a.object}),x:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)]),y:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)]),y0:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string,a.a.arrayOf(a.a.string)])},u={animate:a.a.oneOfType([a.a.bool,a.a.object]),containerComponent:a.a.element,domain:a.a.oneOfType([o.a.domain,a.a.shape({x:o.a.domain,y:o.a.domain})]),maxDomain:a.a.oneOfType([a.a.number,a.a.instanceOf(Date),a.a.shape({x:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)]),y:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)])})]),minDomain:a.a.oneOfType([a.a.number,a.a.instanceOf(Date),a.a.shape({x:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)]),y:a.a.oneOfType([a.a.number,a.a.instanceOf(Date)])})]),domainPadding:a.a.oneOfType([a.a.shape({x:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),y:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)])}),a.a.number,a.a.arrayOf(a.a.number)]),eventKey:a.a.oneOfType([a.a.func,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string]),events:a.a.arrayOf(a.a.shape({target:a.a.oneOf(["data","labels","parent"]),eventKey:a.a.oneOfType([a.a.array,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string]),eventHandlers:a.a.object})),externalEventMutations:a.a.arrayOf(a.a.shape({callback:a.a.function,childName:a.a.oneOfType([a.a.string,a.a.array]),eventKey:a.a.oneOfType([a.a.array,o.a.allOfType([o.a.integer,o.a.nonNegative]),a.a.string]),mutation:a.a.function,target:a.a.oneOfType([a.a.string,a.a.array])})),groupComponent:a.a.element,height:o.a.nonNegative,name:a.a.string,origin:a.a.shape({x:a.a.number,y:a.a.number}),padding:a.a.oneOfType([a.a.number,a.a.shape({top:a.a.number,bottom:a.a.number,left:a.a.number,right:a.a.number})]),polar:a.a.bool,range:a.a.oneOfType([o.a.domain,a.a.shape({x:o.a.domain,y:o.a.domain})]),scale:a.a.oneOfType([o.a.scale,a.a.shape({x:o.a.scale,y:o.a.scale})]),sharedEvents:a.a.shape({events:a.a.array,getEventState:a.a.func}),singleQuadrantDomainPadding:a.a.oneOfType([a.a.bool,a.a.shape({x:a.a.oneOfType([a.a.bool]),y:a.a.oneOfType([a.a.bool])})]),standalone:a.a.bool,theme:a.a.object,width:o.a.nonNegative},c={active:a.a.bool,className:a.a.string,clipPath:a.a.string,data:a.a.oneOfType([a.a.array,a.a.object]),events:a.a.object,id:a.a.oneOfType([a.a.number,a.a.string]),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([o.a.scale,a.a.shape({x:o.a.scale,y:o.a.scale})]),shapeRendering:a.a.string,style:a.a.object,transform:a.a.string};t.a={baseProps:u,dataProps:i,primitiveProps:c}},function(e,t,n){"use strict";t.a=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}},function(e,t,n){function r(e,t,n,r){return null==e?[]:(o(t)||(t=null==t?[]:[t]),n=r?void 0:n,o(n)||(n=null==n?[]:[n]),a(e,t,n))}var a=n(227),o=n(10);e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var a=n(31),o=1/0;e.exports=r},function(e,t,n){function r(e){var t=++o;return a(e)+t}var a=n(114),o=0;e.exports=r},function(e,t,n){var r=n(288),a=n(136),o=a(function(e,t){return null==e?{}:r(e,t)});e.exports=o},function(e,t,n){function r(e){return e&&e.length?a(e):[]}var a=n(146);e.exports=r},function(e,t,n){"use strict";t.a=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";function r(e){var t=e.domain;return e.ticks=function(e){var n=t();return Object(o.j)(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Object(c.a)(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),i=0,u=a.length-1,c=a[i],l=a[u];return l<c&&(r=c,c=l,l=r,r=i,i=u,u=r),r=Object(o.h)(c,l,n),r>0?(c=Math.floor(c/r)*r,l=Math.ceil(l/r)*r,r=Object(o.h)(c,l,n)):r<0&&(c=Math.ceil(c*r)/r,l=Math.floor(l*r)/r,r=Object(o.h)(c,l,n)),r>0?(a[i]=Math.floor(c/r)*r,a[u]=Math.ceil(l/r)*r,t(a)):r<0&&(a[i]=Math.ceil(c*r)/r,a[u]=Math.floor(l*r)/r,t(a)),e},e}function a(){var e=Object(u.b)(u.c,i.c);return e.copy=function(){return Object(u.a)(e,a())},r(e)}t.b=r,t.a=a;var o=n(14),i=n(25),u=n(60),c=n(341)},function(e,t,n){"use strict";t.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){var r=n(54),a=n(388),o=Object.prototype,i=o.hasOwnProperty,u=a(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(416);n.d(t,"arc",function(){return r.a});var a=n(175);n.d(t,"area",function(){return a.a});var o=n(102);n.d(t,"line",function(){return o.a});var i=n(418);n.d(t,"pie",function(){return i.a});var u=n(421);n.d(t,"areaRadial",function(){return u.a}),n.d(t,"radialArea",function(){return u.a});var c=n(177);n.d(t,"lineRadial",function(){return c.a}),n.d(t,"radialLine",function(){return c.a});var l=n(178);n.d(t,"pointRadial",function(){return l.a});var s=n(422);n.d(t,"linkHorizontal",function(){return s.a}),n.d(t,"linkVertical",function(){return s.c}),n.d(t,"linkRadial",function(){return s.b});var f=n(423);n.d(t,"symbol",function(){return f.a}),n.d(t,"symbols",function(){return f.b});var p=n(180);n.d(t,"symbolCircle",function(){return p.a});var d=n(181);n.d(t,"symbolCross",function(){return d.a});var h=n(182);n.d(t,"symbolDiamond",function(){return h.a});var y=n(184);n.d(t,"symbolSquare",function(){return y.a});var b=n(183);n.d(t,"symbolStar",function(){return b.a});var m=n(185);n.d(t,"symbolTriangle",function(){return m.a});var g=n(186);n.d(t,"symbolWye",function(){return g.a});var v=n(424);n.d(t,"curveBasisClosed",function(){return v.a});var x=n(425);n.d(t,"curveBasisOpen",function(){return x.a});var O=n(65);n.d(t,"curveBasis",function(){return O.b});var w=n(426);n.d(t,"curveBundle",function(){return w.a});var _=n(187);n.d(t,"curveCardinalClosed",function(){return _.b});var j=n(188);n.d(t,"curveCardinalOpen",function(){return j.b});var P=n(66);n.d(t,"curveCardinal",function(){return P.b});var C=n(427);n.d(t,"curveCatmullRomClosed",function(){return C.a});var M=n(428);n.d(t,"curveCatmullRomOpen",function(){return M.a});var A=n(104);n.d(t,"curveCatmullRom",function(){return A.a});var k=n(429);n.d(t,"curveLinearClosed",function(){return k.a});var E=n(63);n.d(t,"curveLinear",function(){return E.a});var T=n(430);n.d(t,"curveMonotoneX",function(){return T.a}),n.d(t,"curveMonotoneY",function(){return T.b});var S=n(431);n.d(t,"curveNatural",function(){return S.a});var D=n(432);n.d(t,"curveStep",function(){return D.a}),n.d(t,"curveStepAfter",function(){return D.b}),n.d(t,"curveStepBefore",function(){return D.c});var N=n(433);n.d(t,"stack",function(){return N.a});var L=n(434);n.d(t,"stackOffsetExpand",function(){return L.a});var R=n(435);n.d(t,"stackOffsetDiverging",function(){return R.a});var z=n(43);n.d(t,"stackOffsetNone",function(){return z.a});var I=n(436);n.d(t,"stackOffsetSilhouette",function(){return I.a});var V=n(437);n.d(t,"stackOffsetWiggle",function(){return V.a});var B=n(105);n.d(t,"stackOrderAscending",function(){return B.a});var F=n(438);n.d(t,"stackOrderDescending",function(){return F.a});var W=n(439);n.d(t,"stackOrderInsideOut",function(){return W.a});var q=n(44);n.d(t,"stackOrderNone",function(){return q.a});var U=n(440);n.d(t,"stackOrderReverse",function(){return U.a})},function(e,t,n){"use strict";var r=n(417);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return e>1?0:e<-1?d:Math.acos(e)}function a(e){return e>=1?h:e<=-1?-h:Math.asin(e)}n.d(t,"a",function(){return o}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"i",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"l",function(){return f}),n.d(t,"f",function(){return p}),n.d(t,"j",function(){return d}),n.d(t,"g",function(){return h}),n.d(t,"m",function(){return y}),t.b=r,t.c=a;var o=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,l=Math.min,s=Math.sin,f=Math.sqrt,p=1e-12,d=Math.PI,h=d/2,y=2*d},function(e,t,n){"use strict";t.a=function(e,t){if((a=e.length)>1)for(var n,r,a,o=1,i=e[t[0]],u=i.length;o<a;++o)for(r=i,i=e[t[o]],n=0;n<u;++n)i[n][1]+=i[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}},function(e,t,n){"use strict";t.a=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}},function(e,t,n){"use strict";function r(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function a(e,t){return t[1]-e[1]||t[0]-e[0]}function o(e,t){var n,r,o,y=e.sort(a).pop();for(l=[],u=new Array(e.length),i=new h.b,c=new h.b;;)if(o=p.c,y&&(!o||y[1]<o.y||y[1]===o.y&&y[0]<o.x))y[0]===n&&y[1]===r||(Object(s.a)(y),n=y[0],r=y[1]),y=e.pop();else{if(!o)break;Object(s.b)(o.arc)}if(Object(f.d)(),t){var b=+t[0][0],m=+t[0][1],g=+t[1][0],v=+t[1][1];Object(d.a)(b,m,g,v),Object(f.b)(b,m,g,v)}this.edges=l,this.cells=u,i=c=l=u=null}n.d(t,"f",function(){return y}),n.d(t,"g",function(){return b}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"e",function(){return l}),t.d=o;var i,u,c,l,s=n(472),f=n(197),p=n(198),d=n(107),h=n(106),y=1e-6,b=1e-12;o.prototype={constructor:o,polygons:function(){var e=this.edges;return this.cells.map(function(t){var n=t.halfedges.map(function(n){return Object(f.a)(t,e[n])});return n.data=t.site.data,n})},triangles:function(){var e=[],t=this.edges;return this.cells.forEach(function(n,a){if(i=(o=n.halfedges).length)for(var o,i,u,c=n.site,l=-1,s=t[o[i-1]],f=s.left===c?s.right:s.left;++l<i;)u=f,s=t[o[l]],f=s.left===c?s.right:s.left,u&&f&&a<u.index&&a<f.index&&r(c,u,f)<0&&e.push([c.data,u.data,f.data])}),e},links:function(){return this.edges.filter(function(e){return e.right}).map(function(e){return{source:e.left.data,target:e.right.data}})},find:function(e,t,n){for(var r,a,o=this,i=o._found||0,u=o.cells.length;!(a=o.cells[i]);)if(++i>=u)return null;var c=e-a.site[0],l=t-a.site[1],s=c*c+l*l;do{a=o.cells[r=i],i=null,a.halfedges.forEach(function(n){var r=o.edges[n],u=r.left;if(u!==a.site&&u||(u=r.right)){var c=e-u[0],l=t-u[1],f=c*c+l*l;f<s&&(s=f,i=u.index)}})}while(null!==i);return o._found=r,null==n||s<=n*n?a.site:null}}},function(e,t,n){function r(e,t,n){var r=!0,u=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(r="leading"in n?!!n.leading:r,u="trailing"in n?!!n.trailing:u),a(e,t,{leading:r,maxWait:t,trailing:u})}var a=n(476),o=n(11),i="Expected a function";e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}var a=n(48);e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e,t){return a(e)?e:o(e,t)?[e]:i(u(e))}var a=n(10),o=n(73),i=n(244),u=n(114);e.exports=r},function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t-=e,function(n){return e+t*n}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}n.d(t,"a",function(){return u});var i=n(273),u=function(){function e(){r(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=Object(i.b)(this.loop)}return o(e,[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach(function(e){e.callback(Object(i.a)()-e.startTime,e.duration)})}},{key:"start",value:function(){this.timer.start()}},{key:"stop",value:function(){this.timer.stop()}},{key:"subscribe",value:function(e,t){return t=this.shouldAnimate?t:0,this.subscribers.push({startTime:Object(i.a)(),callback:e,duration:t})}},{key:"unsubscribe",value:function(e){null!==e&&delete this.subscribers[e-1]}}]),e}()},function(e,t,n){function r(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var a=n(279);e.exports=r},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(5),o=n(119);e.exports=r},function(e,t,n){"use strict";t.a={warn:function(e){}}},function(e,t,n){function r(e){return(null==e?0:e.length)?a(e,1):[]}var a=n(290);e.exports=r},function(e,t,n){var r=n(304),a=r();e.exports=a},function(e,t,n){var r=n(308),a=n(82),o=n(309),i=a(function(e,t){return o(e)?r(e,t):[]});e.exports=i},function(e,t,n){"use strict";function r(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Object(d.a)(t)}function a(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}function o(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function i(e,t,n,r){var a=e[0],o=e[1],i=t[0],u=t[1];return o<a?(a=n(o,a),i=r(u,i)):(a=n(a,o),i=r(i,u)),function(e){return i(a(e))}}function u(e,t,n,r){var a=Math.min(e.length,t.length)-1,o=new Array(a),i=new Array(a),u=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<a;)o[u]=n(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var n=Object(s.b)(e,t,1,a)-1;return i[n](o[n](t))}}function c(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function l(e,t){function n(){return l=Math.min(b.length,m.length)>2?u:i,s=d=null,c}function c(t){return(s||(s=l(b,m,v?a(e):e,g)))(+t)}var l,s,d,b=y,m=y,g=f.a,v=!1;return c.invert=function(e){return(d||(d=l(m,b,r,v?o(t):t)))(+e)},c.domain=function(e){return arguments.length?(b=p.a.call(e,h.a),n()):b.slice()},c.range=function(e){return arguments.length?(m=p.b.call(e),n()):m.slice()},c.rangeRound=function(e){return m=p.b.call(e),g=f.d,n()},c.clamp=function(e){return arguments.length?(v=!!e,n()):v},c.interpolate=function(e){return arguments.length?(g=e,n()):g},n()}t.c=r,t.a=c,t.b=l;var s=n(14),f=n(25),p=n(21),d=n(95),h=n(160),y=[0,1]},function(e,t,n){"use strict";var r=n(96);t.a=function(e){return e=Object(r.a)(Math.abs(e)),e?e[1]:NaN}},function(e,t,n){"use strict";var r=n(400);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){this._context=e}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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";t.a=function(){}},function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function a(e){this._context=e}t.c=r,t.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.b=function(e){return new a(e)}},function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function a(e,t){this._context=e,this._k=(1-t)/6}t.c=r,t.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.b=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){function r(e,t,n,i,u){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:a(e,t,n,i,r,u))}var a=n(235),o=n(50);e.exports=r},function(e,t,n){function r(){if(!arguments.length)return[];var e=arguments[0];return a(e)?e:[e]}var a=n(10);e.exports=r},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&a(e,t,0)>-1}var a=n(70);e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t,n){function r(e,t){t=a(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}var a=n(51),o=n(32);e.exports=r},function(e,t,n){function r(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(u.test(e)||!i.test(e)||null!=t&&e in Object(t))}var a=n(10),o=n(31),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return i(e)?a(u(e)):o(e)}var a=n(251),o=n(252),i=n(73),u=n(32);e.exports=r},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t,n){"use strict";var r=n(16),a=n(122),o=n(125),i=n(126),u=n(52),c=n(127),l=n(128),s=n(124);t.a=function(e,t){var n,f=typeof t;return null==t||"boolean"===f?Object(s.a)(t):("number"===f?u.a:"string"===f?(n=Object(r.a)(t))?(t=n,a.a):l.a:t instanceof r.a?a.a:t instanceof Date?i.a:Array.isArray(t)?o.a:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?c.a:u.a)(e,t)}},function(e,t,n){"use strict";function r(){}function a(e){var t;return e=(e+"").trim().toLowerCase(),(t=w.exec(e))?(t=parseInt(t[1],16),new l(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=_.exec(e))?o(parseInt(t[1],16)):(t=j.exec(e))?new l(t[1],t[2],t[3],1):(t=P.exec(e))?new l(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=C.exec(e))?i(t[1],t[2],t[3],t[4]):(t=M.exec(e))?i(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=A.exec(e))?f(t[1],t[2]/100,t[3]/100,1):(t=k.exec(e))?f(t[1],t[2]/100,t[3]/100,t[4]):E.hasOwnProperty(e)?o(E[e]):"transparent"===e?new l(NaN,NaN,NaN,0):null}function o(e){return new l(e>>16&255,e>>8&255,255&e,1)}function i(e,t,n,r){return r<=0&&(e=t=n=NaN),new l(e,t,n,r)}function u(e){return e instanceof r||(e=a(e)),e?(e=e.rgb(),new l(e.r,e.g,e.b,e.opacity)):new l}function c(e,t,n,r){return 1===arguments.length?u(e):new l(e,t,n,null==r?1:r)}function l(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function s(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function f(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new h(e,t,n,r)}function p(e){if(e instanceof h)return new h(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=a(e)),!e)return new h;if(e instanceof h)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,i=Math.min(t,n,o),u=Math.max(t,n,o),c=NaN,l=u-i,s=(u+i)/2;return l?(c=t===u?(n-o)/l+6*(n<o):n===u?(o-t)/l+2:(t-n)/l+4,l/=s<.5?u+i:2-u-i,c*=60):l=s>0&&s<1?0:c,new h(c,l,s,e.opacity)}function d(e,t,n,r){return 1===arguments.length?p(e):new h(e,t,n,null==r?1:r)}function h(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function y(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}t.a=r,n.d(t,"d",function(){return m}),n.d(t,"c",function(){return g}),t.e=a,t.h=u,t.g=c,t.b=l,t.f=d;var b=n(79),m=.7,g=1/m,v="\\s*([+-]?\\d+)\\s*",x="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",O="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",w=/^#([0-9a-f]{3})$/,_=/^#([0-9a-f]{6})$/,j=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),P=new RegExp("^rgb\\("+[O,O,O]+"\\)$"),C=new RegExp("^rgba\\("+[v,v,v,x]+"\\)$"),M=new RegExp("^rgba\\("+[O,O,O,x]+"\\)$"),A=new RegExp("^hsl\\("+[x,O,O]+"\\)$"),k=new RegExp("^hsla\\("+[x,O,O,x]+"\\)$"),E={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(b.a)(r,a,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Object(b.a)(l,c,Object(b.b)(r,{brighter:function(e){return e=null==e?g:Math.pow(g,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?m:Math.pow(m,e),new l(this.r*e,this.g*e,this.b*e,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},hex:function(){return"#"+s(this.r)+s(this.g)+s(this.b)},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"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===e?")":", "+e+")")}})),Object(b.a)(h,d,Object(b.b)(r,{brighter:function(e){return e=null==e?g:Math.pow(g,e),new h(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?m:Math.pow(m,e),new h(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new l(y(e>=240?e-240:e+120,a,r),y(e,a,r),y(e<120?e+240:e-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(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}t.b=r,t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},function(e,t,n){"use strict";function r(e,t,n,r,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*r+i*a)/6}t.a=r,t.b=function(e){var t=e.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[a],i=e[a+1],u=a>0?e[a-1]:2*o-i,c=a<t-1?e[a+2]:2*i-o;return r((n-a/t)*t,u,o,i,c)}}},function(e,t,n){"use strict";function r(){return v||(w(a),v=O.now()+x)}function a(){v=0}function o(){this._call=this._time=this._next=null}function i(e,t,n){var r=new o;return r.restart(e,t,n),r}function u(){r(),++h;for(var e,t=p;t;)(e=v-t._time)>=0&&t._call.call(null,e),t=t._next;--h}function c(){v=(g=O.now())+x,h=y=0;try{u()}finally{h=0,s(),v=0}}function l(){var e=O.now(),t=e-g;t>m&&(x-=t,g=e)}function s(){for(var e,t,n=p,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:p=t);d=e,f(r)}function f(e){if(!h){y&&(y=clearTimeout(y));e-v>24?(e<1/0&&(y=setTimeout(c,e-O.now()-x)),b&&(b=clearInterval(b))):(b||(g=O.now(),b=setInterval(l,m)),h=1,w(c))}}t.b=r,t.a=o,t.c=i;var p,d,h=0,y=0,b=0,m=1e3,g=0,v=0,x=0,O="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};o.prototype=i.prototype={constructor:o,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==t?0:+t),this._next||d===this||(d?d._next=this:p=this,d=this),this._call=e,this._time=n,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}}},function(e,t,n){function r(e,t){return i(o(e,t,a),e+"")}var a=n(20),o=n(129),i=n(130);e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];u.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}var a=n(54),o=n(48),i=Object.prototype,u=i.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";var r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(n.length>0)return n.reduce(function(e,t){return[e,r(t)].join(" ")},r(e)).trim();if(void 0===e||null===e||"string"==typeof e)return e;var o=[];for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];o.push("".concat(i,"(").concat(u,")"))}return o.join(" ").trim()};t.a={toTransformString:r,getColorScale:function(e){var t={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 e?t[e]:t.grayscale}}},function(e,t,n){"use strict";function r(e,t){return(e.key||t).toString()}function a(e){return e.reduce(function(e,t,n){return e[r(t,n)]=t,e},{})}function o(e,t){var n=!1,r=Object.keys(e).reduce(function(e,r){return r in t||(n=!0,e[r]=!0),e},{});return n&&r}function i(e,t){var n=e&&a(e),r=t&&a(t);return{entering:n&&o(r,n),exiting:r&&o(n,r)}}function u(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function c(e,t){var n=!1,r=!1,a=function(e,t){if(!t||e.type!==t.type)return{};var a=i(u(e),u(t))||{},o=a.entering,c=a.exiting;return n=n||!!c,r=r||!!o,{entering:o||!1,exiting:c||!1}},o=function(e,t){return e.map(function(n,r){return n&&n.props&&n.props.children&&t[r]?o(_.a.Children.toArray(e[r].props.children),_.a.Children.toArray(t[r].props.children)):a(n,t[r])})},c=o(_.a.Children.toArray(e),_.a.Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:c,nodesShouldEnter:!1}}function l(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:m.a;return{data:t.map(function(e,r){return O()({},e,n(e,r,t))})}}function s(e,t,n,r){if((e=O()({},e,{onEnd:r}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:n};var a=e.onLoad&&e.onLoad.before?e.onLoad.before:m.a;return n=n.map(function(e,t){return O()({},e,a(e,t,n))}),{animate:e,data:n,clipWidth:0}}function f(e,t,n){if((e=O()({},e,{onEnd:n}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var r=e.onLoad&&e.onLoad.after?e.onLoad.after:m.a;return t=t.map(function(e,n){return O()({},e,r(e,n,t))}),{animate:e,data:t}}function p(e,t,n,r,a){var o=e&&e.onExit;if(e=O()({},e,o),r){e.onEnd=a;var i=e.onExit&&e.onExit.before?e.onExit.before:m.a;n=n.map(function(e,t){var a=(e.key||t).toString();return r[a]?O()({},e,i(e,t,n)):e})}return{animate:e,data:n}}function d(e,t,n,r,a){if(r){e=O()({},e,{onEnd:a});var o=e.onEnter&&e.onEnter.before?e.onEnter.before:m.a;n=n.map(function(e,t){var a=(e.key||t).toString();return r[a]?O()({},e,o(e,t,n)):e})}return{animate:e,data:n}}function h(e,t,n,a){var o=e&&e.onEnter;if(e=O()({},e,o),n){e.onEnd=a;var i=e.onEnter&&e.onEnter.after?e.onEnter.after:m.a;t=t.map(function(e,a){var o=r(e,a);return n[o]?O()({},e,i(e,a,t)):e})}return{animate:e,data:t}}function y(e,t,n){var r=t&&t.nodesWillExit,a=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,c=t&&t.nodesDoneLoad,y=t&&t.childrenTransitions||[],b={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},m=function(e,t,r){return i?f(r,t,function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}):s(r,e,t,function(){n({nodesDoneLoad:!0})})},g=function(e,t,r,a){return p(a,t,r,e,function(){n({nodesWillExit:!1})})},x=function(e,t,r,a){return o?h(a,r,e,function(){n({nodesWillEnter:!1})}):d(a,t,r,e,function(){n({nodesShouldEnter:!0})})},w=function(e,t){var n=e.props.animate;if(!e.type)return{};var r=e.props&&e.props.polar?e.type.defaultPolarTransitions||e.type.defaultTransitions:e.type.defaultTransitions;if(r){var a=n[t]&&n[t].duration;return void 0!==a?a:r[t]&&r[t].duration}return{}};return function(n,i){var s=u(n)||[],f=v()({},e.animate,n.props.animate),p=n.props.polar?n.type.defaultPolarTransitions||n.type.defaultTransitions:n.type.defaultTransitions;f.onExit=v()({},f.onExit,p&&p.onExit),f.onEnter=v()({},f.onEnter,p&&p.onEnter),f.onLoad=v()({},f.onLoad,p&&p.onLoad);var d=y[i]||y[0];if(!c){var h=void 0!==b.load?b.load:w(n,"onLoad"),_={duration:h};return m(n,s,O()({},f,_))}if(r){var j=d&&d.exiting,P=void 0!==b.exit?b.exit:w(n,"onExit"),C=j?{duration:P}:{delay:P};return g(j,n,s,O()({},f,C))}if(a){var M=d&&d.entering,A=void 0!==b.enter?b.enter:w(n,"onEnter"),k=void 0!==b.move?b.move:n.props.animate&&n.props.animate.duration,E={duration:o&&M?A:k};return x(M,n,s,O()({},f,E))}return!t&&f&&f.onExit?l(f,s):{animate:f,data:s}}}var b=n(20),m=n.n(b),g=n(4),v=n.n(g),x=n(3),O=n.n(x),w=n(0),_=n.n(w);t.a={getInitialTransitionState:c,getTransitionPropsFactory:y}},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.rx,o=e.ry,i=e.width,u=e.height,c=e.events,l=e.className,s=e.clipPath,p=e.style,d=e.role,h=e.shapeRendering,y=e.transform;return f.a.createElement("rect",r({x:t,y:n,rx:a,ry:o,width:i,height:u,className:l,clipPath:s,style:p,transform:y,role:d||"presentation",shapeRendering:h||"auto",vectorEffect:"non-scaling-stroke"},c))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,events:d.a.object,height:d.a.number,role:d.a.string,rx:d.a.number,ry:d.a.number,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string,width:d.a.number,x:d.a.number,y:d.a.number}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.d,n=e.role,a=e.shapeRendering,o=e.className,i=e.clipPath,u=e.style,c=e.transform,l=e.events;return f.a.createElement("path",r({d:t,transform:c,className:o,clipPath:i,style:u,role:n||"presentation",shapeRendering:a||"auto"},l))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,d:d.a.string,events:d.a.object,role:d.a.string,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,a=e.y1,o=e.y2,i=e.events,u=e.className,c=e.clipPath,l=e.transform,s=e.style,p=e.shapeRendering,d=e.role;return f.a.createElement("line",r({x1:t,x2:n,y1:a,y2:o,className:u,clipPath:c,transform:l,style:s,role:d||"presentation",shapeRendering:p||"auto",vectorEffect:"non-scaling-stroke"},i))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,events:d.a.object,role:d.a.string,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string,x1:d.a.number,x2:d.a.number,y1:d.a.number,y2:d.a.number}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var c=n(18),l=n.n(c),s=n(35),f=n.n(s),p=n(312),d=n.n(p),h=n(59),y=n.n(h),b=n(5),m=n.n(b),g=n(13),v=n.n(g),x=n(3),O=n.n(x);t.a={getEvents:function(e,t,n,r){var o=this,i=function(e){var r=function(){var r=e.reduce(function(e,n){if(void 0!==n.target){return(Array.isArray(n.target)?l()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e}return e.concat(n)},[]);return void 0!==n&&"parent"!==t?r.filter(function(e){var t=e.eventKey,r=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some(function(e){return r(e)}):r(t)}):r}();return Array.isArray(r)&&r.reduce(function(e,t){return t?O()(e,t.eventHandlers):e},{})},u=function(){if(Array.isArray(o.componentEvents)){var t;return Array.isArray(e.events)?(t=o.componentEvents).concat.apply(t,a(e.events)):o.componentEvents}return e.events}(),c=u&&m()(r)?r(i(u),t):void 0;if(!e.sharedEvents)return c;var s=e.sharedEvents.getEvents,f=e.sharedEvents.events&&s(i(e.sharedEvents.events),t);return O()({},f,c)},getScopedEvents:function(e,t,n,a){var o=this;if(v()(e))return{};a=a||this.baseProps;var i=function(e,t){var n=e.childName,r=e.target,i=e.key,u="props"===t?a:o.state||{},c=void 0!==n&&null!==n&&u[n]?u[n]:u;return"parent"===i?c.parent:c[i]&&c[i][r]},u=function(e,u){var c="parent"===t?e.childName:e.childName||n,l=e.target||t,s=function(t){return"parent"===l?"parent":"all"===e.eventKey?a[t]?y()(Object.keys(a[t]),"parent"):y()(Object.keys(a),"parent"):void 0===e.eventKey&&"parent"===u?a[t]?Object.keys(a[t]):Object.keys(a):void 0!==e.eventKey?e.eventKey:u},f=function(t,n){var u=o.state||{};if(!m()(e.mutation))return u;var c=i({childName:n,key:t,target:l},"props"),s=i({childName:n,key:t,target:l},"state"),f=e.mutation(O()({},c,s),a),p=u[n]||{},d=function(e){return e[t]&&e[t][l]&&delete e[t][l],e[t]&&!Object.keys(e[t]).length&&delete e[t],e},h=function(e){return"parent"===l?O()(e,r({},t,O()(e[t],f))):O()(e,r({},t,O()(e[t],r({},l,f))))},y=function(e){return f?h(e):d(e)};return void 0!==n&&null!==n?O()(u,r({},n,y(p))):y(u)},p=function(e){var t=s(e);return Array.isArray(t)?t.reduce(function(t,n){return O()(t,f(n,e))},{}):f(t,e)},d="all"===c?y()(Object.keys(a),"parent"):c;return Array.isArray(d)?d.reduce(function(e,t){return O()(e,p(t))},{}):p(d)},c=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return e=O()({},e,u(n,t))},{}):u(e,t)},l=function(e){var t=function(e){return m()(e.callback)&&e.callback},n=Array.isArray(e)?e.map(function(e){return t(e)}):[t(e)],r=n.filter(function(e){return!1!==e});return r.length?function(){return r.forEach(function(e){return e()})}:void 0},s=function(t,n,r,a){var i=e[a](t,n,r,o);if(i){var u=l(i);o.setState(c(i,r),u)}};return Object.keys(e).reduce(function(e,t){return e[t]=s,e},{})},getPartialEvents:function(e,t,n){return e?Object.keys(e).reduce(function(r,a){var o=function(r){return e[a](r,n,t,a)};return r[a]=o,r},{}):{}},getEventState:function(e,t,n){var r=this.state||{};return n?r[n]&&r[n][e]&&r[n][e][t]:"parent"===e?r[e]&&r[e][t]||r[e]:r[e]&&r[e][t]},getExternalMutationsWithChildren:function(e,t,n,r){var a=this;return t=t||{},n=n||{},r.reduce(function(r,o){var i=n[o],u=a.getExternalMutations(e,t[o],n[o],o);return r[o]=u||i,d()(r,function(e){return!v()(e)})},{})},getExternalMutations:function(e,t,n,r){var a=this;return t=t||{},n=n||{},Object.keys(t).reduce(function(o,i){var u=n[i]||{},c=t[i]||{};if("parent"===i){var l={eventKey:i,target:"parent"},s=a.getExternalMutation(e,c,u,l);o[i]=void 0!==s?O()({},u,s):u}else{var p=f()(Object.keys(c).concat(Object.keys(u)));o[i]=p.reduce(function(t,n){var o={eventKey:i,target:n,childName:r},l=a.getExternalMutation(e,c[n],u[n],o);return t[n]=void 0!==l?O()({},u[n],l):u[n],d()(t,function(e){return!v()(e)})},{})}return d()(o,function(e){return!v()(e)})},{})},getExternalMutation:function(e,t,n,r){var a=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===r[t];if(Array.isArray(e[t])){var n=e[t].map(function(e){return"".concat(e)});return l()(n,r[t])}return!1};e=Array.isArray(e)?e:[e];var o=e;r.childName&&(o=e.filter(function(e){return a(e,"childName")}));var i=o.filter(function(e){return a(e,"target")});if(!v()(i)){var u=i.filter(function(e){return a(e,"eventKey")});if(!v()(u))return u.reduce(function(e,r){var a=r&&m()(r.mutation)?r.mutation:function(){},o=a(O()({},t,n));return O()({},e,o)},{})}},getComponentEvents:function(e,t){var n=Array.isArray(t)&&t.reduce(function(t,n){var r,o=e[n],i=o&&o.type&&o.type.defaultEvents,u=m()(i)?i(o.props):i;return t=Array.isArray(u)?(r=t).concat.apply(r,a(u)):t},[]);return n&&n.length?n:void 0}}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){var t={errorX:!0,errorY:!0};return J.a.isImmutable(e)?J.a.shallowToJS(e,t):e}function c(e){return J.a.isIterable(e)?e.size:e.length}function l(e,t){var n=L()(e.domain)?e.domain[t]:e.domain,a=n||Z.a.getBaseScale(e,t).domain(),o=e.samples||1,i=Math.max.apply(Math,r(a)),u=Math.min.apply(Math,r(a)),c=(i-u)/o,l=F()(u,i,c);return V()(l)===i?l:l.concat(i)}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return T()(e,t,r)}function f(e,t){var n={x:Z.a.getScaleType(t,"x"),y:Z.a.getScaleType(t,"y")};if("log"!==n.x&&"log"!==n.y)return e;var r=function(e,t){return"log"!==n[t]||0!==e["_".concat(t)]};return e.filter(function(e){return r(e,"x")&&r(e,"y")&&r(e,"y0")})}function p(e){return z()(e)?e:null===e||void 0===e?function(){}:D()(e)}function d(e,t){var n=!!e.eventKey,r=p(e.eventKey);return t.map(function(e){if(void 0!==e.eventKey)return e;if(n){var t=r(e);return void 0!==t?H()({eventKey:t},e):e}return e})}function h(e,t){var n=K.a.getCurrentAxis(t,e.horizontal),a=x(e,n),o=O(e,n),i=w(e,t),u=q()(r(a).concat(r(o),r(i)));return 0===u.length?null:u.reduce(function(e,t,n){return e[t]=n+1,e},{})}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=c(e);if(r>t){var a=Math.pow(2,Math.ceil(Math.log2(r/t)));return e.filter(function(e,t){return(t+n)%a==0})}return e}function b(e,t,n){if(!Array.isArray(e)&&!J.a.isIterable(e)||c(e)<1)return[];var r=["x","y","y0"];n=Array.isArray(n)?n:r;var a={x:-1!==n.indexOf("x")?h(t,"x"):void 0,y:-1!==n.indexOf("y")?h(t,"y"):void 0,y0:-1!==n.indexOf("y0")?h(t,"y"):void 0},o=function(e){return K.a.createAccessor(void 0!==t[e]?t[e]:e)},i=n.reduce(function(e,t){return e[t]=o(t),e},{}),l=M()(n,r)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0,p=l?e:e.reduce(function(e,t,r){t=u(t);var o={x:r,y:t},c=n.reduce(function(e,n){var r=i[n](t),u=void 0!==r?r:o[n];return void 0!==u&&("string"==typeof u&&a[n]?(e["".concat(n,"Name")]=u,e["_".concat(n)]=a[n][u]):e["_".concat(n)]=u),e},{}),l=H()({},c,t);return k()(l)||e.push(l),e},[]),y=s(p,t.sortKey,t.sortOrder),b=f(y,t);return d(t,b)}function m(e){var t=l(e,"x"),n=l(e,"y");return t.map(function(e,t){return{x:e,y:n[t]}})}function g(e,t){var n=K.a.getCurrentAxis(t,e.horizontal);return e.categories&&!Array.isArray(e.categories)?e.categories[n]:e.categories}function v(e){return e.data?b(e.data,e):b(m(e),e)}function x(e,t){var n,r=e.tickValues,a=e.tickFormat;return n=r&&(Array.isArray(r)||r[t])?r[t]||r:a&&Array.isArray(a)?a:[],n.filter(function(e){return"string"==typeof e})}function O(e,t){if(!e.categories)return[];var n=g(e,t),r=n&&n.filter(function(e){return"string"==typeof e});return r?X.a.removeUndefined(r):[]}function w(e,t){if(!Array.isArray(e.data)&&!J.a.isIterable(e.data))return[];var n=void 0===e[t]?t:e[t],r=K.a.createAccessor(n);return s(e.data.reduce(function(e,t){return e.push(u(t)),e},[]),e.sortKey,e.sortOrder).reduce(function(e,t){return t=u(t),e.push(r(t)),e},[]).filter(function(e){return"string"==typeof e}).reduce(function(e,t){return void 0!==t&&null!==t&&-1===e.indexOf(t)&&e.push(t),e},[])}function _(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=Y.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}var a=["area","bar","boxplot","candlestick","errorbar","group","line","pie","scatter","stack","voronoi"];return P()(a,n)}var j=n(18),P=n.n(j),C=n(314),M=n.n(C),A=n(13),k=n.n(A),E=n(30),T=n.n(E),S=n(75),D=n.n(S),N=n(24),L=n.n(N),R=n(5),z=n.n(R),I=n(315),V=n.n(I),B=n(58),F=n.n(B),W=n(35),q=n.n(W),U=n(3),H=n.n(U),G=n(0),Y=n.n(G),K=n(7),X=n(17),Z=n(92),J=n(170);t.a={createStringMap:h,downsample:y,formatData:b,generateData:m,getCategories:g,getData:v,getStringsFromAxes:x,getStringsFromCategories:O,getStringsFromData:w,isDataComponent:_}},function(e,t,n){"use strict";function r(e){return"scale".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}function a(e){return"function"==typeof e?y()(e.copy)&&y()(e.domain)&&y()(e.range):"string"==typeof e&&m()(O,e)}function o(e,t){return!!e.scale&&(!e.scale.x&&!e.scale.y||!!e.scale[t])}function i(e,t){if(o(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:d(n)}}function u(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return v.a.containsDates(n)?"time":"linear"}function c(e,t){if(!e.data)return"linear";var n=g.a.createAccessor(e[t]),r=e.data.map(n);return v.a.containsDates(r)?"time":"linear"}function l(e,t){var n=f(e,t);if(n)return n;var a=u(e,t)||c(e,t);return x[r(a)]()}function s(){return x.scaleLinear()}function f(e,t){if(o(e,t)){var n=e.scale[t]||e.scale;return a(n)?y()(n)?n:x[r(n)]():void 0}}function p(e,t){return i(e,t)||c(e,t)}function d(e){var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}],n=t.filter(function(t){return void 0!==e[t.method]})[0];return n?n.name:void 0}var h=n(5),y=n.n(h),b=n(18),m=n.n(b),g=n(7),v=n(17),x=n(316),O=["linear","time","log","sqrt"];t.a={getBaseScale:l,getDefaultScale:s,getScaleFromProps:f,getScaleType:p,getType:d}},function(e,t,n){"use strict";var r=n(36);t.a=function(e,t,n){if(null==n&&(n=r.a),a=e.length){if((t=+t)<=0||a<2)return+n(e[0],0,e);if(t>=1)return+n(e[a-1],a-1,e);var a,o=(a-1)*t,i=Math.floor(o),u=+n(e[i],i,e);return u+(+n(e[i+1],i+1,e)-u)*(o-i)}}},function(e,t,n){"use strict";function r(){}function a(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var a,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(a=e[o],o,e),a)}else if(e)for(var u in e)n.set(u,e[u]);return n}n.d(t,"b",function(){return o});var o="$";r.prototype=a.prototype={constructor:r,has:function(e){return o+e in this},get:function(e){return this[o+e]},set:function(e,t){return this[o+e]=t,this},remove:function(e){var t=o+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===o&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===o&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===o&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===o&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===o&&++e;return e},empty:function(){for(var e in this)if(e[0]===o)return!1;return!0},each:function(e){for(var t in this)t[0]===o&&e(this[t],t.slice(1),this)}},t.a=a},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";t.a=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";var r=(n(8),n(357));n.d(t,"c",function(){return r.a}),n.d(t,"n",function(){return r.a});var a=n(358);n.d(t,"g",function(){return a.a}),n.d(t,"r",function(){return a.a});var o=n(359);n.d(t,"d",function(){return o.a});var i=n(360);n.d(t,"b",function(){return i.a});var u=n(361);n.d(t,"a",function(){return u.a});var c=n(362);n.d(t,"j",function(){return c.b}),n.d(t,"h",function(){return c.b}),n.d(t,"e",function(){return c.a}),n.d(t,"i",function(){return c.c});var l=n(363);n.d(t,"f",function(){return l.a});var s=n(364);n.d(t,"k",function(){return s.a});var f=n(365);n.d(t,"o",function(){return f.a});var p=n(366);n.d(t,"m",function(){return p.a});var d=n(367);n.d(t,"l",function(){return d.a});var h=n(368);n.d(t,"u",function(){return h.b}),n.d(t,"s",function(){return h.b}),n.d(t,"p",function(){return h.a}),n.d(t,"t",function(){return h.c});var y=n(369);n.d(t,"q",function(){return y.a});var b=n(370);n.d(t,"v",function(){return b.a})},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return u});var r,a,o,i,u,c=n(168);!function(e){r=Object(c.a)(e),a=r.format,o=r.parse,i=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(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t,n){if("log"!==z.a.getScaleType(t,n))return e;return function(e){var t=e[0]<0||e[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===e[0]?t:e[0],0===e[1]?t:e[1]]}(e)}function c(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return n(T()(e.domainPadding)?e.domainPadding[t]:e.domainPadding)}function l(e,t){return D()(e).map(function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]})}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",a=function(e){return"max"===n?Math.max.apply(Math,r(e)):Math.min.apply(Math,r(e))},o="max"===n?-1/0:1/0,i=!1,u=D()(e).reduce(function(e,n){var r=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],o=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],u=a([r,o]);return i=i||r instanceof Date||o instanceof Date,a([e,u])},o);return i?new Date(u):u}function f(e,t,n){if(!t.domainPadding)return e;var r=O(t,n),a=x(t,n),o=c(t,n);if(!o.left&&!o.right)return e;var i=V.a.getMinValue(e),u=V.a.getMaxValue(e),l=I.a.getRange(t,n),s=Math.abs(l[0]-l[1]),f={left:Math.abs(u-i)*o.left/s,right:Math.abs(u-i)*o.right/s},p=T()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,d=function(e,t){return!1===p?e:"min"===t&&i>=0&&e<=0||"max"===t&&u<=0&&e>=0?0:e},h={min:d(i.valueOf()-f.left,"min"),max:d(u.valueOf()+f.right,"max")},y={left:Math.abs(h.max-h.min)*o.left/s,right:Math.abs(h.max-h.min)*o.right/s},b={min:d(i.valueOf()-y.left,"min"),max:d(u.valueOf()+y.right,"max")},g={min:void 0!==r?r:b.min,max:void 0!==a?a:b.max};return i instanceof Date||u instanceof Date?m(new Date(g.min),new Date(g.max)):m(g.min,g.max)}function p(e,t){return e=M()(e)?e:b,t=M()(t)?t:d,function(n,r){var a=g(n,r);if(a)return t(a,n,r);var o=R.a.getCategories(n,r),i=o?y(n,r,o):e(n,r);return t(i,n,r)}}function d(e,t,n){return u(f(e,t,n),t,n)}function h(e,t){return p()(e,t)}function y(e,t,n){n=n||R.a.getCategories(e,t);var r=e.polar,a=e.startAngle,o=void 0===a?0:a,i=e.endAngle,u=void 0===i?360:i;if(n){var c=O(e,t),l=x(e,t),s=V.a.containsStrings(n)?R.a.getStringsFromCategories(e,t):[],f=0===s.length?null:s.reduce(function(e,t,n){return e[t]=n+1,e},{}),p=f?n.map(function(e){return f[e]}):n,d=void 0!==c?c:V.a.getMinValue(p),h=void 0!==l?l:V.a.getMaxValue(p),y=m(d,h);return r&&"x"===t&&360===Math.abs(o-u)?w(y,p):y}}function b(e,t,n){n=n||R.a.getData(e);var r=e.horizontal,a=e.polar,o=e.startAngle,i=void 0===o?0:o,u=e.endAngle,c=void 0===u?360:u,f=O(e,t),p=x(e,t);if(n.length<1){var d=z.a.getBaseScale(e,t).domain();return m(void 0!==f?f:V.a.getMinValue(d),void 0!==p?p:V.a.getMaxValue(d))}var h=I.a.getCurrentAxis(t,r),y=void 0!==f?f:s(n,h,"min"),b=void 0!==p?p:s(n,h,"max"),g=m(y,b);return a&&"x"===t&&360===Math.abs(i-c)?w(g,l(n,h)):g}function m(e,t){return+e==+t?function(e){var t=0===e?2*Math.pow(10,-10):Math.pow(10,-10),n=e instanceof Date?new Date(+e-1):+e-t,r=e instanceof Date?new Date(+e+1):+e+t;return 0===e?[0,r]:[n,r]}(t):[e,t]}function g(e,t){var n=O(e,t),r=x(e,t);return T()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==r?m(n,r):void 0}function v(e,t){var n=g(e,t);if(n)return n;var r=R.a.getData(e),a=r.reduce(function(e,t){return t._y0<e?t._y0:e},1/0),o=function(n){if("x"===I.a.getCurrentAxis(t,e.horizontal))return n;var r=a!==1/0?a:0,o=x(e,t),i=O(e,t),u=void 0!==o?o:V.a.getMaxValue(n,r);return m(void 0!==i?i:V.a.getMinValue(n,r),u)};return p(function(){return b(e,t,r)},function(n){return d(o(n),e,t)})(e,t)}function x(e,t){return T()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain?e.maxDomain:void 0}function O(e,t){return T()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain?e.minDomain:void 0}function w(e,t){var n=k()(t.sort(function(e,t){return e-t})),r=n[1]-n[0];return[e[0],e[1]+r]}function _(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=L.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}var a=["area","axis","bar","boxplot","candlestick","errorbar","group","line","pie","scatter","stack","voronoi"];return P()(a,n)}var j=n(18),P=n.n(j),C=n(5),M=n.n(C),A=n(382),k=n.n(A),E=n(24),T=n.n(E),S=n(57),D=n.n(S),N=n(0),L=n.n(N),R=n(91),z=n(92),I=n(7),V=n(17);t.a={createDomainFunction:p,formatDomain:d,getDomain:h,getDomainFromCategories:y,getDomainFromData:b,getDomainFromMinMax:m,getDomainFromProps:g,getDomainWithZero:v,getMaxFromProps:x,getMinFromProps:O,getSymmetricDomain:w,isDomainComponent:_}},function(e,t,n){function r(e){return null==e?[]:a(e,o(e))}var a=n(387),o=n(12);e.exports=r},function(e,t,n){function r(e,t){return e&&a(e,t,o)}var a=n(396),o=n(12);e.exports=r},function(e,t,n){"use strict";var r=n(41),a=n(22),o=n(63),i=n(103);t.a=function(){function e(e){var a,o,i,f=e.length,p=!1;for(null==c&&(s=l(i=Object(r.a)())),a=0;a<=f;++a)!(a<f&&u(o=e[a],a,e))===p&&((p=!p)?s.lineStart():s.lineEnd()),p&&s.point(+t(o,a,e),+n(o,a,e));if(i)return s=null,i+""||null}var t=i.a,n=i.b,u=Object(a.a)(!0),c=null,l=o.a,s=null;return e.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(a.a)(+n),e):t},e.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(a.a)(+t),e):n},e.defined=function(t){return arguments.length?(u="function"==typeof t?t:Object(a.a)(!!t),e):u},e.curve=function(t){return arguments.length?(l=t,null!=c&&(s=l(c)),e):l},e.context=function(t){return arguments.length?(null==t?c=s=null:s=l(c=t),e):c},e}},function(e,t,n){"use strict";function r(e){return e[0]}function a(e){return e[1]}t.a=r,t.b=a},function(e,t,n){"use strict";function r(e,t,n){var r=e._x1,a=e._y1,i=e._x2,u=e._y2;if(e._l01_a>o.f){var c=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*c-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,a=(a*c-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>o.f){var s=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*s+e._x1*e._l23_2a-t*e._l12_2a)/f,u=(u*s+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(r,a,i,u,e._x2,e._y2)}function a(e,t){this._context=e,this._alpha=t}t.b=r;var o=n(42),i=n(66);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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,a=this._y2-t;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(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new a(e,t):new i.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";function r(e){for(var t,n=0,r=-1,a=e.length;++r<a;)(t=+e[r][1])&&(n+=t);return n}t.b=r;var a=n(44);t.a=function(e){var t=e.map(r);return Object(a.a)(e).sort(function(e,n){return t[e]-t[n]})}},function(e,t,n){"use strict";function r(){this._=null}function a(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function o(e,t){var n=t,r=t.R,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function i(e,t){var n=t,r=t.L,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function u(e){for(;e.L;)e=e.L;return e}t.a=a,r.prototype={constructor:r,insert:function(e,t){var n,r,a;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=u(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)r=n.U,n===r.L?(a=r.R,a&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.R&&(o(this,n),e=n,n=e.U),n.C=!1,r.C=!0,i(this,r))):(a=r.L,a&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.L&&(i(this,n),e=n,n=e.U),n.C=!1,r.C=!0,o(this,r))),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,a=e.U,c=e.L,l=e.R;if(n=c?l?u(l):c:l,a?a.L===e?a.L=n:a.R=n:this._=n,c&&l?(r=n.C,n.C=e.C,n.L=c,c.U=n,n!==l?(a=n.U,n.U=e.U,e=n.R,a.L=e,n.R=l,l.U=n):(n.U=a,a=n,e=n.R)):(r=e.C,e=n),e&&(e.U=a),!r){if(e&&e.C)return void(e.C=!1);do{if(e===this._)break;if(e===a.L){if(t=a.R,t.C&&(t.C=!1,a.C=!0,o(this,a),t=a.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,i(this,t),t=a.R),t.C=a.C,a.C=t.R.C=!1,o(this,a),e=this._;break}}else if(t=a.L,t.C&&(t.C=!1,a.C=!0,i(this,a),t=a.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,o(this,t),t=a.L),t.C=a.C,a.C=t.L.C=!1,i(this,a),e=this._;break}t.C=!0,e=a,a=a.U}while(!e.C);e&&(e.C=!1)}}},t.b=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=[null,null],i=l.e.push(a)-1;return a.left=e,a.right=t,n&&o(a,e,t,n),r&&o(a,t,e,r),l.b[e.index].halfedges.push(i),l.b[t.index].halfedges.push(i),a}function a(e,t,n){var r=[t,n];return r.left=e,r}function o(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function i(e,t,n,r,a){var o,i=e[0],u=e[1],c=i[0],l=i[1],s=u[0],f=u[1],p=0,d=1,h=s-c,y=f-l;if(o=t-c,h||!(o>0)){if(o/=h,h<0){if(o<p)return;o<d&&(d=o)}else if(h>0){if(o>d)return;o>p&&(p=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>p&&(p=o)}else if(h>0){if(o<p)return;o<d&&(d=o)}if(o=n-l,y||!(o>0)){if(o/=y,y<0){if(o<p)return;o<d&&(d=o)}else if(y>0){if(o>d)return;o>p&&(p=o)}if(o=a-l,y||!(o<0)){if(o/=y,y<0){if(o>d)return;o>p&&(p=o)}else if(y>0){if(o<p)return;o<d&&(d=o)}return!(p>0||d<1)||(p>0&&(e[0]=[c+p*h,l+p*y]),d<1&&(e[1]=[c+d*h,l+d*y]),!0)}}}}}function u(e,t,n,r,a){var o=e[1];if(o)return!0;var i,u,c=e[0],l=e.left,s=e.right,f=l[0],p=l[1],d=s[0],h=s[1],y=(f+d)/2,b=(p+h)/2;if(h===p){if(y<t||y>=r)return;if(f>d){if(c){if(c[1]>=a)return}else c=[y,n];o=[y,a]}else{if(c){if(c[1]<n)return}else c=[y,a];o=[y,n]}}else if(i=(f-d)/(h-p),u=b-i*y,i<-1||i>1)if(f>d){if(c){if(c[1]>=a)return}else c=[(n-u)/i,n];o=[(a-u)/i,a]}else{if(c){if(c[1]<n)return}else c=[(a-u)/i,a];o=[(n-u)/i,n]}else if(p<h){if(c){if(c[0]>=r)return}else c=[t,i*t+u];o=[r,i*r+u]}else{if(c){if(c[0]<t)return}else c=[r,i*r+u];o=[t,i*t+u]}return e[0]=c,e[1]=o,!0}function c(e,t,n,r){for(var a,o=l.e.length;o--;)u(a=l.e[o],e,t,n,r)&&i(a,e,t,n,r)&&(Math.abs(a[0][0]-a[1][0])>l.f||Math.abs(a[0][1]-a[1][1])>l.f)||delete l.e[o]}t.c=r,t.b=a,t.d=o,t.a=c;var l=n(45)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return w});var d=n(0),h=n.n(d),y=n(2),b=n.n(y),m=n(215),g=n(226),v=n(53),x=n(6),O=n.n(x),w=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),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=m[n.toNewName(n.props.easing)],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(p(n)),n.getTimer=n.getTimer.bind(p(n)),n}return f(t,e),l(t,[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"shouldComponentUpdate",value:function(e,t){var n=O()(this.props,e);if(!n){if(this.getTimer().unsubscribe(this.loopID),Array.isArray(e.data)){var a;(a=this.queue).push.apply(a,r(e.data))}else this.queue.length=0,this.queue.push(e.data);this.traverseQueue()}return t.animationInfo.animating||!n}},{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 v.a),this.timer)}},{key:"toNewName",value:function(e){return"ease".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"traverseQueue",value:function(){var e=this;if(this.queue.length){var t=this.queue[0];this.interpolator=Object(g.a)(this.state.data,t),this.props.delay?setTimeout(function(){e.loopID=e.getTimer().subscribe(e.functionToBeRunEachFrame,e.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(e,t){t=void 0!==t?t:this.props.duration;var n=t?e/t: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)}}]),t}(h.a.Component);Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:b.a.func,data:b.a.oneOfType([b.a.object,b.a.array]),delay:b.a.number,duration:b.a.number,easing:b.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:b.a.func}}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(w,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:b.a.func}})},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(230),o=n(231),i=n(232),u=n(233),c=n(234);r.prototype.clear=a,r.prototype.delete=o,r.prototype.get=i,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return e===e&&!a(e)}var a=n(11);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(246);e.exports=r},function(e,t,n){var r=n(116),a=r.Symbol;e.exports=a},function(e,t,n){var r=n(247),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t,n){function r(e,t){return null!=e&&o(e,t,a)}var a=n(249),o=n(250);e.exports=r},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var r=Math.PI/180,a=180/Math.PI},function(e,t,n){"use strict";function r(e){return function(t){var n,r,o=t.length,i=new Array(o),u=new Array(o),c=new Array(o);for(n=0;n<o;++n)r=Object(a.f)(t[n]),i[n]=r.r||0,u[n]=r.g||0,c[n]=r.b||0;return i=e(i),u=e(u),c=e(c),r.opacity=1,function(e){return r.r=i(e),r.g=u(e),r.b=c(e),r+""}}}var a=n(16),o=n(80),i=n(123),u=n(26);t.a=function e(t){function n(e,t){var n=r((e=Object(a.f)(e)).r,(t=Object(a.f)(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),c=Object(u.a)(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=c(t),e+""}}var r=Object(u.b)(t);return n.gamma=e,n}(1);r(o.b),r(i.a)},function(e,t,n){"use strict";var r=n(80);t.a=function(e){var t=e.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*t),o=e[(a+t-1)%t],i=e[a%t],u=e[(a+1)%t],c=e[(a+2)%t];return Object(r.a)((n-a/t)*t,o,i,u,c)}}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";var r=n(77);t.a=function(e,t){var n,a=t?t.length:0,o=e?Math.min(a,e.length):0,i=new Array(o),u=new Array(a);for(n=0;n<o;++n)i[n]=Object(r.a)(e[n],t[n]);for(;n<a;++n)u[n]=t[n];return function(e){for(n=0;n<o;++n)u[n]=i[n](e);return u}}},function(e,t,n){"use strict";t.a=function(e,t){var n=new Date;return e=+e,t-=e,function(r){return n.setTime(e+t*r),n}}},function(e,t,n){"use strict";var r=n(77);t.a=function(e,t){var n,a={},o={};null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={});for(n in t)n in e?a[n]=Object(r.a)(e[n],t[n]):o[n]=t[n];return function(e){for(n in a)o[n]=a[n](e);return o}}},function(e,t,n){"use strict";function r(e){return function(){return e}}function a(e){return function(t){return e(t)+""}}var o=n(52),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(i.source,"g");t.a=function(e,t){var n,c,l,s=i.lastIndex=u.lastIndex=0,f=-1,p=[],d=[];for(e+="",t+="";(n=i.exec(e))&&(c=u.exec(t));)(l=c.index)>s&&(l=t.slice(s,l),p[f]?p[f]+=l:p[++f]=l),(n=n[0])===(c=c[0])?p[f]?p[f]+=c:p[++f]=c:(p[++f]=null,d.push({i:f,x:Object(o.a)(n,c)})),s=u.lastIndex;return s<t.length&&(l=t.slice(s),p[f]?p[f]+=l:p[++f]=l),p.length<2?d[0]?a(d[0].x):r(t):(t=d.length,function(e){for(var n,r=0;r<t;++r)p[(n=d[r]).i]=n.x(e);return p.join("")})}},function(e,t,n){function r(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,u=o(r.length-t,0),c=Array(u);++i<u;)c[i]=r[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=r[i];return l[t]=n(c),a(e,this,l)}}var a=n(277),o=Math.max;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=a(e))===o||e===-o){return(e<0?-1:1)*i}return e===e?e:0}var a=n(133),o=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=l.test(e);return n||s.test(e)?f(e.slice(2),n?2:8):c.test(e)?i:+e}var a=n(11),o=n(31),i=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return h});var l=n(0),s=n.n(l),f=n(2),p=n.n(f),d=n(27),h=function(e){function t(e){var n;return r(this,t),n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(c(n)),n.portalRegister=n.portalRegister.bind(c(n)),n.portalDeregister=n.portalDeregister.bind(c(n)),n}return u(t,e),o(t,[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return Object.keys(this.map).map(function(t){var n=e.map[t];return n?s.a.cloneElement(n,{key:t}):n})}},{key:"render",value:function(){return s.a.createElement("svg",this.props,this.getChildren())}}]),t}(s.a.Component);Object.defineProperty(h,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(h,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:p.a.string,height:d.a.nonNegative,style:p.a.object,viewBox:p.a.string,width:d.a.nonNegative}})},function(e,t,n){function r(e,t,n){for(var r=-1,u=t.length,c={};++r<u;){var l=t[r],s=a(e,l);n(s,l)&&o(c,i(l,e),s)}return c}var a=n(72),o=n(289),i=n(51);e.exports=r},function(e,t,n){function r(e){return i(o(e,void 0,a),e+"")}var a=n(57),o=n(129),i=n(130);e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return m});var l=n(4),s=n.n(l),f=n(0),p=n.n(f),d=n(2),h=n.n(d),y=n(56),b=n(7),m=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidMount",value:function(){if(!this.checkedContext){if("function"!=typeof this.context.portalUpdate){y.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(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},a=s()(r,n,b.a.omit(this.props,["children","groupComponent"])),o=e&&p.a.cloneElement(e,a);return this.renderPortal(o)}}]),t}(p.a.Component);Object.defineProperty(m,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(m,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:h.a.node,groupComponent:h.a.element}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:p.a.createElement("g",null)}}),Object.defineProperty(m,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{portalDeregister:h.a.func,portalRegister:h.a.func,portalUpdate:h.a.func}})},function(e,t,n){"use strict";function r(e,t){t=t||{};var n=t._y>=0?1:-1,r=e.style&&e.style.labels||{};return t.verticalAnchor||r.verticalAnchor?t.verticalAnchor||r.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}function a(e,t){t=t||{};var n=e.style,r=e.horizontal,a=t._y>=0?1:-1,o=n&&n.labels||{};return t.verticalAnchor||o.verticalAnchor?t.verticalAnchor||o.verticalAnchor:r?a>=0?"start":"end":"middle"}function o(e,t){t=t||{};var n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}function i(e,t){t=t||{};var n=e.horizontal,r=e.style,a=e.active,o=r.labels||{},i=m.a.evaluateProp(o.padding,t,a)||0,u=t._y<0?-1:1;return{x:n?u*i:0,y:n?0:u*i}}function u(e,t){var n=e.horizontal,r=e.polar,a=m.a.scalePoint(e,t),o=a.x,u=a.y,l=i(e,t);if(r){var s=c(e,t);return{x:o+s.x,y:u+s.y}}return{x:n?u+l.x:o+l.x,y:n?o+l.y:u-l.y}}function c(e,t){var n=e.active,r=e.style,a=y(e,t),o=r.labels||{},i=m.a.evaluateProp(o.padding,t,n)||0,u=m.a.degreesToRadians(a);return{x:i*Math.cos(u),y:-i*Math.sin(u)}}function l(e){var t=e.labelComponent,n=e.labelPlacement,r=e.polar,a=r?"perpendicular":"vertical";return n||(t.props&&t.props.labelPlacement||a)}function s(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}function f(e,t,n){return t=t||{},void 0!==t.label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function p(e,t){var n=l(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function d(e,t){var n=l(e),r=s(t);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}function h(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var a,o=void 0!==t?t:y(e,r),i=o>90&&o<180||o>270?1:-1;return 0===o||180===o?a=90:o>0&&o<180?a=90-o:o>180&&o<360&&(a=270-o),a+i*("perpendicular"===n?0:90)}function y(e,t){var n=m.a.getPoint(t),r=n.x;return m.a.radiansToDegrees(e.scale.x(r))}function b(e,t){var n=e.scale,i=e.data,c=e.style,s=e.horizontal,h=e.polar,b=i[t],m=y(e,b),g=h?p(e,m):a(e,b),v=h?d(e,m):r(e,b),x=o(e,b),O=f(e,b,t),w=l(e),_=u(e,b);return{angle:x,data:i,datum:b,horizontal:s,index:t,polar:h,scale:n,labelPlacement:w,text:O,textAnchor:g,verticalAnchor:v,x:_.x,y:_.y,style:c.labels}}var m=n(7);t.a={getText:f,getPolarTextAnchor:p,getPolarVerticalAnchor:d,getPolarAngle:h,getDegrees:y,getProps:b}},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.dx,o=e.dy,i=e.events,u=e.className,c=e.style,l=e.textAnchor,s=e.content;return f.a.createElement("tspan",r({x:t,y:n,dx:a,dy:o,textAnchor:l,className:u,style:c},i),s)}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,content:d.a.oneOfType([d.a.string,d.a.number]),dx:d.a.number,dy:d.a.number,events:d.a.object,style:d.a.object,textAnchor:d.a.oneOf(["start","middle","end","inherit"]),x:d.a.number,y:d.a.number}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.dx,o=e.dy,i=e.events,u=e.className,c=e.children,l=e.style,s=e.title,p=e.desc,d=e.transform,h=e.direction;return f.a.createElement("text",r({direction:h,className:u,x:t,dx:a,y:n,dy:o,transform:d,style:l},i),s&&f.a.createElement("title",null,s),p&&f.a.createElement("desc",null,p),c)}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:d.a.node,className:d.a.string,desc:d.a.string,direction:d.a.oneOf(["ltr","rtl","inherit"]),dx:d.a.number,dy:d.a.number,events:d.a.object,style:d.a.object,title:d.a.string,transform:d.a.string,x:d.a.oneOfType([d.a.number,d.a.string]),y:d.a.oneOfType([d.a.number,d.a.string])}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return k});var s=n(11),f=n.n(s),p=n(34),d=n.n(p),h=n(5),y=n.n(h),b=n(4),m=n.n(b),g=n(0),v=n.n(g),x=n(2),O=n.n(x),w=n(108),_=n(17),j=n(7),P=n(53),C=n(86),M=n(6),A=n.n(M),k=function(e){function t(e){var n;a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=n.props.children,o=r.props.polar;return n.continuous=!o&&r.type&&!0===r.type.continuous,n.getTransitionState=n.getTransitionState.bind(l(n)),n.getTimer=n.getTimer.bind(l(n)),n}return c(t,e),i(t,[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return A()(this.props,e)||(this.getTimer().bypassAnimation(),this.setState(this.getTransitionState(this.props,e),function(){return t.getTimer().resumeAnimation()})),!0}},{key:"componentWillUnmount",value:function(){this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new P.a),this.timer)}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState){return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t}}var r=v.a.Children.toArray(e.children),a=v.a.Children.toArray(t.children),o=C.a.getInitialTransitionState(r,a),i=o.nodesWillExit;return{nodesWillExit:i,nodesWillEnter:o.nodesWillEnter,childrenTransitions:o.childrenTransitions,nodesShouldEnter:o.nodesShouldEnter,oldProps:i?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce(function(e,r){if(r.type&&y()(r.type.getDomain)){var a=r.props&&r.type.getDomain(r.props,t);return a?e.concat(a):e}return r.props&&r.props.children?e.concat(n(v.a.Children.toArray(r.props.children))):e},[])},r=v.a.Children.toArray(e.children)[0],a=r.props||{},o=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[t];if(!a.children&&o)return o;var i=n([r]);return 0===i.length?[0,1]:[_.a.getMinValue(i),_.a.getMaxValue(i)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props}},{key:"pickDomainProps",value:function(e){var t=f()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?this.continous||t.continuous?t.nextProps||this.state.nextProps||e:e:this.continuous&&this.state.nodesWillExit?this.state.nextProps||e:e}},{key:"getClipWidth",value:function(e,t){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=j.a.getRange(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width}()}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=f()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:C.a.getTransitionPropsFactory(t,this.state,function(t){return e.setState(t)}),a=v.a.Children.toArray(t.children)[0],o=n(a);this.transitionProps=o;var i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},u=this.getClipWidth(t,a),c=m()({domain:i,clipWidth:u},o,a.props),l=t.animationWhitelist||[],s=l.concat(["clipWidth"]),p=s.length?d()(c,s):c;return v.a.createElement(w.a,r({},c.animate,{data:p}),function(t){if(a.props.groupComponent){var n=e.continuous?v.a.cloneElement(a.props.groupComponent,{clipWidth:t.clipWidth||0}):a.props.groupComponent;return v.a.cloneElement(a,m()({animate:null,animating:!0,groupComponent:n},t,c))}return v.a.cloneElement(a,m()({animate:null,animating:!0},t,c))})}}]),t}(v.a.Component);Object.defineProperty(k,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(k,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:O.a.oneOfType([O.a.bool,O.a.object]),animationWhitelist:O.a.array,children:O.a.node}})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return d});var l=n(0),s=n.n(l),f=n(2),p=n.n(f),d=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.clipId;return s.a.createElement("defs",null,s.a.createElement("clipPath",{id:n},t))}}]),t}(s.a.Component);Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:p.a.oneOfType([p.a.arrayOf(p.a.node),p.a.node]),clipId:p.a.oneOfType([p.a.number,p.a.string])}})},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(6),y=n.n(h),b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,a=e.r,o=e.events,i=e.className,u=e.style,c=e.role,l=e.shapeRendering,s=e.transform,p=e.clipPath;return f.a.createElement("circle",r({cx:t,cy:n,r:a,className:i,clipPath:p,transform:s,style:u,role:c||"presentation",shapeRendering:l||"auto",vectorEffect:"non-scaling-stroke"},o))}}]),t}(f.a.Component);Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:d.a.string,clipPath:d.a.string,cx:d.a.number,cy:d.a.number,events:d.a.object,r:d.a.number,role:d.a.string,shapeRendering:d.a.string,style:d.a.object,transform:d.a.string}})},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&a(e,t,0)>-1}var a=n(70);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=-1,f=o,p=e.length,d=!0,h=[],y=h;if(n)d=!1,f=i;else if(p>=s){var b=t?null:c(e);if(b)return l(b);d=!1,f=u,y=new a}else y=t?[]:h;e:for(;++r<p;){var m=e[r],g=t?t(m):m;if(m=n||0!==m?m:0,d&&g===g){for(var v=y.length;v--;)if(y[v]===g)continue e;t&&y.push(g),h.push(m)}else f(y,g,n)||(y!==h&&y.push(g),h.push(m))}return h}var a=n(68),o=n(144),i=n(145),u=n(69),c=n(310),l=n(311),s=200;e.exports=r},function(e,t,n){"use strict";var r=n(29),a=n(148),o=Object(a.a)(r.a),i=o.right;o.left;t.a=i},function(e,t,n){"use strict";function r(e){return function(t,n){return Object(a.a)(e(t),n)}}var a=n(29);t.a=function(e){return 1===e.length&&(e=r(e)),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)<0?r=o+1:a=o}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)>0?a=o:r=o+1}return r}}}},function(e,t,n){"use strict";function r(e,t){return[e,t]}t.a=r},function(e,t,n){"use strict";var r=n(151);t.a=function(e,t){var n=Object(r.a)(e,t);return n?Math.sqrt(n):n}},function(e,t,n){"use strict";var r=n(36);t.a=function(e,t){var n,a,o=e.length,i=0,u=-1,c=0,l=0;if(null==t)for(;++u<o;)isNaN(n=Object(r.a)(e[u]))||(a=n-c,c+=a/++i,l+=a*(n-c));else for(;++u<o;)isNaN(n=Object(r.a)(t(e[u],u,e)))||(a=n-c,c+=a/++i,l+=a*(n-c));if(i>1)return l/(i-1)}},function(e,t,n){"use strict";t.a=function(e,t){var n,r,a,o=e.length,i=-1;if(null==t){for(;++i<o;)if(null!=(n=e[i])&&n>=n)for(r=a=n;++i<o;)null!=(n=e[i])&&(r>n&&(r=n),a<n&&(a=n))}else for(;++i<o;)if(null!=(n=t(e[i],i,e))&&n>=n)for(r=a=n;++i<o;)null!=(n=t(e[i],i,e))&&(r>n&&(r=n),a<n&&(a=n));return[r,a]}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return o});var r=Array.prototype,a=r.slice,o=r.map},function(e,t,n){"use strict";t.a=function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(a);++r<a;)o[r]=e+r*n;return o}},function(e,t,n){"use strict";function r(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),c=r/Math.pow(10,a);return a>=0?(c>=o?10:c>=i?5:c>=u?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=o?10:c>=i?5:c>=u?2:1)}function a(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),c=r/a;return c>=o?a*=10:c>=i?a*=5:c>=u&&(a*=2),t<e?-a:a}t.b=r,t.c=a;var o=Math.sqrt(50),i=Math.sqrt(10),u=Math.sqrt(2);t.a=function(e,t,n){var a,o,i,u,c=-1;if(t=+t,e=+e,n=+n,e===t&&n>0)return[e];if((a=t<e)&&(o=e,e=t,t=o),0===(u=r(e,t,n))||!isFinite(u))return[];if(u>0)for(e=Math.ceil(e/u),t=Math.floor(t/u),i=new Array(o=Math.ceil(t-e+1));++c<o;)i[c]=(e+c)*u;else for(e=Math.floor(e*u),t=Math.ceil(t*u),i=new Array(o=Math.ceil(e-t+1));++c<o;)i[c]=(e-c)/u;return a&&i.reverse(),i}},function(e,t,n){"use strict";t.a=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";t.a=function(e,t){var n,r,a=e.length,o=-1;if(null==t){for(;++o<a;)if(null!=(n=e[o])&&n>=n)for(r=n;++o<a;)null!=(n=e[o])&&r>n&&(r=n)}else for(;++o<a;)if(null!=(n=t(e[o],o,e))&&n>=n)for(r=n;++o<a;)null!=(n=t(e[o],o,e))&&r>n&&(r=n);return r}},function(e,t,n){"use strict";function r(e){return e.length}var a=n(157);t.a=function(e){if(!(i=e.length))return[];for(var t=-1,n=Object(a.a)(e,r),o=new Array(n);++t<n;)for(var i,u=-1,c=o[t]=new Array(i);++u<i;)c[u]=e[u][t];return o}},function(e,t,n){"use strict";function r(e){function t(t){var r=t+"",a=n.get(r);if(!a){if(c!==i)return c;n.set(r,a=u.push(t))}return e[(a-1)%e.length]}var n=Object(a.a)(),u=[],c=i;return e=null==e?[]:o.b.call(e),t.domain=function(e){if(!arguments.length)return u.slice();u=[],n=Object(a.a)();for(var r,o,i=-1,c=e.length;++i<c;)n.has(o=(r=e[i])+"")||n.set(o,u.push(r));return t},t.range=function(n){return arguments.length?(e=o.b.call(n),t):e.slice()},t.unknown=function(e){return arguments.length?(c=e,t):c},t.copy=function(){return r().domain(u).range(e).unknown(c)},t}n.d(t,"b",function(){return i}),t.a=r;var a=n(334),o=n(21),i={name:"implicit"}},function(e,t,n){"use strict";t.a=function(e){return+e}},function(e,t,n){"use strict";var r=n(342);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var a=(n(162),n(163));n.d(t,"c",function(){return a.a});var o=n(349);n.d(t,"d",function(){return o.a});var i=n(350);n.d(t,"e",function(){return i.a});var u=n(351);n.d(t,"f",function(){return u.a})},function(e,t,n){"use strict";var r=n(61),a=n(343),o=n(344),i=n(163),u=n(345),c=n(346),l=n(164),s=n(348),f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];t.a=function(e){function t(e){function t(e){var t,o,i,c=w,d=_;if("c"===O)d=j(e)+d,e="";else{e=+e;var b=e<0;if(e=j(Math.abs(e),v),x&&(e=Object(u.a)(e)),b&&0==+e&&(b=!1),c=(b?"("===a?a:"-":"-"===a||"("===a?"":a)+c,d=("s"===O?f[8+l.b/3]:"")+d+(b&&"("===a?")":""),P)for(t=-1,o=e.length;++t<o;)if(48>(i=e.charCodeAt(t))||i>57){d=(46===i?h+e.slice(t+1):e.slice(t))+d,e=e.slice(0,t);break}}g&&!s&&(e=p(e,1/0));var C=c.length+e.length+d.length,M=C<m?new Array(m-C+1).join(n):"";switch(g&&s&&(e=p(M+e,M.length?m-d.length:1/0),M=""),r){case"<":e=c+e+d+M;break;case"=":e=c+M+e+d;break;case"^":e=M.slice(0,C=M.length>>1)+c+e+d+M.slice(C);break;default:e=M+c+e+d}return y(e)}e=Object(i.a)(e);var n=e.fill,r=e.align,a=e.sign,o=e.symbol,s=e.zero,m=e.width,g=e.comma,v=e.precision,x=e.trim,O=e.type;"n"===O?(g=!0,O="g"):c.a[O]||(null==v&&(v=12),x=!0,O="g"),(s||"0"===n&&"="===r)&&(s=!0,n="0",r="=");var w="$"===o?d[0]:"#"===o&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",_="$"===o?d[1]:/[%p]/.test(O)?b:"",j=c.a[O],P=/[defgprs%]/.test(O);return v=null==v?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),t.toString=function(){return e+""},t}function n(e,n){var a=t((e=Object(i.a)(e),e.type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-o),c=f[8+o/3];return function(e){return a(u*e)+c}}var p=e.grouping&&e.thousands?Object(a.a)(e.grouping,e.thousands):s.a,d=e.currency,h=e.decimal,y=e.numerals?Object(o.a)(e.numerals):s.a,b=e.percent||"%";return{format:t,formatPrefix:n}}},function(e,t,n){"use strict";function r(e){return new a(e)}function a(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}t.a=r;var 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.trim?"~":"")+this.type}},function(e,t,n){"use strict";n.d(t,"b",function(){return r});var r,a=n(96);t.a=function(e,t){var n=Object(a.a)(e,t);if(!n)return e+"";var o=n[0],i=n[1],u=i-(r=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=o.length;return u===c?o:u>c?o+new Array(u-c+1).join("0"):u>0?o.slice(0,u)+"."+o.slice(u):"0."+new Array(1-u).join("0")+Object(a.a)(e,Math.max(0,t+u-1))[0]}},function(e,t,n){"use strict";t.a=function(e,t){e=e.slice();var n,r=0,a=e.length-1,o=e[r],i=e[a];return i<o&&(n=r,r=a,a=n,n=o,o=i,i=n),e[r]=t.floor(o),e[a]=t.ceil(i),e}},function(e,t,n){"use strict";function r(e){return new Date(e)}function a(e){return e instanceof Date?+e:+new Date(+e)}function o(e,t,n,c,l,x,O,w,_){function j(r){return(O(r)<r?k:x(r)<r?E:l(r)<r?T:c(r)<r?S:t(r)<r?n(r)<r?D:N:e(r)<r?L:R)(r)}function P(t,n,r,a){if(null==t&&(t=10),"number"==typeof t){var o=Math.abs(r-n)/t,u=Object(i.c)(function(e){return e[2]}).right(z,o);u===z.length?(a=Object(i.i)(n/v,r/v,t),t=e):u?(u=z[o/z[u-1][2]<z[u][2]/o?u-1:u],a=u[1],t=u[0]):(a=Math.max(Object(i.i)(n,r,t),1),t=w)}return null==a?t:t.every(a)}var C=Object(f.b)(f.c,u.c),M=C.invert,A=C.domain,k=_(".%L"),E=_(":%S"),T=_("%I:%M"),S=_("%I %p"),D=_("%a %d"),N=_("%b %d"),L=_("%B"),R=_("%Y"),z=[[O,1,d],[O,5,5*d],[O,15,15*d],[O,30,30*d],[x,1,h],[x,5,5*h],[x,15,15*h],[x,30,30*h],[l,1,y],[l,3,3*y],[l,6,6*y],[l,12,12*y],[c,1,b],[c,2,2*b],[n,1,m],[t,1,g],[t,3,3*g],[e,1,v]];return C.invert=function(e){return new Date(M(e))},C.domain=function(e){return arguments.length?A(s.a.call(e,a)):A().map(r)},C.ticks=function(e,t){var n,r=A(),a=r[0],o=r[r.length-1],i=o<a;return i&&(n=a,a=o,o=n),n=P(e,a,o,t),n=n?n.range(a,o+1):[],i?n.reverse():n},C.tickFormat=function(e,t){return null==t?j:_(t)},C.nice=function(e,t){var n=A();return(e=P(e,n[0],n[n.length-1],t))?A(Object(p.a)(n,e)):C},C.copy=function(){return Object(f.a)(C,o(e,t,n,c,l,x,O,w,_))},C}t.a=o;var i=n(14),u=n(25),c=n(97),l=n(167),s=n(21),f=n(60),p=n(165),d=1e3,h=60*d,y=60*h,b=24*y,m=7*b,g=30*b,v=365*b;t.b=function(){return o(c.k,c.f,c.j,c.a,c.b,c.d,c.g,c.c,l.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(e,t,n){"use strict";var r=n(98);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});n(168),n(169),n(371)},function(e,t,n){"use strict";function r(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function a(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function i(e){function t(e,t){return function(n){var r,a,o,i=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(i.push(e.slice(c,u)),null!=(a=he[r=e.charAt(++u)])?r=e.charAt(++u):a="e"===r?" ":"0",(o=t[r])&&(r=o(n,a)),i.push(r),c=u+1);return i.push(e.slice(c,u)),i.join("")}}function n(e,t){return function(n){var r,u,c=o(1900),l=i(c,e,n+="",0);if(l!=n.length)return null;if("Q"in c)return new Date(c.Q);if("p"in c&&(c.H=c.H%12+12*c.p),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(r=a(o(c.y)),u=r.getUTCDay(),r=u>4||0===u?de.p.ceil(r):Object(de.p)(r),r=de.l.offset(r,7*(c.V-1)),c.y=r.getUTCFullYear(),c.m=r.getUTCMonth(),c.d=r.getUTCDate()+(c.w+6)%7):(r=t(o(c.y)),u=r.getDay(),r=u>4||0===u?de.e.ceil(r):Object(de.e)(r),r=de.a.offset(r,7*(c.V-1)),c.y=r.getFullYear(),c.m=r.getMonth(),c.d=r.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),u="Z"in c?a(o(c.y)).getUTCDay():t(o(c.y)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(u+5)%7:c.w+7*c.U-(u+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,a(c)):t(c)}}function i(e,t,n,r){for(var a,o,i=0,u=t.length,c=n.length;i<u;){if(r>=c)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(o=Je[a in he?t.charAt(i++):a])||(r=o(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}function u(e,t,n){var r=Ve.exec(t.slice(n));return r?(e.p=Be[r[0].toLowerCase()],n+r[0].length):-1}function c(e,t,n){var r=qe.exec(t.slice(n));return r?(e.w=Ue[r[0].toLowerCase()],n+r[0].length):-1}function ye(e,t,n){var r=Fe.exec(t.slice(n));return r?(e.w=We[r[0].toLowerCase()],n+r[0].length):-1}function be(e,t,n){var r=Ye.exec(t.slice(n));return r?(e.m=Ke[r[0].toLowerCase()],n+r[0].length):-1}function me(e,t,n){var r=He.exec(t.slice(n));return r?(e.m=Ge[r[0].toLowerCase()],n+r[0].length):-1}function ge(e,t,n){return i(e,Te,t,n)}function ve(e,t,n){return i(e,Se,t,n)}function xe(e,t,n){return i(e,De,t,n)}function Oe(e){return Re[e.getDay()]}function we(e){return Le[e.getDay()]}function _e(e){return Ie[e.getMonth()]}function je(e){return ze[e.getMonth()]}function Pe(e){return Ne[+(e.getHours()>=12)]}function Ce(e){return Re[e.getUTCDay()]}function Me(e){return Le[e.getUTCDay()]}function Ae(e){return Ie[e.getUTCMonth()]}function ke(e){return ze[e.getUTCMonth()]}function Ee(e){return Ne[+(e.getUTCHours()>=12)]}var Te=e.dateTime,Se=e.date,De=e.time,Ne=e.periods,Le=e.days,Re=e.shortDays,ze=e.months,Ie=e.shortMonths,Ve=l(Ne),Be=s(Ne),Fe=l(Le),We=s(Le),qe=l(Re),Ue=s(Re),He=l(ze),Ge=s(ze),Ye=l(Ie),Ke=s(Ie),Xe={a:Oe,A:we,b:_e,B:je,c:null,d:E,e:E,f:L,H:T,I:S,j:D,L:N,m:R,M:z,p:Pe,Q:fe,s:pe,S:I,u:V,U:B,V:F,w:W,W:q,x:null,X:null,y:U,Y:H,Z:G,"%":se},Ze={a:Ce,A:Me,b:Ae,B:ke,c:null,d:Y,e:Y,f:$,H:K,I:X,j:Z,L:J,m:Q,M:ee,p:Ee,Q:fe,s:pe,S:te,u:ne,U:re,V:ae,w:oe,W:ie,x:null,X:null,y:ue,Y:ce,Z:le,"%":se},Je={a:c,A:ye,b:be,B:me,c:ge,d:x,e:x,f:C,H:w,I:w,j:O,L:P,m:v,M:_,p:u,Q:A,s:k,S:j,u:p,U:d,V:h,w:f,W:y,x:ve,X:xe,y:m,Y:b,Z:g,"%":M};return Xe.x=t(Se,Xe),Xe.X=t(De,Xe),Xe.c=t(Te,Xe),Ze.x=t(Se,Ze),Ze.X=t(De,Ze),Ze.c=t(Te,Ze),{format:function(e){var n=t(e+="",Xe);return n.toString=function(){return e},n},parse:function(e){var t=n(e+="",r);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",Ze);return n.toString=function(){return e},n},utcParse:function(e){var t=n(e,a);return t.toString=function(){return e},t}}}function u(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o<n?new Array(n-o+1).join(t)+a:a)}function c(e){return e.replace(me,"\\$&")}function l(e){return new RegExp("^(?:"+e.map(c).join("|")+")","i")}function s(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function f(e,t,n){var r=ye.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function p(e,t,n){var r=ye.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function d(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function h(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function y(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function b(e,t,n){var r=ye.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function m(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function g(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function v(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function x(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function O(e,t,n){var r=ye.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function _(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function j(e,t,n){var r=ye.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function P(e,t,n){var r=ye.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function C(e,t,n){var r=ye.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function M(e,t,n){var r=be.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function A(e,t,n){var r=ye.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function k(e,t,n){var r=ye.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function E(e,t){return u(e.getDate(),t,2)}function T(e,t){return u(e.getHours(),t,2)}function S(e,t){return u(e.getHours()%12||12,t,2)}function D(e,t){return u(1+de.a.count(Object(de.k)(e),e),t,3)}function N(e,t){return u(e.getMilliseconds(),t,3)}function L(e,t){return N(e,t)+"000"}function R(e,t){return u(e.getMonth()+1,t,2)}function z(e,t){return u(e.getMinutes(),t,2)}function I(e,t){return u(e.getSeconds(),t,2)}function V(e){var t=e.getDay();return 0===t?7:t}function B(e,t){return u(de.h.count(Object(de.k)(e),e),t,2)}function F(e,t){var n=e.getDay();return e=n>=4||0===n?Object(de.i)(e):de.i.ceil(e),u(de.i.count(Object(de.k)(e),e)+(4===Object(de.k)(e).getDay()),t,2)}function W(e){return e.getDay()}function q(e,t){return u(de.e.count(Object(de.k)(e),e),t,2)}function U(e,t){return u(e.getFullYear()%100,t,2)}function H(e,t){return u(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+u(t/60|0,"0",2)+u(t%60,"0",2)}function Y(e,t){return u(e.getUTCDate(),t,2)}function K(e,t){return u(e.getUTCHours(),t,2)}function X(e,t){return u(e.getUTCHours()%12||12,t,2)}function Z(e,t){return u(1+de.l.count(Object(de.v)(e),e),t,3)}function J(e,t){return u(e.getUTCMilliseconds(),t,3)}function $(e,t){return J(e,t)+"000"}function Q(e,t){return u(e.getUTCMonth()+1,t,2)}function ee(e,t){return u(e.getUTCMinutes(),t,2)}function te(e,t){return u(e.getUTCSeconds(),t,2)}function ne(e){var t=e.getUTCDay();return 0===t?7:t}function re(e,t){return u(de.s.count(Object(de.v)(e),e),t,2)}function ae(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Object(de.t)(e):de.t.ceil(e),u(de.t.count(Object(de.v)(e),e)+(4===Object(de.v)(e).getUTCDay()),t,2)}function oe(e){return e.getUTCDay()}function ie(e,t){return u(de.p.count(Object(de.v)(e),e),t,2)}function ue(e,t){return u(e.getUTCFullYear()%100,t,2)}function ce(e,t){return u(e.getUTCFullYear()%1e4,t,4)}function le(){return"+0000"}function se(){return"%"}function fe(e){return+e}function pe(e){return Math.floor(+e/1e3)}t.a=i;var de=n(97),he={"-":"",_:" ",0:"0"},ye=/^\s*\d+/,be=/^%/,me=/[\\^$*+?|[\]().{}]/g},function(e,t,n){"use strict";function r(e){return e.toISOString()}n.d(t,"a",function(){return o});var a=n(98),o="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(a.b)(o)},function(e,t,n){"use strict";t.a={IMMUTABLE_ITERABLE:"@@__IMMUTABLE_ITERABLE__@@",IMMUTABLE_RECORD:"@@__IMMUTABLE_RECORD__@@",IMMUTABLE_LIST:"@@__IMMUTABLE_LIST__@@",IMMUTABLE_MAP:"@@__IMMUTABLE_MAP__@@",isImmutable:function(e){return this.isIterable(e)||this.isRecord(e)},isIterable:function(e){return!(!e||!e[this.IMMUTABLE_ITERABLE])},isRecord:function(e){return!(!e||!e[this.IMMUTABLE_RECORD])},isList:function(e){return!(!e||!e[this.IMMUTABLE_LIST])},isMap:function(e){return!(!e||!e[this.IMMUTABLE_MAP])},shallowToJS:function(e,t){var n=this;return this.isIterable(e)?e.reduce(function(e,r,a){return t&&t[a]&&(r=n.shallowToJS(r)),e[a]=r,e},this.isList(e)?[]:{}):e}}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){if(e.orientation){return{top:"x",bottom:"x",left:"y",right:"y"}[e.orientation]}return e.dependentAxis?"y":"x"}function c(e,t){var n="x"===e?"y":"x";return t?n:e}function l(e,t){t=t||H.a;var n=function(e){return e.reduce(function(e,r){return r.type&&"axis"===r.type.role&&t(r)?e.concat(r):r.props&&r.props.children?e.concat(n(Y.a.Children.toArray(r.props.children))):e},[])};return n(e)}function s(e,t){return l(e,function(e){return e.type.getAxis(e.props)===t})[0]}function f(e,t){var n=function(e){return"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis},r=function(e){return e.reduce(function(e,t){if(t.type&&"axis"===t.type.role&&n(t))return e.concat(t);if(t.props&&t.props.children){return r(Y.a.Children.toArray(t.props.children)).length>0?e.concat(t):e}return e},[])};return r(e)}function p(e){var t=function(e){var t=Math.min.apply(Math,r(e)),n=Math.max.apply(Math,r(e));return n<0?n:Math.max(0,t)};return{x:K.a.containsDates(e.x)?new Date(Math.min.apply(Math,r(e.x))):t(e.x),y:K.a.containsDates(e.y)?new Date(Math.min.apply(Math,r(e.y))):t(e.y)}}function d(e,t){return K.a.containsDates(t)?"positive":function(){return e<=0&&Math.max.apply(Math,r(t))<=0?"negative":"positive"}()}function h(e,t,n){if(e&&e.props&&e.props.orientation)return e.props.orientation;var r=n||"positive",a={positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}},o={positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}};if(!e)return a[r][t];var i=e.props.dependentAxis;return!i&&"y"===t||i&&"x"===t?o[r][t]:a[r][t]}function y(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function b(e){return void 0!==e.tickValues&&K.a.containsStrings(e.tickValues)}function m(e){var t=e.tickValues,n=u(e),a=c(n,e.horizontal),o=e.stringMap&&e.stringMap[a],i=t&&!K.a.containsDates(t)?function(e){return e}:void 0;if(o){var l=o&&V()(o),s=D()(T()(o),function(e){return e}),f=s.map(function(e){return l[e]}),p=[""].concat(r(f),[""]);return function(e){return p[e]}}return b(e)?function(e,n){return t[n]}:i}function g(e,t){var n=e.tickFormat,r=u(e),a=c(r,e.horizontal),o=e.stringMap&&e.stringMap[a];if(n){if(n&&Array.isArray(n))return function(e,t){return n[t]};if(n&&q()(n)){var i=function(t,n,r){var a=V()(o),i=r.map(function(e){return a[e]});return e.tickFormat(a[t],n,i)};return o?i:n}return function(e){return e}}var l=m(e),s=t.tickFormat&&q()(t.tickFormat)?t.tickFormat():function(e){return e};return l||s}function v(e){var t=u(e),n=c(t,e.horizontal),r=e.stringMap&&e.stringMap[n],a=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[t],o=a&&K.a.containsOnlyStrings(a)?a.map(function(e){return r[e]}):void 0,i=r&&T()(r);return o&&0!==o.length?o:i}function x(e){var t=e.tickValues,n=e.tickFormat,a=u(e),o=c(a,e.horizontal),i=e.stringMap&&e.stringMap[o],l=t;i&&(l=v(e)),t&&K.a.containsStrings(t)&&(l=i?t.map(function(e){return i[e]}):L()(1,t.length+1));var s=l?z()(l):function(){if(n&&Array.isArray(n))return K.a.containsStrings(n)?n.map(function(e,t){return t}):n}();return Array.isArray(s)&&s.length?function(t){var n=e.domain&&e.domain[a]||e.domain;return Array.isArray(n)?t.filter(function(e){return e>=Math.min.apply(Math,r(n))&&e<=Math.max.apply(Math,r(n))}):t}(s):void 0}function O(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter(function(e,t){return t%n==0})}function w(e,t,n){var r=e.tickCount,a=x(e);if(a)return O(a,r);if(t.ticks&&q()(t.ticks)){var o=r||5,i=t.ticks(o),u=Array.isArray(i)&&i.length?i:t.domain(),c=O(u,r);if(n){var l=k()(c,0)?M()(c,0):c;return l.length?l:c}return c}return t.domain()}function _(e,t){var n=e.polar,r=e.startAngle,a=void 0===r?0:r,o=e.endAngle,i=void 0===o?360:o,u=x(e);if(Array.isArray(u)){var c=X.a.getMinFromProps(e,t),l=X.a.getMaxFromProps(e,t),s=b(e),f=u.map(function(e){return+e}),p=s?1:K.a.getMinValue(f),d=s?u.length:K.a.getMaxValue(f),h=void 0!==c?c:p,m=void 0!==l?l:d,g=X.a.getDomainFromMinMax(h,m),v=n&&"x"===t&&360===Math.abs(a-i)?X.a.getSymmetricDomain(g,f):g;return y(e)&&!n&&v.reverse(),v}}function j(e,t){var n=u(e);if(!t||t===n)return X.a.createDomainFunction(_)(e,n)}function P(e,t){if(e.axisValue){var n="x"===t?"y":"x",r=F()(e.scale)&&q()(e.scale[n])?e.scale[n]:void 0;if(r){var a="x"===c(t,e.horizontal)?"y":"x",o=F()(e.stringMap)&&e.stringMap[a];return r(o&&"string"==typeof e.axisValue?o[e.axisValue]:e.axisValue)}}}var C=n(59),M=n.n(C),A=n(18),k=n.n(A),E=n(100),T=n.n(E),S=n(30),D=n.n(S),N=n(58),L=n.n(N),R=n(35),z=n.n(R),I=n(392),V=n.n(I),B=n(11),F=n.n(B),W=n(5),q=n.n(W),U=n(20),H=n.n(U),G=n(0),Y=n.n(G),K=n(17),X=n(99);t.a={getTicks:w,getTickFormat:g,getAxis:u,getAxisComponent:s,getAxisComponentsWithParent:f,getOrientation:h,getCurrentAxis:c,findAxisComponents:l,getOrigin:p,getOriginSign:d,getDomain:j,isVertical:y,stringTicks:b,getAxisValue:P}},function(e,t,n){"use strict";var r=n(402);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";var r=n(404);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return x});var s=n(5),f=n.n(s),p=n(4),d=n.n(p),h=n(0),y=n.n(h),b=n(2),m=n.n(b),g=n(1),v=n(40),x=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getPath",value:function(e){var t=e.datum,n=e.active,r=e.slice;if(f()(e.pathFunction))return e.pathFunction(r);var a=g.m.evaluateProp(e.cornerRadius,t,n),o=g.m.evaluateProp(e.innerRadius,t,n),i=g.m.evaluateProp(e.radius,t,n),u=g.m.degreesToRadians(g.m.evaluateProp(e.padAngle,t,n)),c=g.m.degreesToRadians(g.m.evaluateProp(e.sliceStartAngle,t,n)),l=g.m.degreesToRadians(g.m.evaluateProp(e.sliceEndAngle,t,n));return v.arc().cornerRadius(a).outerRadius(i).innerRadius(o)(d()({startAngle:c,endAngle:l,padAngle:u},r))}},{key:"render",value:function(){var e=this.props,t=e.datum,n=e.active,r=e.role,a=e.shapeRendering,o=e.className,i=e.origin,u=e.events,c=e.pathComponent,l=e.style,s=e.clipPath,f=i?"translate(".concat(i.x,", ").concat(i.y,")"):void 0,p=this.props.transform||f;return y.a.cloneElement(c,{className:o,role:r,shapeRendering:a,events:u,transform:p,clipPath:s,style:g.m.evaluateStyle(l,t,n),d:this.getPath(this.props)})}}]),t}(y.a.Component);Object.defineProperty(x,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.primitiveProps,{cornerRadius:m.a.oneOfType([m.a.number,m.a.func]),datum:m.a.object,innerRadius:m.a.oneOfType([m.a.number,m.a.func]),padAngle:m.a.oneOfType([m.a.number,m.a.func]),pathComponent:m.a.element,pathFunction:m.a.func,radius:m.a.oneOfType([m.a.number,m.a.func]),slice:m.a.object,sliceEndAngle:m.a.oneOfType([m.a.number,m.a.func]),sliceStartAngle:m.a.oneOfType([m.a.number,m.a.func])})}),Object.defineProperty(x,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:y.a.createElement(g.r,null)}})},function(e,t,n){"use strict";var r=n(41),a=n(22),o=n(63),i=n(102),u=n(103);t.a=function(){function e(e){var t,a,o,i,u,y=e.length,b=!1,m=new Array(y),g=new Array(y);for(null==p&&(h=d(u=Object(r.a)())),t=0;t<=y;++t){if(!(t<y&&f(i=e[t],t,e))===b)if(b=!b)a=t,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),o=t-1;o>=a;--o)h.point(m[o],g[o]);h.lineEnd(),h.areaEnd()}b&&(m[t]=+n(i,t,e),g[t]=+l(i,t,e),h.point(c?+c(i,t,e):m[t],s?+s(i,t,e):g[t]))}if(u)return h=null,u+""||null}function t(){return Object(i.a)().defined(f).curve(d).context(p)}var n=u.a,c=null,l=Object(a.a)(0),s=u.b,f=Object(a.a)(!0),p=null,d=o.a,h=null;return e.x=function(t){return arguments.length?(n="function"==typeof t?t:Object(a.a)(+t),c=null,e):n},e.x0=function(t){return arguments.length?(n="function"==typeof t?t:Object(a.a)(+t),e):n},e.x1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:Object(a.a)(+t),e):c},e.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(a.a)(+t),s=null,e):l},e.y0=function(t){return arguments.length?(l="function"==typeof t?t:Object(a.a)(+t),e):l},e.y1=function(t){return arguments.length?(s=null==t?null:"function"==typeof t?t:Object(a.a)(+t),e):s},e.lineX0=e.lineY0=function(){return t().x(n).y(l)},e.lineY1=function(){return t().x(n).y(s)},e.lineX1=function(){return t().x(c).y(l)},e.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(a.a)(!!t),e):f},e.curve=function(t){return arguments.length?(d=t,null!=p&&(h=d(p)),e):d},e.context=function(t){return arguments.length?(null==t?p=h=null:h=d(p=t),e):p},e}},function(e,t,n){"use strict";function r(e){this._curve=e}function a(e){function t(t){return new r(e(t))}return t._curve=e,t}n.d(t,"a",function(){return i}),t.b=a;var o=n(63),i=a(o.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(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";function r(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(Object(a.b)(e)):t()._curve},e}t.b=r;var a=n(176),o=n(102);t.a=function(){return r(Object(o.a)().curve(a.a))}},function(e,t,n){"use strict";t.a=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.prototype.slice},function(e,t,n){"use strict";var r=n(42);t.a={draw:function(e,t){var n=Math.sqrt(t/r.j);e.moveTo(n,0),e.arc(0,0,n,0,r.m)}}},function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";var r=Math.sqrt(1/3),a=2*r;t.a={draw:function(e,t){var n=Math.sqrt(t/a),o=n*r;e.moveTo(0,-n),e.lineTo(o,0),e.lineTo(0,n),e.lineTo(-o,0),e.closePath()}}},function(e,t,n){"use strict";var r=n(42),a=Math.sin(r.j/10)/Math.sin(7*r.j/10),o=Math.sin(r.m/10)*a,i=-Math.cos(r.m/10)*a;t.a={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),a=o*n,u=i*n;e.moveTo(0,-n),e.lineTo(a,u);for(var c=1;c<5;++c){var l=r.m*c/5,s=Math.cos(l),f=Math.sin(l);e.lineTo(f*n,-s*n),e.lineTo(s*a-f*u,f*a+s*u)}e.closePath()}}},function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";var r=Math.sqrt(3);t.a={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";var r=-.5,a=Math.sqrt(3)/2,o=1/Math.sqrt(12),i=3*(o/2+1);t.a={draw:function(e,t){var n=Math.sqrt(t/i),u=n/2,c=n*o,l=u,s=n*o+n,f=-l,p=s;e.moveTo(u,c),e.lineTo(l,s),e.lineTo(f,p),e.lineTo(r*u-a*c,a*u+r*c),e.lineTo(r*l-a*s,a*l+r*s),e.lineTo(r*f-a*p,a*f+r*p),e.lineTo(r*u+a*c,r*c-a*u),e.lineTo(r*l+a*s,r*s-a*l),e.lineTo(r*f+a*p,r*p-a*f),e.closePath()}}},function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}t.a=r;var a=n(64),o=n(66);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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Object(o.c)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.b=function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}t.a=r;var a=n(66);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(e,t){switch(e=+e,t=+t,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,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.b=function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return _});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(40),m=n(1),g=function(e){var t=void 0!==e._y1?e._y1:e._y;return null!==t&&void 0!==t&&null!==e._y0},v=function(e){return function(t){return e.x(void 0!==t._x1?t._x1:t._x)}},x=function(e){return function(t){return e.y(void 0!==t._y1?t._y1:t._y)}},O=function(e){return function(t){return e.y(t._y0)}},w=function(e){return function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}},_=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getLineFunction",value:function(e){var t=e.polar,n=e.scale,r=this.toNewName(e.interpolation);return t?b.lineRadial().defined(g).curve(b["".concat(r,"Closed")]).angle(w(n)).radius(O(n)):b.line().defined(g).curve(b[r]).x(v(n)).y(x(n))}},{key:"getAreaFunction",value:function(e){var t=e.polar,n=e.scale,r=this.toNewName(e.interpolation);return t?b.radialArea().defined(g).curve(b["".concat(r,"Closed")]).angle(w(n)).outerRadius(x(n)).innerRadius(O(n)):b.area().defined(g).curve(b[r]).x(v(n)).y1(x(n)).y0(O(n))}},{key:"toNewName",value:function(e){return"curve".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.shapeRendering,r=e.className,a=e.polar,o=e.origin,i=e.data,u=e.active,c=e.pathComponent,l=e.events,s=e.groupComponent,p=e.clipPath,h=e.id,y=m.m.evaluateStyle(f()({fill:"black"},this.props.style),i,u),b=a&&o?"translate(".concat(o.x,", ").concat(o.y,")"):void 0,g=this.props.transform||b,v=y.stroke&&"none"!==y.stroke&&"transparent"!==y.stroke,x=this.getAreaFunction(this.props),O=v&&this.getLineFunction(this.props),w=y.stroke?"none":y.fill,_={className:r,role:t,shapeRendering:n,transform:g,events:l,clipPath:p},j=d.a.cloneElement(c,f()({key:"".concat(h,"-area"),style:f()({},y,{stroke:w}),d:x(i)},_)),P=v?d.a.cloneElement(c,f()({key:"".concat(h,"-area-stroke"),style:f()({},y,{fill:"none"}),d:O(i)},_)):null;return v?d.a.cloneElement(s,{},[j,P]):j}}]),t}(d.a.Component);Object.defineProperty(_,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.h.primitiveProps,{groupComponent:y.a.element,interpolation:y.a.string,pathComponent:y.a.element})}),Object.defineProperty(_,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null),pathComponent:d.a.createElement(m.r,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return j});var s=n(9),f=n.n(s),p=n(5),d=n.n(p),h=n(24),y=n.n(h),b=n(3),m=n.n(b),g=n(0),v=n.n(g),x=n(2),O=n.n(x),w=n(1),_=n(191),j=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getBarPath",value:function(e,t,n){return e.getPath?Object(_.a)(e,t):e.horizontal?Object(_.b)(e,t,n):Object(_.c)(e,t,n)}},{key:"getPolarBarPath",value:function(e,t){return Object(_.d)(e,t)}},{key:"getBarWidth",value:function(e,t){var n=e.active,r=e.scale,a=e.data,o=e.datum,i=e.barWidth,u=e.defaultBarWidth;if(i)return d()(i)?w.m.evaluateProp(i,o,n):i;if(t.width)return t.width;var c=r.x.range(),l=Math.abs(c[1]-c[0]),s=a.length+2,f=e.barRatio||.5,p=f*(a.length<2?u:l/s);return Math.max(1,p)}},{key:"getCornerRadiusFromObject",value:function(e){var t=e.cornerRadius,n=e.datum,r=e.active,a={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0},o=function(e,o){f()(t[e])?f()(t[o])||(a[e]=w.m.evaluateProp(t[o],n,r)):a[e]=w.m.evaluateProp(t[e],n,r)};return o("topLeft","top"),o("topRight","top"),o("bottomLeft","bottom"),o("bottomRight","bottom"),a}},{key:"getCornerRadius",value:function(e){var t=e.cornerRadius,n=e.datum,r=e.active,a={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0};return t?y()(t)?this.getCornerRadiusFromObject(e):(a.topLeft=w.m.evaluateProp(t,n,r),a.topRight=w.m.evaluateProp(t,n,r),a):a}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.datum,r=e.active,a=e.shapeRendering,o=e.className,i=e.origin,u=e.polar,c=e.pathComponent,l=e.events,s=e.clipPath,f=this.props.style&&this.props.style.fill||"black",p={fill:"black",stroke:f},d=w.m.evaluateStyle(m()(p,this.props.style),n,r),h=this.getBarWidth(this.props,d),y=this.getCornerRadius(this.props),b=u?this.getPolarBarPath(this.props,y):this.getBarPath(this.props,h,y),g=u&&i?"translate(".concat(i.x,", ").concat(i.y,")"):void 0,x=this.props.transform||g;return v.a.cloneElement(c,{d:b,transform:x,className:o,style:d,role:t,shapeRendering:a,events:l,clipPath:s})}}]),t}(v.a.Component);Object.defineProperty(j,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},w.h.primitiveProps,{alignment:O.a.oneOf(["start","middle","end"]),barRatio:O.a.number,barWidth:O.a.oneOfType([O.a.number,O.a.func]),cornerRadius:O.a.oneOfType([O.a.number,O.a.func,O.a.shape({top:O.a.oneOfType([O.a.number,O.a.func]),topLeft:O.a.oneOfType([O.a.number,O.a.func]),topRight:O.a.oneOfType([O.a.number,O.a.func]),bottom:O.a.oneOfType([O.a.number,O.a.func]),bottomLeft:O.a.oneOfType([O.a.number,O.a.func]),bottomRight:O.a.oneOfType([O.a.number,O.a.func])})]),datum:O.a.object,getPath:O.a.func,horizontal:O.a.bool,pathComponent:O.a.element,width:O.a.number,x:O.a.number,y:O.a.number,y0:O.a.number})}),Object.defineProperty(j,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:v.a.createElement(w.r,null),defaultBarWidth:8}})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return b}),n.d(t,"c",function(){return O}),n.d(t,"b",function(){return _}),n.d(t,"d",function(){return j});var l=n(1),s=n(40),f=n(448),p=function(e,t){var n=e.x,r=e.y,a=e.y0,o=e.horizontal,i=e.alignment||"middle",u="middle"===i?t/2:t,c=o?-1:1;return{x0:"start"===i?n:n-c*u,x1:"end"===i?n:n+c*u,y0:a,y1:r}},d=function(e,t){var n=e.data,r=e.scale,a=void 0===n[t]._x1?"_x":"_x1";return r.x(n[t][a])},h=function(e,t){var n=e.scale,r=n.y.range(),a=Math.max.apply(Math,o(r)),i=Math.abs(n.x.range()[1]-n.x.range()[0]);return t/(2*Math.PI*a)*i},y=function(e){return-1*e+Math.PI/2},b=function(e,t){return(0,e.getPath)(r({},e,p(e,t)))},m=function(e,t){var n=e.data,r=e.scale,a=e.alignment,o=d(e,t),i=Math.abs(r.x.range()[1]-r.x.range()[0]),u=0===t?d(e,n.length-1)-2*Math.PI:d(e,t-1);return 0===t&&i<2*Math.PI?r.x.range()[0]:"start"===a||"end"===a?"start"===a?u:o:(o+u)/2},g=function(e,t){var n=e.data,r=e.scale,a=e.alignment,o=d(e,t),i=Math.abs(r.x.range()[1]-r.x.range()[0]),u=r.x.range()[1]===2*Math.PI?d(e,0)+2*Math.PI:r.x.range()[1],c=t===n.length-1?d(e,0)+2*Math.PI:d(e,t+1);return t===n.length-1&&i<2*Math.PI?u:"start"===a||"end"===a?"start"===a?o:c:(o+c)/2},v=function(e,t,n){var r="".concat(t.topLeft," ").concat(t.topLeft," ").concat(n),a="".concat(t.topRight," ").concat(t.topRight," ").concat(n),o="".concat(t.bottomLeft," ").concat(t.bottomLeft," ").concat(n),i="".concat(t.bottomRight," ").concat(t.bottomRight," ").concat(n);return"".concat(["M","A ".concat(o,","),"L","A ".concat(r,","),"L","A ".concat(a,","),"L","A ".concat(i,",")].reduce(function(t,n,r){return t+="".concat(n," ").concat(e[r].x,", ").concat(e[r].y," \n")},"")," z")},x=function(e,t,n){var r=e.x0,a=e.x1,o=e.y0,i=e.y1,u=function(e){var u="Left"===e,c=u?1:-1,l=u?r:a,s={x:l+c*n["bottom".concat(e)],y:o},p={x:l,y:o-t*n["bottom".concat(e)]},d={x:l,y:i+t*n["top".concat(e)]},h={x:l+c*n["top".concat(e)],y:i};if(1===t?o-n["bottom".concat(e)]<i+n["top".concat(e)]:o+n["bottom".concat(e)]>i-n["top".concat(e)]){var y=Object(f.b)(l+c*n["top".concat(e)],i+t*n["top".concat(e)]),b=Object(f.a)(y,n["top".concat(e)]),m=Object(f.b)(l+c*n["bottom".concat(e)],o-t*n["bottom".concat(e)]),g=Object(f.a)(m,n["bottom".concat(e)]),v=b.intersection(g);if(v.length>0){var x=v[u?0:1];p={x:x.x,y:x.y},d={x:x.x,y:x.y}}else if(n["top".concat(e)]>n["bottom".concat(e)]){var O=b.solveX(o)[u?0:1];s={x:O,y:o},p={x:O,y:o},d={x:O,y:o}}else{var w=g.solveX(i)[u?0:1];p={x:w,y:i},d={x:w,y:i},h={x:w,y:i}}}var _=[s,p,d,h];return u?_:_.reverse()};return u("Left").concat(u("Right"))},O=function(e,t,n){var r=p(e,t),a=r.y0>r.y1?1:-1,o=a>0?"0 0 1":"0 0 0",i=x(r,a,n);return v(i,n,o)},w=function(e,t,n){var r=e.x0,a=e.x1,o=e.y0,i=e.y1,u=function(e){var u="Left"===e,c=u?1:-1,l=u?a:r,s={y:l+c*n["bottom".concat(e)],x:o},p={y:l,x:o+t*n["bottom".concat(e)]},d={y:l,x:i-t*n["top".concat(e)]},h={y:l+c*n["top".concat(e)],x:i};if(1===t?o+n["bottom".concat(e)]>i-n["top".concat(e)]:o-n["bottom".concat(e)]<i+n["top".concat(e)]){var y=Object(f.b)(i-t*n["top".concat(e)],l+c*n["top".concat(e)]),b=Object(f.a)(y,n["top".concat(e)]),m=Object(f.b)(o+t*n["bottom".concat(e)],l+c*n["bottom".concat(e)]),g=Object(f.a)(m,n["bottom".concat(e)]),v=b.intersection(g);if(v.length>0){var x=v.sort(function(e,t){return e.y-t.y})[u?0:1];p={x:x.x,y:x.y},d={x:x.x,y:x.y}}else if(n["top".concat(e)]>n["bottom".concat(e)]){var O=b.solveY(o)[u?1:0];s={y:O,x:o},p={y:O,x:o},d={y:O,x:o}}else{var w=g.solveY(i)[u?1:0];p={y:w,x:i},d={y:w,x:i},h={y:w,x:i}}}var _=[s,p,d,h];return u?_:_.reverse()};return u("Left").concat(u("Right"))},_=function(e,t,n){var r=p(e,t),a=r.y1>r.y0?1:-1,o=a>0?"0 0 1":"0 0 0",i=w(r,a,n);return v(i,n,o)},j=function(e,t){var n,r,a=e.datum,i=e.scale,u=e.index,c=e.alignment,f=l.m.evaluateStyle(e.style,a,e.active),p=i.y(a._y0||0),d=i.y(void 0!==a._y1?a._y1:a._y),b=i.x(void 0!==a._x1?a._x1:a._x);if(f.width){var v=h(e,f.width),x="middle"===c?v/2:v;n="start"===c?b:b-x,r="end"===c?b:b+x}else n=m(e,u),r=g(e,u);var O=function(e){return s.arc().innerRadius(p).outerRadius(d).startAngle(y(n)).endAngle(y(r)).cornerRadius(t[e])()},w=function(e){var t=O("".concat(e,"Right")),n=t.match(/[A-Z]/g),r=t.split(/[A-Z]/).slice(1),a=n.indexOf("L"),o=O("".concat(e,"Left")),i=o.match(/[A-Z]/g);return{rightMoves:n,rightCoords:r,rightMiddle:a,leftMoves:i,leftCoords:o.split(/[A-Z]/).slice(1),leftMiddle:i.indexOf("L")}},_=function(){var e,a,i=t.topRight,u=t.topLeft,c=d*Math.abs(r-n),l=w("top"),s=l.rightMoves,f=l.rightCoords,p=l.rightMiddle,h=l.leftMoves,y=l.leftCoords,b=l.leftMiddle;if(i===u||c<2*i+2*u)e=i>u?s:h,a=i>u?f:y;else{var m,g=function(e){return e<3},v=u>i&&g(p)?1:2;if(i>u){var x=g(p)?b:b-2;m=g(b)?b-1:x}else{var O=g(b)?1:2;m=g(p)?O:b-2}e=o(s.slice(0,v)).concat(o(h.slice(m))),a=o(f.slice(0,v)).concat(o(y.slice(m)))}var _=e.indexOf("L"),j=e.slice(0,_),P=a.slice(0,_);return j.map(function(e,t){return{command:e,coords:P[t].split(",")}})}(),j=function(){var e,a,i=t.bottomRight,u=t.bottomLeft,c=p*Math.abs(r-n),l=w("bottom"),s=l.rightMoves,f=l.rightCoords,d=l.rightMiddle,h=l.leftMoves,y=l.leftCoords,b=l.leftMiddle;if(i===u||c<2*i+2*u)e=i>u?s:h,a=i>u?f:y;else{var m=function(e,t){return e.length-t<4},g=i>u?m(s,d):m(h,b),v=g?-1:-3;e=o(h.slice(0,b+2)).concat(o(s.slice(v))),a=o(y.slice(0,b+2)).concat(o(f.slice(v)))}var x=e.indexOf("L"),O=e.slice(x,-1),_=a.slice(x,-1);return O.map(function(e,t){return{command:e,coords:_[t].split(",")}})}();return"".concat(o(_).concat(o(j)).reduce(function(e,t){return e+="".concat(t.command," ").concat(t.coords.join())},"")," z")}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return O});var s=n(5),f=n.n(s),p=n(4),d=n.n(p),h=n(3),y=n.n(h),b=n(0),m=n.n(b),g=n(2),v=n.n(g),x=n(1),O=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getCandleWidth",value:function(e,t){var n=e.active,r=e.datum,a=e.data,o=e.candleWidth,i=e.scale,u=e.defaultCandleWidth;if(o)return f()(o)?x.m.evaluateProp(o,r,n):o;if(t.width)return t.width;var c=i.x.range(),l=Math.abs(c[1]-c[0]),s=a.length+2,p=e.candleRatio||.5,d=p*(a.length<2?u:l/s);return Math.max(1,d)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.high,r=e.low,a=e.open,o=e.close,i=e.datum,u=e.active,c=e.events,l=e.groupComponent,s=e.clipPath,f=e.id,p=e.rectComponent,h=e.lineComponent,b=e.role,g=e.shapeRendering,v=e.className,O=e.wickStrokeWidth,w=e.transform,_=x.m.evaluateStyle(y()({stroke:"black"},this.props.style),i,u),j=d()({strokeWidth:O},_),P=this.getCandleWidth(this.props,_),C=Math.abs(o-a),M=t-P/2,A={role:b,shapeRendering:g,className:v,events:c,transform:w,clipPath:s},k=y()({key:"".concat(f,"-candle"),style:_,x:M,y:Math.min(a,o),width:P,height:C},A),E=y()({key:"".concat(f,"-highWick"),style:j,x1:t,x2:t,y1:n,y2:Math.min(a,o)},A),T=y()({key:"".concat(f,"-lowWick"),style:j,x1:t,x2:t,y1:Math.max(a,o),y2:r},A);return m.a.cloneElement(l,{},[m.a.cloneElement(p,k),m.a.cloneElement(h,E),m.a.cloneElement(h,T)])}}]),t}(m.a.Component);Object.defineProperty(O,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.primitiveProps,{candleRatio:v.a.number,candleWidth:v.a.oneOfType([v.a.number,v.a.func]),close:v.a.number,datum:v.a.object,defaultCandleWidth:v.a.number,groupComponent:v.a.element,high:v.a.number,lineComponent:v.a.element,low:v.a.number,open:v.a.number,rectComponent:v.a.element,wickStrokeWidth:v.a.number,width:v.a.number,x:v.a.number})}),Object.defineProperty(O,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{defaultCandleWidth:8,groupComponent:m.a.createElement("g",null),lineComponent:m.a.createElement(x.o,null),rectComponent:m.a.createElement(x.v,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return m});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(1),m=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getStyle",value:function(e){var t=e.style,n=e.datum,r=e.active;return b.m.evaluateStyle(f()({stroke:"black"},t),n,r)}},{key:"renderBorder",value:function(e,t,n){var r=e.x,a=e.y,o=e.borderWidth,i=e.events,u=e.style,c=e.role,l=e.shapeRendering,s=e.className,f=e.lineComponent,p=e.transform,h=e.id,y="right"===n||"left"===n,b={role:c,shapeRendering:l,className:s,events:i,style:u,transform:p,key:"".concat(h,"-border-").concat(n),x1:y?t[n]:r-o,x2:y?t[n]:r+o,y1:y?a-o:t[n],y2:y?a+o:t[n]};return d.a.cloneElement(f,b)}},{key:"renderCross",value:function(e,t,n){var r=e.x,a=e.y,o=e.events,i=e.style,u=e.role,c=e.shapeRendering,l=e.className,s=e.lineComponent,f=e.transform,p=e.id,h="top"===n||"bottom"===n,y={role:u,shapeRendering:c,className:l,events:o,style:i,transform:f,key:"".concat(p,"-cross-").concat(n),x1:r,x2:h?r:t[n],y1:a,y2:h?t[n]:a};return d.a.cloneElement(s,y)}},{key:"calculateError",value:function(e){var t=e.errorX,n=e.errorY,r=e.scale,a=r.x.range(),o=r.y.range(),i=t?t[0]:void 0,u=t?t[1]:void 0,c=n?n[1]:void 0,l=n?n[0]:void 0;return{right:i>=a[1]?a[1]:i,left:u<=a[0]?a[0]:u,top:c>=o[0]?o[0]:c,bottom:l<=o[1]?o[1]:l}}},{key:"render",value:function(){var e=f()({},this.props,{style:this.getStyle(this.props)}),t=this.calculateError(e),n=[t.right?this.renderBorder(e,t,"right"):null,t.left?this.renderBorder(e,t,"left"):null,t.bottom?this.renderBorder(e,t,"bottom"):null,t.top?this.renderBorder(e,t,"top"):null,t.right?this.renderCross(e,t,"right"):null,t.left?this.renderCross(e,t,"left"):null,t.bottom?this.renderCross(e,t,"bottom"):null,t.top?this.renderCross(e,t,"top"):null].filter(Boolean);return d.a.cloneElement(e.groupComponent,{},n)}}]),t}(d.a.Component);Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.primitiveProps,{borderWidth:y.a.number,datum:y.a.object,errorX:y.a.oneOfType([y.a.number,y.a.array,y.a.bool]),errorY:y.a.oneOfType([y.a.number,y.a.array,y.a.bool]),groupComponent:y.a.element,lineComponent:y.a.element,x:y.a.number,y:y.a.number})}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null),lineComponent:d.a.createElement(b.o,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return w});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(40),m=n(1),g=function(e){var t=void 0!==e._y1?e._y1:e._y;return null!==t&&void 0!==t&&null!==e._y0},v=function(e){return function(t){return e.x(void 0!==t._x1?t._x1:t._x)}},x=function(e){return function(t){return e.y(void 0!==t._y1?t._y1:t._y)}},O=function(e){return function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}},w=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getLineFunction",value:function(e){var t=e.polar,n=e.scale,r=!t,a=void 0===e.openCurve?r:e.openCurve,o=a?this.toNewName(e.interpolation):"".concat(this.toNewName(e.interpolation),"Closed");return t?b.lineRadial().defined(g).curve(b[o]).angle(O(n)).radius(x(n)):b.line().defined(g).curve(b[o]).x(v(n)).y(x(n))}},{key:"toNewName",value:function(e){return"curve".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.active,r=e.events,a=e.role,o=e.shapeRendering,i=e.className,u=e.polar,c=e.origin,l=e.pathComponent,s=e.clipPath,p=m.m.evaluateStyle(f()({fill:"none",stroke:"black"},this.props.style),t,n),h=this.getLineFunction(this.props),y=h(t),b=u&&c?"translate(".concat(c.x,", ").concat(c.y,")"):void 0,g=this.props.transform||b;return d.a.cloneElement(l,{className:i,style:p,role:a,shapeRendering:o,transform:g,events:r,d:y,clipPath:s})}}]),t}(d.a.Component);Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.h.primitiveProps,{interpolation:y.a.string,openCurve:y.a.bool,origin:y.a.object,pathComponent:y.a.element,polar:y.a.bool})}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:d.a.createElement(m.r,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(33),f=n.n(s),p=n(11),d=n.n(p),h=n(0),y=n.n(h),b=n(2),m=n.n(b),g=n(1),v=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.clipId=d()(e)&&void 0!==e.clipId?e.clipId:f()("voronoi-clip-"),n}return l(t,e),i(t,[{key:"getVoronoiPath",value:function(e){var t=e.polygon;return Array.isArray(t)&&t.length?"M ".concat(e.polygon.join("L")," Z"):""}},{key:"render",value:function(){var e=this.props,t=e.datum,n=e.active,r=e.role,a=e.shapeRendering,o=e.className,i=e.events,u=e.x,c=e.y,l=e.transform,s=e.pathComponent,f=e.clipPathComponent,p=e.groupComponent,d=e.circleComponent,h=e.id,b=this.getVoronoiPath(this.props),m=g.m.evaluateStyle(this.props.style,t,n),v=g.m.evaluateProp(this.props.size,t,n);if(v){var x=y.a.cloneElement(d,{key:"".concat(h,"-circle-clip"),style:m,className:o,role:r,shapeRendering:a,events:i,clipPath:"url(#".concat(this.clipId,")"),cx:u,cy:c,r:v}),O=y.a.cloneElement(f,{key:"".concat(h,"-voronoi-clip"),clipId:this.clipId},y.a.cloneElement(s,{d:b,className:o}));return y.a.cloneElement(p,{},[O,x])}return y.a.cloneElement(s,{style:m,className:o,d:b,role:r,shapeRendering:a,events:i,transform:l})}}]),t}(y.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},g.h.primitiveProps,{circleComponent:m.a.element,clipId:m.a.oneOfType([m.a.number,m.a.string]),clipPathComponent:m.a.element,datum:m.a.object,groupComponent:m.a.element,pathComponent:m.a.element,polygon:m.a.array,size:m.a.number,x:m.a.number,y:m.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:y.a.createElement(g.r,null),circleComponent:y.a.createElement(g.e,null),clipPathComponent:y.a.createElement(g.f,null),groupComponent:y.a.createElement("g",null)}})},function(e,t,n){"use strict";var r=n(469);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return s.b[e.index]={site:e,halfedges:[]}}function a(e,t){var n=e.site,r=t.left,a=t.right;return n===a&&(a=r,r=n),a?Math.atan2(a[1]-r[1],a[0]-r[0]):(n===r?(r=t[1],a=t[0]):(r=t[0],a=t[1]),Math.atan2(r[0]-a[0],a[1]-r[1]))}function o(e,t){return t[+(t.left!==e.site)]}function i(e,t){return t[+(t.left===e.site)]}function u(){for(var e,t,n,r,o=0,i=s.b.length;o<i;++o)if((e=s.b[o])&&(r=(t=e.halfedges).length)){var u=new Array(r),c=new Array(r);for(n=0;n<r;++n)u[n]=n,c[n]=a(e,s.e[t[n]]);for(u.sort(function(e,t){return c[t]-c[e]}),n=0;n<r;++n)c[n]=t[u[n]];for(n=0;n<r;++n)t[n]=c[n]}}function c(e,t,n,r){var a,u,c,f,p,d,h,y,b,m,g,v,x=s.b.length,O=!0;for(a=0;a<x;++a)if(u=s.b[a]){for(c=u.site,p=u.halfedges,f=p.length;f--;)s.e[p[f]]||p.splice(f,1);for(f=0,d=p.length;f<d;)m=i(u,s.e[p[f]]),g=m[0],v=m[1],h=o(u,s.e[p[++f%d]]),y=h[0],b=h[1],(Math.abs(g-y)>s.f||Math.abs(v-b)>s.f)&&(p.splice(f,0,s.e.push(Object(l.b)(c,m,Math.abs(g-e)<s.f&&r-v>s.f?[e,Math.abs(y-e)<s.f?b:r]:Math.abs(v-r)<s.f&&n-g>s.f?[Math.abs(b-r)<s.f?y:n,r]:Math.abs(g-n)<s.f&&v-t>s.f?[n,Math.abs(y-n)<s.f?b:t]:Math.abs(v-t)<s.f&&g-e>s.f?[Math.abs(b-t)<s.f?y:e,t]:null))-1),++d);d&&(O=!1)}if(O){var w,_,j,P=1/0;for(a=0,O=null;a<x;++a)(u=s.b[a])&&(c=u.site,w=c[0]-e,_=c[1]-t,(j=w*w+_*_)<P&&(P=j,O=u));if(O){var C=[e,t],M=[e,r],A=[n,r],k=[n,t];O.halfedges.push(s.e.push(Object(l.b)(c=O.site,C,M))-1,s.e.push(Object(l.b)(c,M,A))-1,s.e.push(Object(l.b)(c,A,k))-1,s.e.push(Object(l.b)(c,k,C))-1)}}for(a=0;a<x;++a)(u=s.b[a])&&(u.halfedges.length||delete s.b[a])}t.c=r,t.a=o,t.d=u,t.b=c;var l=n(107),s=n(45)},function(e,t,n){"use strict";function r(){Object(u.a)(this),this.x=this.y=this.arc=this.site=this.cy=null}function a(e){var t=e.P,n=e.N;if(t&&n){var a=t.site,o=e.site,u=n.site;if(a!==u){var s=o[0],f=o[1],p=a[0]-s,d=a[1]-f,h=u[0]-s,y=u[1]-f,b=2*(p*y-d*h);if(!(b>=-c.g)){var m=p*p+d*d,g=h*h+y*y,v=(y*m-d*g)/b,x=(p*g-h*m)/b,O=l.pop()||new r;O.arc=e,O.site=o,O.x=v+s,O.y=(O.cy=x+f)+Math.sqrt(v*v+x*x),e.circle=O;for(var w=null,_=c.c._;_;)if(O.y<_.y||O.y===_.y&&O.x<=_.x){if(!_.L){w=_.P;break}_=_.L}else{if(!_.R){w=_;break}_=_.R}c.c.insert(w,O),w||(i=O)}}}}function o(e){var t=e.circle;t&&(t.P||(i=t.N),c.c.remove(t),l.push(t),Object(u.a)(t),e.circle=null)}n.d(t,"c",function(){return i}),t.a=a,t.b=o;var i,u=n(106),c=n(45),l=[]},function(e,t,n){"use strict";var r=n(475);n.d(t,"c",function(){return r.a}),n.d(t,"b",function(){return r.b});var a=n(200);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var l=n(201),s=n.n(l),f=n(4),p=n.n(f),d=n(5),h=n.n(d),y=n(46),b=n.n(y),m=n(3),g=n.n(m),v=n(1),x=n(6),O=n.n(x),w={withinBounds:function(e,t,n){var r=s()(t,Number),a=r.x1,o=r.x2,i=r.y1,u=r.y2,c=s()(e,Number),l=c.x,f=c.y;return n=n?n/2:0,l+n>=Math.min(a,o)&&l-n<=Math.max(a,o)&&f+n>=Math.min(i,u)&&f-n<=Math.max(i,u)},getDomainBox:function(e,t,n){var r=e.brushDimension;t=p()({},t,e.domain),n=p()({},n,t);var a=v.x.getDomainCoordinates(e,t),i=v.x.getDomainCoordinates(e,n);return{x1:"y"!==r?Math.min.apply(Math,o(i.x)):Math.min.apply(Math,o(a.x)),x2:"y"!==r?Math.max.apply(Math,o(i.x)):Math.max.apply(Math,o(a.x)),y1:"x"!==r?Math.min.apply(Math,o(i.y)):Math.min.apply(Math,o(a.y)),y2:"x"!==r?Math.max.apply(Math,o(i.y)):Math.max.apply(Math,o(a.y))}},getHandles:function(e,t){var n=t.x1,r=t.x2,a=t.y1,o=t.y2,i=Math.min(n,r),u=Math.max(n,r),c=Math.min(a,o),l=Math.max(a,o),s=e.handleWidth/2;return{left:{x1:i-s,x2:i+s,y1:a,y2:o},right:{x1:u-s,x2:u+s,y1:a,y2:o},top:{x1:n,x2:r,y1:c+s,y2:c-s},bottom:{x1:n,x2:r,y1:l+s,y2:l-s}}},getActiveHandles:function(e,t,n){var r=this,a=this.getHandles(t,n),o=["top","bottom","left","right"].reduce(function(t,n){return t=r.withinBounds(e,a[n])?t.concat(n):t},[]);return o.length&&o},getResizeMutation:function(e,t){var n=e.x1,r=e.y1,a=e.x2,o=e.y2,i={left:{x1:Math.max(n,a),x2:Math.min(n,a),y1:r,y2:o},right:{x1:Math.min(n,a),x2:Math.max(n,a),y1:r,y2:o},top:{y1:Math.max(r,o),y2:Math.min(r,o),x1:n,x2:a},bottom:{y1:Math.min(r,o),y2:Math.max(r,o),x1:n,x2:a}};return t.reduce(function(e,t){return g()(e,i[t])},{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(e,t,n){return"none"===e?this.getMinimumDomain():"disable"===e?n:t},getSelectionMutation:function(e,t,n){var r=e.x,a=e.y,o=t.x1,i=t.x2,u=t.y1,c=t.y2;return{x1:"y"!==n?r:o,y1:"x"!==n?a:u,x2:"y"!==n?r:i,y2:"x"!==n?a:c}},panBox:function(e,t){var n=e.brushDimension,r=e.domain,a=e.startX,o=e.startY,i=p()({},e.brushDomain,r),u=p()({},e.fullDomain,r),c=e.x1?e:this.getDomainBox(e,u,i),l=c.x1,s=c.x2,f=c.y1,d=c.y2,h=t.x,y=t.y,b={x:a?a-h:0,y:o?o-y:0};return{x1:"y"!==n?Math.min(l,s)-b.x:Math.min(l,s),x2:"y"!==n?Math.max(l,s)-b.x:Math.max(l,s),y1:"x"!==n?Math.min(f,d)-b.y:Math.min(f,d),y2:"x"!==n?Math.max(f,d)-b.y:Math.max(f,d)}},constrainBox:function(e,t){var n=s()(t,Number),r=n.x1,a=n.y1,o=n.x2,i=n.y2;return{x1:e.x2>o?o-Math.abs(e.x2-e.x1):Math.max(e.x1,r),y1:e.y2>i?i-Math.abs(e.y2-e.y1):Math.max(e.y1,a),x2:e.x1<r?r+Math.abs(e.x2-e.x1):Math.min(e.x2,o),y2:e.y1<a?a+Math.abs(e.y2-e.y1):Math.min(e.y2,i)}},onMouseDown:function(e,t){var n=this;e.preventDefault();var a=t.brushDimension,o=t.handleWidth,i=t.cachedBrushDomain,u=t.domain,c=t.allowResize,l=t.allowDrag,s=t.allowDraw;if(!c&&!l)return{};var f=t.fullDomainBox||this.getDomainBox(t,u),d=t.parentSVG||v.x.getParentSVG(e),h=v.x.getSVGEventCoordinates(e,d),y=h.x,b=h.y;if(!this.withinBounds({x:y,y:b},f,o))return{};var m=p()({},t.brushDomain,u),g=O()(m,i)?t.currentDomain||m||u:m||u,x=this.getDomainBox(t,u,g),w=c&&this.getActiveHandles({x:y,y:b},t,x);return w?[{target:"parent",mutation:function(){return r({isSelecting:!0,domainBox:x,fullDomainBox:f,cachedBrushDomain:m,currentDomain:g,parentSVG:d},n.getResizeMutation(x,w))}}]:this.withinBounds({x:y,y:b},x)&&!O()(u,g)?[{target:"parent",mutation:function(){return r({isPanning:l,startX:y,startY:b,domainBox:x,fullDomainBox:f,currentDomain:g,cachedBrushDomain:m,parentSVG:d},x)}}]:s?[{target:"parent",mutation:function(){return r({isSelecting:c,domainBox:x,fullDomainBox:f,parentSVG:d,cachedBrushDomain:m,cachedCurrentDomain:g,currentDomain:n.getMinimumDomain()},n.getSelectionMutation({x:y,y:b},x,a))}}]:{}},onMouseMove:function(e,t){if(!t.isPanning&&!t.isSelecting)return{};var n=t.brushDimension,a=t.scale,o=t.isPanning,i=t.isSelecting,u=t.fullDomainBox,c=t.onBrushDomainChange,l=t.allowResize,s=t.allowDrag,f=t.parentSVG||v.x.getParentSVG(e),d=v.x.getSVGEventCoordinates(e,f),y=d.x,b=d.y;if(!l&&!s||!this.withinBounds({x:y,y:b},u))return{};if(s&&o){var m=t.startX,g=t.startY,x=this.panBox(t,{x:y,y:b}),O=this.constrainBox(x,u),w=v.x.getBounds(r({},O,{scale:a})),_=r({currentDomain:w,parentSVG:f,startX:x.x2>=u.x2||x.x1<=u.x1?m:y,startY:x.y2>=u.y2||x.y1<=u.y1?g:b},O);return h()(c)&&c(w,p()({},_,t)),[{target:"parent",mutation:function(){return _}}]}if(l&&i){var j="y"!==n?y:t.x2,P="x"!==n?b:t.y2,C=v.x.getBounds({x2:j,y2:P,x1:t.x1,y1:t.y1,scale:a}),M={x2:j,y2:P,currentDomain:C,parentSVG:f};return h()(c)&&c(C,p()({},M,t)),[{target:"parent",mutation:function(){return M}}]}return{}},onMouseUp:function(e,t){var n=t.x1,r=t.y1,a=t.x2,o=t.y2,i=t.isPanning,u=t.isSelecting,c=t.onBrushDomainChange,l=t.onBrushDomainChangeEnd,s=t.onBrushCleared,f=t.domain,d=t.allowResize,y=t.allowDrag,b=t.defaultBrushArea,m=void 0!==b&&"none"!==b,g=t.cachedCurrentDomain||t.currentDomain,v=this.getDefaultBrushArea(b,f,g),x={isPanning:!1,isSelecting:!1};return!d&&!m||n!==a&&r!==o?(y&&i||d&&u)&&h()(l)&&l(v,p()({},x,t)):(x.currentDomain=v,h()(c)&&c(v,p()({},x,t)),h()(l)&&l(v,p()({},x,t)),h()(s)&&s(v,p()({},x,t))),[{target:"parent",mutation:function(){return x}}]},onMouseLeave:function(e){return"svg"===e.target.nodeName?[{target:"parent",mutation:function(){return{isPanning:!1,isSelecting:!1}}}]:[]}};t.a=r({},w,{onMouseDown:w.onMouseDown.bind(w),onMouseUp:w.onMouseUp.bind(w),onMouseLeave:w.onMouseLeave.bind(w),onMouseMove:b()(w.onMouseMove.bind(w),16,{leading:!0,trailing:!1})})},function(e,t,n){function r(e,t){var n={};return t=i(t,3),o(e,function(e,r,o){a(n,r,t(e,r,o))}),n}var a=n(54),o=n(101),i=n(19);e.exports=r},function(e,t,n){"use strict";var r=n(478);n.d(t,"c",function(){return r.a}),n.d(t,"b",function(){return r.b});var a=n(203);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";var r=n(201),a=n.n(r),o=n(5),i=n.n(o),u=n(46),c=n.n(u),l=n(1),s={withinBounds:function(e,t){var n=a()(t,Number),r=n.x1,o=n.x2,i=n.y1,u=n.y2,c=a()(e,Number),l=c.x,s=c.y;return l>=Math.min(r,o)&&l<=Math.max(r,o)&&s>=Math.min(i,u)&&s<=Math.max(i,u)},onMouseMove:function(e,t){var n=t.onCursorChange,r=t.cursorDimension,a=t.domain,o=t.parentSVG||l.x.getParentSVG(e),u=l.x.getSVGEventCoordinates(e,o),c=l.x.getDataCoordinates(t,t.scale,u.x,u.y),s=this.withinBounds(c,{x1:a.x[0],x2:a.x[1],y1:a.y[0],y2:a.y[1]});if(s||(c=null),i()(n))if(s){var f=r?c[r]:c;n(f,t)}else c!==t.cursorValue&&n(t.defaultCursorValue||null,t);return[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:c,parentSVG:o}}}]},onTouchEnd:function(e,t){var n=t.onCursorChange;return i()(t.onCursorChange)&&n(null,t),[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:null}}}]}};t.a={onMouseMove:c()(s.onMouseMove.bind(s),32,{leading:!0,trailing:!1}),onTouchEnd:s.onTouchEnd.bind(s)}},function(e,t,n){"use strict";var r=n(479);n.d(t,"c",function(){return r.b}),n.d(t,"b",function(){return r.a});var a=n(205);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var c=n(18),l=n.n(c),s=n(5),f=n.n(s),p=n(46),d=n.n(p),h=n(4),y=n.n(h),b=n(3),m=n.n(b),g=n(1),v=n(0),x=n.n(v),O={getDatasets:function(e){if(e.data)return[{data:e.data}];var t=function(e){var t=g.i.getData(e);return Array.isArray(t)&&t.length>0?t:void 0},n=function(n,r,a){var o=e.selectionBlacklist||[];if(!g.i.isDataComponent(n)||l()(o,r))return null;if(n.type&&f()(n.type.getData)){n=a?x.a.cloneElement(n,a.props):n;var i=n.props&&n.type.getData(n.props);return i?{childName:r,data:i}:null}var u=t(n.props);return u?{childName:r,data:u}:null};return g.m.reduceChildren(x.a.Children.toArray(e.children),n,e)},filterDatasets:function(e,t,n){var r=this,a=t.reduce(function(t,a){var o=r.getSelectedData(e,a.data,n);return t=o?t.concat({childName:a.childName,eventKey:o.eventKey,data:o.data}):t},[]);return a.length?a:null},getPoint:function(e,t){return e.horizontal?{_x:t._y,_y:t._x,_x1:t._y1,_y1:t._x1,_x0:t._y0,_y0:t._x0}:t},getSelectedData:function(e,t){for(var n=this,r=e.x1,a=e.y1,o=e.x2,i=e.y2,u=[],c=[],l=0,s=0,f=t.length;s<f;s++){var p=t[s];(function(t){var u=n.getPoint(e,t),c=g.m.scalePoint(e,u);return c.x>=Math.min(r,o)&&c.x<=Math.max(r,o)&&c.y>=Math.min(a,i)&&c.y<=Math.max(a,i)})(p)&&(c[l]=p,u[l]=void 0===p.eventKey?s:p.eventKey,l++)}return l>0?{eventKey:u,data:c}:null},onMouseDown:function(e,t){e.preventDefault();var n=t.activateSelectedData,r=t.allowSelection,o=t.polar,i=t.selectedData;if(!r)return{};var u=t.selectionDimension,c=t.parentSVG||g.x.getParentSVG(e),l=g.x.getSVGEventCoordinates(e,c),s=l.x,p=l.y,d=o||"y"!==u?s:g.x.getDomainCoordinates(t).x[0],h=o||"x"!==u?p:g.x.getDomainCoordinates(t).y[0],b=o||"y"!==u?s:g.x.getDomainCoordinates(t).x[1],m=o||"x"!==u?p:g.x.getDomainCoordinates(t).y[1],v={x1:d,y1:h,select:!0,x2:b,y2:m,parentSVG:c};i&&f()(t.onSelectionCleared)&&t.onSelectionCleared(y()({},v,t));var x=[{target:"parent",mutation:function(){return v}}],O=i&&n?i.map(function(e){return{childName:e.childName,eventKey:e.eventKey,target:"data",mutation:function(){return null}}}):[];return x.concat.apply(x,a(O))},onMouseMove:function(e,t){var n=t.allowSelection,r=t.select,a=t.polar,o=t.selectionDimension;if(n&&r){var i=t.parentSVG||g.x.getParentSVG(e),u=g.x.getSVGEventCoordinates(e,i),c=u.x,l=u.y,s=a||"y"!==o?c:g.x.getDomainCoordinates(t).x[1],f=a||"x"!==o?l:g.x.getDomainCoordinates(t).y[1];return{target:"parent",mutation:function(){return{x2:s,y2:f,parentSVG:i}}}}return null},onMouseUp:function(e,t){var n=t.activateSelectedData,r=t.allowSelection,a=t.x2,o=t.y2;if(!r)return null;if(!a||!o)return[{target:"parent",mutation:function(){return{select:!1,x1:null,x2:null,y1:null,y2:null}}}];var i=this.getDatasets(t),u=g.x.getBounds(t),c=this.filterDatasets(t,i,u),l={selectedData:c,datasets:i,select:!1,x1:null,x2:null,y1:null,y2:null},s=c&&f()(t.onSelection)?t.onSelection(c,u,y()({},l,t)):{},p=[{target:"parent",mutation:function(){return l}}],d=c&&n?c.map(function(e){return{childName:e.childName,eventKey:e.eventKey,target:"data",mutation:function(){return m()({active:!0},s)}}}):[];return p.concat(d)}};t.a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},O,{onMouseDown:O.onMouseDown.bind(O),onMouseUp:O.onMouseUp.bind(O),onMouseMove:d()(O.onMouseMove.bind(O),16,{leading:!0,trailing:!1})})},function(e,t,n){"use strict";var r=n(480);n.d(t,"c",function(){return r.b}),n.d(t,"a",function(){return r.a});var a=n(209);n.d(t,"b",function(){return a.a})},function(e,t,n){"use strict";var r=n(481);n.d(t,"b",function(){return r.a});var a=n(208);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return y});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(1),y=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getVerticalPath",value:function(e){var t=e.pointerLength,n=e.pointerWidth,r=e.cornerRadius,a=e.orientation,o=e.width,i=e.height,u="top"===a?1:-1,c=e.x+(e.dx||0),l=e.y-u*(e.dy||0),s=l-u*t,f=l-u*t-u*i,p=c+o/2,d=c-o/2,h="top"===a?"0 0 0":"0 0 1",y="".concat(r," ").concat(r," ").concat(h);return"M ".concat(c-n/2,", ").concat(s,"\n L ").concat(c,", ").concat(l,"\n L ").concat(c+n/2,", ").concat(s,"\n L ").concat(p-r,", ").concat(s,"\n A ").concat(y," ").concat(p,", ").concat(s-u*r,"\n L ").concat(p,", ").concat(f+u*r,"\n A ").concat(y," ").concat(p-r,", ").concat(f,"\n L ").concat(d+r,", ").concat(f,"\n A ").concat(y," ").concat(d,", ").concat(f+u*r,"\n L ").concat(d,", ").concat(s-u*r,"\n A ").concat(y," ").concat(d+r,", ").concat(s,"\n z")}},{key:"getHorizontalPath",value:function(e){var t=e.pointerLength,n=e.pointerWidth,r=e.cornerRadius,a=e.orientation,o=e.width,i=e.height,u="right"===a?1:-1,c=e.x+u*(e.dx||0),l=e.y-(e.dy||0),s=c+u*t,f=c+u*t+u*o,p=l+i/2,d=l-i/2,h="right"===a?"0 0 0":"0 0 1",y="".concat(r," ").concat(r," ").concat(h);return"M ".concat(s,", ").concat(l-n/2,"\n L ").concat(c,", ").concat(l,"\n L ").concat(s,", ").concat(l+n/2,"\n L ").concat(s,", ").concat(p-r,"\n A ").concat(y," ").concat(s+u*r,", ").concat(p,"\n L ").concat(f-u*r,", ").concat(p,"\n A ").concat(y," ").concat(f,", ").concat(p-r,"\n L ").concat(f,", ").concat(d+r,"\n A ").concat(y," ").concat(f-u*r,", ").concat(d,"\n L ").concat(s+u*r,", ").concat(d,"\n A ").concat(y," ").concat(s,", ").concat(d+r,"\n z")}},{key:"getFlyoutPath",value:function(e){var t=e.orientation||"top";return"left"===t||"right"===t?this.getHorizontalPath(e):this.getVerticalPath(e)}},{key:"render",value:function(){var e=this.props,t=e.datum,n=e.active,r=e.role,a=e.shapeRendering,o=e.className,i=e.events,u=e.pathComponent,c=e.transform,l=e.clipPath,s=h.m.evaluateStyle(this.props.style,t,n),p=this.getFlyoutPath(this.props);return f.a.cloneElement(u,{style:s,className:o,shapeRendering:a,role:r,events:i,transform:c,d:p,clipPath:l})}}]),t}(f.a.Component);Object.defineProperty(y,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.primitiveProps,{cornerRadius:d.a.number,datum:d.a.object,dx:d.a.number,dy:d.a.number,height:d.a.number,orientation:d.a.oneOf(["top","bottom","left","right"]),pathComponent:d.a.element,pointerLength:d.a.number,pointerWidth:d.a.number,width:d.a.number,x:d.a.number,y:d.a.number})}),Object.defineProperty(y,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:f.a.createElement(h.r,null)}})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var u=n(18),c=n.n(u),l=n(12),s=n.n(l),f=n(39),p=n.n(f),d=n(13),h=n.n(d),y=n(5),b=n.n(y),m=n(46),g=n.n(m),v=n(3),x=n.n(v),O=n(1),w=n(6),_=n.n(w),j=n(196),P=n(0),C=n.n(P),M={withinBounds:function(e,t){var n=e.width,a=e.height,o=e.voronoiPadding,i=e.polar,u=e.origin,c=e.scale,l=o||0,s=t.x,f=t.y;if(i){var p=Math.pow(s-u.x,2)+Math.pow(f-u.y,2),d=Math.max.apply(Math,r(c.y.range()));return p<Math.pow(d,2)}return s>=l&&s<=n-l&&f>=l&&f<=a-l},getDatasets:function(e){var t=C.a.Children.toArray(e.children),n=function(t,n,r){var a=r&&r.type&&r.type.continuous,o=r?r.props&&r.props.style:e.style;return t.map(function(t,r){var i=O.m.getPoint(t),u=i.x,c=i.y,l=i.y0,s=i.x0,f=e.horizontal?(+c+ +l)/2:(+u+ +s)/2,p=e.horizontal?(+u+ +s)/2:(+c+ +l)/2;return x()({_voronoiX:"y"===e.voronoiDimension?0:f,_voronoiY:"x"===e.voronoiDimension?0:p,eventKey:r,childName:n,continuous:a,style:o},t)})};if(e.data)return n(e.data);var r=function(e){var t=O.i.getData(e);return Array.isArray(t)&&t.length>0?t:void 0},a=function(t,a){var o=t.props||{},i=o.name||a,u=e.voronoiBlacklist||[];if(!O.i.isDataComponent(t)||c()(u,i))return null;var l=t.type&&b()(t.type.getData)?t.type.getData:r,s=l(t.props);return s?n(s,i,t):null};return O.m.reduceChildren(t,a,e)},mergeDatasets:function(e,t){var n=p()(t,function(t){var n=O.m.scalePoint(e,t),r=n.x,a=n.y;return"".concat(r,",").concat(a)});return s()(n).map(function(e){var t=e.split(",");return{x:+t[0],y:+t[1],points:n[e]}})},getVoronoi:function(e,t){var n=e.width,r=e.height,a=e.voronoiPadding,o=a||0,i=Object(j.a)().x(function(e){return e.x}).y(function(e){return e.y}).extent([[o,o],[n-o,r-o]]),u=this.getDatasets(e),c=i(this.mergeDatasets(e,u)),l=e.voronoiDimension?void 0:e.radius;return c.find(t.x,t.y,l)},getActiveMutations:function(e,t){var n=t.childName,r=t.continuous,a=e.activateData,o=e.activateLabels,i=e.labels;if(!a&&!o)return[];var u=a?["data"]:[],c=i&&!o?u:u.concat("labels");return h()(c)?[]:c.map(function(e){var a=!0===r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:a,target:e,mutation:function(){return{active:!0}}}})},getInactiveMutations:function(e,t){var n=t.childName,r=t.continuous,a=e.activateData,o=e.activateLabels,i=e.labels;if(!a&&!o)return[];var u=a?["data"]:[],c=i&&!o?u:u.concat("labels");return h()(c)?[]:c.map(function(e){var a=r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:a,target:e,mutation:function(){return null}}})},getParentMutation:function(e,t,n){return[{target:"parent",eventKey:"parent",mutation:function(){return{activePoints:e,mousePosition:t,parentSVG:n}}}]},onActivated:function(e,t){b()(e.onActivated)&&e.onActivated(t,e)},onDeactivated:function(e,t){b()(e.onDeactivated)&&e.onDeactivated(t,e)},onMouseLeave:function(e,t){var n,a=this,o=t.activePoints||[];this.onDeactivated(t,o);var i=o.length?o.map(function(e){return a.getInactiveMutations(t,e)}):[];return(n=this.getParentMutation([])).concat.apply(n,r(i))},onMouseMove:function(e,t){var n=this,a=t.activePoints||[],o=t.parentSVG||O.x.getParentSVG(e),i=O.x.getSVGEventCoordinates(e,o);if(!this.withinBounds(t,i)){var u;this.onDeactivated(t,a);var c=a.length?a.map(function(e){return n.getInactiveMutations(t,e)}):[];return(u=this.getParentMutation([],i,o)).concat.apply(u,r(c))}var l=this.getVoronoi(t,i),s=l?l.data.points:[],f=this.getParentMutation(s,i,o);if(a.length&&_()(s,a))return f;this.onActivated(t,s),this.onDeactivated(t,a);var p=s.length?s.map(function(e){return n.getActiveMutations(t,e)}):[],d=a.length?a.map(function(e){return n.getInactiveMutations(t,e)}):[];return f.concat.apply(f,r(d).concat(r(p)))}};t.a={onMouseLeave:M.onMouseLeave.bind(M),onMouseMove:g()(M.onMouseMove.bind(M),32,{leading:!0,trailing:!1})}},function(e,t,n){"use strict";var r=n(482);n.d(t,"d",function(){return r.b}),n.d(t,"b",function(){return r.a});var a=n(211);n.d(t,"c",function(){return a.b}),n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return u(e)||i(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}function u(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return b});var c=n(4),l=n.n(c),s=n(5),f=n.n(s),p=n(46),d=n.n(p),h=n(0),y=(n.n(h),n(1)),b={checkDomainEquality:function(e,t){var n=function(n){var r=e&&e[n],a=t&&t[n];return!r&&!a||!(!r||!a)&&(+r[0]==+a[0]&&+r[1]==+a[1])};return n("x")&&n("y")},scale:function(e,t,n,r){var o=a(e,2),i=o[0],u=o[1],c=Math.abs(u-i),l=n.minimumZoom&&n.minimumZoom[r],s=this.getScaleFactor(t);if(l&&c<=l&&s<1)return e;var f=a(this.getDomain(n)[r],2),p=f[0],d=f[1],h=this.getScalePercent(t,n,r),b=s*i+h*(s*c),m=this.getMinimumDomain(b,n,r),g=this.getScaledDomain(e,s,h),v=a(g,2),x=v[0],O=v[1],w=[x>p&&x<d?x:p,O<d&&O>p?O:d],_=Math.abs(m[1]-m[0])>Math.abs(w[1]-w[0])?m:w;return y.g.containsDates([p,d])?[new Date(_[0]),new Date(_[1])]:_},getScaledDomain:function(e,t,n){var r=a(e,2),o=r[0],i=r[1],u=Math.abs(i-o),c=u-u*t,l=+o+c*n,s=+i-c*(1-n);return[Math.min(l,s),Math.max(l,s)]},getMinimumDomain:function(e,t,n){var r=t.minimumZoom,o=this.getDomain(t)[n],i=a(o,2),u=i[0],c=i[1],l=Math.abs(u-c)/1e3,s=r?r[n]||l:l,f=e-s/2,p=e+s/2;return[f>u&&f<c?f:u,p<c&&p>u?p:+u+s/2]},zoommingOut:function(e){return e.deltaY>0},getScaleFactor:function(e){var t=this.zoommingOut(e)?1:-1,n=Math.min(Math.abs(e.deltaY/300),.5);return Math.abs(1+t*n)},getScalePercent:function(e,t,n){var r=this.getDomain(t),o=a(r[n],2),i=o[0],u=o[1];return(this.getPosition(e,t,r)[n]-i)/Math.abs(u-i)},getPosition:function(e,t,n){var r=y.x.getSVGEventCoordinates(e),a=r.x,o=r.y,i={x:t.scale.x.domain(n.x),y:t.scale.y.domain(n.y)};return y.x.getDataCoordinates(t,i,a,o)},pan:function(e,t,n){var r,o=e.map(function(e){return+e}),i=a(o,2),u=i[0],c=i[1],l=t.map(function(e){return+e}),s=a(l,2),f=s[0],p=s[1],d=u+n,h=c+n;if(d>f&&h<p)r=[d,h];else if(d<f){var b=c-u;r=[f,f+b]}else if(h>p){var m=c-u;r=[p-m,p]}else r=e;return y.g.containsDates(e)||y.g.containsDates(t)?r.map(function(e){return new Date(e)}):r},getDomainScale:function(e,t,n){var r=Array.isArray(e)?e:e[n],o=a(r,2),i=o[0],u=o[1],c=t[n].range();return Math.abs(c[0]-c[1])/(u-i)},handleAnimation:function(e){var t=f()(e.getTimer)&&e.getTimer.bind(e);if(t&&f()(t().bypassAnimation))return t().bypassAnimation(),f()(t().resumeAnimation)?function(){return t().resumeAnimation()}:void 0},getLastDomain:function(e,t){var n=e.zoomDomain,r=e.cachedZoomDomain,a=e.currentDomain,o=e.domain;return n&&!this.checkDomainEquality(n,r)?l()({},n,o):l()({},a||n||t,o)},getDomain:function(e){var t=e.originalDomain,n=e.domain,a=e.children,o=e.zoomDimension,i=e.horizontal,u="x",c="y",s=o;i&&(u="y",c="x",o&&(s={x:u,y:c}[o]));var f=h.Children.toArray(a),p={};return f.length&&(p=o?r({},o,y.M.getDomainFromChildren(e,s,f)):{x:y.M.getDomainFromChildren(e,u,f),y:y.M.getDomainFromChildren(e,c,f)}),l()({},p,t,n)},onMouseDown:function(e,t){if(e.preventDefault(),t.allowPan){var n=t.parentSVG||y.x.getParentSVG(e),r=y.x.getSVGEventCoordinates(e,n),a=r.x,o=r.y;return[{target:"parent",mutation:function(){return{startX:a,startY:o,panning:!0,parentSVG:n,parentControlledProps:["domain"]}}}]}},onMouseUp:function(e,t){if(t.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseLeave:function(e,t){if(t.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseMove:function(e,t,n,r){if(t.panning&&t.allowPan){var a=t.scale,o=t.startX,i=t.startY,u=t.onZoomDomainChange,c=t.zoomDimension,s=t.zoomDomain,p=t.parentSVG||y.x.getParentSVG(e),d=y.x.getSVGEventCoordinates(e,p),h=d.x,b=d.y,m=this.getDomain(t),g=this.getLastDomain(t,m),v=(o-h)/this.getDomainScale(g,a,"x"),x=(b-i)/this.getDomainScale(g,a,"y"),O={x:"y"===c?m.x:this.pan(g.x,m.x,v),y:"x"===c?m.y:this.pan(g.y,m.y,x)},w=this.handleAnimation(r),_=!this.checkDomainEquality(m,g),j={parentControlledProps:["domain"],startX:h,startY:b,parentSVG:p,domain:O,currentDomain:O,originalDomain:m,cachedZoomDomain:s,zoomActive:_};return f()(u)&&u(O,l()({},j,t)),[{target:"parent",callback:w,mutation:function(){return j}}]}},onWheel:function(e,t,n,r){if(t.allowZoom){var a=t.onZoomDomainChange,o=t.zoomDimension,i=t.zoomDomain,u=this.getDomain(t),c=this.getLastDomain(t,u),s=c.x,p=c.y,d={x:"y"===o?c.x:this.scale(s,e,t,"x"),y:"x"===o?c.y:this.scale(p,e,t,"y")},h=this.handleAnimation(r),y=!this.zoommingOut(e)||t.zoomActive&&!this.checkDomainEquality(u,c),b={domain:d,currentDomain:d,originalDomain:u,cachedZoomDomain:i,parentControlledProps:["domain"],panning:!1,zoomActive:y};return f()(a)&&a(d,l()({},b,t)),[{target:"parent",callback:h,mutation:function(){return b}}]}}};t.b={checkDomainEquality:b.checkDomainEquality.bind(b),onMouseDown:b.onMouseDown.bind(b),onMouseUp:b.onMouseUp.bind(b),onMouseLeave:b.onMouseLeave.bind(b),onMouseMove:d()(b.onMouseMove.bind(b),16,{leading:!0,trailing:!1}),onWheel:d()(b.onWheel.bind(b),16,{leading:!0,trailing:!1})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(398),o=n(408),i=n(411),u=n(414),c=n(442),l=n(445),s=n(449),f=n(452),p=n(455),d=n(458),h=n(461),y=n(466),b=n(473),m=n(199),g=n(202),v=n(204),x=n(206),O=n(210),w=n(483),_=n(207),j=n(498),P=n(62),C=n(172),M=n(173);n.d(t,"Area",function(){return c.a}),n.d(t,"Bar",function(){return l.a}),n.d(t,"Border",function(){return r.c}),n.d(t,"Box",function(){return r.d}),n.d(t,"Candle",function(){return s.a}),n.d(t,"ClipPath",function(){return r.f}),n.d(t,"Curve",function(){return p.a}),n.d(t,"ErrorBar",function(){return f.a}),n.d(t,"LineSegment",function(){return r.p}),n.d(t,"Point",function(){return r.s}),n.d(t,"Slice",function(){return u.a}),n.d(t,"Voronoi",function(){return y.b}),n.d(t,"Flyout",function(){return _.a}),n.d(t,"Whisker",function(){return r.L}),n.d(t,"Circle",function(){return r.e}),n.d(t,"Rect",function(){return r.v}),n.d(t,"Line",function(){return r.o}),n.d(t,"Path",function(){return r.r}),n.d(t,"TSpan",function(){return r.z}),n.d(t,"Text",function(){return r.A}),n.d(t,"VictoryAnimation",function(){return r.E}),n.d(t,"VictoryArea",function(){return c.b}),n.d(t,"VictoryAxis",function(){return C.a}),n.d(t,"VictoryPolarAxis",function(){return M.a}),n.d(t,"VictoryBar",function(){return l.b}),n.d(t,"VictoryBoxPlot",function(){return h.a}),n.d(t,"VictoryCandlestick",function(){return s.b}),n.d(t,"VictoryChart",function(){return a.a}),n.d(t,"VictoryErrorBar",function(){return f.b}),n.d(t,"VictoryGroup",function(){return o.a}),n.d(t,"VictoryLine",function(){return p.b}),n.d(t,"VictoryLabel",function(){return r.H}),n.d(t,"VictoryLegend",function(){return j.a}),n.d(t,"VictoryPie",function(){return u.b}),n.d(t,"VictoryScatter",function(){return d.a}),n.d(t,"VictoryStack",function(){return i.a}),n.d(t,"VictoryTheme",function(){return r.J}),n.d(t,"VictoryTransition",function(){return r.K}),n.d(t,"VictorySharedEvents",function(){return P.a}),n.d(t,"VictoryTooltip",function(){return _.b}),n.d(t,"VictoryVoronoi",function(){return y.a}),n.d(t,"VictoryPortal",function(){return r.I}),n.d(t,"Portal",function(){return r.t}),n.d(t,"VictoryContainer",function(){return r.G}),n.d(t,"VictoryClipContainer",function(){return r.F}),n.d(t,"VictoryZoomContainer",function(){return O.b}),n.d(t,"ZoomHelpers",function(){return O.c}),n.d(t,"zoomContainerMixin",function(){return O.d}),n.d(t,"RawZoomHelpers",function(){return O.a}),n.d(t,"VictorySelectionContainer",function(){return v.b}),n.d(t,"SelectionHelpers",function(){return v.a}),n.d(t,"selectionContainerMixin",function(){return v.c}),n.d(t,"VictoryBrushContainer",function(){return m.b}),n.d(t,"BrushHelpers",function(){return m.a}),n.d(t,"brushContainerMixin",function(){return m.c}),n.d(t,"VictoryCursorContainer",function(){return g.b}),n.d(t,"CursorHelpers",function(){return g.a}),n.d(t,"cursorContainerMixin",function(){return g.c}),n.d(t,"VictoryVoronoiContainer",function(){return x.a}),n.d(t,"VoronoiHelpers",function(){return x.b}),n.d(t,"voronoiContainerMixin",function(){return x.c}),n.d(t,"combineContainerMixins",function(){return w.a}),n.d(t,"makeCreateContainerFunction",function(){return w.c}),n.d(t,"createContainer",function(){return w.b}),n.d(t,"VictoryBrushLine",function(){return b.a}),n.d(t,"addEvents",function(){return r.N}),n.d(t,"Collection",function(){return r.g}),n.d(t,"Data",function(){return r.i}),n.d(t,"DefaultTransitions",function(){return r.j}),n.d(t,"Domain",function(){return r.k}),n.d(t,"Events",function(){return r.l}),n.d(t,"Helpers",function(){return r.m}),n.d(t,"Log",function(){return r.q}),n.d(t,"PropTypes",function(){return r.u}),n.d(t,"Scale",function(){return r.w}),n.d(t,"Style",function(){return r.y}),n.d(t,"TextSize",function(){return r.B}),n.d(t,"Transitions",function(){return r.D}),n.d(t,"Selection",function(){return r.x}),n.d(t,"LabelHelpers",function(){return r.n}),n.d(t,"Axis",function(){return r.b}),n.d(t,"Wrapper",function(){return r.M})},function(e,t,n){"use strict";function r(){}var a=n(214);e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(216);n.d(t,"easeLinear",function(){return r.a});var a=n(217);n.d(t,"easeQuad",function(){return a.b}),n.d(t,"easeQuadIn",function(){return a.a}),n.d(t,"easeQuadOut",function(){return a.c}),n.d(t,"easeQuadInOut",function(){return a.b});var o=n(218);n.d(t,"easeCubic",function(){return o.b}),n.d(t,"easeCubicIn",function(){return o.a}),n.d(t,"easeCubicOut",function(){return o.c}),n.d(t,"easeCubicInOut",function(){return o.b});var i=n(219);n.d(t,"easePoly",function(){return i.b}),n.d(t,"easePolyIn",function(){return i.a}),n.d(t,"easePolyOut",function(){return i.c}),n.d(t,"easePolyInOut",function(){return i.b});var u=n(220);n.d(t,"easeSin",function(){return u.b}),n.d(t,"easeSinIn",function(){return u.a}),n.d(t,"easeSinOut",function(){return u.c}),n.d(t,"easeSinInOut",function(){return u.b});var c=n(221);n.d(t,"easeExp",function(){return c.b}),n.d(t,"easeExpIn",function(){return c.a}),n.d(t,"easeExpOut",function(){return c.c}),n.d(t,"easeExpInOut",function(){return c.b});var l=n(222);n.d(t,"easeCircle",function(){return l.b}),n.d(t,"easeCircleIn",function(){return l.a}),n.d(t,"easeCircleOut",function(){return l.c}),n.d(t,"easeCircleInOut",function(){return l.b});var s=n(223);n.d(t,"easeBounce",function(){return s.c}),n.d(t,"easeBounceIn",function(){return s.a}),n.d(t,"easeBounceOut",function(){return s.c}),n.d(t,"easeBounceInOut",function(){return s.b});var f=n(224);n.d(t,"easeBack",function(){return f.b}),n.d(t,"easeBackIn",function(){return f.a}),n.d(t,"easeBackOut",function(){return f.c}),n.d(t,"easeBackInOut",function(){return f.b});var p=n(225);n.d(t,"easeElastic",function(){return p.c}),n.d(t,"easeElasticIn",function(){return p.a}),n.d(t,"easeElasticOut",function(){return p.c}),n.d(t,"easeElasticInOut",function(){return p.b})},function(e,t,n){"use strict";function r(e){return+e}t.a=r},function(e,t,n){"use strict";function r(e){return e*e}function a(e){return e*(2-e)}function o(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";function r(e){return e*e*e}function a(e){return--e*e*e+1}function o(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o});var r=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),a=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),o=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3)},function(e,t,n){"use strict";function r(e){return 1-Math.cos(e*u)}function a(e){return Math.sin(e*u)}function o(e){return(1-Math.cos(i*e))/2}t.a=r,t.c=a,t.b=o;var i=Math.PI,u=i/2},function(e,t,n){"use strict";function r(e){return Math.pow(2,10*e-10)}function a(e){return 1-Math.pow(2,-10*e)}function o(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";function r(e){return 1-Math.sqrt(1-e*e)}function a(e){return Math.sqrt(1- --e*e)}function o(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}t.a=r,t.c=a,t.b=o},function(e,t,n){"use strict";function r(e){return 1-a(1-e)}function a(e){return(e=+e)<i?y*e*e:e<c?y*(e-=u)*e+l:e<f?y*(e-=s)*e+p:y*(e-=d)*e+h}function o(e){return((e*=2)<=1?1-a(1-e):a(e-1)+1)/2}t.a=r,t.c=a,t.b=o;var i=4/11,u=6/11,c=8/11,l=.75,s=9/11,f=10/11,p=.9375,d=21/22,h=63/64,y=1/i/i},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o});var r=function e(t){function n(e){return e*e*((t+1)*e-t)}return t=+t,n.overshoot=e,n}(1.70158),a=function e(t){function n(e){return--e*e*((t+1)*e+t)+1}return t=+t,n.overshoot=e,n}(1.70158),o=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(1.70158)},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i});var r=2*Math.PI,a=function e(t,n){function a(e){return t*Math.pow(2,10*--e)*Math.sin((o-e)/n)}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=r);return a.amplitude=function(t){return e(t,n*r)},a.period=function(n){return e(t,n)},a}(1,.3),o=function e(t,n){function a(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+o)/n)}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=r);return a.amplitude=function(t){return e(t,n*r)},a.period=function(n){return e(t,n)},a}(1,.3),i=function e(t,n){function a(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((o-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((o+e)/n))/2}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=r);return a.amplitude=function(t){return e(t,n*r)},a.period=function(n){return e(t,n)},a}(1,.3)},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(30),a=n.n(r),o=n(24),i=n.n(o),u=n(25),c=function(e){if(null!==e)switch(typeof e){case"undefined":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return e instanceof Date||Array.isArray(e)||i()(e);case"function":return!0}return!1},l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},s=function(e,t){return function(n){return n>=1?t:function(){var r="function"==typeof e?e.apply(this,arguments):e,a="function"==typeof t?t.apply(this,arguments):t;return Object(u.a)(r,a)(n)}}},f=function(e,t){var n,r=function(e){return Array.isArray(e)?a()(e,"key"):e},o={},p={};null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={});for(n in t)n in e?o[n]=function(e,t){return e!==t&&c(e)&&c(t)?"function"==typeof e||"function"==typeof t?s(e,t):"object"==typeof e&&i()(e)||"object"==typeof t&&i()(t)?f(e,t):Object(u.a)(e,t):l(e,t)}(r(e[n]),r(t[n])):p[n]=t[n];return function(e){for(n in o)p[n]=o[n](e);return p}},p=function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return Object(u.a)(n(e),n(t))},d=function(e,t){return e!==t&&c(e)&&c(t)?"function"==typeof e||"function"==typeof t?s(e,t):i()(e)||i()(t)?f(e,t):"string"==typeof e||"string"==typeof t?p(e,t):Object(u.a)(e,t):l(e,t)}},function(e,t,n){function r(e,t,n){var r=-1;t=a(t.length?t:[s],c(o));var f=i(e,function(e,n,o){return{criteria:a(t,function(t){return t(e)}),index:++r,value:e}});return u(f,function(e,t){return l(e,t,n)})}var a=n(23),o=n(19),i=n(253),u=n(254),c=n(120),l=n(255),s=n(20);e.exports=r},function(e,t,n){function r(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}var a=n(229),o=n(241),i=n(113);e.exports=r},function(e,t,n){function r(e,t,n,r){var c=n.length,l=c,s=!r;if(null==e)return!l;for(e=Object(e);c--;){var f=n[c];if(s&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++c<l;){f=n[c];var p=f[0],d=e[p],h=f[1];if(s&&f[2]){if(void 0===d&&!(p in e))return!1}else{var y=new a;if(r)var b=r(d,h,p,e,t,y);if(!(void 0===b?o(h,d,i|u,r,y):b))return!1}}return!0}var a=n(109),o=n(67),i=1,u=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}var a=n(47),o=Array.prototype,i=o.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}var a=n(47);e.exports=r},function(e,t,n){function r(e){return a(this.__data__,e)>-1}var a=n(47);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var a=n(47);e.exports=r},function(e,t,n){function r(e,t,n,r,b,g){var v=l(e),x=l(t),O=v?h:c(e),w=x?h:c(t);O=O==d?y:O,w=w==d?y:w;var _=O==y,j=w==y,P=O==w;if(P&&s(e)){if(!s(t))return!1;v=!0,_=!1}if(P&&!_)return g||(g=new a),v||f(e)?o(e,t,n,r,b,g):i(e,t,O,n,r,b,g);if(!(n&p)){var C=_&&m.call(e,"__wrapped__"),M=j&&m.call(t,"__wrapped__");if(C||M){var A=C?e.value():e,k=M?t.value():t;return g||(g=new a),b(A,k,n,r,g)}}return!!P&&(g||(g=new a),u(e,t,n,r,b,g))}var a=n(109),o=n(236),i=n(238),u=n(239),c=n(71),l=n(10),s=n(110),f=n(111),p=1,d="[object Arguments]",h="[object Array]",y="[object Object]",b=Object.prototype,m=b.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,l,s){var f=n&u,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=s.get(e);if(h&&s.get(t))return h==t;var y=-1,b=!0,m=n&c?new a:void 0;for(s.set(e,t),s.set(t,e);++y<p;){var g=e[y],v=t[y];if(r)var x=f?r(v,g,y,t,e,s):r(g,v,y,e,t,s);if(void 0!==x){if(x)continue;b=!1;break}if(m){if(!o(t,function(e,t){if(!i(m,t)&&(g===e||l(g,e,n,r,s)))return m.push(t)})){b=!1;break}}else if(g!==v&&!l(g,v,n,r,s)){b=!1;break}}return s.delete(e),s.delete(t),b}var a=n(68),o=n(237),i=n(69),u=1,c=2;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t,n,r,i,c){var l=n&o,s=a(e),f=s.length;if(f!=a(t).length&&!l)return!1;for(var p=f;p--;){var d=s[p];if(!(l?d in t:u.call(t,d)))return!1}var h=c.get(e);if(h&&c.get(t))return h==t;var y=!0;c.set(e,t),c.set(t,e);for(var b=l;++p<f;){d=s[p];var m=e[d],g=t[d];if(r)var v=l?r(g,m,d,t,e,c):r(m,g,d,e,t,c);if(!(void 0===v?m===g||i(m,g,n,r,c):v)){y=!1;break}b||(b="constructor"==d)}if(y&&!b){var x=e.constructor,O=t.constructor;x!=O&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return c.delete(e),c.delete(t),y}var a=n(240),o=1,i=Object.prototype,u=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(49),a=r(Object.keys,Object);e.exports=a},function(e,t,n){function r(e){for(var t=o(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,a(i)]}return t}var a=n(112),o=n(12);e.exports=r},function(e,t,n){function r(e,t){return u(e)&&c(t)?l(s(e),t):function(n){var r=o(n,e);return void 0===r&&r===t?i(n,e):a(t,r,f|p)}}var a=n(67),o=n(243),i=n(117),u=n(73),c=n(112),l=n(113),s=n(32),f=1,p=2;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}var a=n(72);e.exports=r},function(e,t,n){var r=n(245),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(i(e))return o(e,r)+"";if(u(e))return s?s.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}var a=n(115),o=n(23),i=n(10),u=n(31),c=1/0,l=a?a.prototype:void 0,s=l?l.toString:void 0;e.exports=r},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(248))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){t=a(t,e);for(var r=-1,s=t.length,f=!1;++r<s;){var p=l(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=s?f:!!(s=null==e?0:e.length)&&c(s)&&u(p,s)&&(i(e)||o(e))}var a=n(51),o=n(74),i=n(10),u=n(118),c=n(119),l=n(32);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return a(t,e)}}var a=n(72);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t){function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,u=o.length,c=n.length;++r<u;){var l=a(o[r],i[r]);if(l){if(r>=c)return l;return l*("desc"==n[r]?-1:1)}}return e.index-t.index}var a=n(256);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e===e,i=a(e),u=void 0!==t,c=null===t,l=t===t,s=a(t);if(!c&&!s&&!i&&e>t||i&&u&&l&&!c&&!s||r&&u&&l||!n&&l||!o)return 1;if(!r&&!i&&!s&&e<t||s&&n&&o&&!r&&!i||c&&n&&o||!u&&o||!l)return-1}return 0}var a=n(31);e.exports=r},function(e,t,n){var r=n(49),a=r(Object.getPrototypeOf,Object);e.exports=a},function(e,t,n){"use strict";function r(e){if(e instanceof o)return new o(e.l,e.a,e.b,e.opacity);if(e instanceof p){if(isNaN(e.h))return new o(e.l,0,0,e.opacity);var t=e.h*y.a;return new o(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof h.b||(e=Object(h.h)(e));var n,r,a=l(e.r),u=l(e.g),c=l(e.b),s=i((.2225045*a+.7168786*u+.0606169*c)/m);return a===u&&u===c?n=r=s:(n=i((.4360747*a+.3850649*u+.1430804*c)/b),r=i((.0139322*a+.0971045*u+.7141733*c)/g)),new o(116*s-16,500*(n-s),200*(s-r),e.opacity)}function a(e,t,n,a){return 1===arguments.length?r(e):new o(e,t,n,null==a?1:a)}function o(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function i(e){return e>w?Math.pow(e,1/3):e/O+v}function u(e){return e>x?e*e*e:O*(e-v)}function c(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function l(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function s(e){if(e instanceof p)return new p(e.h,e.c,e.l,e.opacity);if(e instanceof o||(e=r(e)),0===e.a&&0===e.b)return new p(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*y.b;return new p(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function f(e,t,n,r){return 1===arguments.length?s(e):new p(e,t,n,null==r?1:r)}function p(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}t.a=a,t.b=f;var d=n(79),h=n(78),y=n(121),b=.96422,m=1,g=.82521,v=4/29,x=6/29,O=3*x*x,w=x*x*x;Object(d.a)(o,a,Object(d.b)(h.a,{brighter:function(e){return new o(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new o(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=b*u(t),e=m*u(e),n=g*u(n),new h.b(c(3.1338561*t-1.6168667*e-.4906146*n),c(-.9787684*t+1.9161415*e+.033454*n),c(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Object(d.a)(p,f,Object(d.b)(h.a,{brighter:function(e){return new p(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new p(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return r(this).rgb()}}))},function(e,t,n){"use strict";function r(e){if(e instanceof o)return new o(e.h,e.s,e.l,e.opacity);e instanceof u.b||(e=Object(u.h)(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(b*r+h*t-y*n)/(b+h-y),i=r-a,l=(d*(n-a)-f*i)/p,s=Math.sqrt(l*l+i*i)/(d*a*(1-a)),m=s?Math.atan2(l,i)*c.b-120:NaN;return new o(m<0?m+360:m,s,a,e.opacity)}function a(e,t,n,a){return 1===arguments.length?r(e):new o(e,t,n,null==a?1:a)}function o(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}t.a=a;var i=n(79),u=n(78),c=n(121),l=-.14861,s=1.78277,f=-.29227,p=-.90649,d=1.97294,h=d*p,y=d*s,b=s*f-p*l;Object(i.a)(o,a,Object(i.b)(u.a,{brighter:function(e){return e=null==e?u.c:Math.pow(u.c,e),new o(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?u.d:Math.pow(u.d,e),new o(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*c.a,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new u.b(255*(t+n*(l*r+s*a)),255*(t+n*(f*r+p*a)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(26)},function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t-=e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";function r(e,t,n,r){function o(e){return e.length?e.pop()+" ":""}function i(e,r,o,i,u,c){if(e!==o||r!==i){var l=u.push("translate(",null,t,null,n);c.push({i:l-4,x:Object(a.a)(e,o)},{i:l-2,x:Object(a.a)(r,i)})}else(o||i)&&u.push("translate("+o+t+i+n)}function u(e,t,n,i){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:Object(a.a)(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}function c(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:Object(a.a)(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}function l(e,t,n,r,i,u){if(e!==n||t!==r){var c=i.push(o(i)+"scale(",null,",",null,")");u.push({i:c-4,x:Object(a.a)(e,n)},{i:c-2,x:Object(a.a)(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}return function(t,n){var r=[],a=[];return t=e(t),n=e(n),i(t.translateX,t.translateY,n.translateX,n.translateY,r,a),u(t.rotate,n.rotate,r,a),c(t.skewX,n.skewX,r,a),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,a),t=n=null,function(e){for(var t,n=-1,o=a.length;++n<o;)r[(t=a[n]).i]=t.x(e);return r.join("")}}}var a=n(52),o=n(264);r(o.a,"px, ","px)","deg)"),r(o.b,", ",")",")")},function(e,t,n){"use strict";function r(e){return"none"===e?l.b:(o||(o=document.createElement("DIV"),i=document.documentElement,u=document.defaultView),o.style.transform=e,e=u.getComputedStyle(i.appendChild(o),null).getPropertyValue("transform"),i.removeChild(o),e=e.slice(7,-1).split(","),Object(l.a)(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function a(e){return null==e?l.b:(c||(c=document.createElementNS("http://www.w3.org/2000/svg","g")),c.setAttribute("transform",e),(e=c.transform.baseVal.consolidate())?(e=e.matrix,Object(l.a)(e.a,e.b,e.c,e.d,e.e,e.f)):l.b)}t.a=r,t.b=a;var o,i,u,c,l=n(265)},function(e,t,n){"use strict";n.d(t,"b",function(){return a});var r=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};t.a=function(e,t,n,a,o,i){var u,c,l;return(u=Math.sqrt(e*e+t*t))&&(e/=u,t/=u),(l=e*n+t*a)&&(n-=e*l,a-=t*l),(c=Math.sqrt(n*n+a*a))&&(n/=c,a/=c,l/=c),e*a<t*n&&(e=-e,t=-t,l=-l,u=-u),{translateX:o,translateY:i,rotate:Math.atan2(t,e)*r,skewX:Math.atan(l)*r,scaleX:u,scaleY:c}}},function(e,t,n){"use strict";Math.SQRT2},function(e,t,n){"use strict";function r(e){return function(t,n){var r=e((t=Object(a.d)(t)).h,(n=Object(a.d)(n)).h),i=Object(o.a)(t.s,n.s),u=Object(o.a)(t.l,n.l),c=Object(o.a)(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=u(e),t.opacity=c(e),t+""}}}var a=n(16),o=n(26);r(o.c),r(o.a)},function(e,t,n){"use strict";n(16),n(26)},function(e,t,n){"use strict";function r(e){return function(t,n){var r=e((t=Object(a.c)(t)).h,(n=Object(a.c)(n)).h),i=Object(o.a)(t.c,n.c),u=Object(o.a)(t.l,n.l),c=Object(o.a)(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=u(e),t.opacity=c(e),t+""}}}var a=n(16),o=n(26);r(o.c),r(o.a)},function(e,t,n){"use strict";function r(e){return function t(n){function r(t,r){var i=e((t=Object(a.b)(t)).h,(r=Object(a.b)(r)).h),u=Object(o.a)(t.s,r.s),c=Object(o.a)(t.l,r.l),l=Object(o.a)(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=u(e),t.l=c(Math.pow(e,n)),t.opacity=l(e),t+""}}return n=+n,r.gamma=t,r}(1)}n.d(t,"a",function(){return i});var a=n(16),o=n(26),i=(r(o.c),r(o.a))},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=n(81);n.d(t,"a",function(){return r.b}),n.d(t,"b",function(){return r.c});n(274),n(275)},function(e,t,n){"use strict";n(81)},function(e,t,n){"use strict";n(81)},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function l(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return A});var p=n(11),d=n.n(p),h=n(33),y=n.n(h),b=n(4),m=n.n(b),g=n(3),v=n.n(g),x=n(0),O=n.n(x),w=n(2),_=n.n(w),j=n(27),P=n(134),C=n(53),M=n(7),A=function(e){function t(e){var n;return i(this,t),n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.getTimer=n.getTimer.bind(f(n)),n.containerId=d()(e)&&void 0!==e.containerId?e.containerId:y()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n}return s(t,e),c(t,[{key:"getChildContext",value:function(){return{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister,getTimer:this.getTimer}}},{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 C.a),this.timer)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"renderContainer",value:function(e,t,n){var a=e.title,i=e.desc,u=e.portalComponent,c=e.className,l=e.width,s=e.height,f=e.portalZIndex,p=e.responsive,d=this.getChildren(e),h=p?{width:"100%",height:"100%"}:{width:l,height:s},y=v()({pointerEvents:"none",touchAction:"none",position:"relative"},h),b=v()({zIndex:f,position:"absolute",top:0,left:0},h),g=v()({pointerEvents:"all"},h),x=v()({overflow:"visible"},h),w={width:l,height:s,viewBox:t.viewBox,style:x};return O.a.createElement("div",{style:m()({},n,y),className:c,ref:e.containerRef},O.a.createElement("svg",o({},t,{style:g}),a?O.a.createElement("title",{id:this.getIdForElement("title")},a):null,i?O.a.createElement("desc",{id:this.getIdForElement("desc")},i):null,d),O.a.createElement("div",{style:b},O.a.cloneElement(u,r({},w,{ref:this.savePortalRef}))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,a=e.events,o=r?this.props.style:M.a.omit(this.props.style,["height","width"]),i=v()({width:t,height:n,role:"img","aria-labelledby":"".concat(this.getIdForElement("title")," ").concat(this.getIdForElement("desc")),viewBox:r?"0 0 ".concat(t," ").concat(n):void 0},a);return this.renderContainer(this.props,i,o)}}]),t}(O.a.Component);Object.defineProperty(A,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(A,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(A,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:_.a.oneOfType([_.a.arrayOf(_.a.node),_.a.node]),className:_.a.string,containerId:_.a.oneOfType([_.a.number,_.a.string]),containerRef:_.a.func,desc:_.a.string,events:_.a.object,height:j.a.nonNegative,name:_.a.string,origin:_.a.shape({x:j.a.nonNegative,y:j.a.nonNegative}),polar:_.a.bool,portalComponent:_.a.element,portalZIndex:j.a.integer,responsive:_.a.bool,style:_.a.object,theme:_.a.object,title:_.a.string,width:j.a.nonNegative}}),Object.defineProperty(A,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:O.a.createElement(P.a,null),portalZIndex:99,responsive:!0}}),Object.defineProperty(A,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:_.a.func}}),Object.defineProperty(A,"childContextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{portalUpdate:_.a.func,portalRegister:_.a.func,portalDeregister:_.a.func,getTimer:_.a.func}})},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){var r=n(280),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n,r){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),i?o(n,l,s):a(n,l,s)}return n}var a=n(84),o=n(54);e.exports=r},function(e,t,n){function r(e){return a(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,u&&o(n[0],n[1],u)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t})}var a=n(82),o=n(83);e.exports=r},function(e,t,n){var r=n(284),a=n(285),o=r(a);e.exports=o},function(e,t,n){function r(e){return function(t,n,r){var u=Object(t);if(!o(t)){var c=a(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,r);return l>-1?u[c?t[l]:l]:void 0}}var a=n(19),o=n(55),i=n(12);e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var c=null==n?0:i(n);return c<0&&(c=u(r+c,0)),a(e,o(t,3),c)}var a=n(286),o=n(19),i=n(287),u=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}e.exports=n},function(e,t,n){function r(e){var t=a(e),n=t%1;return t===t?n?t-n:t:0}var a=n(132);e.exports=r},function(e,t,n){function r(e,t){return a(e,t,function(t,n){return o(e,n)})}var a=n(135),o=n(117);e.exports=r},function(e,t,n){function r(e,t,n,r){if(!u(e))return e;t=o(t,e);for(var l=-1,s=t.length,f=s-1,p=e;null!=p&&++l<s;){var d=c(t[l]),h=n;if(l!=f){var y=p[d];h=r?r(y,d,p):void 0,void 0===h&&(h=u(y)?y:i(t[l+1])?[]:{})}a(p,d,h),p=p[d]}return e}var a=n(84),o=n(51),i=n(118),u=n(11),c=n(32);e.exports=r},function(e,t,n){function r(e,t,n,i,u){var c=-1,l=e.length;for(n||(n=o),u||(u=[]);++c<l;){var s=e[c];t>0&&n(s)?t>1?r(s,t-1,n,i,u):a(u,s):i||(u[u.length]=s)}return u}var a=n(291),o=n(292);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e){return i(e)||o(e)||!!(u&&e&&e[u])}var a=n(115),o=n(74),i=n(10),u=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return E});var l=n(33),s=n.n(l),f=n(13),p=n.n(f),d=n(4),h=n.n(d),y=n(3),b=n.n(y),m=n(0),g=n.n(m),v=n(2),x=n.n(v),O=n(137),w=n(27),_=n(7),j=n(138),P=n(85),C=n(56),M=n(139),A=n(140),k={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},E=function(e){function t(e){var n;return r(this,t),n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.id=void 0===e.id?s()("label-"):e.id,n}return c(t,e),o(t,[{key:"getPosition",value:function(e,t){return e.datum?_.a.scalePoint(e,e.datum)[t]:0}},{key:"getStyle",value:function(e,t){t=t?h()({},t,k):k;var n=e.datum||e.data,r=_.a.evaluateStyle(t,n,e.active);return b()({},r,{fontSize:this.getFontSize(r)})}},{key:"getStyles",value:function(e){var t=this;return Array.isArray(e.style)&&!p()(e.style)?e.style.map(function(n){return t.getStyle(e,n)}):[this.getStyle(e,e.style)]}},{key:"getHeight",value:function(e,t){var n=e.datum||e.data;return _.a.evaluateProp(e[t],n,e.active)}},{key:"getContent",value:function(e){if(void 0!==e.text&&null!==e.text){var t=e.datum||e.data;if(Array.isArray(e.text))return e.text.map(function(n){return _.a.evaluateProp(n,t,e.active)});var n=_.a.evaluateProp(e.text,t,e.active);if(void 0!==n&&null!==n)return"".concat(n).split("\n")}}},{key:"getDy",value:function(e,t,n,r){t=Array.isArray(t)?t[0]:t,r=this.checkLineHeight(r,r[0],1);var a=t.fontSize,o=e.datum||e.data,i=e.dy?_.a.evaluateProp(e.dy,o,e.active):0,u=n.length,c=this.getHeight(e,"capHeight"),l=t.verticalAnchor||e.verticalAnchor;switch(l?_.a.evaluateProp(l,o):"middle"){case"end":return i+(c/2+(.5-u)*r)*a;case"middle":return i+(c/2+(.5-u/2)*r)*a;default:return i+(c/2+r/2)*a}}},{key:"checkLineHeight",value:function(e,t,n){return Array.isArray(e)?p()(e)?n:t:e}},{key:"getTransform",value:function(e,t){var n=e.active,r=e.datum,a=e.x,o=e.y,i=e.polar,u=i?j.a.getPolarAngle(e):0,c=void 0===t.angle?e.angle:t.angle,l=void 0===c?u:c,s=e.transform||t.transform,f=s&&_.a.evaluateProp(s,r,n),p=l&&{rotate:[l,a,o]};return f||l?P.a.toTransformString(f,p):void 0}},{key:"getFontSize",value:function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(void 0===t||null===t)return k.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?(C.a.warn("fontSize should be expressed as a number of pixels"),k.fontSize):n}return k.fontSize}},{key:"renderElements",value:function(e,t){var n=this,r=e.datum,a=e.active,o=e.inline,i=e.className,u=e.title,c=e.desc,l=e.events,s=e.direction,f=this.getStyles(e),p=this.getHeight(e,"lineHeight"),d=e.textAnchor?_.a.evaluateProp(e.textAnchor,r,a):"start",h=e.dx?_.a.evaluateProp(e.dx,r,a):0,y=this.getDy(e,f,t,p),b=this.getTransform(e,f),m=void 0!==e.x?e.x:this.getPosition(e,"x"),v=void 0!==e.y?e.y:this.getPosition(e,"y"),x=t.map(function(t,r){var a=f[r]||f[0],i=f[r-1]||f[0],u=(a.fontSize+i.fontSize)/2,c=n.checkLineHeight(p,(p[r]+(p[r-1]||p[0]))/2,1),l={key:"".concat(n.id,"-key-").concat(r),x:o?void 0:e.x,dx:h,dy:r&&!o?c*u:void 0,textAnchor:a.textAnchor||d,style:a,content:t};return g.a.cloneElement(e.tspanComponent,l)});return g.a.cloneElement(e.textComponent,{direction:s,dx:h,dy:y,x:m,y:v,events:l,transform:b,className:i,title:u,desc:c,id:this.id},x)}},{key:"render",value:function(){var e=this.getContent(this.props);if(null===e||void 0===e)return null;var t=this.renderElements(this.props,e);return this.props.renderInPortal?g.a.createElement(O.a,null,t):t}}]),t}(g.a.Component);Object.defineProperty(E,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLabel"}),Object.defineProperty(E,"role",{configurable:!0,enumerable:!0,writable:!0,value:"label"}),Object.defineProperty(E,"defaultStyles",{configurable:!0,enumerable:!0,writable:!0,value:k}),Object.defineProperty(E,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{active:x.a.bool,angle:x.a.oneOfType([x.a.string,x.a.number]),capHeight:x.a.oneOfType([x.a.string,w.a.nonNegative,x.a.func]),className:x.a.string,data:x.a.array,datum:x.a.any,desc:x.a.string,direction:x.a.oneOf(["rtl","ltr","inherit"]),dx:x.a.oneOfType([x.a.number,x.a.string,x.a.func]),dy:x.a.oneOfType([x.a.number,x.a.string,x.a.func]),events:x.a.object,id:x.a.oneOfType([x.a.number,x.a.string]),index:x.a.oneOfType([x.a.number,x.a.string]),inline:x.a.bool,labelPlacement:x.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:x.a.oneOfType([x.a.string,w.a.nonNegative,x.a.func,x.a.array]),origin:x.a.shape({x:w.a.nonNegative,y:w.a.nonNegative}),polar:x.a.bool,renderInPortal:x.a.bool,scale:x.a.shape({x:w.a.scale,y:w.a.scale}),style:x.a.oneOfType([x.a.object,x.a.array]),text:x.a.oneOfType([x.a.string,x.a.number,x.a.func,x.a.array]),textAnchor:x.a.oneOfType([x.a.oneOf(["start","middle","end","inherit"]),x.a.func]),textComponent:x.a.element,title:x.a.string,transform:x.a.oneOfType([x.a.string,x.a.object,x.a.func]),tspanComponent:x.a.element,verticalAnchor:x.a.oneOfType([x.a.oneOf(["start","middle","end"]),x.a.func]),x:x.a.oneOfType([x.a.number,x.a.string]),y:x.a.oneOfType([x.a.number,x.a.string])}}),Object.defineProperty(E,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{direction:"inherit",textComponent:g.a.createElement(A.a,null),tspanComponent:g.a.createElement(M.a,null),capHeight:.71,lineHeight:1}})},function(e,t,n){var r=n(49),a=r(Object.keys,Object);e.exports=a},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return S});var d=n(33),h=n.n(d),y=n(11),b=n.n(y),m=n(5),g=n.n(m),v=n(4),x=n.n(v),O=n(3),w=n.n(O),_=n(0),j=n.n(_),P=n(2),C=n.n(P),M=n(27),A=n(7),k=n(142),E=n(143),T=n(87),S=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.clipId=b()(e)&&void 0!==e.clipId?e.clipId:h()("victory-clip-"),n}return p(t,e),l(t,[{key:"calculateAttributes",value:function(e){var t=e.polar,n=e.origin,r=e.clipWidth,a=void 0===r?0:r,o=e.clipHeight,i=void 0===o?0:o,u=e.translateX,c=void 0===u?0:u,l=e.translateY,s=void 0===l?0:l,f=A.a.getPadding({padding:e.clipPadding}),p=e.radius||A.a.getRadius(e);return{x:(t?n.x:c)-f.left,y:(t?n.y:s)-f.top,width:Math.max((t?p:a)+f.left+f.right,0),height:Math.max((t?p:i)+f.top+f.bottom,0)}}},{key:"renderClippedGroup",value:function(e,t){var n=e.style,a=e.events,o=e.transform,i=e.children,u=e.className,c=e.groupComponent,l=this.renderClipComponent(e,t),s=w()({className:u,style:n,transform:o,key:"clipped-group-".concat(t),clipPath:"url(#".concat(t,")")},a);return j.a.cloneElement(c,s,[l].concat(r(j.a.Children.toArray(i))))}},{key:"renderGroup",value:function(e){var t=e.style,n=e.events,r=e.transform,a=e.children,o=e.className,i=e.groupComponent;return j.a.cloneElement(i,w()({className:o,style:t,transform:r},n),a)}},{key:"renderClipComponent",value:function(e,t){var n,r=e.polar,a=e.origin,o=e.clipWidth,i=void 0===o?0:o,u=e.clipHeight,c=void 0===u?0:u,l=e.translateX,s=void 0===l?0:l,f=e.translateY,p=void 0===f?0:f,d=e.circleComponent,h=e.rectComponent,y=e.clipPathComponent,b=A.a.getPadding({padding:e.clipPadding}),m=b.top,g=b.bottom,v=b.left,x=b.right;if(r){var O=e.radius||A.a.getRadius(e),_={r:Math.max(O+v+x,O+m+g,0),cx:a.x-v,cy:a.y-m};n=j.a.cloneElement(d,_)}else{var P={x:s-v,y:p-m,width:Math.max(i+v+x,0),height:Math.max(c+m+g,0)};n=j.a.cloneElement(h,P)}return j.a.cloneElement(y,w()({key:"clip-path-".concat(t)},e,{clipId:t}),n)}},{key:"getClipValue",value:function(e,t){var n={x:e.clipWidth,y:e.clipHeight};if(void 0!==n[t])return n[t];var r=this.getRange(e,t);return r?Math.abs(r[0]-r[1])||void 0:void 0}},{key:"getTranslateValue",value:function(e,t){var n={x:e.translateX,y:e.translateY};if(void 0!==n[t])return n[t];var a=this.getRange(e,t);return a?Math.min.apply(Math,r(a)):void 0}},{key:"getRange",value:function(e,t){var n=e.scale||{};if(n[t])return g()(n[t].range)?n[t].range():void 0}},{key:"render",value:function(){var e=this.getClipValue(this.props,"y"),t=this.getClipValue(this.props,"x");if(void 0===t||void 0===e)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),a=x()({},this.props,{clipHeight:e,clipWidth:t,translateX:n,translateY:r});return this.renderClippedGroup(a,this.clipId)}}]),t}(j.a.Component);Object.defineProperty(S,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryClipContainer"}),Object.defineProperty(S,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(S,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:C.a.oneOfType([C.a.arrayOf(C.a.node),C.a.node]),circleComponent:C.a.element,className:C.a.string,clipHeight:M.a.nonNegative,clipId:C.a.oneOfType([C.a.number,C.a.string]),clipPadding:C.a.shape({top:C.a.number,bottom:C.a.number,left:C.a.number,right:C.a.number}),clipPathComponent:C.a.element,clipWidth:M.a.nonNegative,events:C.a.object,groupComponent:C.a.element,origin:C.a.shape({x:M.a.nonNegative,y:M.a.nonNegative}),polar:C.a.bool,radius:M.a.nonNegative,style:C.a.object,transform:C.a.string,translateX:C.a.number,translateY:C.a.number}}),Object.defineProperty(S,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{circleComponent:j.a.createElement(E.a,null),rectComponent:j.a.createElement(T.a,null),clipPathComponent:j.a.createElement(k.a,null),groupComponent:j.a.createElement("g",null)}})},function(e,t,n){"use strict";var r=n(297),a=n(298);t.a={material:r.a,grayscale:a.a}},function(e,t,n){"use strict";var r=n(3),a=n.n(r),o=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],i={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);t.a={area:a()({style:{data:{fill:"#212121"},labels:c}},i),axis:a()({style:{axis:{fill:"transparent",stroke:"#90A4AE",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"#ECEFF1",strokeDasharray:"10, 5",strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"#90A4AE",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},tickLabels:a()({},u,{fill:"#455A64"})}},i),bar:a()({style:{data:{fill:"#455A64",padding:8,strokeWidth:0},labels:u}},i),boxplot:a()({style:{max:{padding:8,stroke:"#455A64",strokeWidth:1},maxLabels:u,median:{padding:8,stroke:"#455A64",strokeWidth:1},medianLabels:u,min:{padding:8,stroke:"#455A64",strokeWidth:1},minLabels:u,q1:{padding:8,fill:"#455A64"},q1Labels:u,q3:{padding:8,fill:"#455A64"},q3Labels:u},boxWidth:20},i),candlestick:a()({style:{data:{stroke:"#455A64"},labels:c},candleColors:{positive:"#ffffff",negative:"#455A64"}},i),chart:i,errorbar:a()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},i),group:a()({colorScale:o},i),legend:{colorScale:o,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:u,title:a()({},u,{padding:5})}},line:a()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:c}},i),pie:a()({colorScale:o,style:{data:{padding:8,stroke:"#ECEFF1",strokeWidth:1},labels:a()({},u,{padding:20})}},i),scatter:a()({style:{data:{fill:"#455A64",opacity:1,stroke:"transparent",strokeWidth:0},labels:c}},i),stack:a()({colorScale:o},i),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"}}},i)}},function(e,t,n){"use strict";var r=n(3),a=n.n(r),o=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],i={width:450,height:300,padding:50,colorScale:o},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);t.a={area:a()({style:{data:{fill:"#252525"},labels:c}},i),axis:a()({style:{axis:{fill:"transparent",stroke:"#252525",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:a()({},c,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:u}},i),bar:a()({style:{data:{fill:"#252525",padding:8,strokeWidth:0},labels:u}},i),boxplot:a()({style:{max:{padding:8,stroke:"#252525",strokeWidth:1},maxLabels:u,median:{padding:8,stroke:"#252525",strokeWidth:1},medianLabels:u,min:{padding:8,stroke:"#252525",strokeWidth:1},minLabels:u,q1:{padding:8,fill:"#969696"},q1Labels:u,q3:{padding:8,fill:"#969696"},q3Labels:u},boxWidth:20},i),candlestick:a()({style:{data:{stroke:"#252525",strokeWidth:1},labels:c},candleColors:{positive:"#ffffff",negative:"#252525"}},i),chart:i,errorbar:a()({borderWidth:8,style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},i),group:a()({colorScale:o},i),legend:{colorScale:o,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:u,title:a()({},u,{padding:5})}},line:a()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:c}},i),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:a()({},u,{padding:20})},colorScale:o,width:400,height:400,padding:50},scatter:a()({style:{data:{fill:"#252525",stroke:"transparent",strokeWidth:0},labels:c}},i),stack:a()({colorScale:o},i),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"}}},i)}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(7),m=n(28),g=n(88),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getStyle",value:function(e){var t=e.style,n=e.datum,r=e.active;return b.a.evaluateStyle(f()({stroke:"black",fill:"none"},t),n,r)}},{key:"getArcPath",value:function(e){var t=e.cx,n=e.cy,r=e.r,a=e.startAngle,o=e.endAngle,i=e.closedPath,u=Math.abs(o-a)/2+a,c=t+r*Math.cos(b.a.degreesToRadians(a)),l=n-r*Math.sin(b.a.degreesToRadians(a)),s=t+r*Math.cos(b.a.degreesToRadians(u)),f=n-r*Math.sin(b.a.degreesToRadians(u)),p=t+r*Math.cos(b.a.degreesToRadians(o)),d=n-r*Math.sin(b.a.degreesToRadians(o)),h=u-a<=180?0:1,y=o-u<=180?0:1,m=i?" M ".concat(t,", ").concat(n," L ").concat(c,", ").concat(l):"M ".concat(c,", ").concat(l),g="A ".concat(r,", ").concat(r,", 0, ").concat(h,", 0, ").concat(s,", ").concat(f),v="A ".concat(r,", ").concat(r,", 0, ").concat(y,", 0, ").concat(p,", ").concat(d),x=i?"Z":"";return"".concat(m," ").concat(g," ").concat(v," ").concat(x)}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.shapeRendering,r=e.className,a=e.events,o=e.pathComponent,i=e.transform,u=e.clipPath;return d.a.cloneElement(o,{d:this.getArcPath(this.props),style:this.getStyle(this.props),className:r,role:t,shapeRendering:n,events:a,transform:i,clipPath:u})}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{closedPath:y.a.bool,cx:y.a.number,cy:y.a.number,datum:y.a.any,endAngle:y.a.number,pathComponent:y.a.element,r:y.a.number,startAngle:y.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(7),m=n(28),g=n(87),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,a=e.height,o=e.events,i=e.datum,u=e.active,c=e.role,l=e.clipPath,s=e.className,p=e.shapeRendering,h=e.rectComponent,y=e.transform,m=b.a.evaluateStyle(f()({fill:"none"},this.props.style),i,u);return d.a.cloneElement(h,{style:m,className:s,x:t,y:n,width:r,height:a,events:o,role:c,shapeRendering:p,transform:y,clipPath:l})}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{height:y.a.number,rectComponent:y.a.element,width:y.a.number,x:y.a.number,y:y.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{rectComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(7),m=n(28),g=n(89),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,r=e.y1,a=e.y2,o=e.events,i=e.datum,u=e.active,c=e.lineComponent,l=e.className,s=e.role,p=e.shapeRendering,h=e.transform,y=e.clipPath,m=b.a.evaluateStyle(f()({stroke:"black"},this.props.style),i,u);return d.a.cloneElement(c,{style:m,className:l,role:s,shapeRendering:p,events:o,x1:t,x2:n,y1:r,y2:a,transform:h,clipPath:y})}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{datum:y.a.any,lineComponent:y.a.element,x1:y.a.number,x2:y.a.number,y1:y.a.number,y2:y.a.number})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{lineComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return g});var s=n(0),f=n.n(s),p=n(2),d=n.n(p),h=n(7),y=n(303),b=n(28),m=n(88),g=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"getPath",value:function(e){var t=e.datum,n=e.active,r=e.x,a=e.y,o=h.a.evaluateProp(e.size,t,n);if(e.getPath)return e.getPath(r,a,o);var i={circle:y.a.circle,square:y.a.square,diamond:y.a.diamond,triangleDown:y.a.triangleDown,triangleUp:y.a.triangleUp,plus:y.a.plus,minus:y.a.minus,star:y.a.star},u=h.a.evaluateProp(e.symbol,t,n);return("function"==typeof i[u]?i[u]:i.circle)(r,a,o)}},{key:"render",value:function(){var e=this.props,t=e.active,n=e.datum,r=e.role,a=e.shapeRendering,o=e.className,i=e.events,u=e.pathComponent,c=e.transform,l=e.clipPath,s=h.a.evaluateStyle(this.props.style,n,t),p=this.getPath(this.props);return f.a.cloneElement(u,{style:s,role:r,shapeRendering:a,className:o,events:i,d:p,transform:c,clipPath:l})}}]),t}(f.a.Component);Object.defineProperty(g,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.a.primitiveProps,{datum:d.a.object,getPath:d.a.func,pathComponent:d.a.element,size:d.a.oneOfType([d.a.number,d.a.func]),symbol:d.a.oneOfType([d.a.oneOf(["circle","diamond","plus","minus","square","star","triangleDown","triangleUp"]),d.a.func]),x:d.a.number,y:d.a.number})}),Object.defineProperty(g,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:f.a.createElement(m.a,null)}})},function(e,t,n){"use strict";var r=n(58),a=n.n(r);t.a={circle:function(e,t,n){return"M ".concat(e,", ").concat(t,"\n m ").concat(-n,", 0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*n,",0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*-n,",0")},square:function(e,t,n){var r=.87*n,a=e-r,o=t+r,i=e+r-a;return"M ".concat(a,", ").concat(o,"\n h").concat(i,"\n v-").concat(i,"\n h-").concat(i,"\n z")},diamond:function(e,t,n){var r=.87*n,a=Math.sqrt(r*r*2);return"M ".concat(e,", ").concat(t+a,"\n l ").concat(a,", -").concat(a,"\n l -").concat(a,", -").concat(a,"\n l -").concat(a,", ").concat(a,"\n l ").concat(a,", ").concat(a,"\n z")},triangleDown:function(e,t,n){var r=n/2*Math.sqrt(3),a=e-n,o=e+n,i=t-n,u=t+r;return"M ".concat(a,", ").concat(i,"\n L ").concat(o,", ").concat(i,"\n L ").concat(e,", ").concat(u,"\n z")},triangleUp:function(e,t,n){var r=n/2*Math.sqrt(3),a=e-n,o=e+n,i=t-r,u=t+n;return"M ".concat(a,", ").concat(u,"\n L ").concat(o,", ").concat(u,"\n L ").concat(e,", ").concat(i,"\n z")},plus:function(e,t,n){var r=1.1*n,a=r/1.5;return"\n M ".concat(e-a/2,", ").concat(t+r,"\n v-").concat(a,"\n h-").concat(a,"\n v-").concat(a,"\n h").concat(a,"\n v-").concat(a,"\n h").concat(a,"\n v").concat(a,"\n h").concat(a,"\n v").concat(a,"\n h-").concat(a,"\n v").concat(a,"\n z")},minus:function(e,t,n){var r=1.1*n,a=r-.3*r,o=e-r,i=t+a/2,u=e+r-o;return"M ".concat(o,", ").concat(i,"\n h").concat(u,"\n v-").concat(a,"\n h-").concat(u,"\n z")},star:function(e,t,n){var r=1.35*n,o=Math.PI/5;return"M ".concat(a()(10).map(function(n){var a=n%2==0?r:r/2;return"".concat(a*Math.sin(o*(n+1))+e,",\n ").concat(a*Math.cos(o*(n+1))+t)}).join("L")," z")}}},function(e,t,n){function r(e){return function(t,n,r){return r&&"number"!=typeof r&&o(t,n,r)&&(n=r=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),r=void 0===r?t<n?1:-1:i(r),a(t,n,r,e)}}var a=n(305),o=n(83),i=n(132);e.exports=r},function(e,t){function n(e,t,n,o){for(var i=-1,u=a(r((t-e)/(n||1)),0),c=Array(u);u--;)c[o?u:++i]=e,e+=n;return c}var r=Math.ceil,a=Math.max;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var s=n(3),f=n.n(s),p=n(0),d=n.n(p),h=n(2),y=n.n(h),b=n(7),m=n(28),g=n(89),v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.groupComponent,n=e.lineComponent,r=e.events,a=e.className,o=e.majorWhisker,i=e.minorWhisker,u=e.datum,c=e.active,l=e.transform,s=e.clipPath,p=b.a.evaluateStyle(this.props.style,u,c),h={style:p,events:r,className:a,transform:l,clipPath:s};return d.a.cloneElement(t,{},[d.a.cloneElement(n,f()({key:"major-whisker"},h,o)),d.a.cloneElement(n,f()({key:"minor-whisker"},h,i))])}}]),t}(d.a.Component);Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},m.a.primitiveProps,{groupComponent:y.a.element,lineComponent:y.a.element,majorWhisker:y.a.shape({x1:y.a.number,x2:y.a.number,y1:y.a.number,y2:y.a.number}),minorWhisker:y.a.shape({x1:y.a.number,x2:y.a.number,y1:y.a.number,y2:y.a.number})})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null),lineComponent:d.a.createElement(g.a,null)}})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=n(9),h=n.n(d),y=n(13),b=n.n(y),m=n(59),g=n.n(m),v=n(34),x=n.n(v),O=n(5),w=n.n(O),_=n(12),j=n.n(_),P=n(3),C=n.n(P),M=n(4),A=n.n(M),k=n(0),E=n.n(k),T=n(90),S=n(6),D=n.n(S),N=n(141),L=function(e){return!h()(e._x)&&!h()(e._y)},R=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];t.a=function(e,t){return function(n){function a(e){var t;u(this,a),t=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));var n=T.a.getScopedEvents.bind(p(t)),r=T.a.getEvents.bind(p(t));t.state={},t.getEvents=function(e,t,a){return r(e,t,a,n)},t.getEventState=T.a.getEventState.bind(p(t));var o=t.getCalculatedValues(e);return t.cacheValues(o),t.externalMutations=t.getExternalMutations(e),t.calculatedState=t.getStateChanges(e,o),t}return f(a,n),l(a,[{key:"shouldComponentUpdate",value:function(e){var t=this.getCalculatedValues(e),n=this.getExternalMutations(e),r=this.props.animating||this.props.animate,a=!D()(n,this.externalMutations);if(r||a)return this.cacheValues(t),this.externalMutations=n,this.applyExternalMutations(e,n),!0;var o=this.getStateChanges(e,t);return D()(this.calculatedState,o)?!D()(this.props,e)&&(this.cacheValues(t),!0):(this.calculatedState=o,this.cacheValues(t),!0)}},{key:"getStateChanges",value:function(e,n){var r=this,a=n.hasEvents,o=n.getSharedEventState;if(!a)return{};var i=function(e,t){var n=A()({},r.getEventState(e,t),o(e,t));return b()(n)?void 0:n};return t=t||{},(t.components||R).map(function(t){return e.standalone||"parent"!==t.name?void 0!==t.index?i(t.index,t.name):n.dataKeys.map(function(e){return i(e,t.name)}).filter(Boolean):void 0}).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!b()(t)){var n=e.externalEventMutations.reduce(function(e,t){return e=w()(t.callback)?e.concat(t.callback):e},[]),r=n.length?function(){n.forEach(function(e){return e()})}:void 0;this.setState(t,r)}}},{key:"getCalculatedValues",value:function(t){var n=t.sharedEvents,r=e.expectedComponents,a=T.a.getComponentEvents(t,r),o=n&&w()(n.getEventState)?n.getEventState:function(){},i=this.getBaseProps(t,o);return{componentEvents:a,getSharedEventState:o,baseProps:i,dataKeys:j()(i).filter(function(e){return"parent"!==e}),hasEvents:t.events||t.sharedEvents||a,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return b()(n)||t?void 0:T.a.getExternalMutations(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;j()(e).forEach(function(n){t[n]=e[n]})}},{key:"getBaseProps",value:function(t,n){n=n||this.getSharedEventState;var r=n("parent","parent"),a=this.getEventState("parent","parent"),o=A()({},a,r),i=o.parentControlledProps,u=i?x()(o,i):{},c=A()({},u,t);return w()(e.getBaseProps)?e.getBaseProps(c):{}}},{key:"getAllEvents",value:function(e){if(Array.isArray(this.componentEvents)){var t;return Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,r(e.events)):this.componentEvents}return e.events}},{key:"getComponentProps",value:function(t,n,r){var a=this.props.name||e.role,o=this.dataKeys&&this.dataKeys[r]||r,i="".concat(a,"-").concat(n,"-").concat(o),u=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(u||this.hasEvents){if(this.hasEvents){var c=this.getEvents(this.props,n,o),l=A()({index:r,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),t.props,u,{id:i}),s=A()({},T.a.getPartialEvents(c,o,l),l.events);return C()({},l,{events:s})}return A()({index:r,key:i},t.props,u,{id:i})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role,r=n?this.getComponentProps(e,"parent","parent"):{};return E.a.cloneElement(e,r,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return E.a.createElement(N.a,{animate:e.animate,animationWhitelist:n},E.a.createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,a=e.labelComponent,o=e.groupComponent,i=g()(this.dataKeys,"all"),u=i.reduce(function(e,n){var r=t.getComponentProps(a,"labels",n);return r&&void 0!==r.text&&null!==r.text&&(e=e.concat(E.a.cloneElement(a,r))),e},[]),c=this.getComponentProps(n,"data","all"),l=[E.a.cloneElement(n,c)].concat(r(u));return this.renderContainer(o,l)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L,a=e.dataComponent,o=e.labelComponent,i=e.groupComponent,u=this.dataKeys.reduce(function(e,r,o){var i=t.getComponentProps(a,"data",o);return n(i.datum)&&e.push(E.a.cloneElement(a,i)),e},[]),c=this.dataKeys.map(function(e,n){var r=t.getComponentProps(o,"labels",n);if(void 0!==r.text&&null!==r.text)return E.a.cloneElement(o,r)}).filter(Boolean),l=r(u).concat(r(c));return this.renderContainer(i,l)}}]),a}(e)}},function(e,t,n){function r(e,t,n,r){var f=-1,p=o,d=!0,h=e.length,y=[],b=t.length;if(!h)return y;n&&(t=u(t,c(n))),r?(p=i,d=!1):t.length>=s&&(p=l,d=!1,t=new a(t));e:for(;++f<h;){var m=e[f],g=null==n?m:n(m);if(m=r||0!==m?m:0,d&&g===g){for(var v=b;v--;)if(t[v]===g)continue e;y.push(m)}else p(t,g,r)||y.push(m)}return y}var a=n(68),o=n(144),i=n(145),u=n(23),c=n(120),l=n(69),s=200;e.exports=r},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(55),o=n(50);e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n=a(u(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}var a=n(23),o=n(19),i=n(135),u=n(313);e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e,t){return a(e,t)}var a=n(67);e.exports=r},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(317);n.d(t,"scaleBand",function(){return r.a}),n.d(t,"scalePoint",function(){return r.b});var a=n(340);n.d(t,"scaleIdentity",function(){return a.a});var o=n(37);n.d(t,"scaleLinear",function(){return o.a});var i=n(352);n.d(t,"scaleLog",function(){return i.a});var u=n(159);n.d(t,"scaleOrdinal",function(){return u.a}),n.d(t,"scaleImplicit",function(){return u.b});var c=n(353);n.d(t,"scalePow",function(){return c.a}),n.d(t,"scaleSqrt",function(){return c.b});var l=n(354);n.d(t,"scaleQuantile",function(){return l.a});var s=n(355);n.d(t,"scaleQuantize",function(){return s.a});var f=n(356);n.d(t,"scaleThreshold",function(){return f.a});var p=n(166);n.d(t,"scaleTime",function(){return p.b});var d=n(372);n.d(t,"scaleUtc",function(){return d.a});var h=n(373);n.d(t,"schemeCategory10",function(){return h.a});var y=n(374);n.d(t,"schemeCategory20b",function(){return y.a});var b=n(375);n.d(t,"schemeCategory20c",function(){return b.a});var m=n(376);n.d(t,"schemeCategory20",function(){return m.a});var g=n(377);n.d(t,"interpolateCubehelixDefault",function(){return g.a});var v=n(378);n.d(t,"interpolateRainbow",function(){return v.b}),n.d(t,"interpolateWarm",function(){return v.c}),n.d(t,"interpolateCool",function(){return v.a});var x=n(379);n.d(t,"interpolateViridis",function(){return x.a}),n.d(t,"interpolateMagma",function(){return x.c}),n.d(t,"interpolateInferno",function(){return x.b}),n.d(t,"interpolatePlasma",function(){return x.d});var O=n(380);n.d(t,"scaleSequential",function(){return O.a})},function(e,t,n){"use strict";function r(){function e(){var e=o().length,r=l[1]<l[0],a=l[r-0],u=l[1-r];t=(u-a)/Math.max(1,e-f+2*p),s&&(t=Math.floor(t)),a+=(u-a-t*(e-f))*d,n=t*(1-f),s&&(a=Math.round(a),n=Math.round(n));var h=Object(i.g)(e).map(function(e){return a+t*e});return c(r?h.reverse():h)}var t,n,a=Object(u.a)().unknown(void 0),o=a.domain,c=a.range,l=[0,1],s=!1,f=0,p=0,d=.5;return delete a.unknown,a.domain=function(t){return arguments.length?(o(t),e()):o()},a.range=function(t){return arguments.length?(l=[+t[0],+t[1]],e()):l.slice()},a.rangeRound=function(t){return l=[+t[0],+t[1]],s=!0,e()},a.bandwidth=function(){return n},a.step=function(){return t},a.round=function(t){return arguments.length?(s=!!t,e()):s},a.padding=function(t){return arguments.length?(f=p=Math.max(0,Math.min(1,t)),e()):f},a.paddingInner=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),e()):f},a.paddingOuter=function(t){return arguments.length?(p=Math.max(0,Math.min(1,t)),e()):p},a.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),e()):d},a.copy=function(){return r().domain(o()).range(l).round(s).paddingInner(f).paddingOuter(p).align(d)},e()}function a(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return a(t())},e}function o(){return a(r().paddingInner(1))}t.a=r,t.b=o;var i=n(14),u=n(159)},function(e,t,n){"use strict";n(149)},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(153),n(147),n(321),n(152),n(322),n(154),n(155),n(156)},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";n(153),n(29),n(36),n(93)},function(e,t,n){"use strict";n(150)},function(e,t,n){"use strict";t.a=function(e,t){var n,r,a=e.length,o=-1;if(null==t){for(;++o<a;)if(null!=(n=e[o])&&n>=n)for(r=n;++o<a;)null!=(n=e[o])&&n>r&&(r=n)}else for(;++o<a;)if(null!=(n=t(e[o],o,e))&&n>=n)for(r=n;++o<a;)null!=(n=t(e[o],o,e))&&n>r&&(r=n);return r}},function(e,t,n){"use strict";n(36)},function(e,t,n){"use strict";n(29),n(36),n(93)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(29)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(158)},function(e,t,n){"use strict";var r=(n(335),n(336),n(94));n.d(t,"a",function(){return r.a});n(337),n(338),n(339)},function(e,t,n){"use strict";n(94)},function(e,t,n){"use strict";function r(){}function a(e,t){var n=new r;if(e instanceof r)e.each(function(e){n.add(e)});else if(e){var a=-1,o=e.length;if(null==t)for(;++a<o;)n.add(e[a]);else for(;++a<o;)n.add(t(e[a],a,e))}return n}var o=n(94),i=o.a.prototype;r.prototype=a.prototype={constructor:r,has:i.has,add:function(e){return e+="",this[o.b+e]=e,this},remove:i.remove,clear:i.clear,values:i.keys,size:i.size,empty:i.empty,each:i.each}},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){function e(e){return+e}var t=[0,1];return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=a.a.call(n,i.a),e):t.slice()},e.copy=function(){return r().domain(t)},Object(o.b)(e)}t.a=r;var a=n(21),o=n(37),i=n(160)},function(e,t,n){"use strict";var r=n(14),a=n(161);t.a=function(e,t,n){var o,i=e[0],u=e[e.length-1],c=Object(r.i)(i,u,null==t?10:t);switch(n=Object(a.c)(null==n?",f":n),n.type){case"s":var l=Math.max(Math.abs(i),Math.abs(u));return null!=n.precision||isNaN(o=Object(a.e)(c,l))||(n.precision=o),Object(a.b)(n,l);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=Object(a.f)(c,Math.max(Math.abs(i),Math.abs(u))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=Object(a.d)(c))||(n.precision=o-2*("%"===n.type))}return Object(a.a)(n)}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var r,a,o,i=n(162);!function(e){r=Object(i.a)(e),a=r.format,o=r.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(e,t,n){"use strict";t.a=function(e,t){return function(n,r){for(var a=n.length,o=[],i=0,u=e[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(n.substring(a-=u,a+u)),!((c+=u+1)>r));)u=e[i=(i+1)%e.length];return o.reverse().join(t)}}},function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";t.a=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(a>0){if(!+e[r])break e;a=0}}return a>0?e.slice(0,a)+e.slice(t+1):e}},function(e,t,n){"use strict";var r=n(164),a=n(347);t.a={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Object(a.a)(100*e,t)},r:a.a,s:r.a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";var r=n(96);t.a=function(e,t){var n=Object(r.a)(e,t);if(!n)return e+"";var a=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+a:a.length>o+1?a.slice(0,o+1)+"."+a.slice(o+1):a+new Array(o-a.length+2).join("0")}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(61);t.a=function(e){return Math.max(0,-Object(r.a)(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(61);t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(t)/3)))-Object(r.a)(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(61);t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Object(r.a)(t)-Object(r.a)(e))+1}},function(e,t,n){"use strict";function r(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:Object(p.a)(t)}function a(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function o(e){return isFinite(e)?+("1e"+e):e<0?0:e}function i(e){return 10===e?o:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function u(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function c(e){return function(t){return-e(-t)}}function l(){function e(){return p=u(o),y=i(o),n()[0]<0&&(p=c(p),y=c(y)),t}var t=Object(h.b)(r,a).domain([1,10]),n=t.domain,o=10,p=u(10),y=i(10);return t.base=function(t){return arguments.length?(o=+t,e()):o},t.domain=function(t){return arguments.length?(n(t),e()):n()},t.ticks=function(e){var t,r=n(),a=r[0],i=r[r.length-1];(t=i<a)&&(f=a,a=i,i=f);var u,c,l,f=p(a),d=p(i),h=null==e?10:+e,b=[];if(!(o%1)&&d-f<h){if(f=Math.round(f)-1,d=Math.round(d)+1,a>0){for(;f<d;++f)for(c=1,u=y(f);c<o;++c)if(!((l=u*c)<a)){if(l>i)break;b.push(l)}}else for(;f<d;++f)for(c=o-1,u=y(f);c>=1;--c)if(!((l=u*c)<a)){if(l>i)break;b.push(l)}}else b=Object(s.j)(f,d,Math.min(d-f,h)).map(y);return t?b.reverse():b},t.tickFormat=function(e,n){if(null==n&&(n=10===o?".0e":","),"function"!=typeof n&&(n=Object(f.a)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,o*e/t.ticks().length);return function(e){var t=e/y(Math.round(p(e)));return t*o<o-.5&&(t*=o),t<=r?n(e):""}},t.nice=function(){return n(Object(d.a)(n(),{floor:function(e){return y(Math.floor(p(e)))},ceil:function(e){return y(Math.ceil(p(e)))}}))},t.copy=function(){return Object(h.a)(t,l().base(o))},t}t.a=l;var s=n(14),f=n(161),p=n(95),d=n(165),h=n(60)},function(e,t,n){"use strict";function r(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function a(){function e(e,t){return(t=r(t,n)-(e=r(e,n)))?function(a){return(r(a,n)-e)/t}:Object(i.a)(t)}function t(e,t){return t=r(t,n)-(e=r(e,n)),function(a){return r(e+t*a,1/n)}}var n=1,o=Object(c.b)(e,t),l=o.domain;return o.exponent=function(e){return arguments.length?(n=+e,l(l())):n},o.copy=function(){return Object(c.a)(o,a().exponent(n))},Object(u.b)(o)}function o(){return a().exponent(.5)}t.a=a,t.b=o;var i=n(95),u=n(37),c=n(60)},function(e,t,n){"use strict";function r(){function e(){var e=0,r=Math.max(1,i.length);for(u=new Array(r-1);++e<r;)u[e-1]=Object(a.f)(n,e/r);return t}function t(e){if(!isNaN(e=+e))return i[Object(a.b)(u,e)]}var n=[],i=[],u=[];return t.invertExtent=function(e){var t=i.indexOf(e);return t<0?[NaN,NaN]:[t>0?u[t-1]:n[0],t<u.length?u[t]:n[n.length-1]]},t.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var r,o=0,i=t.length;o<i;++o)null==(r=t[o])||isNaN(r=+r)||n.push(r);return n.sort(a.a),e()},t.range=function(t){return arguments.length?(i=o.b.call(t),e()):i.slice()},t.quantiles=function(){return u.slice()},t.copy=function(){return r().domain(n).range(i)},t}t.a=r;var a=n(14),o=n(21)},function(e,t,n){"use strict";function r(){function e(e){if(e<=e)return s[Object(a.b)(l,e,0,c)]}function t(){var t=-1;for(l=new Array(c);++t<c;)l[t]=((t+1)*u-(t-c)*n)/(c+1);return e}var n=0,u=1,c=1,l=[.5],s=[0,1];return e.domain=function(e){return arguments.length?(n=+e[0],u=+e[1],t()):[n,u]},e.range=function(e){return arguments.length?(c=(s=o.b.call(e)).length-1,t()):s.slice()},e.invertExtent=function(e){var t=s.indexOf(e);return t<0?[NaN,NaN]:t<1?[n,l[0]]:t>=c?[l[c-1],u]:[l[t-1],l[t]]},e.copy=function(){return r().domain([n,u]).range(s)},Object(i.b)(e)}t.a=r;var a=n(14),o=n(21),i=n(37)},function(e,t,n){"use strict";function r(){function e(e){if(e<=e)return n[Object(a.b)(t,e,0,i)]}var t=[.5],n=[0,1],i=1;return e.domain=function(r){return arguments.length?(t=o.b.call(r),i=Math.min(t.length,n.length-1),e):t.slice()},e.range=function(r){return arguments.length?(n=o.b.call(r),i=Math.min(t.length,n.length-1),e):n.slice()},e.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},e.copy=function(){return r().domain(t).range(n)},e}t.a=r;var a=n(14),o=n(21)},function(e,t,n){"use strict";var r=n(8),a=Object(r.a)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Object(r.a)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):a:null},t.a=a;a.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){e.setTime(Math.floor(e/a.d)*a.d)},function(e,t){e.setTime(+e+t*a.d)},function(e,t){return(t-e)/a.d},function(e){return e.getUTCSeconds()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){e.setTime(Math.floor(e/a.c)*a.c)},function(e,t){e.setTime(+e+t*a.c)},function(e,t){return(t-e)/a.c},function(e){return e.getMinutes()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){var t=e.getTimezoneOffset()*a.c%a.b;t<0&&(t+=a.b),e.setTime(Math.floor((+e-t)/a.b)*a.b+t)},function(e,t){e.setTime(+e+t*a.b)},function(e,t){return(t-e)/a.b},function(e){return e.getHours()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*a.c)/a.a},function(e){return e.getDate()-1});t.a=o;o.range},function(e,t,n){"use strict";function r(e){return Object(a.a)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.c)/o.e})}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return s});var a=n(8),o=n(15),i=r(0),u=r(1),c=r(2),l=r(3),s=r(4),f=r(5),p=r(6);i.range,u.range,c.range,l.range,s.range,f.range,p.range},function(e,t,n){"use strict";var r=n(8),a=Object(r.a)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.a=a;a.range},function(e,t,n){"use strict";var r=n(8),a=Object(r.a)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Object(r.a)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.a=a;a.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*a.c)},function(e,t){return(t-e)/a.c},function(e){return e.getUTCMinutes()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*a.b)},function(e,t){return(t-e)/a.b},function(e){return e.getUTCHours()});t.a=o;o.range},function(e,t,n){"use strict";var r=n(8),a=n(15),o=Object(r.a)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/a.a},function(e){return e.getUTCDate()-1});t.a=o;o.range},function(e,t,n){"use strict";function r(e){return Object(a.a)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.e})}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return s});var a=n(8),o=n(15),i=r(0),u=r(1),c=r(2),l=r(3),s=r(4),f=r(5),p=r(6);i.range,u.range,c.range,l.range,s.range,f.range,p.range},function(e,t,n){"use strict";var r=n(8),a=Object(r.a)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.a=a;a.range},function(e,t,n){"use strict";var r=n(8),a=Object(r.a)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Object(r.a)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.a=a;a.range},function(e,t,n){"use strict";function r(e){var t=new Date(e);return isNaN(t)?null:t}var a=n(169),o=n(98);+new Date("2000-01-01T00:00:00.000Z")||Object(o.c)(a.a)},function(e,t,n){"use strict";var r=n(166),a=n(167),o=n(97);t.a=function(){return Object(r.a)(o.v,o.q,o.u,o.l,o.m,o.o,o.r,o.n,a.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(e,t,n){"use strict";var r=n(38);t.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";var r=n(38);t.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";var r=n(38);t.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";var r=n(38);t.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";var r=n(16),a=n(25);t.a=Object(a.b)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"a",function(){return i});var r=n(16),a=n(25),o=Object(a.b)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),i=Object(a.b)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(r.b)();t.b=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return u.h=360*e-100,u.s=1.5-1.5*t,u.l=.8-.9*t,u+""}},function(e,t,n){"use strict";function r(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"d",function(){return u});var a=n(38);t.a=r(Object(a.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var o=r(Object(a.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),i=r(Object(a.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=r(Object(a.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";function r(e){function t(t){var r=(t-n)/(o-n);return e(i?Math.max(0,Math.min(1,r)):r)}var n=0,o=1,i=!1;return t.domain=function(e){return arguments.length?(n=+e[0],o=+e[1],t):[n,o]},t.clamp=function(e){return arguments.length?(i=!!e,t):i},t.interpolator=function(n){return arguments.length?(e=n,t):e},t.copy=function(){return r(e).domain([n,o]).clamp(i)},Object(a.b)(t)}t.a=r;var a=n(37)},function(e,t,n){"use strict";t.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(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(e,t,n){var r=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:function(e,t,n){var r=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:function(e){return{_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0}}}}},discreteTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(e){return e}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(e){return e}}}}}},function(e,t,n){function r(e){return e&&e.length?a(e):[]}var a=n(383);e.exports=r},function(e,t,n){function r(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var u=e[n],c=t?t(u):u;if(!n||!a(c,l)){var l=c;i[o++]=0===u?0:u}}return i}var a=n(48);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=t.a,a=t.d,o=t.e,i=t.f;return"y"===n?a*e+i:r*e+o}function a(e){return e.getScreenCTM().inverse()}function o(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function i(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,t=t||o(e);var n=a(t);return{x:r(e.clientX,n,"x"),y:r(e.clientY,n,"y")}}function u(e,t){var n=e.scale;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:[n.x(t.x[0]),n.x(t.x[1])],y:[n.y(t.y[0]),n.y(t.y[1])]}}function c(e,t,n,r){if(e.polar){var a=e.origin||{x:0,y:0},o=n-a.x,i=r-a.y,u=Math.abs(o*Math.sqrt(1+Math.pow(-i/o,2))),c=(-Math.atan2(i,o)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(c),y:t.y.invert(u)}}return{x:t.x.invert(n),y:t.y.invert(r)}}function l(e){var t=e.x1,n=e.x2,r=e.y1,a=e.y2,o=e.scale,i=c(e,o,t,r),u=c(e,o,n,a),l=function(e,t){return[s.a.getMinValue([e,t]),s.a.getMaxValue([e,t])]};return{x:l(i.x,u.x),y:l(i.y,u.y)}}var s=n(17);t.a={getParentSVG:o,getSVGEventCoordinates:i,getDomainCoordinates:u,getDataCoordinates:c,getBounds:l}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var u=n(4),c=n.n(u),l=n(3),s=n.n(l),f={"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},p={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},d={em:1,ex:.5},h={averageFontConstant:2.1675,widthOverlapCoef:1.25,heightOverlapCoef:1.05,lineCapitalCoef:1.15,lineSpaceHeightCoef:.2},y={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},b=function(e){return e*Math.PI/180},m=function(e){var t=e.split(",")[0].replace(/'|"/g,"");return f[t]||h.averageFontConstant},g=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},v=function(e,t,n){var r=b(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},x=function(e,t){var n=e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return p.hasOwnProperty(n)?r*p[n]:d.hasOwnProperty(n)?(t?r*t:r*y.fontSize)*d[n]:r},O=function(e,t){var n=Array.isArray(e)?e[t]:e,r=c()({},n,y);return s()({},r,{characterConstant:r.characterConstant||m(r.fontFamily),letterSpacing:x(r.letterSpacing,r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:x(String(r.fontSize))})},w=function(e,t){if(!e)return 0;var n=g(e).map(function(e,n){var r=e.toString().length,a=O(t,n);return r*a.fontSize/a.characterConstant+a.letterSpacing*Math.max(r-1,0)});return Math.max.apply(Math,r(n))},_=function(e,t){return e?g(e).reduce(function(e,n,r){var a=O(t,r),o=n.toString().match(/[(A-Z)(0-9)]/),i=o?a.fontSize*h.lineCapitalCoef:a.fontSize,u=0===r?0:a.fontSize*h.lineSpaceHeightCoef;return e+a.lineHeight*(i+u)},0):0},j=function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=_(e,t),a=w(e,t),o=n?v(a,r,n):a,i=n?v(r,a,n):r;return{width:o*h.widthOverlapCoef,height:i*h.heightOverlapCoef}};t.a={approximateTextSize:j,convertLengthToPixels:x}},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var u=n(24),c=n.n(u),l=n(100),s=n.n(l),f=n(39),p=n.n(f),d=n(391),h=n.n(d),y=n(35),b=n.n(y),m=n(5),g=n.n(m),v=n(57),x=n.n(v),O=n(4),w=n.n(O),_=n(3),j=n.n(_),P=n(0),C=n.n(P),M=n(171),A=n(85),k=n(86),E=n(91),T=n(99),S=n(90),D=n(17),N=n(7);t.a={getData:function(e,t){return e.data?E.a.getData(e):(t=t||C.a.Children.toArray(e.children),this.getDataFromChildren(t))},getDefaultDomainPadding:function(e,t,n){var r=n.some(function(e){return e.props&&e.props.horizontal}),a=e&&e.horizontal||r,o=n.filter(function(e){return e.type&&e.type.role&&"group"===e.type.role});if(!(o.length<1)){var i=o[0].props,u=i.offset,c=i.children;return(a?{y:u*c.length/2}:{x:u*c.length/2})[t]}},getDomain:function(e,t,n){n=n||C.a.Children.toArray(e.children);var a,o=T.a.getDomainFromProps(e,t),i=T.a.getMinFromProps(e,t),u=T.a.getMaxFromProps(e,t),c=e.polar?0:this.getDefaultDomainPadding(e,t,n);if(o)a=o;else{var l=(e.data||e.y)&&E.a.getData(e),s=l?T.a.getDomainFromData(e,t,l):[],f=this.getDomainFromChildren(e,t,n),p=i||D.a.getMinValue(r(s).concat(r(f))),d=u||D.a.getMaxValue(r(s).concat(r(f)));a=T.a.getDomainFromMinMax(p,d)}return T.a.formatDomain(a,j()({domainPadding:c},e),t)},setAnimationState:function(e,t){if(e.animate)if(e.animate.parentState){var n=e.animate.parentState.nodesWillExit,r=n?e:null;this.setState(w()({oldProps:r,nextProps:t},e.animate.parentState))}else{var a=C.a.Children.toArray(e.children),o=C.a.Children.toArray(t.children),i=function(e){var t=function(e){return e.type&&e.type.continuous};return Array.isArray(e)?h()(e,t):t(e)},u=!e.polar&&h()(a,function(e){return i(e)||e.props.children&&i(e.props.children)}),c=k.a.getInitialTransitionState(a,o),l=c.nodesWillExit,s=c.nodesWillEnter,f=c.childrenTransitions,p=c.nodesShouldEnter;this.setState({nodesWillExit:l,nodesWillEnter:s,nodesShouldEnter:p,childrenTransitions:D.a.isArrayOfArrays(f)?f[0]:f,oldProps:l?e:null,nextProps:t,continuous:u})}},getAllEvents:function(e){var t=["groupComponent","containerComponent","labelComponent"];this.componentEvents=S.a.getComponentEvents(e,t);var n=e.events;if(Array.isArray(this.componentEvents)){var a;n=Array.isArray(e.events)?(a=this.componentEvents).concat.apply(a,r(e.events)):this.componentEvents}return n||[]},getAnimationProps:function(e,t,n){var r=this;if(!e.animate)return t.props.animate;var a=e.animate&&e.animate.getTransitions,o=function(){var e=r.state&&r.state.childrenTransitions;return e=D.a.isArrayOfArrays(e)?e[n]:e,w()({childrenTransitions:e},r.state)}(),i=e.animate&&e.animate.parentState||o;if(!a){var u=k.a.getTransitionPropsFactory(e,o,function(e){return r.setState(e)});a=function(e){return u(e,n)}}return w()({getTransitions:a,parentState:i},e.animate,t.props.animate)},getDomainFromChildren:function(e,t,n){var r=n?n.slice(0):C.a.Children.toArray(e.children),a=n.some(function(e){return e.props&&e.props.horizontal}),o=e&&e.horizontal||a.length>0,i=M.a.getCurrentAxis(t,o),u=e.data?E.a.getData(e,t):void 0,c=e.polar,l=e.startAngle,s=e.endAngle,f=e.categories,p=e.minDomain,d=e.maxDomain,h={polar:c,startAngle:l,endAngle:s,categories:f,minDomain:p,maxDomain:d},y=u?j()(h,{data:u}):h,b=function(e){var t=j()({},e.props,y);return T.a.isDomainComponent(e)?e.type&&g()(e.type.getDomain)?e.props&&e.type.getDomain(t,i):T.a.getDomain(t,i):null},m=N.a.reduceChildren(r,b,e);return[0===m.length?0:D.a.getMinValue(m),0===m.length?1:D.a.getMaxValue(m)]},getDataFromChildren:function(e,t){var n=e.polar,r=e.startAngle,a=e.endAngle,o=e.categories,i=e.minDomain,u=e.maxDomain,c={polar:n,startAngle:r,endAngle:a,categories:o,minDomain:i,maxDomain:u},l=0,f=function(e,t,n){var r,a=j()({},e.props,c);return E.a.isDataComponent(e)?(e.type&&g()(e.type.getData)?(e=n?C.a.cloneElement(e,n.props):e,r=e.type.getData(a)):r=E.a.getData(a),l+=1,r.map(function(e,t){return j()({stack:l,group:t},e)})):null},d=t?t.slice(0):C.a.Children.toArray(e.children),h=d.filter(function(e){return e.type&&"stack"===e.type.role}).length,y=N.a.reduceChildren(d,f,e),b=h?"group":"stack";return s()(p()(y,b))},getColor:function(e,t,n){var r=e.style,a=e.colorScale,o=e.color;if(r&&r.data&&r.data.fill)return r.data.fill;if(a=t.props&&t.props.colorScale?t.props.colorScale:a,o=t.props&&t.props.color?t.props.color:o,a||o){var i=Array.isArray(a)?a:A.a.getColorScale(a);return o||i[n%i.length]}},getWidth:function(e){var t=e.datasets,n=e.scale,r=e.horizontal,a=r?n.y.range():n.x.range(),o=Math.abs(a[1]-a[0]),i=Array.isArray(t[0])?t[0].length:1,u=t.length*i+2;return{width:Math.round(.5*o/u)}},getStyle:function(e,t,n){var r=e&&e[n]&&e[n].style?e[n].style:{};return N.a.getStyles(t,r)},getChildStyle:function(e,t,n){var r=n.style,a=n.role,o=e.props.style||{};if(Array.isArray(o))return o;var i=e.type&&e.type.role,u="stack"===i?void 0:this.getColor(n,e,t),c="line"===i?{fill:"none",stroke:u}:{fill:u},l="stack"===a?{}:this.getWidth(n),s=w()({},o.data,j()({},l,r.data,c)),f=w()({},o.labels,r.labels);return{parent:r.parent,data:s,labels:f}},getStringsFromCategories:function(e,t){var n=function(e){var n=e.props||{};if(T.a.isDomainComponent(e)&&n.categories){var r=n.categories&&!Array.isArray(n.categories)?n.categories[t]:n.props.categories,a=r&&r.filter(function(e){return"string"==typeof e});return a?D.a.removeUndefined(a):[]}return null};return N.a.reduceChildren(e.slice(0),n)},getStringsFromData:function(e){var t=function(e){var t,n=e.props||{};return E.a.isDataComponent(e)?(t=e.type&&g()(e.type.getData)?e.type.getData(n):E.a.getData(n),t.map(function(e){return{x:e.xName,y:e.yName}})):null},n={x:[],y:[]},r=function(e,t){var n=Array.isArray(t)?t.map(function(e){return e.x}).filter(Boolean):t.x,r=Array.isArray(t)?t.map(function(e){return e.y}).filter(Boolean):t.y;return{x:void 0!==n?e.x.concat(n):e.x,y:void 0!==r?e.y.concat(r):e.y}};return N.a.reduceChildren(e.slice(0),t,{},n,r)},getCategoryAndAxisStringsFromChildren:function(e,t,n){var a=N.a.getCurrentAxis(t,e.horizontal),o=c()(e.categories)?e.categories[t]:e.categories,i=M.a.getAxisComponent(n,a),u=i?E.a.getStringsFromAxes(i.props,t):[],l=o||this.getStringsFromCategories(n,t);return b()(x()(r(l).concat(r(u))))},getStringsFromChildren:function(e,t){t=t||C.a.Children.toArray(e.children);var n=this.getCategoryAndAxisStringsFromChildren(e,"x",t),a=this.getCategoryAndAxisStringsFromChildren(e,"y",t),o=this.getStringsFromData(t);return{x:b()(x()(r(n).concat(r(o.x)))),y:b()(x()(r(a).concat(r(o.y))))}},getCategories:function(e){var t=e.categories&&!Array.isArray(e.categories)?e.categories.x:e.categories,n=e.categories&&!Array.isArray(e.categories)?e.categories.y:e.categories,r=!t||!n,a=r?this.getStringsFromChildren(e):{},o=t||a.x,i=n||a.y;return{x:o.length>0?o:void 0,y:i.length>0?i:void 0}}}},function(e,t,n){function r(e,t){return a(t,function(t){return e[t]})}var a=n(23);e.exports=r},function(e,t,n){function r(e,t){return function(n,r){var c=u(n)?a:o,l=t?t():{};return c(n,e,i(r,2),l)}}var a=n(389),o=n(390),i=n(19),u=n(10);e.exports=r},function(e,t){function n(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}e.exports=n},function(e,t){function n(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(393),a=n(394),o=n(20),i=Object.prototype,u=i.toString,c=a(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=u.call(t)),e[t]=n},r(o));e.exports=c},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){return a(n,e,t(r),{})}}var a=n(395);e.exports=r},function(e,t,n){function r(e,t,n,r){return a(e,function(e,a,o){t(r,n(e),a,o)}),r}var a=n(101);e.exports=r},function(e,t,n){var r=n(397),a=r();e.exports=a},function(e,t){function n(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++a];if(!1===n(o[c],c,o))break}return t}}e.exports=n},function(e,t,n){"use strict";var r=n(399);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return A});var s=n(13),f=n.n(s),p=n(3),d=n.n(p),h=n(4),y=n.n(h),b=n(2),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O=n(62),w=n(172),_=n(173),j=n(407),P=n(6),C=n.n(P),M={width:450,height:300,padding:50},A=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.state={},e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=x.M.setAnimationState.bind(l(n))),n}return c(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!C()(this.props,e))||(this.setAnimationState(this.props,e),!1)}},{key:"getNewChildren",value:function(e,t,n){var r=Object(j.c)(e,t,n),a=x.M.getAnimationProps.bind(this);return r.map(function(t,n){var r=d()({animate:a(e,t,n)},t.props);return v.a.cloneElement(t,r)})}},{key:"renderContainer",value:function(e,t){var n=y()({},e.props,t);return v.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,a=e.standalone,o=e.theme,i=e.polar,u=e.name,c=t.domain,l=t.scale,s=t.style,f=t.origin,p=t.radius,d=t.horizontal;return{domain:c,scale:l,width:n,height:r,standalone:a,theme:o,style:s.parent,horizontal:d,name:u,polar:i,radius:p,origin:i?f:void 0}}},{key:"render",value:function(){var e=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,t=x.m.modifyProps(e,M,"chart"),n=t.eventKey,r=t.containerComponent,a=t.groupComponent,o=t.standalone,i=t.externalEventMutations,u=e.polar?t.defaultPolarAxes:t.defaultAxes,c=Object(j.b)(t,u),l=Object(j.a)(t,c),s=this.getNewChildren(t,c,l),p=o?this.getContainerProps(t,l):{},d=o?this.renderContainer(r,p):a,h=x.M.getAllEvents(e);return f()(h)?v.a.cloneElement(d,d.props,s):v.a.createElement(O.a,{container:d,eventKey:n,events:h,externalEventMutations:i},s)}}]),t}(v.a.Component);Object.defineProperty(A,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryChart"}),Object.defineProperty(A,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,{children:m.a.oneOfType([m.a.arrayOf(m.a.node),m.a.node]),defaultAxes:m.a.shape({independent:m.a.element,dependent:m.a.element}),defaultPolarAxes:m.a.shape({independent:m.a.element,dependent:m.a.element}),endAngle:m.a.number,innerRadius:x.u.nonNegative,startAngle:m.a.number})}),Object.defineProperty(A,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:v.a.createElement(x.G,null),defaultAxes:{independent:v.a.createElement(w.a,null),dependent:v.a.createElement(w.a,{dependentAxis:!0})},defaultPolarAxes:{independent:v.a.createElement(_.a,null),dependent:v.a.createElement(_.a,{dependentAxis:!0})},groupComponent:v.a.createElement("g",null),standalone:!0,theme:x.J.grayscale}}),Object.defineProperty(A,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent"]})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return E});var d=n(401),h=n.n(d),y=n(13),b=n.n(y),m=n(4),g=n.n(m),v=n(5),x=n.n(v),O=n(3),w=n.n(O),_=n(0),j=n.n(_),P=n(2),C=n.n(P),M=n(1),A=n(6),k=n.n(A),E=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.state=n.state||{},n.getScopedEvents=M.l.getScopedEvents.bind(p(n)),n.getEventState=M.l.getEventState.bind(p(n)),n.getTimer=n.getTimer.bind(p(n)),n.baseProps=n.getBaseProps(e),n}return f(t,e),l(t,[{key:"getChildContext",value:function(){return{getTimer:this.getTimer}}},{key:"shouldComponentUpdate",value:function(e){if(!k()(this.props,e)){this.baseProps=this.getBaseProps(e);var t=this.getExternalMutations(e,this.baseProps);this.applyExternalMutations(e,t)}return!0}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new M.C),this.timer)}},{key:"getAllEvents",value:function(e){var t=["container","groupComponent"],n=M.l.getComponentEvents(e,t);return Array.isArray(n)?Array.isArray(e.events)?n.concat.apply(n,r(e.events)):n:e.events}},{key:"applyExternalMutations",value:function(e,t){if(!b()(t)){var n=e.externalEventMutations.reduce(function(e,t){return e=x()(t.callback)?e.concat(t.callback):e},[]),r=n.length?function(){n.forEach(function(e){return e()})}:void 0;this.setState(t,r)}}},{key:"getExternalMutations",value:function(e,t){return b()(e.externalEventMutations)?void 0:M.l.getExternalMutationsWithChildren(e.externalEventMutations,t,this.state,Object.keys(t))}},{key:"getBaseProps",value:function(e){var t=e.container,n=j.a.Children.toArray(this.props.children),r=this.getBasePropsFromChildren(n),a=t?t.props:{};return w()({},r,{parent:a})}},{key:"getBasePropsFromChildren",value:function(e){var t=function(e,t){if(e.type&&x()(e.type.getBaseProps)){var n=e.props&&e.type.getBaseProps(e.props);return n?[[t,n]]:null}return null},n=M.m.reduceChildren(e,t);return h()(n)}},{key:"getNewChildren",value:function(e,t){var n=this,r=e.events,a=e.eventKey,o=function(e,i){return e.reduce(function(e,u,c){if(u.props.children){var l=j.a.Children.toArray(u.props.children),s=i.slice(c,c+l.length),f=j.a.cloneElement(u,u.props,o(l,s));return e.concat(f)}if(u.type&&x()(u.type.getBaseProps)){var p=u.props.name||i[c],d=Array.isArray(r)&&r.filter(function(e){return"parent"!==e.target&&(Array.isArray(e.childName)?e.childName.indexOf(p)>-1:e.childName===p||"all"===e.childName)}),h={events:d,getEvents:function(e,r){return n.getScopedEvents(e,r,p,t)},getEventState:function(e,t){return n.getEventState(e,t,p)}};return e.concat(j.a.cloneElement(u,w()({key:"events-".concat(p),sharedEvents:h,eventKey:a,name:p},u.props)))}return e.concat(u)},[])},i=Object.keys(t),u=j.a.Children.toArray(e.children);return o(u,i)}},{key:"getContainer",value:function(e,t,n){var r=this,a=this.getNewChildren(e,t),o=Array.isArray(n)&&n.filter(function(e){return"parent"===e.target}),i=o.length>0?{events:o,getEvents:function(e,n){return r.getScopedEvents(e,n,null,t)},getEventState:this.getEventState}:null,u=e.container||e.groupComponent,c=u.type&&u.type.role,l=u.props||{},s=M.l.getEvents.bind(this),f=i&&s({sharedEvents:i},"parent"),p=g()({},this.getEventState("parent","parent"),l,t.parent,{children:a}),d=g()({},M.l.getPartialEvents(f,"parent",p),l.events);return"container"===c?j.a.cloneElement(u,w()({},p,{events:d})):j.a.cloneElement(u,d,a)}},{key:"render",value:function(){var e=this.getAllEvents(this.props);return e?this.getContainer(this.props,this.baseProps,e):j.a.cloneElement(this.props.container,{children:this.props.children})}}]),t}(j.a.Component);Object.defineProperty(E,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySharedEvents"}),Object.defineProperty(E,"role",{configurable:!0,enumerable:!0,writable:!0,value:"shared-event-wrapper"}),Object.defineProperty(E,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:C.a.oneOfType([C.a.arrayOf(C.a.node),C.a.node]),container:C.a.node,eventKey:C.a.oneOfType([C.a.array,C.a.func,M.u.allOfType([M.u.integer,M.u.nonNegative]),C.a.string]),events:C.a.arrayOf(C.a.shape({childName:C.a.oneOfType([C.a.string,C.a.array]),eventHandlers:C.a.object,eventKey:C.a.oneOfType([C.a.array,C.a.func,M.u.allOfType([M.u.integer,M.u.nonNegative]),C.a.string]),target:C.a.string})),externalEventMutations:C.a.arrayOf(C.a.shape({callback:C.a.function,childName:C.a.oneOfType([C.a.string,C.a.array]),eventKey:C.a.oneOfType([C.a.array,M.u.allOfType([M.u.integer,M.u.nonNegative]),C.a.string]),mutation:C.a.function,target:C.a.oneOfType([C.a.string,C.a.array])})),groupComponent:C.a.node}}),Object.defineProperty(E,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:j.a.createElement("g",null)}}),Object.defineProperty(E,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:C.a.func}}),Object.defineProperty(E,"childContextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:C.a.func}})},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var a=e[t];r[a[0]]=a[1]}return r}e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=n(3),y=n.n(h),b=n(2),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O=n(403),w={width:450,height:300,padding:50},_={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},j=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),s(t,[{key:"renderLine",value:function(e){var t=e.axisComponent,n=this.getComponentProps(t,"axis",0);return v.a.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent;if(!e.label)return null;var n=this.getComponentProps(t,"axisLabel",0);return v.a.cloneElement(t,n)}},{key:"renderGridAndTicks",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.gridComponent,o=e.name;return this.dataKeys.map(function(i,u){var c=t.getComponentProps(n,"ticks",u),l=v.a.cloneElement(n,c),s=t.getComponentProps(a,"grid",u),f=v.a.cloneElement(a,s),p=t.getComponentProps(r,"tickLabels",u),d=v.a.cloneElement(r,p);return v.a.cloneElement(e.groupComponent,{key:"".concat(o,"-tick-group-").concat(i)},f,l,d)})}},{key:"fixLabelOverlap",value:function(e,t){var n=x.b.isVertical(t),r=n?t.height:t.width,a=function(e){return e.type&&"label"===e.type.role},o=e.map(function(e){return e.props.children}).reduce(function(e,t){return e.concat(t)},[]).filter(a).map(function(e){return e.props}),i=function(e){return"object"==typeof e?y()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}},u=o.reduce(function(e,t){var r=i(t.style.padding),a=x.B.approximateTextSize(t.text,{angle:t.angle,fontSize:t.style.fontSize,letterSpacing:t.style.letterSpacing,fontFamily:t.style.fontFamily});return e+(n?a.height+r.top+r.bottom:a.width+r.right+r.left)},0),c=Math.floor(r*e.length/u),l=Math.ceil(e.length/c)||1,s=function(e){return e.props.children.filter(a).reduce(function(e,t){return(n?t.props.y:t.props.x)||0},0)};return e.sort(function(e,t){return n?s(t)-s(e):s(e)-s(t)}).filter(function(e,t){return t%l==0})}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=x.m.modifyProps(this.props,w,n);if(this.shouldAnimate())return this.animateComponent(r,e);var o=this.renderGridAndTicks(r),i=r.fixLabelOverlap?this.fixLabelOverlap(o,r):o,u=[this.renderLine(r),this.renderLabel(r)].concat(a(i));return r.standalone?this.renderContainer(r.containerComponent,u):v.a.cloneElement(r.groupComponent,{},u)}}]),t}(v.a.Component);Object.defineProperty(j,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"]}),Object.defineProperty(j,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(j,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(j,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(j,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,{axisComponent:m.a.element,axisLabelComponent:m.a.element,axisValue:m.a.oneOfType([m.a.number,m.a.string,m.a.object]),categories:m.a.oneOfType([m.a.arrayOf(m.a.string),m.a.shape({x:m.a.arrayOf(m.a.string),y:m.a.arrayOf(m.a.string)})]),crossAxis:m.a.bool,dependentAxis:m.a.bool,events:m.a.arrayOf(m.a.shape({target:m.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:m.a.oneOfType([m.a.array,x.u.allOfType([x.u.integer,x.u.nonNegative]),m.a.string]),eventHandlers:m.a.object})),fixLabelOverlap:m.a.bool,gridComponent:m.a.element,groupComponent:m.a.element,invertAxis:m.a.bool,label:m.a.any,offsetX:m.a.number,offsetY:m.a.number,orientation:m.a.oneOf(["top","bottom","left","right"]),origin:m.a.shape({x:m.a.number,y:m.a.number}),stringMap:m.a.object,style:m.a.shape({parent:m.a.object,axis:m.a.object,axisLabel:m.a.object,grid:m.a.object,ticks:m.a.object,tickLabels:m.a.object}),tickComponent:m.a.element,tickCount:x.u.allOfType([x.u.integer,x.u.greaterThanZero]),tickFormat:m.a.oneOfType([m.a.func,x.u.homogeneousArray]),tickLabelComponent:m.a.element,tickValues:x.u.homogeneousArray})}),Object.defineProperty(j,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:v.a.createElement(x.p,{type:"axis"}),axisLabelComponent:v.a.createElement(x.H,null),tickLabelComponent:v.a.createElement(x.H,null),tickComponent:v.a.createElement(x.p,{type:"tick"}),gridComponent:v.a.createElement(x.p,{type:"grid"}),scale:"linear",standalone:!0,theme:x.J.grayscale,containerComponent:v.a.createElement(x.G,null),groupComponent:v.a.createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(j,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getDomain}),Object.defineProperty(j,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getAxis}),Object.defineProperty(j,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:O.b}),Object.defineProperty(j,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.c)(e,w.style)}}),Object.defineProperty(j,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.a)(e,w)}}),Object.defineProperty(j,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]}),t.a=Object(x.N)(j,_)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return B}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return x});var c=n(5),l=n.n(c),s=n(4),f=n.n(s),p=n(3),d=n.n(p),h=n(1),y={top:-1,left:-1,right:1,bottom:1},b=function(e,t,n){return l()(e)?e(t,n):e},m=function(e,t,n){return e&&Object.keys(e).some(function(t){return l()(e[t])})?Object.keys(e).reduce(function(r,a){return r[a]=b(e[a],t,n),r},{}):e},g=function(e){var t=h.b.getAxis(e),n=h.w.getBaseScale(e,t),r=h.b.getDomain(e)||n.domain();return n.range(h.m.getRange(e,t)),n.domain(r),n},v=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",o=t&&t[a]&&t[a].style;return r&&o?function(){return["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce(function(e,t){return e[t]=f()({},o[t],r[t]),e},{})}():o||r},x=function(e,t){var n=e.style||{};t=t||{};var r={height:"100%",width:"100%"};return{parent:f()(n.parent,t.parent,r),axis:f()({},n.axis,t.axis),axisLabel:f()({},n.axisLabel,t.axisLabel),grid:f()({},n.grid,t.grid),ticks:f()({},n.ticks,t.ticks),tickLabels:f()({},n.tickLabels,t.tickLabels)}},O=function(e,t,n){var r=e.position,a=e.transform;return{x1:a.x,y1:a.y,x2:a.x+r.x2,y2:a.y+r.y2,style:t,datum:n}},w=function(e,t,n,r,a){var o=e.position,i=e.transform;return{style:t,x:i.x+o.x,y:i.y+o.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:a,datum:r}},_=function(e,t,n){var r=e.edge,a=e.transform;return{type:"grid",x1:a.x,y1:a.y,x2:r.x+a.x,y2:r.y+a.y,style:t,datum:n}},j=function(e,t,n){var r=t.style,a=t.padding,o=t.isVertical,i=e.width,u=e.height;return{type:"axis",style:r.axis,x1:o?n.x:a.left+n.x,x2:o?n.x:i-a.right+n.x,y1:o?a.top+n.y:n.y,y2:o?u-a.bottom+n.y:n.y}},P=function(e,t,n){return{tickStyle:m(e.ticks,t,n),labelStyle:m(e.tickLabels,t,n),gridStyle:m(e.grid,t,n)}},C=function(e){return e.dependentAxis?e.theme&&e.theme.dependentAxis?"dependentAxis":"axis":e.theme&&e.theme.independentAxis?"independentAxis":"axis"},M=function(e,t){var n=e.theme.axis||{};return f()({},e.theme[t],n)},A=function(e,t,n){return"axis"!==n&&(e.theme[n]=M(e,n)),h.m.modifyProps(e,t,n)},k=function(e,t,n){var r=t.style,a=t.orientation,o=t.padding,i=t.labelPadding,u=t.isVertical,c=y[a],l=o.left+o.right,s=o.top+o.bottom,f=c<0?"end":"start",p=r.axisLabel,d=u?-90:0;return{x:u?n.x+c*i:(e.width-l)/2+o.left+n.x,y:u?(e.height-s)/2+o.top+n.y:c*i+n.y,verticalAnchor:p.verticalAnchor||f,textAnchor:p.textAnchor||"middle",angle:void 0===p.angle?d:p.angle,style:p,text:e.label}},E=function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"},r=n[e];return{textAnchor:t?r:"middle",verticalAnchor:t?"middle":r}},T=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=h.b.isVertical(e),a=n.fontSize||14;return e.label?a*(r?2.3:1.6):0},S=function(e,t){var n=t.style,r=t.padding,o=t.isVertical,i=t.orientation,u=t.labelPadding,c=t.stringTicks,l=t.ticks,s="right"===i?r.right:r.left,f="top"===i?r.top:r.bottom,p=n.axisLabel.fontSize||14,d=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:s,h=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:f,y=l.map(function(t){var r=c?e.tickValues[t-1]:t;return m(n.ticks,r).size||0}),b=p+2*Math.max.apply(Math,a(y))+u,g=1.2*p,v=o?b:g,x=o?g:b;return{x:null!==d&&void 0!==d?d:v,y:null!==h&&void 0!==h?h:x}},D=function(e,t,n){var r=t.orientation,a=t.axis,o=h.b.getAxisValue(e,a);return{top:{x:0,y:void 0!==o?o:n.y},bottom:{x:0,y:void 0!==o?o:e.height-n.y},left:{x:void 0!==o?o:n.x,y:0},right:{x:void 0!==o?o:e.width-n.x,y:0}}[r]},N=function(e,t,n){var r=e.tickStyle,a=e.labelStyle,o=r.size||0,i=r.padding||0,u=a.padding||0,c=o+i+u,l=y[t];return{x:n?l*c:0,x2:n?l*o:0,y:n?0:l*c,y2:n?0:l*o}},L=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},R=function(e,t){var n=t.orientation,r=t.padding,a=t.isVertical,o=-y[n];return{x:a?o*(e.width-(r.left+r.right)):0,y:a?0:o*(e.height-(r.top+r.bottom))}},z=function(e,t,n){var r=t.padding,a=t.orientation,o="right"===a?r.right:r.left,i="top"===a?r.top:r.bottom;return{x:e.crossAxis?n.x-o:0,y:e.crossAxis?n.y-i:0}},I=function(e,t){var n=S(e,t);return{globalTransform:D(e,t,n),gridOffset:z(e,t,n),gridEdge:R(e,t)}},V=function(e){var t=v(e),n=x(e,t),r=h.m.getPadding(e),a=e.orientation||(e.dependentAxis?"left":"bottom"),o=h.b.isVertical(e),i=T(e,n),u=h.b.stringTicks(e)?e.tickValues:void 0,c=h.b.getAxis(e),l=g(e),s=h.b.getDomain(e),f=h.b.getTicks(e,l,e.crossAxis),p=h.b.getTickFormat(e,l);return{axis:c,style:n,padding:r,orientation:a,isVertical:o,labelPadding:i,stringTicks:u,anchors:E(a,o),scale:l,ticks:f,tickFormat:p,domain:s}},B=function(e,t){var n=C(e);e=A(e,t,n);var a=V(e),o=a.axis,i=a.style,u=a.orientation,c=a.isVertical,l=a.scale,s=a.ticks,f=a.tickFormat,p=a.anchors,y=a.domain,b=a.stringTicks,m=a.name,g="x"===o?"y":"x",v=e,x=v.width,M=v.height,E=v.standalone,T=v.theme,S=v.polar,D=v.padding,R=I(e,a),z=R.globalTransform,B=R.gridOffset,F=R.gridEdge,W={scale:r({},o,l),polar:S},q=j(e,a,z),U=k(e,a,z),H={parent:d()({style:i.parent,ticks:s,standalone:E,theme:T,width:x,height:M,padding:D,domain:y,name:m},W)},G={dimension:g,range:r({},g,h.m.getRange(e,g)),scale:e.scale&&e.scale[g]?r({},g,e.scale[g]):void 0};return s.reduce(function(e,t,n){var r=b?b[n]:t,a=P(i,r,n),h={position:N(a,u,c),transform:L(l(t),z,c)},y={edge:F,transform:{x:c?-B.x+z.x:l(t)+z.x,y:c?l(t)+z.y:B.y+z.y}};return e[n]={axis:d()({dimension:o},W,q),axisLabel:d()({},W,U),ticks:d()({},W,O(h,a.tickStyle,t)),tickLabels:d()({},W,w(h,a.labelStyle,p,t,f(t,n,s))),grid:d()({},W,G,_(y,a.gridStyle,t))},e},H)}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=n(3),y=n.n(h),b=n(0),m=n.n(b),g=n(2),v=n.n(g),x=n(1),O=n(405),w={width:450,height:300,padding:50},_={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},j=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),s(t,[{key:"renderAxisLine",value:function(e){var t=e.dependentAxis,n=t?e.axisComponent:e.circularAxisComponent,r=this.getComponentProps(n,"axis",0);return m.a.cloneElement(n,r)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent,n=e.dependentAxis;if(!e.label||!n)return null;var r=this.getComponentProps(t,"axisLabel",0);return m.a.cloneElement(t,r)}},{key:"renderAxis",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,o=e.name,i=e.dependentAxis?"radial":"angular",u="radial"===i?e.circularGridComponent:e.gridComponent,c=this.dataKeys.map(function(e,r){var a=y()({key:"".concat(o,"-tick-").concat(e)},t.getComponentProps(n,"ticks",r));return m.a.cloneElement(n,a)}),l=this.dataKeys.map(function(e,n){var r=y()({key:"".concat(o,"-grid-").concat(e)},t.getComponentProps(u,"grid",n));return m.a.cloneElement(u,r)}),s=this.dataKeys.map(function(e,n){var a=y()({key:"".concat(o,"-tick-").concat(e)},t.getComponentProps(r,"tickLabels",n));return m.a.cloneElement(r,a)}),f=this.renderAxisLine(e),p=this.renderLabel(e),d=[f,p].concat(a(c),a(l),a(s));return this.renderGroup(e,d)}},{key:"renderGroup",value:function(e,t){var n=e.groupComponent,r=n.props||{},a=x.m.getPolarOrigin(e),o=r.transform||"translate(".concat(a.x,", ").concat(a.y,")");return m.a.cloneElement(n,{transform:o},t)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=x.m.modifyProps(this.props,w,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderAxis(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(m.a.Component);Object.defineProperty(j,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","padding","width","height"]}),Object.defineProperty(j,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(j,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(j,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(j,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,{axisAngle:v.a.number,axisComponent:v.a.element,axisLabelComponent:v.a.element,axisValue:v.a.oneOfType([v.a.number,v.a.string,v.a.object]),categories:v.a.oneOfType([v.a.arrayOf(v.a.string),v.a.shape({x:v.a.arrayOf(v.a.string),y:v.a.arrayOf(v.a.string)})]),circularAxisComponent:v.a.element,circularGridComponent:v.a.element,containerComponent:v.a.element,dependentAxis:v.a.bool,endAngle:v.a.number,events:v.a.arrayOf(v.a.shape({target:v.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:v.a.oneOfType([v.a.array,x.u.allOfType([x.u.integer,x.u.nonNegative]),v.a.string]),eventHandlers:v.a.object})),gridComponent:v.a.element,innerRadius:x.u.nonNegative,labelPlacement:v.a.oneOf(["parallel","perpendicular","vertical"]),startAngle:v.a.number,stringMap:v.a.object,style:v.a.shape({parent:v.a.object,axis:v.a.object,axisLabel:v.a.object,grid:v.a.object,ticks:v.a.object,tickLabels:v.a.object}),tickComponent:v.a.element,tickCount:x.u.allOfType([x.u.integer,x.u.greaterThanZero]),tickFormat:v.a.oneOfType([v.a.func,x.u.homogeneousArray]),tickLabelComponent:v.a.element,tickValues:x.u.homogeneousArray})}),Object.defineProperty(j,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:m.a.createElement(x.p,{type:"axis"}),axisLabelComponent:m.a.createElement(x.H,null),circularAxisComponent:m.a.createElement(x.a,{type:"axis"}),circularGridComponent:m.a.createElement(x.a,{type:"grid"}),containerComponent:m.a.createElement(x.G,null),endAngle:360,gridComponent:m.a.createElement(x.p,{type:"grid"}),groupComponent:m.a.createElement("g",{role:"presentation"}),labelPlacement:"parallel",scale:"linear",startAngle:0,standalone:!0,theme:x.J.grayscale,tickComponent:m.a.createElement(x.p,{type:"tick"}),tickLabelComponent:m.a.createElement(x.H,null)}}),Object.defineProperty(j,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getDomain}),Object.defineProperty(j,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:x.b.getAxis}),Object.defineProperty(j,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:O.b}),Object.defineProperty(j,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.c)(e,w.style)}}),Object.defineProperty(j,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(O.a)(e,w)}}),Object.defineProperty(j,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","circularAxisComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent","circularGridComponent"]}),t.a=Object(x.N)(j,_)},function(e,t,n){"use strict";n.d(t,"b",function(){return O}),n.d(t,"c",function(){return w}),n.d(t,"a",function(){return D});var r=n(5),a=n.n(r),o=n(4),i=n.n(o),u=n(406),c=n.n(u),l=n(3),s=n.n(l),f=n(1),p=function(e,t,n){return"x"===n?e*Math.cos(t):-e*Math.sin(t)},d=function(e){var t=e.dependentAxis?"radial":"angular",n="angular"===t?"radial":"angular";return e.horizontal?n:t},h=function(e,t){var n=function(e){return t(e)%(2*Math.PI)};return c()(e,n)},y=function(e,t,n){return a()(e)?e(t,n):e},b=function(e,t,n){return e&&Object.keys(e).some(function(t){return a()(e[t])})?Object.keys(e).reduce(function(r,a){return r[a]=y(e[a],t,n),r},{}):e},m=function(e,t,n){return{tickStyle:b(e.ticks,t,n),labelStyle:b(e.tickLabels,t,n),gridStyle:b(e.grid,t,n)}},g=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",o=t&&t[a]&&t[a].style;return r&&o?function(){return["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce(function(e,t){return e[t]=i()({},o[t],r[t]),e},{})}():o||r},v=function(e){var t=f.m.getPadding(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2},x=function(e,t){if(e.range&&e.range[t])return e.range[t];if(e.range&&Array.isArray(e.range))return e.range;if("angular"===d(e))return[f.m.degreesToRadians(e.startAngle),f.m.degreesToRadians(e.endAngle)];var n=v(e);return[e.innerRadius||0,n]},O=function(e){var t=f.b.getAxis(e),n=f.w.getBaseScale(e,t),r=f.b.getDomain(e,t)||n.domain(),a=x(e,t);return n.range(a),n.domain(r),n},w=function(e,t){var n=e.style||{};t=t||{};var r={height:"auto",width:"100%"};return{parent:i()(r,n.parent,t.parent),axis:i()({},n.axis,t.axis),axisLabel:i()({},n.axisLabel,t.axisLabel),grid:i()({},n.grid,t.grid),ticks:i()({},n.ticks,t.ticks),tickLabels:i()({},n.tickLabels,t.tickLabels)}},_=function(e){var t=e.axisAngle,n=e.startAngle,r=e.dependentAxis,a=f.b.getAxis(e),o=f.b.getAxisValue(e,a);return void 0!==o&&r?f.m.radiansToDegrees(o):void 0===t?n:t},j=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.scale,u=t.style,c=t.stringTicks,l=c?c[r]:n,s=m(u,l,r),f=s.tickStyle,p=f.padding||0,d=p,h="radial"===a?_(e):void 0;return"angular"===a?{index:r,datum:n,style:f,x1:o*Math.cos(i(n)),y1:-o*Math.sin(i(n)),x2:(o+p)*Math.cos(i(n)),y2:-(o+p)*Math.sin(i(n))}:{style:u,index:r,datum:n,x1:i(n)/2*Math.cos(h-d),x2:i(n)/2*Math.cos(h+d),y1:-i(n)/2*Math.sin(h-d),y2:-i(n)/2*Math.sin(h+d)}},P=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.tickFormat,u=t.style,c=t.scale,l=t.ticks,p=t.stringTicks,d=p?p[r]:n,h=m(u,d,r),y=h.labelStyle,b=e.tickLabelComponent,g=b.props&&b.props.labelPlacement?b.props.labelPlacement:e.labelPlacement,v=y.padding||0,x="radial"===a?_(e):void 0,O="angular"===a?f.m.radiansToDegrees(c(n)):x+0,w=void 0===y.angle?f.n.getPolarAngle(s()({},e,{labelPlacement:g}),O):y.angle,j="angular"===a?o+v:c(n);return{index:r,datum:n,style:y,angle:w,textAnchor:y.textAnchor||f.n.getPolarTextAnchor(s()({},e,{labelPlacement:g}),O),text:i(n,r,l),x:j*Math.cos(f.m.degreesToRadians(O)),y:-j*Math.sin(f.m.degreesToRadians(O))}},C=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.style,u=t.scale,c=t.stringTicks,l=e.startAngle,s=e.endAngle,f=e.innerRadius,d=void 0===f?0:f,h=c?c[r]:n,y=m(i,h,r),b=y.gridStyle,g=u(n);return"angular"===a?{index:r,datum:n,style:b,x1:p(o,g,"x"),y1:p(o,g,"y"),x2:p(d,g,"x"),y2:p(d,g,"y")}:{style:b,index:r,datum:n,cx:0,cy:0,r:u(n),startAngle:l,endAngle:s}},M=function(e,t){var n=t.axisType,r=t.radius,a=t.style,o=(t.scale,e.axisLabelComponent);if("radial"!==n)return{};var i=o.props&&o.props.labelPlacement?o.props.labelPlacement:e.labelPlacement,u=a&&a.axisLabel||{},c="radial"===n?_(e):void 0,l=void 0===u.angle?f.n.getPolarAngle(s()({},e,{labelPlacement:i}),c):u.angle,d=r+(u.padding||0);return{style:u,angle:l,textAnchor:u.textAnchor||f.n.getTextPolarAnchor(s()({},e,{labelPlacement:i}),c),verticalAnchor:u.verticalAnchor||f.n.getPolarVerticalAnchor(s()({},e,{labelPlacement:i}),c),text:e.label,x:p(d,f.m.degreesToRadians(c),"x"),y:p(d,f.m.degreesToRadians(c),"y")}},A=function(e,t){var n=t.style,r=t.axisType,a=t.radius,o=(t.scale,e.startAngle),i=e.endAngle,u=e.innerRadius,c=void 0===u?0:u,l="radial"===r?f.m.degreesToRadians(_(e)):void 0;return"radial"===r?{style:n.axis,x1:p(c,l,"x"),x2:p(a,l,"x"),y1:p(c,l,"y"),y2:p(a,l,"y")}:{style:n.axis,cx:0,cy:0,r:a,startAngle:o,endAngle:i}},k=function(e){return e.dependentAxis?e.theme&&e.theme.dependentAxis?"dependentAxis":"axis":e.theme&&e.theme.independentAxis?"independentAxis":"axis"},E=function(e,t){var n=e.theme.axis||{};return i()({},e.theme[t],n)},T=function(e,t,n){return"axis"!==n&&(e.theme[n]=E(e,n)),f.m.modifyProps(e,t,n)},S=function(e){e=s()({polar:!0},e);var t=g(e),n=w(e,t),r=f.m.getPadding(e),a=f.b.getAxis(e),o=d(e),i=f.b.stringTicks(e)?e.tickValues:void 0,u=f.b.getDomain(e,a),c=x(e,a),l=O(e),p=f.b.getTicks(e,l);return{axis:a,style:n,padding:r,stringTicks:i,axisType:o,scale:l,ticks:"angular"===o?h(p,l):p,tickFormat:f.b.getTickFormat(e,l),domain:u,range:c,radius:v(e)}},D=function(e,t){var n=k(e);e=T(e,t,n);var r=S(e),a=r.style,o=r.scale,i=r.ticks,u=r.domain,c=e,l=c.width,s=c.height,f=c.standalone,p=c.theme,d=c.name,h=A(e,r),y=M(e,r),b={parent:{style:a.parent,ticks:i,scale:o,width:l,height:s,domain:u,standalone:f,theme:p,name:d}};return i.reduce(function(t,n,a){return t[a]={axis:h,axisLabel:y,ticks:j(e,r,n,a),tickLabels:P(e,r,n,a),grid:C(e,r,n,a)},t},b)}},function(e,t,n){function r(e,t){return e&&e.length?o(e,a(t,2)):[]}var a=n(19),o=n(146);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=n.domain,a=n.scale,o=n.originSign,i=n.stringMap,u=n.categories,c=n.horizontal,l=e.props||{},s=e.type.getAxis(l),f=h.b.getCurrentAxis(s,c),p="x"===s?"y":"x",d=g(t,n),y="y"===s?void 0:d.y,b="x"===s?void 0:d.x,m=!1!==l.crossAxis,v=h.b.getOrientation(e,s,o[p]);return{stringMap:i,horizontal:c,categories:u[f],startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,domain:r,scale:a,offsetY:void 0!==l.offsetY?l.offsetY:y,offsetX:void 0!==l.offsetX?l.offsetX:b,crossAxis:m,orientation:v}}function a(e,t,n){var a=h.b.findAxisComponents([e]);return a.length>0?r(a[0],t,n):{categories:n.categories,domain:n.domain,range:n.range,scale:n.scale}}function o(e){var t=e.style&&e.style.parent;return{parent:f()({},t,{height:"100%",width:"100%",userSelect:"none"})}}function i(e,t){var n=o(e),r=h.m.isHorizontal(e),a=h.M.getCategories(e,t),i=v(e,t),u={x:h.b.getAxisComponent(t,"x"),y:h.b.getAxisComponent(t,"y")},c={x:m(l()({},e,{categories:a}),"x",t),y:m(l()({},e,{categories:a}),"y",t)},s={x:h.m.getRange(e,"x"),y:h.m.getRange(e,"y")},f={x:h.w.getScaleFromProps(e,"x")||u.x&&u.x.type.getScale(u.x.props)||h.w.getDefaultScale(),y:h.w.getScaleFromProps(e,"y")||u.y&&u.y.type.getScale(u.y.props)||h.w.getDefaultScale()},p={x:f.x.domain(c.x).range(s.x),y:f.y.domain(c.y).range(s.y)},d=e.polar?h.m.getPolarOrigin(e):h.b.getOrigin(c);return{axisComponents:u,categories:a,domain:c,range:s,horizontal:r,scale:p,stringMap:i,style:n,origin:d,originSign:{x:h.b.getOriginSign(d.x,c.x),y:h.b.getOriginSign(d.y,c.y)},defaultDomainPadding:b(t,r),padding:h.m.getPadding(e)}}function u(e,t,n){t=t||y(e),n=n||i(e,t);var r=n.style.parent,o=e.height,u=e.polar,c=e.theme,l=e.width,s=n,p=s.origin,h=s.horizontal,b=e.name||"chart";return t.map(function(t,i){var s=t.type&&t.type.role,y=Array.isArray(t.props.style)?t.props.style:f()({},t.props.style,{parent:r}),m=a(t,e,n),g=t.props.name||"".concat(b,"-").concat(s,"-").concat(i),v=f()({horizontal:h,height:o,polar:u,theme:c,width:l,style:y,name:g,origin:u?p:void 0,padding:n.padding,key:"".concat(g,"-key-").concat(i),standalone:!1},m);return d.a.cloneElement(t,v)})}n.d(t,"c",function(){return u}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return y});var c=n(3),l=n.n(c),s=n(4),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=function(e,t){var n=d.a.Children.toArray(e.children);if(0===n.length)return[t.independent,t.dependent];var r={dependent:h.b.getAxisComponentsWithParent(n,"dependent"),independent:h.b.getAxisComponentsWithParent(n,"independent")};return 0===r.dependent.length&&0===r.independent.length?n.concat([t.independent,t.dependent]):n},b=function(e,t){var n=e.filter(function(e){return e.type&&e.type.role&&"group"===e.type.role});if(!(n.length<1)){var r=n[0].props,a=r.offset,o=r.children;return t?{y:a*o.length/2}:{x:a*o.length/2}}},m=function(e,t,n){n=n||d.a.Children.toArray(e.children);var r=h.M.getDomain(e,t,n),a=h.b.getAxisComponent(n,t);return a&&a.props&&a.props.invertAxis?r.concat().reverse():r},g=function(e,t){var n=t.axisComponents,r=t.scale,a=t.origin,o=t.domain,i=t.originSign,u=t.padding,c=u.top,l=u.bottom,s=u.left,f=u.right,p={x:h.b.getOrientation(n.x,"x",i.y),y:h.b.getOrientation(n.y,"y",i.x)},d={y:"bottom"===p.x?l:c,x:"left"===p.y?s:f},y={x:"left"===p.y?0:e.width,y:"bottom"===p.x?e.height:0},b={x:a.x===o.x[0]||a.x===o.x[1]?0:r.x(a.x),y:a.y===o.y[0]||a.y===o.y[1]?0:r.y(a.y)},m={x:b.x?Math.abs(y.x-b.x):d.x,y:b.y?Math.abs(y.y-b.y):d.y};return{x:n.x&&void 0!==n.x.offsetX?n.x.offsetX:m.x,y:n.y&&void 0!==n.y.offsetY?n.y.offsetY:m.y}},v=function(e,t){var n=h.M.getStringsFromChildren(e,t);return{x:n.x&&0!==n.x.length?n.x.reduce(function(e,t,n){return e[t]=n+1,e},{}):null,y:n.y&&0!==n.y.length?n.y.reduce(function(e,t,n){return e[t]=n+1,e},{}):null}}},function(e,t,n){"use strict";var r=n(409);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return C});var s=n(13),f=n.n(s),p=n(4),d=n.n(p),h=n(3),y=n.n(h),b=n(2),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O=n(62),w=n(410),_=n(6),j=n.n(_),P={width:450,height:300,padding:50,offset:0},C=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=x.M.setAnimationState.bind(l(n))),n}return c(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!j()(this.props,e))||(this.setAnimationState(this.props,e),!1)}},{key:"getNewChildren",value:function(e,t,n){var r=Object(w.b)(e,t,n),a=x.M.getAnimationProps.bind(this);return r.map(function(t,n){var r=y()({animate:a(e,t,n)},t.props);return v.a.cloneElement(t,r)})}},{key:"renderContainer",value:function(e,t){var n=d()({},e.props,t);return v.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,a=e.standalone,o=e.theme,i=e.polar,u=e.horizontal,c=e.name,l=t.domain,s=t.scale,f=t.style,p=t.origin;return{domain:l,scale:s,width:n,height:r,standalone:a,theme:o,style:f.parent,horizontal:u,polar:i,origin:p,name:c}}},{key:"render",value:function(){var e=this.constructor.role,t=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,n=x.m.modifyProps(t,P,e),r=n.eventKey,a=n.containerComponent,o=n.standalone,i=n.groupComponent,u=n.externalEventMutations,c=v.a.Children.toArray(n.children),l=Object(w.a)(n,c),s=this.getNewChildren(n,c,l),p=o?this.getContainerProps(n,l):{},d=o?this.renderContainer(a,p):i,h=x.M.getAllEvents(t);return f()(h)?v.a.cloneElement(d,d.props,s):v.a.createElement(O.a,{container:d,eventKey:r,events:h,externalEventMutations:u},s)}}]),t}(v.a.Component);Object.defineProperty(C,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryGroup"}),Object.defineProperty(C,"role",{configurable:!0,enumerable:!0,writable:!0,value:"group"}),Object.defineProperty(C,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,x.h.dataProps,{children:m.a.oneOfType([m.a.arrayOf(m.a.node),m.a.node]),color:m.a.oneOfType([m.a.string,m.a.func]),colorScale:m.a.oneOfType([m.a.arrayOf(m.a.string),m.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),horizontal:m.a.bool,offset:m.a.number})}),Object.defineProperty(C,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:v.a.createElement(x.G,null),groupComponent:v.a.createElement("g",null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:x.J.grayscale}}),Object.defineProperty(C,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent","labelComponent"]}),Object.defineProperty(C,"getChildren",{configurable:!0,enumerable:!0,writable:!0,value:w.b})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){var n=O.M.getStyle(e.theme,e.style,"group"),r=O.m.modifyProps(e,w),a=r.offset,o=r.colorScale,i=r.color,u=r.polar,c=r.horizontal||t.every(function(e){return e.props&&e.props.horizontal}),l=O.M.getCategories(r,t),s=O.M.getDataFromChildren(r),f={x:O.M.getDomain(g()({},r,{categories:l}),"x",t),y:O.M.getDomain(g()({},r,{categories:l}),"y",t)},p={x:O.m.getRange(r,"x"),y:O.m.getRange(r,"y")},d={x:O.w.getScaleFromProps(r,"x")||O.w.getDefaultScale(),y:O.w.getScaleFromProps(r,"y")||O.w.getDefaultScale()},h=d.x.domain(f.x).range(p.x),y=d.y.domain(f.y).range(p.y);return{datasets:s,categories:l,range:p,domain:f,horizontal:c,scale:{x:c?y:h,y:c?h:y},style:n,colorScale:o,color:i,offset:a,origin:u?e.origin:O.m.getPolarOrigin(r),padding:O.m.getPadding(e)}}function c(e,t,n){if(!e.offset)return 0;var a=x.a.Children.toArray(e.children),o=a.some(function(e){return e.props.horizontal}),i=e&&e.horizontal||o.length>0,u=O.m.getCurrentAxis(t,i),c=n.domain[u],l=n.range[u];return(Math.max.apply(Math,r(c))-Math.min.apply(Math,r(c)))/(Math.max.apply(Math,r(l))-Math.min.apply(Math,r(l)))*e.offset}function l(e,t,n){return(n-(t.datasets.length-1)/2)*c(e,"x",t)}function s(e,t,n){return(n-(t.datasets.length-1)/2)*f(e,t)}function f(e,t){var n=t.range,a=Math.abs(n.x[1]-n.x[0]),o=Math.max.apply(Math,r(n.y));return e.offset/(2*Math.PI*o)*a}function p(e,t,n){if(e.labels)return Math.floor(t.length/2)===n?e.labels:void 0}function d(e,t){var n=t.categories,r=t.domain,a=t.range,o=t.scale,i=t.horizontal,u=t.origin,c=t.padding,l=e.width;return{height:e.height,width:l,theme:e.theme,polar:e.polar,origin:u,categories:n,domain:r,range:a,scale:o,horizontal:i,padding:c,standalone:!1}}function h(e,t){var n=t.type&&t.type.role,r=t.props.colorScale||e.colorScale;if("group"===n||"stack"===n)return e.theme&&e.theme.group?r||e.theme.group.colorScale:r}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=e.data||e.y?O.i.getData(e):t,a=n||0;return r.map(function(e){var t=e._x instanceof Date?new Date(e._x.getTime()+a):e._x+a;return g()({},e,{_x1:t})})}function b(e,t,n){e=O.m.modifyProps(e,w,"stack"),t=t||x.a.Children.toArray(e.children),n=n||u(e,t);var r=n,a=r.datasets,o=e,i=o.labelComponent,c=o.polar,f=d(e,n),b=e.name||"group";return t.map(function(t,r){var o=t.type&&t.type.role,u=c?s(e,n,r):l(e,n,r),d="voronoi"===o||"tooltip"===o||"label"===o?t.props.style:O.M.getChildStyle(t,r,n),m=e.labels?p(e,a,r):t.props.labels,v=t.props.name||"".concat(b,"-").concat(o,"-").concat(r);return x.a.cloneElement(t,g()({labels:m,style:d,key:"".concat(v,"-key-").concat(r),name:v,data:y(e,a[r],u),colorScale:h(e,t),labelComponent:i||t.props.labelComponent,xOffset:"stack"===o?u:void 0},f))})}n.d(t,"b",function(){return b}),n.d(t,"a",function(){return u});var m=n(3),g=n.n(m),v=n(0),x=n.n(v),O=n(1),w={width:450,height:300,padding:50,offset:0}},function(e,t,n){"use strict";var r=n(412);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return C});var s=n(13),f=n.n(s),p=n(4),d=n.n(p),h=n(3),y=n.n(h),b=n(2),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O=n(62),w=n(413),_=n(6),j=n.n(_),P={width:450,height:300,padding:50},C=function(e){function t(e){var n;return a(this,t),n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=x.M.setAnimationState.bind(l(n))),n}return c(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!j()(this.props,e))||(this.setAnimationState(this.props,e),!1)}},{key:"getNewChildren",value:function(e,t,n){var r=Object(w.b)(e,t,n),a=x.M.getAnimationProps.bind(this);return r.map(function(t,n){var r=y()({animate:a(e,t,n)},t.props);return v.a.cloneElement(t,r)})}},{key:"renderContainer",value:function(e,t){var n=d()({},e.props,t);return v.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,a=e.standalone,o=e.theme,i=e.polar,u=e.horizontal,c=e.name,l=t.domain,s=t.scale,f=t.style,p=t.origin;return{domain:l,scale:s,width:n,height:r,standalone:a,theme:o,style:f.parent,horizontal:u,polar:i,origin:p,name:c}}},{key:"render",value:function(){var e=this.constructor.role,t=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,n=x.m.modifyProps(t,P,e),r=n.eventKey,a=n.containerComponent,o=n.standalone,i=n.groupComponent,u=n.externalEventMutations,c=v.a.Children.toArray(n.children),l=Object(w.a)(n,c),s=this.getNewChildren(n,c,l),p=o?this.getContainerProps(n,l):{},d=o?this.renderContainer(a,p):i,h=x.M.getAllEvents(t);return f()(h)?v.a.cloneElement(d,d.props,s):v.a.createElement(O.a,{container:d,eventKey:r,events:h,externalEventMutations:u},s)}}]),t}(v.a.Component);Object.defineProperty(C,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryStack"}),Object.defineProperty(C,"role",{configurable:!0,enumerable:!0,writable:!0,value:"stack"}),Object.defineProperty(C,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},x.h.baseProps,{categories:m.a.oneOfType([m.a.arrayOf(m.a.string),m.a.shape({x:m.a.arrayOf(m.a.string),y:m.a.arrayOf(m.a.string)})]),children:m.a.oneOfType([m.a.arrayOf(m.a.node),m.a.node]),colorScale:m.a.oneOfType([m.a.arrayOf(m.a.string),m.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),fillInMissingData:m.a.bool,horizontal:m.a.bool,labelComponent:m.a.element,labels:m.a.oneOfType([m.a.func,m.a.array]),style:m.a.shape({parent:m.a.object,data:m.a.object,labels:m.a.object}),xOffset:m.a.number})}),Object.defineProperty(C,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:v.a.createElement(x.G,null),groupComponent:v.a.createElement("g",null),scale:"linear",standalone:!0,theme:x.J.grayscale,fillInMissingData:!0}}),Object.defineProperty(C,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent","labelComponent"]}),Object.defineProperty(C,"getChildren",{configurable:!0,enumerable:!0,writable:!0,value:w.b})},function(e,t,n){"use strict";function r(e,t){var n=e.fillInMissingData,r=t.reduce(function(e,t){return t.forEach(function(t){e[t._x instanceof Date?t._x.getTime():t._x]=!0}),e},{}),a=y()(r).map(function(e){return+e}),o=d()(a);return t.map(function(e){var t=0,r=e[0]&&e[0]._x instanceof Date;return o.map(function(a,o){a=+a;var i=e[o-t];if(i){if((r?i._x.getTime():i._x)===a)return i;t++;var u=n?0:null;return a=r?new Date(a):a,{x:a,y:u,_x:a,_y:u}}var c=n?0:null;return a=r?new Date(a):a,{x:a,y:c,_x:a,_y:c}})})}function a(e,t,n){if(e.y0)return e.y0;var r=e._y,a=n.slice(0,t),o=a.reduce(function(t,n){return t.concat(n.filter(function(t){return e._x instanceof Date?t._x.getTime()===e._x.getTime():t._x===e._x}).map(function(e){return e._y||0}))},[]),i=o.length&&o.reduce(function(e,t){return r<0&&t<0||r>=0&&t>=0?+t+e:e},0);return o.some(function(e){return e instanceof Date})?new Date(i):i}function o(e,t,n){var r=e.xOffset||0;return t[n].map(function(e){var o=a(e,n,t)||0;return m()({},e,{_y0:e._y instanceof Date?o?new Date(o):e._y:o,_y1:null===e._y?null:e._y instanceof Date?new Date(+e._y+ +o):e._y+o,_x1:null===e._x?null:e._x instanceof Date?new Date(+e._x+ +r):e._x+r})})}function i(e){var t=x.M.getDataFromChildren(e),n=r(e,t);return n.map(function(t,r){return o(e,n,r)})}function u(e,t){t=t||v.a.Children.toArray(e.children);var n=x.M.getStyle(e.theme,e.style,"stack"),r=e.horizontal||t.every(function(e){return e.props.horizontal}),a=x.M.getCategories(e,t),o=i(e),u=t.map(function(e,t){return v.a.cloneElement(e,{data:o[t]})}),c={x:x.M.getDomain(m()({},e,{categories:a}),"x",u),y:x.M.getDomain(m()({},e,{categories:a}),"y",u)},l={x:x.m.getRange(e,"x"),y:x.m.getRange(e,"y")},s={x:x.w.getScaleFromProps(e,"x")||x.w.getDefaultScale(),y:x.w.getScaleFromProps(e,"y")||x.w.getDefaultScale()},f=s.x.domain(c.x).range(l.x),p=s.y.domain(c.y).range(l.y),d={x:r?p:f,y:r?f:p},h=e.colorScale;return{datasets:o,categories:a,range:l,domain:c,horizontal:r,scale:d,style:n,colorScale:h,role:"stack"}}function c(e,t,n){if(e.labels)return t.length===n+1?e.labels:void 0}function l(e,t){var n=t.categories,r=t.domain,a=t.range,o=t.scale,i=t.horizontal;return{height:e.height,width:e.width,padding:x.m.getPadding(e),standalone:!1,theme:e.theme,categories:n,domain:r,range:a,scale:o,horizontal:i}}function s(e,t){var n=t.type&&t.type.role,r=t.props.colorScale||e.colorScale;if("group"===n||"stack"===n)return e.theme?r||e.theme.props.colorScale:r}function f(e,t,n){e=x.m.modifyProps(e,O,"stack"),t=t||v.a.Children.toArray(e.children),n=n||u(e,t);var r=n,a=r.datasets,o=l(e,n),i=e.name||"stack";return t.map(function(t,r){var u=t.type&&t.type.role,l=a[r],f=x.M.getChildStyle(t,r,n),p=e.labels?c(e,a,r):t.props.labels,d=t.props.name||"".concat(i,"-").concat(u,"-").concat(r);return v.a.cloneElement(t,m()({key:"".concat(d,"-key-").concat(r),labels:p,name:d,domainPadding:t.props.domainPadding||e.domainPadding,theme:e.theme,labelComponent:e.labelComponent||t.props.labelComponent,style:f,colorScale:s(e,t),data:l,polar:e.polar},o))})}n.d(t,"b",function(){return f}),n.d(t,"a",function(){return u});var p=n(30),d=n.n(p),h=n(12),y=n.n(h),b=n(3),m=n.n(b),g=n(0),v=n.n(g),x=n(1),O={width:450,height:300,padding:50}},function(e,t,n){"use strict";var r=n(415);n.d(t,"b",function(){return r.a});var a=n(174);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),s=n.n(l),f=n(2),p=n.n(f),d=n(1),h=n(174),y=n(441),b={endAngle:360,height:400,innerRadius:0,cornerRadius:0,padAngle:0,padding:30,width:400,startAngle:0,colorScale:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],labelPosition:"centroid"},m=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"shouldAnimate",value:function(){return Boolean(this.props.animate)}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=d.m.modifyProps(this.props,b,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(s.a.Component);Object.defineProperty(m,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","endAngle","height","innerRadius","cornerRadius","padAngle","padding","colorScale","startAngle","style","width"]}),Object.defineProperty(m,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPie"}),Object.defineProperty(m,"role",{configurable:!0,enumerable:!0,writable:!0,value:"pie"}),Object.defineProperty(m,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500,before:function(){return{_y:0,label:" "}}},onEnter:{duration:500,before:function(){return{_y:0,label:" "}},after:function(e){return{y_:e._y,label:e.label}}}}}),Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:p.a.oneOfType([p.a.bool,p.a.object]),colorScale:p.a.oneOfType([p.a.arrayOf(p.a.string),p.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:p.a.element,cornerRadius:p.a.oneOfType([d.u.nonNegative,p.a.func]),data:p.a.array,dataComponent:p.a.element,endAngle:p.a.number,eventKey:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string]),events:p.a.arrayOf(p.a.shape({target:p.a.oneOf(["data","labels","parent"]),eventKey:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string]),eventHandlers:p.a.object})),externalEventMutations:p.a.arrayOf(p.a.shape({callback:p.a.function,childName:p.a.oneOfType([p.a.string,p.a.array]),eventKey:p.a.oneOfType([p.a.array,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string]),mutation:p.a.function,target:p.a.oneOfType([p.a.string,p.a.array])})),groupComponent:p.a.element,height:d.u.nonNegative,innerRadius:p.a.oneOfType([d.u.nonNegative,p.a.func]),labelComponent:p.a.element,labelPosition:p.a.oneOf(["startAngle","centroid","endAngle"]),labelRadius:p.a.oneOfType([d.u.nonNegative,p.a.func]),labels:p.a.oneOfType([p.a.func,p.a.array]),name:p.a.string,origin:p.a.shape({x:d.u.nonNegative,y:d.u.nonNegative}),padAngle:p.a.oneOfType([d.u.nonNegative,p.a.func]),padding:p.a.oneOfType([p.a.number,p.a.shape({top:p.a.number,bottom:p.a.number,left:p.a.number,right:p.a.number})]),radius:p.a.oneOfType([d.u.nonNegative,p.a.func]),sharedEvents:p.a.shape({events:p.a.array,getEventState:p.a.func}),sortKey:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string,p.a.arrayOf(p.a.string)]),sortOrder:p.a.oneOf(["ascending","descending"]),standalone:p.a.bool,startAngle:p.a.number,style:p.a.shape({parent:p.a.object,data:p.a.object,labels:p.a.object}),theme:p.a.object,width:d.u.nonNegative,x:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string,p.a.arrayOf(p.a.string)]),y:p.a.oneOfType([p.a.func,d.u.allOfType([d.u.integer,d.u.nonNegative]),p.a.string,p.a.arrayOf(p.a.string)])}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:[{x:"A",y:1},{x:"B",y:2},{x:"C",y:3},{x:"D",y:1},{x:"E",y:2}],standalone:!0,dataComponent:s.a.createElement(h.a,null),labelComponent:s.a.createElement(d.H,null),containerComponent:s.a.createElement(d.G,null),groupComponent:s.a.createElement("g",null),sortOrder:"ascending",theme:d.J.grayscale}}),Object.defineProperty(m,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(y.a)(e,b)}}),Object.defineProperty(m,"getData",{configurable:!0,enumerable:!0,writable:!0,value:d.i.getData}),Object.defineProperty(m,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(d.N)(m)},function(e,t,n){"use strict";function r(e){return e.innerRadius}function a(e){return e.outerRadius}function o(e){return e.startAngle}function i(e){return e.endAngle}function u(e){return e&&e.padAngle}function c(e,t,n,r,a,o,i,u){var c=n-e,l=r-t,s=i-a,f=u-o,p=(s*(t-o)-f*(e-a))/(f*c-s*l);return[e+p*c,t+p*l]}function l(e,t,n,r,a,o,i){var u=e-n,c=t-r,l=(i?o:-o)/Object(p.l)(u*u+c*c),s=l*c,f=-l*u,d=e+s,h=t+f,y=n+s,b=r+f,m=(d+y)/2,g=(h+b)/2,v=y-d,x=b-h,O=v*v+x*x,w=a-o,_=d*b-y*h,j=(x<0?-1:1)*Object(p.l)(Object(p.h)(0,w*w*O-_*_)),P=(_*x-v*j)/O,C=(-_*v-x*j)/O,M=(_*x+v*j)/O,A=(-_*v+x*j)/O,k=P-m,E=C-g,T=M-m,S=A-g;return k*k+E*E>T*T+S*S&&(P=M,C=A),{cx:P,cy:C,x01:-s,y01:-f,x11:P*(a/w-1),y11:C*(a/w-1)}}var s=n(41),f=n(22),p=n(42);t.a=function(){function e(){var e,r,a=+t.apply(this,arguments),o=+n.apply(this,arguments),i=y.apply(this,arguments)-p.g,u=b.apply(this,arguments)-p.g,f=Object(p.a)(u-i),v=u>i;if(g||(g=e=Object(s.a)()),o<a&&(r=o,o=a,a=r),o>p.f)if(f>p.m-p.f)g.moveTo(o*Object(p.e)(i),o*Object(p.k)(i)),g.arc(0,0,o,i,u,!v),a>p.f&&(g.moveTo(a*Object(p.e)(u),a*Object(p.k)(u)),g.arc(0,0,a,u,i,v));else{var x,O,w=i,_=u,j=i,P=u,C=f,M=f,A=m.apply(this,arguments)/2,k=A>p.f&&(h?+h.apply(this,arguments):Object(p.l)(a*a+o*o)),E=Object(p.i)(Object(p.a)(o-a)/2,+d.apply(this,arguments)),T=E,S=E;if(k>p.f){var D=Object(p.c)(k/a*Object(p.k)(A)),N=Object(p.c)(k/o*Object(p.k)(A));(C-=2*D)>p.f?(D*=v?1:-1,j+=D,P-=D):(C=0,j=P=(i+u)/2),(M-=2*N)>p.f?(N*=v?1:-1,w+=N,_-=N):(M=0,w=_=(i+u)/2)}var L=o*Object(p.e)(w),R=o*Object(p.k)(w),z=a*Object(p.e)(P),I=a*Object(p.k)(P);if(E>p.f){var V=o*Object(p.e)(_),B=o*Object(p.k)(_),F=a*Object(p.e)(j),W=a*Object(p.k)(j);if(f<p.j){var q=C>p.f?c(L,R,F,W,V,B,z,I):[z,I],U=L-q[0],H=R-q[1],G=V-q[0],Y=B-q[1],K=1/Object(p.k)(Object(p.b)((U*G+H*Y)/(Object(p.l)(U*U+H*H)*Object(p.l)(G*G+Y*Y)))/2),X=Object(p.l)(q[0]*q[0]+q[1]*q[1]);T=Object(p.i)(E,(a-X)/(K-1)),S=Object(p.i)(E,(o-X)/(K+1))}}M>p.f?S>p.f?(x=l(F,W,L,R,o,S,v),O=l(V,B,z,I,o,S,v),g.moveTo(x.cx+x.x01,x.cy+x.y01),S<E?g.arc(x.cx,x.cy,S,Object(p.d)(x.y01,x.x01),Object(p.d)(O.y01,O.x01),!v):(g.arc(x.cx,x.cy,S,Object(p.d)(x.y01,x.x01),Object(p.d)(x.y11,x.x11),!v),g.arc(0,0,o,Object(p.d)(x.cy+x.y11,x.cx+x.x11),Object(p.d)(O.cy+O.y11,O.cx+O.x11),!v),g.arc(O.cx,O.cy,S,Object(p.d)(O.y11,O.x11),Object(p.d)(O.y01,O.x01),!v))):(g.moveTo(L,R),g.arc(0,0,o,w,_,!v)):g.moveTo(L,R),a>p.f&&C>p.f?T>p.f?(x=l(z,I,V,B,a,-T,v),O=l(L,R,F,W,a,-T,v),g.lineTo(x.cx+x.x01,x.cy+x.y01),T<E?g.arc(x.cx,x.cy,T,Object(p.d)(x.y01,x.x01),Object(p.d)(O.y01,O.x01),!v):(g.arc(x.cx,x.cy,T,Object(p.d)(x.y01,x.x01),Object(p.d)(x.y11,x.x11),!v),g.arc(0,0,a,Object(p.d)(x.cy+x.y11,x.cx+x.x11),Object(p.d)(O.cy+O.y11,O.cx+O.x11),v),g.arc(O.cx,O.cy,T,Object(p.d)(O.y11,O.x11),Object(p.d)(O.y01,O.x01),!v))):g.arc(0,0,a,P,j,v):g.lineTo(z,I)}else g.moveTo(0,0);if(g.closePath(),e)return g=null,e+""||null}var t=r,n=a,d=Object(f.a)(0),h=null,y=o,b=i,m=u,g=null;return e.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+y.apply(this,arguments)+ +b.apply(this,arguments))/2-p.j/2;return[Object(p.e)(r)*e,Object(p.k)(r)*e]},e.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(+n),e):t},e.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),e):n},e.cornerRadius=function(t){return arguments.length?(d="function"==typeof t?t:Object(f.a)(+t),e):d},e.padRadius=function(t){return arguments.length?(h=null==t?null:"function"==typeof t?t:Object(f.a)(+t),e):h},e.startAngle=function(t){return arguments.length?(y="function"==typeof t?t:Object(f.a)(+t),e):y},e.endAngle=function(t){return arguments.length?(b="function"==typeof t?t:Object(f.a)(+t),e):b},e.padAngle=function(t){return arguments.length?(m="function"==typeof t?t:Object(f.a)(+t),e):m},e.context=function(t){return arguments.length?(g=null==t?null:t,e):g},e}},function(e,t,n){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new r}var o=Math.PI,i=2*o,u=i-1e-6;r.prototype=a.prototype={constructor:r,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+o)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var i=this._x1,u=this._y1,c=n-e,l=r-t,s=i-e,f=u-t,p=s*s+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(p>1e-6)if(Math.abs(f*c-l*s)>1e-6&&a){var d=n-i,h=r-u,y=c*c+l*l,b=d*d+h*h,m=Math.sqrt(y),g=Math.sqrt(p),v=a*Math.tan((o-Math.acos((y+p-b)/(2*m*g)))/2),x=v/g,O=v/m;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*s)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*d>s*h)+","+(this._x1=e+O*c)+","+(this._y1=t+O*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,a,c){e=+e,t=+t,n=+n;var l=n*Math.cos(r),s=n*Math.sin(r),f=e+l,p=t+s,d=1^c,h=c?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&(this._+="L"+f+","+p),n&&(h<0&&(h=h%i+i),h>u?this._+="A"+n+","+n+",0,1,"+d+","+(e-l)+","+(t-s)+"A"+n+","+n+",0,1,"+d+","+(this._x1=f)+","+(this._y1=p):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=o)+","+d+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.a=a},function(e,t,n){"use strict";var r=n(22),a=n(419),o=n(420),i=n(42);t.a=function(){function e(e){var r,a,o,f,p,d=e.length,h=0,y=new Array(d),b=new Array(d),m=+c.apply(this,arguments),g=Math.min(i.m,Math.max(-i.m,l.apply(this,arguments)-m)),v=Math.min(Math.abs(g)/d,s.apply(this,arguments)),x=v*(g<0?-1:1);for(r=0;r<d;++r)(p=b[y[r]=r]=+t(e[r],r,e))>0&&(h+=p);for(null!=n?y.sort(function(e,t){return n(b[e],b[t])}):null!=u&&y.sort(function(t,n){return u(e[t],e[n])}),r=0,o=h?(g-d*x)/h:0;r<d;++r,m=f)a=y[r],p=b[a],f=m+(p>0?p*o:0)+x,b[a]={data:e[a],index:r,value:p,startAngle:m,endAngle:f,padAngle:v};return b}var t=o.a,n=a.a,u=null,c=Object(r.a)(0),l=Object(r.a)(i.m),s=Object(r.a)(0);return e.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),e):t},e.sortValues=function(t){return arguments.length?(n=t,u=null,e):n},e.sort=function(t){return arguments.length?(u=t,n=null,e):u},e.startAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),e):c},e.endAngle=function(t){return arguments.length?(l="function"==typeof t?t:Object(r.a)(+t),e):l},e.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Object(r.a)(+t),e):s},e}},function(e,t,n){"use strict";t.a=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(176),a=n(175),o=n(177);t.a=function(){var e=Object(a.a)().curve(r.a),t=e.curve,n=e.lineX0,i=e.lineX1,u=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return Object(o.b)(n())},delete e.lineX0,e.lineEndAngle=function(){return Object(o.b)(i())},delete e.lineX1,e.lineInnerRadius=function(){return Object(o.b)(u())},delete e.lineY0,e.lineOuterRadius=function(){return Object(o.b)(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t(Object(r.b)(e)):t()._curve},e}},function(e,t,n){"use strict";function r(e){return e.source}function a(e){return e.target}function o(e){function t(){var t,r=d.a.call(arguments),a=n.apply(this,r),l=o.apply(this,r);if(c||(c=t=Object(p.a)()),e(c,+i.apply(this,(r[0]=a,r)),+u.apply(this,r),+i.apply(this,(r[0]=l,r)),+u.apply(this,r)),t)return c=null,t+""||null}var n=r,o=a,i=y.a,u=y.b,c=null;return t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(e){return arguments.length?(o=e,t):o},t.x=function(e){return arguments.length?(i="function"==typeof e?e:Object(h.a)(+e),t):i},t.y=function(e){return arguments.length?(u="function"==typeof e?e:Object(h.a)(+e),t):u},t.context=function(e){return arguments.length?(c=null==e?null:e,t):c},t}function i(e,t,n,r,a){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,a,r,a)}function u(e,t,n,r,a){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+a)/2,r,n,r,a)}function c(e,t,n,r,a){var o=Object(b.a)(t,n),i=Object(b.a)(t,n=(n+a)/2),u=Object(b.a)(r,n),c=Object(b.a)(r,a);e.moveTo(o[0],o[1]),e.bezierCurveTo(i[0],i[1],u[0],u[1],c[0],c[1])}function l(){return o(i)}function s(){return o(u)}function f(){var e=o(c);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}t.a=l,t.c=s,t.b=f;var p=n(41),d=n(179),h=n(22),y=n(103),b=n(178)},function(e,t,n){"use strict";n.d(t,"b",function(){return p});var r=n(41),a=n(180),o=n(181),i=n(182),u=n(183),c=n(184),l=n(185),s=n(186),f=n(22),p=[a.a,o.a,i.a,c.a,u.a,l.a,s.a];t.a=function(){function e(){var e;if(o||(o=e=Object(r.a)()),t.apply(this,arguments).draw(o,+n.apply(this,arguments)),e)return o=null,e+""||null}var t=Object(f.a)(a.a),n=Object(f.a)(64),o=null;return e.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(n),e):t},e.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),e):n},e.context=function(t){return arguments.length?(o=null==t?null:t,e):o},e}},function(e,t,n){"use strict";function r(e){this._context=e}var a=n(64),o=n(65);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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Object(o.c)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e){this._context=e}var a=n(65);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(e,t){switch(e=+e,t=+t,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+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Object(a.c)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e,t){this._basis=new a.a(e),this._beta=t}var a=n(65);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,a=e[0],o=t[0],i=e[n]-a,u=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(a+r*i),this._beta*t[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.a=function e(t){function n(e){return 1===t?new a.a(e):new r(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._alpha=t}var a=n(187),o=n(64),i=n(104);r.prototype={areaStart:o.a,areaEnd:o.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Object(i.b)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new r(e,t):new a.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._alpha=t}var a=n(188),o=n(104);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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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(o.b)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new r(e,t):new a.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";function r(e){this._context=e}var a=n(64);r.prototype={areaStart:a.a,areaEnd:a.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function a(e,t,n){var a=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(a||o<0&&-0),u=(n-e._y1)/(o||a<0&&-0),c=(i*o+u*a)/(a+o);return(r(i)+r(u))*Math.min(Math.abs(i),Math.abs(u),.5*Math.abs(c))||0}function o(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function i(e,t,n){var r=e._x0,a=e._y0,o=e._x1,i=e._y1,u=(o-r)/3;e._context.bezierCurveTo(r+u,a+u*t,o-u,i-u*n,o,i)}function u(e){this._context=e}function c(e){this._context=new l(e)}function l(e){this._context=e}function s(e){return new u(e)}function f(e){return new c(e)}t.a=s,t.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:i(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,i(this,o(this,n=a(this,e,t)),n);break;default:i(this,this._t0,n=a(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(c.prototype=Object.create(u.prototype)).point=function(e,t){u.prototype.point.call(this,t,e)},l.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,o){this._context.bezierCurveTo(t,e,r,n,o,a)}}},function(e,t,n){"use strict";function r(e){this._context=e}function a(e){var t,n,r=e.length-1,a=new Array(r),o=new Array(r),i=new Array(r);for(a[0]=0,o[0]=2,i[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,o[t]=4,i[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,o[r-1]=7,i[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/o[t-1],o[t]-=n,i[t]-=n*i[t-1];for(a[r-1]=i[r-1]/o[r-1],t=r-2;t>=0;--t)a[t]=(i[t]-a[t+1])/o[t];for(o[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-a[t+1];return[a,o]}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=a(e),o=a(t),i=0,u=1;u<n;++i,++u)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[u],t[u]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e,t){this._context=e,this._t=t}function a(e){return new r(e,0)}function o(e){return new r(e,1)}t.c=a,t.b=o,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}},t.a=function(e){return new r(e,.5)}},function(e,t,n){"use strict";function r(e,t){return e[t]}var a=n(179),o=n(22),i=n(43),u=n(44);t.a=function(){function e(e){var r,a,o=t.apply(this,arguments),i=e.length,u=o.length,s=new Array(u);for(r=0;r<u;++r){for(var f,p=o[r],d=s[r]=new Array(i),h=0;h<i;++h)d[h]=f=[0,+l(e[h],p,h,e)],f.data=e[h];d.key=p}for(r=0,a=n(s);r<u;++r)s[a[r]].index=r;return c(s,a),s}var t=Object(o.a)([]),n=u.a,c=i.a,l=r;return e.keys=function(n){return arguments.length?(t="function"==typeof n?n:Object(o.a)(a.a.call(n)),e):t},e.value=function(t){return arguments.length?(l="function"==typeof t?t:Object(o.a)(+t),e):l},e.order=function(t){return arguments.length?(n=null==t?u.a:"function"==typeof t?t:Object(o.a)(a.a.call(t)),e):n},e.offset=function(t){return arguments.length?(c=null==t?i.a:t,e):c},e}},function(e,t,n){"use strict";var r=n(43);t.a=function(e,t){if((a=e.length)>0){for(var n,a,o,i=0,u=e[0].length;i<u;++i){for(o=n=0;n<a;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<a;++n)e[n][i][1]/=o}Object(r.a)(e,t)}}},function(e,t,n){"use strict";t.a=function(e,t){if((u=e.length)>1)for(var n,r,a,o,i,u,c=0,l=e[t[0]].length;c<l;++c)for(o=i=0,n=0;n<u;++n)(a=(r=e[t[n]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=a):a<0?(r[1]=i,r[0]=i+=a):r[0]=o}},function(e,t,n){"use strict";var r=n(43);t.a=function(e,t){if((n=e.length)>0){for(var n,a=0,o=e[t[0]],i=o.length;a<i;++a){for(var u=0,c=0;u<n;++u)c+=e[u][a][1]||0;o[a][1]+=o[a][0]=-c/2}Object(r.a)(e,t)}}},function(e,t,n){"use strict";var r=n(43);t.a=function(e,t){if((o=e.length)>0&&(a=(n=e[t[0]]).length)>0){for(var n,a,o,i=0,u=1;u<a;++u){for(var c=0,l=0,s=0;c<o;++c){for(var f=e[t[c]],p=f[u][1]||0,d=f[u-1][1]||0,h=(p-d)/2,y=0;y<c;++y){var b=e[t[y]];h+=(b[u][1]||0)-(b[u-1][1]||0)}l+=p,s+=h*p}n[u-1][1]+=n[u-1][0]=i,l&&(i-=s/l)}n[u-1][1]+=n[u-1][0]=i,Object(r.a)(e,t)}}},function(e,t,n){"use strict";var r=n(105);t.a=function(e){return Object(r.a)(e).reverse()}},function(e,t,n){"use strict";var r=n(44),a=n(105);t.a=function(e){var t,n,o=e.length,i=e.map(a.b),u=Object(r.a)(e).sort(function(e,t){return i[t]-i[e]}),c=0,l=0,s=[],f=[];for(t=0;t<o;++t)n=u[t],c<l?(c+=i[n],s.push(n)):(l+=i[n],f.push(n));return f.reverse().concat(s)}},function(e,t,n){"use strict";var r=n(44);t.a=function(e){return Object(r.a)(e).reverse()}},function(e,t,n){"use strict";n.d(t,"a",function(){return k});var r=n(9),a=n.n(r),o=n(24),i=n.n(o),u=n(5),c=n.n(u),l=n(4),s=n.n(l),f=n(3),p=n.n(f),d=n(40),h=n(1),y=function(e){return void 0===e||null===e?e:"".concat(e)},b=function(e,t,n){return e&&e.data&&e.data.fill?e.data.fill:t&&t[n%t.length]},m=function(e,t){return"number"==typeof e.radius?e.radius:Math.min(e.width-t.left-t.right,e.height-t.top-t.bottom)/2},g=function(e,t){var n=e.width,r=e.height,a=i()(e.origin)?e.origin:{};return{x:void 0!==a.x?a.x:(t.left-t.right+n)/2,y:void 0!==a.y?a.y:(t.top-t.bottom+r)/2}},v=function(e,t){return d.pie().sort(null).startAngle(h.m.degreesToRadians(e.startAngle)).endAngle(h.m.degreesToRadians(e.endAngle)).padAngle(h.m.degreesToRadians(e.padAngle)).value(function(e){return e._y})(t)},x=function(e){var t=e.theme,n=e.colorScale,r=t&&t.pie&&t.pie.style?t.pie.style:{},a=h.m.getStyles(e.style,r,"auto","100%"),o=Array.isArray(n)?n:h.y.getColorScale(n),i=h.m.getPadding(e),u=m(e,i),c=g(e,i),l=h.i.getData(e);return{style:a,colors:o,padding:i,defaultRadius:u,data:l,slices:v(e,l),origin:c}},O=function(e,t){var n=t.style,r=t.colors,a=b(n,r,e);return p()({fill:a},n.data)},w=function(e,t,n){var r;return r=t.label?t.label:Array.isArray(e.labels)?e.labels[n]:c()(e.labels)?e.labels(t):t.xName||t._x,y(r)},_=function(e,t,n){var r=n&&n.padding||0,a=t||e+r;return d.arc().outerRadius(a).innerRadius(a)},j=function(e,t,n){var r={startAngle:"startAngle"===n?t.endAngle:t.startAngle,endAngle:"endAngle"===n?t.startAngle:t.endAngle},a=p()({},t,r);return e.centroid(a)},P=function(e){var t=function(e){return e*(180/Math.PI)},n=t(e.startAngle),r=t(e.endAngle),a=n+(r-n)/2;return a<45||a>315?"top":a>=45&&a<135?"right":a>=135&&a<225?"bottom":"left"},C=function(e){return"top"===e||"bottom"===e?"middle":"right"===e?"start":"end"},M=function(e){return"left"===e||"right"===e?"middle":"bottom"===e?"start":"end"},A=function(e,t,n){var r=t.index,a=t.datum,o=t.data,i=t.slice,u=n.style,c=n.defaultRadius,l=n.origin,s=h.m.evaluateStyle(p()({padding:0},u.labels),a,e.active),f=h.m.evaluateProp(e.labelRadius,a),d=_(c,f,s),y=j(d,i,e.labelPosition),b=P(i);return{index:r,datum:a,data:o,slice:i,orientation:b,style:s,x:Math.round(y[0])+l.x,y:Math.round(y[1])+l.y,text:w(e,a,r),textAnchor:s.textAnchor||C(b),verticalAnchor:s.verticalAnchor||M(b),angle:s.angle}},k=function(e,t){e=h.m.modifyProps(e,t,"pie");var n=x(e),r=n.slices,o=n.style,i=n.data,u=n.origin,c=n.defaultRadius,l=e,f=l.labels,p=l.events,d=l.sharedEvents,y=l.height,b=l.width,m=l.standalone,g=l.name,v=l.innerRadius,_=l.cornerRadius,j=l.padAngle,P=e.radius||c,C={parent:{standalone:m,height:y,width:b,slices:r,name:g,style:o.parent}};return r.reduce(function(t,r,o){var c=s()({},i[o],{startAngle:h.m.radiansToDegrees(r.startAngle),endAngle:h.m.radiansToDegrees(r.endAngle),padAngle:h.m.radiansToDegrees(r.padAngle)}),l=a()(c.eventKey)?o:c.eventKey,y={index:o,slice:r,datum:c,data:i,origin:u,innerRadius:v,radius:P,cornerRadius:_,padAngle:j,style:O(o,n)};t[l]={data:y};var b=w(e,c,o);return(void 0!==b&&null!==b||f&&(p||d))&&(t[l].labels=A(e,y,n)),t},C)}},function(e,t,n){"use strict";var r=n(443);n.d(t,"b",function(){return r.a});var a=n(189);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(444),y=n(189),b=n(1),m={width:450,height:300,padding:50,interpolation:"linear"},g={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]},v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=b.m.modifyProps(this.props,m,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderContinuousData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(d.a.Component);Object.defineProperty(v,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","style","width"]}),Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{interpolation:f.a.oneOf(["basis","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),label:b.u.deprecated(f.a.string,"Use `labels` instead for individual data labels")})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(b.G,null),dataComponent:d.a.createElement(y.a,null),groupComponent:d.a.createElement(b.F,null),labelComponent:d.a.createElement(b.H,{renderInPortal:!0}),samples:50,scale:"linear",sortKey:"x",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(v,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryArea"}),Object.defineProperty(v,"role",{configurable:!0,enumerable:!0,writable:!0,value:"area"}),Object.defineProperty(v,"continuous",{configurable:!0,enumerable:!0,writable:!0,value:!0}),Object.defineProperty(v,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousTransitions()}),Object.defineProperty(v,"defaultPolarTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousPolarTransitions()}),Object.defineProperty(v,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.k.getDomainWithZero}),Object.defineProperty(v,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.i.getData}),Object.defineProperty(v,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,m)}}),Object.defineProperty(v,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(v,g)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return h});var u=n(9),c=n.n(u),l=n(3),s=n.n(l),f=n(1),p=function(e,t){var n=f.i.getData(e);n.length<2&&(n=[]);var a="log"===f.w.getType(t.y)?1/Number.MAX_SAFE_INTEGER:0,o=t.y.domain(),i=Math.min.apply(Math,r(o))>0?Math.min.apply(Math,r(o)):a;return n.map(function(e){if((void 0!==e._y1||void 0!==e._y)&&void 0!==e._y0)return e;var t=void 0!==e._y1?e._y1:e._y,n=void 0!==e._y0?e._y0:i;return s()({},e,{_y0:n,_y1:t})})},d=function(e){var t=e.theme,n=e.polar,r=t&&t.area&&t.area.style?t.area.style:{},a=f.m.getStyles(e.style,r),o={x:f.m.getRange(e,"x"),y:f.m.getRange(e,"y")},i={x:f.k.getDomainWithZero(e,"x"),y:f.k.getDomainWithZero(e,"y")},u={x:f.w.getBaseScale(e,"x").domain(i.x).range(o.x),y:f.w.getBaseScale(e,"y").domain(i.y).range(o.y)},c=n?e.origin||f.m.getPolarOrigin(e):void 0;return{style:a,data:p(e,u),scale:u,domain:i,origin:c}},h=function(e,t){var n=f.m.modifyProps(e,t,"area");e=s()({},n,d(n));var r=e,a=r.data,o=r.domain,i=r.events,u=r.groupComponent,l=r.height,p=r.interpolation,h=r.origin,y=r.padding,b=r.polar,m=r.scale,g=r.sharedEvents,v=r.standalone,x=r.style,O=r.theme,w=r.width,_=r.labels,j=r.name,P={parent:{style:x.parent,width:w,height:l,scale:m,data:a,domain:o,standalone:v,theme:O,polar:b,origin:h,padding:y,name:j},all:{data:{polar:b,origin:h,scale:m,data:a,interpolation:p,groupComponent:u,style:x.data}}};return a.reduce(function(t,n,r){var a=f.n.getText(e,n,r);if(void 0!==a&&null!==a||_&&(i||g)){t[c()(n.eventKey)?r:n.eventKey]={labels:f.n.getProps(e,r)}}return t},P)}},function(e,t,n){"use strict";var r=n(446);n.d(t,"b",function(){return r.a});var a=n(190);n.d(t,"a",function(){return a.a});n(191)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(447),y=n(190),b=n(1),m={width:450,height:300,padding:50},g=[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=b.m.modifyProps(this.props,m,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(d.a.Component);Object.defineProperty(v,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","style","width"]}),Object.defineProperty(v,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBar"}),Object.defineProperty(v,"role",{configurable:!0,enumerable:!0,writable:!0,value:"bar"}),Object.defineProperty(v,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}}}}),Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{alignment:f.a.oneOf(["start","middle","end"]),barRatio:f.a.number,barWidth:f.a.oneOfType([f.a.number,f.a.func]),cornerRadius:f.a.oneOfType([f.a.number,f.a.func,f.a.shape({top:f.a.oneOfType([f.a.number,f.a.func]),topLeft:f.a.oneOfType([f.a.number,f.a.func]),topRight:f.a.oneOfType([f.a.number,f.a.func]),bottom:f.a.oneOfType([f.a.number,f.a.func]),bottomLeft:f.a.oneOfType([f.a.number,f.a.func]),bottomRight:f.a.oneOfType([f.a.number,f.a.func])})]),getPath:f.a.func,horizontal:f.a.bool})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(b.G,null),data:g,dataComponent:d.a.createElement(y.a,null),groupComponent:d.a.createElement("g",{role:"presentation"}),labelComponent:d.a.createElement(b.H,null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(v,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.k.getDomainWithZero}),Object.defineProperty(v,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.i.getData}),Object.defineProperty(v,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,m)}}),Object.defineProperty(v,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(v)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(9),a=n.n(r),o=n(3),i=n.n(o),u=n(1),c=function(e,t){var n=function(n){var r="log"===u.w.getType(e.scale[n])?1/Number.MAX_SAFE_INTEGER:0;return t["_".concat(n)]instanceof Date?new Date(r):r},r=void 0!==t._y0?t._y0:n("y"),a=void 0!==t._x0?t._x0:n("x");return u.m.scalePoint(e,i()({},t,{_y0:r,_x0:a}))},l=function(e){var t=e.theme,n=e.horizontal,r=e.polar,a=t&&t.bar&&t.bar.style?t.bar.style:{},o=u.m.getStyles(e.style,a),i=u.i.getData(e),c={x:u.m.getRange(e,"x"),y:u.m.getRange(e,"y")},l={x:u.k.getDomainWithZero(e,"x"),y:u.k.getDomainWithZero(e,"y")},s=u.w.getBaseScale(e,"x").domain(l.x).range(c.x),f=u.w.getBaseScale(e,"y").domain(l.y).range(c.y);return{style:o,data:i,scale:{x:n?f:s,y:n?s:f},domain:l,origin:r?e.origin||u.m.getPolarOrigin(e):void 0}},s=function(e,t){var n=u.m.modifyProps(e,t,"bar");e=i()({},n,l(n));var r=e,o=r.alignment,s=r.barRatio,f=r.cornerRadius,p=r.data,d=r.domain,h=r.events,y=r.height,b=r.horizontal,m=r.origin,g=r.padding,v=r.polar,x=r.scale,O=r.sharedEvents,w=r.standalone,_=r.style,j=r.theme,P=r.width,C=r.labels,M=r.name,A=r.barWidth,k=r.getPath,E={parent:{domain:d,scale:x,width:P,height:y,data:p,standalone:w,name:M,theme:j,polar:v,origin:m,padding:g,style:_.parent}};return p.reduce(function(t,n,r){var i=a()(n.eventKey)?r:n.eventKey,l=c(e,n),d=l.x,g=l.y,w=l.y0,j=l.x0,M={alignment:o,barRatio:s,cornerRadius:f,data:p,datum:n,horizontal:b,index:r,polar:v,origin:m,scale:x,style:_.data,width:P,height:y,x:d,y:g,y0:w,x0:j,barWidth:A,getPath:k};t[i]={data:M};var E=u.n.getText(e,n,r);return(void 0!==E&&null!==E||C&&(h||O))&&(t[i].labels=u.n.getProps(e,r)),t},E)}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r});var r=function(e,t){return{x:e,y:t,distance:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},add:function(e){return r(this.x+e.x,this.y+e.y)},subtract:function(e){return r(this.x-e.x,this.y-e.y)},scalarMult:function(e){return r(this.x*e,this.y*e)},scalarDivide:function(e){if(0===e)throw new Error("Division by 0 error");return r(this.x/e,this.y/e)},equals:function(e){return this.x===e.x&&this.y===e.y}}},a=function(e,t){return{center:e,radius:t,hasIntersection:function(e){var t=this.center,n=e.center,r=this.radius,a=e.radius,o=t.distance(n);return!(o>r+a)&&!(o<Math.abs(r-a))},equals:function(e){var t=this.center,n=e.center;return this.radius===e.radius&&t.equals(n)},intersection:function(e){var t=this.center,n=e.center,a=this.radius,o=e.radius,i=t.distance(n);if(!this.hasIntersection(e)||this.equals(e))return[];var u=(Math.pow(a,2)-Math.pow(o,2)+Math.pow(i,2))/(2*i),c=Math.sqrt(Math.pow(a,2)-Math.pow(u,2)),l=t.add(n.subtract(t).scalarMult(u).scalarDivide(i)),s=t.x,f=t.y,p=n.x,d=n.y,h=l.x,y=l.y,b=[r(h-c*(d-f)/i,y+c*(p-s)/i),r(h+c*(d-f)/i,y-c*(p-s)/i)];return b.sort(function(e,t){return e.x-t.x}),b},solveX:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.y,2));return[this.center.x-t,this.center.x+t]},solveY:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.x,2));return[this.center.y-t,this.center.y+t]}}}},function(e,t,n){"use strict";var r=n(450);n.d(t,"b",function(){return r.a});var a=n(192);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(9),f=n.n(s),p=n(2),d=n.n(p),h=n(0),y=n.n(h),b=n(1),m=n(192),g=n(451),v={width:450,height:300,padding:50,candleColors:{positive:"#ffffff",negative:"#252525"}},x=[{x:new Date(2016,6,1),open:5,close:10,high:15,low:0},{x:new Date(2016,6,2),open:10,close:15,high:20,low:5},{x:new Date(2016,6,3),open:15,close:20,high:25,low:10},{x:new Date(2016,6,4),open:20,close:25,high:30,low:15},{x:new Date(2016,6,5),open:25,close:30,high:35,low:20},{x:new Date(2016,6,6),open:30,close:35,high:40,low:25},{x:new Date(2016,6,7),open:35,close:40,high:45,low:30},{x:new Date(2016,6,8),open:40,close:45,high:50,low:35}],O=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"shouldRenderDatum",value:function(e){return!(f()(e._x)||f()(e._high)||f()(e._low)||f()(e._close)||f()(e._open))}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=b.m.modifyProps(this.props,v,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderData(r,this.shouldRenderDatum);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(y.a.Component);Object.defineProperty(O,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","samples","size","style","width"]}),Object.defineProperty(O,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryCandlestick"}),Object.defineProperty(O,"role",{configurable:!0,enumerable:!0,writable:!0,value:"candlestick"}),Object.defineProperty(O,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.discreteTransitions()}),Object.defineProperty(O,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{candleColors:d.a.shape({positive:d.a.string,negative:d.a.string}),candleRatio:d.a.number,candleWidth:d.a.oneOfType([d.a.func,d.a.number]),close:d.a.oneOfType([d.a.func,b.u.allOfType([b.u.integer,b.u.nonNegative]),d.a.string,d.a.arrayOf(d.a.string)]),high:d.a.oneOfType([d.a.func,b.u.allOfType([b.u.integer,b.u.nonNegative]),d.a.string,d.a.arrayOf(d.a.string)]),low:d.a.oneOfType([d.a.func,b.u.allOfType([b.u.integer,b.u.nonNegative]),d.a.string,d.a.arrayOf(d.a.string)]),open:d.a.oneOfType([d.a.func,b.u.allOfType([b.u.integer,b.u.nonNegative]),d.a.string,d.a.arrayOf(d.a.string)]),wickStrokeWidth:d.a.number})}),Object.defineProperty(O,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:y.a.createElement(b.G,null),data:x,dataComponent:y.a.createElement(m.a,null),groupComponent:y.a.createElement("g",{role:"presentation"}),labelComponent:y.a.createElement(b.H,null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(O,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:g.c}),Object.defineProperty(O,"getData",{configurable:!0,enumerable:!0,writable:!0,value:g.b}),Object.defineProperty(O,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(g.a)(e,v)}}),Object.defineProperty(O,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(O)},function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"c",function(){return f}),n.d(t,"b",function(){return c});var r=n(9),a=n.n(r),o=n(3),i=n.n(o),u=n(1),c=function(e){var t=["x","high","low","close","open"];return u.i.formatData(e.data,e,t)},l=function(e,t,n){var r={min:"_low",max:"_high"},a="x"===t?"_x":r[n],o="min"===n?1/0:-1/0;return e.reduce(function(e,t){var r=t[a];return e<r&&"min"===n||e>r&&"max"===n?e:r},o)},s=function(e,t){var n=u.k.getMinFromProps(e,t),r=u.k.getMaxFromProps(e,t),a=c(e);if(a.length<1){var o=u.w.getBaseScale(e,t).domain(),i=void 0!==n?n:u.g.getMinValue(o),s=void 0!==r?r:u.g.getMaxValue(o);return u.k.getDomainFromMinMax(i,s)}var f=void 0!==n?n:l(a,t,"min"),p=void 0!==r?r:l(a,t,"max");return u.k.getDomainFromMinMax(f,p)},f=function(e,t){return u.k.createDomainFunction(s)(e,t)},p=function(e){var t=e.theme,n=e.polar,r=t&&t.candlestick&&t.candlestick.style?t.candlestick.style:{},a=u.m.getStyles(e.style,r),o=c(e),i={x:u.m.getRange(e,"x"),y:u.m.getRange(e,"y")},l={x:f(e,"x"),y:f(e,"y")};return{domain:l,data:o,scale:{x:u.w.getBaseScale(e,"x").domain(l.x).range(i.x),y:u.w.getBaseScale(e,"y").domain(l.y).range(i.y)},style:a,origin:n?e.origin||u.m.getPolarOrigin(e):void 0}},d=function(e){return"none"===e||"transparent"===e},h=function(e,t,n){t=t||{};var r=e.open>e.close?n.candleColors.negative:n.candleColors.positive,a=t.fill||r,o=t.stroke,u=d(o)?a:o||"black";return i()({},t,{stroke:u,fill:a})},y=function(e,t,n){var r=e.x,a=e.high,o=e.index,i=e.scale,u=e.datum,c=e.data,l=n.labels||{};return{style:l,y:a-(l.padding||0),x:r,text:t,index:o,scale:i,datum:u,data:c,textAnchor:l.textAnchor,verticalAnchor:l.verticalAnchor||"end",angle:l.angle}},b=function(e,t){e=u.m.modifyProps(e,t,"candlestick");var n=p(e),r=n.data,o=n.style,i=n.scale,c=n.domain,l=n.origin,s=e,f=s.groupComponent,d=s.width,b=s.height,m=s.padding,g=s.standalone,v=s.name,x=s.candleWidth,O=s.candleRatio,w=s.theme,_=s.polar,j=s.wickStrokeWidth,P=s.labels,C=s.events,M=s.sharedEvents,A={parent:{domain:c,scale:i,width:d,height:b,data:r,standalone:g,theme:w,polar:_,origin:l,name:v,style:o.parent,padding:m}};return r.reduce(function(t,n,c){var s=a()(n.eventKey)?c:n.eventKey,p=i.x(void 0!==n._x1?n._x1:n._x),b=i.y(n._high),m=i.y(n._close),g=i.y(n._open),v=i.y(n._low),w=h(n,o.data,e),A={x:p,high:b,low:v,candleWidth:x,candleRatio:O,scale:i,data:r,datum:n,groupComponent:f,index:c,style:w,width:d,polar:_,origin:l,wickStrokeWidth:j,open:g,close:m};t[s]={data:A};var k=u.n.getText(e,n,c);return(void 0!==k&&null!==k||P&&(C||M))&&(t[s].labels=y(A,k,o)),t},A)}},function(e,t,n){"use strict";var r=n(453);n.d(t,"b",function(){return r.a});var a=n(193);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=n(193),b=n(454),m={width:450,height:300,padding:50},g=[{x:1,y:1,errorX:.1,errorY:.1},{x:2,y:2,errorX:.2,errorY:.2},{x:3,y:3,errorX:.3,errorY:.3},{x:4,y:4,errorX:.4,errorY:.4}],v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=h.m.modifyProps(this.props,m,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(d.a.Component);Object.defineProperty(v,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","samples","style","width","errorX","errorY","borderWidth"]}),Object.defineProperty(v,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryErrorBar"}),Object.defineProperty(v,"role",{configurable:!0,enumerable:!0,writable:!0,value:"errorbar"}),Object.defineProperty(v,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:h.j.discreteTransitions()}),Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.baseProps,h.h.dataProps,{borderWidth:f.a.number,errorX:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),errorY:f.a.oneOfType([f.a.func,h.u.allOfType([h.u.integer,h.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),horizontal:f.a.bool})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(h.G,null),data:g,dataComponent:d.a.createElement(y.a,null),labelComponent:d.a.createElement(h.H,null),groupComponent:d.a.createElement("g",{role:"presentation"}),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:h.J.grayscale}}),Object.defineProperty(v,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.c}),Object.defineProperty(v,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.b}),Object.defineProperty(v,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(b.a)(e,m)}}),Object.defineProperty(v,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(h.N)(v)},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return u});var r=n(9),a=n.n(r),o=n(1),i=function(e,t,n){var r={x:"_errorX",y:"_errorY"},a=e[r[n]];return 0!==a&&(Array.isArray(a)?[0!==a[0]&&t[n](a[0]+e["_".concat(n)]),0!==a[1]&&t[n](e["_".concat(n)]-a[1])]:[t[n](a+e["_".concat(n)]),t[n](e["_".concat(n)]-a)])},u=function(e){var t=["x","y","errorX","errorY"];if(e.data)return o.i.formatData(e.data,e,t);var n=e.errorX||e.errorY?o.i.generateData(e):[];return o.i.formatData(n,e,t)},c=function(e,t){var n=o.k.getMinFromProps(e,t),r=o.k.getMaxFromProps(e,t),a=u(e);if(a.length<1){var i=o.w.getBaseScale(e,t).domain(),c=void 0!==n?n:o.g.getMinValue(i),l=void 0!==r?r:o.g.getMaxValue(i);return o.k.getDomainFromMinMax(c,l)}var s=o.m.getCurrentAxis(t,e.horizontal),f="x"===s?"_errorX":"_errorY",p=function(e){var t="min"===e?1/0:-1/0,n="min"===e?1:0,r="min"===e?-1:1;return a.reduce(function(t,a){var o=Array.isArray(a[f])?a[f][n]:a[f],i=a["_".concat(s)]+r*(o||0);return t<i&&"min"===e||t>i&&"max"===e?t:i},t)},d=void 0!==n?n:p("min"),h=void 0!==r?r:p("max");return o.k.getDomainFromMinMax(d,h)},l=function(e,t){return o.k.createDomainFunction(c)(e,t)},s=function(e){var t=e.theme&&e.theme.errorbar&&e.theme.errorbar.style?e.theme.errorbar.style:{},n=o.m.getStyles(e.style,t)||{},r=u(e),a={x:o.m.getRange(e,"x"),y:o.m.getRange(e,"y")},i={x:l(e,"x"),y:l(e,"y")};return{domain:i,data:r,scale:{x:o.w.getBaseScale(e,"x").domain(i.x).range(a.x),y:o.w.getBaseScale(e,"y").domain(i.y).range(a.y)},style:n,origin:e.polar?e.origin||o.m.getPolarOrigin(e):void 0}},f=function(e,t,n){var r=e.x,a=e.index,o=e.scale,i=e.errorY,u=i&&Array.isArray(i)?i[0]:i,c=u||e.y,l=n.labels||{};return{style:l,y:c-(l.padding||0),x:r,text:t,index:a,scale:o,datum:e.datum,data:e.data,textAnchor:l.textAnchor,verticalAnchor:l.verticalAnchor||"end",angle:l.angle}},p=function(e,t){e=o.m.modifyProps(e,t,"errorbar");var n=s(e),r=n.data,u=n.style,c=n.scale,l=n.domain,p=n.origin,d=e,h=d.groupComponent,y=d.height,b=d.width,m=d.borderWidth,g=d.standalone,v=d.theme,x=d.polar,O=d.padding,w=d.labels,_=d.events,j=d.sharedEvents,P=d.name,C={parent:{domain:l,scale:c,data:r,height:y,width:b,standalone:g,theme:v,polar:x,origin:p,name:P,padding:O,style:u.parent}};return r.reduce(function(t,n,l){var s=a()(n.eventKey)?l:n.eventKey,p=c.x(void 0!==n._x1?n._x1:n._x),d=c.y(void 0!==n._y1?n._y1:n._y),y={x:p,y:d,scale:c,datum:n,data:r,index:l,groupComponent:h,borderWidth:m,style:u.data,errorX:i(n,c,"x"),errorY:i(n,c,"y")};t[s]={data:y};var b=o.n.getText(e,n,l);return(void 0!==b&&null!==b||w&&(_||j))&&(t[s].labels=f(y,b,u)),t},C)}},function(e,t,n){"use strict";var r=n(456);n.d(t,"b",function(){return r.a});var a=n(194);n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(457),y=n(194),b=n(1),m={width:450,height:300,padding:50,interpolation:"linear"},g={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]},v=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=b.m.modifyProps(this.props,m,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderContinuousData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(d.a.Component);Object.defineProperty(v,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","samples","style","width"]}),Object.defineProperty(v,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLine"}),Object.defineProperty(v,"role",{configurable:!0,enumerable:!0,writable:!0,value:"line"}),Object.defineProperty(v,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousTransitions()}),Object.defineProperty(v,"defaultPolarTransitions",{configurable:!0,enumerable:!0,writable:!0,value:b.j.continuousPolarTransitions()}),Object.defineProperty(v,"continuous",{configurable:!0,enumerable:!0,writable:!0,value:!0}),Object.defineProperty(v,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},b.h.baseProps,b.h.dataProps,{interpolation:f.a.oneOf(["basis","bundle","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),label:b.u.deprecated(f.a.string,"Use `labels` instead for individual data labels")})}),Object.defineProperty(v,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(b.G,null),dataComponent:d.a.createElement(y.a,null),labelComponent:d.a.createElement(b.H,{renderInPortal:!0}),groupComponent:d.a.createElement(b.F,null),samples:50,scale:"linear",sortKey:"x",sortOrder:"ascending",standalone:!0,theme:b.J.grayscale}}),Object.defineProperty(v,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:b.k.getDomain}),Object.defineProperty(v,"getData",{configurable:!0,enumerable:!0,writable:!0,value:b.i.getData}),Object.defineProperty(v,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,m)}}),Object.defineProperty(v,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(b.N)(v,g)},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(9),a=n.n(r),o=n(3),i=n.n(o),u=n(1),c=function(e){var t=u.i.getData(e);t.length<2&&(t=[]);var n={x:u.m.getRange(e,"x"),y:u.m.getRange(e,"y")},r={x:u.k.getDomain(e,"x"),y:u.k.getDomain(e,"y")},a={x:u.w.getBaseScale(e,"x").domain(r.x).range(n.x),y:u.w.getBaseScale(e,"y").domain(r.y).range(n.y)},o=e.polar?e.origin||u.m.getPolarOrigin(e):void 0,i=e.theme&&e.theme.line&&e.theme.line.style?e.theme.line.style:{};return{domain:r,data:t,scale:a,style:u.m.getStyles(e.style,i),origin:o}},l=function(e,t){var n=u.m.modifyProps(e,t,"line");e=i()({},n,c(n));var r=e,o=r.data,l=r.domain,s=r.events,f=r.groupComponent,p=r.height,d=r.interpolation,h=r.origin,y=r.padding,b=r.polar,m=r.scale,g=r.sharedEvents,v=r.standalone,x=r.style,O=r.theme,w=r.width,_=r.labels,j=r.name,P={parent:{style:x.parent,scale:m,data:o,height:p,width:w,name:j,domain:l,standalone:v,polar:b,origin:h,padding:y},all:{data:{polar:b,origin:h,scale:m,data:o,interpolation:d,groupComponent:f,theme:O,style:x.data}}};return o.reduce(function(t,n,r){var o=u.n.getText(e,n,r);if(void 0!==o&&null!==o||_&&(s||g)){t[a()(n.eventKey)?r:n.eventKey]={labels:u.n.getProps(e,r)}}return t},P)}},function(e,t,n){"use strict";var r=n(459);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(2),f=n.n(s),p=n(0),d=n.n(p),h=n(1),y=n(460),b={width:450,height:300,padding:50,size:3,symbol:"circle"},m=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=h.m.modifyProps(this.props,b,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(d.a.Component);Object.defineProperty(m,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","maxBubbleSize","padding","samples","size","style","width"]}),Object.defineProperty(m,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryScatter"}),Object.defineProperty(m,"role",{configurable:!0,enumerable:!0,writable:!0,value:"scatter"}),Object.defineProperty(m,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:h.j.discreteTransitions()}),Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},h.h.baseProps,h.h.dataProps,{bubbleProperty:f.a.string,maxBubbleSize:h.u.nonNegative,minBubbleSize:h.u.nonNegative,size:f.a.oneOfType([h.u.nonNegative,f.a.func]),symbol:f.a.oneOfType([f.a.oneOf(["circle","diamond","plus","minus","square","star","triangleDown","triangleUp"]),f.a.func])})}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:d.a.createElement(h.G,null),dataComponent:d.a.createElement(h.s,null),labelComponent:d.a.createElement(h.H,null),groupComponent:d.a.createElement("g",null),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:h.J.grayscale}}),Object.defineProperty(m,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:h.k.getDomain}),Object.defineProperty(m,"getData",{configurable:!0,enumerable:!0,writable:!0,value:h.i.getData}),Object.defineProperty(m,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(y.a)(e,b)}}),Object.defineProperty(m,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(h.N)(m)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return g});var u=n(9),c=n.n(u),l=n(100),s=n.n(l),f=n(3),p=n.n(f),d=n(1),h=function(e,t){return t.bubbleProperty?"circle":e.symbol||t.symbol},y=function(e,t){var n=t.data,a=t.z,o=t.maxBubbleSize,i=t.minBubbleSize,u=n.map(function(e){return e[a]}),c=Math.min.apply(Math,r(u)),l=Math.max.apply(Math,r(u)),f=o||function(){var e=Math.min.apply(Math,r(s()(d.m.getPadding(t))));return Math.max(e,5)}(),p=i||.1*f;if(l===c)return Math.max(p,1);var h=Math.PI*Math.pow(f,2),y=Math.PI*Math.pow(p,2),b=(e[a]-c)/(l-c)*h,m=Math.max(b,y),g=Math.sqrt(m/Math.PI);return Math.max(g,1)},b=function(e,t){var n=t.size,r=t.z;return e.size?"function"==typeof e.size?e.size:Math.max(e.size,1):"function"==typeof t.size?n:e[r]?y(e,t):Math.max(n||0,1)},m=function(e){var t=e.theme&&e.theme.scatter&&e.theme.scatter.style?e.theme.scatter.style:{},n=d.m.getStyles(e.style,t),r=d.i.getData(e),a={x:d.m.getRange(e,"x"),y:d.m.getRange(e,"y")},o={x:d.k.getDomain(e,"x"),y:d.k.getDomain(e,"y")};return{domain:o,data:r,scale:{x:d.w.getBaseScale(e,"x").domain(o.x).range(a.x),y:d.w.getBaseScale(e,"y").domain(o.y).range(a.y)},style:n,origin:e.polar?e.origin||d.m.getPolarOrigin(e):void 0,z:e.bubbleProperty||"z"}},g=function(e,t){var n=d.m.modifyProps(e,t,"scatter");e=p()({},n,m(n));var r=e,a=r.data,o=r.domain,i=r.events,u=r.height,l=r.origin,s=r.padding,f=r.polar,y=r.scale,g=r.name,v=r.sharedEvents,x=r.standalone,O=r.style,w=r.theme,_=r.width,j=r.labels,P={parent:{style:O.parent,scale:y,domain:o,data:a,height:u,width:_,standalone:x,theme:w,origin:l,polar:f,padding:s,name:g}};return a.reduce(function(t,n,r){var o=c()(n.eventKey)?r:n.eventKey,u=d.m.scalePoint(e,n),s=u.x,p=u.y,m={x:s,y:p,datum:n,data:a,index:r,scale:y,polar:f,origin:l,size:b(n,e),symbol:h(n,e),style:O.data};t[o]={data:m};var g=d.n.getText(e,n,r);return(void 0!==g&&null!==g||j&&(i||v))&&(t[o].labels=d.n.getProps(e,r)),t},P)}},function(e,t,n){"use strict";var r=n(462);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=n(9),y=n.n(h),b=n(57),m=n.n(b),g=n(0),v=n.n(g),x=n(2),O=n.n(x),w=n(1),_=n(463),j={width:450,height:300,padding:{top:20,right:20,bottom:20,left:20}},P=[{x:1,min:5,q1:7,median:12,q3:18,max:20},{x:2,min:2,q1:5,median:8,q3:12,max:15}],C={components:[{name:"min"},{name:"minLabels"},{name:"max"},{name:"maxLabels"},{name:"median"},{name:"medianLabels"},{name:"q1"},{name:"q1Labels"},{name:"q3"},{name:"q3Labels"},{name:"parent",index:"parent"}]},M=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),s(t,[{key:"renderBoxPlot",value:function(e){var t=this,n=["q1","q3","max","min","median"],r=m()(n.map(function(n){return t.dataKeys.reduce(function(r,a,o){var i=e["".concat(n,"Component")],u=t.getComponentProps(i,n,o);return t.shouldRenderDatum(u.datum)&&r.push(v.a.cloneElement(i,u)),r},[])})),o=m()(n.map(function(n){return t.dataKeys.map(function(r,a){var o="".concat(n,"Labels"),i=e["".concat(n,"LabelComponent")],u=t.getComponentProps(i,o,a);if(void 0!==u.text&&null!==u.text)return v.a.cloneElement(i,u)}).filter(Boolean)})),i=a(r).concat(a(o));return this.renderContainer(e.groupComponent,i)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"shouldRenderDatum",value:function(e){var t=!y()(e._x),n=!y()(e._y);return!(y()(e._min)||y()(e._max)||y()(e._median)||y()(e._q1)||y()(e._q3))&&(this.props.horizontal?n:t)}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=w.m.modifyProps(this.props,j,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderBoxPlot(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(v.a.Component);Object.defineProperty(M,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","style","width"]}),Object.defineProperty(M,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBoxPlot"}),Object.defineProperty(M,"role",{configurable:!0,enumerable:!0,writable:!0,value:"boxplot"}),Object.defineProperty(M,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:w.j.discreteTransitions()}),Object.defineProperty(M,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},w.h.baseProps,w.h.dataProps,{boxWidth:O.a.number,events:O.a.arrayOf(O.a.shape({target:O.a.oneOf(["max","maxLabels","median","medianLabels","min","minLabels","q1","q1Labels","q3","q3Labels","parent"]),eventKey:O.a.oneOfType([O.a.array,w.u.allOfType([w.u.integer,w.u.nonNegative]),O.a.string]),eventHandlers:O.a.object})),horizontal:O.a.bool,labelOrientation:O.a.oneOfType([O.a.oneOf(["top","bottom","left","right"]),O.a.exact({q1:O.a.oneOf(["top","bottom","left","right"]),q3:O.a.oneOf(["top","bottom","left","right"]),min:O.a.oneOf(["top","bottom","left","right"]),max:O.a.oneOf(["top","bottom","left","right"]),median:O.a.oneOf(["top","bottom","left","right"])})]),labels:O.a.bool,max:O.a.oneOfType([O.a.func,w.u.allOfType([w.u.integer,w.u.nonNegative]),O.a.string,O.a.arrayOf(O.a.string)]),maxComponent:O.a.element,maxLabelComponent:O.a.element,maxLabels:O.a.oneOfType([O.a.func,O.a.array,O.a.bool]),median:O.a.oneOfType([O.a.func,w.u.allOfType([w.u.integer,w.u.nonNegative]),O.a.string,O.a.arrayOf(O.a.string)]),medianComponent:O.a.element,medianLabelComponent:O.a.element,medianLabels:O.a.oneOfType([O.a.func,O.a.array,O.a.bool]),min:O.a.oneOfType([O.a.func,w.u.allOfType([w.u.integer,w.u.nonNegative]),O.a.string,O.a.arrayOf(O.a.string)]),minComponent:O.a.element,minLabelComponent:O.a.element,minLabels:O.a.oneOfType([O.a.func,O.a.array,O.a.bool]),q1:O.a.oneOfType([O.a.func,w.u.allOfType([w.u.integer,w.u.nonNegative]),O.a.string,O.a.arrayOf(O.a.string)]),q1Component:O.a.element,q1LabelComponent:O.a.element,q1Labels:O.a.oneOfType([O.a.func,O.a.array,O.a.bool]),q3:O.a.oneOfType([O.a.func,w.u.allOfType([w.u.integer,w.u.nonNegative]),O.a.string,O.a.arrayOf(O.a.string)]),q3Component:O.a.element,q3LabelComponent:O.a.element,q3Labels:O.a.oneOfType([O.a.func,O.a.array,O.a.bool]),style:O.a.shape({boxes:O.a.object,labels:O.a.object,parent:O.a.object,max:O.a.object,maxLabels:O.a.object,median:O.a.object,medianLabels:O.a.object,min:O.a.object,minLabels:O.a.object,q1:O.a.object,q1Labels:O.a.object,q3:O.a.object,q3Labels:O.a.object,whiskers:O.a.object}),whiskerWidth:O.a.number})}),Object.defineProperty(M,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:v.a.createElement(w.G,null),data:P,dataComponent:v.a.createElement(w.d,null),groupComponent:v.a.createElement("g",{role:"presentation"}),maxComponent:v.a.createElement(w.L,null),maxLabelComponent:v.a.createElement(w.H,null),medianComponent:v.a.createElement(w.p,null),medianLabelComponent:v.a.createElement(w.H,null),minComponent:v.a.createElement(w.L,null),minLabelComponent:v.a.createElement(w.H,null),q1Component:v.a.createElement(w.d,null),q1LabelComponent:v.a.createElement(w.H,null),q3Component:v.a.createElement(w.d,null),q3LabelComponent:v.a.createElement(w.H,null),samples:50,scale:"linear",sortKey:"x",sortOrder:"ascending",standalone:!0,theme:w.J.grayscale}}),Object.defineProperty(M,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:_.c}),Object.defineProperty(M,"getData",{configurable:!0,enumerable:!0,writable:!0,value:_.b}),Object.defineProperty(M,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(_.a)(e,j)}}),Object.defineProperty(M,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["maxComponent","maxLabelComponent","medianComponent","medianLabelComponent","minComponent","minLabelComponent","q1Component","q1LabelComponent","q3Component","q3LabelComponent","groupComponent","containerComponent"]}),t.a=Object(w.N)(M,C)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"c",function(){return S}),n.d(t,"b",function(){return A}),n.d(t,"a",function(){return W});var a=n(9),o=n.n(a),i=n(464),u=n.n(i),c=n(12),l=n.n(c),s=n(39),f=n.n(s),p=n(35),d=n.n(p),h=n(3),y=n.n(h),b=n(4),m=n.n(b),g=n(30),v=n.n(g),x=n(1),O=n(14),w=["max","min","median","q1","q3"],_=function(e,t){if(t.every(function(e){return w.every(function(t){return void 0!==e["_".concat(t)]})})){var n=t.map(function(t){var n=t._x,r=t._y;return e.horizontal?r:n});if(!d()(n).length===n.length)throw new Error("\n data prop may only take an array of objects with a unique\n independent variable. Make sure your x or y values are distinct.\n ");return!0}return!1},j=function(e){return u()(e)?null:e},P=function(e,t){var n=e.map(function(e){return t?e._x:e._y}),r={_q1:j(Object(O.f)(n,.25)),_q3:j(Object(O.f)(n,.75)),_min:j(Object(O.e)(n)),_median:j(Object(O.f)(n,.5)),_max:j(Object(O.d)(n))};return t?y()({},r,{_y:e[0]._y}):y()({},r,{_x:e[0]._x})},C=function(e,t){return t.every(function(e){return Array.isArray(e._x)})||e.horizontal},M=function(e,t){if(_(e,t))return t;var n=t.every(function(e){return Array.isArray(e._x)}),a=t.every(function(e){return Array.isArray(e._y)}),o=n||e.horizontal,i=o?"_x":"_y",u=o?"_y":"_x";if(n&&a)throw new Error("\n data may not be given with array values for both x and y\n ");if(n||a)return t.map(function(e){var t=e[i].map(function(t){return y()({},e,r({},i,t))}),n=v()(t,i);return P(n,o)});var c=f()(t,u);return l()(c).map(function(e){var t=c[e],n=v()(t,i);return P(n,o)})},A=function(e){var t=w.concat("x","y"),n=x.i.formatData(e.data,e,t);return n.length?M(e,n):[]},k=function(e,t,n){var r=x.k.getMinFromProps(t,n),a=x.k.getMaxFromProps(t,n),o=void 0!==r?r:e.reduce(function(e,t){return e<t["_".concat(n)]?e:t["_".concat(n)]},1/0),i=void 0!==a?a:e.reduce(function(e,t){return e>t["_".concat(n)]?e:t["_".concat(n)]},-1/0);return x.k.getDomainFromMinMax(o,i)},E=function(e,t,n){var r=x.k.getMinFromProps(t,n),a=x.k.getMaxFromProps(t,n),o=void 0!==r?r:e.reduce(function(e,t){return e<t._min?e:t._min},1/0),i=void 0!==a?a:e.reduce(function(e,t){return e>t._max?e:t._max},-1/0);return x.k.getDomainFromMinMax(o,i)},T=function(e,t){var n=x.k.getMinFromProps(e,t),r=x.k.getMaxFromProps(e,t),a=A(e);if(a.length<1){var o=x.w.getBaseScale(e,t).domain(),i=void 0!==n?n:x.g.getMinValue(o),u=void 0!==r?r:x.g.getMaxValue(o);return x.k.getDomainFromMinMax(i,u)}return e.horizontal&&"x"===t||!e.horizontal&&"y"===t?E(a,e,t):k(a,e,t)},S=function(e,t){return x.k.createDomainFunction(T)(e,t)},D=function(e,t){var n=e.style||{};t=t||{};var r={height:"100%",width:"100%"},a=m()({},n.labels,t.labels),o=m()({},n.boxes,t.boxes),i=m()({},n.whiskers,t.whiskers);return{boxes:o,labels:a,parent:m()({},n.parent,t.parent,r),max:m()({},n.max,t.max,i),maxLabels:m()({},n.maxLabels,t.maxlabels,a),median:m()({},n.median,t.median,i),medianLabels:m()({},n.medianLabels,t.medianlabels,a),min:m()({},n.min,t.min,i),minLabels:m()({},n.minLabels,t.minlabels,a),q1:m()({},n.q1,t.q1,o),q1Labels:m()({},n.q1Labels,t.q1labels,a),q3:m()({},n.q3,t.q3,o),q3Labels:m()({},n.q3Labels,t.q3labels,a),whiskers:i}},N=function(e){var t=e.theme,n=A(e),r=C(e,n),a={x:x.m.getRange(e,"x"),y:x.m.getRange(e,"y")},o={x:S(e,"x"),y:S(e,"y")},i={x:x.w.getBaseScale(e,"x").domain(o.x).range(a.x),y:x.w.getBaseScale(e,"y").domain(o.y).range(a.y)},u=t&&t.boxplot&&t.boxplot.style?t.boxplot.style:{},c=D(e,u),l=r?"top":"right";return{data:n,horizontal:r,domain:o,scale:i,style:c,labelOrientation:e.labelOrientation||l,boxWidth:e.boxWidth||1}},L=function(e,t){var n=e.horizontal,r=e.style,a=e.boxWidth,o=e.whiskerWidth,i=e.datum,u=e.scale,c=e.index,l=e.positions,s=l.min,f=l.max,p=l.q1,d=l.q3,h=l.x,y=l.y,b="min"===t?p:d,m="min"===t?s:f,g="number"==typeof o?o:a;return{datum:i,index:c,scale:u,majorWhisker:{x1:n?b:h,y1:n?y:b,x2:n?m:h,y2:n?y:m},minorWhisker:{x1:n?m:h-g/2,y1:n?y-g/2:m,x2:n?m:h+g/2,y2:n?y+g/2:m},style:r[t]||r.whisker}},R=function(e,t){var n=e.horizontal,r=e.boxWidth,a=e.style,o=e.scale,i=e.datum,u=e.index,c=e.positions,l=c.median,s=c.q1,f=c.q3,p=c.x,d=c.y,h="q1"===t?s:l,y="q1"===t?l:f,b="q1"===t?l-s:f-l,m="q1"===t?s-l:l-f;return{datum:i,scale:o,index:u,x:n?h:p-r/2,y:n?d-r/2:y,width:n?b:r,height:n?r:m,style:a[t]||a.boxes}},z=function(e){var t=e.boxWidth,n=e.horizontal,r=e.style,a=e.datum,o=e.scale,i=e.index,u=e.positions,c=u.median,l=u.x,s=u.y;return{datum:a,scale:o,index:i,x1:n?c:l-t/2,y1:n?s-t/2:c,x2:n?c:l+t/2,y2:n?s+t/2:c,style:r.median}},I=function(e,t){var n=e.datum,r=e.index,a=e.labels,o="".concat(t,"Labels"),i=e[o];if(!i&&!a)return null;if(!0===i||!0===a){return"".concat(n["_".concat(t)])}return Array.isArray(i)?i[r]:i},V=function(e,t){return"object"==typeof e&&e[t]||e},B=function(e,t,n){var r=e.datum,a=e.positions,o=e.index,i=e.boxWidth,u=e.horizontal,c=e.labelOrientation,l=e.style,s=V(c,n),f="".concat(n,"Labels"),p=l[f]||l.labels,d=u?"end":"middle",h=u?"middle":"start",y="number"==typeof e.whiskerWidth?e.whiskerWidth:i,b="min"===n||"max"===n?y:i,m=function(e){var t={x:"left"===s?-1:1,y:"top"===s?-1:1};return a[e]+t[e]*b/2+t[e]*(p.padding||0)};return{text:t,datum:r,index:o,style:p,y:u?m("y"):a[n],x:u?a[n]:m("x"),textAnchor:p.textAnchor||h,verticalAnchor:p.verticalAnchor||d,angle:p.angle}},F=function(e,t){return"median"===t?z(e):"min"===t||"max"===t?L(e,t):R(e,t)},W=function(e,t){var n=x.m.modifyProps(e,t,"boxplot");e=y()({},n,N(n));var r=e,a=r.groupComponent,i=r.width,u=r.height,c=r.padding,l=r.standalone,s=r.theme,f=r.events,p=r.sharedEvents,d=r.scale,h=r.horizontal,b=r.data,m=r.style,g=r.domain,v=r.name,O={parent:{domain:g,scale:d,width:i,height:u,data:b,standalone:l,name:v,theme:s,style:m.parent||{},padding:c,groupComponent:a}},_=h?d.x:d.y;return b.reduce(function(t,n,r){var a=o()(n.eventKey)?r:n.eventKey,i={x:d.x(n._x),y:d.y(n._y),min:_(n._min),max:_(n._max),median:_(n._median),q1:_(n._q1),q3:_(n._q3)},u=y()({index:r,datum:n,positions:i},e),c=w.reduce(function(e,t){return e[t]=F(u,t),e},{});return t[a]=c,w.forEach(function(n){var r=I(u,n),o=e.labels||e["".concat(n,"Labels")];if(null!==r&&void 0!==r||o&&(f||p)){var i="".concat(n,"Labels");t[a][i]=B(u,r,n)}}),t},O)}},function(e,t,n){function r(e){return a(e)&&e!=+e}var a=n(465);e.exports=r},function(e,t,n){function r(e){return"number"==typeof e||o(e)&&a(e)==i}var a=n(76),o=n(50),i="[object Number]";e.exports=r},function(e,t,n){"use strict";var r=n(467);n.d(t,"a",function(){return r.a});var a=n(195);n.d(t,"b",function(){return a.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),f=n.n(s),p=n(1),d=n(195),h=n(468),y={width:450,height:300,padding:50},b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=p.m.modifyProps(this.props,y,n);if(this.shouldAnimate())return this.animateComponent(r,e);var a=this.renderData(r);return r.standalone?this.renderContainer(r.containerComponent,a):a}}]),t}(f.a.Component);Object.defineProperty(b,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","samples","size","style","width"]}),Object.defineProperty(b,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoi"}),Object.defineProperty(b,"role",{configurable:!0,enumerable:!0,writable:!0,value:"voronoi"}),Object.defineProperty(b,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:p.j.discreteTransitions()}),Object.defineProperty(b,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},p.h.baseProps,p.h.dataProps,{size:p.u.nonNegative})}),Object.defineProperty(b,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:f.a.createElement(p.G,null),dataComponent:f.a.createElement(d.a,null),labelComponent:f.a.createElement(p.H,null),groupComponent:f.a.createElement("g",{role:"presentation"}),samples:50,scale:"linear",sortOrder:"ascending",standalone:!0,theme:p.J.grayscale}}),Object.defineProperty(b,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:p.k.getDomain}),Object.defineProperty(b,"getData",{configurable:!0,enumerable:!0,writable:!0,value:p.i.getData}),Object.defineProperty(b,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(h.a)(e,y)}}),Object.defineProperty(b,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]}),t.a=Object(p.N)(b)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return m});var u=n(9),c=n.n(u),l=n(59),s=n.n(l),f=n(3),p=n.n(f),d=n(196),h=n(1),y=function(e,t,n){var a=[Math.min.apply(Math,r(t.x)),Math.min.apply(Math,r(t.y))],o=[Math.max.apply(Math,r(t.x)),Math.max.apply(Math,r(t.y))],i=function(e){return-1*n.x(void 0!==e._x1?e._x1:e._x)+Math.PI/2},u=function(e){return n.x(void 0!==e._x1?e._x1:e._x)};return Object(d.a)().x(function(t){return e.polar?i(t):u(t)}).y(function(e){return n.y(void 0!==e._y1?e._y1:e._y)}).extent([a,o])},b=function(e){var t=e.theme&&e.theme.voronoi&&e.theme.voronoi.style?e.theme.voronoi.style:{},n=h.m.getStyles(e.style,t),r=h.i.getData(e),a={x:h.m.getRange(e,"x"),y:h.m.getRange(e,"y")},o={x:h.k.getDomain(e,"x"),y:h.k.getDomain(e,"y")},i={x:h.w.getBaseScale(e,"x").domain(o.x).range(a.x),y:h.w.getBaseScale(e,"y").domain(o.y).range(a.y)};return{domain:o,data:r,scale:i,style:n,polygons:y(e,a,i).polygons(r),origin:e.polar?e.origin||h.m.getPolarOrigin(e):void 0}},m=function(e,t){var n=h.m.modifyProps(e,t,"scatter");e=p()({},n,b(n));var r=e,a=r.data,o=r.domain,i=r.events,u=r.height,l=r.origin,f=r.padding,d=r.polar,y=r.polygons,m=r.scale,g=r.sharedEvents,v=r.standalone,x=r.style,O=r.theme,w=r.width,_=r.labels,j=r.name,P={parent:{style:x.parent,scale:m,domain:o,data:a,standalone:v,height:u,width:w,theme:O,origin:l,polar:d,padding:f,name:j}};return a.reduce(function(t,n,r){var o=s()(y[r],"data"),u=c()(n.eventKey)?r:n.eventKey,f=h.m.scalePoint(e,n),p=f.x,d=f.y,b={x:p,y:d,datum:n,data:a,index:r,scale:m,polygon:o,origin:l,size:e.size,style:x.data};t[u]={data:b};var v=h.n.getText(e,n,r);return(void 0!==v&&null!==v||_&&(i||g))&&(t[u].labels=h.n.getProps(e,r)),t},P)}},function(e,t,n){"use strict";var r=n(470),a=n(471),o=n(45);t.a=function(){function e(e){return new o.d(e.map(function(r,a){var i=[Math.round(t(r,a,e)/o.f)*o.f,Math.round(n(r,a,e)/o.f)*o.f];return i.index=a,i.data=r,i}),i)}var t=a.a,n=a.b,i=null;return e.polygons=function(t){return e(t).polygons()},e.links=function(t){return e(t).links()},e.triangles=function(t){return e(t).triangles()},e.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),e):t},e.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(r.a)(+t),e):n},e.extent=function(t){return arguments.length?(i=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],e):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},e.size=function(t){return arguments.length?(i=null==t?null:[[0,0],[+t[0],+t[1]]],e):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},e}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(e){return e[0]}function a(e){return e[1]}t.a=r,t.b=a},function(e,t,n){"use strict";function r(){Object(s.a)(this),this.edge=this.site=this.circle=null}function a(e){var t=y.pop()||new r;return t.site=e,t}function o(e){Object(p.b)(e),h.a.remove(e),y.push(e),Object(s.a)(e)}function i(e){var t=e.circle,n=t.x,r=t.cy,a=[n,r],i=e.P,u=e.N,c=[e];o(e);for(var l=i;l.circle&&Math.abs(n-l.circle.x)<h.f&&Math.abs(r-l.circle.cy)<h.f;)i=l.P,c.unshift(l),o(l),l=i;c.unshift(l),Object(p.b)(l);for(var s=u;s.circle&&Math.abs(n-s.circle.x)<h.f&&Math.abs(r-s.circle.cy)<h.f;)u=s.N,c.push(s),o(s),s=u;c.push(s),Object(p.b)(s);var f,y=c.length;for(f=1;f<y;++f)s=c[f],l=c[f-1],Object(d.d)(s.edge,l.site,s.site,a);l=c[0],s=c[y-1],s.edge=Object(d.c)(l.site,s.site,null,a),Object(p.a)(l),Object(p.a)(s)}function u(e){for(var t,n,r,o,i=e[0],u=e[1],s=h.a._;s;)if((r=c(s,u)-i)>h.f)s=s.L;else{if(!((o=i-l(s,u))>h.f)){r>-h.f?(t=s.P,n=s):o>-h.f?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}Object(f.c)(e);var y=a(e);if(h.a.insert(t,y),t||n){if(t===n)return Object(p.b)(t),n=a(t.site),h.a.insert(y,n),y.edge=n.edge=Object(d.c)(t.site,y.site),Object(p.a)(t),void Object(p.a)(n);if(!n)return void(y.edge=Object(d.c)(t.site,y.site));Object(p.b)(t),Object(p.b)(n);var b=t.site,m=b[0],g=b[1],v=e[0]-m,x=e[1]-g,O=n.site,w=O[0]-m,_=O[1]-g,j=2*(v*_-x*w),P=v*v+x*x,C=w*w+_*_,M=[(_*P-x*C)/j+m,(v*C-w*P)/j+g];Object(d.d)(n.edge,b,O,M),y.edge=Object(d.c)(b,e,null,M),n.edge=Object(d.c)(e,O,null,M),Object(p.a)(t),Object(p.a)(n)}}function c(e,t){var n=e.site,r=n[0],a=n[1],o=a-t;if(!o)return r;var i=e.P;if(!i)return-1/0;n=i.site;var u=n[0],c=n[1],l=c-t;if(!l)return u;var s=u-r,f=1/o-1/l,p=s/l;return f?(-p+Math.sqrt(p*p-2*f*(s*s/(-2*l)-c+l/2+a-o/2)))/f+r:(r+u)/2}function l(e,t){var n=e.N;if(n)return c(n,t);var r=e.site;return r[1]===t?r[0]:1/0}t.b=i,t.a=u;var s=n(106),f=n(197),p=n(198),d=n(107),h=n(45),y=[]},function(e,t,n){"use strict";var r=n(474);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){return p(e)||f(e)||s()}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function f(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function p(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}n.d(t,"a",function(){return B});var d=n(34),h=n.n(d),y=n(5),b=n.n(y),m=n(4),g=n.n(m),v=n(3),x=n.n(v),O=n(0),w=n.n(O),_=n(2),j=n.n(_),P=n(1),C=n(6),M=n.n(C),A=1/Number.MAX_SAFE_INTEGER,k=function(e){var t=e.scale,n=void 0===t?{}:t,r=e.dimension,a=void 0===r?"x":r;if(n[a])return n[a];var o=P.w.getBaseScale(e,a),i=P.m.getRange(e,a),u=P.k.getDomainFromProps(e,a)||[0,1];return o.range(i).domain(u),o},E=function(e,t){var n=k(e);return[n(Math.min.apply(Math,l(t))),n(Math.max.apply(Math,l(t)))]},T=function(e,t){var n=k(e);return[n.invert(Math.min.apply(Math,l(t))),n.invert(Math.max.apply(Math,l(t)))]},S=function(e){return k(e).range()},D=function(e){return k(e).domain()},N=function(e,t){return e>=P.g.getMinValue(t)&&e<=P.g.getMaxValue(t)},L=function(e,t){if(e){var n=P.g.getMinValue(e),r=P.g.getMaxValue(e),a=P.g.getMinValue(t),o=P.g.getMaxValue(t),i=n<a?a:o-A,u=r>o?o:a+A;return[N(n,t)?n:i,N(r,t)?r:u]}return t},R=function(e,t,n){var r=e.handleWidth/2,a=e.dimension,o=function(e){var t={min:"x"===a?Math.min.apply(Math,l(n)):Math.max.apply(Math,l(n)),max:"x"===a?Math.max.apply(Math,l(n)):Math.min.apply(Math,l(n))};return[t[e]-r,t[e]+r]},i=["min","max"].reduce(function(e,n){return e[n]=N(t,o(n))?n:void 0,e},{});return i.min&&i.max?"both":i.min||i.max},z=function(){return[0,A]},I=function(e,t){var n=e.brushDomain,r=e.startPosition,a=E(e,n),o=S(e),i=Math.abs(a[1]-a[0]),u=Math.min.apply(Math,l(o)),c=Math.max.apply(Math,l(o)),s=r?r-t:0,f=Math.min.apply(Math,l(a))-s,p=Math.max.apply(Math,l(a))-s;return[f>c-i?c-i:Math.max(f,u),p<u+i?u+i:Math.min(p,c)]},V={brushAreaStyle:{stroke:"none",fill:"black",opacity:function(e,t){return t?.2:.1}},brushStyle:{pointerEvents:"none",stroke:"none",fill:"black",opacity:function(e,t){return t?.4:.3}},handleStyle:{pointerEvents:"none",stroke:"none",fill:"none"}},B=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),o(t,[{key:"getRectDimensions",value:function(e,t,n){var r=e.dimension,a=e.brushDomain;n=n||L(a,D(e));var o=E(e,n),i="x"===r?{y1:e.y1,y2:e.y2,x1:Math.min.apply(Math,l(o)),x2:Math.max.apply(Math,l(o))}:{x1:e.x1,x2:e.x2,y1:Math.min.apply(Math,l(o)),y2:Math.max.apply(Math,l(o))},u=i.x1,c=i.x2,s=i.y1,f=i.y2,p={x:"x"===r?0:t/2,y:"y"===r?0:t/2},d=Math.min(u,c)-p.x,h=Math.min(s,f)-p.y;return{x:d,y:h,width:Math.max(u,c)+p.x-d,height:Math.max(s,f)+p.y-h}}},{key:"getHandleDimensions",value:function(e){var t=e.dimension,n=e.handleWidth,r=e.x1,a=e.x2,o=e.y1,i=e.y2,u=e.brushDomain,c=e.brushWidth||e.width,s=L(u,D(e)),f=E(e,s),p=Math.min(r,a)-c/2,d=Math.min(o,i)-c/2,h={min:"x"===t?Math.min.apply(Math,l(f))-n/2:p,max:"x"===t?Math.max.apply(Math,l(f))-n/2:p},y={min:"y"===t?Math.max.apply(Math,l(f))-n/2:d,max:"y"===t?Math.min.apply(Math,l(f))-n/2:d},b="x"===t?n:c,m="x"===t?c:n;return{min:{x:h.min,y:y.min,width:b,height:m},max:{x:h.max,y:y.max,width:b,height:m}}}},{key:"getCursor",value:function(e){var t=e.dimension,n=e.activeBrushes,r=void 0===n?{}:n;return r.minHandle||r.maxHandle?"x"===t?"ew-resize":"ns-resize":r.brush?"move":"crosshair"}},{key:"renderHandles",value:function(e){var t=e.handleComponent,n=e.handleStyle,r=e.id,a=e.brushDomain,o=e.datum,i=void 0===o?{}:o,u=e.activeBrushes,c=void 0===u?{}:u;if(!a)return null;var l=this.getHandleDimensions(e),s=x()({},V.handleStyle,n),f=x()({handleValue:P.g.getMinValue(a)},i),p=x()({handleValue:P.g.getMaxValue(a)},i),d=x()({key:"".concat(r,"-min"),style:P.m.evaluateStyle(s,f,c.minHandle)},l.min),h=x()({key:"".concat(r,"-max"),style:P.m.evaluateStyle(s,p,c.maxHandle)},l.max);return[w.a.cloneElement(t,d),w.a.cloneElement(t,h)]}},{key:"renderBrush",value:function(e){var t=e.brushComponent,n=e.brushStyle,r=e.activeBrushes,a=void 0===r?{}:r,o=e.datum,i=void 0===o?{}:o;if(!e.brushDomain)return null;var u=e.brushWidth||e.width,c=this.getRectDimensions(e,u),l=x()({},V.brushStyle,n),s=P.m.evaluateStyle(l,i,a.brush),f=x()({style:s},c);return w.a.cloneElement(t,f)}},{key:"renderBrushArea",value:function(e){var t=e.brushAreaComponent,n=e.brushAreaStyle,r=e.activeBrushes,a=void 0===r?{}:r,o=e.datum,i=void 0===o?{}:o,u=e.brushAreaWidth||e.width,c=this.getCursor(e),l=this.getRectDimensions(e,u,D(e)),s=x()({cursor:c},V.brushAreaStyle,n),f=P.m.evaluateStyle(s,i,a.brushArea),p=x()({style:f},l);return w.a.cloneElement(t,p)}},{key:"renderLine",value:function(e){var t=h()(e,["x1","x2","y1","y2","datum","scale","active","style"]);return w.a.cloneElement(e.lineComponent,t)}},{key:"render",value:function(){return w.a.createElement("g",this.props.events,this.renderLine(this.props),this.renderBrushArea(this.props),this.renderBrush(this.props),this.renderHandles(this.props))}}]),t}(w.a.Component);Object.defineProperty(B,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{allowDrag:j.a.bool,allowDraw:j.a.bool,allowResize:j.a.bool,brushAreaComponent:j.a.element,brushAreaStyle:j.a.object,brushAreaWidth:j.a.number,brushComponent:j.a.element,brushDimension:j.a.oneOf(["x","y"]),brushDomain:j.a.array,brushStyle:j.a.object,brushWidth:j.a.number,className:j.a.string,dimension:j.a.oneOf(["x","y"]),disable:j.a.bool,events:j.a.object,groupComponent:j.a.element,handleComponent:j.a.element,handleStyle:j.a.object,handleWidth:j.a.number,id:j.a.oneOfType([j.a.number,j.a.string]),lineComponent:j.a.element,name:j.a.string,onBrushDomainChange:j.a.func,scale:j.a.object,style:j.a.object,type:j.a.string,width:j.a.number}}),Object.defineProperty(B,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{allowDrag:!0,allowDraw:!0,allowResize:!0,brushAreaComponent:w.a.createElement(P.d,null),brushComponent:w.a.createElement(P.d,null),groupComponent:w.a.createElement("g",null),handleComponent:w.a.createElement(P.d,null),handleWidth:10,lineComponent:w.a.createElement(P.p,null),width:10}}),Object.defineProperty(B,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return e.disable?void 0:[{target:e.type,eventHandlers:{onMouseEnter:function(e,t){e.preventDefault();var n=t.dimension,r=t.allowResize,a=t.brushDomain,o=t.parentSVG||P.x.getParentSVG(e),i=P.x.getSVGEventCoordinates(e,o)[n],u=D(t),c=L(a,u),l=E(t,c),s=r&&R(t,i,l),f={brushArea:!t.brushDomain,brush:N(i,l)&&!M()(u,c),minHandle:"min"===s||"both"===s,maxHandle:"min"===s||"both"===s};return[{mutation:function(){return{activeBrushes:f,brushDomain:t.brushDomain,parentSVG:o}}}]},onMouseDown:function(e,t){e.preventDefault();var n=t.allowResize,r=t.allowDrag,a=t.allowDraw,o=t.dimension,i=t.activeBrushes,u=t.brushDomain;if(!n&&!r)return[];var c=D(t),l=L(u,c),s=t.parentSVG||P.x.getParentSVG(e),f=P.x.getSVGEventCoordinates(e,s)[o],p=E(t,l),d=n&&R(t,f,p);return d?[{mutation:function(){return{parentSVG:s,isSelecting:!0,activeHandle:d,brushDomain:l,startPosition:f,activeBrushes:i}}}]:N(f,p)&&!M()(c,l)?[{mutation:function(){return{isPanning:r,startPosition:f,brushDomain:l,activeBrushes:i,parentSVG:s}}}]:a?[{mutation:function(){return{isSelecting:n,brushDomain:null,startPosition:f,activeBrushes:i,parentSVG:s}}}]:[]},onMouseMove:function(e,t){var n=t.isPanning,r=t.isSelecting,a=t.allowResize,o=t.allowDrag,i=t.dimension,u=t.onBrushDomainChange,c=t.brushDomain;(n||r)&&(e.preventDefault(),e.stopPropagation());var s=t.parentSVG||P.x.getParentSVG(e),f=P.x.getSVGEventCoordinates(e,s)[i],p=D(t),d=L(c,p),h=E(t,d),y=R(t,f,h),m={brushArea:!t.brushDomain,brush:N(f,h)&&!M()(p,d),minHandle:"min"===y||"both"===y,maxHandle:"max"===y||"both"===y};if(!t.isPanning&&!t.isSelecting)return[{mutation:function(){return{activeBrushes:m,brushDomain:t.brushDomain,parentSVG:s}}}];if(o&&n){var v=S(t),x=I(t,f),O=T(t,x),w=Math.max.apply(Math,l(x))>=Math.max.apply(Math,l(v))||Math.min.apply(Math,l(x))<=Math.min.apply(Math,l(v))?t.startPosition:f,_={startPosition:w,isPanning:!0,brushDomain:O,activeBrushes:{brush:!0},parentSVG:s};return b()(u)&&u(O,g()({},_,t)),[{mutation:function(){return _}}]}if(a&&r){var j=c||z(),C=E(t,j),A="min"===t.activeHandle?"max":"min",k=t.activeHandle&&"both"===R(t,f,C)?A:t.activeHandle;if(k){var V="x"===i?Math.max.apply(Math,l(C)):Math.min.apply(Math,l(C)),B="x"===i?Math.min.apply(Math,l(C)):Math.max.apply(Math,l(C));j=T(t,["max"===k?B:f,"min"===k?V:f])}else j=T(t,[t.startPosition,f]);var F={brushDomain:j,startPosition:t.startPosition,isSelecting:r,activeHandle:k,parentSVG:s,activeBrushes:{brush:!0,minHandle:"min"===y,maxHandle:"max"===y}};return b()(u)&&u(j,g()({},F,t)),[{mutation:function(){return F}}]}return[]},onMouseUp:function(e,t){var n=t.onBrushDomainChange,r=t.brushDomain,a=t.allowResize,o=t.activeBrushes,i={isPanning:!1,isSelecting:!1,activeHandle:null,startPosition:null,brushDomain:r,activeBrushes:o};return a&&b()(n)&&n(r,g()({},i,t)),[{mutation:function(){return i}}]},onMouseLeave:function(e,t){var n=t.brushDomain;return[{mutation:function(){return{isPanning:!1,isSelecting:!1,activeHandle:null,startPosition:null,brushDomain:n,activeBrushes:{}}}}]}}}]}})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return M});var y=n(4),b=n.n(y),m=n(3),g=n.n(m),v=n(2),x=n.n(v),O=n(0),w=n.n(O),_=n(1),j=n(200),P=n(6),C=n.n(P),M=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getSelectBox",value:function(e,t){var n=t.x,r=t.y,a=e.brushStyle,o=e.brushComponent,i=e.name,u=o.props&&o.props.style,c=e.allowDrag||e.allowResize?"move":"auto";return n[0]!==n[1]&&r[0]!==r[1]?w.a.cloneElement(o,{key:"".concat(i,"-brush"),width:Math.abs(n[1]-n[0])||1,height:Math.abs(r[1]-r[0])||1,x:Math.min(n[0],n[1]),y:Math.min(r[0],r[1]),cursor:c,style:b()({},u,a)}):null}},{key:"getCursorPointers",value:function(e){var t={yProps:"ns-resize",xProps:"ew-resize"};return!e.allowResize&&e.allowDrag?(t.xProps="move",t.yProps="move"):e.allowResize||e.allowDrag||(t.xProps="auto",t.yProps="auto"),t}},{key:"getHandles",value:function(e,t){var n=e.brushDimension,r=e.handleWidth,a=e.handleStyle,o=e.handleComponent,i=e.name,u=t.x,c=t.y,l=Math.abs(u[1]-u[0])||1,s=Math.abs(c[1]-c[0])||1,f=o.props&&o.props.style||{},p=b()({},f,a),d=this.getCursorPointers(e),h={style:p,width:l,height:r,cursor:d.yProps},y={style:p,width:r,height:s,cursor:d.xProps},m={top:"x"!==n&&g()({x:u[0],y:c[1]-r/2},h),bottom:"x"!==n&&g()({x:u[0],y:c[0]-r/2},h),left:"y"!==n&&g()({y:c[1],x:u[0]-r/2},y),right:"y"!==n&&g()({y:c[1],x:u[1]-r/2},y)},v=["top","bottom","left","right"].reduce(function(e,t){return e=m[t]?e.concat(w.a.cloneElement(o,g()({key:"".concat(i,"-handle-").concat(t)},m[t]))):e},[]);return v.length?v:null}},{key:"getRect",value:function(e){var t=e.currentDomain,n=e.cachedBrushDomain,r=b()({},e.brushDomain,e.domain),a=C()(r,n)?b()({},t,r):r,o=_.x.getDomainCoordinates(e,a),i=this.getSelectBox(e,o);return i?[i,this.getHandles(e,o)]:[]}},{key:"getChildren",value:function(e){return o(w.a.Children.toArray(e.children)).concat(o(this.getRect(e)))}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},_.G.propTypes,{allowDrag:x.a.bool,allowDraw:x.a.bool,allowResize:x.a.bool,brushComponent:x.a.element,brushDimension:x.a.oneOf(["x","y"]),brushDomain:x.a.shape({x:x.a.array,y:x.a.array}),brushStyle:x.a.object,defaultBrushArea:x.a.oneOf(["all","disable","none"]),disable:x.a.bool,handleComponent:x.a.element,handleStyle:x.a.object,handleWidth:x.a.number,onBrushCleared:x.a.func,onBrushDomainChange:x.a.func,onBrushDomainChangeEnd:x.a.func})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},_.G.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:w.a.createElement("rect",null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:w.a.createElement("rect",null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:j.a.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:j.a.onMouseDown(t,n)},onMouseMove:function(t,n){return e.disable?{}:j.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:j.a.onMouseMove(t,n)},onMouseUp:function(t,n){return e.disable?{}:j.a.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:j.a.onMouseUp(t,n)},onMouseLeave:function(t,n){return e.disable?{}:j.a.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:j.a.onMouseLeave(t,n)}}}]}}),n};t.b=M(_.G)},function(e,t,n){function r(e,t,n){function r(t){var n=g,r=v;return g=v=void 0,j=t,O=e.apply(r,n)}function s(e){return j=e,w=setTimeout(d,t),P?r(e):O}function f(e){var n=e-_,r=e-j,a=t-n;return C?l(a,x-r):a}function p(e){var n=e-_,r=e-j;return void 0===_||n>=t||n<0||C&&r>=x}function d(){var e=o();if(p(e))return h(e);w=setTimeout(d,f(e))}function h(e){return w=void 0,M&&g?r(e):(g=v=void 0,O)}function y(){void 0!==w&&clearTimeout(w),j=0,g=_=v=w=void 0}function b(){return void 0===w?O:h(o())}function m(){var e=o(),n=p(e);if(g=arguments,v=this,_=e,n){if(void 0===w)return s(_);if(C)return w=setTimeout(d,t),r(_)}return void 0===w&&(w=setTimeout(d,t)),O}var g,v,x,O,w,_,j=0,P=!1,C=!1,M=!0;if("function"!=typeof e)throw new TypeError(u);return t=i(t)||0,a(n)&&(P=!!n.leading,C="maxWait"in n,x=C?c(i(n.maxWait)||0,t):x,M="trailing"in n?!!n.trailing:M),m.cancel=y,m.flush=b,m}var a=n(11),o=n(477),i=n(133),u="Expected a function",c=Math.max,l=Math.min;e.exports=r},function(e,t,n){var r=n(116),a=function(){return r.Date.now()};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function a(e){return u(e)||i(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return M});var y=n(11),b=n.n(y),m=n(3),g=n.n(m),v=n(4),x=n.n(v),O=n(2),w=n.n(O),_=n(0),j=n.n(_),P=n(1),C=n(203),M=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getCursorPosition",value:function(e){var t=e.cursorValue,n=e.defaultCursorValue,r=e.cursorDimension,a=e.domain;return t||("number"==typeof n?c({x:(a.x[0]+a.x[1])/2,y:(a.y[0]+a.y[1])/2},r,n):n)}},{key:"getCursorLabelOffset",value:function(e){var t=e.cursorLabelOffset;return"number"==typeof t?{x:t,y:t}:t}},{key:"getPadding",value:function(e){if(void 0===e.padding){var t=e.children.find(function(e){return b()(e.props)&&void 0!==e.props.padding});return P.m.getPadding(t.props)}return P.m.getPadding(e)}},{key:"getCursorElements",value:function(e){var t=e.scale,n=e.cursorDimension,r=e.cursorLabelComponent,a=e.cursorLabel,o=e.cursorComponent,i=e.width,u=e.height,c=e.name,l=this.getCursorPosition(e),s=this.getCursorLabelOffset(e);if(!l)return[];var f=[],p=this.getPadding(e),d={x:t.x(l.x),y:t.y(l.y)};a&&f.push(j.a.cloneElement(r,x()({active:!0},r.props,{x:d.x+s.x,y:d.y+s.y,text:P.m.evaluateProp(a,l,!0),active:!0,key:"".concat(c,"-cursor-label")})));var h=g()({stroke:"black"},o.props.style);return"x"!==n&&void 0!==n||f.push(j.a.cloneElement(o,{key:"".concat(c,"-x-cursor"),x1:d.x,x2:d.x,y1:p.top,y2:u-p.bottom,style:h})),"y"!==n&&void 0!==n||f.push(j.a.cloneElement(o,{key:"".concat(c,"-y-cursor"),x1:p.left,x2:i-p.right,y1:d.y,y2:d.y,style:h})),f}},{key:"getChildren",value:function(e){return a(j.a.Children.toArray(e.children)).concat(a(this.getCursorElements(e)))}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryCursorContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},P.G.propTypes,{cursorDimension:w.a.oneOf(["x","y"]),cursorLabel:w.a.func,cursorLabelComponent:w.a.element,cursorLabelOffset:w.a.oneOfType([w.a.number,w.a.shape({x:w.a.number,y:w.a.number})]),defaultCursorValue:w.a.oneOfType([w.a.number,w.a.shape({x:w.a.number,y:w.a.number})]),disable:w.a.bool,onCursorChange:w.a.func})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},P.G.defaultProps,{cursorLabelComponent:j.a.createElement(P.H,null),cursorLabelOffset:{x:5,y:-10},cursorComponent:j.a.createElement(P.p,null)})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(){return[]},onTouchCancel:function(){return[]},onMouseMove:function(t,n){return e.disable?{}:C.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:C.a.onMouseMove(t,n)}}}]}}),n};t.b=M(P.G)},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return O});var y=n(2),b=n.n(y),m=n(0),g=n.n(m),v=n(1),x=n(205),O=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getRect",value:function(e){var t=e.x1,n=e.x2,r=e.y1,a=e.y2,o=e.selectionStyle,i=e.selectionComponent,u=e.name,c=Math.abs(n-t)||1,l=Math.abs(a-r)||1,s=Math.min(t,n),f=Math.min(r,a);return a&&n&&t&&r?g.a.cloneElement(i,{key:"".concat(u,"-selection"),x:s,y:f,width:c,height:l,style:o}):null}},{key:"getChildren",value:function(e){return o(g.a.Children.toArray(e.children)).concat([this.getRect(e)])}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySelectionContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},v.G.propTypes,{activateSelectedData:b.a.bool,allowSelection:b.a.bool,disable:b.a.bool,onSelection:b.a.func,onSelectionCleared:b.a.func,selectionBlacklist:b.a.arrayOf(b.a.string),selectionComponent:b.a.element,selectionDimension:b.a.oneOf(["x","y"]),selectionStyle:b.a.object})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},v.G.defaultProps,{activateSelectedData:!0,allowSelection:!0,selectionComponent:g.a.createElement("rect",null),selectionStyle:{stroke:"transparent",fill:"black",fillOpacity:.1}})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:x.a.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:x.a.onMouseDown(t,n)},onMouseMove:function(t,n){return e.disable?{}:x.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:x.a.onMouseMove(t,n)},onMouseUp:function(t,n){return e.disable?{}:x.a.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:x.a.onMouseUp(t,n)}}}]}}),n};t.a=O(v.G)},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function i(e){return l(e)||c(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function c(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function l(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function d(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return k});var b=n(34),m=n.n(b),g=n(5),v=n.n(g),x=n(4),O=n.n(x),w=n(2),_=n.n(w),j=n(0),P=n.n(j),C=n(207),M=n(1),A=n(209),k=function(e){var t,n;return n=t=function(e){function t(){return s(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y(t,e),p(t,[{key:"getLabelPadding",value:function(e){if(!e)return 0;var t=Array.isArray(e)?e.map(function(e){return e.padding}):[e.padding];return Math.max.apply(Math,i(t).concat([0]))}},{key:"getFlyoutSize",value:function(e,t,n){var r=this.getLabelPadding(n),a=M.B.approximateTextSize(t,n);return{x:e.width||a.width+r,y:e.height||a.height+r}}},{key:"getLabelCornerRadius",value:function(e,t){if(void 0!==t.cornerRadius)return t.cornerRadius;var n=e.theme||t.theme;return n.tooltip&&n.tooltip.cornerRadius||0}},{key:"getFlyoutExtent",value:function(e,t,n){var r=n.text,a=n.style,o=n.orientation,u=n.dx,c=void 0===u?0:u,l=n.dy,s=void 0===l?0:l,f=this.getFlyoutSize(t.labelComponent,r,a),p=this.getLabelCornerRadius(t,n),d=e.x+c+2*p,h=e.y+s+2*p,y="top"===o||"bottom"===o?f.x/2:f.x,b="left"===o?-1:1,m="bottom"===o?1:-1,g={};return g.x="top"===o||"bottom"===o?[d-y,d+y]:[d,d+b*y],g.y=[h,h+m*f.y],{x:[Math.min.apply(Math,i(g.x)),Math.max.apply(Math,i(g.x))],y:[Math.min.apply(Math,i(g.y)),Math.max.apply(Math,i(g.y))]}}},{key:"getPoint",value:function(e,t){var n=["_x","_x1","_x0","_y","_y1","_y0"];return e.horizontal?{_x:t._y,_y:t._x,_x1:t._y1,_y1:t._x1,_x0:t._y0,_y0:t._x0}:m()(t,n)}},{key:"getLabelPosition",value:function(e,t,n){var r=e.mousePosition,a=e.voronoiDimension,o=e.scale,u=e.voronoiPadding,c=this.getPoint(e,t[0]),l=M.m.scalePoint(e,c);if(!a||t.length<2)return l;var s="y"===a?r.x:l.x,f="x"===a?r.y:l.y;if(e.polar)return{x:s,y:f};var p={x:o.x.range(),y:o.y.range()},d={x:[Math.min.apply(Math,i(p.x))+u,Math.max.apply(Math,i(p.x))-u],y:[Math.min.apply(Math,i(p.y))+u,Math.max.apply(Math,i(p.y))-u]},h=this.getFlyoutExtent({x:s,y:f},e,n),y={x:[h.x[0]<d.x[0]?d.x[0]-h.x[0]:0,h.x[1]>d.x[1]?h.x[1]-d.x[1]:0],y:[h.y[0]<d.y[0]?d.y[0]-h.y[0]:0,h.y[1]>d.y[1]?h.y[1]-d.y[1]:0]};return{x:Math.round(s+y.x[0]-y.x[1]),y:Math.round(f+y.y[0]-y.y[1])}}},{key:"getStyle",value:function(e,t,n){var r=e.labels,a=e.labelComponent,o=e.theme,i=a.props||{},u=o&&o.voronoi&&o.voronoi.style?o.voronoi.style:{},c="flyout"===n?i.flyoutStyle:i.style;return t.reduce(function(e,a,o){var i=v()(r)?r(a,o,t):void 0,l=void 0!==i?"".concat(i).split("\n"):[],s=a.style&&a.style[n]||{},f=Array.isArray(c)?c[o]:c,p=M.m.evaluateStyle(O()({},f,s,u[n]),a,!0),d=l.length?l.map(function(){return p}):[p];return e=e.concat(d)},[])}},{key:"getDefaultLabelProps",value:function(e,t){var n=e.voronoiDimension,r=e.horizontal,a=this.getPoint(e,t[0]),o=n&&t.length>1,i=void 0!==a._y1?a._y1:a._y,u=i<0?"left":"right",c=i<0?"bottom":"top",l=r?u:c;return{orientation:o?"top":l,pointerLength:o?0:void 0}}},{key:"getLabelProps",value:function(e,t){var n=e.labels,r=e.scale,a=e.labelComponent,i=e.theme,u=t.reduce(function(e,r,a){var o=v()(n)?n(r,a,t):null;return null===o||void 0===o?e:e=e.concat("".concat(o).split("\n"))},[]),c=a.props||{},l=t[0],s=l.childName,f=l.eventKey,p=(l.style,l.continuous,o(l,["childName","eventKey","style","continuous"])),d=e.name===s?s:"".concat(e.name,"-").concat(s),h=O()({key:"".concat(d,"-").concat(f,"-voronoi-tooltip"),id:"".concat(d,"-").concat(f,"-voronoi-tooltip"),active:!0,flyoutStyle:this.getStyle(e,t,"flyout")[0],renderInPortal:!1,style:this.getStyle(e,t,"labels"),datum:p,scale:r,theme:i,text:u},c,this.getDefaultLabelProps(e,t)),y=this.getLabelPosition(e,t,h);return O()({},y,h)}},{key:"getTooltip",value:function(e){var t=e.labels,n=e.activePoints,r=e.labelComponent;return t&&Array.isArray(n)&&n.length?P.a.cloneElement(r,this.getLabelProps(e,n)):null}},{key:"getChildren",value:function(e){return i(P.a.Children.toArray(e.children)).concat([this.getTooltip(e)])}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoiContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},M.G.propTypes,{activateData:_.a.bool,activateLabels:_.a.bool,disable:_.a.bool,labelComponent:_.a.element,labels:_.a.func,onActivated:_.a.func,onDeactivated:_.a.func,radius:_.a.number,voronoiBlacklist:_.a.arrayOf(_.a.string),voronoiDimension:_.a.oneOf(["x","y"]),voronoiPadding:_.a.number})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},M.G.defaultProps,{activateData:!0,activateLabels:!0,labelComponent:P.a.createElement(C.b,null),voronoiPadding:5})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(t,n){return e.disable?{}:A.a.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:A.a.onMouseLeave(t,n)},onMouseMove:function(t,n){return e.disable?{}:A.a.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:A.a.onMouseMove(t,n)}}},{target:"data",eventHandlers:e.disable?{}:{onMouseOver:function(){return null},onMouseOut:function(){return null},onMouseMove:function(){return null}}}]}}),n};t.a=k(M.G)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return C});var d=n(33),h=n.n(d),y=n(4),b=n.n(y),m=n(3),g=n.n(m),v=n(0),x=n.n(v),O=n(2),w=n.n(O),_=n(1),j=n(208),P={cornerRadius:5,pointerLength:10,pointerWidth:10},C=function(e){function t(e){var n;return u(this,t),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n.id=void 0===e.id?h()("tooltip-"):e.id,n}return p(t,e),l(t,[{key:"getDefaultOrientation",value:function(e){var t=e.datum,n=e.horizontal;if(e.polar)return this.getPolarOrientation(e,t);var r=n?"right":"top",a=n?"left":"bottom";return t&&t.y<0?a:r}},{key:"getPolarOrientation",value:function(e,t){var n=_.n.getDegrees(e,t),r=e.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}},{key:"getEvaluatedProps",value:function(e){var t=e.horizontal,n=e.datum,r=e.pointerLength,a=e.pointerWidth,o=e.cornerRadius,i=e.width,u=e.height,c=e.dx,l=e.dy,s=e.text,f=e.active,p=Array.isArray(e.style)?e.style.map(function(e){return _.m.evaluateStyle(e,n,f)}):_.m.evaluateStyle(e.style,n,f),d=_.m.evaluateStyle(e.flyoutStyle,n,f),h=d&&d.padding||0,y=t?h:0,b=t?0:h,m=_.m.evaluateProp(e.orientation,n,f)||this.getDefaultOrientation(e);return g()({},e,{style:p,flyoutStyle:d,orientation:m,dx:void 0!==c?_.m.evaluateProp(c,n,f):y,dy:void 0!==l?_.m.evaluateProp(l,n,f):b,cornerRadius:_.m.evaluateProp(o,n,f),pointerLength:_.m.evaluateProp(r,n,f),pointerWidth:_.m.evaluateProp(a,n,f),width:_.m.evaluateProp(i,n,f),height:_.m.evaluateProp(u,n,f),active:_.m.evaluateProp(f,n,f),text:_.m.evaluateProp(s,n,f)})}},{key:"getCalculatedValues",value:function(e){var t=e.style,n=e.text,r=e.datum,a=e.active,o=e.theme||_.J.grayscale,i=o&&o.tooltip&&o.tooltip.style?o.tooltip.style:{},u=Array.isArray(t)?t.map(function(e){return b()({},e,i)}):b()({},t,i),c=o&&o.tooltip&&o.tooltip.flyoutStyle?o.tooltip.flyoutStyle:{},l=e.flyoutStyle?b()({},e.flyoutStyle,c):c,s=Array.isArray(u)?u.map(function(e){return _.m.evaluateStyle(e,r,a)}):_.m.evaluateStyle(u,r,a),f=_.B.approximateTextSize(n,s),p=this.getDimensions(e,f,s);return{labelStyle:s,flyoutStyle:l,labelSize:f,flyoutDimensions:p,flyoutCenter:this.getFlyoutCenter(e,p),transform:this.getTransform(e)}}},{key:"getTransform",value:function(e){var t=e.x,n=e.y,r=e.style,a=r||{},o=a.angle||e.angle||this.getDefaultAngle(e);return o?"rotate(".concat(o," ").concat(t," ").concat(n,")"):void 0}},{key:"getDefaultAngle",value:function(e){var t=e.polar,n=e.labelPlacement,r=e.orientation,a=e.datum;if(!t||!n||"vertical"===n)return 0;var o,i=_.n.getDegrees(e,a),u=i>90&&i<180||i>270?1:-1,c="perpendicular"===n?0:90;return 0===i||180===i?o="top"===r&&180===i?270:90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+u*c}},{key:"getFlyoutCenter",value:function(e,t){var n=e.x,r=e.y,a=e.dx,o=e.dy,i=e.pointerLength,u=e.orientation,c=t.height,l=t.width,s="left"===u?-1:1,f="bottom"===u?-1:1;return{x:"left"===u||"right"===u?n+s*(i+l/2+a):n+a,y:"top"===u||"bottom"===u?r-f*(i+c/2+o):r-o}}},{key:"getLabelPadding",value:function(e){if(!e)return 0;var t=Array.isArray(e)?e.map(function(e){return e.padding}):[e.padding];return Math.max.apply(Math,r(t).concat([0]))}},{key:"getDimensions",value:function(e,t,n){var r=e.orientation,a=e.cornerRadius,o=e.pointerLength,i=e.pointerWidth,u=this.getLabelPadding(n);return{height:e.height||function(){var e=t.height+u,n="top"===r||"bottom"===r?2*a:2*a+i;return Math.max(n,e)}()+u/2,width:e.width||function(){var e=t.width+u,n="left"===r||"right"===r?2*a+o:2*a;return Math.max(n,e)}()+u}}},{key:"getLabelProps",value:function(e,t){var n=t.flyoutCenter,r=t.labelStyle,a=t.labelSize,o=t.dy,i=t.dx,u=e.text,c=e.datum,l=e.labelComponent,s=e.index,f=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return b()({},l.props,{key:"".concat(this.id,"-label-").concat(s),text:u,datum:c,textAnchor:f,dy:o,dx:i,style:r,x:f&&"middle"!==f?function(){var e="end"===f?-1:1;return n.x-e*(a.width/2)}():n.x,y:n.y,verticalAnchor:"middle",angle:r.angle})}},{key:"getFlyoutProps",value:function(e,t){var n=t.flyoutDimensions,r=t.flyoutStyle,a=e.x,o=e.y,i=e.dx,u=e.dy,c=e.datum,l=e.index,s=e.orientation,f=e.pointerLength,p=e.pointerWidth,d=e.cornerRadius,h=e.events,y=e.flyoutComponent;return b()({},y.props,{x:a,y:o,dx:i,dy:u,datum:c,index:l,orientation:s,pointerLength:f,pointerWidth:p,cornerRadius:d,events:h,key:"".concat(this.id,"-tooltip-").concat(l),width:n.width,height:n.height,style:r})}},{key:"renderTooltip",value:function(e){var t=this.getEvaluatedProps(e),n=t.flyoutComponent,r=t.labelComponent,a=t.groupComponent,o=t.active,i=t.renderInPortal;if(!o)return i?x.a.createElement(_.I,null,null):null;var u=this.getCalculatedValues(t),c=[x.a.cloneElement(n,this.getFlyoutProps(t,u)),x.a.cloneElement(r,this.getLabelProps(t,u))],l=x.a.cloneElement(a,{role:"presentation",transform:u.transform},c);return i?x.a.createElement(_.I,null,l):l}},{key:"render",value:function(){var e=_.m.modifyProps(this.props,P,"tooltip");return this.renderTooltip(e)}}]),t}(x.a.Component);Object.defineProperty(C,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTooltip"}),Object.defineProperty(C,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{activateData:w.a.bool,active:w.a.oneOfType([w.a.bool,w.a.func]),angle:w.a.number,cornerRadius:w.a.oneOfType([_.u.nonNegative,w.a.func]),data:w.a.array,datum:w.a.object,dx:w.a.oneOfType([w.a.number,w.a.func]),dy:w.a.oneOfType([w.a.number,w.a.func]),events:w.a.object,flyoutComponent:w.a.element,flyoutStyle:w.a.object,groupComponent:w.a.element,height:w.a.oneOfType([_.u.nonNegative,w.a.func]),horizontal:w.a.bool,id:w.a.oneOfType([w.a.number,w.a.string]),index:w.a.oneOfType([w.a.number,w.a.string]),labelComponent:w.a.element,orientation:w.a.oneOfType([w.a.oneOf(["top","bottom","left","right"]),w.a.func]),pointerLength:w.a.oneOfType([_.u.nonNegative,w.a.func]),pointerWidth:w.a.oneOfType([_.u.nonNegative,w.a.func]),polar:w.a.bool,renderInPortal:w.a.bool,style:w.a.oneOfType([w.a.object,w.a.array]),text:w.a.oneOfType([w.a.string,w.a.number,w.a.func,w.a.array]),theme:w.a.object,width:w.a.oneOfType([_.u.nonNegative,w.a.func]),x:w.a.number,y:w.a.number}}),Object.defineProperty(C,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{active:!1,renderInPortal:!0,labelComponent:x.a.createElement(_.H,null),flyoutComponent:x.a.createElement(j.a,null),groupComponent:x.a.createElement("g",null)}}),Object.defineProperty(C,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"data",eventHandlers:{onMouseOver:function(){return e.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 e.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 e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}]},onTouchEnd:function(){return e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}]}}}]}})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return c(e)||u(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return P});var y=n(5),b=n.n(y),m=n(4),g=n.n(m),v=n(2),x=n.n(v),O=n(0),w=n.n(O),_=n(211),j=n(1),P=function(e){var t,n;return n=t=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"clipDataComponents",value:function(e,t){var n=t.scale,a=t.clipContainerComponent,i=t.polar,u=t.origin,c=n.x.range(),l=n.y.range(),s=Math.abs(c[0]-c[1]),f=Math.abs(l[0]-l[1]),p=Math.max.apply(Math,o(l)),d=w.a.cloneElement(a,r({clipWidth:s,clipHeight:f,translateX:Math.min.apply(Math,o(c)),translateY:Math.min.apply(Math,o(l)),polar:i,origin:i?u:void 0,radius:i?p:void 0},a.props));return w.a.Children.toArray(e).map(function(e){return j.i.isDataComponent(e)?w.a.cloneElement(e,{groupComponent:d}):e})}},{key:"modifyPolarDomain",value:function(e,t){return{x:t.x,y:[0,e.y[1]]}}},{key:"downsampleZoomData",value:function(e,t,n){var r=e.downsample,a=function(e){var n=e.data,r=e.x,a=e.y,o=t.type&&b()(t.type.getData)?t.type.getData:function(){};return!Array.isArray(n)||r||a?o(e):n}(t.props);if(r&&n&&a){var o=!0===r?150:r,i=e.zoomDimension||"x",u=a.findIndex(function(e){return e[i]>=n[i][0]}),c=a.findIndex(function(e){return e[i]>n[i][1]});0!==u&&(u-=1),-1!==c&&(c+=1);var l=a.slice(u,c);return j.i.downsample(l,o,u)}}},{key:"modifyChildren",value:function(e){var t=this;return w.a.Children.toArray(e.children).map(function(n){var o,i=n.type&&n.type.role,u=j.i.isDataComponent(n),c=e.currentDomain,l=e.zoomActive,s=e.allowZoom,f=g()({},e.originalDomain,e.domain),p=g()({},e.zoomDomain,e.domain),d=g()({},e.cachedZoomDomain,e.domain);o=_.b.checkDomainEquality(p,d)?s&&!l?n.props.domain:g()({},c,f):p;var h=e.polar?t.modifyPolarDomain(o,f):o;h&&e.zoomDimension&&(h=r({},p,a({},e.zoomDimension,h[e.zoomDimension])));var y=u&&"stack"!==i?{domain:h,data:t.downsampleZoomData(e,n,h)}:{domain:h};return w.a.cloneElement(n,g()(y,n.props))})}},{key:"getChildren",value:function(e){var t=this.modifyChildren(e);return this.clipDataComponents(t,e)}}]),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryZoomContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:r({},j.G.propTypes,{allowPan:x.a.bool,allowZoom:x.a.bool,clipContainerComponent:x.a.element.isRequired,disable:x.a.bool,downsample:x.a.oneOfType([x.a.bool,x.a.number]),minimumZoom:x.a.shape({x:x.a.number,y:x.a.number}),onZoomDomainChange:x.a.func,zoomDimension:x.a.oneOf(["x","y"]),zoomDomain:x.a.shape({x:j.u.domain,y:j.u.domain})})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:r({},j.G.defaultProps,{clipContainerComponent:w.a.createElement(j.F,null),allowPan:!0,allowZoom:!0,zoomActive:!1})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:_.b.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:_.b.onMouseDown(t,n)},onMouseUp:function(t,n){return e.disable?{}:_.b.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:_.b.onMouseUp(t,n)},onMouseLeave:function(t,n){return e.disable?{}:_.b.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:_.b.onMouseLeave(t,n)},onMouseMove:function(t,n,r,a){return e.disable?{}:_.b.onMouseMove(t,n,r,a)},onTouchMove:function(t,n,r,a){return e.disable?{}:(t.preventDefault(),_.b.onMouseMove(t,n,r,a))},onWheel:function(t,n,r,a){return n.allowZoom&&!e.disable&&t.preventDefault(),e.disable?{}:_.b.onWheel(t,n,r,a)}}}]}}),n};t.a=P(j.G)},function(e,t,n){"use strict";var r=n(484);n.d(t,"a",function(){return r.a}),n.d(t,"c",function(){return r.c}),n.d(t,"b",function(){return r.b})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function y(e,t){return g(e)||m(e,t)||b()}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function m(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}function g(e){if(Array.isArray(e))return e}n.d(t,"b",function(){return H}),n.d(t,"c",function(){return U}),n.d(t,"a",function(){return W});var v=n(5),x=n.n(v),O=n(13),w=n.n(O),_=n(485),j=n.n(_),P=n(18),C=n.n(P),M=n(491),A=n.n(M),k=n(39),E=n.n(k),T=n(493),S=n.n(T),D=n(1),N=n(206),L=n(210),R=n(204),z=n(199),I=n(202),V=function(e){return e?Array.isArray(e)?e:[e]:[]},B=function(e){return e.reduce(function(e,t){return A()(e,function(e,n){var r=t[n];t[n]=r?function(){var t=V(r.apply(void 0,arguments)),n=V(e.apply(void 0,arguments));return t.concat(n)}:e}),t})},F=function(e){var t=E()(e,"target");return S()(t).map(function(e){var t=y(e,2),n=t[0],r=t[1];return r=r.filter(Boolean),w()(r)?null:{target:n,eventHandlers:B(r.map(function(e){return e.eventHandlers}))}}).filter(Boolean)},W=function(e,t){var n,a,o=e.map(function(e){return e(t)}),i=o.map(function(e){return new e}),c=j()(e)(t),s=o.map(function(e){return e.displayName.match(/Victory(.*)Container/)[1]||""}).join("");return a=n=function(e){function t(){return l(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),f(t,[{key:"getChildren",value:function(e){return i.reduce(function(t,n){return n.getChildren(u({},e,{children:t}))},e.children)}}]),t}(c),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Victory".concat(s,"Container")}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:o.reduce(function(e,t){return u({},e,t.propTypes)},{})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:o.reduce(function(e,t){return u({},e,t.defaultProps)},{})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return F(o.reduce(function(t,n){var a=x()(n.defaultEvents)?n.defaultEvents(e):n.defaultEvents;return r(t).concat(r(a))},[]))}}),a},q=function(e,t){e&&!C()(t,e)&&D.q.warn('"'.concat(e,'" is not a valid behavior. Choose from [').concat(t.join(", "),"]."))},U=function(e,t){return function(n,a){var o=Object.keys(e);q(n,o),q(a,o),(arguments.length<=2?0:arguments.length-2)&&D.q.warn("too many arguments given to createContainer (maximum accepted: 2).");var i=e[n],u=e[a]||[];return i?W(r(i).concat(r(u)),t):t}},H=U({zoom:[L.d],voronoi:[N.c],selection:[R.c],cursor:[I.c],brush:[z.c]},D.G)},function(e,t,n){var r=n(486),a=r();e.exports=a},function(e,t,n){function r(e){return o(function(t){var n=t.length,r=n,o=a.prototype.thru;for(e&&t.reverse();r--;){var y=t[r];if("function"!=typeof y)throw new TypeError(s);if(o&&!b&&"wrapper"==u(y))var b=new a([],!0)}for(r=b?r:n;++r<n;){y=t[r];var m=u(y),g="wrapper"==m?i(y):void 0;b=g&&l(g[0])&&g[1]==(d|f|p|h)&&!g[4].length&&1==g[9]?b[u(g[0])].apply(b,g[3]):1==y.length&&l(y)?b[m]():b.thru(y)}return function(){var e=arguments,r=e[0];if(b&&1==e.length&&c(r))return b.plant(r).value();for(var a=0,o=n?t[a].apply(this,e):r;++a<n;)o=t[a].call(this,o);return o}})}var a=n(487),o=n(136),i=n(488),u=n(489),c=n(10),l=n(490),s="Expected a function",f=8,p=32,d=128,h=256;e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t){function n(){}e.exports=n},function(e,t){function n(){return""}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e,t){return e&&a(e,o(t))}var a=n(101),o=n(492);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){var r=n(494),a=n(12),o=r(a);e.exports=o},function(e,t,n){function r(e){return function(t){var n=o(t);return n==c?i(t):n==l?u(t):a(t,e(t))}}var a=n(495),o=n(71),i=n(496),u=n(497),c="[object Map]",l="[object Set]";e.exports=r},function(e,t,n){function r(e,t){return a(t,function(t){return[t,e[t]]})}var a=n(23);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){"use strict";var r=n(499);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=n(0),h=n.n(d),y=n(2),b=n.n(y),m=n(500),g=n(1),v={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},x=[{name:"Series 1"},{name:"Series 2"}],O=function(e){function t(){return u(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),l(t,[{key:"renderChildren",value:function(e){var t=this,n=e.dataComponent,a=e.labelComponent,o=e.title,i=this.dataKeys.map(function(e,r){if("all"!==e){var a=t.getComponentProps(n,"data",r);return h.a.cloneElement(n,a)}}).filter(Boolean),u=this.dataKeys.map(function(e,n){var r=t.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return h.a.cloneElement(a,r)}).filter(Boolean),c=this.getComponentProps(e.borderComponent,"border","all"),l=h.a.cloneElement(e.borderComponent,c);if(o){var s=this.getComponentProps(e.title,"title","all"),f=h.a.cloneElement(e.titleComponent,s);return[l].concat(r(i),[f],r(u))}return[l].concat(r(i),r(u))}},{key:"render",value:function(){var e=this.constructor.role,t=g.m.modifyProps(this.props,v,e),n=[this.renderChildren(t)];return t.standalone?this.renderContainer(t.containerComponent,n):h.a.cloneElement(t.groupComponent,{},n)}}]),t}(h.a.Component);Object.defineProperty(O,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLegend"}),Object.defineProperty(O,"role",{configurable:!0,enumerable:!0,writable:!0,value:"legend"}),Object.defineProperty(O,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:b.a.element,borderPadding:b.a.oneOfType([b.a.number,b.a.shape({top:b.a.number,bottom:b.a.number,left:b.a.number,right:b.a.number})]),centerTitle:b.a.bool,colorScale:b.a.oneOfType([b.a.arrayOf(b.a.string),b.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:b.a.element,data:b.a.arrayOf(b.a.shape({name:b.a.string.isRequired,label:b.a.object,symbol:b.a.object})),dataComponent:b.a.element,eventKey:b.a.oneOfType([b.a.func,g.u.allOfType([g.u.integer,g.u.nonNegative]),b.a.string]),events:b.a.arrayOf(b.a.shape({target:b.a.oneOf(["data","labels","parent"]),eventKey:b.a.oneOfType([b.a.array,g.u.allOfType([g.u.integer,g.u.nonNegative]),b.a.string]),eventHandlers:b.a.object})),externalEventMutations:b.a.arrayOf(b.a.shape({callback:b.a.function,childName:b.a.oneOfType([b.a.string,b.a.array]),eventKey:b.a.oneOfType([b.a.array,g.u.allOfType([g.u.integer,g.u.nonNegative]),b.a.string]),mutation:b.a.function,target:b.a.oneOfType([b.a.string,b.a.array])})),groupComponent:b.a.element,gutter:b.a.oneOfType([b.a.number,b.a.shape({left:b.a.number,right:b.a.number})]),height:g.u.nonNegative,itemsPerRow:g.u.nonNegative,labelComponent:b.a.element,name:b.a.string,orientation:b.a.oneOf(["horizontal","vertical"]),padding:b.a.oneOfType([b.a.number,b.a.shape({top:b.a.number,bottom:b.a.number,left:b.a.number,right:b.a.number})]),rowGutter:b.a.oneOfType([b.a.number,b.a.shape({top:b.a.number,bottom:b.a.number})]),sharedEvents:b.a.shape({events:b.a.array,getEventState:b.a.func}),standalone:b.a.bool,style:b.a.shape({border:b.a.object,data:b.a.object,labels:b.a.object,parent:b.a.object,title:b.a.object}),symbolSpacer:b.a.number,theme:b.a.object,title:b.a.oneOfType([b.a.string,b.a.array]),titleComponent:b.a.element,titleOrientation:b.a.oneOf(["top","bottom","left","right"]),width:g.u.nonNegative,x:g.u.nonNegative,y:g.u.nonNegative}}),Object.defineProperty(O,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:h.a.createElement(g.c,null),data:x,containerComponent:h.a.createElement(g.G,null),dataComponent:h.a.createElement(g.s,null),groupComponent:h.a.createElement("g",null),labelComponent:h.a.createElement(g.H,null),standalone:!0,theme:g.J.grayscale,titleComponent:h.a.createElement(g.H,null)}}),Object.defineProperty(O,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(m.a)(e,v)}}),Object.defineProperty(O,"getDimensions",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Object(m.b)(e,v)}}),Object.defineProperty(O,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"]}),t.a=Object(g.N)(O)},function(e,t,n){"use strict";function r(e){return i(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function i(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return B}),n.d(t,"b",function(){return V});var l=n(9),s=n.n(l),f=n(58),p=n.n(f),d=n(501),h=n.n(d),y=n(12),b=n.n(y),m=n(39),g=n.n(m),v=n(3),x=n.n(v),O=n(4),w=n.n(O),_=n(1),j=function(e){var t=e.colorScale;return"string"==typeof t?_.y.getColorScale(t):t||[]},P=function(e){var t=e.data,n=e.style;return t.map(function(e){var t=w()({},e.labels,n.labels);return _.m.evaluateStyle(t,e)})},C=function(e,t){var n=e.style||{};t=t||{};var r={height:"100%",width:"100%"};return{parent:w()(n.parent,t.parent,r),data:w()({},n.data,t.data),labels:w()({},n.labels,t.labels),border:w()({},n.border,t.border),title:w()({},n.title,t.title)}},M=function(e){var t=e.orientation,n=e.theme,r=n&&n.legend&&n.legend.style?n.legend.style:{},a=C(e,r),o=j(e),i="horizontal"===t,u=_.m.getPadding({padding:e.borderPadding});return x()({},e,{style:a,isHorizontal:i,colorScale:o,borderPadding:u})},A=function(e,t){var n=e.itemsPerRow,r=e.isHorizontal;return n?r?t%n:Math.floor(t/n):r?t:0},k=function(e,t){var n=e.itemsPerRow,r=e.isHorizontal;return n?r?Math.floor(t/n):t%n:r?0:t},E=function(e){var t=e.data,n=e.style&&e.style.data||{},r=P(e);return t.map(function(t,a){var o=t.symbol||{},i=r[a].fontSize,c=o.size||n.size||i/2.5;return u({},t,{size:c,symbolSpacer:e.symbolSpacer||Math.max(c,i),fontSize:i,textSize:_.B.approximateTextSize(t.name,r[a]),column:A(e,a),row:k(e,a)})})},T=function(e,t){var n=e.gutter||{},a="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=g()(t,"column");return b()(o).reduce(function(e,t,n){var i=o[t].map(function(e){return e.textSize.width+e.size+e.symbolSpacer+a});return e[n]=Math.max.apply(Math,r(i)),e},[])},S=function(e,t){var n=e.rowGutter||{},a="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=g()(t,"row");return b()(o).reduce(function(e,t,n){var i=o[t],u=i.map(function(e){return e.textSize.height+e.symbolSpacer+a});return e[n]=Math.max.apply(Math,r(u)),e},[])},D=function(e){var t=e.style&&e.style.title||{},n=_.B.approximateTextSize(e.title,t),r=t.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},N=function(e,t,n){var r=e.column,a=e.row;return{x:p()(r).reduce(function(e,t){return e+=n[t]},0),y:p()(a).reduce(function(e,n){return e+=t[n]},0)}},L=function(e,t){var n={textAnchor:"right"===e?"end":"start",verticalAnchor:"bottom"===e?"end":"start"};if(t){var r="top"===e||"bottom"===e;return{textAnchor:r?"middle":n.textAnchor,verticalAnchor:r?n.verticalAnchor:"middle"}}return n},R=function(e){var t=e.titleOrientation,n=e.centerTitle,r=e.titleComponent,a=e.style&&e.style.title||{},o=r.props&&r.props.style||{},i=L(t,n);return Array.isArray(o)?o.map(function(e){return w()({},e,a,i)}):w()({},o,a,i)},z=function(e,t){var n=e.title,r=e.titleOrientation,a=e.centerTitle,o=e.borderPadding,i=t.height,u=t.width,c=R(e),l=Array.isArray(c)?c[0].padding:c.padding,s="top"===r||"bottom"===r,f="bottom"===r?"bottom":"top",p="right"===r?"right":"left",d={x:a?u/2:o[f]+(l||0),y:a?i/2:o[p]+(l||0)},h=function(){return o[r]+(l||0)},y=s?d.x:h(),b=s?h():d.y;return{x:"right"===r?e.x+u-y:e.x+y,y:"bottom"===r?e.y+i-b:e.y+b,style:c,text:n}},I=function(e,t,n){var r=e.x,a=e.y,o=e.borderPadding,i=e.style;return{x:r,y:a,height:(t||0)+o.top+o.bottom,width:(n||0)+o.left+o.right,style:x()({fill:"none"},i.border)}},V=function(e,t){var n=_.m.modifyProps(e,t,"legend");e=x()({},n,M(n));var r=e,a=r.title,o=r.titleOrientation,i=E(e),u=T(e,i),c=S(e,i),l=a?D(e):{height:0,width:0};return{height:"left"===o||"right"===o?Math.max(h()(c),l.height):h()(c)+l.height,width:"left"===o||"right"===o?h()(u)+l.width:Math.max(h()(u),l.width)}},B=function(e,t){var n=_.m.modifyProps(e,t,"legend");e=x()({},n,M(n));var r=e,a=r.data,o=r.standalone,i=r.theme,u=r.padding,c=r.style,l=r.colorScale,f=r.gutter,p=r.rowGutter,d=r.borderPadding,h=r.title,y=r.titleOrientation,b=r.name,m=r.x,g=void 0===m?0:m,v=r.y,O=void 0===v?0:v,j=E(e),C=T(e,j),A=S(e,j),k=P(e),L=h?D(e):{height:0,width:0},R={x:"left"===y?L.width:0,y:"top"===y?L.height:0},B={x:f&&"object"==typeof f?f.left||0:0,y:p&&"object"==typeof p?p.top||0:0},F=V(e,t),W=F.height,q=F.width,U=I(e,W,q),H=z(e,U),G={parent:{data:a,standalone:o,theme:i,padding:u,name:b,height:e.height,width:e.width,style:c.parent},all:{border:U,title:H}};return j.reduce(function(e,t,n){var r=l[n%l.length],o=w()({},t.symbol,c.data,{fill:r}),i=s()(t.eventKey)?n:t.eventKey,u=N(t,A,C),f=O+d.top+t.symbolSpacer,p=g+d.left+t.symbolSpacer,h={index:n,data:a,datum:t,symbol:o.type||o.symbol||"circle",size:t.size,style:o,y:f+u.y+R.y+B.y,x:p+u.x+R.x+B.x},y={datum:t,data:a,text:t.name,style:k[n],y:h.y,x:h.x+t.symbolSpacer+t.size/2};return e[i]={data:h,labels:y},e},G)}},function(e,t,n){function r(e){return e&&e.length?a(e,o):0}var a=n(502),o=n(20);e.exports=r},function(e,t){function n(e,t){for(var n,r=-1,a=e.length;++r<a;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}e.exports=n}])});
|
|
2
2
|
//# sourceMappingURL=victory.min.js.map
|