!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.VictoryChart=t(require("react")):e.VictoryChart=t(e.React)}(self,(function(e){return(()=>{var t={1299:(e,t)=>{function n(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(a,o){if(n.length>0){var i=n.indexOf(this);~i?n.splice(i+1):n.push(this),~i?r.splice(i,1/0,a):r.push(a),~n.indexOf(o)&&(o=t.call(this,a,o))}else n.push(o);return null==e?o:e.call(this,a,o)}}(e.exports=function(e,t,r,a){return JSON.stringify(e,n(t,a),r)}).getSerialize=n},1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),a=n(6582),o=n(3867),i=n(9557),u=n(2726);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=o,c.prototype.has=i,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{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)}},4802:e=>{e.exports=function(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}},8058:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},7431:e=>{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}},6460:e=>{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}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},4793:e=>{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}},7596:(e,t,n)=>{var r=n(999),a=n(6530),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];o.call(e,t)&&a(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2435:e=>{e.exports=function(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},1096:(e,t,n)=>{var r=n(1124),a=n(8058),o=n(7431),i=n(6460),u=n(6535),c=n(555);e.exports=function(e,t,n,l){var s=-1,f=a,p=!0,d=e.length,h=[],y=t.length;if(!d)return h;n&&(t=i(t,u(n))),l?(f=o,p=!1):t.length>=200&&(f=c,p=!1,t=new r(t));e:for(;++s<d;){var g=e[s],v=null==n?g:n(g);if(g=l||0!==g?g:0,p&&v==v){for(var b=y;b--;)if(t[b]===v)continue e;h.push(g)}else f(t,v,l)||h.push(g)}return h}},528:e=>{e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},314:(e,t,n)=>{var r=n(3848),a=n(1754);e.exports=function e(t,n,o,i,u){var c=-1,l=t.length;for(o||(o=a),u||(u=[]);++c<l;){var s=t[c];n>0&&o(s)?n>1?e(s,n-1,o,i,u):r(u,s):i||(u[u.length]=s)}return u}},641:(e,t,n)=>{var r=n(2630)();e.exports=r},5897:(e,t,n)=>{var r=n(641),a=n(2635);e.exports=function(e,t){return e&&r(e,t,a)}},166:(e,t,n)=>{var r=n(8422),a=n(8780);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[a(t[n++])];return n&&n==o?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},8376:(e,t,n)=>{var r=n(5897);e.exports=function(e,t,n,a){return r(e,(function(e,r,o){t(a,n(e),r,o)})),a}},5432:(e,t,n)=>{var r=n(4318),a=n(3387);e.exports=function(e){return a(e)&&"[object Date]"==r(e)}},1071:(e,t,n)=>{var r=n(7229),a=n(3387);e.exports=function e(t,n,o,i,u){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,o,i,e,u))}},7229:(e,t,n)=>{var r=n(4281),a=n(2503),o=n(6001),i=n(8784),u=n(6686),c=n(7236),l=n(8752),s=n(4812),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,g,v){var b=c(e),m=c(t),x=b?p:u(e),w=m?p:u(t),O=(x=x==f?d:x)==d,k=(w=w==f?d:w)==d,A=x==w;if(A&&l(e)){if(!l(t))return!1;b=!0,O=!1}if(A&&!O)return v||(v=new r),b||s(e)?a(e,t,n,y,g,v):o(e,t,x,n,y,g,v);if(!(1&n)){var E=O&&h.call(e,"__wrapped__"),M=k&&h.call(t,"__wrapped__");if(E||M){var C=E?e.value():e,j=M?t.value():t;return v||(v=new r),g(C,j,n,y,v)}}return!!A&&(v||(v=new r),i(e,t,n,y,g,v))}},9157:(e,t,n)=>{var r=n(4281),a=n(1071);e.exports=function(e,t,n,o){var i=n.length,u=i,c=!o;if(null==e)return!u;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<u;){var s=(l=n[i])[0],f=e[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in e))return!1}else{var d=new r;if(o)var h=o(f,p,s,e,t,d);if(!(void 0===h?a(p,f,3,o,d):h))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),a=n(3387);e.exports=function(e){return a(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),a=n(4555),o=n(5362),i=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):u(e)}},8803:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},2920:e=>{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}},8418:(e,t,n)=>{var r=n(9157),a=n(9182),o=n(7375);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),a=n(3795),o=n(3646),i=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return i(e)&&u(t)?c(l(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,3)}}},690:(e,t,n)=>{var r=n(6460),a=n(166),o=n(8904),i=n(2920),u=n(6024),c=n(6535),l=n(1397),s=n(5362),f=n(7236);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return a(t,1===e.length?e[0]:e)}:e})):[s];var p=-1;t=r(t,c(o));var d=i(e,(function(e,n,a){return{criteria:r(t,(function(t){return t(e)})),index:++p,value:e}}));return u(d,(function(e,t){return l(e,t,n)}))}},7410:(e,t,n)=>{var r=n(6621),a=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return a(e,n)}))}},6621:(e,t,n)=>{var r=n(166),a=n(8116),o=n(8422);e.exports=function(e,t,n){for(var i=-1,u=t.length,c={};++i<u;){var l=t[i],s=r(e,l);n(s,l)&&a(c,o(l,e),s)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},797:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,a,o){for(var i=-1,u=n(t((r-e)/(a||1)),0),c=Array(u);u--;)c[o?u:++i]=e,e+=a;return c}},4569:(e,t,n)=>{var r=n(5362),a=n(4468),o=n(8756);e.exports=function(e,t){return o(a(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),a=n(8422),o=n(4363),i=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!i(e))return e;for(var l=-1,s=(t=a(t,e)).length,f=s-1,p=e;null!=p&&++l<s;){var d=u(t[l]),h=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(l!=f){var y=p[d];void 0===(h=c?c(y,d,p):void 0)&&(h=i(y)?y:o(t[l+1])?[]:{})}r(p,d,h),p=p[d]}return e}},6024:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},5159:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=-1,a=e.length,o=0,i=[];++n<a;){var u=e[n],c=t?t(u):u;if(!n||!r(c,l)){var l=c;i[o++]=0===u?0:u}}return i}},454:(e,t,n)=>{var r=n(4690),a=n(6460),o=n(7236),i=n(2945),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},3349:(e,t,n)=>{var r=n(5720),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},4351:(e,t,n)=>{var r=n(1124),a=n(8058),o=n(7431),i=n(555),u=n(8491),c=n(6350);e.exports=function(e,t,n){var l=-1,s=a,f=e.length,p=!0,d=[],h=d;if(n)p=!1,s=o;else if(f>=200){var y=t?null:u(e);if(y)return c(y);p=!1,s=i,h=new r}else h=t?[]:d;e:for(;++l<f;){var g=e[l],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var b=h.length;b--;)if(h[b]===v)continue e;t&&h.push(v),d.push(g)}else s(h,v,n)||(h!==d&&h.push(v),d.push(g))}return d}},925:(e,t,n)=>{var r=n(6460);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),a=n(3266),o=n(3879),i=n(1119);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}},709:(e,t,n)=>{var r=n(2945);e.exports=function(e,t){if(e!==t){var n=void 0!==e,a=null===e,o=e==e,i=r(e),u=void 0!==t,c=null===t,l=t==t,s=r(t);if(!c&&!s&&!i&&e>t||i&&u&&l&&!c&&!s||a&&u&&l||!n&&l||!o)return 1;if(!a&&!i&&!s&&e<t||s&&n&&o&&!a&&!i||c&&n&&o||!u&&o||!l)return-1}return 0}},1397:(e,t,n)=>{var r=n(709);e.exports=function(e,t,n){for(var a=-1,o=e.criteria,i=t.criteria,u=o.length,c=n.length;++a<u;){var l=r(o[a],i[a]);if(l)return a>=c?l:l*("desc"==n[a]?-1:1)}return e.index-t.index}},6051:(e,t,n)=>{var r=n(7596),a=n(999);e.exports=function(e,t,n,o){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=o?o(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),i?a(n,l,s):r(n,l,s)}return n}},5580:(e,t,n)=>{var r=n(4802),a=n(2435),o=n(8904),i=n(7236);e.exports=function(e,t){return function(n,u){var c=i(n)?r:a,l=t?t():{};return c(n,e,o(u,2),l)}}},2544:(e,t,n)=>{var r=n(4569),a=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,u&&a(n[0],n[1],u)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}},2630:e=>{e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++a];if(!1===n(o[c],c,o))break}return t}}},3086:(e,t,n)=>{var r=n(8904),a=n(1580),o=n(2635);e.exports=function(e){return function(t,n,i){var u=Object(t);if(!a(t)){var c=r(n,3);t=o(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,i);return l>-1?u[c?t[l]:l]:void 0}}},3186:(e,t,n)=>{var r=n(8376);e.exports=function(e,t){return function(n,a){return r(n,e,t(a),{})}}},9833:(e,t,n)=>{var r=n(797),a=n(3108),o=n(992);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&a(t,n,i)&&(n=i=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),i=void 0===i?t<n?1:-1:o(i),r(t,n,i,e)}}},8491:e=>{e.exports=function(){}},9346:(e,t,n)=>{var r=n(4457),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},2503:(e,t,n)=>{var r=n(1124),a=n(4793),o=n(555);e.exports=function(e,t,n,i,u,c){var l=1&n,s=e.length,f=t.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,y=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<s;){var v=e[h],b=t[h];if(i)var m=l?i(b,v,h,t,e,c):i(v,b,h,e,t,c);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!a(t,(function(e,t){if(!o(g,t)&&(v===e||u(v,e,n,i,c)))return g.push(t)}))){y=!1;break}}else if(v!==b&&!u(v,b,n,i,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,u){var c=1&n,l=r(e),s=l.length;if(s!=r(t).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in t:a.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var g=c;++f<s;){var v=e[p=l[f]],b=t[p];if(o)var m=c?o(b,v,p,t,e,u):o(v,b,p,e,t,u);if(!(void 0===m?v===b||i(v,b,n,o,u):m)){y=!1;break}g||(g="constructor"==p)}if(y&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),a=n(4468),o=n(8756);e.exports=function(e){return o(a(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5559:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},9182:(e,t,n)=>{var r=n(1457),a=n(2635);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,r(i)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1407:(e,t,n)=>{var r=n(3717)(Object.getPrototypeOf,Object);e.exports=r},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),a=n(6981),o=n(7236),i=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,s=(t=r(t,e)).length,f=!1;++l<s;){var p=c(t[l]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++l!=s?f:!!(s=null==e?0:e.length)&&u(s)&&i(p,s)&&(o(e)||a(e))}},1754:(e,t,n)=>{var r=n(4690),a=n(6981),o=n(7236),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||a(e)||!!(i&&e&&e[i])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),a=n(2945),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\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))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),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))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);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}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,i=o&&o.exports===a&&r.process,u=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),a=Math.max;e.exports=function(e,t,n){return t=a(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,u=a(o.length-t,0),c=Array(u);++i<u;)c[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},6350:e=>{e.exports=function(){return[]}},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},8780:(e,t,n)=>{var r=n(2945);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},5720:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},6782:(e,t,n)=>{var r=n(7596),a=n(6051),o=n(2544),i=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,s=o((function(e,t){if(u(t)||i(t))a(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=s},8211:e=>{e.exports=function(e){return function(){return e}}},7901:(e,t,n)=>{var r=n(4569),a=n(6530),o=n(3108),i=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&o(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=i(s),p=-1,d=f.length;++p<d;){var h=f[p],y=e[h];(void 0===y||a(y,u[h])&&!c.call(e,h))&&(e[h]=s[h])}return e}));e.exports=l},484:(e,t,n)=>{var r=n(1096),a=n(314),o=n(4569),i=n(9747),u=o((function(e,t){return i(e)?r(e,a(t,1,i,!0)):[]}));e.exports=u},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),a=n(8904),o=n(5225),i=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:o(n);return c<0&&(c=i(u+c,0)),r(e,a(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},5161:e=>{e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var a=e[t];r[a[0]]=a[1]}return r}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},1346:(e,t,n)=>{var r=n(999),a=n(5580),o=Object.prototype.hasOwnProperty,i=a((function(e,t,n){o.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},3646:(e,t,n)=>{var r=n(7),a=n(7383);e.exports=function(e,t){return null!=e&&a(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6901:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},3323:(e,t,n)=>{var r=n(8211),a=n(3186),o=n(5362),i=Object.prototype.toString,u=a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=i.call(t)),e[t]=n}),r(o));e.exports=u},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),a=n(9216);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},9747:(e,t,n)=>{var r=n(1580),a=n(3387);e.exports=function(e){return a(e)&&r(e)}},8752:e=>{e.exports=function(){return!1}},7957:(e,t,n)=>{var r=n(5432),a=n(6535),o=n(1782),i=o&&o.isDate,u=i?a(i):r;e.exports=u},6834:(e,t,n)=>{var r=n(8803),a=n(6686),o=n(6981),i=n(7236),u=n(1580),c=n(8752),l=n(5003),s=n(4812),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||s(e)||o(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},9793:(e,t,n)=>{var r=n(1071);e.exports=function(e,t){return r(e,t)}},3839:(e,t,n)=>{var r=n(4318),a=n(5973);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}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6866:e=>{e.exports=function(e){return null==e}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},9636:(e,t,n)=>{var r=n(4318),a=n(1407),o=n(3387),i=Function.prototype,u=Object.prototype,c=i.toString,l=u.hasOwnProperty,s=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==s}},2654:(e,t,n)=>{var r=n(1131),a=n(6535),o=n(1782),i=o&&o.isRegExp,u=i?a(i):r;e.exports=u},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2720:e=>{e.exports=function(e){return void 0===e}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2972:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5913:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},5492:(e,t,n)=>{var r=n(8904),a=n(5913),o=n(9922);e.exports=function(e,t){return o(e,a(r(t)))}},1473:(e,t,n)=>{var r=n(690),a=n(7236);e.exports=function(e,t,n,o){return null==e?[]:(a(t)||(t=null==t?[]:[t]),a(n=o?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},8423:(e,t,n)=>{var r=n(7410),a=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=a},9922:(e,t,n)=>{var r=n(6460),a=n(8904),o=n(6621),i=n(5559);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=a(t),o(e,n,(function(e,n){return t(e,n[0])}))}},1651:(e,t,n)=>{var r=n(1712),a=n(4815),o=n(3266),i=n(8780);e.exports=function(e){return o(e)?r(i(e)):a(e)}},9717:(e,t,n)=>{var r=n(9833)();e.exports=r},1273:e=>{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}},5921:(e,t,n)=>{var r=n(5159);e.exports=function(e){return e&&e.length?r(e):[]}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:(e,t,n)=>{var r=n(3349),a=n(5973),o=n(2945),i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}},1119:(e,t,n)=>{var r=n(454);e.exports=function(e){return null==e?"":r(e)}},1815:(e,t,n)=>{var r=n(4351);e.exports=function(e){return e&&e.length?r(e):[]}},268:(e,t,n)=>{var r=n(8904),a=n(4351);e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},556:(e,t,n)=>{var r=n(1119),a=0;e.exports=function(e){var t=++a;return r(e)+t}},567:(e,t,n)=>{var r=n(925),a=n(2635);e.exports=function(e){return null==e?[]:r(e,a(e))}},6205:(e,t,n)=>{var r=n(1096),a=n(4569),o=n(9747),i=a((function(e,t){return o(e)?r(e,t):[]}));e.exports=i},459:(e,t,n)=>{"use strict";var r=n(5704);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==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:o,resetWarningCache:a};return n.PropTypes=n,n}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var u,c,l,s=t(e),f=t(i);if(s&&f){if((c=e.length)!=i.length)return!1;for(u=c;0!=u--;)if(!o(e[u],i[u]))return!1;return!0}if(s!=f)return!1;var p=e instanceof Date,d=i instanceof Date;if(p!=d)return!1;if(p&&d)return e.getTime()==i.getTime();var h=e instanceof RegExp,y=i instanceof RegExp;if(h!=y)return!1;if(h&&y)return e.toString()==i.toString();var g=n(e);if((c=g.length)!==n(i).length)return!1;for(u=c;0!=u--;)if(!r.call(i,g[u]))return!1;if(a&&e instanceof Element&&i instanceof Element)return e===i;for(u=c;0!=u--;)if(!("_owner"===(l=g[u])&&e.$$typeof||o(e[l],i[l])))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(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}}},9787:t=>{"use strict";t.exports=e}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e](o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var a={};return(()=>{"use strict";r.r(a),r.d(a,{VictoryChart:()=>Ef});var e={};r.r(e),r.d(e,{interpolateCool:()=>Oo,interpolateCubehelixDefault:()=>xo,interpolateInferno:()=>jo,interpolateMagma:()=>Co,interpolatePlasma:()=>Po,interpolateRainbow:()=>Ao,interpolateViridis:()=>Mo,interpolateWarm:()=>wo,scaleBand:()=>Ke,scaleIdentity:()=>yn,scaleImplicit:()=>Ge,scaleLinear:()=>hn,scaleLog:()=>kn,scaleOrdinal:()=>Ye,scalePoint:()=>Xe,scalePow:()=>En,scaleQuantile:()=>Cn,scaleQuantize:()=>jn,scaleSequential:()=>So,scaleSqrt:()=>Mn,scaleThreshold:()=>Pn,scaleTime:()=>Ba,scaleUtc:()=>Za,schemeCategory10:()=>eo,schemeCategory20:()=>ro,schemeCategory20b:()=>to,schemeCategory20c:()=>no});var t={};r.r(t),r.d(t,{easeBack:()=>es,easeBackIn:()=>Zl,easeBackInOut:()=>es,easeBackOut:()=>Jl,easeBounce:()=>$l,easeBounceIn:()=>Kl,easeBounceInOut:()=>Xl,easeBounceOut:()=>$l,easeCircle:()=>Gl,easeCircleIn:()=>ql,easeCircleInOut:()=>Gl,easeCircleOut:()=>Bl,easeCubic:()=>Tl,easeCubicIn:()=>Pl,easeCubicInOut:()=>Tl,easeCubicOut:()=>Sl,easeElastic:()=>rs,easeElasticIn:()=>ns,easeElasticInOut:()=>as,easeElasticOut:()=>rs,easeExp:()=>Vl,easeExpIn:()=>Rl,easeExpInOut:()=>Vl,easeExpOut:()=>Hl,easeLinear:()=>El,easePoly:()=>Ll,easePolyIn:()=>_l,easePolyInOut:()=>Ll,easePolyOut:()=>Dl,easeQuad:()=>jl,easeQuadIn:()=>Ml,easeQuadInOut:()=>jl,easeQuadOut:()=>Cl,easeSin:()=>Fl,easeSinIn:()=>zl,easeSinInOut:()=>Fl,easeSinOut:()=>Ul});var n=r(6834),o=r.n(n),i=r(6782),u=r.n(i),c=r(7901),l=r.n(c),s=r(216),f=r.n(s),p=r(9787),d=r.n(p),h=r(2635),y=r.n(h),g=r(8423),v=r.n(g),b=r(1651),m=r.n(b),x=r(3839),w=r.n(x);function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function k(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,a=e._x0,o=e._voronoiX,i=e._y,u=e._y1,c=e._y0,s=e._voronoiY,f=t(r)?r:n,p=t(u)?u:i,d={x:t(o)?o:f,x0:t(a)?a:n,y:t(s)?s:p,y0:t(c)?c:i};return l()({},d,e)}function A(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 E(e,t){return w()(e)?e(t):e}function M(e,t){return t.disableInlineStyles?{}:e&&y()(e).some((function(t){return w()(e[t])}))?y()(e).reduce((function(n,r){return n[r]=E(e[r],t),n}),{}):e}function C(e){return"number"==typeof e?e*(Math.PI/180):e}function j(e){return"number"==typeof e?e/(Math.PI/180):e}function P(e){var t=A(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2}function S(e){var t=e.width,n=e.height,r=A(e),a=r.top,o=r.bottom,i=r.left,u=r.right,c=Math.min(t-i-u,n-a-o)/2,l=t/2+i-u,s=n/2+a-o;return{x:l+c>t?c+i-u:l,y:s+c>n?c+a-o:s}}function T(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?[C(e.startAngle||0),C(e.endAngle||360)]:[e.innerRadius||0,P(e)]}(e,t):function(e,t){var n="x"!==t,r=A(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}(e,t)}function _(e){return w()(e)?e:null==e?function(e){return e}:m()(e)}function D(e,t,n){var r=O(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),a=function(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().Children.toArray(r.children))}),!1)};return t(d().Children.toArray(e.children))}(e),o=void 0===a?{}:{horizontal:a};return l()(o,e,r,t)}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},o=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],i=function(e,c,l){return e.reduce((function(e,r,s){var f=r.type&&r.type.role,p=r.props.name||"".concat(f,"-").concat(c[s]);if(r.props&&r.props.children){var h=u()({},r.props,v()(n,o)),y=r.type&&"stack"===r.type.role&&w()(r.type.getChildren)?r.type.getChildren(h):d().Children.toArray(r.props.children).map((function(e){var t=u()({},e.props,v()(h,o));return d().cloneElement(e,t)})),g=y.map((function(e,t){return"".concat(p,"-").concat(t)})),b=i(y,g,r);e=a(e,b)}else{var m=t(r,p,l);m&&(e=a(e,m))}return e}),r)},c=e.map((function(e,t){return t}));return i(e,c)}var I=r(9636),N=r.n(I),z=r(567),U=r.n(z),F=r(268),W=r.n(F),R=(r(1346),r(1815)),H=r.n(R),V=r(5453),q=r.n(V),B=r(6205),G=r.n(B),Y=r(6901),K=r.n(Y),$=r(1473),X=r.n($),Q=r(9717),Z=r.n(Q),J=r(3323),ee=r.n(J),te=r(5973),ne=r.n(te),re=r(5362),ae=r.n(re);function oe(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 ie(e){return Array.isArray(e)&&e.length>0}function ue(e){return Array.isArray(e)&&e.some((function(e){return"string"==typeof e}))}function ce(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function le(e){return ie(e)&&e.every(Array.isArray)}function se(e){return e.filter((function(e){return void 0!==e}))}function fe(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 ce(a)?new Date(Math.max.apply(Math,oe(a))):Math.max.apply(Math,oe(a))}function pe(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 ce(a)?new Date(Math.min.apply(Math,oe(a))):Math.min.apply(Math,oe(a))}var de=r(7957),he=r.n(de),ye=r(5921),ge=r.n(ye),ve=r(5492),be=r.n(ve),me=(r(2720),r(9793)),xe=r.n(me),we=r(2972),Oe=r.n(we);function ke(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Ae(e){var t;return 1===e.length&&(t=e,e=function(e,n){return ke(t(e),n)}),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)<0?r=o+1:a=o}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)>0?a=o:r=o+1}return r}}}var Ee=Ae(ke),Me=Ee.right;Ee.left;const Ce=Me;var je=Array.prototype,Pe=(je.slice,je.map,Math.sqrt(50)),Se=Math.sqrt(10),Te=Math.sqrt(2);function _e(e,t,n){var r,a,o,i,u=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(a=e,e=t,t=a),0===(i=De(e,t,n))||!isFinite(i))return[];if(i>0)for(e=Math.ceil(e/i),t=Math.floor(t/i),o=new Array(a=Math.ceil(t-e+1));++u<a;)o[u]=(e+u)*i;else for(e=Math.floor(e*i),t=Math.ceil(t*i),o=new Array(a=Math.ceil(e-t+1));++u<a;)o[u]=(e-u)/i;return r&&o.reverse(),o}function De(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,a);return a>=0?(o>=Pe?10:o>=Se?5:o>=Te?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=Pe?10:o>=Se?5:o>=Te?2:1)}function Le(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/a;return o>=Pe?a*=10:o>=Se?a*=5:o>=Te&&(a*=2),t<e?-a:a}function Ie(e){return null===e?NaN:+e}function Ne(e,t,n){if(null==n&&(n=Ie),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,o=Math.floor(a),i=+n(e[o],o,e);return i+(+n(e[o+1],o+1,e)-i)*(a-o)}}var ze="$";function Ue(){}function Fe(e,t){var n=new Ue;if(e instanceof Ue)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,a=-1,o=e.length;if(null==t)for(;++a<o;)n.set(a,e[a]);else for(;++a<o;)n.set(t(r=e[a],a,e),r)}else if(e)for(var i in e)n.set(i,e[i]);return n}Ue.prototype=Fe.prototype={constructor:Ue,has:function(e){return ze+e in this},get:function(e){return this[ze+e]},set:function(e,t){return this[ze+e]=t,this},remove:function(e){var t=ze+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===ze&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===ze&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===ze&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===ze&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===ze&&++e;return e},empty:function(){for(var e in this)if(e[0]===ze)return!1;return!0},each:function(e){for(var t in this)t[0]===ze&&e(this[t],t.slice(1),this)}};const We=Fe;function Re(){}var He=We.prototype;Re.prototype=function(e,t){var n=new Re;if(e instanceof Re)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}.prototype={constructor:Re,has:He.has,add:function(e){return this[ze+(e+="")]=e,this},remove:He.remove,clear:He.clear,values:He.keys,size:He.size,empty:He.empty,each:He.each};var Ve=Array.prototype,qe=Ve.map,Be=Ve.slice,Ge={name:"implicit"};function Ye(e){var t=We(),n=[],r=Ge;function a(a){var o=a+"",i=t.get(o);if(!i){if(r!==Ge)return r;t.set(o,i=n.push(a))}return e[(i-1)%e.length]}return e=null==e?[]:Be.call(e),a.domain=function(e){if(!arguments.length)return n.slice();n=[],t=We();for(var r,o,i=-1,u=e.length;++i<u;)t.has(o=(r=e[i])+"")||t.set(o,n.push(r));return a},a.range=function(t){return arguments.length?(e=Be.call(t),a):e.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.copy=function(){return Ye().domain(n).range(e).unknown(r)},a}function Ke(){var e,t,n=Ye().unknown(void 0),r=n.domain,a=n.range,o=[0,1],i=!1,u=0,c=0,l=.5;function s(){var n=r().length,s=o[1]<o[0],f=o[s-0],p=o[1-s];e=(p-f)/Math.max(1,n-u+2*c),i&&(e=Math.floor(e)),f+=(p-f-e*(n-u))*l,t=e*(1-u),i&&(f=Math.round(f),t=Math.round(t));var d=function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(a);++r<a;)o[r]=e+r*n;return o}(n).map((function(t){return f+e*t}));return a(s?d.reverse():d)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),s()):r()},n.range=function(e){return arguments.length?(o=[+e[0],+e[1]],s()):o.slice()},n.rangeRound=function(e){return o=[+e[0],+e[1]],i=!0,s()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(i=!!e,s()):i},n.padding=function(e){return arguments.length?(u=c=Math.max(0,Math.min(1,e)),s()):u},n.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),s()):u},n.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),s()):c},n.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),s()):l},n.copy=function(){return Ke().domain(r()).range(o).round(i).paddingInner(u).paddingOuter(c).align(l)},s()}function $e(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return $e(t())},e}function Xe(){return $e(Ke().paddingInner(1))}function Qe(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ze(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Je(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function et(){}var tt=.7,nt=1/tt,rt="\\s*([+-]?\\d+)\\s*",at="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ot="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",it=/^#([0-9a-f]{3,8})$/,ut=new RegExp("^rgb\\("+[rt,rt,rt]+"\\)$"),ct=new RegExp("^rgb\\("+[ot,ot,ot]+"\\)$"),lt=new RegExp("^rgba\\("+[rt,rt,rt,at]+"\\)$"),st=new RegExp("^rgba\\("+[ot,ot,ot,at]+"\\)$"),ft=new RegExp("^hsl\\("+[at,ot,ot]+"\\)$"),pt=new RegExp("^hsla\\("+[at,ot,ot,at]+"\\)$"),dt={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 ht(){return this.rgb().formatHex()}function yt(){return this.rgb().formatRgb()}function gt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=it.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?vt(t):3===n?new wt(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?bt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?bt(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=ut.exec(e))?new wt(t[1],t[2],t[3],1):(t=ct.exec(e))?new wt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=lt.exec(e))?bt(t[1],t[2],t[3],t[4]):(t=st.exec(e))?bt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ft.exec(e))?Et(t[1],t[2]/100,t[3]/100,1):(t=pt.exec(e))?Et(t[1],t[2]/100,t[3]/100,t[4]):dt.hasOwnProperty(e)?vt(dt[e]):"transparent"===e?new wt(NaN,NaN,NaN,0):null}function vt(e){return new wt(e>>16&255,e>>8&255,255&e,1)}function bt(e,t,n,r){return r<=0&&(e=t=n=NaN),new wt(e,t,n,r)}function mt(e){return e instanceof et||(e=gt(e)),e?new wt((e=e.rgb()).r,e.g,e.b,e.opacity):new wt}function xt(e,t,n,r){return 1===arguments.length?mt(e):new wt(e,t,n,null==r?1:r)}function wt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ot(){return"#"+At(this.r)+At(this.g)+At(this.b)}function kt(){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 At(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Et(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ct(e,t,n,r)}function Mt(e){if(e instanceof Ct)return new Ct(e.h,e.s,e.l,e.opacity);if(e instanceof et||(e=gt(e)),!e)return new Ct;if(e instanceof Ct)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),i=NaN,u=o-a,c=(o+a)/2;return u?(i=t===o?(n-r)/u+6*(n<r):n===o?(r-t)/u+2:(t-n)/u+4,u/=c<.5?o+a:2-o-a,i*=60):u=c>0&&c<1?0:i,new Ct(i,u,c,e.opacity)}function Ct(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function jt(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 Pt(e,t,n,r,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*r+i*a)/6}function St(e){return function(){return e}}function Tt(e,t){return function(n){return e+n*t}}function _t(e,t){var n=t-e;return n?Tt(e,n):St(isNaN(e)?t:e)}Ze(et,gt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ht,formatHex:ht,formatHsl:function(){return Mt(this).formatHsl()},formatRgb:yt,toString:yt}),Ze(wt,xt,Je(et,{brighter:function(e){return e=null==e?nt:Math.pow(nt,e),new wt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?tt:Math.pow(tt,e),new wt(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:Ot,formatHex:Ot,formatRgb:kt,toString:kt})),Ze(Ct,(function(e,t,n,r){return 1===arguments.length?Mt(e):new Ct(e,t,n,null==r?1:r)}),Je(et,{brighter:function(e){return e=null==e?nt:Math.pow(nt,e),new Ct(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?tt:Math.pow(tt,e),new Ct(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 wt(jt(e>=240?e-240:e+120,a,r),jt(e,a,r),jt(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+")")}}));const Dt=function e(t){var n=function(e){return 1==(e=+e)?_t: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):St(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=xt(e)).r,(t=xt(t)).r),a=n(e.g,t.g),o=n(e.b,t.b),i=_t(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=o(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);function Lt(e){return function(t){var n,r,a=t.length,o=new Array(a),i=new Array(a),u=new Array(a);for(n=0;n<a;++n)r=xt(t[n]),o[n]=r.r||0,i[n]=r.g||0,u[n]=r.b||0;return o=e(o),i=e(i),u=e(u),r.opacity=1,function(e){return r.r=o(e),r.g=i(e),r.b=u(e),r+""}}}function It(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,o=new Array(a),i=new Array(r);for(n=0;n<a;++n)o[n]=Ht(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<a;++n)i[n]=o[n](e);return i}}function Nt(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function zt(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]=Ht(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}Lt((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],o=e[r+1],i=r>0?e[r-1]:2*a-o,u=r<t-1?e[r+2]:2*o-a;return Pt((n-r/t)*t,i,a,o,u)}})),Lt((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],o=e[r%t],i=e[(r+1)%t],u=e[(r+2)%t];return Pt((n-r/t)*t,a,o,i,u)}}));var Ut=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ft=new RegExp(Ut.source,"g");function Wt(e,t){var n,r,a,o=Ut.lastIndex=Ft.lastIndex=0,i=-1,u=[],c=[];for(e+="",t+="";(n=Ut.exec(e))&&(r=Ft.exec(t));)(a=r.index)>o&&(a=t.slice(o,a),u[i]?u[i]+=a:u[++i]=a),(n=n[0])===(r=r[0])?u[i]?u[i]+=r:u[++i]=r:(u[++i]=null,c.push({i,x:Qe(n,r)})),o=Ft.lastIndex;return o<t.length&&(a=t.slice(o),u[i]?u[i]+=a:u[++i]=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("")})}function Rt(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(o){for(n=0;n<r;++n)a[n]=e[n]*(1-o)+t[n]*o;return a}}function Ht(e,t){var n,r,a=typeof t;return null==t||"boolean"===a?St(t):("number"===a?Qe:"string"===a?(n=gt(t))?(t=n,Dt):Wt:t instanceof gt?Dt:t instanceof Date?Nt:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?It:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?zt:Qe:Rt))(e,t)}function Vt(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function qt(e){return function(){return e}}function Bt(e){return+e}var Gt=[0,1];function Yt(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:qt(t)}function Kt(e,t,n,r){var a=e[0],o=e[1],i=t[0],u=t[1];return o<a?(a=n(o,a),i=r(u,i)):(a=n(a,o),i=r(i,u)),function(e){return i(a(e))}}function $t(e,t,n,r){var a=Math.min(e.length,t.length)-1,o=new Array(a),i=new Array(a),u=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<a;)o[u]=n(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var n=Ce(e,t,1,a)-1;return i[n](o[n](t))}}function Xt(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function Qt(e,t){var n,r,a,o=Gt,i=Gt,u=Ht,c=!1;function l(){return n=Math.min(o.length,i.length)>2?$t:Kt,r=a=null,s}function s(t){return(r||(r=n(o,i,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 s.invert=function(e){return(a||(a=n(i,o,Yt,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)},s.domain=function(e){return arguments.length?(o=qe.call(e,Bt),l()):o.slice()},s.range=function(e){return arguments.length?(i=Be.call(e),l()):i.slice()},s.rangeRound=function(e){return i=Be.call(e),u=Vt,l()},s.clamp=function(e){return arguments.length?(c=!!e,l()):c},s.interpolate=function(e){return arguments.length?(u=e,l()):u},l()}var Zt,Jt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function en(e){if(!(t=Jt.exec(e)))throw new Error("invalid format: "+e);var t;return new tn({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 tn(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+""}function nn(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function rn(e){return(e=nn(Math.abs(e)))?e[1]:NaN}function an(e,t){var n=nn(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")}en.prototype=tn.prototype,tn.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};const on={"%":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.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):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 an(100*e,t)},r:an,s:function(e,t){var n=nn(e,t);if(!n)return e+"";var r=n[0],a=n[1],o=a-(Zt=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,i=r.length;return o===i?r:o>i?r+new Array(o-i+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+nn(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function un(e){return e}var cn,ln,sn,fn=Array.prototype.map,pn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function dn(e){var t=e.domain;return e.ticks=function(e){var n=t();return _e(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return function(e,t,n){var r,a=e[0],o=e[e.length-1],i=Le(a,o,null==t?10:t);switch((n=en(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(a),Math.abs(o));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(rn(t)/3)))-rn(Math.abs(e)))}(i,u))||(n.precision=r),sn(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,rn(t)-rn(e))+1}(i,Math.max(Math.abs(a),Math.abs(o))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-rn(Math.abs(e)))}(i))||(n.precision=r-2*("%"===n.type))}return ln(n)}(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),o=0,i=a.length-1,u=a[o],c=a[i];return c<u&&(r=u,u=c,c=r,r=o,o=i,i=r),(r=De(u,c,n))>0?r=De(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=De(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(a[o]=Math.floor(u/r)*r,a[i]=Math.ceil(c/r)*r,t(a)):r<0&&(a[o]=Math.ceil(u*r)/r,a[i]=Math.floor(c*r)/r,t(a)),e},e}function hn(){var e=Qt(Yt,Qe);return e.copy=function(){return Xt(e,hn())},dn(e)}function yn(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=qe.call(n,Bt),t):e.slice()},t.copy=function(){return yn().domain(e)},dn(t)}function gn(e,t){var n,r=0,a=(e=e.slice()).length-1,o=e[r],i=e[a];return i<o&&(n=r,r=a,a=n,n=o,o=i,i=n),e[r]=t.floor(o),e[a]=t.ceil(i),e}function vn(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:qt(t)}function bn(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 mn(e){return isFinite(e)?+("1e"+e):e<0?0:e}function xn(e){return 10===e?mn:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function wn(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 On(e){return function(t){return-e(-t)}}function kn(){var e=Qt(vn,bn).domain([1,10]),t=e.domain,n=10,r=wn(10),a=xn(10);function o(){return r=wn(n),a=xn(n),t()[0]<0&&(r=On(r),a=On(a)),e}return e.base=function(e){return arguments.length?(n=+e,o()):n},e.domain=function(e){return arguments.length?(t(e),o()):t()},e.ticks=function(e){var o,i=t(),u=i[0],c=i[i.length-1];(o=c<u)&&(p=u,u=c,c=p);var l,s,f,p=r(u),d=r(c),h=null==e?10:+e,y=[];if(!(n%1)&&d-p<h){if(p=Math.round(p)-1,d=Math.round(d)+1,u>0){for(;p<d;++p)for(s=1,l=a(p);s<n;++s)if(!((f=l*s)<u)){if(f>c)break;y.push(f)}}else for(;p<d;++p)for(s=n-1,l=a(p);s>=1;--s)if(!((f=l*s)<u)){if(f>c)break;y.push(f)}}else y=_e(p,d,Math.min(d-p,h)).map(a);return o?y.reverse():y},e.tickFormat=function(t,o){if(null==o&&(o=10===n?".0e":","),"function"!=typeof o&&(o=ln(o)),t===1/0)return o;null==t&&(t=10);var i=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<=i?o(e):""}},e.nice=function(){return t(gn(t(),{floor:function(e){return a(Math.floor(r(e)))},ceil:function(e){return a(Math.ceil(r(e)))}}))},e.copy=function(){return Xt(e,kn().base(n))},e}function An(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function En(){var e=1,t=Qt((function(t,n){return(n=An(n,e)-(t=An(t,e)))?function(r){return(An(r,e)-t)/n}:qt(n)}),(function(t,n){return n=An(n,e)-(t=An(t,e)),function(r){return An(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 Xt(t,En().exponent(e))},dn(t)}function Mn(){return En().exponent(.5)}function Cn(){var e=[],t=[],n=[];function r(){var r=0,o=Math.max(1,t.length);for(n=new Array(o-1);++r<o;)n[r-1]=Ne(e,r/o);return a}function a(e){if(!isNaN(e=+e))return t[Ce(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,o=t.length;a<o;++a)null==(n=t[a])||isNaN(n=+n)||e.push(n);return e.sort(ke),r()},a.range=function(e){return arguments.length?(t=Be.call(e),r()):t.slice()},a.quantiles=function(){return n.slice()},a.copy=function(){return Cn().domain(e).range(t)},a}function jn(){var e=0,t=1,n=1,r=[.5],a=[0,1];function o(e){if(e<=e)return a[Ce(r,e,0,n)]}function i(){var a=-1;for(r=new Array(n);++a<n;)r[a]=((a+1)*t-(a-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],i()):[e,t]},o.range=function(e){return arguments.length?(n=(a=Be.call(e)).length-1,i()):a.slice()},o.invertExtent=function(o){var i=a.indexOf(o);return i<0?[NaN,NaN]:i<1?[e,r[0]]:i>=n?[r[n-1],t]:[r[i-1],r[i]]},o.copy=function(){return jn().domain([e,t]).range(a)},dn(o)}function Pn(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[Ce(e,r,0,n)]}return r.domain=function(a){return arguments.length?(e=Be.call(a),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(a){return arguments.length?(t=Be.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 Pn().domain(e).range(t)},r}cn=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?un:(t=fn.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,o=[],i=0,u=t[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(a-=u,a+u)),!((c+=u+1)>r));)u=t[i=(i+1)%t.length];return o.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?un:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(fn.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=en(e)).fill,n=e.align,f=e.sign,p=e.symbol,d=e.zero,h=e.width,y=e.comma,g=e.precision,v=e.trim,b=e.type;"n"===b?(y=!0,b="g"):on[b]||(void 0===g&&(g=12),v=!0,b="g"),(d||"0"===t&&"="===n)&&(d=!0,t="0",n="=");var m="$"===p?a:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===p?o:/[%p]/.test(b)?c:"",w=on[b],O=/[defgprs%]/.test(b);function k(e){var a,o,c,p=m,k=x;if("c"===b)k=w(e)+k,e="";else{var A=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:w(Math.abs(e),g),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)),A&&0==+e&&"+"!==f&&(A=!1),p=(A?"("===f?f:l:"-"===f||"("===f?"":f)+p,k=("s"===b?pn[8+Zt/3]:"")+k+(A&&"("===f?")":""),O)for(a=-1,o=e.length;++a<o;)if(48>(c=e.charCodeAt(a))||c>57){k=(46===c?i+e.slice(a+1):e.slice(a))+k,e=e.slice(0,a);break}}y&&!d&&(e=r(e,1/0));var E=p.length+e.length+k.length,M=E<h?new Array(h-E+1).join(t):"";switch(y&&d&&(e=r(M+e,M.length?h-k.length:1/0),M=""),n){case"<":e=p+e+k+M;break;case"=":e=p+M+e+k;break;case"^":e=M.slice(0,E=M.length>>1)+p+e+k+M.slice(E);break;default:e=M+p+e+k}return u(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+""},k}return{format:f,formatPrefix:function(e,t){var n=f(((e=en(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(rn(t)/3))),a=Math.pow(10,-r),o=pn[8+r/3];return function(e){return n(a*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),ln=cn.format,sn=cn.formatPrefix;var Sn=new Date,Tn=new Date;function _n(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,o){var i,u=[];if(n=a.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return u;do{u.push(i=new Date(+n)),t(n,o),e(n)}while(i<n&&n<r);return u},a.filter=function(n){return _n((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 Sn.setTime(+t),Tn.setTime(+r),e(Sn),e(Tn),Math.floor(n(Sn,Tn))},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 Dn=_n((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()}));Dn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?_n((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};const Ln=Dn;Dn.range;var In=_n((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()}));const Nn=In;In.range;var zn=1e3,Un=6e4,Fn=36e5,Wn=864e5,Rn=6048e5;function Hn(e){return _n((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Un)/Rn}))}var Vn=Hn(0),qn=Hn(1),Bn=Hn(2),Gn=Hn(3),Yn=Hn(4),Kn=Hn(5),$n=Hn(6),Xn=(Vn.range,qn.range,Bn.range,Gn.range,Yn.range,Kn.range,$n.range,_n((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Un)/Wn}),(function(e){return e.getDate()-1})));const Qn=Xn;Xn.range;var Zn=_n((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*zn-e.getMinutes()*Un)}),(function(e,t){e.setTime(+e+t*Fn)}),(function(e,t){return(t-e)/Fn}),(function(e){return e.getHours()}));const Jn=Zn;Zn.range;var er=_n((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*zn)}),(function(e,t){e.setTime(+e+t*Un)}),(function(e,t){return(t-e)/Un}),(function(e){return e.getMinutes()}));const tr=er;er.range;var nr=_n((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*zn)}),(function(e,t){return(t-e)/zn}),(function(e){return e.getUTCSeconds()}));const rr=nr;nr.range;var ar=_n((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));ar.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?_n((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):ar:null};const or=ar;function ir(e){return _n((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)/Rn}))}ar.range;var ur=ir(0),cr=ir(1),lr=ir(2),sr=ir(3),fr=ir(4),pr=ir(5),dr=ir(6),hr=(ur.range,cr.range,lr.range,sr.range,fr.range,pr.range,dr.range,_n((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Wn}),(function(e){return e.getUTCDate()-1})));const yr=hr;hr.range;var gr=_n((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()}));gr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?_n((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};const vr=gr;function br(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 mr(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 xr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}gr.range;var wr,Or,kr,Ar={"-":"",_:" ",0:"0"},Er=/^\s*\d+/,Mr=/^%/,Cr=/[\\^$*+?|[\]().{}]/g;function jr(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o<n?new Array(n-o+1).join(t)+a:a)}function Pr(e){return e.replace(Cr,"\\$&")}function Sr(e){return new RegExp("^(?:"+e.map(Pr).join("|")+")","i")}function Tr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function _r(e,t,n){var r=Er.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Dr(e,t,n){var r=Er.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ir(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Nr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=Er.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Fr(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 Wr(e,t,n){var r=Er.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Rr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Hr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Vr(e,t,n){var r=Er.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Gr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Yr(e,t,n){var r=Er.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Kr(e,t,n){var r=Er.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function $r(e,t,n){var r=Mr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Xr(e,t,n){var r=Er.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Qr(e,t,n){var r=Er.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Zr(e,t){return jr(e.getDate(),t,2)}function Jr(e,t){return jr(e.getHours(),t,2)}function ea(e,t){return jr(e.getHours()%12||12,t,2)}function ta(e,t){return jr(1+Qn.count(Ln(e),e),t,3)}function na(e,t){return jr(e.getMilliseconds(),t,3)}function ra(e,t){return na(e,t)+"000"}function aa(e,t){return jr(e.getMonth()+1,t,2)}function oa(e,t){return jr(e.getMinutes(),t,2)}function ia(e,t){return jr(e.getSeconds(),t,2)}function ua(e){var t=e.getDay();return 0===t?7:t}function ca(e,t){return jr(Vn.count(Ln(e)-1,e),t,2)}function la(e){var t=e.getDay();return t>=4||0===t?Yn(e):Yn.ceil(e)}function sa(e,t){return e=la(e),jr(Yn.count(Ln(e),e)+(4===Ln(e).getDay()),t,2)}function fa(e){return e.getDay()}function pa(e,t){return jr(qn.count(Ln(e)-1,e),t,2)}function da(e,t){return jr(e.getFullYear()%100,t,2)}function ha(e,t){return jr((e=la(e)).getFullYear()%100,t,2)}function ya(e,t){return jr(e.getFullYear()%1e4,t,4)}function ga(e,t){var n=e.getDay();return jr((e=n>=4||0===n?Yn(e):Yn.ceil(e)).getFullYear()%1e4,t,4)}function va(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+jr(t/60|0,"0",2)+jr(t%60,"0",2)}function ba(e,t){return jr(e.getUTCDate(),t,2)}function ma(e,t){return jr(e.getUTCHours(),t,2)}function xa(e,t){return jr(e.getUTCHours()%12||12,t,2)}function wa(e,t){return jr(1+yr.count(vr(e),e),t,3)}function Oa(e,t){return jr(e.getUTCMilliseconds(),t,3)}function ka(e,t){return Oa(e,t)+"000"}function Aa(e,t){return jr(e.getUTCMonth()+1,t,2)}function Ea(e,t){return jr(e.getUTCMinutes(),t,2)}function Ma(e,t){return jr(e.getUTCSeconds(),t,2)}function Ca(e){var t=e.getUTCDay();return 0===t?7:t}function ja(e,t){return jr(ur.count(vr(e)-1,e),t,2)}function Pa(e){var t=e.getUTCDay();return t>=4||0===t?fr(e):fr.ceil(e)}function Sa(e,t){return e=Pa(e),jr(fr.count(vr(e),e)+(4===vr(e).getUTCDay()),t,2)}function Ta(e){return e.getUTCDay()}function _a(e,t){return jr(cr.count(vr(e)-1,e),t,2)}function Da(e,t){return jr(e.getUTCFullYear()%100,t,2)}function La(e,t){return jr((e=Pa(e)).getUTCFullYear()%100,t,2)}function Ia(e,t){return jr(e.getUTCFullYear()%1e4,t,4)}function Na(e,t){var n=e.getUTCDay();return jr((e=n>=4||0===n?fr(e):fr.ceil(e)).getUTCFullYear()%1e4,t,4)}function za(){return"+0000"}function Ua(){return"%"}function Fa(e){return+e}function Wa(e){return Math.floor(+e/1e3)}wr=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,o=e.days,i=e.shortDays,u=e.months,c=e.shortMonths,l=Sr(a),s=Tr(a),f=Sr(o),p=Tr(o),d=Sr(i),h=Tr(i),y=Sr(u),g=Tr(u),v=Sr(c),b=Tr(c),m={a:function(e){return i[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Zr,e:Zr,f:ra,g:ha,G:ga,H:Jr,I:ea,j:ta,L:na,m:aa,M:oa,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Fa,s:Wa,S:ia,u:ua,U:ca,V:sa,w:fa,W:pa,x:null,X:null,y:da,Y:ya,Z:va,"%":Ua},x={a:function(e){return i[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:ba,e:ba,f:ka,g:La,G:Na,H:ma,I:xa,j:wa,L:Oa,m:Aa,M:Ea,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Fa,s:Wa,S:Ma,u:Ca,U:ja,V:Sa,w:Ta,W:_a,x:null,X:null,y:Da,Y:Ia,Z:za,"%":Ua},w={a:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p[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=y.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return A(e,t,n,r)},d:Hr,e:Hr,f:Kr,g:Ur,G:zr,H:qr,I:qr,j:Vr,L:Yr,m:Rr,M:Br,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},q:Wr,Q:Xr,s:Qr,S:Gr,u:Dr,U:Lr,V:Ir,w:_r,W:Nr,x:function(e,t,r){return A(e,n,t,r)},X:function(e,t,n){return A(e,r,t,n)},y:Ur,Y:zr,Z:Fr,"%":$r};function O(e,t){return function(n){var r,a,o,i=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(i.push(e.slice(c,u)),null!=(a=Ar[r=e.charAt(++u)])?r=e.charAt(++u):a="e"===r?" ":"0",(o=t[r])&&(r=o(n,a)),i.push(r),c=u+1);return i.push(e.slice(c,u)),i.join("")}}function k(e,t){return function(n){var r,a,o=xr(1900,void 0,1);if(A(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(a=(r=mr(xr(o.y,0,1))).getUTCDay(),r=a>4||0===a?cr.ceil(r):cr(r),r=yr.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(a=(r=br(xr(o.y,0,1))).getDay(),r=a>4||0===a?qn.ceil(r):qn(r),r=Qn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),a="Z"in o?mr(xr(o.y,0,1)).getUTCDay():br(xr(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(a+5)%7:o.w+7*o.U-(a+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,mr(o)):br(o)}}function A(e,t,n,r){for(var a,o,i=0,u=t.length,c=n.length;i<u;){if(r>=c)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(o=w[a in Ar?t.charAt(i++):a])||(r=o(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=k(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=k(e+="",!0);return t.toString=function(){return e},t}}}({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"]}),Or=wr.format,wr.parse,kr=wr.utcFormat,wr.utcParse;var Ra=31536e6;function Ha(e){return new Date(e)}function Va(e){return e instanceof Date?+e:+new Date(+e)}function qa(e,t,n,r,a,o,i,u,c){var l=Qt(Yt,Qe),s=l.invert,f=l.domain,p=c(".%L"),d=c(":%S"),h=c("%I:%M"),y=c("%I %p"),g=c("%a %d"),v=c("%b %d"),b=c("%B"),m=c("%Y"),x=[[i,1,1e3],[i,5,5e3],[i,15,15e3],[i,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,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,Ra]];function w(u){return(i(u)<u?p:o(u)<u?d:a(u)<u?h:r(u)<u?y:t(u)<u?n(u)<u?g:v:e(u)<u?b:m)(u)}function O(t,n,r,a){if(null==t&&(t=10),"number"==typeof t){var o=Math.abs(r-n)/t,i=Ae((function(e){return e[2]})).right(x,o);i===x.length?(a=Le(n/Ra,r/Ra,t),t=e):i?(a=(i=x[o/x[i-1][2]<x[i][2]/o?i-1:i])[1],t=i[0]):(a=Math.max(Le(n,r,t),1),t=u)}return null==a?t:t.every(a)}return l.invert=function(e){return new Date(s(e))},l.domain=function(e){return arguments.length?f(qe.call(e,Va)):f().map(Ha)},l.ticks=function(e,t){var n,r=f(),a=r[0],o=r[r.length-1],i=o<a;return i&&(n=a,a=o,o=n),n=(n=O(e,a,o,t))?n.range(a,o+1):[],i?n.reverse():n},l.tickFormat=function(e,t){return null==t?w:c(t)},l.nice=function(e,t){var n=f();return(e=O(e,n[0],n[n.length-1],t))?f(gn(n,e)):l},l.copy=function(){return Xt(l,qa(e,t,n,r,a,o,i,u,c))},l}function Ba(){return qa(Ln,Nn,Vn,Qn,Jn,tr,rr,or,Or).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var Ga=_n((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()}));const Ya=Ga;Ga.range;var Ka=_n((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Fn)}),(function(e,t){return(t-e)/Fn}),(function(e){return e.getUTCHours()}));const $a=Ka;Ka.range;var Xa=_n((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Un)}),(function(e,t){return(t-e)/Un}),(function(e){return e.getUTCMinutes()}));const Qa=Xa;function Za(){return qa(vr,Ya,ur,yr,$a,Qa,rr,or,kr).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function Ja(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}Xa.range;const eo=Ja("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),to=Ja("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),no=Ja("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),ro=Ja("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var ao=Math.PI/180,oo=180/Math.PI,io=-.14861,uo=1.78277,co=-.29227,lo=-.90649,so=1.97294,fo=so*lo,po=so*uo,ho=uo*co-lo*io;function yo(e){if(e instanceof vo)return new vo(e.h,e.s,e.l,e.opacity);e instanceof wt||(e=mt(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(ho*r+fo*t-po*n)/(ho+fo-po),o=r-a,i=(so*(n-a)-co*o)/lo,u=Math.sqrt(i*i+o*o)/(so*a*(1-a)),c=u?Math.atan2(i,o)*oo-120:NaN;return new vo(c<0?c+360:c,u,a,e.opacity)}function go(e,t,n,r){return 1===arguments.length?yo(e):new vo(e,t,n,null==r?1:r)}function vo(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function bo(e){return function t(n){function r(t,r){var a=e((t=go(t)).h,(r=go(r)).h),o=_t(t.s,r.s),i=_t(t.l,r.l),u=_t(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=o(e),t.l=i(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}Ze(vo,go,Je(et,{brighter:function(e){return e=null==e?nt:Math.pow(nt,e),new vo(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?tt:Math.pow(tt,e),new vo(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*ao,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new wt(255*(t+n*(io*r+uo*a)),255*(t+n*(co*r+lo*a)),255*(t+n*(so*r)),this.opacity)}})),bo((function(e,t){var n=t-e;return n?Tt(e,n>180||n<-180?n-360*Math.round(n/360):n):St(isNaN(e)?t:e)}));var mo=bo(_t);const xo=mo(go(300,.5,0),go(-240,.5,1));var wo=mo(go(-100,.75,.35),go(80,1.5,.8)),Oo=mo(go(260,.75,.35),go(80,1.5,.8)),ko=go();function Ao(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return ko.h=360*e-100,ko.s=1.5-1.5*t,ko.l=.8-.9*t,ko+""}function Eo(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const Mo=Eo(Ja("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var Co=Eo(Ja("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),jo=Eo(Ja("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Po=Eo(Ja("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function So(e){var t=0,n=1,r=!1;function a(a){var o=(a-t)/(n-t);return e(r?Math.max(0,Math.min(1,o)):o)}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 So(e).domain([t,n]).clamp(r)},dn(a)}var To=["linear","time","log","sqrt"];function _o(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function Do(e){return"function"==typeof e?w()(e.copy)&&w()(e.domain)&&w()(e.range):"string"==typeof e&&K()(To,e)}function Lo(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function Io(e,t){if(!e.data)return"linear";var n=_(e[t]);return ce(e.data.map((function(e){var r=N()(n(e))?n(e)[t]:n(e);return void 0!==r?r:e[t]})))?"time":"linear"}function No(t){return Do(t)?e[_o(t)]():hn()}function zo(t,n){var r=Uo(t,n);if(r)return"string"==typeof r?No(r):r;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 ce(n)?"time":"linear"}(t,n)||Io(t,n);return e[_o(a)]()}function Uo(t,n){if(Lo(t,n)){var r=t.scale[n]||t.scale;return Do(r)?w()(r)?r:e[_o(r)]():void 0}}function Fo(e,t){return function(e,t){if(Lo(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:function(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}(n)}}(e,t)||Io(e,t)}function Wo(e){return!(!e||!e["@@__IMMUTABLE_ITERABLE__@@"])}function Ro(e,t){return Wo(e)?e.reduce((function(e,n,r){return t&&t[r]&&(n=Ro(n)),e[r]=n,e}),function(e){return!(!e||!e["@@__IMMUTABLE_LIST__@@"])}(e)?[]:{}):e}function Ho(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 Vo(e){var t;return Wo(t=e)||function(e){return!(!e||!e["@@__IMMUTABLE_RECORD__@@"])}(t)?Ro(e,{errorX:!0,errorY:!0}):e}function qo(e,t){var n=(N()(e.domain)?e.domain[t]:e.domain)||zo(e,t).domain(),r=e.samples||1,a=Math.max.apply(Math,Ho(n)),o=Math.min.apply(Math,Ho(n)),i=(a-o)/r,u=Z()(o,a,i);return Oe()(u)===a?u:u.concat(a)}function Bo(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 Go(e,t){var n=Xo(e,t),r=Qo(e,t),a=function(e,t){if(!Array.isArray(e.data)&&!Wo(e.data))return[];var n=_(void 0===e[t]?t:e[t]);return Bo(e.data.reduce((function(e,t){return e.push(Vo(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=Vo(t),e.push(n(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}(e,t),o=H()(Ho(n).concat(Ho(r),Ho(a)));return 0===o.length?null:o.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function Yo(e,t,n){if(!Array.isArray(e)&&!Wo(e)||function(e){return Wo(e)?e.size:e.length}(e)<1)return[];var r,a=["x","y","y0"],i=(n=Array.isArray(n)?n:a).reduce((function(e,n){var r;return e[n]=_(void 0!==t[r=n]?t[r]:r),e}),{}),c=xe()(n,a)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===c&&(r={x:-1!==n.indexOf("x")?Go(t,"x"):void 0,y:-1!==n.indexOf("y")?Go(t,"y"):void 0,y0:-1!==n.indexOf("y0")?Go(t,"y"):void 0});var l=c?e:e.reduce((function(e,t,a){var c={x:a,y:t=Vo(t)},l=n.reduce((function(e,n){var a=i[n](t),o=void 0!==a?a:c[n];return void 0!==o&&("string"==typeof o&&r[n]?(e["".concat(n,"Name")]=o,e["_".concat(n)]=r[n][o]):e["_".concat(n)]=o),e}),{}),s=u()({},l,t);return o()(s)||e.push(s),e}),[]),s=function(e,t){var n=1/Number.MAX_SAFE_INTEGER,r={x:Fo(t,"x"),y:Fo(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,o=a(e,"y0")?e._y0:n;return u()({},e,{_x:t,_y:r,_y0:o})}(e)}))}(Bo(l,t.sortKey,t.sortOrder),t);return function(e,t){var n,r=!!e.eventKey,a=(n=e.eventKey,w()(n)?n:null==n?function(){}:m()(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?u()({eventKey:n},e):e}return e}))}(t,s)}function Ko(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function $o(e){return e.data?Yo(e.data,e):Yo(function(e){var t=qo(e,"x"),n=qo(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}(e),e)}function Xo(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 Qo(e,t){if(!e.categories)return[];var n=Ko(e,t),r=n&&n.filter((function(e){return"string"==typeof e}));return r?se(r):[]}function Zo(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 Jo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(e){return"max"===n?Math.max.apply(Math,Zo(e)):Math.min.apply(Math,Zo(e))},a="max"===n?-1/0:1/0,o=!1,i=q()(e).reduce((function(e,n){var a=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],i=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],u=r([a,i]);return o=o||a instanceof Date||i instanceof Date,r([e,u])}),a);return o?new Date(i):i}function ei(e,t){return e=w()(e)?e:ni,t=w()(t)?t:ti,function(n,r){var a=ai(n,r);if(a)return t(a,n,r);var o=Ko(n,r),i=o?function(e,t,n){n=n||Ko(e,t);var r=e.polar,a=e.startAngle,o=void 0===a?0:a,i=e.endAngle,u=void 0===i?360:i;if(n){var c=ii(e,t),l=oi(e,t),s=ue(n)?Qo(e,t):[],f=0===s.length?null:s.reduce((function(e,t,n){return e[t]=n+1,e}),{}),p=f?n.map((function(e){return f[e]})):n,d=ri(void 0!==c?c:pe(p),void 0!==l?l:fe(p));return r&&"x"===t&&360===Math.abs(o-u)?ui(d,p):d}}(n,r,o):e(n,r);return i?t(i,n,r):void 0}}function ti(e,t,n){return function(e,t,n){return"log"!==Fo(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}(function(e,t,n){if(!t.domainPadding)return e;var r=ii(t,n),a=oi(t,n),o=function(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return N()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!o.left&&!o.right)return e;var i=pe(e),u=fe(e),c=function(e,t){return t?"x"===e?"y":"x":e}(n,t.horizontal),l=T(t,c),s=Math.abs(l[0]-l[1]),f=Math.max(s-o.left-o.right,1),p=Math.abs(u.valueOf()-i.valueOf())/f*s,d=p*o.left/s,h=p*o.right/s,y={min:i.valueOf()-d,max:u.valueOf()+h},g=N()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,v=function(e,t){return"min"===t&&i>=0&&e<=0||"max"===t&&u<=0&&e>=0?0:e};if((i>=0&&y.min<=0||u<=0&&y.max>=0)&&!1!==g){var b={left:Math.abs(u-i)*o.left/s,right:Math.abs(u-i)*o.right/s},m={min:v(i.valueOf()-b.left,"min"),max:v(u.valueOf()+b.right,"max")},x={left:Math.abs(m.max-m.min)*o.left/s,right:Math.abs(m.max-m.min)*o.right/s};y={min:v(i.valueOf()-x.left,"min"),max:v(u.valueOf()+x.right,"max")}}var w={min:void 0!==r?r:y.min,max:void 0!==a?a:y.max};return i instanceof Date||u instanceof Date?ri(new Date(w.min),new Date(w.max)):ri(w.min,w.max)}(e,t,n),t,n)}function ni(e,t,n){n=n||$o(e);var r=e.polar,a=e.startAngle,o=void 0===a?0:a,i=e.endAngle,u=void 0===i?360:i,c=ii(e,t),l=oi(e,t);if(n.length<1)return void 0!==c&&void 0!==l?ri(c,l):void 0;var s=ri(void 0!==c?c:Jo(n,t,"min"),void 0!==l?l:Jo(n,t,"max"));return r&&"x"===t&&360===Math.abs(o-u)?ui(s,function(e,t){return q()(e).map((function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]}))}(n,t)):s}function ri(e,t){var n,r,a,o;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,o=n instanceof Date?new Date(+n+1):+n+r,0===n?[0,o]:[a,o]):[e,t]}function ai(e,t){var n=ii(e,t),r=oi(e,t);return N()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==r?ri(n,r):void 0}function oi(e,t){return N()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain||he()(e.maxDomain)?e.maxDomain:void 0}function ii(e,t){return N()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain||he()(e.minDomain)?e.minDomain:void 0}function ui(e,t){var n=ge()(t.sort((function(e,t){return e-t}))),r=n[1]-n[0];return[e[0],e[1]+r]}function ci(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=d().Children.toArray(e.props.children);n=r.length?t(r[0]):""}return K()(["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}function li(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 si(e){return e.dependentAxis?"y":"x"}function fi(e,t){t=t||ae();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().Children.toArray(r.props.children))):e}),[])};return n(e)}function pi(e,t){return fi(e,(function(e){return e.type.getAxis(e.props)===t}))[0]}function di(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().Children.toArray(r.props.children)).length>0?e.concat(r):e}),[])};return n(e)}function hi(e){var t=function(e){var t=Math.min.apply(Math,li(e)),n=Math.max.apply(Math,li(e));return n<0?n:Math.max(0,t)};return{x:ce(e.x)?new Date(Math.min.apply(Math,li(e.x))):t(e.x),y:ce(e.y)?new Date(Math.min.apply(Math,li(e.y))):t(e.y)}}function yi(e,t){return ce(t)?"positive":e<=0&&Math.max.apply(Math,li(t))<=0?"negative":"positive"}function gi(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function vi(e){return void 0!==e.tickValues&&ue(e.tickValues)}function bi(e){var t=e.tickValues,n=e.tickFormat,r=si(e),a=e.stringMap&&e.stringMap[r],o=t;a&&(o=function(e){var t,n=si(e),r=e.stringMap&&e.stringMap[n],a=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[n],o=a&&ie(t=a)&&t.every((function(e){return"string"==typeof e}))?a.map((function(e){return r[e]})):void 0,i=r&&U()(r);return o&&0!==o.length?o:i}(e)),t&&ue(t)&&(o=a?t.map((function(e){return a[e]})):Z()(1,t.length+1));var i=o?H()(o):function(){if(n&&Array.isArray(n))return ue(n)?n.map((function(e,t){return t})):n}();return Array.isArray(i)&&i.length?function(t){var n=[],a=e.domain&&e.domain[r]||e.domain;return t?(t.forEach((function(e,t){Array.isArray(a)?e>=pe(a)&&e<=fe(a)&&n.push({value:e,index:t}):n.push({value:e,index:t})})),n):void 0}(i):void 0}function mi(e,t){var n=e.tickFormat,r=si(e),a=e.stringMap&&e.stringMap[r];if(n){if(n&&Array.isArray(n)){var o=bi(e),i=o?o.map((function(e){return e.index})):void 0,u=n.filter((function(e,t){return i.includes(t)}));return function(e,t){return u[t]}}return n&&w()(n)?a?function(t,n,r){var o=ee()(a),i=r.map((function(e){return o[e]}));return e.tickFormat(o[t],n,i)}:n:function(e){return e}}var c=function(e){var t=e.tickValues,n=si(e),r=e.stringMap&&e.stringMap[n],a=t&&!ce(t)?function(e){return e}:void 0;if(r){var o=r&&ee()(r),i=X()(U()(r),(function(e){return e})).map((function(e){return o[e]})),u=[""].concat(li(i),[""]);return function(e){return u[e]}}return vi(e)?function(e,n){return t[n]}:a}(e),l=t.tickFormat&&w()(t.tickFormat)?t.tickFormat():function(e){return e};return c||l}function xi(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 wi(e,t,n){var r=e.tickCount,a=bi(e),o=a?a.map((function(e){return e.value})):void 0;if(o)return xi(o,r);if(t.ticks&&w()(t.ticks)){var i=r||5,u=t.ticks(i),c=xi(Array.isArray(u)&&u.length?u:t.domain(),r);if(n){var l=K()(c,0)?G()(c,0):c;return l.length?l:c}return c}return t.domain()}function Oi(e,t){var n=e.polar,r=e.startAngle,a=void 0===r?0:r,o=e.endAngle,i=void 0===o?360:o,u=bi(e),c=u?u.map((function(e){return e.value})):void 0;if(Array.isArray(c)){var l=ii(e,t),s=oi(e,t),f=vi(e),p=c.map((function(e){return+e})),d=f?1:pe(p),h=f?c.length:fe(p),y=ri(void 0!==l?l:d,void 0!==s?s:h),g=n&&"x"===t&&360===Math.abs(a-i)?ui(y,p):y;return gi(e)&&!n&&g.reverse(),g}}function ki(e,t){var n=si(e);if(!t||t===n)return ei(Oi)(e,n)}function Ai(e,t){if(e.axisValue){var n="x"===t?"y":"x",r=ne()(e.scale)&&w()(e.scale[n])?e.scale[n]:void 0;if(r){var a="x"===t?"y":"x",o=ne()(e.stringMap)&&e.stringMap[a];return r(o&&"string"==typeof e.axisValue?o[e.axisValue]:e.axisValue)}}}function Ei(e,t){if(!ne()(e.theme))return D(e,t,"axis");var n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return D(e,t,"axis");var r=l()({},e.theme[n],e.theme.axis),a=u()({},e.theme,{axis:r});return D(u()({},e,{theme:a}),t,"axis")}var Mi=r(9922),Ci=r.n(Mi);function ji(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(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 Si=/^onGlobal(.*)$/;function Ti(e,t,n,r){var a,o=this,i=function(e){var r,a=(r=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?K()(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?u()(e,t.eventHandlers):e}),{})},c=Array.isArray(o.componentEvents)?Array.isArray(e.events)?(a=o.componentEvents).concat.apply(a,Pi(e.events)):o.componentEvents:e.events,l=c&&w()(r)?r(i(c),t):void 0;if(!e.sharedEvents)return l;var s=e.sharedEvents.getEvents,f=e.sharedEvents.events&&s(i(e.sharedEvents.events),t);return u()({},f,l)}function _i(e,t,n,r){var a=this;if(o()(e))return{};r=r||this.baseProps;var i=function(e,t){var n=e.childName,o=e.target,i=e.key,u="props"===t?r:a.state||{},c=null!=n&&u[n]?u[n]:u;return"parent"===i?c.parent:c[i]&&c[i][o]},c=function(e,o){var c="parent"===t?e.childName:e.childName||n,l=e.target||t,s=function(t,n){var o=a.state||{};if(!w()(e.mutation))return o;var c=i({childName:n,key:t,target:l},"props"),s=i({childName:n,key:t,target:l},"state"),f=e.mutation(u()({},c,s),r),p=o[n]||{},d=function(e){return f?function(e){return"parent"===l?u()(e,ji({},t,u()(e[t],f))):u()(e,ji({},t,u()(e[t],ji({},l,f))))}(e):function(e){return e[t]&&e[t][l]&&delete e[t][l],e[t]&&!y()(e[t]).length&&delete e[t],e}(e)};return null!=n?u()(o,ji({},n,d(p))):d(o)},f=function(t){var n=function(t){return"parent"===l?"parent":"all"===e.eventKey?r[t]?G()(y()(r[t]),"parent"):G()(y()(r),"parent"):void 0===e.eventKey&&"parent"===o?r[t]?y()(r[t]):y()(r):void 0!==e.eventKey?e.eventKey:o}(t);return Array.isArray(n)?n.reduce((function(e,n){return u()(e,s(n,t))}),{}):s(n,t)},p="all"===c?G()(y()(r),"parent"):c;return Array.isArray(p)?p.reduce((function(e,t){return u()(e,f(t))}),{}):f(p)},l=function(t,n,r,i){var l=e[i](t,n,r,a);if(!o()(l)){var s=function(e){var t=function(e){return w()(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}(l);a.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return u()({},e,c(n,t))}),{}):c(e,t)}(l,r),s)}};return y()(e).reduce((function(e,t){return e[t]=l,e}),{})}function Di(e,t,n){return e?y()(e).reduce((function(r,a){return r[a]=function(r){return e[a](r,n,t,a)},r}),{}):{}}function Li(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]}function Ii(e,t,n,r){return t=t||{},n=n||{},y()(t).reduce((function(a,i){var c=n[i]||{},l=t[i]||{};if("parent"===i){var s=Ni(e,l,c,{eventKey:i,target:"parent"});a[i]=void 0!==s?u()({},c,s):c}else{var f=H()(y()(l).concat(y()(c)));a[i]=f.reduce((function(t,n){var a={eventKey:i,target:n,childName:r},s=Ni(e,l[n],c[n],a);return t[n]=void 0!==s?u()({},c[n],s):c[n],Ci()(t,(function(e){return!o()(e)}))}),{})}return Ci()(a,(function(e){return!o()(e)}))}),{})}function Ni(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 K()(n,r[t])}return!1},i=e=Array.isArray(e)?e:[e];r.childName&&(i=e.filter((function(e){return a(e,"childName")})));var c=i.filter((function(e){return a(e,"target")}));if(!o()(c)){var l=c.filter((function(e){return a(e,"eventKey")}));if(!o()(l))return l.reduce((function(e,r){var a=(r&&w()(r.mutation)?r.mutation:function(){})(u()({},t,n));return u()({},e,a)}),{})}}function zi(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var r,a=e[n],o=a&&a.type&&a.type.defaultEvents,i=w()(o)?o(a.props):o;return Array.isArray(i)?(r=t).concat.apply(r,Pi(i)):t}),[]);return n&&n.length?n:void 0}function Ui(e){var t=e.match(Si);return t&&t[1]&&t[1].toLowerCase()}var Fi=function(e){return Ci()(e,(function(e,t){return Si.test(t)}))},Wi=function(e){return be()(e,(function(e,t){return Si.test(t)}))},Ri=function(e){return u()(e,{nativeEvent:e})};function Hi(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 Vi(e,t,n){n=n||d().Children.toArray(e.children);var r,a=ai(e,t),o=function(e,t,n){if(!e.polar&&"x"===t){var r=n.filter((function(e){return e.type&&e.type.role&&"group"===e.type.role}));if(!(r.length<1)){var a=r[0].props,o=a.offset,i=a.children;if(o){var u=Array.isArray(i)&&i[0];if(u){var c=u.props.barWidth,l=u.props.data&&u.props.data.length||1;if(u&&"stack"===u.type.role){var s=u.props.children&&u.props.children[0];if(!s)return;c=s.props.barWidth,l=u.props.children.length}var f=c||function(e,t,n){var r=e.datasets,a=T(e,e.horizontal?"y":"x"),o=Math.abs(a[1]-a[0]);n=void 0!==n?n:Array.isArray(r[0])&&r[0].length||1;var i=(t=t||r.length)*n;return Math.round(.5*o/i)}(e,i.length,l);return{x:f*i.length/2+(o-f*((i.length-1)/2))}}}}}}(e,t,n);if(a)r=a;else{var i=ii(e,t),c=oi(e,t),l=(e.data||e.y)&&$o(e),s=l?ni(e,t,l):[],f=function(e,t,n){var r=n?n.slice(0):d().Children.toArray(e.children),a=e.data?$o(e):void 0,o=e.polar,i=e.startAngle,c=e.endAngle,l=e.categories,s=e.minDomain,f=e.maxDomain,p={horizontal:e.horizontal,polar:o,startAngle:i,endAngle:c,minDomain:s,maxDomain:f,categories:l},h=a?u()(p,{data:a}):p,y=L(r,(function(e){var n=u()({},e.props,h);return ci(e)?e.type&&w()(e.type.getDomain)?e.props&&e.type.getDomain(n,t):function(e,t){return ei()(e,t)}(n,t):null}),e);return[0===y.length?0:pe(y),0===y.length?1:fe(y)]}(e,t,n);r=ri(i||pe(Hi(s).concat(Hi(f))),c||fe(Hi(s).concat(Hi(f))))}return ti(r,u()({domainPadding:o},e),t)}function qi(e,t,n){if(e.data)return zo(e,t);var r=n?n.slice(0):d().Children.toArray(e.children),a=H()(L(r,(function(n){return Fo(u()({},n.props,{horizontal:e.horizontal}),t)}),e));return a.length>1?No("linear"):No(a[0])}function Bi(e,t,n){var r=N()(e.categories)?e.categories[t]:e.categories,a=pi(n,t),o=a?Xo(a.props,t):[],i=r||function(e,t){return L(e.slice(0),(function(e){var n=e.props||{};if(ci(e)&&n.categories){var r=n.categories&&!Array.isArray(n.categories)?n.categories[t]:n.props.categories,a=r&&r.filter((function(e){return"string"==typeof e}));return a?se(a):[]}return null}))}(n,t);return H()(q()(Hi(i).concat(Hi(o))))}function Gi(e,t){var n=Bi(e,"x",t=t||d().Children.toArray(e.children)),r=Bi(e,"y",t),a=function(e){return L(e.slice(0),(function(e){var t=e.props||{};return function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=d().Children.toArray(e.props.children);n=r.length?t(r[0]):""}return K()(["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}(e)?(e.type&&w()(e.type.getData)?e.type.getData(t):$o(t)).map((function(e){return{x:e.xName,y:e.yName}})):null}),{},{x:[],y:[]},(function(e,t){var n=Array.isArray(t)?t.map((function(e){return e.x})).filter(Boolean):t.x,r=Array.isArray(t)?t.map((function(e){return e.y})).filter(Boolean):t.y;return{x:void 0!==n?e.x.concat(n):e.x,y:void 0!==r?e.y.concat(r):e.y}}))}(t);return{x:H()(q()(Hi(n).concat(Hi(a.x)))),y:H()(q()(Hi(r).concat(Hi(a.y))))}}var Yi=r(2654),Ki=r.n(Yi),$i=r(6786),Xi=r.n($i),Qi=function(e){var t=function(t,n,r,a){var o=n[r];if(null==o)return t?new Error("Required `".concat(r,"` was not specified in `").concat(a,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,a].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},Zi=function(){return null},Ji=function(){},eu=function(e){return void 0===e?Ji:null===e?Zi:e.constructor},tu=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function nu(e){return Qi((function(t,n,r){for(var a=arguments.length,o=new Array(a>3?a-3:0),i=3;i<a;i++)o[i-3]=arguments[i];return e.reduce((function(e,a){return e||a.apply(void 0,[t,n,r].concat(o))}),void 0)}))}var ru=Qi((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."))})),au=Qi((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."))})),ou=Qi((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."))})),iu=Qi((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."))})),uu=Qi((function(e,t,n){var r;if(r=e[t],!(w()(r)?w()(r.copy)&&w()(r.domain)&&w()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),cu=Qi((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=eu(r[0]),o=Xi()(r,(function(e){return a!==eu(e)}));if(o){var i=tu(r[0]),u=tu(o);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(i,"` and ")+"`".concat(u,"`."))}}})),lu=(Qi((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."))})),Qi((function(e,t,n){if(e[t]&&!Ki()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))})),f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),f().oneOfType([f().array,f().object]),f().element,f().bool,f().element,f().oneOfType([f().func,f().array]),f().oneOfType([f().func,nu([au,ru]),f().string,f().arrayOf(f().string)]),f().oneOf(["ascending","descending"]),f().shape({parent:f().object,data:f().object,labels:f().object}),f().oneOfType([f().func,nu([au,ru]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,nu([au,ru]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,nu([au,ru]),f().string,f().arrayOf(f().string)]),{animate:f().oneOfType([f().bool,f().object]),containerComponent:f().element,domain:f().oneOfType([iu,f().shape({x:iu,y:iu})]),maxDomain:f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),minDomain:f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),domainPadding:f().oneOfType([f().shape({x:f().oneOfType([f().number,f().arrayOf(f().number)]),y:f().oneOfType([f().number,f().arrayOf(f().number)])}),f().number,f().arrayOf(f().number)]),eventKey:f().oneOfType([f().func,nu([au,ru]),f().string]),events:f().arrayOf(f().shape({target:f().oneOf(["data","labels","parent"]),eventKey:f().oneOfType([f().array,nu([au,ru]),f().string]),eventHandlers:f().object})),externalEventMutations:f().arrayOf(f().shape({callback:f().function,childName:f().oneOfType([f().string,f().array]),eventKey:f().oneOfType([f().array,nu([au,ru]),f().string]),mutation:f().function,target:f().oneOfType([f().string,f().array])})),groupComponent:f().element,height:ru,name:f().string,origin:f().shape({x:f().number,y:f().number}),padding:f().oneOfType([f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})]),polar:f().bool,range:f().oneOfType([iu,f().shape({x:iu,y:iu})]),scale:f().oneOfType([uu,f().shape({x:uu,y:uu})]),sharedEvents:f().shape({events:f().array,getEventState:f().func}),singleQuadrantDomainPadding:f().oneOfType([f().bool,f().shape({x:f().oneOfType([f().bool]),y:f().oneOfType([f().bool])})]),standalone:f().bool,theme:f().object,width:ru}),su={active:f().bool,ariaLabel:f().oneOfType([f().string,f().func]),className:f().string,clipPath:f().string,data:f().oneOfType([f().array,f().object]),desc:f().oneOfType([f().string,f().func]),disableInlineStyles:f().bool,events:f().object,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),origin:f().shape({x:f().number,y:f().number}),polar:f().bool,role:f().string,scale:f().oneOfType([uu,f().shape({x:uu,y:uu})]),shapeRendering:f().string,style:f().object,tabIndex:f().oneOfType([f().number,f().func]),transform:f().string};function fu(){return fu=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},fu.apply(this,arguments)}const pu=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?d().createElement("rect",fu({vectorEffect:"non-scaling-stroke"},n),d().createElement("desc",null,t)):d().createElement("rect",fu({vectorEffect:"non-scaling-stroke"},n))};function du(){return du=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},du.apply(this,arguments)}function hu(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){yu(e,t,n[t])}))}return e}function yu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gu=function(e){return(e=function(e){var t=E(e.id,e);return u()({},e,{id:t})}(e)).polar?d().cloneElement(e.circleComponent,hu({},e.events,{style:e.style,role:e.role,shapeRendering:e.shapeRendering,cx:e.x,cy:e.y,r:e.height,className:e.className})):d().cloneElement(e.rectComponent,hu({},e.events,{style:e.style,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,rx:e.rx,ry:e.ry,width:e.width,height:e.height,className:e.className}))};gu.propTypes=hu({},su,{circleComponent:f().element,height:f().number,rectComponent:f().element,rx:f().number,ry:f().number,width:f().number,x:f().number,y:f().number}),gu.defaultProps={circleComponent:d().createElement((function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?d().createElement("circle",du({vectorEffect:"non-scaling-stroke"},n),d().createElement("desc",null,t)):d().createElement("circle",du({vectorEffect:"non-scaling-stroke"},n))}),null),rectComponent:d().createElement(pu,null),role:"presentation",shapeRendering:"auto"};const vu=gu;var bu=r(556),mu=r.n(bu);function xu(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 wu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ou=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?wu(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(wu(n)),n.portalRegister=n.portalRegister.bind(wu(n)),n.portalDeregister=n.portalDeregister.bind(wu(n)),n}var n,r;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 y()(this.map).map((function(t){var n=e.map[t];return n?d().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return d().createElement("svg",this.props,this.getChildren())}}])&&xu(n.prototype,r),t}(d().Component);Object.defineProperty(Ou,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(Ou,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:f().string,height:ru,style:f().object,viewBox:f().string,width:ru}});var ku=d().createContext({});ku.displayName="PortalContext";const Au=ku;var Eu,Mu,Cu=0,ju=0,Pu=0,Su=0,Tu=0,_u=0,Du="object"==typeof performance&&performance.now?performance:Date,Lu="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Iu(){return Tu||(Lu(Nu),Tu=Du.now()+_u)}function Nu(){Tu=0}function zu(){this._call=this._time=this._next=null}function Uu(e,t,n){var r=new zu;return r.restart(e,t,n),r}function Fu(){Tu=(Su=Du.now())+_u,Cu=ju=0;try{!function(){Iu(),++Cu;for(var e,t=Eu;t;)(e=Tu-t._time)>=0&&t._call.call(null,e),t=t._next;--Cu}()}finally{Cu=0,function(){for(var e,t,n=Eu,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Eu=t);Mu=e,Ru(r)}(),Tu=0}}function Wu(){var e=Du.now(),t=e-Su;t>1e3&&(_u-=t,Su=e)}function Ru(e){Cu||(ju&&(ju=clearTimeout(ju)),e-Tu>24?(e<1/0&&(ju=setTimeout(Fu,e-Du.now()-_u)),Pu&&(Pu=clearInterval(Pu))):(Pu||(Su=Du.now(),Pu=setInterval(Wu,1e3)),Cu=1,Lu(Fu)))}function Hu(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)}}zu.prototype=Uu.prototype={constructor:zu,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Iu():+n)+(null==t?0:+t),this._next||Mu===this||(Mu?Mu._next=this:Eu=this,Mu=this),this._call=e,this._time=n,Ru()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ru())}};var Vu=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;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(Iu()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=Uu(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:Iu(),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()}}])&&Hu(t.prototype,n),e}(),qu=d().createContext({transitionTimer:new Vu,animationTimer:new Vu});qu.displayName="TimerContext";const Bu=qu;function Gu(){return Gu=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},Gu.apply(this,arguments)}function Yu(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){Ku(e,t,n[t])}))}return e}function Ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Xu=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?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=ne()(e)&&void 0!==e.containerId?e.containerId:mu()("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&&w()(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;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 Yu({},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,o=e.portalComponent,i=e.className,c=e.width,s=e.height,f=e.portalZIndex,p=e.responsive,h=this.getChildren(e),y=p?{width:"100%",height:"100%"}:{width:c,height:s},g=u()({pointerEvents:"none",touchAction:"none",position:"relative"},y),v=u()({zIndex:f,position:"absolute",top:0,left:0},y),b=u()({pointerEvents:"all"},y),m=u()({overflow:"visible"},y),x={width:c,height:s,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:m};return d().createElement(Au.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},d().createElement("div",Gu({style:l()({},n,g),className:i,ref:this.saveContainerRef},this.getOUIAProps(e)),d().createElement("svg",Gu({},t,{style:b}),r?d().createElement("title",{id:this.getIdForElement("title")},r):null,a?d().createElement("desc",{id:this.getIdForElement("desc")},a):null,h),d().createElement("div",{style:v},d().cloneElement(o,Yu({},x,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,a=e.events,o=e.title,i=e.desc,c=e.tabIndex,l=e.preserveAspectRatio,s=e.role,f=r?this.props.style:O(this.props.style,["height","width"]),p=u()({width:t,height:n,tabIndex:c,role:s,"aria-labelledby":[o&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?l:void 0},a);return this.renderContainer(this.props,p,f)}}])&&$u(n.prototype,r),t}(d().Component);Object.defineProperty(Xu,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(Xu,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(Xu,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":f().string,"aria-labelledby":f().string,children:f().oneOfType([f().arrayOf(f().node),f().node]),className:f().string,containerId:f().oneOfType([f().number,f().string]),containerRef:f().func,desc:f().string,events:f().object,height:ru,name:f().string,origin:f().shape({x:ru,y:ru}),ouiaId:f().oneOfType([f().number,f().string]),ouiaSafe:f().bool,ouiaType:f().string,polar:f().bool,portalComponent:f().element,portalZIndex:au,preserveAspectRatio:f().string,responsive:f().bool,role:f().string,style:f().object,tabIndex:f().number,theme:f().object,title:f().string,width:ru}}),Object.defineProperty(Xu,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:d().createElement(Ou,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(Xu,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Bu});var Qu=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Zu="#ECEFF1",Ju="#90A4AE",ec="#455A64",tc="#212121",nc={width:350,height:350,padding:50},rc={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ec,stroke:"transparent",strokeWidth:0},ac=u()({textAnchor:"middle"},rc),oc="round",ic="round";const uc={area:u()({style:{data:{fill:tc},labels:rc}},nc),axis:u()({style:{axis:{fill:"transparent",stroke:Ju,strokeWidth:2,strokeLinecap:oc,strokeLinejoin:ic},axisLabel:u()({},ac,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Zu,strokeDasharray:"10, 5",strokeLinecap:oc,strokeLinejoin:ic,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Ju,strokeWidth:1,strokeLinecap:oc,strokeLinejoin:ic},tickLabels:u()({},rc,{fill:ec})}},nc),polarDependentAxis:u()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:u()({style:{data:{fill:ec,padding:8,strokeWidth:0},labels:rc}},nc),boxplot:u()({style:{max:{padding:8,stroke:ec,strokeWidth:1},maxLabels:u()({},rc,{padding:3}),median:{padding:8,stroke:ec,strokeWidth:1},medianLabels:u()({},rc,{padding:3}),min:{padding:8,stroke:ec,strokeWidth:1},minLabels:u()({},rc,{padding:3}),q1:{padding:8,fill:ec},q1Labels:u()({},rc,{padding:3}),q3:{padding:8,fill:ec},q3Labels:u()({},rc,{padding:3})},boxWidth:20},nc),candlestick:u()({style:{data:{stroke:ec},labels:u()({},rc,{padding:5})},candleColors:{positive:"#ffffff",negative:ec}},nc),chart:nc,errorbar:u()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ec,strokeWidth:2},labels:rc}},nc),group:u()({colorScale:Qu},nc),histogram:u()({style:{data:{fill:ec,stroke:tc,strokeWidth:2},labels:rc}},nc),legend:{colorScale:Qu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:rc,title:u()({},rc,{padding:5})}},line:u()({style:{data:{fill:"transparent",opacity:1,stroke:ec,strokeWidth:2},labels:rc}},nc),pie:u()({colorScale:Qu,style:{data:{padding:8,stroke:Zu,strokeWidth:1},labels:u()({},rc,{padding:20})}},nc),scatter:u()({style:{data:{fill:ec,opacity:1,stroke:"transparent",strokeWidth:0},labels:rc}},nc),stack:u()({colorScale:Qu},nc),tooltip:{style:u()({},rc,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:tc,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:u()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:u()({},rc,{padding:5,pointerEvents:"none"}),flyout:{stroke:tc,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},nc)};var cc=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],lc="#252525",sc="#969696",fc={width:450,height:300,padding:50,colorScale:cc},pc={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:lc,stroke:"transparent"},dc=u()({textAnchor:"middle"},pc);const hc={material:uc,grayscale:{area:u()({style:{data:{fill:lc},labels:pc}},fc),axis:u()({style:{axis:{fill:"transparent",stroke:lc,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:u()({},dc,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:pc}},fc),bar:u()({style:{data:{fill:lc,padding:8,strokeWidth:0},labels:pc}},fc),boxplot:u()({style:{max:{padding:8,stroke:lc,strokeWidth:1},maxLabels:u()({},pc,{padding:3}),median:{padding:8,stroke:lc,strokeWidth:1},medianLabels:u()({},pc,{padding:3}),min:{padding:8,stroke:lc,strokeWidth:1},minLabels:u()({},pc,{padding:3}),q1:{padding:8,fill:sc},q1Labels:u()({},pc,{padding:3}),q3:{padding:8,fill:sc},q3Labels:u()({},pc,{padding:3})},boxWidth:20},fc),candlestick:u()({style:{data:{stroke:lc,strokeWidth:1},labels:u()({},pc,{padding:5})},candleColors:{positive:"#ffffff",negative:lc}},fc),chart:fc,errorbar:u()({borderWidth:8,style:{data:{fill:"transparent",stroke:lc,strokeWidth:2},labels:pc}},fc),group:u()({colorScale:cc},fc),histogram:u()({style:{data:{fill:sc,stroke:lc,strokeWidth:2},labels:pc}},fc),legend:{colorScale:cc,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:pc,title:u()({},pc,{padding:5})}},line:u()({style:{data:{fill:"transparent",stroke:lc,strokeWidth:2},labels:pc}},fc),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:u()({},pc,{padding:20})},colorScale:cc,width:400,height:400,padding:50},scatter:u()({style:{data:{fill:lc,stroke:"transparent",strokeWidth:0},labels:pc}},fc),stack:u()({colorScale:cc},fc),tooltip:{style:u()({},pc,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:lc,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:u()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:u()({},pc,{padding:5,pointerEvents:"none"}),flyout:{stroke:lc,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},fc)}};var yc=r(1273),gc=r.n(yc);function vc(e,t){return(e.key||t).toString()}function bc(e){return e.reduce((function(e,t,n){return e[vc(t,n)]=t,e}),{})}function mc(e,t){var n=!1,r=y()(e).reduce((function(e,r){return r in t||(n=!0,e[r]=!0),e}),{});return n&&r}function xc(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function wc(e,t){var n=!1,r=!1,a=function(e,t){return e.map((function(o,i){return o&&o.props&&o.props.children&&t[i]?a(d().Children.toArray(e[i].props.children),d().Children.toArray(t[i].props.children)):function(e,t){if(!t||e.type!==t.type)return{};var a,o,i,u,c=(a=xc(e),o=xc(t),i=a&&bc(a),u=o&&bc(o),{entering:i&&mc(u,i),exiting:u&&mc(i,u)}||{}),l=c.entering,s=c.exiting;return n=n||!!s,r=r||!!l,{entering:l||!1,exiting:s||!1}}(o,t[i])}))},o=a(d().Children.toArray(e),d().Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function Oc(e,t,n){var r=t&&t.nodesWillExit,a=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,c=t&&t.nodesDoneLoad,s=t&&t.childrenTransitions||[],f={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},p=function(e,t,r){return i?function(e,t,r){if((e=u()({},e,{onEnd:function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var a=e.onLoad&&e.onLoad.after?e.onLoad.after:ae();return{animate:e,data:t=t.map((function(e,n){return u()({},e,a(e,n,t))}))}}(r,t):function(e,t,r,a){if((e=u()({},e,{onEnd:function(){n({nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:r};var o=e.onLoad&&e.onLoad.before?e.onLoad.before:ae();return{animate:e,data:r=r.map((function(e,t){return u()({},e,o(e,t,r))})),clipWidth:0}}(r,0,t)},d=function(e,t,r,a){return function(e,t,r,a,o){var i=e&&e.onExit;if(e=u()({},e,i),a){e.onEnd=function(){n({nodesWillExit:!1})};var c=e.onExit&&e.onExit.before?e.onExit.before:ae();r=r.map((function(e,t){var n=(e.key||t).toString();return a[n]?u()({},e,c(e,t,r)):e}))}return{animate:e,data:r}}(a,0,r,e)},h=function(e,t,r,a){return o?function(e,t,r,a){var o=e&&e.onEnter;if(e=u()({},e,o),r){e.onEnd=function(){n({nodesWillEnter:!1})};var i=e.onEnter&&e.onEnter.after?e.onEnter.after:ae();t=t.map((function(e,n){var a=vc(e,n);return r[a]?u()({},e,i(e,n,t)):e}))}return{animate:e,data:t}}(a,r,e):function(e,t,r,a,o){if(a){var i=(e=u()({},e,{onEnd:function(){n({nodesShouldEnter:!0})}})).onEnter&&e.onEnter.before?e.onEnter.before:ae();r=r.map((function(e,t){var n=(e.key||t).toString();return a[n]?u()({},e,i(e,t,r)):e}))}return{animate:e,data:r}}(a,0,r,e)},y=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,i){var g=xc(n)||[],v=l()({},e.animate,n.props.animate),b=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;v.onExit=l()({},v.onExit,b&&b.onExit),v.onEnter=l()({},v.onEnter,b&&b.onEnter),v.onLoad=l()({},v.onLoad,b&&b.onLoad);var m=s[i]||s[0];if(!c){var x={duration:void 0!==f.load?f.load:y(n,"onLoad")};return p(0,g,u()({},v,x))}if(r){var w=m&&m.exiting,O=void 0!==f.exit?f.exit:y(n,"onExit"),k=w?{duration:O}:{delay:O};return d(w,0,g,u()({},v,k))}if(a){var A=m&&m.entering,E=void 0!==f.enter?f.enter:y(n,"onEnter"),M=void 0!==f.move?f.move:n.props.animate&&n.props.animate.duration,C={duration:o&&A?E:M};return h(A,0,g,u()({},v,C))}return!t&&v&&v.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:ae();return{data:t.map((function(e,r){return u()({},e,n(e,r,t))}))}}(v,g):{animate:v,data:g}}}function kc(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){Ac(e,t,n[t])}))}return e}function Ac(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Mc={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},Cc=r(484),jc=r.n(Cc),Pc=r(5161),Sc=r.n(Pc),Tc=r(8266),_c=r.n(Tc),Dc=r(1299),Lc=r.n(Dc);function Ic(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 Nc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var zc=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?Nc(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state=n.state||{},n.getScopedEvents=_i.bind(Nc(n)),n.getEventState=Li.bind(Nc(n)),n.baseProps=n.getBaseProps(e),n.sharedEventsCache={},n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n}var n,r;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){if(!_c()(this.props,e)){this.baseProps=this.getBaseProps(e);var t=this.getExternalMutations(e,this.baseProps);this.applyExternalMutations(e,t)}return!0}},{key:"componentDidMount",value:function(){var e=this,t=y()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(){var e=this,t=y()(this.globalEvents);jc()(this.prevGlobalEventKeys,t).forEach((function(t){return e.removeGlobalListener(t)})),jc()(t,this.prevGlobalEventKeys).forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var r=t.globalEvents[e];return r&&r(Ri(n))};this.boundGlobalEvents[e]=n,window.addEventListener(Ui(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(Ui(e),this.boundGlobalEvents[e])}},{key:"getAllEvents",value:function(e){var t,n=zi(e,["container","groupComponent"]);return Array.isArray(n)?Array.isArray(e.events)?n.concat.apply(n,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}}(t=e.events)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):n:e.events}},{key:"applyExternalMutations",value:function(e,t){if(!o()(t)){var n=e.externalEventMutations.reduce((function(e,t){return w()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getExternalMutations",value:function(e,t){return o()(e.externalEventMutations)?void 0:function(e,t,n,r){return t=t||{},n=n||{},r.reduce((function(r,a){var i=n[a],u=Ii(e,t[a],n[a],a);return r[a]=u||i,Ci()(r,(function(e){return!o()(e)}))}),{})}(e.externalEventMutations,t,this.state,y()(t))}},{key:"cacheSharedEvents",value:function(e,t,n){this.sharedEventsCache[e]=[t,n]}},{key:"getCachedSharedEvents",value:function(e,t){var n,r,a=(n=this.sharedEventsCache[e]||[],r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=a[0],i=a[1];if(o&&_c()(t,i))return o}},{key:"getBaseProps",value:function(e){var t=e.container,n=d().Children.toArray(this.props.children),r=this.getBasePropsFromChildren(n),a=t?t.props:{};return u()({},r,{parent:a})}},{key:"getBasePropsFromChildren",value:function(e){var t=L(e,(function(e,t){if(e.type&&w()(e.type.getBaseProps)){var n=e.props&&e.type.getBaseProps(e.props);return n?[[t,n]]:null}return null}));return Sc()(t)}},{key:"getNewChildren",value:function(e,t){var n=this,r=e.events,a=e.eventKey,o=function(e,i){return e.reduce((function(e,c,l){if(c.props.children){var s=d().Children.toArray(c.props.children),f=i.slice(l,l+s.length),p=d().cloneElement(c,c.props,o(s,f));return e.concat(p)}if("parent"!==i[l]&&c.type&&w()(c.type.getBaseProps)){var h=c.props.name||i[l],y=Array.isArray(r)&&r.filter((function(e){return"parent"!==e.target&&(Array.isArray(e.childName)?e.childName.indexOf(h)>-1:e.childName===h||"all"===e.childName)})),g=[h,t,y,Lc()(n.state[h])],v=n.getCachedSharedEvents(h,g)||{events:y,getEvents:function(e,r){return n.getScopedEvents(e,r,h,t)},getEventState:function(e,t){return n.getEventState(e,t,h)}};return n.cacheSharedEvents(h,v,g),e.concat(d().cloneElement(c,u()({key:"events-".concat(h),sharedEvents:v,eventKey:a,name:h},c.props)))}return e.concat(c)}),[])},i=y()(t),c=d().Children.toArray(e.children);return o(c,i)}},{key:"getContainer",value:function(e,t,n){var r=this,a=this.getNewChildren(e,t),o=Array.isArray(n)&&n.filter((function(e){return"parent"===e.target})),i=o.length>0?{events:o,getEvents:function(e,n){return r.getScopedEvents(e,n,null,t)},getEventState:this.getEventState}:null,c=e.container||e.groupComponent,s=c.type&&c.type.role,f=c.props||{},p=Ti.bind(this),h=i&&p({sharedEvents:i},"parent"),y=l()({},this.getEventState("parent","parent"),f,t.parent,{children:a}),g=l()({},Di(h,"parent",y),f.events);this.globalEvents=Fi(g);var v=Wi(g);return"container"===s?d().cloneElement(c,u()({},y,{events:v})):d().cloneElement(c,v,a)}},{key:"render",value:function(){var e=this.getAllEvents(this.props);return e?this.getContainer(this.props,this.baseProps,e):d().cloneElement(this.props.container,{children:this.props.children})}}],r&&Ic(n.prototype,r),t}(d().Component);Object.defineProperty(zc,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySharedEvents"}),Object.defineProperty(zc,"role",{configurable:!0,enumerable:!0,writable:!0,value:"shared-event-wrapper"}),Object.defineProperty(zc,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().oneOfType([f().arrayOf(f().node),f().node]),container:f().node,eventKey:f().oneOfType([f().array,f().func,nu([au,ru]),f().string]),events:f().arrayOf(f().shape({childName:f().oneOfType([f().string,f().array]),eventHandlers:f().object,eventKey:f().oneOfType([f().array,f().func,nu([au,ru]),f().string]),target:f().string})),externalEventMutations:f().arrayOf(f().shape({callback:f().function,childName:f().oneOfType([f().string,f().array]),eventKey:f().oneOfType([f().array,nu([au,ru]),f().string]),mutation:f().function,target:f().oneOfType([f().string,f().array])})),groupComponent:f().node}}),Object.defineProperty(zc,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d().createElement("g",null)}}),Object.defineProperty(zc,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Bu});var Uc={"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},Montserrat:{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,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},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},Overpass:{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,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},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},RedHatText:{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,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"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}},Fc={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Wc={em:1,ex:.5},Rc={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Hc=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},Vc=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)},qc=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?Fc.hasOwnProperty(n)?r*Fc[n]:Wc.hasOwnProperty(n)?(t?r*t:r*Rc.fontSize)*Wc[n]:r:r||0},Bc=function(e,t){var n=Array.isArray(e)?e[t]:e,r=l()({},n,Rc);return u()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:qc(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:qc(String(r.fontSize))})},Gc=function(e,t){if(void 0===e||""===e||null===e)return 0;var n,r=Hc(e).map((function(e,n){var r,a,o=e.toString().length,i=Bc(t,n),u=i.fontSize,c=i.letterSpacing,l=(r=i.fontFamily,a=r.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return Uc[e]}))||"Helvetica",Uc[a]);return e.toString().split("").map((function(e){return e.charCodeAt(0)<l.widths.length?l.widths[e.charCodeAt(0)]:l.avg})).reduce((function(e,t){return t+e}),0)*u+c*Math.max(o-1,0)}));return Math.max.apply(Math,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}}(n=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},Yc=function(e,t){return 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:Hc(e).reduce((function(e,n,r){var a=Bc(t,r),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*a.fontSize:a.fontSize;return e+a.lineHeight*o}),0)}(e,t),a=Gc(e,t);return{width:n?Vc(a,r,n):a,height:1.05*(n?Vc(r,a,n):r)}}(e,t)};function Kc(){return Kc=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},Kc.apply(this,arguments)}function $c(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){Xc(e,t,n[t])}))}return e}function Xc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qc=function(e){return e=function(e){var t=E(e.ariaLabel,e),n=E(e.desc,e),r=E(e.id,e),a=M(u()({stroke:"black"},e.style),e),o=E(e.tabIndex,e);return u()({},e,{ariaLabel:t,desc:n,id:r,style:a,tabIndex:o})}(e),d().cloneElement(e.lineComponent,$c({},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}))};Qc.propTypes=$c({},su,{datum:f().any,lineComponent:f().element,x1:f().number,x2:f().number,y1:f().number,y2:f().number}),Qc.defaultProps={lineComponent:d().createElement((function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?d().createElement("line",Kc({vectorEffect:"non-scaling-stroke"},n),d().createElement("desc",null,t)):d().createElement("line",Kc({vectorEffect:"non-scaling-stroke"},n))}),null),role:"presentation",shapeRendering:"auto"};const Zc=Qc;function Jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function el(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 tl(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 nl=function(e){function t(){return Jc(this,t),tl(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;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&&(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=l()(r,n,O(this.props,["children","groupComponent"])),o=e&&d().cloneElement(e,a);return this.renderPortal(o)}}])&&el(n.prototype,r),t}(d().Component);function rl(e){var t=e.labelComponent,n=e.labelPlacement,r=e.polar?"perpendicular":"vertical";return n||t.props&&t.props.labelPlacement||r}function al(e,t){var n=rl(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function ol(e,t){var n=rl(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 il(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var a=void 0!==t?t%360:function(e,t){var n=k(t).x;return j(e.scale.x(n))%360}(e,r),o=0;return 0===a||180===a?o=90:a>0&&a<180?o=90-a:a>180&&a<360&&(o=270-a),o+(a>90&&a<180||a>270?1:-1)*("perpendicular"===n?0:90)}Object.defineProperty(nl,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(nl,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(nl,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().node,groupComponent:f().element}}),Object.defineProperty(nl,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d().createElement("g",null)}}),Object.defineProperty(nl,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Au});var ul=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,ul(t)].join(" ")}),ul(e)).trim();if(null==e||"string"==typeof e)return e;var a=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];a.push("".concat(o,"(").concat(i,")"))}return a.join(" ").trim()};var cl=function(e){var t=e.children,n=e.title,r=e.desc,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["children","title","desc"]);return d().createElement("text",a,n&&d().createElement("title",null,n),r&&d().createElement("desc",null,r),t)};cl.propTypes={children:f().node,desc:f().string,title:f().string};const ll=cl;function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(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 pl={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},dl=function(e,t){if(!e.datum)return 0;var n=function(e,t){var n=e.scale,r=e.polar,a=e.horizontal,o=k(t),i=e.origin||{x:0,y:0},u=a?n.y(o.y):n.x(o.x),c=a?n.y(o.y0):n.x(o.x0),l=a?n.x(o.x):n.y(o.y),s=a?n.x(o.x0):n.y(o.y0);return{x:r?l*Math.cos(u)+i.x:u,x0:r?s*Math.cos(c)+i.x:c,y:r?-l*Math.sin(u)+i.y:l,y0:r?-s*Math.sin(c)+i.x:s}}(e,e.datum);return n[t]},hl=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return pl.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?pl.fontSize:n}return pl.fontSize},yl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},gl=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!o()(t)||Array.isArray(n)&&!o()(n)},vl=function(e,t){var n=e.direction,r=e.textAnchor,a=e.x,o=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+(o||0)}},bl=function(e,t){var n=e.verticalAnchor,r=e.y,a=e.originalDy,o=r+(void 0===a?0:a);switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-t);default:return Math.floor(o-t/2)}},ml=function(e,t){return gl(e)?function(e,t){var n=e.dy,r=e.dx,a=e.transform,o=e.backgroundStyle,i=e.backgroundPadding,u=e.backgroundComponent,c=e.inline,s=e.y,f=t.map((function(e,a){var o=yl(t,a-1),u=e.textSize,l=e.fontSize*e.lineHeight,f=Math.ceil(l),p=yl(i,a),d=yl(i,a-1),h=c&&r||0,y=a&&!c?o.fontSize*o.lineHeight+d.top+d.bottom:n-.5*l-(e.fontSize-e.capHeight);return{textHeight:f,labelSize:u,heightWithPadding:f+p.top+p.bottom,widthWithPadding:u.width+p.left+p.right+h,y:s,fontSize:e.fontSize,dy:y}}));return f.map((function(t,n){var r=vl(e,t.labelSize.width),p=f.slice(0,n+1).reduce((function(e,t){return e+t.dy}),s),h=yl(i,n),y=t.heightWithPadding,g=c?function(e,t,n){var r=e.textAnchor,a=t.map((function(e){return e.widthWithPadding})),o=-a.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return a.reduce((function(e,t,r){return r<n?e+t:e}),0);case"end":return a.reduce((function(e,t,r){return r>n?e-t:e}),0);default:return a.reduce((function(e,t,r){return r===n?e+t/2:e+(r<n?t:0)}),o)}}(e,f,n)+r-h.left:r,v=c?bl(e,y)-h.top:p,b={key:"tspan-background-".concat(n),height:y,style:yl(o,n),width:t.widthWithPadding,transform:a,x:g-h.left,y:v};return d().cloneElement(u,l()({},u.props,b))}))}(e,t):function(e,t){var n=e.dx,r=void 0===n?0:n,a=e.transform,o=e.backgroundComponent,i=e.backgroundStyle,u=e.inline,c=e.backgroundPadding,s=e.capHeight,f=t.map((function(e){return e.textSize})),p=u?Math.max.apply(Math,fl(f.map((function(e){return e.height})))):f.reduce((function(e,n,r){var a=r?0:s/2;return e+n.height*(t[r].lineHeight-a)}),0),h=u?f.reduce((function(e,t,n){var a=n?r:0;return e+t.width+a}),0):Math.max.apply(Math,fl(f.map((function(e){return e.width})))),y=vl(e,h),g=bl(e,p),v={key:"background",height:p+c.top+c.bottom,style:i,transform:a,width:h+c.left+c.right,x:u?y-c.left:y+r-c.left,y:g};return d().cloneElement(o,l()({},o.props,v))}(e,t)},xl=function(e,t,n){var r=t.inline,a=yl(e,n);return n&&!r?function(e,t,n){var r=yl(e,t),a=yl(e,t-1),o=a.fontSize*a.lineHeight,i=r.fontSize*r.lineHeight,u=a.fontSize-a.capHeight,c=r.fontSize-r.capHeight,l=o-a.fontSize/2+r.fontSize/2-o/2+i/2-c/2+u/2;return gl(n)?l+r.backgroundPadding.top+a.backgroundPadding.bottom:l}(e,n,t):r?0===n?a.backgroundPadding.top:void 0:a.backgroundPadding.top},wl=function(e){if(null===(e=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return E(e,t)}));var n=E(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=M(e,t);return{fontSize:hl(n)}}var r=function(e){var n=M(e=e?l()({},e,pl):pl,t);return u()({},n,{fontSize:hl(n)})};return Array.isArray(e)&&!o()(e)?e.map((function(e){return r(e)})):r(e)}(e.style,u()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!o()(e)?e.map((function(e){return M(e,t)})):M(e,t)}(e.backgroundStyle,u()({},e,{text:t,style:n})),a=function(e){return e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((function(t){return A({padding:E(t,e)})})):A({padding:E(e.backgroundPadding,e)})}(u()({},e,{text:t,style:n,backgroundStyle:r})),i=E(e.id,e);return u()({},e,{backgroundStyle:r,backgroundPadding:a,style:n,text:t,id:i})}(e)).text||void 0===e.text)return null;var t=function(e){var t=E(e.ariaLabel,e),n=yl(e.style),r=function(e){var t=E(e.lineHeight,e);return Array.isArray(t)&&o()(t)?[1]:t}(e),a=e.direction?E(e.direction,e):"inherit",i=e.textAnchor?E(e.textAnchor,e):n.textAnchor||"start",c=e.verticalAnchor?E(e.verticalAnchor,e):n.verticalAnchor||"middle",l=e.dx?E(e.dx,e):0,s=function(e,t,n){var r=e.dy?E(e.dy,e):0,a=e.inline?1:e.text.length,o=E(e.capHeight,e),i=t?E(t,e):"middle",u=fl(Array(a).keys()).map((function(t){return yl(e.style,t).fontSize})),c=fl(Array(a).keys()).map((function(e){return yl(n,e)}));if("start"===i)return r+(o/2+c[0]/2)*u[0];if(e.inline)return"end"===i?r+(o/2-c[0]/2)*u[0]:r+o/2*u[0];if(1===a)return"end"===i?r+(o/2+(.5-a)*c[0])*u[0]:r+(o/2+(.5-a/2)*c[0])*u[0];var l=fl(Array(a).keys()).reduce((function(e,t){return e+(o/2+(.5-a)*c[t])*u[t]/a}),0);return"end"===i?r+l:r+l/2+o/2*c[a-1]*u[a-1]}(e,c,r),f=void 0!==e.x?e.x:dl(e,"x"),p=void 0!==e.y?e.y:dl(e,"y"),d=function(e,t,n){var r=e.polar,a=yl(e.style),o=r?il(e):0,i=void 0===a.angle?E(e.angle,e):a.angle,u=void 0===i?o:i,c=e.transform||a.transform,l=c&&E(c,e);return l||u?ul(l,u&&{rotate:[u,t,n]}):void 0}(e,f,p);return u()({},e,{ariaLabel:t,lineHeight:r,direction:a,textAnchor:i,verticalAnchor:c,dx:l,dy:s,originalDy:e.dy,transform:d,x:f,y:p})}(e),n=t.text,r=t.style,a=t.capHeight,i=t.backgroundPadding,c=t.lineHeight,s=n.map((function(e,t){var n=yl(r,t),o=qc("".concat(a,"em"),n.fontSize),u=yl(c,t);return{style:n,fontSize:n.fontSize||pl.fontSize,capHeight:o,text:e,textSize:Yc(e,n),lineHeight:u,backgroundPadding:yl(i,t)}})),f=function(e,t){var n=e.ariaLabel,r=e.inline,a=e.className,o=e.title,i=e.events,u=e.direction,c=e.text,l=e.textAnchor,s=e.dx,f=e.dy,p=e.transform,h=e.x,y=e.y,g=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){sl(e,t,n[t])}))}return e}({"aria-label":n,key:"text"},i,{direction:u,dx:s,x:h,y:y+f,transform:p,className:a,title:o,desc:E(g,e),tabIndex:E(b,e),id:v}),O=c.map((function(n,a){var o=t[a].style,i={key:"".concat(v,"-key-").concat(a),x:r?void 0:h,dx:r?s+t[a].backgroundPadding.left:s,dy:xl(t,e,a),textAnchor:o.textAnchor||l,style:o,children:n};return d().cloneElement(m,i)}));return d().cloneElement(x,w,O)}(t,s);if(e.backgroundStyle){var p=[ml(t,s),f],h=d().cloneElement(e.groupComponent,{},p);return e.renderInPortal?d().createElement(nl,null,h):h}return e.renderInPortal?d().createElement(nl,null,f):f};wl.displayName="VictoryLabel",wl.role="label",wl.defaultStyles=pl,wl.propTypes={active:f().bool,angle:f().oneOfType([f().string,f().number,f().func]),ariaLabel:f().oneOfType([f().string,f().func]),backgroundComponent:f().element,backgroundPadding:f().oneOfType([f().number,f().object,f().array]),backgroundStyle:f().oneOfType([f().object,f().array]),capHeight:f().oneOfType([f().string,ru,f().func]),className:f().string,data:f().array,datum:f().any,desc:f().oneOfType([f().string,f().func]),direction:f().oneOf(["rtl","ltr","inherit"]),dx:f().oneOfType([f().number,f().string,f().func]),dy:f().oneOfType([f().number,f().string,f().func]),events:f().object,groupComponent:f().element,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),inline:f().bool,labelPlacement:f().oneOf(["parallel","perpendicular","vertical"]),lineHeight:f().oneOfType([f().string,ru,f().func,f().array]),origin:f().shape({x:ru,y:ru}),polar:f().bool,renderInPortal:f().bool,scale:f().shape({x:uu,y:uu}),style:f().oneOfType([f().object,f().array]),tabIndex:f().oneOfType([f().number,f().func]),text:f().oneOfType([f().string,f().number,f().func,f().array]),textAnchor:f().oneOfType([f().oneOf(["start","middle","end","inherit"]),f().func]),textComponent:f().element,title:f().string,transform:f().oneOfType([f().string,f().object,f().func]),tspanComponent:f().element,verticalAnchor:f().oneOfType([f().oneOf(["start","middle","end"]),f().func]),x:f().oneOfType([f().number,f().string]),y:f().oneOfType([f().number,f().string])},wl.defaultProps={backgroundComponent:d().createElement(pu,null),groupComponent:d().createElement("g",null),direction:"inherit",textComponent:d().createElement(ll,null),tspanComponent:d().createElement((function(e){return d().createElement("tspan",e)}),null),capHeight:.71,lineHeight:1};const Ol=wl;var kl=r(6866),Al=r.n(kl);function El(e){return+e}function Ml(e){return e*e}function Cl(e){return e*(2-e)}function jl(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Pl(e){return e*e*e}function Sl(e){return--e*e*e+1}function Tl(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var _l=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),Dl=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),Ll=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),Il=Math.PI,Nl=Il/2;function zl(e){return 1==+e?1:1-Math.cos(e*Nl)}function Ul(e){return Math.sin(e*Nl)}function Fl(e){return(1-Math.cos(Il*e))/2}function Wl(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function Rl(e){return Wl(1-+e)}function Hl(e){return 1-Wl(e)}function Vl(e){return((e*=2)<=1?Wl(1-e):2-Wl(e-1))/2}function ql(e){return 1-Math.sqrt(1-e*e)}function Bl(e){return Math.sqrt(1- --e*e)}function Gl(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var Yl=7.5625;function Kl(e){return 1-$l(1-e)}function $l(e){return(e=+e)<.36363636363636365?Yl*e*e:e<.7272727272727273?Yl*(e-=.5454545454545454)*e+.75:e<.9090909090909091?Yl*(e-=.8181818181818182)*e+.9375:Yl*(e-=.9545454545454546)*e+.984375}function Xl(e){return((e*=2)<=1?1-$l(1-e):$l(e-1)+1)/2}var Ql=1.70158,Zl=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(Ql),Jl=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(Ql),es=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}(Ql),ts=2*Math.PI,ns=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=ts);function a(e){return t*Wl(- --e)*Math.sin((r-e)/n)}return a.amplitude=function(t){return e(t,n*ts)},a.period=function(n){return e(t,n)},a}(1,.3),rs=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=ts);function a(e){return 1-t*Wl(e=+e)*Math.sin((e+r)/n)}return a.amplitude=function(t){return e(t,n*ts)},a.period=function(n){return e(t,n)},a}(1,.3),as=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=ts);function a(e){return((e=2*e-1)<0?t*Wl(-e)*Math.sin((r-e)/n):2-t*Wl(e)*Math.sin((r+e)/n))/2}return a.amplitude=function(t){return e(t,n*ts)},a.period=function(n){return e(t,n)},a}(1,.3),os=function(e){if(null!==e)switch(typeof e){case"undefined":case"boolean":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return e instanceof Date||Array.isArray(e)||N()(e)}return!1},is=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},us=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 Ht(r,a)(n)}}},cs=function(e,t){var n,r,a,o=function(e){return Array.isArray(e)?X()(e,"key"):e},i={},u={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=(r=o(e[n]))!==(a=o(t[n]))&&os(r)&&os(a)?"function"==typeof r||"function"==typeof a?us(r,a):"object"==typeof r&&N()(r)||"object"==typeof a&&N()(a)?cs(r,a):Ht(r,a):is(r,a):u[n]=t[n];return function(e){for(n in i)u[n]=i[n](e);return u}};function ls(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 ss(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var fs=function(e){function n(e,r){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(a=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ss(e):t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,r))).state={data:Array.isArray(a.props.data)?a.props.data[0]:a.props.data,animationInfo:{progress:0,animating:!1}},a.interpolator=null,a.queue=Array.isArray(a.props.data)?a.props.data.slice(1):[],a.ease=t[a.toNewName(a.props.easing)],a.functionToBeRunEachFrame=a.functionToBeRunEachFrame.bind(ss(a)),a.timer=a.context.animationTimer,a}var 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)}(n,e),r=n,(a=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(e){if(!_c()(this.props,e))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var t;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(t=this.queue).push.apply(t,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}}(n=this.props.data)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var n}},{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,t,n=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(e=this.state.data)!==(t=r)&&os(e)&&os(t)?"function"==typeof e||"function"==typeof t?us(e,t):N()(e)||N()(t)?cs(e,t):"string"==typeof e||"string"==typeof t?function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return Ht(n(e),n(t))}(e,t):Ht(e,t):is(e,t),this.props.delay?setTimeout((function(){n.loopID=n.timer.subscribe(n.functionToBeRunEachFrame,n.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)}}])&&ls(r.prototype,a),n}(d().Component);function ps(){return ps=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},ps.apply(this,arguments)}function ds(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 hs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(fs,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(fs,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().func,data:f().oneOfType([f().object,f().array]),delay:f().number,duration:f().number,easing:f().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:f().func}}),Object.defineProperty(fs,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(fs,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Bu});var ys=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?hs(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var a=r.props.children,o=a.props.polar;return r.continuous=!o&&a.type&&!0===a.type.continuous,r.getTransitionState=r.getTransitionState.bind(hs(r)),r.timer=r.context.transitionTimer,r}var n,r;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 _c()(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=wc(d().Children.toArray(e.children),d().Children.toArray(t.children)),a=r.nodesWillExit;return{nodesWillExit:a,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:a?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce((function(e,r){if(r.type&&w()(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().Children.toArray(r.props.children))):e}),[])},r=d().Children.toArray(e.children)[0],a=r.props||{},o=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[t];if(!a.children&&o)return o;var i=n([r]);return 0===i.length?[0,1]:[pe(i),fe(i)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=ne()(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=T(t.props,"x"))?Math.abs(n[1]-n[0]):e.width}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=ne()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:Oc(t,this.state,(function(t){return e.setState(t)})),r=d().Children.toArray(t.children)[0],a=n(r);this.transitionProps=a;var o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},i=this.getClipWidth(t,r),u=l()({domain:o,clipWidth:i},a,r.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),s=c.length?v()(u,c):u;return d().createElement(fs,ps({},u.animate,{data:s}),(function(t){if(r.props.groupComponent){var n=e.continuous?d().cloneElement(r.props.groupComponent,{clipWidth:t.clipWidth||0}):r.props.groupComponent;return d().cloneElement(r,l()({animate:null,animating:!0,groupComponent:n},t,u))}return d().cloneElement(r,l()({animate:null,animating:!0},t,u))}))}}],r&&ds(n.prototype,r),t}(d().Component);function gs(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 vs(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 bs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(ys,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(ys,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:f().oneOfType([f().bool,f().object]),animationWhitelist:f().array,children:f().node}}),Object.defineProperty(ys,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Bu});var ms=function(e){return!Al()(e._x)&&!Al()(e._y)},xs=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];const ws=function(e,t){return function(n){function r(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?bs(e):t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));var n=_i.bind(bs(t)),a=Ti.bind(bs(t));t.state={},t.getEvents=function(e,t,r){return a(e,t,r,n)},t.getEventState=Li.bind(bs(t));var o=t.getCalculatedValues(e);return t.cacheValues(o),t.externalMutations=t.getExternalMutations(e),t.calculatedState=t.getStateChanges(e),t.globalEvents={},t.prevGlobalEventKeys=[],t.boundGlobalEvents={},t}var a,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)}(r,n),a=r,i=[{key:"shouldComponentUpdate",value:function(e){var t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,r=!_c()(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 _c()(this.calculatedState,a)?!_c()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}},{key:"componentDidMount",value:function(){var e=this,t=y()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.getStateChanges(e);this.calculatedState=n;var r=y()(this.globalEvents);jc()(this.prevGlobalEventKeys,r).forEach((function(e){return t.removeGlobalListener(e)})),jc()(r,this.prevGlobalEventKeys).forEach((function(e){return t.addGlobalListener(e)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var r=t.globalEvents[e];return r&&r(Ri(n))};this.boundGlobalEvents[e]=n,window.addEventListener(Ui(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(Ui(e),this.boundGlobalEvents[e])}},{key:"getStateChanges",value:function(e){var n=this;if(!this.hasEvents)return{};var r=function(e,t){var r=l()({},n.getEventState(e,t),n.getSharedEventState(e,t));return o()(r)?void 0:r};return((t=t||{}).components||xs).map((function(t){return e.standalone||"parent"!==t.name?void 0!==t.index?r(t.index,t.name):n.dataKeys.map((function(e){return r(e,t.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 w()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getCalculatedValues",value:function(t){var n=t.sharedEvents,r=zi(t,e.expectedComponents),a=n&&w()(n.getEventState)?n.getEventState:function(){},o=this.getBaseProps(t,a);return{componentEvents:r,getSharedEventState:a,baseProps:o,dataKeys:y()(o).filter((function(e){return"parent"!==e})),hasEvents:t.events||t.sharedEvents||r,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return o()(n)||t?void 0:Ii(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;y()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(t,n){var r=(n=n||this.getSharedEventState)("parent","parent"),a=this.getEventState("parent","parent"),o=l()({},a,r),i=o.parentControlledProps,u=i?v()(o,i):{},c=l()({},u,t);return w()(e.getBaseProps)?e.getBaseProps(c):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,gs(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(t,n,r){var a=this.props.name||e.role,o=this.dataKeys&&this.dataKeys[r]||r,i="".concat(a,"-").concat(n,"-").concat(o),c=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(c||this.hasEvents){if(this.hasEvents){var s=this.getEvents(this.props,n,o),f=l()({index:r,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),t.props,c,{id:i}),p=l()({},Di(s,o,f),f.events);return u()({},f,{events:p})}return l()({index:r,key:i},t.props,c,{id:i})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return n.events&&(this.globalEvents=Fi(n.events),n.events=Wi(n.events)),d().cloneElement(e,n,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return d().createElement(ys,{animate:e.animate,animationWhitelist:n},d().createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,r=e.labelComponent,a=e.groupComponent,o=G()(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().cloneElement(r,a))),e}),[]),i=this.getComponentProps(n,"data","all"),u=[d().cloneElement(n,i)].concat(gs(o));return this.renderContainer(a,u)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms,r=e.dataComponent,a=e.labelComponent,o=e.groupComponent,i=this.dataKeys.reduce((function(e,a,o){var i=t.getComponentProps(r,"data",o);return n(i.datum)&&e.push(d().cloneElement(r,i)),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().cloneElement(a,r)})).filter(Boolean),c=gs(i).concat(gs(u));return this.renderContainer(o,c)}}],i&&vs(a.prototype,i),r}(e)};function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ks={top:-1,left:-1,right:1,bottom:1},As=function(e){return null!=e},Es=function(e,t){var n=e.style||{};return t=t||{},{parent:l()(n.parent,t.parent,{height:"100%",width:"100%"}),axis:l()({},n.axis,t.axis),axisLabel:l()({},n.axisLabel,t.axisLabel),grid:l()({},n.grid,t.grid),ticks:l()({},n.ticks,t.ticks),tickLabels:l()({},n.tickLabels,t.tickLabels)}},Ms=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}},Cs=function(e,t,n,r,a){var o=e.position,i=e.transform;return{style:t,x:i.x+o.x,y:i.y+o.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:a,datum:r}},js=function(e,t,n){var r=e.edge,a=e.transform;return{x1:a.x,y1:a.y,x2:r.x+a.x,y2:r.y+a.y,style:t,datum:n}},Ps=function(e,t,n){var r=t||"positive";return n?{positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}}[r][e]:{positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}}[r][e]},Ss=function(e,t,n){var r=t.orientation,a=Ai(e,t.axis);return{top:{x:0,y:void 0!==a?a:n.y},bottom:{x:0,y:void 0!==a?a:e.height-n.y},left:{x:void 0!==a?a:n.x,y:0},right:{x:void 0!==a?a:e.width-n.x,y:0}}[r]},Ts=function(e,t,n){var r=e.tickStyle,a=e.labelStyle,o=r.size||0,i=o+(r.padding||0)+(a.padding||0),u=ks[t];return{x:n?u*i:0,x2:n?u*o:0,y:n?0:u*i,y2:n?0:u*o}},_s=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},Ds=function(e,t){var n=t.orientation,r=t.padding,a=t.isVertical,o=-ks[n];return{x:a?o*(e.width-(r.left+r.right)):0,y:a?0:o*(e.height-(r.top+r.bottom))}},Ls=function(e,t){var n=e.padding,r=e.orientation,a=e.crossAxis,o="right"===r?n.right:n.left,i="top"===r?n.top:n.bottom;return{x:a?t.x-o:0,y:a?t.y-i:0}},Is=function(e,t){var n;return n=t.domain.x&&t.domain.y?e.horizontal?function(e,t){var n=t.scale,r=t.origin,a=t.orientation,o=t.orientations,i=t.domain,u=t.padding,c=u.top,l=u.bottom,s=u.left,f=u.right,p="bottom"===a||"top"===a?a:o.x,d="left"===a||"right"===a?a:o.y,h={x:"bottom"===p?l:c,y:"left"===d?s:f},y="left"===d?0:e.width,g="bottom"===p?e.height:0,v=r.x===i.x[0]||r.x===i.x[1]?0:n.x(r.x),b=r.y===i.y[0]||r.y===i.y[1]?0:n.y(r.y),m=v?Math.abs(g-v):h.x,x=b?Math.abs(y-b):h.y;return{x:As(e.offsetX)?e.offsetX:x,y:As(e.offsetY)?e.offsetY:m}}(e,t):function(e,t){var n=t.scale,r=t.origin,a=t.orientation,o=t.orientations,i=t.domain,u=t.padding,c=u.top,l=u.bottom,s=u.left,f=u.right,p="bottom"===a||"top"===a?a:o.x,d="left"===a||"right"===a?a:o.y,h={x:"left"===d?s:f,y:"bottom"===p?l:c},y="left"===d?0:e.width,g="bottom"===p?e.height:0,v=r.x===i.x[0]||r.x===i.x[1]?0:n.x(r.x),b=r.y===i.y[0]||r.y===i.y[1]?0:n.y(r.y),m=v?Math.abs(y-v):h.x,x=b?Math.abs(g-b):h.y;return{x:As(e.offsetX)?e.offsetX:m,y:As(e.offsetY)?e.offsetY:x}}(e,t):function(e,t){var n,r=t.style,a=t.scale,o=t.orientation,i=t.padding,c=t.axis,l=t.ticks,s=t.stringTicks,f=t.isVertical,p=t.labelPadding,d=e.polar,h=e.horizontal,y={scale:Os({},c,a),polar:d,horizontal:h,ticks:l,stringTicks:s},g="right"===o?i.right:i.left,v="top"===o?i.top:i.bottom,b=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:g,m=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:v,x=r.axisLabel.fontSize||14,w=l.map((function(t,n){var a=s?e.tickValues[t-1]:t;return M(r.ticks,u()({},y,{tick:a,index:n})).size||0})),O=x+2*Math.max.apply(Math,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}}(n=w)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())+p,k=1.2*x;return{x:null!=b?b:f?O:k,y:null!=m?m:f?k:O}}(e,t),{globalTransform:Ss(e,t,n),gridOffset:Ls(t,n),gridEdge:Ds(e,t)}},Ns=function(e,t){var n=function(e){var t=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",o=t&&t[a]&&t[a].style;return r&&o?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=l()({},o[t],r[t]),e}),{}):o||r}(e),n=Es(e,t),r=A(e),a=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=gi(e),a=n.fontSize||14;return e.label?a*(r?2.3:1.6):0}(e,n),o=vi(e)?e.tickValues:void 0,i=si(e),u=ki(e),c=function(e){var t=si(e),n=function(e,t){var n=e.orientation,r=e.horizontal;return n?{top:"x",bottom:"x",left:"y",right:"y"}[n]:r?"x"===t?"y":"x":t}(e,t),r=zo(e,t),a=e.domain&&e.domain[t]||ki(e)||r.domain();return r.range(T(e,n)),r.domain(a),r}(e),s="x"===i?u:void 0,f="y"===i?u:void 0,p="x"===i?c:void 0,d="y"===i?c:void 0,h=!1!==e.crossAxis&&!0!==e.standalone,y=wi(e,c,h),g=mi(e,c),v={x:T(e,"x"),y:T(e,"y")},b={x:e.domain&&e.domain.x?e.domain.x:s,y:e.domain&&e.domain.y?e.domain.y:f},m={x:e.domain&&e.domain.x?zo(e,"x").domain(e.domain.x).range(e.horizontal?v.y:v.x):p,y:e.domain&&e.domain.y?zo(e,"y").domain(e.domain.y).range(e.horizontal?v.x:v.y):d},x=b.x&&b.y?hi(b):void 0,w=x?{x:yi(x.x,b.x),y:yi(x.y,b.y)}:void 0,O=w?{x:Ps("x",w.y,e.horizontal),y:Ps("y",w.x,e.horizontal)}:void 0,k=O?e.orientation||O[i]: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),E=gi(Object.assign({},e,{orientation:k})),M=function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"}[e];return{textAnchor:t?n:"middle",verticalAnchor:t?"middle":n}}(k,E);return{anchors:M,axis:i,crossAxis:h,domain:b,isVertical:E,labelPadding:a,orientation:k,orientations:O,origin:x,padding:r,scale:m,stringTicks:o,style:n,tickFormat:g,ticks:y}}(e=Ei(e,t)),r=n.axis,a=n.style,o=n.orientation,i=n.isVertical,c=n.scale,s=n.ticks,f=n.tickFormat,p=n.anchors,d=n.domain,h=n.stringTicks,y=n.name,g="x"===r?"y":"x",v=e,b=v.width,m=v.height,x=v.standalone,w=v.theme,O=v.polar,k=v.padding,E=v.horizontal,C=Is(e,n),j=C.globalTransform,P=C.gridOffset,S=C.gridEdge,_={scale:Os({},r,c[r]),polar:O,horizontal:E,ticks:s,stringTicks:h},D=function(e,t,n){var r=t.style,a=t.padding,o=t.isVertical,i=e.width,u=e.height;return{style:r.axis,x1:o?n.x:a.left+n.x,x2:o?n.x:i-a.right+n.x,y1:o?a.top+n.y:n.y,y2:o?u-a.bottom+n.y:n.y}}(e,n,j),L=function(e,t,n){var r=t.style,a=t.orientation,o=t.padding,i=t.labelPadding,u=t.isVertical,c=ks[a],l=o.left+o.right,s=o.top+o.bottom,f=c<0?"end":"start",p=r.axisLabel,d=u?-90:0;return{x:u?n.x+c*i:(e.width-l)/2+o.left+n.x,y:u?(e.height-s)/2+o.top+n.y:c*i+n.y,verticalAnchor:p.verticalAnchor||f,textAnchor:p.textAnchor||"middle",angle:void 0===p.angle?d:p.angle,style:p,text:e.label}}(e,n,j),I={parent:u()({style:a.parent,ticks:s,standalone:x,theme:w,width:b,height:m,padding:k,domain:d,name:y},_)},N={dimension:g,range:Os({},g,T(e,g)),scale:e.scale&&e.scale[g]?Os({},g,e.scale[g]):void 0};return s.reduce((function(e,t,n){var l=h?h[n]:t,d=f(t,n,s),y=function(e,t){return{tickStyle:M(e.ticks,t),labelStyle:M(e.tickLabels,t),gridStyle:M(e.grid,t)}}(a,u()({},_,{tick:l,tickValue:t,index:n,text:d})),g={position:Ts(y,o,i),transform:_s(c[r](t),j,i)},v={edge:S,transform:{x:i?-P.x+j.x:c[r](t)+j.x,y:i?c[r](t)+j.y:P.y+j.y}};return e[n]={axis:u()({dimension:r},_,D),axisLabel:u()({},_,L),ticks:u()({},_,Ms(g,y.tickStyle,t)),tickLabels:u()({},_,Cs(g,y.labelStyle,p,t,d)),grid:u()({},_,N,js(v,y.gridStyle,t))},e}),I)};function zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fs(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 Ws(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 Rs={width:450,height:300,padding:50},Hs=function(e){function t(){return Us(this,t),Ws(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;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().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().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 l=t.getComponentProps(n,"ticks",c),s=d().cloneElement(n,l),f=u(s.props)?s:void 0,p=t.getComponentProps(a,"grid",c),h=d().cloneElement(a,p),y=u(h.props)?h:void 0,g=t.getComponentProps(r,"tickLabels",c),v=[y,f,d().cloneElement(r,g)].filter(Boolean);return d().cloneElement(e.groupComponent,{key:"".concat(i,"-tick-group-").concat(o)},v)}))}},{key:"fixLabelOverlap",value:function(e,t){var n=gi(t),r=n?t.height:t.width,a=function(e){return e.type&&"label"===e.type.role},o=e.map((function(e){return e.props.children})).reduce((function(e,t){return e.concat(t)}),[]).filter(a).map((function(e){return e.props})).reduce((function(e,t){var r=function(e){return"object"==typeof e?u()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}(t.style.padding),a=Yc(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),i=Math.floor(r*e.length/o),c=Math.ceil(e.length/i)||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%c==0}))}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=Ei(this.props,Rs);if(this.shouldAnimate())return this.animateComponent(n,e);var r,a=this.renderGridAndTicks(n),o=n.fixLabelOverlap?this.fixLabelOverlap(a,n):a,i=[this.renderLine(n),this.renderLabel(n)].concat(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}}(r=o)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}());return n.standalone?this.renderContainer(n.containerComponent,i):d().cloneElement(n.groupComponent,{},i)}}])&&Fs(n.prototype,r),t}(d().Component);Object.defineProperty(Hs,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"]}),Object.defineProperty(Hs,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(Hs,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(Hs,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(Hs,"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){zs(e,t,n[t])}))}return e}({},lu,{axisComponent:f().element,axisLabelComponent:f().element,axisValue:f().oneOfType([f().number,f().string,f().object]),categories:f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),crossAxis:f().bool,dependentAxis:f().bool,events:f().arrayOf(f().shape({target:f().oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:f().oneOfType([f().array,nu([au,ru]),f().string]),eventHandlers:f().object})),fixLabelOverlap:f().bool,gridComponent:f().element,groupComponent:f().element,invertAxis:f().bool,label:f().any,offsetX:f().number,offsetY:f().number,orientation:f().oneOf(["top","bottom","left","right"]),origin:f().shape({x:f().number,y:f().number}),stringMap:f().object,style:f().shape({parent:f().object,axis:f().object,axisLabel:f().object,grid:f().object,ticks:f().object,tickLabels:f().object}),tickComponent:f().element,tickCount:nu([au,ou]),tickFormat:f().oneOfType([f().func,cu]),tickLabelComponent:f().element,tickValues:cu})}),Object.defineProperty(Hs,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:d().createElement(Zc,null),axisLabelComponent:d().createElement(Ol,null),tickLabelComponent:d().createElement(Ol,null),tickComponent:d().createElement(Zc,null),gridComponent:d().createElement(Zc,null),standalone:!0,theme:hc.grayscale,containerComponent:d().createElement(Xu,null),groupComponent:d().createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(Hs,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:ki}),Object.defineProperty(Hs,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:si}),Object.defineProperty(Hs,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Es(e,Rs.style)}}),Object.defineProperty(Hs,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Ns(e,Rs)}}),Object.defineProperty(Hs,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]});const Vs=ws(Hs,{components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]});function qs(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){Bs(e,t,n[t])}))}return e}function Bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gs=function(e){var t=e.cx,n=e.cy,r=e.r,a=e.startAngle,o=e.endAngle,i=e.closedPath,u=Math.abs(o-a)/2+a,c=t+r*Math.cos(C(a)),l=n-r*Math.sin(C(a)),s=t+r*Math.cos(C(u)),f=n-r*Math.sin(C(u)),p=t+r*Math.cos(C(o)),d=n-r*Math.sin(C(o)),h=u-a<=180?0:1,y=o-u<=180?0:1,g=i?" M ".concat(t,", ").concat(n," L ").concat(c,", ").concat(l):"M ".concat(c,", ").concat(l),v="A ".concat(r,", ").concat(r,", 0, ").concat(h,", 0, ").concat(s,", ").concat(f),b="A ".concat(r,", ").concat(r,", 0, ").concat(y,", 0, ").concat(p,", ").concat(d),m=i?"Z":"";return"".concat(g," ").concat(v," ").concat(b," ").concat(m)},Ys=function(e){return e=function(e){var t=E(e.ariaLabel,e),n=E(e.desc,e),r=E(e.id,e),a=M(u()({stroke:"black",fill:"none"},e.style),e),o=E(e.tabIndex,e);return u()({},e,{ariaLabel:t,desc:n,id:r,style:a,tabIndex:o})}(e),d().cloneElement(e.pathComponent,qs({},e.events,{"aria-label":e.ariaLabel,d:Gs(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform,clipPath:e.clipPath}))};Ys.propTypes=qs({},su,{closedPath:f().bool,cx:f().number,cy:f().number,datum:f().any,endAngle:f().number,pathComponent:f().element,r:f().number,startAngle:f().number}),Ys.defaultProps={pathComponent:d().createElement((function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?d().createElement("path",n,d().createElement("desc",null,t)):d().createElement("path",n)}),null),role:"presentation",shapeRendering:"auto"};const Ks=Ys;var $s=function(e,t,n){return"x"===n?e*Math.cos(t):-e*Math.sin(t)},Xs=function(e){var t=e.dependentAxis?"radial":"angular",n="angular"===t?"radial":"angular";return e.horizontal?n:t},Qs=function(e,t){return{tickStyle:M(e.ticks,t),labelStyle:M(e.tickLabels,t),gridStyle:M(e.grid,t)}},Zs=function(e){var t=A(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2},Js=function(e,t){if(e.range&&e.range[t])return e.range[t];if(e.range&&Array.isArray(e.range))return e.range;if("angular"===Xs(e))return[C(e.startAngle),C(e.endAngle)];var n=Zs(e);return[e.innerRadius||0,n]},ef=function(e){var t=si(e),n=zo(e,t),r=ki(e,t)||n.domain(),a=Js(e,t);return n.range(a),n.domain(r),n},tf=function(e,t){if(e.disableInlineStyles)return{};var n=e.style||{};return t=t||{},{parent:l()({height:"auto",width:"100%"},n.parent,t.parent),axis:l()({},n.axis,t.axis),axisLabel:l()({},n.axisLabel,t.axisLabel),grid:l()({},n.grid,t.grid),ticks:l()({},n.ticks,t.ticks),tickLabels:l()({},n.tickLabels,t.tickLabels)}},nf=function(e){var t=e.axisAngle,n=e.startAngle,r=e.dependentAxis,a=Ai(e,si(e));return void 0!==a&&r?j(a):void 0===t?n:t},rf=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.scale,u=t.style,c=t.stringTicks,l=t.ticks,s=t.tickFormat,f=t.origin,p=s(n,r,l),d=c?c[r]:n,h=Qs(u,{tick:d,tickValue:n,index:r,ticks:l,stringTicks:c,radius:o,scale:i,axisType:a,text:p}).tickStyle,y="radial"===a?nf(e):void 0,g=h.padding||h.size||0,v=C(90-y),b="angular"===a?i(n):C(-1*y),m="angular"===a?o:i(n);return"angular"===a?{index:r,datum:d,style:h,x1:$s(m,b,"x")+f.x,y1:$s(m,b,"y")+f.y,x2:$s(m+g,b,"x")+f.x,y2:$s(m+g,b,"y")+f.y}:{index:r,datum:d,style:h,x1:m*Math.cos(b)+Math.cos(v)*g+f.x,x2:m*Math.cos(b)-Math.cos(v)*g+f.x,y1:m*Math.sin(b)+Math.sin(v)*g+f.y,y2:m*Math.sin(b)-Math.sin(v)*g+f.y}},af=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.tickFormat,c=t.style,l=t.scale,s=t.ticks,f=t.stringTicks,p=t.origin,d=i(n,r,s),h=f?f[r]:n,y=Qs(c,{text:d,tick:h,tickValue:n,index:r,ticks:s,stringTicks:f,radius:o,scale:l,axisType:a}).labelStyle,g=e.tickLabelComponent,v=g.props&&g.props.labelPlacement?g.props.labelPlacement:e.labelPlacement,b=y.padding||0,m="radial"===a?nf(e):void 0,x="angular"===a?j(l(n)):m+0,w=void 0===y.angle?il(u()({},e,{labelPlacement:v}),x):y.angle,O="angular"===a?o+b:l(n);return{index:r,datum:h,style:y,angle:w,textAnchor:y.textAnchor||al(u()({},e,{labelPlacement:v}),x),text:d,x:O*Math.cos(C(x))+p.x,y:-O*Math.sin(C(x))+p.y}},of=function(e,t,n,r){var a=t.axisType,o=t.radius,i=t.style,u=t.scale,c=t.stringTicks,l=t.ticks,s=t.tickFormat,f=t.origin,p=s(n,r,l),d=e.startAngle,h=e.endAngle,y=e.innerRadius,g=void 0===y?0:y,v=c?c[r]:n,b=Qs(i,{tick:v,tickValue:n,index:r,ticks:l,stringTicks:c,radius:o,scale:u,axisType:a,text:p}).gridStyle,m=u(n);return"angular"===a?{index:r,datum:v,style:b,x1:$s(o,m,"x")+f.x,y1:$s(o,m,"y")+f.y,x2:$s(g,m,"x")+f.x,y2:$s(g,m,"y")+f.y}:{style:b,index:r,datum:v,cx:f.x,cy:f.y,r:u(n),startAngle:d,endAngle:h}},uf=function(e,t){var n=function(e){var t=function(e){var t=e.theme,n=void 0===t?{}:t,r=e.dependentAxis,a=n.polarAxis&&n.polarAxis.style||n.axis&&n.axis.style,o=r?"polarDependentAxis":"polarIndependentAxis",i=r?"dependentAxis":"independentAxis",u=n[o]&&n[o].style||n[i]&&n[i].style;return a&&u?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=l()({},u[t],a[t]),e}),{}):u||a}(e=u()({polar:!0},e)),n=tf(e,t),r=A(e),a=si(e),o=Xs(e),i=vi(e)?e.tickValues:void 0,c=ki(e,a),s=Js(e,a),f=ef(e),p=wi(e,f),d="angular"===o?function(e,t){return W()(e,(function(e){return t(e)%(2*Math.PI)}))}(p,f):p;return{axis:a,style:n,padding:r,stringTicks:i,axisType:o,scale:f,ticks:d,tickFormat:mi(e,f),domain:c,range:s,radius:Zs(e),origin:S(e)}}(e=Ei(e,t)),r=n.style,a=n.scale,o=n.ticks,i=n.domain,c=e,s=c.width,f=c.height,p=c.standalone,d=c.theme,h=c.name,y=function(e,t){var n=t.style,r=t.axisType,a=t.radius,o=(t.scale,t.origin),i=e.startAngle,u=e.endAngle,c=e.innerRadius,l=void 0===c?0:c,s="radial"===r?C(nf(e)):void 0;return"radial"===r?{style:n.axis,x1:$s(l,s,"x")+o.x,x2:$s(a,s,"x")+o.x,y1:$s(l,s,"y")+o.y,y2:$s(a,s,"y")+o.y}:{style:n.axis,cx:o.x,cy:o.y,r:a,startAngle:i,endAngle:u}}(e,n),g=function(e,t){var n=t.axisType,r=t.radius,a=t.style,o=(t.scale,t.origin),i=e.axisLabelComponent;if("radial"!==n)return{};var c=i.props&&i.props.labelPlacement?i.props.labelPlacement:e.labelPlacement,l=a&&a.axisLabel||{},s="radial"===n?nf(e):void 0,f=void 0===l.angle?il(u()({},e,{labelPlacement:c}),s):l.angle,p=r+(l.padding||0);return{style:l,angle:f,textAnchor:l.textAnchor||al(u()({},e,{labelPlacement:c}),s),verticalAnchor:l.verticalAnchor||ol(u()({},e,{labelPlacement:c}),s),text:e.label,x:$s(p,C(s),"x")+o.x,y:$s(p,C(s),"y")+o.y}}(e,n),v={parent:{style:r.parent,ticks:o,scale:a,width:s,height:f,domain:i,standalone:p,theme:d,name:h}};return o.reduce((function(t,r,a){return t[a]={axis:y,axisLabel:g,ticks:rf(e,n,r,a),tickLabels:af(e,n,r,a),grid:of(e,n,r,a)},t}),v)};function cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lf(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 sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 pf(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 df={width:450,height:300,padding:50},hf=function(e){function t(){return sf(this,t),pf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;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:"renderAxisLine",value:function(e){var t=e.dependentAxis?e.axisComponent:e.circularAxisComponent,n=this.getComponentProps(t,"axis",0);return d().cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent,n=e.dependentAxis;if(!e.label||!n)return null;var r=this.getComponentProps(t,"axisLabel",0);return d().cloneElement(t,r)}},{key:"renderAxis",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.name,i=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)},c="radial"==(e.dependentAxis?"radial":"angular")?e.circularGridComponent:e.gridComponent,l=this.dataKeys.map((function(e,r){var o=u()({key:"".concat(a,"-tick-").concat(e)},t.getComponentProps(n,"ticks",r)),c=d().cloneElement(n,o);return i(c.props)?c:void 0})).filter(Boolean),s=this.dataKeys.map((function(e,n){var r=u()({key:"".concat(a,"-grid-").concat(e)},t.getComponentProps(c,"grid",n)),o=d().cloneElement(c,r);return i(o.props)?o:void 0})).filter(Boolean),f=this.dataKeys.map((function(e,n){var o=u()({key:"".concat(a,"-tick-").concat(e)},t.getComponentProps(r,"tickLabels",n));return d().cloneElement(r,o)})),p=[this.renderAxisLine(e),this.renderLabel(e)].concat(lf(l),lf(s),lf(f));return this.renderGroup(e,p)}},{key:"renderGroup",value:function(e,t){var n=e.groupComponent;return d().cloneElement(n,{},t)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=Ei(this.props,df);if(this.shouldAnimate())return this.animateComponent(n,e);var r=this.renderAxis(n);return n.standalone?this.renderContainer(n.containerComponent,r):r}}])&&ff(n.prototype,r),t}(d().Component);Object.defineProperty(hf,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","padding","width","height"]}),Object.defineProperty(hf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(hf,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(hf,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(hf,"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){cf(e,t,n[t])}))}return e}({},lu,{axisAngle:f().number,axisComponent:f().element,axisLabelComponent:f().element,axisValue:f().oneOfType([f().number,f().string,f().object]),categories:f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),circularAxisComponent:f().element,circularGridComponent:f().element,containerComponent:f().element,dependentAxis:f().bool,disableInlineStyles:f().bool,endAngle:f().number,events:f().arrayOf(f().shape({target:f().oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:f().oneOfType([f().array,nu([au,ru]),f().string]),eventHandlers:f().object})),gridComponent:f().element,innerRadius:ru,labelPlacement:f().oneOf(["parallel","perpendicular","vertical"]),startAngle:f().number,stringMap:f().object,style:f().shape({parent:f().object,axis:f().object,axisLabel:f().object,grid:f().object,ticks:f().object,tickLabels:f().object}),tickComponent:f().element,tickCount:nu([au,ou]),tickFormat:f().oneOfType([f().func,cu]),tickLabelComponent:f().element,tickValues:cu})}),Object.defineProperty(hf,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:d().createElement(Zc,null),axisLabelComponent:d().createElement(Ol,null),circularAxisComponent:d().createElement(Ks,null),circularGridComponent:d().createElement(Ks,null),containerComponent:d().createElement(Xu,null),endAngle:360,gridComponent:d().createElement(Zc,null),groupComponent:d().createElement("g",{role:"presentation"}),labelPlacement:"parallel",startAngle:0,standalone:!0,theme:hc.grayscale,tickComponent:d().createElement(Zc,null),tickLabelComponent:d().createElement(Ol,null)}}),Object.defineProperty(hf,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:ki}),Object.defineProperty(hf,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:si}),Object.defineProperty(hf,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:ef}),Object.defineProperty(hf,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return tf(e,df.style)}}),Object.defineProperty(hf,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return uf(e,df)}}),Object.defineProperty(hf,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","circularAxisComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent","circularGridComponent"]});const yf=ws(hf,{components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]});var gf={width:450,height:300,padding:50};function vf(e,t){var n=function(e){var t=e.style&&e.style.parent;return{parent:l()({},t,{height:"100%",width:"100%",userSelect:"none"})}}(e),r=e=D(e,gf,"chart"),a=r.horizontal,o=r.polar,i=Gi(e,t),c=function(e,t,n){var r=e.categories&&!Array.isArray(e.categories)?e.categories.x:e.categories,a=e.categories&&!Array.isArray(e.categories)?e.categories.y:e.categories,o=r&&a?{}:n||Gi(e,t),i=r||o.x,u=a||o.y;return{x:i.length>0?i:void 0,y:u.length>0?u:void 0}}(e,t,i),s=xf(e,t,i),f={x:mf(u()({},e,{categories:c}),"x",t),y:mf(u()({},e,{categories:c}),"y",t)},p={x:T(e,"x"),y:T(e,"y")},d={x:Uo(e,"x")||qi(e,"x"),y:Uo(e,"y")||qi(e,"y")};return{categories:c,domain:f,range:p,horizontal:a,scale:{x:d.x.domain(f.x).range(a?p.y:p.x),y:d.y.domain(f.y).range(a?p.x:p.y)},stringMap:s,style:n,origin:o?S(e):hi(f),padding:A(e)}}var bf=function(e,t){var n,r=d().Children.toArray(e.children),a=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}}(n=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}();if(0===r.length)a.push(t.independent,t.dependent);else{var o={dependent:di(r,"dependent"),independent:di(r,"independent")};0===o.dependent.length&&0===o.independent.length&&(a=e.prependDefaultAxes?[t.independent,t.dependent].concat(a):a.concat([t.independent,t.dependent]))}return a},mf=function(e,t,n){var r=Vi(e,t,n=n||d().Children.toArray(e.children)),a=pi(n,t);return a&&a.props&&a.props.invertAxis?r.concat().reverse():r},xf=function(e,t,n){var r=n.x&&0!==n.x.length?n.x.reduce((function(e,t,n){return e[t]=n+1,e}),{}):null,a=n.y&&0!==n.y.length?n.y.reduce((function(e,t,n){return e[t]=n+1,e}),{}):null;return{x:r,y:a}};function wf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Of={width:450,height:300,padding:50},kf=function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mc,t=Ec(d().useState(e),2),n=t[0],r=t[1],a=d().useCallback((function(e){r((function(t){return kc({},t,e)}))}),[r]),o=d().useCallback((function(e,t,r){if(!e.animate)return t.props.animate;var o,i=e.animate&&e.animate.getTransitions,u=(o=le(o=n&&n.childrenTransitions)?o[r]:o,l()({childrenTransitions:o},n)),c=e.animate&&e.animate.parentState||u;if(!i){var s=Oc(e,u,(function(e){return a(e)}));i=function(e){return s(e,r)}}return l()({getTransitions:i,parentState:c},e.animate,t.props.animate)}),[n,a]),i=d().useCallback((function(e,t){if(e.animate)if(e.animate.parentState){var n=e.animate.parentState.nodesWillExit?e:null,r=l()({oldProps:n,nextProps:t},e.animate.parentState);a(r)}else{var o=d().Children.toArray(e.children),i=d().Children.toArray(t.children),u=function(e){var t=function(e){return e.type&&e.type.continuous};return Array.isArray(e)?gc()(e,t):t(e)},c=!e.polar&&gc()(o,(function(e){return u(e)||e.props.children&&u(e.props.children)})),s=wc(o,i),f=s.nodesWillExit,p=s.nodesWillEnter,h=s.childrenTransitions,y=s.nodesShouldEnter;a({nodesWillExit:f,nodesWillEnter:p,nodesShouldEnter:y,childrenTransitions:le(h)?h[0]:h,oldProps:f?e:null,nextProps:t,continuous:c})}}),[a]),u=d().useCallback((function(e){return n&&n.nodesWillExit&&n.oldProps||e}),[n]);return{state:n,setState:a,getAnimationProps:o,setAnimationState:i,getProps:u}}(),n=t.getAnimationProps,r=t.setAnimationState,a=(0,t.getProps)(e),i=D(a,Of,"chart"),c=i.eventKey,s=i.containerComponent,f=i.standalone,p=i.groupComponent,h=i.externalEventMutations,y=i.width,g=i.height,v=i.theme,b=i.polar,m=i.name,x=a.polar?i.defaultPolarAxes:i.defaultAxes,w=d().useMemo((function(){return bf(i,x)}),[i,x]),O=d().useMemo((function(){return vf(i,w)}),[i,w]),k=O.domain,A=O.scale,E=O.style,M=O.origin,C=O.radius,j=O.horizontal,P=d().useMemo((function(){var e=function(e,t,n){t=t||bf(e);var r=(n=n||vf(e,t)).style.parent,a=e.height,o=e.polar,i=e.theme,u=e.width,c=n,s=c.origin,f=c.horizontal,p=e.name||"chart";return t.map((function(t,c){var h=t.type&&t.type.role,y=Array.isArray(t.props.style)?t.props.style:l()({},t.props.style,{parent:r}),g=function(e,t,n){var r=fi([e]);return r.length>0?function(e,t,n){var r=n.domain,a=n.scale,o=n.stringMap,i=n.categories;return{stringMap:o,horizontal:n.horizontal,categories:i,startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,domain:r,scale:a}}(r[0],t,n):{categories:n.categories,domain:n.domain,range:n.range,scale:n.scale,stringMap:n.stringMap,horizontal:n.horizontal}}(t,e,n),v=t.props.name||"".concat(p,"-").concat(h,"-").concat(c),b=l()({horizontal:f,height:a,polar:o,theme:i,width:u,style:y,name:v,origin:o?s:void 0,padding:n.padding,key:"".concat(v,"-key-").concat(c),standalone:!1},g);return d().cloneElement(t,b)}))}(a,w,O).map((function(e,t){var r=u()({animate:n(a,e,t,"victory chart")},e.props);return d().cloneElement(e,r)}));if(a.style&&a.style.background){var t=function(e,t){var n=e.backgroundComponent,r=e.polar?t.range.y[1]:t.range.y[0]-t.range.y[1],a=t.range.x[1]-t.range.x[0],o=e.horizontal?t.scale.y.range()[0]:t.scale.x.range()[0],i=e.horizontal?t.scale.x.range()[1]:t.scale.y.range()[1],u=e.polar?t.origin.x:o,c=e.polar?t.origin.y:i,s=e.name||"chart",f={height:r,polar:e.polar,scale:t.scale,style:e.style.background,x:u,y:c,key:"".concat(s,"-background"),width:a};return d().cloneElement(n,l()({},n.props,f))}(a,O);e.unshift(t)}return e}),[n,w,a,O]),S=d().useMemo((function(){return f?{domain:k,scale:A,width:y,height:g,standalone:f,theme:v,style:E.parent,horizontal:j,name:m,polar:b,radius:C,origin:b?M:void 0}:{}}),[k,A,y,g,f,v,E,j,m,b,C,M]),T=d().useMemo((function(){if(f){var e=l()({},s.props,S);return d().cloneElement(s,e)}return p}),[p,f,s,S]),_=d().useMemo((function(){return function(e){var t=zi(e,["groupComponent","containerComponent","labelComponent"]),n=e.events;return Array.isArray(t)&&(n=Array.isArray(e.events)?t.concat.apply(t,Hi(e.events)):t),n||[]}(a)}),[a]),L=function(e){var t=d().useRef();return d().useEffect((function(){t.current=e})),t.current||{}}(e);return d().useEffect((function(){return function(){e.animate&&r(L,e)}}),[r,L,e]),o()(_)?d().cloneElement(T,T.props,P):d().createElement(zc,{container:T,eventKey:c,events:_,externalEventMutations:h},P)};kf.propTypes=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){wf(e,t,n[t])}))}return e}({},lu,{backgroundComponent:f().element,children:f().oneOfType([f().arrayOf(f().node),f().node]),defaultAxes:f().shape({independent:f().element,dependent:f().element}),defaultPolarAxes:f().shape({independent:f().element,dependent:f().element}),endAngle:f().number,innerRadius:ru,prependDefaultAxes:f().bool,startAngle:f().number}),kf.defaultProps={backgroundComponent:d().createElement(vu,null),containerComponent:d().createElement(Xu,null),defaultAxes:{independent:d().createElement(Vs,null),dependent:d().createElement(Vs,{dependentAxis:!0})},defaultPolarAxes:{independent:d().createElement(yf,null),dependent:d().createElement(yf,{dependentAxis:!0})},groupComponent:d().createElement("g",null),standalone:!0,theme:hc.grayscale};var Af=d().memo(kf,_c());Af.displayName="VictoryChart",Af.expectedComponents=["groupComponent","containerComponent"];const Ef=Af})(),a})()}));
//# sourceMappingURL=victory-chart.min.js.map