victory-core 37.2.0 → 37.3.1

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.VictoryCore=n(require("react")):t.VictoryCore=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)}},6649:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},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}},4508:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},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]",p="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,m){var v=u(t),x=u(n),_=v?h:s(t),b=x?h:s(n),w=(_=_==f?p:_)==p,M=(b=b==f?p:b)==p,A=_==b;if(A&&c(t)){if(!c(n))return!1;v=!0,w=!1}if(A&&!w)return m||(m=new r),v||l(t)?i(t,n,e,g,y,m):o(t,n,_,e,g,y,m);if(!(1&e)){var k=w&&d.call(t,"__wrapped__"),E=M&&d.call(n,"__wrapped__");if(k||E){var C=k?t.value():t,S=E?n.value():n;return m||(m=new r),y(C,S,e,g,m)}}return!!A&&(m||(m=new r),a(t,n,e,g,y,m))}},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 p=new r;if(o)var d=o(f,h,l,t,n,p);if(!(void 0===d?i(h,f,3,o,p):d))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 p=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++h,value:t}}));return s(p,(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 p=s(n[c]),d=e;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(c!=f){var g=h[p];void 0===(d=u?u(g,p,h):void 0)&&(d=a(g)?g:o(n[c+1])?[]:{})}r(h,p,d),h=h[p]}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,p=[],d=p;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,d=new r}else d=n?[]:p;t:for(;++c<f;){var y=t[c],m=n?n(y):y;if(y=e||0!==y?y:0,h&&m==m){for(var v=d.length;v--;)if(d[v]===m)continue t;n&&d.push(m),p.push(y)}else l(d,m,e)||(d!==p&&d.push(m),p.push(y))}return p}},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}},5659:function(t,n,e){var r=e(6649),i=e(4508),o=e(3472),a=e(163);t.exports=function(t,n){return function(e,s){var u=a(e)?r:i,c=n?n():{};return u(e,t,o(s,2),c)}}},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),p=u.get(n);if(h&&p)return h==n&&p==t;var d=-1,g=!0,y=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++d<l;){var m=t[d],v=n[d];if(a)var x=c?a(v,m,d,n,t,u):a(m,v,d,t,n,u);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(m===t||s(m,t,e,a,u)))return y.push(n)}))){g=!1;break}}else if(m!==v&&!s(m,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 p=s.get(t),d=s.get(n);if(p&&d)return p==n&&d==t;var g=!0;s.set(t,n),s.set(n,t);for(var y=u;++f<l;){var m=t[h=c[f]],v=n[h];if(o)var x=u?o(v,m,h,n,t,s):o(m,v,h,t,n,s);if(!(void 0===x?m===v||a(m,v,e,o,s):x)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"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,p=f.length;++h<p;){var d=f[h],g=t[d];(void 0===g||i(g,s[d])&&!u.call(t,d))&&(t[d]=l[d])}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}},9056:function(t,n,e){var r=e(8347),i=e(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,n,e){o.call(t,e)?t[e].push(n):r(t,e,[n])}));t.exports=a},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):[]}},8961:function(t,n,e){var r=e(3472),i=e(946);t.exports=function(t,n){return t&&t.length?i(t,r(n,2)):[]}},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,{Arc:function(){return to},Axis:function(){return v},Background:function(){return eo},Border:function(){return io},Box:function(){return io},Circle:function(){return Gi},ClipPath:function(){return Vi},Collection:function(){return c},Data:function(){return y},DefaultTransitions:function(){return x},Domain:function(){return m},Events:function(){return h},Helpers:function(){return n},Hooks:function(){return _},Immutable:function(){return g},LabelHelpers:function(){return a},Line:function(){return ao},LineHelpers:function(){return w},LineSegment:function(){return uo},Log:function(){return o},Path:function(){return Zi},Point:function(){return bo},PointPathHelpers:function(){return f},Portal:function(){return Ln},PortalContext:function(){return xe},PortalOutlet:function(){return we},PortalProvider:function(){return be},Rect:function(){return Pe},Scale:function(){return d},Selection:function(){return M},Style:function(){return s},TSpan:function(){return Fe},Text:function(){return Ne},TextSize:function(){return u},Timer:function(){return On},TimerContext:function(){return jn},Transitions:function(){return l},UserProps:function(){return e},VictoryAccessibleGroup:function(){return C},VictoryAnimation:function(){return Pn},VictoryClipContainer:function(){return Ki},VictoryContainer:function(){return Ee},VictoryLabel:function(){return bi},VictoryPortal:function(){return je},VictoryTheme:function(){return Vr},VictoryTransition:function(){return Ui},Whisker:function(){return Mo},Wrapper:function(){return A},addEvents:function(){return qo},mergeRefs:function(){return ve},usePortalContext:function(){return _e},useVictoryContainer:function(){return ke}});var t={};r.r(t),r.d(t,{easeBack:function(){return rt},easeBackIn:function(){return nt},easeBackInOut:function(){return rt},easeBackOut:function(){return et},easeBounce:function(){return Q},easeBounceIn:function(){return Z},easeBounceInOut:function(){return J},easeBounceOut:function(){return Q},easeCircle:function(){return K},easeCircleIn:function(){return Y},easeCircleInOut:function(){return K},easeCircleOut:function(){return G},easeCubic:function(){return N},easeCubicIn:function(){return D},easeCubicInOut:function(){return N},easeCubicOut:function(){return P},easeElastic:function(){return at},easeElasticIn:function(){return ot},easeElasticInOut:function(){return st},easeElasticOut:function(){return at},easeExp:function(){return V},easeExpIn:function(){return H},easeExpInOut:function(){return V},easeExpOut:function(){return q},easeLinear:function(){return S},easePoly:function(){return L},easePolyIn:function(){return F},easePolyInOut:function(){return L},easePolyOut:function(){return $},easeQuad:function(){return j},easeQuadIn:function(){return O},easeQuadInOut:function(){return j},easeQuadOut:function(){return T},easeSin:function(){return R},easeSinIn:function(){return W},easeSinInOut:function(){return R},easeSinOut:function(){return B}});var n={};r.r(n),r.d(n,{createAccessor:function(){return se},degreesToRadians:function(){return te},evaluateProp:function(){return Qn},evaluateStyle:function(){return Jn},getCurrentAxis:function(){return ce},getDefaultStyles:function(){return Xn},getPadding:function(){return Gn},getPoint:function(){return Vn},getPolarOrigin:function(){return re},getRadius:function(){return ee},getRange:function(){return ie},getStyles:function(){return Zn},invert:function(){return Hn},isFunction:function(){return ae},isHorizontal:function(){return pe},isNil:function(){return oe},isTooltip:function(){return Kn},mapValues:function(){return le},modifyProps:function(){return ue},omit:function(){return qn},radiansToDegrees:function(){return ne},range:function(){return fe},reduceChildren:function(){return he},scalePoint:function(){return Yn}});var e={};r.r(e),r.d(e,{assert:function(){return ge},getSafeUserProps:function(){return ye},withSafeUserProps:function(){return me}});var o={};r.r(o),r.d(o,{warn:function(){return Oe}});var a={};r.r(a),r.d(a,{getDegrees:function(){return Be},getPolarAngle:function(){return We},getPolarTextAnchor:function(){return Ie},getPolarVerticalAnchor:function(){return ze},getProps:function(){return Re},getText:function(){return Le}});var s={};r.r(s),r.d(s,{getColorScale:function(){return Gr},toTransformString:function(){return Yr}});var u={};r.r(u),r.d(u,{_approximateTextSizeInternal:function(){return ci},approximateTextSize:function(){return li},convertLengthToPixels:function(){return ri}});var c={};r.r(c),r.d(c,{containsDates:function(){return Ai},containsNumbers:function(){return ki},containsOnlyStrings:function(){return Ei},containsStrings:function(){return Mi},difference:function(){return Ci},getMaxValue:function(){return Ti},getMinValue:function(){return ji},isArrayOfArrays:function(){return Si},removeUndefined:function(){return Oi}});var l={};r.r(l),r.d(l,{getInitialTransitionState:function(){return Ii},getTransitionPropsFactory:function(){return zi}});var f={};r.r(f),r.d(f,{circle:function(){return co},cross:function(){return yo},diamond:function(){return fo},minus:function(){return mo},plus:function(){return go},square:function(){return lo},star:function(){return vo},triangleDown:function(){return ho},triangleUp:function(){return po}});var h={};r.r(h),r.d(h,{emulateReactEvent:function(){return Ro},getComponentEvents:function(){return Io},getEventState:function(){return No},getEvents:function(){return jo},getExternalMutation:function(){return Lo},getExternalMutations:function(){return $o},getExternalMutationsWithChildren:function(){return Fo},getGlobalEventNameFromKey:function(){return zo},getGlobalEvents:function(){return Wo},getPartialEvents:function(){return Po},getScopedEvents:function(){return Do},omitGlobalEvents:function(){return Bo}});var p={};r.r(p),r.d(p,{scaleBand:function(){return ua},scaleDiverging:function(){return gl},scaleDivergingLog:function(){return yl},scaleDivergingPow:function(){return vl},scaleDivergingSqrt:function(){return xl},scaleDivergingSymlog:function(){return ml},scaleIdentity:function(){return Qa},scaleImplicit:function(){return aa},scaleLinear:function(){return Za},scaleLog:function(){return ss},scaleOrdinal:function(){return sa},scalePoint:function(){return la},scalePow:function(){return ys},scaleQuantile:function(){return Ss},scaleQuantize:function(){return Os},scaleRadial:function(){return _s},scaleSequential:function(){return sl},scaleSequentialLog:function(){return ul},scaleSequentialPow:function(){return ll},scaleSequentialQuantile:function(){return hl},scaleSequentialSqrt:function(){return fl},scaleSequentialSymlog:function(){return cl},scaleSqrt:function(){return ms},scaleSymlog:function(){return fs},scaleThreshold:function(){return Ts},scaleTime:function(){return rl},scaleUtc:function(){return il},tickFormat:function(){return Ka}});var d={};r.r(d),r.d(d,{getBaseScale:function(){return kl},getDefaultScale:function(){return El},getScaleFromName:function(){return Al},getScaleFromProps:function(){return Cl},getScaleType:function(){return Sl},getType:function(){return Tl},validScale:function(){return bl}});var g={};r.r(g),r.d(g,{IMMUTABLE_ITERABLE:function(){return jl},IMMUTABLE_LIST:function(){return Pl},IMMUTABLE_MAP:function(){return Nl},IMMUTABLE_RECORD:function(){return Dl},isImmutable:function(){return Ll},isIterable:function(){return Fl},isList:function(){return Il},isMap:function(){return zl},isRecord:function(){return $l},shallowToJS:function(){return Wl}});var y={};r.r(y),r.d(y,{createStringMap:function(){return Vl},downsample:function(){return Yl},formatData:function(){return Gl},formatDataFromDomain:function(){return ql},generateData:function(){return Kl},getCategories:function(){return Xl},getData:function(){return Zl},getStringsFromAxes:function(){return Ql},getStringsFromCategories:function(){return Jl},getStringsFromData:function(){return tf},isDataComponent:function(){return nf}});var m={};r.r(m),r.d(m,{createDomainFunction:function(){return rf},formatDomain:function(){return of},getDomain:function(){return af},getDomainFromCategories:function(){return sf},getDomainFromData:function(){return uf},getDomainFromMinMax:function(){return cf},getDomainFromProps:function(){return lf},getDomainWithZero:function(){return ff},getMaxFromProps:function(){return hf},getMinFromProps:function(){return pf},getSymmetricDomain:function(){return df},isDomainComponent:function(){return gf}});var v={};r.r(v),r.d(v,{findAxisComponents:function(){return vf},getAxis:function(){return mf},getAxisComponent:function(){return xf},getAxisComponentsWithParent:function(){return _f},getAxisValue:function(){return jf},getDomain:function(){return Tf},getOrigin:function(){return bf},getOriginSign:function(){return wf},getTickFormat:function(){return Ef},getTicks:function(){return Sf},isVertical:function(){return Mf},modifyProps:function(){return Df},stringTicks:function(){return Af}});var x={};r.r(x),r.d(x,{continuousPolarTransitions:function(){return Nf},continuousTransitions:function(){return Pf},discreteTransitions:function(){return Ff}});var _={};r.r(_),r.d(_,{useAnimationState:function(){return If},usePreviousProps:function(){return $f}});var b={};r.r(b),r.d(b,{arc:function(){return ph},area:function(){return bh},areaRadial:function(){return Th},curveBasis:function(){return _p},curveBasisClosed:function(){return wp},curveBasisOpen:function(){return Ap},curveBumpX:function(){return Nh},curveBumpY:function(){return Fh},curveBundle:function(){return Ep},curveCardinal:function(){return Op},curveCardinalClosed:function(){return jp},curveCardinalOpen:function(){return Pp},curveCatmullRom:function(){return $p},curveCatmullRomClosed:function(){return Ip},curveCatmullRomOpen:function(){return Wp},curveLinear:function(){return mh},curveLinearClosed:function(){return Rp},curveMonotoneX:function(){return Xp},curveMonotoneY:function(){return Zp},curveNatural:function(){return td},curveStep:function(){return ed},curveStepAfter:function(){return id},curveStepBefore:function(){return rd},line:function(){return _h},lineRadial:function(){return Oh},link:function(){return zh},linkHorizontal:function(){return Wh},linkRadial:function(){return Rh},linkVertical:function(){return Bh},pie:function(){return Ah},pointRadial:function(){return jh},radialArea:function(){return Th},radialLine:function(){return Oh},stack:function(){return cd},stackOffsetDiverging:function(){return fd},stackOffsetExpand:function(){return ld},stackOffsetNone:function(){return od},stackOffsetSilhouette:function(){return hd},stackOffsetWiggle:function(){return pd},stackOrderAppearance:function(){return dd},stackOrderAscending:function(){return yd},stackOrderDescending:function(){return vd},stackOrderInsideOut:function(){return xd},stackOrderNone:function(){return ad},stackOrderReverse:function(){return _d},symbol:function(){return yp},symbolAsterisk:function(){return Hh},symbolCircle:function(){return qh},symbolCross:function(){return Vh},symbolDiamond:function(){return Kh},symbolDiamond2:function(){return Xh},symbolPlus:function(){return Zh},symbolSquare:function(){return Qh},symbolSquare2:function(){return Jh},symbolStar:function(){return rp},symbolTriangle:function(){return op},symbolTriangle2:function(){return sp},symbolWye:function(){return hp},symbolX:function(){return pp},symbols:function(){return dp},symbolsFill:function(){return dp},symbolsStroke:function(){return gp}});var w={};r.r(w),r.d(w,{getInterpolationFunction:function(){return kd},getLineFunction:function(){return Ed}});var M={};r.r(M),r.d(M,{getBounds:function(){return Pd},getDataCoordinates:function(){return Dd},getDomainCoordinates:function(){return jd},getParentSVG:function(){return Od},getSVGEventCoordinates:function(){return Td}});var A={};r.r(A),r.d(A,{addBinsToParentPropsIfHistogram:function(){return Id},getAllEvents:function(){return Vd},getCategories:function(){return tg},getCategoryAndAxisStringsFromChildren:function(){return Qd},getChildStyle:function(){return Kd},getColor:function(){return Yd},getData:function(){return Wd},getDataFromChildren:function(){return zd},getDefaultDomainPadding:function(){return Rd},getDomain:function(){return Hd},getDomainFromChildren:function(){return Ud},getScale:function(){return qd},getStringsFromCategories:function(){return Xd},getStringsFromChildren:function(){return Jd},getStringsFromData:function(){return Zd},getStyle:function(){return Gd},getWidth:function(){return Bd}});var k=r(9787),E=r.n(k);const C=t=>{let{desc:n,children:e,tabIndex:r,className:i="VictoryAccessibleGroup",...o}=t;const a=n&&(o["aria-describedby"]||n.split(" ").join("-"));return n?E().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":a,className:i,tabIndex:r},E().createElement("desc",{id:a},n),e):E().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":o["aria-describedby"],className:i,tabIndex:r},e)},S=t=>+t;function O(t){return t*t}function T(t){return t*(2-t)}function j(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function D(t){return t*t*t}function P(t){return--t*t*t+1}function N(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var F=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),$=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),L=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),I=Math.PI,z=I/2;function W(t){return 1==+t?1:1-Math.cos(t*z)}function B(t){return Math.sin(t*z)}function R(t){return(1-Math.cos(I*t))/2}function U(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function H(t){return U(1-+t)}function q(t){return 1-U(t)}function V(t){return((t*=2)<=1?U(1-t):2-U(t-1))/2}function Y(t){return 1-Math.sqrt(1-t*t)}function G(t){return Math.sqrt(1- --t*t)}function K(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var X=7.5625;function Z(t){return 1-Q(1-t)}function Q(t){return(t=+t)<.36363636363636365?X*t*t:t<.7272727272727273?X*(t-=.5454545454545454)*t+.75:t<.9090909090909091?X*(t-=.8181818181818182)*t+.9375:X*(t-=.9545454545454546)*t+.984375}function J(t){return((t*=2)<=1?1-Q(1-t):Q(t-1)+1)/2}var tt=1.70158,nt=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(tt),et=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(tt),rt=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}(tt),it=2*Math.PI,ot=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return n*U(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),at=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return 1-n*U(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),st=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return((t=2*t-1)<0?n*U(-t)*Math.sin((r-t)/e):2-n*U(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),ut=r(4143),ct=r.n(ut),lt=r(3849),ft=r.n(lt);function ht(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function pt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function dt(){}var gt=.7,yt=1/gt,mt="\\s*([+-]?\\d+)\\s*",vt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_t=/^#([0-9a-f]{3,8})$/,bt=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),wt=new RegExp(`^rgb\\(${xt},${xt},${xt}\\)$`),Mt=new RegExp(`^rgba\\(${mt},${mt},${mt},${vt}\\)$`),At=new RegExp(`^rgba\\(${xt},${xt},${xt},${vt}\\)$`),kt=new RegExp(`^hsl\\(${vt},${xt},${xt}\\)$`),Et=new RegExp(`^hsla\\(${vt},${xt},${xt},${vt}\\)$`),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 St(){return this.rgb().formatHex()}function Ot(){return this.rgb().formatRgb()}function Tt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=_t.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?jt(n):3===e?new Ft(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Dt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Dt(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=bt.exec(t))?new Ft(n[1],n[2],n[3],1):(n=wt.exec(t))?new Ft(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Mt.exec(t))?Dt(n[1],n[2],n[3],n[4]):(n=At.exec(t))?Dt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=kt.exec(t))?Bt(n[1],n[2]/100,n[3]/100,1):(n=Et.exec(t))?Bt(n[1],n[2]/100,n[3]/100,n[4]):Ct.hasOwnProperty(t)?jt(Ct[t]):"transparent"===t?new Ft(NaN,NaN,NaN,0):null}function jt(t){return new Ft(t>>16&255,t>>8&255,255&t,1)}function Dt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Ft(t,n,e,r)}function Pt(t){return t instanceof dt||(t=Tt(t)),t?new Ft((t=t.rgb()).r,t.g,t.b,t.opacity):new Ft}function Nt(t,n,e,r){return 1===arguments.length?Pt(t):new Ft(t,n,e,null==r?1:r)}function Ft(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function $t(){return`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}`}function Lt(){const t=It(this.opacity);return`${1===t?"rgb(":"rgba("}${zt(this.r)}, ${zt(this.g)}, ${zt(this.b)}${1===t?")":`, ${t})`}`}function It(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Wt(t){return((t=zt(t))<16?"0":"")+t.toString(16)}function Bt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Ut(t,n,e,r)}function Rt(t){if(t instanceof Ut)return new Ut(t.h,t.s,t.l,t.opacity);if(t instanceof dt||(t=Tt(t)),!t)return new Ut;if(t instanceof Ut)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 Ut(a,s,u,t.opacity)}function Ut(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ht(t){return(t=(t||0)%360)<0?t+360:t}function qt(t){return Math.max(0,Math.min(1,t||0))}function Vt(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 Yt(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}ht(dt,Tt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:St,formatHex:St,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rt(this).formatHsl()},formatRgb:Ot,toString:Ot}),ht(Ft,Nt,pt(dt,{brighter(t){return t=null==t?yt:Math.pow(yt,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?gt:Math.pow(gt,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ft(zt(this.r),zt(this.g),zt(this.b),It(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`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}${Wt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Lt,toString:Lt})),ht(Ut,(function(t,n,e,r){return 1===arguments.length?Rt(t):new Ut(t,n,e,null==r?1:r)}),pt(dt,{brighter(t){return t=null==t?yt:Math.pow(yt,t),new Ut(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?gt:Math.pow(gt,t),new Ut(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 Ft(Vt(t>=240?t-240:t+120,i,r),Vt(t,i,r),Vt(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Ut(Ht(this.h),qt(this.s),qt(this.l),It(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=It(this.opacity);return`${1===t?"hsl(":"hsla("}${Ht(this.h)}, ${100*qt(this.s)}%, ${100*qt(this.l)}%${1===t?")":`, ${t})`}`}}));var Gt=t=>()=>t;function Kt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Gt(isNaN(t)?n:t)}var Xt=function t(n){var e=function(t){return 1==(t=+t)?Kt: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):Gt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Nt(t)).r,(n=Nt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Kt(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 Zt(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=Nt(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 Qt(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]=sn(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 Jt(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function tn(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function nn(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]=sn(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Zt((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 Yt((e-r/n)*n,a,i,o,s)}})),Zt((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 Yt((e-r/n)*n,i,o,a,s)}}));var en=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rn=new RegExp(en.source,"g");function on(t,n){var e,r,i,o=en.lastIndex=rn.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=en.exec(t))&&(r=rn.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:tn(e,r)})),o=rn.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 an(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 sn(t,n){var e,r=typeof n;return null==n||"boolean"===r?Gt(n):("number"===r?tn:"string"===r?(e=Tt(n))?(n=e,Xt):on:n instanceof Tt?Xt:n instanceof Date?Jt:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(n)?an:Array.isArray(n)?Qt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?nn:tn)(t,n)}const un=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)||ft()(t)}return!1},cn=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},ln=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 sn(r,i)(e)}}},fn=function(t,n){const e=(t,n)=>t!==n&&un(t)&&un(n)?"function"==typeof t||"function"==typeof n?ln(t,n):"object"==typeof t&&ft()(t)||"object"==typeof n&&ft()(n)?fn(t,n):sn(t,n):cn(t,n),r=t=>Array.isArray(t)?ct()(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 hn,pn,dn=0,gn=0,yn=0,mn=0,vn=0,xn=0,_n="object"==typeof performance&&performance.now?performance:Date,bn="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function wn(){return vn||(bn(Mn),vn=_n.now()+xn)}function Mn(){vn=0}function An(){this._call=this._time=this._next=null}function kn(t,n,e){var r=new An;return r.restart(t,n,e),r}function En(){vn=(mn=_n.now())+xn,dn=gn=0;try{!function(){wn(),++dn;for(var t,n=hn;n;)(t=vn-n._time)>=0&&n._call.call(void 0,t),n=n._next;--dn}()}finally{dn=0,function(){for(var t,n,e=hn,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:hn=n);pn=t,Sn(r)}(),vn=0}}function Cn(){var t=_n.now(),n=t-mn;n>1e3&&(xn-=n,mn=t)}function Sn(t){dn||(gn&&(gn=clearTimeout(gn)),t-vn>24?(t<1/0&&(gn=setTimeout(En,t-_n.now()-xn)),yn&&(yn=clearInterval(yn))):(yn||(mn=_n.now(),yn=setInterval(Cn,1e3)),dn=1,bn(En)))}An.prototype=kn.prototype={constructor:An,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?wn():+e)+(null==n?0:+n),this._next||pn===this||(pn?pn._next=this:hn=this,pn=this),this._call=t,this._time=e,Sn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Sn())}};class On{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(wn()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=kn(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:wn(),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 Tn=E().createContext({transitionTimer:new On,animationTimer:new On});Tn.displayName="TimerContext";var jn=Tn;const Dn=1e3,Pn=n=>{let{duration:e=Dn,easing:r="quadInOut",delay:i=0,data:o,children:a,onEnd:s}=n;const[u,c]=E().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),l=E().useContext(jn).animationTimer,f=E().useRef(Array.isArray(o)?o.slice(1):[]),h=E().useRef(null),p=E().useRef(void 0),d=t[(g=r,`ease${g.charAt(0).toUpperCase()+g.slice(1)}`)];var g;E().useEffect((()=>(f.current.length&&y(),()=>{p.current?l.unsubscribe(p.current):l.stop()})),[]),E().useEffect((()=>{h.current&&u.animationInfo&&u.animationInfo.progress<1?c({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(l.unsubscribe(p.current),f.current=Array.isArray(o)?o:[o],y())}),[o]);const y=()=>{if(f.current.length){const t=f.current[0];h.current=function(t,n){return t!==n&&un(t)&&un(n)?"function"==typeof t||"function"==typeof n?ln(t,n):ft()(t)||ft()(n)?fn(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return sn(e(t),e(n))}(t,n):sn(t,n):cn(t,n)}(u.data,t),i?setTimeout((()=>{p.current=l.subscribe(m,e)}),i):p.current=l.subscribe(m,e)}else s&&s()},m=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return c({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&l.unsubscribe(p.current),f.current.shift(),void y();c({data:h.current(d(n)),animationInfo:{progress:n,animating:n<1}})};return a(u.data,u.animationInfo)};var Nn=r(660),Fn=r.n(Nn);function $n(){return $n=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},$n.apply(this,arguments)}const Ln=E().forwardRef(((t,n)=>E().createElement("svg",$n({ref:n},t))));var In=r(9082),zn=r.n(In),Wn=r(8532),Bn=r.n(Wn),Rn=r(1893),Un=r.n(Rn);function Hn(t){return Object.entries(t).reduce(((t,n)=>(t[n[1]]=n[0],t)),{})}function qn(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 Vn(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 Un()({},h,t)}function Yn(t,n){const{scale:e,polar:r,horizontal:i}=t,o=Vn(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 Gn(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 Kn(t){return"tooltip"===(t&&t.type&&t.type.role)}function Xn(t,n){const{theme:e={},labelComponent:r}=t,i=e[n]&&e[n].style||{};if(!Kn(r))return i;const o=e.tooltip&&e.tooltip.style||{},a=Un()({},o,i.labels);return Un()({},{labels:a},i)}function Zn(t,n){const e="100%",r="100%";if(!t)return Un()({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:Un()({},a,s,{width:e,height:r}),labels:Un()({},o,u),data:Un()({},i,c)}}function Qn(t,n){return ae(t)?t(n):t}function Jn(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>ae(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=Qn(t[r],n),e)),{}):t}function te(t){return"number"==typeof t?t*(Math.PI/180):t}function ne(t){return"number"==typeof t?t/(Math.PI/180):t}function ee(t){const{left:n,right:e,top:r,bottom:i}=Gn(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function re(t){const{width:n,height:e}=t,{top:r,bottom:i,left:o,right:a}=Gn(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}}function ie(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?[te(t.startAngle||0),te(t.endAngle||360)]:[t.innerRadius||0,ee(t)]}(t,n):function(t,n){const e="x"!==n,r=Gn(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function oe(t){return null==t}function ae(t){return"function"==typeof t}function se(t){return ae(t)?t:null==t?t=>t:Bn()(t)}function ue(t,n,e){const r=qn(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=pe(t),o=void 0===i?{}:{horizontal:i};return Un()(o,t,r,n)}function ce(t,n){return n?"x"===t?"y":"x":t}function le(t,n){if(t)return Object.keys(t).reduce(((e,r)=>(e[r]=n(t[r]),e)),{})}function fe(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))}function he(t,n,e,r,i){void 0===e&&(e={}),void 0===r&&(r=[]),void 0===i&&(i=(t,n)=>t.concat(n));const o=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],a=(t,s,u)=>t.reduce(((t,r,c)=>{let l=t;const f=r.type&&r.type.role,h=r.props.name||`${f}-${s[c]}`;if(r.props&&r.props.children){const t=Object.assign({},r.props,zn()(e,o)),n=r.type&&"stack"===r.type.role&&ae(r.type.getChildren)?r.type.getChildren(t):E().Children.toArray(r.props.children).map((n=>{const e=Object.assign({},n.props,zn()(t,o));return E().cloneElement(n,e)})),s=n.map(((t,n)=>`${h}-${n}`)),u=a(n,s,r);l=i(l,u)}else{const t=n(r,h,u);t&&(l=i(l,t))}return l}),r),s=t.filter(k.isValidElement),u=s.map(((t,n)=>n));return a(s,u)}function pe(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(E().Children.toArray(r.children))}),!1);return n(E().Children.toArray(t.children))}const de={startsWith:["data-","aria-"],exactMatch:[]};function ge(t,n){if(null==t)throw new Error(n)}const ye=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return de.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>de.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,Qn(r,t)]})))},me=(t,n)=>k.cloneElement(t,ye(n));function ve(t){return n=>{t.forEach((t=>{ae(t)?t(n):null!=t&&(t.current=n)}))}}const xe=E().createContext(void 0);xe.displayName="PortalContext";const _e=()=>E().useContext(xe),be=t=>{let{children:n}=t;const[e,r]=E().useState(new Map),i=E().useCallback(((t,n)=>{r((e=>{const r=new Map(e);return r.set(t,n),r}))}),[r]),o=E().useCallback((t=>{r((n=>{const e=new Map(n);return e.delete(t),e}))}),[r]),a=E().useMemo((()=>({addChild:i,removeChild:o,children:e})),[i,o,e]);return E().createElement(xe.Provider,{value:a},n)},we=t=>{let{as:n,...e}=t;const r=_e();if(!r)return null;const i=Array.from(r.children.values());return E().cloneElement(n,e,i)};function Me(){return Me=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},Me.apply(this,arguments)}const Ae={className:"VictoryContainer",portalComponent:E().createElement(Ln,null),portalZIndex:99,responsive:!0,role:"img"};function ke(t){const n={...Ae,...t},{title:e,desc:r,width:i,height:o,responsive:a}=n,s=(0,k.useRef)(null),u=(0,k.useRef)(Fn()("victory-container-")),c=n.containerId??u.current,l=t=>`${c}-${t}`,f=ye(n),h=a?{width:"100%",height:"100%"}:{width:i,height:o},p=a?`0 0 ${i} ${o}`:void 0,d=a?n.preserveAspectRatio:void 0,g=[e&&l("title"),n["aria-labelledby"]].filter(Boolean).join(" ")||void 0,y=[r&&l("desc"),n["aria-describedby"]].filter(Boolean).join(" ")||void 0,m=l("title"),v=l("desc");return{...n,titleId:m,descId:v,dimensions:h,viewBox:p,preserveAspectRatio:d,ariaLabelledBy:g,ariaDescribedBy:y,userProps:f,localContainerRef:s}}const Ee=t=>{const{role:n,title:e,desc:r,children:i,className:o,portalZIndex:a,portalComponent:s,width:u,height:c,style:l,tabIndex:f,responsive:h,events:p,ouiaId:d,ouiaSafe:g,ouiaType:y,dimensions:m,ariaDescribedBy:v,ariaLabelledBy:x,viewBox:_,preserveAspectRatio:b,userProps:w,titleId:M,descId:A,containerRef:k,localContainerRef:C}=ke(t);return E().useEffect((()=>{if(!p?.onWheel)return;const t=t=>t.preventDefault(),n=C?.current;return n?.addEventListener("wheel",t),()=>{n?.removeEventListener("wheel",t)}}),[]),E().createElement("div",{className:o,style:{...l,width:h?l?.width:m.width,height:h?l?.height:m.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":d,"data-ouia-component-type":y,"data-ouia-safe":g,ref:ve([C,k])},E().createElement(be,null,E().createElement("svg",Me({width:u,height:c,tabIndex:f,role:n,"aria-labelledby":x,"aria-describedby":v,viewBox:_,preserveAspectRatio:b,style:{...m,pointerEvents:"all"}},w,p),e?E().createElement("title",{id:M},e):null,r?E().createElement("desc",{id:A},r):null,i),E().createElement("div",{style:{...m,zIndex:a,position:"absolute",top:0,left:0}},E().createElement(we,{as:s,width:u,height:c,viewBox:_,preserveAspectRatio:b,style:{...m,overflow:"visible"}}))))};Ee.role="container";var Ce=r(4155),Se=r.n(Ce);function Oe(t){}const Te={groupComponent:E().createElement("g",null)},je=t=>{const n={...Te,...t},e=Fn()(),r=_e(),i=Array.isArray(n.children)?n.children[0]:n.children,{groupComponent:o}=n,a=i&&i.props||{},s=a.groupComponent?{groupComponent:o,standalone:!1}:{},u=Un()(s,a,qn(n,["children","groupComponent"]),{key:a.key??e}),c=i&&E().cloneElement(i,u);return E().useEffect((()=>{r?.addChild(e,c)}),[n.children]),E().useEffect((()=>()=>r?.removeChild(e)),[]),r?null:c};function De(){return De=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},De.apply(this,arguments)}je.role="portal";const Pe=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={vectorEffect:"non-scaling-stroke",id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("rect",De({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("rect",De({},s,{ref:n}))})),Ne=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:o,title:a,...s}=t,u={id:Qn(r,t)?.toString(),tabIndex:Qn(o,t),...s};return E().createElement("text",u,a&&E().createElement("title",null,a),e&&E().createElement("desc",null,e),n)},Fe=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...o}=t,a={id:Qn(e,t)?.toString(),tabIndex:Qn(r,t),...o};return E().createElement("tspan",a)};function $e(t){const{labelComponent:n,labelPlacement:e,polar:r}=t,i=r?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||i}function Le(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function Ie(t,n){const e=$e(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}function ze(t,n){const e=$e(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"}function We(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=void 0!==n?n%360:Be(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)}function Be(t,n){const{x:e}=Vn(n);return ne(t.scale.x(e))%360}function Re(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],p=Be(t,h),d=a?Ie(t,p):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?ze(t,p):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),m=Le(t,h,n),v=$e(t),{x:x,y:_}=function(t,n){const{polar:e}=t,{x:r,y:i}=Yn(t,n);if(!e)return{x:r,y:i};const o=function(t,n){const{style:e}=t,r=Be(t,n),i=Qn((e.labels||{}).padding,t)||0,o=te(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=Qn((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),M={angle:y,data:r,datum:h,disableInlineStyles:f,horizontal:o,index:n,polar:a,scale:e,labelPlacement:v,text:m,textAnchor:d,verticalAnchor:g,x:x,y:_,dx:b,dy:w,width:s,height:u,style:i.labels};if(!Kn(l))return M;const A=c&&c.tooltip||{};return Un()({},M,qn(A,["style"]))}const Ue=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],He="#252525",qe="#969696",Ve={width:450,height:300,padding:50,colorScale:Ue},Ye={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:He,stroke:"transparent"},Ge=Object.assign({textAnchor:"middle"},Ye),Ke={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Ue,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:He},labels:Ye}},Ve),axis:Object.assign({style:{axis:{fill:"transparent",stroke:He,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Ge,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Ye}},Ve),bar:Object.assign({style:{data:{fill:He,padding:8,strokeWidth:0},labels:Ye}},Ve),boxplot:Object.assign({style:{max:{padding:8,stroke:He,strokeWidth:1},maxLabels:Object.assign({},Ye,{padding:3}),median:{padding:8,stroke:He,strokeWidth:1},medianLabels:Object.assign({},Ye,{padding:3}),min:{padding:8,stroke:He,strokeWidth:1},minLabels:Object.assign({},Ye,{padding:3}),q1:{padding:8,fill:qe},q1Labels:Object.assign({},Ye,{padding:3}),q3:{padding:8,fill:qe},q3Labels:Object.assign({},Ye,{padding:3})},boxWidth:20},Ve),candlestick:Object.assign({style:{data:{stroke:He,strokeWidth:1},labels:Object.assign({},Ye,{padding:5})},candleColors:{positive:"#ffffff",negative:He}},Ve),chart:Ve,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:He,strokeWidth:2},labels:Ye}},Ve),group:Object.assign({colorScale:Ue},Ve),histogram:Object.assign({style:{data:{fill:qe,stroke:He,strokeWidth:2},labels:Ye}},Ve),legend:{colorScale:Ue,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Ye,title:Object.assign({},Ye,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:He,strokeWidth:2},labels:Ye}},Ve),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Ye,{padding:20})},colorScale:Ue,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:He,stroke:"transparent",strokeWidth:0},labels:Ye}},Ve),stack:Object.assign({colorScale:Ue},Ve),tooltip:{style:Object.assign({},Ye,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:He,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({},Ye,{padding:5,pointerEvents:"none"}),flyout:{stroke:He,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ve)},Xe="#FFF59D",Ze="#F4511E",Qe="#8BC34A",Je="#00796B",tr="#006064",nr=[Ze,Xe,"#DCE775",Qe,Je,tr],er="#ECEFF1",rr="#90A4AE",ir="#455A64",or="#212121",ar={blue:"#4F7DA1",pink:"#E2A37F",teal:Je,purple:"#DF948A",green:Qe,orange:Ze,cyan:tr,red:"#DF5A49",yellow:Xe},sr=[er,rr,ir,or],ur={width:350,height:350,padding:50},cr={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ir,stroke:"transparent",strokeWidth:0},lr=Object.assign({textAnchor:"middle"},cr),fr="round",hr="round",pr={palette:{colors:ar,grayscale:sr,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:or},labels:cr}},ur),axis:Object.assign({style:{axis:{fill:"transparent",stroke:rr,strokeWidth:2,strokeLinecap:fr,strokeLinejoin:hr},axisLabel:Object.assign({},lr,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:er,strokeDasharray:"10, 5",strokeLinecap:fr,strokeLinejoin:hr,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:rr,strokeWidth:1,strokeLinecap:fr,strokeLinejoin:hr},tickLabels:Object.assign({},cr,{fill:ir})}},ur),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:ir,padding:8,strokeWidth:0},labels:cr}},ur),boxplot:Object.assign({style:{max:{padding:8,stroke:ir,strokeWidth:1},maxLabels:Object.assign({},cr,{padding:3}),median:{padding:8,stroke:ir,strokeWidth:1},medianLabels:Object.assign({},cr,{padding:3}),min:{padding:8,stroke:ir,strokeWidth:1},minLabels:Object.assign({},cr,{padding:3}),q1:{padding:8,fill:ir},q1Labels:Object.assign({},cr,{padding:3}),q3:{padding:8,fill:ir},q3Labels:Object.assign({},cr,{padding:3})},boxWidth:20},ur),candlestick:Object.assign({style:{data:{stroke:ir},labels:Object.assign({},cr,{padding:5})},candleColors:{positive:"#ffffff",negative:ir}},ur),chart:ur,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ir,strokeWidth:2},labels:cr}},ur),group:Object.assign({colorScale:nr},ur),histogram:Object.assign({style:{data:{fill:ir,stroke:or,strokeWidth:2},labels:cr}},ur),legend:{colorScale:nr,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:cr,title:Object.assign({},cr,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ir,strokeWidth:2},labels:cr}},ur),pie:Object.assign({colorScale:nr,style:{data:{padding:8,stroke:er,strokeWidth:1},labels:Object.assign({},cr,{padding:20})}},ur),scatter:Object.assign({style:{data:{fill:ir,opacity:1,stroke:"transparent",strokeWidth:0},labels:cr}},ur),stack:Object.assign({colorScale:nr},ur),tooltip:{style:Object.assign({},cr,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:or,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({},cr,{padding:5,pointerEvents:"none"}),flyout:{stroke:or,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},ur)},dr="#FFFFFF",gr="#E8E8E8",yr="#E0E0E0",mr="#D1D1D1",vr="#757575",xr="#5C5C5C",_r="#292929",br="#FCB400",wr="#FF6F2C",Mr="#F82B60",Ar="#FF08C2",kr="#8B46FF",Er="#CFDFFF",Cr="#2D7FF9",Sr="#18BFFF",Or="#20D9D2",Tr="#20C933",jr={blue:Cr,pink:Ar,teal:Or,purple:kr,green:Tr,orange:wr,cyan:Sr,red:Mr,yellow:br},Dr=Object.values(jr),Pr=[gr,mr,xr,_r],Nr=[br,wr,Mr,Ar],Fr=[Sr,Or,Cr,kr],$r=[Tr,br,Mr],Lr=[Mr,"#FF9EB7","#FFDCE5"],Ir=[Tr,"#93E088","#D1F7C4"],zr=[Cr,"#9CC7FF",Er],Wr={width:450,height:300,padding:50,colorScale:Dr},Br={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:_r,stroke:"transparent"},Rr=Object.assign({textAnchor:"middle"},Br),Ur="10, 5",Hr="round",qr="round",Vr={grayscale:Ke,material:pr,clean:{palette:{colors:jr,grayscale:Pr,qualitative:Dr,heatmap:$r,warm:Nr,cool:Fr,red:Lr,green:Ir,blue:zr},area:Object.assign({style:{data:{fill:Cr,strokeWidth:2,fillOpacity:.5},labels:Br}},Wr),axis:Object.assign({style:{axis:{fill:"transparent",stroke:vr,strokeWidth:1,strokeLinecap:Hr,strokeLinejoin:qr},axisLabel:Object.assign({},Rr,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Br}},Wr),polarAxis:Object.assign({style:{axis:{stroke:vr},grid:{stroke:mr,strokeDasharray:Ur,strokeLinecap:Hr,strokeLinejoin:qr,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:mr,strokeWidth:1,strokeLinecap:Hr,strokeLinejoin:qr},tickLabels:Br}}),polarDependentAxis:Object.assign({style:{axis:{stroke:vr},grid:{stroke:mr,strokeDasharray:Ur,strokeLinecap:Hr,strokeLinejoin:qr,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:yr,strokeWidth:1,strokeLinecap:Hr,strokeLinejoin:qr},tickLabels:Br}}),bar:Object.assign({style:{data:{fill:Cr,padding:8,strokeWidth:1,fillOpacity:.5},labels:Br},cornerRadius:{top:1}},Wr),boxplot:Object.assign({style:{max:{padding:8,stroke:mr,strokeWidth:2},maxLabels:Object.assign({},Br,{padding:3}),median:{padding:8,stroke:dr,strokeWidth:2},medianLabels:Object.assign({},Br,{padding:3}),min:{padding:8,stroke:mr,strokeWidth:2},minLabels:Object.assign({},Br,{padding:3}),q1:{padding:8,fill:Or,rx:1,strokeWidth:2},q1Labels:Object.assign({},Br,{padding:3}),q3:{padding:8,fill:Sr,rx:1},q3Labels:Object.assign({},Br,{padding:3})},boxWidth:20},Wr),candlestick:Object.assign({style:{data:{stroke:yr,strokeWidth:0,rx:1},labels:Object.assign({},Br,{padding:5})},candleColors:{positive:Or,negative:wr},wickStrokeWidth:2},Wr),chart:Wr,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#424242",strokeWidth:2,strokeLinecap:Hr},labels:Br}},Wr),group:Object.assign({colorScale:Dr},Wr),histogram:Object.assign({style:{data:{fill:Sr,fillOpacity:.5},labels:Br},binSpacing:4,cornerRadius:{top:1}},Wr),label:Br,legend:{colorScale:Dr,gutter:24,borderPadding:10,orientation:"horizontal",titleOrientation:"top",centerTitle:!0,style:{data:{type:"circle"},labels:{...Br,fontSize:12},title:Object.assign({},Br,{padding:8,fontSize:16}),border:{stroke:gr,strokeWidth:2,padding:16}}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Cr,strokeWidth:2,strokeLinecap:Hr,strokeLinejoin:qr},labels:Br}},Wr),pie:Object.assign({style:{parent:{backgroundColor:dr},data:{padding:8,stroke:dr,strokeWidth:1},labels:{...Br,padding:20,fill:xr,fontSize:10}},colorScale:Dr,cornerRadius:1},Wr),scatter:Object.assign({style:{data:{fill:kr,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Br,padding:20}}},Wr),stack:Object.assign({colorScale:Dr},Wr),tooltip:{style:Object.assign({},Br,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:yr,strokeWidth:2,fill:dr,pointerEvents:"none"},flyoutPadding:{top:8,bottom:8,left:16,right:16},cornerRadius:1,pointerLength:4},voronoi:Object.assign({style:{data:{fill:Er,stroke:Cr,strokeWidth:2,opacity:.4},labels:Object.assign({},Br,{padding:5,pointerEvents:"none"}),flyout:{stroke:_r,strokeWidth:1,fill:"#F2F2F2",pointerEvents:"none"},padding:{left:2,bottom:2}}},Wr)}},Yr=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,Yr(n)].join(" ")),Yr(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()};function Gr(t,n){void 0===n&&(n=Vr.material);const{palette:{grayscale:e=["#cccccc","#969696","#636363","#252525"],qualitative:r=[],heatmap:i=[],warm:o=[],cool:a=[],red:s=[],blue:u=[],green:c=[]}={}}=n,l={grayscale:e,qualitative:r,heatmap:i,warm:o,cool:a,red:s,blue:u,green:c};return t&&l[t]?.length?l[t]:l.grayscale}var Kr=r(1594),Xr=r.n(Kr);const Zr={"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}},Qr={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Jr={em:1,ex:.5},ti={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},ni=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),ei=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},ri=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?Qr.hasOwnProperty(e)?r*Qr[e]:Jr.hasOwnProperty(e)?(n?r*n:r*ti.fontSize)*Jr[e]:r:r||0,i},ii=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=Un()({},e,ti);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:ri(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:ri(String(r.fontSize))})},oi=(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:ni(t).reduce(((t,e,r)=>{const i=ii(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=ni(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=ii(n,e),s=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>Zr[t]))||"Helvetica";return Zr[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?ei(i,r,e):i,height:1.05*(e?ei(r,i,e):r)}},ai=Xr()((()=>{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})),si=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",ui=Xr()(((t,n)=>{let e=ai();e.isConnected||(ai.cache.clear?.(),e=ai());const r=ni(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=ii(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?ei(o,i,n?.angle):o,height:n?.angle?ei(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(si).join():si(n)}`)),ci={impl:function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?oi(t,n):ui(t,n)}},li=(t,n)=>ci.impl(t,n),fi={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},hi=(t,n)=>t.datum?Yn(t,t.datum)[n]:0,pi=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return fi.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?fi.fontSize:t}return fi.fontSize},di=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},gi=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!Se()(n)||Array.isArray(e)&&!Se()(e)},yi=(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)}},mi=(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)}},vi=(t,n)=>gi(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:o,backgroundPadding:a,backgroundComponent:s,inline:u,y:c}=t,l=n.map(((t,i)=>{const o=di(n,i-1),s=t.textSize,l=t.fontSize*t.lineHeight,f=Math.ceil(l),h=di(a,i),p=di(a,i-1),d=u&&r||0,g=i&&!u?o.fontSize*o.lineHeight+p.top+p.bottom:e-.5*l-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:s,heightWithPadding:f+h.top+h.bottom,widthWithPadding:s.width+h.left+h.right+d,y:c,fontSize:t.fontSize,dy:g}}));return l.map(((n,e)=>{const r=yi(t,n.labelSize.width),f=l.slice(0,e+1).reduce(((t,n)=>t+n.dy),c),h=di(a,e),p=n.heightWithPadding,d=u?((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,l,e)+r-h.left:r,g=u?mi(t,p)-h.top:f,y={key:`tspan-background-${e}`,height:p,style:di(o,e),width:n.widthWithPadding,transform:i,x:d-h.left,y:g};return E().cloneElement(s,Un()({},s.props,y))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:o,inline:a,backgroundPadding:s,capHeight:u}=t,c=n.map((t=>t.textSize)),l=a?Math.max(...c.map((t=>t.height))):c.reduce(((t,e,r)=>{const i=r?0:u/2;return t+e.height*(n[r].lineHeight-i)}),0),f=a?c.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...c.map((t=>t.width))),h=yi(t,f),p=mi(t,l),d={key:"background",height:l+s.top+s.bottom,style:o,transform:r,width:f+s.left+s.right,x:a?h-s.left:h+e-s.left,y:p};return E().cloneElement(i,Un()({},i.props,d))})(t,n),xi=(t,n,e)=>{const{inline:r}=n,i=di(t,e);return e&&!r?((t,n,e)=>{const r=di(t,n),i=di(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 gi(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},_i={backgroundComponent:E().createElement(Pe,null),groupComponent:E().createElement("g",null),direction:"inherit",textComponent:E().createElement(Ne,null),tspanComponent:E().createElement(Fe,null),capHeight:.71,lineHeight:1},bi=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>Qn(t,n)));const e=Qn(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=Jn(t,n);return{fontSize:pi(e)}}const e=t=>{const e=Jn(t?Un()({},t,fi):fi,n);return Object.assign({},e,{fontSize:pi(e)})};return Array.isArray(t)&&!Se()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!Se()(t)?t.map((t=>Jn(t,n))):Jn(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>Gn({padding:Qn(n,t)}))):Gn({padding:Qn(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=Qn(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})(Un()({},t,_i));if(null===n.text||void 0===n.text)return null;const e=(t=>{const n=Qn(t.ariaLabel,t),e=di(t.style),r=(t=>{const n=Qn(t.lineHeight,t);return Array.isArray(n)&&Se()(n)?[1]:n})(t),i=t.direction?Qn(t.direction,t):"inherit",o=t.textAnchor?Qn(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?Qn(t.verticalAnchor,t):e.verticalAnchor||"middle",s=t.dx?Qn(t.dx,t):0,u=((t,n,e)=>{const r=t.dy?Qn(t.dy,t):0,i=t.inline?1:t.text.length,o=Qn(t.capHeight,t),a=n?Qn(n,t):"middle",s=[...Array(i).keys()].map((n=>di(t.style,n).fontSize)),u=[...Array(i).keys()].map((t=>di(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:hi(t,"x"),l=void 0!==t.y?t.y:hi(t,"y"),f=((t,n,e)=>{const{polar:r}=t,i=di(t.style),o=r?We(t):0,a=void 0===i.angle?Qn(t.angle,t):i.angle,s=void 0===a?o:a,u=t.transform||i.transform,c=u&&Qn(u,t);return c||s?Yr(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:Qn(t.dy,t),transform:f,x:c,y:l})})(n),{text:r,style:i,capHeight:o,backgroundPadding:a,lineHeight:s}=e,u=r.map(((t,n)=>{const e=di(i,n),r=ri(`${o}em`,e.fontSize),u=di(s,n);return{style:e,fontSize:e.fontSize||fi.fontSize,capHeight:r,text:t,textSize:li(t,e),lineHeight:u,backgroundPadding:di(a,n)}})),c=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:o,events:a,direction:s,text:u,textAnchor:c,dx:l,dy:f,transform:h,x:p,y:d,desc:g,id:y,tabIndex:m,tspanComponent:v,textComponent:x}=t,_=ye(t),b={"aria-label":e,key:"text",...a,direction:s,dx:l,x:p,y:d+f,transform:h,className:i,title:o,desc:Qn(g,t),tabIndex:Qn(m,t),id:y,..._},w=u.map(((e,i)=>{const o=n[i].style,a={key:`${y}-key-${i}`,x:r?void 0:p,dx:r?l+n[i].backgroundPadding.left:l,dy:xi(n,t,i),textAnchor:o.textAnchor||c,style:o,children:e};return E().cloneElement(v,a)}));return E().cloneElement(x,b,w)})(e,u);if(n.backgroundStyle){const t=[vi(e,u),c],r=E().cloneElement(n.groupComponent,{},t);return n.renderInPortal?E().createElement(je,null,r):r}return n.renderInPortal?E().createElement(je,null,c):c};function wi(t){return Array.isArray(t)&&t.length>0}function Mi(t){return Array.isArray(t)&&t.some((t=>"string"==typeof t))}function Ai(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function ki(t){return Array.isArray(t)&&t.some((t=>"number"==typeof t))}function Ei(t){return wi(t)&&t.every((t=>"string"==typeof t))}function Ci(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function Si(t){return wi(t)&&t.every(Array.isArray)}function Oi(t){return t.filter((t=>void 0!==t))}function Ti(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 Ai(i)?new Date(Math.max(...i)):Math.max(...i)}function ji(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 Ai(i)?new Date(Math.min(...i)):Math.min(...i)}bi.displayName="VictoryLabel",bi.role="label",bi.defaultStyles=fi;var Di=r(5346),Pi=r.n(Di);function Ni(t,n){return(t.key||n).toString()}function Fi(t){return t.reduce(((t,n,e)=>(t[Ni(n,e)]=n,t)),{})}function $i(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 Li(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Ii(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((o,a)=>o&&o.props&&o.props.children&&n[a]?i(E().Children.toArray(t[a].props.children),E().Children.toArray(n[a].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&Fi(t),r=n&&Fi(n);return{entering:e&&$i(r,e),exiting:r&&$i(e,r)}}(Li(t),Li(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(o,n[a]))),o=i(E().Children.toArray(t),E().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function zi(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:Pi();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:Pi();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:Pi();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:Pi();s=n.map(((e,i)=>{const o=Ni(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:Pi();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),p=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 d=Li(e)||[],g=Un()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;g.onExit=Un()({},g.onExit,y&&y.onExit),g.onEnter=Un()({},g.onEnter,y&&y.onEnter),g.onLoad=Un()({},g.onLoad,y&&y.onLoad);const m=u[a]||u[0];if(!s){const t={duration:void 0!==c.load?c.load:p(e,"onLoad")};return l(0,d,Object.assign({},g,t))}if(r){const t=m&&m.exiting,n=void 0!==c.exit?c.exit:p(e,"onExit"),r=t?{duration:n}:{delay:n};return f(t,0,d,Object.assign({},g,r))}if(i){const t=m&&m.entering,n=void 0!==c.enter?c.enter:p(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,d,Object.assign({},g,i))}return!n&&g&&g.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Pi();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(g,d):{animate:g,data:d}}}var Wi=r(7491),Bi=r.n(Wi);function Ri(){return Ri=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},Ri.apply(this,arguments)}class Ui extends E().Component{static displayName="VictoryTransition";static contextType=jn;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 Bi()(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=E().Children.toArray(t.children),i=E().Children.toArray(n.children),{nodesWillExit:o,nodesWillEnter:a,childrenTransitions:s,nodesShouldEnter:u}=Ii(r,i);return{nodesWillExit:o,nodesWillEnter:a,childrenTransitions:s,nodesShouldEnter:u,oldProps:o?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&ae(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(E().Children.toArray(r.props.children))):t}),[]),r=E().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 a=e([r]);return 0===a.length?[0,1]:[ji(a),Ti(a)]}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=ie(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:zi(t,this.state,(t=>this.setState(t))),e=E().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),a=Un()({domain:i,clipWidth:o},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),u=s.length?zn()(a,s):a;return E().createElement(Pn,Ri({},a.animate,{data:u}),(t=>{if(e.props.groupComponent){const n=this.continuous?E().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return E().cloneElement(e,Un()({animate:null,animating:!0,groupComponent:n},t,a))}return E().cloneElement(e,Un()({animate:null,animating:!0},t,a))}))}}var Hi=r(7709),qi=r.n(Hi);const Vi=t=>E().createElement("defs",null,E().createElement("clipPath",{id:t.clipId?.toString()},t.children));function Yi(){return Yi=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},Yi.apply(this,arguments)}const Gi=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={vectorEffect:"non-scaling-stroke",id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("circle",Yi({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("circle",Yi({},s,{ref:n}))}));class Ki extends E().Component{static displayName="VictoryClipContainer";static role="container";static defaultProps={circleComponent:E().createElement(Gi,null),rectComponent:E().createElement(Pe,null),clipPathComponent:E().createElement(Vi,null),groupComponent:E().createElement("g",null)};constructor(t){super(t),this.clipId=qi()(t)&&void 0!==t.clipId?t.clipId:Fn()("victory-clip-")}calculateAttributes(t){const{polar:n,origin:e,clipWidth:r=0,clipHeight:i=0,translateX:o=0,translateY:a=0}=t,s=Gn({padding:t.clipPadding}),u=t.radius||ee(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=ye(t),{style:r,events:i,transform:o,children:a,className:s,groupComponent:u,tabIndex:c}=t,l=this.renderClipComponent(t,n),f=Object.assign({className:s,style:r,transform:o,key:`clipped-group-${n}`,clipPath:`url(#${n})`},i);return E().cloneElement(u,{...f,tabIndex:c,...e},[l,...E().Children.toArray(a)])}renderGroup(t){const{style:n,events:e,transform:r,children:i,className:o,groupComponent:a,tabIndex:s}=t;return E().cloneElement(a,Object.assign({className:o,style:n,transform:r,"aria-label":t["aria-label"],tabIndex:s},e),i)}renderClipComponent(t,n){const{polar:e,origin:r,clipWidth:i=0,clipHeight:o=0,translateX:a=0,translateY:s=0,circleComponent:u,rectComponent:c,clipPathComponent:l}=t,{top:f,bottom:h,left:p,right:d}=Gn({padding:t.clipPadding});let g;if(e){const n=t.radius||ee(t),e={r:Math.max(n+p+d,n+f+h,0),cx:r.x-p,cy:r.y-f};g=E().cloneElement(u,e)}else{const t={x:a-p,y:s-f,width:Math.max(i+p+d,0),height:Math.max(o+f+h,0)};g=E().cloneElement(c,t)}return E().cloneElement(l,Object.assign({key:`clip-path-${n}`},t,{clipId:n}),g)}getClipValue(t,n){const e={x:t.clipWidth,y:t.clipHeight};if(void 0!==e[n])return e[n];const r=ie(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=ie(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=Un()({},this.props,{clipHeight:t,clipWidth:n,translateX:e,translateY:r});return this.renderClippedGroup(i,this.clipId)}}function Xi(){return Xi=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},Xi.apply(this,arguments)}const Zi=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("path",Xi({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("path",Xi({},s,{ref:n}))})),Qi=t=>{const{cx:n,cy:e,r:r,startAngle:i,endAngle:o,closedPath:a}=t,s=Math.abs(o-i)/2+i,u=n+r*Math.cos(te(i)),c=e-r*Math.sin(te(i));return`${a?` M ${n}, ${e} L ${u}, ${c}`:`M ${u}, ${c}`} A ${r}, ${r}, 0, ${s-i<=180?0:1}, 0, ${n+r*Math.cos(te(s))}, ${e-r*Math.sin(te(s))} A ${r}, ${r}, 0, ${o-s<=180?0:1}, 0, ${n+r*Math.cos(te(o))}, ${e-r*Math.sin(te(o))} ${a?"Z":""}`},Ji={pathComponent:E().createElement(Zi,null),role:"presentation",shapeRendering:"auto"},to=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(Object.assign({stroke:"black",fill:"none"},t.style),t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,Ji));return E().cloneElement(n.pathComponent,{...n.events,"aria-label":n.ariaLabel,d:Qi(n),style:n.style,desc:n.desc,tabIndex:n.tabIndex,className:n.className,role:n.role,shapeRendering:n.shapeRendering,transform:n.transform,clipPath:n.clipPath})},no={circleComponent:E().createElement(Gi,null),rectComponent:E().createElement(Pe,null),role:"presentation",shapeRendering:"auto"},eo=t=>{const n=(t=>{const n=Qn(t.id,t);return Object.assign({},t,{id:n})})(Un()({},t,no));return n.polar?E().cloneElement(n.circleComponent,{...n.events,style:n.style,role:n.role,shapeRendering:n.shapeRendering,cx:n.x,cy:n.y,r:n.height,className:n.className}):E().cloneElement(n.rectComponent,{...n.events,style:n.style,role:n.role,shapeRendering:n.shapeRendering,x:n.x,y:n.y,rx:n.rx,ry:n.ry,width:n.width,height:n.height,className:n.className})},ro={rectComponent:E().createElement(Pe,null),role:"presentation",shapeRendering:"auto"},io=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(Object.assign({fill:"none"},t.style),t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,ro));return E().cloneElement(n.rectComponent,{...n.events,"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,transform:n.transform,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x:n.x,y:n.y,width:n.width,height:n.height,clipPath:n.clipPath})};function oo(){return oo=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},oo.apply(this,arguments)}const ao=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={vectorEffect:"non-scaling-stroke",id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("line",oo({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("line",oo({},s,{ref:n}))})),so={lineComponent:E().createElement(ao,null),role:"presentation",shapeRendering:"auto"},uo=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(Object.assign({stroke:"black"},t.style),t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,so));return E().cloneElement(n.lineComponent,{...n.events,"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x1:n.x1,x2:n.x2,y1:n.y1,y2:n.y2,transform:n.transform,clipPath:n.clipPath})};function co(t,n,e){return`M ${t}, ${n}\n m ${-e}, 0\n a ${e}, ${e} 0 1,0 ${2*e},0\n a ${e}, ${e} 0 1,0 ${2*-e},0`}function lo(t,n,e){const r=.87*e,i=t-r,o=t+r-i;return`M ${i}, ${n+r}\n h${o}\n v-${o}\n h-${o}\n z`}function fo(t,n,e){const r=.87*e,i=Math.sqrt(r*r*2);return`M ${t}, ${n+i}\n l ${i}, -${i}\n l -${i}, -${i}\n l -${i}, ${i}\n l ${i}, ${i}\n z`}function ho(t,n,e){const r=n-e;return`M ${t-e}, ${r}\n L ${t+e}, ${r}\n L ${t}, ${n+e/2*Math.sqrt(3)}\n z`}function po(t,n,e){const r=n+e;return`M ${t-e}, ${r}\n L ${t+e}, ${r}\n L ${t}, ${n-e/2*Math.sqrt(3)}\n z`}function go(t,n,e){const r=1.1*e,i=r/1.5;return`\n M ${t-i/2}, ${n+r}\n v-${i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${i}\n z`}function yo(t,n,e){const r=.8*e,i=r/1.5;return`\n M ${t-i/2}, ${n+r+i}\n v-${2*i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${2*i}\n z`}function mo(t,n,e){const r=1.1*e,i=r-.3*r,o=t-r,a=t+r-o;return`M ${o}, ${n+i/2}\n h${a}\n v-${i}\n h-${a}\n z`}function vo(t,n,e){const r=1.35*e,i=Math.PI/5;return`M ${fe(10).map((e=>{const o=e%2==0?r:r/2;return`${o*Math.sin(i*(e+1))+t},\n ${o*Math.cos(i*(e+1))+n}`})).join("L")} z`}const xo=t=>{const{x:n,y:e,size:r,symbol:i}=t;if(t.getPath)return t.getPath(n,e,r);const o=f;return("function"==typeof o[i]?o[i]:o.circle)(n,e,r)},_o={pathComponent:E().createElement(Zi,null),role:"presentation",shapeRendering:"auto"},bo=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Qn(t.size,t),o=Jn(t.style,t),a=Qn(t.symbol,t),s=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,size:i,style:o,symbol:a,tabIndex:s})})(Un()({},t,_o)),e=ye(n);return E().cloneElement(n.pathComponent,{...n.events,"aria-label":n.ariaLabel,d:xo(n),style:n.style,desc:n.desc,tabIndex:n.tabIndex,role:n.role,shapeRendering:n.shapeRendering,className:n.className,transform:n.transform,clipPath:n.clipPath,...e})},wo={groupComponent:E().createElement("g",null),lineComponent:E().createElement(ao,null),role:"presentation",shapeRendering:"auto"},Mo=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(t.style,t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,wo)),{ariaLabel:e,groupComponent:r,lineComponent:i,events:o,className:a,majorWhisker:s,minorWhisker:u,transform:c,clipPath:l,role:f,shapeRendering:h,style:p,desc:d,tabIndex:g}=n,y={...o,style:p,desc:d,tabIndex:g,className:a,transform:c,clipPath:l,role:f,shapeRendering:h};return E().cloneElement(r,{},[E().cloneElement(i,Object.assign({key:"major-whisker","aria-label":e},y,s)),E().cloneElement(i,Object.assign({key:"minor-whisker","aria-label":e},y,u))])};var Ao=r(9602),ko=r.n(Ao),Eo=r(1616),Co=r.n(Eo),So=r(4912),Oo=r.n(So);const To=/^onGlobal(.*)$/;function jo(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&&ae(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 Do(t,n,e,r){if(Se()(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(!ae(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(!Se()(o)){const t=(t=>{const n=t=>ae(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 Po(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}function No(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 Fo(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),r.reduce(((r,i)=>{const o=e[i],a=$o(t,n[i],e[i],i);return r[i]=a||o,Oo()(r,(t=>!Se()(t)))}),{})}function $o(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=Lo(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=ko()(Object.keys(s).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},u=Lo(t,s[e],a[e],i);return n[e]=void 0!==u?Object.assign({},a[e],u):a[e],Oo()(n,(t=>!Se()(t)))}),{})}return Oo()(i,(t=>!Se()(t)))}),{})}function Lo(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(Se()(a))return;const s=a.filter((t=>i(t,"eventKey")));return Se()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&ae(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function Io(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=ae(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}function zo(t){const n=t.match(To);return n&&n[1]&&n[1].toLowerCase()}const Wo=t=>Oo()(t,((t,n)=>To.test(n))),Bo=t=>Co()(t,((t,n)=>To.test(n))),Ro=t=>Object.assign(t,{nativeEvent:t}),Uo=t=>!oe(t._x)&&!oe(t._y),Ho=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function qo(t,n){return void 0===n&&(n={}),class extends t{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=No.bind(this);getScopedEvents=Do.bind(this);getEvents=(t,n,e)=>jo.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=!Bi()(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 Bi()(this.calculatedState,i)?!Bi()(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);Ci(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Ci(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(Ro(n))};this.boundGlobalEvents[t]=n,window.addEventListener(zo(t),n)}removeGlobalListener(t){window.removeEventListener(zo(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const e=(t,n)=>{const e=Un()({},this.getEventState(t,n),this.getSharedEventState(t,n));return Se()(e)?void 0:e};return(n.components||Ho).map((n=>{if(t.standalone||"parent"!==n.name)return void 0!==n.index?e(n.index,n.name):this.dataKeys.map((t=>e(t,n.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!Se()(n)){const e=t.externalEventMutations.reduce(((t,n)=>ae(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(n){const{sharedEvents:e}=n,r=Io(n,t.expectedComponents),i=e&&ae(e.getEventState)?e.getEventState:()=>{},o=this.getBaseProps(n,i);return{componentEvents:r,getSharedEventState:i,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return Se()(e)||n?void 0:$o(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(n,e){const r=(e||this.getSharedEventState.bind(this))("parent","parent"),i=this.getEventState("parent","parent"),o=Un()({},i,r),a=o.parentControlledProps,s=a?zn()(o,a):{},u=Un()({},s,n);return"function"==typeof t.getBaseProps?t.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(n,e,r){const i=this.props.name||t.role,o=this.dataKeys&&this.dataKeys[r]||r,a=`${i}-${e}-${o}`,s=this.baseProps[o]&&this.baseProps[o][e]||this.baseProps[o];if(!s&&!this.hasEvents)return;const u=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,e,o),n=Un()({index:r,key:a},this.getEventState(o,e),this.getSharedEventState(o,e),u,s,{id:a}),i=Un()({},Po(t,o,n),n.events);return Object.assign({},n,{events:i})}return Un()({index:r,key:a},u,s,{id:a})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=Wo(e.events),e.events=Bo(e.events)),E().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return E().createElement(Ui,{animate:t.animate,animationWhitelist:e},E().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(E().cloneElement(e,i))),r}),[]),a=this.getComponentProps(n,"data","all"),s=[E().cloneElement(n,a),...o];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=Uo);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(E().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 E().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,o)}}}var Vo=r(4295),Yo=r.n(Vo),Go=r(2829),Ko=r.n(Go),Xo=r(8999),Zo=r.n(Xo),Qo=r(8254),Jo=r.n(Qo);function ta(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 na(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function ea(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 ra extends Map{constructor(t,n=oa){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(ia(this,t))}has(t){return super.has(ia(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 ia({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function oa(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const aa=Symbol("implicit");function sa(){var t=new ra,n=[],e=[],r=aa;function i(i){let o=t.get(i);if(void 0===o){if(r!==aa)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 ra;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 sa(n,e).unknown(r)},na.apply(i,arguments),i}function ua(){var t,n,e=sa().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,p=f?o:a;t=(p-h)/Math.max(1,e-u+2*c),s&&(t=Math.floor(t)),h+=(p-h-t*(e-u))*l,n=t*(1-u),s&&(h=Math.round(h),n=Math.round(n));var d=ta(e).map((function(n){return h+t*n}));return i(f?d.reverse():d)}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 ua(r(),[o,a]).round(s).paddingInner(u).paddingOuter(c).align(l)},na.apply(f(),arguments)}function ca(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return ca(n())},t}function la(){return ca(ua.apply(null,arguments).paddingInner(1))}var fa=Math.sqrt(50),ha=Math.sqrt(10),pa=Math.sqrt(2);function da(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=ga(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 ga(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>=fa?10:o>=ha?5:o>=pa?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=fa?10:o>=ha?5:o>=pa?2:1)}function ya(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>=fa?i*=10:o>=ha?i*=5:o>=pa&&(i*=2),n<t?-i:i}function ma(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function va(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function xa(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=ma,e=(n,e)=>ma(t(n),e),r=(n,e)=>t(n)-e):(n=t===ma||t===va?t:_a,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 _a(){return 0}function ba(t){return null===t?NaN:+t}const wa=xa(ma),Ma=wa.right;wa.left,xa(ba).center;var Aa=Ma;function ka(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Ea(t){return+t}var Ca=[0,1];function Sa(t){return t}function Oa(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:function(t){return function(){return t}}(isNaN(n)?NaN:.5)}function Ta(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=Oa(i,r),o=e(a,o)):(r=Oa(r,i),o=e(o,a)),function(t){return o(r(t))}}function ja(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]=Oa(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=Aa(t,n,1,r)-1;return o[e](i[e](n))}}function Da(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Pa(){var t,n,e,r,i,o,a=Ca,s=Ca,u=sn,c=Sa;function l(){var t=Math.min(a.length,s.length);return c!==Sa&&(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?ja:Ta,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),tn)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Ea),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=ka,l()},f.clamp=function(t){return arguments.length?(c=!!t||Sa,l()):c!==Sa},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 Na(){return Pa()(Sa,Sa)}var Fa,$a=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function La(t){if(!(n=$a.exec(t)))throw new Error("invalid format: "+t);var n;return new Ia({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 Ia(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 za(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 Wa(t){return(t=za(Math.abs(t)))?t[1]:NaN}function Ba(t,n){var e=za(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")}La.prototype=Ia.prototype,Ia.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 Ra={"%":(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)=>Ba(100*t,n),r:Ba,s:function(t,n){var e=za(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Fa=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")+za(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ua(t){return t}var Ha,qa,Va,Ya=Array.prototype.map,Ga=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ka(t,n,e,r){var i,o=ya(t,n,e);switch((r=La(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(Wa(n)/3)))-Wa(Math.abs(t)))}(o,a))||(r.precision=i),Va(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,Wa(n)-Wa(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,-Wa(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return qa(r)}function Xa(t){var n=t.domain;return t.ticks=function(t){var e=n();return da(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Ka(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=ga(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 Za(){var t=Na();return t.copy=function(){return Da(t,Za())},na.apply(t,arguments),Xa(t)}function Qa(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,Ea),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Qa(t).unknown(n)},t=arguments.length?Array.from(t,Ea):[0,1],Xa(e)}function Ja(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 ts(t){return Math.log(t)}function ns(t){return Math.exp(t)}function es(t){return-Math.log(-t)}function rs(t){return-Math.exp(-t)}function is(t){return isFinite(t)?+("1e"+t):t<0?0:t}function os(t){return(n,e)=>-t(-n,e)}function as(t){const n=t(ts,ns),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?is:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=os(r),i=os(i),t(es,rs)):t(ts,ns),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 p=null==t?10:+t;let d=[];if(!(o%1)&&h-f<p){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;d.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;d.push(l)}2*d.length<p&&(d=da(a,s,p))}else d=da(f,h,Math.min(h-f,p)).map(i);return u?d.reverse():d},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=La(e)).precision||(e.trim=!0),e=qa(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(Ja(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function ss(){const t=as(Pa()).domain([1,10]);return t.copy=()=>Da(t,ss()).base(t.base()),na.apply(t,arguments),t}function us(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function cs(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function ls(t){var n=1,e=t(us(n),cs(n));return e.constant=function(e){return arguments.length?t(us(n=+e),cs(n)):n},Xa(e)}function fs(){var t=ls(Pa());return t.copy=function(){return Da(t,fs()).constant(t.constant())},na.apply(t,arguments)}function hs(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function ps(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function ds(t){return t<0?-t*t:t*t}function gs(t){var n=t(Sa,Sa),e=1;function r(){return 1===e?t(Sa,Sa):.5===e?t(ps,ds):t(hs(e),hs(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Xa(n)}function ys(){var t=gs(Pa());return t.copy=function(){return Da(t,ys()).exponent(t.exponent())},na.apply(t,arguments),t}function ms(){return ys.apply(null,arguments).exponent(.5)}function vs(t){return Math.sign(t)*t*t}function xs(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function _s(){var t,n=Na(),e=[0,1],r=!1;function i(e){var i=xs(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(vs(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,Ea)).map(vs)),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 _s(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},na.apply(i,arguments),Xa(i)}function bs(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 ws(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 Ms(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function As(t,n,e=0,r=t.length-1,i){for(i=void 0===i?Ms:function(t=ma){if(t===ma)return Ms;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);As(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(ks(t,e,n),i(t[r],o)>0&&ks(t,e,r);a<s;){for(ks(t,a,s),++a,--s;i(t[a],o)<0;)++a;for(;i(t[s],o)>0;)--s}0===i(t[e],o)?ks(t,e,s):(++s,ks(t,s,r)),s<=n&&(e=s+1),n<=s&&(r=s-1)}return t}function ks(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function Es(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 ws(t);if(n>=1)return bs(t);var r,i=(r-1)*n,o=Math.floor(i),a=bs(As(t,o).subarray(0,o+1));return a+(ws(t.subarray(o+1))-a)*(i-o)}}function Cs(t,n,e=ba){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 Ss(){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]=Cs(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[Aa(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(ma),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 Ss().domain(n).range(e).unknown(t)},na.apply(o,arguments)}function Os(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[Aa(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 Os().domain([n,e]).range(o).unknown(t)},na.apply(Xa(a),arguments)}function Ts(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[Aa(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 Ts().domain(n).range(e).unknown(t)},na.apply(i,arguments)}Ha=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Ua:(n=Ya.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?Ua:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Ya.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=La(t)).fill,e=t.align,f=t.sign,h=t.symbol,p=t.zero,d=t.width,g=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Ra[v]||(void 0===y&&(y=12),m=!0,v="g"),(p||"0"===n&&"="===e)&&(p=!0,n="0",e="=");var x="$"===h?i:"#"===h&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===h?o:/[%p]/.test(v)?u:"",b=Ra[v],w=/[defgprs%]/.test(v);function M(t){var i,o,u,h=x,M=_;if("c"===v)M=b(t)+M,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:b(Math.abs(t),y),m&&(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)),A&&0==+t&&"+"!==f&&(A=!1),h=(A?"("===f?f:c:"-"===f||"("===f?"":f)+h,M=("s"===v?Ga[8+Fa/3]:"")+M+(A&&"("===f?")":""),w)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){M=(46===u?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!p&&(t=r(t,1/0));var k=h.length+t.length+M.length,E=k<d?new Array(d-k+1).join(n):"";switch(g&&p&&(t=r(E+t,E.length?d-M.length:1/0),E=""),e){case"<":t=h+t+M+E;break;case"=":t=h+E+t+M;break;case"^":t=E.slice(0,k=E.length>>1)+h+t+M+E.slice(k);break;default:t=E+h+t+M}return s(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,n){var e=f(((t=La(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Wa(n)/3))),i=Math.pow(10,-r),o=Ga[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),qa=Ha.format,Va=Ha.formatPrefix;const js=1e3,Ds=6e4,Ps=36e5,Ns=864e5,Fs=6048e5,$s=31536e6;var Ls=new Date,Is=new Date;function zs(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 zs((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 Ls.setTime(+n),Is.setTime(+r),t(Ls),t(Is),Math.floor(e(Ls,Is))},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 Ws=zs((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Ws.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?zs((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Ws:null};var Bs=Ws,Rs=(Ws.range,zs((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*js)}),(function(t,n){return(n-t)/js}),(function(t){return t.getUTCSeconds()}))),Us=Rs,Hs=(Rs.range,zs((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*js)}),(function(t,n){t.setTime(+t+n*Ds)}),(function(t,n){return(n-t)/Ds}),(function(t){return t.getMinutes()}))),qs=Hs,Vs=(Hs.range,zs((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*js-t.getMinutes()*Ds)}),(function(t,n){t.setTime(+t+n*Ps)}),(function(t,n){return(n-t)/Ps}),(function(t){return t.getHours()}))),Ys=Vs,Gs=(Vs.range,zs((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ds)/Ns),(t=>t.getDate()-1))),Ks=Gs;function Xs(t){return zs((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())*Ds)/Fs}))}Gs.range;var Zs=Xs(0),Qs=Xs(1),Js=Xs(2),tu=Xs(3),nu=Xs(4),eu=Xs(5),ru=Xs(6),iu=(Zs.range,Qs.range,Js.range,tu.range,nu.range,eu.range,ru.range,zs((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()}))),ou=iu,au=(iu.range,zs((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()})));au.every=function(t){return isFinite(t=Math.floor(t))&&t>0?zs((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 su=au,uu=(au.range,zs((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Ds)}),(function(t,n){return(n-t)/Ds}),(function(t){return t.getUTCMinutes()}))),cu=uu,lu=(uu.range,zs((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Ps)}),(function(t,n){return(n-t)/Ps}),(function(t){return t.getUTCHours()}))),fu=lu,hu=(lu.range,zs((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ns}),(function(t){return t.getUTCDate()-1}))),pu=hu;function du(t){return zs((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)/Fs}))}hu.range;var gu=du(0),yu=du(1),mu=du(2),vu=du(3),xu=du(4),_u=du(5),bu=du(6),wu=(gu.range,yu.range,mu.range,vu.range,xu.range,_u.range,bu.range,zs((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()}))),Mu=wu,Au=(wu.range,zs((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()})));Au.every=function(t){return isFinite(t=Math.floor(t))&&t>0?zs((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 ku=Au;function Eu(t,n,e,r,i,o){const a=[[Us,1,js],[Us,5,5e3],[Us,15,15e3],[Us,30,3e4],[o,1,Ds],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ps],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Ns],[r,2,1728e5],[e,1,Fs],[n,1,2592e6],[n,3,7776e6],[t,1,$s]];function s(n,e,r){const i=Math.abs(e-n)/r,o=xa((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(ya(n/$s,e/$s,r));if(0===o)return Bs.every(Math.max(ya(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]}Au.range;const[Cu,Su]=Eu(ku,Mu,gu,pu,fu,cu),[Ou,Tu]=Eu(su,ou,Zs,Ks,Ys,qs);function ju(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 Du(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 Pu(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var Nu,Fu,$u,Lu={"-":"",_:" ",0:"0"},Iu=/^\s*\d+/,zu=/^%/,Wu=/[\\^$*+?|[\]().{}]/g;function Bu(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 Ru(t){return t.replace(Wu,"\\$&")}function Uu(t){return new RegExp("^(?:"+t.map(Ru).join("|")+")","i")}function Hu(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function qu(t,n,e){var r=Iu.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Vu(t,n,e){var r=Iu.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Yu(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Gu(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Ku(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Xu(t,n,e){var r=Iu.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Zu(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Qu(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 Ju(t,n,e){var r=Iu.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function tc(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function nc(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function ec(t,n,e){var r=Iu.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function rc(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function ic(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function oc(t,n,e){var r=Iu.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function ac(t,n,e){var r=Iu.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function sc(t,n,e){var r=Iu.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function uc(t,n,e){var r=zu.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function cc(t,n,e){var r=Iu.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function lc(t,n,e){var r=Iu.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function fc(t,n){return Bu(t.getDate(),n,2)}function hc(t,n){return Bu(t.getHours(),n,2)}function pc(t,n){return Bu(t.getHours()%12||12,n,2)}function dc(t,n){return Bu(1+Ks.count(su(t),t),n,3)}function gc(t,n){return Bu(t.getMilliseconds(),n,3)}function yc(t,n){return gc(t,n)+"000"}function mc(t,n){return Bu(t.getMonth()+1,n,2)}function vc(t,n){return Bu(t.getMinutes(),n,2)}function xc(t,n){return Bu(t.getSeconds(),n,2)}function _c(t){var n=t.getDay();return 0===n?7:n}function bc(t,n){return Bu(Zs.count(su(t)-1,t),n,2)}function wc(t){var n=t.getDay();return n>=4||0===n?nu(t):nu.ceil(t)}function Mc(t,n){return t=wc(t),Bu(nu.count(su(t),t)+(4===su(t).getDay()),n,2)}function Ac(t){return t.getDay()}function kc(t,n){return Bu(Qs.count(su(t)-1,t),n,2)}function Ec(t,n){return Bu(t.getFullYear()%100,n,2)}function Cc(t,n){return Bu((t=wc(t)).getFullYear()%100,n,2)}function Sc(t,n){return Bu(t.getFullYear()%1e4,n,4)}function Oc(t,n){var e=t.getDay();return Bu((t=e>=4||0===e?nu(t):nu.ceil(t)).getFullYear()%1e4,n,4)}function Tc(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Bu(n/60|0,"0",2)+Bu(n%60,"0",2)}function jc(t,n){return Bu(t.getUTCDate(),n,2)}function Dc(t,n){return Bu(t.getUTCHours(),n,2)}function Pc(t,n){return Bu(t.getUTCHours()%12||12,n,2)}function Nc(t,n){return Bu(1+pu.count(ku(t),t),n,3)}function Fc(t,n){return Bu(t.getUTCMilliseconds(),n,3)}function $c(t,n){return Fc(t,n)+"000"}function Lc(t,n){return Bu(t.getUTCMonth()+1,n,2)}function Ic(t,n){return Bu(t.getUTCMinutes(),n,2)}function zc(t,n){return Bu(t.getUTCSeconds(),n,2)}function Wc(t){var n=t.getUTCDay();return 0===n?7:n}function Bc(t,n){return Bu(gu.count(ku(t)-1,t),n,2)}function Rc(t){var n=t.getUTCDay();return n>=4||0===n?xu(t):xu.ceil(t)}function Uc(t,n){return t=Rc(t),Bu(xu.count(ku(t),t)+(4===ku(t).getUTCDay()),n,2)}function Hc(t){return t.getUTCDay()}function qc(t,n){return Bu(yu.count(ku(t)-1,t),n,2)}function Vc(t,n){return Bu(t.getUTCFullYear()%100,n,2)}function Yc(t,n){return Bu((t=Rc(t)).getUTCFullYear()%100,n,2)}function Gc(t,n){return Bu(t.getUTCFullYear()%1e4,n,4)}function Kc(t,n){var e=t.getUTCDay();return Bu((t=e>=4||0===e?xu(t):xu.ceil(t)).getUTCFullYear()%1e4,n,4)}function Xc(){return"+0000"}function Zc(){return"%"}function Qc(t){return+t}function Jc(t){return Math.floor(+t/1e3)}function tl(t){return new Date(t)}function nl(t){return t instanceof Date?+t:+new Date(+t)}function el(t,n,e,r,i,o,a,s,u,c){var l=Na(),f=l.invert,h=l.domain,p=c(".%L"),d=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),v=c("%b %d"),x=c("%B"),_=c("%Y");function b(t){return(u(t)<t?p:s(t)<t?d:a(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?m:v:e(t)<t?x:_)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Array.from(t,nl)):h().map(tl)},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(Ja(e,t)):l},l.copy=function(){return Da(l,el(t,n,e,r,i,o,a,s,u,c))},l}function rl(){return na.apply(el(Ou,Tu,su,ou,Zs,Ks,Ys,qs,Us,Fu).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function il(){return na.apply(el(Cu,Su,ku,Mu,gu,pu,fu,cu,Us,$u).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ol(){var t,n,e,r,i,o=0,a=1,s=Sa,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(sn),c.rangeRound=l(ka),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 al(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function sl(){var t=Xa(ol()(Sa));return t.copy=function(){return al(t,sl())},ea.apply(t,arguments)}function ul(){var t=as(ol()).domain([1,10]);return t.copy=function(){return al(t,ul()).base(t.base())},ea.apply(t,arguments)}function cl(){var t=ls(ol());return t.copy=function(){return al(t,cl()).constant(t.constant())},ea.apply(t,arguments)}function ll(){var t=gs(ol());return t.copy=function(){return al(t,ll()).exponent(t.exponent())},ea.apply(t,arguments)}function fl(){return ll.apply(null,arguments).exponent(.5)}function hl(){var t=[],n=Sa;function e(e){if(null!=e&&!isNaN(e=+e))return n((Aa(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(ma),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)=>Es(t,r/n)))},e.copy=function(){return hl(n).domain(t)},ea.apply(e,arguments)}function pl(t,n){void 0===n&&(n=t,t=sn);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 dl(){var t,n,e,r,i,o,a,s=0,u=.5,c=1,l=1,f=Sa,h=!1;function p(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 d(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=pl(t,[e,r,i]),p):[f(0),f(.5),f(1)]}}return p.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,p):[s,u,c]},p.clamp=function(t){return arguments.length?(h=!!t,p):h},p.interpolator=function(t){return arguments.length?(f=t,p):f},p.range=d(sn),p.rangeRound=d(ka),p.unknown=function(t){return arguments.length?(a=t,p):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,p}}function gl(){var t=Xa(dl()(Sa));return t.copy=function(){return al(t,gl())},ea.apply(t,arguments)}function yl(){var t=as(dl()).domain([.1,1,10]);return t.copy=function(){return al(t,yl()).base(t.base())},ea.apply(t,arguments)}function ml(){var t=ls(dl());return t.copy=function(){return al(t,ml()).constant(t.constant())},ea.apply(t,arguments)}function vl(){var t=gs(dl());return t.copy=function(){return al(t,vl()).exponent(t.exponent())},ea.apply(t,arguments)}function xl(){return vl.apply(null,arguments).exponent(.5)}Nu=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=Uu(i),l=Hu(i),f=Uu(o),h=Hu(o),p=Uu(a),d=Hu(a),g=Uu(s),y=Hu(s),m=Uu(u),v=Hu(u),x={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:fc,e:fc,f:yc,g:Cc,G:Oc,H:hc,I:pc,j:dc,L:gc,m:mc,M:vc,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Qc,s:Jc,S:xc,u:_c,U:bc,V:Mc,w:Ac,W:kc,x:null,X:null,y:Ec,Y:Sc,Z:Tc,"%":Zc},_={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:jc,e:jc,f:$c,g:Yc,G:Kc,H:Dc,I:Pc,j:Nc,L:Fc,m:Lc,M:Ic,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Qc,s:Jc,S:zc,u:Wc,U:Bc,V:Uc,w:Hc,W:qc,x:null,X:null,y:Vc,Y:Gc,Z:Xc,"%":Zc},b={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=d.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=m.exec(n.slice(e));return r?(t.m=v.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 A(t,n,e,r)},d:nc,e:nc,f:sc,g:Zu,G:Xu,H:rc,I:rc,j:ec,L:ac,m:tc,M:ic,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:Ju,Q:cc,s:lc,S:oc,u:Vu,U:Yu,V:Gu,w:qu,W:Ku,x:function(t,n,r){return A(t,e,n,r)},X:function(t,n,e){return A(t,r,n,e)},y:Zu,Y:Xu,Z:Qu,"%":uc};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=Lu[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 M(t,n){return function(e){var r,i,o=Pu(1900,void 0,1);if(A(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=Du(Pu(o.y,0,1))).getUTCDay(),r=i>4||0===i?yu.ceil(r):yu(r),r=pu.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ju(Pu(o.y,0,1))).getDay(),r=i>4||0===i?Qs.ceil(r):Qs(r),r=Ks.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?Du(Pu(o.y,0,1)).getUTCDay():ju(Pu(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,Du(o)):ju(o)}}function A(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 Lu?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),_.x=w(e,_),_.X=w(r,_),_.c=w(n,_),{format:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",_);return n.toString=function(){return t},n},utcParse:function(t){var n=M(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"]}),Fu=Nu.format,Nu.parse,$u=Nu.utcFormat,Nu.utcParse;const _l=["linear","time","log","sqrt"];function bl(t){return"function"==typeof t?ae(t.copy)&&ae(t.domain)&&ae(t.range):"string"==typeof t&&_l.includes(t)}function wl(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function Ml(t,n){if(!t.data)return"linear";const e=se(t[n]);return Ai(t.data.map((t=>{const r=ft()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function Al(t){if(bl(t)){const n=`scale${(t=>t&&t[0].toUpperCase()+t.slice(1))(t)}`;return p[n]()}return Za()}function kl(t,n){const e=Cl(t,n);return e?"string"==typeof e?Al(e):e:Al(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 Ai(e)?"time":"linear"}(t,n)||Ml(t,n))}function El(){return Za()}function Cl(t,n){if(!wl(t,n))return;const e=t.scale[n]||t.scale;return bl(e)?ae(e)?e:Al(e):void 0}function Sl(t,n){return function(t,n){if(!wl(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:Tl(e)}(t,n)||Ml(t,n)}const Ol=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function Tl(t){if("string"==typeof t)return t;const n=Ol.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}const jl="@@__IMMUTABLE_ITERABLE__@@",Dl="@@__IMMUTABLE_RECORD__@@",Pl="@@__IMMUTABLE_LIST__@@",Nl="@@__IMMUTABLE_MAP__@@";function Fl(t){return!(!t||!t[jl])}function $l(t){return!(!t||!t[Dl])}function Ll(t){return Fl(t)||$l(t)}function Il(t){return!(!t||!t[Pl])}function zl(t){return!(!t||!t[Nl])}function Wl(t,n){return Fl(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=Wl(e)),t[r]=i,t}),Il(t)?[]:{}):t}function Bl(t){return Ll(t)?Wl(t,{errorX:!0,errorY:!0}):t}function Rl(t){return Fl(t)?t.size:t.length}function Ul(t,n){const e=(ft()(t.domain)?t.domain[n]:t.domain)||kl(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=fe(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function Hl(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 ct()(t,r,i)}function ql(t,n,e){const r=t=>void 0!==t,i=ji(n.x),o=Ti(n.x),a=ji(n.y),s=Ti(n.y),u=t=>n=>r(n)&&n<t,c=t=>n=>r(n)&&n>t,l=u(i),f=u(a),h=c(o),p=c(s);return t.map((t=>{let{_x:n,_y:i,_y0:o,_y1:u}=t;(l(n)||h(n))&&(n=null);const c=r(o)?o:e,d=r(u)?u:i;return r(d)?(r(c)||!f(d)&&!p(d)||(i=null),(f(c)&&f(d)||p(c)&&p(d))&&(i=o=u=null),f(c)&&!f(d)&&(o=a),p(c)&&!p(d)&&(o=s),Object.assign({},t,Co()({_x:n,_y:i,_y0:o,_y1:u},Zo()))):t}))}function Vl(t,n){const e=Ql(t,n),r=Jl(t,n),i=tf(t,n),o=ko()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function Yl(t,n,e){void 0===e&&(e=0);const r=Rl(t);if(r>n){const i=Math.pow(2,Math.ceil(Math.log2(r/n)));return t.filter(((t,n)=>(n+e)%i==0))}return t}function Gl(t,n,e){if(!Array.isArray(t)&&!Fl(t)||Rl(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=se(void 0!==n[r=e]?n[r]:r),t}),{}),o=Jo()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?Vl(n,"x"):void 0,y:-1!==e.indexOf("y")?Vl(n,"y"):void 0,y0:-1!==e.indexOf("y0")?Vl(n,"y"):void 0});const s=o?t:t.reduce(((t,n,r)=>{const o=Bl(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 Se()(c)||t.push(c),t}),[]),u=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:Sl(n,"x"),y:Sl(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)))}(Hl(s,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=ae(i=t.eventKey)?i:null==i?()=>{}:Bn()(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 Kl(t){const n=Ul(t,"x"),e=Ul(t,"y"),r=n.map(((t,n)=>({x:t,y:e[n]})));return r}function Xl(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function Zl(t){return t.data?Gl(t.data,t):Gl(Kl(t),t)}function Ql(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))}function Jl(t,n){if(!t.categories)return[];const e=Xl(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?Oi(r):[]}function tf(t,n){if(!Array.isArray(t.data)&&!Fl(t.data))return[];const e=se(void 0===t[n]?n:t[n]);return Hl(t.data.reduce(((t,n)=>(t.push(Bl(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=Bl(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)),[])}function nf(t){const n=t=>t&&t.type?t.type.role:"";let e=n(t);if("portal"===e){const r=E().Children.toArray(t.props.children);e=r.length?n(r[0]):""}return["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(e)}function ef(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 rf(t,n){const e=ae(t)?t:uf,r=ae(n)?n:of;return(t,n)=>{const i=lf(t,n);if(i)return r(i,t,n);const o=Xl(t,n),a=o?sf(t,n,o):e(t,n);return a?r(a,t,n):void 0}}function of(t,n,e){return function(t,n,e){return"log"!==Sl(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=pf(n,e),i=hf(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return ft()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=ji(t),s=Ti(t),u=ie(n,ce(e,n.horizontal)),c=Math.abs(u[0]-u[1]),l=Math.max(c-o.left-o.right,1),f=Math.abs(s.valueOf()-a.valueOf())/l*c,h=f*o.left/c,p=f*o.right/c;let d={min:a.valueOf()-h,max:s.valueOf()+p};const g=ft()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,y=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&s<=0&&t>=0?0:t;if((a>=0&&d.min<=0||s<=0&&d.max>=0)&&!1!==g){const t={left:Math.abs(s-a)*o.left/c,right:Math.abs(s-a)*o.right/c},n={min:y(a.valueOf()-t.left,"min"),max:y(s.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/c,right:Math.abs(n.max-n.min)*o.right/c};d={min:y(a.valueOf()-e.left,"min"),max:y(s.valueOf()+e.right,"max")}}const m={min:void 0!==r?r:d.min,max:void 0!==i?i:d.max};return a instanceof Date||s instanceof Date?cf(new Date(m.min),new Date(m.max)):cf(m.min,m.max)}(t,n,e),n,e)}function af(t,n){return rf()(t,n)}function sf(t,n,e){const r=e||Xl(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const s=pf(t,n),u=hf(t,n),c=Mi(r)?Jl(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=cf(void 0!==s?s:ji(f),void 0!==u?u:Ti(f));return i&&"x"===n&&360===Math.abs(o-a)?df(h,f):h}function uf(t,n,e){const r=e||Zl(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,s=pf(t,n),u=hf(t,n);if(r.length<1)return void 0!==s&&void 0!==u?cf(s,u):void 0;const c=cf(void 0!==s?s:ef(r,n,"min"),void 0!==u?u:ef(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?df(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 cf(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 lf(t,n){const e=pf(t,n),r=hf(t,n);return ft()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?cf(e,r):void 0}function ff(t,n){const e=lf(t,n);if(e)return e;const r=Zl(t),i=r.reduce(((t,n)=>n._y0<t?n._y0:t),1/0);return rf((()=>uf(t,n,r)),(e=>of((e=>{if("x"===n)return e;const r=i!==1/0?i:0,o=hf(t,n),a=pf(t,n),s=void 0!==o?o:Ti(e,r);return cf(void 0!==a?a:ji(e,r),s)})(e),t,n)))(t,n)}function hf(t,n){return ft()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||Yo()(t.maxDomain)?t.maxDomain:void 0}function pf(t,n){return ft()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||Yo()(t.minDomain)?t.minDomain:void 0}function df(t,n){const e=Ko()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}function gf(t){const n=t=>t&&t.type?t.type.role:"";let e=n(t);if("portal"===e){const r=E().Children.toArray(t.props.children);e=r.length?n(r[0]):""}return["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(e)}function yf(t){return t}function mf(t){const{dependentAxis:n}=t;return n?"y":"x"}function vf(t,n){const e=n||yf,r=t=>t.reduce(((t,n)=>n.type&&"axis"===n.type.role&&e(n)?t.concat(n):n.props&&n.props.children?t.concat(r(E().Children.toArray(n.props.children))):t),[]);return r(t)}function xf(t,n){return vf(t,(t=>t.type.getAxis(t.props)===n))[0]}function _f(t,n){const e=t=>t.reduce(((t,r)=>r.type&&"axis"===r.type.role&&(t=>"dependent"===n?t.props.dependentAxis:!t.props.dependentAxis)(r)||r.props&&r.props.children&&e(E().Children.toArray(r.props.children)).length>0?t.concat(r):t),[]);return e(t)}function bf(t){const n=t=>{const n=Math.min(...t),e=Math.max(...t);return e<0?e:Math.max(0,n)};return{x:Ai(t.x)?new Date(Math.min(...t.x)):n(t.x),y:Ai(t.y)?new Date(Math.min(...t.y)):n(t.y)}}function wf(t,n){return Ai(n)?"positive":t<=0&&Math.max(...n)<=0?"negative":"positive"}function Mf(t){return{top:!1,bottom:!1,left:!0,right:!0}[t.orientation||(t.dependentAxis?"left":"bottom")]}function Af(t){return void 0!==t.tickValues&&Mi(t.tickValues)}function kf(t){const{tickValues:n,tickFormat:e}=t;if(0===n?.length)return[];const r=mf(t),i=t.stringMap&&t.stringMap[r];let o=n;i&&(o=function(t){const n=mf(t),e=t.stringMap&&t.stringMap[n],r=Array.isArray(t.categories)?t.categories:t.categories&&t.categories[n],i=r&&Ei(r)?r.map((t=>e[t])):void 0,o=e&&Object.values(e);return i&&0!==i.length?i:o}(t)),n&&Mi(n)&&(o=i?n.map((t=>i[t])):fe(1,n.length+1));const a=o?ko()(o):(()=>{if(e&&Array.isArray(e))return Mi(e)?e.map(((t,n)=>n)):e})();return Array.isArray(a)&&a.length?(n=>{const e=[],i=t.domain&&t.domain[r]||t.domain;if(n)return n.forEach(((t,n)=>{Array.isArray(i)?t>=ji(i)&&t<=Ti(i)&&e.push({value:t,index:n}):e.push({value:t,index:n})})),e})(a):void 0}function Ef(t,n){const{tickFormat:e}=t,r=mf(t),i=t.stringMap&&t.stringMap[r];if(!e){const e=function(t){const{tickValues:n}=t,e=mf(t),r=t.stringMap&&t.stringMap[e],i=n&&!Ai(n)?t=>t:void 0;if(!r)return Af(t)?(t,e)=>n[e]:i;const o=r&&Hn(r),a=["",...ct()(Object.values(r),(t=>t)).map((t=>o[t])),""];return t=>a[t]}(t),r=n.tickFormat&&ae(n.tickFormat)?n.tickFormat():t=>t;return e||r}if(e&&Array.isArray(e)){const n=kf(t)?.map((t=>t.index)),r=e.filter(((t,e)=>n?.includes(e)));return(t,n)=>r[n]}if(e&&ae(e)){const n=(n,e,r)=>{const o=Hn(i),a=r.map((t=>o[t]));return t.tickFormat(o[n],e,a)};return i?n:e}return t=>t}function Cf(t,n){if(!n||!Array.isArray(t)||t.length<=n)return t;const e=Math.floor(t.length/n);return t.filter(((t,n)=>n%e==0))}function Sf(t,n,e){void 0===e&&(e=!1);const{tickCount:r}=t,i=kf(t);if(0===i?.length)return[""];const o=i?i.map((t=>t.value)):void 0;if(o)return Cf(o,r);if(n.ticks&&ae(n.ticks)){const t=r||5,i=n.ticks(t),o=Cf(Array.isArray(i)&&i.length?i:n.domain(),r);if(e){const t=o.filter((t=>0!==t));return t.length?t:o}return o}return n.domain()}function Of(t,n){const{polar:e,startAngle:r=0,endAngle:i=360}=t,o=kf(t),a=o&&0!==o?.length?o.map((t=>t.value)):void 0;if(!Array.isArray(a))return;const s=pf(t,n),u=hf(t,n),c=Af(t),l=a.map((t=>Number(t))),f=c?1:ji(l),h=c?a.length:Ti(l),p=cf(void 0!==s?s:f,void 0!==u?u:h),d=e&&"x"===n&&360===Math.abs(r-i)?df(p,l):p;return Mf(t)&&!e&&d.reverse(),d}function Tf(t,n){const e=mf(t);if(!n||n===e)return rf(Of)(t,e)}function jf(t,n){if(!t.axisValue)return;const e="x"===n?"y":"x",r=qi()(t.scale)&&ae(t.scale[e])?t.scale[e]:void 0;if(!r)return;const i="x"===n?"y":"x",o=qi()(t.stringMap)&&t.stringMap[i];return r(o&&"string"==typeof t.axisValue?o[t.axisValue]:t.axisValue)}function Df(t,n){if(!qi()(t.theme))return ue(t,n,"axis");let e="axis";if(t.dependentAxis&&t.theme.dependentAxis?e="dependentAxis":!t.dependentAxis&&t.theme.independentAxis&&(e="independentAxis"),"axis"===e)return ue(t,n,"axis");const r=Un()({},t.theme[e],t.theme.axis),i=Object.assign({},t.theme,{axis:r});return ue(Object.assign({},t,{theme:i}),n,"axis")}function Pf(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}}function Nf(){return{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})}}}function Ff(){return{onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}}}function $f(t){const n=E().useRef();return E().useEffect((()=>{n.current=t})),n.current}const Lf={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},If=function(t){void 0===t&&(t=Lf);const[n,e]=E().useState(t),r=E().useCallback((t=>{e((n=>({...n,...t})))}),[e]),i=E().useCallback(((t,e,i)=>{if(!t?.animate)return e.props.animate;let o=t.animate&&t.animate.getTransitions;const a=(()=>{let t=n&&n.childrenTransitions;return t=Si(t)?t[i]:t,Un()({childrenTransitions:t},n)})(),s=t.animate&&t.animate.parentState||a;if(!o){const n=zi(t,a,(t=>r(t)));o=t=>n(t,i)}return Un()({getTransitions:o,parentState:s},t.animate,e.props.animate)}),[n,r]),o=E().useCallback(((t,n)=>{if(t?.animate)if(t.animate.parentState){const e=t.animate.parentState.nodesWillExit?t:null,i=Un()({oldProps:e,nextProps:n},t.animate.parentState);r(i)}else{const e=E().Children.toArray(t.children),i=E().Children.toArray(n.children),o=t=>{const n=t=>t.type&&t.type.continuous;return Array.isArray(t)?t.some(n):n(t)},a=!t.polar&&e.some((t=>o(t)||t?.props?.children&&o(t.props.children))),{nodesWillExit:s,nodesWillEnter:u,childrenTransitions:c,nodesShouldEnter:l}=Ii(e,i);r({nodesWillExit:s,nodesWillEnter:u,nodesShouldEnter:l,childrenTransitions:Si(c)?c[0]:c,oldProps:s?t:void 0,nextProps:n,continuous:a})}}),[r]),a=E().useCallback((t=>n&&n.nodesWillExit&&n.oldProps||t),[n]);return{state:n,setState:r,getAnimationProps:i,setAnimationState:o,getProps:a}},zf=Math.PI,Wf=2*zf,Bf=1e-6,Rf=Wf-Bf;function Uf(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Hf(){return new Uf}Uf.prototype=Hf.prototype={constructor:Uf,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>Bf)if(Math.abs(l*s-u*c)>Bf&&i){var h=e-o,p=r-a,d=s*s+u*u,g=h*h+p*p,y=Math.sqrt(d),m=Math.sqrt(f),v=i*Math.tan((zf-Math.acos((d+f-g)/(2*y*m)))/2),x=v/m,_=v/y;Math.abs(x-1)>Bf&&(this._+="L"+(t+x*c)+","+(n+x*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*p)+","+(this._x1=t+_*s)+","+(this._y1=n+_*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)>Bf||Math.abs(this._y1-c)>Bf)&&(this._+="L"+u+","+c),e&&(f<0&&(f=f%Wf+Wf),f>Rf?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-s)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>Bf&&(this._+="A"+e+","+e+",0,"+ +(f>=zf)+","+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 qf=Hf;function Vf(t){return function(){return t}}const Yf=Math.abs,Gf=Math.atan2,Kf=Math.cos,Xf=Math.max,Zf=Math.min,Qf=Math.sin,Jf=Math.sqrt,th=1e-12,nh=Math.PI,eh=nh/2,rh=2*nh;function ih(t){return t>1?0:t<-1?nh:Math.acos(t)}function oh(t){return t>=1?eh:t<=-1?-eh:Math.asin(t)}function ah(t){return t.innerRadius}function sh(t){return t.outerRadius}function uh(t){return t.startAngle}function ch(t){return t.endAngle}function lh(t){return t&&t.padAngle}function fh(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<th))return[t+(h=(l*(n-o)-f*(t-i))/h)*u,n+h*c]}function hh(t,n,e,r,i,o,a){var s=t-e,u=n-r,c=(a?o:-o)/Jf(s*s+u*u),l=c*u,f=-c*s,h=t+l,p=n+f,d=e+l,g=r+f,y=(h+d)/2,m=(p+g)/2,v=d-h,x=g-p,_=v*v+x*x,b=i-o,w=h*g-d*p,M=(x<0?-1:1)*Jf(Xf(0,b*b*_-w*w)),A=(w*x-v*M)/_,k=(-w*v-x*M)/_,E=(w*x+v*M)/_,C=(-w*v+x*M)/_,S=A-y,O=k-m,T=E-y,j=C-m;return S*S+O*O>T*T+j*j&&(A=E,k=C),{cx:A,cy:k,x01:-l,y01:-f,x11:A*(i/b-1),y11:k*(i/b-1)}}function ph(){var t=ah,n=sh,e=Vf(0),r=null,i=uh,o=ch,a=lh,s=null;function u(){var u,c,l=+t.apply(this,arguments),f=+n.apply(this,arguments),h=i.apply(this,arguments)-eh,p=o.apply(this,arguments)-eh,d=Yf(p-h),g=p>h;if(s||(s=u=qf()),f<l&&(c=f,f=l,l=c),f>th)if(d>rh-th)s.moveTo(f*Kf(h),f*Qf(h)),s.arc(0,0,f,h,p,!g),l>th&&(s.moveTo(l*Kf(p),l*Qf(p)),s.arc(0,0,l,p,h,g));else{var y,m,v=h,x=p,_=h,b=p,w=d,M=d,A=a.apply(this,arguments)/2,k=A>th&&(r?+r.apply(this,arguments):Jf(l*l+f*f)),E=Zf(Yf(f-l)/2,+e.apply(this,arguments)),C=E,S=E;if(k>th){var O=oh(k/l*Qf(A)),T=oh(k/f*Qf(A));(w-=2*O)>th?(_+=O*=g?1:-1,b-=O):(w=0,_=b=(h+p)/2),(M-=2*T)>th?(v+=T*=g?1:-1,x-=T):(M=0,v=x=(h+p)/2)}var j=f*Kf(v),D=f*Qf(v),P=l*Kf(b),N=l*Qf(b);if(E>th){var F,$=f*Kf(x),L=f*Qf(x),I=l*Kf(_),z=l*Qf(_);if(d<nh&&(F=fh(j,D,I,z,$,L,P,N))){var W=j-F[0],B=D-F[1],R=$-F[0],U=L-F[1],H=1/Qf(ih((W*R+B*U)/(Jf(W*W+B*B)*Jf(R*R+U*U)))/2),q=Jf(F[0]*F[0]+F[1]*F[1]);C=Zf(E,(l-q)/(H-1)),S=Zf(E,(f-q)/(H+1))}}M>th?S>th?(y=hh(I,z,j,D,f,S,g),m=hh($,L,P,N,f,S,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),S<E?s.arc(y.cx,y.cy,S,Gf(y.y01,y.x01),Gf(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,S,Gf(y.y01,y.x01),Gf(y.y11,y.x11),!g),s.arc(0,0,f,Gf(y.cy+y.y11,y.cx+y.x11),Gf(m.cy+m.y11,m.cx+m.x11),!g),s.arc(m.cx,m.cy,S,Gf(m.y11,m.x11),Gf(m.y01,m.x01),!g))):(s.moveTo(j,D),s.arc(0,0,f,v,x,!g)):s.moveTo(j,D),l>th&&w>th?C>th?(y=hh(P,N,$,L,l,-C,g),m=hh(j,D,I,z,l,-C,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),C<E?s.arc(y.cx,y.cy,C,Gf(y.y01,y.x01),Gf(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,C,Gf(y.y01,y.x01),Gf(y.y11,y.x11),!g),s.arc(0,0,l,Gf(y.cy+y.y11,y.cx+y.x11),Gf(m.cy+m.y11,m.cx+m.x11),g),s.arc(m.cx,m.cy,C,Gf(m.y11,m.x11),Gf(m.y01,m.x01),!g))):s.arc(0,0,l,b,_,g):s.lineTo(P,N)}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-nh/2;return[Kf(r)*e,Qf(r)*e]},u.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Vf(+n),u):t},u.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Vf(+t),u):n},u.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Vf(+t),u):e},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Vf(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Vf(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Vf(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Vf(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}var dh=Array.prototype.slice;function gh(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function yh(t){this._context=t}function mh(t){return new yh(t)}function vh(t){return t[0]}function xh(t){return t[1]}function _h(t,n){var e=Vf(!0),r=null,i=mh,o=null;function a(a){var s,u,c,l=(a=gh(a)).length,f=!1;for(null==r&&(o=i(c=qf())),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?vh:Vf(t),n="function"==typeof n?n:void 0===n?xh:Vf(n),a.x=function(n){return arguments.length?(t="function"==typeof n?n:Vf(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:Vf(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:Vf(!!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 bh(t,n,e){var r=null,i=Vf(!0),o=null,a=mh,s=null;function u(u){var c,l,f,h,p,d=(u=gh(u)).length,g=!1,y=new Array(d),m=new Array(d);for(null==o&&(s=a(p=qf())),c=0;c<=d;++c){if(!(c<d&&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],m[f]);s.lineEnd(),s.areaEnd()}g&&(y[c]=+t(h,c,u),m[c]=+n(h,c,u),s.point(r?+r(h,c,u):y[c],e?+e(h,c,u):m[c]))}if(p)return s=null,p+""||null}function c(){return _h().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?vh:Vf(+t),n="function"==typeof n?n:Vf(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?xh:Vf(+e),u.x=function(n){return arguments.length?(t="function"==typeof n?n:Vf(+n),r=null,u):t},u.x0=function(n){return arguments.length?(t="function"==typeof n?n:Vf(+n),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Vf(+t),u):r},u.y=function(t){return arguments.length?(n="function"==typeof t?t:Vf(+t),e=null,u):n},u.y0=function(t){return arguments.length?(n="function"==typeof t?t:Vf(+t),u):n},u.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:Vf(+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:Vf(!!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}function wh(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function Mh(t){return t}function Ah(){var t=Mh,n=wh,e=null,r=Vf(0),i=Vf(rh),o=Vf(0);function a(a){var s,u,c,l,f,h=(a=gh(a)).length,p=0,d=new Array(h),g=new Array(h),y=+r.apply(this,arguments),m=Math.min(rh,Math.max(-rh,i.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/h,o.apply(this,arguments)),x=v*(m<0?-1:1);for(s=0;s<h;++s)(f=g[d[s]=s]=+t(a[s],s,a))>0&&(p+=f);for(null!=n?d.sort((function(t,e){return n(g[t],g[e])})):null!=e&&d.sort((function(t,n){return e(a[t],a[n])})),s=0,c=p?(m-h*x)/p:0;s<h;++s,y=l)u=d[s],l=y+((f=g[u])>0?f*c:0)+x,g[u]={data:a[u],index:s,value:f,startAngle:y,endAngle:l,padAngle:v};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:Vf(+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:Vf(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Vf(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Vf(+t),a):o},a}yh.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 kh=Ch(mh);function Eh(t){this._curve=t}function Ch(t){function n(n){return new Eh(t(n))}return n._curve=t,n}function Sh(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(Ch(t)):n()._curve},t}function Oh(){return Sh(_h().curve(kh))}function Th(){var t=bh().curve(kh),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 Sh(e())},delete t.lineX0,t.lineEndAngle=function(){return Sh(r())},delete t.lineX1,t.lineInnerRadius=function(){return Sh(i())},delete t.lineY0,t.lineOuterRadius=function(){return Sh(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Ch(t)):n()._curve},t}function jh(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Eh.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))}};class Dh{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 Ph{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=jh(this._x0,this._y0),r=jh(this._x0,this._y0=(this._y0+n)/2),i=jh(t,this._y0),o=jh(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}}}function Nh(t){return new Dh(t,!0)}function Fh(t){return new Dh(t,!1)}function $h(t){return new Ph(t)}function Lh(t){return t.source}function Ih(t){return t.target}function zh(t){let n=Lh,e=Ih,r=vh,i=xh,o=null,a=null;function s(){let s;const u=dh.call(arguments),c=n.apply(this,u),l=e.apply(this,u);if(null==o&&(a=t(s=qf())),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:Vf(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:Vf(+t),s):i},s.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),s):o},s}function Wh(){return zh(Nh)}function Bh(){return zh(Fh)}function Rh(){const t=zh($h);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const Uh=Jf(3);var Hh={draw(t,n){const e=.59436*Jf(n+Zf(n/28,.75)),r=e/2,i=r*Uh;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},qh={draw(t,n){const e=Jf(n/nh);t.moveTo(e,0),t.arc(0,0,e,0,rh)}},Vh={draw(t,n){const e=Jf(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 Yh=Jf(1/3),Gh=2*Yh;var Kh={draw(t,n){const e=Jf(n/Gh),r=e*Yh;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Xh={draw(t,n){const e=.62625*Jf(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},Zh={draw(t,n){const e=.87559*Jf(n-Zf(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},Qh={draw(t,n){const e=Jf(n),r=-e/2;t.rect(r,r,e,e)}},Jh={draw(t,n){const e=.4431*Jf(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const tp=Qf(nh/10)/Qf(7*nh/10),np=Qf(rh/10)*tp,ep=-Kf(rh/10)*tp;var rp={draw(t,n){const e=Jf(.8908130915292852*n),r=np*e,i=ep*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=rh*n/5,a=Kf(o),s=Qf(o);t.lineTo(s*e,-a*e),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}};const ip=Jf(3);var op={draw(t,n){const e=-Jf(n/(3*ip));t.moveTo(0,2*e),t.lineTo(-ip*e,-e),t.lineTo(ip*e,-e),t.closePath()}};const ap=Jf(3);var sp={draw(t,n){const e=.6824*Jf(n),r=e/2,i=e*ap/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const up=-.5,cp=Jf(3)/2,lp=1/Jf(12),fp=3*(lp/2+1);var hp={draw(t,n){const e=Jf(n/fp),r=e/2,i=e*lp,o=r,a=e*lp+e,s=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,u),t.lineTo(up*r-cp*i,cp*r+up*i),t.lineTo(up*o-cp*a,cp*o+up*a),t.lineTo(up*s-cp*u,cp*s+up*u),t.lineTo(up*r+cp*i,up*i-cp*r),t.lineTo(up*o+cp*a,up*a-cp*o),t.lineTo(up*s+cp*u,up*u-cp*s),t.closePath()}},pp={draw(t,n){const e=.6189*Jf(n-Zf(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const dp=[qh,Vh,Kh,Qh,rp,op,hp],gp=[qh,Zh,pp,sp,Hh,Jh,Xh];function yp(t,n){let e=null;function r(){let r;if(e||(e=r=qf()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return t="function"==typeof t?t:Vf(t||qh),n="function"==typeof n?n:Vf(void 0===n?64:+n),r.type=function(n){return arguments.length?(t="function"==typeof n?n:Vf(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:Vf(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function mp(){}function vp(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 xp(t){this._context=t}function _p(t){return new xp(t)}function bp(t){this._context=t}function wp(t){return new bp(t)}function Mp(t){this._context=t}function Ap(t){return new Mp(t)}function kp(t,n){this._basis=new xp(t),this._beta=n}xp.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:vp(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:vp(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},bp.prototype={areaStart:mp,areaEnd:mp,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:vp(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Mp.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:vp(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},kp.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 Ep=function t(n){function e(t){return 1===n?new xp(t):new kp(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Cp(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 Sp(t,n){this._context=t,this._k=(1-n)/6}Sp.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:Cp(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:Cp(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 Op=function t(n){function e(t){return new Sp(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Tp(t,n){this._context=t,this._k=(1-n)/6}Tp.prototype={areaStart:mp,areaEnd:mp,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:Cp(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 jp=function t(n){function e(t){return new Tp(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Dp(t,n){this._context=t,this._k=(1-n)/6}Dp.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:Cp(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 Pp=function t(n){function e(t){return new Dp(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Np(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>th){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>th){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 Fp(t,n){this._context=t,this._alpha=n}Fp.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:Np(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 $p=function t(n){function e(t){return n?new Fp(t,n):new Sp(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Lp(t,n){this._context=t,this._alpha=n}Lp.prototype={areaStart:mp,areaEnd:mp,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:Np(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 Ip=function t(n){function e(t){return n?new Lp(t,n):new Tp(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function zp(t,n){this._context=t,this._alpha=n}zp.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:Np(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 Wp=function t(n){function e(t){return n?new zp(t,n):new Dp(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Bp(t){this._context=t}function Rp(t){return new Bp(t)}function Up(t){return t<0?-1:1}function Hp(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(Up(o)+Up(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function qp(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Vp(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 Yp(t){this._context=t}function Gp(t){this._context=new Kp(t)}function Kp(t){this._context=t}function Xp(t){return new Yp(t)}function Zp(t){return new Gp(t)}function Qp(t){this._context=t}function Jp(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 td(t){return new Qp(t)}function nd(t,n){this._context=t,this._t=n}function ed(t){return new nd(t,.5)}function rd(t){return new nd(t,0)}function id(t){return new nd(t,1)}function od(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 ad(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function sd(t,n){return t[n]}function ud(t){const n=[];return n.key=t,n}function cd(){var t=Vf([]),n=ad,e=od,r=sd;function i(i){var o,a,s=Array.from(t.apply(this,arguments),ud),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=gh(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:Vf(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Vf(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?ad:"function"==typeof t?t:Vf(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?od:t,i):e},i}function ld(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}od(t,n)}}function fd(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 hd(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}od(t,n)}}function pd(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,p=0;p<s;++p){var d=t[n[p]];h+=(d[a][1]||0)-(d[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,od(t,n)}}function dd(t){var n=t.map(gd);return ad(t).sort((function(t,e){return n[t]-n[e]}))}function gd(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 yd(t){var n=t.map(md);return ad(t).sort((function(t,e){return n[t]-n[e]}))}function md(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function vd(t){return yd(t).reverse()}function xd(t){var n,e,r=t.length,i=t.map(md),o=dd(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 _d(t){return ad(t).reverse()}Bp.prototype={areaStart:mp,areaEnd:mp,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))}},Yp.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:Vp(this,this._t0,qp(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,Vp(this,qp(this,e=Hp(this,t,n)),e);break;default:Vp(this,this._t0,e=Hp(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Gp.prototype=Object.create(Yp.prototype)).point=function(t,n){Yp.prototype.point.call(this,n,t)},Kp.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)}},Qp.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=Jp(t),i=Jp(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)}},nd.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 bd=t=>null!=(void 0!==t._y1?t._y1:t._y)&&null!==t._y0,wd=t=>n=>t.x(void 0!==n._x1?n._x1:n._x),Md=t=>n=>t.y(void 0!==n._y1?n._y1:n._y),Ad=t=>`curve${(t=>t&&t[0].toUpperCase()+t.slice(1))(t)}`,kd=t=>{const{interpolation:n}=t;if("function"==typeof n)return n;if("string"==typeof n){const{polar:e,openCurve:r=!e}=t,i=r?Ad(n):(t=>`${Ad(t)}Closed`)(n);return b[i]}return mh},Ed=t=>{const{polar:n,scale:e,horizontal:r}=t;return n?Oh().defined(bd).curve(kd(t)).angle((t=>n=>-1*t.x(void 0!==n._x1?n._x1:n._x)+Math.PI/2)(e)).radius(Md(e)):_h().defined(bd).curve(kd(t)).x(r?Md(e):wd(e)).y(r?wd(e):Md(e))};function Cd(t,n,e){const{a:r,d:i,e:o,f:a}=n;return"y"===e?i*t+a:r*t+o}function Sd(t){return!(!t||void 0===t.identifier)}function Od(t){if(Sd(t.nativeEvent))return;const n=t=>"svg"===t.nodeName?t:t.parentNode?n(t.parentNode):t;return n(t.target)}function Td(t,n){if(Sd(t.nativeEvent))return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};const e=function(t){return t.changedTouches&&t.changedTouches.length>0}(t)?t.changedTouches[0]:t,r=function(t){return t.getScreenCTM().inverse()}(n||Od(e));return{x:Cd(e.clientX,r,"x"),y:Cd(e.clientY,r,"y")}}function jd(t,n){const{horizontal:e}=t,r=t.scale,i=n||{x:r.x.domain(),y:r.y.domain()};return{x:e?[r.y(i.y[0]),r.y(i.y[1])]:[r.x(i.x[0]),r.x(i.x[1])],y:e?[r.x(i.x[0]),r.x(i.x[1])]:[r.y(i.y[0]),r.y(i.y[1])]}}function Dd(t,n,e,r){const{polar:i,horizontal:o}=t;if(!i)return{x:o?n.x.invert(r):n.x.invert(e),y:o?n.y.invert(e):n.y.invert(r)};const a=t.origin||{x:0,y:0},s=e-a.x,u=r-a.y,c=Math.abs(s*Math.sqrt(1+Math.pow(-u/s,2))),l=(-Math.atan2(u,s)+2*Math.PI)%(2*Math.PI);return{x:n.x.invert(l),y:n.y.invert(c)}}function Pd(t){const{x1:n,x2:e,y1:r,y2:i,scale:o}=t,a=Dd(t,o,n,r),s=Dd(t,o,e,i),u=(t,n)=>[ji([t,n]),Ti([t,n])];return{x:u(a.x,s.x),y:u(a.y,s.y)}}var Nd=r(8961),Fd=r.n(Nd),$d=r(9056),Ld=r.n($d);function Id(t){let{children:n,props:e,childComponents:r,parentProps:i}=t;const o=n.some((t=>t.type&&"histogram"===t.type.role)),a=o&&n.length&&n.every((t=>t.type&&"histogram"===t.type.role));if(!a)return i;let s=e.bins||r[0].props.bins;if(!Array.isArray(s)){const t=n.reduce(((t,n)=>{const e=se(n.props.x||"x");return t.concat(n.props.data.map((t=>({x:e(t)}))))}),[]);s=(0,n[0].type.getFormattedData)({data:t,bins:s}).reduce(((t,n,e)=>{let{x0:r,x1:i}=n;return 0===e?t.concat([r,i]):t.concat(i)}),[])}return{...i,bins:s}}function zd(t,n){const{polar:e,startAngle:r,endAngle:i,categories:o,minDomain:a,maxDomain:s}=t;let u={polar:e,startAngle:r,endAngle:i,categories:o,minDomain:a,maxDomain:s},c=0;const l=n?n.slice(0):E().Children.toArray(t.children);u=Id({children:l,props:t,childComponents:n,parentProps:u});const f=l.filter((t=>t.type&&"stack"===t.type.role)).length,h=he(l,((t,n,e)=>{const r=Object.assign({},t.props,u);let i,o=t;return nf(t)?(t.type&&ae(t.type.getData)?(o=e?E().cloneElement(t,e.props):t,i=o.type.getData(r)):i=Zl(r),c+=1,i.map(((t,n)=>Object.assign({_stack:c,_group:n},t)))):null}),t,[],((t,n)=>t.concat(Fd()(n,"_group")))),p=f?"_group":"_stack";return Object.values(Ld()(h,p))}function Wd(t,n){return t.data?Zl(t):zd(t,n||E().Children.toArray(t.children))}function Bd(t,n,e){const{datasets:r,horizontal:i}=t,o=ie(t,i?"y":"x"),a=Math.abs(o[1]-o[0]),s=void 0!==e?e:Array.isArray(r[0])&&r[0].length||1,u=(n||r.length)*s;return Math.round(.5*a/u)}function Rd(t,n,e){if(t.polar||"x"!==n)return;const r=e.filter((t=>t.type&&t.type.role&&"group"===t.type.role));if(r.length<1)return;const{offset:i,children:o}=r[0].props;if(!i)return;const a=Array.isArray(o)&&o[0];if(!a)return;let s=a.props.barWidth,u=a.props.data&&a.props.data.length||1;if(a&&"stack"===a.type.role){const t=a.props.children&&a.props.children[0];if(!t)return;s=t.props.barWidth,u=a.props.children.length}const c=s||Bd(t,o.length,u);return{x:c*o.length/2+(i-c*((o.length-1)/2))}}function Ud(t,n,e){const r=e?e.slice(0):E().Children.toArray(t.children),i=t.data?Zl(t):void 0,{polar:o,startAngle:a,endAngle:s,categories:u,minDomain:c,maxDomain:l,horizontal:f}=t,h={horizontal:f,polar:o,startAngle:a,endAngle:s,minDomain:c,maxDomain:l,categories:u},p=i?Object.assign(h,{data:i}):h,d=he(r,(t=>{const e=Object.assign({},t.props,p);return gf(t)?t.type&&ae(t.type.getDomain)?t.props&&t.type.getDomain(e,n):af(e,n):null}),t);return[0===d.length?0:ji(d),0===d.length?1:Ti(d)]}function Hd(t,n,e){const r=e||E().Children.toArray(t.children),i=lf(t,n),o=Rd(t,n,r);let a;if(i)a=i;else{const e=pf(t,n),i=hf(t,n),o=(t.data||t.y)&&Zl(t),s=o?uf(t,n,o):[],u=Ud(t,n,r);a=cf(e||ji([...s,...u]),i||Ti([...s,...u]))}return of(a,Object.assign({domainPadding:o},t),n)}function qd(t,n,e){if(t.data)return kl(t,n);const r=e?e.slice(0):E().Children.toArray(t.children),i=ko()(he(r,(e=>Sl(Object.assign({},e.props,{horizontal:t.horizontal}),n)),t));return i.length>1?Al("linear"):Al(i[0])}function Vd(t){const n=Io(t,["groupComponent","containerComponent","labelComponent"]);let e=t.events;return Array.isArray(n)&&(e=Array.isArray(t.events)?n.concat(...t.events):n),e||[]}function Yd(t,n,e,r){const{style:i}=t;let{colorScale:o,color:a}=t;if(i&&i.data&&i.data.fill)return i.data.fill;if(o=n.props&&n.props.colorScale?n.props.colorScale:o,a=n.props&&n.props.color?n.props.color:a,!o&&!a)return;const s=Array.isArray(o)?o:Gr(o,r);return a||s[e%s.length]}function Gd(t,n,e){return Zn(n,t&&t[e]&&t[e].style?t[e].style:{})}function Kd(t,n,e,r){const{style:i,role:o}=e,a=t.props.style||{};if(Array.isArray(a))return a;const s=t.type&&t.type.role,u="stack"===s?void 0:Yd(e,t,n,r),c="line"===s?{fill:"none",stroke:u}:{fill:u},l="stack"===o?{}:{width:Bd(e)},f=Un()({},a.data,Object.assign({},l,i.data,c)),h=Un()({},a.labels,i.labels);return{...a,parent:i.parent,data:f,labels:h}}function Xd(t,n){return he(t.slice(0),(t=>{const e=t.props||{};if(!gf(t)||!e.categories)return null;const r=e.categories&&!Array.isArray(e.categories)?e.categories[n]:e.props.categories,i=r&&r.filter((t=>"string"==typeof t));return i?Oi(i):[]}))}function Zd(t){return he(t.slice(0),(t=>{const n=t.props||{};let e;return nf(t)?(e=t.type&&ae(t.type.getData)?t.type.getData(n):Zl(n),e.map((t=>({x:t.xName,y:t.yName})))):null}),{},{x:[],y:[]},((t,n)=>{const e=Array.isArray(n)?n.map((t=>t.x)).filter(Boolean):n.x,r=Array.isArray(n)?n.map((t=>t.y)).filter(Boolean):n.y;return{x:void 0!==e?t.x.concat(e):t.x,y:void 0!==r?t.y.concat(r):t.y}}))}function Qd(t,n,e){const r=ft()(t.categories)?t.categories[n]:t.categories,i=xf(e,n),o=i?Ql(i.props,n):[],a=r||Xd(e,n);return ko()([...a,...o].flat())}function Jd(t,n){const e=n||E().Children.toArray(t.children),r=Qd(t,"x",e),i=Qd(t,"y",e),o=Zd(e);return{x:ko()([...r,...o.x].flat()),y:ko()([...i,...o.y].flat())}}function tg(t,n,e){const r=t.categories&&!Array.isArray(t.categories)?t.categories.x:t.categories,i=t.categories&&!Array.isArray(t.categories)?t.categories.y:t.categories,o=r&&i?{}:e||Jd(t,n),a=r||o.x,s=i||o.y;return{x:a.length>0?a:void 0,y:s.length>0?s:void 0}}}(),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.VictoryCore=n(require("react")):t.VictoryCore=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)}},6649:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},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}},4508:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},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]",p="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,m){var v=u(t),x=u(n),_=v?h:s(t),b=x?h:s(n),w=(_=_==f?p:_)==p,M=(b=b==f?p:b)==p,A=_==b;if(A&&c(t)){if(!c(n))return!1;v=!0,w=!1}if(A&&!w)return m||(m=new r),v||l(t)?i(t,n,e,g,y,m):o(t,n,_,e,g,y,m);if(!(1&e)){var k=w&&d.call(t,"__wrapped__"),E=M&&d.call(n,"__wrapped__");if(k||E){var C=k?t.value():t,S=E?n.value():n;return m||(m=new r),y(C,S,e,g,m)}}return!!A&&(m||(m=new r),a(t,n,e,g,y,m))}},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 p=new r;if(o)var d=o(f,h,l,t,n,p);if(!(void 0===d?i(h,f,3,o,p):d))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 p=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++h,value:t}}));return s(p,(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 p=s(n[c]),d=e;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(c!=f){var g=h[p];void 0===(d=u?u(g,p,h):void 0)&&(d=a(g)?g:o(n[c+1])?[]:{})}r(h,p,d),h=h[p]}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,p=[],d=p;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,d=new r}else d=n?[]:p;t:for(;++c<f;){var y=t[c],m=n?n(y):y;if(y=e||0!==y?y:0,h&&m==m){for(var v=d.length;v--;)if(d[v]===m)continue t;n&&d.push(m),p.push(y)}else l(d,m,e)||(d!==p&&d.push(m),p.push(y))}return p}},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}},5659:function(t,n,e){var r=e(6649),i=e(4508),o=e(3472),a=e(163);t.exports=function(t,n){return function(e,s){var u=a(e)?r:i,c=n?n():{};return u(e,t,o(s,2),c)}}},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),p=u.get(n);if(h&&p)return h==n&&p==t;var d=-1,g=!0,y=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++d<l;){var m=t[d],v=n[d];if(a)var x=c?a(v,m,d,n,t,u):a(m,v,d,t,n,u);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(m===t||s(m,t,e,a,u)))return y.push(n)}))){g=!1;break}}else if(m!==v&&!s(m,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 p=s.get(t),d=s.get(n);if(p&&d)return p==n&&d==t;var g=!0;s.set(t,n),s.set(n,t);for(var y=u;++f<l;){var m=t[h=c[f]],v=n[h];if(o)var x=u?o(v,m,h,n,t,s):o(m,v,h,t,n,s);if(!(void 0===x?m===v||a(m,v,e,o,s):x)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"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,p=f.length;++h<p;){var d=f[h],g=t[d];(void 0===g||i(g,s[d])&&!u.call(t,d))&&(t[d]=l[d])}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}},9056:function(t,n,e){var r=e(8347),i=e(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,n,e){o.call(t,e)?t[e].push(n):r(t,e,[n])}));t.exports=a},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):[]}},8961:function(t,n,e){var r=e(3472),i=e(946);t.exports=function(t,n){return t&&t.length?i(t,r(n,2)):[]}},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,{Arc:function(){return Ji},Axis:function(){return v},Background:function(){return no},Border:function(){return ro},Box:function(){return ro},Circle:function(){return Yi},ClipPath:function(){return qi},Collection:function(){return c},Data:function(){return y},DefaultTransitions:function(){return x},Domain:function(){return m},Events:function(){return h},Helpers:function(){return n},Hooks:function(){return _},Immutable:function(){return g},LabelHelpers:function(){return a},Line:function(){return oo},LineHelpers:function(){return w},LineSegment:function(){return so},Log:function(){return o},Path:function(){return Xi},Point:function(){return _o},PointPathHelpers:function(){return f},Portal:function(){return Ln},PortalContext:function(){return xe},PortalOutlet:function(){return we},PortalProvider:function(){return be},Rect:function(){return Pe},Scale:function(){return d},Selection:function(){return M},Style:function(){return s},TSpan:function(){return Fe},Text:function(){return Ne},TextSize:function(){return u},Timer:function(){return On},TimerContext:function(){return jn},Transitions:function(){return l},UserProps:function(){return e},VictoryAccessibleGroup:function(){return C},VictoryAnimation:function(){return Pn},VictoryClipContainer:function(){return Gi},VictoryContainer:function(){return Ee},VictoryLabel:function(){return _i},VictoryPortal:function(){return je},VictoryTheme:function(){return qr},VictoryTransition:function(){return Ri},Whisker:function(){return wo},Wrapper:function(){return A},addEvents:function(){return Ho},mergeRefs:function(){return ve},usePortalContext:function(){return _e},useVictoryContainer:function(){return ke}});var t={};r.r(t),r.d(t,{easeBack:function(){return rt},easeBackIn:function(){return nt},easeBackInOut:function(){return rt},easeBackOut:function(){return et},easeBounce:function(){return Q},easeBounceIn:function(){return Z},easeBounceInOut:function(){return J},easeBounceOut:function(){return Q},easeCircle:function(){return K},easeCircleIn:function(){return Y},easeCircleInOut:function(){return K},easeCircleOut:function(){return G},easeCubic:function(){return N},easeCubicIn:function(){return D},easeCubicInOut:function(){return N},easeCubicOut:function(){return P},easeElastic:function(){return at},easeElasticIn:function(){return ot},easeElasticInOut:function(){return st},easeElasticOut:function(){return at},easeExp:function(){return V},easeExpIn:function(){return H},easeExpInOut:function(){return V},easeExpOut:function(){return q},easeLinear:function(){return S},easePoly:function(){return L},easePolyIn:function(){return F},easePolyInOut:function(){return L},easePolyOut:function(){return $},easeQuad:function(){return j},easeQuadIn:function(){return O},easeQuadInOut:function(){return j},easeQuadOut:function(){return T},easeSin:function(){return R},easeSinIn:function(){return W},easeSinInOut:function(){return R},easeSinOut:function(){return B}});var n={};r.r(n),r.d(n,{createAccessor:function(){return se},degreesToRadians:function(){return te},evaluateProp:function(){return Qn},evaluateStyle:function(){return Jn},getCurrentAxis:function(){return ce},getDefaultStyles:function(){return Xn},getPadding:function(){return Gn},getPoint:function(){return Vn},getPolarOrigin:function(){return re},getRadius:function(){return ee},getRange:function(){return ie},getStyles:function(){return Zn},invert:function(){return Hn},isFunction:function(){return ae},isHorizontal:function(){return pe},isNil:function(){return oe},isTooltip:function(){return Kn},mapValues:function(){return le},modifyProps:function(){return ue},omit:function(){return qn},radiansToDegrees:function(){return ne},range:function(){return fe},reduceChildren:function(){return he},scalePoint:function(){return Yn}});var e={};r.r(e),r.d(e,{assert:function(){return ge},getSafeUserProps:function(){return ye},withSafeUserProps:function(){return me}});var o={};r.r(o),r.d(o,{warn:function(){return Oe}});var a={};r.r(a),r.d(a,{getDegrees:function(){return Be},getPolarAngle:function(){return We},getPolarTextAnchor:function(){return Ie},getPolarVerticalAnchor:function(){return ze},getProps:function(){return Re},getText:function(){return Le}});var s={};r.r(s),r.d(s,{getColorScale:function(){return Yr},toTransformString:function(){return Vr}});var u={};r.r(u),r.d(u,{_approximateTextSizeInternal:function(){return ui},approximateTextSize:function(){return ci},convertLengthToPixels:function(){return ei}});var c={};r.r(c),r.d(c,{containsDates:function(){return Mi},containsNumbers:function(){return Ai},containsOnlyStrings:function(){return ki},containsStrings:function(){return wi},difference:function(){return Ei},getMaxValue:function(){return Oi},getMinValue:function(){return Ti},isArrayOfArrays:function(){return Ci},removeUndefined:function(){return Si}});var l={};r.r(l),r.d(l,{getInitialTransitionState:function(){return Li},getTransitionPropsFactory:function(){return Ii}});var f={};r.r(f),r.d(f,{circle:function(){return uo},cross:function(){return go},diamond:function(){return lo},minus:function(){return yo},plus:function(){return po},square:function(){return co},star:function(){return mo},triangleDown:function(){return fo},triangleUp:function(){return ho}});var h={};r.r(h),r.d(h,{emulateReactEvent:function(){return Bo},getComponentEvents:function(){return Lo},getEventState:function(){return Po},getEvents:function(){return To},getExternalMutation:function(){return $o},getExternalMutations:function(){return Fo},getExternalMutationsWithChildren:function(){return No},getGlobalEventNameFromKey:function(){return Io},getGlobalEvents:function(){return zo},getPartialEvents:function(){return Do},getScopedEvents:function(){return jo},omitGlobalEvents:function(){return Wo}});var p={};r.r(p),r.d(p,{scaleBand:function(){return sa},scaleDiverging:function(){return dl},scaleDivergingLog:function(){return gl},scaleDivergingPow:function(){return ml},scaleDivergingSqrt:function(){return vl},scaleDivergingSymlog:function(){return yl},scaleIdentity:function(){return Za},scaleImplicit:function(){return oa},scaleLinear:function(){return Xa},scaleLog:function(){return as},scaleOrdinal:function(){return aa},scalePoint:function(){return ca},scalePow:function(){return gs},scaleQuantile:function(){return Cs},scaleQuantize:function(){return Ss},scaleRadial:function(){return xs},scaleSequential:function(){return al},scaleSequentialLog:function(){return sl},scaleSequentialPow:function(){return cl},scaleSequentialQuantile:function(){return fl},scaleSequentialSqrt:function(){return ll},scaleSequentialSymlog:function(){return ul},scaleSqrt:function(){return ys},scaleSymlog:function(){return ls},scaleThreshold:function(){return Os},scaleTime:function(){return el},scaleUtc:function(){return rl},tickFormat:function(){return Ga}});var d={};r.r(d),r.d(d,{getBaseScale:function(){return Al},getDefaultScale:function(){return kl},getScaleFromName:function(){return Ml},getScaleFromProps:function(){return El},getScaleType:function(){return Cl},getType:function(){return Ol},validScale:function(){return _l}});var g={};r.r(g),r.d(g,{IMMUTABLE_ITERABLE:function(){return Tl},IMMUTABLE_LIST:function(){return Dl},IMMUTABLE_MAP:function(){return Pl},IMMUTABLE_RECORD:function(){return jl},isImmutable:function(){return $l},isIterable:function(){return Nl},isList:function(){return Ll},isMap:function(){return Il},isRecord:function(){return Fl},shallowToJS:function(){return zl}});var y={};r.r(y),r.d(y,{createStringMap:function(){return ql},downsample:function(){return Vl},formatData:function(){return Yl},formatDataFromDomain:function(){return Hl},generateData:function(){return Gl},getCategories:function(){return Kl},getData:function(){return Xl},getStringsFromAxes:function(){return Zl},getStringsFromCategories:function(){return Ql},getStringsFromData:function(){return Jl},isDataComponent:function(){return tf}});var m={};r.r(m),r.d(m,{createDomainFunction:function(){return ef},formatDomain:function(){return rf},getDomain:function(){return of},getDomainFromCategories:function(){return af},getDomainFromData:function(){return sf},getDomainFromMinMax:function(){return uf},getDomainFromProps:function(){return cf},getDomainWithZero:function(){return lf},getMaxFromProps:function(){return ff},getMinFromProps:function(){return hf},getSymmetricDomain:function(){return pf},isDomainComponent:function(){return df}});var v={};r.r(v),r.d(v,{findAxisComponents:function(){return mf},getAxis:function(){return yf},getAxisComponent:function(){return vf},getAxisComponentsWithParent:function(){return xf},getAxisValue:function(){return Tf},getDomain:function(){return Of},getOrigin:function(){return _f},getOriginSign:function(){return bf},getTickFormat:function(){return kf},getTicks:function(){return Cf},isVertical:function(){return wf},modifyProps:function(){return jf},stringTicks:function(){return Mf}});var x={};r.r(x),r.d(x,{continuousPolarTransitions:function(){return Pf},continuousTransitions:function(){return Df},discreteTransitions:function(){return Nf}});var _={};r.r(_),r.d(_,{useAnimationState:function(){return Lf},usePreviousProps:function(){return Ff}});var b={};r.r(b),r.d(b,{arc:function(){return hh},area:function(){return _h},areaRadial:function(){return Oh},curveBasis:function(){return xp},curveBasisClosed:function(){return bp},curveBasisOpen:function(){return Mp},curveBumpX:function(){return Ph},curveBumpY:function(){return Nh},curveBundle:function(){return kp},curveCardinal:function(){return Sp},curveCardinalClosed:function(){return Tp},curveCardinalOpen:function(){return Dp},curveCatmullRom:function(){return Fp},curveCatmullRomClosed:function(){return Lp},curveCatmullRomOpen:function(){return zp},curveLinear:function(){return yh},curveLinearClosed:function(){return Bp},curveMonotoneX:function(){return Kp},curveMonotoneY:function(){return Xp},curveNatural:function(){return Jp},curveStep:function(){return nd},curveStepAfter:function(){return rd},curveStepBefore:function(){return ed},line:function(){return xh},lineRadial:function(){return Sh},link:function(){return Ih},linkHorizontal:function(){return zh},linkRadial:function(){return Bh},linkVertical:function(){return Wh},pie:function(){return Mh},pointRadial:function(){return Th},radialArea:function(){return Oh},radialLine:function(){return Sh},stack:function(){return ud},stackOffsetDiverging:function(){return ld},stackOffsetExpand:function(){return cd},stackOffsetNone:function(){return id},stackOffsetSilhouette:function(){return fd},stackOffsetWiggle:function(){return hd},stackOrderAppearance:function(){return pd},stackOrderAscending:function(){return gd},stackOrderDescending:function(){return md},stackOrderInsideOut:function(){return vd},stackOrderNone:function(){return od},stackOrderReverse:function(){return xd},symbol:function(){return gp},symbolAsterisk:function(){return Uh},symbolCircle:function(){return Hh},symbolCross:function(){return qh},symbolDiamond:function(){return Gh},symbolDiamond2:function(){return Kh},symbolPlus:function(){return Xh},symbolSquare:function(){return Zh},symbolSquare2:function(){return Qh},symbolStar:function(){return ep},symbolTriangle:function(){return ip},symbolTriangle2:function(){return ap},symbolWye:function(){return fp},symbolX:function(){return hp},symbols:function(){return pp},symbolsFill:function(){return pp},symbolsStroke:function(){return dp}});var w={};r.r(w),r.d(w,{getInterpolationFunction:function(){return Ad},getLineFunction:function(){return kd}});var M={};r.r(M),r.d(M,{getBounds:function(){return Dd},getDataCoordinates:function(){return jd},getDomainCoordinates:function(){return Td},getParentSVG:function(){return Sd},getSVGEventCoordinates:function(){return Od}});var A={};r.r(A),r.d(A,{addBinsToParentPropsIfHistogram:function(){return Ld},getAllEvents:function(){return qd},getCategories:function(){return Jd},getCategoryAndAxisStringsFromChildren:function(){return Zd},getChildStyle:function(){return Gd},getColor:function(){return Vd},getData:function(){return zd},getDataFromChildren:function(){return Id},getDefaultDomainPadding:function(){return Bd},getDomain:function(){return Ud},getDomainFromChildren:function(){return Rd},getScale:function(){return Hd},getStringsFromChildren:function(){return Qd},getStringsFromChildrenCategories:function(){return Kd},getStringsFromData:function(){return Xd},getStyle:function(){return Yd},getWidth:function(){return Wd}});var k=r(9787),E=r.n(k);const C=t=>{let{desc:n,children:e,tabIndex:r,className:i="VictoryAccessibleGroup",...o}=t;const a=n&&(o["aria-describedby"]||n.split(" ").join("-"));return n?E().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":a,className:i,tabIndex:r},E().createElement("desc",{id:a},n),e):E().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":o["aria-describedby"],className:i,tabIndex:r},e)},S=t=>+t;function O(t){return t*t}function T(t){return t*(2-t)}function j(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function D(t){return t*t*t}function P(t){return--t*t*t+1}function N(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var F=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),$=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),L=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),I=Math.PI,z=I/2;function W(t){return 1==+t?1:1-Math.cos(t*z)}function B(t){return Math.sin(t*z)}function R(t){return(1-Math.cos(I*t))/2}function U(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function H(t){return U(1-+t)}function q(t){return 1-U(t)}function V(t){return((t*=2)<=1?U(1-t):2-U(t-1))/2}function Y(t){return 1-Math.sqrt(1-t*t)}function G(t){return Math.sqrt(1- --t*t)}function K(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var X=7.5625;function Z(t){return 1-Q(1-t)}function Q(t){return(t=+t)<.36363636363636365?X*t*t:t<.7272727272727273?X*(t-=.5454545454545454)*t+.75:t<.9090909090909091?X*(t-=.8181818181818182)*t+.9375:X*(t-=.9545454545454546)*t+.984375}function J(t){return((t*=2)<=1?1-Q(1-t):Q(t-1)+1)/2}var tt=1.70158,nt=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(tt),et=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(tt),rt=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}(tt),it=2*Math.PI,ot=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return n*U(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),at=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return 1-n*U(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),st=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return((t=2*t-1)<0?n*U(-t)*Math.sin((r-t)/e):2-n*U(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),ut=r(4143),ct=r.n(ut),lt=r(3849),ft=r.n(lt);function ht(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function pt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function dt(){}var gt=.7,yt=1/gt,mt="\\s*([+-]?\\d+)\\s*",vt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_t=/^#([0-9a-f]{3,8})$/,bt=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),wt=new RegExp(`^rgb\\(${xt},${xt},${xt}\\)$`),Mt=new RegExp(`^rgba\\(${mt},${mt},${mt},${vt}\\)$`),At=new RegExp(`^rgba\\(${xt},${xt},${xt},${vt}\\)$`),kt=new RegExp(`^hsl\\(${vt},${xt},${xt}\\)$`),Et=new RegExp(`^hsla\\(${vt},${xt},${xt},${vt}\\)$`),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 St(){return this.rgb().formatHex()}function Ot(){return this.rgb().formatRgb()}function Tt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=_t.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?jt(n):3===e?new Ft(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Dt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Dt(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=bt.exec(t))?new Ft(n[1],n[2],n[3],1):(n=wt.exec(t))?new Ft(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Mt.exec(t))?Dt(n[1],n[2],n[3],n[4]):(n=At.exec(t))?Dt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=kt.exec(t))?Bt(n[1],n[2]/100,n[3]/100,1):(n=Et.exec(t))?Bt(n[1],n[2]/100,n[3]/100,n[4]):Ct.hasOwnProperty(t)?jt(Ct[t]):"transparent"===t?new Ft(NaN,NaN,NaN,0):null}function jt(t){return new Ft(t>>16&255,t>>8&255,255&t,1)}function Dt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Ft(t,n,e,r)}function Pt(t){return t instanceof dt||(t=Tt(t)),t?new Ft((t=t.rgb()).r,t.g,t.b,t.opacity):new Ft}function Nt(t,n,e,r){return 1===arguments.length?Pt(t):new Ft(t,n,e,null==r?1:r)}function Ft(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function $t(){return`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}`}function Lt(){const t=It(this.opacity);return`${1===t?"rgb(":"rgba("}${zt(this.r)}, ${zt(this.g)}, ${zt(this.b)}${1===t?")":`, ${t})`}`}function It(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Wt(t){return((t=zt(t))<16?"0":"")+t.toString(16)}function Bt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Ut(t,n,e,r)}function Rt(t){if(t instanceof Ut)return new Ut(t.h,t.s,t.l,t.opacity);if(t instanceof dt||(t=Tt(t)),!t)return new Ut;if(t instanceof Ut)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 Ut(a,s,u,t.opacity)}function Ut(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ht(t){return(t=(t||0)%360)<0?t+360:t}function qt(t){return Math.max(0,Math.min(1,t||0))}function Vt(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 Yt(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}ht(dt,Tt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:St,formatHex:St,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rt(this).formatHsl()},formatRgb:Ot,toString:Ot}),ht(Ft,Nt,pt(dt,{brighter(t){return t=null==t?yt:Math.pow(yt,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?gt:Math.pow(gt,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ft(zt(this.r),zt(this.g),zt(this.b),It(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`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}${Wt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Lt,toString:Lt})),ht(Ut,(function(t,n,e,r){return 1===arguments.length?Rt(t):new Ut(t,n,e,null==r?1:r)}),pt(dt,{brighter(t){return t=null==t?yt:Math.pow(yt,t),new Ut(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?gt:Math.pow(gt,t),new Ut(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 Ft(Vt(t>=240?t-240:t+120,i,r),Vt(t,i,r),Vt(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Ut(Ht(this.h),qt(this.s),qt(this.l),It(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=It(this.opacity);return`${1===t?"hsl(":"hsla("}${Ht(this.h)}, ${100*qt(this.s)}%, ${100*qt(this.l)}%${1===t?")":`, ${t})`}`}}));var Gt=t=>()=>t;function Kt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Gt(isNaN(t)?n:t)}var Xt=function t(n){var e=function(t){return 1==(t=+t)?Kt: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):Gt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Nt(t)).r,(n=Nt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Kt(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 Zt(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=Nt(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 Qt(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]=sn(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 Jt(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function tn(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function nn(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]=sn(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Zt((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 Yt((e-r/n)*n,a,i,o,s)}})),Zt((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 Yt((e-r/n)*n,i,o,a,s)}}));var en=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rn=new RegExp(en.source,"g");function on(t,n){var e,r,i,o=en.lastIndex=rn.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=en.exec(t))&&(r=rn.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:tn(e,r)})),o=rn.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 an(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 sn(t,n){var e,r=typeof n;return null==n||"boolean"===r?Gt(n):("number"===r?tn:"string"===r?(e=Tt(n))?(n=e,Xt):on:n instanceof Tt?Xt:n instanceof Date?Jt:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(n)?an:Array.isArray(n)?Qt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?nn:tn)(t,n)}const un=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)||ft()(t)}return!1},cn=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},ln=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 sn(r,i)(e)}}},fn=function(t,n){const e=(t,n)=>t!==n&&un(t)&&un(n)?"function"==typeof t||"function"==typeof n?ln(t,n):"object"==typeof t&&ft()(t)||"object"==typeof n&&ft()(n)?fn(t,n):sn(t,n):cn(t,n),r=t=>Array.isArray(t)?ct()(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 hn,pn,dn=0,gn=0,yn=0,mn=0,vn=0,xn=0,_n="object"==typeof performance&&performance.now?performance:Date,bn="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function wn(){return vn||(bn(Mn),vn=_n.now()+xn)}function Mn(){vn=0}function An(){this._call=this._time=this._next=null}function kn(t,n,e){var r=new An;return r.restart(t,n,e),r}function En(){vn=(mn=_n.now())+xn,dn=gn=0;try{!function(){wn(),++dn;for(var t,n=hn;n;)(t=vn-n._time)>=0&&n._call.call(void 0,t),n=n._next;--dn}()}finally{dn=0,function(){for(var t,n,e=hn,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:hn=n);pn=t,Sn(r)}(),vn=0}}function Cn(){var t=_n.now(),n=t-mn;n>1e3&&(xn-=n,mn=t)}function Sn(t){dn||(gn&&(gn=clearTimeout(gn)),t-vn>24?(t<1/0&&(gn=setTimeout(En,t-_n.now()-xn)),yn&&(yn=clearInterval(yn))):(yn||(mn=_n.now(),yn=setInterval(Cn,1e3)),dn=1,bn(En)))}An.prototype=kn.prototype={constructor:An,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?wn():+e)+(null==n?0:+n),this._next||pn===this||(pn?pn._next=this:hn=this,pn=this),this._call=t,this._time=e,Sn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Sn())}};class On{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(wn()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=kn(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:wn(),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 Tn=E().createContext({transitionTimer:new On,animationTimer:new On});Tn.displayName="TimerContext";var jn=Tn;const Dn=1e3,Pn=n=>{let{duration:e=Dn,easing:r="quadInOut",delay:i=0,data:o,children:a,onEnd:s}=n;const[u,c]=E().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),l=E().useContext(jn).animationTimer,f=E().useRef(Array.isArray(o)?o.slice(1):[]),h=E().useRef(null),p=E().useRef(void 0),d=t[(g=r,`ease${g.charAt(0).toUpperCase()+g.slice(1)}`)];var g;E().useEffect((()=>(f.current.length&&y(),()=>{p.current?l.unsubscribe(p.current):l.stop()})),[]),E().useEffect((()=>{h.current&&u.animationInfo&&u.animationInfo.progress<1?c({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(l.unsubscribe(p.current),f.current=Array.isArray(o)?o:[o],y())}),[o]);const y=()=>{if(f.current.length){const t=f.current[0];h.current=function(t,n){return t!==n&&un(t)&&un(n)?"function"==typeof t||"function"==typeof n?ln(t,n):ft()(t)||ft()(n)?fn(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return sn(e(t),e(n))}(t,n):sn(t,n):cn(t,n)}(u.data,t),i?setTimeout((()=>{p.current=l.subscribe(m,e)}),i):p.current=l.subscribe(m,e)}else s&&s()},m=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return c({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&l.unsubscribe(p.current),f.current.shift(),void y();c({data:h.current(d(n)),animationInfo:{progress:n,animating:n<1}})};return a(u.data,u.animationInfo)};var Nn=r(660),Fn=r.n(Nn);function $n(){return $n=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},$n.apply(this,arguments)}const Ln=E().forwardRef(((t,n)=>E().createElement("svg",$n({ref:n},t))));var In=r(9082),zn=r.n(In),Wn=r(8532),Bn=r.n(Wn),Rn=r(1893),Un=r.n(Rn);function Hn(t){return Object.entries(t).reduce(((t,n)=>(t[n[1]]=n[0],t)),{})}function qn(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 Vn(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 Un()({},h,t)}function Yn(t,n){const{scale:e,polar:r,horizontal:i}=t,o=Vn(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 Gn(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 Kn(t){return"tooltip"===(t&&t.type&&t.type.role)}function Xn(t,n){const{theme:e={},labelComponent:r}=t,i=e[n]&&e[n].style||{};if(!Kn(r))return i;const o=e.tooltip&&e.tooltip.style||{},a=Un()({},o,i.labels);return Un()({},{labels:a},i)}function Zn(t,n){const e="100%",r="100%";if(!t)return Un()({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:Un()({},a,s,{width:e,height:r}),labels:Un()({},o,u),data:Un()({},i,c)}}function Qn(t,n){return ae(t)?t(n):t}function Jn(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>ae(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=Qn(t[r],n),e)),{}):t}function te(t){return"number"==typeof t?t*(Math.PI/180):t}function ne(t){return"number"==typeof t?t/(Math.PI/180):t}function ee(t){const{left:n,right:e,top:r,bottom:i}=Gn(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function re(t){const{width:n,height:e}=t,{top:r,bottom:i,left:o,right:a}=Gn(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}}function ie(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?[te(t.startAngle||0),te(t.endAngle||360)]:[t.innerRadius||0,ee(t)]}(t,n):function(t,n){const e="x"!==n,r=Gn(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function oe(t){return null==t}function ae(t){return"function"==typeof t}function se(t){return ae(t)?t:null==t?t=>t:Bn()(t)}function ue(t,n,e){const r=qn(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=pe(t),o=void 0===i?{}:{horizontal:i};return Un()(o,t,r,n)}function ce(t,n){return n?"x"===t?"y":"x":t}function le(t,n){if(t)return Object.keys(t).reduce(((e,r)=>(e[r]=n(t[r]),e)),{})}function fe(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))}function he(t,n,e,r,i){void 0===e&&(e={}),void 0===r&&(r=[]),void 0===i&&(i=(t,n)=>t.concat(n));const o=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],a=(t,s,u)=>t.reduce(((t,r,c)=>{let l=t;const f=r.type&&r.type.role,h=r.props.name||`${f}-${s[c]}`;if(r.props&&r.props.children){const t=Object.assign({},r.props,zn()(e,o)),n=r.type&&"stack"===r.type.role&&ae(r.type.getChildren)?r.type.getChildren(t):E().Children.toArray(r.props.children).map((n=>{const e=Object.assign({},n.props,zn()(t,o));return E().cloneElement(n,e)})),s=n.map(((t,n)=>`${h}-${n}`)),u=a(n,s,r);l=i(l,u)}else{const t=n(r,h,u);t&&(l=i(l,t))}return l}),r),s=t.filter(k.isValidElement),u=s.map(((t,n)=>n));return a(s,u)}function pe(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(E().Children.toArray(r.children))}),!1);return n(E().Children.toArray(t.children))}const de={startsWith:["data-","aria-"],exactMatch:[]};function ge(t,n){if(null==t)throw new Error(n)}const ye=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return de.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>de.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,Qn(r,t)]})))},me=(t,n)=>k.cloneElement(t,ye(n));function ve(t){return n=>{t.forEach((t=>{ae(t)?t(n):null!=t&&(t.current=n)}))}}const xe=E().createContext(void 0);xe.displayName="PortalContext";const _e=()=>E().useContext(xe),be=t=>{let{children:n}=t;const[e,r]=E().useState(new Map),i=E().useCallback(((t,n)=>{r((e=>{const r=new Map(e);return r.set(t,n),r}))}),[r]),o=E().useCallback((t=>{r((n=>{const e=new Map(n);return e.delete(t),e}))}),[r]),a=E().useMemo((()=>({addChild:i,removeChild:o,children:e})),[i,o,e]);return E().createElement(xe.Provider,{value:a},n)},we=t=>{let{as:n,...e}=t;const r=_e();if(!r)return null;const i=Array.from(r.children.values());return E().cloneElement(n,e,i)};function Me(){return Me=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},Me.apply(this,arguments)}const Ae={className:"VictoryContainer",portalComponent:E().createElement(Ln,null),portalZIndex:99,responsive:!0,role:"img"};function ke(t){const n={...Ae,...t},{title:e,desc:r,width:i,height:o,responsive:a}=n,s=(0,k.useRef)(null),u=(0,k.useRef)(Fn()("victory-container-")),c=n.containerId??u.current,l=t=>`${c}-${t}`,f=ye(n),h=a?{width:"100%",height:"100%"}:{width:i,height:o},p=a?`0 0 ${i} ${o}`:void 0,d=a?n.preserveAspectRatio:void 0,g=[e&&l("title"),n["aria-labelledby"]].filter(Boolean).join(" ")||void 0,y=[r&&l("desc"),n["aria-describedby"]].filter(Boolean).join(" ")||void 0,m=l("title"),v=l("desc");return{...n,titleId:m,descId:v,dimensions:h,viewBox:p,preserveAspectRatio:d,ariaLabelledBy:g,ariaDescribedBy:y,userProps:f,localContainerRef:s}}const Ee=t=>{const{role:n,title:e,desc:r,children:i,className:o,portalZIndex:a,portalComponent:s,width:u,height:c,style:l,tabIndex:f,responsive:h,events:p,ouiaId:d,ouiaSafe:g,ouiaType:y,dimensions:m,ariaDescribedBy:v,ariaLabelledBy:x,viewBox:_,preserveAspectRatio:b,userProps:w,titleId:M,descId:A,containerRef:k,localContainerRef:C}=ke(t);return E().useEffect((()=>{if(!p?.onWheel)return;const t=t=>t.preventDefault(),n=C?.current;return n?.addEventListener("wheel",t),()=>{n?.removeEventListener("wheel",t)}}),[]),E().createElement("div",{className:o,style:{...l,width:h?l?.width:m.width,height:h?l?.height:m.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":d,"data-ouia-component-type":y,"data-ouia-safe":g,ref:ve([C,k])},E().createElement(be,null,E().createElement("svg",Me({width:u,height:c,tabIndex:f,role:n,"aria-labelledby":x,"aria-describedby":v,viewBox:_,preserveAspectRatio:b,style:{...m,pointerEvents:"all"}},w,p),e?E().createElement("title",{id:M},e):null,r?E().createElement("desc",{id:A},r):null,i),E().createElement("div",{style:{...m,zIndex:a,position:"absolute",top:0,left:0}},E().createElement(we,{as:s,width:u,height:c,viewBox:_,preserveAspectRatio:b,style:{...m,overflow:"visible"}}))))};Ee.role="container";var Ce=r(4155),Se=r.n(Ce);function Oe(t){}const Te={groupComponent:E().createElement("g",null)},je=t=>{const n={...Te,...t},[e]=(0,k.useState)(Fn()()),r=_e(),i=Array.isArray(n.children)?n.children[0]:n.children,{groupComponent:o}=n,a=i&&i.props||{},s=a.groupComponent?{groupComponent:o,standalone:!1}:{},u=Un()(s,a,qn(n,["children","groupComponent"]),{key:a.key??e}),c=i&&E().cloneElement(i,u);return E().useEffect((()=>{r?.addChild(e,c)}),[n.children]),E().useEffect((()=>()=>r?.removeChild(e)),[]),r?null:c};function De(){return De=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},De.apply(this,arguments)}je.role="portal";const Pe=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={vectorEffect:"non-scaling-stroke",id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("rect",De({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("rect",De({},s,{ref:n}))})),Ne=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:o,title:a,...s}=t,u={id:Qn(r,t)?.toString(),tabIndex:Qn(o,t),...s};return E().createElement("text",u,a&&E().createElement("title",null,a),e&&E().createElement("desc",null,e),n)},Fe=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...o}=t,a={id:Qn(e,t)?.toString(),tabIndex:Qn(r,t),...o};return E().createElement("tspan",a)};function $e(t){const{labelComponent:n,labelPlacement:e,polar:r}=t,i=r?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||i}function Le(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function Ie(t,n){const e=$e(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}function ze(t,n){const e=$e(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"}function We(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=void 0!==n?n%360:Be(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)}function Be(t,n){const{x:e}=Vn(n);return ne(t.scale.x(e))%360}function Re(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],p=Be(t,h),d=a?Ie(t,p):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?ze(t,p):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),m=Le(t,h,n),v=$e(t),{x:x,y:_}=function(t,n){const{polar:e}=t,{x:r,y:i}=Yn(t,n);if(!e)return{x:r,y:i};const o=function(t,n){const{style:e}=t,r=Be(t,n),i=Qn((e.labels||{}).padding,t)||0,o=te(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=Qn((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),M={angle:y,data:r,datum:h,disableInlineStyles:f,horizontal:o,index:n,polar:a,scale:e,labelPlacement:v,text:m,textAnchor:d,verticalAnchor:g,x:x,y:_,dx:b,dy:w,width:s,height:u,style:i.labels};if(!Kn(l))return M;const A=c&&c.tooltip||{};return Un()({},M,qn(A,["style"]))}const Ue=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],He="#252525",qe="#969696",Ve={width:450,height:300,padding:50,colorScale:Ue},Ye={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:He,stroke:"transparent"},Ge=Object.assign({textAnchor:"middle"},Ye),Ke={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Ue,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:He},labels:Ye}},Ve),axis:Object.assign({style:{axis:{fill:"transparent",stroke:He,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Ge,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Ye}},Ve),bar:Object.assign({style:{data:{fill:He,padding:8,strokeWidth:0},labels:Ye}},Ve),boxplot:Object.assign({style:{max:{padding:8,stroke:He,strokeWidth:1},maxLabels:Object.assign({},Ye,{padding:3}),median:{padding:8,stroke:He,strokeWidth:1},medianLabels:Object.assign({},Ye,{padding:3}),min:{padding:8,stroke:He,strokeWidth:1},minLabels:Object.assign({},Ye,{padding:3}),q1:{padding:8,fill:qe},q1Labels:Object.assign({},Ye,{padding:3}),q3:{padding:8,fill:qe},q3Labels:Object.assign({},Ye,{padding:3})},boxWidth:20},Ve),candlestick:Object.assign({style:{data:{stroke:He,strokeWidth:1},labels:Object.assign({},Ye,{padding:5})},candleColors:{positive:"#ffffff",negative:He}},Ve),chart:Ve,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:He,strokeWidth:2},labels:Ye}},Ve),group:Object.assign({colorScale:Ue},Ve),histogram:Object.assign({style:{data:{fill:qe,stroke:He,strokeWidth:2},labels:Ye}},Ve),legend:{colorScale:Ue,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Ye,title:Object.assign({},Ye,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:He,strokeWidth:2},labels:Ye}},Ve),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Ye,{padding:20})},colorScale:Ue,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:He,stroke:"transparent",strokeWidth:0},labels:Ye}},Ve),stack:Object.assign({colorScale:Ue},Ve),tooltip:{style:Object.assign({},Ye,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:He,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({},Ye,{padding:5,pointerEvents:"none"}),flyout:{stroke:He,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ve)},Xe="#FFF59D",Ze="#F4511E",Qe="#8BC34A",Je="#00796B",tr="#006064",nr=[Ze,Xe,"#DCE775",Qe,Je,tr],er="#ECEFF1",rr="#90A4AE",ir="#455A64",or="#212121",ar={blue:"#4F7DA1",pink:"#E2A37F",teal:Je,purple:"#DF948A",green:Qe,orange:Ze,cyan:tr,red:"#DF5A49",yellow:Xe},sr=[er,rr,ir,or],ur={width:350,height:350,padding:50},cr={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ir,stroke:"transparent",strokeWidth:0},lr=Object.assign({textAnchor:"middle"},cr),fr="round",hr="round",pr={palette:{colors:ar,grayscale:sr,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:or},labels:cr}},ur),axis:Object.assign({style:{axis:{fill:"transparent",stroke:rr,strokeWidth:2,strokeLinecap:fr,strokeLinejoin:hr},axisLabel:Object.assign({},lr,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:er,strokeDasharray:"10, 5",strokeLinecap:fr,strokeLinejoin:hr,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:rr,strokeWidth:1,strokeLinecap:fr,strokeLinejoin:hr},tickLabels:Object.assign({},cr,{fill:ir})}},ur),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:ir,padding:8,strokeWidth:0},labels:cr}},ur),boxplot:Object.assign({style:{max:{padding:8,stroke:ir,strokeWidth:1},maxLabels:Object.assign({},cr,{padding:3}),median:{padding:8,stroke:ir,strokeWidth:1},medianLabels:Object.assign({},cr,{padding:3}),min:{padding:8,stroke:ir,strokeWidth:1},minLabels:Object.assign({},cr,{padding:3}),q1:{padding:8,fill:ir},q1Labels:Object.assign({},cr,{padding:3}),q3:{padding:8,fill:ir},q3Labels:Object.assign({},cr,{padding:3})},boxWidth:20},ur),candlestick:Object.assign({style:{data:{stroke:ir},labels:Object.assign({},cr,{padding:5})},candleColors:{positive:"#ffffff",negative:ir}},ur),chart:ur,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ir,strokeWidth:2},labels:cr}},ur),group:Object.assign({colorScale:nr},ur),histogram:Object.assign({style:{data:{fill:ir,stroke:or,strokeWidth:2},labels:cr}},ur),legend:{colorScale:nr,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:cr,title:Object.assign({},cr,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ir,strokeWidth:2},labels:cr}},ur),pie:Object.assign({colorScale:nr,style:{data:{padding:8,stroke:er,strokeWidth:1},labels:Object.assign({},cr,{padding:20})}},ur),scatter:Object.assign({style:{data:{fill:ir,opacity:1,stroke:"transparent",strokeWidth:0},labels:cr}},ur),stack:Object.assign({colorScale:nr},ur),tooltip:{style:Object.assign({},cr,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:or,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({},cr,{padding:5,pointerEvents:"none"}),flyout:{stroke:or,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},ur)},dr="#FFFFFF",gr="#F2F2F2",yr="#E0E0E0",mr="#D1D1D1",vr="#757575",xr="#424242",_r="#292929",br="#FCB400",wr="#FF6F2C",Mr={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},Ar="#8B46FF",kr={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},Er="#18BFFF",Cr="#20D9D2",Sr={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},Or={blue:kr[500],cyan:Er,green:Sr[500],yellow:br,orange:wr,red:Mr[500],purple:Ar,teal:Cr},Tr=Object.values(Or),jr=[gr,yr,vr,xr,_r],Dr=["#FFD66E",br,wr,"#D74D26",Mr[500]],Pr=[Ar,kr[500],Er,Cr,Sr[500]],Nr=[Sr[900],Sr[500],br,wr,Mr[500]],Fr=Object.values(Mr),$r=Object.values(Sr),Lr=Object.values(kr),Ir=kr[500],zr={width:450,height:300,padding:60,colorScale:Tr},Wr={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:_r,stroke:"transparent"},Br=Object.assign({textAnchor:"middle"},Wr),Rr="10, 5",Ur="round",Hr="round",qr={grayscale:Ke,material:pr,clean:{palette:{colors:Or,grayscale:jr,qualitative:Tr,heatmap:Nr,warm:Dr,cool:Pr,red:Fr,green:$r,blue:Lr},area:Object.assign({style:{data:{fill:Ir,strokeWidth:2,fillOpacity:.5},labels:Wr}},zr),axis:Object.assign({style:{axis:{fill:"transparent",stroke:vr,strokeWidth:1,strokeLinecap:Ur,strokeLinejoin:Hr},axisLabel:Object.assign({},Br,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Wr}},zr),polarAxis:Object.assign({style:{axis:{stroke:vr},grid:{stroke:mr,strokeDasharray:Rr,strokeLinecap:Ur,strokeLinejoin:Hr,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:mr,strokeWidth:1,strokeLinecap:Ur,strokeLinejoin:Hr},tickLabels:Wr}}),polarDependentAxis:Object.assign({style:{axis:{stroke:vr},grid:{stroke:mr,strokeDasharray:Rr,strokeLinecap:Ur,strokeLinejoin:Hr,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:yr,strokeWidth:1,strokeLinecap:Ur,strokeLinejoin:Hr},tickLabels:Wr}}),bar:Object.assign({style:{data:{fill:Ir,padding:8,strokeWidth:1,fillOpacity:.5},labels:Wr},cornerRadius:{top:1}},zr),boxplot:Object.assign({style:{max:{padding:8,stroke:mr,strokeWidth:2},maxLabels:Object.assign({},Wr,{padding:3}),median:{padding:8,stroke:dr,strokeWidth:2},medianLabels:Object.assign({},Wr,{padding:3}),min:{padding:8,stroke:mr,strokeWidth:2},minLabels:Object.assign({},Wr,{padding:3}),q1:{padding:8,fill:Tr[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},Wr,{padding:3}),q3:{padding:8,fill:Tr[1],rx:1},q3Labels:Object.assign({},Wr,{padding:3})},boxWidth:20},zr),candlestick:Object.assign({style:{data:{stroke:yr,strokeWidth:0,rx:1},labels:Object.assign({},Wr,{padding:5})},candleColors:{positive:Sr[500],negative:Mr[500]},wickStrokeWidth:2},zr),chart:zr,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:xr,strokeWidth:2,strokeLinecap:Ur},labels:Wr}},zr),group:Object.assign({colorScale:Tr},zr),histogram:Object.assign({style:{data:{fill:Er,fillOpacity:.5},labels:Wr},binSpacing:4,cornerRadius:{top:1}},zr),label:Wr,legend:{colorScale:Tr,gutter:24,borderPadding:10,orientation:"horizontal",titleOrientation:"top",centerTitle:!0,style:{data:{type:"circle"},labels:{...Wr,fontSize:12},title:Object.assign({},Wr,{padding:8,fontSize:16}),border:{stroke:"#E8E8E8",strokeWidth:2,padding:16}}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Ir,strokeWidth:2,strokeLinecap:Ur,strokeLinejoin:Hr},labels:Wr}},zr),pie:Object.assign({style:{parent:{backgroundColor:dr},data:{padding:8,stroke:dr,strokeWidth:1},labels:{...Wr,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:Tr,cornerRadius:1},zr),scatter:Object.assign({style:{data:{fill:Ir,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Wr,padding:20}}},zr),stack:Object.assign({colorScale:Tr},zr),tooltip:{style:Object.assign({},Wr,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:yr,strokeWidth:2,fill:dr,pointerEvents:"none"},flyoutPadding:{top:8,bottom:8,left:16,right:16},cornerRadius:1,pointerLength:4},voronoi:Object.assign({style:{data:{fill:kr[100],stroke:Ir,strokeWidth:2},labels:Object.assign({},Wr,{padding:5,pointerEvents:"none"}),flyout:{stroke:_r,strokeWidth:1,fill:gr,pointerEvents:"none"},padding:{left:2,bottom:2}}},zr)}},Vr=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,Vr(n)].join(" ")),Vr(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()};function Yr(t,n){void 0===n&&(n=qr.material);const{palette:{grayscale:e=["#cccccc","#969696","#636363","#252525"],qualitative:r=[],heatmap:i=[],warm:o=[],cool:a=[],red:s=[],blue:u=[],green:c=[]}={}}=n,l={grayscale:e,qualitative:r,heatmap:i,warm:o,cool:a,red:s,blue:u,green:c};return t&&l[t]?.length?l[t]:l.grayscale}var Gr=r(1594),Kr=r.n(Gr);const Xr={"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}},Zr={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Qr={em:1,ex:.5},Jr={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},ti=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),ni=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},ei=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?Zr.hasOwnProperty(e)?r*Zr[e]:Qr.hasOwnProperty(e)?(n?r*n:r*Jr.fontSize)*Qr[e]:r:r||0,i},ri=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=Un()({},e,Jr);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:ei(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:ei(String(r.fontSize))})},ii=(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:ti(t).reduce(((t,e,r)=>{const i=ri(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=ti(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=ri(n,e),s=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>Xr[t]))||"Helvetica";return Xr[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?ni(i,r,e):i,height:1.05*(e?ni(r,i,e):r)}},oi=Kr()((()=>{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})),ai=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",si=Kr()(((t,n)=>{let e=oi();e.isConnected||(oi.cache.clear?.(),e=oi());const r=ti(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=ri(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?ni(o,i,n?.angle):o,height:n?.angle?ni(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(ai).join():ai(n)}`)),ui={impl:function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?ii(t,n):si(t,n)}},ci=(t,n)=>ui.impl(t,n),li={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},fi=(t,n)=>t.datum?Yn(t,t.datum)[n]:0,hi=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return li.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?li.fontSize:t}return li.fontSize},pi=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},di=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!Se()(n)||Array.isArray(e)&&!Se()(e)},gi=(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)}},yi=(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)}},mi=(t,n)=>di(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:o,backgroundPadding:a,backgroundComponent:s,inline:u,y:c}=t,l=n.map(((t,i)=>{const o=pi(n,i-1),s=t.textSize,l=t.fontSize*t.lineHeight,f=Math.ceil(l),h=pi(a,i),p=pi(a,i-1),d=u&&r||0,g=i&&!u?o.fontSize*o.lineHeight+p.top+p.bottom:e-.5*l-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:s,heightWithPadding:f+h.top+h.bottom,widthWithPadding:s.width+h.left+h.right+d,y:c,fontSize:t.fontSize,dy:g}}));return l.map(((n,e)=>{const r=gi(t,n.labelSize.width),f=l.slice(0,e+1).reduce(((t,n)=>t+n.dy),c),h=pi(a,e),p=n.heightWithPadding,d=u?((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,l,e)+r-h.left:r,g=u?yi(t,p)-h.top:f,y={key:`tspan-background-${e}`,height:p,style:pi(o,e),width:n.widthWithPadding,transform:i,x:d-h.left,y:g};return E().cloneElement(s,Un()({},s.props,y))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:o,inline:a,backgroundPadding:s,capHeight:u}=t,c=n.map((t=>t.textSize)),l=a?Math.max(...c.map((t=>t.height))):c.reduce(((t,e,r)=>{const i=r?0:u/2;return t+e.height*(n[r].lineHeight-i)}),0),f=a?c.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...c.map((t=>t.width))),h=gi(t,f),p=yi(t,l),d={key:"background",height:l+s.top+s.bottom,style:o,transform:r,width:f+s.left+s.right,x:a?h-s.left:h+e-s.left,y:p};return E().cloneElement(i,Un()({},i.props,d))})(t,n),vi=(t,n,e)=>{const{inline:r}=n,i=pi(t,e);return e&&!r?((t,n,e)=>{const r=pi(t,n),i=pi(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 di(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},xi={backgroundComponent:E().createElement(Pe,null),groupComponent:E().createElement("g",null),direction:"inherit",textComponent:E().createElement(Ne,null),tspanComponent:E().createElement(Fe,null),capHeight:.71,lineHeight:1},_i=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>Qn(t,n)));const e=Qn(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=Jn(t,n);return{fontSize:hi(e)}}const e=t=>{const e=Jn(t?Un()({},t,li):li,n);return Object.assign({},e,{fontSize:hi(e)})};return Array.isArray(t)&&!Se()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!Se()(t)?t.map((t=>Jn(t,n))):Jn(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>Gn({padding:Qn(n,t)}))):Gn({padding:Qn(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=Qn(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})(Un()({},t,xi));if(null===n.text||void 0===n.text)return null;const e=(t=>{const n=Qn(t.ariaLabel,t),e=pi(t.style),r=(t=>{const n=Qn(t.lineHeight,t);return Array.isArray(n)&&Se()(n)?[1]:n})(t),i=t.direction?Qn(t.direction,t):"inherit",o=t.textAnchor?Qn(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?Qn(t.verticalAnchor,t):e.verticalAnchor||"middle",s=t.dx?Qn(t.dx,t):0,u=((t,n,e)=>{const r=t.dy?Qn(t.dy,t):0,i=t.inline?1:t.text.length,o=Qn(t.capHeight,t),a=n?Qn(n,t):"middle",s=[...Array(i).keys()].map((n=>pi(t.style,n).fontSize)),u=[...Array(i).keys()].map((t=>pi(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:fi(t,"x"),l=void 0!==t.y?t.y:fi(t,"y"),f=((t,n,e)=>{const{polar:r}=t,i=pi(t.style),o=r?We(t):0,a=void 0===i.angle?Qn(t.angle,t):i.angle,s=void 0===a?o:a,u=t.transform||i.transform,c=u&&Qn(u,t);return c||s?Vr(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:Qn(t.dy,t),transform:f,x:c,y:l})})(n),{text:r,style:i,capHeight:o,backgroundPadding:a,lineHeight:s}=e,u=r.map(((t,n)=>{const e=pi(i,n),r=ei(`${o}em`,e.fontSize),u=pi(s,n);return{style:e,fontSize:e.fontSize||li.fontSize,capHeight:r,text:t,textSize:ci(t,e),lineHeight:u,backgroundPadding:pi(a,n)}})),c=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:o,events:a,direction:s,text:u,textAnchor:c,dx:l,dy:f,transform:h,x:p,y:d,desc:g,id:y,tabIndex:m,tspanComponent:v,textComponent:x}=t,_=ye(t),b={"aria-label":e,key:"text",...a,direction:s,dx:l,x:p,y:d+f,transform:h,className:i,title:o,desc:Qn(g,t),tabIndex:Qn(m,t),id:y,..._},w=u.map(((e,i)=>{const o=n[i].style,a={key:`${y}-key-${i}`,x:r?void 0:p,dx:r?l+n[i].backgroundPadding.left:l,dy:vi(n,t,i),textAnchor:o.textAnchor||c,style:o,children:e};return E().cloneElement(v,a)}));return E().cloneElement(x,b,w)})(e,u);if(n.backgroundStyle){const t=[mi(e,u),c],r=E().cloneElement(n.groupComponent,{},t);return n.renderInPortal?E().createElement(je,null,r):r}return n.renderInPortal?E().createElement(je,null,c):c};function bi(t){return Array.isArray(t)&&t.length>0}function wi(t){return Array.isArray(t)&&t.some((t=>"string"==typeof t))}function Mi(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Ai(t){return Array.isArray(t)&&t.some((t=>"number"==typeof t))}function ki(t){return bi(t)&&t.every((t=>"string"==typeof t))}function Ei(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function Ci(t){return bi(t)&&t.every(Array.isArray)}function Si(t){return t.filter((t=>void 0!==t))}function Oi(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 Mi(i)?new Date(Math.max(...i)):Math.max(...i)}function Ti(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 Mi(i)?new Date(Math.min(...i)):Math.min(...i)}_i.displayName="VictoryLabel",_i.role="label",_i.defaultStyles=li;var ji=r(5346),Di=r.n(ji);function Pi(t,n){return(t.key||n).toString()}function Ni(t){return t.reduce(((t,n,e)=>(t[Pi(n,e)]=n,t)),{})}function Fi(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 $i(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Li(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((o,a)=>o&&o.props&&o.props.children&&n[a]?i(E().Children.toArray(t[a].props.children),E().Children.toArray(n[a].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&Ni(t),r=n&&Ni(n);return{entering:e&&Fi(r,e),exiting:r&&Fi(e,r)}}($i(t),$i(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(o,n[a]))),o=i(E().Children.toArray(t),E().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function Ii(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:Di();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:Di();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:Di();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:Di();s=n.map(((e,i)=>{const o=Pi(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:Di();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),p=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 d=$i(e)||[],g=Un()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;g.onExit=Un()({},g.onExit,y&&y.onExit),g.onEnter=Un()({},g.onEnter,y&&y.onEnter),g.onLoad=Un()({},g.onLoad,y&&y.onLoad);const m=u[a]||u[0];if(!s){const t={duration:void 0!==c.load?c.load:p(e,"onLoad")};return l(0,d,Object.assign({},g,t))}if(r){const t=m&&m.exiting,n=void 0!==c.exit?c.exit:p(e,"onExit"),r=t?{duration:n}:{delay:n};return f(t,0,d,Object.assign({},g,r))}if(i){const t=m&&m.entering,n=void 0!==c.enter?c.enter:p(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,d,Object.assign({},g,i))}return!n&&g&&g.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Di();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(g,d):{animate:g,data:d}}}var zi=r(7491),Wi=r.n(zi);function Bi(){return Bi=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},Bi.apply(this,arguments)}class Ri extends E().Component{static displayName="VictoryTransition";static contextType=jn;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 Wi()(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=E().Children.toArray(t.children),i=E().Children.toArray(n.children),{nodesWillExit:o,nodesWillEnter:a,childrenTransitions:s,nodesShouldEnter:u}=Li(r,i);return{nodesWillExit:o,nodesWillEnter:a,childrenTransitions:s,nodesShouldEnter:u,oldProps:o?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&ae(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(E().Children.toArray(r.props.children))):t}),[]),r=E().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 a=e([r]);return 0===a.length?[0,1]:[Ti(a),Oi(a)]}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=ie(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:Ii(t,this.state,(t=>this.setState(t))),e=E().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),a=Un()({domain:i,clipWidth:o},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),u=s.length?zn()(a,s):a;return E().createElement(Pn,Bi({},a.animate,{data:u}),(t=>{if(e.props.groupComponent){const n=this.continuous?E().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return E().cloneElement(e,Un()({animate:null,animating:!0,groupComponent:n},t,a))}return E().cloneElement(e,Un()({animate:null,animating:!0},t,a))}))}}var Ui=r(7709),Hi=r.n(Ui);const qi=t=>E().createElement("defs",null,E().createElement("clipPath",{id:t.clipId?.toString()},t.children));function Vi(){return Vi=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},Vi.apply(this,arguments)}const Yi=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={vectorEffect:"non-scaling-stroke",id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("circle",Vi({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("circle",Vi({},s,{ref:n}))}));class Gi extends E().Component{static displayName="VictoryClipContainer";static role="container";static defaultProps={circleComponent:E().createElement(Yi,null),rectComponent:E().createElement(Pe,null),clipPathComponent:E().createElement(qi,null),groupComponent:E().createElement("g",null)};constructor(t){super(t),this.clipId=Hi()(t)&&void 0!==t.clipId?t.clipId:Fn()("victory-clip-")}calculateAttributes(t){const{polar:n,origin:e,clipWidth:r=0,clipHeight:i=0,translateX:o=0,translateY:a=0}=t,s=Gn({padding:t.clipPadding}),u=t.radius||ee(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=ye(t),{style:r,events:i,transform:o,children:a,className:s,groupComponent:u,tabIndex:c}=t,l=this.renderClipComponent(t,n),f=Object.assign({className:s,style:r,transform:o,key:`clipped-group-${n}`,clipPath:`url(#${n})`},i);return E().cloneElement(u,{...f,tabIndex:c,...e},[l,...E().Children.toArray(a)])}renderGroup(t){const{style:n,events:e,transform:r,children:i,className:o,groupComponent:a,tabIndex:s}=t;return E().cloneElement(a,Object.assign({className:o,style:n,transform:r,"aria-label":t["aria-label"],tabIndex:s},e),i)}renderClipComponent(t,n){const{polar:e,origin:r,clipWidth:i=0,clipHeight:o=0,translateX:a=0,translateY:s=0,circleComponent:u,rectComponent:c,clipPathComponent:l}=t,{top:f,bottom:h,left:p,right:d}=Gn({padding:t.clipPadding});let g;if(e){const n=t.radius||ee(t),e={r:Math.max(n+p+d,n+f+h,0),cx:r.x-p,cy:r.y-f};g=E().cloneElement(u,e)}else{const t={x:a-p,y:s-f,width:Math.max(i+p+d,0),height:Math.max(o+f+h,0)};g=E().cloneElement(c,t)}return E().cloneElement(l,Object.assign({key:`clip-path-${n}`},t,{clipId:n}),g)}getClipValue(t,n){const e={x:t.clipWidth,y:t.clipHeight};if(void 0!==e[n])return e[n];const r=ie(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=ie(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=Un()({},this.props,{clipHeight:t,clipWidth:n,translateX:e,translateY:r});return this.renderClippedGroup(i,this.clipId)}}function Ki(){return Ki=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},Ki.apply(this,arguments)}const Xi=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("path",Ki({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("path",Ki({},s,{ref:n}))})),Zi=t=>{const{cx:n,cy:e,r:r,startAngle:i,endAngle:o,closedPath:a}=t,s=Math.abs(o-i)/2+i,u=n+r*Math.cos(te(i)),c=e-r*Math.sin(te(i));return`${a?` M ${n}, ${e} L ${u}, ${c}`:`M ${u}, ${c}`} A ${r}, ${r}, 0, ${s-i<=180?0:1}, 0, ${n+r*Math.cos(te(s))}, ${e-r*Math.sin(te(s))} A ${r}, ${r}, 0, ${o-s<=180?0:1}, 0, ${n+r*Math.cos(te(o))}, ${e-r*Math.sin(te(o))} ${a?"Z":""}`},Qi={pathComponent:E().createElement(Xi,null),role:"presentation",shapeRendering:"auto"},Ji=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(Object.assign({stroke:"black",fill:"none"},t.style),t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,Qi));return E().cloneElement(n.pathComponent,{...n.events,"aria-label":n.ariaLabel,d:Zi(n),style:n.style,desc:n.desc,tabIndex:n.tabIndex,className:n.className,role:n.role,shapeRendering:n.shapeRendering,transform:n.transform,clipPath:n.clipPath})},to={circleComponent:E().createElement(Yi,null),rectComponent:E().createElement(Pe,null),role:"presentation",shapeRendering:"auto"},no=t=>{const n=(t=>{const n=Qn(t.id,t);return Object.assign({},t,{id:n})})(Un()({},t,to));return n.polar?E().cloneElement(n.circleComponent,{...n.events,style:n.style,role:n.role,shapeRendering:n.shapeRendering,cx:n.x,cy:n.y,r:n.height,className:n.className}):E().cloneElement(n.rectComponent,{...n.events,style:n.style,role:n.role,shapeRendering:n.shapeRendering,x:n.x,y:n.y,rx:n.rx,ry:n.ry,width:n.width,height:n.height,className:n.className})},eo={rectComponent:E().createElement(Pe,null),role:"presentation",shapeRendering:"auto"},ro=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(Object.assign({fill:"none"},t.style),t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,eo));return E().cloneElement(n.rectComponent,{...n.events,"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,transform:n.transform,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x:n.x,y:n.y,width:n.width,height:n.height,clipPath:n.clipPath})};function io(){return io=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},io.apply(this,arguments)}const oo=(0,k.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:o,...a}=t,s={vectorEffect:"non-scaling-stroke",id:Qn(r,t)?.toString(),tabIndex:Qn(i,t),...a};return e?E().createElement("line",io({},s,{ref:n}),E().createElement("desc",null,e)):E().createElement("line",io({},s,{ref:n}))})),ao={lineComponent:E().createElement(oo,null),role:"presentation",shapeRendering:"auto"},so=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(Object.assign({stroke:"black"},t.style),t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,ao));return E().cloneElement(n.lineComponent,{...n.events,"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x1:n.x1,x2:n.x2,y1:n.y1,y2:n.y2,transform:n.transform,clipPath:n.clipPath})};function uo(t,n,e){return`M ${t}, ${n}\n m ${-e}, 0\n a ${e}, ${e} 0 1,0 ${2*e},0\n a ${e}, ${e} 0 1,0 ${2*-e},0`}function co(t,n,e){const r=.87*e,i=t-r,o=t+r-i;return`M ${i}, ${n+r}\n h${o}\n v-${o}\n h-${o}\n z`}function lo(t,n,e){const r=.87*e,i=Math.sqrt(r*r*2);return`M ${t}, ${n+i}\n l ${i}, -${i}\n l -${i}, -${i}\n l -${i}, ${i}\n l ${i}, ${i}\n z`}function fo(t,n,e){const r=n-e;return`M ${t-e}, ${r}\n L ${t+e}, ${r}\n L ${t}, ${n+e/2*Math.sqrt(3)}\n z`}function ho(t,n,e){const r=n+e;return`M ${t-e}, ${r}\n L ${t+e}, ${r}\n L ${t}, ${n-e/2*Math.sqrt(3)}\n z`}function po(t,n,e){const r=1.1*e,i=r/1.5;return`\n M ${t-i/2}, ${n+r}\n v-${i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${i}\n z`}function go(t,n,e){const r=.8*e,i=r/1.5;return`\n M ${t-i/2}, ${n+r+i}\n v-${2*i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${2*i}\n z`}function yo(t,n,e){const r=1.1*e,i=r-.3*r,o=t-r,a=t+r-o;return`M ${o}, ${n+i/2}\n h${a}\n v-${i}\n h-${a}\n z`}function mo(t,n,e){const r=1.35*e,i=Math.PI/5;return`M ${fe(10).map((e=>{const o=e%2==0?r:r/2;return`${o*Math.sin(i*(e+1))+t},\n ${o*Math.cos(i*(e+1))+n}`})).join("L")} z`}const vo=t=>{const{x:n,y:e,size:r,symbol:i}=t;if(t.getPath)return t.getPath(n,e,r);const o=f;return("function"==typeof o[i]?o[i]:o.circle)(n,e,r)},xo={pathComponent:E().createElement(Xi,null),role:"presentation",shapeRendering:"auto"},_o=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Qn(t.size,t),o=Jn(t.style,t),a=Qn(t.symbol,t),s=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,size:i,style:o,symbol:a,tabIndex:s})})(Un()({},t,xo)),e=ye(n);return E().cloneElement(n.pathComponent,{...n.events,"aria-label":n.ariaLabel,d:vo(n),style:n.style,desc:n.desc,tabIndex:n.tabIndex,role:n.role,shapeRendering:n.shapeRendering,className:n.className,transform:n.transform,clipPath:n.clipPath,...e})},bo={groupComponent:E().createElement("g",null),lineComponent:E().createElement(oo,null),role:"presentation",shapeRendering:"auto"},wo=t=>{const n=(t=>{const n=Qn(t.ariaLabel,t),e=Qn(t.desc,t),r=Qn(t.id,t),i=Jn(t.style,t),o=Qn(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})(Un()({},t,bo)),{ariaLabel:e,groupComponent:r,lineComponent:i,events:o,className:a,majorWhisker:s,minorWhisker:u,transform:c,clipPath:l,role:f,shapeRendering:h,style:p,desc:d,tabIndex:g}=n,y={...o,style:p,desc:d,tabIndex:g,className:a,transform:c,clipPath:l,role:f,shapeRendering:h};return E().cloneElement(r,{},[E().cloneElement(i,Object.assign({key:"major-whisker","aria-label":e},y,s)),E().cloneElement(i,Object.assign({key:"minor-whisker","aria-label":e},y,u))])};var Mo=r(9602),Ao=r.n(Mo),ko=r(1616),Eo=r.n(ko),Co=r(4912),So=r.n(Co);const Oo=/^onGlobal(.*)$/;function To(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&&ae(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 jo(t,n,e,r){if(Se()(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(!ae(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(!Se()(o)){const t=(t=>{const n=t=>ae(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 Do(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}function Po(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 No(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),r.reduce(((r,i)=>{const o=e[i],a=Fo(t,n[i],e[i],i);return r[i]=a||o,So()(r,(t=>!Se()(t)))}),{})}function Fo(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=$o(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=Ao()(Object.keys(s).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},u=$o(t,s[e],a[e],i);return n[e]=void 0!==u?Object.assign({},a[e],u):a[e],So()(n,(t=>!Se()(t)))}),{})}return So()(i,(t=>!Se()(t)))}),{})}function $o(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(Se()(a))return;const s=a.filter((t=>i(t,"eventKey")));return Se()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&ae(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function Lo(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=ae(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}function Io(t){const n=t.match(Oo);return n&&n[1]&&n[1].toLowerCase()}const zo=t=>So()(t,((t,n)=>Oo.test(n))),Wo=t=>Eo()(t,((t,n)=>Oo.test(n))),Bo=t=>Object.assign(t,{nativeEvent:t}),Ro=t=>!oe(t._x)&&!oe(t._y),Uo=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function Ho(t,n){return void 0===n&&(n={}),class extends t{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Po.bind(this);getScopedEvents=jo.bind(this);getEvents=(t,n,e)=>To.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=!Wi()(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 Wi()(this.calculatedState,i)?!Wi()(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);Ei(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Ei(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(Bo(n))};this.boundGlobalEvents[t]=n,window.addEventListener(Io(t),n)}removeGlobalListener(t){window.removeEventListener(Io(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const e=(t,n)=>{const e=Un()({},this.getEventState(t,n),this.getSharedEventState(t,n));return Se()(e)?void 0:e};return(n.components||Uo).map((n=>{if(t.standalone||"parent"!==n.name)return void 0!==n.index?e(n.index,n.name):this.dataKeys.map((t=>e(t,n.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!Se()(n)){const e=t.externalEventMutations.reduce(((t,n)=>ae(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(n){const{sharedEvents:e}=n,r=Lo(n,t.expectedComponents),i=e&&ae(e.getEventState)?e.getEventState:()=>{},o=this.getBaseProps(n,i);return{componentEvents:r,getSharedEventState:i,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return Se()(e)||n?void 0:Fo(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(n,e){const r=(e||this.getSharedEventState.bind(this))("parent","parent"),i=this.getEventState("parent","parent"),o=Un()({},i,r),a=o.parentControlledProps,s=a?zn()(o,a):{},u=Un()({},s,n);return"function"==typeof t.getBaseProps?t.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(n,e,r){const i=this.props.name||t.role,o=this.dataKeys&&this.dataKeys[r]||r,a=`${i}-${e}-${o}`,s=this.baseProps[o]&&this.baseProps[o][e]||this.baseProps[o];if(!s&&!this.hasEvents)return;const u=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,e,o),n=Un()({index:r,key:a},this.getEventState(o,e),this.getSharedEventState(o,e),u,s,{id:a}),i=Un()({},Do(t,o,n),n.events);return Object.assign({},n,{events:i})}return Un()({index:r,key:a},u,s,{id:a})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=zo(e.events),e.events=Wo(e.events)),E().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return E().createElement(Ri,{animate:t.animate,animationWhitelist:e},E().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(E().cloneElement(e,i))),r}),[]),a=this.getComponentProps(n,"data","all"),s=[E().cloneElement(n,a),...o];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=Ro);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(E().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 E().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,o)}}}var qo=r(4295),Vo=r.n(qo),Yo=r(2829),Go=r.n(Yo),Ko=r(8999),Xo=r.n(Ko),Zo=r(8254),Qo=r.n(Zo);function Jo(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 ta(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function na(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 ea extends Map{constructor(t,n=ia){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(ra(this,t))}has(t){return super.has(ra(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 ra({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function ia(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const oa=Symbol("implicit");function aa(){var t=new ea,n=[],e=[],r=oa;function i(i){let o=t.get(i);if(void 0===o){if(r!==oa)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 ea;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 aa(n,e).unknown(r)},ta.apply(i,arguments),i}function sa(){var t,n,e=aa().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,p=f?o:a;t=(p-h)/Math.max(1,e-u+2*c),s&&(t=Math.floor(t)),h+=(p-h-t*(e-u))*l,n=t*(1-u),s&&(h=Math.round(h),n=Math.round(n));var d=Jo(e).map((function(n){return h+t*n}));return i(f?d.reverse():d)}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 sa(r(),[o,a]).round(s).paddingInner(u).paddingOuter(c).align(l)},ta.apply(f(),arguments)}function ua(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return ua(n())},t}function ca(){return ua(sa.apply(null,arguments).paddingInner(1))}var la=Math.sqrt(50),fa=Math.sqrt(10),ha=Math.sqrt(2);function pa(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=da(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 da(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>=la?10:o>=fa?5:o>=ha?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=la?10:o>=fa?5:o>=ha?2:1)}function ga(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>=la?i*=10:o>=fa?i*=5:o>=ha&&(i*=2),n<t?-i:i}function ya(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function ma(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function va(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=ya,e=(n,e)=>ya(t(n),e),r=(n,e)=>t(n)-e):(n=t===ya||t===ma?t:xa,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 xa(){return 0}function _a(t){return null===t?NaN:+t}const ba=va(ya),wa=ba.right;ba.left,va(_a).center;var Ma=wa;function Aa(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function ka(t){return+t}var Ea=[0,1];function Ca(t){return t}function Sa(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:function(t){return function(){return t}}(isNaN(n)?NaN:.5)}function Oa(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=Sa(i,r),o=e(a,o)):(r=Sa(r,i),o=e(o,a)),function(t){return o(r(t))}}function Ta(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]=Sa(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=Ma(t,n,1,r)-1;return o[e](i[e](n))}}function ja(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Da(){var t,n,e,r,i,o,a=Ea,s=Ea,u=sn,c=Ca;function l(){var t=Math.min(a.length,s.length);return c!==Ca&&(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?Ta:Oa,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),tn)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,ka),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=Aa,l()},f.clamp=function(t){return arguments.length?(c=!!t||Ca,l()):c!==Ca},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 Pa(){return Da()(Ca,Ca)}var Na,Fa=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function $a(t){if(!(n=Fa.exec(t)))throw new Error("invalid format: "+t);var n;return new La({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 La(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 Ia(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 za(t){return(t=Ia(Math.abs(t)))?t[1]:NaN}function Wa(t,n){var e=Ia(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")}$a.prototype=La.prototype,La.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 Ba={"%":(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)=>Wa(100*t,n),r:Wa,s:function(t,n){var e=Ia(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Na=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")+Ia(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ra(t){return t}var Ua,Ha,qa,Va=Array.prototype.map,Ya=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ga(t,n,e,r){var i,o=ga(t,n,e);switch((r=$a(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(za(n)/3)))-za(Math.abs(t)))}(o,a))||(r.precision=i),qa(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,za(n)-za(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,-za(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Ha(r)}function Ka(t){var n=t.domain;return t.ticks=function(t){var e=n();return pa(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Ga(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=da(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 Xa(){var t=Pa();return t.copy=function(){return ja(t,Xa())},ta.apply(t,arguments),Ka(t)}function Za(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,ka),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Za(t).unknown(n)},t=arguments.length?Array.from(t,ka):[0,1],Ka(e)}function Qa(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 Ja(t){return Math.log(t)}function ts(t){return Math.exp(t)}function ns(t){return-Math.log(-t)}function es(t){return-Math.exp(-t)}function rs(t){return isFinite(t)?+("1e"+t):t<0?0:t}function is(t){return(n,e)=>-t(-n,e)}function os(t){const n=t(Ja,ts),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?rs:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=is(r),i=is(i),t(ns,es)):t(Ja,ts),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 p=null==t?10:+t;let d=[];if(!(o%1)&&h-f<p){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;d.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;d.push(l)}2*d.length<p&&(d=pa(a,s,p))}else d=pa(f,h,Math.min(h-f,p)).map(i);return u?d.reverse():d},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=$a(e)).precision||(e.trim=!0),e=Ha(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(Qa(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function as(){const t=os(Da()).domain([1,10]);return t.copy=()=>ja(t,as()).base(t.base()),ta.apply(t,arguments),t}function ss(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function us(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function cs(t){var n=1,e=t(ss(n),us(n));return e.constant=function(e){return arguments.length?t(ss(n=+e),us(n)):n},Ka(e)}function ls(){var t=cs(Da());return t.copy=function(){return ja(t,ls()).constant(t.constant())},ta.apply(t,arguments)}function fs(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function hs(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function ps(t){return t<0?-t*t:t*t}function ds(t){var n=t(Ca,Ca),e=1;function r(){return 1===e?t(Ca,Ca):.5===e?t(hs,ps):t(fs(e),fs(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Ka(n)}function gs(){var t=ds(Da());return t.copy=function(){return ja(t,gs()).exponent(t.exponent())},ta.apply(t,arguments),t}function ys(){return gs.apply(null,arguments).exponent(.5)}function ms(t){return Math.sign(t)*t*t}function vs(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function xs(){var t,n=Pa(),e=[0,1],r=!1;function i(e){var i=vs(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(ms(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,ka)).map(ms)),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 xs(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},ta.apply(i,arguments),Ka(i)}function _s(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 bs(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 ws(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function Ms(t,n,e=0,r=t.length-1,i){for(i=void 0===i?ws:function(t=ya){if(t===ya)return ws;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);Ms(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(As(t,e,n),i(t[r],o)>0&&As(t,e,r);a<s;){for(As(t,a,s),++a,--s;i(t[a],o)<0;)++a;for(;i(t[s],o)>0;)--s}0===i(t[e],o)?As(t,e,s):(++s,As(t,s,r)),s<=n&&(e=s+1),n<=s&&(r=s-1)}return t}function As(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ks(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 bs(t);if(n>=1)return _s(t);var r,i=(r-1)*n,o=Math.floor(i),a=_s(Ms(t,o).subarray(0,o+1));return a+(bs(t.subarray(o+1))-a)*(i-o)}}function Es(t,n,e=_a){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 Cs(){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]=Es(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[Ma(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(ya),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 Cs().domain(n).range(e).unknown(t)},ta.apply(o,arguments)}function Ss(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[Ma(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 Ss().domain([n,e]).range(o).unknown(t)},ta.apply(Ka(a),arguments)}function Os(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[Ma(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 Os().domain(n).range(e).unknown(t)},ta.apply(i,arguments)}Ua=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Ra:(n=Va.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?Ra:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Va.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=$a(t)).fill,e=t.align,f=t.sign,h=t.symbol,p=t.zero,d=t.width,g=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Ba[v]||(void 0===y&&(y=12),m=!0,v="g"),(p||"0"===n&&"="===e)&&(p=!0,n="0",e="=");var x="$"===h?i:"#"===h&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===h?o:/[%p]/.test(v)?u:"",b=Ba[v],w=/[defgprs%]/.test(v);function M(t){var i,o,u,h=x,M=_;if("c"===v)M=b(t)+M,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:b(Math.abs(t),y),m&&(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)),A&&0==+t&&"+"!==f&&(A=!1),h=(A?"("===f?f:c:"-"===f||"("===f?"":f)+h,M=("s"===v?Ya[8+Na/3]:"")+M+(A&&"("===f?")":""),w)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){M=(46===u?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!p&&(t=r(t,1/0));var k=h.length+t.length+M.length,E=k<d?new Array(d-k+1).join(n):"";switch(g&&p&&(t=r(E+t,E.length?d-M.length:1/0),E=""),e){case"<":t=h+t+M+E;break;case"=":t=h+E+t+M;break;case"^":t=E.slice(0,k=E.length>>1)+h+t+M+E.slice(k);break;default:t=E+h+t+M}return s(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,n){var e=f(((t=$a(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(za(n)/3))),i=Math.pow(10,-r),o=Ya[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Ha=Ua.format,qa=Ua.formatPrefix;const Ts=1e3,js=6e4,Ds=36e5,Ps=864e5,Ns=6048e5,Fs=31536e6;var $s=new Date,Ls=new Date;function Is(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 Is((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 $s.setTime(+n),Ls.setTime(+r),t($s),t(Ls),Math.floor(e($s,Ls))},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 zs=Is((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));zs.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Is((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):zs:null};var Ws=zs,Bs=(zs.range,Is((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*Ts)}),(function(t,n){return(n-t)/Ts}),(function(t){return t.getUTCSeconds()}))),Rs=Bs,Us=(Bs.range,Is((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Ts)}),(function(t,n){t.setTime(+t+n*js)}),(function(t,n){return(n-t)/js}),(function(t){return t.getMinutes()}))),Hs=Us,qs=(Us.range,Is((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Ts-t.getMinutes()*js)}),(function(t,n){t.setTime(+t+n*Ds)}),(function(t,n){return(n-t)/Ds}),(function(t){return t.getHours()}))),Vs=qs,Ys=(qs.range,Is((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*js)/Ps),(t=>t.getDate()-1))),Gs=Ys;function Ks(t){return Is((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())*js)/Ns}))}Ys.range;var Xs=Ks(0),Zs=Ks(1),Qs=Ks(2),Js=Ks(3),tu=Ks(4),nu=Ks(5),eu=Ks(6),ru=(Xs.range,Zs.range,Qs.range,Js.range,tu.range,nu.range,eu.range,Is((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()}))),iu=ru,ou=(ru.range,Is((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()})));ou.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Is((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 au=ou,su=(ou.range,Is((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*js)}),(function(t,n){return(n-t)/js}),(function(t){return t.getUTCMinutes()}))),uu=su,cu=(su.range,Is((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Ds)}),(function(t,n){return(n-t)/Ds}),(function(t){return t.getUTCHours()}))),lu=cu,fu=(cu.range,Is((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ps}),(function(t){return t.getUTCDate()-1}))),hu=fu;function pu(t){return Is((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)/Ns}))}fu.range;var du=pu(0),gu=pu(1),yu=pu(2),mu=pu(3),vu=pu(4),xu=pu(5),_u=pu(6),bu=(du.range,gu.range,yu.range,mu.range,vu.range,xu.range,_u.range,Is((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()}))),wu=bu,Mu=(bu.range,Is((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()})));Mu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Is((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 Au=Mu;function ku(t,n,e,r,i,o){const a=[[Rs,1,Ts],[Rs,5,5e3],[Rs,15,15e3],[Rs,30,3e4],[o,1,js],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ds],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Ps],[r,2,1728e5],[e,1,Ns],[n,1,2592e6],[n,3,7776e6],[t,1,Fs]];function s(n,e,r){const i=Math.abs(e-n)/r,o=va((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(ga(n/Fs,e/Fs,r));if(0===o)return Ws.every(Math.max(ga(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]}Mu.range;const[Eu,Cu]=ku(Au,wu,du,hu,lu,uu),[Su,Ou]=ku(au,iu,Xs,Gs,Vs,Hs);function Tu(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 ju(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 Du(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var Pu,Nu,Fu,$u={"-":"",_:" ",0:"0"},Lu=/^\s*\d+/,Iu=/^%/,zu=/[\\^$*+?|[\]().{}]/g;function Wu(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 Bu(t){return t.replace(zu,"\\$&")}function Ru(t){return new RegExp("^(?:"+t.map(Bu).join("|")+")","i")}function Uu(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Hu(t,n,e){var r=Lu.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function qu(t,n,e){var r=Lu.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Vu(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Yu(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Gu(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Ku(t,n,e){var r=Lu.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Xu(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Zu(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 Qu(t,n,e){var r=Lu.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Ju(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function tc(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function nc(t,n,e){var r=Lu.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function ec(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function rc(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function ic(t,n,e){var r=Lu.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function oc(t,n,e){var r=Lu.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function ac(t,n,e){var r=Lu.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function sc(t,n,e){var r=Iu.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function uc(t,n,e){var r=Lu.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function cc(t,n,e){var r=Lu.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function lc(t,n){return Wu(t.getDate(),n,2)}function fc(t,n){return Wu(t.getHours(),n,2)}function hc(t,n){return Wu(t.getHours()%12||12,n,2)}function pc(t,n){return Wu(1+Gs.count(au(t),t),n,3)}function dc(t,n){return Wu(t.getMilliseconds(),n,3)}function gc(t,n){return dc(t,n)+"000"}function yc(t,n){return Wu(t.getMonth()+1,n,2)}function mc(t,n){return Wu(t.getMinutes(),n,2)}function vc(t,n){return Wu(t.getSeconds(),n,2)}function xc(t){var n=t.getDay();return 0===n?7:n}function _c(t,n){return Wu(Xs.count(au(t)-1,t),n,2)}function bc(t){var n=t.getDay();return n>=4||0===n?tu(t):tu.ceil(t)}function wc(t,n){return t=bc(t),Wu(tu.count(au(t),t)+(4===au(t).getDay()),n,2)}function Mc(t){return t.getDay()}function Ac(t,n){return Wu(Zs.count(au(t)-1,t),n,2)}function kc(t,n){return Wu(t.getFullYear()%100,n,2)}function Ec(t,n){return Wu((t=bc(t)).getFullYear()%100,n,2)}function Cc(t,n){return Wu(t.getFullYear()%1e4,n,4)}function Sc(t,n){var e=t.getDay();return Wu((t=e>=4||0===e?tu(t):tu.ceil(t)).getFullYear()%1e4,n,4)}function Oc(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Wu(n/60|0,"0",2)+Wu(n%60,"0",2)}function Tc(t,n){return Wu(t.getUTCDate(),n,2)}function jc(t,n){return Wu(t.getUTCHours(),n,2)}function Dc(t,n){return Wu(t.getUTCHours()%12||12,n,2)}function Pc(t,n){return Wu(1+hu.count(Au(t),t),n,3)}function Nc(t,n){return Wu(t.getUTCMilliseconds(),n,3)}function Fc(t,n){return Nc(t,n)+"000"}function $c(t,n){return Wu(t.getUTCMonth()+1,n,2)}function Lc(t,n){return Wu(t.getUTCMinutes(),n,2)}function Ic(t,n){return Wu(t.getUTCSeconds(),n,2)}function zc(t){var n=t.getUTCDay();return 0===n?7:n}function Wc(t,n){return Wu(du.count(Au(t)-1,t),n,2)}function Bc(t){var n=t.getUTCDay();return n>=4||0===n?vu(t):vu.ceil(t)}function Rc(t,n){return t=Bc(t),Wu(vu.count(Au(t),t)+(4===Au(t).getUTCDay()),n,2)}function Uc(t){return t.getUTCDay()}function Hc(t,n){return Wu(gu.count(Au(t)-1,t),n,2)}function qc(t,n){return Wu(t.getUTCFullYear()%100,n,2)}function Vc(t,n){return Wu((t=Bc(t)).getUTCFullYear()%100,n,2)}function Yc(t,n){return Wu(t.getUTCFullYear()%1e4,n,4)}function Gc(t,n){var e=t.getUTCDay();return Wu((t=e>=4||0===e?vu(t):vu.ceil(t)).getUTCFullYear()%1e4,n,4)}function Kc(){return"+0000"}function Xc(){return"%"}function Zc(t){return+t}function Qc(t){return Math.floor(+t/1e3)}function Jc(t){return new Date(t)}function tl(t){return t instanceof Date?+t:+new Date(+t)}function nl(t,n,e,r,i,o,a,s,u,c){var l=Pa(),f=l.invert,h=l.domain,p=c(".%L"),d=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),v=c("%b %d"),x=c("%B"),_=c("%Y");function b(t){return(u(t)<t?p:s(t)<t?d:a(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?m:v:e(t)<t?x:_)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Array.from(t,tl)):h().map(Jc)},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(Qa(e,t)):l},l.copy=function(){return ja(l,nl(t,n,e,r,i,o,a,s,u,c))},l}function el(){return ta.apply(nl(Su,Ou,au,iu,Xs,Gs,Vs,Hs,Rs,Nu).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rl(){return ta.apply(nl(Eu,Cu,Au,wu,du,hu,lu,uu,Rs,Fu).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function il(){var t,n,e,r,i,o=0,a=1,s=Ca,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(sn),c.rangeRound=l(Aa),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 ol(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function al(){var t=Ka(il()(Ca));return t.copy=function(){return ol(t,al())},na.apply(t,arguments)}function sl(){var t=os(il()).domain([1,10]);return t.copy=function(){return ol(t,sl()).base(t.base())},na.apply(t,arguments)}function ul(){var t=cs(il());return t.copy=function(){return ol(t,ul()).constant(t.constant())},na.apply(t,arguments)}function cl(){var t=ds(il());return t.copy=function(){return ol(t,cl()).exponent(t.exponent())},na.apply(t,arguments)}function ll(){return cl.apply(null,arguments).exponent(.5)}function fl(){var t=[],n=Ca;function e(e){if(null!=e&&!isNaN(e=+e))return n((Ma(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(ya),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)=>ks(t,r/n)))},e.copy=function(){return fl(n).domain(t)},na.apply(e,arguments)}function hl(t,n){void 0===n&&(n=t,t=sn);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 pl(){var t,n,e,r,i,o,a,s=0,u=.5,c=1,l=1,f=Ca,h=!1;function p(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 d(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=hl(t,[e,r,i]),p):[f(0),f(.5),f(1)]}}return p.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,p):[s,u,c]},p.clamp=function(t){return arguments.length?(h=!!t,p):h},p.interpolator=function(t){return arguments.length?(f=t,p):f},p.range=d(sn),p.rangeRound=d(Aa),p.unknown=function(t){return arguments.length?(a=t,p):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,p}}function dl(){var t=Ka(pl()(Ca));return t.copy=function(){return ol(t,dl())},na.apply(t,arguments)}function gl(){var t=os(pl()).domain([.1,1,10]);return t.copy=function(){return ol(t,gl()).base(t.base())},na.apply(t,arguments)}function yl(){var t=cs(pl());return t.copy=function(){return ol(t,yl()).constant(t.constant())},na.apply(t,arguments)}function ml(){var t=ds(pl());return t.copy=function(){return ol(t,ml()).exponent(t.exponent())},na.apply(t,arguments)}function vl(){return ml.apply(null,arguments).exponent(.5)}Pu=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=Ru(i),l=Uu(i),f=Ru(o),h=Uu(o),p=Ru(a),d=Uu(a),g=Ru(s),y=Uu(s),m=Ru(u),v=Uu(u),x={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:lc,e:lc,f:gc,g:Ec,G:Sc,H:fc,I:hc,j:pc,L:dc,m:yc,M:mc,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Zc,s:Qc,S:vc,u:xc,U:_c,V:wc,w:Mc,W:Ac,x:null,X:null,y:kc,Y:Cc,Z:Oc,"%":Xc},_={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:Tc,e:Tc,f:Fc,g:Vc,G:Gc,H:jc,I:Dc,j:Pc,L:Nc,m:$c,M:Lc,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Zc,s:Qc,S:Ic,u:zc,U:Wc,V:Rc,w:Uc,W:Hc,x:null,X:null,y:qc,Y:Yc,Z:Kc,"%":Xc},b={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=d.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=m.exec(n.slice(e));return r?(t.m=v.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 A(t,n,e,r)},d:tc,e:tc,f:ac,g:Xu,G:Ku,H:ec,I:ec,j:nc,L:oc,m:Ju,M:rc,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:Qu,Q:uc,s:cc,S:ic,u:qu,U:Vu,V:Yu,w:Hu,W:Gu,x:function(t,n,r){return A(t,e,n,r)},X:function(t,n,e){return A(t,r,n,e)},y:Xu,Y:Ku,Z:Zu,"%":sc};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=$u[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 M(t,n){return function(e){var r,i,o=Du(1900,void 0,1);if(A(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=ju(Du(o.y,0,1))).getUTCDay(),r=i>4||0===i?gu.ceil(r):gu(r),r=hu.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Tu(Du(o.y,0,1))).getDay(),r=i>4||0===i?Zs.ceil(r):Zs(r),r=Gs.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?ju(Du(o.y,0,1)).getUTCDay():Tu(Du(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,ju(o)):Tu(o)}}function A(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 $u?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),_.x=w(e,_),_.X=w(r,_),_.c=w(n,_),{format:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",_);return n.toString=function(){return t},n},utcParse:function(t){var n=M(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"]}),Nu=Pu.format,Pu.parse,Fu=Pu.utcFormat,Pu.utcParse;const xl=["linear","time","log","sqrt"];function _l(t){return"function"==typeof t?ae(t.copy)&&ae(t.domain)&&ae(t.range):"string"==typeof t&&xl.includes(t)}function bl(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function wl(t,n){if(!t.data)return"linear";const e=se(t[n]);return Mi(t.data.map((t=>{const r=ft()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function Ml(t){if(_l(t)){const n=`scale${(t=>t&&t[0].toUpperCase()+t.slice(1))(t)}`;return p[n]()}return Xa()}function Al(t,n){const e=El(t,n);return e?"string"==typeof e?Ml(e):e:Ml(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 Mi(e)?"time":"linear"}(t,n)||wl(t,n))}function kl(){return Xa()}function El(t,n){if(!bl(t,n))return;const e=t.scale[n]||t.scale;return _l(e)?ae(e)?e:Ml(e):void 0}function Cl(t,n){return function(t,n){if(!bl(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:Ol(e)}(t,n)||wl(t,n)}const Sl=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function Ol(t){if("string"==typeof t)return t;const n=Sl.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}const Tl="@@__IMMUTABLE_ITERABLE__@@",jl="@@__IMMUTABLE_RECORD__@@",Dl="@@__IMMUTABLE_LIST__@@",Pl="@@__IMMUTABLE_MAP__@@";function Nl(t){return!(!t||!t[Tl])}function Fl(t){return!(!t||!t[jl])}function $l(t){return Nl(t)||Fl(t)}function Ll(t){return!(!t||!t[Dl])}function Il(t){return!(!t||!t[Pl])}function zl(t,n){return Nl(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=zl(e)),t[r]=i,t}),Ll(t)?[]:{}):t}function Wl(t){return $l(t)?zl(t,{errorX:!0,errorY:!0}):t}function Bl(t){return Nl(t)?t.size:t.length}function Rl(t,n){const e=(ft()(t.domain)?t.domain[n]:t.domain)||Al(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=fe(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function Ul(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 ct()(t,r,i)}function Hl(t,n,e){const r=t=>void 0!==t,i=Ti(n.x),o=Oi(n.x),a=Ti(n.y),s=Oi(n.y),u=t=>n=>r(n)&&n<t,c=t=>n=>r(n)&&n>t,l=u(i),f=u(a),h=c(o),p=c(s);return t.map((t=>{let{_x:n,_y:i,_y0:o,_y1:u}=t;(l(n)||h(n))&&(n=null);const c=r(o)?o:e,d=r(u)?u:i;return r(d)?(r(c)||!f(d)&&!p(d)||(i=null),(f(c)&&f(d)||p(c)&&p(d))&&(i=o=u=null),f(c)&&!f(d)&&(o=a),p(c)&&!p(d)&&(o=s),Object.assign({},t,Eo()({_x:n,_y:i,_y0:o,_y1:u},Xo()))):t}))}function ql(t,n){const e=Zl(t,n),r=Ql(t,n),i=Jl(t,n),o=Ao()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function Vl(t,n,e){void 0===e&&(e=0);const r=Bl(t);if(r>n){const i=Math.pow(2,Math.ceil(Math.log2(r/n)));return t.filter(((t,n)=>(n+e)%i==0))}return t}function Yl(t,n,e){if(!Array.isArray(t)&&!Nl(t)||Bl(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=se(void 0!==n[r=e]?n[r]:r),t}),{}),o=Qo()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?ql(n,"x"):void 0,y:-1!==e.indexOf("y")?ql(n,"y"):void 0,y0:-1!==e.indexOf("y0")?ql(n,"y"):void 0});const s=o?t:t.reduce(((t,n,r)=>{const o=Wl(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 Se()(c)||t.push(c),t}),[]),u=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:Cl(n,"x"),y:Cl(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)))}(Ul(s,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=ae(i=t.eventKey)?i:null==i?()=>{}:Bn()(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 Gl(t){const n=Rl(t,"x"),e=Rl(t,"y"),r=n.map(((t,n)=>({x:t,y:e[n]})));return r}function Kl(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function Xl(t){return t.data?Yl(t.data,t):Yl(Gl(t),t)}function Zl(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))}function Ql(t,n){if(!t.categories)return[];const e=Kl(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?Si(r):[]}function Jl(t,n){if(!Array.isArray(t.data)&&!Nl(t.data))return[];const e=se(void 0===t[n]?n:t[n]);return Ul(t.data.reduce(((t,n)=>(t.push(Wl(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=Wl(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)),[])}function tf(t){const n=t=>t&&t.type?t.type.role:"";let e=n(t);if("portal"===e){const r=E().Children.toArray(t.props.children);e=r.length?n(r[0]):""}return["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(e)}function nf(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 ef(t,n){const e=ae(t)?t:sf,r=ae(n)?n:rf;return(t,n)=>{const i=cf(t,n);if(i)return r(i,t,n);const o=Kl(t,n),a=o?af(t,n,o):e(t,n);return a?r(a,t,n):void 0}}function rf(t,n,e){return function(t,n,e){return"log"!==Cl(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=hf(n,e),i=ff(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return ft()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=Ti(t),s=Oi(t),u=ie(n,ce(e,n.horizontal)),c=Math.abs(u[0]-u[1]),l=Math.max(c-o.left-o.right,1),f=Math.abs(s.valueOf()-a.valueOf())/l*c,h=f*o.left/c,p=f*o.right/c;let d={min:a.valueOf()-h,max:s.valueOf()+p};const g=ft()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,y=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&s<=0&&t>=0?0:t;if((a>=0&&d.min<=0||s<=0&&d.max>=0)&&!1!==g){const t={left:Math.abs(s-a)*o.left/c,right:Math.abs(s-a)*o.right/c},n={min:y(a.valueOf()-t.left,"min"),max:y(s.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/c,right:Math.abs(n.max-n.min)*o.right/c};d={min:y(a.valueOf()-e.left,"min"),max:y(s.valueOf()+e.right,"max")}}const m={min:void 0!==r?r:d.min,max:void 0!==i?i:d.max};return a instanceof Date||s instanceof Date?uf(new Date(m.min),new Date(m.max)):uf(m.min,m.max)}(t,n,e),n,e)}function of(t,n){return ef()(t,n)}function af(t,n,e){const r=e||Kl(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const s=hf(t,n),u=ff(t,n),c=wi(r)?Ql(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=uf(void 0!==s?s:Ti(f),void 0!==u?u:Oi(f));return i&&"x"===n&&360===Math.abs(o-a)?pf(h,f):h}function sf(t,n,e){const r=e||Xl(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,s=hf(t,n),u=ff(t,n);if(r.length<1)return void 0!==s&&void 0!==u?uf(s,u):void 0;const c=uf(void 0!==s?s:nf(r,n,"min"),void 0!==u?u:nf(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?pf(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 uf(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 cf(t,n){const e=hf(t,n),r=ff(t,n);return ft()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?uf(e,r):void 0}function lf(t,n){const e=cf(t,n);if(e)return e;const r=Xl(t),i=r.reduce(((t,n)=>n._y0<t?n._y0:t),1/0);return ef((()=>sf(t,n,r)),(e=>rf((e=>{if("x"===n)return e;const r=i!==1/0?i:0,o=ff(t,n),a=hf(t,n),s=void 0!==o?o:Oi(e,r);return uf(void 0!==a?a:Ti(e,r),s)})(e),t,n)))(t,n)}function ff(t,n){return ft()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||Vo()(t.maxDomain)?t.maxDomain:void 0}function hf(t,n){return ft()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||Vo()(t.minDomain)?t.minDomain:void 0}function pf(t,n){const e=Go()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}function df(t){const n=t=>t&&t.type?t.type.role:"";let e=n(t);if("portal"===e){const r=E().Children.toArray(t.props.children);e=r.length?n(r[0]):""}return["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(e)}function gf(t){return t}function yf(t){const{dependentAxis:n}=t;return n?"y":"x"}function mf(t,n){const e=n||gf,r=t=>t.reduce(((t,n)=>n.type&&"axis"===n.type.role&&e(n)?t.concat(n):n.props&&n.props.children?t.concat(r(E().Children.toArray(n.props.children))):t),[]);return r(t)}function vf(t,n){return mf(t,(t=>t.type.getAxis(t.props)===n))[0]}function xf(t,n){const e=t=>t.reduce(((t,r)=>r.type&&"axis"===r.type.role&&(t=>"dependent"===n?t.props.dependentAxis:!t.props.dependentAxis)(r)||r.props&&r.props.children&&e(E().Children.toArray(r.props.children)).length>0?t.concat(r):t),[]);return e(t)}function _f(t){const n=t=>{const n=Math.min(...t),e=Math.max(...t);return e<0?e:Math.max(0,n)};return{x:Mi(t.x)?new Date(Math.min(...t.x)):n(t.x),y:Mi(t.y)?new Date(Math.min(...t.y)):n(t.y)}}function bf(t,n){return Mi(n)?"positive":t<=0&&Math.max(...n)<=0?"negative":"positive"}function wf(t){return{top:!1,bottom:!1,left:!0,right:!0}[t.orientation||(t.dependentAxis?"left":"bottom")]}function Mf(t){return void 0!==t.tickValues&&wi(t.tickValues)}function Af(t){const{tickValues:n,tickFormat:e}=t;if(0===n?.length)return[];const r=yf(t),i=t.stringMap&&t.stringMap[r];let o=n;i&&(o=function(t){const n=yf(t),e=t.stringMap&&t.stringMap[n],r=Array.isArray(t.categories)?t.categories:t.categories&&t.categories[n],i=r&&ki(r)?r.map((t=>e[t])):void 0,o=e&&Object.values(e);return i&&0!==i.length?i:o}(t)),n&&wi(n)&&(o=i?n.map((t=>i[t])):fe(1,n.length+1));const a=o?Ao()(o):(()=>{if(e&&Array.isArray(e))return wi(e)?e.map(((t,n)=>n)):e})();return Array.isArray(a)&&a.length?(n=>{const e=[],i=t.domain&&t.domain[r]||t.domain;if(n)return n.forEach(((t,n)=>{Array.isArray(i)?t>=Ti(i)&&t<=Oi(i)&&e.push({value:t,index:n}):e.push({value:t,index:n})})),e})(a):void 0}function kf(t,n){const{tickFormat:e}=t,r=yf(t),i=t.stringMap&&t.stringMap[r];if(!e){const e=function(t){const{tickValues:n}=t,e=yf(t),r=t.stringMap&&t.stringMap[e],i=n&&!Mi(n)?t=>t:void 0;if(!r)return Mf(t)?(t,e)=>n[e]:i;const o=r&&Hn(r),a=["",...ct()(Object.values(r),(t=>t)).map((t=>o[t])),""];return t=>a[t]}(t),r=n.tickFormat&&ae(n.tickFormat)?n.tickFormat():t=>t;return e||r}if(e&&Array.isArray(e)){const n=Af(t)?.map((t=>t.index)),r=e.filter(((t,e)=>n?.includes(e)));return(t,n)=>r[n]}if(e&&ae(e)){const n=(n,e,r)=>{const o=Hn(i),a=r.map((t=>o[t]));return t.tickFormat(o[n],e,a)};return i?n:e}return t=>t}function Ef(t,n){if(!n||!Array.isArray(t)||t.length<=n)return t;const e=Math.floor(t.length/n);return t.filter(((t,n)=>n%e==0))}function Cf(t,n,e){void 0===e&&(e=!1);const{tickCount:r}=t,i=Af(t);if(0===i?.length)return[""];const o=i?i.map((t=>t.value)):void 0;if(o)return Ef(o,r);if(n.ticks&&ae(n.ticks)){const t=r||5,i=n.ticks(t),o=Ef(Array.isArray(i)&&i.length?i:n.domain(),r);if(e){const t=o.filter((t=>0!==t));return t.length?t:o}return o}return n.domain()}function Sf(t,n){const{polar:e,startAngle:r=0,endAngle:i=360}=t,o=Af(t),a=o&&0!==o?.length?o.map((t=>t.value)):void 0;if(!Array.isArray(a))return;const s=hf(t,n),u=ff(t,n),c=Mf(t),l=a.map((t=>Number(t))),f=c?1:Ti(l),h=c?a.length:Oi(l),p=uf(void 0!==s?s:f,void 0!==u?u:h),d=e&&"x"===n&&360===Math.abs(r-i)?pf(p,l):p;return wf(t)&&!e&&d.reverse(),d}function Of(t,n){const e=yf(t);if(!n||n===e)return ef(Sf)(t,e)}function Tf(t,n){if(!t.axisValue)return;const e="x"===n?"y":"x",r=Hi()(t.scale)&&ae(t.scale[e])?t.scale[e]:void 0;if(!r)return;const i="x"===n?"y":"x",o=Hi()(t.stringMap)&&t.stringMap[i];return r(o&&"string"==typeof t.axisValue?o[t.axisValue]:t.axisValue)}function jf(t,n){if(!Hi()(t.theme))return ue(t,n,"axis");let e="axis";if(t.dependentAxis&&t.theme.dependentAxis?e="dependentAxis":!t.dependentAxis&&t.theme.independentAxis&&(e="independentAxis"),"axis"===e)return ue(t,n,"axis");const r=Un()({},t.theme[e],t.theme.axis),i=Object.assign({},t.theme,{axis:r});return ue(Object.assign({},t,{theme:i}),n,"axis")}function Df(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}}function Pf(){return{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})}}}function Nf(){return{onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}}}function Ff(t){const n=E().useRef();return E().useEffect((()=>{n.current=t})),n.current}const $f={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},Lf=function(t){void 0===t&&(t=$f);const[n,e]=E().useState(t),r=E().useCallback((t=>{e((n=>({...n,...t})))}),[e]),i=E().useCallback(((t,e,i)=>{if(!t?.animate)return e.props.animate;let o=t.animate&&t.animate.getTransitions;const a=(()=>{let t=n&&n.childrenTransitions;return t=Ci(t)?t[i]:t,Un()({childrenTransitions:t},n)})(),s=t.animate&&t.animate.parentState||a;if(!o){const n=Ii(t,a,(t=>r(t)));o=t=>n(t,i)}return Un()({getTransitions:o,parentState:s},t.animate,e.props.animate)}),[n,r]),o=E().useCallback(((t,n)=>{if(t?.animate)if(t.animate.parentState){const e=t.animate.parentState.nodesWillExit?t:null,i=Un()({oldProps:e,nextProps:n},t.animate.parentState);r(i)}else{const e=E().Children.toArray(t.children),i=E().Children.toArray(n.children),o=t=>{const n=t=>t.type&&t.type.continuous;return Array.isArray(t)?t.some(n):n(t)},a=!t.polar&&e.some((t=>o(t)||t?.props?.children&&o(t.props.children))),{nodesWillExit:s,nodesWillEnter:u,childrenTransitions:c,nodesShouldEnter:l}=Li(e,i);r({nodesWillExit:s,nodesWillEnter:u,nodesShouldEnter:l,childrenTransitions:Ci(c)?c[0]:c,oldProps:s?t:void 0,nextProps:n,continuous:a})}}),[r]),a=E().useCallback((t=>n&&n.nodesWillExit&&n.oldProps||t),[n]);return{state:n,setState:r,getAnimationProps:i,setAnimationState:o,getProps:a}},If=Math.PI,zf=2*If,Wf=1e-6,Bf=zf-Wf;function Rf(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Uf(){return new Rf}Rf.prototype=Uf.prototype={constructor:Rf,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>Wf)if(Math.abs(l*s-u*c)>Wf&&i){var h=e-o,p=r-a,d=s*s+u*u,g=h*h+p*p,y=Math.sqrt(d),m=Math.sqrt(f),v=i*Math.tan((If-Math.acos((d+f-g)/(2*y*m)))/2),x=v/m,_=v/y;Math.abs(x-1)>Wf&&(this._+="L"+(t+x*c)+","+(n+x*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*p)+","+(this._x1=t+_*s)+","+(this._y1=n+_*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)>Wf||Math.abs(this._y1-c)>Wf)&&(this._+="L"+u+","+c),e&&(f<0&&(f=f%zf+zf),f>Bf?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-s)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>Wf&&(this._+="A"+e+","+e+",0,"+ +(f>=If)+","+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 Hf=Uf;function qf(t){return function(){return t}}const Vf=Math.abs,Yf=Math.atan2,Gf=Math.cos,Kf=Math.max,Xf=Math.min,Zf=Math.sin,Qf=Math.sqrt,Jf=1e-12,th=Math.PI,nh=th/2,eh=2*th;function rh(t){return t>1?0:t<-1?th:Math.acos(t)}function ih(t){return t>=1?nh:t<=-1?-nh:Math.asin(t)}function oh(t){return t.innerRadius}function ah(t){return t.outerRadius}function sh(t){return t.startAngle}function uh(t){return t.endAngle}function ch(t){return t&&t.padAngle}function lh(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<Jf))return[t+(h=(l*(n-o)-f*(t-i))/h)*u,n+h*c]}function fh(t,n,e,r,i,o,a){var s=t-e,u=n-r,c=(a?o:-o)/Qf(s*s+u*u),l=c*u,f=-c*s,h=t+l,p=n+f,d=e+l,g=r+f,y=(h+d)/2,m=(p+g)/2,v=d-h,x=g-p,_=v*v+x*x,b=i-o,w=h*g-d*p,M=(x<0?-1:1)*Qf(Kf(0,b*b*_-w*w)),A=(w*x-v*M)/_,k=(-w*v-x*M)/_,E=(w*x+v*M)/_,C=(-w*v+x*M)/_,S=A-y,O=k-m,T=E-y,j=C-m;return S*S+O*O>T*T+j*j&&(A=E,k=C),{cx:A,cy:k,x01:-l,y01:-f,x11:A*(i/b-1),y11:k*(i/b-1)}}function hh(){var t=oh,n=ah,e=qf(0),r=null,i=sh,o=uh,a=ch,s=null;function u(){var u,c,l=+t.apply(this,arguments),f=+n.apply(this,arguments),h=i.apply(this,arguments)-nh,p=o.apply(this,arguments)-nh,d=Vf(p-h),g=p>h;if(s||(s=u=Hf()),f<l&&(c=f,f=l,l=c),f>Jf)if(d>eh-Jf)s.moveTo(f*Gf(h),f*Zf(h)),s.arc(0,0,f,h,p,!g),l>Jf&&(s.moveTo(l*Gf(p),l*Zf(p)),s.arc(0,0,l,p,h,g));else{var y,m,v=h,x=p,_=h,b=p,w=d,M=d,A=a.apply(this,arguments)/2,k=A>Jf&&(r?+r.apply(this,arguments):Qf(l*l+f*f)),E=Xf(Vf(f-l)/2,+e.apply(this,arguments)),C=E,S=E;if(k>Jf){var O=ih(k/l*Zf(A)),T=ih(k/f*Zf(A));(w-=2*O)>Jf?(_+=O*=g?1:-1,b-=O):(w=0,_=b=(h+p)/2),(M-=2*T)>Jf?(v+=T*=g?1:-1,x-=T):(M=0,v=x=(h+p)/2)}var j=f*Gf(v),D=f*Zf(v),P=l*Gf(b),N=l*Zf(b);if(E>Jf){var F,$=f*Gf(x),L=f*Zf(x),I=l*Gf(_),z=l*Zf(_);if(d<th&&(F=lh(j,D,I,z,$,L,P,N))){var W=j-F[0],B=D-F[1],R=$-F[0],U=L-F[1],H=1/Zf(rh((W*R+B*U)/(Qf(W*W+B*B)*Qf(R*R+U*U)))/2),q=Qf(F[0]*F[0]+F[1]*F[1]);C=Xf(E,(l-q)/(H-1)),S=Xf(E,(f-q)/(H+1))}}M>Jf?S>Jf?(y=fh(I,z,j,D,f,S,g),m=fh($,L,P,N,f,S,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),S<E?s.arc(y.cx,y.cy,S,Yf(y.y01,y.x01),Yf(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,S,Yf(y.y01,y.x01),Yf(y.y11,y.x11),!g),s.arc(0,0,f,Yf(y.cy+y.y11,y.cx+y.x11),Yf(m.cy+m.y11,m.cx+m.x11),!g),s.arc(m.cx,m.cy,S,Yf(m.y11,m.x11),Yf(m.y01,m.x01),!g))):(s.moveTo(j,D),s.arc(0,0,f,v,x,!g)):s.moveTo(j,D),l>Jf&&w>Jf?C>Jf?(y=fh(P,N,$,L,l,-C,g),m=fh(j,D,I,z,l,-C,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),C<E?s.arc(y.cx,y.cy,C,Yf(y.y01,y.x01),Yf(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,C,Yf(y.y01,y.x01),Yf(y.y11,y.x11),!g),s.arc(0,0,l,Yf(y.cy+y.y11,y.cx+y.x11),Yf(m.cy+m.y11,m.cx+m.x11),g),s.arc(m.cx,m.cy,C,Yf(m.y11,m.x11),Yf(m.y01,m.x01),!g))):s.arc(0,0,l,b,_,g):s.lineTo(P,N)}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-th/2;return[Gf(r)*e,Zf(r)*e]},u.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:qf(+n),u):t},u.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:qf(+t),u):n},u.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:qf(+t),u):e},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:qf(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:qf(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:qf(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:qf(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}var ph=Array.prototype.slice;function dh(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function gh(t){this._context=t}function yh(t){return new gh(t)}function mh(t){return t[0]}function vh(t){return t[1]}function xh(t,n){var e=qf(!0),r=null,i=yh,o=null;function a(a){var s,u,c,l=(a=dh(a)).length,f=!1;for(null==r&&(o=i(c=Hf())),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?mh:qf(t),n="function"==typeof n?n:void 0===n?vh:qf(n),a.x=function(n){return arguments.length?(t="function"==typeof n?n:qf(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:qf(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:qf(!!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 _h(t,n,e){var r=null,i=qf(!0),o=null,a=yh,s=null;function u(u){var c,l,f,h,p,d=(u=dh(u)).length,g=!1,y=new Array(d),m=new Array(d);for(null==o&&(s=a(p=Hf())),c=0;c<=d;++c){if(!(c<d&&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],m[f]);s.lineEnd(),s.areaEnd()}g&&(y[c]=+t(h,c,u),m[c]=+n(h,c,u),s.point(r?+r(h,c,u):y[c],e?+e(h,c,u):m[c]))}if(p)return s=null,p+""||null}function c(){return xh().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?mh:qf(+t),n="function"==typeof n?n:qf(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?vh:qf(+e),u.x=function(n){return arguments.length?(t="function"==typeof n?n:qf(+n),r=null,u):t},u.x0=function(n){return arguments.length?(t="function"==typeof n?n:qf(+n),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:qf(+t),u):r},u.y=function(t){return arguments.length?(n="function"==typeof t?t:qf(+t),e=null,u):n},u.y0=function(t){return arguments.length?(n="function"==typeof t?t:qf(+t),u):n},u.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:qf(+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:qf(!!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}function bh(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function wh(t){return t}function Mh(){var t=wh,n=bh,e=null,r=qf(0),i=qf(eh),o=qf(0);function a(a){var s,u,c,l,f,h=(a=dh(a)).length,p=0,d=new Array(h),g=new Array(h),y=+r.apply(this,arguments),m=Math.min(eh,Math.max(-eh,i.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/h,o.apply(this,arguments)),x=v*(m<0?-1:1);for(s=0;s<h;++s)(f=g[d[s]=s]=+t(a[s],s,a))>0&&(p+=f);for(null!=n?d.sort((function(t,e){return n(g[t],g[e])})):null!=e&&d.sort((function(t,n){return e(a[t],a[n])})),s=0,c=p?(m-h*x)/p:0;s<h;++s,y=l)u=d[s],l=y+((f=g[u])>0?f*c:0)+x,g[u]={data:a[u],index:s,value:f,startAngle:y,endAngle:l,padAngle:v};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:qf(+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:qf(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:qf(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:qf(+t),a):o},a}gh.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 Ah=Eh(yh);function kh(t){this._curve=t}function Eh(t){function n(n){return new kh(t(n))}return n._curve=t,n}function Ch(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(Eh(t)):n()._curve},t}function Sh(){return Ch(xh().curve(Ah))}function Oh(){var t=_h().curve(Ah),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 Ch(e())},delete t.lineX0,t.lineEndAngle=function(){return Ch(r())},delete t.lineX1,t.lineInnerRadius=function(){return Ch(i())},delete t.lineY0,t.lineOuterRadius=function(){return Ch(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Eh(t)):n()._curve},t}function Th(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}kh.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))}};class jh{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 Dh{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=Th(this._x0,this._y0),r=Th(this._x0,this._y0=(this._y0+n)/2),i=Th(t,this._y0),o=Th(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}}}function Ph(t){return new jh(t,!0)}function Nh(t){return new jh(t,!1)}function Fh(t){return new Dh(t)}function $h(t){return t.source}function Lh(t){return t.target}function Ih(t){let n=$h,e=Lh,r=mh,i=vh,o=null,a=null;function s(){let s;const u=ph.call(arguments),c=n.apply(this,u),l=e.apply(this,u);if(null==o&&(a=t(s=Hf())),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:qf(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:qf(+t),s):i},s.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),s):o},s}function zh(){return Ih(Ph)}function Wh(){return Ih(Nh)}function Bh(){const t=Ih(Fh);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const Rh=Qf(3);var Uh={draw(t,n){const e=.59436*Qf(n+Xf(n/28,.75)),r=e/2,i=r*Rh;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},Hh={draw(t,n){const e=Qf(n/th);t.moveTo(e,0),t.arc(0,0,e,0,eh)}},qh={draw(t,n){const e=Qf(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 Vh=Qf(1/3),Yh=2*Vh;var Gh={draw(t,n){const e=Qf(n/Yh),r=e*Vh;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Kh={draw(t,n){const e=.62625*Qf(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},Xh={draw(t,n){const e=.87559*Qf(n-Xf(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},Zh={draw(t,n){const e=Qf(n),r=-e/2;t.rect(r,r,e,e)}},Qh={draw(t,n){const e=.4431*Qf(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const Jh=Zf(th/10)/Zf(7*th/10),tp=Zf(eh/10)*Jh,np=-Gf(eh/10)*Jh;var ep={draw(t,n){const e=Qf(.8908130915292852*n),r=tp*e,i=np*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=eh*n/5,a=Gf(o),s=Zf(o);t.lineTo(s*e,-a*e),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}};const rp=Qf(3);var ip={draw(t,n){const e=-Qf(n/(3*rp));t.moveTo(0,2*e),t.lineTo(-rp*e,-e),t.lineTo(rp*e,-e),t.closePath()}};const op=Qf(3);var ap={draw(t,n){const e=.6824*Qf(n),r=e/2,i=e*op/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const sp=-.5,up=Qf(3)/2,cp=1/Qf(12),lp=3*(cp/2+1);var fp={draw(t,n){const e=Qf(n/lp),r=e/2,i=e*cp,o=r,a=e*cp+e,s=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,u),t.lineTo(sp*r-up*i,up*r+sp*i),t.lineTo(sp*o-up*a,up*o+sp*a),t.lineTo(sp*s-up*u,up*s+sp*u),t.lineTo(sp*r+up*i,sp*i-up*r),t.lineTo(sp*o+up*a,sp*a-up*o),t.lineTo(sp*s+up*u,sp*u-up*s),t.closePath()}},hp={draw(t,n){const e=.6189*Qf(n-Xf(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const pp=[Hh,qh,Gh,Zh,ep,ip,fp],dp=[Hh,Xh,hp,ap,Uh,Qh,Kh];function gp(t,n){let e=null;function r(){let r;if(e||(e=r=Hf()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return t="function"==typeof t?t:qf(t||Hh),n="function"==typeof n?n:qf(void 0===n?64:+n),r.type=function(n){return arguments.length?(t="function"==typeof n?n:qf(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:qf(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function yp(){}function mp(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 vp(t){this._context=t}function xp(t){return new vp(t)}function _p(t){this._context=t}function bp(t){return new _p(t)}function wp(t){this._context=t}function Mp(t){return new wp(t)}function Ap(t,n){this._basis=new vp(t),this._beta=n}vp.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:mp(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:mp(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},_p.prototype={areaStart:yp,areaEnd:yp,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:mp(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},wp.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:mp(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ap.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 kp=function t(n){function e(t){return 1===n?new vp(t):new Ap(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Ep(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 Cp(t,n){this._context=t,this._k=(1-n)/6}Cp.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:Ep(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:Ep(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 Sp=function t(n){function e(t){return new Cp(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Op(t,n){this._context=t,this._k=(1-n)/6}Op.prototype={areaStart:yp,areaEnd:yp,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:Ep(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 Tp=function t(n){function e(t){return new Op(t,n)}return e.tension=function(n){return t(+n)},e}(0);function jp(t,n){this._context=t,this._k=(1-n)/6}jp.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:Ep(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 Dp=function t(n){function e(t){return new jp(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Pp(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Jf){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>Jf){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 Np(t,n){this._context=t,this._alpha=n}Np.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:Pp(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 Fp=function t(n){function e(t){return n?new Np(t,n):new Cp(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function $p(t,n){this._context=t,this._alpha=n}$p.prototype={areaStart:yp,areaEnd:yp,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:Pp(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 Lp=function t(n){function e(t){return n?new $p(t,n):new Op(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Ip(t,n){this._context=t,this._alpha=n}Ip.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:Pp(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 zp=function t(n){function e(t){return n?new Ip(t,n):new jp(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Wp(t){this._context=t}function Bp(t){return new Wp(t)}function Rp(t){return t<0?-1:1}function Up(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(Rp(o)+Rp(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Hp(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function qp(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 Vp(t){this._context=t}function Yp(t){this._context=new Gp(t)}function Gp(t){this._context=t}function Kp(t){return new Vp(t)}function Xp(t){return new Yp(t)}function Zp(t){this._context=t}function Qp(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 Jp(t){return new Zp(t)}function td(t,n){this._context=t,this._t=n}function nd(t){return new td(t,.5)}function ed(t){return new td(t,0)}function rd(t){return new td(t,1)}function id(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 od(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function ad(t,n){return t[n]}function sd(t){const n=[];return n.key=t,n}function ud(){var t=qf([]),n=od,e=id,r=ad;function i(i){var o,a,s=Array.from(t.apply(this,arguments),sd),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=dh(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:qf(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:qf(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?od:"function"==typeof t?t:qf(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?id:t,i):e},i}function cd(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}id(t,n)}}function ld(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 fd(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}id(t,n)}}function hd(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,p=0;p<s;++p){var d=t[n[p]];h+=(d[a][1]||0)-(d[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,id(t,n)}}function pd(t){var n=t.map(dd);return od(t).sort((function(t,e){return n[t]-n[e]}))}function dd(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 gd(t){var n=t.map(yd);return od(t).sort((function(t,e){return n[t]-n[e]}))}function yd(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function md(t){return gd(t).reverse()}function vd(t){var n,e,r=t.length,i=t.map(yd),o=pd(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 xd(t){return od(t).reverse()}Wp.prototype={areaStart:yp,areaEnd:yp,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))}},Vp.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:qp(this,this._t0,Hp(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,qp(this,Hp(this,e=Up(this,t,n)),e);break;default:qp(this,this._t0,e=Up(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Yp.prototype=Object.create(Vp.prototype)).point=function(t,n){Vp.prototype.point.call(this,n,t)},Gp.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)}},Zp.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=Qp(t),i=Qp(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)}},td.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 _d=t=>null!=(void 0!==t._y1?t._y1:t._y)&&null!==t._y0,bd=t=>n=>t.x(void 0!==n._x1?n._x1:n._x),wd=t=>n=>t.y(void 0!==n._y1?n._y1:n._y),Md=t=>`curve${(t=>t&&t[0].toUpperCase()+t.slice(1))(t)}`,Ad=t=>{const{interpolation:n}=t;if("function"==typeof n)return n;if("string"==typeof n){const{polar:e,openCurve:r=!e}=t,i=r?Md(n):(t=>`${Md(t)}Closed`)(n);return b[i]}return yh},kd=t=>{const{polar:n,scale:e,horizontal:r}=t;return n?Sh().defined(_d).curve(Ad(t)).angle((t=>n=>-1*t.x(void 0!==n._x1?n._x1:n._x)+Math.PI/2)(e)).radius(wd(e)):xh().defined(_d).curve(Ad(t)).x(r?wd(e):bd(e)).y(r?bd(e):wd(e))};function Ed(t,n,e){const{a:r,d:i,e:o,f:a}=n;return"y"===e?i*t+a:r*t+o}function Cd(t){return!(!t||void 0===t.identifier)}function Sd(t){if(Cd(t.nativeEvent))return;const n=t=>"svg"===t.nodeName?t:t.parentNode?n(t.parentNode):t;return n(t.target)}function Od(t,n){if(Cd(t.nativeEvent))return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};const e=function(t){return t.changedTouches&&t.changedTouches.length>0}(t)?t.changedTouches[0]:t,r=function(t){return t.getScreenCTM().inverse()}(n||Sd(e));return{x:Ed(e.clientX,r,"x"),y:Ed(e.clientY,r,"y")}}function Td(t,n){const{horizontal:e}=t,r=t.scale,i=n||{x:r.x.domain(),y:r.y.domain()};return{x:e?[r.y(i.y[0]),r.y(i.y[1])]:[r.x(i.x[0]),r.x(i.x[1])],y:e?[r.x(i.x[0]),r.x(i.x[1])]:[r.y(i.y[0]),r.y(i.y[1])]}}function jd(t,n,e,r){const{polar:i,horizontal:o}=t;if(!i)return{x:o?n.x.invert(r):n.x.invert(e),y:o?n.y.invert(e):n.y.invert(r)};const a=t.origin||{x:0,y:0},s=e-a.x,u=r-a.y,c=Math.abs(s*Math.sqrt(1+Math.pow(-u/s,2))),l=(-Math.atan2(u,s)+2*Math.PI)%(2*Math.PI);return{x:n.x.invert(l),y:n.y.invert(c)}}function Dd(t){const{x1:n,x2:e,y1:r,y2:i,scale:o}=t,a=jd(t,o,n,r),s=jd(t,o,e,i),u=(t,n)=>[Ti([t,n]),Oi([t,n])];return{x:u(a.x,s.x),y:u(a.y,s.y)}}var Pd=r(8961),Nd=r.n(Pd),Fd=r(9056),$d=r.n(Fd);function Ld(t){let{children:n,props:e,childComponents:r,parentProps:i}=t;const o=n.some((t=>t.type&&"histogram"===t.type.role)),a=o&&n.length&&n.every((t=>t.type&&"histogram"===t.type.role));if(!a)return i;let s=e.bins||r[0].props.bins;if(!Array.isArray(s)){const t=n.reduce(((t,n)=>{const e=se(n.props.x||"x");return t.concat(n.props.data.map((t=>({x:e(t)}))))}),[]);s=(0,n[0].type.getFormattedData)({data:t,bins:s}).reduce(((t,n,e)=>{let{x0:r,x1:i}=n;return 0===e?t.concat([r,i]):t.concat(i)}),[])}return{...i,bins:s}}function Id(t,n){const{polar:e,startAngle:r,endAngle:i,categories:o,minDomain:a,maxDomain:s}=t;let u={polar:e,startAngle:r,endAngle:i,categories:o,minDomain:a,maxDomain:s},c=0;const l=n?n.slice(0):E().Children.toArray(t.children);u=Ld({children:l,props:t,childComponents:n,parentProps:u});const f=l.filter((t=>t.type&&"stack"===t.type.role)).length,h=he(l,((t,n,e)=>{const r=Object.assign({},t.props,u);let i,o=t;return tf(t)?(t.type&&ae(t.type.getData)?(o=e?E().cloneElement(t,e.props):t,i=o.type.getData(r)):i=Xl(r),c+=1,i.map(((t,n)=>Object.assign({_stack:c,_group:n},t)))):null}),t,[],((t,n)=>t.concat(Nd()(n,"_group")))),p=f?"_group":"_stack";return Object.values($d()(h,p))}function zd(t,n){return t.data?Xl(t):Id(t,n||E().Children.toArray(t.children))}function Wd(t,n,e){const{datasets:r,horizontal:i}=t,o=ie(t,i?"y":"x"),a=Math.abs(o[1]-o[0]),s=void 0!==e?e:Array.isArray(r[0])&&r[0].length||1,u=(n||r.length)*s;return Math.round(.5*a/u)}function Bd(t,n,e){if(t.polar||"x"!==n)return;const r=e.filter((t=>t.type&&t.type.role&&"group"===t.type.role));if(r.length<1)return;const{offset:i,children:o}=r[0].props;if(!i)return;const a=Array.isArray(o)&&o[0];if(!a)return;let s=a.props.barWidth,u=a.props.data&&a.props.data.length||1;if(a&&"stack"===a.type.role){const t=a.props.children&&a.props.children[0];if(!t)return;s=t.props.barWidth,u=a.props.children.length}const c=s||Wd(t,o.length,u);return{x:c*o.length/2+(i-c*((o.length-1)/2))}}function Rd(t,n,e){const r=e?e.slice(0):E().Children.toArray(t.children),i=t.data?Xl(t):void 0,{polar:o,startAngle:a,endAngle:s,categories:u,minDomain:c,maxDomain:l,horizontal:f}=t,h={horizontal:f,polar:o,startAngle:a,endAngle:s,minDomain:c,maxDomain:l,categories:u},p=i?Object.assign(h,{data:i}):h,d=he(r,(t=>{const e=Object.assign({},t.props,p);return df(t)?t.type&&ae(t.type.getDomain)?t.props&&t.type.getDomain(e,n):of(e,n):null}),t);return[0===d.length?0:Ti(d),0===d.length?1:Oi(d)]}function Ud(t,n,e){const r=e||E().Children.toArray(t.children),i=cf(t,n),o=Bd(t,n,r);let a;if(i)a=i;else{const e=hf(t,n),i=ff(t,n),o=(t.data||t.y)&&Xl(t),s=o?sf(t,n,o):[],u=Rd(t,n,r);a=uf(e||Ti([...s,...u]),i||Oi([...s,...u]))}return rf(a,Object.assign({domainPadding:o},t),n)}function Hd(t,n,e){if(t.data)return Al(t,n);const r=e?e.slice(0):E().Children.toArray(t.children),i=Ao()(he(r,(e=>Cl(Object.assign({},e.props,{horizontal:t.horizontal}),n)),t));return i.length>1?Ml("linear"):Ml(i[0])}function qd(t){const n=Lo(t,["groupComponent","containerComponent","labelComponent"]);let e=t.events;return Array.isArray(n)&&(e=Array.isArray(t.events)?n.concat(...t.events):n),e||[]}function Vd(t,n,e,r){const{style:i}=t;let{colorScale:o,color:a}=t;if(i&&i.data&&i.data.fill)return i.data.fill;if(o=n.props&&n.props.colorScale?n.props.colorScale:o,a=n.props&&n.props.color?n.props.color:a,!o&&!a)return;const s=Array.isArray(o)?o:Yr(o,r);return a||s[e%s.length]}function Yd(t,n,e){return Zn(n,t&&t[e]&&t[e].style?t[e].style:{})}function Gd(t,n,e,r){const{style:i,role:o}=e,a=t.props.style||{};if(Array.isArray(a))return a;const s=t.type&&t.type.role,u="stack"===s?void 0:Vd(e,t,n,r),c="line"===s?{fill:"none",stroke:u}:{fill:u},l="stack"===o?{}:{width:Wd(e)},f=Un()({},a.data,Object.assign({},l,i.data,c)),h=Un()({},a.labels,i.labels);return{...a,parent:i.parent,data:f,labels:h}}function Kd(t,n){return he(t.slice(0),(t=>df(t)?Ql(t.props||{},n):null))}function Xd(t){return he(t.slice(0),(t=>{const n=t.props||{};let e;return tf(t)?(e=t.type&&ae(t.type.getData)?t.type.getData(n):Xl(n),e.map((t=>({x:t.xName,y:t.yName})))):null}),{},{x:[],y:[]},((t,n)=>{const e=Array.isArray(n)?n.map((t=>t.x)).filter(Boolean):n.x,r=Array.isArray(n)?n.map((t=>t.y)).filter(Boolean):n.y;return{x:void 0!==e?t.x.concat(e):t.x,y:void 0!==r?t.y.concat(r):t.y}}))}function Zd(t,n,e){const r=Ql(t,n),i=vf(e,n),o=i?Zl(i.props,n):[],a=r.length?r:Kd(e,n);return Ao()([...a,...o].flat())}function Qd(t,n){const e=n||E().Children.toArray(t.children),r=Zd(t,"x",e),i=Zd(t,"y",e),o=Xd(e);return{x:Ao()([...r,...o.x].flat()),y:Ao()([...i,...o.y].flat())}}function Jd(t,n,e){const r=t.categories&&Ql(t,"x"),i=t.categories&&Ql(t,"y"),o=r&&i?{}:e||Qd(t,n),a=r||o.x,s=i||o.y;return{x:a.length>0?a:void 0,y:s.length>0?s:void 0}}}(),i}()}));
2
2
  //# sourceMappingURL=victory-core.min.js.map