victory-area 37.3.0 → 37.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryArea=n(require("react")):t.VictoryArea=n(t.React)}(self,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,s){var u=-1,c=n.length;for(o||(o=i),s||(s=[]);++u<c;){var l=n[u];e>0&&o(l)?e>1?t(l,e-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,n,e){var r=e(9026),i=e(3110);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e<o;)t=t[i(n[e++])];return e&&e==o?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),i=e(3474);t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),i=e(3474);t.exports=function t(n,e,o,a,s){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,s))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),s=e(9667),u=e(163),c=e(4801),l=e(4289),f="[object Arguments]",h="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,v){var _=u(t),m=u(n),x=_?h:s(t),b=m?h:s(n),w=(x=x==f?d:x)==d,k=(b=b==f?d:b)==d,M=x==b;if(M&&c(t)){if(!c(n))return!1;_=!0,w=!1}if(M&&!w)return v||(v=new r),_||l(t)?i(t,n,e,g,y,v):o(t,n,x,e,g,y,v);if(!(1&e)){var E=w&&p.call(t,"__wrapped__"),A=k&&p.call(n,"__wrapped__");if(E||A){var O=E?t.value():t,S=A?n.value():n;return v||(v=new r),y(O,S,e,g,v)}}return!!M&&(v||(v=new r),a(t,n,e,g,y,v))}},9548:function(t,n,e){var r=e(8708),i=e(9070);t.exports=function(t,n,e,o){var a=e.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=e[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<s;){var l=(c=e[a])[0],f=t[l],h=c[1];if(u&&c[2]){if(void 0===f&&!(l in t))return!1}else{var d=new r;if(o)var p=o(f,h,l,t,n,d);if(!(void 0===p?i(h,f,3,o,d):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),s=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},758:function(t,n,e){var r=e(9548),i=e(597),o=e(6878);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),i=e(9201),o=e(5066),a=e(726),s=e(5385),u=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&s(n)?u(c(t),n):function(e){var a=i(e,t);return void 0===a&&a===n?o(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),i=e(4432),o=e(3472),a=e(383),s=e(9521),u=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var h=-1;n=r(n,u(o));var d=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++h,value:t}}));return s(d,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),i=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},6371:function(t,n,e){var r=e(4432),i=e(6539),o=e(9026);t.exports=function(t,n,e){for(var a=-1,s=n.length,u={};++a<s;){var c=n[a],l=r(t,c);e(l,c)&&i(u,o(c,t),l)}return u}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),i=e(4280),o=e(201);t.exports=function(t,n){return o(i(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),i=e(9026),o=e(9099),a=e(7709),s=e(3110);t.exports=function(t,n,e,u){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,h=t;null!=h&&++c<l;){var d=s(n[c]),p=e;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(c!=f){var g=h[d];void 0===(p=u?u(g,d,h):void 0)&&(p=a(g)?g:o(n[c+1])?[]:{})}r(h,d,p),h=h[d]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,i=t.length,o=0,a=[];++e<i;){var s=t[e],u=n?n(s):s;if(!e||!r(u,c)){var c=u;a[o++]=0===s?0:s}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(a(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),i=e(5510),o=e(9955),a=e(9914),s=e(6602),u=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,h=!0,d=[],p=d;if(e)h=!1,l=o;else if(f>=200){var g=n?null:s(t);if(g)return u(g);h=!1,l=a,p=new r}else p=n?[]:d;t:for(;++c<f;){var y=t[c],v=n?n(y):y;if(y=e||0!==y?y:0,h&&v==v){for(var _=p.length;_--;)if(p[_]===v)continue t;n&&p.push(v),d.push(y)}else l(p,v,e)||(p!==d&&p.push(v),d.push(y))}return d}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),i=e(726),o=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==n,u=null===n,c=n==n,l=r(n);if(!u&&!l&&!a&&t>n||a&&s&&c&&!u&&!l||i&&s&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||u&&e&&o||!s&&o||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,u=e.length;++i<s;){var c=r(o[i],a[i]);if(c)return i>=u?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,s,u){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var h=u.get(t),d=u.get(n);if(h&&d)return h==n&&d==t;var p=-1,g=!0,y=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++p<l;){var v=t[p],_=n[p];if(a)var m=c?a(_,v,p,n,t,u):a(v,_,p,t,n,u);if(void 0!==m){if(m)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(v===t||s(v,t,e,a,u)))return y.push(n)}))){g=!1;break}}else if(v!==_&&!s(v,_,e,a,u)){g=!1;break}}return u.delete(t),u.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,a,s){var u=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!u)return!1;for(var f=l;f--;){var h=c[f];if(!(u?h in n:i.call(n,h)))return!1}var d=s.get(t),p=s.get(n);if(d&&p)return d==n&&p==t;var g=!0;s.set(t,n),s.set(n,t);for(var y=u;++f<l;){var v=t[h=c[f]],_=n[h];if(o)var m=u?o(_,v,h,n,t,s):o(v,_,h,t,n,s);if(!(void 0===m?v===_||a(v,_,e,o,s):m)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var x=t.constructor,b=n.constructor;x==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof b&&b instanceof b||(g=!1)}return s.delete(t),s.delete(n),g}},5557:function(t,n,e){var r=e(2645),i=e(4280),o=e(201);t.exports=function(t){return o(i(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),i=e(7747);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],a=t[o];n[e]=[o,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),i=e(5075),o=e(163),a=e(9099),s=e(8454),u=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var h=u(n[c]);if(!(f=null!=t&&e(t,h)))break;t=t[h]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(h,l)&&(o(t)||i(t))}},3608:function(t,n,e){var r=e(2596),i=e(5075),o=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),i=e(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,a=-1,s=i(o.length-n,0),u=Array(s);++a<s;)u[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(u),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1893:function(t,n,e){var r=e(6317),i=e(788),o=e(8286),a=e(8855),s=Object.prototype,u=s.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),h=-1,d=f.length;++h<d;){var p=f[h],g=t[p];(void 0===g||i(g,s[p])&&!u.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,s=a?i(a):r;t.exports=s},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),s=e(981),u=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),i=e(7709);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),i=e(9817),o=e(3474),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,u,c,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(t[u],a[u]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,c[u]))return!1;if(n&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!o(t[c[u]],a[c[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return o(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var i=e[t];if(void 0!==i)return i.exports;var o=e[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{Area:function(){return zu},VictoryArea:function(){return sh}});var t={};r.r(t),r.d(t,{scaleBand:function(){return Z},scaleDiverging:function(){return to},scaleDivergingLog:function(){return no},scaleDivergingPow:function(){return ro},scaleDivergingSqrt:function(){return io},scaleDivergingSymlog:function(){return eo},scaleIdentity:function(){return In},scaleImplicit:function(){return K},scaleLinear:function(){return Ln},scaleLog:function(){return Yn},scaleOrdinal:function(){return X},scalePoint:function(){return J},scalePow:function(){return ne},scaleQuantile:function(){return de},scaleQuantize:function(){return pe},scaleRadial:function(){return oe},scaleSequential:function(){return Yi},scaleSequentialLog:function(){return Vi},scaleSequentialPow:function(){return Ki},scaleSequentialQuantile:function(){return Zi},scaleSequentialSqrt:function(){return Xi},scaleSequentialSymlog:function(){return Gi},scaleSqrt:function(){return ee},scaleSymlog:function(){return Xn},scaleThreshold:function(){return ge},scaleTime:function(){return Bi},scaleUtc:function(){return Hi},tickFormat:function(){return Pn}});var n={};r.r(n),r.d(n,{arc:function(){return Ta},area:function(){return ra},areaRadial:function(){return ca},curveBasis:function(){return ks},curveBasisClosed:function(){return Es},curveBasisOpen:function(){return Os},curveBumpX:function(){return Ia},curveBumpY:function(){return $a},curveBundle:function(){return Cs},curveCardinal:function(){return Ns},curveCardinalClosed:function(){return Ps},curveCardinalOpen:function(){return Ls},curveCatmullRom:function(){return zs},curveCatmullRomClosed:function(){return Us},curveCatmullRomOpen:function(){return Hs},curveLinear:function(){return Jo},curveLinearClosed:function(){return qs},curveMonotoneX:function(){return Js},curveMonotoneY:function(){return tu},curveNatural:function(){return ru},curveStep:function(){return ou},curveStepAfter:function(){return su},curveStepBefore:function(){return au},line:function(){return ea},lineRadial:function(){return ua},link:function(){return Ba},linkHorizontal:function(){return Ha},linkRadial:function(){return qa},linkVertical:function(){return Ra},pie:function(){return Da},pointRadial:function(){return Pa},radialArea:function(){return ca},radialLine:function(){return ua},stack:function(){return hu},stackOffsetDiverging:function(){return pu},stackOffsetExpand:function(){return du},stackOffsetNone:function(){return uu},stackOffsetSilhouette:function(){return gu},stackOffsetWiggle:function(){return yu},stackOrderAppearance:function(){return vu},stackOrderAscending:function(){return mu},stackOrderDescending:function(){return bu},stackOrderInsideOut:function(){return wu},stackOrderNone:function(){return cu},stackOrderReverse:function(){return ku},symbol:function(){return ms},symbolAsterisk:function(){return Va},symbolCircle:function(){return Ga},symbolCross:function(){return Ka},symbolDiamond:function(){return Qa},symbolDiamond2:function(){return Ja},symbolPlus:function(){return ts},symbolSquare:function(){return ns},symbolSquare2:function(){return es},symbolStar:function(){return as},symbolTriangle:function(){return us},symbolTriangle2:function(){return ls},symbolWye:function(){return gs},symbolX:function(){return ys},symbols:function(){return vs},symbolsFill:function(){return vs},symbolsStroke:function(){return _s}});var e={};r.r(e),r.d(e,{easeBack:function(){return uf},easeBackIn:function(){return af},easeBackInOut:function(){return uf},easeBackOut:function(){return sf},easeBounce:function(){return ef},easeBounceIn:function(){return nf},easeBounceInOut:function(){return rf},easeBounceOut:function(){return ef},easeCircle:function(){return Jl},easeCircleIn:function(){return Zl},easeCircleInOut:function(){return Jl},easeCircleOut:function(){return Ql},easeCubic:function(){return $l},easeCubicIn:function(){return Ll},easeCubicInOut:function(){return $l},easeCubicOut:function(){return Il},easeElastic:function(){return ff},easeElasticIn:function(){return lf},easeElasticInOut:function(){return hf},easeElasticOut:function(){return ff},easeExp:function(){return Xl},easeExpIn:function(){return Gl},easeExpInOut:function(){return Xl},easeExpOut:function(){return Kl},easeLinear:function(){return Nl},easePoly:function(){return Ul},easePolyIn:function(){return zl},easePolyInOut:function(){return Ul},easePolyOut:function(){return Wl},easeQuad:function(){return Fl},easeQuadIn:function(){return Dl},easeQuadInOut:function(){return Fl},easeQuadOut:function(){return Pl},easeSin:function(){return Yl},easeSinIn:function(){return Rl},easeSinInOut:function(){return Yl},easeSinOut:function(){return ql}});var o=r(9787),a=r.n(o),s=r(1616),u=r.n(s),c=(r(8999),r(8254)),l=r.n(c),f=r(4155),h=r.n(f),d=r(4143),p=r.n(d),g=r(8532),y=r.n(g),v=r(3849),_=r.n(v),m=r(9602),x=r.n(m),b=r(9082),w=r.n(b),k=r(1893),M=r.n(k);function E(t,n){void 0===n&&(n=[]);const e={};for(const r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function A(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:s,_y0:u,_voronoiY:c}=t,l=n(r)?r:e,f=n(s)?s:a,h={x:n(o)?o:l,x0:n(i)?i:e,y:n(c)?c:f,y0:n(u)?u:a};return M()({},h,t)}function O(t,n){const{scale:e,polar:r,horizontal:i}=t,o=A(n),a=t.origin||{x:0,y:0},s=i?e.y(o.y):e.x(o.x),u=i?e.y(o.y0):e.x(o.x0),c=i?e.x(o.x):e.y(o.y),l=i?e.x(o.x0):e.y(o.y0);return{x:r?c*Math.cos(s)+a.x:s,x0:r?l*Math.cos(u)+a.x:u,y:r?-c*Math.sin(s)+a.y:c,y0:r?-l*Math.sin(u)+a.x:l}}function S(t,n){void 0===n&&(n="padding");const e=t[n],r="number"==typeof e?e:0,i="object"==typeof e?e:{};return{top:i.top||r,bottom:i.bottom||r,left:i.left||r,right:i.right||r}}function C(t){return"tooltip"===(t&&t.type&&t.type.role)}function T(t,n){return L(t)?t(n):t}function j(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>L(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=T(t[r],n),e)),{}):t}function N(t){return"number"==typeof t?t*(Math.PI/180):t}function D(t){const{left:n,right:e,top:r,bottom:i}=S(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function P(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[N(t.startAngle||0),N(t.endAngle||360)]:[t.innerRadius||0,D(t)]}(t,n):function(t,n){const e="x"!==n,r=S(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function F(t){return null==t}function L(t){return"function"==typeof t}function I(t){return L(t)?t:null==t?t=>t:y()(t)}function $(t,n,e){const r=E(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(a().Children.toArray(r.children))}),!1);return n(a().Children.toArray(t.children))}(t),o=void 0===i?{}:{horizontal:i};return M()(o,t,r,n)}function z(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function W(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function U(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return z(i)?new Date(Math.max(...i)):Math.max(...i)}function B(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return z(i)?new Date(Math.min(...i)):Math.min(...i)}function H(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function R(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function q(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class Y extends Map{constructor(t,n=G){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(V(this,t))}has(t){return super.has(V(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function V({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function G(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const K=Symbol("implicit");function X(){var t=new Y,n=[],e=[],r=K;function i(i){let o=t.get(i);if(void 0===o){if(r!==K)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Y;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return X(n,e).unknown(r)},R.apply(i,arguments),i}function Z(){var t,n,e=X().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,s=!1,u=0,c=0,l=.5;function f(){var e=r().length,f=a<o,h=f?a:o,d=f?o:a;t=(d-h)/Math.max(1,e-u+2*c),s&&(t=Math.floor(t)),h+=(d-h-t*(e-u))*l,n=t*(1-u),s&&(h=Math.round(h),n=Math.round(n));var p=H(e).map((function(n){return h+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,s=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(s=!!t,f()):s},e.padding=function(t){return arguments.length?(u=Math.min(1,c=+t),f()):u},e.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return Z(r(),[o,a]).round(s).paddingInner(u).paddingOuter(c).align(l)},R.apply(f(),arguments)}function Q(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Q(n())},t}function J(){return Q(Z.apply(null,arguments).paddingInner(1))}var tt=Math.sqrt(50),nt=Math.sqrt(10),et=Math.sqrt(2);function rt(t,n,e){var r,i,o,a,s=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=it(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++s<i;)o[s]=(e+s)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++s<i;)o[s]=(e+s)/a}return r&&o.reverse(),o}function it(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=tt?10:o>=nt?5:o>=et?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=tt?10:o>=nt?5:o>=et?2:1)}function ot(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=tt?i*=10:o>=nt?i*=5:o>=et&&(i*=2),n<t?-i:i}function at(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function st(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function ut(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=at,e=(n,e)=>at(t(n),e),r=(n,e)=>t(n)-e):(n=t===at||t===st?t:ct,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const a=i(t,n,e,o-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function ct(){return 0}function lt(t){return null===t?NaN:+t}const ft=ut(at),ht=ft.right;ft.left,ut(lt).center;var dt=ht;function pt(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function gt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function yt(){}var vt=.7,_t=1/vt,mt="\\s*([+-]?\\d+)\\s*",xt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",bt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wt=/^#([0-9a-f]{3,8})$/,kt=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),Mt=new RegExp(`^rgb\\(${bt},${bt},${bt}\\)$`),Et=new RegExp(`^rgba\\(${mt},${mt},${mt},${xt}\\)$`),At=new RegExp(`^rgba\\(${bt},${bt},${bt},${xt}\\)$`),Ot=new RegExp(`^hsl\\(${xt},${bt},${bt}\\)$`),St=new RegExp(`^hsla\\(${xt},${bt},${bt},${xt}\\)$`),Ct={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Tt(){return this.rgb().formatHex()}function jt(){return this.rgb().formatRgb()}function Nt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=wt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Dt(n):3===e?new It(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Pt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Pt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=kt.exec(t))?new It(n[1],n[2],n[3],1):(n=Mt.exec(t))?new It(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Et.exec(t))?Pt(n[1],n[2],n[3],n[4]):(n=At.exec(t))?Pt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ot.exec(t))?Ht(n[1],n[2]/100,n[3]/100,1):(n=St.exec(t))?Ht(n[1],n[2]/100,n[3]/100,n[4]):Ct.hasOwnProperty(t)?Dt(Ct[t]):"transparent"===t?new It(NaN,NaN,NaN,0):null}function Dt(t){return new It(t>>16&255,t>>8&255,255&t,1)}function Pt(t,n,e,r){return r<=0&&(t=n=e=NaN),new It(t,n,e,r)}function Ft(t){return t instanceof yt||(t=Nt(t)),t?new It((t=t.rgb()).r,t.g,t.b,t.opacity):new It}function Lt(t,n,e,r){return 1===arguments.length?Ft(t):new It(t,n,e,null==r?1:r)}function It(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function $t(){return`#${Bt(this.r)}${Bt(this.g)}${Bt(this.b)}`}function zt(){const t=Wt(this.opacity);return`${1===t?"rgb(":"rgba("}${Ut(this.r)}, ${Ut(this.g)}, ${Ut(this.b)}${1===t?")":`, ${t})`}`}function Wt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ut(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Bt(t){return((t=Ut(t))<16?"0":"")+t.toString(16)}function Ht(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new qt(t,n,e,r)}function Rt(t){if(t instanceof qt)return new qt(t.h,t.s,t.l,t.opacity);if(t instanceof yt||(t=Nt(t)),!t)return new qt;if(t instanceof qt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=n===o?(e-r)/s+6*(e<r):e===o?(r-n)/s+2:(n-e)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new qt(a,s,u,t.opacity)}function qt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Yt(t){return(t=(t||0)%360)<0?t+360:t}function Vt(t){return Math.max(0,Math.min(1,t||0))}function Gt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Kt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}pt(yt,Nt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Tt,formatHex:Tt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rt(this).formatHsl()},formatRgb:jt,toString:jt}),pt(It,Lt,gt(yt,{brighter(t){return t=null==t?_t:Math.pow(_t,t),new It(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?vt:Math.pow(vt,t),new It(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new It(Ut(this.r),Ut(this.g),Ut(this.b),Wt(this.opacity))},displayable(){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:$t,formatHex:$t,formatHex8:function(){return`#${Bt(this.r)}${Bt(this.g)}${Bt(this.b)}${Bt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:zt,toString:zt})),pt(qt,(function(t,n,e,r){return 1===arguments.length?Rt(t):new qt(t,n,e,null==r?1:r)}),gt(yt,{brighter(t){return t=null==t?_t:Math.pow(_t,t),new qt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?vt:Math.pow(vt,t),new qt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new It(Gt(t>=240?t-240:t+120,i,r),Gt(t,i,r),Gt(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new qt(Yt(this.h),Vt(this.s),Vt(this.l),Wt(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Wt(this.opacity);return`${1===t?"hsl(":"hsla("}${Yt(this.h)}, ${100*Vt(this.s)}%, ${100*Vt(this.l)}%${1===t?")":`, ${t})`}`}}));var Xt=t=>()=>t;function Zt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Xt(isNaN(t)?n:t)}var Qt=function t(n){var e=function(t){return 1==(t=+t)?Zt:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Xt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Lt(t)).r,(n=Lt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Zt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Jt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),s=new Array(i);for(e=0;e<i;++e)r=Lt(n[e]),o[e]=r.r||0,a[e]=r.g||0,s[e]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function tn(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=cn(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}function nn(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function en(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function rn(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=cn(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Jt((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<n-1?t[r+2]:2*o-i;return Kt((e-r/n)*n,a,i,o,s)}})),Jt((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],s=t[(r+2)%n];return Kt((e-r/n)*n,i,o,a,s)}}));var on=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,an=new RegExp(on.source,"g");function sn(t,n){var e,r,i,o=on.lastIndex=an.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=on.exec(t))&&(r=an.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(e=e[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:en(e,r)})),o=an.lastIndex;return o<n.length&&(i=n.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var e,r=0;r<n;++r)s[(e=u[r]).i]=e.x(t);return s.join("")})}function un(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function cn(t,n){var e,r=typeof n;return null==n||"boolean"===r?Xt(n):("number"===r?en:"string"===r?(e=Nt(n))?(n=e,Qt):sn:n instanceof Nt?Qt:n instanceof Date?nn:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(n)?un:Array.isArray(n)?tn:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?rn:en)(t,n)}function ln(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function fn(t){return+t}var hn=[0,1];function dn(t){return t}function pn(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:function(t){return function(){return t}}(isNaN(n)?NaN:.5)}function gn(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=pn(i,r),o=e(a,o)):(r=pn(r,i),o=e(o,a)),function(t){return o(r(t))}}function yn(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=pn(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=dt(t,n,1,r)-1;return o[e](i[e](n))}}function vn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function _n(){var t,n,e,r,i,o,a=hn,s=hn,u=cn,c=dn;function l(){var t=Math.min(a.length,s.length);return c!==dn&&(c=function(t,n){var e;return t>n&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(a[0],a[t-1])),r=t>2?yn:gn,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),s,u)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(s,a.map(t),en)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,fn),l()):a.slice()},f.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},f.rangeRound=function(t){return s=Array.from(t),u=ln,l()},f.clamp=function(t){return arguments.length?(c=!!t||dn,l()):c!==dn},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function mn(){return _n()(dn,dn)}var xn,bn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wn(t){if(!(n=bn.exec(t)))throw new Error("invalid format: "+t);var n;return new kn({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function kn(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Mn(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function En(t){return(t=Mn(Math.abs(t)))?t[1]:NaN}function An(t,n){var e=Mn(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}wn.prototype=kn.prototype,kn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var On={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>An(100*t,n),r:An,s:function(t,n){var e=Mn(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(xn=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Mn(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Sn(t){return t}var Cn,Tn,jn,Nn=Array.prototype.map,Dn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Pn(t,n,e,r){var i,o=ot(t,n,e);switch((r=wn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(En(n)/3)))-En(Math.abs(t)))}(o,a))||(r.precision=i),jn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,En(n)-En(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-En(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Tn(r)}function Fn(t){var n=t.domain;return t.ticks=function(t){var e=n();return rt(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Pn(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,s=o.length-1,u=o[a],c=o[s],l=10;for(c<u&&(i=u,u=c,c=i,i=a,a=s,s=i);l-- >0;){if((i=it(u,c,e))===r)return o[a]=u,o[s]=c,n(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Ln(){var t=mn();return t.copy=function(){return vn(t,Ln())},R.apply(t,arguments),Fn(t)}function In(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,fn),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return In(t).unknown(n)},t=arguments.length?Array.from(t,fn):[0,1],Fn(e)}function $n(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}function zn(t){return Math.log(t)}function Wn(t){return Math.exp(t)}function Un(t){return-Math.log(-t)}function Bn(t){return-Math.exp(-t)}function Hn(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Rn(t){return(n,e)=>-t(-n,e)}function qn(t){const n=t(zn,Wn),e=n.domain;let r,i,o=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(o),i=function(t){return 10===t?Hn:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=Rn(r),i=Rn(i),t(Un,Bn)):t(zn,Wn),n}return n.base=function(t){return arguments.length?(o=+t,a()):o},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],s=n[n.length-1];const u=s<a;u&&([a,s]=[s,a]);let c,l,f=r(a),h=r(s);const d=null==t?10:+t;let p=[];if(!(o%1)&&h-f<d){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(c=1;c<o;++c)if(l=f<0?c/i(-f):c*i(f),!(l<a)){if(l>s)break;p.push(l)}}else for(;f<=h;++f)for(c=o-1;c>=1;--c)if(l=f>0?c/i(-f):c*i(f),!(l<a)){if(l>s)break;p.push(l)}2*p.length<d&&(p=rt(a,s,d))}else p=rt(f,h,Math.min(h-f,d)).map(i);return u?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=wn(e)).precision||(e.trim=!0),e=Tn(e)),t===1/0)return e;const a=Math.max(1,o*t/n.ticks().length);return t=>{let n=t/i(Math.round(r(t)));return n*o<o-.5&&(n*=o),n<=a?e(t):""}},n.nice=()=>e($n(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function Yn(){const t=qn(_n()).domain([1,10]);return t.copy=()=>vn(t,Yn()).base(t.base()),R.apply(t,arguments),t}function Vn(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Gn(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Kn(t){var n=1,e=t(Vn(n),Gn(n));return e.constant=function(e){return arguments.length?t(Vn(n=+e),Gn(n)):n},Fn(e)}function Xn(){var t=Kn(_n());return t.copy=function(){return vn(t,Xn()).constant(t.constant())},R.apply(t,arguments)}function Zn(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Qn(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Jn(t){return t<0?-t*t:t*t}function te(t){var n=t(dn,dn),e=1;function r(){return 1===e?t(dn,dn):.5===e?t(Qn,Jn):t(Zn(e),Zn(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Fn(n)}function ne(){var t=te(_n());return t.copy=function(){return vn(t,ne()).exponent(t.exponent())},R.apply(t,arguments),t}function ee(){return ne.apply(null,arguments).exponent(.5)}function re(t){return Math.sign(t)*t*t}function ie(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function oe(){var t,n=mn(),e=[0,1],r=!1;function i(e){var i=ie(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(re(t))},i.domain=function(t){return arguments.length?(n.domain(t),i):n.domain()},i.range=function(t){return arguments.length?(n.range((e=Array.from(t,fn)).map(re)),i):e.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(n.clamp(t),i):n.clamp()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return oe(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},R.apply(i,arguments),Fn(i)}function ae(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function se(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function ue(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ce(t,n,e=0,r=t.length-1,i){for(i=void 0===i?ue:function(t=at){if(t===at)return ue;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);ce(t,n,Math.max(e,Math.floor(n-a*u/o+c)),Math.min(r,Math.floor(n+(o-a)*u/o+c)),i)}const o=t[n];let a=e,s=r;for(le(t,e,n),i(t[r],o)>0&&le(t,e,r);a<s;){for(le(t,a,s),++a,--s;i(t[a],o)<0;)++a;for(;i(t[s],o)>0;)--s}0===i(t[e],o)?le(t,e,s):(++s,le(t,s,r)),s<=n&&(e=s+1),n<=s&&(r=s-1)}return t}function le(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function fe(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return se(t);if(n>=1)return ae(t);var r,i=(r-1)*n,o=Math.floor(i),a=ae(ce(t,o).subarray(0,o+1));return a+(se(t.subarray(o+1))-a)*(i-o)}}function he(t,n,e=lt){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t);return a+(+e(t[o+1],o+1,t)-a)*(i-o)}}function de(){var t,n=[],e=[],r=[];function i(){var t=0,i=Math.max(1,e.length);for(r=new Array(i-1);++t<i;)r[t-1]=he(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[dt(r,n)]}return o.invertExtent=function(t){var i=e.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:n[0],i<r.length?r[i]:n[n.length-1]]},o.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(at),i()},o.range=function(t){return arguments.length?(e=Array.from(t),i()):e.slice()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return de().domain(n).range(e).unknown(t)},R.apply(o,arguments)}function pe(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[dt(i,n,0,r)]:t}function s(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,s()):[n,e]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,s()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,i[0]]:a>=r?[i[r-1],e]:[i[a-1],i[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return pe().domain([n,e]).range(o).unknown(t)},R.apply(Fn(a),arguments)}function ge(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[dt(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return ge().domain(n).range(e).unknown(t)},R.apply(i,arguments)}Cn=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Sn:(n=Nn.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=n[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Sn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Nn.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=wn(t)).fill,e=t.align,f=t.sign,h=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,v=t.trim,_=t.type;"n"===_?(g=!0,_="g"):On[_]||(void 0===y&&(y=12),v=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var m="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",x="$"===h?o:/[%p]/.test(_)?u:"",b=On[_],w=/[defgprs%]/.test(_);function k(t){var i,o,u,h=m,k=x;if("c"===_)k=b(t)+k,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:b(Math.abs(t),y),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),M&&0==+t&&"+"!==f&&(M=!1),h=(M?"("===f?f:c:"-"===f||"("===f?"":f)+h,k=("s"===_?Dn[8+xn/3]:"")+k+(M&&"("===f?")":""),w)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){k=(46===u?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var E=h.length+t.length+k.length,A=E<p?new Array(p-E+1).join(n):"";switch(g&&d&&(t=r(A+t,A.length?p-k.length:1/0),A=""),e){case"<":t=h+t+k+A;break;case"=":t=h+A+t+k;break;case"^":t=A.slice(0,E=A.length>>1)+h+t+k+A.slice(E);break;default:t=A+h+t+k}return s(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:f,formatPrefix:function(t,n){var e=f(((t=wn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(En(n)/3))),i=Math.pow(10,-r),o=Dn[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Tn=Cn.format,jn=Cn.formatPrefix;const ye=1e3,ve=6e4,_e=36e5,me=864e5,xe=6048e5,be=31536e6;var we=new Date,ke=new Date;function Me(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a,s=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return s;do{s.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return s},i.filter=function(e){return Me((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return we.setTime(+n),ke.setTime(+r),t(we),t(ke),Math.floor(e(we,ke))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var Ee=Me((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Ee.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Me((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Ee:null};var Ae=Ee,Oe=(Ee.range,Me((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*ye)}),(function(t,n){return(n-t)/ye}),(function(t){return t.getUTCSeconds()}))),Se=Oe,Ce=(Oe.range,Me((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ye)}),(function(t,n){t.setTime(+t+n*ve)}),(function(t,n){return(n-t)/ve}),(function(t){return t.getMinutes()}))),Te=Ce,je=(Ce.range,Me((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ye-t.getMinutes()*ve)}),(function(t,n){t.setTime(+t+n*_e)}),(function(t,n){return(n-t)/_e}),(function(t){return t.getHours()}))),Ne=je,De=(je.range,Me((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ve)/me),(t=>t.getDate()-1))),Pe=De;function Fe(t){return Me((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ve)/xe}))}De.range;var Le=Fe(0),Ie=Fe(1),$e=Fe(2),ze=Fe(3),We=Fe(4),Ue=Fe(5),Be=Fe(6),He=(Le.range,Ie.range,$e.range,ze.range,We.range,Ue.range,Be.range,Me((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),Re=He,qe=(He.range,Me((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));qe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Me((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var Ye=qe,Ve=(qe.range,Me((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*ve)}),(function(t,n){return(n-t)/ve}),(function(t){return t.getUTCMinutes()}))),Ge=Ve,Ke=(Ve.range,Me((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*_e)}),(function(t,n){return(n-t)/_e}),(function(t){return t.getUTCHours()}))),Xe=Ke,Ze=(Ke.range,Me((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/me}),(function(t){return t.getUTCDate()-1}))),Qe=Ze;function Je(t){return Me((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/xe}))}Ze.range;var tr=Je(0),nr=Je(1),er=Je(2),rr=Je(3),ir=Je(4),or=Je(5),ar=Je(6),sr=(tr.range,nr.range,er.range,rr.range,ir.range,or.range,ar.range,Me((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),ur=sr,cr=(sr.range,Me((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));cr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Me((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var lr=cr;function fr(t,n,e,r,i,o){const a=[[Se,1,ye],[Se,5,5e3],[Se,15,15e3],[Se,30,3e4],[o,1,ve],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,_e],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,me],[r,2,1728e5],[e,1,xe],[n,1,2592e6],[n,3,7776e6],[t,1,be]];function s(n,e,r){const i=Math.abs(e-n)/r,o=ut((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(ot(n/be,e/be,r));if(0===o)return Ae.every(Math.max(ot(n,e,r),1));const[s,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(u)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"==typeof e.range?e:s(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},s]}cr.range;const[hr,dr]=fr(lr,ur,tr,Qe,Xe,Ge),[pr,gr]=fr(Ye,Re,Le,Pe,Ne,Te);function yr(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function vr(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function _r(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var mr,xr,br,wr={"-":"",_:" ",0:"0"},kr=/^\s*\d+/,Mr=/^%/,Er=/[\\^$*+?|[\]().{}]/g;function Ar(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function Or(t){return t.replace(Er,"\\$&")}function Sr(t){return new RegExp("^(?:"+t.map(Or).join("|")+")","i")}function Cr(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Tr(t,n,e){var r=kr.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function jr(t,n,e){var r=kr.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Nr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Dr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Pr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Fr(t,n,e){var r=kr.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Lr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Ir(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function $r(t,n,e){var r=kr.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function zr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Wr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ur(t,n,e){var r=kr.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Br(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Hr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Rr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function qr(t,n,e){var r=kr.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Yr(t,n,e){var r=kr.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Vr(t,n,e){var r=Mr.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Gr(t,n,e){var r=kr.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Kr(t,n,e){var r=kr.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Xr(t,n){return Ar(t.getDate(),n,2)}function Zr(t,n){return Ar(t.getHours(),n,2)}function Qr(t,n){return Ar(t.getHours()%12||12,n,2)}function Jr(t,n){return Ar(1+Pe.count(Ye(t),t),n,3)}function ti(t,n){return Ar(t.getMilliseconds(),n,3)}function ni(t,n){return ti(t,n)+"000"}function ei(t,n){return Ar(t.getMonth()+1,n,2)}function ri(t,n){return Ar(t.getMinutes(),n,2)}function ii(t,n){return Ar(t.getSeconds(),n,2)}function oi(t){var n=t.getDay();return 0===n?7:n}function ai(t,n){return Ar(Le.count(Ye(t)-1,t),n,2)}function si(t){var n=t.getDay();return n>=4||0===n?We(t):We.ceil(t)}function ui(t,n){return t=si(t),Ar(We.count(Ye(t),t)+(4===Ye(t).getDay()),n,2)}function ci(t){return t.getDay()}function li(t,n){return Ar(Ie.count(Ye(t)-1,t),n,2)}function fi(t,n){return Ar(t.getFullYear()%100,n,2)}function hi(t,n){return Ar((t=si(t)).getFullYear()%100,n,2)}function di(t,n){return Ar(t.getFullYear()%1e4,n,4)}function pi(t,n){var e=t.getDay();return Ar((t=e>=4||0===e?We(t):We.ceil(t)).getFullYear()%1e4,n,4)}function gi(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ar(n/60|0,"0",2)+Ar(n%60,"0",2)}function yi(t,n){return Ar(t.getUTCDate(),n,2)}function vi(t,n){return Ar(t.getUTCHours(),n,2)}function _i(t,n){return Ar(t.getUTCHours()%12||12,n,2)}function mi(t,n){return Ar(1+Qe.count(lr(t),t),n,3)}function xi(t,n){return Ar(t.getUTCMilliseconds(),n,3)}function bi(t,n){return xi(t,n)+"000"}function wi(t,n){return Ar(t.getUTCMonth()+1,n,2)}function ki(t,n){return Ar(t.getUTCMinutes(),n,2)}function Mi(t,n){return Ar(t.getUTCSeconds(),n,2)}function Ei(t){var n=t.getUTCDay();return 0===n?7:n}function Ai(t,n){return Ar(tr.count(lr(t)-1,t),n,2)}function Oi(t){var n=t.getUTCDay();return n>=4||0===n?ir(t):ir.ceil(t)}function Si(t,n){return t=Oi(t),Ar(ir.count(lr(t),t)+(4===lr(t).getUTCDay()),n,2)}function Ci(t){return t.getUTCDay()}function Ti(t,n){return Ar(nr.count(lr(t)-1,t),n,2)}function ji(t,n){return Ar(t.getUTCFullYear()%100,n,2)}function Ni(t,n){return Ar((t=Oi(t)).getUTCFullYear()%100,n,2)}function Di(t,n){return Ar(t.getUTCFullYear()%1e4,n,4)}function Pi(t,n){var e=t.getUTCDay();return Ar((t=e>=4||0===e?ir(t):ir.ceil(t)).getUTCFullYear()%1e4,n,4)}function Fi(){return"+0000"}function Li(){return"%"}function Ii(t){return+t}function $i(t){return Math.floor(+t/1e3)}function zi(t){return new Date(t)}function Wi(t){return t instanceof Date?+t:+new Date(+t)}function Ui(t,n,e,r,i,o,a,s,u,c){var l=mn(),f=l.invert,h=l.domain,d=c(".%L"),p=c(":%S"),g=c("%I:%M"),y=c("%I %p"),v=c("%a %d"),_=c("%b %d"),m=c("%B"),x=c("%Y");function b(t){return(u(t)<t?d:s(t)<t?p:a(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?v:_:e(t)<t?m:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Array.from(t,Wi)):h().map(zi)},l.ticks=function(n){var e=h();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?b:c(n)},l.nice=function(t){var e=h();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?h($n(e,t)):l},l.copy=function(){return vn(l,Ui(t,n,e,r,i,o,a,s,u,c))},l}function Bi(){return R.apply(Ui(pr,gr,Ye,Re,Le,Pe,Ne,Te,Se,xr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Hi(){return R.apply(Ui(hr,dr,lr,ur,tr,Qe,Xe,Ge,Se,br).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ri(){var t,n,e,r,i,o=0,a=1,s=dn,u=!1;function c(n){return null==n||isNaN(n=+n)?i:s(0===e?.5:(n=(r(n)-t)*e,u?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,s=t(e,r),c):[s(0),s(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),n=r(a=+a),e=t===n?0:1/(n-t),c):[o,a]},c.clamp=function(t){return arguments.length?(u=!!t,c):u},c.interpolator=function(t){return arguments.length?(s=t,c):s},c.range=l(cn),c.rangeRound=l(ln),c.unknown=function(t){return arguments.length?(i=t,c):i},function(i){return r=i,t=i(o),n=i(a),e=t===n?0:1/(n-t),c}}function qi(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Yi(){var t=Fn(Ri()(dn));return t.copy=function(){return qi(t,Yi())},q.apply(t,arguments)}function Vi(){var t=qn(Ri()).domain([1,10]);return t.copy=function(){return qi(t,Vi()).base(t.base())},q.apply(t,arguments)}function Gi(){var t=Kn(Ri());return t.copy=function(){return qi(t,Gi()).constant(t.constant())},q.apply(t,arguments)}function Ki(){var t=te(Ri());return t.copy=function(){return qi(t,Ki()).exponent(t.exponent())},q.apply(t,arguments)}function Xi(){return Ki.apply(null,arguments).exponent(.5)}function Zi(){var t=[],n=dn;function e(e){if(null!=e&&!isNaN(e=+e))return n((dt(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(at),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>fe(t,r/n)))},e.copy=function(){return Zi(n).domain(t)},q.apply(e,arguments)}function Qi(t,n){void 0===n&&(n=t,t=cn);for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e<r;)o[e]=t(i,i=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[n](t-n)}}function Ji(){var t,n,e,r,i,o,a,s=0,u=.5,c=1,l=1,f=dn,h=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-n)*(l*t<l*n?r:i),f(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=Qi(t,[e,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([s,u,c]=a,t=o(s=+s),n=o(u=+u),e=o(c=+c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,d):[s,u,c]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=p(cn),d.rangeRound=p(ln),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(s),n=a(u),e=a(c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,d}}function to(){var t=Fn(Ji()(dn));return t.copy=function(){return qi(t,to())},q.apply(t,arguments)}function no(){var t=qn(Ji()).domain([.1,1,10]);return t.copy=function(){return qi(t,no()).base(t.base())},q.apply(t,arguments)}function eo(){var t=Kn(Ji());return t.copy=function(){return qi(t,eo()).constant(t.constant())},q.apply(t,arguments)}function ro(){var t=te(Ji());return t.copy=function(){return qi(t,ro()).exponent(t.exponent())},q.apply(t,arguments)}function io(){return ro.apply(null,arguments).exponent(.5)}mr=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=Sr(i),l=Cr(i),f=Sr(o),h=Cr(o),d=Sr(a),p=Cr(a),g=Sr(s),y=Cr(s),v=Sr(u),_=Cr(u),m={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Xr,e:Xr,f:ni,g:hi,G:pi,H:Zr,I:Qr,j:Jr,L:ti,m:ei,M:ri,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ii,s:$i,S:ii,u:oi,U:ai,V:ui,w:ci,W:li,x:null,X:null,y:fi,Y:di,Z:gi,"%":Li},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:yi,e:yi,f:bi,g:Ni,G:Pi,H:vi,I:_i,j:mi,L:xi,m:wi,M:ki,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ii,s:$i,S:Mi,u:Ei,U:Ai,V:Si,w:Ci,W:Ti,x:null,X:null,y:ji,Y:Di,Z:Fi,"%":Li},b={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=_.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return M(t,n,e,r)},d:Wr,e:Wr,f:Yr,g:Lr,G:Fr,H:Br,I:Br,j:Ur,L:qr,m:zr,M:Hr,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:$r,Q:Gr,s:Kr,S:Rr,u:jr,U:Nr,V:Dr,w:Tr,W:Pr,x:function(t,n,r){return M(t,e,n,r)},X:function(t,n,e){return M(t,r,n,e)},y:Lr,Y:Fr,Z:Ir,"%":Vr};function w(t,n){return function(e){var r,i,o,a=[],s=-1,u=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(i=wr[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function k(t,n){return function(e){var r,i,o=_r(1900,void 0,1);if(M(o,t,e+="",0)!=e.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(n&&!("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?(i=(r=vr(_r(o.y,0,1))).getUTCDay(),r=i>4||0===i?nr.ceil(r):nr(r),r=Qe.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=yr(_r(o.y,0,1))).getDay(),r=i>4||0===i?Ie.ceil(r):Ie(r),r=Pe.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),i="Z"in o?vr(_r(o.y,0,1)).getUTCDay():yr(_r(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,vr(o)):yr(o)}}function M(t,n,e,r){for(var i,o,a=0,s=n.length,u=e.length;a<s;){if(r>=u)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=b[i in wr?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}({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"]}),xr=mr.format,mr.parse,br=mr.utcFormat,mr.utcParse;const oo=["linear","time","log","sqrt"];function ao(t){return"function"==typeof t?L(t.copy)&&L(t.domain)&&L(t.range):"string"==typeof t&&oo.includes(t)}function so(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function uo(t,n){if(!t.data)return"linear";const e=I(t[n]);return z(t.data.map((t=>{const r=_()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function co(n){if(ao(n)){const e=`scale${(t=>t&&t[0].toUpperCase()+t.slice(1))(n)}`;return t[e]()}return Ln()}function lo(t,n){const e=function(t,n){if(!so(t,n))return;const e=t.scale[n]||t.scale;return ao(e)?L(e)?e:co(e):void 0}(t,n);return e?"string"==typeof e?co(e):e:co(function(t,n){let e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return z(e)?"time":"linear"}(t,n)||uo(t,n))}function fo(t,n){return function(t,n){if(!so(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:po(e)}(t,n)||uo(t,n)}const ho=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function po(t){if("string"==typeof t)return t;const n=ho.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}function go(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function yo(t,n){return go(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=yo(e)),t[r]=i,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function vo(t){return function(t){return go(t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(t)}(t)?yo(t,{errorX:!0,errorY:!0}):t}function _o(t,n){const e=(_()(t.domain)?t.domain[n]:t.domain)||lo(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=function(t,n,e){const r=n?t:0;let i=n||t;i||(i=0);const o=i-r,a=Math.abs(o),s=o/a||1,u=e||1,c=Math.max(Math.ceil(a/u),0);return Array.from(Array(c),((t,n)=>r+n*s*u))}(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function mo(t,n,e){if(void 0===e&&(e="ascending"),!n)return t;let r=n;"x"!==n&&"y"!==n||(r=`_${n}`);const i="ascending"===e?"asc":"desc";return p()(t,r,i)}function xo(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let i;return i=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],i.filter((t=>"string"==typeof t))}(t,n),r=Mo(t,n),i=function(t,n){if(!Array.isArray(t.data)&&!go(t.data))return[];const e=I(void 0===t[n]?n:t[n]);return mo(t.data.reduce(((t,n)=>(t.push(vo(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=vo(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),o=x()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function bo(t,n,e){if(!Array.isArray(t)&&!go(t)||function(t){return go(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=I(void 0!==n[r=e]?n[r]:r),t}),{}),o=l()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?xo(n,"x"):void 0,y:-1!==e.indexOf("y")?xo(n,"y"):void 0,y0:-1!==e.indexOf("y0")?xo(n,"y"):void 0});const s=o?t:t.reduce(((t,n,r)=>{const o=vo(n),s={x:r,y:o},u=e.reduce(((t,n)=>{const e=i[n](o),r=void 0!==e?e:s[n];return void 0!==r&&("string"==typeof r&&a[n]?(t[`${n}Name`]=r,t[`_${n}`]=a[n][r]):t[`_${n}`]=r),t}),{}),c=Object.assign({},u,o);return h()(c)||t.push(c),t}),[]),u=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:fo(n,"x"),y:fo(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;const i=(t,n)=>"log"!==r[n]||0!==t[`_${n}`];return t.map((t=>i(t,"x")&&i(t,"y")&&i(t,"y0")?t:(t=>{const n=i(t,"x")?t._x:e,r=i(t,"y")?t._y:e,o=i(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:o})})(t)))}(mo(s,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=L(i=t.eventKey)?i:null==i?()=>{}:y()(i);var i;return n.map(((t,n)=>{if(void 0!==t.eventKey)return t;if(e){const e=r(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,u)}function wo(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function ko(t){return t.data?bo(t.data,t):bo(function(t){const n=_o(t,"x"),e=_o(t,"y"),r=n.map(((t,n)=>({x:t,y:e[n]})));return r}(t),t)}function Mo(t,n){if(!t.categories)return[];const e=wo(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}var Eo=r(4295),Ao=r.n(Eo),Oo=r(2829),So=r.n(Oo);function Co(t,n,e){void 0===e&&(e="min");const r=t=>"max"===e?Math.max(...t):Math.min(...t),i="max"===e?-1/0:1/0;let o=!1;const a=t.flat().reduce(((t,e)=>{const i=void 0!==e[`_${n}0`]?e[`_${n}0`]:e[`_${n}`],a=void 0!==e[`_${n}1`]?e[`_${n}1`]:e[`_${n}`],s=r([i,a]);return o=o||i instanceof Date||a instanceof Date,r([t,s])}),i);return o?new Date(a):a}function To(t,n,e){return function(t,n,e){return"log"!==fo(n,e)?t:(t=>{const n=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?n:t[0],0===t[1]?n:t[1]]})(t)}(function(t,n,e){if(!n.domainPadding)return t;const r=Lo(n,e),i=Fo(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return _()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=B(t),s=U(t),u=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=P(n,u),l=Math.abs(c[0]-c[1]),f=Math.max(l-o.left-o.right,1),h=Math.abs(s.valueOf()-a.valueOf())/f*l,d=h*o.left/l,p=h*o.right/l;let g={min:a.valueOf()-d,max:s.valueOf()+p};const y=_()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,v=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&s<=0&&t>=0?0:t;if((a>=0&&g.min<=0||s<=0&&g.max>=0)&&!1!==y){const t={left:Math.abs(s-a)*o.left/l,right:Math.abs(s-a)*o.right/l},n={min:v(a.valueOf()-t.left,"min"),max:v(s.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/l,right:Math.abs(n.max-n.min)*o.right/l};g={min:v(a.valueOf()-e.left,"min"),max:v(s.valueOf()+e.right,"max")}}const m={min:void 0!==r?r:g.min,max:void 0!==i?i:g.max};return a instanceof Date||s instanceof Date?No(new Date(m.min),new Date(m.max)):No(m.min,m.max)}(t,n,e),n,e)}function jo(t,n,e){const r=e||ko(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,s=Lo(t,n),u=Fo(t,n);if(r.length<1)return void 0!==s&&void 0!==u?No(s,u):void 0;const c=No(void 0!==s?s:Co(r,n,"min"),void 0!==u?u:Co(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?Io(c,function(t,n){const e=`_${n}`;return t.flat().map((t=>t[e]&&void 0!==t[e][1]?t[e][1]:t[e]))}(r,n)):c}function No(t,n){return Number(t)===Number(n)?(t=>{const n=0===t?2*Math.pow(10,-10):Math.pow(10,-10),e=t instanceof Date?new Date(Number(t)-1):Number(t)-n,r=t instanceof Date?new Date(Number(t)+1):Number(t)+n;return 0===t?[0,r]:[e,r]})(n):[t,n]}function Do(t,n){const e=Lo(t,n),r=Fo(t,n);return _()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?No(e,r):void 0}function Po(t,n){const e=Do(t,n);if(e)return e;const r=ko(t),i=r.reduce(((t,n)=>n._y0<t?n._y0:t),1/0);return function(t,n){const e=L(t)?t:jo,r=L(n)?n:To;return(t,n)=>{const i=Do(t,n);if(i)return r(i,t,n);const o=wo(t,n),a=o?function(t,n,e){const r=e||wo(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const s=Lo(t,n),u=Fo(t,n),c=(d=r,Array.isArray(d)&&d.some((t=>"string"==typeof t))?Mo(t,n):[]),l=0===c.length?null:c.reduce(((t,n,e)=>(t[n]=e+1,t)),{}),f=l?r.map((t=>l[t])):r,h=No(void 0!==s?s:B(f),void 0!==u?u:U(f));var d;return i&&"x"===n&&360===Math.abs(o-a)?Io(h,f):h}(t,n,o):e(t,n);return a?r(a,t,n):void 0}}((()=>jo(t,n,r)),(e=>To((e=>{if("x"===n)return e;const r=i!==1/0?i:0,o=Fo(t,n),a=Lo(t,n),s=void 0!==o?o:U(e,r);return No(void 0!==a?a:B(e,r),s)})(e),t,n)))(t,n)}function Fo(t,n){return _()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||Ao()(t.maxDomain)?t.maxDomain:void 0}function Lo(t,n){return _()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||Ao()(t.minDomain)?t.minDomain:void 0}function Io(t,n){const e=So()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}function $o(t){const{labelComponent:n,labelPlacement:e,polar:r}=t,i=r?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||i}function zo(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function Wo(t,n){const{x:e}=A(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}function Uo(t,n){const{scale:e,data:r,style:i,horizontal:o,polar:a,width:s,height:u,theme:c,labelComponent:l,disableInlineStyles:f}=t,h=r[n],d=Wo(t,h),p=a?function(t,n){const e=$o(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,d):function(t,n){void 0===n&&(n={});const{style:e,horizontal:r}=t,i=n._y>=0?1:-1,o=e&&e.labels||{};return n.verticalAnchor||o.verticalAnchor?n.verticalAnchor||o.verticalAnchor:r?i>=0?"start":"end":"middle"}(t,h),g=a?function(t,n){const e=$o(t),r=function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}(n);return"parallel"===e||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}(t,d):function(t,n){void 0===n&&(n={});const e=n._y>=0?1:-1,r=t.style&&t.style.labels||{};return n.verticalAnchor||r.verticalAnchor?n.verticalAnchor||r.verticalAnchor:t.horizontal?"middle":e>=0?"end":"start"}(t,h),y=function(t,n){void 0===n&&(n={});const e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,h),v=zo(t,h,n),_=$o(t),{x:m,y:x}=function(t,n){const{polar:e}=t,{x:r,y:i}=O(t,n);if(!e)return{x:r,y:i};const o=function(t,n){const{style:e}=t,r=Wo(t,n),i=T((e.labels||{}).padding,t)||0,o=N(r);return{x:i*Math.cos(o),y:-i*Math.sin(o)}}(t,n);return{x:r+o.x,y:i+o.y}}(t,h),{dx:b,dy:w}=function(t,n){if(t.polar)return{};const e=function(t,n){void 0===n&&(n={});const{horizontal:e,style:r}=t,i=T((r.labels||{}).padding,t)||0,o=n._y<0?-1:1;return{x:e?o*i:0,y:e?0:-1*o*i}}(t,n);return{dx:e.x,dy:e.y}}(t,h),k={angle:y,data:r,datum:h,disableInlineStyles:f,horizontal:o,index:n,polar:a,scale:e,labelPlacement:_,text:v,textAnchor:p,verticalAnchor:g,x:m,y:x,dx:b,dy:w,width:s,height:u,style:i.labels};if(!C(l))return k;const A=c&&c.tooltip||{};return M()({},k,E(A,["style"]))}const Bo=Math.PI,Ho=2*Bo,Ro=1e-6,qo=Ho-Ro;function Yo(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Vo(){return new Yo}Yo.prototype=Vo.prototype={constructor:Yo,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,s=e-t,u=r-n,c=o-t,l=a-n,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>Ro)if(Math.abs(l*s-u*c)>Ro&&i){var h=e-o,d=r-a,p=s*s+u*u,g=h*h+d*d,y=Math.sqrt(p),v=Math.sqrt(f),_=i*Math.tan((Bo-Math.acos((p+f-g)/(2*y*v)))/2),m=_/v,x=_/y;Math.abs(m-1)>Ro&&(this._+="L"+(t+m*c)+","+(n+m*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*d)+","+(this._x1=t+x*s)+","+(this._y1=n+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var a=(e=+e)*Math.cos(r),s=e*Math.sin(r),u=t+a,c=n+s,l=1^o,f=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>Ro||Math.abs(this._y1-c)>Ro)&&(this._+="L"+u+","+c),e&&(f<0&&(f=f%Ho+Ho),f>qo?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-s)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>Ro&&(this._+="A"+e+","+e+",0,"+ +(f>=Bo)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Go=Vo,Ko=Array.prototype.slice;function Xo(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Zo(t){return function(){return t}}function Qo(t){this._context=t}function Jo(t){return new Qo(t)}function ta(t){return t[0]}function na(t){return t[1]}function ea(t,n){var e=Zo(!0),r=null,i=Jo,o=null;function a(a){var s,u,c,l=(a=Xo(a)).length,f=!1;for(null==r&&(o=i(c=Go())),s=0;s<=l;++s)!(s<l&&e(u=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,s,a),+n(u,s,a));if(c)return o=null,c+""||null}return t="function"==typeof t?t:void 0===t?ta:Zo(t),n="function"==typeof n?n:void 0===n?na:Zo(n),a.x=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:Zo(!!t),a):e},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function ra(t,n,e){var r=null,i=Zo(!0),o=null,a=Jo,s=null;function u(u){var c,l,f,h,d,p=(u=Xo(u)).length,g=!1,y=new Array(p),v=new Array(p);for(null==o&&(s=a(d=Go())),c=0;c<=p;++c){if(!(c<p&&i(h=u[c],c,u))===g)if(g=!g)l=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=c-1;f>=l;--f)s.point(y[f],v[f]);s.lineEnd(),s.areaEnd()}g&&(y[c]=+t(h,c,u),v[c]=+n(h,c,u),s.point(r?+r(h,c,u):y[c],e?+e(h,c,u):v[c]))}if(d)return s=null,d+""||null}function c(){return ea().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?ta:Zo(+t),n="function"==typeof n?n:Zo(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?na:Zo(+e),u.x=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),r=null,u):t},u.x0=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Zo(+t),u):r},u.y=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),e=null,u):n},u.y0=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),u):n},u.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:Zo(+t),u):e},u.lineX0=u.lineY0=function(){return c().x(t).y(n)},u.lineY1=function(){return c().x(t).y(e)},u.lineX1=function(){return c().x(r).y(n)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:Zo(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),u):o},u}Qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var ia=aa(Jo);function oa(t){this._curve=t}function aa(t){function n(n){return new oa(t(n))}return n._curve=t,n}function sa(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(aa(t)):n()._curve},t}function ua(){return sa(ea().curve(ia))}function ca(){var t=ra().curve(ia),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return sa(e())},delete t.lineX0,t.lineEndAngle=function(){return sa(r())},delete t.lineX1,t.lineInnerRadius=function(){return sa(i())},delete t.lineY0,t.lineOuterRadius=function(){return sa(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(aa(t)):n()._curve},t}oa.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};const la=Math.abs,fa=Math.atan2,ha=Math.cos,da=Math.max,pa=Math.min,ga=Math.sin,ya=Math.sqrt,va=1e-12,_a=Math.PI,ma=_a/2,xa=2*_a;function ba(t){return t>1?0:t<-1?_a:Math.acos(t)}function wa(t){return t>=1?ma:t<=-1?-ma:Math.asin(t)}function ka(t){return t.innerRadius}function Ma(t){return t.outerRadius}function Ea(t){return t.startAngle}function Aa(t){return t.endAngle}function Oa(t){return t&&t.padAngle}function Sa(t,n,e,r,i,o,a,s){var u=e-t,c=r-n,l=a-i,f=s-o,h=f*u-l*c;if(!(h*h<va))return[t+(h=(l*(n-o)-f*(t-i))/h)*u,n+h*c]}function Ca(t,n,e,r,i,o,a){var s=t-e,u=n-r,c=(a?o:-o)/ya(s*s+u*u),l=c*u,f=-c*s,h=t+l,d=n+f,p=e+l,g=r+f,y=(h+p)/2,v=(d+g)/2,_=p-h,m=g-d,x=_*_+m*m,b=i-o,w=h*g-p*d,k=(m<0?-1:1)*ya(da(0,b*b*x-w*w)),M=(w*m-_*k)/x,E=(-w*_-m*k)/x,A=(w*m+_*k)/x,O=(-w*_+m*k)/x,S=M-y,C=E-v,T=A-y,j=O-v;return S*S+C*C>T*T+j*j&&(M=A,E=O),{cx:M,cy:E,x01:-l,y01:-f,x11:M*(i/b-1),y11:E*(i/b-1)}}function Ta(){var t=ka,n=Ma,e=Zo(0),r=null,i=Ea,o=Aa,a=Oa,s=null;function u(){var u,c,l=+t.apply(this,arguments),f=+n.apply(this,arguments),h=i.apply(this,arguments)-ma,d=o.apply(this,arguments)-ma,p=la(d-h),g=d>h;if(s||(s=u=Go()),f<l&&(c=f,f=l,l=c),f>va)if(p>xa-va)s.moveTo(f*ha(h),f*ga(h)),s.arc(0,0,f,h,d,!g),l>va&&(s.moveTo(l*ha(d),l*ga(d)),s.arc(0,0,l,d,h,g));else{var y,v,_=h,m=d,x=h,b=d,w=p,k=p,M=a.apply(this,arguments)/2,E=M>va&&(r?+r.apply(this,arguments):ya(l*l+f*f)),A=pa(la(f-l)/2,+e.apply(this,arguments)),O=A,S=A;if(E>va){var C=wa(E/l*ga(M)),T=wa(E/f*ga(M));(w-=2*C)>va?(x+=C*=g?1:-1,b-=C):(w=0,x=b=(h+d)/2),(k-=2*T)>va?(_+=T*=g?1:-1,m-=T):(k=0,_=m=(h+d)/2)}var j=f*ha(_),N=f*ga(_),D=l*ha(b),P=l*ga(b);if(A>va){var F,L=f*ha(m),I=f*ga(m),$=l*ha(x),z=l*ga(x);if(p<_a&&(F=Sa(j,N,$,z,L,I,D,P))){var W=j-F[0],U=N-F[1],B=L-F[0],H=I-F[1],R=1/ga(ba((W*B+U*H)/(ya(W*W+U*U)*ya(B*B+H*H)))/2),q=ya(F[0]*F[0]+F[1]*F[1]);O=pa(A,(l-q)/(R-1)),S=pa(A,(f-q)/(R+1))}}k>va?S>va?(y=Ca($,z,j,N,f,S,g),v=Ca(L,I,D,P,f,S,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),S<A?s.arc(y.cx,y.cy,S,fa(y.y01,y.x01),fa(v.y01,v.x01),!g):(s.arc(y.cx,y.cy,S,fa(y.y01,y.x01),fa(y.y11,y.x11),!g),s.arc(0,0,f,fa(y.cy+y.y11,y.cx+y.x11),fa(v.cy+v.y11,v.cx+v.x11),!g),s.arc(v.cx,v.cy,S,fa(v.y11,v.x11),fa(v.y01,v.x01),!g))):(s.moveTo(j,N),s.arc(0,0,f,_,m,!g)):s.moveTo(j,N),l>va&&w>va?O>va?(y=Ca(D,P,L,I,l,-O,g),v=Ca(j,N,$,z,l,-O,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),O<A?s.arc(y.cx,y.cy,O,fa(y.y01,y.x01),fa(v.y01,v.x01),!g):(s.arc(y.cx,y.cy,O,fa(y.y01,y.x01),fa(y.y11,y.x11),!g),s.arc(0,0,l,fa(y.cy+y.y11,y.cx+y.x11),fa(v.cy+v.y11,v.cx+v.x11),g),s.arc(v.cx,v.cy,O,fa(v.y11,v.x11),fa(v.y01,v.x01),!g))):s.arc(0,0,l,b,x,g):s.lineTo(D,P)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-_a/2;return[ha(r)*e,ga(r)*e]},u.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),u):t},u.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),u):n},u.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Zo(+t),u):e},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Zo(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Zo(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Zo(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Zo(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function ja(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function Na(t){return t}function Da(){var t=Na,n=ja,e=null,r=Zo(0),i=Zo(xa),o=Zo(0);function a(a){var s,u,c,l,f,h=(a=Xo(a)).length,d=0,p=new Array(h),g=new Array(h),y=+r.apply(this,arguments),v=Math.min(xa,Math.max(-xa,i.apply(this,arguments)-y)),_=Math.min(Math.abs(v)/h,o.apply(this,arguments)),m=_*(v<0?-1:1);for(s=0;s<h;++s)(f=g[p[s]=s]=+t(a[s],s,a))>0&&(d+=f);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(a[t],a[n])})),s=0,c=d?(v-h*m)/d:0;s<h;++s,y=l)u=p[s],l=y+((f=g[u])>0?f*c:0)+m,g[u]={data:a[u],index:s,value:f,startAngle:y,endAngle:l,padAngle:_};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Zo(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Zo(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Zo(+t),a):o},a}function Pa(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}class Fa{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class La{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0==this._point++)this._x0=t,this._y0=n;else{const e=Pa(this._x0,this._y0),r=Pa(this._x0,this._y0=(this._y0+n)/2),i=Pa(t,this._y0),o=Pa(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}}}function Ia(t){return new Fa(t,!0)}function $a(t){return new Fa(t,!1)}function za(t){return new La(t)}function Wa(t){return t.source}function Ua(t){return t.target}function Ba(t){let n=Wa,e=Ua,r=ta,i=na,o=null,a=null;function s(){let s;const u=Ko.call(arguments),c=n.apply(this,u),l=e.apply(this,u);if(null==o&&(a=t(s=Go())),a.lineStart(),u[0]=c,a.point(+r.apply(this,u),+i.apply(this,u)),u[0]=l,a.point(+r.apply(this,u),+i.apply(this,u)),a.lineEnd(),s)return a=null,s+""||null}return s.source=function(t){return arguments.length?(n=t,s):n},s.target=function(t){return arguments.length?(e=t,s):e},s.x=function(t){return arguments.length?(r="function"==typeof t?t:Zo(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:Zo(+t),s):i},s.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),s):o},s}function Ha(){return Ba(Ia)}function Ra(){return Ba($a)}function qa(){const t=Ba(za);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const Ya=ya(3);var Va={draw(t,n){const e=.59436*ya(n+pa(n/28,.75)),r=e/2,i=r*Ya;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},Ga={draw(t,n){const e=ya(n/_a);t.moveTo(e,0),t.arc(0,0,e,0,xa)}},Ka={draw(t,n){const e=ya(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};const Xa=ya(1/3),Za=2*Xa;var Qa={draw(t,n){const e=ya(n/Za),r=e*Xa;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Ja={draw(t,n){const e=.62625*ya(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},ts={draw(t,n){const e=.87559*ya(n-pa(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},ns={draw(t,n){const e=ya(n),r=-e/2;t.rect(r,r,e,e)}},es={draw(t,n){const e=.4431*ya(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const rs=ga(_a/10)/ga(7*_a/10),is=ga(xa/10)*rs,os=-ha(xa/10)*rs;var as={draw(t,n){const e=ya(.8908130915292852*n),r=is*e,i=os*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=xa*n/5,a=ha(o),s=ga(o);t.lineTo(s*e,-a*e),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}};const ss=ya(3);var us={draw(t,n){const e=-ya(n/(3*ss));t.moveTo(0,2*e),t.lineTo(-ss*e,-e),t.lineTo(ss*e,-e),t.closePath()}};const cs=ya(3);var ls={draw(t,n){const e=.6824*ya(n),r=e/2,i=e*cs/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const fs=-.5,hs=ya(3)/2,ds=1/ya(12),ps=3*(ds/2+1);var gs={draw(t,n){const e=ya(n/ps),r=e/2,i=e*ds,o=r,a=e*ds+e,s=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,u),t.lineTo(fs*r-hs*i,hs*r+fs*i),t.lineTo(fs*o-hs*a,hs*o+fs*a),t.lineTo(fs*s-hs*u,hs*s+fs*u),t.lineTo(fs*r+hs*i,fs*i-hs*r),t.lineTo(fs*o+hs*a,fs*a-hs*o),t.lineTo(fs*s+hs*u,fs*u-hs*s),t.closePath()}},ys={draw(t,n){const e=.6189*ya(n-pa(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const vs=[Ga,Ka,Qa,ns,as,us,gs],_s=[Ga,ts,ys,ls,Va,es,Ja];function ms(t,n){let e=null;function r(){let r;if(e||(e=r=Go()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return t="function"==typeof t?t:Zo(t||Ga),n="function"==typeof n?n:Zo(void 0===n?64:+n),r.type=function(n){return arguments.length?(t="function"==typeof n?n:Zo(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function xs(){}function bs(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function ws(t){this._context=t}function ks(t){return new ws(t)}function Ms(t){this._context=t}function Es(t){return new Ms(t)}function As(t){this._context=t}function Os(t){return new As(t)}function Ss(t,n){this._basis=new ws(t),this._beta=n}ws.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bs(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bs(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ms.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:bs(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},As.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:bs(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ss.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,s=n[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*n[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Cs=function t(n){function e(t){return 1===n?new ws(t):new Ss(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Ts(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function js(t,n){this._context=t,this._k=(1-n)/6}js.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ts(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Ts(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ns=function t(n){function e(t){return new js(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ds(t,n){this._context=t,this._k=(1-n)/6}Ds.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Ts(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ps=function t(n){function e(t){return new Ds(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Fs(t,n){this._context=t,this._k=(1-n)/6}Fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ts(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ls=function t(n){function e(t){return new Fs(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Is(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>va){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>va){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function $s(t,n){this._context=t,this._alpha=n}$s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Is(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var zs=function t(n){function e(t){return n?new $s(t,n):new js(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Ws(t,n){this._context=t,this._alpha=n}Ws.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Is(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Us=function t(n){function e(t){return n?new Ws(t,n):new Ds(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Bs(t,n){this._context=t,this._alpha=n}Bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Is(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hs=function t(n){function e(t){return n?new Bs(t,n):new Fs(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Rs(t){this._context=t}function qs(t){return new Rs(t)}function Ys(t){return t<0?-1:1}function Vs(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Ys(o)+Ys(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Gs(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ks(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*n,o-s,a-s*e,o,a)}function Xs(t){this._context=t}function Zs(t){this._context=new Qs(t)}function Qs(t){this._context=t}function Js(t){return new Xs(t)}function tu(t){return new Zs(t)}function nu(t){this._context=t}function eu(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function ru(t){return new nu(t)}function iu(t,n){this._context=t,this._t=n}function ou(t){return new iu(t,.5)}function au(t){return new iu(t,0)}function su(t){return new iu(t,1)}function uu(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],s=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e<s;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function cu(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function lu(t,n){return t[n]}function fu(t){const n=[];return n.key=t,n}function hu(){var t=Zo([]),n=cu,e=uu,r=lu;function i(i){var o,a,s=Array.from(t.apply(this,arguments),fu),u=s.length,c=-1;for(const t of i)for(o=0,++c;o<u;++o)(s[o][c]=[0,+r(t,s[o].key,c,i)]).data=t;for(o=0,a=Xo(n(s));o<u;++o)s[a[o]].index=o;return e(s,a),s}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:Zo(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Zo(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?cu:"function"==typeof t?t:Zo(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?uu:t,i):e},i}function du(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o<a;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}uu(t,n)}}function pu(t,n){if((s=t.length)>0)for(var e,r,i,o,a,s,u=0,c=t[n[0]].length;u<c;++u)for(o=a=0,e=0;e<s;++e)(i=(r=t[n[e]][u])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}function gu(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<e;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}uu(t,n)}}function yu(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var s=0,u=0,c=0;s<i;++s){for(var l=t[n[s]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<s;++d){var p=t[n[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}u+=f,c+=h*f}e[a-1][1]+=e[a-1][0]=o,u&&(o-=c/u)}e[a-1][1]+=e[a-1][0]=o,uu(t,n)}}function vu(t){var n=t.map(_u);return cu(t).sort((function(t,e){return n[t]-n[e]}))}function _u(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}function mu(t){var n=t.map(xu);return cu(t).sort((function(t,e){return n[t]-n[e]}))}function xu(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function bu(t){return mu(t).reverse()}function wu(t){var n,e,r=t.length,i=t.map(xu),o=vu(t),a=0,s=0,u=[],c=[];for(n=0;n<r;++n)e=o[n],a<s?(a+=i[e],u.push(e)):(s+=i[e],c.push(e));return c.reverse().concat(u)}function ku(t){return cu(t).reverse()}Rs.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Xs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ks(this,this._t0,Gs(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ks(this,Gs(this,e=Vs(this,t,n)),e);break;default:Ks(this,this._t0,e=Vs(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Zs.prototype=Object.create(Xs.prototype)).point=function(t,n){Xs.prototype.point.call(this,n,t)},Qs.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},nu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=eu(t),i=eu(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},iu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};const Mu=t=>null!=(void 0!==t._y1?t._y1:t._y)&&null!==t._y0,Eu=t=>n=>t.x(void 0!==n._x1?n._x1:n._x),Au=t=>n=>t.y(void 0!==n._y1?n._y1:n._y),Ou=t=>`curve${(t=>t&&t[0].toUpperCase()+t.slice(1))(t)}`,Su=t=>{const{interpolation:e}=t;if("function"==typeof e)return e;if("string"==typeof e){const{polar:r,openCurve:i=!r}=t,o=i?Ou(e):(t=>`${Ou(t)}Closed`)(e);return n[o]}return Jo},Cu=t=>{const{polar:n,scale:e,horizontal:r}=t;return n?ua().defined(Mu).curve(Su(t)).angle((t=>n=>-1*t.x(void 0!==n._x1?n._x1:n._x)+Math.PI/2)(e)).radius(Au(e)):ea().defined(Mu).curve(Su(t)).x(r?Au(e):Eu(e)).y(r?Eu(e):Au(e))};function Tu(){return Tu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Tu.apply(this,arguments)}const ju=(0,o.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...s}=t,u={id:T(r,t)?.toString(),tabIndex:T(i,t),...s};return e?a().createElement("path",Tu({},u,{ref:n}),a().createElement("desc",null,e)):a().createElement("path",Tu({},u,{ref:n}))})),Nu={startsWith:["data-","aria-"],exactMatch:[]},Du=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return Nu.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>Nu.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,T(r,t)]})))},Pu=t=>null!=(void 0!==t._y1?t._y1:t._y)&&null!==t._y0,Fu=t=>n=>t.x(void 0!==n._x1?n._x1:n._x),Lu=t=>n=>t.y(void 0!==n._y1?n._y1:n._y),Iu=t=>n=>t.y(n._y0),$u={groupComponent:a().createElement("g",null),pathComponent:a().createElement(ju,null),role:"presentation",shapeRendering:"auto"},zu=t=>{const n=(t=>{const n=T(t.ariaLabel,t),e=T(t.desc,t),r=T(t.id,t),i=j(Object.assign({fill:"black"},t.style),t),o=T(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(M()({},t,$u)),{ariaLabel:e,role:r,shapeRendering:i,className:o,polar:s,origin:u,data:c,pathComponent:l,events:f,groupComponent:h,clipPath:d,id:p,style:g,desc:y,tabIndex:v}=n,_=Du(n),m=s&&u?`translate(${u.x}, ${u.y})`:void 0,x=n.transform||m,b=g.stroke&&"none"!==g.stroke&&"transparent"!==g.stroke,w=(t=>{const{polar:n,scale:e}=t,r=Su(t);return n?ca().defined(Pu).curve(r).angle((t=>n=>-1*t.x(void 0!==n._x1?n._x1:n._x)+Math.PI/2)(e)).outerRadius(Lu(e)).innerRadius(Iu(e)):(t=>{const{horizontal:n,scale:e}=t,r=Su(t);return n?ra().defined(Pu).curve(r).x0(Iu(e)).x1(Lu(e)).y(Fu(e)):ra().defined(Pu).curve(r).x(Fu(e)).y1(Lu(e)).y0(Iu(e))})(t)})(n),k=b&&Cu(n),E=g.stroke?"none":g.fill,A={"aria-label":e,className:o,role:r,shapeRendering:i,transform:x,...f,clipPath:d,tabIndex:v},O=a().cloneElement(l,Object.assign({key:`${p}-area`,style:Object.assign({},g,{stroke:E}),d:w(c),desc:y,tabIndex:v},A,_)),S=b?a().cloneElement(l,Object.assign({key:`${p}-area-stroke`,style:Object.assign({},g,{fill:"none"}),d:k(c)},A)):null;return b?a().cloneElement(h,_,[O,S]):O};var Wu=r(660),Uu=r.n(Wu);function Bu(){return Bu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Bu.apply(this,arguments)}const Hu=a().forwardRef(((t,n)=>a().createElement("svg",Bu({ref:n},t)))),Ru=a().createContext(void 0);Ru.displayName="PortalContext";const qu=()=>a().useContext(Ru),Yu=t=>{let{children:n}=t;const[e,r]=a().useState(new Map),i=a().useCallback(((t,n)=>{r((e=>{const r=new Map(e);return r.set(t,n),r}))}),[r]),o=a().useCallback((t=>{r((n=>{const e=new Map(n);return e.delete(t),e}))}),[r]),s=a().useMemo((()=>({addChild:i,removeChild:o,children:e})),[i,o,e]);return a().createElement(Ru.Provider,{value:s},n)},Vu=t=>{let{as:n,...e}=t;const r=qu();if(!r)return null;const i=Array.from(r.children.values());return a().cloneElement(n,e,i)};function Gu(){return Gu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Gu.apply(this,arguments)}const Ku={className:"VictoryContainer",portalComponent:a().createElement(Hu,null),portalZIndex:99,responsive:!0,role:"img"},Xu=t=>{const{role:n,title:e,desc:r,children:i,className:s,portalZIndex:u,portalComponent:c,width:l,height:f,style:h,tabIndex:d,responsive:p,events:g,ouiaId:y,ouiaSafe:v,ouiaType:_,dimensions:m,ariaDescribedBy:x,ariaLabelledBy:b,viewBox:w,preserveAspectRatio:k,userProps:M,titleId:E,descId:A,containerRef:O,localContainerRef:S}=function(t){const n={...Ku,...t},{title:e,desc:r,width:i,height:a,responsive:s}=n,u=(0,o.useRef)(null),c=(0,o.useRef)(Uu()("victory-container-")),l=n.containerId??c.current,f=t=>`${l}-${t}`,h=Du(n),d=s?{width:"100%",height:"100%"}:{width:i,height:a},p=s?`0 0 ${i} ${a}`:void 0,g=s?n.preserveAspectRatio:void 0,y=[e&&f("title"),n["aria-labelledby"]].filter(Boolean).join(" ")||void 0,v=[r&&f("desc"),n["aria-describedby"]].filter(Boolean).join(" ")||void 0,_=f("title"),m=f("desc");return{...n,titleId:_,descId:m,dimensions:d,viewBox:p,preserveAspectRatio:g,ariaLabelledBy:y,ariaDescribedBy:v,userProps:h,localContainerRef:u}}(t);return a().useEffect((()=>{if(!g?.onWheel)return;const t=t=>t.preventDefault(),n=S?.current;return n?.addEventListener("wheel",t),()=>{n?.removeEventListener("wheel",t)}}),[]),a().createElement("div",{className:s,style:{...h,width:p?h?.width:m.width,height:p?h?.height:m.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":y,"data-ouia-component-type":_,"data-ouia-safe":v,ref:(C=[S,O],t=>{C.forEach((n=>{L(n)?n(t):null!=n&&(n.current=t)}))})},a().createElement(Yu,null,a().createElement("svg",Gu({width:l,height:f,tabIndex:d,role:n,"aria-labelledby":b,"aria-describedby":x,viewBox:w,preserveAspectRatio:k,style:{...m,pointerEvents:"all"}},M,g),e?a().createElement("title",{id:E},e):null,r?a().createElement("desc",{id:A},r):null,i),a().createElement("div",{style:{...m,zIndex:u,position:"absolute",top:0,left:0}},a().createElement(Vu,{as:c,width:l,height:f,viewBox:w,preserveAspectRatio:k,style:{...m,overflow:"visible"}}))));var C};Xu.role="container";var Zu=r(7709),Qu=r.n(Zu);const Ju=t=>a().createElement("defs",null,a().createElement("clipPath",{id:t.clipId?.toString()},t.children));function tc(){return tc=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},tc.apply(this,arguments)}const nc=(0,o.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...s}=t,u={vectorEffect:"non-scaling-stroke",id:T(r,t)?.toString(),tabIndex:T(i,t),...s};return e?a().createElement("circle",tc({},u,{ref:n}),a().createElement("desc",null,e)):a().createElement("circle",tc({},u,{ref:n}))}));function ec(){return ec=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},ec.apply(this,arguments)}const rc=(0,o.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...s}=t,u={vectorEffect:"non-scaling-stroke",id:T(r,t)?.toString(),tabIndex:T(i,t),...s};return e?a().createElement("rect",ec({},u,{ref:n}),a().createElement("desc",null,e)):a().createElement("rect",ec({},u,{ref:n}))}));class ic extends a().Component{static displayName="VictoryClipContainer";static role="container";static defaultProps={circleComponent:a().createElement(nc,null),rectComponent:a().createElement(rc,null),clipPathComponent:a().createElement(Ju,null),groupComponent:a().createElement("g",null)};constructor(t){super(t),this.clipId=Qu()(t)&&void 0!==t.clipId?t.clipId:Uu()("victory-clip-")}calculateAttributes(t){const{polar:n,origin:e,clipWidth:r=0,clipHeight:i=0,translateX:o=0,translateY:a=0}=t,s=S({padding:t.clipPadding}),u=t.radius||D(t);return{x:(n?e.x:o)-s.left,y:(n?e.y:a)-s.top,width:Math.max((n?u:r)+s.left+s.right,0),height:Math.max((n?u:i)+s.top+s.bottom,0)}}renderClippedGroup(t,n){const e=Du(t),{style:r,events:i,transform:o,children:s,className:u,groupComponent:c,tabIndex:l}=t,f=this.renderClipComponent(t,n),h=Object.assign({className:u,style:r,transform:o,key:`clipped-group-${n}`,clipPath:`url(#${n})`},i);return a().cloneElement(c,{...h,tabIndex:l,...e},[f,...a().Children.toArray(s)])}renderGroup(t){const{style:n,events:e,transform:r,children:i,className:o,groupComponent:s,tabIndex:u}=t;return a().cloneElement(s,Object.assign({className:o,style:n,transform:r,"aria-label":t["aria-label"],tabIndex:u},e),i)}renderClipComponent(t,n){const{polar:e,origin:r,clipWidth:i=0,clipHeight:o=0,translateX:s=0,translateY:u=0,circleComponent:c,rectComponent:l,clipPathComponent:f}=t,{top:h,bottom:d,left:p,right:g}=S({padding:t.clipPadding});let y;if(e){const n=t.radius||D(t),e={r:Math.max(n+p+g,n+h+d,0),cx:r.x-p,cy:r.y-h};y=a().cloneElement(c,e)}else{const t={x:s-p,y:u-h,width:Math.max(i+p+g,0),height:Math.max(o+h+d,0)};y=a().cloneElement(l,t)}return a().cloneElement(f,Object.assign({key:`clip-path-${n}`},t,{clipId:n}),y)}getClipValue(t,n){const e={x:t.clipWidth,y:t.clipHeight};if(void 0!==e[n])return e[n];const r=P(t,n);return r&&Math.abs(r[0]-r[1])||void 0}getTranslateValue(t,n){const e={x:t.translateX,y:t.translateY};if(void 0!==e[n])return e[n];const r=P(t,n);return r?Math.min(...r):void 0}render(){const t=this.getClipValue(this.props,"y"),n=this.getClipValue(this.props,"x");if(void 0===n||void 0===t)return this.renderGroup(this.props);const e=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),i=M()({},this.props,{clipHeight:t,clipWidth:n,translateX:e,translateY:r});return this.renderClippedGroup(i,this.clipId)}}const oc={groupComponent:a().createElement("g",null)},ac=t=>{const n={...oc,...t},[e]=(0,o.useState)(Uu()()),r=qu(),i=Array.isArray(n.children)?n.children[0]:n.children,{groupComponent:s}=n,u=i&&i.props||{},c=u.groupComponent?{groupComponent:s,standalone:!1}:{},l=M()(c,u,E(n,["children","groupComponent"]),{key:u.key??e}),f=i&&a().cloneElement(i,l);return a().useEffect((()=>{r?.addChild(e,f)}),[n.children]),a().useEffect((()=>()=>r?.removeChild(e)),[]),r?null:f};ac.role="portal";const sc=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:o,title:s,...u}=t,c={id:T(r,t)?.toString(),tabIndex:T(o,t),...u};return a().createElement("text",c,s&&a().createElement("title",null,s),e&&a().createElement("desc",null,e),n)},uc=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...o}=t,s={id:T(e,t)?.toString(),tabIndex:T(r,t),...o};return a().createElement("tspan",s)},cc=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce(((t,n)=>[t,cc(n)].join(" ")),cc(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];i.push(`${n}(${e})`)}return i.join(" ").trim()};var lc=r(1594),fc=r.n(lc);const hc={"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},Inter:{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,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},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}},dc={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},pc={em:1,ex:.5},gc={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},yc=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),vc=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},_c=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?dc.hasOwnProperty(e)?r*dc[e]:pc.hasOwnProperty(e)?(n?r*n:r*gc.fontSize)*pc[e]:r:r||0,i},mc=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=M()({},e,gc);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:_c(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:_c(String(r.fontSize))})},xc=(t,n)=>{const e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=((t,n)=>void 0===t||""===t||null===t?0:yc(t).reduce(((t,e,r)=>{const i=mc(n,r),o=e.toString().match(/[(A-Z)(0-9)]/)?1.15*i.fontSize:i.fontSize;return t+i.lineHeight*o}),0))(t,n),i=((t,n)=>{if(void 0===t||""===t||null===t)return 0;const e=yc(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=mc(n,e),s=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>hc[t]))||"Helvetica";return hc[n]})(a),u=t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,n)=>n+t),0)*i;return u+o*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?vc(i,r,e):i,height:1.05*(e?vc(r,i,e):r)}},bc=fc()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),wc=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",kc=fc()(((t,n)=>{let e=bc();e.isConnected||(bc.cache.clear?.(),e=bc());const r=yc(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=mc(n,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=o,r.setAttribute("x","0"),r.setAttribute("y",`${i}`),e.appendChild(r),i+=a.lineHeight*r.getBoundingClientRect().height}const{width:o}=e.getBoundingClientRect();return e.innerHTML="",{width:n?.angle?vc(o,i,n?.angle):o,height:n?.angle?vc(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(wc).join():wc(n)}`)),Mc=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?xc(t,n):kc(t,n)}(t,n),Ec={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ac=(t,n)=>t.datum?O(t,t.datum)[n]:0,Oc=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return Ec.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?Ec.fontSize:t}return Ec.fontSize},Sc=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},Cc=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!h()(n)||Array.isArray(e)&&!h()(e)},Tc=(t,n)=>{const{direction:e,textAnchor:r,x:i,dx:o}=t;if("rtl"===e)return i-n;switch(r){case"middle":return Math.round(i-n/2);case"end":return Math.round(i-n);default:return i+(o||0)}},jc=(t,n)=>{const{verticalAnchor:e,y:r,originalDy:i=0}=t,o=r+i;switch(e){case"start":return Math.floor(o);case"end":return Math.ceil(o-n);default:return Math.floor(o-n/2)}},Nc=(t,n)=>Cc(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:o,backgroundPadding:s,backgroundComponent:u,inline:c,y:l}=t,f=n.map(((t,i)=>{const o=Sc(n,i-1),a=t.textSize,u=t.fontSize*t.lineHeight,f=Math.ceil(u),h=Sc(s,i),d=Sc(s,i-1),p=c&&r||0,g=i&&!c?o.fontSize*o.lineHeight+d.top+d.bottom:e-.5*u-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+h.top+h.bottom,widthWithPadding:a.width+h.left+h.right+p,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((n,e)=>{const r=Tc(t,n.labelSize.width),h=f.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),d=Sc(s,e),p=n.heightWithPadding,g=c?((t,n,e)=>{const{textAnchor:r}=t,i=n.map((t=>t.widthWithPadding)),o=-i.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return i.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return i.reduce(((t,n,r)=>r>e?t-n:t),0);default:return i.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),o)}})(t,f,e)+r-d.left:r,y=c?jc(t,p)-d.top:h,v={key:`tspan-background-${e}`,height:p,style:Sc(o,e),width:n.widthWithPadding,transform:i,x:g-d.left,y:y};return a().cloneElement(u,M()({},u.props,v))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:o,inline:s,backgroundPadding:u,capHeight:c}=t,l=n.map((t=>t.textSize)),f=s?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const i=r?0:c/2;return t+e.height*(n[r].lineHeight-i)}),0),h=s?l.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...l.map((t=>t.width))),d=Tc(t,h),p=jc(t,f),g={key:"background",height:f+u.top+u.bottom,style:o,transform:r,width:h+u.left+u.right,x:s?d-u.left:d+e-u.left,y:p};return a().cloneElement(i,M()({},i.props,g))})(t,n),Dc=(t,n,e)=>{const{inline:r}=n,i=Sc(t,e);return e&&!r?((t,n,e)=>{const r=Sc(t,n),i=Sc(t,n-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,s=i.fontSize-i.capHeight,u=r.fontSize-r.capHeight,c=o-i.fontSize/2+r.fontSize/2-o/2+a/2-u/2+s/2;return Cc(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},Pc=t=>{const n=T(t.ariaLabel,t),e=Sc(t.style),r=(t=>{const n=T(t.lineHeight,t);return Array.isArray(n)&&h()(n)?[1]:n})(t),i=t.direction?T(t.direction,t):"inherit",o=t.textAnchor?T(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?T(t.verticalAnchor,t):e.verticalAnchor||"middle",s=t.dx?T(t.dx,t):0,u=((t,n,e)=>{const r=t.dy?T(t.dy,t):0,i=t.inline?1:t.text.length,o=T(t.capHeight,t),a=n?T(n,t):"middle",s=[...Array(i).keys()].map((n=>Sc(t.style,n).fontSize)),u=[...Array(i).keys()].map((t=>Sc(e,t)));if("start"===a)return r+(o/2+u[0]/2)*s[0];if(t.inline)return"end"===a?r+(o/2-u[0]/2)*s[0]:r+o/2*s[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*u[0])*s[0]:r+(o/2+(.5-i/2)*u[0])*s[0];const c=[...Array(i).keys()].reduce(((t,n)=>t+(o/2+(.5-i)*u[n])*s[n]/i),0);return"end"===a?r+c:r+c/2+o/2*u[i-1]*s[i-1]})(t,a,r),c=void 0!==t.x?t.x:Ac(t,"x"),l=void 0!==t.y?t.y:Ac(t,"y"),f=((t,n,e)=>{const{polar:r}=t,i=Sc(t.style),o=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=Wo(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===i.angle?T(t.angle,t):i.angle,s=void 0===a?o:a,u=t.transform||i.transform,c=u&&T(u,t);return c||s?cc(c,s&&{rotate:[s,n,e]}):void 0})(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:s,dy:u,originalDy:T(t.dy,t),transform:f,x:c,y:l})},Fc={backgroundComponent:a().createElement(rc,null),groupComponent:a().createElement("g",null),direction:"inherit",textComponent:a().createElement(sc,null),tspanComponent:a().createElement(uc,null),capHeight:.71,lineHeight:1},Lc=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>T(t,n)));const e=T(t,n);return null!=e?Array.isArray(e)?e:`${e}`.split("\n"):void 0})(t.text,t),e=((t,n)=>{if(n.disableInlineStyles){const e=j(t,n);return{fontSize:Oc(e)}}const e=t=>{const e=j(t?M()({},t,Ec):Ec,n);return Object.assign({},e,{fontSize:Oc(e)})};return Array.isArray(t)&&!h()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!h()(t)?t.map((t=>j(t,n))):j(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>S({padding:T(n,t)}))):S({padding:T(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=T(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})(M()({},t,Fc));if(null===n.text||void 0===n.text)return null;const e=Pc(n),{text:r,style:i,capHeight:o,backgroundPadding:s,lineHeight:u}=e,c=r.map(((t,n)=>{const e=Sc(i,n),r=_c(`${o}em`,e.fontSize),a=Sc(u,n);return{style:e,fontSize:e.fontSize||Ec.fontSize,capHeight:r,text:t,textSize:Mc(t,e),lineHeight:a,backgroundPadding:Sc(s,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:o,events:s,direction:u,text:c,textAnchor:l,dx:f,dy:h,transform:d,x:p,y:g,desc:y,id:v,tabIndex:_,tspanComponent:m,textComponent:x}=t,b=Du(t),w={"aria-label":e,key:"text",...s,direction:u,dx:f,x:p,y:g+h,transform:d,className:i,title:o,desc:T(y,t),tabIndex:T(_,t),id:v,...b},k=c.map(((e,i)=>{const o=n[i].style,s={key:`${v}-key-${i}`,x:r?void 0:p,dx:r?f+n[i].backgroundPadding.left:f,dy:Dc(n,t,i),textAnchor:o.textAnchor||l,style:o,children:e};return a().cloneElement(m,s)}));return a().cloneElement(x,w,k)})(e,c);if(n.backgroundStyle){const t=[Nc(e,c),l],r=a().cloneElement(n.groupComponent,{},t);return n.renderInPortal?a().createElement(ac,null,r):r}return n.renderInPortal?a().createElement(ac,null,l):l};Lc.displayName="VictoryLabel",Lc.role="label",Lc.defaultStyles=Ec;const Ic=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],$c="#252525",zc="#969696",Wc={width:450,height:300,padding:50,colorScale:Ic},Uc={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:$c,stroke:"transparent"},Bc=Object.assign({textAnchor:"middle"},Uc),Hc={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Ic,qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:$c},labels:Uc}},Wc),axis:Object.assign({style:{axis:{fill:"transparent",stroke:$c,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Bc,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Uc}},Wc),bar:Object.assign({style:{data:{fill:$c,padding:8,strokeWidth:0},labels:Uc}},Wc),boxplot:Object.assign({style:{max:{padding:8,stroke:$c,strokeWidth:1},maxLabels:Object.assign({},Uc,{padding:3}),median:{padding:8,stroke:$c,strokeWidth:1},medianLabels:Object.assign({},Uc,{padding:3}),min:{padding:8,stroke:$c,strokeWidth:1},minLabels:Object.assign({},Uc,{padding:3}),q1:{padding:8,fill:zc},q1Labels:Object.assign({},Uc,{padding:3}),q3:{padding:8,fill:zc},q3Labels:Object.assign({},Uc,{padding:3})},boxWidth:20},Wc),candlestick:Object.assign({style:{data:{stroke:$c,strokeWidth:1},labels:Object.assign({},Uc,{padding:5})},candleColors:{positive:"#ffffff",negative:$c}},Wc),chart:Wc,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:$c,strokeWidth:2},labels:Uc}},Wc),group:Object.assign({colorScale:Ic},Wc),histogram:Object.assign({style:{data:{fill:zc,stroke:$c,strokeWidth:2},labels:Uc}},Wc),legend:{colorScale:Ic,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Uc,title:Object.assign({},Uc,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:$c,strokeWidth:2},labels:Uc}},Wc),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Uc,{padding:20})},colorScale:Ic,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:$c,stroke:"transparent",strokeWidth:0},labels:Uc}},Wc),stack:Object.assign({colorScale:Ic},Wc),tooltip:{style:Object.assign({},Uc,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:$c,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Uc,{padding:5,pointerEvents:"none"}),flyout:{stroke:$c,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Wc)},Rc="#FFF59D",qc="#F4511E",Yc="#8BC34A",Vc="#00796B",Gc="#006064",Kc=[qc,Rc,"#DCE775",Yc,Vc,Gc],Xc="#ECEFF1",Zc="#90A4AE",Qc="#455A64",Jc="#212121",tl={width:350,height:350,padding:50},nl={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Qc,stroke:"transparent",strokeWidth:0},el=Object.assign({textAnchor:"middle"},nl),rl="round",il="round",ol=(Object.assign({style:{data:{fill:Jc},labels:nl}},tl),Object.assign({style:{axis:{fill:"transparent",stroke:Zc,strokeWidth:2,strokeLinecap:rl,strokeLinejoin:il},axisLabel:Object.assign({},el,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Xc,strokeDasharray:"10, 5",strokeLinecap:rl,strokeLinejoin:il,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Zc,strokeWidth:1,strokeLinecap:rl,strokeLinejoin:il},tickLabels:Object.assign({},nl,{fill:Qc})}},tl),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:Qc,padding:8,strokeWidth:0},labels:nl}},tl),Object.assign({style:{max:{padding:8,stroke:Qc,strokeWidth:1},maxLabels:Object.assign({},nl,{padding:3}),median:{padding:8,stroke:Qc,strokeWidth:1},medianLabels:Object.assign({},nl,{padding:3}),min:{padding:8,stroke:Qc,strokeWidth:1},minLabels:Object.assign({},nl,{padding:3}),q1:{padding:8,fill:Qc},q1Labels:Object.assign({},nl,{padding:3}),q3:{padding:8,fill:Qc},q3Labels:Object.assign({},nl,{padding:3})},boxWidth:20},tl),Object.assign({style:{data:{stroke:Qc},labels:Object.assign({},nl,{padding:5})},candleColors:{positive:"#ffffff",negative:Qc}},tl),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Qc,strokeWidth:2},labels:nl}},tl),Object.assign({colorScale:Kc},tl),Object.assign({style:{data:{fill:Qc,stroke:Jc,strokeWidth:2},labels:nl}},tl),Object.assign({},nl,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Qc,strokeWidth:2},labels:nl}},tl),Object.assign({colorScale:Kc,style:{data:{padding:8,stroke:Xc,strokeWidth:1},labels:Object.assign({},nl,{padding:20})}},tl),Object.assign({style:{data:{fill:Qc,opacity:1,stroke:"transparent",strokeWidth:0},labels:nl}},tl),Object.assign({colorScale:Kc},tl),Object.assign({},nl,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},nl,{padding:5,pointerEvents:"none"}),flyout:{stroke:Jc,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},tl),"#FFFFFF"),al="#F2F2F2",sl="#E0E0E0",ul="#D1D1D1",cl="#757575",ll="#424242",fl="#292929",hl="#FCB400",dl="#FF6F2C",pl={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},gl="#8B46FF",yl={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},vl="#18BFFF",_l="#20D9D2",ml={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},xl={blue:yl[500],cyan:vl,green:ml[500],yellow:hl,orange:dl,red:pl[500],purple:gl,teal:_l},bl=Object.values(xl),wl=(Object.values(pl),Object.values(ml),Object.values(yl),yl[500]),kl={width:450,height:300,padding:60,colorScale:bl},Ml={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:fl,stroke:"transparent"},El=Object.assign({textAnchor:"middle"},Ml),Al="10, 5",Ol="round",Sl="round",Cl=(Object.assign({style:{data:{fill:wl,strokeWidth:2,fillOpacity:.5},labels:Ml}},kl),Object.assign({style:{axis:{fill:"transparent",stroke:cl,strokeWidth:1,strokeLinecap:Ol,strokeLinejoin:Sl},axisLabel:Object.assign({},El,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Ml}},kl),Object.assign({style:{axis:{stroke:cl},grid:{stroke:ul,strokeDasharray:Al,strokeLinecap:Ol,strokeLinejoin:Sl,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:ul,strokeWidth:1,strokeLinecap:Ol,strokeLinejoin:Sl},tickLabels:Ml}}),Object.assign({style:{axis:{stroke:cl},grid:{stroke:ul,strokeDasharray:Al,strokeLinecap:Ol,strokeLinejoin:Sl,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:sl,strokeWidth:1,strokeLinecap:Ol,strokeLinejoin:Sl},tickLabels:Ml}}),Object.assign({style:{data:{fill:wl,padding:8,strokeWidth:1,fillOpacity:.5},labels:Ml},cornerRadius:{top:1}},kl),Object.assign({style:{max:{padding:8,stroke:ul,strokeWidth:2},maxLabels:Object.assign({},Ml,{padding:3}),median:{padding:8,stroke:ol,strokeWidth:2},medianLabels:Object.assign({},Ml,{padding:3}),min:{padding:8,stroke:ul,strokeWidth:2},minLabels:Object.assign({},Ml,{padding:3}),q1:{padding:8,fill:bl[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},Ml,{padding:3}),q3:{padding:8,fill:bl[1],rx:1},q3Labels:Object.assign({},Ml,{padding:3})},boxWidth:20},kl),Object.assign({style:{data:{stroke:sl,strokeWidth:0,rx:1},labels:Object.assign({},Ml,{padding:5})},candleColors:{positive:ml[500],negative:pl[500]},wickStrokeWidth:2},kl),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ll,strokeWidth:2,strokeLinecap:Ol},labels:Ml}},kl),Object.assign({colorScale:bl},kl),Object.assign({style:{data:{fill:vl,fillOpacity:.5},labels:Ml},binSpacing:4,cornerRadius:{top:1}},kl),Object.assign({},Ml,{padding:8,fontSize:16}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:wl,strokeWidth:2,strokeLinecap:Ol,strokeLinejoin:Sl},labels:Ml}},kl),Object.assign({style:{parent:{backgroundColor:ol},data:{padding:8,stroke:ol,strokeWidth:1},labels:{...Ml,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:bl,cornerRadius:1},kl),Object.assign({style:{data:{fill:wl,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Ml,padding:20}}},kl),Object.assign({colorScale:bl},kl),Object.assign({},Ml,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:yl[100],stroke:wl,strokeWidth:2},labels:Object.assign({},Ml,{padding:5,pointerEvents:"none"}),flyout:{stroke:fl,strokeWidth:1,fill:al,pointerEvents:"none"},padding:{left:2,bottom:2}}},kl),Hc);var Tl=r(7491),jl=r.n(Tl);const Nl=t=>+t;function Dl(t){return t*t}function Pl(t){return t*(2-t)}function Fl(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Ll(t){return t*t*t}function Il(t){return--t*t*t+1}function $l(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var zl=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Wl=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Ul=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Bl=Math.PI,Hl=Bl/2;function Rl(t){return 1==+t?1:1-Math.cos(t*Hl)}function ql(t){return Math.sin(t*Hl)}function Yl(t){return(1-Math.cos(Bl*t))/2}function Vl(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Gl(t){return Vl(1-+t)}function Kl(t){return 1-Vl(t)}function Xl(t){return((t*=2)<=1?Vl(1-t):2-Vl(t-1))/2}function Zl(t){return 1-Math.sqrt(1-t*t)}function Ql(t){return Math.sqrt(1- --t*t)}function Jl(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var tf=7.5625;function nf(t){return 1-ef(1-t)}function ef(t){return(t=+t)<.36363636363636365?tf*t*t:t<.7272727272727273?tf*(t-=.5454545454545454)*t+.75:t<.9090909090909091?tf*(t-=.8181818181818182)*t+.9375:tf*(t-=.9545454545454546)*t+.984375}function rf(t){return((t*=2)<=1?1-ef(1-t):ef(t-1)+1)/2}var of=1.70158,af=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(of),sf=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(of),uf=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(of),cf=2*Math.PI,lf=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=cf);function i(t){return n*Vl(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*cf)},i.period=function(e){return t(n,e)},i}(1,.3),ff=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=cf);function i(t){return 1-n*Vl(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*cf)},i.period=function(e){return t(n,e)},i}(1,.3),hf=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=cf);function i(t){return((t=2*t-1)<0?n*Vl(-t)*Math.sin((r-t)/e):2-n*Vl(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*cf)},i.period=function(e){return t(n,e)},i}(1,.3);const df=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||_()(t)}return!1},pf=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},gf=function(t,n){return function(e){return e>=1?n:function(){const r="function"==typeof t?t.apply(this,arguments):t,i="function"==typeof n?n.apply(this,arguments):n;return cn(r,i)(e)}}},yf=function(t,n){const e=(t,n)=>t!==n&&df(t)&&df(n)?"function"==typeof t||"function"==typeof n?gf(t,n):"object"==typeof t&&_()(t)||"object"==typeof n&&_()(n)?yf(t,n):cn(t,n):pf(t,n),r=t=>Array.isArray(t)?p()(t,"key"):t,i={},o={};let a,s=t,u=n;for(a in null!==s&&"object"==typeof s||(s={}),null!==u&&"object"==typeof u||(u={}),u)a in s?i[a]=e(r(s[a]),r(u[a])):o[a]=u[a];return function(t){for(a in i)o[a]=i[a](t);return o}};var vf,_f,mf=0,xf=0,bf=0,wf=0,kf=0,Mf=0,Ef="object"==typeof performance&&performance.now?performance:Date,Af="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Of(){return kf||(Af(Sf),kf=Ef.now()+Mf)}function Sf(){kf=0}function Cf(){this._call=this._time=this._next=null}function Tf(t,n,e){var r=new Cf;return r.restart(t,n,e),r}function jf(){kf=(wf=Ef.now())+Mf,mf=xf=0;try{!function(){Of(),++mf;for(var t,n=vf;n;)(t=kf-n._time)>=0&&n._call.call(void 0,t),n=n._next;--mf}()}finally{mf=0,function(){for(var t,n,e=vf,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:vf=n);_f=t,Df(r)}(),kf=0}}function Nf(){var t=Ef.now(),n=t-wf;n>1e3&&(Mf-=n,wf=t)}function Df(t){mf||(xf&&(xf=clearTimeout(xf)),t-kf>24?(t<1/0&&(xf=setTimeout(jf,t-Ef.now()-Mf)),bf&&(bf=clearInterval(bf))):(bf||(wf=Ef.now(),bf=setInterval(Nf,1e3)),mf=1,Af(jf)))}Cf.prototype=Tf.prototype={constructor:Cf,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Of():+e)+(null==n?0:+n),this._next||_f===this||(_f?_f._next=this:vf=this,_f=this),this._call=t,this._time=e,Df()},stop:function(){this._call&&(this._call=null,this._time=1/0,Df())}};class Pf{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(Of()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Tf(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:Of(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const Ff=a().createContext({transitionTimer:new Pf,animationTimer:new Pf});Ff.displayName="TimerContext";var Lf=Ff;const If=1e3,$f=t=>{let{duration:n=If,easing:r="quadInOut",delay:i=0,data:o,children:s,onEnd:u}=t;const[c,l]=a().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),f=a().useContext(Lf).animationTimer,h=a().useRef(Array.isArray(o)?o.slice(1):[]),d=a().useRef(null),p=a().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;a().useEffect((()=>(h.current.length&&v(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),a().useEffect((()=>{d.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:d.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),h.current=Array.isArray(o)?o:[o],v())}),[o]);const v=()=>{if(h.current.length){const t=h.current[0];d.current=function(t,n){return t!==n&&df(t)&&df(n)?"function"==typeof t||"function"==typeof n?gf(t,n):_()(t)||_()(n)?yf(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return cn(e(t),e(n))}(t,n):cn(t,n):pf(t,n)}(c.data,t),i?setTimeout((()=>{p.current=f.subscribe(m,n)}),i):p.current=f.subscribe(m,n)}else u&&u()},m=t=>{if(!d.current)return;const e=n?t/n:1;if(e>=1)return l({data:d.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),h.current.shift(),void v();l({data:d.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(c.data,c.animationInfo)};var zf=r(5346),Wf=r.n(zf);function Uf(t,n){return(t.key||n).toString()}function Bf(t){return t.reduce(((t,n,e)=>(t[Uf(n,e)]=n,t)),{})}function Hf(t,n){let e=!1;const r=Object.keys(t).reduce(((t,r)=>(r in n||(e=!0,t[r]=!0),t)),{});return e&&r}function Rf(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function qf(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((o,s)=>o&&o.props&&o.props.children&&n[s]?i(a().Children.toArray(t[s].props.children),a().Children.toArray(n[s].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&Bf(t),r=n&&Bf(n);return{entering:e&&Hf(r,e),exiting:r&&Hf(e,r)}}(Rf(t),Rf(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(o,n[s]))),o=i(a().Children.toArray(t),a().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function Yf(t,n,e){const r=n&&n.nodesWillExit,i=n&&n.nodesWillEnter,o=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,s=n&&n.nodesDoneLoad,u=n&&n.childrenTransitions||[],c={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,n,r)=>a?function(t,n,r){const i=Object.assign({},t,{onEnd:()=>{e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let o=n;if(i&&i.onLoad&&!i.onLoad.duration)return{animate:t,data:n};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:Wf();return o=n.map(((t,e)=>Object.assign({},t,a(t,e,n)))),{animate:i,data:o}}(r,n):function(t,n,r,i){const o=Object.assign({},t,{onEnd:()=>{e({nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:o,data:r};const a=o.onLoad&&o.onLoad.before?o.onLoad.before:Wf();return{animate:o,data:r.map(((t,n)=>Object.assign({},t,a(t,n,r)))),clipWidth:0}}(r,0,n),f=(t,n,r,i)=>function(t,n,r,i,o){const a=t&&t.onExit,s=Object.assign({},t,a);let u=r;if(i){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:Wf();u=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:s,data:u}}(i,0,r,t),h=(t,n,r,i)=>o?function(t,n,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let s=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Wf();s=n.map(((e,i)=>{const o=Uf(e,i);return r[o]?Object.assign({},e,t(e,i,n)):e}))}return{animate:a,data:s}}(i,r,t):function(t,n,r,i,o){let a=t,s=r;if(i){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:Wf();s=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:a,data:s}}(i,0,r,t),d=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const p=Rf(e)||[],g=M()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;g.onExit=M()({},g.onExit,y&&y.onExit),g.onEnter=M()({},g.onEnter,y&&y.onEnter),g.onLoad=M()({},g.onLoad,y&&y.onLoad);const v=u[a]||u[0];if(!s){const t={duration:void 0!==c.load?c.load:d(e,"onLoad")};return l(0,p,Object.assign({},g,t))}if(r){const t=v&&v.exiting,n=void 0!==c.exit?c.exit:d(e,"onExit"),r=t?{duration:n}:{delay:n};return f(t,0,p,Object.assign({},g,r))}if(i){const t=v&&v.entering,n=void 0!==c.enter?c.enter:d(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,i={duration:o&&t?n:r};return h(t,0,p,Object.assign({},g,i))}return!n&&g&&g.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Wf();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(g,p):{animate:g,data:p}}}function Vf(){return Vf=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Vf.apply(this,arguments)}class Gf extends a().Component{static displayName="VictoryTransition";static contextType=Lf;constructor(t,n){super(t,n),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const e=this.props.children,r=e.props.polar;this.continuous=!r&&e.type&&!0===e.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return jl()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,n){const{animate:e}=t;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};const r=a().Children.toArray(t.children),i=a().Children.toArray(n.children),{nodesWillExit:o,nodesWillEnter:s,childrenTransitions:u,nodesShouldEnter:c}=qf(r,i);return{nodesWillExit:o,nodesWillEnter:s,childrenTransitions:u,nodesShouldEnter:c,oldProps:o?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&L(r.type.getDomain)){const e=r.props&&r.type.getDomain(r.props,n);return e?t.concat(e):t}return r.props&&r.props.children?t.concat(e(a().Children.toArray(r.props.children))):t}),[]),r=a().Children.toArray(t.children)[0],i=r.props||{},o=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[n];if(!i.children&&o)return o;const s=e([r]);return 0===s.length?[0,1]:[B(s),U(s)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const n=t.animate?.parentState;return n&&n.nodesWillExit?(this.continuous||n.continuous)&&(n.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,n){const e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:(()=>{const e=P(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width})()}render(){const t=this.pickProps(),n=this.props.animate?.getTransitions?this.props.animate.getTransitions:Yf(t,this.state,(t=>this.setState(t))),e=a().Children.toArray(t.children)[0],r=n(e);this.transitionProps=r;const i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},o=this.getClipWidth(t,e),s=M()({domain:i,clipWidth:o},r,e.props),u=(t.animationWhitelist||[]).concat(["clipWidth"]),c=u.length?w()(s,u):s;return a().createElement($f,Vf({},s.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?a().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return a().cloneElement(e,M()({animate:null,animating:!0,groupComponent:n},t,s))}return a().cloneElement(e,M()({animate:null,animating:!0},t,s))}))}}var Kf=r(4912),Xf=r.n(Kf);const Zf=/^onGlobal(.*)$/;function Qf(t,n,e,r){const i=t=>{const r=(()=>{const r=t.reduce(((t,e)=>void 0!==e.target?(Array.isArray(e.target)?e.target.includes(n):`${e.target}`==`${n}`)?t.concat(e):t:t.concat(e)),[]);return void 0!==e&&"parent"!==n?r.filter((t=>{const n=t.eventKey,r=t=>!t||`${t}`==`${e}`;return Array.isArray(n)?n.some((t=>r(t))):r(n)})):r})();return Array.isArray(r)&&r.reduce(((t,n)=>n?Object.assign(t,n.eventHandlers):t),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=o&&L(r)?r(i(o),n):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,u=t.sharedEvents.events&&s(i(t.sharedEvents.events),n);return Object.assign({},u,a)}function Jf(t,n,e,r){if(h()(t))return{};const i=r||this.baseProps,o=(t,n)=>{const{childName:e,target:r,key:o}=t,a="props"===n?i:this.state||{},s=null!=e&&a[e]?a[e]:a;return"parent"===o?s.parent:s[o]&&s[o][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,s=t.target||n,u=(n,e)=>{const r=this.state||{};if(!L(t.mutation))return r;const a=o({childName:e,key:n,target:s},"props"),u=o({childName:e,key:n,target:s},"state"),c=t.mutation(Object.assign({},a,u),i),l=r[e]||{},f=t=>c?(t=>"parent"===s?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[s]:c})}))(t):(t=>(t[n]&&t[n][s]&&delete t[n][s],t[n]&&!Object.keys(t[n]).length&&delete t[n],t))(t);return null!=e?Object.assign(r,{[e]:f(l)}):f(r)},c=n=>{const e=(n=>"parent"===s?"parent":"all"===t.eventKey?i[n]?Object.keys(i[n]).filter((t=>"parent"!==t)):Object.keys(i).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?i[n]?Object.keys(i[n]):Object.keys(i):void 0!==t.eventKey?t.eventKey:r)(n);return Array.isArray(e)?e.reduce(((t,e)=>Object.assign(t,u(e,n))),{}):u(e,n)},l="all"===a?Object.keys(i).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,n)=>Object.assign(t,c(n))),{}):c(l)},s=(n,e,r,i)=>{const o=t[i](n,e,r,this);if(!h()(o)){const t=(t=>{const n=t=>L(t.callback)&&t.callback,e=(Array.isArray(t)?t.map((t=>n(t))):[n(t)]).filter((t=>!1!==t));return e.length?()=>e.forEach((t=>t())):void 0})(o);this.setState(((t,n)=>Array.isArray(t)?t.reduce(((t,e)=>Object.assign({},t,a(e,n))),{}):a(t,n))(o,r),t)}};return Object.keys(t).reduce(((t,n)=>(t[n]=s,t)),{})}function th(t,n,e){const r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function nh(t,n,e,r){const i=(t,n)=>"string"==typeof t[n]?"all"===t[n]||t[n]===r[n]:!!Array.isArray(t[n])&&t[n].map((t=>`${t}`)).includes(r[n]);let o=Array.isArray(t)?t:[t];r.childName&&(o=t.filter((t=>i(t,"childName"))));const a=o.filter((t=>i(t,"target")));if(h()(a))return;const s=a.filter((t=>i(t,"eventKey")));return h()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&L(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function eh(t){const n=t.match(Zf);return n&&n[1]&&n[1].toLowerCase()}const rh=t=>!F(t._x)&&!F(t._y),ih=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],oh={width:450,height:300,padding:50,interpolation:"linear"};class ah extends a().Component{static animationWhitelist=["data","domain","height","padding","style","width"];static defaultProps={containerComponent:a().createElement(Xu,null),dataComponent:a().createElement(zu,null),groupComponent:a().createElement(ic,null),labelComponent:a().createElement(Lc,{renderInPortal:!0}),samples:50,sortKey:"x",sortOrder:"ascending",standalone:!0,theme:Cl};static displayName="VictoryArea";static role="area";static continuous=!0;static defaultTransitions={onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}};static defaultPolarTransitions={onLoad:{duration:2e3,before:()=>({_y:0,_y1:0,_y0:0}),after:t=>({_y:t._y,_y1:t._y1,_y0:t._y0})},onExit:{duration:500,before:(t,n,e)=>{const r=t=>(0===n?e[n+1]:e[n-1])[t];return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:(t,n,e)=>{const r=t=>(0===n?e[n+1]:e[n-1])[t];return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:t=>({_x:t._x,_y:t._y,_y1:t._y1,_y0:t._y0})}};static getDomain=Po;static getData=ko;static getBaseProps(t){return((t,n)=>{const e=$(t,n,"area"),r=Object.assign({},e,(t=>{const{polar:n}=t,e=function(t,n){const{theme:e={},labelComponent:r}=t,i=e.area&&e.area.style||{};if(!C(r))return i;const o=e.tooltip&&e.tooltip.style||{},a=M()({},o,i.labels);return M()({},{labels:a},i)}(t),r=function(t,n){const e="100%",r="100%";if(!t)return M()({parent:{height:r,width:e}},n);const{data:i,labels:o,parent:a}=t,s=n&&n.parent||{},u=n&&n.labels||{},c=n&&n.data||{};return{parent:M()({},a,s,{width:e,height:r}),labels:M()({},o,u),data:M()({},i,c)}}(t.style,e),i={x:P(t,"x"),y:P(t,"y")},o={x:Po(t,"x"),y:Po(t,"y")},a={x:lo(t,"x").domain(o.x).range(t.horizontal?i.y:i.x),y:lo(t,"y").domain(o.y).range(t.horizontal?i.x:i.y)},s=n?t.origin||function(t){const{width:n,height:e}=t,{top:r,bottom:i,left:o,right:a}=S(t),s=Math.min(n-o-a,e-r-i)/2,u=n/2+o-a,c=e/2+r-i;return{x:u+s>n?s+o-a:u,y:c+s>e?s+r-i:c}}(t):void 0,u=((t,n)=>{let e=ko(t);e.length<2&&(e=[]);const r=t=>{const e="log"===po(n[t])?1/Number.MAX_SAFE_INTEGER:0,r=n[t].domain(),i=B(r),o=U(r);let a=e;return i<0&&o<=0?a=o:i>=0&&o>0&&(a=i),z(r)?new Date(a):a};return e.map((t=>{const n=void 0!==t._y1?t._y1:t._y,e=void 0!==t._y0?t._y0:r("y"),i=void 0!==t._x1?t._x1:t._x,o=void 0!==t._x0?t._x0:r("x");return Object.assign({},t,{_y0:e,_y1:n,_x0:o,_x1:i})}))})(t,a);return{style:r,data:u,scale:a,domain:o,origin:s}})(e)),{data:i,domain:o,events:a,groupComponent:s,height:u,horizontal:c,interpolation:l,origin:f,padding:h,polar:d,scale:p,sharedEvents:g,standalone:y,style:v,theme:_,width:m,labels:x,name:b,disableInlineStyles:w}=r,k={parent:{style:v.parent,width:m,height:u,scale:p,data:i,domain:o,standalone:y,theme:_,polar:d,origin:f,padding:h,name:b,horizontal:c},all:{data:{horizontal:c,polar:d,origin:f,scale:p,data:i,interpolation:l,groupComponent:s,style:w?{}:v.data,disableInlineStyles:w}}};return i.reduce(((t,n,e)=>((null!=zo(r,n,e)||x&&(a||g))&&(t[F(n.eventKey)?e:n.eventKey]={labels:Uo(r,e)}),t)),k)})(t,oh)}static expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];shouldAnimate(){return!!this.props.animate}render(){const{animationWhitelist:t,role:n}=ah,e=$(this.props,oh,n);if(this.shouldAnimate())return this.animateComponent(e,t);const r=this.renderContinuousData(e);return((t,n)=>o.cloneElement(t,Du(n)))(e.standalone?this.renderContainer(e.containerComponent,r):r,e)}}const sh=(uh=ah,void 0===(ch={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]})&&(ch={}),class extends uh{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=th.bind(this);getScopedEvents=Jf.bind(this);getEvents=(t,n,e)=>Qf.call(this,t,n,e,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!jl()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;const i=this.getStateChanges(t);return jl()(this.calculatedState,i)?!jl()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const n=this.getStateChanges(t);this.calculatedState=n;const e=Object.keys(this.globalEvents);W(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),W(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(eh(t),n)}removeGlobalListener(t){window.removeEventListener(eh(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=M()({},this.getEventState(t,n),this.getSharedEventState(t,n));return h()(e)?void 0:e};return(ch.components||ih).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!h()(n)){const e=t.externalEventMutations.reduce(((t,n)=>L(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=L(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}(t,uh.expectedComponents),r=n&&L(n.getEventState)?n.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return h()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((i,o)=>{const a=e[o]||{},s=n[o]||{};if("parent"===o){const n=nh(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=x()(Object.keys(s).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},u=nh(t,s[e],a[e],i);return n[e]=void 0!==u?Object.assign({},a[e],u):a[e],Xf()(n,(t=>!h()(t)))}),{})}return Xf()(i,(t=>!h()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),i=M()({},r,e),o=i.parentControlledProps,a=o?w()(i,o):{},s=M()({},a,t);return"function"==typeof uh.getBaseProps?uh.getBaseProps(s):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||uh.role,i=this.dataKeys&&this.dataKeys[e]||e,o=`${r}-${n}-${i}`,a=this.baseProps[i]&&this.baseProps[i][n]||this.baseProps[i];if(!a&&!this.hasEvents)return;const s=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,i),r=M()({index:e,key:o},this.getEventState(i,n),this.getSharedEventState(i,n),s,a,{id:o}),u=M()({},function(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:u})}return M()({index:e,key:o},s,a,{id:o})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,Xf()(r,((t,n)=>Zf.test(n)))),e.events=(t=>u()(t,((t,n)=>Zf.test(n))))(e.events)),a().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return a().createElement(Gf,{animate:t.animate,animationWhitelist:e},a().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),o=i.reduce(((t,n)=>{let r=t;const i=this.getComponentProps(e,"labels",n);return i&&void 0!==i.text&&null!==i.text&&(r=r.concat(a().cloneElement(e,i))),r}),[]),s=this.getComponentProps(n,"data","all"),u=[a().cloneElement(n,s),...o];return this.renderContainer(r,u)}renderData(t,n){void 0===n&&(n=rh);const{dataComponent:e,labelComponent:r,groupComponent:i}=t,o=[...this.dataKeys.reduce(((t,r,i)=>{const o=this.getComponentProps(e,"data",i);return n(o.datum)&&t.push(a().cloneElement(e,o)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return a().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,o)}});var uh,ch}(),i}()}));
1
+ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryArea=n(require("react")):t.VictoryArea=n(t.React)}(self,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,s){var u=-1,c=n.length;for(o||(o=i),s||(s=[]);++u<c;){var l=n[u];e>0&&o(l)?e>1?t(l,e-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,n,e){var r=e(9026),i=e(3110);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e<o;)t=t[i(n[e++])];return e&&e==o?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),i=e(3474);t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),i=e(3474);t.exports=function t(n,e,o,a,s){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,s))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),s=e(9667),u=e(163),c=e(4801),l=e(4289),f="[object Arguments]",h="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,v){var _=u(t),m=u(n),x=_?h:s(t),b=m?h:s(n),w=(x=x==f?d:x)==d,k=(b=b==f?d:b)==d,M=x==b;if(M&&c(t)){if(!c(n))return!1;_=!0,w=!1}if(M&&!w)return v||(v=new r),_||l(t)?i(t,n,e,g,y,v):o(t,n,x,e,g,y,v);if(!(1&e)){var E=w&&p.call(t,"__wrapped__"),A=k&&p.call(n,"__wrapped__");if(E||A){var O=E?t.value():t,S=A?n.value():n;return v||(v=new r),y(O,S,e,g,v)}}return!!M&&(v||(v=new r),a(t,n,e,g,y,v))}},9548:function(t,n,e){var r=e(8708),i=e(9070);t.exports=function(t,n,e,o){var a=e.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=e[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<s;){var l=(c=e[a])[0],f=t[l],h=c[1];if(u&&c[2]){if(void 0===f&&!(l in t))return!1}else{var d=new r;if(o)var p=o(f,h,l,t,n,d);if(!(void 0===p?i(h,f,3,o,d):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),s=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},758:function(t,n,e){var r=e(9548),i=e(597),o=e(6878);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),i=e(9201),o=e(5066),a=e(726),s=e(5385),u=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&s(n)?u(c(t),n):function(e){var a=i(e,t);return void 0===a&&a===n?o(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),i=e(4432),o=e(3472),a=e(383),s=e(9521),u=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var h=-1;n=r(n,u(o));var d=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++h,value:t}}));return s(d,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),i=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},6371:function(t,n,e){var r=e(4432),i=e(6539),o=e(9026);t.exports=function(t,n,e){for(var a=-1,s=n.length,u={};++a<s;){var c=n[a],l=r(t,c);e(l,c)&&i(u,o(c,t),l)}return u}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),i=e(4280),o=e(201);t.exports=function(t,n){return o(i(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),i=e(9026),o=e(9099),a=e(7709),s=e(3110);t.exports=function(t,n,e,u){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,h=t;null!=h&&++c<l;){var d=s(n[c]),p=e;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(c!=f){var g=h[d];void 0===(p=u?u(g,d,h):void 0)&&(p=a(g)?g:o(n[c+1])?[]:{})}r(h,d,p),h=h[d]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,i=t.length,o=0,a=[];++e<i;){var s=t[e],u=n?n(s):s;if(!e||!r(u,c)){var c=u;a[o++]=0===s?0:s}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(a(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),i=e(5510),o=e(9955),a=e(9914),s=e(6602),u=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,h=!0,d=[],p=d;if(e)h=!1,l=o;else if(f>=200){var g=n?null:s(t);if(g)return u(g);h=!1,l=a,p=new r}else p=n?[]:d;t:for(;++c<f;){var y=t[c],v=n?n(y):y;if(y=e||0!==y?y:0,h&&v==v){for(var _=p.length;_--;)if(p[_]===v)continue t;n&&p.push(v),d.push(y)}else l(p,v,e)||(p!==d&&p.push(v),d.push(y))}return d}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),i=e(726),o=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==n,u=null===n,c=n==n,l=r(n);if(!u&&!l&&!a&&t>n||a&&s&&c&&!u&&!l||i&&s&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||u&&e&&o||!s&&o||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,u=e.length;++i<s;){var c=r(o[i],a[i]);if(c)return i>=u?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,s,u){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var h=u.get(t),d=u.get(n);if(h&&d)return h==n&&d==t;var p=-1,g=!0,y=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++p<l;){var v=t[p],_=n[p];if(a)var m=c?a(_,v,p,n,t,u):a(v,_,p,t,n,u);if(void 0!==m){if(m)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(v===t||s(v,t,e,a,u)))return y.push(n)}))){g=!1;break}}else if(v!==_&&!s(v,_,e,a,u)){g=!1;break}}return u.delete(t),u.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,a,s){var u=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!u)return!1;for(var f=l;f--;){var h=c[f];if(!(u?h in n:i.call(n,h)))return!1}var d=s.get(t),p=s.get(n);if(d&&p)return d==n&&p==t;var g=!0;s.set(t,n),s.set(n,t);for(var y=u;++f<l;){var v=t[h=c[f]],_=n[h];if(o)var m=u?o(_,v,h,n,t,s):o(v,_,h,t,n,s);if(!(void 0===m?v===_||a(v,_,e,o,s):m)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var x=t.constructor,b=n.constructor;x==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof b&&b instanceof b||(g=!1)}return s.delete(t),s.delete(n),g}},5557:function(t,n,e){var r=e(2645),i=e(4280),o=e(201);t.exports=function(t){return o(i(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),i=e(7747);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],a=t[o];n[e]=[o,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),i=e(5075),o=e(163),a=e(9099),s=e(8454),u=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var h=u(n[c]);if(!(f=null!=t&&e(t,h)))break;t=t[h]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(h,l)&&(o(t)||i(t))}},3608:function(t,n,e){var r=e(2596),i=e(5075),o=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),i=e(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,a=-1,s=i(o.length-n,0),u=Array(s);++a<s;)u[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(u),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1893:function(t,n,e){var r=e(6317),i=e(788),o=e(8286),a=e(8855),s=Object.prototype,u=s.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),h=-1,d=f.length;++h<d;){var p=f[h],g=t[p];(void 0===g||i(g,s[p])&&!u.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,s=a?i(a):r;t.exports=s},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),s=e(981),u=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),i=e(7709);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),i=e(9817),o=e(3474),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,u,c,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(t[u],a[u]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,c[u]))return!1;if(n&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!o(t[c[u]],a[c[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return o(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var i=e[t];if(void 0!==i)return i.exports;var o=e[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{Area:function(){return zu},VictoryArea:function(){return sh}});var t={};r.r(t),r.d(t,{scaleBand:function(){return Z},scaleDiverging:function(){return to},scaleDivergingLog:function(){return no},scaleDivergingPow:function(){return ro},scaleDivergingSqrt:function(){return io},scaleDivergingSymlog:function(){return eo},scaleIdentity:function(){return In},scaleImplicit:function(){return K},scaleLinear:function(){return Ln},scaleLog:function(){return Yn},scaleOrdinal:function(){return X},scalePoint:function(){return J},scalePow:function(){return ne},scaleQuantile:function(){return de},scaleQuantize:function(){return pe},scaleRadial:function(){return oe},scaleSequential:function(){return Yi},scaleSequentialLog:function(){return Vi},scaleSequentialPow:function(){return Ki},scaleSequentialQuantile:function(){return Zi},scaleSequentialSqrt:function(){return Xi},scaleSequentialSymlog:function(){return Gi},scaleSqrt:function(){return ee},scaleSymlog:function(){return Xn},scaleThreshold:function(){return ge},scaleTime:function(){return Bi},scaleUtc:function(){return Hi},tickFormat:function(){return Pn}});var n={};r.r(n),r.d(n,{arc:function(){return Ta},area:function(){return ra},areaRadial:function(){return ca},curveBasis:function(){return ks},curveBasisClosed:function(){return Es},curveBasisOpen:function(){return Os},curveBumpX:function(){return Ia},curveBumpY:function(){return $a},curveBundle:function(){return Cs},curveCardinal:function(){return Ns},curveCardinalClosed:function(){return Ps},curveCardinalOpen:function(){return Ls},curveCatmullRom:function(){return zs},curveCatmullRomClosed:function(){return Us},curveCatmullRomOpen:function(){return Hs},curveLinear:function(){return Jo},curveLinearClosed:function(){return qs},curveMonotoneX:function(){return Js},curveMonotoneY:function(){return tu},curveNatural:function(){return ru},curveStep:function(){return ou},curveStepAfter:function(){return su},curveStepBefore:function(){return au},line:function(){return ea},lineRadial:function(){return ua},link:function(){return Ba},linkHorizontal:function(){return Ha},linkRadial:function(){return qa},linkVertical:function(){return Ra},pie:function(){return Da},pointRadial:function(){return Pa},radialArea:function(){return ca},radialLine:function(){return ua},stack:function(){return hu},stackOffsetDiverging:function(){return pu},stackOffsetExpand:function(){return du},stackOffsetNone:function(){return uu},stackOffsetSilhouette:function(){return gu},stackOffsetWiggle:function(){return yu},stackOrderAppearance:function(){return vu},stackOrderAscending:function(){return mu},stackOrderDescending:function(){return bu},stackOrderInsideOut:function(){return wu},stackOrderNone:function(){return cu},stackOrderReverse:function(){return ku},symbol:function(){return ms},symbolAsterisk:function(){return Va},symbolCircle:function(){return Ga},symbolCross:function(){return Ka},symbolDiamond:function(){return Qa},symbolDiamond2:function(){return Ja},symbolPlus:function(){return ts},symbolSquare:function(){return ns},symbolSquare2:function(){return es},symbolStar:function(){return as},symbolTriangle:function(){return us},symbolTriangle2:function(){return ls},symbolWye:function(){return gs},symbolX:function(){return ys},symbols:function(){return vs},symbolsFill:function(){return vs},symbolsStroke:function(){return _s}});var e={};r.r(e),r.d(e,{easeBack:function(){return uf},easeBackIn:function(){return af},easeBackInOut:function(){return uf},easeBackOut:function(){return sf},easeBounce:function(){return ef},easeBounceIn:function(){return nf},easeBounceInOut:function(){return rf},easeBounceOut:function(){return ef},easeCircle:function(){return Jl},easeCircleIn:function(){return Zl},easeCircleInOut:function(){return Jl},easeCircleOut:function(){return Ql},easeCubic:function(){return $l},easeCubicIn:function(){return Ll},easeCubicInOut:function(){return $l},easeCubicOut:function(){return Il},easeElastic:function(){return ff},easeElasticIn:function(){return lf},easeElasticInOut:function(){return hf},easeElasticOut:function(){return ff},easeExp:function(){return Xl},easeExpIn:function(){return Gl},easeExpInOut:function(){return Xl},easeExpOut:function(){return Kl},easeLinear:function(){return Nl},easePoly:function(){return Ul},easePolyIn:function(){return zl},easePolyInOut:function(){return Ul},easePolyOut:function(){return Wl},easeQuad:function(){return Fl},easeQuadIn:function(){return Dl},easeQuadInOut:function(){return Fl},easeQuadOut:function(){return Pl},easeSin:function(){return Yl},easeSinIn:function(){return Rl},easeSinInOut:function(){return Yl},easeSinOut:function(){return ql}});var o=r(9787),a=r.n(o),s=r(1616),u=r.n(s),c=(r(8999),r(8254)),l=r.n(c),f=r(4155),h=r.n(f),d=r(4143),p=r.n(d),g=r(8532),y=r.n(g),v=r(3849),_=r.n(v),m=r(9602),x=r.n(m),b=r(9082),w=r.n(b),k=r(1893),M=r.n(k);function E(t,n){void 0===n&&(n=[]);const e={};for(const r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function A(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:s,_y0:u,_voronoiY:c}=t,l=n(r)?r:e,f=n(s)?s:a,h={x:n(o)?o:l,x0:n(i)?i:e,y:n(c)?c:f,y0:n(u)?u:a};return M()({},h,t)}function O(t,n){const{scale:e,polar:r,horizontal:i}=t,o=A(n),a=t.origin||{x:0,y:0},s=i?e.y(o.y):e.x(o.x),u=i?e.y(o.y0):e.x(o.x0),c=i?e.x(o.x):e.y(o.y),l=i?e.x(o.x0):e.y(o.y0);return{x:r?c*Math.cos(s)+a.x:s,x0:r?l*Math.cos(u)+a.x:u,y:r?-c*Math.sin(s)+a.y:c,y0:r?-l*Math.sin(u)+a.x:l}}function S(t,n){void 0===n&&(n="padding");const e=t[n],r="number"==typeof e?e:0,i="object"==typeof e?e:{};return{top:i.top||r,bottom:i.bottom||r,left:i.left||r,right:i.right||r}}function C(t){return"tooltip"===(t&&t.type&&t.type.role)}function T(t,n){return L(t)?t(n):t}function j(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>L(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=T(t[r],n),e)),{}):t}function N(t){return"number"==typeof t?t*(Math.PI/180):t}function D(t){const{left:n,right:e,top:r,bottom:i}=S(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function P(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[N(t.startAngle||0),N(t.endAngle||360)]:[t.innerRadius||0,D(t)]}(t,n):function(t,n){const e="x"!==n,r=S(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function F(t){return null==t}function L(t){return"function"==typeof t}function I(t){return L(t)?t:null==t?t=>t:y()(t)}function $(t,n,e){const r=E(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(a().Children.toArray(r.children))}),!1);return n(a().Children.toArray(t.children))}(t),o=void 0===i?{}:{horizontal:i};return M()(o,t,r,n)}function z(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function W(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function U(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return z(i)?new Date(Math.max(...i)):Math.max(...i)}function B(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return z(i)?new Date(Math.min(...i)):Math.min(...i)}function H(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function R(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function q(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class Y extends Map{constructor(t,n=G){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(V(this,t))}has(t){return super.has(V(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function V({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function G(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const K=Symbol("implicit");function X(){var t=new Y,n=[],e=[],r=K;function i(i){let o=t.get(i);if(void 0===o){if(r!==K)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Y;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return X(n,e).unknown(r)},R.apply(i,arguments),i}function Z(){var t,n,e=X().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,s=!1,u=0,c=0,l=.5;function f(){var e=r().length,f=a<o,h=f?a:o,d=f?o:a;t=(d-h)/Math.max(1,e-u+2*c),s&&(t=Math.floor(t)),h+=(d-h-t*(e-u))*l,n=t*(1-u),s&&(h=Math.round(h),n=Math.round(n));var p=H(e).map((function(n){return h+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,s=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(s=!!t,f()):s},e.padding=function(t){return arguments.length?(u=Math.min(1,c=+t),f()):u},e.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return Z(r(),[o,a]).round(s).paddingInner(u).paddingOuter(c).align(l)},R.apply(f(),arguments)}function Q(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Q(n())},t}function J(){return Q(Z.apply(null,arguments).paddingInner(1))}var tt=Math.sqrt(50),nt=Math.sqrt(10),et=Math.sqrt(2);function rt(t,n,e){var r,i,o,a,s=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=it(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++s<i;)o[s]=(e+s)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++s<i;)o[s]=(e+s)/a}return r&&o.reverse(),o}function it(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=tt?10:o>=nt?5:o>=et?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=tt?10:o>=nt?5:o>=et?2:1)}function ot(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=tt?i*=10:o>=nt?i*=5:o>=et&&(i*=2),n<t?-i:i}function at(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function st(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function ut(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=at,e=(n,e)=>at(t(n),e),r=(n,e)=>t(n)-e):(n=t===at||t===st?t:ct,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const a=i(t,n,e,o-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function ct(){return 0}function lt(t){return null===t?NaN:+t}const ft=ut(at),ht=ft.right;ft.left,ut(lt).center;var dt=ht;function pt(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function gt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function yt(){}var vt=.7,_t=1/vt,mt="\\s*([+-]?\\d+)\\s*",xt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",bt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wt=/^#([0-9a-f]{3,8})$/,kt=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),Mt=new RegExp(`^rgb\\(${bt},${bt},${bt}\\)$`),Et=new RegExp(`^rgba\\(${mt},${mt},${mt},${xt}\\)$`),At=new RegExp(`^rgba\\(${bt},${bt},${bt},${xt}\\)$`),Ot=new RegExp(`^hsl\\(${xt},${bt},${bt}\\)$`),St=new RegExp(`^hsla\\(${xt},${bt},${bt},${xt}\\)$`),Ct={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Tt(){return this.rgb().formatHex()}function jt(){return this.rgb().formatRgb()}function Nt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=wt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Dt(n):3===e?new It(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Pt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Pt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=kt.exec(t))?new It(n[1],n[2],n[3],1):(n=Mt.exec(t))?new It(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Et.exec(t))?Pt(n[1],n[2],n[3],n[4]):(n=At.exec(t))?Pt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ot.exec(t))?Ht(n[1],n[2]/100,n[3]/100,1):(n=St.exec(t))?Ht(n[1],n[2]/100,n[3]/100,n[4]):Ct.hasOwnProperty(t)?Dt(Ct[t]):"transparent"===t?new It(NaN,NaN,NaN,0):null}function Dt(t){return new It(t>>16&255,t>>8&255,255&t,1)}function Pt(t,n,e,r){return r<=0&&(t=n=e=NaN),new It(t,n,e,r)}function Ft(t){return t instanceof yt||(t=Nt(t)),t?new It((t=t.rgb()).r,t.g,t.b,t.opacity):new It}function Lt(t,n,e,r){return 1===arguments.length?Ft(t):new It(t,n,e,null==r?1:r)}function It(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function $t(){return`#${Bt(this.r)}${Bt(this.g)}${Bt(this.b)}`}function zt(){const t=Wt(this.opacity);return`${1===t?"rgb(":"rgba("}${Ut(this.r)}, ${Ut(this.g)}, ${Ut(this.b)}${1===t?")":`, ${t})`}`}function Wt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ut(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Bt(t){return((t=Ut(t))<16?"0":"")+t.toString(16)}function Ht(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new qt(t,n,e,r)}function Rt(t){if(t instanceof qt)return new qt(t.h,t.s,t.l,t.opacity);if(t instanceof yt||(t=Nt(t)),!t)return new qt;if(t instanceof qt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=n===o?(e-r)/s+6*(e<r):e===o?(r-n)/s+2:(n-e)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new qt(a,s,u,t.opacity)}function qt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Yt(t){return(t=(t||0)%360)<0?t+360:t}function Vt(t){return Math.max(0,Math.min(1,t||0))}function Gt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Kt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}pt(yt,Nt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Tt,formatHex:Tt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rt(this).formatHsl()},formatRgb:jt,toString:jt}),pt(It,Lt,gt(yt,{brighter(t){return t=null==t?_t:Math.pow(_t,t),new It(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?vt:Math.pow(vt,t),new It(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new It(Ut(this.r),Ut(this.g),Ut(this.b),Wt(this.opacity))},displayable(){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:$t,formatHex:$t,formatHex8:function(){return`#${Bt(this.r)}${Bt(this.g)}${Bt(this.b)}${Bt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:zt,toString:zt})),pt(qt,(function(t,n,e,r){return 1===arguments.length?Rt(t):new qt(t,n,e,null==r?1:r)}),gt(yt,{brighter(t){return t=null==t?_t:Math.pow(_t,t),new qt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?vt:Math.pow(vt,t),new qt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new It(Gt(t>=240?t-240:t+120,i,r),Gt(t,i,r),Gt(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new qt(Yt(this.h),Vt(this.s),Vt(this.l),Wt(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Wt(this.opacity);return`${1===t?"hsl(":"hsla("}${Yt(this.h)}, ${100*Vt(this.s)}%, ${100*Vt(this.l)}%${1===t?")":`, ${t})`}`}}));var Xt=t=>()=>t;function Zt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Xt(isNaN(t)?n:t)}var Qt=function t(n){var e=function(t){return 1==(t=+t)?Zt:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Xt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Lt(t)).r,(n=Lt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Zt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Jt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),s=new Array(i);for(e=0;e<i;++e)r=Lt(n[e]),o[e]=r.r||0,a[e]=r.g||0,s[e]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function tn(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=cn(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}function nn(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function en(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function rn(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=cn(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Jt((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<n-1?t[r+2]:2*o-i;return Kt((e-r/n)*n,a,i,o,s)}})),Jt((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],s=t[(r+2)%n];return Kt((e-r/n)*n,i,o,a,s)}}));var on=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,an=new RegExp(on.source,"g");function sn(t,n){var e,r,i,o=on.lastIndex=an.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=on.exec(t))&&(r=an.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(e=e[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:en(e,r)})),o=an.lastIndex;return o<n.length&&(i=n.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var e,r=0;r<n;++r)s[(e=u[r]).i]=e.x(t);return s.join("")})}function un(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function cn(t,n){var e,r=typeof n;return null==n||"boolean"===r?Xt(n):("number"===r?en:"string"===r?(e=Nt(n))?(n=e,Qt):sn:n instanceof Nt?Qt:n instanceof Date?nn:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(n)?un:Array.isArray(n)?tn:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?rn:en)(t,n)}function ln(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function fn(t){return+t}var hn=[0,1];function dn(t){return t}function pn(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:function(t){return function(){return t}}(isNaN(n)?NaN:.5)}function gn(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=pn(i,r),o=e(a,o)):(r=pn(r,i),o=e(o,a)),function(t){return o(r(t))}}function yn(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=pn(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=dt(t,n,1,r)-1;return o[e](i[e](n))}}function vn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function _n(){var t,n,e,r,i,o,a=hn,s=hn,u=cn,c=dn;function l(){var t=Math.min(a.length,s.length);return c!==dn&&(c=function(t,n){var e;return t>n&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(a[0],a[t-1])),r=t>2?yn:gn,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),s,u)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(s,a.map(t),en)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,fn),l()):a.slice()},f.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},f.rangeRound=function(t){return s=Array.from(t),u=ln,l()},f.clamp=function(t){return arguments.length?(c=!!t||dn,l()):c!==dn},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function mn(){return _n()(dn,dn)}var xn,bn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wn(t){if(!(n=bn.exec(t)))throw new Error("invalid format: "+t);var n;return new kn({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function kn(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Mn(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function En(t){return(t=Mn(Math.abs(t)))?t[1]:NaN}function An(t,n){var e=Mn(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}wn.prototype=kn.prototype,kn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var On={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>An(100*t,n),r:An,s:function(t,n){var e=Mn(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(xn=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Mn(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Sn(t){return t}var Cn,Tn,jn,Nn=Array.prototype.map,Dn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Pn(t,n,e,r){var i,o=ot(t,n,e);switch((r=wn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(En(n)/3)))-En(Math.abs(t)))}(o,a))||(r.precision=i),jn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,En(n)-En(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-En(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Tn(r)}function Fn(t){var n=t.domain;return t.ticks=function(t){var e=n();return rt(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Pn(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,s=o.length-1,u=o[a],c=o[s],l=10;for(c<u&&(i=u,u=c,c=i,i=a,a=s,s=i);l-- >0;){if((i=it(u,c,e))===r)return o[a]=u,o[s]=c,n(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Ln(){var t=mn();return t.copy=function(){return vn(t,Ln())},R.apply(t,arguments),Fn(t)}function In(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,fn),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return In(t).unknown(n)},t=arguments.length?Array.from(t,fn):[0,1],Fn(e)}function $n(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}function zn(t){return Math.log(t)}function Wn(t){return Math.exp(t)}function Un(t){return-Math.log(-t)}function Bn(t){return-Math.exp(-t)}function Hn(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Rn(t){return(n,e)=>-t(-n,e)}function qn(t){const n=t(zn,Wn),e=n.domain;let r,i,o=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(o),i=function(t){return 10===t?Hn:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=Rn(r),i=Rn(i),t(Un,Bn)):t(zn,Wn),n}return n.base=function(t){return arguments.length?(o=+t,a()):o},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],s=n[n.length-1];const u=s<a;u&&([a,s]=[s,a]);let c,l,f=r(a),h=r(s);const d=null==t?10:+t;let p=[];if(!(o%1)&&h-f<d){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(c=1;c<o;++c)if(l=f<0?c/i(-f):c*i(f),!(l<a)){if(l>s)break;p.push(l)}}else for(;f<=h;++f)for(c=o-1;c>=1;--c)if(l=f>0?c/i(-f):c*i(f),!(l<a)){if(l>s)break;p.push(l)}2*p.length<d&&(p=rt(a,s,d))}else p=rt(f,h,Math.min(h-f,d)).map(i);return u?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=wn(e)).precision||(e.trim=!0),e=Tn(e)),t===1/0)return e;const a=Math.max(1,o*t/n.ticks().length);return t=>{let n=t/i(Math.round(r(t)));return n*o<o-.5&&(n*=o),n<=a?e(t):""}},n.nice=()=>e($n(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function Yn(){const t=qn(_n()).domain([1,10]);return t.copy=()=>vn(t,Yn()).base(t.base()),R.apply(t,arguments),t}function Vn(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Gn(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Kn(t){var n=1,e=t(Vn(n),Gn(n));return e.constant=function(e){return arguments.length?t(Vn(n=+e),Gn(n)):n},Fn(e)}function Xn(){var t=Kn(_n());return t.copy=function(){return vn(t,Xn()).constant(t.constant())},R.apply(t,arguments)}function Zn(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Qn(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Jn(t){return t<0?-t*t:t*t}function te(t){var n=t(dn,dn),e=1;function r(){return 1===e?t(dn,dn):.5===e?t(Qn,Jn):t(Zn(e),Zn(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Fn(n)}function ne(){var t=te(_n());return t.copy=function(){return vn(t,ne()).exponent(t.exponent())},R.apply(t,arguments),t}function ee(){return ne.apply(null,arguments).exponent(.5)}function re(t){return Math.sign(t)*t*t}function ie(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function oe(){var t,n=mn(),e=[0,1],r=!1;function i(e){var i=ie(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(re(t))},i.domain=function(t){return arguments.length?(n.domain(t),i):n.domain()},i.range=function(t){return arguments.length?(n.range((e=Array.from(t,fn)).map(re)),i):e.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(n.clamp(t),i):n.clamp()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return oe(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},R.apply(i,arguments),Fn(i)}function ae(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function se(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function ue(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ce(t,n,e=0,r=t.length-1,i){for(i=void 0===i?ue:function(t=at){if(t===at)return ue;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);ce(t,n,Math.max(e,Math.floor(n-a*u/o+c)),Math.min(r,Math.floor(n+(o-a)*u/o+c)),i)}const o=t[n];let a=e,s=r;for(le(t,e,n),i(t[r],o)>0&&le(t,e,r);a<s;){for(le(t,a,s),++a,--s;i(t[a],o)<0;)++a;for(;i(t[s],o)>0;)--s}0===i(t[e],o)?le(t,e,s):(++s,le(t,s,r)),s<=n&&(e=s+1),n<=s&&(r=s-1)}return t}function le(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function fe(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return se(t);if(n>=1)return ae(t);var r,i=(r-1)*n,o=Math.floor(i),a=ae(ce(t,o).subarray(0,o+1));return a+(se(t.subarray(o+1))-a)*(i-o)}}function he(t,n,e=lt){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t);return a+(+e(t[o+1],o+1,t)-a)*(i-o)}}function de(){var t,n=[],e=[],r=[];function i(){var t=0,i=Math.max(1,e.length);for(r=new Array(i-1);++t<i;)r[t-1]=he(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[dt(r,n)]}return o.invertExtent=function(t){var i=e.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:n[0],i<r.length?r[i]:n[n.length-1]]},o.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(at),i()},o.range=function(t){return arguments.length?(e=Array.from(t),i()):e.slice()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return de().domain(n).range(e).unknown(t)},R.apply(o,arguments)}function pe(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[dt(i,n,0,r)]:t}function s(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,s()):[n,e]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,s()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,i[0]]:a>=r?[i[r-1],e]:[i[a-1],i[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return pe().domain([n,e]).range(o).unknown(t)},R.apply(Fn(a),arguments)}function ge(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[dt(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return ge().domain(n).range(e).unknown(t)},R.apply(i,arguments)}Cn=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Sn:(n=Nn.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=n[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Sn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Nn.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=wn(t)).fill,e=t.align,f=t.sign,h=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,v=t.trim,_=t.type;"n"===_?(g=!0,_="g"):On[_]||(void 0===y&&(y=12),v=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var m="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",x="$"===h?o:/[%p]/.test(_)?u:"",b=On[_],w=/[defgprs%]/.test(_);function k(t){var i,o,u,h=m,k=x;if("c"===_)k=b(t)+k,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:b(Math.abs(t),y),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),M&&0==+t&&"+"!==f&&(M=!1),h=(M?"("===f?f:c:"-"===f||"("===f?"":f)+h,k=("s"===_?Dn[8+xn/3]:"")+k+(M&&"("===f?")":""),w)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){k=(46===u?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var E=h.length+t.length+k.length,A=E<p?new Array(p-E+1).join(n):"";switch(g&&d&&(t=r(A+t,A.length?p-k.length:1/0),A=""),e){case"<":t=h+t+k+A;break;case"=":t=h+A+t+k;break;case"^":t=A.slice(0,E=A.length>>1)+h+t+k+A.slice(E);break;default:t=A+h+t+k}return s(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:f,formatPrefix:function(t,n){var e=f(((t=wn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(En(n)/3))),i=Math.pow(10,-r),o=Dn[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Tn=Cn.format,jn=Cn.formatPrefix;const ye=1e3,ve=6e4,_e=36e5,me=864e5,xe=6048e5,be=31536e6;var we=new Date,ke=new Date;function Me(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a,s=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return s;do{s.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return s},i.filter=function(e){return Me((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return we.setTime(+n),ke.setTime(+r),t(we),t(ke),Math.floor(e(we,ke))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var Ee=Me((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Ee.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Me((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Ee:null};var Ae=Ee,Oe=(Ee.range,Me((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*ye)}),(function(t,n){return(n-t)/ye}),(function(t){return t.getUTCSeconds()}))),Se=Oe,Ce=(Oe.range,Me((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ye)}),(function(t,n){t.setTime(+t+n*ve)}),(function(t,n){return(n-t)/ve}),(function(t){return t.getMinutes()}))),Te=Ce,je=(Ce.range,Me((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ye-t.getMinutes()*ve)}),(function(t,n){t.setTime(+t+n*_e)}),(function(t,n){return(n-t)/_e}),(function(t){return t.getHours()}))),Ne=je,De=(je.range,Me((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ve)/me),(t=>t.getDate()-1))),Pe=De;function Fe(t){return Me((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ve)/xe}))}De.range;var Le=Fe(0),Ie=Fe(1),$e=Fe(2),ze=Fe(3),We=Fe(4),Ue=Fe(5),Be=Fe(6),He=(Le.range,Ie.range,$e.range,ze.range,We.range,Ue.range,Be.range,Me((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),Re=He,qe=(He.range,Me((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));qe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Me((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var Ye=qe,Ve=(qe.range,Me((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*ve)}),(function(t,n){return(n-t)/ve}),(function(t){return t.getUTCMinutes()}))),Ge=Ve,Ke=(Ve.range,Me((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*_e)}),(function(t,n){return(n-t)/_e}),(function(t){return t.getUTCHours()}))),Xe=Ke,Ze=(Ke.range,Me((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/me}),(function(t){return t.getUTCDate()-1}))),Qe=Ze;function Je(t){return Me((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/xe}))}Ze.range;var tr=Je(0),nr=Je(1),er=Je(2),rr=Je(3),ir=Je(4),or=Je(5),ar=Je(6),sr=(tr.range,nr.range,er.range,rr.range,ir.range,or.range,ar.range,Me((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),ur=sr,cr=(sr.range,Me((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));cr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Me((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var lr=cr;function fr(t,n,e,r,i,o){const a=[[Se,1,ye],[Se,5,5e3],[Se,15,15e3],[Se,30,3e4],[o,1,ve],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,_e],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,me],[r,2,1728e5],[e,1,xe],[n,1,2592e6],[n,3,7776e6],[t,1,be]];function s(n,e,r){const i=Math.abs(e-n)/r,o=ut((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(ot(n/be,e/be,r));if(0===o)return Ae.every(Math.max(ot(n,e,r),1));const[s,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(u)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"==typeof e.range?e:s(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},s]}cr.range;const[hr,dr]=fr(lr,ur,tr,Qe,Xe,Ge),[pr,gr]=fr(Ye,Re,Le,Pe,Ne,Te);function yr(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function vr(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function _r(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var mr,xr,br,wr={"-":"",_:" ",0:"0"},kr=/^\s*\d+/,Mr=/^%/,Er=/[\\^$*+?|[\]().{}]/g;function Ar(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function Or(t){return t.replace(Er,"\\$&")}function Sr(t){return new RegExp("^(?:"+t.map(Or).join("|")+")","i")}function Cr(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Tr(t,n,e){var r=kr.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function jr(t,n,e){var r=kr.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Nr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Dr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Pr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Fr(t,n,e){var r=kr.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Lr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Ir(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function $r(t,n,e){var r=kr.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function zr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Wr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ur(t,n,e){var r=kr.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Br(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Hr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Rr(t,n,e){var r=kr.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function qr(t,n,e){var r=kr.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Yr(t,n,e){var r=kr.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Vr(t,n,e){var r=Mr.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Gr(t,n,e){var r=kr.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Kr(t,n,e){var r=kr.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Xr(t,n){return Ar(t.getDate(),n,2)}function Zr(t,n){return Ar(t.getHours(),n,2)}function Qr(t,n){return Ar(t.getHours()%12||12,n,2)}function Jr(t,n){return Ar(1+Pe.count(Ye(t),t),n,3)}function ti(t,n){return Ar(t.getMilliseconds(),n,3)}function ni(t,n){return ti(t,n)+"000"}function ei(t,n){return Ar(t.getMonth()+1,n,2)}function ri(t,n){return Ar(t.getMinutes(),n,2)}function ii(t,n){return Ar(t.getSeconds(),n,2)}function oi(t){var n=t.getDay();return 0===n?7:n}function ai(t,n){return Ar(Le.count(Ye(t)-1,t),n,2)}function si(t){var n=t.getDay();return n>=4||0===n?We(t):We.ceil(t)}function ui(t,n){return t=si(t),Ar(We.count(Ye(t),t)+(4===Ye(t).getDay()),n,2)}function ci(t){return t.getDay()}function li(t,n){return Ar(Ie.count(Ye(t)-1,t),n,2)}function fi(t,n){return Ar(t.getFullYear()%100,n,2)}function hi(t,n){return Ar((t=si(t)).getFullYear()%100,n,2)}function di(t,n){return Ar(t.getFullYear()%1e4,n,4)}function pi(t,n){var e=t.getDay();return Ar((t=e>=4||0===e?We(t):We.ceil(t)).getFullYear()%1e4,n,4)}function gi(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ar(n/60|0,"0",2)+Ar(n%60,"0",2)}function yi(t,n){return Ar(t.getUTCDate(),n,2)}function vi(t,n){return Ar(t.getUTCHours(),n,2)}function _i(t,n){return Ar(t.getUTCHours()%12||12,n,2)}function mi(t,n){return Ar(1+Qe.count(lr(t),t),n,3)}function xi(t,n){return Ar(t.getUTCMilliseconds(),n,3)}function bi(t,n){return xi(t,n)+"000"}function wi(t,n){return Ar(t.getUTCMonth()+1,n,2)}function ki(t,n){return Ar(t.getUTCMinutes(),n,2)}function Mi(t,n){return Ar(t.getUTCSeconds(),n,2)}function Ei(t){var n=t.getUTCDay();return 0===n?7:n}function Ai(t,n){return Ar(tr.count(lr(t)-1,t),n,2)}function Oi(t){var n=t.getUTCDay();return n>=4||0===n?ir(t):ir.ceil(t)}function Si(t,n){return t=Oi(t),Ar(ir.count(lr(t),t)+(4===lr(t).getUTCDay()),n,2)}function Ci(t){return t.getUTCDay()}function Ti(t,n){return Ar(nr.count(lr(t)-1,t),n,2)}function ji(t,n){return Ar(t.getUTCFullYear()%100,n,2)}function Ni(t,n){return Ar((t=Oi(t)).getUTCFullYear()%100,n,2)}function Di(t,n){return Ar(t.getUTCFullYear()%1e4,n,4)}function Pi(t,n){var e=t.getUTCDay();return Ar((t=e>=4||0===e?ir(t):ir.ceil(t)).getUTCFullYear()%1e4,n,4)}function Fi(){return"+0000"}function Li(){return"%"}function Ii(t){return+t}function $i(t){return Math.floor(+t/1e3)}function zi(t){return new Date(t)}function Wi(t){return t instanceof Date?+t:+new Date(+t)}function Ui(t,n,e,r,i,o,a,s,u,c){var l=mn(),f=l.invert,h=l.domain,d=c(".%L"),p=c(":%S"),g=c("%I:%M"),y=c("%I %p"),v=c("%a %d"),_=c("%b %d"),m=c("%B"),x=c("%Y");function b(t){return(u(t)<t?d:s(t)<t?p:a(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?v:_:e(t)<t?m:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Array.from(t,Wi)):h().map(zi)},l.ticks=function(n){var e=h();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?b:c(n)},l.nice=function(t){var e=h();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?h($n(e,t)):l},l.copy=function(){return vn(l,Ui(t,n,e,r,i,o,a,s,u,c))},l}function Bi(){return R.apply(Ui(pr,gr,Ye,Re,Le,Pe,Ne,Te,Se,xr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Hi(){return R.apply(Ui(hr,dr,lr,ur,tr,Qe,Xe,Ge,Se,br).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ri(){var t,n,e,r,i,o=0,a=1,s=dn,u=!1;function c(n){return null==n||isNaN(n=+n)?i:s(0===e?.5:(n=(r(n)-t)*e,u?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,s=t(e,r),c):[s(0),s(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),n=r(a=+a),e=t===n?0:1/(n-t),c):[o,a]},c.clamp=function(t){return arguments.length?(u=!!t,c):u},c.interpolator=function(t){return arguments.length?(s=t,c):s},c.range=l(cn),c.rangeRound=l(ln),c.unknown=function(t){return arguments.length?(i=t,c):i},function(i){return r=i,t=i(o),n=i(a),e=t===n?0:1/(n-t),c}}function qi(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Yi(){var t=Fn(Ri()(dn));return t.copy=function(){return qi(t,Yi())},q.apply(t,arguments)}function Vi(){var t=qn(Ri()).domain([1,10]);return t.copy=function(){return qi(t,Vi()).base(t.base())},q.apply(t,arguments)}function Gi(){var t=Kn(Ri());return t.copy=function(){return qi(t,Gi()).constant(t.constant())},q.apply(t,arguments)}function Ki(){var t=te(Ri());return t.copy=function(){return qi(t,Ki()).exponent(t.exponent())},q.apply(t,arguments)}function Xi(){return Ki.apply(null,arguments).exponent(.5)}function Zi(){var t=[],n=dn;function e(e){if(null!=e&&!isNaN(e=+e))return n((dt(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(at),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>fe(t,r/n)))},e.copy=function(){return Zi(n).domain(t)},q.apply(e,arguments)}function Qi(t,n){void 0===n&&(n=t,t=cn);for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e<r;)o[e]=t(i,i=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[n](t-n)}}function Ji(){var t,n,e,r,i,o,a,s=0,u=.5,c=1,l=1,f=dn,h=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-n)*(l*t<l*n?r:i),f(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=Qi(t,[e,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([s,u,c]=a,t=o(s=+s),n=o(u=+u),e=o(c=+c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,d):[s,u,c]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=p(cn),d.rangeRound=p(ln),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(s),n=a(u),e=a(c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,d}}function to(){var t=Fn(Ji()(dn));return t.copy=function(){return qi(t,to())},q.apply(t,arguments)}function no(){var t=qn(Ji()).domain([.1,1,10]);return t.copy=function(){return qi(t,no()).base(t.base())},q.apply(t,arguments)}function eo(){var t=Kn(Ji());return t.copy=function(){return qi(t,eo()).constant(t.constant())},q.apply(t,arguments)}function ro(){var t=te(Ji());return t.copy=function(){return qi(t,ro()).exponent(t.exponent())},q.apply(t,arguments)}function io(){return ro.apply(null,arguments).exponent(.5)}mr=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=Sr(i),l=Cr(i),f=Sr(o),h=Cr(o),d=Sr(a),p=Cr(a),g=Sr(s),y=Cr(s),v=Sr(u),_=Cr(u),m={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Xr,e:Xr,f:ni,g:hi,G:pi,H:Zr,I:Qr,j:Jr,L:ti,m:ei,M:ri,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ii,s:$i,S:ii,u:oi,U:ai,V:ui,w:ci,W:li,x:null,X:null,y:fi,Y:di,Z:gi,"%":Li},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:yi,e:yi,f:bi,g:Ni,G:Pi,H:vi,I:_i,j:mi,L:xi,m:wi,M:ki,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ii,s:$i,S:Mi,u:Ei,U:Ai,V:Si,w:Ci,W:Ti,x:null,X:null,y:ji,Y:Di,Z:Fi,"%":Li},b={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=_.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return M(t,n,e,r)},d:Wr,e:Wr,f:Yr,g:Lr,G:Fr,H:Br,I:Br,j:Ur,L:qr,m:zr,M:Hr,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:$r,Q:Gr,s:Kr,S:Rr,u:jr,U:Nr,V:Dr,w:Tr,W:Pr,x:function(t,n,r){return M(t,e,n,r)},X:function(t,n,e){return M(t,r,n,e)},y:Lr,Y:Fr,Z:Ir,"%":Vr};function w(t,n){return function(e){var r,i,o,a=[],s=-1,u=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(i=wr[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function k(t,n){return function(e){var r,i,o=_r(1900,void 0,1);if(M(o,t,e+="",0)!=e.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(n&&!("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?(i=(r=vr(_r(o.y,0,1))).getUTCDay(),r=i>4||0===i?nr.ceil(r):nr(r),r=Qe.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=yr(_r(o.y,0,1))).getDay(),r=i>4||0===i?Ie.ceil(r):Ie(r),r=Pe.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),i="Z"in o?vr(_r(o.y,0,1)).getUTCDay():yr(_r(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,vr(o)):yr(o)}}function M(t,n,e,r){for(var i,o,a=0,s=n.length,u=e.length;a<s;){if(r>=u)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=b[i in wr?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}({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"]}),xr=mr.format,mr.parse,br=mr.utcFormat,mr.utcParse;const oo=["linear","time","log","sqrt"];function ao(t){return"function"==typeof t?L(t.copy)&&L(t.domain)&&L(t.range):"string"==typeof t&&oo.includes(t)}function so(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function uo(t,n){if(!t.data)return"linear";const e=I(t[n]);return z(t.data.map((t=>{const r=_()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function co(n){if(ao(n)){const e=`scale${(t=>t&&t[0].toUpperCase()+t.slice(1))(n)}`;return t[e]()}return Ln()}function lo(t,n){const e=function(t,n){if(!so(t,n))return;const e=t.scale[n]||t.scale;return ao(e)?L(e)?e:co(e):void 0}(t,n);return e?"string"==typeof e?co(e):e:co(function(t,n){let e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return z(e)?"time":"linear"}(t,n)||uo(t,n))}function fo(t,n){return function(t,n){if(!so(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:po(e)}(t,n)||uo(t,n)}const ho=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function po(t){if("string"==typeof t)return t;const n=ho.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}function go(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function yo(t,n){return go(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=yo(e)),t[r]=i,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function vo(t){return function(t){return go(t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(t)}(t)?yo(t,{errorX:!0,errorY:!0}):t}function _o(t,n){const e=(_()(t.domain)?t.domain[n]:t.domain)||lo(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=function(t,n,e){const r=n?t:0;let i=n||t;i||(i=0);const o=i-r,a=Math.abs(o),s=o/a||1,u=e||1,c=Math.max(Math.ceil(a/u),0);return Array.from(Array(c),((t,n)=>r+n*s*u))}(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function mo(t,n,e){if(void 0===e&&(e="ascending"),!n)return t;let r=n;"x"!==n&&"y"!==n||(r=`_${n}`);const i="ascending"===e?"asc":"desc";return p()(t,r,i)}function xo(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let i;return i=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],i.filter((t=>"string"==typeof t))}(t,n),r=Mo(t,n),i=function(t,n){if(!Array.isArray(t.data)&&!go(t.data))return[];const e=I(void 0===t[n]?n:t[n]);return mo(t.data.reduce(((t,n)=>(t.push(vo(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=vo(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),o=x()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function bo(t,n,e){if(!Array.isArray(t)&&!go(t)||function(t){return go(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=I(void 0!==n[r=e]?n[r]:r),t}),{}),o=l()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?xo(n,"x"):void 0,y:-1!==e.indexOf("y")?xo(n,"y"):void 0,y0:-1!==e.indexOf("y0")?xo(n,"y"):void 0});const s=o?t:t.reduce(((t,n,r)=>{const o=vo(n),s={x:r,y:o},u=e.reduce(((t,n)=>{const e=i[n](o),r=void 0!==e?e:s[n];return void 0!==r&&("string"==typeof r&&a[n]?(t[`${n}Name`]=r,t[`_${n}`]=a[n][r]):t[`_${n}`]=r),t}),{}),c=Object.assign({},u,o);return h()(c)||t.push(c),t}),[]),u=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:fo(n,"x"),y:fo(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;const i=(t,n)=>"log"!==r[n]||0!==t[`_${n}`];return t.map((t=>i(t,"x")&&i(t,"y")&&i(t,"y0")?t:(t=>{const n=i(t,"x")?t._x:e,r=i(t,"y")?t._y:e,o=i(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:o})})(t)))}(mo(s,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=L(i=t.eventKey)?i:null==i?()=>{}:y()(i);var i;return n.map(((t,n)=>{if(void 0!==t.eventKey)return t;if(e){const e=r(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,u)}function wo(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function ko(t){return t.data?bo(t.data,t):bo(function(t){const n=_o(t,"x"),e=_o(t,"y"),r=n.map(((t,n)=>({x:t,y:e[n]})));return r}(t),t)}function Mo(t,n){if(!t.categories)return[];const e=wo(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}var Eo=r(4295),Ao=r.n(Eo),Oo=r(2829),So=r.n(Oo);function Co(t,n,e){void 0===e&&(e="min");const r=t=>"max"===e?Math.max(...t):Math.min(...t),i="max"===e?-1/0:1/0;let o=!1;const a=t.flat().reduce(((t,e)=>{const i=void 0!==e[`_${n}0`]?e[`_${n}0`]:e[`_${n}`],a=void 0!==e[`_${n}1`]?e[`_${n}1`]:e[`_${n}`],s=r([i,a]);return o=o||i instanceof Date||a instanceof Date,r([t,s])}),i);return o?new Date(a):a}function To(t,n,e){return function(t,n,e){return"log"!==fo(n,e)?t:(t=>{const n=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?n:t[0],0===t[1]?n:t[1]]})(t)}(function(t,n,e){if(!n.domainPadding)return t;const r=Lo(n,e),i=Fo(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return _()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=B(t),s=U(t),u=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=P(n,u),l=Math.abs(c[0]-c[1]),f=Math.max(l-o.left-o.right,1),h=Math.abs(s.valueOf()-a.valueOf())/f*l,d=h*o.left/l,p=h*o.right/l;let g={min:a.valueOf()-d,max:s.valueOf()+p};const y=_()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,v=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&s<=0&&t>=0?0:t;if((a>=0&&g.min<=0||s<=0&&g.max>=0)&&!1!==y){const t={left:Math.abs(s-a)*o.left/l,right:Math.abs(s-a)*o.right/l},n={min:v(a.valueOf()-t.left,"min"),max:v(s.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/l,right:Math.abs(n.max-n.min)*o.right/l};g={min:v(a.valueOf()-e.left,"min"),max:v(s.valueOf()+e.right,"max")}}const m={min:void 0!==r?r:g.min,max:void 0!==i?i:g.max};return a instanceof Date||s instanceof Date?No(new Date(m.min),new Date(m.max)):No(m.min,m.max)}(t,n,e),n,e)}function jo(t,n,e){const r=e||ko(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,s=Lo(t,n),u=Fo(t,n);if(r.length<1)return void 0!==s&&void 0!==u?No(s,u):void 0;const c=No(void 0!==s?s:Co(r,n,"min"),void 0!==u?u:Co(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?Io(c,function(t,n){const e=`_${n}`;return t.flat().map((t=>t[e]&&void 0!==t[e][1]?t[e][1]:t[e]))}(r,n)):c}function No(t,n){return Number(t)===Number(n)?(t=>{const n=0===t?2*Math.pow(10,-10):Math.pow(10,-10),e=t instanceof Date?new Date(Number(t)-1):Number(t)-n,r=t instanceof Date?new Date(Number(t)+1):Number(t)+n;return 0===t?[0,r]:[e,r]})(n):[t,n]}function Do(t,n){const e=Lo(t,n),r=Fo(t,n);return _()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?No(e,r):void 0}function Po(t,n){const e=Do(t,n);if(e)return e;const r=ko(t),i=r.reduce(((t,n)=>n._y0<t?n._y0:t),1/0);return function(t,n){const e=L(t)?t:jo,r=L(n)?n:To;return(t,n)=>{const i=Do(t,n);if(i)return r(i,t,n);const o=wo(t,n),a=o?function(t,n,e){const r=e||wo(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const s=Lo(t,n),u=Fo(t,n),c=(d=r,Array.isArray(d)&&d.some((t=>"string"==typeof t))?Mo(t,n):[]),l=0===c.length?null:c.reduce(((t,n,e)=>(t[n]=e+1,t)),{}),f=l?r.map((t=>l[t])):r,h=No(void 0!==s?s:B(f),void 0!==u?u:U(f));var d;return i&&"x"===n&&360===Math.abs(o-a)?Io(h,f):h}(t,n,o):e(t,n);return a?r(a,t,n):void 0}}((()=>jo(t,n,r)),(e=>To((e=>{if("x"===n)return e;const r=i!==1/0?i:0,o=Fo(t,n),a=Lo(t,n),s=void 0!==o?o:U(e,r);return No(void 0!==a?a:B(e,r),s)})(e),t,n)))(t,n)}function Fo(t,n){return _()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||Ao()(t.maxDomain)?t.maxDomain:void 0}function Lo(t,n){return _()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||Ao()(t.minDomain)?t.minDomain:void 0}function Io(t,n){const e=So()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}function $o(t){const{labelComponent:n,labelPlacement:e,polar:r}=t,i=r?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||i}function zo(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function Wo(t,n){const{x:e}=A(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}function Uo(t,n){const{scale:e,data:r,style:i,horizontal:o,polar:a,width:s,height:u,theme:c,labelComponent:l,disableInlineStyles:f}=t,h=r[n],d=Wo(t,h),p=a?function(t,n){const e=$o(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,d):function(t,n){void 0===n&&(n={});const{style:e,horizontal:r}=t,i=n._y>=0?1:-1,o=e&&e.labels||{};return n.verticalAnchor||o.verticalAnchor?n.verticalAnchor||o.verticalAnchor:r?i>=0?"start":"end":"middle"}(t,h),g=a?function(t,n){const e=$o(t),r=function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}(n);return"parallel"===e||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}(t,d):function(t,n){void 0===n&&(n={});const e=n._y>=0?1:-1,r=t.style&&t.style.labels||{};return n.verticalAnchor||r.verticalAnchor?n.verticalAnchor||r.verticalAnchor:t.horizontal?"middle":e>=0?"end":"start"}(t,h),y=function(t,n){void 0===n&&(n={});const e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,h),v=zo(t,h,n),_=$o(t),{x:m,y:x}=function(t,n){const{polar:e}=t,{x:r,y:i}=O(t,n);if(!e)return{x:r,y:i};const o=function(t,n){const{style:e}=t,r=Wo(t,n),i=T((e.labels||{}).padding,t)||0,o=N(r);return{x:i*Math.cos(o),y:-i*Math.sin(o)}}(t,n);return{x:r+o.x,y:i+o.y}}(t,h),{dx:b,dy:w}=function(t,n){if(t.polar)return{};const e=function(t,n){void 0===n&&(n={});const{horizontal:e,style:r}=t,i=T((r.labels||{}).padding,t)||0,o=n._y<0?-1:1;return{x:e?o*i:0,y:e?0:-1*o*i}}(t,n);return{dx:e.x,dy:e.y}}(t,h),k={angle:y,data:r,datum:h,disableInlineStyles:f,horizontal:o,index:n,polar:a,scale:e,labelPlacement:_,text:v,textAnchor:p,verticalAnchor:g,x:m,y:x,dx:b,dy:w,width:s,height:u,style:i.labels};if(!C(l))return k;const A=c&&c.tooltip||{};return M()({},k,E(A,["style"]))}const Bo=Math.PI,Ho=2*Bo,Ro=1e-6,qo=Ho-Ro;function Yo(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Vo(){return new Yo}Yo.prototype=Vo.prototype={constructor:Yo,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,s=e-t,u=r-n,c=o-t,l=a-n,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>Ro)if(Math.abs(l*s-u*c)>Ro&&i){var h=e-o,d=r-a,p=s*s+u*u,g=h*h+d*d,y=Math.sqrt(p),v=Math.sqrt(f),_=i*Math.tan((Bo-Math.acos((p+f-g)/(2*y*v)))/2),m=_/v,x=_/y;Math.abs(m-1)>Ro&&(this._+="L"+(t+m*c)+","+(n+m*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*d)+","+(this._x1=t+x*s)+","+(this._y1=n+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var a=(e=+e)*Math.cos(r),s=e*Math.sin(r),u=t+a,c=n+s,l=1^o,f=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>Ro||Math.abs(this._y1-c)>Ro)&&(this._+="L"+u+","+c),e&&(f<0&&(f=f%Ho+Ho),f>qo?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-s)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>Ro&&(this._+="A"+e+","+e+",0,"+ +(f>=Bo)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Go=Vo,Ko=Array.prototype.slice;function Xo(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Zo(t){return function(){return t}}function Qo(t){this._context=t}function Jo(t){return new Qo(t)}function ta(t){return t[0]}function na(t){return t[1]}function ea(t,n){var e=Zo(!0),r=null,i=Jo,o=null;function a(a){var s,u,c,l=(a=Xo(a)).length,f=!1;for(null==r&&(o=i(c=Go())),s=0;s<=l;++s)!(s<l&&e(u=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,s,a),+n(u,s,a));if(c)return o=null,c+""||null}return t="function"==typeof t?t:void 0===t?ta:Zo(t),n="function"==typeof n?n:void 0===n?na:Zo(n),a.x=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:Zo(!!t),a):e},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function ra(t,n,e){var r=null,i=Zo(!0),o=null,a=Jo,s=null;function u(u){var c,l,f,h,d,p=(u=Xo(u)).length,g=!1,y=new Array(p),v=new Array(p);for(null==o&&(s=a(d=Go())),c=0;c<=p;++c){if(!(c<p&&i(h=u[c],c,u))===g)if(g=!g)l=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=c-1;f>=l;--f)s.point(y[f],v[f]);s.lineEnd(),s.areaEnd()}g&&(y[c]=+t(h,c,u),v[c]=+n(h,c,u),s.point(r?+r(h,c,u):y[c],e?+e(h,c,u):v[c]))}if(d)return s=null,d+""||null}function c(){return ea().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?ta:Zo(+t),n="function"==typeof n?n:Zo(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?na:Zo(+e),u.x=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),r=null,u):t},u.x0=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Zo(+t),u):r},u.y=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),e=null,u):n},u.y0=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),u):n},u.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:Zo(+t),u):e},u.lineX0=u.lineY0=function(){return c().x(t).y(n)},u.lineY1=function(){return c().x(t).y(e)},u.lineX1=function(){return c().x(r).y(n)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:Zo(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),u):o},u}Qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var ia=aa(Jo);function oa(t){this._curve=t}function aa(t){function n(n){return new oa(t(n))}return n._curve=t,n}function sa(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(aa(t)):n()._curve},t}function ua(){return sa(ea().curve(ia))}function ca(){var t=ra().curve(ia),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return sa(e())},delete t.lineX0,t.lineEndAngle=function(){return sa(r())},delete t.lineX1,t.lineInnerRadius=function(){return sa(i())},delete t.lineY0,t.lineOuterRadius=function(){return sa(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(aa(t)):n()._curve},t}oa.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};const la=Math.abs,fa=Math.atan2,ha=Math.cos,da=Math.max,pa=Math.min,ga=Math.sin,ya=Math.sqrt,va=1e-12,_a=Math.PI,ma=_a/2,xa=2*_a;function ba(t){return t>1?0:t<-1?_a:Math.acos(t)}function wa(t){return t>=1?ma:t<=-1?-ma:Math.asin(t)}function ka(t){return t.innerRadius}function Ma(t){return t.outerRadius}function Ea(t){return t.startAngle}function Aa(t){return t.endAngle}function Oa(t){return t&&t.padAngle}function Sa(t,n,e,r,i,o,a,s){var u=e-t,c=r-n,l=a-i,f=s-o,h=f*u-l*c;if(!(h*h<va))return[t+(h=(l*(n-o)-f*(t-i))/h)*u,n+h*c]}function Ca(t,n,e,r,i,o,a){var s=t-e,u=n-r,c=(a?o:-o)/ya(s*s+u*u),l=c*u,f=-c*s,h=t+l,d=n+f,p=e+l,g=r+f,y=(h+p)/2,v=(d+g)/2,_=p-h,m=g-d,x=_*_+m*m,b=i-o,w=h*g-p*d,k=(m<0?-1:1)*ya(da(0,b*b*x-w*w)),M=(w*m-_*k)/x,E=(-w*_-m*k)/x,A=(w*m+_*k)/x,O=(-w*_+m*k)/x,S=M-y,C=E-v,T=A-y,j=O-v;return S*S+C*C>T*T+j*j&&(M=A,E=O),{cx:M,cy:E,x01:-l,y01:-f,x11:M*(i/b-1),y11:E*(i/b-1)}}function Ta(){var t=ka,n=Ma,e=Zo(0),r=null,i=Ea,o=Aa,a=Oa,s=null;function u(){var u,c,l=+t.apply(this,arguments),f=+n.apply(this,arguments),h=i.apply(this,arguments)-ma,d=o.apply(this,arguments)-ma,p=la(d-h),g=d>h;if(s||(s=u=Go()),f<l&&(c=f,f=l,l=c),f>va)if(p>xa-va)s.moveTo(f*ha(h),f*ga(h)),s.arc(0,0,f,h,d,!g),l>va&&(s.moveTo(l*ha(d),l*ga(d)),s.arc(0,0,l,d,h,g));else{var y,v,_=h,m=d,x=h,b=d,w=p,k=p,M=a.apply(this,arguments)/2,E=M>va&&(r?+r.apply(this,arguments):ya(l*l+f*f)),A=pa(la(f-l)/2,+e.apply(this,arguments)),O=A,S=A;if(E>va){var C=wa(E/l*ga(M)),T=wa(E/f*ga(M));(w-=2*C)>va?(x+=C*=g?1:-1,b-=C):(w=0,x=b=(h+d)/2),(k-=2*T)>va?(_+=T*=g?1:-1,m-=T):(k=0,_=m=(h+d)/2)}var j=f*ha(_),N=f*ga(_),D=l*ha(b),P=l*ga(b);if(A>va){var F,L=f*ha(m),I=f*ga(m),$=l*ha(x),z=l*ga(x);if(p<_a&&(F=Sa(j,N,$,z,L,I,D,P))){var W=j-F[0],U=N-F[1],B=L-F[0],H=I-F[1],R=1/ga(ba((W*B+U*H)/(ya(W*W+U*U)*ya(B*B+H*H)))/2),q=ya(F[0]*F[0]+F[1]*F[1]);O=pa(A,(l-q)/(R-1)),S=pa(A,(f-q)/(R+1))}}k>va?S>va?(y=Ca($,z,j,N,f,S,g),v=Ca(L,I,D,P,f,S,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),S<A?s.arc(y.cx,y.cy,S,fa(y.y01,y.x01),fa(v.y01,v.x01),!g):(s.arc(y.cx,y.cy,S,fa(y.y01,y.x01),fa(y.y11,y.x11),!g),s.arc(0,0,f,fa(y.cy+y.y11,y.cx+y.x11),fa(v.cy+v.y11,v.cx+v.x11),!g),s.arc(v.cx,v.cy,S,fa(v.y11,v.x11),fa(v.y01,v.x01),!g))):(s.moveTo(j,N),s.arc(0,0,f,_,m,!g)):s.moveTo(j,N),l>va&&w>va?O>va?(y=Ca(D,P,L,I,l,-O,g),v=Ca(j,N,$,z,l,-O,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),O<A?s.arc(y.cx,y.cy,O,fa(y.y01,y.x01),fa(v.y01,v.x01),!g):(s.arc(y.cx,y.cy,O,fa(y.y01,y.x01),fa(y.y11,y.x11),!g),s.arc(0,0,l,fa(y.cy+y.y11,y.cx+y.x11),fa(v.cy+v.y11,v.cx+v.x11),g),s.arc(v.cx,v.cy,O,fa(v.y11,v.x11),fa(v.y01,v.x01),!g))):s.arc(0,0,l,b,x,g):s.lineTo(D,P)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-_a/2;return[ha(r)*e,ga(r)*e]},u.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),u):t},u.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),u):n},u.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Zo(+t),u):e},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Zo(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Zo(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Zo(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Zo(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function ja(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function Na(t){return t}function Da(){var t=Na,n=ja,e=null,r=Zo(0),i=Zo(xa),o=Zo(0);function a(a){var s,u,c,l,f,h=(a=Xo(a)).length,d=0,p=new Array(h),g=new Array(h),y=+r.apply(this,arguments),v=Math.min(xa,Math.max(-xa,i.apply(this,arguments)-y)),_=Math.min(Math.abs(v)/h,o.apply(this,arguments)),m=_*(v<0?-1:1);for(s=0;s<h;++s)(f=g[p[s]=s]=+t(a[s],s,a))>0&&(d+=f);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(a[t],a[n])})),s=0,c=d?(v-h*m)/d:0;s<h;++s,y=l)u=p[s],l=y+((f=g[u])>0?f*c:0)+m,g[u]={data:a[u],index:s,value:f,startAngle:y,endAngle:l,padAngle:_};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Zo(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Zo(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Zo(+t),a):o},a}function Pa(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}class Fa{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class La{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0==this._point++)this._x0=t,this._y0=n;else{const e=Pa(this._x0,this._y0),r=Pa(this._x0,this._y0=(this._y0+n)/2),i=Pa(t,this._y0),o=Pa(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}}}function Ia(t){return new Fa(t,!0)}function $a(t){return new Fa(t,!1)}function za(t){return new La(t)}function Wa(t){return t.source}function Ua(t){return t.target}function Ba(t){let n=Wa,e=Ua,r=ta,i=na,o=null,a=null;function s(){let s;const u=Ko.call(arguments),c=n.apply(this,u),l=e.apply(this,u);if(null==o&&(a=t(s=Go())),a.lineStart(),u[0]=c,a.point(+r.apply(this,u),+i.apply(this,u)),u[0]=l,a.point(+r.apply(this,u),+i.apply(this,u)),a.lineEnd(),s)return a=null,s+""||null}return s.source=function(t){return arguments.length?(n=t,s):n},s.target=function(t){return arguments.length?(e=t,s):e},s.x=function(t){return arguments.length?(r="function"==typeof t?t:Zo(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:Zo(+t),s):i},s.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),s):o},s}function Ha(){return Ba(Ia)}function Ra(){return Ba($a)}function qa(){const t=Ba(za);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const Ya=ya(3);var Va={draw(t,n){const e=.59436*ya(n+pa(n/28,.75)),r=e/2,i=r*Ya;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},Ga={draw(t,n){const e=ya(n/_a);t.moveTo(e,0),t.arc(0,0,e,0,xa)}},Ka={draw(t,n){const e=ya(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};const Xa=ya(1/3),Za=2*Xa;var Qa={draw(t,n){const e=ya(n/Za),r=e*Xa;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Ja={draw(t,n){const e=.62625*ya(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},ts={draw(t,n){const e=.87559*ya(n-pa(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},ns={draw(t,n){const e=ya(n),r=-e/2;t.rect(r,r,e,e)}},es={draw(t,n){const e=.4431*ya(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const rs=ga(_a/10)/ga(7*_a/10),is=ga(xa/10)*rs,os=-ha(xa/10)*rs;var as={draw(t,n){const e=ya(.8908130915292852*n),r=is*e,i=os*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=xa*n/5,a=ha(o),s=ga(o);t.lineTo(s*e,-a*e),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}};const ss=ya(3);var us={draw(t,n){const e=-ya(n/(3*ss));t.moveTo(0,2*e),t.lineTo(-ss*e,-e),t.lineTo(ss*e,-e),t.closePath()}};const cs=ya(3);var ls={draw(t,n){const e=.6824*ya(n),r=e/2,i=e*cs/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const fs=-.5,hs=ya(3)/2,ds=1/ya(12),ps=3*(ds/2+1);var gs={draw(t,n){const e=ya(n/ps),r=e/2,i=e*ds,o=r,a=e*ds+e,s=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,u),t.lineTo(fs*r-hs*i,hs*r+fs*i),t.lineTo(fs*o-hs*a,hs*o+fs*a),t.lineTo(fs*s-hs*u,hs*s+fs*u),t.lineTo(fs*r+hs*i,fs*i-hs*r),t.lineTo(fs*o+hs*a,fs*a-hs*o),t.lineTo(fs*s+hs*u,fs*u-hs*s),t.closePath()}},ys={draw(t,n){const e=.6189*ya(n-pa(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const vs=[Ga,Ka,Qa,ns,as,us,gs],_s=[Ga,ts,ys,ls,Va,es,Ja];function ms(t,n){let e=null;function r(){let r;if(e||(e=r=Go()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return t="function"==typeof t?t:Zo(t||Ga),n="function"==typeof n?n:Zo(void 0===n?64:+n),r.type=function(n){return arguments.length?(t="function"==typeof n?n:Zo(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function xs(){}function bs(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function ws(t){this._context=t}function ks(t){return new ws(t)}function Ms(t){this._context=t}function Es(t){return new Ms(t)}function As(t){this._context=t}function Os(t){return new As(t)}function Ss(t,n){this._basis=new ws(t),this._beta=n}ws.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bs(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bs(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ms.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:bs(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},As.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:bs(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ss.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,s=n[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*n[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Cs=function t(n){function e(t){return 1===n?new ws(t):new Ss(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Ts(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function js(t,n){this._context=t,this._k=(1-n)/6}js.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ts(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Ts(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ns=function t(n){function e(t){return new js(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ds(t,n){this._context=t,this._k=(1-n)/6}Ds.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Ts(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ps=function t(n){function e(t){return new Ds(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Fs(t,n){this._context=t,this._k=(1-n)/6}Fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ts(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ls=function t(n){function e(t){return new Fs(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Is(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>va){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>va){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function $s(t,n){this._context=t,this._alpha=n}$s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Is(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var zs=function t(n){function e(t){return n?new $s(t,n):new js(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Ws(t,n){this._context=t,this._alpha=n}Ws.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Is(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Us=function t(n){function e(t){return n?new Ws(t,n):new Ds(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Bs(t,n){this._context=t,this._alpha=n}Bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Is(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hs=function t(n){function e(t){return n?new Bs(t,n):new Fs(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Rs(t){this._context=t}function qs(t){return new Rs(t)}function Ys(t){return t<0?-1:1}function Vs(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Ys(o)+Ys(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Gs(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ks(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*n,o-s,a-s*e,o,a)}function Xs(t){this._context=t}function Zs(t){this._context=new Qs(t)}function Qs(t){this._context=t}function Js(t){return new Xs(t)}function tu(t){return new Zs(t)}function nu(t){this._context=t}function eu(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function ru(t){return new nu(t)}function iu(t,n){this._context=t,this._t=n}function ou(t){return new iu(t,.5)}function au(t){return new iu(t,0)}function su(t){return new iu(t,1)}function uu(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],s=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e<s;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function cu(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function lu(t,n){return t[n]}function fu(t){const n=[];return n.key=t,n}function hu(){var t=Zo([]),n=cu,e=uu,r=lu;function i(i){var o,a,s=Array.from(t.apply(this,arguments),fu),u=s.length,c=-1;for(const t of i)for(o=0,++c;o<u;++o)(s[o][c]=[0,+r(t,s[o].key,c,i)]).data=t;for(o=0,a=Xo(n(s));o<u;++o)s[a[o]].index=o;return e(s,a),s}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:Zo(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Zo(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?cu:"function"==typeof t?t:Zo(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?uu:t,i):e},i}function du(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o<a;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}uu(t,n)}}function pu(t,n){if((s=t.length)>0)for(var e,r,i,o,a,s,u=0,c=t[n[0]].length;u<c;++u)for(o=a=0,e=0;e<s;++e)(i=(r=t[n[e]][u])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}function gu(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<e;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}uu(t,n)}}function yu(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var s=0,u=0,c=0;s<i;++s){for(var l=t[n[s]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<s;++d){var p=t[n[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}u+=f,c+=h*f}e[a-1][1]+=e[a-1][0]=o,u&&(o-=c/u)}e[a-1][1]+=e[a-1][0]=o,uu(t,n)}}function vu(t){var n=t.map(_u);return cu(t).sort((function(t,e){return n[t]-n[e]}))}function _u(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}function mu(t){var n=t.map(xu);return cu(t).sort((function(t,e){return n[t]-n[e]}))}function xu(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function bu(t){return mu(t).reverse()}function wu(t){var n,e,r=t.length,i=t.map(xu),o=vu(t),a=0,s=0,u=[],c=[];for(n=0;n<r;++n)e=o[n],a<s?(a+=i[e],u.push(e)):(s+=i[e],c.push(e));return c.reverse().concat(u)}function ku(t){return cu(t).reverse()}Rs.prototype={areaStart:xs,areaEnd:xs,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Xs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ks(this,this._t0,Gs(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ks(this,Gs(this,e=Vs(this,t,n)),e);break;default:Ks(this,this._t0,e=Vs(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Zs.prototype=Object.create(Xs.prototype)).point=function(t,n){Xs.prototype.point.call(this,n,t)},Qs.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},nu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=eu(t),i=eu(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},iu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};const Mu=t=>null!=(void 0!==t._y1?t._y1:t._y)&&null!==t._y0,Eu=t=>n=>t.x(void 0!==n._x1?n._x1:n._x),Au=t=>n=>t.y(void 0!==n._y1?n._y1:n._y),Ou=t=>`curve${(t=>t&&t[0].toUpperCase()+t.slice(1))(t)}`,Su=t=>{const{interpolation:e}=t;if("function"==typeof e)return e;if("string"==typeof e){const{polar:r,openCurve:i=!r}=t,o=i?Ou(e):(t=>`${Ou(t)}Closed`)(e);return n[o]}return Jo},Cu=t=>{const{polar:n,scale:e,horizontal:r}=t;return n?ua().defined(Mu).curve(Su(t)).angle((t=>n=>-1*t.x(void 0!==n._x1?n._x1:n._x)+Math.PI/2)(e)).radius(Au(e)):ea().defined(Mu).curve(Su(t)).x(r?Au(e):Eu(e)).y(r?Eu(e):Au(e))};function Tu(){return Tu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Tu.apply(this,arguments)}const ju=(0,o.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...s}=t,u={id:T(r,t)?.toString(),tabIndex:T(i,t),...s};return e?a().createElement("path",Tu({},u,{ref:n}),a().createElement("desc",null,e)):a().createElement("path",Tu({},u,{ref:n}))})),Nu={startsWith:["data-","aria-"],exactMatch:[]},Du=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return Nu.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>Nu.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,T(r,t)]})))},Pu=t=>null!=(void 0!==t._y1?t._y1:t._y)&&null!==t._y0,Fu=t=>n=>t.x(void 0!==n._x1?n._x1:n._x),Lu=t=>n=>t.y(void 0!==n._y1?n._y1:n._y),Iu=t=>n=>t.y(n._y0),$u={groupComponent:a().createElement("g",null),pathComponent:a().createElement(ju,null),role:"presentation",shapeRendering:"auto"},zu=t=>{const n=(t=>{const n=T(t.ariaLabel,t),e=T(t.desc,t),r=T(t.id,t),i=j(Object.assign({fill:"black"},t.style),t),o=T(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(M()({},t,$u)),{ariaLabel:e,role:r,shapeRendering:i,className:o,polar:s,origin:u,data:c,pathComponent:l,events:f,groupComponent:h,clipPath:d,id:p,style:g,desc:y,tabIndex:v}=n,_=Du(n),m=s&&u?`translate(${u.x}, ${u.y})`:void 0,x=n.transform||m,b=g.stroke&&"none"!==g.stroke&&"transparent"!==g.stroke,w=(t=>{const{polar:n,scale:e}=t,r=Su(t);return n?ca().defined(Pu).curve(r).angle((t=>n=>-1*t.x(void 0!==n._x1?n._x1:n._x)+Math.PI/2)(e)).outerRadius(Lu(e)).innerRadius(Iu(e)):(t=>{const{horizontal:n,scale:e}=t,r=Su(t);return n?ra().defined(Pu).curve(r).x0(Iu(e)).x1(Lu(e)).y(Fu(e)):ra().defined(Pu).curve(r).x(Fu(e)).y1(Lu(e)).y0(Iu(e))})(t)})(n),k=b&&Cu(n),E=g.stroke?"none":g.fill,A={"aria-label":e,className:o,role:r,shapeRendering:i,transform:x,...f,clipPath:d,tabIndex:v},O=a().cloneElement(l,Object.assign({key:`${p}-area`,style:Object.assign({},g,{stroke:E}),d:w(c),desc:y,tabIndex:v},A,_)),S=b?a().cloneElement(l,Object.assign({key:`${p}-area-stroke`,style:Object.assign({},g,{fill:"none"}),d:k(c)},A)):null;return b?a().cloneElement(h,_,[O,S]):O};var Wu=r(660),Uu=r.n(Wu);function Bu(){return Bu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Bu.apply(this,arguments)}const Hu=a().forwardRef(((t,n)=>a().createElement("svg",Bu({ref:n},t)))),Ru=a().createContext(void 0);Ru.displayName="PortalContext";const qu=()=>a().useContext(Ru),Yu=t=>{let{children:n}=t;const[e,r]=a().useState(new Map),i=a().useCallback(((t,n)=>{r((e=>{const r=new Map(e);return r.set(t,n),r}))}),[r]),o=a().useCallback((t=>{r((n=>{const e=new Map(n);return e.delete(t),e}))}),[r]),s=a().useMemo((()=>({addChild:i,removeChild:o,children:e})),[i,o,e]);return a().createElement(Ru.Provider,{value:s},n)},Vu=t=>{let{as:n,...e}=t;const r=qu();if(!r)return null;const i=Array.from(r.children.values());return a().cloneElement(n,e,i)};function Gu(){return Gu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Gu.apply(this,arguments)}const Ku={className:"VictoryContainer",portalComponent:a().createElement(Hu,null),portalZIndex:99,responsive:!0,role:"img"},Xu=t=>{const{role:n,title:e,desc:r,children:i,className:s,portalZIndex:u,portalComponent:c,width:l,height:f,style:h,tabIndex:d,responsive:p,events:g,ouiaId:y,ouiaSafe:v,ouiaType:_,dimensions:m,ariaDescribedBy:x,ariaLabelledBy:b,viewBox:w,preserveAspectRatio:k,userProps:M,titleId:E,descId:A,containerRef:O,localContainerRef:S}=function(t){const n={...Ku,...t},{title:e,desc:r,width:i,height:a,responsive:s}=n,u=(0,o.useRef)(null),c=(0,o.useRef)(Uu()("victory-container-")),l=n.containerId??c.current,f=t=>`${l}-${t}`,h=Du(n),d=s?{width:"100%",height:"100%"}:{width:i,height:a},p=s?`0 0 ${i} ${a}`:void 0,g=s?n.preserveAspectRatio:void 0,y=[e&&f("title"),n["aria-labelledby"]].filter(Boolean).join(" ")||void 0,v=[r&&f("desc"),n["aria-describedby"]].filter(Boolean).join(" ")||void 0,_=f("title"),m=f("desc");return{...n,titleId:_,descId:m,dimensions:d,viewBox:p,preserveAspectRatio:g,ariaLabelledBy:y,ariaDescribedBy:v,userProps:h,localContainerRef:u}}(t);return a().useEffect((()=>{if(!g?.onWheel)return;const t=t=>t.preventDefault(),n=S?.current;return n?.addEventListener("wheel",t),()=>{n?.removeEventListener("wheel",t)}}),[]),a().createElement("div",{className:s,style:{...h,width:p?h?.width:m.width,height:p?h?.height:m.height,pointerEvents:h?.pointerEvents??"none",touchAction:h?.touchAction??"none",position:h?.position??"relative"},"data-ouia-component-id":y,"data-ouia-component-type":_,"data-ouia-safe":v,ref:(C=[S,O],t=>{C.forEach((n=>{L(n)?n(t):null!=n&&(n.current=t)}))})},a().createElement(Yu,null,a().createElement("svg",Gu({width:l,height:f,tabIndex:d,role:n,"aria-labelledby":b,"aria-describedby":x,viewBox:w,preserveAspectRatio:k,style:{...m,pointerEvents:"all"}},M,g),e?a().createElement("title",{id:E},e):null,r?a().createElement("desc",{id:A},r):null,i),a().createElement("div",{style:{...m,zIndex:u,position:"absolute",top:0,left:0}},a().createElement(Vu,{as:c,width:l,height:f,viewBox:w,preserveAspectRatio:k,style:{...m,overflow:"visible"}}))));var C};Xu.role="container";var Zu=r(7709),Qu=r.n(Zu);const Ju=t=>a().createElement("defs",null,a().createElement("clipPath",{id:t.clipId?.toString()},t.children));function tc(){return tc=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},tc.apply(this,arguments)}const nc=(0,o.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...s}=t,u={vectorEffect:"non-scaling-stroke",id:T(r,t)?.toString(),tabIndex:T(i,t),...s};return e?a().createElement("circle",tc({},u,{ref:n}),a().createElement("desc",null,e)):a().createElement("circle",tc({},u,{ref:n}))}));function ec(){return ec=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},ec.apply(this,arguments)}const rc=(0,o.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...s}=t,u={vectorEffect:"non-scaling-stroke",id:T(r,t)?.toString(),tabIndex:T(i,t),...s};return e?a().createElement("rect",ec({},u,{ref:n}),a().createElement("desc",null,e)):a().createElement("rect",ec({},u,{ref:n}))}));class ic extends a().Component{static displayName="VictoryClipContainer";static role="container";static defaultProps={circleComponent:a().createElement(nc,null),rectComponent:a().createElement(rc,null),clipPathComponent:a().createElement(Ju,null),groupComponent:a().createElement("g",null)};constructor(t){super(t),this.clipId=Qu()(t)&&void 0!==t.clipId?t.clipId:Uu()("victory-clip-")}calculateAttributes(t){const{polar:n,origin:e,clipWidth:r=0,clipHeight:i=0,translateX:o=0,translateY:a=0}=t,s=S({padding:t.clipPadding}),u=t.radius||D(t);return{x:(n?e.x:o)-s.left,y:(n?e.y:a)-s.top,width:Math.max((n?u:r)+s.left+s.right,0),height:Math.max((n?u:i)+s.top+s.bottom,0)}}renderClippedGroup(t,n){const e=Du(t),{style:r,events:i,transform:o,children:s,className:u,groupComponent:c,tabIndex:l}=t,f=this.renderClipComponent(t,n),h=Object.assign({className:u,style:r,transform:o,key:`clipped-group-${n}`,clipPath:`url(#${n})`},i);return a().cloneElement(c,{...h,tabIndex:l,...e},[f,...a().Children.toArray(s)])}renderGroup(t){const{style:n,events:e,transform:r,children:i,className:o,groupComponent:s,tabIndex:u}=t;return a().cloneElement(s,Object.assign({className:o,style:n,transform:r,"aria-label":t["aria-label"],tabIndex:u},e),i)}renderClipComponent(t,n){const{polar:e,origin:r,clipWidth:i=0,clipHeight:o=0,translateX:s=0,translateY:u=0,circleComponent:c,rectComponent:l,clipPathComponent:f}=t,{top:h,bottom:d,left:p,right:g}=S({padding:t.clipPadding});let y;if(e){const n=t.radius||D(t),e={r:Math.max(n+p+g,n+h+d,0),cx:r.x-p,cy:r.y-h};y=a().cloneElement(c,e)}else{const t={x:s-p,y:u-h,width:Math.max(i+p+g,0),height:Math.max(o+h+d,0)};y=a().cloneElement(l,t)}return a().cloneElement(f,Object.assign({key:`clip-path-${n}`},t,{clipId:n}),y)}getClipValue(t,n){const e={x:t.clipWidth,y:t.clipHeight};if(void 0!==e[n])return e[n];const r=P(t,n);return r&&Math.abs(r[0]-r[1])||void 0}getTranslateValue(t,n){const e={x:t.translateX,y:t.translateY};if(void 0!==e[n])return e[n];const r=P(t,n);return r?Math.min(...r):void 0}render(){const t=this.getClipValue(this.props,"y"),n=this.getClipValue(this.props,"x");if(void 0===n||void 0===t)return this.renderGroup(this.props);const e=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),i=M()({},this.props,{clipHeight:t,clipWidth:n,translateX:e,translateY:r});return this.renderClippedGroup(i,this.clipId)}}const oc={groupComponent:a().createElement("g",null)},ac=t=>{const n={...oc,...t},[e]=(0,o.useState)(Uu()()),r=qu(),i=Array.isArray(n.children)?n.children[0]:n.children,{groupComponent:s}=n,u=i&&i.props||{},c=u.groupComponent?{groupComponent:s,standalone:!1}:{},l=M()(c,u,E(n,["children","groupComponent"]),{key:u.key??e}),f=i&&a().cloneElement(i,l);return a().useEffect((()=>{r?.addChild(e,f)}),[n.children]),a().useEffect((()=>()=>r?.removeChild(e)),[]),r?null:f};ac.role="portal";const sc=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:o,title:s,...u}=t,c={id:T(r,t)?.toString(),tabIndex:T(o,t),...u};return a().createElement("text",c,s&&a().createElement("title",null,s),e&&a().createElement("desc",null,e),n)},uc=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...o}=t,s={id:T(e,t)?.toString(),tabIndex:T(r,t),...o};return a().createElement("tspan",s)},cc=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce(((t,n)=>[t,cc(n)].join(" ")),cc(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];i.push(`${n}(${e})`)}return i.join(" ").trim()};var lc=r(1594),fc=r.n(lc);const hc={"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},Inter:{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,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},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}},dc={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},pc={em:1,ex:.5},gc={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},yc=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),vc=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},_c=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?dc.hasOwnProperty(e)?r*dc[e]:pc.hasOwnProperty(e)?(n?r*n:r*gc.fontSize)*pc[e]:r:r||0,i},mc=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=M()({},e,gc);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:_c(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:_c(String(r.fontSize))})},xc=(t,n)=>{const e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=((t,n)=>void 0===t||""===t||null===t?0:yc(t).reduce(((t,e,r)=>{const i=mc(n,r),o=e.toString().match(/[(A-Z)(0-9)]/)?1.15*i.fontSize:i.fontSize;return t+i.lineHeight*o}),0))(t,n),i=((t,n)=>{if(void 0===t||""===t||null===t)return 0;const e=yc(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=mc(n,e),s=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>hc[t]))||"Helvetica";return hc[n]})(a),u=t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,n)=>n+t),0)*i;return u+o*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?vc(i,r,e):i,height:1.05*(e?vc(r,i,e):r)}},bc=fc()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),wc=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",kc=fc()(((t,n)=>{let e=bc();e.isConnected||(bc.cache.clear?.(),e=bc());const r=yc(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=mc(n,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=o,r.setAttribute("x","0"),r.setAttribute("y",`${i}`),e.appendChild(r),i+=a.lineHeight*r.getBoundingClientRect().height}const{width:o}=e.getBoundingClientRect();return e.innerHTML="",{width:n?.angle?vc(o,i,n?.angle):o,height:n?.angle?vc(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(wc).join():wc(n)}`)),Mc=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?xc(t,n):kc(t,n)}(t,n),Ec={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ac=(t,n)=>t.datum?O(t,t.datum)[n]:0,Oc=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return Ec.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?Ec.fontSize:t}return Ec.fontSize},Sc=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},Cc=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!h()(n)||Array.isArray(e)&&!h()(e)},Tc=(t,n)=>{const{direction:e,textAnchor:r,x:i,dx:o}=t;if("rtl"===e)return i-n;switch(r){case"middle":return Math.round(i-n/2);case"end":return Math.round(i-n);default:return i+(o||0)}},jc=(t,n)=>{const{verticalAnchor:e,y:r,originalDy:i=0}=t,o=r+i;switch(e){case"start":return Math.floor(o);case"end":return Math.ceil(o-n);default:return Math.floor(o-n/2)}},Nc=(t,n)=>Cc(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:o,backgroundPadding:s,backgroundComponent:u,inline:c,y:l}=t,f=n.map(((t,i)=>{const o=Sc(n,i-1),a=t.textSize,u=t.fontSize*t.lineHeight,f=Math.ceil(u),h=Sc(s,i),d=Sc(s,i-1),p=c&&r||0,g=i&&!c?o.fontSize*o.lineHeight+d.top+d.bottom:e-.5*u-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+h.top+h.bottom,widthWithPadding:a.width+h.left+h.right+p,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((n,e)=>{const r=Tc(t,n.labelSize.width),h=f.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),d=Sc(s,e),p=n.heightWithPadding,g=c?((t,n,e)=>{const{textAnchor:r}=t,i=n.map((t=>t.widthWithPadding)),o=-i.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return i.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return i.reduce(((t,n,r)=>r>e?t-n:t),0);default:return i.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),o)}})(t,f,e)+r-d.left:r,y=c?jc(t,p)-d.top:h,v={key:`tspan-background-${e}`,height:p,style:Sc(o,e),width:n.widthWithPadding,transform:i,x:g-d.left,y:y};return a().cloneElement(u,M()({},u.props,v))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:o,inline:s,backgroundPadding:u,capHeight:c}=t,l=n.map((t=>t.textSize)),f=s?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const i=r?0:c/2;return t+e.height*(n[r].lineHeight-i)}),0),h=s?l.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...l.map((t=>t.width))),d=Tc(t,h),p=jc(t,f),g={key:"background",height:f+u.top+u.bottom,style:o,transform:r,width:h+u.left+u.right,x:s?d-u.left:d+e-u.left,y:p};return a().cloneElement(i,M()({},i.props,g))})(t,n),Dc=(t,n,e)=>{const{inline:r}=n,i=Sc(t,e);return e&&!r?((t,n,e)=>{const r=Sc(t,n),i=Sc(t,n-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,s=i.fontSize-i.capHeight,u=r.fontSize-r.capHeight,c=o-i.fontSize/2+r.fontSize/2-o/2+a/2-u/2+s/2;return Cc(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},Pc=t=>{const n=T(t.ariaLabel,t),e=Sc(t.style),r=(t=>{const n=T(t.lineHeight,t);return Array.isArray(n)&&h()(n)?[1]:n})(t),i=t.direction?T(t.direction,t):"inherit",o=t.textAnchor?T(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?T(t.verticalAnchor,t):e.verticalAnchor||"middle",s=t.dx?T(t.dx,t):0,u=((t,n,e)=>{const r=t.dy?T(t.dy,t):0,i=t.inline?1:t.text.length,o=T(t.capHeight,t),a=n?T(n,t):"middle",s=[...Array(i).keys()].map((n=>Sc(t.style,n).fontSize)),u=[...Array(i).keys()].map((t=>Sc(e,t)));if("start"===a)return r+(o/2+u[0]/2)*s[0];if(t.inline)return"end"===a?r+(o/2-u[0]/2)*s[0]:r+o/2*s[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*u[0])*s[0]:r+(o/2+(.5-i/2)*u[0])*s[0];const c=[...Array(i).keys()].reduce(((t,n)=>t+(o/2+(.5-i)*u[n])*s[n]/i),0);return"end"===a?r+c:r+c/2+o/2*u[i-1]*s[i-1]})(t,a,r),c=void 0!==t.x?t.x:Ac(t,"x"),l=void 0!==t.y?t.y:Ac(t,"y"),f=((t,n,e)=>{const{polar:r}=t,i=Sc(t.style),o=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=Wo(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===i.angle?T(t.angle,t):i.angle,s=void 0===a?o:a,u=t.transform||i.transform,c=u&&T(u,t);return c||s?cc(c,s&&{rotate:[s,n,e]}):void 0})(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:s,dy:u,originalDy:T(t.dy,t),transform:f,x:c,y:l})},Fc={backgroundComponent:a().createElement(rc,null),groupComponent:a().createElement("g",null),direction:"inherit",textComponent:a().createElement(sc,null),tspanComponent:a().createElement(uc,null),capHeight:.71,lineHeight:1},Lc=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>T(t,n)));const e=T(t,n);return null!=e?Array.isArray(e)?e:`${e}`.split("\n"):void 0})(t.text,t),e=((t,n)=>{if(n.disableInlineStyles){const e=j(t,n);return{fontSize:Oc(e)}}const e=t=>{const e=j(t?M()({},t,Ec):Ec,n);return Object.assign({},e,{fontSize:Oc(e)})};return Array.isArray(t)&&!h()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!h()(t)?t.map((t=>j(t,n))):j(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>S({padding:T(n,t)}))):S({padding:T(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=T(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})(M()({},t,Fc));if(null===n.text||void 0===n.text)return null;const e=Pc(n),{text:r,style:i,capHeight:o,backgroundPadding:s,lineHeight:u}=e,c=r.map(((t,n)=>{const e=Sc(i,n),r=_c(`${o}em`,e.fontSize),a=Sc(u,n);return{style:e,fontSize:e.fontSize||Ec.fontSize,capHeight:r,text:t,textSize:Mc(t,e),lineHeight:a,backgroundPadding:Sc(s,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:o,events:s,direction:u,text:c,textAnchor:l,dx:f,dy:h,transform:d,x:p,y:g,desc:y,id:v,tabIndex:_,tspanComponent:m,textComponent:x}=t,b=Du(t),w={"aria-label":e,key:"text",...s,direction:u,dx:f,x:p,y:g+h,transform:d,className:i,title:o,desc:T(y,t),tabIndex:T(_,t),id:v,...b},k=c.map(((e,i)=>{const o=n[i].style,s={key:`${v}-key-${i}`,x:r?void 0:p,dx:r?f+n[i].backgroundPadding.left:f,dy:Dc(n,t,i),textAnchor:o.textAnchor||l,style:o,children:e};return a().cloneElement(m,s)}));return a().cloneElement(x,w,k)})(e,c);if(n.backgroundStyle){const t=[Nc(e,c),l],r=a().cloneElement(n.groupComponent,{},t);return n.renderInPortal?a().createElement(ac,null,r):r}return n.renderInPortal?a().createElement(ac,null,l):l};Lc.displayName="VictoryLabel",Lc.role="label",Lc.defaultStyles=Ec;const Ic=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],$c="#252525",zc="#969696",Wc={width:450,height:300,padding:50,colorScale:Ic},Uc={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:$c,stroke:"transparent"},Bc=Object.assign({textAnchor:"middle"},Uc),Hc={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Ic,qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:$c},labels:Uc}},Wc),axis:Object.assign({style:{axis:{fill:"transparent",stroke:$c,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Bc,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Uc}},Wc),bar:Object.assign({style:{data:{fill:$c,padding:8,strokeWidth:0},labels:Uc}},Wc),boxplot:Object.assign({style:{max:{padding:8,stroke:$c,strokeWidth:1},maxLabels:Object.assign({},Uc,{padding:3}),median:{padding:8,stroke:$c,strokeWidth:1},medianLabels:Object.assign({},Uc,{padding:3}),min:{padding:8,stroke:$c,strokeWidth:1},minLabels:Object.assign({},Uc,{padding:3}),q1:{padding:8,fill:zc},q1Labels:Object.assign({},Uc,{padding:3}),q3:{padding:8,fill:zc},q3Labels:Object.assign({},Uc,{padding:3})},boxWidth:20},Wc),candlestick:Object.assign({style:{data:{stroke:$c,strokeWidth:1},labels:Object.assign({},Uc,{padding:5})},candleColors:{positive:"#ffffff",negative:$c}},Wc),chart:Wc,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:$c,strokeWidth:2},labels:Uc}},Wc),group:Object.assign({colorScale:Ic},Wc),histogram:Object.assign({style:{data:{fill:zc,stroke:$c,strokeWidth:2},labels:Uc}},Wc),legend:{colorScale:Ic,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Uc,title:Object.assign({},Uc,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:$c,strokeWidth:2},labels:Uc}},Wc),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Uc,{padding:20})},colorScale:Ic,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:$c,stroke:"transparent",strokeWidth:0},labels:Uc}},Wc),stack:Object.assign({colorScale:Ic},Wc),tooltip:{style:Object.assign({},Uc,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:$c,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Uc,{padding:5,pointerEvents:"none"}),flyout:{stroke:$c,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Wc)},Rc="#FFF59D",qc="#F4511E",Yc="#8BC34A",Vc="#00796B",Gc="#006064",Kc=[qc,Rc,"#DCE775",Yc,Vc,Gc],Xc="#ECEFF1",Zc="#90A4AE",Qc="#455A64",Jc="#212121",tl={width:350,height:350,padding:50},nl={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Qc,stroke:"transparent",strokeWidth:0},el=Object.assign({textAnchor:"middle"},nl),rl="round",il="round",ol=(Object.assign({style:{data:{fill:Jc},labels:nl}},tl),Object.assign({style:{axis:{fill:"transparent",stroke:Zc,strokeWidth:2,strokeLinecap:rl,strokeLinejoin:il},axisLabel:Object.assign({},el,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Xc,strokeDasharray:"10, 5",strokeLinecap:rl,strokeLinejoin:il,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Zc,strokeWidth:1,strokeLinecap:rl,strokeLinejoin:il},tickLabels:Object.assign({},nl,{fill:Qc})}},tl),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:Qc,padding:8,strokeWidth:0},labels:nl}},tl),Object.assign({style:{max:{padding:8,stroke:Qc,strokeWidth:1},maxLabels:Object.assign({},nl,{padding:3}),median:{padding:8,stroke:Qc,strokeWidth:1},medianLabels:Object.assign({},nl,{padding:3}),min:{padding:8,stroke:Qc,strokeWidth:1},minLabels:Object.assign({},nl,{padding:3}),q1:{padding:8,fill:Qc},q1Labels:Object.assign({},nl,{padding:3}),q3:{padding:8,fill:Qc},q3Labels:Object.assign({},nl,{padding:3})},boxWidth:20},tl),Object.assign({style:{data:{stroke:Qc},labels:Object.assign({},nl,{padding:5})},candleColors:{positive:"#ffffff",negative:Qc}},tl),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Qc,strokeWidth:2},labels:nl}},tl),Object.assign({colorScale:Kc},tl),Object.assign({style:{data:{fill:Qc,stroke:Jc,strokeWidth:2},labels:nl}},tl),Object.assign({},nl,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Qc,strokeWidth:2},labels:nl}},tl),Object.assign({colorScale:Kc,style:{data:{padding:8,stroke:Xc,strokeWidth:1},labels:Object.assign({},nl,{padding:20})}},tl),Object.assign({style:{data:{fill:Qc,opacity:1,stroke:"transparent",strokeWidth:0},labels:nl}},tl),Object.assign({colorScale:Kc},tl),Object.assign({},nl,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},nl,{padding:5,pointerEvents:"none"}),flyout:{stroke:Jc,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},tl),"#FFFFFF"),al="#F2F2F2",sl="#E0E0E0",ul="#D1D1D1",cl="#757575",ll="#424242",fl="#292929",hl="#FCB400",dl="#FF6F2C",pl={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},gl="#8B46FF",yl={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},vl="#18BFFF",_l="#20D9D2",ml={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},xl={blue:yl[500],cyan:vl,green:ml[500],yellow:hl,orange:dl,red:pl[500],purple:gl,teal:_l},bl=Object.values(xl),wl=(Object.values(pl),Object.values(ml),Object.values(yl),yl[500]),kl={width:450,height:300,padding:60,colorScale:bl},Ml={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:fl,stroke:"transparent"},El=Object.assign({textAnchor:"middle"},Ml),Al="10, 5",Ol="round",Sl="round",Cl=(Object.assign({style:{data:{fill:wl,strokeWidth:2,fillOpacity:.5},labels:Ml}},kl),Object.assign({style:{axis:{fill:"transparent",stroke:cl,strokeWidth:1,strokeLinecap:Ol,strokeLinejoin:Sl},axisLabel:Object.assign({},El,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Ml}},kl),Object.assign({style:{axis:{stroke:cl},grid:{stroke:ul,strokeDasharray:Al,strokeLinecap:Ol,strokeLinejoin:Sl,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:ul,strokeWidth:1,strokeLinecap:Ol,strokeLinejoin:Sl},tickLabels:Ml}}),Object.assign({style:{axis:{stroke:cl},grid:{stroke:ul,strokeDasharray:Al,strokeLinecap:Ol,strokeLinejoin:Sl,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:sl,strokeWidth:1,strokeLinecap:Ol,strokeLinejoin:Sl},tickLabels:Ml}}),Object.assign({style:{data:{fill:wl,padding:8,strokeWidth:1,fillOpacity:.5},labels:Ml},cornerRadius:{top:1}},kl),Object.assign({style:{max:{padding:8,stroke:ul,strokeWidth:2},maxLabels:Object.assign({},Ml,{padding:3}),median:{padding:8,stroke:ol,strokeWidth:2},medianLabels:Object.assign({},Ml,{padding:3}),min:{padding:8,stroke:ul,strokeWidth:2},minLabels:Object.assign({},Ml,{padding:3}),q1:{padding:8,fill:bl[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},Ml,{padding:3}),q3:{padding:8,fill:bl[1],rx:1},q3Labels:Object.assign({},Ml,{padding:3})},boxWidth:20},kl),Object.assign({style:{data:{stroke:sl,strokeWidth:0,rx:1},labels:Object.assign({},Ml,{padding:5})},candleColors:{positive:ml[500],negative:pl[500]},wickStrokeWidth:2},kl),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ll,strokeWidth:2,strokeLinecap:Ol},labels:Ml}},kl),Object.assign({colorScale:bl},kl),Object.assign({style:{data:{fill:vl,fillOpacity:.5},labels:Ml},binSpacing:4,cornerRadius:{top:1}},kl),Object.assign({},Ml,{padding:8,fontSize:16}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:wl,strokeWidth:2,strokeLinecap:Ol,strokeLinejoin:Sl},labels:Ml}},kl),Object.assign({style:{parent:{backgroundColor:ol},data:{padding:8,stroke:ol,strokeWidth:1},labels:{...Ml,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:bl,cornerRadius:1},kl),Object.assign({style:{data:{fill:wl,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Ml,padding:20}}},kl),Object.assign({colorScale:bl},kl),Object.assign({},Ml,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:yl[100],stroke:wl,strokeWidth:2},labels:Object.assign({},Ml,{padding:5,pointerEvents:"none"}),flyout:{stroke:fl,strokeWidth:1,fill:al,pointerEvents:"none"},padding:{left:2,bottom:2}}},kl),Hc);var Tl=r(7491),jl=r.n(Tl);const Nl=t=>+t;function Dl(t){return t*t}function Pl(t){return t*(2-t)}function Fl(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Ll(t){return t*t*t}function Il(t){return--t*t*t+1}function $l(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var zl=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Wl=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Ul=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Bl=Math.PI,Hl=Bl/2;function Rl(t){return 1==+t?1:1-Math.cos(t*Hl)}function ql(t){return Math.sin(t*Hl)}function Yl(t){return(1-Math.cos(Bl*t))/2}function Vl(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Gl(t){return Vl(1-+t)}function Kl(t){return 1-Vl(t)}function Xl(t){return((t*=2)<=1?Vl(1-t):2-Vl(t-1))/2}function Zl(t){return 1-Math.sqrt(1-t*t)}function Ql(t){return Math.sqrt(1- --t*t)}function Jl(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var tf=7.5625;function nf(t){return 1-ef(1-t)}function ef(t){return(t=+t)<.36363636363636365?tf*t*t:t<.7272727272727273?tf*(t-=.5454545454545454)*t+.75:t<.9090909090909091?tf*(t-=.8181818181818182)*t+.9375:tf*(t-=.9545454545454546)*t+.984375}function rf(t){return((t*=2)<=1?1-ef(1-t):ef(t-1)+1)/2}var of=1.70158,af=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(of),sf=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(of),uf=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(of),cf=2*Math.PI,lf=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=cf);function i(t){return n*Vl(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*cf)},i.period=function(e){return t(n,e)},i}(1,.3),ff=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=cf);function i(t){return 1-n*Vl(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*cf)},i.period=function(e){return t(n,e)},i}(1,.3),hf=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=cf);function i(t){return((t=2*t-1)<0?n*Vl(-t)*Math.sin((r-t)/e):2-n*Vl(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*cf)},i.period=function(e){return t(n,e)},i}(1,.3);const df=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||_()(t)}return!1},pf=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},gf=function(t,n){return function(e){return e>=1?n:function(){const r="function"==typeof t?t.apply(this,arguments):t,i="function"==typeof n?n.apply(this,arguments):n;return cn(r,i)(e)}}},yf=function(t,n){const e=(t,n)=>t!==n&&df(t)&&df(n)?"function"==typeof t||"function"==typeof n?gf(t,n):"object"==typeof t&&_()(t)||"object"==typeof n&&_()(n)?yf(t,n):cn(t,n):pf(t,n),r=t=>Array.isArray(t)?p()(t,"key"):t,i={},o={};let a,s=t,u=n;for(a in null!==s&&"object"==typeof s||(s={}),null!==u&&"object"==typeof u||(u={}),u)a in s?i[a]=e(r(s[a]),r(u[a])):o[a]=u[a];return function(t){for(a in i)o[a]=i[a](t);return o}};var vf,_f,mf=0,xf=0,bf=0,wf=0,kf=0,Mf=0,Ef="object"==typeof performance&&performance.now?performance:Date,Af="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Of(){return kf||(Af(Sf),kf=Ef.now()+Mf)}function Sf(){kf=0}function Cf(){this._call=this._time=this._next=null}function Tf(t,n,e){var r=new Cf;return r.restart(t,n,e),r}function jf(){kf=(wf=Ef.now())+Mf,mf=xf=0;try{!function(){Of(),++mf;for(var t,n=vf;n;)(t=kf-n._time)>=0&&n._call.call(void 0,t),n=n._next;--mf}()}finally{mf=0,function(){for(var t,n,e=vf,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:vf=n);_f=t,Df(r)}(),kf=0}}function Nf(){var t=Ef.now(),n=t-wf;n>1e3&&(Mf-=n,wf=t)}function Df(t){mf||(xf&&(xf=clearTimeout(xf)),t-kf>24?(t<1/0&&(xf=setTimeout(jf,t-Ef.now()-Mf)),bf&&(bf=clearInterval(bf))):(bf||(wf=Ef.now(),bf=setInterval(Nf,1e3)),mf=1,Af(jf)))}Cf.prototype=Tf.prototype={constructor:Cf,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Of():+e)+(null==n?0:+n),this._next||_f===this||(_f?_f._next=this:vf=this,_f=this),this._call=t,this._time=e,Df()},stop:function(){this._call&&(this._call=null,this._time=1/0,Df())}};class Pf{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(Of()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Tf(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:Of(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const Ff=a().createContext({transitionTimer:new Pf,animationTimer:new Pf});Ff.displayName="TimerContext";var Lf=Ff;const If=1e3,$f=t=>{let{duration:n=If,easing:r="quadInOut",delay:i=0,data:o,children:s,onEnd:u}=t;const[c,l]=a().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),f=a().useContext(Lf).animationTimer,h=a().useRef(Array.isArray(o)?o.slice(1):[]),d=a().useRef(null),p=a().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;a().useEffect((()=>(h.current.length&&v(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),a().useEffect((()=>{d.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:d.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),h.current=Array.isArray(o)?o:[o],v())}),[o]);const v=()=>{if(h.current.length){const t=h.current[0];d.current=function(t,n){return t!==n&&df(t)&&df(n)?"function"==typeof t||"function"==typeof n?gf(t,n):_()(t)||_()(n)?yf(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return cn(e(t),e(n))}(t,n):cn(t,n):pf(t,n)}(c.data,t),i?setTimeout((()=>{p.current=f.subscribe(m,n)}),i):p.current=f.subscribe(m,n)}else u&&u()},m=t=>{if(!d.current)return;const e=n?t/n:1;if(e>=1)return l({data:d.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),h.current.shift(),void v();l({data:d.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(c.data,c.animationInfo)};var zf=r(5346),Wf=r.n(zf);function Uf(t,n){return(t.key||n).toString()}function Bf(t){return t.reduce(((t,n,e)=>(t[Uf(n,e)]=n,t)),{})}function Hf(t,n){let e=!1;const r=Object.keys(t).reduce(((t,r)=>(r in n||(e=!0,t[r]=!0),t)),{});return e&&r}function Rf(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function qf(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((o,s)=>o&&o.props&&o.props.children&&n[s]?i(a().Children.toArray(t[s].props.children),a().Children.toArray(n[s].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&Bf(t),r=n&&Bf(n);return{entering:e&&Hf(r,e),exiting:r&&Hf(e,r)}}(Rf(t),Rf(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(o,n[s]))),o=i(a().Children.toArray(t),a().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function Yf(t,n,e){const r=n&&n.nodesWillExit,i=n&&n.nodesWillEnter,o=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,s=n&&n.nodesDoneLoad,u=n&&n.childrenTransitions||[],c={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,n,r)=>a?function(t,n,r){const i=Object.assign({},t,{onEnd:()=>{e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let o=n;if(i&&i.onLoad&&!i.onLoad.duration)return{animate:t,data:n};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:Wf();return o=n.map(((t,e)=>Object.assign({},t,a(t,e,n)))),{animate:i,data:o}}(r,n):function(t,n,r,i){const o=Object.assign({},t,{onEnd:()=>{e({nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:o,data:r};const a=o.onLoad&&o.onLoad.before?o.onLoad.before:Wf();return{animate:o,data:r.map(((t,n)=>Object.assign({},t,a(t,n,r)))),clipWidth:0}}(r,0,n),f=(t,n,r,i)=>function(t,n,r,i,o){const a=t&&t.onExit,s=Object.assign({},t,a);let u=r;if(i){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:Wf();u=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:s,data:u}}(i,0,r,t),h=(t,n,r,i)=>o?function(t,n,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let s=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Wf();s=n.map(((e,i)=>{const o=Uf(e,i);return r[o]?Object.assign({},e,t(e,i,n)):e}))}return{animate:a,data:s}}(i,r,t):function(t,n,r,i,o){let a=t,s=r;if(i){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:Wf();s=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:a,data:s}}(i,0,r,t),d=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const p=Rf(e)||[],g=M()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;g.onExit=M()({},g.onExit,y&&y.onExit),g.onEnter=M()({},g.onEnter,y&&y.onEnter),g.onLoad=M()({},g.onLoad,y&&y.onLoad);const v=u[a]||u[0];if(!s){const t={duration:void 0!==c.load?c.load:d(e,"onLoad")};return l(0,p,Object.assign({},g,t))}if(r){const t=v&&v.exiting,n=void 0!==c.exit?c.exit:d(e,"onExit"),r=t?{duration:n}:{delay:n};return f(t,0,p,Object.assign({},g,r))}if(i){const t=v&&v.entering,n=void 0!==c.enter?c.enter:d(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,i={duration:o&&t?n:r};return h(t,0,p,Object.assign({},g,i))}return!n&&g&&g.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Wf();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(g,p):{animate:g,data:p}}}function Vf(){return Vf=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Vf.apply(this,arguments)}class Gf extends a().Component{static displayName="VictoryTransition";static contextType=Lf;constructor(t,n){super(t,n),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const e=this.props.children,r=e.props.polar;this.continuous=!r&&e.type&&!0===e.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return jl()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,n){const{animate:e}=t;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};const r=a().Children.toArray(t.children),i=a().Children.toArray(n.children),{nodesWillExit:o,nodesWillEnter:s,childrenTransitions:u,nodesShouldEnter:c}=qf(r,i);return{nodesWillExit:o,nodesWillEnter:s,childrenTransitions:u,nodesShouldEnter:c,oldProps:o?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&L(r.type.getDomain)){const e=r.props&&r.type.getDomain(r.props,n);return e?t.concat(e):t}return r.props&&r.props.children?t.concat(e(a().Children.toArray(r.props.children))):t}),[]),r=a().Children.toArray(t.children)[0],i=r.props||{},o=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[n];if(!i.children&&o)return o;const s=e([r]);return 0===s.length?[0,1]:[B(s),U(s)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const n=t.animate?.parentState;return n&&n.nodesWillExit?(this.continuous||n.continuous)&&(n.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,n){const e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:(()=>{const e=P(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width})()}render(){const t=this.pickProps(),n=this.props.animate?.getTransitions?this.props.animate.getTransitions:Yf(t,this.state,(t=>this.setState(t))),e=a().Children.toArray(t.children)[0],r=n(e);this.transitionProps=r;const i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},o=this.getClipWidth(t,e),s=M()({domain:i,clipWidth:o},r,e.props),u=(t.animationWhitelist||[]).concat(["clipWidth"]),c=u.length?w()(s,u):s;return a().createElement($f,Vf({},s.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?a().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return a().cloneElement(e,M()({animate:null,animating:!0,groupComponent:n},t,s))}return a().cloneElement(e,M()({animate:null,animating:!0},t,s))}))}}var Kf=r(4912),Xf=r.n(Kf);const Zf=/^onGlobal(.*)$/;function Qf(t,n,e,r){const i=t=>{const r=(()=>{const r=t.reduce(((t,e)=>void 0!==e.target?(Array.isArray(e.target)?e.target.includes(n):`${e.target}`==`${n}`)?t.concat(e):t:t.concat(e)),[]);return void 0!==e&&"parent"!==n?r.filter((t=>{const n=t.eventKey,r=t=>!t||`${t}`==`${e}`;return Array.isArray(n)?n.some((t=>r(t))):r(n)})):r})();return Array.isArray(r)&&r.reduce(((t,n)=>n?Object.assign(t,n.eventHandlers):t),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=o&&L(r)?r(i(o),n):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,u=t.sharedEvents.events&&s(i(t.sharedEvents.events),n);return Object.assign({},u,a)}function Jf(t,n,e,r){if(h()(t))return{};const i=r||this.baseProps,o=(t,n)=>{const{childName:e,target:r,key:o}=t,a="props"===n?i:this.state||{},s=null!=e&&a[e]?a[e]:a;return"parent"===o?s.parent:s[o]&&s[o][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,s=t.target||n,u=(n,e)=>{const r=this.state||{};if(!L(t.mutation))return r;const a=o({childName:e,key:n,target:s},"props"),u=o({childName:e,key:n,target:s},"state"),c=t.mutation(Object.assign({},a,u),i),l=r[e]||{},f=t=>c?(t=>"parent"===s?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[s]:c})}))(t):(t=>(t[n]&&t[n][s]&&delete t[n][s],t[n]&&!Object.keys(t[n]).length&&delete t[n],t))(t);return null!=e?Object.assign(r,{[e]:f(l)}):f(r)},c=n=>{const e=(n=>"parent"===s?"parent":"all"===t.eventKey?i[n]?Object.keys(i[n]).filter((t=>"parent"!==t)):Object.keys(i).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?i[n]?Object.keys(i[n]):Object.keys(i):void 0!==t.eventKey?t.eventKey:r)(n);return Array.isArray(e)?e.reduce(((t,e)=>Object.assign(t,u(e,n))),{}):u(e,n)},l="all"===a?Object.keys(i).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,n)=>Object.assign(t,c(n))),{}):c(l)},s=(n,e,r,i)=>{const o=t[i](n,e,r,this);if(!h()(o)){const t=(t=>{const n=t=>L(t.callback)&&t.callback,e=(Array.isArray(t)?t.map((t=>n(t))):[n(t)]).filter((t=>!1!==t));return e.length?()=>e.forEach((t=>t())):void 0})(o);this.setState(((t,n)=>Array.isArray(t)?t.reduce(((t,e)=>Object.assign({},t,a(e,n))),{}):a(t,n))(o,r),t)}};return Object.keys(t).reduce(((t,n)=>(t[n]=s,t)),{})}function th(t,n,e){const r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function nh(t,n,e,r){const i=(t,n)=>"string"==typeof t[n]?"all"===t[n]||t[n]===r[n]:!!Array.isArray(t[n])&&t[n].map((t=>`${t}`)).includes(r[n]);let o=Array.isArray(t)?t:[t];r.childName&&(o=t.filter((t=>i(t,"childName"))));const a=o.filter((t=>i(t,"target")));if(h()(a))return;const s=a.filter((t=>i(t,"eventKey")));return h()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&L(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function eh(t){const n=t.match(Zf);return n&&n[1]&&n[1].toLowerCase()}const rh=t=>!F(t._x)&&!F(t._y),ih=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],oh={width:450,height:300,padding:50,interpolation:"linear"};class ah extends a().Component{static animationWhitelist=["data","domain","height","padding","style","width"];static defaultProps={containerComponent:a().createElement(Xu,null),dataComponent:a().createElement(zu,null),groupComponent:a().createElement(ic,null),labelComponent:a().createElement(Lc,{renderInPortal:!0}),samples:50,sortKey:"x",sortOrder:"ascending",standalone:!0,theme:Cl};static displayName="VictoryArea";static role="area";static continuous=!0;static defaultTransitions={onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}};static defaultPolarTransitions={onLoad:{duration:2e3,before:()=>({_y:0,_y1:0,_y0:0}),after:t=>({_y:t._y,_y1:t._y1,_y0:t._y0})},onExit:{duration:500,before:(t,n,e)=>{const r=t=>(0===n?e[n+1]:e[n-1])[t];return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:(t,n,e)=>{const r=t=>(0===n?e[n+1]:e[n-1])[t];return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:t=>({_x:t._x,_y:t._y,_y1:t._y1,_y0:t._y0})}};static getDomain=Po;static getData=ko;static getBaseProps(t){return((t,n)=>{const e=$(t,n,"area"),r=Object.assign({},e,(t=>{const{polar:n}=t,e=function(t,n){const{theme:e={},labelComponent:r}=t,i=e.area&&e.area.style||{};if(!C(r))return i;const o=e.tooltip&&e.tooltip.style||{},a=M()({},o,i.labels);return M()({},{labels:a},i)}(t),r=function(t,n){const e="100%",r="100%";if(!t)return M()({parent:{height:r,width:e}},n);const{data:i,labels:o,parent:a}=t,s=n&&n.parent||{},u=n&&n.labels||{},c=n&&n.data||{};return{parent:M()({},a,s,{width:e,height:r}),labels:M()({},o,u),data:M()({},i,c)}}(t.style,e),i={x:P(t,"x"),y:P(t,"y")},o={x:Po(t,"x"),y:Po(t,"y")},a={x:lo(t,"x").domain(o.x).range(t.horizontal?i.y:i.x),y:lo(t,"y").domain(o.y).range(t.horizontal?i.x:i.y)},s=n?t.origin||function(t){const{width:n,height:e}=t,{top:r,bottom:i,left:o,right:a}=S(t),s=Math.min(n-o-a,e-r-i)/2,u=n/2+o-a,c=e/2+r-i;return{x:u+s>n?s+o-a:u,y:c+s>e?s+r-i:c}}(t):void 0,u=((t,n)=>{let e=ko(t);e.length<2&&(e=[]);const r=t=>{const e="log"===po(n[t])?1/Number.MAX_SAFE_INTEGER:0,r=n[t].domain(),i=B(r),o=U(r);let a=e;return i<0&&o<=0?a=o:i>=0&&o>0&&(a=i),z(r)?new Date(a):a};return e.map((t=>{const n=void 0!==t._y1?t._y1:t._y,e=void 0!==t._y0?t._y0:r("y"),i=void 0!==t._x1?t._x1:t._x,o=void 0!==t._x0?t._x0:r("x");return Object.assign({},t,{_y0:e,_y1:n,_x0:o,_x1:i})}))})(t,a);return{style:r,data:u,scale:a,domain:o,origin:s}})(e)),{data:i,domain:o,events:a,groupComponent:s,height:u,horizontal:c,interpolation:l,origin:f,padding:h,polar:d,scale:p,sharedEvents:g,standalone:y,style:v,theme:_,width:m,labels:x,name:b,disableInlineStyles:w}=r,k={parent:{style:v.parent,width:m,height:u,scale:p,data:i,domain:o,standalone:y,theme:_,polar:d,origin:f,padding:h,name:b,horizontal:c},all:{data:{horizontal:c,polar:d,origin:f,scale:p,data:i,interpolation:l,groupComponent:s,style:w?{}:v.data,disableInlineStyles:w}}};return i.reduce(((t,n,e)=>((null!=zo(r,n,e)||x&&(a||g))&&(t[F(n.eventKey)?e:n.eventKey]={labels:Uo(r,e)}),t)),k)})(t,oh)}static expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];shouldAnimate(){return!!this.props.animate}render(){const{animationWhitelist:t,role:n}=ah,e=$(this.props,oh,n);if(this.shouldAnimate())return this.animateComponent(e,t);const r=this.renderContinuousData(e);return((t,n)=>o.cloneElement(t,Du(n)))(e.standalone?this.renderContainer(e.containerComponent,r):r,e)}}const sh=(uh=ah,void 0===(ch={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]})&&(ch={}),class extends uh{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=th.bind(this);getScopedEvents=Jf.bind(this);getEvents=(t,n,e)=>Qf.call(this,t,n,e,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!jl()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;const i=this.getStateChanges(t);return jl()(this.calculatedState,i)?!jl()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const n=this.getStateChanges(t);this.calculatedState=n;const e=Object.keys(this.globalEvents);W(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),W(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(eh(t),n)}removeGlobalListener(t){window.removeEventListener(eh(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=M()({},this.getEventState(t,n),this.getSharedEventState(t,n));return h()(e)?void 0:e};return(ch.components||ih).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!h()(n)){const e=t.externalEventMutations.reduce(((t,n)=>L(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=L(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}(t,uh.expectedComponents),r=n&&L(n.getEventState)?n.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return h()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((i,o)=>{const a=e[o]||{},s=n[o]||{};if("parent"===o){const n=nh(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=x()(Object.keys(s).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},u=nh(t,s[e],a[e],i);return n[e]=void 0!==u?Object.assign({},a[e],u):a[e],Xf()(n,(t=>!h()(t)))}),{})}return Xf()(i,(t=>!h()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),i=M()({},r,e),o=i.parentControlledProps,a=o?w()(i,o):{},s=M()({},a,t);return"function"==typeof uh.getBaseProps?uh.getBaseProps(s):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||uh.role,i=this.dataKeys&&this.dataKeys[e]||e,o=`${r}-${n}-${i}`,a=this.baseProps[i]&&this.baseProps[i][n]||this.baseProps[i];if(!a&&!this.hasEvents)return;const s=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,i),r=M()({index:e,key:o},this.getEventState(i,n),this.getSharedEventState(i,n),s,a,{id:o}),u=M()({},function(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:u})}return M()({index:e,key:o},s,a,{id:o})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,Xf()(r,((t,n)=>Zf.test(n)))),e.events=(t=>u()(t,((t,n)=>Zf.test(n))))(e.events)),a().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return a().createElement(Gf,{animate:t.animate,animationWhitelist:e},a().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),o=i.reduce(((t,n)=>{let r=t;const i=this.getComponentProps(e,"labels",n);return i&&void 0!==i.text&&null!==i.text&&(r=r.concat(a().cloneElement(e,i))),r}),[]),s=this.getComponentProps(n,"data","all"),u=[a().cloneElement(n,s),...o];return this.renderContainer(r,u)}renderData(t,n){void 0===n&&(n=rh);const{dataComponent:e,labelComponent:r,groupComponent:i}=t,o=[...this.dataKeys.reduce(((t,r,i)=>{const o=this.getComponentProps(e,"data",i);return n(o.datum)&&t.push(a().cloneElement(e,o)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return a().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,o)}});var uh,ch}(),i}()}));
2
2
  //# sourceMappingURL=victory-area.min.js.map