text: !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryChart=e(require("react")):t.VictoryChart=e(t.React)}(this,function(__WEBPACK_EXTERNAL_MODULE_36__){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var n=e.slice(1),r=t[e[0]];return function(t,e,o){r.apply(this,[t,e,o].concat(n))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.VictoryStack=e.VictoryGroup=e.VictoryScatter=e.VictoryBar=e.VictoryArea=e.VictoryAxis=e.VictoryLine=e.VictoryChart=void 0;var o=n(1),a=r(o),i=n(247),u=r(i),s=n(169),c=r(s),l=n(252),f=r(l),p=n(255),h=r(p),d=n(259),y=r(d),g=n(264),b=r(g),v=n(265),m=r(v);e.VictoryChart=a["default"],e.VictoryLine=u["default"],e.VictoryAxis=c["default"],e.VictoryArea=f["default"],e.VictoryBar=h["default"],e.VictoryScatter=y["default"],e.VictoryGroup=b["default"],e.VictoryStack=m["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(2),l=r(c),f=n(36),p=r(f),h=n(37),d=n(169),y=r(d),g=n(213),b=r(g),v=n(207),m=r(v),x=n(197),_=r(x),T=n(246),P=r(T),M={independent:p["default"].createElement(y["default"],null),dependent:p["default"].createElement(y["default"],{dependentAxis:!0})},w=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"componentWillReceiveProps",value:function(t){if(this.props.animate){var e=h.Transitions.getInitialTransitionState(this.props.children,t.children),n=e.nodesWillExit,r=e.nodesWillEnter,o=e.childrenTransitions,a=e.nodesShouldEnter;this.setState({nodesWillExit:n,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:a,oldProps:n?this.props:null})}}},{key:"getStyles",value:function(t){var e=t.style&&t.style.parent;return{parent:(0,l["default"])({height:t.height,width:t.width},e)}}},{key:"getAxisProps",value:function(t,e,n){var r=n.domain,o=n.scale,a=t.type.getAxis(t.props),i=b["default"].getAxisOffset(e,n),u=b["default"].getTicks(n,a,t),s=t.props.tickFormat||b["default"].getTickFormat(t,a,n),c="y"===a?void 0:i.y,l="x"===a?void 0:i.x;return{domain:r[a],scale:o[a],tickValues:u,tickFormat:s,offsetY:c,offsetX:l,crossAxis:!0}}},{key:"getChildProps",value:function(t,e,n){var r=t.type&&t.type.role;return"axis"===r?this.getAxisProps(t,e,n):{domain:n.domain,scale:n.scale,categories:n.categories}}},{key:"getCalculatedProps",value:function(t,e){var n=e.some(function(t){return t.props.horizontal}),r={x:m["default"].getAxisComponent(e,"x"),y:m["default"].getAxisComponent(e,"y")},o={x:b["default"].getDomain(t,e,"x"),y:b["default"].getDomain(t,e,"y")},a={x:h.Helpers.getRange(t,"x"),y:h.Helpers.getRange(t,"y")},i={x:_["default"].getScaleFromProps(t,"x")||r.x&&r.x.type.getScale(r.x.props)||_["default"].getDefaultScale(),y:_["default"].getScaleFromProps(t,"y")||r.y&&r.y.type.getScale(r.y.props)||_["default"].getDefaultScale()},u={x:i.x.domain(o.x).range(a.x),y:i.y.domain(o.y).range(a.y)},s={x:P["default"].getCategories(e,t,"x"),y:P["default"].getCategories(e,t,"y")},c={x:b["default"].createStringMap(e,"x"),y:b["default"].createStringMap(e,"y")};return{axisComponents:r,categories:s,domain:o,horizontal:n,scale:u,stringMap:c}}},{key:"getNewChildren",value:function(t,e,n){var r=this,o=this.getCalculatedProps(t,e),a=h.Transitions.getTransitionPropsFactory(e,this.state,this.props.animate,function(t){return r.setState(t)});return e.map(function(e,i){var u=a(e.props,e.type,i),s=(0,l["default"])({},e.props.style,{parent:n.parent}),c=r.getChildProps(e,t,o);return p["default"].cloneElement(e,(0,l["default"])({height:t.height,width:t.width,padding:h.Helpers.getPadding(t),ref:i,key:i,standalone:!1,style:s},u,c))})}},{key:"render",value:function(){var t=this.getStyles(this.props),e=this.state&&this.state.nodesWillExit?b["default"].getChildComponents(this.state.oldProps,M):b["default"].getChildComponents(this.props,M),n=p["default"].createElement("g",{style:t.parent},this.getNewChildren(this.props,e,t));return this.props.standalone?p["default"].createElement("svg",u({style:t.parent},this.props.events),n):n}}]),e}(p["default"].Component);w.propTypes={animate:f.PropTypes.object,children:p["default"].PropTypes.oneOfType([p["default"].PropTypes.arrayOf(p["default"].PropTypes.node),p["default"].PropTypes.node]),domain:f.PropTypes.oneOfType([h.PropTypes.domain,f.PropTypes.shape({x:h.PropTypes.domain,y:h.PropTypes.domain})]),domainPadding:f.PropTypes.oneOfType([f.PropTypes.shape({x:h.PropTypes.nonNegative,y:h.PropTypes.nonNegative}),h.PropTypes.nonNegative]),events:f.PropTypes.object,height:h.PropTypes.nonNegative,padding:f.PropTypes.oneOfType([f.PropTypes.number,f.PropTypes.shape({top:f.PropTypes.number,bottom:f.PropTypes.number,left:f.PropTypes.number,right:f.PropTypes.number})]),scale:f.PropTypes.oneOfType([h.PropTypes.scale,f.PropTypes.shape({x:h.PropTypes.scale,y:h.PropTypes.scale})]),standalone:f.PropTypes.bool,style:f.PropTypes.object,width:h.PropTypes.nonNegative},w.defaultProps={events:{},height:300,width:450,padding:50,standalone:!0},e["default"]=w},function(t,e,n){var r=n(3),o=n(4),a=n(6),i=n(18),u=i(function(t){return t.push(void 0,o),r(a,void 0,t)});t.exports=u},function(t,e){function n(t,e,n){var r=n.length;switch(r){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t,e,n,r){return void 0===t||o(t,a[n])&&!i.call(r,n)?e:t}var o=n(5),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){var r=n(7),o=n(9),a=n(21),i=o(function(t,e,n,o){r(e,a(e),t,o)});t.exports=i},function(t,e,n){function r(t,e,n,r){n||(n={});for(var a=-1,i=e.length;++a<i;){var u=e[a],s=r?r(n[u],t[u],u,n,t):t[u];o(n,u,s)}return n}var o=n(8);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];i.call(t,e)&&o(r,n)&&(void 0!==n||e in t)||(t[e]=n)}var o=n(5),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return a(function(e,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(i="function"==typeof i?(a--,i):void 0,u&&o(n[0],n[1],u)&&(i=3>a?void 0:i,a=1),e=Object(e);++r<a;){var s=n[r];s&&t(e,s,r,i)}return e})}var o=n(10),a=n(18);t.exports=r},function(t,e,n){function r(t,e,n){if(!u(n))return!1;var r=typeof e;return("number"==r?a(n)&&i(e,n.length):"string"==r&&e in n)?o(n[e],t):!1}var o=n(5),a=n(11),i=n(17),u=n(15);t.exports=r},function(t,e,n){function r(t){return null!=t&&i(o(t))&&!a(t)}var o=n(12),a=n(14),i=n(16);t.exports=r},function(t,e,n){var r=n(13),o=r("length");t.exports=o},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){var e=o(t)?s.call(t):"";return e==a||e==i}var o=n(15),a="[object Function]",i="[object GeneratorFunction]",u=Object.prototype,s=u.toString;t.exports=r},function(t,e){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&r>=t}var r=9007199254740991;t.exports=n},function(t,e){function n(t,e){return t="number"==typeof t||o.test(t)?+t:-1,e=null==e?r:e,t>-1&&t%1==0&&e>t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){function r(t,e){if("function"!=typeof t)throw new TypeError(i);return e=u(void 0===e?t.length-1:a(e),0),function(){for(var n=arguments,r=-1,a=u(n.length-e,0),i=Array(a);++r<a;)i[r]=n[e+r];switch(e){case 0:return t.call(this,i);case 1:return t.call(this,n[0],i);case 2:return t.call(this,n[0],n[1],i)}var s=Array(e+1);for(r=-1;++r<e;)s[r]=n[r];return s[e]=i,o(t,this,s)}}var o=n(3),a=n(19),i="Expected a function",u=Math.max;t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if(t=o(t),t===a||t===-a){var e=0>t?-1:1;return e*i}var n=t%1;return t===t?n?t-n:t:0}var o=n(20),a=1/0,i=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if(a(t)){var e=o(t.valueOf)?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var n=c.test(t);return n||l.test(t)?f(t.slice(2),n?2:8):s.test(t)?i:+t}var o=n(14),a=n(15),i=NaN,u=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt;t.exports=r},function(t,e,n){function r(t){for(var e=-1,n=u(t),r=o(t),s=r.length,l=a(t),f=!!l,p=l||[],h=p.length;++e<s;){var d=r[e];f&&("length"==d||i(d,h))||"constructor"==d&&(n||!c.call(t,d))||p.push(d)}return p}var o=n(22),a=n(28),i=n(17),u=n(35),s=Object.prototype,c=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){t=null==t?t:Object(t);var e=[];for(var n in t)e.push(n);return e}var o=n(23),a=n(27),i=Object.prototype,u=o?o.enumerate:void 0,s=i.propertyIsEnumerable;u&&!s.call({valueOf:1},"valueOf")&&(r=function(t){return a(u(t))}),t.exports=r},function(t,e,n){var r=n(24),o=r.Reflect;t.exports=o},function(t,e,n){(function(t,r){var o=n(26),a={"function":!0,object:!0},i=a[typeof e]&&e&&!e.nodeType?e:void 0,u=a[typeof t]&&t&&!t.nodeType?t:void 0,s=o(i&&u&&"object"==typeof r&&r),c=o(a[typeof self]&&self),l=o(a[typeof window]&&window),f=o(a[typeof this]&&this),p=s||l!==(f&&f.window)&&l||c||f||Function("return this")();t.exports=p}).call(e,n(25)(t),function(){return this}())},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){function n(t){return t&&t.Object===Object?t:null}t.exports=n},function(t,e){function n(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}t.exports=n},function(t,e,n){function r(t){var e=t?t.length:void 0;return u(e)&&(i(t)||s(t)||a(t))?o(e,String):null}var o=n(29),a=n(30),i=n(33),u=n(16),s=n(34);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e,n){function r(t){return o(t)&&u.call(t,"callee")&&(!c.call(t,"callee")||s.call(t)==a)}var o=n(31),a="[object Arguments]",i=Object.prototype,u=i.hasOwnProperty,s=i.toString,c=i.propertyIsEnumerable;t.exports=r},function(t,e,n){function r(t){return a(t)&&o(t)}var o=n(11),a=n(32);t.exports=r},function(t,e){function n(t){return!!t&&"object"==typeof t}t.exports=n},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){function r(t){return"string"==typeof t||!o(t)&&a(t)&&s.call(t)==i}var o=n(33),a=n(32),i="[object String]",u=Object.prototype,s=u.toString;t.exports=r},function(t,e){function n(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||r;return t===n}var r=Object.prototype;t.exports=n},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE_36__},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.VictoryLabel=e.VictoryAnimation=e.Transitions=e.PropTypes=e.Style=e.Log=e.Helpers=e.Collection=void 0;var a=n(38);Object.defineProperty(e,"Collection",{enumerable:!0,get:function(){return o(a)["default"]}});var i=n(39);Object.defineProperty(e,"Helpers",{enumerable:!0,get:function(){return o(i)["default"]}});var u=n(151);Object.defineProperty(e,"Log",{enumerable:!0,get:function(){return o(u)["default"]}});var s=n(152);Object.defineProperty(e,"Style",{enumerable:!0,get:function(){return o(s)["default"]}});var c=n(157);Object.defineProperty(e,"PropTypes",{enumerable:!0,get:function(){return o(c)["default"]}});var l=n(158);Object.defineProperty(e,"VictoryAnimation",{enumerable:!0,get:function(){return o(l)["default"]}});var f=n(164);Object.defineProperty(e,"VictoryLabel",{enumerable:!0,get:function(){return o(f)["default"]}});var p=n(167),h=r(p);e.Transitions=h},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={isNonEmptyArray:function(t){return Array.isArray(t)&&t.length>0},containsStrings:function(t){return Array.isArray(t)&&t.some(function(t){return"string"==typeof t})},containsDates:function(t){return Array.isArray(t)&&t.some(function(t){return t instanceof Date})},containsOnlyStrings:function(t){return this.isNonEmptyArray(t)&&t.every(function(t){return"string"==typeof t})},isArrayOfArrays:function(t){return this.isNonEmptyArray(t)&&t.every(Array.isArray)},removeUndefined:function(t){return t.filter(function(t){return void 0!==t})}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i=n(2),u=r(i),s=n(14),c=r(s),l=n(40),f=r(l),p=n(49),h=r(p),d=n(85),y=r(d),g=n(87),b=r(g);e["default"]={getPadding:function(t){var e="number"==typeof t.padding?t.padding:0,n="object"===a(t.padding)?t.padding:{};return{top:n.top||e,bottom:n.bottom||e,left:n.left||e,right:n.right||e}},getStyles:function(t,e,n,r){if(!t)return(0,u["default"])({parent:{height:n,width:r}},e);var o=t.data,a=t.labels,i=t.parent;return{parent:(0,u["default"])({height:n,width:r},i,e.parent),labels:(0,u["default"])({},a,e.labels),data:(0,u["default"])({},o,e.data)}},evaluateProp:function(t,e){return(0,c["default"])(t)?t(e):t},evaluateStyle:function(t,e){var n=this;return Object.keys(t).some(function(e){return(0,c["default"])(t[e])})?Object.keys(t).reduce(function(r,o){return r[o]=n.evaluateProp(t[o],e),r},{}):t},getRange:function(t,e){var n=t.horizontal,r=n&&"x"===e||!n&&"x"!==e,o=n&&!r||!n&&r,a=this.getPadding(t);if(r){var i=[t.height-a.bottom,a.top];return o?i:i.reverse()}return[a.left,t.width-a.right]},getData:function(t){return t.data?this.formatData(t.data,t):void 0},formatData:function(t,e,n){if(!t)return[];n=n||{x:this.createStringMap(e,"x"),y:this.createStringMap(e,"y")};var r={x:this.createAccessor(e.x),y:this.createAccessor(e.y)};return t.map(function(t){var e=r.x(t),o=r.y(t),a="string"==typeof e?{xName:e}:void 0,i="string"==typeof o?{yName:o}:void 0;return(0,u["default"])({x:"string"==typeof e?n.x[e]:e,y:"string"==typeof o?n.y[o]:o},a,i,t)})},createStringMap:function(t,e){var n=this.getStringsFromData(t,e);return n.length?n.reduce(function(t,e,n){return t[e]=n+1,t},{}):null},getStringsFromData:function(t,e){if(!t.data)return[];var n="undefined"==typeof t[e]?e:t[e],r=this.createAccessor(n),o=t.data.map(function(t){return r(t)}).filter(function(t){return"string"==typeof t});return o.reduce(function(t,e){return"undefined"!=typeof e&&null!==e&&-1===t.indexOf(e)&&t.push(e),t},[])},createAccessor:function(t){return(0,c["default"])(t)?t:null===t||"undefined"==typeof t?function(t){return t}:(0,f["default"])(t)},getPartialEvents:function(t,e,n){return t?Object.keys(t).reduce(function(r,o){return r[o]=(0,h["default"])(t[o],h["default"].placeholder,n,e,o),r},{}):{}},getEvents:function(t,e){var n=this,r=e+"State",a=function(t,a,i,u){n.props.events[e]&&n.props.events[e][u]&&n.setState(o({},r,(0,b["default"])({},n.state[r],(0,y["default"])({},i,n.props.events[e][u](t,a,i)))))};return t?Object.keys(this.props.events[e]).reduce(function(t,e){return t[e]=a,t},{}):{}}}},function(t,e,n){function r(t){return i(t)?o(t):a(t)}var o=n(13),a=n(41),i=n(48);t.exports=r},function(t,e,n){function r(t){return function(e){return o(e,t)}}var o=n(42);t.exports=r},function(t,e,n){function r(t,e){e=a(e,t)?[e+""]:o(e);for(var n=0,r=e.length;null!=t&&r>n;)t=t[e[n++]];return n&&n==r?t:void 0}var o=n(43),a=n(48);t.exports=r},function(t,e,n){function r(t){return o(t)?t:a(t)}var o=n(33),a=n(44);t.exports=r},function(t,e,n){function r(t){var e=[];return o(t).replace(a,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e}var o=n(45),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,i=/\\(\\)?/g;t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(null==t)return"";if(a(t))return s?s.call(t):"";var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(46),a=n(47),i=1/0,u=o?o.prototype:void 0,s=u?u.toString:void 0;t.exports=r},function(t,e,n){var r=n(24),o=r.Symbol;t.exports=o},function(t,e,n){function r(t){return"symbol"==typeof t||o(t)&&u.call(t)==a}var o=n(32),a="[object Symbol]",i=Object.prototype,u=i.toString;t.exports=r},function(t,e,n){function r(t,e){return"number"==typeof t?!0:!o(t)&&(i.test(t)||!a.test(t)||null!=e&&t in Object(e))}var o=n(33),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=r},function(t,e,n){var r=n(50),o=n(80),a=n(82),i=n(18),u=32,s=i(function(t,e){var n=a(e,o(s));return r(t,u,void 0,e,n)});s.placeholder={},t.exports=s},function(t,e,n){function r(t,e,n,r,_,T,P,M){var w=e&y;if(!w&&"function"!=typeof t)throw new TypeError(h);var O=r?r.length:0;if(O||(e&=~(v|m),r=_=void 0),P=void 0===P?P:x(p(P),0),M=void 0===M?M:p(M),O-=_?_.length:0,e&m){var k=r,j=_;r=_=void 0}var S=w?void 0:c(t),A=[t,e,n,r,_,k,j,T,P,M];if(S&&l(A,S),t=A[0],e=A[1],n=A[2],r=A[3],_=A[4],M=A[9]=null==A[9]?w?0:t.length:x(A[9]-O,0),!M&&e&(g|b)&&(e&=~(g|b)),e&&e!=d)E=e==g||e==b?i(t,e,M):e!=v&&e!=(d|v)||_.length?u.apply(void 0,A):s(t,e,n,r);else var E=a(t,e,n);var C=S?o:f;return C(E,A)}var o=n(51),a=n(58),i=n(61),u=n(62),s=n(83),c=n(71),l=n(84),f=n(78),p=n(19),h="Expected a function",d=1,y=2,g=8,b=16,v=32,m=64,x=Math.max;t.exports=r},function(t,e,n){var r=n(52),o=n(53),a=o?function(t,e){return o.set(t,e),t}:r;t.exports=a},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){var r=n(54),o=r&&new r;t.exports=o},function(t,e,n){var r=n(55),o=n(24),a=r(o,"WeakMap");t.exports=a},function(t,e,n){function r(t,e){var n=t[e];return o(n)?n:void 0}var o=n(56);t.exports=r},function(t,e,n){function r(t){return null==t?!1:o(t)?p.test(l.call(t)):i(t)&&(a(t)?p:s).test(t)}var o=n(14),a=n(57),i=n(32),u=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e){function n(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}t.exports=n},function(t,e,n){function r(t,e,n){function r(){var e=this&&this!==a&&this instanceof r?s:t;return e.apply(u?n:this,arguments)}var u=e&i,s=o(t);return r}var o=n(59),a=n(24),i=1;t.exports=r},function(t,e,n){function r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=o(t.prototype),r=t.apply(n,e);return a(r)?r:n}}var o=n(60),a=n(15);t.exports=r},function(t,e,n){function r(t){return o(t)?a(t):{}}var o=n(15),a=Object.create;t.exports=r},function(t,e,n){function r(t,e,n){function r(){for(var a=arguments.length,p=Array(a),h=a,d=s(r);h--;)p[h]=arguments[h];var y=3>a&&p[0]!==d&&p[a-1]!==d?[]:c(p,d);if(a-=y.length,n>a)return u(t,e,i,r.placeholder,void 0,p,y,void 0,void 0,n-a);var g=this&&this!==l&&this instanceof r?f:t;return o(g,this,p)}var f=a(t);return r}var o=n(3),a=n(59),i=n(62),u=n(66),s=n(80),c=n(82),l=n(24);t.exports=r},function(t,e,n){function r(t,e,n,m,x,_,T,P,M,w){function O(){for(var h=arguments.length,d=h,y=Array(h);d--;)y[d]=arguments[d];if(A)var g=c(O),b=i(y,g);if(m&&(y=o(y,m,x,A)),_&&(y=a(y,_,T,A)),h-=b,A&&w>h){var v=f(y,g);return s(t,e,r,O.placeholder,n,y,v,P,M,w-h)}var N=j?n:this,D=S?N[t]:t;return h=y.length,P?y=l(y,P):E&&h>1&&y.reverse(),k&&h>M&&(y.length=M),this&&this!==p&&this instanceof O&&(D=C||u(D)),D.apply(N,y)}var k=e&b,j=e&h,S=e&d,A=e&(y|g),E=e&v,C=S?void 0:u(t);return O}var o=n(63),a=n(64),i=n(65),u=n(59),s=n(66),c=n(80),l=n(81),f=n(82),p=n(24),h=1,d=2,y=8,g=16,b=128,v=512;t.exports=r},function(t,e){function n(t,e,n,o){for(var a=-1,i=t.length,u=n.length,s=-1,c=e.length,l=r(i-u,0),f=Array(c+l),p=!o;++s<c;)f[s]=e[s];for(;++a<u;)(p||i>a)&&(f[n[a]]=t[a]);for(;l--;)f[s++]=t[a++];return f}var r=Math.max;t.exports=n},function(t,e){function n(t,e,n,o){for(var a=-1,i=t.length,u=-1,s=n.length,c=-1,l=e.length,f=r(i-s,0),p=Array(f+l),h=!o;++a<f;)p[a]=t[a];for(var d=a;++c<l;)p[d+c]=e[c];for(;++u<s;)(h||i>a)&&(p[d+n[u]]=t[a++]);return p}var r=Math.max;t.exports=n},function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&r++;return r}t.exports=n},function(t,e,n){function r(t,e,n,r,h,d,y,g,b,v){var m=e&l,x=g?o(g):void 0,_=m?y:void 0,T=m?void 0:y,P=m?d:void 0,M=m?void 0:d;e|=m?f:p,e&=~(m?p:f),e&c||(e&=~(u|s));var w=[t,e,h,P,_,M,T,x,b,v],O=n.apply(void 0,w);return a(t)&&i(O,w),O.placeholder=r,O}var o=n(67),a=n(68),i=n(78),u=1,s=2,c=4,l=8,f=32,p=64;t.exports=r},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){function r(t){var e=i(t),n=u[e];if("function"!=typeof n||!(e in o.prototype))return!1;if(t===n)return!0;var r=a(n);return!!r&&t===r[0]}var o=n(69),a=n(71),i=n(73),u=n(75);t.exports=r},function(t,e,n){function r(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}var o=n(60),a=n(70),i=4294967295;r.prototype=o(a.prototype),r.prototype.constructor=r,t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e,n){var r=n(53),o=n(72),a=r?function(t){return r.get(t)}:o;t.exports=a},function(t,e){function n(){}t.exports=n},function(t,e,n){function r(t){for(var e=t.name+"",n=o[e],r=i.call(o,e)?n.length:0;r--;){var a=n[r],u=a.func;if(null==u||u==t)return a.name}return e}var o=n(74),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e){var n={};t.exports=n},function(t,e,n){function r(t){if(s(t)&&!u(t)&&!(t instanceof o)){if(t instanceof a)return t;if(f.call(t,"__wrapped__"))return c(t)}return new a(t)}var o=n(69),a=n(76),i=n(70),u=n(33),s=n(32),c=n(77),l=Object.prototype,f=l.hasOwnProperty;r.prototype=i.prototype,r.prototype.constructor=r,t.exports=r},function(t,e,n){function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}var o=n(60),a=n(70);r.prototype=o(a.prototype),r.prototype.constructor=r,t.exports=r},function(t,e,n){function r(t){if(t instanceof o)return t.clone();var e=new a(t.__wrapped__,t.__chain__);return e.__actions__=i(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var o=n(69),a=n(76),i=n(67);t.exports=r},function(t,e,n){var r=n(51),o=n(79),a=150,i=16,u=function(){var t=0,e=0;return function(n,u){var s=o(),c=i-(s-e);if(e=s,c>0){if(++t>=a)return n}else t=0;return r(n,u)}}();t.exports=u},function(t,e){var n=Date.now;t.exports=n},function(t,e){function n(t){var e=t;return e.placeholder}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length,r=i(e.length,n),u=o(t);r--;){var s=e[r];t[r]=a(s,n)?u[s]:void 0}return t}var o=n(67),a=n(17),i=Math.min;t.exports=r},function(t,e){function n(t,e){for(var n=-1,o=t.length,a=0,i=[];++n<o;){var u=t[n];u!==e&&u!==r||(t[n]=r,i[a++]=n)}return i}var r="__lodash_placeholder__";t.exports=n},function(t,e,n){function r(t,e,n,r){function s(){for(var e=-1,a=arguments.length,u=-1,f=r.length,p=Array(f+a),h=this&&this!==i&&this instanceof s?l:t;++u<f;)p[u]=r[u];for(;a--;)p[u++]=arguments[++e];return o(h,c?n:this,p)}var c=e&u,l=a(t);return s}var o=n(3),a=n(59),i=n(24),u=1;t.exports=r},function(t,e,n){function r(t,e){var n=t[1],r=e[1],g=n|r,b=(c|l|h)>g,v=r==h&&n==p||r==h&&n==d&&t[7].length<=e[8]||r==(h|d)&&e[7].length<=e[8]&&n==p;if(!b&&!v)return t;r&c&&(t[2]=e[2],g|=n&c?0:f);var m=e[3];if(m){var x=t[3];t[3]=x?o(x,m,e[4]):i(m),t[4]=x?u(t[3],s):i(e[4])}return m=e[5],m&&(x=t[5],t[5]=x?a(x,m,e[6]):i(m),t[6]=x?u(t[5],s):i(e[6])),m=e[7],m&&(t[7]=i(m)),r&h&&(t[8]=null==t[8]?e[8]:y(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=g,t}var o=n(63),a=n(64),i=n(67),u=n(82),s="__lodash_placeholder__",c=1,l=2,f=4,p=8,h=128,d=256,y=Math.min;t.exports=r},function(t,e,n){function r(t,e,n){return null==t?t:o(t,e,n)}var o=n(86);t.exports=r},function(t,e,n){function r(t,e,n,r){e=u(e,t)?[e+""]:a(e);for(var c=-1,l=e.length,f=l-1,p=t;null!=p&&++c<l;){var h=e[c];if(s(p)){var d=n;if(c!=f){var y=p[h];d=r?r(y,h,p):void 0,void 0===d&&(d=null==y?i(e[c+1])?[]:{}:y)}o(p,h,d)}p=p[h]}return t}var o=n(8),a=n(43),i=n(17),u=n(48),s=n(15);t.exports=r},function(t,e,n){var r=n(88),o=n(9),a=o(function(t,e,n){r(t,e,n)});t.exports=a},function(t,e,n){function r(t,e,n,p,h){if(t!==e){var d=s(e)||l(e)?void 0:f(e);a(d||e,function(a,s){if(d&&(s=a,a=e[s]),c(a))h||(h=new o),u(t,e,s,n,r,p,h);else{var l=p?p(t[s],a,s+"",t,e,h):void 0;void 0===l&&(l=a),i(t,s,l)}})}}var o=n(89),a=n(114),i=n(115),u=n(116),s=n(33),c=n(15),l=n(149),f=n(21);t.exports=r},function(t,e,n){function r(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(90),a=n(91),i=n(94),u=n(96),s=n(98);r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=u,r.prototype.set=s,t.exports=r},function(t,e){function n(){this.__data__={array:[],map:null}}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=e.array;return n?o(n,t):e.map["delete"](t)}var o=n(92);t.exports=r},function(t,e,n){function r(t,e){var n=o(t,e);if(0>n)return!1;var r=t.length-1;return n==r?t.pop():i.call(t,n,1),!0}var o=n(93),a=Array.prototype,i=a.splice;t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(5);t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=e.array;return n?o(n,t):e.map.get(t)}var o=n(95);t.exports=r},function(t,e,n){function r(t,e){var n=o(t,e);return 0>n?void 0:t[n][1]}var o=n(93);t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=e.array;return n?o(n,t):e.map.has(t)}var o=n(97);t.exports=r},function(t,e,n){function r(t,e){return o(t,e)>-1}var o=n(93);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=n.array;r&&(r.length<i-1?a(r,t,e):(n.array=null,n.map=new o(r)));var u=n.map;return u&&u.set(t,e),this}var o=n(99),a=n(112),i=200;t.exports=r},function(t,e,n){function r(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(100),a=n(104),i=n(108),u=n(110),s=n(111);r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=u,r.prototype.set=s,t.exports=r},function(t,e,n){function r(){this.__data__={hash:new o,map:a?new a:[],string:new o}}var o=n(101),a=n(103);t.exports=r},function(t,e,n){function r(){}var o=n(102),a=Object.prototype;r.prototype=o?o(null):a,t.exports=r},function(t,e,n){var r=n(55),o=r(Object,"create");t.exports=o},function(t,e,n){var r=n(55),o=n(24),a=r(o,"Map");t.exports=a},function(t,e,n){function r(t){var e=this.__data__;return u(t)?i("string"==typeof t?e.string:e.hash,t):o?e.map["delete"](t):a(e.map,t)}var o=n(103),a=n(92),i=n(105),u=n(107);t.exports=r},function(t,e,n){function r(t,e){return o(t,e)&&delete t[e]}var o=n(106);t.exports=r},function(t,e,n){function r(t,e){return o?void 0!==t[e]:i.call(t,e)}var o=n(102),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=typeof t;return"number"==e||"boolean"==e||"string"==e&&"__proto__"!=t||null==t}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;return u(t)?i("string"==typeof t?e.string:e.hash,t):o?e.map.get(t):a(e.map,t)}var o=n(103),a=n(95),i=n(109),u=n(107);t.exports=r},function(t,e,n){function r(t,e){if(o){var n=t[e];return n===a?void 0:n}return u.call(t,e)?t[e]:void 0}var o=n(102),a="__lodash_hash_undefined__",i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return u(t)?i("string"==typeof t?e.string:e.hash,t):o?e.map.has(t):a(e.map,t)}var o=n(103),a=n(97),i=n(106),u=n(107);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return u(t)?i("string"==typeof t?n.string:n.hash,t,e):o?n.map.set(t,e):a(n.map,t,e),this}var o=n(103),a=n(112),i=n(113),u=n(107);t.exports=r},function(t,e,n){function r(t,e,n){var r=o(t,e);0>r?t.push([e,n]):t[r][1]=n}var o=n(93);t.exports=r},function(t,e,n){function r(t,e,n){t[e]=o&&void 0===n?a:n}var o=n(102),a="__lodash_hash_undefined__";t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=t.length;++n<r&&e(t[n],n,t)!==!1;);return t}t.exports=n},function(t,e,n){function r(t,e,n){(void 0===n||o(t[e],n))&&("number"!=typeof e||void 0!==n||e in t)||(t[e]=n)}var o=n(5);t.exports=r},function(t,e,n){function r(t,e,n,r,y,g,b){var v=t[n],m=e[n],x=b.get(m);if(x)return void o(t,n,x);var _=g?g(v,m,n+"",t,e,b):void 0,T=void 0===_;T&&(_=m,s(m)||h(m)?s(v)?_=v:c(v)?_=i(v):(T=!1,_=a(m,!g)):p(m)||u(m)?u(v)?_=d(v):!f(v)||r&&l(v)?(T=!1,_=a(m,!g)):_=v:T=!1),b.set(m,_),T&&y(_,m,r,g,b),b["delete"](m),o(t,n,_)}var o=n(115),a=n(117),i=n(67),u=n(30),s=n(33),c=n(31),l=n(14),f=n(15),p=n(148),h=n(149),d=n(150);t.exports=r},function(t,e,n){function r(t,e,n,_,T,P,M){var k;if(_&&(k=P?_(t,T,P,M):_(t)),void 0!==k)return k;if(!m(t))return t;var j=g(t);if(j){if(k=h(t),!e)return l(t,k)}else{var A=p(t),E=A==w||A==O;if(b(t))return c(t,e);if(A==S||A==x||E&&!P){if(v(t))return P?t:{};if(k=y(E?{}:t),!e)return k=u(k,t),n?f(t,k):k}else{if(!B[A])return P?t:{};k=d(t,A,e)}}M||(M=new o);var C=M.get(t);return C?C:(M.set(t,k),(j?a:s)(t,function(o,a){i(k,a,r(o,e,n,_,a,t,M))}),n&&!j?f(t,k):k)}var o=n(89),a=n(114),i=n(8),u=n(118),s=n(123),c=n(126),l=n(67),f=n(127),p=n(129),h=n(131),d=n(132),y=n(145),g=n(33),b=n(146),v=n(57),m=n(15),x="[object Arguments]",_="[object Array]",T="[object Boolean]",P="[object Date]",M="[object Error]",w="[object Function]",O="[object GeneratorFunction]",k="[object Map]",j="[object Number]",S="[object Object]",A="[object RegExp]",E="[object Set]",C="[object String]",N="[object Symbol]",D="[object WeakMap]",F="[object ArrayBuffer]",L="[object Float32Array]",H="[object Float64Array]",z="[object Int8Array]",I="[object Int16Array]",q="[object Int32Array]",R="[object Uint8Array]",Y="[object Uint8ClampedArray]",V="[object Uint16Array]",U="[object Uint32Array]",B={};B[x]=B[_]=B[F]=B[T]=B[P]=B[L]=B[H]=B[z]=B[I]=B[q]=B[k]=B[j]=B[S]=B[A]=B[E]=B[C]=B[N]=B[R]=B[Y]=B[V]=B[U]=!0,B[M]=B[w]=B[D]=!1,t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,a(e),t)}var o=n(119),a=n(120);t.exports=r},function(t,e,n){function r(t,e,n){return o(t,e,n)}var o=n(7);t.exports=r},function(t,e,n){function r(t){
  var e=c(t);if(!e&&!u(t))return a(t);var n=i(t),r=!!n,l=n||[],f=l.length;for(var p in t)!o(t,p)||r&&("length"==p||s(p,f))||e&&"constructor"==p||l.push(p);return l}var o=n(121),a=n(122),i=n(28),u=n(11),s=n(17),c=n(35);t.exports=r},function(t,e){function n(t,e){return o.call(t,e)||"object"==typeof t&&e in t&&null===a(t)}var r=Object.prototype,o=r.hasOwnProperty,a=Object.getPrototypeOf;t.exports=n},function(t,e){function n(t){return r(Object(t))}var r=Object.keys;t.exports=n},function(t,e,n){function r(t,e){return t&&o(t,e,a)}var o=n(124),a=n(120);t.exports=r},function(t,e,n){var r=n(125),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,a=Object(e),i=r(e),u=i.length;u--;){var s=i[t?u:++o];if(n(a[s],s,a)===!1)break}return e}}t.exports=n},function(t,e){function n(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}t.exports=n},function(t,e,n){function r(t,e){return o(t,a(t),e)}var o=n(119),a=n(128);t.exports=r},function(t,e){var n=Object.getOwnPropertySymbols,r=n||function(){return[]};t.exports=r},function(t,e,n){function r(t){return h.call(t)}var o=n(103),a=n(130),i=n(54),u="[object Map]",s="[object Object]",c="[object Set]",l="[object WeakMap]",f=Object.prototype,p=Function.prototype.toString,h=f.toString,d=o?p.call(o):"",y=a?p.call(a):"",g=i?p.call(i):"";(o&&r(new o)!=u||a&&r(new a)!=c||i&&r(new i)!=l)&&(r=function(t){var e=h.call(t),n=e==s?t.constructor:null,r="function"==typeof n?p.call(n):"";if(r)switch(r){case d:return u;case y:return c;case g:return l}return e}),t.exports=r},function(t,e,n){var r=n(55),o=n(24),a=r(o,"Set");t.exports=a},function(t,e){function n(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var r=Object.prototype,o=r.hasOwnProperty;t.exports=n},function(t,e,n){function r(t,e,n){var r=t.constructor;switch(e){case v:return o(t);case l:case f:return new r(+t);case m:case x:case _:case T:case P:case M:case w:case O:case k:return c(t,n);case p:return a(t);case h:case g:return new r(t);case d:return i(t);case y:return u(t);case b:return s(t)}}var o=n(133),a=n(135),i=n(139),u=n(140),s=n(143),c=n(144),l="[object Boolean]",f="[object Date]",p="[object Map]",h="[object Number]",d="[object RegExp]",y="[object Set]",g="[object String]",b="[object Symbol]",v="[object ArrayBuffer]",m="[object Float32Array]",x="[object Float64Array]",_="[object Int8Array]",T="[object Int16Array]",P="[object Int32Array]",M="[object Uint8Array]",w="[object Uint8ClampedArray]",O="[object Uint16Array]",k="[object Uint32Array]";t.exports=r},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=n(134);t.exports=r},function(t,e,n){var r=n(24),o=r.Uint8Array;t.exports=o},function(t,e,n){function r(t){return a(i(t),o,new t.constructor)}var o=n(136),a=n(137),i=n(138);t.exports=r},function(t,e){function n(t,e){return t.set(e[0],e[1]),t}t.exports=n},function(t,e){function n(t,e,n,r){var o=-1,a=t.length;for(r&&a&&(n=t[++o]);++o<a;)n=e(n,t[o],o,t);return n}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e){function n(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}var r=/\w*$/;t.exports=n},function(t,e,n){function r(t){return a(i(t),o,new t.constructor)}var o=n(141),a=n(137),i=n(142);t.exports=r},function(t,e){function n(t,e){return t.add(e),t}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}t.exports=n},function(t,e,n){function r(t){return i?Object(i.call(t)):{}}var o=n(46),a=o?o.prototype:void 0,i=a?a.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var o=n(133);t.exports=r},function(t,e,n){function r(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=n(60),a=n(35),i=Object.getPrototypeOf;t.exports=r},function(t,e,n){(function(t){var r=n(147),o=n(24),a={"function":!0,object:!0},i=a[typeof e]&&e&&!e.nodeType?e:void 0,u=a[typeof t]&&t&&!t.nodeType?t:void 0,s=u&&u.exports===i?i:void 0,c=s?o.Buffer:void 0,l=c?function(t){return t instanceof c}:r(!1);t.exports=l}).call(e,n(25)(t))},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){function r(t){if(!a(t)||l.call(t)!=i||o(t))return!1;var e=f(t);if(null===e)return!0;var n=e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}var o=n(57),a=n(32),i="[object Object]",u=Object.prototype,s=Function.prototype.toString,c=s.call(Object),l=u.toString,f=Object.getPrototypeOf;t.exports=r},function(t,e,n){function r(t){return a(t)&&o(t.length)&&!!S[E.call(t)]}var o=n(16),a=n(32),i="[object Arguments]",u="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Function]",p="[object Map]",h="[object Number]",d="[object Object]",y="[object RegExp]",g="[object Set]",b="[object String]",v="[object WeakMap]",m="[object ArrayBuffer]",x="[object Float32Array]",_="[object Float64Array]",T="[object Int8Array]",P="[object Int16Array]",M="[object Int32Array]",w="[object Uint8Array]",O="[object Uint8ClampedArray]",k="[object Uint16Array]",j="[object Uint32Array]",S={};S[x]=S[_]=S[T]=S[P]=S[M]=S[w]=S[O]=S[k]=S[j]=!0,S[i]=S[u]=S[m]=S[s]=S[c]=S[l]=S[f]=S[p]=S[h]=S[d]=S[y]=S[g]=S[b]=S[v]=!1;var A=Object.prototype,E=A.toString;t.exports=r},function(t,e,n){function r(t){return o(t,a(t))}var o=n(119),a=n(21);t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={warn:function(t){}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(153),a=r(o);e["default"]={toTransformString:function(t){if(!t||"string"==typeof t)return t;var e=[];for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];e.push(n+"("+r+")")}return e.join(" ")},calc:function(t,e){return(0,a["default"])("calc("+t+")",e)},getColorScale:function(t){var e={greyscale:["#7d7d7d","#5e5e5e","#969696","#bdbdbd","#000000"],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:["#611310","#7D1D1D","#B02928","#B02928","#D86B67"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.greyscale}}},function(module,exports,__webpack_require__){function reduceCSSCalc(value,decimalPrecision){function evaluateExpression(expression,functionIdentifier,call){if(stack++>MAX_STACK)throw stack=0,new Error("Call stack overflow for "+call);if(""===expression)throw new Error(functionIdentifier+"(): '"+call+"' must contain a non-whitespace string");expression=evaluateNestedExpression(expression,call);var units=getUnitsInExpression(expression);if(units.length>1)return functionIdentifier+"("+expression+")";var unit=units[0]||"";"%"===unit&&(expression=expression.replace(/\b[0-9\.]+%/g,function(t){return.01*parseFloat(t.slice(0,-1))}));var toEvaluate=expression.replace(new RegExp(unit,"gi"),""),result;try{result=eval(toEvaluate)}catch(e){return functionIdentifier+"("+expression+")"}return"%"===unit&&(result*=100),result=Math.round(result*decimalPrecision)/decimalPrecision,0!==result&&(result+=unit),result}function evaluateNestedExpression(t,e){for(var n,r="",o=t;n=NESTED_CALC_RE.exec(o);){n[0].index>0&&(r+=o.substring(0,n[0].index));var a=balanced("(",")",o.substring([0].index));if(""===a.body)throw new Error("'"+t+"' must contain a non-whitespace string");var i=evaluateExpression(a.body,"",e);r+=a.pre+i,o=a.post}return r+o}return stack=0,decimalPrecision=Math.pow(10,void 0===decimalPrecision?5:decimalPrecision),reduceFunctionCall(value,/((?:\-[a-z]+\-)?calc)\(/,evaluateExpression)}function getUnitsInExpression(t){for(var e=[],n=[],r=/[\.0-9]([%a-z]+)/gi,o=r.exec(t);o;)o&&o[1]&&(-1===n.indexOf(o[1].toLowerCase())&&(e.push(o[1]),n.push(o[1].toLowerCase())),o=r.exec(t));return e}var balanced=__webpack_require__(154),reduceFunctionCall=__webpack_require__(155),MAX_STACK=100,NESTED_CALC_RE=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g,stack;module.exports=reduceCSSCalc},function(t,e){t.exports=function(t,e,n){for(var r=0,o={},a=0;a<n.length;a++)if(t==n.substr(a,t.length))"start"in o||(o.start=a),r++;else if(e==n.substr(a,e.length)&&"start"in o&&(r--,!r))return o.end=a,o.pre=n.substr(0,o.start),o.body=o.end-o.start>1?n.substring(o.start+t.length,o.end):"",o.post=n.slice(o.end+e.length),o}},function(t,e,n){function r(t,e,n){var r=t;return o(t,e).reduce(function(t,o){return t.replace(o.functionIdentifier+"("+o.matches.body+")",a(o.matches.body,o.functionIdentifier,n,r,e))},t)}function o(t,e){var n=[],r="string"==typeof e?new RegExp("\\b("+e+")\\("):e;do{var o=r.exec(t);if(!o)return n;if(void 0===o[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+e);var a=o[1],u=o.index,s=i("(",")",t.substring(u));if(!s)throw new SyntaxError(a+"(): missing closing ')' in the value '"+t+"'");n.push({matches:s,functionIdentifier:a}),t=s.post}while(r.test(t));return n}function a(t,e,n,o,a){return n(r(t,a,n),e,o)}var i=n(156);t.exports=r},154,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(14),a=r(o),i=n(36),u=function(t){var e=function(e,n,r,o){var a=n[r];return"undefined"==typeof a||null===a?e?new Error("Required `"+r+"` was not specified in `"+o+"`."):null:t(n,r,o)},n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n},s=function(){return null},c=function(){},l=function(t){return"undefined"==typeof t?c:null===t?s:t.constructor},f=function(t){return"undefined"==typeof t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)};e["default"]={deprecated:function(t,e){return function(e,n,r){return t(e,n,r)}},allOfType:function(t){return u(function(e,n,r){var o=t.reduce(function(t,o){return t||o(e,n,r)},void 0);return o?o:void 0})},nonNegative:u(function(t,e,n){var r=i.PropTypes.number(t,e,n);if(r)return r;var o=t[e];return 0>o?new Error("`"+e+"` in `"+n+"` must be non-negative."):void 0}),integer:u(function(t,e,n){var r=i.PropTypes.number(t,e,n);if(r)return r;var o=t[e];return o%1!==0?new Error("`"+e+"` in `"+n+"` must be an integer."):void 0}),domain:u(function(t,e,n){var r=i.PropTypes.array(t,e,n);if(r)return r;var o=t[e];return 2!==o.length||o[1]===o[0]?new Error("`"+e+"` in `"+n+"` must be an array of two unique numeric values."):void 0}),scale:u(function(t,e,n){var r=["linear","time","log","sqrt"],o=function(t){return(0,a["default"])(t)?(0,a["default"])(t.copy)&&(0,a["default"])(t.domain)&&(0,a["default"])(t.range):"string"==typeof t?-1!==r.indexOf(t):!1},i=t[e];return o(i)?void 0:new Error("`"+e+"` in `"+n+"` must be a d3 scale.")}),homogeneousArray:u(function(t,e,n){var r=i.PropTypes.array(t,e,n);if(r)return r;var o=t[e];if(o.length>1)for(var a=l(o[0]),u=1;u<o.length;u++){var s=l(o[u]);if(a!==s){var c=f(o[0]),p=f(o[u]);return new Error("Expected `"+e+"` in `"+n+"` to be a "+("homogeneous array, but found types `"+c+"` and ")+("`"+p+"`."))}}}),matchDataLength:u(function(t,e){return t[e]&&Array.isArray(t[e])&&t[e].length!==t.data.length?new Error("Length of data and "+e+" arrays must match."):void 0})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(159),p=r(f),h=n(160),d=r(h),y=n(162),g=n(163);(0,g.addVictoryInterpolator)();var b=function(t){function e(t){a(this,e);var n=i(this,Object.getPrototypeOf(e).call(this,t));return n.state=Array.isArray(n.props.data)?n.props.data[0]:n.props.data,n.interpolator=null,n.queue=Array.isArray(n.props.data)?n.props.data.slice(1):[],n.ease=p["default"][n.props.easing],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(n),n}return u(e,t),s(e,[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentWillReceiveProps",value:function(t){if(this.timer&&this.timer.stop(),Array.isArray(t.data)){var e;(e=this.queue).push.apply(e,o(t.data))}else this.queue.length=0,this.queue.push(t.data);this.traverseQueue()}},{key:"componentWillUnmount",value:function(){this.timer&&this.timer.stop()}},{key:"traverseQueue",value:function(){if(this.queue.length){var t=this.queue[0];this.interpolator=d["default"].value(this.state,t),this.timer=(0,y.timer)(this.functionToBeRunEachFrame,this.props.delay)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(t){var e=t/this.props.duration;return e>=1?(this.setState(this.interpolator(1)),this.timer.stop(),this.queue.shift(),void this.traverseQueue()):void this.setState(this.interpolator(this.ease(e)))}},{key:"render",value:function(){return this.props.children(this.state)}}]),e}(l["default"].Component);b.propTypes={children:l["default"].PropTypes.func,duration:l["default"].PropTypes.number,easing:l["default"].PropTypes.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"]),delay:l["default"].PropTypes.number,onEnd:l["default"].PropTypes.func,data:l["default"].PropTypes.oneOfType([l["default"].PropTypes.object,l["default"].PropTypes.array])},b.defaultProps={duration:1e3,easing:"quadInOut",delay:0,data:{}},e["default"]=b},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t,e){return function(n){return t(n,e)}}function n(t,e,n){return function(r){return t(r,e,n)}}function r(t,e){return e=N.call(e),e[0]=null,function(n){return e[0]=n,t.apply(null,e)}}function o(t,o,a){switch(arguments.length){case 1:return t;case 2:return e(t,o);case 3:return n(t,o,a);default:return r(t,arguments)}}function a(t){return+t}function i(t){return t*t}function u(t){return t*(2-t)}function s(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function c(t){return t*t*t}function l(t){return--t*t*t+1}function f(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function p(t,e){return null==e&&(e=3),Math.pow(t,e)}function h(t,e){return null==e&&(e=3),1-Math.pow(1-t,e)}function d(t,e){return null==e&&(e=3),((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}function y(t){return 1-Math.cos(t*F)}function g(t){return Math.sin(t*F)}function b(t){return(1-Math.cos(D*t))/2}function v(t){return Math.pow(2,10*t-10)}function m(t){return 1-Math.pow(2,-10*t)}function x(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function _(t){return 1-Math.sqrt(1-t*t)}function T(t){return Math.sqrt(1- --t*t)}function P(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function M(t){return 1-w(1-t)}function w(t){return L>t?B*t*t:z>t?B*(t-=H)*t+I:R>t?B*(t-=q)*t+Y:B*(t-=V)*t+U}function O(t){return((t*=2)<=1?1-w(1-t):w(t-1)+1)/2}function k(t,e){return e=null==e?1.70158:+e,t*t*((e+1)*t-e)}function j(t,e){return e=null==e?1.70158:+e,--t*t*((e+1)*t+e)+1}function S(t,e){return e=null==e?1.70158:+e,((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}function A(t,e,n){return e=null==e?1:Math.max(1,e),n=(null==n?.3:n)/W,e*Math.pow(2,10*--t)*Math.sin((n*Math.asin(1/e)-t)/n)}function E(t,e,n){return e=null==e?1:Math.max(1,e),n=(null==n?.3:n)/W,1-e*Math.pow(2,-10*t)*Math.sin((+t+n*Math.asin(1/e))/n)}function C(t,e,n){e=null==e?1:Math.max(1,e),n=(null==n?.3:n)/W;var r=n*Math.asin(1/e);return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}var N=Array.prototype.slice,D=Math.PI,F=D/2,L=4/11,H=6/11,z=8/11,I=.75,q=9/11,R=10/11,Y=.9375,V=21/22,U=63/64,B=1/L/L,W=2*Math.PI,X="0.3.1";t.version=X,t.bind=o,t.linear=a,t.linearIn=a,t.linearOut=a,t.linearInOut=a,t.quad=i,t.quadIn=i,t.quadOut=u,t.quadInOut=s,t.cubic=c,t.cubicIn=c,t.cubicOut=l,t.cubicInOut=f,t.poly=p,t.polyIn=p,t.polyOut=h,t.polyInOut=d,t.sin=y,t.sinIn=y,t.sinOut=g,t.sinInOut=b,t.exp=v,t.expIn=v,t.expOut=m,t.expInOut=x,t.circle=_,t.circleIn=_,t.circleOut=T,t.circleInOut=P,t.bounce=M,t.bounceIn=M,t.bounceOut=w,t.bounceInOut=O,t.back=k,t.backIn=k,t.backOut=j,t.backInOut=S,t.elastic=A,t.elasticIn=A,t.elasticOut=E,t.elasticInOut=C})},function(t,e,n){!function(t,r){r(e,n(161))}(this,function(t,e){"use strict";function n(t,e){var n=t-e;return n>180||-180>n?n-360*Math.round(n/360):n}function r(t){return function(r,o){r=e.cubehelix(r),o=e.cubehelix(o);var a=isNaN(r.h)?o.h:r.h,i=isNaN(r.s)?o.s:r.s,u=r.l,s=isNaN(o.h)?0:n(o.h,a),c=isNaN(o.s)?0:o.s-i,l=o.l-u;return function(e){return r.h=a+s*e,r.s=i+c*e,r.l=u+l*Math.pow(e,t),r+""}}}function o(t){return function(n,r){n=e.cubehelix(n),r=e.cubehelix(r);var o=isNaN(n.h)?r.h:n.h,a=isNaN(n.s)?r.s:n.s,i=n.l,u=isNaN(r.h)?0:r.h-o,s=isNaN(r.s)?0:r.s-a,c=r.l-i;return function(e){return n.h=o+u*e,n.s=a+s*e,n.l=i+c*Math.pow(e,t),n+""}}}function a(t,n){t=e.rgb(t),n=e.rgb(n);var r=t.r,o=t.g,a=t.b,i=n.r-r,u=n.g-o,s=n.b-a;return function(e){return t.r=r+i*e,t.g=o+u*e,t.b=a+s*e,t+""}}function i(t,e){return t=+t,e-=t,function(n){return t+e*n}}function u(t,e){var n,r={},o={};for(n in t)n in e?r[n]=f(t[n],e[n]):o[n]=t[n];for(n in e)n in t||(o[n]=e[n]);return function(t){for(n in r)o[n]=r[n](t);return o}}function s(t){return function(){return t}}function c(t){return function(e){return t(e)+""}}function l(t,e){var n,r,o,a=D.lastIndex=F.lastIndex=0,u=-1,l=[],f=[];for(t+="",e+="";(n=D.exec(t))&&(r=F.exec(e));)(o=r.index)>a&&(o=e.slice(a,o),l[u]?l[u]+=o:l[++u]=o),(n=n[0])===(r=r[0])?l[u]?l[u]+=r:l[++u]=r:(l[++u]=null,f.push({i:u,x:i(n,r)})),a=F.lastIndex;return a<e.length&&(o=e.slice(a),l[u]?l[u]+=o:l[++u]=o),l.length<2?f[0]?c(f[0].x):s(e):(e=f.length,function(t){for(var n,r=0;e>r;++r)l[(n=f[r]).i]=n.x(t);return l.join("")})}function f(t,e){for(var n,r=L.length;--r>=0&&!(n=L[r](t,e)););return n}function p(t,e){var n,r=[],o=[],a=t.length,i=e.length,u=Math.min(t.length,e.length);for(n=0;u>n;++n)r.push(f(t[n],e[n]));for(;a>n;++n)o[n]=t[n];for(;i>n;++n)o[n]=e[n];return function(t){for(n=0;u>n;++n)o[n]=r[n](t);return o}}function h(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}}function d(t){N||(N=document.createElementNS("http://www.w3.org/2000/svg","g")),t&&(N.setAttribute("transform",t),e=N.transform.baseVal.consolidate());var e,n=e?e.matrix:z,r=[n.a,n.b],o=[n.c,n.d],a=g(r),i=y(r,o),u=g(b(o,r,-i))||0;r[0]*o[1]<o[0]*r[1]&&(r[0]*=-1,r[1]*=-1,a*=-1,i*=-1),this.rotate=(a?Math.atan2(r[1],r[0]):Math.atan2(-o[0],o[1]))*H,this.translate=[n.e,n.f],this.scale=[a,u],this.skew=u?Math.atan2(i,u)*H:0}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function g(t){var e=Math.sqrt(y(t,t));return e&&(t[0]/=e,t[1]/=e),e}function b(t,e,n){return t[0]+=n*e[0],t[1]+=n*e[1],t}function v(t){return t.length?t.pop()+",":""}function m(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var o=n.push("translate(",null,",",null,")");r.push({i:o-4,x:i(t[0],e[0])},{i:o-2,x:i(t[1],e[1])})}else(e[0]||e[1])&&n.push("translate("+e+")")}function x(t,e,n,r){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(v(n)+"rotate(",null,")")-2,x:i(t,e)})):e&&n.push(v(n)+"rotate("+e+")")}function _(t,e,n,r){t!==e?r.push({i:n.push(v(n)+"skewX(",null,")")-2,x:i(t,e)}):e&&n.push(v(n)+"skewX("+e+")")}function T(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var o=n.push(v(n)+"scale(",null,",",null,")");r.push({i:o-4,x:i(t[0],e[0])},{i:o-2,x:i(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(v(n)+"scale("+e+")")}function P(t,e){var n=[],r=[];return t=new d(t),e=new d(e),m(t.translate,e.translate,n,r),x(t.rotate,e.rotate,n,r),_(t.skew,e.skew,n,r),T(t.scale,e.scale,n,r),t=e=null,function(t){for(var e,o=-1,a=r.length;++o<a;)n[(e=r[o]).i]=e.x(t);return n.join("")}}function M(t){return((t=Math.exp(t))+1/t)/2}function w(t){return((t=Math.exp(t))-1/t)/2}function O(t){return((t=Math.exp(2*t))-1)/(t+1)}function k(t,e){var n,r,o=t[0],a=t[1],i=t[2],u=e[0],s=e[1],c=e[2],l=u-o,f=s-a,p=l*l+f*f;if(Y>p)r=Math.log(c/i)/I,n=function(t){return[o+t*l,a+t*f,i*Math.exp(I*t*r)]};else{var h=Math.sqrt(p),d=(c*c-i*i+R*p)/(2*i*q*h),y=(c*c-i*i-R*p)/(2*c*q*h),g=Math.log(Math.sqrt(d*d+1)-d),b=Math.log(Math.sqrt(y*y+1)-y);r=(b-g)/I,n=function(t){var e=t*r,n=M(g),u=i/(q*h)*(n*O(I*e+g)-w(g));return[o+u*l,a+u*f,i*n/M(I*e+g)]}}return n.duration=1e3*r,n}function j(t,r){t=e.hsl(t),r=e.hsl(r);var o=isNaN(t.h)?r.h:t.h,a=isNaN(t.s)?r.s:t.s,i=t.l,u=isNaN(r.h)?0:n(r.h,o),s=isNaN(r.s)?0:r.s-a,c=r.l-i;return function(e){return t.h=o+u*e,t.s=a+s*e,t.l=i+c*e,t+""}}function S(t,n){t=e.hsl(t),n=e.hsl(n);var r=isNaN(t.h)?n.h:t.h,o=isNaN(t.s)?n.s:t.s,a=t.l,i=isNaN(n.h)?0:n.h-r,u=isNaN(n.s)?0:n.s-o,s=n.l-a;return function(e){return t.h=r+i*e,t.s=o+u*e,t.l=a+s*e,t+""}}function A(t,n){t=e.lab(t),n=e.lab(n);var r=t.l,o=t.a,a=t.b,i=n.l-r,u=n.a-o,s=n.b-a;return function(e){return t.l=r+i*e,t.a=o+u*e,t.b=a+s*e,t+""}}function E(t,r){t=e.hcl(t),r=e.hcl(r);var o=isNaN(t.h)?r.h:t.h,a=isNaN(t.c)?r.c:t.c,i=t.l,u=isNaN(r.h)?0:n(r.h,o),s=isNaN(r.c)?0:r.c-a,c=r.l-i;return function(e){return t.h=o+u*e,t.c=a+s*e,t.l=i+c*e,t+""}}function C(t,n){t=e.hcl(t),n=e.hcl(n);var r=isNaN(t.h)?n.h:t.h,o=isNaN(t.c)?n.c:t.c,a=t.l,i=isNaN(n.h)?0:n.h-r,u=isNaN(n.c)?0:n.c-o,s=n.l-a;return function(e){return t.h=r+i*e,t.c=o+u*e,t.l=a+s*e,t+""}}var N,D=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,F=new RegExp(D.source,"g"),L=[function(t,n){var r,o=typeof n;return("string"===o?(r=e.color(n))?(n=r,a):l:n instanceof e.color?a:Array.isArray(n)?p:"object"===o&&isNaN(n)?u:i)(t,n)}],H=180/Math.PI,z={a:1,b:0,c:0,d:1,e:0,f:0},I=Math.SQRT2,q=2,R=4,Y=1e-12,V=r(1),U=o(1),B="0.2.1";t.version=B,t.cubehelix=V,t.cubehelixLong=U,t.cubehelixGamma=r,t.cubehelixGammaLong=o,t.array=p,t.number=i,t.object=u,t.round=h,t.string=l,t.transform=P,t.values=L,t.value=f,t.zoom=k,t.rgb=a,t.hsl=j,t.hslLong=S,t.lab=A,t.hcl=E,t.hclLong=C})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(){}function n(t){var e;return t=(t+"").trim().toLowerCase(),(e=_.exec(t))?(e=parseInt(e[1],16),new a(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e)):(e=T.exec(t))?r(parseInt(e[1],16)):(e=P.exec(t))?new a(e[1],e[2],e[3]):(e=M.exec(t))?new a(255*e[1]/100,255*e[2]/100,255*e[3]/100):(e=w.exec(t))?new u(e[1],e[2]/100,e[3]/100):O.hasOwnProperty(t)?r(O[t]):null}function r(t){return new a(t>>16&255,t>>8&255,255&t)}function o(t,r,o){return 1===arguments.length&&(t instanceof e||(t=n(t)),t?(t=t.rgb(),o=t.b,r=t.g,t=t.r):t=r=o=NaN),new a(t,r,o)}function a(t,e,n){this.r=+t,this.g=+e,this.b=+n}function i(t,r,o){if(1===arguments.length)if(t instanceof u)o=t.l,r=t.s,t=t.h;else if(t instanceof e||(t=n(t)),t){if(t instanceof u)return t;t=t.rgb();var a=t.r/255,i=t.g/255,s=t.b/255,c=Math.min(a,i,s),l=Math.max(a,i,s),f=l-c;o=(l+c)/2,f?(r=.5>o?f/(l+c):f/(2-l-c),t=a===l?(i-s)/f+6*(s>i):i===l?(s-a)/f+2:(a-i)/f+4,t*=60):(t=NaN,r=o>0&&1>o?0:t)}else t=r=o=NaN;return new u(t,r,o)}function u(t,e,n){this.h=+t,this.s=+e,this.l=+n}function s(t,e,n){return 255*(60>t?e+(n-e)*t/60:180>t?n:240>t?e+(n-e)*(240-t)/60:e)}function c(t,e,n){if(1===arguments.length)if(t instanceof l)n=t.b,e=t.a,t=t.l;else if(t instanceof g){var r=t.h*S;n=Math.sin(r)*t.c,e=Math.cos(r)*t.c,t=t.l}else{t instanceof a||(t=o(t)),n=d(t.r),e=d(t.g),t=d(t.b);var i=f((.4124564*n+.3575761*e+.1804375*t)/C),u=f((.2126729*n+.7151522*e+.072175*t)/N),s=f((.0193339*n+.119192*e+.9503041*t)/D);n=200*(u-s),e=500*(i-u),t=116*u-16}return new l(t,e,n)}function l(t,e,n){this.l=+t,this.a=+e,this.b=+n}function f(t){return t>z?Math.pow(t,1/3):t/H+F}function p(t){return t>L?t*t*t:H*(t-F)}function h(t){return 255*(.0031308>=t?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function d(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function y(t,e,n){return 1===arguments.length&&(t instanceof g?(n=t.l,e=t.c,t=t.h):(t instanceof l||(t=c(t)),n=t.l,e=Math.sqrt(t.a*t.a+t.b*t.b),t=Math.atan2(t.b,t.a)*A,0>t&&(t+=360))),new g(t,e,n)}function g(t,e,n){this.h=+t,this.c=+e,this.l=+n}function b(t,e,n){if(1===arguments.length)if(t instanceof v)n=t.l,e=t.s,t=t.h;else{t instanceof a||(t=o(t));var r=t.r/255,i=t.g/255,u=t.b/255;n=(J*u+W*r-X*i)/(J+W-X);var s=u-n,c=(B*(i-n)-V*s)/U;e=Math.sqrt(c*c+s*s)/(B*n*(1-n)),t=e?Math.atan2(c,s)*A-120:NaN,0>t&&(t+=360)}return new v(t,e,n)}function v(t,e,n){this.h=+t,this.s=+e,this.l=+n}var m=.7,x=1/m,_=/^#([0-9a-f]{3})$/,T=/^#([0-9a-f]{6})$/,P=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,M=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,w=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,O={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};n.prototype=e.prototype={displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}};var k=o.prototype=a.prototype=new e;k.brighter=function(t){return t=null==t?x:Math.pow(x,t),new a(this.r*t,this.g*t,this.b*t)},k.darker=function(t){return t=null==t?m:Math.pow(m,t),new a(this.r*t,this.g*t,this.b*t)},k.rgb=function(){return this},k.displayable=function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255},k.toString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return"#"+(isNaN(t)||0>=t?"00":16>t?"0"+t.toString(16):t>=255?"ff":t.toString(16))+(isNaN(e)||0>=e?"00":16>e?"0"+e.toString(16):e>=255?"ff":e.toString(16))+(isNaN(n)||0>=n?"00":16>n?"0"+n.toString(16):n>=255?"ff":n.toString(16))};var j=i.prototype=u.prototype=new e;j.brighter=function(t){return t=null==t?x:Math.pow(x,t),new u(this.h,this.s,this.l*t)},j.darker=function(t){return t=null==t?m:Math.pow(m,t),new u(this.h,this.s,this.l*t)},j.rgb=function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(.5>n?n:1-n)*e,o=2*n-r;return new a(s(t>=240?t-240:t+120,o,r),s(t,o,r),s(120>t?t+240:t-120,o,r))},j.displayable=function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1};var S=Math.PI/180,A=180/Math.PI,E=18,C=.95047,N=1,D=1.08883,F=4/29,L=6/29,H=3*L*L,z=L*L*L,I=c.prototype=l.prototype=new e;I.brighter=function(t){return new l(this.l+E*(null==t?1:t),this.a,this.b)},I.darker=function(t){return new l(this.l-E*(null==t?1:t),this.a,this.b)},I.rgb=function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=N*p(t),e=C*p(e),n=D*p(n),new a(h(3.2404542*e-1.5371385*t-.4985314*n),h(-.969266*e+1.8760108*t+.041556*n),h(.0556434*e-.2040259*t+1.0572252*n))};var q=y.prototype=g.prototype=new e;q.brighter=function(t){return new g(this.h,this.c,this.l+E*(null==t?1:t))},q.darker=function(t){return new g(this.h,this.c,this.l-E*(null==t?1:t))},q.rgb=function(){return c(this).rgb()};var R=-.14861,Y=1.78277,V=-.29227,U=-.90649,B=1.97294,W=B*U,X=B*Y,J=Y*V-U*R,$=b.prototype=v.prototype=new e;$.brighter=function(t){return t=null==t?x:Math.pow(x,t),new v(this.h,this.s,this.l*t)},$.darker=function(t){return t=null==t?m:Math.pow(m,t),new v(this.h,this.s,this.l*t)},$.rgb=function(){var t=isNaN(this.h)?0:(this.h+120)*S,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),o=Math.sin(t);return new a(255*(e+n*(R*r+Y*o)),255*(e+n*(V*r+U*o)),255*(e+n*(B*r)))};var Z="0.3.4";t.version=Z,t.color=n,t.rgb=o,t.hsl=i,t.lab=c,t.hcl=y,t.cubehelix=b})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t,e,n){this.id=++l,this.restart(t,e,n)}function n(t,n,r){return new e(t,n,r)}function r(t){t=null==t?Date.now():+t,++s;try{for(var e,n=i;n;)t>=n.time&&(e=n.callback)(t-n.time,t),n=n.next}finally{--s}}function o(){s=c=0;try{r()}finally{for(var t,e=i,n=1/0;e;)e.callback?(n>e.time&&(n=e.time),e=(t=e).next):e=t?t.next=e.next:i=e.next;u=t,a(n)}}function a(t){if(!s){c&&(c=clearTimeout(c));var e=t-Date.now();e>24?1/0>t&&(c=setTimeout(o,e)):(s=1,p(o))}}var i,u,s=0,c=0,l=0,f={},p="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame)||function(t){return setTimeout(t,17)};e.prototype=n.prototype={restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");
  n=(null==n?Date.now():+n)+(null==e?0:+e);var r=this.id,o=f[r];o?(o.callback=t,o.time=n):(o={next:null,callback:t,time:n},u?u.next=o:i=o,f[r]=u=o),a()},stop:function(){var t=this.id,e=f[t];e&&(e.callback=null,e.time=1/0,delete f[t],a())}};var h="0.0.6";t.version=h,t.timer=n,t.timerFlush=r})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.addVictoryInterpolator=e.victoryInterpolator=e.interpolateFunction=e.interpolateImmediate=e.isInterpolatable=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},a=n(160),i=r(a),u=n(148),s=r(u),c=e.isInterpolatable=function(t){if(null!==t)switch("undefined"==typeof t?"undefined":o(t)){case"undefined":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return t instanceof Date||Array.isArray(t)||(0,s["default"])(t);case"function":return!0}return!1},l=e.interpolateImmediate=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2];return function(r){return n>r?t:e}},f=e.interpolateFunction=function(t,e){return function(n){return n>=1?e:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof e?e.apply(this,arguments):e;return i["default"].value(r,o)(n)}}},p=e.victoryInterpolator=function(t,e){return t!==e&&c(t)&&c(e)?"function"==typeof t||"function"==typeof e?f(t,e):void 0:l(t,e)},h=!1;e.addVictoryInterpolator=function(){h||(i["default"].values.push(p),h=!0)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(165),p=n(87),h=r(p),d={stroke:"transparent",fill:"#756f6a",fontSize:16,fontFamily:"Helvetica",backgroundColor:"#ccc"},y=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"getStyles",value:function(t){var e=t.style?(0,h["default"])({},d,t.style):d,n=t.datum||t.data;return f.Helpers.evaluateStyle(e,n)}},{key:"getHeight",value:function(t,e){var n=t.datum||t.data,r=f.Helpers.evaluateProp(t[e],n);return"number"==typeof r?r+"em":r}},{key:"getContent",value:function(t){var e=t.text||t.children;if(e){var n=t.datum||t.data,r=f.Helpers.evaluateProp(e,n);return(""+r).split("\n")}return[""]}},{key:"getDy",value:function(t,e,n){var r=t.datum||t.data,o=t.dy?f.Helpers.evaluateProp(t.dy,r):0,a=e.length,i=this.getHeight(t,"capHeight"),u=t.verticalAnchor?f.Helpers.evaluateProp(t.verticalAnchor,r):"middle";switch(u){case"end":return f.Style.calc(o+" +  "+i+" / 2 + (0.5 - "+a+") * "+n);case"middle":return f.Style.calc(o+" + "+i+" / 2 + (0.5 - "+a+" / 2) * "+n);default:return f.Style.calc(o+" + "+i+" / 2 + "+n+" / 2")}}},{key:"render",value:function(){var t=this,e=this.props.datum||this.props.data,n=this.getHeight(this.props,"lineHeight"),r=this.props.transform&&f.Style.toTransformString(f.Helpers.evaluateProp(this.props.transform,e)),o=this.props.textAnchor?f.Helpers.evaluateProp(this.props.textAnchor,e):"start",a=this.getContent(this.props),i=this.getStyles(this.props),s=this.props.dx?f.Helpers.evaluateProp(this.props.dx,e):0,c=this.getDy(this.props,a,n);return l["default"].createElement("text",u({x:this.props.x,y:this.props.y,dy:c,dx:s,textAnchor:o,transform:r,style:i},this.props.events),a.map(function(e,r){return l["default"].createElement("tspan",{key:r,x:t.props.x,dy:r?n:void 0},e)}))}}]),e}(l["default"].Component);y.propTypes={capHeight:c.PropTypes.oneOfType([c.PropTypes.string,f.PropTypes.nonNegative,c.PropTypes.func]),datum:c.PropTypes.object,data:c.PropTypes.array,events:c.PropTypes.object,text:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number,c.PropTypes.func]),children:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number,c.PropTypes.func]),lineHeight:c.PropTypes.oneOfType([c.PropTypes.string,f.PropTypes.nonNegative,c.PropTypes.func]),style:c.PropTypes.object,textAnchor:c.PropTypes.oneOfType([c.PropTypes.oneOf(["start","middle","end","inherit"]),c.PropTypes.func]),verticalAnchor:c.PropTypes.oneOfType([c.PropTypes.oneOf(["start","middle","end"]),c.PropTypes.func]),transform:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.object,c.PropTypes.func]),x:c.PropTypes.number,y:c.PropTypes.number,dx:c.PropTypes.oneOfType([c.PropTypes.number,c.PropTypes.string,c.PropTypes.func]),dy:c.PropTypes.oneOfType([c.PropTypes.number,c.PropTypes.string,c.PropTypes.func])},y.defaultProps={capHeight:"0.71em",lineHeight:1},e["default"]=y},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Perf=e.PropTypes=e.Style=e.Log=e.Helpers=e.Collection=void 0;var o=n(38),a=r(o),i=n(39),u=r(i),s=n(151),c=r(s),l=n(152),f=r(l),p=n(157),h=r(p),d=n(166),y=r(d);e.Collection=a["default"],e.Helpers=u["default"],e.Log=c["default"],e.Style=f["default"],e.PropTypes=h["default"],e.Perf=y["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={memoize:function(t){var e={};return function(){var n=Array.prototype.slice.call(arguments),r=n.map(function(t){return"string"==typeof t||"number"==typeof t?t:JSON.stringify(t)}).join("~");return r in e?e[r]:e[r]=t.apply(this,n)}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return(t.key||e).toString()}function a(t){return t.reduce(function(t,e,n){var r=o(e,n);return t[r]=e,t},{})}function i(t,e){var n=!1,r=Object.keys(t).reduce(function(t,r){return r in e||(n=!0,t[r]=!0),t},{});return n&&r}function u(t,e){var n=a(t),r=a(e);return{entering:i(r,n),exiting:i(n,r)}}function s(t,e){var n=!1,r=!1;t=[].concat(t),e=[].concat(e);var o=t.map(function(t,o){var a=e[o];if(!a||t.type!==a.type)return{};var i=t.type.defaultTransitions&&u(t.props.data,a.props.data)||{},s=i.entering,c=i.exiting;return n=n||!!c,r=r||!!s,{entering:s,exiting:c}});return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function c(t,e){var n=t.onExit&&t.onExit.before?t.onExit.before:v["default"];return{data:e.map(function(t){return(0,g["default"])({},t,n(t))})}}function l(t,e,n,r){var o=t&&t.onExit;return t=(0,g["default"])({},t,o),n&&!function(){t.onEnd=r;var o=t.onExit&&t.onExit.after?t.onExit.after:v["default"];e=e.map(function(t,e){var r=(t.key||e).toString();return n[r]?(0,g["default"])({},t,o(t)):t})}(),{animate:t,data:e}}function f(t,e,n,r){return n&&!function(){t=(0,g["default"])({},t,{onEnd:r});var o=t.onEnter&&t.onEnter.before?t.onEnter.before:v["default"];e=e.map(function(t,e){var r=(t.key||e).toString();return n[r]?(0,g["default"])({},t,o(t)):t})}(),{animate:t,data:e}}function p(t,e,n){var r=t&&t.onEnter;return t=(0,g["default"])({},t,r),n&&!function(){var r=t.onEnter&&t.onEnter.after?t.onEnter.after:v["default"];e=e.map(function(t,e){var a=o(t,e);return n[a]?(0,g["default"])({},t,r(t)):t})}(),{animate:t,data:e}}function h(t,e,n){return e?t.reduce(function(t,n,r){return e[r]&&e[r].exiting&&n.props.animate&&n.props.animate.onExit&&n.props.animate.onExit.duration>t.exit&&(t.exit=n.props.animate.onExit.duration),e[r]&&e[r].entering&&n.props.animate&&n.props.animate.onEnter&&n.props.animate.onEnter.duration>t.enter&&(t.enter=n.props.animate.onEnter.duration),n.props.animate&&n.props.animate.duration>t.move&&(t.move=n.props.animate.duration),t},{exit:n.onExit&&n.onExit.duration||null,enter:n.onEnter&&n.onEnter.duration||null,move:n.duration||null}):{}}function d(t,e,n,r){var o=e&&e.nodesWillExit,a=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,u=e&&e.childrenTransitions,s=h(t,u,n);return function(t,h,d){if(!t.data)return{};var y=(0,g["default"])({},t.animate||n);h.defaultTransitions&&(y.onExit=y.onExit||h.defaultTransitions.onExit,y.onEnter=y.onEnter||h.defaultTransitions.onEnter);var b=t.data;if(o){var v=u[d]&&u[d].exiting;return y=(0,g["default"])(y,{duration:s.exit}),l(y,b,v,function(){return r({nodesWillExit:!1})})}if(a){var m=u[d]&&u[d].entering;return y=(0,g["default"])(y,{duration:s[i?"enter":"move"]}),i?p(y,b,m):f(y,b,m,function(){return r({nodesShouldEnter:!0})})}return!e&&y&&y.onExit?c(y,b):{animate:y,data:b}}}Object.defineProperty(e,"__esModule",{value:!0}),e.getInitialTransitionState=s,e.getTransitionPropsFactory=d;var y=n(168),g=r(y),b=n(52),v=r(b)},function(t,e,n){var r=n(8),o=n(119),a=n(9),i=n(11),u=n(35),s=n(120),c=Object.prototype,l=c.hasOwnProperty,f=c.propertyIsEnumerable,p=!f.call({valueOf:1},"valueOf"),h=a(function(t,e){if(p||u(e)||i(e))return void o(e,s(e),t);for(var n in e)l.call(e,n)&&r(t,n,e[n])});t.exports=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(2),l=r(c),f=n(170),p=r(f),h=n(36),d=r(h),y=n(37),g=n(174),b=r(g),v=n(175),m=r(v),x=n(176),_=r(x),T=n(177),P=r(T),M=n(178),w=r(M),O=n(179),k=r(O),j=n(207),S=r(j),A={axis:{stroke:"#756f6a",fill:"none",strokeWidth:2,strokeLinecap:"round"},axisLabel:{stroke:"transparent",fill:"#756f6a",fontSize:16,fontFamily:"Helvetica"},grid:{stroke:"none",fill:"none",strokeLinecap:"round"},ticks:{stroke:"#756f6a",fill:"none",padding:5,strokeWidth:2,strokeLinecap:"round",size:4},tickLabels:{stroke:"transparent",fill:"#756f6a",fontFamily:"Helvetica",fontSize:10,padding:5}},E={top:-1,left:-1,right:1,bottom:1},C=function(t){var e=t.style||{},n={height:t.height,width:t.width};return{parent:(0,l["default"])(n,e.parent,A.parent),axis:(0,l["default"])({},e.axis,A.axis),axisLabel:(0,l["default"])({},e.axisLabel,A.axisLabel),grid:(0,l["default"])({},e.grid,A.grid),ticks:(0,l["default"])({},e.ticks,A.ticks),tickLabels:(0,l["default"])({},e.tickLabels,A.tickLabels)}},N=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"componentWillMount",value:function(){this.state={axisState:{},axisLabelState:{},gridState:{},ticksState:{},tickLabelsState:{}}}},{key:"getTickProps",value:function(t){var e=S["default"].stringTicks(t),n=k["default"].getScale(t),r=k["default"].getTicks(t,n);return{scale:n,ticks:r,stringTicks:e}}},{key:"getLayoutProps",value:function(t){var e=C(t),n=y.Helpers.getPadding(t),r=t.orientation||(t.dependentAxis?"left":"bottom"),o=S["default"].isVertical(t),a=k["default"].getLabelPadding(t,e),i=k["default"].getOffset(t,e);return{style:e,padding:n,orientation:r,isVertical:o,labelPadding:a,offset:i}}},{key:"renderLine",value:function(t,e){var n=e.style,r=e.padding,o=e.isVertical,a=y.Helpers.getEvents.bind(this);return d["default"].createElement(b["default"],u({key:"line",events:a(this.props.events.axis,"axis"),style:n.axis,x1:o?null:r.left,x2:o?null:t.width-r.right,y1:o?r.top:null,y2:o?t.height-r.bottom:null},this.state.axisState[0]))}},{key:"renderTicks",value:function(t,e,n){var r=this,o=e.style,a=e.orientation,i=n.scale,s=n.ticks,c=n.stringTicks,l=k["default"].getTickFormat(t,n);return s.map(function(e,n){var s="left"===a||"right"===a,f=k["default"].getTickPosition(o.ticks,a,s),p=y.Helpers.getEvents.bind(r),h=d["default"].createElement(P["default"],u({key:"tick-"+n,index:n,events:p(r.props.events.ticks,"ticks"),position:f,tick:c?t.tickValues[e-1]:e,style:o.ticks},r.state.ticksState[n])),g=l.call(r,e,n),b=void 0;g&&(b=d["default"].createElement(w["default"],u({key:"tick-label-"+n,index:n,events:p(r.props.events.tickLabels,"tickLabels"),position:f,label:g,tick:c?t.tickValues[e-1]:e,orientation:a,isVertical:s,style:o.tickLabels},r.state.tickLabelsState[n])));var v=i(e),m=s?"translate(0, "+v+")":"translate("+v+", 0)";return d["default"].createElement("g",{key:"tick-group-"+n,transform:m},h,b)})}},{key:"renderGrid",value:function(t,e,n){var r=this,o=n.scale,a=n.ticks,i=n.stringTicks,s=e.style,c=e.padding,l=e.isVertical,f=e.offset,p=e.orientation,h="right"===p?c.right:c.left,g="top"===p?c.top:c.bottom,b=-E[p],v=t.crossAxis?f.x-h:0,m=t.crossAxis?f.y-g:0,x=l?b*(t.width-(c.left+c.right)):0,T=l?0:b*(t.height-(c.top+c.bottom));return a.map(function(e,n){var a=o(e),c=y.Helpers.getEvents.bind(r);return d["default"].createElement(_["default"],u({key:"grid-"+n,index:n,events:c(r.props.events.grid,"grid"),tick:i?t.tickValues[e-1]:e,x2:x,y2:T,xTransform:l?-v:a,yTransform:l?a:m,style:s.grid},r.state.gridState[n]))})}},{key:"renderLabel",value:function(t,e){if(t.label){var n=e.style,r=e.orientation,o=e.padding,a=e.labelPadding,i=e.isVertical,s=E[r],c=o.left+o.right,l=o.top+o.bottom,f=i?-((t.height-l)/2)-o.top:(t.width-c)/2+o.left,p=s*a,h=0>s?"end":"start",g=i?"rotate(-90)":"",b=y.Helpers.getEvents.bind(this);return d["default"].createElement(m["default"],u({events:b(this.props.events.axisLabel,"axisLabels"),verticalAnchor:h,transform:g,position:{x:f,y:p},label:this.props.label,style:n.axisLabel},this.state.axisLabelState[0]))}}},{key:"render",value:function(){var t=this;if(this.props.animate){var n=["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"],r=(0,p["default"])(this.props,n);return d["default"].createElement(y.VictoryAnimation,u({},this.props.animate,{data:r}),function(n){return d["default"].createElement(e,u({},t.props,n,{animate:null}))})}var o=this.getLayoutProps(this.props),a=this.getTickProps(this.props),i=o.style,s=k["default"].getTransform(this.props,o),c=d["default"].createElement("g",{style:i.parent,transform:s},this.renderGrid(this.props,o,a),this.renderLine(this.props,o),this.renderTicks(this.props,o,a),this.renderLabel(this.props,o));return this.props.standalone?d["default"].createElement("svg",u({style:i.parent},this.props.events.parent),c):c}}]),e}(d["default"].Component);N.role="axis",N.propTypes={animate:h.PropTypes.object,crossAxis:h.PropTypes.bool,dependentAxis:h.PropTypes.bool,domain:y.PropTypes.domain,events:h.PropTypes.shape({parent:h.PropTypes.object,axis:h.PropTypes.object,axisLabel:h.PropTypes.object,grid:h.PropTypes.object,ticks:h.PropTypes.object,tickLabels:h.PropTypes.object}),height:y.PropTypes.nonNegative,label:h.PropTypes.any,offsetX:h.PropTypes.number,offsetY:h.PropTypes.number,orientation:h.PropTypes.oneOf(["top","bottom","left","right"]),padding:h.PropTypes.oneOfType([h.PropTypes.number,h.PropTypes.shape({top:h.PropTypes.number,bottom:h.PropTypes.number,left:h.PropTypes.number,right:h.PropTypes.number})]),scale:y.PropTypes.scale,standalone:h.PropTypes.bool,style:h.PropTypes.shape({parent:h.PropTypes.object,axis:h.PropTypes.object,axisLabel:h.PropTypes.object,grid:h.PropTypes.object,ticks:h.PropTypes.object,tickLabels:h.PropTypes.object}),tickCount:y.PropTypes.nonNegative,tickFormat:h.PropTypes.oneOfType([h.PropTypes.func,y.PropTypes.homogeneousArray]),tickValues:y.PropTypes.homogeneousArray,width:y.PropTypes.nonNegative},N.defaultProps={events:{},height:300,padding:50,scale:"linear",standalone:!0,tickCount:5,width:450},N.getDomain=k["default"].getDomain.bind(k["default"]),N.getAxis=k["default"].getAxis.bind(k["default"]),N.getScale=k["default"].getScale.bind(k["default"]),N.getStyles=C,e["default"]=N},function(t,e,n){var r=n(171),o=n(173),a=n(18),i=a(function(t,e){return null==t?{}:o(t,r(e,1))});t.exports=i},function(t,e,n){function r(t,e,n,s){s||(s=[]);for(var c=-1,l=t.length;++c<l;){var f=t[c];e>0&&u(f)&&(n||i(f)||a(f))?e>1?r(f,e-1,n,s):o(s,f):n||(s[s.length]=f)}return s}var o=n(172),a=n(30),i=n(33),u=n(31);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){function r(t,e){return t=Object(t),o(e,function(e,n){return n in t&&(e[n]=t[n]),e},{})}var o=n(137);t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(37),p=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=f.Helpers.getPartialEvents(this.props.events,0,this.props);return l["default"].createElement("line",u({},this.props,t))}}]),e}(l["default"].Component);p.propTypes={x1:c.PropTypes.number,x2:c.PropTypes.number,y1:c.PropTypes.number,y2:c.PropTypes.number,style:c.PropTypes.object,events:c.PropTypes.object},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(2),c=r(s),l=n(36),f=r(l),p=n(37),h=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"renderLabelComponent",value:function(t){var e=t.label,n=(0,c["default"])({},e.props.style,t.style),r=e&&e.props.events?(0,c["default"])({},e.props.events,t.events):t.events,o=p.Helpers.getPartialEvents(r,0,t),a={x:e.props.x||t.position.x,y:e.props.y||t.position.y,text:e.props.text,textAnchor:e.props.textAnchor||"middle",verticalAnchor:e.props.verticalAnchor||t.verticalAnchor,transform:e.props.transform||t.transform,style:n,events:o};return f["default"].cloneElement(e,a)}},{key:"renderVictoryLabel",value:function(t){var e=p.Helpers.getPartialEvents(this.props.events,0,this.props),n="string"==typeof t.label?t.label:null;return f["default"].createElement(p.VictoryLabel,{x:t.position.x,y:t.position.y,textAnchor:"middle",verticalAnchor:t.verticalAnchor,transform:t.transform,style:t.style,text:n,events:e})}},{key:"renderLabel",value:function(t){return t.label&&t.label.props?this.renderLabelComponent(t):this.renderVictoryLabel(t)}},{key:"render",value:function(){return f["default"].createElement("g",null,this.renderLabel(this.props))}}]),e}(f["default"].Component);h.propTypes={events:l.PropTypes.object,label:l.PropTypes.any,position:l.PropTypes.object,verticalAnchor:l.PropTypes.string,transform:l.PropTypes.string,style:l.PropTypes.object},e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(37),p=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=f.Helpers.getPartialEvents(t.events,t.index,t);return l["default"].createElement("g",{transform:"translate("+t.xTransform+", "+t.yTransform+")"},l["default"].createElement("line",u({},e,{x2:t.x2,y2:t.y2,style:f.Helpers.evaluateStyle(t.style,t.tick)})))}}]),e}(l["default"].Component);p.role="grid",p.propTypes={index:c.PropTypes.number,tick:c.PropTypes.any,x2:c.PropTypes.number,y2:c.PropTypes.number,xTransform:c.PropTypes.number,yTransform:c.PropTypes.number,style:c.PropTypes.object,events:c.PropTypes.object},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(37),p=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=f.Helpers.evaluateStyle(this.props.style,this.props.tick),e=f.Helpers.getPartialEvents(this.props.events,this.props.index,this.props);return l["default"].createElement("line",u({},e,{x2:this.props.position.x2,y2:this.props.position.y2,style:t}))}}]),e}(l["default"].Component);p.role="tick",p.propTypes={index:c.PropTypes.number,position:c.PropTypes.object,tick:c.PropTypes.any,style:c.PropTypes.object,events:c.PropTypes.object},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(2),c=r(s),l=n(36),f=r(l),p=n(37),h=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"getAnchors",value:function(t){var e={top:"end",left:"end",right:"start",bottom:"start"},n=e[t.orientation];return{textAnchor:t.isVertical?n:"middle",verticalAnchor:t.isVertical?"middle":n}}},{key:"render",value:function(){var t=this.props;if(t.label){var e=t.label.props||{},n=e.style||t.style,r=this.getAnchors(t),o=e.events?(0,c["default"])({},e.events,t.events):t.events,a=p.Helpers.getPartialEvents(o,t.index,t),i={x:t.position.x,y:t.position.y,textAnchor:e.textAnchor||r.textAnchor,verticalAnchor:e.verticalAnchor||r.verticalAnchor,style:p.Helpers.evaluateStyle(n,t.tick),events:a};return t.label.props?f["default"].cloneElement(t.label,i):f["default"].createElement(p.VictoryLabel,i,t.label)}}}]),e}(f["default"].Component);h.propTypes={index:l.PropTypes.number,position:l.PropTypes.object,tick:l.PropTypes.any,orientation:l.PropTypes.oneOf(["top","bottom","left","right"]),isVertical:l.PropTypes.bool,style:l.PropTypes.object,events:l.PropTypes.object,label:l.PropTypes.any},e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(14),a=r(o),i=n(180),u=r(i),s=n(186),c=r(s),l=n(194),f=r(l),p=n(197),h=r(p),d=n(207),y=r(d),g=n(208),b=r(g),v=n(37);e["default"]={getDomain:function(t,e){return e&&e!==this.getAxis(t)?void 0:t.domain?t.domain:t.tickValues?b["default"].getDomainFromTickValues(t):void 0},getAxis:function(t,e){if(t.orientation){var n={top:"x",bottom:"x",left:"y",right:"y"};return n[t.orientation]}var r=t.dependentAxis?"dependent":"independent",o={dependent:"x",independent:"y"},a={independent:"x",dependent:"y"};return e?o[r]:a[r]},getScale:function(t){var e=this.getAxis(t),n=h["default"].getBaseScale(t,e),r=this.getDomain(t)||n.domain();return n.range(v.Helpers.getRange(t,e)),n.domain(r),n},getTicks:function(t,e){if(t.tickValues)return y["default"].stringTicks(t)?(0,f["default"])(1,t.tickValues.length+1):t.tickValues;if(e.ticks&&(0,a["default"])(e.ticks)){var n=e.ticks(t.tickCount);return t.crossAxis&&(0,u["default"])(n,0)?(0,c["default"])(n,0):n}return e.domain()},getTickFormat:function(t,e){var n=e.scale,r=e.ticks;return t.tickFormat&&(0,a["default"])(t.tickFormat)?t.tickFormat:t.tickFormat&&Array.isArray(t.tickFormat)?function(e,n){return t.tickFormat[n]}:y["default"].stringTicks(t)?function(e,n){return t.tickValues[n]}:n.tickFormat&&(0,a["default"])(n.tickFormat)?n.tickFormat(r.length):function(t){return t}},getLabelPadding:function(t,e){var n=e.axisLabel;if("undefined"!=typeof n.padding&&null!==n.padding)return n.padding;var r=y["default"].isVertical(t);return t.label?n.fontSize*(r?2.3:1.6):0},getOffset:function(t,e){var n=v.Helpers.getPadding(t),r=y["default"].isVertical(t),o=t.orientation||(t.dependentAxis?"left":"bottom"),a=this.getLabelPadding(t,e),i="right"===o?n.right:n.left,u="top"===o?n.top:n.bottom,s=e.axisLabel.fontSize,c=t.offsetX||i,l=t.offsetY||u,f=s+2*e.ticks.size+a,p=1.2*s,h=r?f:p,d=r?p:f;return{x:c||h,y:l||d}},getTransform:function(t,e){var n=e.offset,r=e.orientation,o={top:[0,n.y],bottom:[0,t.height-n.y],left:[n.x,0],right:[t.width-n.x,0]}[r];return"translate("+o[0]+", "+o[1]+")"},getTickPosition:function(t,e,n){var r={top:-1,left:-1,right:1,bottom:1},o=t.size+t.padding,a=r[e];return{x:n?a*o:0,x2:n?a*t.size:0,y:n?0:a*o,y2:n?0:a*t.size}}}},function(t,e,n){function r(t,e,n,r){t=a(t)?t:s(t),n=n&&!r?u(n):0;var l=t.length;return 0>n&&(n=c(l+n,0)),i(t)?l>=n&&t.indexOf(e,n)>-1:!!l&&o(t,e,n)>-1}var o=n(181),a=n(11),i=n(34),u=n(19),s=n(183),c=Math.max;t.exports=r},function(t,e,n){function r(t,e,n){if(e!==e)return o(t,n);for(var r=n-1,a=t.length;++r<a;)if(t[r]===e)return r;return-1}var o=n(182);t.exports=r},function(t,e){function n(t,e,n){for(var r=t.length,o=e+(n?0:-1);n?o--:++o<r;){var a=t[o];if(a!==a)return o}return-1}t.exports=n},function(t,e,n){function r(t){return t?o(t,a(t)):[]}var o=n(184),a=n(120);t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return t[e]})}var o=n(185);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){var r=n(187),o=n(31),a=n(18),i=a(function(t,e){return o(t)?r(t,e):[]});t.exports=i},function(t,e,n){function r(t,e,n,r){var f=-1,p=a,h=!0,d=t.length,y=[],g=e.length;if(!d)return y;n&&(e=u(e,s(n))),r?(p=i,h=!1):e.length>=l&&(p=c,h=!1,e=new o(e));t:for(;++f<d;){var b=t[f],v=n?n(b):b;if(h&&v===v){for(var m=g;m--;)if(e[m]===v)continue t;y.push(b)}else p(e,v,r)||y.push(b)}return y}var o=n(188),a=n(190),i=n(191),u=n(185),s=n(192),c=n(193),l=200;t.exports=r},function(t,e,n){function r(t){var e=-1,n=t?t.length:0;for(this.__data__=new o;++e<n;)this.push(t[e])}var o=n(99),a=n(189);r.prototype.push=a,t.exports=r},function(t,e,n){function r(t){var e=this.__data__;if(o(t)){var n=e.__data__,r="string"==typeof t?n.string:n.hash;r[t]=a}else e.set(t,a)}var o=n(107),a="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t,e){return!!t.length&&o(t,e,0)>-1}var o=n(181);t.exports=r},function(t,e){function n(t,e,n){for(var r=-1,o=t.length;++r<o;)if(n(e,t[r]))return!0;return!1}t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e){var n=t.__data__;if(o(e)){var r=n.__data__,i="string"==typeof e?r.string:r.hash;return i[e]===a}return n.has(e)}var o=n(107),a="__lodash_hash_undefined__";t.exports=r},function(t,e,n){var r=n(195),o=r();t.exports=o},function(t,e,n){function r(t){return function(e,n,r){return r&&"number"!=typeof r&&a(e,n,r)&&(n=r=void 0),e=i(e),e=e===e?e:0,void 0===n?(n=e,e=0):n=i(n)||0,r=void 0===r?n>e?1:-1:i(r)||0,o(e,n,r,t)}}var o=n(196),a=n(10),i=n(20);t.exports=r;
  },function(t,e){function n(t,e,n,a){for(var i=-1,u=o(r((e-t)/(n||1)),0),s=Array(u);u--;)s[a?u:++i]=t,t+=n;return s}var r=Math.ceil,o=Math.max;t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(198),a=r(o),i=n(180),u=r(i),s=n(14),c=r(s),l=n(37),f=n(199),p=r(f),h=["linear","time","log","sqrt"];e["default"]={getDefaultScale:function(){return p["default"].scaleLinear()},toNewName:function(t){var e=function(t){return t&&t[0].toUpperCase()+t.slice(1)};return"scale"+e(t)},validScale:function(t){return"function"==typeof t?(0,c["default"])(t.copy)&&(0,c["default"])(t.domain)&&(0,c["default"])(t.range):"string"==typeof t?(0,u["default"])(h,t):!1},isScaleDefined:function(t,e){return t.scale?t.scale.x||t.scale.y?!!t.scale[e]:!0:!1},getScaleFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return this.validScale(n)?(0,c["default"])(n)?n:p["default"][this.toNewName(n)]():void 0}},getScaleTypeFromData:function(t,e){if(!t.data)return"linear";var n=l.Helpers.createAccessor(t[e]),r=(0,a["default"])(t.data),o=r.map(n);return l.Collection.containsDates(o)?"time":"linear"},getBaseScale:function(t,e){var n=this.getScaleFromProps(t,e);if(n)return n;var r=this.getScaleTypeFromData(t,e);return p["default"][this.toNewName(r)]()},getScaleType:function(t,e){var n=this.getScaleFromProps(t,e);if(!n)return this.getScaleTypeFromData(t,e);if("string"==typeof n)return(0,u["default"])(h,n)?n:"invalid";if(!this.validScale(n))return"invalid";var r=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}],o=r.filter(function(t){return void 0!==n[t.method]})[0];return o?o.name:this.getScaleTypeFromData(t,e)}}},function(t,e,n){function r(t){var e=t?t.length:0;return e?o(t,1):[]}var o=n(171);t.exports=r},function(t,e,n){!function(t,r){r(e,n(200),n(201),n(202),n(204),n(205),n(206),n(203))}(this,function(t,e,n,r,o,a,i,u){"use strict";function s(){function t(t){var n=t+"",i=e.get(n);if(!i){if(a!==ut)return a;e.set(n,i=r.push(t))}return o[(i-1)%o.length]}var e=n.map(),r=[],o=[],a=ut;return t.domain=function(o){if(!arguments.length)return r.slice();r=[],e=n.map();for(var a,i,u=-1,s=o.length;++u<s;)e.has(i=(a=o[u])+"")||e.set(i,r.push(a));return t},t.range=function(e){return arguments.length?(o=it.call(e),t):o.slice()},t.unknown=function(e){return arguments.length?(a=e,t):a},t.copy=function(){return s().domain(r).range(o).unknown(a)},t}function c(){function t(){var t=a().length,o=u[1]<u[0],s=u[o-0],c=u[1-o];n=(c-s)/Math.max(1,t-f+2*p),l&&(n=Math.floor(n)),s+=(c-s-n*(t-f))*h,r=n*(1-f),l&&(s=Math.round(s),r=Math.round(r));var d=e.range(t).map(function(t){return s+n*t});return i(o?d.reverse():d)}var n,r,o=s().unknown(void 0),a=o.domain,i=o.range,u=[0,1],l=!1,f=0,p=0,h=.5;return delete o.unknown,o.domain=function(e){return arguments.length?(a(e),t()):a()},o.range=function(e){return arguments.length?(u=[+e[0],+e[1]],t()):u.slice()},o.rangeRound=function(e){return u=[+e[0],+e[1]],l=!0,t()},o.bandwidth=function(){return r},o.step=function(){return n},o.round=function(e){return arguments.length?(l=!!e,t()):l},o.padding=function(e){return arguments.length?(f=p=Math.max(0,Math.min(1,e)),t()):f},o.paddingInner=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),t()):f},o.paddingOuter=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),t()):p},o.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),t()):h},o.copy=function(){return c().domain(a()).range(u).round(l).paddingInner(f).paddingOuter(p).align(h)},t()}function l(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return l(e())},t}function f(){return l(c().paddingInner(1))}function p(t){return function(){return t}}function h(t){return+t}function d(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:p(e)}function y(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return e>=t?0:t>=n?1:r(t)}}}function g(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return 0>=t?e:t>=1?n:r(t)}}}function b(t,e,n,r){var o=t[0],a=t[1],i=e[0],u=e[1];return o>a?(o=n(a,o),i=r(u,i)):(o=n(o,a),i=r(i,u)),function(t){return i(o(t))}}function v(t,n,r,o){var a=Math.min(t.length,n.length)-1,i=new Array(a),u=new Array(a),s=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++s<a;)i[s]=r(t[s],t[s+1]),u[s]=o(n[s],n[s+1]);return function(n){var r=e.bisect(t,n,1,a)-1;return u[r](i[r](n))}}function m(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function x(t,e){function n(){var n=Math.min(u.length,s.length)>2?v:b;return a=n(u,s,l?y(t):t,c),i=n(s,u,d,l?g(e):e),o}function o(t){return a(+t)}var a,i,u=st,s=st,c=r.interpolate,l=!1;return o.invert=function(t){return i(+t)},o.domain=function(t){return arguments.length?(u=at.call(t,h),n()):u.slice()},o.range=function(t){return arguments.length?(s=it.call(t),n()):s.slice()},o.rangeRound=function(t){return s=it.call(t),c=r.interpolateRound,n()},o.clamp=function(t){return arguments.length?(l=!!t,n()):l},o.interpolate=function(t){return arguments.length?(c=t,n()):c},n()}function _(t,n,r){var a,i=t[0],u=t[t.length-1],s=e.tickStep(i,u,null==n?10:n);switch(r=o.formatSpecifier(null==r?",f":r),r.type){case"s":var c=Math.max(Math.abs(i),Math.abs(u));return null!=r.precision||isNaN(a=o.precisionPrefix(s,c))||(r.precision=a),o.formatPrefix(r,c);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=o.precisionRound(s,Math.max(Math.abs(i),Math.abs(u))))||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=o.precisionFixed(s))||(r.precision=a-2*("%"===r.type))}return o.format(r)}function T(t){var n=t.domain;return t.ticks=function(t){var r=n();return e.ticks(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,e){return _(n(),t,e)},t.nice=function(r){var o=n(),a=o.length-1,i=null==r?10:r,u=o[0],s=o[a],c=e.tickStep(u,s,i);return c&&(c=e.tickStep(Math.floor(u/c)*c,Math.ceil(s/c)*c,i),o[0]=Math.floor(u/c)*c,o[a]=Math.ceil(s/c)*c,n(o)),t},t}function P(){var t=x(d,r.interpolateNumber);return t.copy=function(){return m(t,P())},T(t)}function M(){function t(t){return+t}var e=[0,1];return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=at.call(n,h),t):e.slice()},t.copy=function(){return M().domain(e)},T(t)}function w(t,e){t=t.slice();var n,r=0,o=t.length-1,a=t[r],i=t[o];return a>i&&(n=r,r=o,o=n,n=a,a=i,i=n),t[r]=e.floor(a),t[o]=e.ceil(i),t}function O(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:p(e)}function k(t,e){return 0>t?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function j(t){return isFinite(t)?+("1e"+t):0>t?0:t}function S(t){return 10===t?j:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function A(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function E(t){return function(e){return-t(-e)}}function C(){function t(){return i=A(a),u=S(a),r()[0]<0&&(i=E(i),u=E(u)),n}var n=x(O,k).domain([1,10]),r=n.domain,a=10,i=A(10),u=S(10);return n.base=function(e){return arguments.length?(a=+e,t()):a},n.domain=function(e){return arguments.length?(r(e),t()):r()},n.ticks=function(t){var n,o=r(),s=o[0],c=o[o.length-1];(n=s>c)&&(h=s,s=c,c=h);var l,f,p,h=i(s),d=i(c),y=null==t?10:+t,g=[];if(!(a%1)&&y>d-h){if(h=Math.round(h)-1,d=Math.round(d)+1,s>0){for(;d>h;++h)for(f=1,l=u(h);a>f;++f)if(p=l*f,!(s>p)){if(p>c)break;g.push(p)}}else for(;d>h;++h)for(f=a-1,l=u(h);f>=1;--f)if(p=l*f,!(s>p)){if(p>c)break;g.push(p)}n&&g.reverse()}else g=e.ticks(h,d,Math.min(d-h,y)).map(u);return g},n.tickFormat=function(t,e){if(null==e&&(e=10===a?".0e":","),"function"!=typeof e&&(e=o.format(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,a*t/n.ticks().length);return function(t){var n=t/u(Math.round(i(t)));return a-.5>n*a&&(n*=a),r>=n?e(t):""}},n.nice=function(){return r(w(r(),{floor:function(t){return u(Math.floor(i(t)))},ceil:function(t){return u(Math.ceil(i(t)))}}))},n.copy=function(){return m(n,C().base(a))},n}function N(t,e){return 0>t?-Math.pow(-t,e):Math.pow(t,e)}function D(){function t(t,e){return(e=N(e,n)-(t=N(t,n)))?function(r){return(N(r,n)-t)/e}:p(e)}function e(t,e){return e=N(e,n)-(t=N(t,n)),function(r){return N(t+e*r,1/n)}}var n=1,r=x(t,e),o=r.domain;return r.exponent=function(t){return arguments.length?(n=+t,o(o())):n},r.copy=function(){return m(r,D().exponent(n))},T(r)}function F(){return D().exponent(.5)}function L(){function t(){var t=0,i=Math.max(1,o.length);for(a=new Array(i-1);++t<i;)a[t-1]=e.quantile(r,t/i);return n}function n(t){return isNaN(t=+t)?void 0:o[e.bisect(a,t)]}var r=[],o=[],a=[];return n.invertExtent=function(t){var e=o.indexOf(t);return 0>e?[NaN,NaN]:[e>0?a[e-1]:r[0],e<a.length?a[e]:r[r.length-1]]},n.domain=function(n){if(!arguments.length)return r.slice();r=[];for(var o,a=0,i=n.length;i>a;++a)o=n[a],null==o||isNaN(o=+o)||r.push(o);return r.sort(e.ascending),t()},n.range=function(e){return arguments.length?(o=it.call(e),t()):o.slice()},n.quantiles=function(){return a.slice()},n.copy=function(){return L().domain(r).range(o)},n}function H(){function t(t){return t>=t?u[e.bisect(i,t,0,a)]:void 0}function n(){var e=-1;for(i=new Array(a);++e<a;)i[e]=((e+1)*o-(e-a)*r)/(a+1);return t}var r=0,o=1,a=1,i=[.5],u=[0,1];return t.domain=function(t){return arguments.length?(r=+t[0],o=+t[1],n()):[r,o]},t.range=function(t){return arguments.length?(a=(u=it.call(t)).length-1,n()):u.slice()},t.invertExtent=function(t){var e=u.indexOf(t);return 0>e?[NaN,NaN]:1>e?[r,i[0]]:e>=a?[i[a-1],o]:[i[e-1],i[e]]},t.copy=function(){return H().domain([r,o]).range(u)},T(t)}function z(){function t(t){return t>=t?r[e.bisect(n,t,0,o)]:void 0}var n=[.5],r=[0,1],o=1;return t.domain=function(e){return arguments.length?(n=it.call(e),o=Math.min(n.length,r.length-1),t):n.slice()},t.range=function(e){return arguments.length?(r=it.call(e),o=Math.min(n.length,r.length-1),t):r.slice()},t.invertExtent=function(t){var e=r.indexOf(t);return[n[e-1],n[e]]},t.copy=function(){return z().domain(n).range(r)},t}function I(t){return new Date(t)}function q(t,n,o,a,i,u,s,c,l){function f(e){return(s(e)<e?b:u(e)<e?v:i(e)<e?_:a(e)<e?T:n(e)<e?o(e)<e?P:M:t(e)<e?O:k)(e)}function p(n,r,o,a){if(null==n&&(n=10),"number"==typeof n){var i=Math.abs(o-r)/n,u=e.bisector(function(t){return t[2]}).right(j,i);u===j.length?(a=e.tickStep(r/yt,o/yt,n),n=t):u?(u=j[i/j[u-1][2]<j[u][2]/i?u-1:u],a=u[1],n=u[0]):(a=e.tickStep(r,o,n),n=c)}return null==a?n:n.every(a)}var h=x(d,r.interpolateNumber),y=h.invert,g=h.domain,b=l(".%L"),v=l(":%S"),_=l("%I:%M"),T=l("%I %p"),P=l("%a %d"),M=l("%b %d"),O=l("%B"),k=l("%Y"),j=[[s,1,ct],[s,5,5*ct],[s,15,15*ct],[s,30,30*ct],[u,1,lt],[u,5,5*lt],[u,15,15*lt],[u,30,30*lt],[i,1,ft],[i,3,3*ft],[i,6,6*ft],[i,12,12*ft],[a,1,pt],[a,2,2*pt],[o,1,ht],[n,1,dt],[n,3,3*dt],[t,1,yt]];return h.invert=function(t){return new Date(y(t))},h.domain=function(t){return arguments.length?g(t):g().map(I)},h.ticks=function(t,e){var n,r=g(),o=r[0],a=r[r.length-1],i=o>a;return i&&(n=o,o=a,a=n),n=p(t,o,a,e),n=n?n.range(o,a+1):[],i?n.reverse():n},h.tickFormat=function(t){return null==t?f:l(t)},h.nice=function(t,e){var n=g();return(t=p(t,n[0],n[n.length-1],e))?g(w(n,t)):h},h.copy=function(){return m(h,q(t,n,o,a,i,u,s,c,l))},h}function R(){return q(a.timeYear,a.timeMonth,a.timeWeek,a.timeDay,a.timeHour,a.timeMinute,a.timeSecond,a.timeMillisecond,i.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function Y(){return q(a.utcYear,a.utcMonth,a.utcWeek,a.utcDay,a.utcHour,a.utcMinute,a.utcSecond,a.utcMillisecond,i.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function V(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}function U(){return s().range(gt)}function B(){return s().range(bt)}function W(){return s().range(vt)}function X(){return s().range(mt)}function J(){return P().interpolate(r.interpolateCubehelixLong).range([u.cubehelix(300,.5,0),u.cubehelix(-240,.5,1)])}function $(t){function e(e){var a=(e-n)/(r-n);return t(o?Math.max(0,Math.min(1,a)):a)}var n=0,r=1,o=!1;return e.domain=function(t){return arguments.length?(n=+t[0],r=+t[1],e):[n,r]},e.clamp=function(t){return arguments.length?(o=!!t,e):o},e.copy=function(){return $(t).domain([n,r]).clamp(o)},T(e)}function Z(){return $(r.interpolateCubehelixLong(u.cubehelix(-100,.75,.35),u.cubehelix(80,1.5,.8)))}function G(){return $(r.interpolateCubehelixLong(u.cubehelix(260,.75,.35),u.cubehelix(80,1.5,.8)))}function K(){var t=u.cubehelix();return $(function(e){(0>e||e>1)&&(e-=Math.floor(e));var n=Math.abs(e-.5);return t.h=360*e-100,t.s=1.5-1.5*n,t.l=.8-.9*n,t+""})}function Q(t){var e=$(function(e){return t[Math.round(e*t.length-e)]}).clamp(!0);return delete e.clamp,e}function tt(){return Q(xt)}function et(){return Q(_t)}function nt(){return Q(Tt)}function rt(){return Q(Pt)}var ot=Array.prototype,at=ot.map,it=ot.slice,ut={name:"implicit"},st=[0,1],ct=1e3,lt=60*ct,ft=60*lt,pt=24*ft,ht=7*pt,dt=30*pt,yt=365*pt,gt=V("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),bt=V("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),vt=V("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),mt=V("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),xt=V("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"),_t=V("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"),Tt=V("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"),Pt=V("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"),Mt="0.6.4";t.version=Mt,t.scaleBand=c,t.scalePoint=f,t.scaleIdentity=M,t.scaleLinear=P,t.scaleLog=C,t.scaleOrdinal=s,t.scaleImplicit=ut,t.scalePow=D,t.scaleSqrt=F,t.scaleQuantile=L,t.scaleQuantize=H,t.scaleThreshold=z,t.scaleTime=R,t.scaleUtc=Y,t.scaleCategory10=U,t.scaleCategory20b=B,t.scaleCategory20c=W,t.scaleCategory20=X,t.scaleCubehelix=J,t.scaleRainbow=K,t.scaleWarm=Z,t.scaleCool=G,t.scaleViridis=tt,t.scaleMagma=et,t.scaleInferno=nt,t.scalePlasma=rt})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t,e){return e>t?-1:t>e?1:t>=e?0:NaN}function n(t){return 1===t.length&&(t=r(t)),{left:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);o>r;){var a=r+o>>>1;t(e[a],n)<0?r=a+1:o=a}return r},right:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);o>r;){var a=r+o>>>1;t(e[a],n)>0?o=a:r=a+1}return r}}}function r(t){return function(n,r){return e(t(n),r)}}function o(t,e){return t>e?-1:e>t?1:e>=t?0:NaN}function a(t){return null===t?NaN:+t}function i(t,e){var n,r,o=t.length,i=0,u=0,s=-1,c=0;if(null==e)for(;++s<o;)isNaN(n=a(t[s]))||(r=n-i,i+=r/++c,u+=r*(n-i));else for(;++s<o;)isNaN(n=a(e(t[s],s,t)))||(r=n-i,i+=r/++c,u+=r*(n-i));return c>1?u/(c-1):void 0}function u(t,e){var n=i(t,e);return n?Math.sqrt(n):n}function s(t,e){var n,r,o,a=-1,i=t.length;if(null==e){for(;++a<i;)if(null!=(r=t[a])&&r>=r){n=o=r;break}for(;++a<i;)null!=(r=t[a])&&(n>r&&(n=r),r>o&&(o=r))}else{for(;++a<i;)if(null!=(r=e(t[a],a,t))&&r>=r){n=o=r;break}for(;++a<i;)null!=(r=e(t[a],a,t))&&(n>r&&(n=r),r>o&&(o=r))}return[n,o]}function c(t){return function(){return t}}function l(t){return t}function f(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):3>o?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((e-t)/n)),a=new Array(o);++r<o;)a[r]=t+r*n;return a}function p(t,e,n){var r=h(t,e,n);return f(Math.ceil(t/r)*r,Math.floor(e/r)*r+r/2,r)}function h(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/o;return a>=L?o*=10:a>=H?o*=5:a>=z&&(o*=2),t>e?-o:o}function d(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function y(t){return+t}function g(){function t(t){var o,a,i=t.length,u=new Array(i);for(o=0;i>o;++o)u[o]=+e(t[o],o,t);var s=n(u),c=+s[0],l=+s[1],f=r(u,c,l);Array.isArray(f)||(f=p(c,l,+f));var h=f.length;for(o=0;h>o;++o)f[o]=+f[o];for(;f[0]<=c;)f.shift(),--h;for(;f[h-1]>=l;)f.pop(),--h;var d,y=new Array(h+1);for(o=0;h>=o;++o)d=y[o]=[],d.x0=o>0?f[o-1]:c,d.x1=h>o?f[o]:l;for(o=0;i>o;++o)a=u[o],a>=c&&l>=a&&y[D(f,a,0,h)].push(t[o]);return y}var e=l,n=s,r=d;return t.value=function(n){return arguments.length?(e="function"==typeof n?n:c(+n),t):e},t.domain=function(e){return arguments.length?(n="function"==typeof e?e:c([+e[0],+e[1]]),t):n},t.thresholds=function(e){return arguments.length?(r="function"==typeof e?e:c(Array.isArray(e)?Array.prototype.map.call(e,y):+e),t):r},t}function b(t,e,n){if(null==n&&(n=a),r=t.length){if((e=+e)<=0||2>r)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,i=Math.floor(o),u=+n(t[i],i,t),s=+n(t[i+1],i+1,t);return u+(s-u)*(o-i)}}function v(t,n,r){return t.sort(e),Math.ceil((r-n)/(2*(b(t,.75)-b(t,.25))*Math.pow(t.length,-1/3)))}function m(t,e,n){return Math.ceil((n-e)/(3.5*u(t)*Math.pow(t.length,-1/3)))}function x(t,e){var n,r,o=-1,a=t.length;if(null==e){for(;++o<a;)if(null!=(r=t[o])&&r>=r){n=r;break}for(;++o<a;)null!=(r=t[o])&&r>n&&(n=r)}else{for(;++o<a;)if(null!=(r=e(t[o],o,t))&&r>=r){n=r;break}for(;++o<a;)null!=(r=e(t[o],o,t))&&r>n&&(n=r)}return n}function _(t,e){var n,r=0,o=t.length,i=-1,u=o;if(null==e)for(;++i<o;)isNaN(n=a(t[i]))?--u:r+=n;else for(;++i<o;)isNaN(n=a(e(t[i],i,t)))?--u:r+=n;return u?r/u:void 0}function T(t,n){var r,o=[],i=t.length,u=-1;if(null==n)for(;++u<i;)isNaN(r=a(t[u]))||o.push(r);else for(;++u<i;)isNaN(r=a(n(t[u],u,t)))||o.push(r);return b(o.sort(e),.5)}function P(t){for(var e,n,r,o=t.length,a=-1,i=0;++a<o;)i+=t[a].length;for(n=new Array(i);--o>=0;)for(r=t[o],e=r.length;--e>=0;)n[--i]=r[e];return n}function M(t,e){var n,r,o=-1,a=t.length;if(null==e){for(;++o<a;)if(null!=(r=t[o])&&r>=r){n=r;break}for(;++o<a;)null!=(r=t[o])&&n>r&&(n=r)}else{for(;++o<a;)if(null!=(r=e(t[o],o,t))&&r>=r){n=r;break}for(;++o<a;)null!=(r=e(t[o],o,t))&&n>r&&(n=r)}return n}function w(t){for(var e=0,n=t.length-1,r=t[0],o=new Array(0>n?0:n);n>e;)o[e]=[r,r=t[++e]];return o}function O(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r}function k(t,n){if(r=t.length){var r,o,a=0,i=0,u=t[i];for(n||(n=e);++a<r;)(n(o=t[a],u)<0||0!==n(u,u))&&(u=o,i=a);return 0===n(u,u)?i:void 0}}function j(t,e,n){for(var r,o,a=(null==n?t.length:n)-(e=null==e?0:+e);a;)o=Math.random()*a--|0,r=t[a+e],t[a+e]=t[o+e],t[o+e]=r;return t}function S(t,e){var n,r=0,o=t.length,a=-1;if(null==e)for(;++a<o;)(n=+t[a])&&(r+=n);else for(;++a<o;)(n=+e(t[a],a,t))&&(r+=n);return r}function A(t){if(!(o=t.length))return[];for(var e=-1,n=M(t,E),r=new Array(n);++e<n;)for(var o,a=-1,i=r[e]=new Array(o);++a<o;)i[a]=t[a][e];return r}function E(t){return t.length}function C(){return A(arguments)}var N=n(e),D=N.right,F=N.left,L=Math.sqrt(50),H=Math.sqrt(10),z=Math.sqrt(2),I="0.7.1";t.version=I,t.bisect=D,t.bisectRight=D,t.bisectLeft=F,t.ascending=e,t.bisector=n,t.descending=o,t.deviation=u,t.extent=s,t.histogram=g,t.thresholdFreedmanDiaconis=v,t.thresholdScott=m,t.thresholdSturges=d,t.max=x,t.mean=_,t.median=T,t.merge=P,t.min=M,t.pairs=w,t.permute=O,t.quantile=b,t.range=f,t.scan=k,t.shuffle=j,t.sum=S,t.ticks=p,t.tickStep=h,t.transpose=A,t.variance=i,t.zip=C})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(){}function n(t,n){var r=new e;if(t instanceof e)t.each(function(t,e){r.set(e,t)});else if(Array.isArray(t)){var o,a=-1,i=t.length;if(null==n)for(;++a<i;)r.set(a,t[a]);else for(;++a<i;)r.set(n(o=t[a],a,t),o)}else if(t)for(var u in t)r.set(u,t[u]);return r}function r(){function t(e,o,a,i){if(o>=l.length)return s?s(e):r?e.sort(r):e;for(var u,c,f,p=-1,h=e.length,d=l[o++],y=n(),g=a();++p<h;)(f=y.get(u=d(c=e[p])+""))?f.push(c):y.set(u,[c]);return y.each(function(e,n){i(g,n,t(e,o,a,i))}),g}function e(t,n){if(n>=l.length)return t;var r=[],o=f[n++];return t.each(function(t,o){r.push({key:o,values:e(t,n)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}var r,s,c,l=[],f=[];return c={object:function(e){return t(e,0,o,a)},map:function(e){return t(e,0,i,u)},entries:function(n){return e(t(n,0,i,u),0)},key:function(t){return l.push(t),c},sortKeys:function(t){return f[l.length-1]=t,c},sortValues:function(t){return r=t,c},rollup:function(t){return s=t,c}}}function o(){return{}}function a(t,e,n){t[e]=n}function i(){return n()}function u(t,e,n){t.set(e,n)}function s(){}function c(t,e){var n=new s;if(t instanceof s)t.each(function(t){n.add(t)});else if(t){var r=-1,o=t.length;if(null==e)for(;++r<o;)n.add(t[r]);else for(;++r<o;)n.add(e(t[r],r,t))}return n}function l(t){var e=[];for(var n in t)e.push(n);return e}function f(t){var e=[];for(var n in t)e.push(t[n]);return e}function p(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e}var h="$";e.prototype=n.prototype={constructor:e,has:function(t){return h+t in this},get:function(t){return this[h+t]},set:function(t,e){return this[h+t]=e,this},remove:function(t){var e=h+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===h&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===h&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===h&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===h&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===h&&++t;return t},empty:function(){for(var t in this)if(t[0]===h)return!1;return!0},each:function(t){for(var e in this)e[0]===h&&t(this[e],e.slice(1),this)}};var d=n.prototype;s.prototype=c.prototype={constructor:s,has:d.has,add:function(t){return t+="",this[h+t]=t,this},remove:d.remove,clear:d.clear,values:d.keys,size:d.size,empty:d.empty,each:d.each};var y="0.1.2";t.version=y,t.nest=r,t.set=c,t.map=n,t.keys=l,t.values=f,t.entries=p})},function(t,e,n){!function(t,r){r(e,n(203))}(this,function(t,e){"use strict";function n(t){return function(){return t}}function r(t,e){return function(n){return t+n*e}}function o(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function a(t,e){var o=e-t;return o?r(t,o>180||-180>o?o-360*Math.round(o/360):o):n(isNaN(t)?e:t)}function i(t){return 1===(t=+t)?u:function(e,r){return r-e?o(e,r,t):n(isNaN(e)?r:e)}}function u(t,e){var o=e-t;return o?r(t,o):n(isNaN(t)?e:t)}function s(t,e){var n,r=[],o=[],a=t?t.length:0,i=e?e.length:0,u=Math.min(a,i);for(n=0;u>n;++n)r.push(d(t[n],e[n]));for(;a>n;++n)o[n]=t[n];for(;i>n;++n)o[n]=e[n];return function(t){for(n=0;u>n;++n)o[n]=r[n](t);return o}}function c(t,e){return t=+t,e-=t,function(n){return t+e*n}}function l(t,e){var n,r={},o={};null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(n in t)n in e?r[n]=d(t[n],e[n]):o[n]=t[n];for(n in e)n in t||(o[n]=e[n]);return function(t){for(n in r)o[n]=r[n](t);return o}}function f(t){return function(){return t}}function p(t){return function(e){return t(e)+""}}function h(t,e){var n,r,o,a=D.lastIndex=F.lastIndex=0,i=-1,u=[],s=[];for(t+="",e+="";(n=D.exec(t))&&(r=F.exec(e));)(o=r.index)>a&&(o=e.slice(a,o),u[i]?u[i]+=o:u[++i]=o),(n=n[0])===(r=r[0])?u[i]?u[i]+=r:u[++i]=r:(u[++i]=null,s.push({i:i,x:c(n,r)})),a=F.lastIndex;return a<e.length&&(o=e.slice(a),u[i]?u[i]+=o:u[++i]=o),u.length<2?s[0]?p(s[0].x):f(e):(e=s.length,function(t){for(var n,r=0;e>r;++r)u[(n=s[r]).i]=n.x(t);return u.join("")})}function d(t,r){var o,a=typeof r;return null==r||"boolean"===a?n(r):("number"===a?c:"string"===a?(o=e.color(r))?(r=o,N):h:r instanceof e.color?N:Array.isArray(r)?s:l)(t,r)}function y(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}}function g(t,e,n,r,o,a){if(t*r===e*n)return null;var i=Math.sqrt(t*t+e*e);t/=i,e/=i;var u=t*n+e*r;n-=t*u,r-=e*u;var s=Math.sqrt(n*n+r*r);return n/=s,r/=s,u/=s,e*n>t*r&&(t=-t,e=-e,u=-u,i=-i),{translateX:o,translateY:a,rotate:Math.atan2(e,t)*L,skewX:Math.atan(u)*L,scaleX:i,scaleY:s}}function b(t){if("none"===t)return H;S||(S=document.createElement("DIV"),A=document.documentElement,E=document.defaultView),S.style.transform=t,t=E.getComputedStyle(A.appendChild(S),null).getPropertyValue("transform"),A.removeChild(S);var e=t.slice(7,-1).split(",");return g(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5])}function v(t){C||(C=document.createElementNS("http://www.w3.org/2000/svg","g")),C.setAttribute("transform",null==t?"":t);var e=C.transform.baseVal.consolidate().matrix;return g(e.a,e.b,e.c,e.d,e.e,e.f)}function m(t,e,n,r){function o(t){return t.length?t.pop()+" ":""}function a(t,r,o,a,i,u){if(t!==o||r!==a){var s=i.push("translate(",null,e,null,n);u.push({i:s-4,x:c(t,o)},{i:s-2,x:c(r,a)})}else(o||a)&&i.push("translate("+o+e+a+n)}function i(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(o(n)+"rotate(",null,r)-2,x:c(t,e)})):e&&n.push(o(n)+"rotate("+e+r)}function u(t,e,n,a){t!==e?a.push({i:n.push(o(n)+"skewX(",null,r)-2,x:c(t,e)}):e&&n.push(o(n)+"skewX("+e+r)}function s(t,e,n,r,a,i){if(t!==n||e!==r){var u=a.push(o(a)+"scale(",null,",",null,")");i.push({i:u-4,x:c(t,n)},{i:u-2,x:c(e,r)})}else 1===n&&1===r||a.push(o(a)+"scale("+n+","+r+")")}return function(e,n){var r=[],o=[];return e=t(e),n=t(n),a(e.translateX,e.translateY,n.translateX,n.translateY,r,o),i(e.rotate,n.rotate,r,o),u(e.skewX,n.skewX,r,o),s(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,o),e=n=null,function(t){for(var e,n=-1,a=o.length;++n<a;)r[(e=o[n]).i]=e.x(t);return r.join("")}}}function x(t){return((t=Math.exp(t))+1/t)/2}function _(t){return((t=Math.exp(t))-1/t)/2}function T(t){return((t=Math.exp(2*t))-1)/(t+1)}function P(t,e){var n,r,o=t[0],a=t[1],i=t[2],u=e[0],s=e[1],c=e[2],l=u-o,f=s-a,p=l*l+f*f;if(V>p)r=Math.log(c/i)/q,n=function(t){return[o+t*l,a+t*f,i*Math.exp(q*t*r)]};else{var h=Math.sqrt(p),d=(c*c-i*i+Y*p)/(2*i*R*h),y=(c*c-i*i-Y*p)/(2*c*R*h),g=Math.log(Math.sqrt(d*d+1)-d),b=Math.log(Math.sqrt(y*y+1)-y);r=(b-g)/q,n=function(t){var e=t*r,n=x(g),u=i/(R*h)*(n*T(q*e+g)-_(g));return[o+u*l,a+u*f,i*n/x(q*e+g)]}}return n.duration=1e3*r,n}function M(t,n){
  var r=a((t=e.hsl(t)).h,(n=e.hsl(n)).h),o=u(t.s,n.s),i=u(t.l,n.l),s=u(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=o(e),t.l=i(e),t.opacity=s(e),t+""}}function w(t,n){var r=u((t=e.hsl(t)).h,(n=e.hsl(n)).h),o=u(t.s,n.s),a=u(t.l,n.l),i=u(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=o(e),t.l=a(e),t.opacity=i(e),t+""}}function O(t,n){var r=u((t=e.lab(t)).l,(n=e.lab(n)).l),o=u(t.a,n.a),a=u(t.b,n.b),i=u(t.opacity,n.opacity);return function(e){return t.l=r(e),t.a=o(e),t.b=a(e),t.opacity=i(e),t+""}}function k(t,n){var r=a((t=e.hcl(t)).h,(n=e.hcl(n)).h),o=u(t.c,n.c),i=u(t.l,n.l),s=u(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=o(e),t.l=i(e),t.opacity=s(e),t+""}}function j(t,n){var r=u((t=e.hcl(t)).h,(n=e.hcl(n)).h),o=u(t.c,n.c),a=u(t.l,n.l),i=u(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=o(e),t.l=a(e),t.opacity=i(e),t+""}}var S,A,E,C,N=function X(t){function n(t,n){var o=r((t=e.rgb(t)).r,(n=e.rgb(n)).r),a=r(t.g,n.g),i=r(t.b,n.b),u=r(t.opacity,n.opacity);return function(e){return t.r=o(e),t.g=a(e),t.b=i(e),t.opacity=u(e),t+""}}var r=i(t);return n.gamma=X,n}(1),D=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,F=new RegExp(D.source,"g"),L=180/Math.PI,H={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},z=m(b,"px, ","px)","deg)"),I=m(v,", ",")",")"),q=Math.SQRT2,R=2,Y=4,V=1e-12,U=function J(t){function n(n,r){var o=a((n=e.cubehelix(n)).h,(r=e.cubehelix(r)).h),i=u(n.s,r.s),s=u(n.l,r.l),c=u(n.opacity,r.opacity);return function(e){return n.h=o(e),n.s=i(e),n.l=s(Math.pow(e,t)),n.opacity=c(e),n+""}}return t=+t,n.gamma=J,n}(1),B=function $(t){function n(n,r){var o=u((n=e.cubehelix(n)).h,(r=e.cubehelix(r)).h),a=u(n.s,r.s),i=u(n.l,r.l),s=u(n.opacity,r.opacity);return function(e){return n.h=o(e),n.s=a(e),n.l=i(Math.pow(e,t)),n.opacity=s(e),n+""}}return t=+t,n.gamma=$,n}(1),W="0.7.0";t.version=W,t.interpolate=d,t.interpolateArray=s,t.interpolateNumber=c,t.interpolateObject=l,t.interpolateRound=y,t.interpolateString=h,t.interpolateTransformCss=z,t.interpolateTransformSvg=I,t.interpolateZoom=P,t.interpolateRgb=N,t.interpolateHsl=M,t.interpolateHslLong=w,t.interpolateLab=O,t.interpolateHcl=k,t.interpolateHclLong=j,t.interpolateCubehelix=U,t.interpolateCubehelixLong=B})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function n(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function r(){}function o(t){var e;return t=(t+"").trim().toLowerCase(),(e=A.exec(t))?(e=parseInt(e[1],16),new c(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=E.exec(t))?a(parseInt(e[1],16)):(e=C.exec(t))?new c(e[1],e[2],e[3],1):(e=N.exec(t))?new c(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=D.exec(t))?i(e[1],e[2],e[3],e[4]):(e=F.exec(t))?i(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=L.exec(t))?l(e[1],e[2]/100,e[3]/100,1):(e=H.exec(t))?l(e[1],e[2]/100,e[3]/100,e[4]):z.hasOwnProperty(t)?a(z[t]):"transparent"===t?new c(NaN,NaN,NaN,0):null}function a(t){return new c(t>>16&255,t>>8&255,255&t,1)}function i(t,e,n,r){return 0>=r&&(t=e=n=NaN),new c(t,e,n,r)}function u(t){return t instanceof r||(t=o(t)),t?(t=t.rgb(),new c(t.r,t.g,t.b,t.opacity)):new c}function s(t,e,n,r){return 1===arguments.length?u(t):new c(t,e,n,null==r?1:r)}function c(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function l(t,e,n,r){return 0>=r?t=e=n=NaN:0>=n||n>=1?t=e=NaN:0>=e&&(t=NaN),new h(t,e,n,r)}function f(t){if(t instanceof h)return new h(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=o(t)),!t)return new h;if(t instanceof h)return t;t=t.rgb();var e=t.r/255,n=t.g/255,a=t.b/255,i=Math.min(e,n,a),u=Math.max(e,n,a),s=NaN,c=u-i,l=(u+i)/2;return c?(s=e===u?(n-a)/c+6*(a>n):n===u?(a-e)/c+2:(e-n)/c+4,c/=.5>l?u+i:2-u-i,s*=60):c=l>0&&1>l?0:s,new h(s,c,l,t.opacity)}function p(t,e,n,r){return 1===arguments.length?f(t):new h(t,e,n,null==r?1:r)}function h(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function d(t,e,n){return 255*(60>t?e+(n-e)*t/60:180>t?n:240>t?e+(n-e)*(240-t)/60:e)}function y(t){if(t instanceof b)return new b(t.l,t.a,t.b,t.opacity);if(t instanceof M){var e=t.h*I;return new b(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof c||(t=u(t));var n=_(t.r),r=_(t.g),o=_(t.b),a=v((.4124564*n+.3575761*r+.1804375*o)/Y),i=v((.2126729*n+.7151522*r+.072175*o)/V),s=v((.0193339*n+.119192*r+.9503041*o)/U);return new b(116*i-16,500*(a-i),200*(i-s),t.opacity)}function g(t,e,n,r){return 1===arguments.length?y(t):new b(t,e,n,null==r?1:r)}function b(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function v(t){return t>J?Math.pow(t,1/3):t/X+B}function m(t){return t>W?t*t*t:X*(t-B)}function x(t){return 255*(.0031308>=t?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function _(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function T(t){if(t instanceof M)return new M(t.h,t.c,t.l,t.opacity);t instanceof b||(t=y(t));var e=Math.atan2(t.b,t.a)*q;return new M(0>e?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function P(t,e,n,r){return 1===arguments.length?T(t):new M(t,e,n,null==r?1:r)}function M(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function w(t){if(t instanceof k)return new k(t.h,t.s,t.l,t.opacity);t instanceof c||(t=u(t));var e=t.r/255,n=t.g/255,r=t.b/255,o=(nt*r+tt*e-et*n)/(nt+tt-et),a=r-o,i=(Q*(n-o)-G*a)/K,s=Math.sqrt(i*i+a*a)/(Q*o*(1-o)),l=s?Math.atan2(i,a)*q-120:NaN;return new k(0>l?l+360:l,s,o,t.opacity)}function O(t,e,n,r){return 1===arguments.length?w(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}var j=.7,S=1/j,A=/^#([0-9a-f]{3})$/,E=/^#([0-9a-f]{6})$/,C=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,N=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,D=/^rgba\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,F=/^rgba\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,L=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,H=/^hsla\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,z={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};e(r,o,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),e(c,s,n(r,{brighter:function(t){return t=null==t?S:Math.pow(S,t),new c(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?j:Math.pow(j,t),new c(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),e(h,p,n(r,{brighter:function(t){return t=null==t?S:Math.pow(S,t),new h(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?j:Math.pow(j,t),new h(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(.5>n?n:1-n)*e,o=2*n-r;return new c(d(t>=240?t-240:t+120,o,r),d(t,o,r),d(120>t?t+240:t-120,o,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}}));var I=Math.PI/180,q=180/Math.PI,R=18,Y=.95047,V=1,U=1.08883,B=4/29,W=6/29,X=3*W*W,J=W*W*W;e(b,g,n(r,{brighter:function(t){return new b(this.l+R*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new b(this.l-R*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=V*m(t),e=Y*m(e),n=U*m(n),new c(x(3.2404542*e-1.5371385*t-.4985314*n),x(-.969266*e+1.8760108*t+.041556*n),x(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),e(M,P,n(r,{brighter:function(t){return new M(this.h,this.c,this.l+R*(null==t?1:t),this.opacity)},darker:function(t){return new M(this.h,this.c,this.l-R*(null==t?1:t),this.opacity)},rgb:function(){return y(this).rgb()}}));var $=-.14861,Z=1.78277,G=-.29227,K=-.90649,Q=1.97294,tt=Q*K,et=Q*Z,nt=Z*G-K*$;e(k,O,n(r,{brighter:function(t){return t=null==t?S:Math.pow(S,t),new k(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?j:Math.pow(j,t),new k(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*I,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),o=Math.sin(t);return new c(255*(e+n*($*r+Z*o)),255*(e+n*(G*r+K*o)),255*(e+n*(Q*r)),this.opacity)}}));var rt="0.4.2";t.version=rt,t.color=o,t.rgb=s,t.hsl=p,t.lab=g,t.hcl=P,t.cubehelix=O})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function n(t){return t=e(Math.abs(t)),t?t[1]:NaN}function r(t,e){return function(n,r){for(var o=n.length,a=[],i=0,u=t[0],s=0;o>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),a.push(n.substring(o-=u,o+u)),!((s+=u+1)>r));)u=t[i=(i+1)%t.length];return a.reverse().join(e)}}function o(t,e){t=t.toPrecision(e);t:for(var n,r=t.length,o=1,a=-1;r>o;++o)switch(t[o]){case".":a=n=o;break;case"0":0===a&&(a=o),n=o;break;case"e":break t;default:a>0&&(a=0)}return a>0?t.slice(0,a)+t.slice(n+1):t}function a(t,n){var r=e(t,n);if(!r)return t+"";var o=r[0],a=r[1],i=a-(d=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,u=o.length;return i===u?o:i>u?o+new Array(i-u+1).join("0"):i>0?o.slice(0,i)+"."+o.slice(i):"0."+new Array(1-i).join("0")+e(t,Math.max(0,n+i-1))[0]}function i(t,n){var r=e(t,n);if(!r)return t+"";var o=r[0],a=r[1];return 0>a?"0."+new Array(-a).join("0")+o:o.length>a+1?o.slice(0,a+1)+"."+o.slice(a+1):o+new Array(a-o.length+2).join("0")}function u(t){return new s(t)}function s(t){if(!(e=g.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",o=e[3]||"-",a=e[4]||"",i=!!e[5],u=e[6]&&+e[6],s=!!e[7],c=e[8]&&+e[8].slice(1),l=e[9]||"";"n"===l?(s=!0,l="g"):y[l]||(l=""),(i||"0"===n&&"="===r)&&(i=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=a,this.zero=i,this.width=u,this.comma=s,this.precision=c,this.type=l}function c(t){return t}function l(t){function e(t){function e(t){var e,i,u,c=v,y=m;if("c"===g)y=x(t)+y,t="";else{t=+t;var T=(0>t||0>1/t)&&(t*=-1,!0);if(t=x(t,h),T)for(e=-1,i=t.length,T=!1;++e<i;)if(u=t.charCodeAt(e),u>48&&58>u||"x"===g&&u>96&&103>u||"X"===g&&u>64&&71>u){T=!0;break}if(c=(T?"("===o?o:"-":"-"===o||"("===o?"":o)+c,y=y+("s"===g?b[8+d/3]:"")+(T&&"("===o?")":""),_)for(e=-1,i=t.length;++e<i;)if(u=t.charCodeAt(e),48>u||u>57){y=(46===u?s+t.slice(e+1):t.slice(e))+y,t=t.slice(0,e);break}}p&&!l&&(t=a(t,1/0));var P=c.length+t.length+y.length,M=f>P?new Array(f-P+1).join(n):"";switch(p&&l&&(t=a(M+t,M.length?f-y.length:1/0),M=""),r){case"<":return c+t+y+M;case"=":return c+M+t+y;case"^":return M.slice(0,P=M.length>>1)+c+t+y+M.slice(P)}return M+c+t+y}t=u(t);var n=t.fill,r=t.align,o=t.sign,c=t.symbol,l=t.zero,f=t.width,p=t.comma,h=t.precision,g=t.type,v="$"===c?i[0]:"#"===c&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",m="$"===c?i[1]:/[%p]/.test(g)?"%":"",x=y[g],_=!g||/[defgprs%]/.test(g);return h=null==h?g?6:12:/[gprs]/.test(g)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),e.toString=function(){return t+""},e}function o(t,r){var o=e((t=u(t),t.type="f",t)),a=3*Math.max(-8,Math.min(8,Math.floor(n(r)/3))),i=Math.pow(10,-a),s=b[8+a/3];return function(t){return o(i*t)+s}}var a=t.grouping&&t.thousands?r(t.grouping,t.thousands):c,i=t.currency,s=t.decimal;return{format:e,formatPrefix:o}}function f(t){return Math.max(0,-n(Math.abs(t)))}function p(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(n(e)/3)))-n(Math.abs(t)))}function h(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,n(e)-n(t))+1}var d,y={"":o,"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return i(100*t,e)},r:i,s:a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},g=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var b=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],v=l({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),m=l({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),x=l({decimal:",",thousands:" ",grouping:[3],currency:[""," Kč"]}),_=l({decimal:",",thousands:"'",grouping:[3],currency:[""," CHF"]}),T=l({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),P=l({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),M=l({decimal:".",thousands:",",grouping:[3],currency:["£",""]}),w=l({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),O=l({decimal:",",thousands:" ",grouping:[3],currency:[""," €"]}),k=l({decimal:",",thousands:" ",grouping:[3],currency:["","$"]}),j=l({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),S=l({decimal:".",thousands:",",grouping:[3],currency:["₪",""]}),A=l({decimal:",",thousands:" ",grouping:[3],currency:[""," Ft"]}),E=l({decimal:",",thousands:".",grouping:[3],currency:["€",""]}),C=l({decimal:".",thousands:",",grouping:[3],currency:["","円"]}),N=l({decimal:".",thousands:",",grouping:[3],currency:["₩",""]}),D=l({decimal:",",thousands:".",grouping:[3],currency:[""," ден."]}),F=l({decimal:",",thousands:".",grouping:[3],currency:["€ ",""]}),L=l({decimal:",",thousands:".",grouping:[3],currency:["","zł"]}),H=l({decimal:",",thousands:".",grouping:[3],currency:["R$",""]}),z=l({decimal:",",thousands:" ",grouping:[3],currency:[""," руб."]}),I=l({decimal:",",thousands:" ",grouping:[3],currency:["","SEK"]}),q=l({decimal:".",thousands:",",grouping:[3],currency:["¥",""]}),R=v.format,Y=v.formatPrefix,V="0.5.1";t.version=V,t.format=R,t.formatPrefix=Y,t.formatLocale=l,t.formatCaEs=m,t.formatCsCz=x,t.formatDeCh=_,t.formatDeDe=T,t.formatEnCa=P,t.formatEnGb=M,t.formatEnUs=v,t.formatEsEs=w,t.formatFiFi=O,t.formatFrCa=k,t.formatFrFr=j,t.formatHeIl=S,t.formatHuHu=A,t.formatItIt=E,t.formatJaJp=C,t.formatKoKr=N,t.formatMkMk=D,t.formatNlNl=F,t.formatPlPl=L,t.formatPtBr=H,t.formatRuRu=z,t.formatSvSe=I,t.formatZhCn=q,t.formatSpecifier=u,t.precisionFixed=f,t.precisionPrefix=p,t.precisionRound=h})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t,n,r,i){function u(e){return t(e=new Date(+e)),e}return u.floor=u,u.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},u.round=function(t){var e=u(t),n=u.ceil(t);return n-t>t-e?e:n},u.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},u.range=function(e,r,o){var a=[];if(e=u.ceil(e),o=null==o?1:Math.floor(o),!(r>e&&o>0))return a;do a.push(new Date(+e));while(n(e,o),t(e),r>e);return a},u.filter=function(r){return e(function(e){for(;t(e),!r(e);)e.setTime(e-1)},function(t,e){for(;--e>=0;)for(;n(t,1),!r(t););})},r&&(u.count=function(e,n){return o.setTime(+e),a.setTime(+n),t(o),t(a),Math.floor(r(o,a))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(i?function(e){return i(e)%t===0}:function(e){return u.count(0,e)%t===0}):u:null}),u}function n(t){return e(function(e){e.setHours(0,0,0,0),e.setDate(e.getDate()-(e.getDay()+7-t)%7)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*s)/f})}function r(t){return e(function(e){e.setUTCHours(0,0,0,0),e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/f})}var o=new Date,a=new Date,i=e(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?e(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):i:null};var u=1e3,s=6e4,c=36e5,l=864e5,f=6048e5,p=e(function(t){t.setTime(Math.floor(t/u)*u)},function(t,e){t.setTime(+t+e*u)},function(t,e){return(e-t)/u},function(t){return t.getUTCSeconds()}),h=e(function(t){t.setTime(Math.floor(t/s)*s)},function(t,e){t.setTime(+t+e*s)},function(t,e){return(e-t)/s},function(t){return t.getMinutes()}),d=e(function(t){var e=t.getTimezoneOffset()*s%c;0>e&&(e+=c),t.setTime(Math.floor((+t-e)/c)*c+e)},function(t,e){t.setTime(+t+e*c)},function(t,e){return(e-t)/c},function(t){return t.getHours()}),y=e(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*s)/l},function(t){return t.getDate()-1}),g=n(0),b=n(1),v=n(2),m=n(3),x=n(4),_=n(5),T=n(6),P=e(function(t){t.setHours(0,0,0,0),t.setDate(1)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),M=e(function(t){t.setHours(0,0,0,0),t.setMonth(0,1)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}),w=e(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*s)},function(t,e){return(e-t)/s},function(t){return t.getUTCMinutes()}),O=e(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*c)},function(t,e){return(e-t)/c},function(t){return t.getUTCHours()}),k=e(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/l},function(t){return t.getUTCDate()-1}),j=r(0),S=r(1),A=r(2),E=r(3),C=r(4),N=r(5),D=r(6),F=e(function(t){t.setUTCHours(0,0,0,0),t.setUTCDate(1)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),L=e(function(t){t.setUTCHours(0,0,0,0),t.setUTCMonth(0,1)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}),H=i.range,z=p.range,I=h.range,q=d.range,R=y.range,Y=g.range,V=b.range,U=v.range,B=m.range,W=x.range,X=_.range,J=T.range,$=g.range,Z=P.range,G=M.range,K=i,Q=H,tt=p,et=z,nt=w.range,rt=O.range,ot=k.range,at=j.range,it=S.range,ut=A.range,st=E.range,ct=C.range,lt=N.range,ft=D.range,pt=j.range,ht=F.range,dt=L.range,yt="0.2.5";t.version=yt,t.timeMilliseconds=H,t.timeSeconds=z,t.timeMinutes=I,t.timeHours=q,t.timeDays=R,t.timeSundays=Y,t.timeMondays=V,t.timeTuesdays=U,t.timeWednesdays=B,t.timeThursdays=W,t.timeFridays=X,t.timeSaturdays=J,t.timeWeeks=$,t.timeMonths=Z,t.timeYears=G,t.utcMillisecond=K,t.utcMilliseconds=Q,t.utcSecond=tt,t.utcSeconds=et,t.utcMinutes=nt,t.utcHours=rt,t.utcDays=ot,t.utcSundays=at,t.utcMondays=it,t.utcTuesdays=ut,t.utcWednesdays=st,t.utcThursdays=ct,t.utcFridays=lt,t.utcSaturdays=ft,t.utcWeeks=pt,t.utcMonths=ht,t.utcYears=dt,t.timeMillisecond=i,t.timeSecond=p,t.timeMinute=h,t.timeHour=d,t.timeDay=y,t.timeSunday=g,t.timeMonday=b,t.timeTuesday=v,t.timeWednesday=m,t.timeThursday=x,t.timeFriday=_,t.timeSaturday=T,t.timeWeek=g,t.timeMonth=P,t.timeYear=M,t.utcMinute=w,t.utcHour=O,t.utcDay=k,t.utcSunday=j,t.utcMonday=S,t.utcTuesday=A,t.utcWednesday=E,t.utcThursday=C,t.utcFriday=N,t.utcSaturday=D,t.utcWeek=j,t.utcMonth=F,t.utcYear=L,t.timeInterval=e})},function(t,e,n){!function(t,r){r(e,n(205))}(this,function(t,e){"use strict";function n(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function r(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function o(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function a(t){function e(t,e){return function(n){var r,o,a,i=[],u=-1,s=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===t.charCodeAt(u)&&(i.push(t.slice(s,u)),null!=(o=et[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(a=e[r])&&(r=a(n,o)),i.push(r),s=u+1);return i.push(t.slice(s,u)),i.join("")}}function a(t,e){return function(n){var a=o(1900),u=i(a,t,n+="",0);if(u!=n.length)return null;if("p"in a&&(a.H=a.H%12+12*a.p),"W"in a||"U"in a){"w"in a||(a.w="W"in a?1:0);var s="Z"in a?r(o(a.y)).getUTCDay():e(o(a.y)).getDay();a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(s+5)%7:a.w+7*a.U-(s+6)%7}return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,r(a)):e(a)}}function i(t,e,n,r){for(var o,a,i=0,u=e.length,s=n.length;u>i;){if(r>=s)return-1;if(o=e.charCodeAt(i++),37===o){if(o=e.charAt(i++),a=Ht[o in et?e.charAt(i++):o],!a||(r=a(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function u(t,e,n){var r=wt.exec(e.slice(n));return r?(t.p=Ot[r[0].toLowerCase()],n+r[0].length):-1}function Q(t,e,n){var r=St.exec(e.slice(n));return r?(t.w=At[r[0].toLowerCase()],n+r[0].length):-1}function tt(t,e,n){var r=kt.exec(e.slice(n));return r?(t.w=jt[r[0].toLowerCase()],n+r[0].length):-1}function nt(t,e,n){var r=Nt.exec(e.slice(n));return r?(t.m=Dt[r[0].toLowerCase()],n+r[0].length):-1}function rt(t,e,n){var r=Et.exec(e.slice(n));return r?(t.m=Ct[r[0].toLowerCase()],n+r[0].length):-1}function ot(t,e,n){return i(t,bt,e,n)}function at(t,e,n){return i(t,vt,e,n)}function it(t,e,n){return i(t,mt,e,n)}function ut(t){return Tt[t.getDay()]}function st(t){return _t[t.getDay()]}function ct(t){return Mt[t.getMonth()]}function lt(t){return Pt[t.getMonth()]}function ft(t){return xt[+(t.getHours()>=12)]}function pt(t){return Tt[t.getUTCDay()]}function ht(t){return _t[t.getUTCDay()]}function dt(t){return Mt[t.getUTCMonth()]}function yt(t){return Pt[t.getUTCMonth()]}function gt(t){return xt[+(t.getUTCHours()>=12)]}var bt=t.dateTime,vt=t.date,mt=t.time,xt=t.periods,_t=t.days,Tt=t.shortDays,Pt=t.months,Mt=t.shortMonths,wt=s(xt),Ot=c(xt),kt=s(_t),jt=c(_t),St=s(Tt),At=c(Tt),Et=s(Pt),Ct=c(Pt),Nt=s(Mt),Dt=c(Mt),Ft={a:ut,A:st,b:ct,B:lt,c:null,d:M,e:M,H:w,I:O,j:k,L:j,m:S,M:A,p:ft,S:E,U:C,w:N,W:D,x:null,X:null,y:F,Y:L,Z:H,"%":K},Lt={a:pt,A:ht,b:dt,B:yt,c:null,d:z,e:z,H:I,I:q,j:R,L:Y,m:V,M:U,p:gt,S:B,U:W,w:X,W:J,x:null,X:null,y:$,Y:Z,Z:G,"%":K},Ht={a:Q,A:tt,b:nt,B:rt,c:ot,d:b,e:b,H:m,I:m,j:v,L:T,m:g,M:x,p:u,S:_,U:f,w:l,W:p,x:at,X:it,y:d,Y:h,Z:y,"%":P};return Ft.x=e(vt,Ft),Ft.X=e(mt,Ft),Ft.c=e(bt,Ft),Lt.x=e(vt,Lt),Lt.X=e(mt,Lt),Lt.c=e(bt,Lt),{format:function(t){var n=e(t+="",Ft);return n.toString=function(){return t},n},parse:function(t){var e=a(t+="",n);return e.toString=function(){return t},e},utcFormat:function(t){var n=e(t+="",Lt);return n.toString=function(){return t},n},utcParse:function(t){var e=a(t,r);return e.toString=function(){return t},e}}}function i(t,e,n){var r=0>t?"-":"",o=(r?-t:t)+"",a=o.length;return r+(n>a?new Array(n-a+1).join(e)+o:o)}function u(t){return t.replace(ot,"\\$&")}function s(t){return new RegExp("^(?:"+t.map(u).join("|")+")","i")}function c(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function l(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function f(t,e,n){var r=nt.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function p(t,e,n){var r=nt.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function h(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function d(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function y(t,e,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function g(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function b(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function v(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function m(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function x(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function _(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function T(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function P(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function M(t,e){return i(t.getDate(),e,2)}function w(t,e){return i(t.getHours(),e,2)}function O(t,e){return i(t.getHours()%12||12,e,2)}function k(t,n){return i(1+e.timeDay.count(e.timeYear(t),t),n,3)}function j(t,e){return i(t.getMilliseconds(),e,3)}function S(t,e){return i(t.getMonth()+1,e,2)}function A(t,e){return i(t.getMinutes(),e,2)}function E(t,e){return i(t.getSeconds(),e,2)}function C(t,n){return i(e.timeSunday.count(e.timeYear(t),t),n,2)}function N(t){return t.getDay()}function D(t,n){return i(e.timeMonday.count(e.timeYear(t),t),n,2)}function F(t,e){return i(t.getFullYear()%100,e,2)}function L(t,e){return i(t.getFullYear()%1e4,e,4)}function H(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+i(e/60|0,"0",2)+i(e%60,"0",2)}function z(t,e){return i(t.getUTCDate(),e,2)}function I(t,e){return i(t.getUTCHours(),e,2)}function q(t,e){return i(t.getUTCHours()%12||12,e,2)}function R(t,n){return i(1+e.utcDay.count(e.utcYear(t),t),n,3)}function Y(t,e){return i(t.getUTCMilliseconds(),e,3)}function V(t,e){return i(t.getUTCMonth()+1,e,2)}function U(t,e){return i(t.getUTCMinutes(),e,2)}function B(t,e){return i(t.getUTCSeconds(),e,2)}function W(t,n){return i(e.utcSunday.count(e.utcYear(t),t),n,2)}function X(t){return t.getUTCDay()}function J(t,n){return i(e.utcMonday.count(e.utcYear(t),t),n,2)}function $(t,e){return i(t.getUTCFullYear()%100,e,2)}function Z(t,e){return i(t.getUTCFullYear()%1e4,e,4)}function G(){return"+0000"}function K(){return"%"}function Q(t){return t.toISOString()}function tt(t){var e=new Date(t);return isNaN(e)?null:e}var et={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,rt=/^%/,ot=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,at=a({dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]}),it=a({dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],shortDays:["dg.","dl.","dt.","dc.","dj.","dv.","ds."],months:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],shortMonths:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."]}),ut=a({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),st=a({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),ct=a({dateTime:"%a %b %e %X %Y",date:"%Y-%m-%d",time:"%H:%M:%S",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"]}),lt=a({dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",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"]}),ft=a({dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom","lun","mar","mié","jue","vie","sáb"],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],
  shortMonths:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"]}),pt=a({dateTime:"%A, %-d. %Bta %Y klo %X",date:"%-d.%-m.%Y",time:"%H:%M:%S",periods:["a.m.","p.m."],days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],shortDays:["Su","Ma","Ti","Ke","To","Pe","La"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],shortMonths:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"]}),ht=a({dateTime:"%a %e %b %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["",""],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim","lun","mar","mer","jeu","ven","sam"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["jan","fév","mar","avr","mai","jui","jul","aoû","sep","oct","nov","déc"]}),dt=a({dateTime:"%A, le %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]}),yt=a({dateTime:"%A, %e ב%B %Y %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],shortDays:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],shortMonths:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"]}),gt=a({dateTime:"%Y. %B %-e., %A %X",date:"%Y. %m. %d.",time:"%H:%M:%S",periods:["de.","du."],days:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],shortDays:["V","H","K","Sze","Cs","P","Szo"],months:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],shortMonths:["jan.","feb.","már.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."]}),bt=a({dateTime:"%A %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],shortDays:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],shortMonths:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"]}),vt=a({dateTime:"%Y %b %e %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["AM","PM"],days:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],shortDays:["日","月","火","水","木","金","土"],months:["睦月","如月","弥生","卯月","皐月","水無月","文月","葉月","長月","神無月","霜月","師走"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}),mt=a({dateTime:"%Y/%m/%d %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["오전","오후"],days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],shortDays:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],shortMonths:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]}),xt=a({dateTime:"%A, %e %B %Y г. %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["недела","понеделник","вторник","среда","четврток","петок","сабота"],shortDays:["нед","пон","вто","сре","чет","пет","саб"],months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],shortMonths:["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек"]}),_t=a({dateTime:"%a %e %B %Y %T",date:"%d-%m-%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"]}),Tt=a({dateTime:"%A, %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],shortDays:["Niedz.","Pon.","Wt.","Śr.","Czw.","Pt.","Sob."],months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],shortMonths:["Stycz.","Luty","Marz.","Kwie.","Maj","Czerw.","Lipc.","Sierp.","Wrz.","Paźdz.","Listop.","Grudz."]}),Pt=a({dateTime:"%A, %e de %B de %Y. %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],shortDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]}),Mt=a({dateTime:"%A, %e %B %Y г. %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],shortDays:["вс","пн","вт","ср","чт","пт","сб"],months:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],shortMonths:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"]}),wt=a({dateTime:"%A den %d %B %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["fm","em"],days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],shortDays:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],shortMonths:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"]}),Ot=a({dateTime:"%a %b %e %X %Y",date:"%Y/%-m/%-d",time:"%H:%M:%S",periods:["上午","下午"],days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],shortDays:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortMonths:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]}),kt="%Y-%m-%dT%H:%M:%S.%LZ",jt=Date.prototype.toISOString?Q:at.utcFormat(kt),St=+new Date("2000-01-01T00:00:00.000Z")?tt:at.utcParse(kt),At=at.format,Et=at.parse,Ct=at.utcFormat,Nt=at.utcParse,Dt="0.3.1";t.version=Dt,t.timeFormat=At,t.timeParse=Et,t.utcFormat=Ct,t.utcParse=Nt,t.timeFormatLocale=a,t.timeFormatCaEs=it,t.timeFormatDeCh=ut,t.timeFormatDeDe=st,t.timeFormatEnCa=ct,t.timeFormatEnGb=lt,t.timeFormatEnUs=at,t.timeFormatEsEs=ft,t.timeFormatFiFi=pt,t.timeFormatFrCa=ht,t.timeFormatFrFr=dt,t.timeFormatHeIl=yt,t.timeFormatHuHu=gt,t.timeFormatItIt=bt,t.timeFormatJaJp=vt,t.timeFormatKoKr=mt,t.timeFormatMkMk=xt,t.timeFormatNlNl=_t,t.timeFormatPlPl=Tt,t.timeFormatPtBr=Pt,t.timeFormatRuRu=Mt,t.timeFormatSvSe=wt,t.timeFormatZhCn=Ot,t.isoFormat=jt,t.isoParse=St})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(37);e["default"]={getAxisType:function(t){return t.type&&"axis"===t.type.role?t.props.dependentAxis?"dependent":"independent":void 0},getAxisComponent:function(t,e){var n=function(e){var n=t.some(function(t){return t.props.horizontal});return e.type.getAxis(e.props,n)},r=t.filter(function(t){return"axis"===t.type.role&&n(t)===e});return r[0]},getOrientation:function(t,e){var n={x:"bottom",y:"left"},r={x:"left",y:"bottom"};if(!t)return n[e];if(t.props&&t.props.orientation)return t.props.orientation;var o=t.props.dependentAxis;return o&&"y"===e||!o&&"x"===e?n[e]:r[e]},getAxisOrientations:function(t){return{x:this.getOrientation(this.getAxisComponent(t,"x"),"x"),y:this.getOrientation(this.getAxisComponent(t,"y"),"y")}},isVertical:function(t){var e=t.orientation||(t.dependentAxis?"left":"bottom"),n={top:!1,bottom:!1,left:!0,right:!0};return n[e]},stringTicks:function(t){return void 0!==t.tickValues&&r.Collection.containsStrings(t.tickValues)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(198),i=r(a),u=n(180),s=r(u),c=n(209),l=r(c),f=n(207),p=r(f),h=n(37);e["default"]={getDomain:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return n;var r=l["default"].getData(t);return this.getDomainFromData(r,e)},getDomainWithZero:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return n;var r=function(t){return"y"===e?[Math.min.apply(Math,o(t).concat([0])),Math.max.apply(Math,o(t).concat([0]))]:t},a=this.getDomainFromCategories(t,e);if(a)return r(a);var i=l["default"].getData(t);return r(this.getDomainFromData(i,e))},getDomainFromProps:function(t,e){return t.domain&&t.domain[e]?t.domain[e]:t.domain&&Array.isArray(t.domain)?t.domain:void 0},getDomainFromData:function(t,e){var n=(0,i["default"])(t).map(function(t){return t[e]}),r=Math.min.apply(Math,o(n)),a=Math.max.apply(Math,o(n));if(r===a){var u=0===a?1:a;return[0,u]}return[r,a]},getDomainFromTickValues:function(t){var e=void 0;if(p["default"].stringTicks(t))e=[1,t.tickValues.length];else{var n=t.tickValues.map(function(t){return+t});e=[Math.min.apply(Math,o(n)),Math.max.apply(Math,o(n))]}return p["default"].isVertical(t)&&e.reverse(),e},getDomainFromCategories:function(t,e){var n=l["default"].getCategories(t,e);if(n){var r=h.Collection.containsStrings(n)?l["default"].getStringsFromCategories(t,e):[],a=0===r.length?null:r.reduce(function(t,e,n){return t[e]=n+1,t},{}),i=a?n.map(function(t){return a[t]}):n;return[Math.min.apply(Math,o(i)),Math.max.apply(Math,o(i))]}},getDomainFromGroupedData:function(t,e,n){if("x"===e&&t.categories)return this.getDomainFromCategories(t,e);var r=this.getDomainFromData(n,e),a="y"===e?this.getCumulativeData(n,e):[],i=a.map(function(t){return t.reduce(function(t,e){return e>0?t+e:t},0)}),u=a.map(function(t){return t.reduce(function(t,e){return 0>e?t+e:t},0)}),s=Math.min.apply(Math,o(u)),c=0>s?s:Math.min.apply(Math,o(r)),l=Math.max.apply(Math,o(r).concat(o(i)));if(c===l){var f=0===l?1:l;return[0,f]}return[c,l]},getCumulativeData:function(t,e){var n=[],r=[];t.forEach(function(t){t.forEach(function(t){void 0===t.category||(0,s["default"])(n,t.category)?(0,s["default"])(r,t[e])||r.push(t[e]):n.push(t.category)})});var o=function(){return n.map(function(n){return t.reduce(function(t,r){return r.category===n?t.concat(r[e]):t},[])})},a=function(){return r.map(function(n,r){return t.map(function(t){return t[r]&&t[r][e]})})};return 0===n.length?a():o()},padDomain:function(t,e,n){if(!e.domainPadding)return t;var r="number"==typeof e.domainPadding?e.domainPadding:e.domainPadding[n];if(!r)return t;var a=Math.min.apply(Math,o(t)),i=Math.max.apply(Math,o(t)),u=h.Helpers.getRange(e,n),s=Math.abs(Math.max.apply(Math,o(u))-Math.min.apply(Math,o(u))),c=Math.abs(i-a)*r/s,l=a>=0&&0>=a-c?0:a.valueOf()-c,f=0>=i&&i+c>=0?0:i.valueOf()+c;return a instanceof Date||i instanceof Date?[new Date(l),new Date(f)]:[l,f]},orientDomain:function(t,e,n){var r="x"===n?"y":"x",o=function(t){return"x"===t?"bottom":"left"},a="left"===e.x||"right"===e.x,i=a?e[r]===o(n):e[r]===o(r);return a?i?t.concat().reverse():t:i?t:t.concat().reverse()}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(210),i=r(a),u=n(2),s=r(u),c=n(168),l=r(c),f=n(37),p=n(197),h=r(p),d=n(36),y=r(d);e["default"]={createStringMap:function(t,e){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2],r=this.getStringsFromAxes(t,e),a=this.getStringsFromCategories(t,e),u=n?t.data.reduce(function(n,r){return n.concat(f.Helpers.getStringsFromData((0,s["default"])({},{data:r},t),e))},[]):this.getStringsFromData(t,e),c=(0,i["default"])([].concat(o(r),o(a),o(u)));return 0===c.length?null:c.reduce(function(t,e,n){return t[e]=n+1,t},{})},getStringsFromAxes:function(t,e){if(!t.tickValues||!Array.isArray(t.tickValues)&&!t.tickValues[e])return[];var n=t.tickValues[e]||t.tickValues;return n.filter(function(t){return"string"==typeof t})},getStringsFromCategories:function(t,e){var n=this,r=t.children&&y["default"].Children.toArray(t.children);if(!t.categories&&!t.children)return[];var o=function(t){var r=n.getCategories(t,e);return r&&r.filter(function(t){return"string"==typeof t})},a=t.categories?o(t):r.map(function(t){return o(t.props)});return a?f.Collection.removeUndefined(a):[]},getCategories:function(t,e){return t.categories?Array.isArray(t.categories)?t.categories:t.categories[e]:void 0},getStringsFromData:function(t,e){var n=t.children&&y["default"].Children.toArray(t.children);if(!t.data&&!t.children)return[];var r=function(t){var n=f.Helpers.createAccessor("undefined"!=typeof t[e]?t[e]:e);return t.data?t.data.reduce(function(t,e){var r=n(e);return"string"==typeof r&&-1===t.indexOf(r)?t.concat(r):t},[]):void 0};return t.data?r(t):n.map(function(t){return r(t.props)})},getData:function(t){if(t.data)return this.formatData(t.data,t);var e=this.generateData(t);return this.formatData(e,t)},generateData:function(t){var e=t.domain?t.domain.x||t.domain:h["default"].getBaseScale(t,"x").domain(),n=t.samples||1,r=Math.max.apply(Math,o(e)),a=Array.apply(void 0,o(Array(n))).map(function(t,a){var i=r/n*a+Math.min.apply(Math,o(e));return{x:i,y:i}});return a[n-1].x===r?a:a.concat([{x:r,y:r}])},formatData:function(t,e,n){if(!t)return[];n=n||{x:this.createStringMap(e,"x"),y:this.createStringMap(e,"y")};var r={x:f.Helpers.createAccessor(e.x),y:f.Helpers.createAccessor(e.y)};return this.cleanData(t,e).map(function(t){var e=r.x(t),o=r.y(t);return(0,l["default"])({},t,{x:e,y:o},"string"==typeof e?{x:n.x[e],xName:e}:{},"string"==typeof o?{y:n.y[o],yName:o}:{})})},cleanData:function(t,e){var n={x:h["default"].getScaleType(e,"x"),y:h["default"].getScaleType(e,"y")},r={x:f.Helpers.createAccessor(e.x),y:f.Helpers.createAccessor(e.y)};if("log"!==n.x&&"log"!==n.y)return t;var o=function(t,e){return"log"===n[e]?0!==r[e](t):!0};return t.filter(function(t){return o(t,"x")&&o(t,"y")})}}},function(t,e,n){function r(t){return t&&t.length?o(t):[]}var o=n(211);t.exports=r},function(t,e,n){function r(t,e,n){var r=-1,f=a,p=t.length,h=!0,d=[],y=d;if(n)h=!1,f=i;else if(p>=l){var g=e?null:s(t);if(g)return c(g);h=!1,f=u,y=new o}else y=e?[]:d;t:for(;++r<p;){var b=t[r],v=e?e(b):b;if(h&&v===v){for(var m=y.length;m--;)if(y[m]===v)continue t;e&&y.push(v),d.push(b)}else f(y,v,n)||(y!==d&&y.push(v),d.push(b))}return d}var o=n(188),a=n(190),i=n(191),u=n(193),s=n(212),c=n(142),l=200;t.exports=r},function(t,e,n){var r=n(130),o=n(72),a=r&&2===new r([1,2]).size?function(t){return new r(t)}:o;t.exports=a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i=n(214),u=r(i),s=n(217),c=r(s),l=n(183),f=r(l),p=n(52),h=r(p),d=n(210),y=r(d),g=n(198),b=r(g),v=n(207),m=r(v),x=n(209),_=r(x),T=n(208),P=r(T),M=n(246),w=r(M),O=n(36),k=r(O),j=n(37);e["default"]={getChildComponents:function(t,e){var n=k["default"].Children.toArray(t.children);if(0===n.length)return[e.independent,e.dependent];var r=n.filter(function(t){return t.type&&"axis"===t.type.role});if(0===r.length)return n.concat(e.independent,e.dependent);var o=r.filter(function(t){return t.props.dependentAxis}),a=r.filter(function(t){return!t.props.dependentAxis});if(o.length>1||a.length>1){var i="Only one VictoryAxis component of each axis type is allowed whenusing the VictoryChart wrapper. Only the first axis will be used. Please compose multi-axis charts manually";j.Log.warn(i);var u=n.filter(function(t){return t.type&&"axis"!==t.type.role});return j.Collection.removeUndefined(u.concat(a[0],o[0]))}return n},getDataComponents:function(t){return t.filter(function(t){var e=t.type&&t.type.role;return"axis"!==e})},getDomain:function(t,e,n){var r=w["default"].getDomainFromChildren(t,n),o=m["default"].getAxisOrientations(e);return P["default"].orientDomain(r,o,n)},getAxisOffset:function(t,e){var n=e.axisComponents,r=e.domain,a=e.scale,i={x:Math.max(Math.min.apply(Math,o(r.x)),0),y:Math.max(Math.min.apply(Math,o(r.y)),0)},u={x:m["default"].getOrientation(n.x,"x"),y:m["default"].getOrientation(n.y,"y")},s={x:"left"===u.y?0:t.width,y:"bottom"===u.x?t.height:0},c={x:Math.abs(s.x-a.x.call(null,i.x)),y:Math.abs(s.y-a.y.call(null,i.y))};return{x:n.x&&n.x.offsetX||c.x,y:n.y&&n.y.offsetY||c.y}},getTicksFromData:function(t,e){var n=t.stringMap[e],r=t.categories[e],o=r&&j.Collection.containsOnlyStrings(r)?r.map(function(t){return n[t]}):r,a=n&&(0,f["default"])(n);return o&&0!==o.length?o:a},getTicksFromAxis:function(t,e,n){var r=n.props.tickValues;if(r){var o=t.stringMap[e];return j.Collection.containsOnlyStrings(r)&&o?r.map(function(t){return o[t]}):r}},getTicks:function(){return this.getTicksFromAxis.apply(this,arguments)||this.getTicksFromData.apply(this,arguments)},getTickFormat:function(t,e,n){var r=t.props.tickValues,i=n.stringMap[e];if(r&&!j.Collection.containsStrings(r))return h["default"];if(null===i)return n.scale[e].tickFormat()||h["default"];var s=function(){var t=(0,c["default"])((0,f["default"])(i),function(t){return t}),e=(0,u["default"])(i),n=t.map(function(t){return e[t]}),r=[""].concat(o(n),[""]);return{v:function(t){return r[t]}}}();return"object"===("undefined"==typeof s?"undefined":a(s))?s.v:void 0},getStringsFromChildData:function(t,e){if(!t.props.data&&!t.type.getData)return[];if(t.props.data)return _["default"].getStringsFromData(t.props,e);var n=(0,b["default"])(t.type.getData(t.props)),r="x"===e?"xName":"yName";return n.reduce(function(t,e){return e[r]?t.concat(e[r]):t},[])},createStringMap:function(t,e){var n=this,r=m["default"].getAxisComponent(t,e),a=r?_["default"].getStringsFromAxes(r.props,e):[],i=t.reduce(function(t,n){var r=_["default"].getStringsFromCategories(n.props,e);return r?t.concat(r):t},[]),u=t.reduce(function(t,r){var o=n.getStringsFromChildData(r,e);return o?t.concat(o):t},[]),s=(0,y["default"])((0,b["default"])([].concat(o(a),o(i),o(u))));return 0===s.length?null:s.reduce(function(t,e,n){return t[e]=n+1,t},{})}}},function(t,e,n){var r=n(147),o=n(215),a=n(52),i=o(function(t,e,n){t[e]=n},r(a));t.exports=i},function(t,e,n){function r(t,e){return function(n,r){return o(n,t,e(r),{})}}var o=n(216);t.exports=r},function(t,e,n){function r(t,e,n,r){return o(t,function(t,o,a){e(r,n(t),o,a)}),r}var o=n(123);t.exports=r},function(t,e,n){var r=n(171),o=n(218),a=n(10),i=n(18),u=i(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e.length=1),o(t,r(e,1),[])});t.exports=u},function(t,e,n){function r(t,e,n){var r=-1;e=o(e.length?e:Array(1),a);var c=i(t,function(t,n,a){var i=o(e,function(e){return e(t)});return{criteria:i,index:++r,value:t}});return u(c,function(t,e){return s(t,e,n)})}var o=n(185),a=n(219),i=n(240),u=n(243),s=n(244);t.exports=r},function(t,e,n){function r(t){var e=typeof t;return"function"==e?t:null==t?i:"object"==e?u(t)?a(t[0],t[1]):o(t):s(t)}var o=n(220),a=n(232),i=n(52),u=n(33),s=n(40);t.exports=r},function(t,e,n){function r(t){var e=a(t);if(1==e.length&&e[0][2]){var n=e[0][0],r=e[0][1];return function(t){return null==t?!1:t[n]===r&&(void 0!==r||n in Object(t))}}return function(n){return n===t||o(n,t,e)}}var o=n(221),a=n(228);t.exports=r},function(t,e,n){function r(t,e,n,r){var s=n.length,c=s,l=!r;if(null==t)return!c;for(t=Object(t);s--;){var f=n[s];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++s<c;){f=n[s];var p=f[0],h=t[p],d=f[1];if(l&&f[2]){if(void 0===h&&!(p in t))return!1}else{var y=new o,g=r?r(h,d,p,t,e,y):void 0;if(!(void 0===g?a(d,h,r,i|u,y):g))return!1}}return!0}var o=n(89),a=n(222),i=1,u=2;t.exports=r},function(t,e,n){function r(t,e,n,u,s){return t===e?!0:null==t||null==e||!a(t)&&!i(e)?t!==t&&e!==e:o(t,e,r,n,u,s)}var o=n(223),a=n(15),i=n(32);t.exports=r},function(t,e,n){function r(t,e,n,r,g,v){var m=c(t),x=c(e),_=d,T=d;m||(_=s(t),_=_==h?y:_),x||(T=s(e),T=T==h?y:T);var P=_==y&&!l(t),M=T==y&&!l(e),w=_==T;if(w&&!P)return v||(v=new o),m||f(t)?a(t,e,n,r,g,v):i(t,e,_,n,r,g,v);if(!(g&p)){var O=P&&b.call(t,"__wrapped__"),k=M&&b.call(e,"__wrapped__");if(O||k)return v||(v=new o),n(O?t.value():t,k?e.value():e,r,g,v)}return w?(v||(v=new o),u(t,e,n,r,g,v)):!1}var o=n(89),a=n(224),i=n(226),u=n(227),s=n(129),c=n(33),l=n(57),f=n(149),p=2,h="[object Arguments]",d="[object Array]",y="[object Object]",g=Object.prototype,b=g.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n,r,u,s){var c=-1,l=u&i,f=u&a,p=t.length,h=e.length;if(p!=h&&!(l&&h>p))return!1;var d=s.get(t);if(d)return d==e;var y=!0;for(s.set(t,e);++c<p;){var g=t[c],b=e[c];if(r)var v=l?r(b,g,c,e,t,s):r(g,b,c,t,e,s);if(void 0!==v){if(v)continue;y=!1;break}if(f){if(!o(e,function(t){return g===t||n(g,t,r,u,s)})){y=!1;break}}else if(g!==b&&!n(g,b,r,u,s)){y=!1;break}}return s["delete"](t),y}var o=n(225),a=1,i=2;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e,n){function r(t,e,n,r,o,_,P){switch(n){case x:return!(t.byteLength!=e.byteLength||!r(new a(t),new a(e)));case f:case p:return+t==+e;case h:return t.name==e.name&&t.message==e.message;case y:return t!=+t?e!=+e:t==+e;case g:case v:return t==e+"";case d:var M=u;case b:var w=_&l;if(M||(M=s),t.size!=e.size&&!w)return!1;var O=P.get(t);return O?O==e:i(M(t),M(e),r,o,_|c,P.set(t,e));case m:if(T)return T.call(t)==T.call(e)}return!1}var o=n(46),a=n(134),i=n(224),u=n(138),s=n(142),c=1,l=2,f="[object Boolean]",p="[object Date]",h="[object Error]",d="[object Map]",y="[object Number]",g="[object RegExp]",b="[object Set]",v="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",_=o?o.prototype:void 0,T=_?_.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e,n,r,u,s){var c=u&i,l=a(t),f=l.length,p=a(e),h=p.length;if(f!=h&&!c)return!1;for(var d=f;d--;){var y=l[d];if(!(c?y in e:o(e,y)))return!1}var g=s.get(t);if(g)return g==e;var b=!0;s.set(t,e);for(var v=c;++d<f;){y=l[d];var m=t[y],x=e[y];if(r)var _=c?r(x,m,y,e,t,s):r(m,x,y,t,e,s);if(!(void 0===_?m===x||n(m,x,r,u,s):_)){b=!1;break}v||(v="constructor"==y)}if(b&&!v){var T=t.constructor,P=e.constructor;T!=P&&"constructor"in t&&"constructor"in e&&!("function"==typeof T&&T instanceof T&&"function"==typeof P&&P instanceof P)&&(b=!1)}return s["delete"](t),b}var o=n(121),a=n(120),i=2;t.exports=r},function(t,e,n){function r(t){for(var e=a(t),n=e.length;n--;)e[n][2]=o(e[n][1]);return e}var o=n(229),a=n(230);t.exports=r},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(15);t.exports=r},function(t,e,n){function r(t){return o(t,a(t))}var o=n(231),a=n(120);t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return[e,t[e]]})}var o=n(185);t.exports=r},function(t,e,n){function r(t,e){return function(n){var r=a(n,t);return void 0===r&&r===e?i(n,t):o(e,r,void 0,u|s)}}var o=n(222),a=n(233),i=n(234),u=1,s=2;t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(42);t.exports=r},function(t,e,n){function r(t,e){return a(t,e,o)}var o=n(235),a=n(236);t.exports=r},function(t,e){function n(t,e){return e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){if(null==t)return!1;var r=n(t,e);r||s(e)||(e=o(e),t=p(t,e),null!=t&&(e=f(e),r=n(t,e)));var h=t?t.length:void 0;return r||!!h&&c(h)&&u(e,h)&&(i(t)||l(t)||a(t))}var o=n(43),a=n(30),i=n(33),u=n(17),s=n(48),c=n(16),l=n(34),f=n(237),p=n(238);t.exports=r},function(t,e){function n(t){var e=t?t.length:0;return e?t[e-1]:void 0}t.exports=n},function(t,e,n){function r(t,e){return 1==e.length?t:a(t,o(e,0,-1))}var o=n(239),a=n(233);t.exports=r},function(t,e){function n(t,e,n){var r=-1,o=t.length;0>e&&(e=-e>o?0:o+e),n=n>o?o:n,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(o);++r<o;)a[r]=t[r+e];return a}t.exports=n},function(t,e,n){function r(t,e){var n=-1,r=a(t)?Array(t.length):[];return o(t,function(t,o,a){r[++n]=e(t,o,a)}),r}var o=n(241),a=n(11);t.exports=r},function(t,e,n){var r=n(123),o=n(242),a=o(r);t.exports=a},function(t,e,n){function r(t,e){return function(n,r){if(null==n)return n;if(!o(n))return t(n,r);for(var a=n.length,i=e?a:-1,u=Object(n);(e?i--:++i<a)&&r(u[i],i,u)!==!1;);return n}}var o=n(11);t.exports=r},function(t,e){function n(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}t.exports=n},function(t,e,n){function r(t,e,n){for(var r=-1,a=t.criteria,i=e.criteria,u=a.length,s=n.length;++r<u;){var c=o(a[r],i[r]);if(c){if(r>=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return t.index-e.index}var o=n(245);t.exports=r},function(t,e){function n(t,e){if(t!==e){var n=null===t,r=void 0===t,o=t===t,a=null===e,i=void 0===e,u=e===e;if(t>e&&!a||!o||n&&!i&&u||r&&u)return 1;if(e>t&&!n||!u||a&&!r&&o||i&&o)return-1}return 0}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),i=r(a),u=n(210),s=r(u),c=n(198),l=r(c),f=n(36),p=r(f),h=n(209),d=r(h),y=n(208),g=r(y),b=n(37);e["default"]={getData:function(t){var e=p["default"].Children.toArray(t.children);return e.map(function(t){var e=t.type.getData||d["default"].getData;return e(t.props)})},getDomainFromChildren:function(t,e){var n=p["default"].Children.toArray(t.children),r=void 0;if(t.domain&&(Array.isArray(t.domain)||t.domain[e]))r=Array.isArray(t.domain)?t.domain:t.domain[e];else{var a=n.reduce(function(t,n){var r=n.type.getDomain(n.props,e);return r?t.concat(r):t},[]);r=0===a.length?[0,1]:[Math.min.apply(Math,o(a)),Math.max.apply(Math,o(a))]}return g["default"].padDomain(r,t,e)},getStackedDomain:function(t,e){var n=g["default"].getDomainFromProps(t,e);if(n)return g["default"].padDomain(n,t,e);var r=function(t){return"y"===e?[Math.min.apply(Math,o(t).concat([0])),Math.max.apply(Math,o(t).concat([0]))]:t},a=p["default"].Children.toArray(t.children),i=function(t){return t.type.getData(t.props)||d["default"].getData(t.props)},u=a.map(function(t){return t.props.children?p["default"].Children.toArray(t.props.children).map(function(t){return i(t)}):i(t)}),s=r(g["default"].getDomainFromGroupedData(t,e,u));return g["default"].padDomain(s,t,e)},getColor:function(t,e){var n=t.style,r=t.colorScale;if(n&&n.data&&n.data.fill)return n.data.fill;var o=Array.isArray(r)?r:b.Style.getColorScale(r);return o[e%o.length]},getChildStyle:function(t,e,n){var r=n.style,o=t.type&&t.type.role,a="group-wrapper"===o||"stack-wrapper"===o?void 0:this.getColor(n,e),u=t.props.style||{},s=(0,i["default"])({},u.data,r.data,{fill:a}),c=(0,i["default"])({},u.labels,r.labels);return{parent:r.parent,data:s,labels:c}},getStringsFromChildren:function(t,e){var n=p["default"].Children.toArray(t.children),r=n.reduce(function(t,n){var r=d["default"].getStringsFromCategories(n.props,e);return r?t.concat(r):t},[]),a=n.reduce(function(t,n){var r=d["default"].getStringsFromData(n.props,e);return r?t.concat(r):t},[]);return(0,s["default"])((0,l["default"])([].concat(o(r),o(a))))},getCategories:function(t,e){var n=d["default"].getCategories(t,e)||this.getStringsFromChildren(t,e);return n.length>0?n:void 0},getY0:function(t,e,n){var r=n.datasets,o=t.y,a=r.slice(0,e),i=a.reduce(function(e,n){return e.concat(n.filter(function(e){return t.x instanceof Date?e.x.getTime()===t.x.getTime():e.x===t.x}).map(function(t){return t.y||0}))},[]);return i.reduce(function(t,e){var n=0>o&&0>e||o>=0&&e>=0;return n?t+e:t},0)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(217),l=r(c),f=n(170),p=r(f),h=n(2),d=r(h),y=n(36),g=r(y),b=n(248),v=r(b),m=n(251),x=r(m),_=n(197),T=r(_),P=n(208),M=r(P),w=n(209),O=r(w),k=n(37),j={data:{strokeWidth:2,fill:"none",stroke:"#756f6a",opacity:1},labels:{padding:5,fontFamily:"Helvetica",fontSize:10,strokeWidth:0,stroke:"transparent",textAnchor:"start"}},S=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"componentWillMount",value:function(){this.state={dataState:{},labelsState:{}}}},{key:"getDataSegments",value:function(t){var e=(0,l["default"])(t,"x"),n=[],r=0;return e.forEach(function(t,o){null!==t.y&&"undefined"!=typeof t.y||(n.push(e.slice(r,o)),r=o+1)}),n.push(e.slice(r,e.length)),n.filter(function(t){return Array.isArray(t)&&t.length>0})}},{key:"getLabelStyle",value:function(t){var e=t.data.opacity,n=t.data.stroke,r=t.labels.padding||0;return(0,d["default"])({},t.labels,{opacity:e,fill:n,padding:r})}},{key:"renderLine",value:function(t){var e=this,n=t.dataSegments,r=t.scale,o=t.style,a=this.props,i=a.interpolation,s=a.dataComponent,c=a.events;return n.map(function(t,n){var a=k.Helpers.getEvents.bind(e)(c.data,"data"),l="line-segment-"+n;return g["default"].cloneElement(s,u({key:l,index:n,events:a,data:t,interpolation:i,scale:r,style:o.data},e.state.dataState[n]))})}},{key:"renderLabel",value:function(t){var e=t.dataset,n=t.dataSegments,r=t.scale,o=t.style;if(this.props.label){var a=n[n.length-1],i=Array.isArray(a)?a[a.length-1]:a,s=k.Helpers.getEvents.bind(this);return g["default"].createElement(x["default"],u({key:"line-label",events:s(this.props.events.labels,"labels"),data:e,position:{x:r.x.call(this,i.x),y:r.y.call(this,i.y)},label:this.props.label,style:this.getLabelStyle(o)},this.state.labelsState[0]))}}},{key:"renderData",value:function(t,e){var n=O["default"].getData(t),r=this.getDataSegments(n),o={x:k.Helpers.getRange(t,"x"),y:k.Helpers.getRange(t,"y")},a={x:M["default"].getDomain(t,"x"),y:M["default"].getDomain(t,"y")},i={x:T["default"].getBaseScale(t,"x").domain(a.x).range(o.x),y:T["default"].getBaseScale(t,"y").domain(a.y).range(o.y)},u={dataset:n,dataSegments:r,scale:i,style:e};return g["default"].createElement("g",{style:e.parent},this.renderLine(u),this.renderLabel(u))}},{key:"render",value:function(){var t=this;if(this.props.animate){var n=["data","domain","height","padding","samples","style","width","x","y"],r=(0,p["default"])(this.props,n);return g["default"].createElement(k.VictoryAnimation,u({},this.props.animate,{data:r}),function(n){return g["default"].createElement(e,u({},t.props,n,{animate:null}))})}var o=k.Helpers.getStyles(this.props.style,j,this.props.height,this.props.width),a=g["default"].createElement("g",{style:o.parent},this.renderData(this.props,o));return this.props.standalone?g["default"].createElement("svg",u({
  style:o.parent},this.props.events.parent),a):a}}]),e}(g["default"].Component);S.role="line",S.propTypes={animate:y.PropTypes.object,categories:y.PropTypes.oneOfType([y.PropTypes.arrayOf(y.PropTypes.string),y.PropTypes.shape({x:y.PropTypes.arrayOf(y.PropTypes.string),y:y.PropTypes.arrayOf(y.PropTypes.string)})]),data:y.PropTypes.array,dataComponent:y.PropTypes.element,domain:y.PropTypes.oneOfType([k.PropTypes.domain,y.PropTypes.shape({x:k.PropTypes.domain,y:k.PropTypes.domain})]),events:y.PropTypes.shape({data:y.PropTypes.object,labels:y.PropTypes.object,parent:y.PropTypes.object}),height:k.PropTypes.nonNegative,interpolation:y.PropTypes.oneOf(["basis","basisClosed","basisOpen","bundle","cardinal","cardinalClosed","cardinalOpen","catmullRom","catmullRomClosed","catmullRomOpen","linear","linearClosed","monotoneX","monotoneY","natural","radial","step","stepAfter","stepBefore"]),label:y.PropTypes.any,padding:y.PropTypes.oneOfType([y.PropTypes.number,y.PropTypes.shape({top:y.PropTypes.number,bottom:y.PropTypes.number,left:y.PropTypes.number,right:y.PropTypes.number})]),samples:k.PropTypes.nonNegative,scale:y.PropTypes.oneOfType([k.PropTypes.scale,y.PropTypes.shape({x:k.PropTypes.scale,y:k.PropTypes.scale})]),standalone:y.PropTypes.bool,style:y.PropTypes.shape({parent:y.PropTypes.object,data:y.PropTypes.object,labels:y.PropTypes.object}),width:k.PropTypes.nonNegative,x:y.PropTypes.oneOfType([y.PropTypes.func,k.PropTypes.allOfType([k.PropTypes.integer,k.PropTypes.nonNegative]),y.PropTypes.string,y.PropTypes.arrayOf(y.PropTypes.string)]),y:y.PropTypes.oneOfType([y.PropTypes.func,k.PropTypes.allOfType([k.PropTypes.integer,k.PropTypes.nonNegative]),y.PropTypes.string,y.PropTypes.arrayOf(y.PropTypes.string)])},S.defaultProps={events:{},height:300,interpolation:"linear",padding:50,samples:50,scale:"linear",standalone:!0,width:450,x:"x",y:"y",dataComponent:g["default"].createElement(v["default"],null)},S.getDomain=M["default"].getDomain.bind(M["default"]),S.getData=O["default"].getData.bind(O["default"]),e["default"]=S},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(249),p=r(f),h=n(37),d=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"toNewName",value:function(t){var e=function(t){return t&&t[0].toUpperCase()+t.slice(1)};return"curve"+e(t)}},{key:"render",value:function(){var t=this.props,e=h.Helpers.evaluateStyle(t.style,t.data),n=h.Helpers.evaluateProp(t.interpolation,t.data),r=t.scale.x,o=t.scale.y,a=p["default"].line().curve(p["default"][this.toNewName(n)]).x(function(t){return r(t.x)}).y(function(t){return o(t.y)}),i=a(t.data),s=h.Helpers.getPartialEvents(t.events,t.index,t);return l["default"].createElement("path",u({style:e,d:i},s))}}]),e}(l["default"].Component);d.propTypes={index:l["default"].PropTypes.number,data:c.PropTypes.array,events:c.PropTypes.object,interpolation:c.PropTypes.string,scale:c.PropTypes.object,style:c.PropTypes.object},e["default"]=d},function(t,e,n){!function(t,r){r(e,n(250))}(this,function(t,e){"use strict";function n(t){return function(){return t}}function r(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function i(t){return t.endAngle}function u(t){return t&&t.padAngle}function s(t){return t>=1?Tt:-1>=t?-Tt:Math.asin(t)}function c(t,e,n,r,o,a,i,u){var s=n-t,c=r-e,l=i-o,f=u-a,p=(l*(e-a)-f*(t-o))/(f*s-l*c);return[t+p*s,e+p*c]}function l(t,e,n,r,o,a,i){var u=t-n,s=e-r,c=(i?a:-a)/Math.sqrt(u*u+s*s),l=c*s,f=-c*u,p=t+l,h=e+f,d=n+l,y=r+f,g=(p+d)/2,b=(h+y)/2,v=d-p,m=y-h,x=v*v+m*m,_=o-a,T=p*y-d*h,P=(0>m?-1:1)*Math.sqrt(Math.max(0,_*_*x-T*T)),M=(T*m-v*P)/x,w=(-T*v-m*P)/x,O=(T*m+v*P)/x,k=(-T*v+m*P)/x,j=M-g,S=w-b,A=O-g,E=k-b;return j*j+S*S>A*A+E*E&&(M=O,w=k),{cx:M,cy:w,x01:-l,y01:-f,x11:M*(o/_-1),y11:w*(o/_-1)}}function f(){function t(){var t,n,r=+f.apply(this,arguments),o=+p.apply(this,arguments),a=y.apply(this,arguments)-Tt,i=g.apply(this,arguments)-Tt,u=Math.abs(i-a),m=i>a;if(v||(v=t=e.path()),r>o&&(n=o,o=r,r=n),o>xt)if(u>Pt-xt)v.moveTo(o*Math.cos(a),o*Math.sin(a)),v.arc(0,0,o,a,i,!m),r>xt&&(v.moveTo(r*Math.cos(i),r*Math.sin(i)),v.arc(0,0,r,i,a,m));else{var x,_,T=a,P=i,M=a,w=i,O=u,k=u,j=b.apply(this,arguments)/2,S=j>xt&&(d?+d.apply(this,arguments):Math.sqrt(r*r+o*o)),A=Math.min(Math.abs(o-r)/2,+h.apply(this,arguments)),E=A,C=A;if(S>xt){var N=s(S/r*Math.sin(j)),D=s(S/o*Math.sin(j));(O-=2*N)>xt?(N*=m?1:-1,M+=N,w-=N):(O=0,M=w=(a+i)/2),(k-=2*D)>xt?(D*=m?1:-1,T+=D,P-=D):(k=0,T=P=(a+i)/2)}var F=o*Math.cos(T),L=o*Math.sin(T),H=r*Math.cos(w),z=r*Math.sin(w);if(A>xt){var I=o*Math.cos(P),q=o*Math.sin(P),R=r*Math.cos(M),Y=r*Math.sin(M);if(_t>u){var V=O>xt?c(F,L,R,Y,I,q,H,z):[H,z],U=F-V[0],B=L-V[1],W=I-V[0],X=q-V[1],J=1/Math.sin(Math.acos((U*W+B*X)/(Math.sqrt(U*U+B*B)*Math.sqrt(W*W+X*X)))/2),$=Math.sqrt(V[0]*V[0]+V[1]*V[1]);E=Math.min(A,(r-$)/(J-1)),C=Math.min(A,(o-$)/(J+1))}}k>xt?C>xt?(x=l(R,Y,F,L,o,C,m),_=l(I,q,H,z,o,C,m),v.moveTo(x.cx+x.x01,x.cy+x.y01),A>C?v.arc(x.cx,x.cy,C,Math.atan2(x.y01,x.x01),Math.atan2(_.y01,_.x01),!m):(v.arc(x.cx,x.cy,C,Math.atan2(x.y01,x.x01),Math.atan2(x.y11,x.x11),!m),v.arc(0,0,o,Math.atan2(x.cy+x.y11,x.cx+x.x11),Math.atan2(_.cy+_.y11,_.cx+_.x11),!m),v.arc(_.cx,_.cy,C,Math.atan2(_.y11,_.x11),Math.atan2(_.y01,_.x01),!m))):(v.moveTo(F,L),v.arc(0,0,o,T,P,!m)):v.moveTo(F,L),r>xt&&O>xt?E>xt?(x=l(H,z,I,q,r,-E,m),_=l(F,L,R,Y,r,-E,m),v.lineTo(x.cx+x.x01,x.cy+x.y01),A>E?v.arc(x.cx,x.cy,E,Math.atan2(x.y01,x.x01),Math.atan2(_.y01,_.x01),!m):(v.arc(x.cx,x.cy,E,Math.atan2(x.y01,x.x01),Math.atan2(x.y11,x.x11),!m),v.arc(0,0,r,Math.atan2(x.cy+x.y11,x.cx+x.x11),Math.atan2(_.cy+_.y11,_.cx+_.x11),m),v.arc(_.cx,_.cy,E,Math.atan2(_.y11,_.x11),Math.atan2(_.y01,_.x01),!m))):v.arc(0,0,r,w,M,m):v.lineTo(H,z)}else v.moveTo(0,0);return v.closePath(),t?(v=null,t+""||null):void 0}var f=r,p=o,h=n(0),d=null,y=a,g=i,b=u,v=null;return t.centroid=function(){var t=(+f.apply(this,arguments)+ +p.apply(this,arguments))/2,e=(+y.apply(this,arguments)+ +g.apply(this,arguments))/2-_t/2;return[Math.cos(e)*t,Math.sin(e)*t]},t.innerRadius=function(e){return arguments.length?(f="function"==typeof e?e:n(+e),t):f},t.outerRadius=function(e){return arguments.length?(p="function"==typeof e?e:n(+e),t):p},t.cornerRadius=function(e){return arguments.length?(h="function"==typeof e?e:n(+e),t):h},t.padRadius=function(e){return arguments.length?(d=null==e?null:"function"==typeof e?e:n(+e),t):d},t.startAngle=function(e){return arguments.length?(y="function"==typeof e?e:n(+e),t):y},t.endAngle=function(e){return arguments.length?(g="function"==typeof e?e:n(+e),t):g},t.padAngle=function(e){return arguments.length?(b="function"==typeof e?e:n(+e),t):b},t.context=function(e){return arguments.length?(v=null==e?null:e,t):v},t}function p(t){this._context=t}function h(t){return new p(t)}function d(t){return t[0]}function y(t){return t[1]}function g(){function t(t){var n,f,p,h,d,y=t.length,g=!1,b=new Array(y),v=new Array(y);for(null==s&&(l=c(d=e.path())),n=0;y>=n;++n){if(!(y>n&&u(h=t[n],n,t))===g)if(g=!g)f=n,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),p=n-1;p>=f;--p)l.point(b[p],v[p]);l.lineEnd(),l.areaEnd()}g&&(b[n]=+r(h,n,t),v[n]=+a(h,n,t),l.point(o?+o(h,n,t):b[n],i?+i(h,n,t):v[n]))}return d?(l=null,d+""||null):void 0}var r=d,o=null,a=n(0),i=y,u=n(!0),s=null,c=h,l=null;return t.x=function(e){return arguments.length?(r="function"==typeof e?e:n(+e),o=null,t):r},t.x0=function(e){return arguments.length?(r="function"==typeof e?e:n(+e),t):r},t.x1=function(e){return arguments.length?(o=null==e?null:"function"==typeof e?e:n(+e),t):o},t.y=function(e){return arguments.length?(a="function"==typeof e?e:n(+e),i=null,t):a},t.y0=function(e){return arguments.length?(a="function"==typeof e?e:n(+e),t):a},t.y1=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:n(+e),t):i},t.defined=function(e){return arguments.length?(u="function"==typeof e?e:n(!!e),t):u},t.curve=function(e){return arguments.length?(c=e,null!=s&&(l=c(s)),t):c},t.context=function(e){return arguments.length?(null==e?s=l=null:l=c(s=e),t):s},t}function b(){function t(t){var n,c,l,f=t.length,p=!1;for(null==i&&(s=u(l=e.path())),n=0;f>=n;++n)!(f>n&&a(c=t[n],n,t))===p&&((p=!p)?s.lineStart():s.lineEnd()),p&&s.point(+r(c,n,t),+o(c,n,t));return l?(s=null,l+""||null):void 0}var r=d,o=y,a=n(!0),i=null,u=h,s=null;return t.x=function(e){return arguments.length?(r="function"==typeof e?e:n(+e),t):r},t.y=function(e){return arguments.length?(o="function"==typeof e?e:n(+e),t):o},t.defined=function(e){return arguments.length?(a="function"==typeof e?e:n(!!e),t):a},t.curve=function(e){return arguments.length?(u=e,null!=i&&(s=u(i)),t):u},t.context=function(e){return arguments.length?(null==e?i=s=null:s=u(i=e),t):i},t}function v(t,e){return t>e?-1:e>t?1:e>=t?0:NaN}function m(t){return t}function x(){function t(t){var n,s,c,l,f,p=t.length,h=0,d=new Array(p),y=new Array(p),g=+a.apply(this,arguments),b=Math.min(Pt,Math.max(-Pt,i.apply(this,arguments)-g)),v=Math.min(Math.abs(b)/p,u.apply(this,arguments)),m=v*(0>b?-1:1);for(n=0;p>n;++n)(f=y[d[n]=n]=+e(t[n],n,t))>0&&(h+=f);for(null!=r?d.sort(function(t,e){return r(y[t],y[e])}):null!==o&&d.sort(function(e,n){return o(t[e],t[n])}),n=0,c=h?(b-p*m)/h:0;p>n;++n,g=l)s=d[n],f=y[s],l=g+(f>0?f*c:0)+m,y[s]={data:t[s],index:n,value:f,startAngle:g,endAngle:l,padAngle:v};return y}var e=m,r=v,o=null,a=n(0),i=n(Pt),u=n(0);return t.value=function(r){return arguments.length?(e="function"==typeof r?r:n(+r),t):e},t.sortValues=function(e){return arguments.length?(r=e,o=null,t):r},t.sort=function(e){return arguments.length?(o=e,r=null,t):o},t.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:n(+e),t):a},t.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:n(+e),t):i},t.padAngle=function(e){return arguments.length?(u="function"==typeof e?e:n(+e),t):u},t}function _(t){this._curve=t}function T(t){function e(e){return new _(t(e))}return e._curve=t,e}function P(){var t=g(),e=t.curve;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.curve=function(t){return arguments.length?e(T(t)):e()._curve},t.curve(h)}function M(){var t=b(),e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(T(t)):e()._curve},t.curve(h)}function w(){function t(){var t;return a||(a=t=e.path()),r.apply(this,arguments).draw(a,+o.apply(this,arguments)),t?(a=null,t+""||null):void 0}var r=n(Mt),o=n(64),a=null;return t.type=function(e){return arguments.length?(r="function"==typeof e?e:n(e),t):r},t.size=function(e){return arguments.length?(o="function"==typeof e?e:n(+e),t):o},t.context=function(e){return arguments.length?(a=null==e?null:e,t):a},t}function O(){}function k(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function j(t){this._context=t}function S(t){return new j(t)}function A(t){this._context=t}function E(t){return new A(t)}function C(t){this._context=t}function N(t){return new C(t)}function D(t,e){this._basis=new j(t),this._beta=e}function F(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function L(t,e){this._context=t,this._k=(1-e)/6}function H(t,e){this._context=t,this._k=(1-e)/6}function z(t,e){this._context=t,this._k=(1-e)/6}function I(t,e,n){var r=t._x1,o=t._y1,a=t._x2,i=t._y2;if(t._l01_a>xt){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>xt){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/l,i=(i*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,o,a,i,t._x2,t._y2)}function q(t,e){this._context=t,this._alpha=e}function R(t,e){this._context=t,this._alpha=e}function Y(t,e){this._context=t,this._alpha=e}function V(t){this._context=t}function U(t){return new V(t)}function B(t){return 0>t?-1:1}function W(t,e,n){var r=t._x1-t._x0,o=e-t._x1,a=(t._y1-t._y0)/(r||0>o&&-0),i=(n-t._y1)/(o||0>r&&-0),u=(a*o+i*r)/(r+o);return(B(a)+B(i))*Math.min(Math.abs(a),Math.abs(i),.5*Math.abs(u))||0}function X(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function J(t,e,n){var r=t._x0,o=t._y0,a=t._x1,i=t._y1,u=(a-r)/3;t._context.bezierCurveTo(r+u,o+u*e,a-u,i-u*n,a,i)}function $(t){this._context=t}function Z(t){this._context=new G(t)}function G(t){this._context=t}function K(t){return new $(t)}function Q(t){return new Z(t)}function tt(t){this._context=t}function et(t){var e,n,r=t.length-1,o=new Array(r),a=new Array(r),i=new Array(r);for(o[0]=0,a[0]=2,i[0]=t[0]+2*t[1],e=1;r-1>e;++e)o[e]=1,a[e]=4,i[e]=4*t[e]+2*t[e+1];for(o[r-1]=2,a[r-1]=7,i[r-1]=8*t[r-1]+t[r],e=1;r>e;++e)n=o[e]/a[e-1],a[e]-=n,i[e]-=n*i[e-1];for(o[r-1]=i[r-1]/a[r-1],e=r-2;e>=0;--e)o[e]=(i[e]-o[e+1])/a[e];for(a[r-1]=(t[r]+o[r-1])/2,e=0;r-1>e;++e)a[e]=2*t[e+1]-o[e+1];return[o,a]}function nt(t){return new tt(t)}function rt(t,e){this._context=t,this._t=e}function ot(t){return new rt(t,.5)}function at(t){return new rt(t,0)}function it(t){return new rt(t,1)}function ut(t,e){if((r=t.length)>1)for(var n,r,o=1,a=t[e[0]],i=a.length;r>o;++o){n=a,a=t[e[o]];for(var u=0;i>u;++u)a[u][1]+=a[u][0]=isNaN(n[u][1])?n[u][0]:n[u][1]}}function st(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function ct(t,e){return t[e]}function lt(){function t(t){var n,i,u=e.apply(this,arguments),s=t.length,c=u.length,l=new Array(c);for(n=0;c>n;++n){for(var f,p=u[n],h=l[n]=new Array(s),d=0;s>d;++d)h[d]=f=[0,+a(t[d],p,d,t)],f.data=t[d];h.key=p}for(n=0,i=r(l);c>n;++n)l[i[n]].index=n;return o(l,i),l}var e=n([]),r=st,o=ut,a=ct;return t.keys=function(r){return arguments.length?(e="function"==typeof r?r:n(Zt.call(r)),t):e},t.value=function(e){return arguments.length?(a="function"==typeof e?e:n(+e),t):a},t.order=function(e){return arguments.length?(r=null==e?st:"function"==typeof e?e:n(Zt.call(e)),t):r},t.offset=function(e){return arguments.length?(o=null==e?ut:e,t):o},t}function ft(t,e){if((r=t.length)>0){for(var n,r,o,a=0,i=t[0].length;i>a;++a){for(o=n=0;r>n;++n)o+=t[n][a][1]||0;if(o)for(n=0;r>n;++n)t[n][a][1]/=o}ut(t,e)}}function pt(t,e){if((n=t.length)>0){for(var n,r=0,o=t[e[0]],a=o.length;a>r;++r){for(var i=0,u=0;n>i;++i)u+=t[i][r][1]||0;o[r][1]+=o[r][0]=-u/2}ut(t,e)}}function ht(t,e){if((o=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,o,a=0,i=1;r>i;++i){for(var u=0,s=0,c=0;o>u;++u){for(var l=t[e[u]],f=l[i][1]||0,p=l[i-1][1]||0,h=(f-p)/2,d=0;u>d;++d){var y=t[e[d]],g=y[i][1]||0,b=y[i-1][1]||0;h+=g-b}s+=f,c+=h*f}n[i-1][1]+=n[i-1][0]=a,s&&(a-=c/s)}n[i-1][1]+=n[i-1][0]=a,ut(t,e)}}function dt(t){var e=t.map(yt);return st(t).sort(function(t,n){return e[t]-e[n]})}function yt(t){for(var e,n=0,r=-1,o=t.length;++r<o;)(e=+t[r][1])&&(n+=e);return n}function gt(t){return dt(t).reverse()}function bt(t){var e,n,r=t.length,o=t.map(yt),a=st(t).sort(function(t,e){return o[e]-o[t]}),i=0,u=0,s=[],c=[];for(e=0;r>e;++e)n=a[e],u>i?(i+=o[n],s.push(n)):(u+=o[n],c.push(n));return c.reverse().concat(s)}function vt(t){return st(t).reverse()}var mt="0.6.0",xt=1e-12,_t=Math.PI,Tt=_t/2,Pt=2*_t;p.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},_.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Mt={draw:function(t,e){var n=Math.sqrt(e/_t);t.moveTo(n,0),t.arc(0,0,n,0,Pt)}},wt={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Ot=Math.sqrt(1/3),kt=2*Ot,jt={draw:function(t,e){var n=Math.sqrt(e/kt),r=n*Ot;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},St=.8908130915292852,At=Math.sin(_t/10)/Math.sin(7*_t/10),Et=Math.sin(Pt/10)*At,Ct=-Math.cos(Pt/10)*At,Nt={draw:function(t,e){var n=Math.sqrt(e*St),r=Et*n,o=Ct*n;t.moveTo(0,-n),t.lineTo(r,o);for(var a=1;5>a;++a){var i=Pt*a/5,u=Math.cos(i),s=Math.sin(i);t.lineTo(s*n,-u*n),t.lineTo(u*r-s*o,s*r+u*o)}t.closePath()}},Dt={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},Ft=Math.sqrt(3),Lt={draw:function(t,e){var n=-Math.sqrt(e/(3*Ft));t.moveTo(0,2*n),t.lineTo(-Ft*n,-n),t.lineTo(Ft*n,-n),t.closePath()}},Ht=-.5,zt=Math.sqrt(3)/2,It=1/Math.sqrt(12),qt=3*(It/2+1),Rt={draw:function(t,e){var n=Math.sqrt(e/qt),r=n/2,o=n*It,a=r,i=n*It+n,u=-a,s=i;t.moveTo(r,o),t.lineTo(a,i),t.lineTo(u,s),t.lineTo(Ht*r-zt*o,zt*r+Ht*o),t.lineTo(Ht*a-zt*i,zt*a+Ht*i),t.lineTo(Ht*u-zt*s,zt*u+Ht*s),t.lineTo(Ht*r+zt*o,Ht*o-zt*r),t.lineTo(Ht*a+zt*i,Ht*i-zt*a),t.lineTo(Ht*u+zt*s,Ht*s-zt*u),t.closePath()}},Yt=[Mt,wt,jt,Dt,Nt,Lt,Rt];j.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:k(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:k(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},A.prototype={areaStart:O,areaEnd:O,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:k(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:k(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},D.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,o=t[0],a=e[0],i=t[n]-o,u=e[n]-a,s=-1;++s<=n;)r=s/n,this._basis.point(this._beta*t[s]+(1-this._beta)*(o+r*i),this._beta*e[s]+(1-this._beta)*(a+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Vt=function Gt(t){function e(e){return 1===t?new j(e):new D(e,t)}return e.beta=function(t){return Gt(+t)},e}(.85);L.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:F(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:F(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ut=function Kt(t){function e(e){return new L(e,t)}return e.tension=function(t){return Kt(+t)},e}(0);H.prototype={areaStart:O,areaEnd:O,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:F(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Bt=function Qt(t){function e(e){return new H(e,t)}return e.tension=function(t){return Qt(+t)},e}(0);z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:F(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Wt=function te(t){function e(e){return new z(e,t)}return e.tension=function(t){return te(+t)},e}(0);q.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,this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:I(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Xt=function ee(t){function e(e){return t?new q(e,t):new L(e,0)}return e.alpha=function(t){return ee(+t)},e}(.5);R.prototype={areaStart:O,areaEnd:O,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:I(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Jt=function ne(t){function e(e){return t?new R(e,t):new H(e,0)}return e.alpha=function(t){return ne(+t)},e}(.5);Y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:I(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var $t=function re(t){function e(e){return t?new Y(e,t):new z(e,0)}return e.alpha=function(t){return re(+t)},e}(.5);V.prototype={areaStart:O,areaEnd:O,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},$.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:J(this,this._t0,X(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,t!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,J(this,X(this,n=W(this,t,e)),n);break;default:J(this,this._t0,n=W(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Z.prototype=Object.create($.prototype)).point=function(t,e){$.prototype.point.call(this,e,t)},G.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,o,a){this._context.bezierCurveTo(e,t,r,n,a,o)}},tt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=et(t),o=et(e),a=0,i=1;n>i;++a,++i)this._context.bezierCurveTo(r[0][a],o[0][a],r[1][a],o[1][a],t[i],e[i]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},rt.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=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:var n=t>this._x?this._t:1-this._t;if(0>=n)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else if(n>=1)this._context.lineTo(t,this._y),this._context.lineTo(t,e);else{var r=(this._x+t)*n;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var Zt=Array.prototype.slice;t.version=mt,t.arc=f,t.area=g,t.line=b,t.pie=x,t.radialArea=P,t.radialLine=M,t.symbol=w,t.symbols=Yt,t.symbolCircle=Mt,t.symbolCross=wt,t.symbolDiamond=jt,t.symbolSquare=Dt,t.symbolStar=Nt,t.symbolTriangle=Lt,t.symbolWye=Rt,t.curveBasisClosed=E,t.curveBasisOpen=N,t.curveBasis=S,t.curveBundle=Vt,t.curveCardinalClosed=Bt,t.curveCardinalOpen=Wt,t.curveCardinal=Ut,t.curveCatmullRomClosed=Jt,t.curveCatmullRomOpen=$t,t.curveCatmullRom=Xt,t.curveLinearClosed=U,t.curveLinear=h,t.curveMonotoneX=K,t.curveMonotoneY=Q,t.curveNatural=nt,t.curveStep=ot,t.curveStepAfter=it,t.curveStepBefore=at,t.stack=lt,t.stackOffsetExpand=ft,t.stackOffsetNone=ut,t.stackOffsetSilhouette=pt,t.stackOffsetWiggle=ht,t.stackOrderAscending=dt,t.stackOrderDescending=gt,t.stackOrderInsideOut=bt,t.stackOrderNone=st,t.stackOrderReverse=vt})},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(){this._x0=this._y0=this._x1=this._y1=null,this._=[]}function n(){return new e}var r=Math.PI,o=2*r,a=1e-6,i=o-a;e.prototype=n.prototype={constructor:e,moveTo:function(t,e){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._.push("Z"))},lineTo:function(t,e){this._.push("L",this._x1=+t,",",this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._.push("Q",+t,",",+e,",",this._x1=+n,",",this._y1=+r)},bezierCurveTo:function(t,e,n,r,o,a){this._.push("C",+t,",",+e,",",+n,",",+r,",",this._x1=+o,",",this._y1=+a)},arcTo:function(t,e,n,o,i){t=+t,e=+e,n=+n,o=+o,i=+i;var u=this._x1,s=this._y1,c=n-t,l=o-e,f=u-t,p=s-e,h=f*f+p*p;if(0>i)throw new Error("negative radius: "+i);if(null===this._x1)this._.push("M",this._x1=t,",",this._y1=e);else if(h>a)if(Math.abs(p*c-l*f)>a&&i){var d=n-u,y=o-s,g=c*c+l*l,b=d*d+y*y,v=Math.sqrt(g),m=Math.sqrt(h),x=i*Math.tan((r-Math.acos((g+h-b)/(2*v*m)))/2),_=x/m,T=x/v;Math.abs(_-1)>a&&this._.push("L",t+_*f,",",e+_*p),this._.push("A",i,",",i,",0,0,",+(p*d>f*y),",",this._x1=t+T*c,",",this._y1=e+T*l)}else this._.push("L",this._x1=t,",",this._y1=e);else;
  },arc:function(t,e,n,u,s,c){t=+t,e=+e,n=+n;var l=n*Math.cos(u),f=n*Math.sin(u),p=t+l,h=e+f,d=1^c,y=c?u-s:s-u;if(0>n)throw new Error("negative radius: "+n);null===this._x1?this._.push("M",p,",",h):(Math.abs(this._x1-p)>a||Math.abs(this._y1-h)>a)&&this._.push("L",p,",",h),n&&(y>i?this._.push("A",n,",",n,",0,1,",d,",",t-l,",",e-f,"A",n,",",n,",0,1,",d,",",this._x1=p,",",this._y1=h):(0>y&&(y=y%o+o),this._.push("A",n,",",n,",0,",+(y>=r),",",d,",",this._x1=t+n*Math.cos(s),",",this._y1=e+n*Math.sin(s))))},rect:function(t,e,n,r){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+e,"h",+n,"v",+r,"h",-n,"Z")},toString:function(){return this._.join("")}};var u="0.1.5";t.version=u,t.path=n})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(2),c=r(s),l=n(36),f=r(l),p=n(37),h=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"renderLabelComponent",value:function(t){var e=t.label,n=(0,c["default"])({},e.props.style,t.style,{padding:0}),r=p.Helpers.evaluateStyle(n,t.data),o=e&&e.props.events?(0,c["default"])({},e.props.events,t.events):t.events,a=p.Helpers.getPartialEvents(o,0,t),i={x:e.props.x||t.position.x+r.padding,y:e.props.y||t.position.y-r.padding,data:t.data,text:e.props.text,textAnchor:e.props.textAnchor||"start",verticalAnchor:e.props.verticalAnchor||"middle",style:r,events:a};return f["default"].cloneElement(e,i)}},{key:"renderVictoryLabel",value:function(t){var e=p.Helpers.evaluateStyle((0,c["default"])({},t.style),t.data,{padding:0}),n=p.Helpers.getPartialEvents(this.props.events,0,this.props);return f["default"].createElement(p.VictoryLabel,{x:t.position.x+e.padding,y:t.position.y-e.padding,data:t.data,textAnchor:"start",verticalAnchor:"middle",style:e,text:t.label,events:n})}},{key:"renderLabel",value:function(t){return t.label&&t.label.props?this.renderLabelComponent(t):this.renderVictoryLabel(t)}},{key:"render",value:function(){return f["default"].createElement("g",null,this.renderLabel(this.props))}}]),e}(f["default"].Component);h.propTypes={data:l.PropTypes.array,events:l.PropTypes.object,label:l.PropTypes.any,position:l.PropTypes.object,style:l.PropTypes.object},e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=n(170),f=r(l),p=n(237),h=r(p),d=n(168),y=r(d),g=n(36),b=r(g),v=n(209),m=r(v),x=n(208),_=r(x),T=n(197),P=r(T),M=n(37),w=n(253),O=r(w),k=n(254),j=r(k),S={data:{fill:"#756f6a",opacity:1},labels:{fontSize:12,padding:4,fill:"black"}},A=function(t){function e(){return a(this,e),i(this,Object.getPrototypeOf(e).apply(this,arguments))}return u(e,t),c(e,[{key:"componentWillMount",value:function(){this.state={dataState:{},labelsState:{}}}},{key:"getBaseline",value:function(t){var e=t.data,n=t.domain,r=Math.min.apply(Math,o(n.y))>0?Math.min.apply(Math,o(n.y)):0;return e.map(function(t){var e=t.yOffset||r;return(0,y["default"])({y0:e},t)})}},{key:"renderArea",value:function(t,e){var n=e.scale,r=e.style,o=t.interpolation,a=t.events,i=t.label,u=t.labelComponent,c=t.dataComponent,l=M.Helpers.getEvents.bind(this),f=l(a.data,"data"),p=this.getBaseline(e),d=(0,y["default"])({scale:n,interpolation:o,data:p,events:f,style:r.data},this.state.dataState[0]),g=b["default"].cloneElement(c,d);if(i){var v=(0,h["default"])(p),m={x:n.x.call(this,v.x),y:n.y.call(this,v.y+v.y0)};return b["default"].createElement("g",null,g,b["default"].createElement(j["default"],s({style:r.labels,data:p,events:l(a.labels,"labels"),position:m,labelText:i,labelComponent:u},this.state.labelsState[0])))}return g}},{key:"renderData",value:function(t,e){var n=m["default"].getData(t),r={x:M.Helpers.getRange(t,"x"),y:M.Helpers.getRange(t,"y")},o=M.Helpers.getPadding(t),a={x:_["default"].getDomainWithZero(t,"x"),y:_["default"].getDomainWithZero(t,"y")},i={x:P["default"].getBaseScale(t,"x").domain(a.x).range(r.x),y:P["default"].getBaseScale(t,"y").domain(a.y).range(r.y)},u={style:e,data:n,domain:a,scale:i,padding:o};return this.renderArea(t,u)}},{key:"render",value:function(){var t=this;if(this.props.animate){var n=(0,f["default"])(this.props,["data","domain","height","padding","style","width"]);return b["default"].createElement(M.VictoryAnimation,s({},this.props.animate,{data:n}),function(n){return b["default"].createElement(e,s({},t.props,n,{animate:null}))})}var r=M.Helpers.getStyles(this.props.style,S,this.props.height,this.props.width),o=b["default"].createElement("g",{style:r.parent},this.renderData(this.props,r));return this.props.standalone?b["default"].createElement("svg",s({style:r.parent},this.props.events.parent),o):o}}]),e}(b["default"].Component);A.role="area",A.propTypes={animate:g.PropTypes.object,categories:g.PropTypes.oneOfType([g.PropTypes.arrayOf(g.PropTypes.string),g.PropTypes.shape({x:g.PropTypes.arrayOf(g.PropTypes.string),y:g.PropTypes.arrayOf(g.PropTypes.string)})]),data:g.PropTypes.array,dataComponent:g.PropTypes.element,domain:g.PropTypes.oneOfType([M.PropTypes.domain,g.PropTypes.shape({x:M.PropTypes.domain,y:M.PropTypes.domain})]),events:g.PropTypes.shape({data:g.PropTypes.object,labels:g.PropTypes.object,parent:g.PropTypes.object}),height:M.PropTypes.nonNegative,interpolation:g.PropTypes.oneOf(["basis","basisClosed","basisOpen","bundle","cardinal","cardinalClosed","cardinalOpen","catmullRom","catmullRomClosed","catmullRomOpen","linear","linearClosed","monotoneX","monotoneY","natural","radial","step","stepAfter","stepBefore"]),label:g.PropTypes.string,labelComponent:g.PropTypes.element,padding:g.PropTypes.oneOfType([g.PropTypes.number,g.PropTypes.shape({top:g.PropTypes.number,bottom:g.PropTypes.number,left:g.PropTypes.number,right:g.PropTypes.number})]),samples:M.PropTypes.nonNegative,scale:g.PropTypes.oneOfType([M.PropTypes.scale,g.PropTypes.shape({x:M.PropTypes.scale,y:M.PropTypes.scale})]),standalone:g.PropTypes.bool,style:g.PropTypes.shape({parent:g.PropTypes.object,data:g.PropTypes.object,labels:g.PropTypes.object}),width:M.PropTypes.nonNegative,x:g.PropTypes.oneOfType([g.PropTypes.func,M.PropTypes.allOfType([M.PropTypes.integer,M.PropTypes.nonNegative]),g.PropTypes.string,g.PropTypes.arrayOf(g.PropTypes.string)]),y:g.PropTypes.oneOfType([g.PropTypes.func,M.PropTypes.allOfType([M.PropTypes.integer,M.PropTypes.nonNegative]),g.PropTypes.string,g.PropTypes.arrayOf(g.PropTypes.string),g.PropTypes.arrayOf(g.PropTypes.func)])},A.defaultProps={dataComponent:b["default"].createElement(O["default"],null),events:{},height:300,padding:50,scale:"linear",samples:50,standalone:!0,interpolation:"linear",width:450,x:"x",y:"y"},A.getDomain=_["default"].getDomainWithZero.bind(_["default"]),A.getData=m["default"].getData.bind(m["default"]),e["default"]=A},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(249),p=r(f),h=n(168),d=r(h),y=n(37),g=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"toNewName",value:function(t){var e=function(t){return t&&t[0].toUpperCase()+t.slice(1)};return"curve"+e(t)}},{key:"renderArea",value:function(t,e,n){var r=this.props.scale.x,o=this.props.scale.y,a=t.stroke?"none":t.fill,i=(0,d["default"])({},t,{stroke:a}),s=p["default"].area().curve(p["default"][this.toNewName(e)]).x(function(t){return r(t.x)}).y1(function(t){return o(t.y0+t.y)}).y0(function(t){return o(t.y0)}),c=s(this.props.data);return l["default"].createElement("path",u({style:i,d:c},n))}},{key:"renderLine",value:function(t,e,n){if(t.stroke&&"none"!==t.stroke&&"transparent"!==t.stroke){var r=(0,d["default"])({},t,{fill:"none"}),o=this.props.scale.x,a=this.props.scale.y,i=p["default"].line().curve(p["default"][this.toNewName(e)]).x(function(t){return o(t.x)}).y(function(t){return a(t.y0+t.y)}),s=i(this.props.data);return l["default"].createElement("path",u({style:r,d:s},n))}}},{key:"render",value:function(){var t=this.props,e=y.Helpers.evaluateStyle(t.style,t.data),n=y.Helpers.evaluateProp(t.interpolation,t.data),r=y.Helpers.getPartialEvents(t.events,0,t);return l["default"].createElement("g",null,this.renderArea(e,n,r),this.renderLine(e,n,r))}}]),e}(l["default"].Component);g.propTypes={data:c.PropTypes.array,interpolation:c.PropTypes.string,scale:c.PropTypes.object,style:c.PropTypes.object,events:c.PropTypes.object},e["default"]=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(2),c=r(s),l=n(36),f=r(l),p=n(37),h=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"renderLabelComponent",value:function(t){var e=t.labelComponent,n=(0,c["default"])({padding:0},e.props.style,t.style),r=p.Helpers.evaluateStyle(n,t.data),o=e.props.children||t.labelText||"",a=e&&e.props.events?(0,c["default"])({},e.props.events,t.events):t.events,i=p.Helpers.getPartialEvents(a,0,t),u={x:e.props.x||t.position.x+r.padding,y:e.props.y||t.position.y-r.padding,textAnchor:e.props.textAnchor||"start",verticalAnchor:e.props.verticalAnchor||"middle",style:r,events:i};return f["default"].cloneElement(e,u,o)}},{key:"renderVictoryLabel",value:function(t){var e=p.Helpers.evaluateStyle((0,c["default"])({},t.style),t.data,{padding:0}),n=p.Helpers.getPartialEvents(t.events,0,t);return f["default"].createElement(p.VictoryLabel,{x:t.position.x+e.padding,y:t.position.y-e.padding,data:t.data,textAnchor:"start",verticalAnchor:"middle",style:e,text:t.labelText,events:n})}},{key:"renderLabel",value:function(t){return t.labelComponent?this.renderLabelComponent(t):this.renderVictoryLabel(t)}},{key:"render",value:function(){return f["default"].createElement("g",null,this.renderLabel(this.props))}}]),e}(f["default"].Component);h.propTypes={data:l.PropTypes.array,labelComponent:l.PropTypes.any,labelText:l.PropTypes.string,position:l.PropTypes.object,style:l.PropTypes.object},e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(170),l=r(c),f=n(256),p=r(f),h=n(2),d=r(h),y=n(168),g=r(y),b=n(36),v=r(b),m=n(37),x=n(257),_=r(x),T=n(258),P=r(T),M=n(209),w=r(M),O=n(208),k=r(O),j=n(197),S=r(j),A={data:{width:8,padding:6,stroke:"transparent",strokeWidth:0,fill:"#756f6a",opacity:1},labels:{fontSize:12,padding:4,fill:"black"}},E=[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],C=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"componentWillMount",value:function(){this.state={dataState:{},labelsState:{}}}},{key:"getScale",value:function(t){var e={x:m.Helpers.getRange(t,"x"),y:m.Helpers.getRange(t,"y")},n={x:k["default"].getDomainWithZero(t,"x"),y:k["default"].getDomainWithZero(t,"y")};return{x:S["default"].getBaseScale(t,"x").domain(n.x).range(e.x),y:S["default"].getBaseScale(t,"y").domain(n.y).range(e.y)}}},{key:"getBarPosition",value:function(t,e){var n=e.yOffset||0,r=e.xOffset||0,o=n,a=e.y+n,i=e.x+r,u=function(t,n){return e[n]instanceof Date?new Date(t):t},s=this.getScale(t);return{x:s.x(u(i,"x")),y0:s.y(u(o,"y")),y1:s.y(u(a,"y"))}}},{key:"getBarStyle",value:function(t,e){var n=(0,p["default"])(t,["xName","yName","x","y","label"]);return(0,d["default"])({},n,e)}},{key:"getSharedProps",value:function(t,e,n){var r=t.horizontal,o=this.getBarPosition(t,e);return{index:n,horizontal:r,datum:e,position:o}}},{key:"renderData",value:function(t,e,n){var r=this;return e.map(function(e,o){var a=r.getSharedProps(t,e,o),i=m.Helpers.getEvents.bind(r),u=r.getBarStyle(e,n.data),s=i(t.events.data,"data"),c=(0,g["default"])({key:"bar-"+o,style:u,events:s},a,r.state.dataState[o]),l=v["default"].cloneElement(r.props.dataComponent,c);if(e.label||t.labels){var f=e.label||t.labels&&t.labels[o]||"",p=i(t.events.labels,"labels"),h=(0,g["default"])({key:"bar-label-"+o,style:n.labels,events:p,labelText:f,labelComponent:t.labelComponent},a,r.state.labelsState[o]);return v["default"].createElement("g",{key:"bar-"+o},l,v["default"].createElement(P["default"],h))}return l})}},{key:"render",value:function(){var t=this;if(this.props.animate){var n=["data","domain","height","padding","style","width"],r=(0,l["default"])(this.props,n);return v["default"].createElement(m.VictoryAnimation,u({},this.props.animate,{data:r}),function(n){return v["default"].createElement(e,u({},t.props,n,{animate:null}))})}var o=m.Helpers.getStyles(this.props.style,A,this.props.height,this.props.width),a=w["default"].getData(this.props),i=v["default"].createElement("g",{style:o.parent},this.renderData(this.props,a,o));return this.props.standalone?v["default"].createElement("svg",u({style:o.parent},this.props.events.parent),i):i}}]),e}(v["default"].Component);C.role="bar",C.propTypes={animate:b.PropTypes.object,categories:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.string),b.PropTypes.shape({x:b.PropTypes.arrayOf(b.PropTypes.string),y:b.PropTypes.arrayOf(b.PropTypes.string)})]),data:b.PropTypes.array,dataComponent:b.PropTypes.element,domain:b.PropTypes.oneOfType([m.PropTypes.domain,b.PropTypes.shape({x:m.PropTypes.domain,y:m.PropTypes.domain})]),events:b.PropTypes.shape({data:b.PropTypes.object,labels:b.PropTypes.object,parent:b.PropTypes.object}),height:m.PropTypes.nonNegative,horizontal:b.PropTypes.bool,labels:b.PropTypes.oneOfType([b.PropTypes.func,b.PropTypes.array]),labelComponent:b.PropTypes.element,padding:b.PropTypes.oneOfType([b.PropTypes.number,b.PropTypes.shape({top:b.PropTypes.number,bottom:b.PropTypes.number,left:b.PropTypes.number,right:b.PropTypes.number})]),scale:b.PropTypes.oneOfType([m.PropTypes.scale,b.PropTypes.shape({x:m.PropTypes.scale,y:m.PropTypes.scale})]),standalone:b.PropTypes.bool,style:b.PropTypes.shape({parent:b.PropTypes.object,data:b.PropTypes.object,labels:b.PropTypes.object}),width:m.PropTypes.nonNegative,x:b.PropTypes.oneOfType([b.PropTypes.func,m.PropTypes.allOfType([m.PropTypes.integer,m.PropTypes.nonNegative]),b.PropTypes.string,b.PropTypes.arrayOf(b.PropTypes.string)]),y:b.PropTypes.oneOfType([b.PropTypes.func,m.PropTypes.allOfType([m.PropTypes.integer,m.PropTypes.nonNegative]),b.PropTypes.string,b.PropTypes.arrayOf(b.PropTypes.string)])},C.defaultProps={data:E,dataComponent:v["default"].createElement(_["default"],null),events:{},height:300,padding:50,scale:"linear",standalone:!0,width:450,x:"x",y:"y"},C.getDomain=k["default"].getDomainWithZero.bind(k["default"]),C.getData=w["default"].getData.bind(w["default"]),e["default"]=C},function(t,e,n){var r=n(185),o=n(187),a=n(171),i=n(173),u=n(21),s=n(18),c=s(function(t,e){return null==t?{}:(e=r(a(e,1),String),i(t,o(u(t),e)))});t.exports=c},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(37),p=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"getVerticalBarPath",value:function(t,e){var n=t.x,r=t.y0,o=t.y1,a=e/2;return"M "+(n-a)+", "+r+"\n      L "+(n-a)+", "+o+"\n      L "+(n+a)+", "+o+"\n      L "+(n+a)+", "+r+"\n      L "+(n-a)+", "+r}},{key:"getHorizontalBarPath",value:function(t,e){var n=t.x,r=t.y0,o=t.y1,a=e/2;return"M "+r+", "+(n-a)+"\n      L "+r+", "+(n+a)+"\n      L "+o+", "+(n+a)+"\n      L "+o+", "+(n-a)+"\n      L "+r+", "+(n-a)}},{key:"getBarPath",value:function(t,e){return this.props.horizontal?this.getHorizontalBarPath(t,e):this.getVerticalBarPath(t,e)}},{key:"render",value:function(){var t=f.Helpers.evaluateStyle(this.props.style,this.props.datum),e=t.width||8,n="number"==typeof this.props.position.x?this.getBarPath(this.props.position,e):void 0,r=f.Helpers.getPartialEvents(this.props.events,this.props.index,this.props);return l["default"].createElement("path",u({},r,{d:n,style:t,shapeRendering:"optimizeSpeed"}))}}]),e}(l["default"].Component);p.propTypes={index:c.PropTypes.number,events:c.PropTypes.object,position:c.PropTypes.object,horizontal:c.PropTypes.bool,style:c.PropTypes.object,datum:c.PropTypes.object},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(2),c=r(s),l=n(36),f=r(l),p=n(37),h=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"getLabelAnchors",value:function(t){var e=t.datum.y>=0?1:-1;return t.horizontal?{vertical:"middle",text:e>=0?"start":"end"}:{vertical:e>=0?"end":"start",text:"middle"}}},{key:"getlabelPadding",value:function(t,e){return{x:t.horizontal?e.padding:0,y:t.horizontal?0:e.padding}}},{key:"renderLabelComponent",value:function(t,e,n){var r=t.labelComponent,o=(0,c["default"])({},r.props.style,t.style,{padding:0}),a=p.Helpers.evaluateStyle(o,t.datum),i=this.getlabelPadding(t,a),u=t.labelText||t.datum.label,s=[t.index.seriesIndex,t.index.barIndex],l=r&&r.props.events?(0,c["default"])({},r.props.events,t.events):t.events,h=p.Helpers.getPartialEvents(l,s,t),d={index:t.index,x:r.props.x||e.x+i.x,y:r.props.y||e.y-i.y,datum:t.datum,text:u,textAnchor:r.props.textAnchor||n.text,verticalAnchor:r.props.verticalAnchor||n.vertical,style:a,events:h};return f["default"].cloneElement(r,d)}},{key:"renderVictoryLabel",value:function(t,e,n){var r=(0,c["default"])({},t.style,{padding:0}),o=p.Helpers.evaluateStyle(r,t.datum),a=this.getlabelPadding(t,o),i=t.index,u=p.Helpers.getPartialEvents(t.events,i,t);return f["default"].createElement(p.VictoryLabel,{x:e.x+a.x,y:e.y-a.y,datum:t.datum,index:[t.index.seriesIndex,t.index.barIndex],textAnchor:n.text,verticalAnchor:n.vertical,style:o,text:t.labelText,events:u})}},{key:"renderLabel",value:function(t){var e=this.getLabelAnchors(t),n={x:t.horizontal?t.position.y1:t.position.x,y:t.horizontal?t.position.x:t.position.y1};return t.labelComponent?this.renderLabelComponent(t,n,e):this.renderVictoryLabel(t,n,e)}},{key:"render",value:function(){return f["default"].createElement("g",null,this.renderLabel(this.props))}}]),e}(f["default"].Component);h.propTypes={events:l.PropTypes.object,position:l.PropTypes.object,horizontal:l.PropTypes.bool,style:l.PropTypes.object,datum:l.PropTypes.object,index:l.PropTypes.number,labelText:l.PropTypes.string,labelComponent:l.PropTypes.any},e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(170),p=r(f),h=n(256),d=r(h),y=n(2),g=r(y),b=n(168),v=r(b),m=n(260),x=r(m),_=n(262),T=r(_),P=n(197),M=r(P),w=n(208),O=r(w),k=n(209),j=r(k),S=n(37),A=n(263),E=r(A),C={data:{fill:"#756f6a",opacity:1,stroke:"transparent",strokeWidth:0},labels:{stroke:"transparent",fill:"#756f6a",fontFamily:"Helvetica",fontSize:10,textAnchor:"middle",padding:5}},N=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"componentWillMount",value:function(){this.state={dataState:{},labelsState:{}}}},{key:"getDataStyles",value:function(t,e){var n=(0,d["default"])(t,["x","y","z","size","symbol","name","label"]),r=(0,g["default"])({},n,e);return S.Helpers.evaluateStyle(r,t)}},{key:"getSharedProps",value:function(t,e,n){var r=n.style,o={x:n.scale.x.call(null,t.x),y:n.scale.y.call(null,t.y)},a=E["default"].getSize(t,this.props,n),i=E["default"].getSymbol(t,this.props);return(0,v["default"])({},{index:e,datum:t,baseSize:a,symbol:i,style:r},o)}},{key:"addDataProps",value:function(t,e){var n=t.datum,r=t.style,o=t.index,a=t.baseSize,i=this.getDataStyles(n,r.data),u=S.Helpers.evaluateProp(a,n),s=e(this.props.events.data,"data");return(0,v["default"])({},t,{key:"point-"+o,style:i,events:s,size:u},this.state.dataState[o])}},{key:"addLabelProps",value:function(t,e,n){var r=t.datum,o=t.style,a=t.index,i=e.style,u=e.size,s=(0,p["default"])(i,["opacity","fill"]),c=o.labels.padding||.25*u,l=(0,g["default"])({},o.labels,s,{padding:c}),f=S.Helpers.evaluateStyle(l,r),h=n(this.props.events.labels,"labels");return(0,v["default"])({},t,{style:f,labelComponent:this.props.labelComponent,events:h},this.state.labelsState[a])}},{key:"renderPoint",value:function(t,e,n){var r=S.Helpers.getEvents.bind(this),o=this.getSharedProps(t,e,n),a=this.addDataProps(o,r),i=l["default"].cloneElement(this.props.dataComponent,a);if(t.label){var u=this.addLabelProps(o,a,r);return l["default"].createElement("g",{key:"point-group-"+e},i,l["default"].createElement(T["default"],u))}return i}},{key:"renderData",value:function(t,e){var n=this,r=j["default"].getData(t),o={x:S.Helpers.getRange(t,"x"),y:S.Helpers.getRange(t,"y")},a={x:O["default"].getDomain(t,"x"),y:O["default"].getDomain(t,"y")},i={x:M["default"].getBaseScale(t,"x").domain(a.x).range(o.x),y:M["default"].getBaseScale(t,"y").domain(a.y).range(o.y)},u=t.bubbleProperty||"z",s={data:r,scale:i,style:e,z:u};return r.map(function(t,e){return n.renderPoint(t,e,s)})}},{key:"render",value:function(){var t=this;if(this.props.animate){var n=(0,p["default"])(this.props,["data","domain","height","maxBubbleSize","padding","samples","size","style","width","x","y"]);return l["default"].createElement(S.VictoryAnimation,u({},this.props.animate,{data:n}),function(n){return l["default"].createElement(e,u({},t.props,n,{animate:null}))})}var r=S.Helpers.getStyles(this.props.style,C,this.props.height,this.props.width),o=l["default"].createElement("g",{style:r.parent},this.renderData(this.props,r));return this.props.standalone?l["default"].createElement("svg",u({style:r.parent},this.props.events.parent),o):o}}]),e}(l["default"].Component);N.role="scatter",N.defaultTransitions={onExit:{duration:600,before:function(t){return{opacity:"opacity"in t?t.opacity:1}},after:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return{opacity:"opacity"in t?t.opacity:1}}}},N.propTypes={animate:c.PropTypes.object,categories:c.PropTypes.oneOfType([c.PropTypes.arrayOf(c.PropTypes.string),c.PropTypes.shape({x:c.PropTypes.arrayOf(c.PropTypes.string),y:c.PropTypes.arrayOf(c.PropTypes.string)})]),bubbleProperty:c.PropTypes.string,data:c.PropTypes.array,domain:c.PropTypes.oneOfType([S.PropTypes.domain,c.PropTypes.shape({x:S.PropTypes.domain,y:S.PropTypes.domain})]),events:c.PropTypes.shape({data:c.PropTypes.object,labels:c.PropTypes.object,parent:c.PropTypes.object}),height:S.PropTypes.nonNegative,labelComponent:c.PropTypes.element,maxBubbleSize:S.PropTypes.nonNegative,padding:c.PropTypes.oneOfType([c.PropTypes.number,c.PropTypes.shape({top:c.PropTypes.number,bottom:c.PropTypes.number,left:c.PropTypes.number,right:c.PropTypes.number})]),dataComponent:c.PropTypes.element,samples:S.PropTypes.nonNegative,scale:c.PropTypes.oneOfType([S.PropTypes.scale,c.PropTypes.shape({x:S.PropTypes.scale,y:S.PropTypes.scale})]),size:c.PropTypes.oneOfType([S.PropTypes.nonNegative,c.PropTypes.func]),standalone:c.PropTypes.bool,style:c.PropTypes.shape({parent:c.PropTypes.object,data:c.PropTypes.object,labels:c.PropTypes.object}),symbol:c.PropTypes.oneOfType([c.PropTypes.oneOf(["circle","diamond","plus","square","star","triangleDown","triangleUp"]),c.PropTypes.func]),width:S.PropTypes.nonNegative,x:c.PropTypes.oneOfType([c.PropTypes.func,S.PropTypes.allOfType([S.PropTypes.integer,S.PropTypes.nonNegative]),c.PropTypes.string,c.PropTypes.arrayOf(c.PropTypes.string)]),y:c.PropTypes.oneOfType([c.PropTypes.func,S.PropTypes.allOfType([S.PropTypes.integer,S.PropTypes.nonNegative]),c.PropTypes.string,c.PropTypes.arrayOf(c.PropTypes.string)])},N.defaultProps={events:{},height:300,padding:50,samples:50,scale:"linear",size:3,standalone:!0,symbol:"circle",width:450,x:"x",y:"y",dataComponent:l["default"].createElement(x["default"],null)},N.getDomain=O["default"].getDomain.bind(O["default"]),N.getData=j["default"].getData.bind(j["default"]),e["default"]=N},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,
  writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(36),l=r(c),f=n(37),p=n(261),h=r(p),d=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),s(e,[{key:"getPath",value:function(t){var e={circle:h["default"].circle,square:h["default"].square,diamond:h["default"].diamond,triangleDown:h["default"].triangleDown,triangleUp:h["default"].triangleUp,plus:h["default"].plus,star:h["default"].star},n=f.Helpers.evaluateProp(t.symbol,t.datum);return e[n].call(null,t.x,t.y,t.size)}},{key:"render",value:function(){var t=f.Helpers.getPartialEvents(this.props.events,this.props.index,this.props);return l["default"].createElement("path",u({},t,{style:this.props.style,d:this.getPath(this.props),shapeRendering:"optimizeSpeed"}))}}]),e}(l["default"].Component);d.propTypes={index:l["default"].PropTypes.number,datum:c.PropTypes.object,events:c.PropTypes.object,symbol:c.PropTypes.oneOfType([c.PropTypes.oneOf(["circle","diamond","plus","square","star","triangleDown","triangleUp"]),c.PropTypes.func]),size:c.PropTypes.oneOfType([c.PropTypes.number,c.PropTypes.func]),style:c.PropTypes.object,x:l["default"].PropTypes.number,y:l["default"].PropTypes.number},e["default"]=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(194),a=r(o);e["default"]={circle:function(t,e,n){return"M "+t+", "+e+" m "+-n+", 0\n      a "+n+", "+n+" 0 1,0 "+2*n+",0\n      a "+n+", "+n+" 0 1,0 "+2*-n+",0"},square:function(t,e,n){var r=.87*n;return"M "+(t-r)+", "+(e+r)+"\n      L "+(t+r)+", "+(e+r)+"\n      L "+(t+r)+", "+(e-r)+"\n      L "+(t-r)+", "+(e-r)+"\n      z"},diamond:function(t,e,n){var r=.87*n,o=Math.sqrt(2*(r*r));return"M "+t+", "+(e+o)+"\n      L "+(t+o)+", "+e+"\n      L "+t+", "+(e-o)+"\n      L "+(t-o)+", "+e+"\n      z"},triangleDown:function(t,e,n){var r=n/2*Math.sqrt(3);return"M "+(t-n)+", "+(e-n)+"\n      L "+(t+n)+", "+(e-n)+"\n      L "+t+", "+(e+r)+"\n      z"},triangleUp:function(t,e,n){var r=n/2*Math.sqrt(3);return"M "+(t-n)+", "+(e+n)+"\n      L "+(t+n)+", "+(e+n)+"\n      L "+t+", "+(e-r)+"\n      z"},plus:function(t,e,n){var r=1.1*n;return"M "+(t-r/2.5)+", "+(e+r)+"\n      L "+(t+r/2.5)+", "+(e+r)+"\n      L "+(t+r/2.5)+", "+(e+r/2.5)+"\n      L "+(t+r)+", "+(e+r/2.5)+"\n      L "+(t+r)+", "+(e-r/2.5)+"\n      L "+(t+r/2.5)+", "+(e-r/2.5)+"\n      L "+(t+r/2.5)+", "+(e-r)+"\n      L "+(t-r/2.5)+", "+(e-r)+"\n      L "+(t-r/2.5)+", "+(e-r/2.5)+"\n      L "+(t-r)+", "+(e-r/2.5)+"\n      L "+(t-r)+", "+(e+r/2.5)+"\n      L "+(t-r/2.5)+", "+(e+r/2.5)+"\n      z"},star:function(t,e,n){var r=1.35*n,o=Math.PI/5,i=(0,a["default"])(10).map(function(n){var a=n%2===0?r:r/2;return a*Math.sin(o*(n+1))+t+",\n        "+(a*Math.cos(o*(n+1))+e)});return"M "+i.join("L")+" z"}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(2),c=r(s),l=n(36),f=r(l),p=n(37),h=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"renderLabel",value:function(t){if(t.showLabels!==!1&&t.datum.label){var e=t.labelComponent,n=e&&e.props.style||{},r=(0,c["default"])({},n,t.style),o=p.Helpers.evaluateStyle(r,t.datum),a=e&&e.props.text||t.datum.label,i=e&&e.props.events?(0,c["default"])({},e.props.events,t.events):t.events,u=p.Helpers.getPartialEvents(i,t.index,t),s={x:e&&e.props.x||t.x,y:e&&e.props.y||t.y-o.padding,dy:e&&e.props.dy,datum:t.datum,text:a,textAnchor:e&&e.props.textAnchor||o.textAnchor,verticalAnchor:e&&e.props.verticalAnchor||"end",style:o,events:u};return e?f["default"].cloneElement(e,s):f["default"].createElement(p.VictoryLabel,s)}}},{key:"render",value:function(){return f["default"].createElement("g",null,this.renderLabel(this.props))}}]),e}(f["default"].Component);h.propTypes={datum:l.PropTypes.object,index:f["default"].PropTypes.number,events:l.PropTypes.object,labelComponent:f["default"].PropTypes.element,style:l.PropTypes.object,x:f["default"].PropTypes.number,y:f["default"].PropTypes.number},e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(183),i=r(a),u=n(37);e["default"]={getSymbol:function(t,e){return e.bubbleProperty?"circle":t.symbol||e.symbol},getBubbleSize:function(t,e,n){var r=n.data,a=n.z,s=function(){var t=Math.min.apply(Math,o((0,i["default"])(u.Helpers.getPadding(e))));return Math.max(t,5)},c=r.map(function(t){return t.z}),l=Math.min.apply(Math,o(c)),f=Math.max.apply(Math,o(c)),p=e.maxBubbleSize||s(),h=Math.PI*Math.pow(p,2),d=(t[a]-l)/(f-l)*h,y=Math.sqrt(d/Math.PI);return Math.max(y,1)},getSize:function(t,e,n){return t.size?"function"==typeof t.size?t.size:Math.max(t.size,1):"function"==typeof e.size?e.size:t[n.z]?this.getBubbleSize(t,e,n):Math.max(e.size,1)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(168),l=r(c),f=n(210),p=r(f),h=n(36),d=r(h),y=n(37),g=n(197),b=r(g),v=n(209),m=r(v),x=n(246),_=r(x),T={data:{width:8,padding:6}},P=function(t){function e(){return a(this,e),i(this,Object.getPrototypeOf(e).apply(this,arguments))}return u(e,t),s(e,[{key:"getCalculatedProps",value:function(t,e,n){var r=t.horizontal||t.children.every(function(t){return t.props.horizontal}),o=e.map(function(t){var e=t.type.getData||m["default"].getData;return e(t.props)}),a={x:_["default"].getDomainFromChildren(t,"x",o),y:_["default"].getDomainFromChildren(t,"y",o)},i={x:y.Helpers.getRange(t,"x"),y:y.Helpers.getRange(t,"y")},u={x:b["default"].getScaleFromProps(t,"x")||"linear",y:b["default"].getScaleFromProps(t,"y")||"linear"},s={x:u.x.domain(a.x).range(i.x),y:u.y.domain(a.y).range(i.y)},c={x:_["default"].getCategories(t,"x"),y:_["default"].getCategories(t,"y")},l=t.colorScale;return{datasets:o,categories:c,range:i,domain:a,horizontal:r,scale:s,style:n,colorScale:l}}},{key:"pixelsToValue",value:function(t,e,n){if(0===t)return 0;var r=n.domain[e],a=n.range[e],i=Math.max.apply(Math,o(r))-Math.min.apply(Math,o(r)),u=Math.max.apply(Math,o(a))-Math.min.apply(Math,o(a));return i/u*t}},{key:"getXO",value:function(t,e,n){var r=(t.length-1)/2,o=this.pixelsToValue(this.props.offset,"x",n);return(e-r)*o}},{key:"getLabels",value:function(t,e,n){return e.labels?Math.floor(n.length/2)===t?e.labels:[]:void 0}},{key:"getChildProps",value:function(t,e){var n=e.categories,r=e.domain,o=e.scale,a=e.horizontal;return{height:t.height,width:t.width,padding:y.Helpers.getPadding(t),labelComponent:t.labelComponent,standalone:!1,categories:n,domain:r,scale:o,horizontal:a}}},{key:"getColorScale",value:function(t,e){var n=e.type&&e.type.role;if("group-wrapper"===n||"stack-wrapper"===n)return e.props.colorScale||t.colorScale}},{key:"getNewChildren",value:function(t,e,n){var r=this,o=n.datasets,a=this.getChildProps(t,n);return e.map(function(e,i){var u=r.getXO(o,i,n),s=o[i].map(function(t){return(0,l["default"])(t,{xOffset:u})}),c=_["default"].getChildStyle(e,i,n);return d["default"].cloneElement(e,(0,l["default"])({animate:e.props.animate||t.animate,key:i,labels:r.getLabels(i,t,o)||e.props.labels,labelComponent:t.labelComponent||e.props.labelComponent,style:c,data:s,xOffset:"stack-wrapper"===e.type.role?u:void 0,colorScale:r.getColorScale(t,e)},a))})}},{key:"render",value:function(){var t=y.Helpers.getStyles(this.props.style,T,this.props.height,this.props.width),e=d["default"].Children.toArray(this.props.children),n=(0,p["default"])(e.map(function(t){return t.type.role}));n.length>1&&y.Log.warn("Only components of the same type can be grouped");var r=this.getCalculatedProps(this.props,e,t),o=d["default"].createElement("g",{style:t.parent},this.getNewChildren(this.props,e,r));return this.props.standalone?d["default"].createElement("svg",{style:t.parent},o):o}}]),e}(d["default"].Component);P.role="group-wrapper",P.propTypes={animate:h.PropTypes.object,categories:h.PropTypes.oneOfType([h.PropTypes.arrayOf(h.PropTypes.string),h.PropTypes.shape({x:h.PropTypes.arrayOf(h.PropTypes.string),y:h.PropTypes.arrayOf(h.PropTypes.string)})]),children:d["default"].PropTypes.oneOfType([d["default"].PropTypes.arrayOf(d["default"].PropTypes.node),d["default"].PropTypes.node]),colorScale:h.PropTypes.oneOfType([h.PropTypes.arrayOf(h.PropTypes.string),h.PropTypes.oneOf(["greyscale","qualitative","heatmap","warm","cool","red","green","blue"])]),domain:h.PropTypes.oneOfType([y.PropTypes.domain,h.PropTypes.shape({x:y.PropTypes.domain,y:y.PropTypes.domain})]),domainPadding:h.PropTypes.oneOfType([h.PropTypes.shape({x:y.PropTypes.nonNegative,y:y.PropTypes.nonNegative}),y.PropTypes.nonNegative]),height:y.PropTypes.nonNegative,horizontal:h.PropTypes.bool,labels:h.PropTypes.oneOfType([h.PropTypes.func,h.PropTypes.array]),labelComponent:h.PropTypes.element,offset:h.PropTypes.number,padding:h.PropTypes.oneOfType([h.PropTypes.number,h.PropTypes.shape({top:h.PropTypes.number,bottom:h.PropTypes.number,left:h.PropTypes.number,right:h.PropTypes.number})]),scale:h.PropTypes.oneOfType([y.PropTypes.scale,h.PropTypes.shape({x:y.PropTypes.scale,y:y.PropTypes.scale})]),standalone:h.PropTypes.bool,style:h.PropTypes.shape({parent:h.PropTypes.object,data:h.PropTypes.object,labels:h.PropTypes.object}),width:y.PropTypes.nonNegative},P.defaultProps={scale:"linear",offset:0,height:300,width:450,padding:50,standalone:!0},P.getDomain=_["default"].getDomainFromChildren.bind(_["default"]),P.getData=_["default"].getData.bind(_["default"]),e["default"]=P},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(168),c=r(s),l=n(210),f=r(l),p=n(36),h=r(p),d=n(37),y=n(197),g=r(y),b=n(209),v=r(b),m=n(246),x=r(m),_={data:{width:8,padding:6}},T=function(t){function e(){return o(this,e),a(this,Object.getPrototypeOf(e).apply(this,arguments))}return i(e,t),u(e,[{key:"getCalculatedProps",value:function(t,e,n){var r=t.horizontal||t.children.every(function(t){return t.props.horizontal}),o=e.map(function(t){return t.type.getData(t.props)||v["default"].getData(t.props)}),a={x:x["default"].getStackedDomain(t,"x",o),y:x["default"].getStackedDomain(t,"y",o)},i={x:d.Helpers.getRange(t,"x"),y:d.Helpers.getRange(t,"y")},u={x:g["default"].getScaleFromProps(t,"x")||"linear",y:g["default"].getScaleFromProps(t,"y")||"linear"},s={x:u.x.domain(a.x).range(i.x),y:u.y.domain(a.y).range(i.y)},c={x:x["default"].getCategories(t,"x"),y:x["default"].getCategories(t,"y")},l=t.colorScale;return{datasets:o,categories:c,range:i,domain:a,horizontal:r,scale:s,style:n,colorScale:l}}},{key:"addLayoutData",value:function(t,e,n){var r=this;return t[e].map(function(t){return(0,c["default"])(t,{yOffset:x["default"].getY0(t,e,n),xOffset:r.props.xOffset})})}},{key:"getLabels",value:function(t,e,n){return e.labels?n.length===t+1?e.labels:[]:void 0}},{key:"getChildProps",value:function(t,e){var n=e.categories,r=e.domain,o=e.scale,a=e.horizontal;return{height:t.height,width:t.width,padding:d.Helpers.getPadding(t),standalone:!1,categories:n,domain:r,scale:o,horizontal:a}}},{key:"getNewChildren",value:function(t,e,n){var r=this,o=n.datasets,a=this.getChildProps(t,n);return e.map(function(e,i){var u=r.addLayoutData(o,i,n),s=x["default"].getChildStyle(e,i,n);return h["default"].cloneElement(e,(0,c["default"])({animate:e.props.animate||t.animate,key:i,labels:r.getLabels(i,t,o)||e.props.labels,labelComponent:t.labelComponent||e.props.labelComponent,style:s,data:u},a))})}},{key:"render",value:function(){var t=d.Helpers.getStyles(this.props.style,_,this.props.height,this.props.width),e=h["default"].Children.toArray(this.props.children),n=(0,f["default"])(e.map(function(t){return t.type.role}));n.length>1&&d.Log.warn("Only components of the same type can be stacked"),n.some(function(t){return"group-wrapper"===t})&&d.Log.warn("It is not possible to stack groups.");var r=this.getCalculatedProps(this.props,e,t),o=h["default"].createElement("g",{style:t.parent},this.getNewChildren(this.props,e,r));return this.props.standalone?h["default"].createElement("svg",{style:t.parent},o):o}}]),e}(h["default"].Component);T.role="stack-wrapper",T.propTypes={animate:p.PropTypes.object,categories:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.string),p.PropTypes.shape({x:p.PropTypes.arrayOf(p.PropTypes.string),y:p.PropTypes.arrayOf(p.PropTypes.string)})]),children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),colorScale:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.string),p.PropTypes.oneOf(["greyscale","qualitative","heatmap","warm","cool","red","green","blue"])]),domain:p.PropTypes.oneOfType([d.PropTypes.domain,p.PropTypes.shape({x:d.PropTypes.domain,y:d.PropTypes.domain})]),domainPadding:p.PropTypes.oneOfType([p.PropTypes.shape({x:d.PropTypes.nonNegative,y:d.PropTypes.nonNegative}),d.PropTypes.nonNegative]),height:d.PropTypes.nonNegative,horizontal:p.PropTypes.bool,labels:p.PropTypes.oneOfType([p.PropTypes.func,p.PropTypes.array]),labelComponent:p.PropTypes.element,padding:p.PropTypes.oneOfType([p.PropTypes.number,p.PropTypes.shape({top:p.PropTypes.number,bottom:p.PropTypes.number,left:p.PropTypes.number,right:p.PropTypes.number})]),scale:p.PropTypes.oneOfType([d.PropTypes.scale,p.PropTypes.shape({x:d.PropTypes.scale,y:d.PropTypes.scale})]),standalone:p.PropTypes.bool,style:p.PropTypes.shape({parent:p.PropTypes.object,data:p.PropTypes.object,labels:p.PropTypes.object}),width:d.PropTypes.nonNegative,xOffset:p.PropTypes.number},T.defaultProps={scale:"linear",height:300,width:450,padding:50,standalone:!0},T.getDomain=x["default"].getStackedDomain.bind(x["default"]),T.getData=x["default"].getData.bind(x["default"]),e["default"]=T}]))});
  //# sourceMappingURL=victory-chart.min.js.map