text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryAxis=t(require("react")):e.VictoryAxis=t(e.React)}(window,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=150)}([function(e,t,n){e.exports=n(86)()},function(e,t,n){var r=n(36),a=n(83),i=n(84),o=n(25),u=n(53),c=n(5),f=Object.prototype.hasOwnProperty,l=i((function(e,t){if(u(t)||o(t))a(t,c(t),e);else for(var n in t)f.call(t,n)&&r(e,n,t[n])}));e.exports=l},function(t,n){t.exports=e},function(e,t,n){var r=n(37),a=n(27),i=n(38),o=n(133),u=Object.prototype,c=u.hasOwnProperty,f=r((function(e,t){e=Object(e);var n=-1,r=t.length,f=r>2?t[2]:void 0;for(f&&i(t[0],t[1],f)&&(r=1);++n<r;)for(var l=t[n],s=o(l),d=-1,p=s.length;++d<p;){var h=s[d],g=e[h];(void 0===g||a(g,u[h])&&!c.call(e,h))&&(e[h]=l[h])}return e}));e.exports=f},function(e,t,n){var r=n(26),a=n(8);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r=n(24)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(80),a=n(50),i=n(35),o=n(11),u=n(25),c=n(52),f=n(53),l=n(54),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(f(e))return!r(e).length;for(var n in e)if(s.call(e,n))return!1;return!0}},function(e,t,n){var r=n(26),a=n(137),i=n(19),o=Function.prototype,u=Object.prototype,c=o.toString,f=u.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(40);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(88),a=n(37),i=n(89),o=a((function(e,t){return i(e)?r(e,t):[]}));e.exports=o},function(e,t,n){"use strict";var r=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var u,c,f,l=r(t),s=r(n);if(l&&s){if((c=t.length)!=n.length)return!1;for(u=c;0!=u--;)if(!e(t[u],n[u]))return!1;return!0}if(l!=s)return!1;var d=t instanceof Date,p=n instanceof Date;if(d!=p)return!1;if(d&&p)return t.getTime()==n.getTime();var h=t instanceof RegExp,g=n instanceof RegExp;if(h!=g)return!1;if(h&&g)return t.toString()==n.toString();var y=a(t);if((c=y.length)!==a(n).length)return!1;for(u=c;0!=u--;)if(!i.call(n,y[u]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(u=c;0!=u--;)if(!("_owner"===(f=y[u])&&t.$$typeof||e(t[f],n[f])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){var r=n(141),a=n(143)((function(e,t){return null==e?{}:r(e,t)}));e.exports=a},function(e,t,n){var r=n(91),a=n(11);e.exports=function(e,t,n,i){return null==e?[]:(a(t)||(t=null==t?[]:[t]),a(n=i?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},function(e,t,n){var r=n(124);e.exports=function(e){return e&&e.length?r(e):[]}},,function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(20);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(115),a=n(116),i=n(44),o=n(21);e.exports=function(e){return i(e)?r(o(e)):a(e)}},,function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(4),a=n(51);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){var r=n(92),a=n(106),i=n(9),o=n(11),u=n(22);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?o(e)?a(e[0],e[1]):r(e):u(e)}},function(e,t,n){var r=n(27);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(11),a=n(44),i=n(108),o=n(63);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:i(o(e))}},function(e,t,n){var r=n(121)();e.exports=r},function(e,t,n){var r=n(138);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){var r=n(18),a=n(29),i=n(70),o=n(149);e.exports=function(e,t){if(null==e)return{};var n=r(o(e),(function(e){return[e]}));return t=a(t),i(e,n,(function(e,n){return t(e,n[0])}))}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(55),a=n(27),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];i.call(e,t)&&a(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(9),a=n(56),i=n(57);e.exports=function(e,t){return i(a(e,t,r),e+"")}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(11);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(40);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t,n){var r=n(99),a=n(19);e.exports=function e(t,n,i,o,u){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,u))}},function(e,t,n){var r=n(31),a=n(21);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[a(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(11),a=n(20),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(90),a=n(5);e.exports=function(e){return null==e?[]:r(e,a(e))}},function(e,t,n){var r=n(127),a=n(128),i=n(9),o=Object.prototype.toString,u=a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=o.call(t)),e[t]=n}),r(i));e.exports=u},function(e,t,n){var r=n(134),a=n(28),i=n(69),o=i&&i.isDate,u=o?a(o):r;e.exports=u},function(e,t){e.exports=function(e){return null==e}},,function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(){return!1}},function(e,t){e.exports=function(){return!1}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(81);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(85),a=Math.max;e.exports=function(e,t,n){return t=a(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,u=a(i.length-t,0),c=Array(u);++o<u;)c[o]=i[t+o];o=-1;for(var f=Array(t+1);++o<t;)f[o]=i[o];return f[t]=n(c),r(e,this,f)}}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(40);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(94),a=n(95),i=n(96),o=n(97),u=n(98);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=o,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(8);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(110);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(111).Symbol;e.exports=r},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(112))},function(e,t,n){var r=n(113),a=n(114);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(123);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){(function(e){var r=n(65),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,u=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=u}).call(this,n(135)(e))},function(e,t,n){var r=n(43),a=n(142),i=n(31);e.exports=function(e,t,n){for(var o=-1,u=t.length,c={};++o<u;){var f=t[o],l=r(e,f);n(l,f)&&a(c,i(f,e),l)}return c}},function(e,t,n){var r=n(136);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){var r=n(42);e.exports=function(e,t){return r(e,t)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(144),a=n(28),i=n(69),o=i&&i.isRegExp,u=o?a(o):r;e.exports=u},function(e,t,n){var r=n(145)(n(146));e.exports=r},function(e,t,n){var r=n(63),a=0;e.exports=function(e){var t=++a;return r(e)+t}},,,,function(e,t,n){var r=n(24)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(82),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(36),a=n(55);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var f=t[u],l=i?i(n[f],e[f],f,n,e):void 0;void 0===l&&(l=e[f]),o?a(n,f,l):r(n,f,l)}return n}},function(e,t,n){var r=n(37),a=n(38);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,u&&a(n[0],n[1],u)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,o)}return t}))}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){"use strict";var r=n(87);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(39),a=n(58),i=n(59),o=n(18),u=n(28),c=n(41);e.exports=function(e,t,n,f){var l=-1,s=a,d=!0,p=e.length,h=[],g=t.length;if(!p)return h;n&&(t=o(t,u(n))),f?(s=i,d=!1):t.length>=200&&(s=c,d=!1,t=new r(t));e:for(;++l<p;){var y=e[l],v=null==n?y:n(y);if(y=f||0!==y?y:0,d&&v==v){for(var b=g;b--;)if(t[b]===v)continue e;h.push(y)}else s(t,v,f)||h.push(y)}return h}},function(e,t,n){var r=n(25),a=n(19);e.exports=function(e){return a(e)&&r(e)}},function(e,t,n){var r=n(18);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(18),a=n(29),i=n(117),o=n(118),u=n(28),c=n(119),f=n(9);e.exports=function(e,t,n){var l=-1;t=r(t.length?t:[f],u(a));var s=i(e,(function(e,n,a){return{criteria:r(t,(function(t){return t(e)})),index:++l,value:e}}));return o(s,(function(e,t){return c(e,t,n)}))}},function(e,t,n){var r=n(93),a=n(105),i=n(62);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(60),a=n(42);e.exports=function(e,t,n,i){var o=n.length,u=o,c=!i;if(null==e)return!u;for(e=Object(e);o--;){var f=n[o];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++o<u;){var l=(f=n[o])[0],s=e[l],d=f[1];if(c&&f[2]){if(void 0===s&&!(l in e))return!1}else{var p=new r;if(i)var h=i(s,d,l,e,t,p);if(!(void 0===h?a(d,s,3,i,p):h))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(30),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(30);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(30);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(30);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(60),a=n(100),i=n(102),o=n(103),u=n(50),c=n(11),f=n(52),l=n(54),s="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,h,g){var y=c(e),v=c(t),b=y?"[object Array]":u(e),m=v?"[object Array]":u(t),x=(b="[object Arguments]"==b?s:b)==s,w=(m="[object Arguments]"==m?s:m)==s,O=b==m;if(O&&f(e)){if(!f(t))return!1;y=!0,x=!1}if(O&&!x)return g||(g=new r),y||l(e)?a(e,t,n,p,h,g):i(e,t,b,n,p,h,g);if(!(1&n)){var A=x&&d.call(e,"__wrapped__"),M=w&&d.call(t,"__wrapped__");if(A||M){var k=A?e.value():e,E=M?t.value():t;return g||(g=new r),h(k,E,n,p,g)}}return!!O&&(g||(g=new r),o(e,t,n,p,h,g))}},function(e,t,n){var r=n(39),a=n(101),i=n(41);e.exports=function(e,t,n,o,u,c){var f=1&n,l=e.length,s=t.length;if(l!=s&&!(f&&s>l))return!1;var d=c.get(e);if(d&&c.get(t))return d==t;var p=-1,h=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++p<l;){var y=e[p],v=t[p];if(o)var b=f?o(v,y,p,t,e,c):o(y,v,p,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(g){if(!a(t,(function(e,t){if(!i(g,t)&&(y===e||u(y,e,n,o,c)))return g.push(t)}))){h=!1;break}}else if(y!==v&&!u(y,v,n,o,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(104),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,u){var c=1&n,f=r(e),l=f.length;if(l!=r(t).length&&!c)return!1;for(var s=l;s--;){var d=f[s];if(!(c?d in t:a.call(t,d)))return!1}var p=u.get(e);if(p&&u.get(t))return p==t;var h=!0;u.set(e,t),u.set(t,e);for(var g=c;++s<l;){var y=e[d=f[s]],v=t[d];if(i)var b=c?i(v,y,d,t,e,u):i(y,v,d,e,t,u);if(!(void 0===b?y===v||o(y,v,n,i,u):b)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var m=e.constructor,x=t.constructor;m==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x||(h=!1)}return u.delete(e),u.delete(t),h}},function(e,t,n){var r=n(24)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(61),a=n(5);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,r(o)]}return t}},function(e,t,n){var r=n(42),a=n(107),i=n(66),o=n(44),u=n(61),c=n(62),f=n(21);e.exports=function(e,t){return o(e)&&u(t)?c(f(e),t):function(n){var o=a(n,e);return void 0===o&&o===t?i(n,e):r(t,o,3)}}},function(e,t,n){var r=n(43);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){var r=n(109),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(i,"$1"):n||e)})),t}));e.exports=o},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(64),a=n(18),i=n(11),o=n(20),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return a(t,e)+"";if(o(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(65),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(31),a=n(35),i=n(11),o=n(67),u=n(51),c=n(21);e.exports=function(e,t,n){for(var f=-1,l=(t=r(t,e)).length,s=!1;++f<l;){var d=c(t[f]);if(!(s=null!=e&&n(e,d)))break;e=e[d]}return s||++f!=l?s:!!(l=null==e?0:e.length)&&u(l)&&o(d,l)&&(i(e)||a(e))}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(43);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},function(e,t,n){var r=n(120);e.exports=function(e,t,n){for(var a=-1,i=e.criteria,o=t.criteria,u=i.length,c=n.length;++a<u;){var f=r(i[a],o[a]);if(f)return a>=c?f:f*("desc"==n[a]?-1:1)}return e.index-t.index}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e!==t){var n=void 0!==e,a=null===e,i=e==e,o=r(e),u=void 0!==t,c=null===t,f=t==t,l=r(t);if(!c&&!l&&!o&&e>t||o&&u&&f&&!c&&!l||a&&u&&f||!n&&f||!i)return 1;if(!a&&!o&&!l&&e<t||l&&n&&i&&!a&&!o||c&&n&&i||!u&&i||!f)return-1}return 0}},function(e,t,n){var r=n(122),a=n(38),i=n(68);e.exports=function(e){return function(t,n,o){return o&&"number"!=typeof o&&a(t,n,o)&&(n=o=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),o=void 0===o?t<n?1:-1:i(o),r(t,n,o,e)}}},function(e,t){var n=Math.ceil,r=Math.max;e.exports=function(e,t,a,i){for(var o=-1,u=r(n((t-e)/(a||1)),0),c=Array(u);u--;)c[i?u:++o]=e,e+=a;return c}},function(e,t,n){var r=n(8),a=n(20),i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=u.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):o.test(e)?NaN:+e}},function(e,t,n){var r=n(39),a=n(58),i=n(59),o=n(41),u=n(125),c=n(126);e.exports=function(e,t,n){var f=-1,l=a,s=e.length,d=!0,p=[],h=p;if(n)d=!1,l=i;else if(s>=200){var g=t?null:u(e);if(g)return c(g);d=!1,l=o,h=new r}else h=t?[]:p;e:for(;++f<s;){var y=e[f],v=t?t(y):y;if(y=n||0!==y?y:0,d&&v==v){for(var b=h.length;b--;)if(h[b]===v)continue e;t&&h.push(v),p.push(y)}else l(h,v,n)||(h!==p&&h.push(v),p.push(y))}return p}},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(){return[]}},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(129);e.exports=function(e,t){return function(n,a){return r(n,e,t(a),{})}}},function(e,t,n){var r=n(130);e.exports=function(e,t,n,a){return r(e,(function(e,r,i){t(a,n(e),r,i)})),a}},function(e,t,n){var r=n(131),a=n(5);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(132)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),u=o.length;u--;){var c=o[e?u:++a];if(!1===n(i[c],c,i))break}return t}}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){var r=n(26),a=n(19);e.exports=function(e){return a(e)&&"[object Date]"==r(e)}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(27);e.exports=function(e,t){for(var n=-1,a=e.length,i=0,o=[];++n<a;){var u=e[n],c=t?t(u):u;if(!n||!r(c,f)){var f=c;o[i++]=0===u?0:u}}return o}},function(e,t,n){var r=n(24)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(139),a=n(140);e.exports=function e(t,n,i,o,u){var c=-1,f=t.length;for(i||(i=a),u||(u=[]);++c<f;){var l=t[c];n>0&&i(l)?n>1?e(l,n-1,i,o,u):r(u,l):o||(u[u.length]=l)}return u}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(64),a=n(35),i=n(11),o=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||a(e)||!!(o&&e&&e[o])}},function(e,t,n){var r=n(70),a=n(66);e.exports=function(e,t){return r(e,t,(function(t,n){return a(e,n)}))}},function(e,t,n){var r=n(36),a=n(31),i=n(67),o=n(8),u=n(21);e.exports=function(e,t,n,c){if(!o(e))return e;for(var f=-1,l=(t=a(t,e)).length,s=l-1,d=e;null!=d&&++f<l;){var p=u(t[f]),h=n;if(f!=s){var g=d[p];void 0===(h=c?c(g,p,d):void 0)&&(h=o(g)?g:i(t[f+1])?[]:{})}r(d,p,h),d=d[p]}return e}},function(e,t,n){var r=n(33),a=n(56),i=n(57);e.exports=function(e){return i(a(e,void 0,r),e+"")}},function(e,t,n){var r=n(26),a=n(19);e.exports=function(e){return a(e)&&"[object RegExp]"==r(e)}},function(e,t,n){var r=n(29),a=n(25),i=n(5);e.exports=function(e){return function(t,n,o){var u=Object(t);if(!a(t)){var c=r(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var f=e(t,n,o);return f>-1?u[c?t[f]:f]:void 0}}},function(e,t,n){var r=n(147),a=n(29),i=n(148),o=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:i(n);return c<0&&(c=o(u+c,0)),r(e,a(t,3),c)}},function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,i=n+(r?1:-1);r?i--:++i<a;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){var r=n(68);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){"use strict";n.r(t),n.d(t,"VictoryAxis",(function(){return Rf}));var r={};n.r(r),n.d(r,"scaleBand",(function(){return Ue})),n.d(r,"scalePoint",(function(){return We})),n.d(r,"scaleIdentity",(function(){return an})),n.d(r,"scaleLinear",(function(){return rn})),n.d(r,"scaleLog",(function(){return pn})),n.d(r,"scaleOrdinal",(function(){return Fe})),n.d(r,"scaleImplicit",(function(){return Le})),n.d(r,"scalePow",(function(){return gn})),n.d(r,"scaleSqrt",(function(){return yn})),n.d(r,"scaleQuantile",(function(){return vn})),n.d(r,"scaleQuantize",(function(){return bn})),n.d(r,"scaleThreshold",(function(){return mn})),n.d(r,"scaleTime",(function(){return Aa})),n.d(r,"scaleUtc",(function(){return Ca})),n.d(r,"schemeCategory10",(function(){return Da})),n.d(r,"schemeCategory20b",(function(){return _a})),n.d(r,"schemeCategory20c",(function(){return Ia})),n.d(r,"schemeCategory20",(function(){return Na})),n.d(r,"interpolateCubehelixDefault",(function(){return Xa})),n.d(r,"interpolateRainbow",(function(){return ti})),n.d(r,"interpolateWarm",(function(){return Ga})),n.d(r,"interpolateCool",(function(){return Ja})),n.d(r,"interpolateViridis",(function(){return ri})),n.d(r,"interpolateMagma",(function(){return ai})),n.d(r,"interpolateInferno",(function(){return ii})),n.d(r,"interpolatePlasma",(function(){return oi})),n.d(r,"scaleSequential",(function(){return ui}));var a={};n.r(a),n.d(a,"easeLinear",(function(){return gc})),n.d(a,"easeQuad",(function(){return bc})),n.d(a,"easeQuadIn",(function(){return yc})),n.d(a,"easeQuadOut",(function(){return vc})),n.d(a,"easeQuadInOut",(function(){return bc})),n.d(a,"easeCubic",(function(){return wc})),n.d(a,"easeCubicIn",(function(){return mc})),n.d(a,"easeCubicOut",(function(){return xc})),n.d(a,"easeCubicInOut",(function(){return wc})),n.d(a,"easePoly",(function(){return Mc})),n.d(a,"easePolyIn",(function(){return Oc})),n.d(a,"easePolyOut",(function(){return Ac})),n.d(a,"easePolyInOut",(function(){return Mc})),n.d(a,"easeSin",(function(){return Pc})),n.d(a,"easeSinIn",(function(){return Tc})),n.d(a,"easeSinOut",(function(){return Sc})),n.d(a,"easeSinInOut",(function(){return Pc})),n.d(a,"easeExp",(function(){return Dc})),n.d(a,"easeExpIn",(function(){return Cc})),n.d(a,"easeExpOut",(function(){return jc})),n.d(a,"easeExpInOut",(function(){return Dc})),n.d(a,"easeCircle",(function(){return Nc})),n.d(a,"easeCircleIn",(function(){return _c})),n.d(a,"easeCircleOut",(function(){return Ic})),n.d(a,"easeCircleInOut",(function(){return Nc})),n.d(a,"easeBounce",(function(){return Uc})),n.d(a,"easeBounceIn",(function(){return Fc})),n.d(a,"easeBounceOut",(function(){return Uc})),n.d(a,"easeBounceInOut",(function(){return Wc})),n.d(a,"easeBack",(function(){return Vc})),n.d(a,"easeBackIn",(function(){return zc})),n.d(a,"easeBackOut",(function(){return Rc})),n.d(a,"easeBackInOut",(function(){return Vc})),n.d(a,"easeElastic",(function(){return qc})),n.d(a,"easeElasticIn",(function(){return Bc})),n.d(a,"easeElasticOut",(function(){return qc})),n.d(a,"easeElasticInOut",(function(){return Yc}));var i=n(6),o=n.n(i),u=n(1),c=n.n(u),f=n(0),l=n.n(f),s=n(2),d=n.n(s),p=n(12),h=n.n(p),g=n(10),y=n.n(g),v=n(45),b=n.n(v),m=n(15),x=n.n(m),w=n(32),O=n.n(w),A=n(16),M=n.n(A),k=n(46),E=n.n(k),T=n(8),S=n.n(T),P=n(4),C=n.n(P),j=n(9),D=n.n(j),_=n(3),I=n.n(_);function N(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function L(e){return Array.isArray(e)&&e.length>0}function F(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}var U={containsDates:F,containsNumbers:function(e){return Array.isArray(e)&&e.some((function(e){return"number"==typeof e}))},containsOnlyStrings:function(e){return L(e)&&e.every((function(e){return"string"==typeof e}))},containsStrings:function(e){return Array.isArray(e)&&e.some((function(e){return"string"==typeof e}))},getMaxValue:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.concat(n);return F(a)?new Date(Math.max.apply(Math,N(a))):Math.max.apply(Math,N(a))},getMinValue:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.concat(n);return F(a)?new Date(Math.min.apply(Math,N(a))):Math.min.apply(Math,N(a))},isArrayOfArrays:function(e){return L(e)&&e.every(Array.isArray)},removeUndefined:function(e){return e.filter((function(e){return void 0!==e}))}},W=n(47),z=n.n(W),R=n(71),V=n.n(R),H=n(7),B=n.n(H),q=n(33),Y=n.n(q),$=n(72),K=n.n($),Z=n(22),Q=n.n(Z),X=n(73),G=n.n(X),J=n(5),ee=n.n(J),te=n(14),ne=n.n(te);function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ae(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,a=e._x0,i=e._voronoiX,o=e._y,u=e._y1,c=e._y0,f=e._voronoiY,l=t(r)?r:n,s=t(u)?u:o,d={x:t(i)?i:l,x0:t(a)?a:n,y:t(f)?f:s,y0:t(c)?c:o};return I()({},d,e)}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],r="number"==typeof n?n:0,a="object"==typeof n?n:{};return{top:a.top||r,bottom:a.bottom||r,left:a.left||r,right:a.right||r}}function oe(e){return"tooltip"===(e&&e.type&&e.type.role)}function ue(e,t){return C()(e)?e(t):e}function ce(e){return"number"==typeof e?e*(Math.PI/180):e}function fe(e){var t=ie(e),n=t.left,r=t.right,a=t.top,i=t.bottom,o=e.width,u=e.height;return Math.min(o-n-r,u-a-i)/2}function le(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,n){var r=n.props||{};return e||r.horizontal||!r.children?e=e||r.horizontal:t(d.a.Children.toArray(r.children))}),!1)};return t(d.a.Children.toArray(e.children))}var se={omit:re,getPoint:ae,scalePoint:function(e,t){var n=e.scale,r=e.polar,a=e.horizontal,i=ae(t),o=e.origin||{x:0,y:0},u=a?n.y(i.y):n.x(i.x),c=a?n.y(i.y0):n.x(i.x0),f=a?n.x(i.x):n.y(i.y),l=a?n.x(i.x0):n.y(i.y0);return{x:r?f*Math.cos(u)+o.x:u,x0:r?l*Math.cos(c)+o.x:c,y:r?-f*Math.sin(u)+o.y:f,y0:r?-l*Math.sin(c)+o.x:l}},getPadding:ie,getDefaultStyles:function(e,t){var n=e.theme,r=void 0===n?{}:n,a=e.labelComponent,i=r[t]&&r[t].style||{};if(!oe(a))return i;var o=r.tooltip&&r.tooltip.style||{},u=I()({},o,i.labels);return I()({},{labels:u},i)},getStyles:function(e,t){if(!e)return I()({parent:{height:"100%",width:"100%"}},t);var n=e.data,r=e.labels,a=e.parent,i=t&&t.parent||{},o=t&&t.labels||{},u=t&&t.data||{};return{parent:I()({},a,i,{width:"100%",height:"100%"}),labels:I()({},r,o),data:I()({},n,u)}},evaluateProp:ue,evaluateStyle:function(e,t){return e&&ee()(e).some((function(t){return C()(e[t])}))?ee()(e).reduce((function(n,r){return n[r]=ue(e[r],t),n}),{}):e},degreesToRadians:ce,radiansToDegrees:function(e){return"number"==typeof e?e/(Math.PI/180):e},getRadius:fe,getPolarOrigin:function(e){var t=e.width,n=e.height,r=ie(e),a=r.top,i=r.bottom,o=r.left,u=r.right,c=Math.min(t-o-u,n-a-i)/2,f=t/2+o-u,l=n/2+a-i;return{x:f+c>t?c+o-u:f,y:l+c>n?c+a-i:l}},getRange:function(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e,t){return"x"===t?[ce(e.startAngle||0),ce(e.endAngle||360)]:[e.innerRadius||0,fe(e)]}(e,t):function(e,t){var n="x"!==t,r=ie(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}(e,t)},createAccessor:function(e){return C()(e)?e:null==e?function(e){return e}:Q()(e)},modifyProps:function(e,t,n){var r=re(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),a=le(e),i=void 0===a?{}:{horizontal:a};return I()(i,e,r,t)},getCurrentAxis:function(e,t){return t?"x"===e?"y":"x":e},reduceChildren:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},i=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],o=function(e,u,f){return e.reduce((function(e,r,l){var s=r.type&&r.type.role,p=r.props.name||"".concat(s,"-").concat(u[l]);if(r.props&&r.props.children){var h=c()({},r.props,ne()(n,i)),g=r.type&&"stack"===r.type.role&&C()(r.type.getChildren)?r.type.getChildren(h):d.a.Children.toArray(r.props.children).map((function(e){var t=c()({},e.props,ne()(h,i));return d.a.cloneElement(e,t)})),y=g.map((function(e,t){return"".concat(p,"-").concat(t)})),v=o(g,y,r);e=a(e,v)}else{var b=t(r,p,f);b&&(e=a(e,b))}return e}),r)},u=e.map((function(e,t){return t}));return o(e,u)},isHorizontal:le,isTooltip:oe},de=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},pe=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return de(t(e),n)}),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var i=r+a>>>1;e(t[i],n)<0?r=i+1:a=i}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var i=r+a>>>1;e(t[i],n)>0?a=i:r=i+1}return r}}};var he=pe(de),ge=he.right,ye=(he.left,ge);var ve=function(e){return null===e?NaN:+e},be=Array.prototype,me=(be.slice,be.map,function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(a);++r<a;)i[r]=e+r*n;return i}),xe=Math.sqrt(50),we=Math.sqrt(10),Oe=Math.sqrt(2),Ae=function(e,t,n){var r,a,i,o,u=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(a=e,e=t,t=a),0===(o=Me(e,t,n))||!isFinite(o))return[];if(o>0)for(e=Math.ceil(e/o),t=Math.floor(t/o),i=new Array(a=Math.ceil(t-e+1));++u<a;)i[u]=(e+u)*o;else for(e=Math.floor(e*o),t=Math.ceil(t*o),i=new Array(a=Math.ceil(e-t+1));++u<a;)i[u]=(e-u)/o;return r&&i.reverse(),i};function Me(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,a);return a>=0?(i>=xe?10:i>=we?5:i>=Oe?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(i>=xe?10:i>=we?5:i>=Oe?2:1)}function ke(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/a;return i>=xe?a*=10:i>=we?a*=5:i>=Oe&&(a*=2),t<e?-a:a}var Ee=function(e,t,n){if(null==n&&(n=ve),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,a=(r-1)*t,i=Math.floor(a),o=+n(e[i],i,e);return o+(+n(e[i+1],i+1,e)-o)*(a-i)}};function Te(){}function Se(e,t){var n=new Te;if(e instanceof Te)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,a=-1,i=e.length;if(null==t)for(;++a<i;)n.set(a,e[a]);else for(;++a<i;)n.set(t(r=e[a],a,e),r)}else if(e)for(var o in e)n.set(o,e[o]);return n}Te.prototype=Se.prototype={constructor:Te,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var Pe=Se;function Ce(){}var je=Pe.prototype;function De(e,t){var n=new Ce;if(e instanceof Ce)e.each((function(e){n.add(e)}));else if(e){var r=-1,a=e.length;if(null==t)for(;++r<a;)n.add(e[r]);else for(;++r<a;)n.add(t(e[r],r,e))}return n}Ce.prototype=De.prototype={constructor:Ce,has:je.has,add:function(e){return this["$"+(e+="")]=e,this},remove:je.remove,clear:je.clear,values:je.keys,size:je.size,empty:je.empty,each:je.each};var _e=Array.prototype,Ie=_e.map,Ne=_e.slice,Le={name:"implicit"};function Fe(e){var t=Pe(),n=[],r=Le;function a(a){var i=a+"",o=t.get(i);if(!o){if(r!==Le)return r;t.set(i,o=n.push(a))}return e[(o-1)%e.length]}return e=null==e?[]:Ne.call(e),a.domain=function(e){if(!arguments.length)return n.slice();n=[],t=Pe();for(var r,i,o=-1,u=e.length;++o<u;)t.has(i=(r=e[o])+"")||t.set(i,n.push(r));return a},a.range=function(t){return arguments.length?(e=Ne.call(t),a):e.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.copy=function(){return Fe().domain(n).range(e).unknown(r)},a}function Ue(){var e,t,n=Fe().unknown(void 0),r=n.domain,a=n.range,i=[0,1],o=!1,u=0,c=0,f=.5;function l(){var n=r().length,l=i[1]<i[0],s=i[l-0],d=i[1-l];e=(d-s)/Math.max(1,n-u+2*c),o&&(e=Math.floor(e)),s+=(d-s-e*(n-u))*f,t=e*(1-u),o&&(s=Math.round(s),t=Math.round(t));var p=me(n).map((function(t){return s+e*t}));return a(l?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),l()):r()},n.range=function(e){return arguments.length?(i=[+e[0],+e[1]],l()):i.slice()},n.rangeRound=function(e){return i=[+e[0],+e[1]],o=!0,l()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(o=!!e,l()):o},n.padding=function(e){return arguments.length?(u=c=Math.max(0,Math.min(1,e)),l()):u},n.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),l()):u},n.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),l()):c},n.align=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),l()):f},n.copy=function(){return Ue().domain(r()).range(i).round(o).paddingInner(u).paddingOuter(c).align(f)},l()}function We(){return function e(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return e(n())},t}(Ue().paddingInner(1))}var ze=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}},Re=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function Ve(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function He(){}var Be="\\s*([+-]?\\d+)\\s*",qe="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ye="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",$e=/^#([0-9a-f]{3,8})$/,Ke=new RegExp("^rgb\\("+[Be,Be,Be]+"\\)$"),Ze=new RegExp("^rgb\\("+[Ye,Ye,Ye]+"\\)$"),Qe=new RegExp("^rgba\\("+[Be,Be,Be,qe]+"\\)$"),Xe=new RegExp("^rgba\\("+[Ye,Ye,Ye,qe]+"\\)$"),Ge=new RegExp("^hsl\\("+[qe,Ye,Ye]+"\\)$"),Je=new RegExp("^hsla\\("+[qe,Ye,Ye,qe]+"\\)$"),et={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};function tt(){return this.rgb().formatHex()}function nt(){return this.rgb().formatRgb()}function rt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=$e.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?at(t):3===n?new ct(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?it(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?it(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ke.exec(e))?new ct(t[1],t[2],t[3],1):(t=Ze.exec(e))?new ct(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Qe.exec(e))?it(t[1],t[2],t[3],t[4]):(t=Xe.exec(e))?it(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ge.exec(e))?dt(t[1],t[2]/100,t[3]/100,1):(t=Je.exec(e))?dt(t[1],t[2]/100,t[3]/100,t[4]):et.hasOwnProperty(e)?at(et[e]):"transparent"===e?new ct(NaN,NaN,NaN,0):null}function at(e){return new ct(e>>16&255,e>>8&255,255&e,1)}function it(e,t,n,r){return r<=0&&(e=t=n=NaN),new ct(e,t,n,r)}function ot(e){return e instanceof He||(e=rt(e)),e?new ct((e=e.rgb()).r,e.g,e.b,e.opacity):new ct}function ut(e,t,n,r){return 1===arguments.length?ot(e):new ct(e,t,n,null==r?1:r)}function ct(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function ft(){return"#"+st(this.r)+st(this.g)+st(this.b)}function lt(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function st(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function dt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ht(e,t,n,r)}function pt(e){if(e instanceof ht)return new ht(e.h,e.s,e.l,e.opacity);if(e instanceof He||(e=rt(e)),!e)return new ht;if(e instanceof ht)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,u=i-a,c=(i+a)/2;return u?(o=t===i?(n-r)/u+6*(n<r):n===i?(r-t)/u+2:(t-n)/u+4,u/=c<.5?i+a:2-i-a,o*=60):u=c>0&&c<1?0:o,new ht(o,u,c,e.opacity)}function ht(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function gt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function yt(e,t,n,r,a){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*a)/6}Re(He,rt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:tt,formatHex:tt,formatHsl:function(){return pt(this).formatHsl()},formatRgb:nt,toString:nt}),Re(ct,ut,Ve(He,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new ct(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ct(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ft,formatHex:ft,formatRgb:lt,toString:lt})),Re(ht,(function(e,t,n,r){return 1===arguments.length?pt(e):new ht(e,t,n,null==r?1:r)}),Ve(He,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new ht(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ht(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new ct(gt(e>=240?e-240:e+120,a,r),gt(e,a,r),gt(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var vt=function(e){return function(){return e}};function bt(e,t){return function(n){return e+n*t}}function mt(e){return 1==(e=+e)?xt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):vt(isNaN(t)?n:t)}}function xt(e,t){var n=t-e;return n?bt(e,n):vt(isNaN(e)?t:e)}var wt=function e(t){var n=mt(t);function r(e,t){var r=n((e=ut(e)).r,(t=ut(t)).r),a=n(e.g,t.g),i=n(e.b,t.b),o=xt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=i(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function Ot(e){return function(t){var n,r,a=t.length,i=new Array(a),o=new Array(a),u=new Array(a);for(n=0;n<a;++n)r=ut(t[n]),i[n]=r.r||0,o[n]=r.g||0,u[n]=r.b||0;return i=e(i),o=e(o),u=e(u),r.opacity=1,function(e){return r.r=i(e),r.g=o(e),r.b=u(e),r+""}}}Ot((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],i=e[r+1],o=r>0?e[r-1]:2*a-i,u=r<t-1?e[r+2]:2*i-a;return yt((n-r/t)*t,o,a,i,u)}})),Ot((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],i=e[r%t],o=e[(r+1)%t],u=e[(r+2)%t];return yt((n-r/t)*t,a,i,o,u)}}));var At=function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(i){for(n=0;n<r;++n)a[n]=e[n]*(1-i)+t[n]*i;return a}};function Mt(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function kt(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,i=new Array(a),o=new Array(r);for(n=0;n<a;++n)i[n]=jt(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<a;++n)o[n]=i[n](e);return o}}var Et=function(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}},Tt=function(e,t){var n,r={},a={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=jt(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}},St=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Pt=new RegExp(St.source,"g");var Ct=function(e,t){var n,r,a,i=St.lastIndex=Pt.lastIndex=0,o=-1,u=[],c=[];for(e+="",t+="";(n=St.exec(e))&&(r=Pt.exec(t));)(a=r.index)>i&&(a=t.slice(i,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(r=r[0])?u[o]?u[o]+=r:u[++o]=r:(u[++o]=null,c.push({i:o,x:ze(n,r)})),i=Pt.lastIndex;return i<t.length&&(a=t.slice(i),u[o]?u[o]+=a:u[++o]=a),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})},jt=function(e,t){var n,r=typeof t;return null==t||"boolean"===r?vt(t):("number"===r?ze:"string"===r?(n=rt(t))?(t=n,wt):Ct:t instanceof rt?wt:t instanceof Date?Et:Mt(t)?At:Array.isArray(t)?kt:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Tt:ze)(e,t)},Dt=function(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}},_t=function(e){return function(){return e}},It=function(e){return+e},Nt=[0,1];function Lt(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:_t(t)}function Ft(e,t,n,r){var a=e[0],i=e[1],o=t[0],u=t[1];return i<a?(a=n(i,a),o=r(u,o)):(a=n(a,i),o=r(o,u)),function(e){return o(a(e))}}function Ut(e,t,n,r){var a=Math.min(e.length,t.length)-1,i=new Array(a),o=new Array(a),u=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<a;)i[u]=n(e[u],e[u+1]),o[u]=r(t[u],t[u+1]);return function(t){var n=ye(e,t,1,a)-1;return o[n](i[n](t))}}function Wt(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function zt(e,t){var n,r,a,i=Nt,o=Nt,u=jt,c=!1;function f(){return n=Math.min(i.length,o.length)>2?Ut:Ft,r=a=null,l}function l(t){return(r||(r=n(i,o,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,u)))(+t)}return l.invert=function(e){return(a||(a=n(o,i,Lt,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},l.domain=function(e){return arguments.length?(i=Ie.call(e,It),f()):i.slice()},l.range=function(e){return arguments.length?(o=Ne.call(e),f()):o.slice()},l.rangeRound=function(e){return o=Ne.call(e),u=Dt,f()},l.clamp=function(e){return arguments.length?(c=!!e,f()):c},l.interpolate=function(e){return arguments.length?(u=e,f()):u},f()}var Rt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Vt(e){if(!(t=Rt.exec(e)))throw new Error("invalid format: "+e);var t;return new Ht({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ht(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}Vt.prototype=Ht.prototype,Ht.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Bt,qt,Yt,$t,Kt=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},Zt=function(e){return(e=Kt(Math.abs(e)))?e[1]:NaN},Qt=function(e,t){var n=Kt(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")},Xt={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Qt(100*e,t)},r:Qt,s:function(e,t){var n=Kt(e,t);if(!n)return e+"";var r=n[0],a=n[1],i=a-(Bt=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=r.length;return i===o?r:i>o?r+new Array(i-o+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Kt(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Gt=function(e){return e},Jt=Array.prototype.map,en=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];qt=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Gt:(t=Jt.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,i=[],o=0,u=t[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(e.substring(a-=u,a+u)),!((c+=u+1)>r));)u=t[o=(o+1)%t.length];return i.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?Gt:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Jt.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",f=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function s(e){var t=(e=Vt(e)).fill,n=e.align,s=e.sign,d=e.symbol,p=e.zero,h=e.width,g=e.comma,y=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):Xt[b]||(void 0===y&&(y=12),v=!0,b="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var m="$"===d?a:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===d?i:/[%p]/.test(b)?c:"",w=Xt[b],O=/[defgprs%]/.test(b);function A(e){var a,i,c,d=m,A=x;if("c"===b)A=w(e)+A,e="";else{var M=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:w(Math.abs(e),y),v&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),M&&0==+e&&"+"!==s&&(M=!1),d=(M?"("===s?s:f:"-"===s||"("===s?"":s)+d,A=("s"===b?en[8+Bt/3]:"")+A+(M&&"("===s?")":""),O)for(a=-1,i=e.length;++a<i;)if(48>(c=e.charCodeAt(a))||c>57){A=(46===c?o+e.slice(a+1):e.slice(a))+A,e=e.slice(0,a);break}}g&&!p&&(e=r(e,1/0));var k=d.length+e.length+A.length,E=k<h?new Array(h-k+1).join(t):"";switch(g&&p&&(e=r(E+e,E.length?h-A.length:1/0),E=""),n){case"<":e=d+e+A+E;break;case"=":e=d+E+e+A;break;case"^":e=E.slice(0,k=E.length>>1)+d+e+A+E.slice(k);break;default:e=E+d+e+A}return u(e)}return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),A.toString=function(){return e+""},A}return{format:s,formatPrefix:function(e,t){var n=s(((e=Vt(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Zt(t)/3))),a=Math.pow(10,-r),i=en[8+r/3];return function(e){return n(a*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Yt=qt.format,$t=qt.formatPrefix;var tn=function(e,t,n){var r,a=e[0],i=e[e.length-1],o=ke(a,i,null==t?10:t);switch((n=Vt(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(a),Math.abs(i));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zt(t)/3)))-Zt(Math.abs(e)))}(o,u))||(n.precision=r),$t(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Zt(t)-Zt(e))+1}(o,Math.max(Math.abs(a),Math.abs(i))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-Zt(Math.abs(e)))}(o))||(n.precision=r-2*("%"===n.type))}return Yt(n)};function nn(e){var t=e.domain;return e.ticks=function(e){var n=t();return Ae(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return tn(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),i=0,o=a.length-1,u=a[i],c=a[o];return c<u&&(r=u,u=c,c=r,r=i,i=o,o=r),(r=Me(u,c,n))>0?r=Me(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=Me(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(a[i]=Math.floor(u/r)*r,a[o]=Math.ceil(c/r)*r,t(a)):r<0&&(a[i]=Math.ceil(u*r)/r,a[o]=Math.floor(c*r)/r,t(a)),e},e}function rn(){var e=zt(Lt,ze);return e.copy=function(){return Wt(e,rn())},nn(e)}function an(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Ie.call(n,It),t):e.slice()},t.copy=function(){return an().domain(e)},nn(t)}var on=function(e,t){var n,r=0,a=(e=e.slice()).length-1,i=e[r],o=e[a];return o<i&&(n=r,r=a,a=n,n=i,i=o,o=n),e[r]=t.floor(i),e[a]=t.ceil(o),e};function un(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:_t(t)}function cn(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function fn(e){return isFinite(e)?+("1e"+e):e<0?0:e}function ln(e){return 10===e?fn:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function sn(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function dn(e){return function(t){return-e(-t)}}function pn(){var e=zt(un,cn).domain([1,10]),t=e.domain,n=10,r=sn(10),a=ln(10);function i(){return r=sn(n),a=ln(n),t()[0]<0&&(r=dn(r),a=dn(a)),e}return e.base=function(e){return arguments.length?(n=+e,i()):n},e.domain=function(e){return arguments.length?(t(e),i()):t()},e.ticks=function(e){var i,o=t(),u=o[0],c=o[o.length-1];(i=c<u)&&(d=u,u=c,c=d);var f,l,s,d=r(u),p=r(c),h=null==e?10:+e,g=[];if(!(n%1)&&p-d<h){if(d=Math.round(d)-1,p=Math.round(p)+1,u>0){for(;d<p;++d)for(l=1,f=a(d);l<n;++l)if(!((s=f*l)<u)){if(s>c)break;g.push(s)}}else for(;d<p;++d)for(l=n-1,f=a(d);l>=1;--l)if(!((s=f*l)<u)){if(s>c)break;g.push(s)}}else g=Ae(d,p,Math.min(p-d,h)).map(a);return i?g.reverse():g},e.tickFormat=function(t,i){if(null==i&&(i=10===n?".0e":","),"function"!=typeof i&&(i=Yt(i)),t===1/0)return i;null==t&&(t=10);var o=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/a(Math.round(r(e)));return t*n<n-.5&&(t*=n),t<=o?i(e):""}},e.nice=function(){return t(on(t(),{floor:function(e){return a(Math.floor(r(e)))},ceil:function(e){return a(Math.ceil(r(e)))}}))},e.copy=function(){return Wt(e,pn().base(n))},e}function hn(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function gn(){var e=1,t=zt((function(t,n){return(n=hn(n,e)-(t=hn(t,e)))?function(r){return(hn(r,e)-t)/n}:_t(n)}),(function(t,n){return n=hn(n,e)-(t=hn(t,e)),function(r){return hn(t+n*r,1/e)}})),n=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,n(n())):e},t.copy=function(){return Wt(t,gn().exponent(e))},nn(t)}function yn(){return gn().exponent(.5)}function vn(){var e=[],t=[],n=[];function r(){var r=0,i=Math.max(1,t.length);for(n=new Array(i-1);++r<i;)n[r-1]=Ee(e,r/i);return a}function a(e){if(!isNaN(e=+e))return t[ye(n,e)]}return a.invertExtent=function(r){var a=t.indexOf(r);return a<0?[NaN,NaN]:[a>0?n[a-1]:e[0],a<n.length?n[a]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,a=0,i=t.length;a<i;++a)null==(n=t[a])||isNaN(n=+n)||e.push(n);return e.sort(de),r()},a.range=function(e){return arguments.length?(t=Ne.call(e),r()):t.slice()},a.quantiles=function(){return n.slice()},a.copy=function(){return vn().domain(e).range(t)},a}function bn(){var e=0,t=1,n=1,r=[.5],a=[0,1];function i(e){if(e<=e)return a[ye(r,e,0,n)]}function o(){var a=-1;for(r=new Array(n);++a<n;)r[a]=((a+1)*t-(a-n)*e)/(n+1);return i}return i.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],o()):[e,t]},i.range=function(e){return arguments.length?(n=(a=Ne.call(e)).length-1,o()):a.slice()},i.invertExtent=function(i){var o=a.indexOf(i);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},i.copy=function(){return bn().domain([e,t]).range(a)},nn(i)}function mn(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[ye(e,r,0,n)]}return r.domain=function(a){return arguments.length?(e=Ne.call(a),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(a){return arguments.length?(t=Ne.call(a),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return mn().domain(e).range(t)},r}var xn=new Date,wn=new Date;function On(e,t,n,r){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=function(t){return e(t=new Date(+t)),t},a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t<n-e?t:n},a.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},a.range=function(n,r,i){var o,u=[];if(n=a.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return u;do{u.push(o=new Date(+n)),t(n,i),e(n)}while(o<n&&n<r);return u},a.filter=function(n){return On((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(a.count=function(t,r){return xn.setTime(+t),wn.setTime(+r),e(xn),e(wn),Math.floor(n(xn,wn))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var An=On((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));An.every=function(e){return isFinite(e=Math.floor(e))&&e>0?On((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Mn=An,kn=(An.range,On((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),En=kn;kn.range;function Tn(e){return On((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}var Sn=Tn(0),Pn=Tn(1),Cn=Tn(2),jn=Tn(3),Dn=Tn(4),_n=Tn(5),In=Tn(6),Nn=(Sn.range,Pn.range,Cn.range,jn.range,Dn.range,_n.range,In.range,On((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5}),(function(e){return e.getDate()-1}))),Ln=Nn,Fn=(Nn.range,On((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()}))),Un=Fn,Wn=(Fn.range,On((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getMinutes()}))),zn=Wn,Rn=(Wn.range,On((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()}))),Vn=Rn,Hn=(Rn.range,On((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));Hn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?On((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Hn:null};var Bn=Hn;Hn.range;function qn(e){return On((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/6048e5}))}var Yn=qn(0),$n=qn(1),Kn=qn(2),Zn=qn(3),Qn=qn(4),Xn=qn(5),Gn=qn(6),Jn=(Yn.range,$n.range,Kn.range,Zn.range,Qn.range,Xn.range,Gn.range,On((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1}))),er=Jn,tr=(Jn.range,On((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));tr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?On((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var nr=tr;tr.range;function rr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ar(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ir(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var or,ur,cr,fr={"-":"",_:" ",0:"0"},lr=/^\s*\d+/,sr=/^%/,dr=/[\\^$*+?|[\]().{}]/g;function pr(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(t)+a:a)}function hr(e){return e.replace(dr,"\\$&")}function gr(e){return new RegExp("^(?:"+e.map(hr).join("|")+")","i")}function yr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function vr(e,t,n){var r=lr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function br(e,t,n){var r=lr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function mr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function xr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function wr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Or(e,t,n){var r=lr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Mr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function kr(e,t,n){var r=lr.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Er(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Tr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Sr(e,t,n){var r=lr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Pr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Cr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=lr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Dr(e,t,n){var r=lr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=lr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ir(e,t,n){var r=sr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Nr(e,t,n){var r=lr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=lr.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Fr(e,t){return pr(e.getDate(),t,2)}function Ur(e,t){return pr(e.getHours(),t,2)}function Wr(e,t){return pr(e.getHours()%12||12,t,2)}function zr(e,t){return pr(1+Ln.count(Mn(e),e),t,3)}function Rr(e,t){return pr(e.getMilliseconds(),t,3)}function Vr(e,t){return Rr(e,t)+"000"}function Hr(e,t){return pr(e.getMonth()+1,t,2)}function Br(e,t){return pr(e.getMinutes(),t,2)}function qr(e,t){return pr(e.getSeconds(),t,2)}function Yr(e){var t=e.getDay();return 0===t?7:t}function $r(e,t){return pr(Sn.count(Mn(e)-1,e),t,2)}function Kr(e,t){var n=e.getDay();return e=n>=4||0===n?Dn(e):Dn.ceil(e),pr(Dn.count(Mn(e),e)+(4===Mn(e).getDay()),t,2)}function Zr(e){return e.getDay()}function Qr(e,t){return pr(Pn.count(Mn(e)-1,e),t,2)}function Xr(e,t){return pr(e.getFullYear()%100,t,2)}function Gr(e,t){return pr(e.getFullYear()%1e4,t,4)}function Jr(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+pr(t/60|0,"0",2)+pr(t%60,"0",2)}function ea(e,t){return pr(e.getUTCDate(),t,2)}function ta(e,t){return pr(e.getUTCHours(),t,2)}function na(e,t){return pr(e.getUTCHours()%12||12,t,2)}function ra(e,t){return pr(1+er.count(nr(e),e),t,3)}function aa(e,t){return pr(e.getUTCMilliseconds(),t,3)}function ia(e,t){return aa(e,t)+"000"}function oa(e,t){return pr(e.getUTCMonth()+1,t,2)}function ua(e,t){return pr(e.getUTCMinutes(),t,2)}function ca(e,t){return pr(e.getUTCSeconds(),t,2)}function fa(e){var t=e.getUTCDay();return 0===t?7:t}function la(e,t){return pr(Yn.count(nr(e)-1,e),t,2)}function sa(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Qn(e):Qn.ceil(e),pr(Qn.count(nr(e),e)+(4===nr(e).getUTCDay()),t,2)}function da(e){return e.getUTCDay()}function pa(e,t){return pr($n.count(nr(e)-1,e),t,2)}function ha(e,t){return pr(e.getUTCFullYear()%100,t,2)}function ga(e,t){return pr(e.getUTCFullYear()%1e4,t,4)}function ya(){return"+0000"}function va(){return"%"}function ba(e){return+e}function ma(e){return Math.floor(+e/1e3)}!function(e){or=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,i=e.days,o=e.shortDays,u=e.months,c=e.shortMonths,f=gr(a),l=yr(a),s=gr(i),d=yr(i),p=gr(o),h=yr(o),g=gr(u),y=yr(u),v=gr(c),b=yr(c),m={a:function(e){return o[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Fr,e:Fr,f:Vr,H:Ur,I:Wr,j:zr,L:Rr,m:Hr,M:Br,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ba,s:ma,S:qr,u:Yr,U:$r,V:Kr,w:Zr,W:Qr,x:null,X:null,y:Xr,Y:Gr,Z:Jr,"%":va},x={a:function(e){return o[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:ea,e:ea,f:ia,H:ta,I:na,j:ra,L:aa,m:oa,M:ua,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ba,s:ma,S:ca,u:fa,U:la,V:sa,w:da,W:pa,x:null,X:null,y:ha,Y:ga,Z:ya,"%":va},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=s.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return M(e,t,n,r)},d:Tr,e:Tr,f:_r,H:Pr,I:Pr,j:Sr,L:Dr,m:Er,M:Cr,p:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:kr,Q:Nr,s:Lr,S:jr,u:br,U:mr,V:xr,w:vr,W:wr,x:function(e,t,r){return M(e,n,t,r)},X:function(e,t,n){return M(e,r,t,n)},y:Ar,Y:Or,Z:Mr,"%":Ir};function O(e,t){return function(n){var r,a,i,o=[],u=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date(+n));++u<f;)37===e.charCodeAt(u)&&(o.push(e.slice(c,u)),null!=(a=fr[r=e.charAt(++u)])?r=e.charAt(++u):a="e"===r?" ":"0",(i=t[r])&&(r=i(n,a)),o.push(r),c=u+1);return o.push(e.slice(c,u)),o.join("")}}function A(e,t){return function(n){var r,a,i=ir(1900,void 0,1);if(M(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(a=(r=ar(ir(i.y,0,1))).getUTCDay(),r=a>4||0===a?$n.ceil(r):$n(r),r=er.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(a=(r=rr(ir(i.y,0,1))).getDay(),r=a>4||0===a?Pn.ceil(r):Pn(r),r=Ln.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),a="Z"in i?ar(ir(i.y,0,1)).getUTCDay():rr(ir(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,ar(i)):rr(i)}}function M(e,t,n,r){for(var a,i,o=0,u=t.length,c=n.length;o<u;){if(r>=c)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=w[a in fr?t.charAt(o++):a])||(r=i(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return m.x=O(n,m),m.X=O(r,m),m.c=O(t,m),x.x=O(n,x),x.X=O(r,x),x.c=O(t,x),{format:function(e){var t=O(e+="",m);return t.toString=function(){return e},t},parse:function(e){var t=A(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=A(e+="",!0);return t.toString=function(){return e},t}}}(e),ur=or.format,or.parse,cr=or.utcFormat,or.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function xa(e){return new Date(e)}function wa(e){return e instanceof Date?+e:+new Date(+e)}function Oa(e,t,n,r,a,i,o,u,c){var f=zt(Lt,ze),l=f.invert,s=f.domain,d=c(".%L"),p=c(":%S"),h=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),m=c("%Y"),x=[[o,1,1e3],[o,5,5e3],[o,15,15e3],[o,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function w(u){return(o(u)<u?d:i(u)<u?p:a(u)<u?h:r(u)<u?g:t(u)<u?n(u)<u?y:v:e(u)<u?b:m)(u)}function O(t,n,r,a){if(null==t&&(t=10),"number"==typeof t){var i=Math.abs(r-n)/t,o=pe((function(e){return e[2]})).right(x,i);o===x.length?(a=ke(n/31536e6,r/31536e6,t),t=e):o?(a=(o=x[i/x[o-1][2]<x[o][2]/i?o-1:o])[1],t=o[0]):(a=Math.max(ke(n,r,t),1),t=u)}return null==a?t:t.every(a)}return f.invert=function(e){return new Date(l(e))},f.domain=function(e){return arguments.length?s(Ie.call(e,wa)):s().map(xa)},f.ticks=function(e,t){var n,r=s(),a=r[0],i=r[r.length-1],o=i<a;return o&&(n=a,a=i,i=n),n=(n=O(e,a,i,t))?n.range(a,i+1):[],o?n.reverse():n},f.tickFormat=function(e,t){return null==t?w:c(t)},f.nice=function(e,t){var n=s();return(e=O(e,n[0],n[n.length-1],t))?s(on(n,e)):f},f.copy=function(){return Wt(f,Oa(e,t,n,r,a,i,o,u,c))},f}var Aa=function(){return Oa(Mn,En,Sn,Ln,Un,zn,Vn,Bn,ur).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},Ma=On((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),ka=Ma,Ea=(Ma.range,On((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getUTCHours()}))),Ta=Ea,Sa=(Ea.range,On((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getUTCMinutes()}))),Pa=Sa,Ca=(Sa.range,function(){return Oa(nr,ka,Yn,er,Ta,Pa,Vn,Bn,cr).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}),ja=function(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))},Da=ja("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),_a=ja("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Ia=ja("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Na=ja("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),La=Math.PI/180,Fa=180/Math.PI,Ua=-.14861,Wa=1.78277,za=-.29227,Ra=-.90649,Va=1.97294,Ha=Va*Ra,Ba=Va*Wa,qa=Wa*za-Ra*Ua;function Ya(e){if(e instanceof Ka)return new Ka(e.h,e.s,e.l,e.opacity);e instanceof ct||(e=ot(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(qa*r+Ha*t-Ba*n)/(qa+Ha-Ba),i=r-a,o=(Va*(n-a)-za*i)/Ra,u=Math.sqrt(o*o+i*i)/(Va*a*(1-a)),c=u?Math.atan2(o,i)*Fa-120:NaN;return new Ka(c<0?c+360:c,u,a,e.opacity)}function $a(e,t,n,r){return 1===arguments.length?Ya(e):new Ka(e,t,n,null==r?1:r)}function Ka(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Za(e){return function t(n){function r(t,r){var a=e((t=$a(t)).h,(r=$a(r)).h),i=xt(t.s,r.s),o=xt(t.l,r.l),u=xt(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=i(e),t.l=o(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}Re(Ka,$a,Ve(He,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Ka(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Ka(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*La,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new ct(255*(t+n*(Ua*r+Wa*a)),255*(t+n*(za*r+Ra*a)),255*(t+n*(Va*r)),this.opacity)}}));Za((function(e,t){var n=t-e;return n?bt(e,n>180||n<-180?n-360*Math.round(n/360):n):vt(isNaN(e)?t:e)}));var Qa=Za(xt),Xa=Qa($a(300,.5,0),$a(-240,.5,1)),Ga=Qa($a(-100,.75,.35),$a(80,1.5,.8)),Ja=Qa($a(260,.75,.35),$a(80,1.5,.8)),ei=$a(),ti=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return ei.h=360*e-100,ei.s=1.5-1.5*t,ei.l=.8-.9*t,ei+""};function ni(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var ri=ni(ja("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),ai=ni(ja("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),ii=ni(ja("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),oi=ni(ja("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ui(e){var t=0,n=1,r=!1;function a(a){var i=(a-t)/(n-t);return e(r?Math.max(0,Math.min(1,i)):i)}return a.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],a):[t,n]},a.clamp=function(e){return arguments.length?(r=!!e,a):r},a.interpolator=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return ui(e).domain([t,n]).clamp(r)},nn(a)}var ci=["linear","time","log","sqrt"];function fi(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function li(e){return"function"==typeof e?C()(e.copy)&&C()(e.domain)&&C()(e.range):"string"==typeof e&&y()(ci,e)}function si(e,t){return!!e.scale&&(!e.scale.x&&!e.scale.y||!!e.scale[t])}function di(e,t){if(!e.data)return"linear";var n=se.createAccessor(e[t]),r=e.data.map((function(e){var r=B()(n(e))?n(e)[t]:n(e);return void 0!==r?r:e[t]}));return U.containsDates(r)?"time":"linear"}function pi(e){return li(e)?r[fi(e)]():rn()}function hi(e,t){if(si(e,t)){var n=e.scale[t]||e.scale;return li(n)?C()(n)?n:r[fi(n)]():void 0}}function gi(e){if("string"==typeof e)return e;var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}var yi={getBaseScale:function(e,t){var n=hi(e,t);if(n)return"string"==typeof n?pi(n):n;var a=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return U.containsDates(n)?"time":"linear"}(e,t)||di(e,t);return r[fi(a)]()},getDefaultScale:function(){return rn()},getScaleFromProps:hi,getScaleType:function(e,t){return function(e,t){if(si(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:gi(n)}}(e,t)||di(e,t)},getType:gi,getScaleFromName:pi},vi={IMMUTABLE_ITERABLE:"@@__IMMUTABLE_ITERABLE__@@",IMMUTABLE_RECORD:"@@__IMMUTABLE_RECORD__@@",IMMUTABLE_LIST:"@@__IMMUTABLE_LIST__@@",IMMUTABLE_MAP:"@@__IMMUTABLE_MAP__@@",isImmutable:function(e){return this.isIterable(e)||this.isRecord(e)},isIterable:function(e){return!(!e||!e[this.IMMUTABLE_ITERABLE])},isRecord:function(e){return!(!e||!e[this.IMMUTABLE_RECORD])},isList:function(e){return!(!e||!e[this.IMMUTABLE_LIST])},isMap:function(e){return!(!e||!e[this.IMMUTABLE_MAP])},shallowToJS:function(e,t){var n=this;return this.isIterable(e)?e.reduce((function(e,r,a){return t&&t[a]&&(r=n.shallowToJS(r)),e[a]=r,e}),this.isList(e)?[]:{}):e}};function bi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function mi(e){return vi.isImmutable(e)?vi.shallowToJS(e,{errorX:!0,errorY:!0}):e}function xi(e){return vi.isIterable(e)?e.size:e.length}function wi(e,t){var n=(B()(e.domain)?e.domain[t]:e.domain)||yi.getBaseScale(e,t).domain(),r=e.samples||1,a=Math.max.apply(Math,bi(n)),i=Math.min.apply(Math,bi(n)),o=(a-i)/r,u=O()(i,a,o);return G()(u)===a?u:u.concat(a)}function Oi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return x()(e,t,r)}function Ai(e,t){var n=1/Number.MAX_SAFE_INTEGER,r={x:yi.getScaleType(t,"x"),y:yi.getScaleType(t,"y")};if("log"!==r.x&&"log"!==r.y)return e;var a=function(e,t){return"log"!==r[t]||0!==e["_".concat(t)]};return e.map((function(e){return a(e,"x")&&a(e,"y")&&a(e,"y0")?e:function(e){var t=a(e,"x")?e._x:n,r=a(e,"y")?e._y:n,i=a(e,"y0")?e._y0:n;return c()({},e,{_x:t,_y:r,_y0:i})}(e)}))}function Mi(e,t){var n,r=!!e.eventKey,a=(n=e.eventKey,C()(n)?n:null==n?function(){}:Q()(n));return t.map((function(e,t){if(void 0!==e.eventKey)return e;if(r){var n=a(e,t);return void 0!==n?c()({eventKey:n},e):e}return e}))}function ki(e,t){var n=Pi(e,t),r=Ci(e,t),a=ji(e,t),i=M()(bi(n).concat(bi(r),bi(a)));return 0===i.length?null:i.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function Ei(e,t,n){if(!(Array.isArray(e)||vi.isIterable(e))||xi(e)<1)return[];var r=["x","y","y0"];n=Array.isArray(n)?n:r;var a,i=n.reduce((function(e,n){var r;return e[n]=(r=n,se.createAccessor(void 0!==t[r]?t[r]:r)),e}),{}),u=K()(n,r)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===u&&(a={x:-1!==n.indexOf("x")?ki(t,"x"):void 0,y:-1!==n.indexOf("y")?ki(t,"y"):void 0,y0:-1!==n.indexOf("y0")?ki(t,"y"):void 0});var f=Ai(Oi(u?e:e.reduce((function(e,t,r){var u={x:r,y:t=mi(t)},f=n.reduce((function(e,n){var r=i[n](t),o=void 0!==r?r:u[n];return void 0!==o&&("string"==typeof o&&a[n]?(e["".concat(n,"Name")]=o,e["_".concat(n)]=a[n][o]):e["_".concat(n)]=o),e}),{}),l=c()({},f,t);return o()(l)||e.push(l),e}),[]),t.sortKey,t.sortOrder),t);return Mi(t,f)}function Ti(e){var t=wi(e,"x"),n=wi(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}function Si(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function Pi(e,t){var n=e.tickValues,r=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:r&&Array.isArray(r)?r:[]).filter((function(e){return"string"==typeof e}))}function Ci(e,t){if(!e.categories)return[];var n=Si(e,t),r=n&&n.filter((function(e){return"string"==typeof e}));return r?U.removeUndefined(r):[]}function ji(e,t){if(!(Array.isArray(e.data)||vi.isIterable(e.data)))return[];var n=void 0===e[t]?t:e[t],r=se.createAccessor(n);return Oi(e.data.reduce((function(e,t){return e.push(mi(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=mi(t),e.push(r(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}var Di={createStringMap:ki,downsample:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=xi(e);if(r>t){var a=Math.pow(2,Math.ceil(Math.log2(r/t)));return e.filter((function(e,t){return(t+n)%a==0}))}return e},formatData:Ei,generateData:Ti,getCategories:Si,getData:function(e){return e.data?Ei(e.data,e):Ei(Ti(e),e)},getStringsFromAxes:Pi,getStringsFromCategories:Ci,getStringsFromData:ji,isDataComponent:function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=d.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}return y()(["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}};function _i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ii(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(e){return"max"===n?Math.max.apply(Math,_i(e)):Math.min.apply(Math,_i(e))},a="max"===n?-1/0:1/0,i=!1,o=Y()(e).reduce((function(e,n){var a=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],o=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],u=r([a,o]);return i=i||a instanceof Date||o instanceof Date,r([e,u])}),a);return i?new Date(o):o}function Ni(e,t,n){if(!t.domainPadding)return e;var r=Hi(t,n),a=Vi(t,n),i=function(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return B()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!i.left&&!i.right)return e;var o=U.getMinValue(e),u=U.getMaxValue(e),c=se.getCurrentAxis(n,t.horizontal),f=se.getRange(t,c),l=Math.abs(f[0]-f[1]),s=Math.abs(u-o)*i.left/l,d=Math.abs(u-o)*i.right/l,p=B()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,h=function(e,t){return!1===p?e:"min"===t&&o>=0&&e<=0||"max"===t&&u<=0&&e>=0?0:e},g=h(o.valueOf()-s,"min"),y=h(u.valueOf()+d,"max"),v=Math.abs(y-g)*i.left/l,b=Math.abs(y-g)*i.right/l,m={min:h(o.valueOf()-v,"min"),max:h(u.valueOf()+b,"max")},x={min:void 0!==r?r:m.min,max:void 0!==a?a:m.max};return o instanceof Date||u instanceof Date?zi(new Date(x.min),new Date(x.max)):zi(x.min,x.max)}function Li(e,t){return e=C()(e)?e:Wi,t=C()(t)?t:Fi,function(n,r){var a=Ri(n,r);if(a)return t(a,n,r);var i=Di.getCategories(n,r),o=i?Ui(n,r,i):e(n,r);return o?t(o,n,r):void 0}}function Fi(e,t,n){return function(e,t,n){return"log"!==yi.getScaleType(t,n)?e:(a=(r=e)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?a:r[0],0===r[1]?a:r[1]]);var r,a}(Ni(e,t,n),t,n)}function Ui(e,t,n){n=n||Di.getCategories(e,t);var r=e.polar,a=e.startAngle,i=void 0===a?0:a,o=e.endAngle,u=void 0===o?360:o;if(n){var c=Hi(e,t),f=Vi(e,t),l=U.containsStrings(n)?Di.getStringsFromCategories(e,t):[],s=0===l.length?null:l.reduce((function(e,t,n){return e[t]=n+1,e}),{}),d=s?n.map((function(e){return s[e]})):n,p=zi(void 0!==c?c:U.getMinValue(d),void 0!==f?f:U.getMaxValue(d));return r&&"x"===t&&360===Math.abs(i-u)?Bi(p,d):p}}function Wi(e,t,n){n=n||Di.getData(e);var r=e.polar,a=e.startAngle,i=void 0===a?0:a,o=e.endAngle,u=void 0===o?360:o,c=Hi(e,t),f=Vi(e,t);if(n.length<1)return void 0!==c&&void 0!==f?zi(c,f):void 0;var l=zi(void 0!==c?c:Ii(n,t,"min"),void 0!==f?f:Ii(n,t,"max"));return r&&"x"===t&&360===Math.abs(i-u)?Bi(l,function(e,t){return Y()(e).map((function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]}))}(n,t)):l}function zi(e,t){var n,r,a,i;return+e==+t?(r=0===(n=t)?2*Math.pow(10,-10):Math.pow(10,-10),a=n instanceof Date?new Date(+n-1):+n-r,i=n instanceof Date?new Date(+n+1):+n+r,0===n?[0,i]:[a,i]):[e,t]}function Ri(e,t){var n=Hi(e,t),r=Vi(e,t);return B()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==r?zi(n,r):void 0}function Vi(e,t){return B()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain||z()(e.maxDomain)?e.maxDomain:void 0}function Hi(e,t){return B()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain||z()(e.minDomain)?e.minDomain:void 0}function Bi(e,t){var n=V()(t.sort((function(e,t){return e-t}))),r=n[1]-n[0];return[e[0],e[1]+r]}var qi={createDomainFunction:Li,formatDomain:Fi,getDomain:function(e,t){return Li()(e,t)},getDomainFromCategories:Ui,getDomainFromData:Wi,getDomainFromMinMax:zi,getDomainFromProps:Ri,getDomainWithZero:function(e,t){var n=Ri(e,t);if(n)return n;var r=Di.getData(e),a=r.reduce((function(e,t){return t._y0<e?t._y0:e}),1/0);return Li((function(){return Wi(e,t,r)}),(function(n){return Fi(function(n){if("x"===t)return n;var r=a!==1/0?a:0,i=Vi(e,t),o=Hi(e,t),u=void 0!==i?i:U.getMaxValue(n,r);return zi(void 0!==o?o:U.getMinValue(n,r),u)}(n),e,t)}))(e,t)},getMaxFromProps:Vi,getMinFromProps:Hi,getSymmetricDomain:Bi,isDomainComponent:function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=d.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}return y()(["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}};function Yi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function $i(e){return e.dependentAxis?"y":"x"}function Ki(e,t){t=t||D.a;var n=function(e){return e.reduce((function(e,r){return r.type&&"axis"===r.type.role&&t(r)?e.concat(r):r.props&&r.props.children?e.concat(n(d.a.Children.toArray(r.props.children))):e}),[])};return n(e)}function Zi(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function Qi(e){return void 0!==e.tickValues&&U.containsStrings(e.tickValues)}function Xi(e){var t=e.tickValues,n=e.tickFormat,r=$i(e),a=e.stringMap&&e.stringMap[r],i=t;a&&(i=function(e){var t=$i(e),n=e.stringMap&&e.stringMap[t],r=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[t],a=r&&U.containsOnlyStrings(r)?r.map((function(e){return n[e]})):void 0,i=n&&b()(n);return a&&0!==a.length?a:i}(e)),t&&U.containsStrings(t)&&(i=a?t.map((function(e){return a[e]})):O()(1,t.length+1));var o,u,c=i?M()(i):function(){if(n&&Array.isArray(n))return U.containsStrings(n)?n.map((function(e,t){return t})):n}();return Array.isArray(c)&&c.length?(o=c,u=e.domain&&e.domain[r]||e.domain,Array.isArray(u)?o.filter((function(e){return e>=Math.min.apply(Math,Yi(u))&&e<=Math.max.apply(Math,Yi(u))})):o):void 0}function Gi(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter((function(e,t){return t%n==0}))}function Ji(e,t){var n=e.polar,r=e.startAngle,a=void 0===r?0:r,i=e.endAngle,o=void 0===i?360:i,u=Xi(e);if(Array.isArray(u)){var c=qi.getMinFromProps(e,t),f=qi.getMaxFromProps(e,t),l=Qi(e),s=u.map((function(e){return+e})),d=l?1:U.getMinValue(s),p=l?u.length:U.getMaxValue(s),h=void 0!==c?c:d,g=void 0!==f?f:p,y=qi.getDomainFromMinMax(h,g),v=n&&"x"===t&&360===Math.abs(a-o)?qi.getSymmetricDomain(y,s):y;return Zi(e)&&!n&&v.reverse(),v}}var eo={getTicks:function(e,t,n){var r=e.tickCount,a=Xi(e);if(a)return Gi(a,r);if(t.ticks&&C()(t.ticks)){var i=r||5,o=t.ticks(i),u=Gi(Array.isArray(o)&&o.length?o:t.domain(),r);if(n){var c=y()(u,0)?h()(u,0):u;return c.length?c:u}return u}return t.domain()},getTickFormat:function(e,t){var n=e.tickFormat,r=$i(e),a=e.stringMap&&e.stringMap[r];if(n){if(n&&Array.isArray(n))return function(e,t){return n[t]};if(n&&C()(n)){return a?function(t,n,r){var i=E()(a),o=r.map((function(e){return i[e]}));return e.tickFormat(i[t],n,o)}:n}return function(e){return e}}var i=function(e){var t=e.tickValues,n=$i(e),r=e.stringMap&&e.stringMap[n],a=t&&!U.containsDates(t)?function(e){return e}:void 0;if(r){var i=r&&E()(r),o=x()(b()(r),(function(e){return e})).map((function(e){return i[e]})),u=[""].concat(Yi(o),[""]);return function(e){return u[e]}}return Qi(e)?function(e,n){return t[n]}:a}(e),o=t.tickFormat&&C()(t.tickFormat)?t.tickFormat():function(e){return e};return i||o},getAxis:$i,getAxisComponent:function(e,t){return Ki(e,(function(e){return e.type.getAxis(e.props)===t}))[0]},getAxisComponentsWithParent:function(e,t){var n=function(e){return e.reduce((function(e,r){return r.type&&"axis"===r.type.role&&function(e){return"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis}(r)||r.props&&r.props.children&&n(d.a.Children.toArray(r.props.children)).length>0?e.concat(r):e}),[])};return n(e)},getAxisValue:function(e,t){if(e.axisValue){var n="x"===t?"y":"x",r=S()(e.scale)&&C()(e.scale[n])?e.scale[n]:void 0;if(r){var a="x"===t?"y":"x",i=S()(e.stringMap)&&e.stringMap[a];return r(i&&"string"==typeof e.axisValue?i[e.axisValue]:e.axisValue)}}},findAxisComponents:Ki,getOrigin:function(e){var t=function(e){var t=Math.min.apply(Math,Yi(e)),n=Math.max.apply(Math,Yi(e));return n<0?n:Math.max(0,t)};return{x:U.containsDates(e.x)?new Date(Math.min.apply(Math,Yi(e.x))):t(e.x),y:U.containsDates(e.y)?new Date(Math.min.apply(Math,Yi(e.y))):t(e.y)}},getOriginSign:function(e,t){return U.containsDates(t)?"positive":e<=0&&Math.max.apply(Math,Yi(t))<=0?"negative":"positive"},getDomain:function(e,t){var n=$i(e);if(!t||t===n)return qi.createDomainFunction(Ji)(e,n)},isVertical:Zi,modifyProps:function(e,t){if(!S()(e.theme))return se.modifyProps(e,t,"axis");var n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return se.modifyProps(e,t,"axis");var r=I()({},e.theme[n],e.theme.axis),a=c()({},e.theme,{axis:r});return se.modifyProps(c()({},e,{theme:a}),t,"axis")},stringTicks:Qi};function to(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var no={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},ro={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},ao={em:1,ex:.5},io=1.05,oo=1.15,uo={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},co=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},fo=function(e,t,n){var r=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},lo=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?ro.hasOwnProperty(n)?r*ro[n]:ao.hasOwnProperty(n)?(t?r*t:r*uo.fontSize)*ao[n]:r:r||0},so=function(e,t){var n=Array.isArray(e)?e[t]:e,r=I()({},n,uo);return c()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:lo(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:lo(String(r.fontSize))})},po=function(e,t){if(void 0===e||""===e||null===e)return 0;var n=co(e).map((function(e,n){var r=e.toString().length,a=so(t,n),i=a.fontSize,o=a.letterSpacing,u=function(e){var t=e.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return no[e]}))||"Helvetica";return no[t]}(a.fontFamily);return e.toString().split("").map((function(e){return e.charCodeAt(0)<u.widths.length?u.widths[e.charCodeAt(0)]:u.avg})).reduce((function(e,t){return t+e}),0)*i+o*Math.max(r-1,0)}));return Math.max.apply(Math,to(n))},ho=function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=function(e,t){return void 0===e||""===e||null===e?0:co(e).reduce((function(e,n,r){var a=so(t,r),i=n.toString().match(/[(A-Z)(0-9)]/)?a.fontSize*oo:a.fontSize;return e+a.lineHeight*i}),0)}(e,t),a=po(e,t);return{width:n?fo(a,r,n):a,height:(n?fo(r,a,n):r)*io}},go=lo,yo=n(74),vo=n.n(yo),bo=n(75),mo=n.n(bo),xo=function(e){0};var wo=function(e){var t=function(t,n,r,a){var i=n[r];if(null==i)return t?new Error("Required `".concat(r,"` was not specified in `").concat(a,"`.")):null;for(var o=arguments.length,u=new Array(o>4?o-4:0),c=4;c<o;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,a].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},Oo=function(){return null},Ao=function(){},Mo=function(e){return void 0===e?Ao:null===e?Oo:e.constructor},ko=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)},Eo={deprecated:function(e,t){return function(n,r,a){var i=n[r];return null!=i&&xo('"'.concat(r,'" property of "').concat(a,'" has been deprecated ').concat(t)),l.a.checkPropTypes(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,e),n,r,a)}},allOfType:function(e){return wo((function(t,n,r){for(var a=arguments.length,i=new Array(a>3?a-3:0),o=3;o<a;o++)i[o-3]=arguments[o];return e.reduce((function(e,a){return e||a.apply(void 0,[t,n,r].concat(i))}),void 0)}))},nonNegative:wo((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),integer:wo((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),greaterThanZero:wo((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),domain:wo((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),scale:wo((function(e,t,n){var r,a=["linear","time","log","sqrt"],i=e[t];if(r=i,!(C()(r)?C()(r.copy)&&C()(r.domain)&&C()(r.range):"string"==typeof r&&-1!==a.indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),homogeneousArray:wo((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var a=Mo(r[0]),i=mo()(r,(function(e){return a!==Mo(e)}));if(i){var o=ko(r[0]),u=ko(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(o,"` and ")+"`".concat(u,"`."))}}})),matchDataLength:wo((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),regExp:wo((function(e,t,n){if(e[t]&&!vo()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))}))},To={categories:l.a.oneOfType([l.a.arrayOf(l.a.string),l.a.shape({x:l.a.arrayOf(l.a.string),y:l.a.arrayOf(l.a.string)})]),data:l.a.oneOfType([l.a.array,l.a.object]),dataComponent:l.a.element,labelComponent:l.a.element,labels:l.a.oneOfType([l.a.func,l.a.array]),samples:Eo.nonNegative,sortKey:l.a.oneOfType([l.a.func,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string,l.a.arrayOf(l.a.string)]),sortOrder:l.a.oneOf(["ascending","descending"]),style:l.a.shape({parent:l.a.object,data:l.a.object,labels:l.a.object}),x:l.a.oneOfType([l.a.func,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string,l.a.arrayOf(l.a.string)]),y:l.a.oneOfType([l.a.func,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string,l.a.arrayOf(l.a.string)]),y0:l.a.oneOfType([l.a.func,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string,l.a.arrayOf(l.a.string)])},So={baseProps:{animate:l.a.oneOfType([l.a.bool,l.a.object]),containerComponent:l.a.element,domain:l.a.oneOfType([Eo.domain,l.a.shape({x:Eo.domain,y:Eo.domain})]),maxDomain:l.a.oneOfType([l.a.number,l.a.instanceOf(Date),l.a.shape({x:l.a.oneOfType([l.a.number,l.a.instanceOf(Date)]),y:l.a.oneOfType([l.a.number,l.a.instanceOf(Date)])})]),minDomain:l.a.oneOfType([l.a.number,l.a.instanceOf(Date),l.a.shape({x:l.a.oneOfType([l.a.number,l.a.instanceOf(Date)]),y:l.a.oneOfType([l.a.number,l.a.instanceOf(Date)])})]),domainPadding:l.a.oneOfType([l.a.shape({x:l.a.oneOfType([l.a.number,l.a.arrayOf(l.a.number)]),y:l.a.oneOfType([l.a.number,l.a.arrayOf(l.a.number)])}),l.a.number,l.a.arrayOf(l.a.number)]),eventKey:l.a.oneOfType([l.a.func,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string]),events:l.a.arrayOf(l.a.shape({target:l.a.oneOf(["data","labels","parent"]),eventKey:l.a.oneOfType([l.a.array,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string]),eventHandlers:l.a.object})),externalEventMutations:l.a.arrayOf(l.a.shape({callback:l.a.function,childName:l.a.oneOfType([l.a.string,l.a.array]),eventKey:l.a.oneOfType([l.a.array,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string]),mutation:l.a.function,target:l.a.oneOfType([l.a.string,l.a.array])})),groupComponent:l.a.element,height:Eo.nonNegative,name:l.a.string,origin:l.a.shape({x:l.a.number,y:l.a.number}),padding:l.a.oneOfType([l.a.number,l.a.shape({top:l.a.number,bottom:l.a.number,left:l.a.number,right:l.a.number})]),polar:l.a.bool,range:l.a.oneOfType([Eo.domain,l.a.shape({x:Eo.domain,y:Eo.domain})]),scale:l.a.oneOfType([Eo.scale,l.a.shape({x:Eo.scale,y:Eo.scale})]),sharedEvents:l.a.shape({events:l.a.array,getEventState:l.a.func}),singleQuadrantDomainPadding:l.a.oneOfType([l.a.bool,l.a.shape({x:l.a.oneOfType([l.a.bool]),y:l.a.oneOfType([l.a.bool])})]),standalone:l.a.bool,theme:l.a.object,width:Eo.nonNegative},dataProps:To,primitiveProps:{active:l.a.bool,ariaLabel:l.a.oneOfType([l.a.string,l.a.func]),className:l.a.string,clipPath:l.a.string,data:l.a.oneOfType([l.a.array,l.a.object]),desc:l.a.oneOfType([l.a.string,l.a.func]),events:l.a.object,id:l.a.oneOfType([l.a.number,l.a.string,l.a.func]),index:l.a.oneOfType([l.a.number,l.a.string]),origin:l.a.shape({x:l.a.number,y:l.a.number}),polar:l.a.bool,role:l.a.string,scale:l.a.oneOfType([Eo.scale,l.a.shape({x:Eo.scale,y:Eo.scale})]),shapeRendering:l.a.string,style:l.a.object,tabIndex:l.a.oneOfType([l.a.number,l.a.func]),transform:l.a.string}};function Po(){return(Po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Co=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?d.a.createElement("line",Po({vectorEffect:"non-scaling-stroke"},n),d.a.createElement("desc",null,t)):d.a.createElement("line",Po({vectorEffect:"non-scaling-stroke"},n))};function jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Do(e,t,n[t])}))}return e}function Do(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _o=function(e){return e=function(e){var t=se.evaluateProp(e.ariaLabel,e),n=se.evaluateProp(e.desc,e),r=se.evaluateProp(e.id,e),a=se.evaluateStyle(c()({stroke:"black"},e.style),e),i=se.evaluateProp(e.tabIndex,e);return c()({},e,{ariaLabel:t,desc:n,id:r,style:a,tabIndex:i})}(e),d.a.cloneElement(e.lineComponent,jo({},e.events,{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,transform:e.transform,clipPath:e.clipPath}))};_o.propTypes=jo({},So.primitiveProps,{datum:l.a.any,lineComponent:l.a.element,x1:l.a.number,x2:l.a.number,y1:l.a.number,y2:l.a.number}),_o.defaultProps={lineComponent:d.a.createElement(Co,null),role:"presentation",shapeRendering:"auto"};var Io=_o,No=d.a.createContext({});No.displayName="PortalContext";var Lo=No;function Fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wo(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var zo=function(e){function t(){return Fo(this,t),Wo(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(xo("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"),this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},a=I()(r,n,se.omit(this.props,["children","groupComponent"])),i=e&&d.a.cloneElement(e,a);return this.renderPortal(i)}}])&&Uo(n.prototype,r),a&&Uo(n,a),t}(d.a.Component);function Ro(){return(Ro=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Object.defineProperty(zo,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(zo,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(zo,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l.a.node,groupComponent:l.a.element}}),Object.defineProperty(zo,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null)}}),Object.defineProperty(zo,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Lo});var Vo=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?d.a.createElement("rect",Ro({vectorEffect:"non-scaling-stroke"},n),d.a.createElement("desc",null,t)):d.a.createElement("rect",Ro({vectorEffect:"non-scaling-stroke"},n))};function Ho(e,t){if(e.polar)return{};var n=function(e,t){t=t||{};var n=e.horizontal,r=e.style.labels||{},a=se.evaluateProp(r.padding,e)||0,i=t._y<0?-1:1;return{x:n?i*a:0,y:n?0:-1*i*a}}(e,t);return{dx:n.x,dy:n.y}}function Bo(e,t){var n=e.polar,r=se.scalePoint(e,t),a=r.x,i=r.y;if(n){var o=function(e,t){var n=e.style,r=Zo(e,t),a=n.labels||{},i=se.evaluateProp(a.padding,e)||0,o=se.degreesToRadians(r);return{x:i*Math.cos(o),y:-i*Math.sin(o)}}(e,t);return{x:a+o.x,y:i+o.y}}return{x:a,y:i}}function qo(e){var t=e.labelComponent,n=e.labelPlacement,r=e.polar?"perpendicular":"vertical";return n||(t.props&&t.props.labelPlacement||r)}function Yo(e,t,n){return void 0!==(t=t||{}).label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function $o(e,t){var n=qo(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function Ko(e,t){var n=qo(e),r=function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}(t);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}function Zo(e,t){var n=se.getPoint(t).x;return se.radiansToDegrees(e.scale.x(n))%360}var Qo={getText:Yo,getPolarTextAnchor:$o,getPolarVerticalAnchor:Ko,getPolarAngle:function(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var a=void 0!==t?t%360:Zo(e,r),i=0;return 0===a||180===a?i=90:a>0&&a<180?i=90-a:a>180&&a<360&&(i=270-a),i+(a>90&&a<180||a>270?1:-1)*("perpendicular"===n?0:90)},getDegrees:Zo,getProps:function(e,t){var n=e.scale,r=e.data,a=e.style,i=e.horizontal,o=e.polar,u=e.width,c=e.height,f=e.theme,l=e.labelComponent,s=r[t],d=Zo(e,s),p=o?$o(e,d):function(e,t){t=t||{};var n=e.style,r=e.horizontal,a=t._y>=0?1:-1,i=n&&n.labels||{};return t.verticalAnchor||i.verticalAnchor?t.verticalAnchor||i.verticalAnchor:r?a>=0?"start":"end":"middle"}(e,s),h=o?Ko(e,d):function(e,t){var n=(t=t||{})._y>=0?1:-1,r=e.style&&e.style.labels||{};return t.verticalAnchor||r.verticalAnchor?t.verticalAnchor||r.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}(e,s),g=function(e,t){t=t||{};var n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}(e,s),y=Yo(e,s,t),v=qo(e),b=Bo(e,s),m=b.x,x=b.y,w=Ho(e,s),O={angle:g,data:r,datum:s,horizontal:i,index:t,polar:o,scale:n,labelPlacement:v,text:y,textAnchor:p,verticalAnchor:h,x:m,y:x,dx:w.dx,dy:w.dy,width:u,height:c,style:a.labels};if(!se.isTooltip(l))return O;var A=f&&f.tooltip||{};return I()({},O,se.omit(A,["style"]))}},Xo=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce((function(e,t){return[e,Xo(t)].join(" ")}),Xo(e)).trim();if(null==e||"string"==typeof e)return e;var a=[];for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];a.push("".concat(i,"(").concat(o,")"))}return a.join(" ").trim()},Go={toTransformString:Xo,getColorScale:function(e){var t={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return e?t[e]:t.grayscale}},Jo=function(e){return d.a.createElement("tspan",e)};var eu=function(e){var t=e.children,n=e.title,r=e.desc,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["children","title","desc"]);return d.a.createElement("text",a,n&&d.a.createElement("title",null,n),r&&d.a.createElement("desc",null,r),t)};eu.propTypes={children:l.a.node,desc:l.a.string,title:l.a.string};var tu=eu;function nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var au={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},iu=function(e,t){return e.datum?se.scalePoint(e,e.datum)[t]:0},ou=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return au.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?(xo("fontSize should be expressed as a number of pixels"),au.fontSize):n}return au.fontSize},uu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},cu=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!o()(t)||Array.isArray(n)&&!o()(n)},fu=function(e,t){var n=e.direction,r=e.textAnchor,a=e.x,i=e.dx;if("rtl"===n)return a-t;switch(r){case"middle":return Math.round(a-t/2);case"end":return Math.round(a-t);default:return a+(i||0)}},lu=function(e,t){var n=e.verticalAnchor,r=e.y,a=e.originalDy,i=r+(void 0===a?0:a);switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-t);default:return Math.floor(i-t/2)}},su=function(e,t){return cu(e)?function(e,t){var n=e.dy,r=e.dx,a=e.transform,i=e.backgroundStyle,o=e.backgroundPadding,u=e.backgroundComponent,c=e.inline,f=e.y,l=t.map((function(e,a){var i=uu(t,a-1),u=e.textSize,l=e.fontSize*e.lineHeight,s=Math.ceil(l),d=uu(o,a),p=uu(o,a-1),h=c&&r||0,g=a&&!c?i.fontSize*i.lineHeight+p.top+p.bottom:n-.5*l-(e.fontSize-e.capHeight);return{textHeight:s,labelSize:u,heightWithPadding:s+d.top+d.bottom,widthWithPadding:u.width+d.left+d.right+h,y:f,fontSize:e.fontSize,dy:g}}));return l.map((function(t,n){var r=fu(e,t.labelSize.width),s=l.slice(0,n+1).reduce((function(e,t){return e+t.dy}),f),p=uu(o,n),h=t.heightWithPadding,g=c?function(e,t,n){var r=e.textAnchor,a=t.map((function(e){return e.widthWithPadding})),i=-a.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return a.reduce((function(e,t,r){return e=r<n?e+t:e}),0);case"end":return a.reduce((function(e,t,r){return e=r>n?e-t:e}),0);default:return a.reduce((function(e,t,r){return e=r===n?e+t/2:e+(r<n?t:0)}),i)}}(e,l,n)+r-p.left:r,y=c?lu(e,h)-p.top:s,v={key:"tspan-background-".concat(n),height:h,style:uu(i,n),width:t.widthWithPadding,transform:a,x:g-p.left,y:y};return d.a.cloneElement(u,I()({},u.props,v))}))}(e,t):function(e,t){var n=e.dx,r=void 0===n?0:n,a=e.transform,i=e.backgroundComponent,o=e.backgroundStyle,u=e.inline,c=e.backgroundPadding,f=e.capHeight,l=t.map((function(e){return e.textSize})),s=u?Math.max.apply(Math,ru(l.map((function(e){return e.height})))):l.reduce((function(e,n,r){var a=r?0:f/2;return e+n.height*(t[r].lineHeight-a)}),0),p=u?l.reduce((function(e,t,n){var a=n?r:0;return e+t.width+a}),0):Math.max.apply(Math,ru(l.map((function(e){return e.width})))),h=fu(e,p),g=lu(e,s),y={key:"background",height:s+c.top+c.bottom,style:o,transform:a,width:p+c.left+c.right,x:u?h-c.left:h+r-c.left,y:g};return d.a.cloneElement(i,I()({},i.props,y))}(e,t)},du=function(e,t,n){var r=t.inline,a=uu(e,n);return n&&!r?function(e,t,n){var r=uu(e,t),a=uu(e,t-1),i=a.fontSize*a.lineHeight,o=r.fontSize*r.lineHeight,u=a.fontSize-a.capHeight,c=r.fontSize-r.capHeight,f=i-a.fontSize/2+r.fontSize/2-i/2+o/2-c/2+u/2;return cu(n)?f+r.backgroundPadding.top+a.backgroundPadding.bottom:f}(e,n,t):r?0===n?a.backgroundPadding.top:void 0:a.backgroundPadding.top},pu=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return se.evaluateProp(e,t)}));var n=se.evaluateProp(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){var n=function(e){e=e?I()({},e,au):au;var n=se.evaluateStyle(e,t);return c()({},n,{fontSize:ou(n)})};return Array.isArray(e)&&!o()(e)?e.map((function(e){return n(e)})):n(e)}(e.style,c()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!o()(e)?e.map((function(e){return se.evaluateStyle(e,t)})):se.evaluateStyle(e,t)}(e.backgroundStyle,c()({},e,{text:t,style:n})),a=function(e){if(e.backgroundPadding&&Array.isArray(e.backgroundPadding))return e.backgroundPadding.map((function(t){var n=se.evaluateProp(t,e);return se.getPadding({padding:n})}));var t=se.evaluateProp(e.backgroundPadding,e);return se.getPadding({padding:t})}(c()({},e,{text:t,style:n,backgroundStyle:r})),i=se.evaluateProp(e.id,e);return c()({},e,{backgroundStyle:r,backgroundPadding:a,style:n,text:t,id:i})},hu=function(e){var t=se.evaluateProp(e.ariaLabel,e),n=uu(e.style),r=function(e){var t=se.evaluateProp(e.lineHeight,e);return Array.isArray(t)&&o()(t)?[1]:t}(e),a=e.direction?se.evaluateProp(e.direction,e):"inherit",i=e.textAnchor?se.evaluateProp(e.textAnchor,e):n.textAnchor||"start",u=e.verticalAnchor?se.evaluateProp(e.verticalAnchor,e):n.verticalAnchor||"middle",f=e.dx?se.evaluateProp(e.dx,e):0,l=function(e,t,n){var r=e.dy?se.evaluateProp(e.dy,e):0,a=e.inline?1:e.text.length,i=se.evaluateProp(e.capHeight,e),o=t?se.evaluateProp(t,e):"middle",u=ru(Array(a).keys()).map((function(t){return uu(e.style,t).fontSize})),c=ru(Array(a).keys()).map((function(e){return uu(n,e)}));if("start"===o)return r+(i/2+c[0]/2)*u[0];if(e.inline)return"end"===o?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===a)return"end"===o?r+(i/2+(.5-a)*c[0])*u[0]:r+(i/2+(.5-a/2)*c[0])*u[0];var f=ru(Array(a).keys()).reduce((function(e,t){return e+(i/2+(.5-a)*c[t])*u[t]/a}),0);return"end"===o?r+f:r+f/2+i/2*c[a-1]*u[a-1]}(e,u,r),s=void 0!==e.x?e.x:iu(e,"x"),d=void 0!==e.y?e.y:iu(e,"y"),p=function(e,t,n){var r=e.polar,a=uu(e.style),i=r?Qo.getPolarAngle(e):0,o=void 0===a.angle?se.evaluateProp(e.angle,e):a.angle,u=void 0===o?i:o,c=e.transform||a.transform,f=c&&se.evaluateProp(c,e),l=u&&{rotate:[u,t,n]};return f||u?Go.toTransformString(f,l):void 0}(e,s,d);return c()({},e,{ariaLabel:t,lineHeight:r,direction:a,textAnchor:i,verticalAnchor:u,dx:f,dy:l,originalDy:e.dy,transform:p,x:s,y:d})},gu=function(e,t){var n=e.ariaLabel,r=e.inline,a=e.className,i=e.title,o=e.events,u=e.direction,c=e.text,f=e.textAnchor,l=e.dx,s=e.dy,p=e.transform,h=e.x,g=e.y,y=e.desc,v=e.id,b=e.tabIndex,m=e.tspanComponent,x=e.textComponent,w=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nu(e,t,n[t])}))}return e}({"aria-label":n,key:"text"},o,{direction:u,dx:l,x:h,y:g+s,transform:p,className:a,title:i,desc:se.evaluateProp(y,e),tabIndex:se.evaluateProp(b,e),id:v}),O=c.map((function(n,a){var i=t[a].style,o={key:"".concat(v,"-key-").concat(a),x:r?void 0:h,dx:r?l+t[a].backgroundPadding.left:l,dy:du(t,e,a),textAnchor:i.textAnchor||f,style:i,children:n};return d.a.cloneElement(m,o)}));return d.a.cloneElement(x,w,O)},yu=function(e){if(null===(e=pu(e)).text||void 0===e.text)return null;var t=hu(e),n=t.text,r=t.style,a=t.capHeight,i=t.backgroundPadding,o=t.lineHeight,u=n.map((function(e,t){var n=uu(r,t),u=go("".concat(a,"em"),n.fontSize),c=uu(o,t);return{style:n,fontSize:n.fontSize||au.fontSize,capHeight:u,text:e,textSize:ho(e,n),lineHeight:c,backgroundPadding:uu(i,t)}})),c=gu(t,u);if(e.backgroundStyle){var f=[su(t,u),c],l=d.a.cloneElement(e.groupComponent,{},f);return e.renderInPortal?d.a.createElement(zo,null,l):l}return e.renderInPortal?d.a.createElement(zo,null,c):c};yu.displayName="VictoryLabel",yu.role="label",yu.defaultStyles=au,yu.propTypes={active:l.a.bool,angle:l.a.oneOfType([l.a.string,l.a.number,l.a.func]),ariaLabel:l.a.oneOfType([l.a.string,l.a.func]),backgroundComponent:l.a.element,backgroundPadding:l.a.oneOfType([l.a.number,l.a.object,l.a.array]),backgroundStyle:l.a.oneOfType([l.a.object,l.a.array]),capHeight:l.a.oneOfType([l.a.string,Eo.nonNegative,l.a.func]),className:l.a.string,data:l.a.array,datum:l.a.any,desc:l.a.oneOfType([l.a.string,l.a.func]),direction:l.a.oneOf(["rtl","ltr","inherit"]),dx:l.a.oneOfType([l.a.number,l.a.string,l.a.func]),dy:l.a.oneOfType([l.a.number,l.a.string,l.a.func]),events:l.a.object,groupComponent:l.a.element,id:l.a.oneOfType([l.a.number,l.a.string,l.a.func]),index:l.a.oneOfType([l.a.number,l.a.string]),inline:l.a.bool,labelPlacement:l.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:l.a.oneOfType([l.a.string,Eo.nonNegative,l.a.func,l.a.array]),origin:l.a.shape({x:Eo.nonNegative,y:Eo.nonNegative}),polar:l.a.bool,renderInPortal:l.a.bool,scale:l.a.shape({x:Eo.scale,y:Eo.scale}),style:l.a.oneOfType([l.a.object,l.a.array]),tabIndex:l.a.oneOfType([l.a.number,l.a.func]),text:l.a.oneOfType([l.a.string,l.a.number,l.a.func,l.a.array]),textAnchor:l.a.oneOfType([l.a.oneOf(["start","middle","end","inherit"]),l.a.func]),textComponent:l.a.element,title:l.a.string,transform:l.a.oneOfType([l.a.string,l.a.object,l.a.func]),tspanComponent:l.a.element,verticalAnchor:l.a.oneOfType([l.a.oneOf(["start","middle","end"]),l.a.func]),x:l.a.oneOfType([l.a.number,l.a.string]),y:l.a.oneOfType([l.a.number,l.a.string])},yu.defaultProps={backgroundComponent:d.a.createElement(Vo,null),groupComponent:d.a.createElement("g",null),direction:"inherit",textComponent:d.a.createElement(tu,null),tspanComponent:d.a.createElement(Jo,null),capHeight:.71,lineHeight:1};var vu=yu,bu=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],mu={width:350,height:350,padding:50},xu={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:"#455A64",stroke:"transparent",strokeWidth:0},wu=c()({textAnchor:"middle"},xu),Ou={area:c()({style:{data:{fill:"#212121"},labels:xu}},mu),axis:c()({style:{axis:{fill:"transparent",stroke:"#90A4AE",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:c()({},wu,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"#ECEFF1",strokeDasharray:"10, 5",strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"#90A4AE",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},tickLabels:c()({},xu,{fill:"#455A64"})}},mu),polarDependentAxis:c()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:c()({style:{data:{fill:"#455A64",padding:8,strokeWidth:0},labels:xu}},mu),boxplot:c()({style:{max:{padding:8,stroke:"#455A64",strokeWidth:1},maxLabels:c()({},xu,{padding:3}),median:{padding:8,stroke:"#455A64",strokeWidth:1},medianLabels:c()({},xu,{padding:3}),min:{padding:8,stroke:"#455A64",strokeWidth:1},minLabels:c()({},xu,{padding:3}),q1:{padding:8,fill:"#455A64"},q1Labels:c()({},xu,{padding:3}),q3:{padding:8,fill:"#455A64"},q3Labels:c()({},xu,{padding:3})},boxWidth:20},mu),candlestick:c()({style:{data:{stroke:"#455A64"},labels:c()({},xu,{padding:5})},candleColors:{positive:"#ffffff",negative:"#455A64"}},mu),chart:mu,errorbar:c()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:xu}},mu),group:c()({colorScale:bu},mu),histogram:c()({style:{data:{fill:"#455A64",stroke:"#212121",strokeWidth:2},labels:xu}},mu),legend:{colorScale:bu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:xu,title:c()({},xu,{padding:5})}},line:c()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:xu}},mu),pie:c()({colorScale:bu,style:{data:{padding:8,stroke:"#ECEFF1",strokeWidth:1},labels:c()({},xu,{padding:20})}},mu),scatter:c()({style:{data:{fill:"#455A64",opacity:1,stroke:"transparent",strokeWidth:0},labels:xu}},mu),stack:c()({colorScale:bu},mu),tooltip:{style:c()({},xu,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:c()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:c()({},xu,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},mu)},Au=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Mu={width:450,height:300,padding:50,colorScale:Au},ku={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:"#252525",stroke:"transparent"},Eu=c()({textAnchor:"middle"},ku),Tu={material:Ou,grayscale:{area:c()({style:{data:{fill:"#252525"},labels:ku}},Mu),axis:c()({style:{axis:{fill:"transparent",stroke:"#252525",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:c()({},Eu,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:ku}},Mu),bar:c()({style:{data:{fill:"#252525",padding:8,strokeWidth:0},labels:ku}},Mu),boxplot:c()({style:{max:{padding:8,stroke:"#252525",strokeWidth:1},maxLabels:c()({},ku,{padding:3}),median:{padding:8,stroke:"#252525",strokeWidth:1},medianLabels:c()({},ku,{padding:3}),min:{padding:8,stroke:"#252525",strokeWidth:1},minLabels:c()({},ku,{padding:3}),q1:{padding:8,fill:"#969696"},q1Labels:c()({},ku,{padding:3}),q3:{padding:8,fill:"#969696"},q3Labels:c()({},ku,{padding:3})},boxWidth:20},Mu),candlestick:c()({style:{data:{stroke:"#252525",strokeWidth:1},labels:c()({},ku,{padding:5})},candleColors:{positive:"#ffffff",negative:"#252525"}},Mu),chart:Mu,errorbar:c()({borderWidth:8,style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:ku}},Mu),group:c()({colorScale:Au},Mu),histogram:c()({style:{data:{fill:"#969696",stroke:"#252525",strokeWidth:2},labels:ku}},Mu),legend:{colorScale:Au,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ku,title:c()({},ku,{padding:5})}},line:c()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:ku}},Mu),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:c()({},ku,{padding:20})},colorScale:Au,width:400,height:400,padding:50},scatter:c()({style:{data:{fill:"#252525",stroke:"transparent",strokeWidth:0},labels:ku}},Mu),stack:c()({colorScale:Au},Mu),tooltip:{style:c()({},ku,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:c()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:c()({},ku,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Mu)}},Su=n(76),Pu=n.n(Su);function Cu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ju(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Du=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ju(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(ju(n)),n.portalRegister=n.portalRegister.bind(ju(n)),n.portalDeregister=n.portalDeregister.bind(ju(n)),n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return ee()(this.map).map((function(t){var n=e.map[t];return n?d.a.cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return d.a.createElement("svg",this.props,this.getChildren())}}])&&Cu(n.prototype,r),a&&Cu(n,a),t}(d.a.Component);Object.defineProperty(Du,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(Du,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l.a.string,height:Eo.nonNegative,style:l.a.object,viewBox:l.a.string,width:Eo.nonNegative}});var _u,Iu,Nu=0,Lu=0,Fu=0,Uu=0,Wu=0,zu=0,Ru="object"==typeof performance&&performance.now?performance:Date,Vu="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Hu(){return Wu||(Vu(Bu),Wu=Ru.now()+zu)}function Bu(){Wu=0}function qu(){this._call=this._time=this._next=null}function Yu(e,t,n){var r=new qu;return r.restart(e,t,n),r}function $u(){Wu=(Uu=Ru.now())+zu,Nu=Lu=0;try{!function(){Hu(),++Nu;for(var e,t=_u;t;)(e=Wu-t._time)>=0&&t._call.call(null,e),t=t._next;--Nu}()}finally{Nu=0,function(){var e,t,n=_u,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:_u=t);Iu=e,Zu(r)}(),Wu=0}}function Ku(){var e=Ru.now(),t=e-Uu;t>1e3&&(zu-=t,Uu=e)}function Zu(e){Nu||(Lu&&(Lu=clearTimeout(Lu)),e-Wu>24?(e<1/0&&(Lu=setTimeout($u,e-Ru.now()-zu)),Fu&&(Fu=clearInterval(Fu))):(Fu||(Uu=Ru.now(),Fu=setInterval(Ku,1e3)),Nu=1,Vu($u)))}function Qu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}qu.prototype=Yu.prototype={constructor:qu,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Hu():+n)+(null==t?0:+t),this._next||Iu===this||(Iu?Iu._next=this:_u=this,Iu=this),this._call=e,this._time=n,Zu()},stop:function(){this._call&&(this._call=null,this._time=1/0,Zu())}};var Xu=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n,r;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(Hu()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=Yu(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:Hu(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&Qu(t.prototype,n),r&&Qu(t,r),e}(),Gu=d.a.createContext({transitionTimer:new Xu,animationTimer:new Xu});Gu.displayName="TimerContext";var Ju=Gu;function ec(){return(ec=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nc(e,t,n[t])}))}return e}function nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ac(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var ic=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ac(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=S()(e)&&void 0!==e.containerId?e.containerId:Pu()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&C()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return tc({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,n){var r=e.title,a=e.desc,i=e.portalComponent,o=e.className,u=e.width,f=e.height,l=e.portalZIndex,s=e.responsive,p=this.getChildren(e),h=s?{width:"100%",height:"100%"}:{width:u,height:f},g=c()({pointerEvents:"none",touchAction:"none",position:"relative"},h),y=c()({zIndex:l,position:"absolute",top:0,left:0},h),v=c()({pointerEvents:"all"},h),b=c()({overflow:"visible"},h),m={width:u,height:f,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:b};return d.a.createElement(Lo.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},d.a.createElement("div",ec({style:I()({},n,g),className:o,ref:this.saveContainerRef},this.getOUIAProps(e)),d.a.createElement("svg",ec({},t,{style:v}),r?d.a.createElement("title",{id:this.getIdForElement("title")},r):null,a?d.a.createElement("desc",{id:this.getIdForElement("desc")},a):null,p),d.a.createElement("div",{style:y},d.a.cloneElement(i,tc({},m,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,a=e.events,i=e.title,o=e.desc,u=e.tabIndex,f=e.preserveAspectRatio,l=r?this.props.style:se.omit(this.props.style,["height","width"]),s=c()({width:t,height:n,tabIndex:u,role:"img","aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[o&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?f:void 0},a);return this.renderContainer(this.props,s,l)}}])&&rc(n.prototype,r),a&&rc(n,a),t}(d.a.Component);Object.defineProperty(ic,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(ic,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(ic,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":l.a.string,"aria-labelledby":l.a.string,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node]),className:l.a.string,containerId:l.a.oneOfType([l.a.number,l.a.string]),containerRef:l.a.func,desc:l.a.string,events:l.a.object,height:Eo.nonNegative,name:l.a.string,origin:l.a.shape({x:Eo.nonNegative,y:Eo.nonNegative}),ouiaId:l.a.oneOfType([l.a.number,l.a.string]),ouiaSafe:l.a.bool,ouiaType:l.a.string,polar:l.a.bool,portalComponent:l.a.element,portalZIndex:Eo.integer,preserveAspectRatio:l.a.string,responsive:l.a.bool,style:l.a.object,tabIndex:l.a.number,theme:l.a.object,title:l.a.string,width:Eo.nonNegative}}),Object.defineProperty(ic,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:d.a.createElement(Du,null),portalZIndex:99,responsive:!0}}),Object.defineProperty(ic,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Ju});var oc=n(48),uc=n.n(oc),cc=n(34),fc=n.n(cc);function lc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var dc={getEvents:function(e,t,n,r){var a,i=this,o=function(e){var r,a=(r=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?y()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e:e.concat(n)}),[]),void 0!==n&&"parent"!==t?r.filter((function(e){var t=e.eventKey,r=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some((function(e){return r(e)})):r(t)})):r);return Array.isArray(a)&&a.reduce((function(e,t){return t?c()(e,t.eventHandlers):e}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(e.events)?(a=i.componentEvents).concat.apply(a,sc(e.events)):i.componentEvents:e.events,f=u&&C()(r)?r(o(u),t):void 0;if(!e.sharedEvents)return f;var l=e.sharedEvents.getEvents,s=e.sharedEvents.events&&l(o(e.sharedEvents.events),t);return c()({},s,f)},getScopedEvents:function(e,t,n,r){var a=this;if(o()(e))return{};r=r||this.baseProps;var i=function(e,t){var n=e.childName,i=e.target,o=e.key,u="props"===t?r:a.state||{},c=null!=n&&u[n]?u[n]:u;return"parent"===o?c.parent:c[o]&&c[o][i]},u=function(e,o){var u="parent"===t?e.childName:e.childName||n,f=e.target||t,l=function(t,n){var o=a.state||{};if(!C()(e.mutation))return o;var u=i({childName:n,key:t,target:f},"props"),l=i({childName:n,key:t,target:f},"state"),s=e.mutation(c()({},u,l),r),d=o[n]||{},p=function(e){return s?function(e){return"parent"===f?c()(e,lc({},t,c()(e[t],s))):c()(e,lc({},t,c()(e[t],lc({},f,s))))}(e):function(e){return e[t]&&e[t][f]&&delete e[t][f],e[t]&&!ee()(e[t]).length&&delete e[t],e}(e)};return null!=n?c()(o,lc({},n,p(d))):p(o)},s=function(t){var n=function(t){return"parent"===f?"parent":"all"===e.eventKey?r[t]?h()(ee()(r[t]),"parent"):h()(ee()(r),"parent"):void 0===e.eventKey&&"parent"===o?r[t]?ee()(r[t]):ee()(r):void 0!==e.eventKey?e.eventKey:o}(t);return Array.isArray(n)?n.reduce((function(e,n){return c()(e,l(n,t))}),{}):l(n,t)},d="all"===u?h()(ee()(r),"parent"):u;return Array.isArray(d)?d.reduce((function(e,t){return c()(e,s(t))}),{}):s(d)},f=function(t,n,r,i){var f=e[i](t,n,r,a);if(!o()(f)){var l=function(e){var t=function(e){return C()(e.callback)&&e.callback},n=(Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]).filter((function(e){return!1!==e}));return n.length?function(){return n.forEach((function(e){return e()}))}:void 0}(f);a.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return e=c()({},e,u(n,t))}),{}):u(e,t)}(f,r),l)}};return ee()(e).reduce((function(e,t){return e[t]=f,e}),{})},getPartialEvents:function(e,t,n){return e?ee()(e).reduce((function(r,a){return r[a]=function(r){return e[a](r,n,t,a)},r}),{}):{}},getEventState:function(e,t,n){var r=this.state||{};return n?r[n]&&r[n][e]&&r[n][e][t]:"parent"===e?r[e]&&r[e][t]||r[e]:r[e]&&r[e][t]},getExternalMutationsWithChildren:function(e,t,n,r){var a=this;return t=t||{},n=n||{},r.reduce((function(r,i){var u=n[i],c=a.getExternalMutations(e,t[i],n[i],i);return r[i]=c||u,fc()(r,(function(e){return!o()(e)}))}),{})},getExternalMutations:function(e,t,n,r){var a=this;return t=t||{},n=n||{},ee()(t).reduce((function(i,u){var f=n[u]||{},l=t[u]||{};if("parent"===u){var s={eventKey:u,target:"parent"},d=a.getExternalMutation(e,l,f,s);i[u]=void 0!==d?c()({},f,d):f}else{var p=M()(ee()(l).concat(ee()(f)));i[u]=p.reduce((function(t,n){var i={eventKey:u,target:n,childName:r},s=a.getExternalMutation(e,l[n],f[n],i);return t[n]=void 0!==s?c()({},f[n],s):f[n],fc()(t,(function(e){return!o()(e)}))}),{})}return fc()(i,(function(e){return!o()(e)}))}),{})},getExternalMutation:function(e,t,n,r){var a=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===r[t];if(Array.isArray(e[t])){var n=e[t].map((function(e){return"".concat(e)}));return y()(n,r[t])}return!1},i=e=Array.isArray(e)?e:[e];r.childName&&(i=e.filter((function(e){return a(e,"childName")})));var u=i.filter((function(e){return a(e,"target")}));if(!o()(u)){var f=u.filter((function(e){return a(e,"eventKey")}));if(!o()(f))return f.reduce((function(e,r){var a=(r&&C()(r.mutation)?r.mutation:function(){})(c()({},t,n));return c()({},e,a)}),{})}},getComponentEvents:function(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var r,a=e[n],i=a&&a.type&&a.type.defaultEvents,o=C()(i)?i(a.props):i;return t=Array.isArray(o)?(r=t).concat.apply(r,sc(o)):t}),[]);return n&&n.length?n:void 0}},pc=n(13),hc=n.n(pc);function gc(e){return+e}function yc(e){return e*e}function vc(e){return e*(2-e)}function bc(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function mc(e){return e*e*e}function xc(e){return--e*e*e+1}function wc(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Oc=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),Ac=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),Mc=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),kc=Math.PI,Ec=kc/2;function Tc(e){return 1-Math.cos(e*Ec)}function Sc(e){return Math.sin(e*Ec)}function Pc(e){return(1-Math.cos(kc*e))/2}function Cc(e){return Math.pow(2,10*e-10)}function jc(e){return 1-Math.pow(2,-10*e)}function Dc(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}function _c(e){return 1-Math.sqrt(1-e*e)}function Ic(e){return Math.sqrt(1- --e*e)}function Nc(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var Lc=7.5625;function Fc(e){return 1-Uc(1-e)}function Uc(e){return(e=+e)<4/11?Lc*e*e:e<8/11?Lc*(e-=6/11)*e+3/4:e<10/11?Lc*(e-=9/11)*e+15/16:Lc*(e-=21/22)*e+63/64}function Wc(e){return((e*=2)<=1?1-Uc(1-e):Uc(e-1)+1)/2}var zc=function e(t){function n(e){return e*e*((t+1)*e-t)}return t=+t,n.overshoot=e,n}(1.70158),Rc=function e(t){function n(e){return--e*e*((t+1)*e+t)+1}return t=+t,n.overshoot=e,n}(1.70158),Vc=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(1.70158),Hc=2*Math.PI,Bc=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Hc);function a(e){return t*Math.pow(2,10*--e)*Math.sin((r-e)/n)}return a.amplitude=function(t){return e(t,n*Hc)},a.period=function(n){return e(t,n)},a}(1,.3),qc=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Hc);function a(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+r)/n)}return a.amplitude=function(t){return e(t,n*Hc)},a.period=function(n){return e(t,n)},a}(1,.3),Yc=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Hc);function a(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((r-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((r+e)/n))/2}return a.amplitude=function(t){return e(t,n*Hc)},a.period=function(n){return e(t,n)},a}(1,.3),$c=function(e){if(null!==e)switch(typeof e){case"undefined":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return e instanceof Date||Array.isArray(e)||B()(e);case"function":return!0}return!1},Kc=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},Zc=function(e,t){return function(n){return n>=1?t:function(){var r="function"==typeof e?e.apply(this,arguments):e,a="function"==typeof t?t.apply(this,arguments):t;return jt(r,a)(n)}}},Qc=function(e,t){var n,r,a,i=function(e){return Array.isArray(e)?x()(e,"key"):e},o={},u={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?o[n]=(r=i(e[n]),a=i(t[n]),r!==a&&$c(r)&&$c(a)?"function"==typeof r||"function"==typeof a?Zc(r,a):"object"==typeof r&&B()(r)||"object"==typeof a&&B()(a)?Qc(r,a):jt(r,a):Kc(r,a)):u[n]=t[n];return function(e){for(n in o)u[n]=o[n](e);return u}},Xc=function(e,t){return e!==t&&$c(e)&&$c(t)?"function"==typeof e||"function"==typeof t?Zc(e,t):B()(e)||B()(t)?Qc(e,t):"string"==typeof e||"string"==typeof t?function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return jt(n(e),n(t))}(e,t):jt(e,t):Kc(e,t)};function Gc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Jc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ef(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var tf=function(e){function t(e,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ef(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={data:Array.isArray(r.props.data)?r.props.data[0]:r.props.data,animationInfo:{progress:0,animating:!1}},r.interpolator=null,r.queue=Array.isArray(r.props.data)?r.props.data.slice(1):[],r.ease=a[r.toNewName(r.props.easing)],r.functionToBeRunEachFrame=r.functionToBeRunEachFrame.bind(ef(r)),r.timer=r.context.animationTimer,r}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"shouldComponentUpdate",value:function(e,t){var n,r=hc()(this.props,e);r||(this.timer.unsubscribe(this.loopID),Array.isArray(e.data)?(n=this.queue).push.apply(n,Gc(e.data)):(this.queue.length=0,this.queue.push(e.data)),this.traverseQueue());return t.animationInfo.animating||t.animationInfo.terminating||!r}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(e){var t;return"ease".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}},{key:"traverseQueue",value:function(){var e=this;if(this.queue.length){var t=this.queue[0];this.interpolator=Xc(this.state.data,t),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(e,t){var n=(t=void 0!==t?t:this.props.duration)?e/t:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),this.loopID&&this.timer.unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&Jc(n.prototype,r),i&&Jc(n,i),t}(d.a.Component);function nf(e,t){return(e.key||t).toString()}function rf(e){return e.reduce((function(e,t,n){return e[nf(t,n)]=t,e}),{})}function af(e,t){var n=!1,r=ee()(e).reduce((function(e,r){return r in t||(n=!0,e[r]=!0),e}),{});return n&&r}function of(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}Object.defineProperty(tf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(tf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l.a.func,data:l.a.oneOfType([l.a.object,l.a.array]),delay:l.a.number,duration:l.a.number,easing:l.a.oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:l.a.func}}),Object.defineProperty(tf,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(tf,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Ju});var uf={getInitialTransitionState:function(e,t){var n=!1,r=!1,a=function(e,t){if(!t||e.type!==t.type)return{};var a,i,o,u,c=(a=of(e),i=of(t),o=a&&rf(a),u=i&&rf(i),{entering:o&&af(u,o),exiting:u&&af(o,u)}||{}),f=c.entering,l=c.exiting;return n=n||!!l,r=r||!!f,{entering:f||!1,exiting:l||!1}},i=function(e,t){return e.map((function(n,r){return n&&n.props&&n.props.children&&t[r]?i(d.a.Children.toArray(e[r].props.children),d.a.Children.toArray(t[r].props.children)):a(n,t[r])}))},o=i(d.a.Children.toArray(e),d.a.Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}},getTransitionPropsFactory:function(e,t,n){var r=t&&t.nodesWillExit,a=t&&t.nodesWillEnter,i=t&&t.nodesShouldEnter,o=t&&t.nodesShouldLoad,u=t&&t.nodesDoneLoad,f=t&&t.childrenTransitions||[],l={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},s=function(e,t,r){return o?function(e,t,n){if((e=c()({},e,{onEnd:n}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var r=e.onLoad&&e.onLoad.after?e.onLoad.after:D.a;return{animate:e,data:t=t.map((function(e,n){return c()({},e,r(e,n,t))}))}}(r,t,(function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})})):function(e,t,n,r){if((e=c()({},e,{onEnd:r}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:n};var a=e.onLoad&&e.onLoad.before?e.onLoad.before:D.a;return{animate:e,data:n=n.map((function(e,t){return c()({},e,a(e,t,n))})),clipWidth:0}}(r,0,t,(function(){n({nodesDoneLoad:!0})}))},d=function(e,t,r,a){return function(e,t,n,r,a){var i=e&&e.onExit;if(e=c()({},e,i),r){e.onEnd=a;var o=e.onExit&&e.onExit.before?e.onExit.before:D.a;n=n.map((function(e,t){var a=(e.key||t).toString();return r[a]?c()({},e,o(e,t,n)):e}))}return{animate:e,data:n}}(a,0,r,e,(function(){n({nodesWillExit:!1})}))},p=function(e,t,r,a){return i?function(e,t,n,r){var a=e&&e.onEnter;if(e=c()({},e,a),n){e.onEnd=r;var i=e.onEnter&&e.onEnter.after?e.onEnter.after:D.a;t=t.map((function(e,r){var a=nf(e,r);return n[a]?c()({},e,i(e,r,t)):e}))}return{animate:e,data:t}}(a,r,e,(function(){n({nodesWillEnter:!1})})):function(e,t,n,r,a){if(r){var i=(e=c()({},e,{onEnd:a})).onEnter&&e.onEnter.before?e.onEnter.before:D.a;n=n.map((function(e,t){var a=(e.key||t).toString();return r[a]?c()({},e,i(e,t,n)):e}))}return{animate:e,data:n}}(a,0,r,e,(function(){n({nodesShouldEnter:!0})}))},h=function(e,t){var n=e.props.animate;if(!e.type)return{};var r=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(r){var a=n[t]&&n[t].duration;return void 0!==a?a:r[t]&&r[t].duration}return{}};return function(n,o){var g=of(n)||[],y=I()({},e.animate,n.props.animate),v=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=I()({},y.onExit,v&&v.onExit),y.onEnter=I()({},y.onEnter,v&&v.onEnter),y.onLoad=I()({},y.onLoad,v&&v.onLoad);var b=f[o]||f[0];if(!u){var m={duration:void 0!==l.load?l.load:h(n,"onLoad")};return s(0,g,c()({},y,m))}if(r){var x=b&&b.exiting,w=void 0!==l.exit?l.exit:h(n,"onExit"),O=x?{duration:w}:{delay:w};return d(x,0,g,c()({},y,O))}if(a){var A=b&&b.entering,M=void 0!==l.enter?l.enter:h(n,"onEnter"),k=void 0!==l.move?l.move:n.props.animate&&n.props.animate.duration,E={duration:i&&A?M:k};return p(A,0,g,c()({},y,E))}return!t&&y&&y.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:D.a;return{data:t.map((function(e,r){return c()({},e,n(e,r,t))}))}}(y,g):{animate:y,data:g}}}};function cf(){return(cf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ff(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var sf=function(e){function t(e,n){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?lf(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var a=r.props.children,i=a.props.polar;return r.continuous=!i&&a.type&&!0===a.type.continuous,r.getTransitionState=r.getTransitionState.bind(lf(r)),r.timer=r.context.transitionTimer,r}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return hc()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(function(){return t.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};var r=d.a.Children.toArray(e.children),a=d.a.Children.toArray(t.children),i=uf.getInitialTransitionState(r,a),o=i.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:i.nodesWillEnter,childrenTransitions:i.childrenTransitions,nodesShouldEnter:i.nodesShouldEnter,oldProps:o?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce((function(e,r){if(r.type&&C()(r.type.getDomain)){var a=r.props&&r.type.getDomain(r.props,t);return a?e.concat(a):e}return r.props&&r.props.children?e.concat(n(d.a.Children.toArray(r.props.children))):e}),[])},r=d.a.Children.toArray(e.children)[0],a=r.props||{},i=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[t];if(!a.children&&i)return i;var o=n([r]);return 0===o.length?[0,1]:[U.getMinValue(o),U.getMaxValue(o)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=S()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?(this.continous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}},{key:"getClipWidth",value:function(e,t){var n,r=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==r?r:(n=se.getRange(t.props,"x"))?Math.abs(n[1]-n[0]):e.width}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=S()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:uf.getTransitionPropsFactory(t,this.state,(function(t){return e.setState(t)})),r=d.a.Children.toArray(t.children)[0],a=n(r);this.transitionProps=a;var i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},o=this.getClipWidth(t,r),u=I()({domain:i,clipWidth:o},a,r.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),f=c.length?ne()(u,c):u;return d.a.createElement(tf,cf({},u.animate,{data:f}),(function(t){if(r.props.groupComponent){var n=e.continuous?d.a.cloneElement(r.props.groupComponent,{clipWidth:t.clipWidth||0}):r.props.groupComponent;return d.a.cloneElement(r,I()({animate:null,animating:!0,groupComponent:n},t,u))}return d.a.cloneElement(r,I()({animate:null,animating:!0},t,u))}))}}])&&ff(n.prototype,r),a&&ff(n,a),t}(d.a.Component);function df(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function pf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(sf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(sf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:l.a.oneOfType([l.a.bool,l.a.object]),animationWhitelist:l.a.array,children:l.a.node}}),Object.defineProperty(sf,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Ju});var gf=function(e){return!uc()(e._x)&&!uc()(e._y)},yf=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function vf(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function bf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mf={top:-1,left:-1,right:1,bottom:1},xf=function(e,t){var n=e.style||{};t=t||{};return{parent:I()(n.parent,t.parent,{height:"100%",width:"100%"}),axis:I()({},n.axis,t.axis),axisLabel:I()({},n.axisLabel,t.axisLabel),grid:I()({},n.grid,t.grid),ticks:I()({},n.ticks,t.ticks),tickLabels:I()({},n.tickLabels,t.tickLabels)}},wf=function(e,t,n){var r=e.position,a=e.transform;return{x1:a.x,y1:a.y,x2:a.x+r.x2,y2:a.y+r.y2,style:t,datum:n}},Of=function(e,t,n,r,a){var i=e.position,o=e.transform;return{style:t,x:o.x+i.x,y:o.y+i.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:a,datum:r}},Af=function(e,t,n){var r=e.edge,a=e.transform;return{type:"grid",x1:a.x,y1:a.y,x2:r.x+a.x,y2:r.y+a.y,style:t,datum:n}},Mf=function(e,t,n){var r=t.orientation,a=t.axis,i=eo.getAxisValue(e,a);return{top:{x:0,y:void 0!==i?i:n.y},bottom:{x:0,y:void 0!==i?i:e.height-n.y},left:{x:void 0!==i?i:n.x,y:0},right:{x:void 0!==i?i:e.width-n.x,y:0}}[r]},kf=function(e,t,n){var r=e.tickStyle,a=e.labelStyle,i=r.size||0,o=i+(r.padding||0)+(a.padding||0),u=mf[t];return{x:n?u*o:0,x2:n?u*i:0,y:n?0:u*o,y2:n?0:u*i}},Ef=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},Tf=function(e,t){var n=t.orientation,r=t.padding,a=t.isVertical,i=-mf[n];return{x:a?i*(e.width-(r.left+r.right)):0,y:a?0:i*(e.height-(r.top+r.bottom))}},Sf=function(e,t,n){var r=t.padding,a=t.orientation,i="right"===a?r.right:r.left,o="top"===a?r.top:r.bottom;return{x:e.crossAxis?n.x-i:0,y:e.crossAxis?n.y-o:0}},Pf=function(e,t){var n=function(e,t){var n=t.style,r=t.padding,a=t.isVertical,i=t.orientation,o=t.labelPadding,u=t.stringTicks,f=t.ticks,l=t.scale,s=t.axis,d=e.polar,p=e.horizontal,h={scale:bf({},s,l),polar:d,horizontal:p,ticks:f,stringTicks:u},g="right"===i?r.right:r.left,y="top"===i?r.top:r.bottom,v=n.axisLabel.fontSize||14,b=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:g,m=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:y,x=f.map((function(t,r){var a=u?e.tickValues[t-1]:t;return se.evaluateStyle(n.ticks,c()({},h,{tick:a,index:r})).size||0})),w=v+2*Math.max.apply(Math,vf(x))+o,O=1.2*v;return{x:null!=b?b:a?w:O,y:null!=m?m:a?O:w}}(e,t);return{globalTransform:Mf(e,t,n),gridOffset:Sf(e,t,n),gridEdge:Tf(e,t)}},Cf=function(e){var t=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",i=t&&t[a]&&t[a].style;return r&&i?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=I()({},i[t],r[t]),e}),{}):i||r}(e),n=xf(e,t),r=se.getPadding(e),a=eo.isVertical(e),i=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=eo.isVertical(e),a=n.fontSize||14;return e.label?a*(r?2.3:1.6):0}(e,n),o=eo.stringTicks(e)?e.tickValues:void 0,u=eo.getAxis(e),c=function(e){if(e.orientation)return e.orientation;var t={dependent:e.horizontal?"bottom":"left",independent:e.horizontal?"left":"bottom"};return e.dependentAxis?t.dependent:t.independent}(e),f=function(e){var t=eo.getAxis(e),n=function(e,t){var n=e.orientation,r=e.horizontal;if(n){return{top:"x",bottom:"x",left:"y",right:"y"}[n]}return r?"x"===t?"y":"x":t}(e,t),r=yi.getBaseScale(e,t),a=e.domain&&e.domain[t]||eo.getDomain(e)||r.domain();return r.range(se.getRange(e,n)),r.domain(a),r}(e),l=eo.getDomain(e),s=eo.getTicks(e,f,e.crossAxis),d=eo.getTickFormat(e,f);return{axis:u,style:n,padding:r,orientation:c,isVertical:a,labelPadding:i,stringTicks:o,anchors:function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"}[e];return{textAnchor:t?n:"middle",verticalAnchor:t?"middle":n}}(c,a),scale:f,ticks:s,tickFormat:d,domain:l}},jf=function(e,t){e=eo.modifyProps(e,t);var n=Cf(e),r=n.axis,a=n.style,i=n.orientation,o=n.isVertical,u=n.scale,f=n.ticks,l=n.tickFormat,s=n.anchors,d=n.domain,p=n.stringTicks,h=n.name,g="x"===r?"y":"x",y=e,v=y.width,b=y.height,m=y.standalone,x=y.theme,w=y.polar,O=y.padding,A=y.horizontal,M=Pf(e,n),k=M.globalTransform,E=M.gridOffset,T=M.gridEdge,S={scale:bf({},r,u),polar:w,horizontal:A,ticks:f,stringTicks:p},P=function(e,t,n){var r=t.style,a=t.padding,i=t.isVertical,o=e.width,u=e.height;return{type:"axis",style:r.axis,x1:i?n.x:a.left+n.x,x2:i?n.x:o-a.right+n.x,y1:i?a.top+n.y:n.y,y2:i?u-a.bottom+n.y:n.y}}(e,n,k),C=function(e,t,n){var r=t.style,a=t.orientation,i=t.padding,o=t.labelPadding,u=t.isVertical,c=mf[a],f=i.left+i.right,l=i.top+i.bottom,s=c<0?"end":"start",d=r.axisLabel,p=u?-90:0;return{x:u?n.x+c*o:(e.width-f)/2+i.left+n.x,y:u?(e.height-l)/2+i.top+n.y:c*o+n.y,verticalAnchor:d.verticalAnchor||s,textAnchor:d.textAnchor||"middle",angle:void 0===d.angle?p:d.angle,style:d,text:e.label}}(e,n,k),j={parent:c()({style:a.parent,ticks:f,standalone:m,theme:x,width:v,height:b,padding:O,domain:d,name:h},S)},D={dimension:g,range:bf({},g,se.getRange(e,g)),scale:e.scale&&e.scale[g]?bf({},g,e.scale[g]):void 0};return f.reduce((function(e,t,n){var d=p?p[n]:t,h=l(t,n,f),g=function(e,t){return{tickStyle:se.evaluateStyle(e.ticks,t),labelStyle:se.evaluateStyle(e.tickLabels,t),gridStyle:se.evaluateStyle(e.grid,t)}}(a,c()({},S,{tick:d,tickValue:t,index:n,text:h})),y={position:kf(g,i,o),transform:Ef(u(t),k,o)},v={edge:T,transform:{x:o?-E.x+k.x:u(t)+k.x,y:o?u(t)+k.y:E.y+k.y}};return e[n]={axis:c()({dimension:r},S,P),axisLabel:c()({},S,C),ticks:c()({},S,wf(y,g.tickStyle,t)),tickLabels:c()({},S,Of(y,g.labelStyle,s,t,h)),grid:c()({},S,D,Af(v,g.gridStyle,t))},e}),j)};function Df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function If(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lf(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ff={width:450,height:300,padding:50},Uf=function(e){function t(){return If(this,t),Lf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"renderLine",value:function(e){var t=e.axisComponent,n=this.getComponentProps(t,"axis",0);return d.a.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent;if(!e.label)return null;var n=this.getComponentProps(t,"axisLabel",0);return d.a.cloneElement(t,n)}},{key:"renderGridAndTicks",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.gridComponent,i=e.name,u=function(e){var t=e.style,n=void 0===t?{}:t,r=e.events,a=void 0===r?{}:r;return"transparent"!==n.stroke&&"none"!==n.stroke&&0!==n.strokeWidth||!o()(a)};return this.dataKeys.map((function(o,c){var f=t.getComponentProps(n,"ticks",c),l=d.a.cloneElement(n,f),s=u(l.props)?l:void 0,p=t.getComponentProps(a,"grid",c),h=d.a.cloneElement(a,p),g=u(h.props)?h:void 0,y=t.getComponentProps(r,"tickLabels",c),v=[g,s,d.a.cloneElement(r,y)].filter(Boolean);return d.a.cloneElement(e.groupComponent,{key:"".concat(i,"-tick-group-").concat(o)},v)}))}},{key:"fixLabelOverlap",value:function(e,t){var n=eo.isVertical(t),r=n?t.height:t.width,a=function(e){return e.type&&"label"===e.type.role},i=e.map((function(e){return e.props.children})).reduce((function(e,t){return e.concat(t)}),[]).filter(a).map((function(e){return e.props})),o=i.reduce((function(e,t){var r=function(e){return"object"==typeof e?c()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}(t.style.padding),a=ho(t.text,{angle:t.angle,fontSize:t.style.fontSize,letterSpacing:t.style.letterSpacing,fontFamily:t.style.fontFamily});return e+(n?a.height+r.top+r.bottom:a.width+r.right+r.left)}),0),u=Math.floor(r*e.length/o),f=Math.ceil(e.length/u)||1,l=function(e){return e.props.children.filter(a).reduce((function(e,t){return(n?t.props.y:t.props.x)||0}),0)};return e.sort((function(e,t){return n?l(t)-l(e):l(e)-l(t)})).filter((function(e,t){return t%f==0}))}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=eo.modifyProps(this.props,Ff);if(this.shouldAnimate())return this.animateComponent(n,e);var r=this.renderGridAndTicks(n),a=n.fixLabelOverlap?this.fixLabelOverlap(r,n):r,i=[this.renderLine(n),this.renderLabel(n)].concat(_f(a));return n.standalone?this.renderContainer(n.containerComponent,i):d.a.cloneElement(n.groupComponent,{},i)}}])&&Nf(n.prototype,r),a&&Nf(n,a),t}(d.a.Component);Object.defineProperty(Uf,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"]}),Object.defineProperty(Uf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(Uf,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(Uf,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(Uf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Df(e,t,n[t])}))}return e}({},So.baseProps,{axisComponent:l.a.element,axisLabelComponent:l.a.element,axisValue:l.a.oneOfType([l.a.number,l.a.string,l.a.object]),categories:l.a.oneOfType([l.a.arrayOf(l.a.string),l.a.shape({x:l.a.arrayOf(l.a.string),y:l.a.arrayOf(l.a.string)})]),crossAxis:l.a.bool,dependentAxis:l.a.bool,events:l.a.arrayOf(l.a.shape({target:l.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:l.a.oneOfType([l.a.array,Eo.allOfType([Eo.integer,Eo.nonNegative]),l.a.string]),eventHandlers:l.a.object})),fixLabelOverlap:l.a.bool,gridComponent:l.a.element,groupComponent:l.a.element,invertAxis:l.a.bool,label:l.a.any,offsetX:l.a.number,offsetY:l.a.number,orientation:l.a.oneOf(["top","bottom","left","right"]),origin:l.a.shape({x:l.a.number,y:l.a.number}),stringMap:l.a.object,style:l.a.shape({parent:l.a.object,axis:l.a.object,axisLabel:l.a.object,grid:l.a.object,ticks:l.a.object,tickLabels:l.a.object}),tickComponent:l.a.element,tickCount:Eo.allOfType([Eo.integer,Eo.greaterThanZero]),tickFormat:l.a.oneOfType([l.a.func,Eo.homogeneousArray]),tickLabelComponent:l.a.element,tickValues:Eo.homogeneousArray})}),Object.defineProperty(Uf,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:d.a.createElement(Io,{type:"axis"}),axisLabelComponent:d.a.createElement(vu,null),tickLabelComponent:d.a.createElement(vu,null),tickComponent:d.a.createElement(Io,{type:"tick"}),gridComponent:d.a.createElement(Io,{type:"grid"}),standalone:!0,theme:Tu.grayscale,containerComponent:d.a.createElement(ic,null),groupComponent:d.a.createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(Uf,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:eo.getDomain}),Object.defineProperty(Uf,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:eo.getAxis}),Object.defineProperty(Uf,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return xf(e,Ff.style)}}),Object.defineProperty(Uf,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return jf(e,Ff)}}),Object.defineProperty(Uf,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]});var Wf,zf,Rf=(zf={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?hf(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));var r=dc.getScopedEvents.bind(hf(n)),a=dc.getEvents.bind(hf(n));n.state={},n.getEvents=function(e,t,n){return a(e,t,n,r)},n.getEventState=dc.getEventState.bind(hf(n));var i=n.getCalculatedValues(e);return n.cacheValues(i),n.externalMutations=n.getExternalMutations(e),n.calculatedState=n.getStateChanges(e),n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"shouldComponentUpdate",value:function(e){var t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,r=!hc()(t,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;var a=this.getStateChanges(e);return hc()(this.calculatedState,a)?!hc()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}},{key:"componentDidUpdate",value:function(e){var t=this.getStateChanges(e);this.calculatedState=t}},{key:"getStateChanges",value:function(e){var t=this;if(!this.hasEvents)return{};var n=function(e,n){var r=I()({},t.getEventState(e,n),t.getSharedEventState(e,n));return o()(r)?void 0:r};return((zf=zf||{}).components||yf).map((function(r){return e.standalone||"parent"!==r.name?void 0!==r.index?n(r.index,r.name):t.dataKeys.map((function(e){return n(e,r.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!o()(t)){var n=e.externalEventMutations.reduce((function(e,t){return e=C()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getCalculatedValues",value:function(e){var t=e.sharedEvents,n=Wf.expectedComponents,r=dc.getComponentEvents(e,n),a=t&&C()(t.getEventState)?t.getEventState:function(){},i=this.getBaseProps(e,a);return{componentEvents:r,getSharedEventState:a,baseProps:i,dataKeys:ee()(i).filter((function(e){return"parent"!==e})),hasEvents:e.events||e.sharedEvents||r,events:this.getAllEvents(e)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return o()(n)||t?void 0:dc.getExternalMutations(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;ee()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(e,t){var n=(t=t||this.getSharedEventState)("parent","parent"),r=this.getEventState("parent","parent"),a=I()({},r,n),i=a.parentControlledProps,o=i?ne()(a,i):{},u=I()({},o,e);return C()(Wf.getBaseProps)?Wf.getBaseProps(u):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,df(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(e,t,n){var r=this.props.name||Wf.role,a=this.dataKeys&&this.dataKeys[n]||n,i="".concat(r,"-").concat(t,"-").concat(a),o=this.baseProps[a]&&this.baseProps[a][t]||this.baseProps[a];if(o||this.hasEvents){if(this.hasEvents){var u=this.getEvents(this.props,t,a),f=I()({index:n,key:i},this.getEventState(a,t),this.getSharedEventState(a,t),e.props,o,{id:i}),l=I()({},dc.getPartialEvents(u,a,f),f.events);return c()({},f,{events:l})}return I()({index:n,key:i},e.props,o,{id:i})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return d.a.cloneElement(e,n,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return d.a.createElement(sf,{animate:e.animate,animationWhitelist:n},d.a.createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,r=e.labelComponent,a=e.groupComponent,i=h()(this.dataKeys,"all").reduce((function(e,n){var a=t.getComponentProps(r,"labels",n);return a&&void 0!==a.text&&null!==a.text&&(e=e.concat(d.a.cloneElement(r,a))),e}),[]),o=this.getComponentProps(n,"data","all"),u=[d.a.cloneElement(n,o)].concat(df(i));return this.renderContainer(a,u)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gf,r=e.dataComponent,a=e.labelComponent,i=e.groupComponent,o=this.dataKeys.reduce((function(e,a,i){var o=t.getComponentProps(r,"data",i);return n(o.datum)&&e.push(d.a.cloneElement(r,o)),e}),[]),u=this.dataKeys.map((function(e,n){var r=t.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return d.a.cloneElement(a,r)})).filter(Boolean),c=df(o).concat(df(u));return this.renderContainer(i,c)}}])&&pf(n.prototype,r),a&&pf(n,a),t}(Wf=Uf))}])}));
  //# sourceMappingURL=victory-axis.min.js.map