victory-voronoi 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.
- package/CHANGELOG.md +4 -0
- package/dist/victory-voronoi.js +29 -32
- package/dist/victory-voronoi.min.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/victory-voronoi.js
CHANGED
|
@@ -7181,7 +7181,7 @@ const VictoryPortal = initialProps => {
|
|
|
7181
7181
|
...defaultProps,
|
|
7182
7182
|
...initialProps
|
|
7183
7183
|
};
|
|
7184
|
-
const id = lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()();
|
|
7184
|
+
const [id] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()());
|
|
7185
7185
|
const portalContext = (0,_portal_context__WEBPACK_IMPORTED_MODULE_3__.usePortalContext)();
|
|
7186
7186
|
if (!portalContext) {
|
|
7187
7187
|
const msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
|
|
@@ -7477,20 +7477,16 @@ const orange = {
|
|
|
7477
7477
|
"100": "#FEE2D5",
|
|
7478
7478
|
"300": "#FFA981",
|
|
7479
7479
|
"500": "#FF6F2C",
|
|
7480
|
+
"700": "#FF4E1B",
|
|
7480
7481
|
"900": "#D74D26"
|
|
7481
7482
|
};
|
|
7482
7483
|
const red = {
|
|
7483
7484
|
"100": "#FFDCE5",
|
|
7484
7485
|
"300": "#FF9EB7",
|
|
7485
7486
|
"500": "#F82B60",
|
|
7487
|
+
"700": "#D31A3D",
|
|
7486
7488
|
"900": "#BA1E45"
|
|
7487
7489
|
};
|
|
7488
|
-
const pink = {
|
|
7489
|
-
"100": "#FFDAF6",
|
|
7490
|
-
"300": "#F99DE2",
|
|
7491
|
-
"500": "#FF08C2",
|
|
7492
|
-
"900": "#B2158B"
|
|
7493
|
-
};
|
|
7494
7490
|
const purple = {
|
|
7495
7491
|
"100": "#EDE3FE",
|
|
7496
7492
|
"300": "#CDB0FF",
|
|
@@ -7501,6 +7497,7 @@ const blue = {
|
|
|
7501
7497
|
"100": "#CFDFFF",
|
|
7502
7498
|
"300": "#9CC7FF",
|
|
7503
7499
|
"500": "#2D7FF9",
|
|
7500
|
+
"700": "#0056B3",
|
|
7504
7501
|
"900": "#2750AE"
|
|
7505
7502
|
};
|
|
7506
7503
|
const cyan = {
|
|
@@ -7519,27 +7516,28 @@ const green = {
|
|
|
7519
7516
|
"100": "#D1F7C4",
|
|
7520
7517
|
"300": "#93E088",
|
|
7521
7518
|
"500": "#20C933",
|
|
7519
|
+
"700": "#1B9B2A",
|
|
7522
7520
|
"900": "#338A17"
|
|
7523
7521
|
};
|
|
7524
7522
|
const colors = {
|
|
7525
7523
|
blue: blue["500"],
|
|
7526
|
-
|
|
7527
|
-
teal: teal["500"],
|
|
7528
|
-
purple: purple["500"],
|
|
7524
|
+
cyan: cyan["500"],
|
|
7529
7525
|
green: green["500"],
|
|
7526
|
+
yellow: yellow["500"],
|
|
7530
7527
|
orange: orange["500"],
|
|
7531
|
-
cyan: cyan["500"],
|
|
7532
7528
|
red: red["500"],
|
|
7533
|
-
|
|
7529
|
+
purple: purple["500"],
|
|
7530
|
+
teal: teal["500"]
|
|
7534
7531
|
};
|
|
7535
7532
|
const colorScale = Object.values(colors);
|
|
7536
|
-
const grayscale = [gray["
|
|
7537
|
-
const warm = [yellow["500"], orange["500"],
|
|
7538
|
-
const cool = [
|
|
7539
|
-
const heatmap = [green["500"], yellow["500"], red["500"]];
|
|
7540
|
-
const redPalette =
|
|
7541
|
-
const greenPalette =
|
|
7542
|
-
const bluePalette =
|
|
7533
|
+
const grayscale = [gray["100"], gray["300"], gray["500"], gray["700"], gray["900"]];
|
|
7534
|
+
const warm = [yellow["300"], yellow["500"], orange["500"], orange["900"], red["500"]];
|
|
7535
|
+
const cool = [purple["500"], blue["500"], cyan["500"], teal["500"], green["500"]];
|
|
7536
|
+
const heatmap = [green["900"], green["500"], yellow["500"], orange["500"], red["500"]];
|
|
7537
|
+
const redPalette = Object.values(red);
|
|
7538
|
+
const greenPalette = Object.values(green);
|
|
7539
|
+
const bluePalette = Object.values(blue);
|
|
7540
|
+
const defaultColor = blue["500"];
|
|
7543
7541
|
|
|
7544
7542
|
// *
|
|
7545
7543
|
// * Typography
|
|
@@ -7554,7 +7552,7 @@ const padding = 8;
|
|
|
7554
7552
|
const baseProps = {
|
|
7555
7553
|
width: 450,
|
|
7556
7554
|
height: 300,
|
|
7557
|
-
padding:
|
|
7555
|
+
padding: 60,
|
|
7558
7556
|
colorScale
|
|
7559
7557
|
};
|
|
7560
7558
|
// *
|
|
@@ -7598,7 +7596,7 @@ const clean = {
|
|
|
7598
7596
|
area: Object.assign({
|
|
7599
7597
|
style: {
|
|
7600
7598
|
data: {
|
|
7601
|
-
fill:
|
|
7599
|
+
fill: defaultColor,
|
|
7602
7600
|
strokeWidth: 2,
|
|
7603
7601
|
fillOpacity: 0.5
|
|
7604
7602
|
},
|
|
@@ -7615,7 +7613,7 @@ const clean = {
|
|
|
7615
7613
|
strokeLinejoin
|
|
7616
7614
|
},
|
|
7617
7615
|
axisLabel: Object.assign({}, centeredLabelStyles, {
|
|
7618
|
-
padding,
|
|
7616
|
+
padding: 35,
|
|
7619
7617
|
stroke: "transparent"
|
|
7620
7618
|
}),
|
|
7621
7619
|
grid: {
|
|
@@ -7680,7 +7678,7 @@ const clean = {
|
|
|
7680
7678
|
bar: Object.assign({
|
|
7681
7679
|
style: {
|
|
7682
7680
|
data: {
|
|
7683
|
-
fill:
|
|
7681
|
+
fill: defaultColor,
|
|
7684
7682
|
padding,
|
|
7685
7683
|
strokeWidth: 1,
|
|
7686
7684
|
fillOpacity: 0.5
|
|
@@ -7719,7 +7717,7 @@ const clean = {
|
|
|
7719
7717
|
}),
|
|
7720
7718
|
q1: {
|
|
7721
7719
|
padding,
|
|
7722
|
-
fill:
|
|
7720
|
+
fill: colorScale[0],
|
|
7723
7721
|
rx: borderRadius,
|
|
7724
7722
|
strokeWidth: 2
|
|
7725
7723
|
},
|
|
@@ -7728,7 +7726,7 @@ const clean = {
|
|
|
7728
7726
|
}),
|
|
7729
7727
|
q3: {
|
|
7730
7728
|
padding,
|
|
7731
|
-
fill:
|
|
7729
|
+
fill: colorScale[1],
|
|
7732
7730
|
rx: borderRadius
|
|
7733
7731
|
},
|
|
7734
7732
|
q3Labels: Object.assign({}, baseLabelStyles, {
|
|
@@ -7749,8 +7747,8 @@ const clean = {
|
|
|
7749
7747
|
})
|
|
7750
7748
|
},
|
|
7751
7749
|
candleColors: {
|
|
7752
|
-
positive:
|
|
7753
|
-
negative:
|
|
7750
|
+
positive: green["500"],
|
|
7751
|
+
negative: red["500"]
|
|
7754
7752
|
},
|
|
7755
7753
|
wickStrokeWidth: 2
|
|
7756
7754
|
}, baseProps),
|
|
@@ -7816,7 +7814,7 @@ const clean = {
|
|
|
7816
7814
|
data: {
|
|
7817
7815
|
fill: "transparent",
|
|
7818
7816
|
opacity: 1,
|
|
7819
|
-
stroke:
|
|
7817
|
+
stroke: defaultColor,
|
|
7820
7818
|
strokeWidth: 2,
|
|
7821
7819
|
strokeLinecap,
|
|
7822
7820
|
strokeLinejoin
|
|
@@ -7847,7 +7845,7 @@ const clean = {
|
|
|
7847
7845
|
scatter: Object.assign({
|
|
7848
7846
|
style: {
|
|
7849
7847
|
data: {
|
|
7850
|
-
fill:
|
|
7848
|
+
fill: defaultColor,
|
|
7851
7849
|
opacity: 1,
|
|
7852
7850
|
stroke: "transparent",
|
|
7853
7851
|
strokeWidth: 0
|
|
@@ -7885,9 +7883,8 @@ const clean = {
|
|
|
7885
7883
|
style: {
|
|
7886
7884
|
data: {
|
|
7887
7885
|
fill: blue["100"],
|
|
7888
|
-
stroke:
|
|
7889
|
-
strokeWidth: 2
|
|
7890
|
-
opacity: 0.4
|
|
7886
|
+
stroke: defaultColor,
|
|
7887
|
+
strokeWidth: 2
|
|
7891
7888
|
},
|
|
7892
7889
|
labels: Object.assign({}, baseLabelStyles, {
|
|
7893
7890
|
padding: 5,
|
|
@@ -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.VictoryVoronoi=n(require("react")):t.VictoryVoronoi=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),u=e(8541);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},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),u=e(8541);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,u){var s=-1,c=n.length;for(o||(o=i),u||(u=[]);++s<c;){var l=n[s];e>0&&o(l)?e>1?t(l,e-1,o,a,u):r(u,l):a||(u[u.length]=l)}return u}},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,u){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,u))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),u=e(9667),s=e(163),c=e(4801),l=e(4289),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,m){var v=s(t),b=s(n),x=v?d:u(t),w=b?d:u(n),M=(x=x==f?h:x)==h,k=(w=w==f?h:w)==h,E=x==w;if(E&&c(t)){if(!c(n))return!1;v=!0,M=!1}if(E&&!M)return m||(m=new r),v||l(t)?i(t,n,e,g,y,m):o(t,n,x,e,g,y,m);if(!(1&e)){var A=M&&p.call(t,"__wrapped__"),C=k&&p.call(n,"__wrapped__");if(A||C){var O=A?t.value():t,j=C?n.value():n;return m||(m=new r),y(O,j,e,g,m)}}return!!E&&(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,u=a,s=!o;if(null==t)return!u;for(t=Object(t);a--;){var c=e[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var l=(c=e[a])[0],f=t[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(o)var p=o(f,d,l,t,n,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),u=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):u(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),u=e(5385),s=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&u(n)?s(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),u=e(9521),s=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 d=-1;n=r(n,s(o));var h=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++d,value:t}}));return u(h,(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,u=n.length,s={};++a<u;){var c=n[a],l=r(t,c);e(l,c)&&i(s,o(c,t),l)}return s}},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),u=e(3110);t.exports=function(t,n,e,s){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,d=t;null!=d&&++c<l;){var h=u(n[c]),p=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=f){var g=d[h];void 0===(p=s?s(g,h,d):void 0)&&(p=a(g)?g:o(n[c+1])?[]:{})}r(d,h,p),d=d[h]}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 u=t[e],s=n?n(u):u;if(!e||!r(s,c)){var c=s;a[o++]=0===u?0:u}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),u=r?r.prototype:void 0,s=u?u.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 s?s.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),u=e(6602),s=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,d=!0,h=[],p=h;if(e)d=!1,l=o;else if(f>=200){var g=n?null:u(t);if(g)return s(g);d=!1,l=a,p=new r}else p=n?[]:h;t:for(;++c<f;){var y=t[c],m=n?n(y):y;if(y=e||0!==y?y:0,d&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue t;n&&p.push(m),h.push(y)}else l(p,m,e)||(p!==h&&p.push(m),h.push(y))}return h}},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),u=void 0!==n,s=null===n,c=n==n,l=r(n);if(!s&&!l&&!a&&t>n||a&&u&&c&&!s&&!l||i&&u&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||s&&e&&o||!u&&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,u=o.length,s=e.length;++i<u;){var c=r(o[i],a[i]);if(c)return i>=s?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,u,s){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var d=s.get(t),h=s.get(n);if(d&&h)return d==n&&h==t;var p=-1,g=!0,y=2&e?new r:void 0;for(s.set(t,n),s.set(n,t);++p<l;){var m=t[p],v=n[p];if(a)var b=c?a(v,m,p,n,t,s):a(m,v,p,t,n,s);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(m===t||u(m,t,e,a,s)))return y.push(n)}))){g=!1;break}}else if(m!==v&&!u(m,v,e,a,s)){g=!1;break}}return s.delete(t),s.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,u){var s=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in n:i.call(n,d)))return!1}var h=u.get(t),p=u.get(n);if(h&&p)return h==n&&p==t;var g=!0;u.set(t,n),u.set(n,t);for(var y=s;++f<l;){var m=t[d=c[f]],v=n[d];if(o)var b=s?o(v,m,d,n,t,u):o(m,v,d,t,n,u);if(!(void 0===b?m===v||a(m,v,e,o,u):b)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return u.delete(t),u.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),u=e(8454),s=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var d=s(n[c]);if(!(f=null!=t&&e(t,d)))break;t=t[d]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(d,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,u=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},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,u=i(o.length-n,0),s=Array(u);++a<u;)s[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(s),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),u=Object.prototype,s=u.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),d=-1,h=f.length;++d<h;){var p=f[d],g=t[p];(void 0===g||i(g,u[p])&&!s.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,u=a?i(a):r;t.exports=u},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),u=e(981),s=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||s(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,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.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&&s.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(!o(t[s],a[s]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=t.entries();!(s=l.next()).done;)if(!o(s.value[1],a.get(s.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();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(t[s]!==a[s])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((u=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(n&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!t.$$typeof)&&!o(t[c[s]],a[c[s]]))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,{VictoryVoronoi:function(){return Kc},Voronoi:function(){return uc}});var t={};r.r(t),r.d(t,{scaleBand:function(){return Yn},scaleDiverging:function(){return Ka},scaleDivergingLog:function(){return Za},scaleDivergingPow:function(){return Xa},scaleDivergingSqrt:function(){return Ja},scaleDivergingSymlog:function(){return Qa},scaleIdentity:function(){return _r},scaleImplicit:function(){return Bn},scaleLinear:function(){return Dr},scaleLog:function(){return zr},scaleOrdinal:function(){return qn},scalePoint:function(){return Gn},scalePow:function(){return Kr},scaleQuantile:function(){return ui},scaleQuantize:function(){return si},scaleRadial:function(){return Jr},scaleSequential:function(){return Wa},scaleSequentialLog:function(){return Ra},scaleSequentialPow:function(){return Ba},scaleSequentialQuantile:function(){return Ya},scaleSequentialSqrt:function(){return qa},scaleSequentialSymlog:function(){return Ha},scaleSqrt:function(){return Zr},scaleSymlog:function(){return Br},scaleThreshold:function(){return ci},scaleTime:function(){return Ua},scaleUtc:function(){return $a},tickFormat:function(){return jr}});var n={};r.r(n),r.d(n,{easeBack:function(){return is},easeBackIn:function(){return es},easeBackInOut:function(){return is},easeBackOut:function(){return rs},easeBounce:function(){return Ju},easeBounceIn:function(){return Xu},easeBounceInOut:function(){return ts},easeBounceOut:function(){return Ju},easeCircle:function(){return Zu},easeCircleIn:function(){return Gu},easeCircleInOut:function(){return Zu},easeCircleOut:function(){return Ku},easeCubic:function(){return Pu},easeCubicIn:function(){return Nu},easeCubicInOut:function(){return Pu},easeCubicOut:function(){return Tu},easeElastic:function(){return us},easeElasticIn:function(){return as},easeElasticInOut:function(){return ss},easeElasticOut:function(){return us},easeExp:function(){return Vu},easeExpIn:function(){return qu},easeExpInOut:function(){return Vu},easeExpOut:function(){return Yu},easeLinear:function(){return Su},easePoly:function(){return $u},easePolyIn:function(){return Fu},easePolyInOut:function(){return $u},easePolyOut:function(){return Uu},easeQuad:function(){return Lu},easeQuadIn:function(){return Du},easeQuadInOut:function(){return Lu},easeQuadOut:function(){return _u},easeSin:function(){return Hu},easeSinIn:function(){return Wu},easeSinInOut:function(){return Hu},easeSinOut:function(){return Ru}});var e=r(9787),o=r.n(e),a=r(660),u=r.n(a);function s(){return s=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},s.apply(this,arguments)}const c=o().forwardRef(((t,n)=>o().createElement("svg",s({ref:n},t))));var l=r(9082),f=r.n(l),d=r(8532),h=r.n(d),p=r(1893),g=r.n(p);function y(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 m(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:u,_y0:s,_voronoiY:c}=t,l=n(r)?r:e,f=n(u)?u:a,d={x:n(o)?o:l,x0:n(i)?i:e,y:n(c)?c:f,y0:n(s)?s:a};return g()({},d,t)}function v(t,n){const{scale:e,polar:r,horizontal:i}=t,o=m(n),a=t.origin||{x:0,y:0},u=i?e.y(o.y):e.x(o.x),s=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(u)+a.x:u,x0:r?l*Math.cos(s)+a.x:s,y:r?-c*Math.sin(u)+a.y:c,y0:r?-l*Math.sin(s)+a.x:l}}function b(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 x(t,n){return C(t)?t(n):t}function w(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>C(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=x(t[r],n),e)),{}):t}function M(t){return"number"==typeof t?t*(Math.PI/180):t}function k(t){const{left:n,right:e,top:r,bottom:i}=b(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function E(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?[M(t.startAngle||0),M(t.endAngle||360)]:[t.innerRadius||0,k(t)]}(t,n):function(t,n){const e="x"!==n,r=b(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function A(t){return null==t}function C(t){return"function"==typeof t}function O(t){return C(t)?t:null==t?t=>t:h()(t)}function j(t,n,e){const r=y(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(o().Children.toArray(r.children))}),!1);return n(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return g()(a,t,r,n)}const S={startsWith:["data-","aria-"],exactMatch:[]},D=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return S.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>S.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,x(r,t)]})))},_=o().createContext(void 0);_.displayName="PortalContext";const L=()=>o().useContext(_),N=t=>{let{children:n}=t;const[e,r]=o().useState(new Map),i=o().useCallback(((t,n)=>{r((e=>{const r=new Map(e);return r.set(t,n),r}))}),[r]),a=o().useCallback((t=>{r((n=>{const e=new Map(n);return e.delete(t),e}))}),[r]),u=o().useMemo((()=>({addChild:i,removeChild:a,children:e})),[i,a,e]);return o().createElement(_.Provider,{value:u},n)},T=t=>{let{as:n,...e}=t;const r=L();if(!r)return null;const i=Array.from(r.children.values());return o().cloneElement(n,e,i)};function P(){return P=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},P.apply(this,arguments)}const F={className:"VictoryContainer",portalComponent:o().createElement(c,null),portalZIndex:99,responsive:!0,role:"img"},U=t=>{const{role:n,title:r,desc:i,children:a,className:s,portalZIndex:c,portalComponent:l,width:f,height:d,style:h,tabIndex:p,responsive:g,events:y,ouiaId:m,ouiaSafe:v,ouiaType:b,dimensions:x,ariaDescribedBy:w,ariaLabelledBy:M,viewBox:k,preserveAspectRatio:E,userProps:A,titleId:O,descId:j,containerRef:S,localContainerRef:_}=function(t){const n={...F,...t},{title:r,desc:i,width:o,height:a,responsive:s}=n,c=(0,e.useRef)(null),l=(0,e.useRef)(u()("victory-container-")),f=n.containerId??l.current,d=t=>`${f}-${t}`,h=D(n),p=s?{width:"100%",height:"100%"}:{width:o,height:a},g=s?`0 0 ${o} ${a}`:void 0,y=s?n.preserveAspectRatio:void 0,m=[r&&d("title"),n["aria-labelledby"]].filter(Boolean).join(" ")||void 0,v=[i&&d("desc"),n["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=d("title"),x=d("desc");return{...n,titleId:b,descId:x,dimensions:p,viewBox:g,preserveAspectRatio:y,ariaLabelledBy:m,ariaDescribedBy:v,userProps:h,localContainerRef:c}}(t);return o().useEffect((()=>{if(!y?.onWheel)return;const t=t=>t.preventDefault(),n=_?.current;return n?.addEventListener("wheel",t),()=>{n?.removeEventListener("wheel",t)}}),[]),o().createElement("div",{className:s,style:{...h,width:g?h?.width:x.width,height:g?h?.height:x.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":m,"data-ouia-component-type":b,"data-ouia-safe":v,ref:(L=[_,S],t=>{L.forEach((n=>{C(n)?n(t):null!=n&&(n.current=t)}))})},o().createElement(N,null,o().createElement("svg",P({width:f,height:d,tabIndex:p,role:n,"aria-labelledby":M,"aria-describedby":w,viewBox:k,preserveAspectRatio:E,style:{...x,pointerEvents:"all"}},A,y),r?o().createElement("title",{id:O},r):null,i?o().createElement("desc",{id:j},i):null,a),o().createElement("div",{style:{...x,zIndex:c,position:"absolute",top:0,left:0}},o().createElement(T,{as:l,width:f,height:d,viewBox:k,preserveAspectRatio:E,style:{...x,overflow:"visible"}}))));var L};U.role="container";var $=r(4155),I=r.n($);const z={groupComponent:o().createElement("g",null)},W=t=>{const n={...z,...t},e=u()(),r=L(),i=Array.isArray(n.children)?n.children[0]:n.children,{groupComponent:a}=n,s=i&&i.props||{},c=s.groupComponent?{groupComponent:a,standalone:!1}:{},l=g()(c,s,y(n,["children","groupComponent"]),{key:s.key??e}),f=i&&o().cloneElement(i,l);return o().useEffect((()=>{r?.addChild(e,f)}),[n.children]),o().useEffect((()=>()=>r?.removeChild(e)),[]),r?null:f};function R(){return R=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},R.apply(this,arguments)}W.role="portal";const H=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:x(r,t)?.toString(),tabIndex:x(i,t),...u};return e?o().createElement("rect",R({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("rect",R({},s,{ref:n}))})),B=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:a,title:u,...s}=t,c={id:x(r,t)?.toString(),tabIndex:x(a,t),...s};return o().createElement("text",c,u&&o().createElement("title",null,u),e&&o().createElement("desc",null,e),n)},q=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...a}=t,u={id:x(e,t)?.toString(),tabIndex:x(r,t),...a};return o().createElement("tspan",u)};function Y(t){const{labelComponent:n,labelPlacement:e,polar:r}=t,i=r?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||i}function V(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function G(t,n){const{x:e}=m(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}function K(t,n){const{scale:e,data:r,style:i,horizontal:o,polar:a,width:u,height:s,theme:c,labelComponent:l,disableInlineStyles:f}=t,d=r[n],h=G(t,d),p=a?function(t,n){const e=Y(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,h):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,d),m=a?function(t,n){const e=Y(t),r=function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}(n);return"parallel"===e||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}(t,h):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,d),b=function(t,n){void 0===n&&(n={});const e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,d),w=V(t,d,n),k=Y(t),{x:E,y:A}=function(t,n){const{polar:e}=t,{x:r,y:i}=v(t,n);if(!e)return{x:r,y:i};const o=function(t,n){const{style:e}=t,r=G(t,n),i=x((e.labels||{}).padding,t)||0,o=M(r);return{x:i*Math.cos(o),y:-i*Math.sin(o)}}(t,n);return{x:r+o.x,y:i+o.y}}(t,d),{dx:C,dy:O}=function(t,n){if(t.polar)return{};const e=function(t,n){void 0===n&&(n={});const{horizontal:e,style:r}=t,i=x((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,d),j={angle:b,data:r,datum:d,disableInlineStyles:f,horizontal:o,index:n,polar:a,scale:e,labelPlacement:k,text:w,textAnchor:p,verticalAnchor:m,x:E,y:A,dx:C,dy:O,width:u,height:s,style:i.labels};if("tooltip"!==((S=l)&&S.type&&S.type.role))return j;var S;const D=c&&c.tooltip||{};return g()({},j,y(D,["style"]))}const Z=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,Z(n)].join(" ")),Z(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];i.push(`${n}(${e})`)}return i.join(" ").trim()};var Q=r(1594),X=r.n(Q);const J={"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}},tt={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},nt={em:1,ex:.5},et={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},rt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),it=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},ot=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?tt.hasOwnProperty(e)?r*tt[e]:nt.hasOwnProperty(e)?(n?r*n:r*et.fontSize)*nt[e]:r:r||0,i},at=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=g()({},e,et);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:ot(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:ot(String(r.fontSize))})},ut=(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:rt(t).reduce(((t,e,r)=>{const i=at(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=rt(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=at(n,e),u=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>J[t]))||"Helvetica";return J[n]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<u.widths.length?u.widths[t.charCodeAt(0)]:u.avg)).reduce(((t,n)=>n+t),0)*i+o*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?it(i,r,e):i,height:1.05*(e?it(r,i,e):r)}},st=X()((()=>{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})),ct=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",lt=X()(((t,n)=>{let e=st();e.isConnected||(st.cache.clear?.(),e=st());const r=rt(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=at(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?it(o,i,n?.angle):o,height:n?.angle?it(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(ct).join():ct(n)}`)),ft=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?ut(t,n):lt(t,n)}(t,n),dt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},ht=(t,n)=>t.datum?v(t,t.datum)[n]:0,pt=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return dt.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?dt.fontSize:t}return dt.fontSize},gt=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},yt=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!I()(n)||Array.isArray(e)&&!I()(e)},mt=(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)}},vt=(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)}},bt=(t,n)=>yt(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:a,backgroundPadding:u,backgroundComponent:s,inline:c,y:l}=t,f=n.map(((t,i)=>{const o=gt(n,i-1),a=t.textSize,s=t.fontSize*t.lineHeight,f=Math.ceil(s),d=gt(u,i),h=gt(u,i-1),p=c&&r||0,g=i&&!c?o.fontSize*o.lineHeight+h.top+h.bottom:e-.5*s-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+d.top+d.bottom,widthWithPadding:a.width+d.left+d.right+p,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((n,e)=>{const r=mt(t,n.labelSize.width),d=f.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),h=gt(u,e),p=n.heightWithPadding,y=c?((t,n,e)=>{const{textAnchor:r}=t,i=n.map((t=>t.widthWithPadding)),o=-i.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return i.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return i.reduce(((t,n,r)=>r>e?t-n:t),0);default:return i.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),o)}})(t,f,e)+r-h.left:r,m=c?vt(t,p)-h.top:d,v={key:`tspan-background-${e}`,height:p,style:gt(a,e),width:n.widthWithPadding,transform:i,x:y-h.left,y:m};return o().cloneElement(s,g()({},s.props,v))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:a,inline:u,backgroundPadding:s,capHeight:c}=t,l=n.map((t=>t.textSize)),f=u?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const i=r?0:c/2;return t+e.height*(n[r].lineHeight-i)}),0),d=u?l.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...l.map((t=>t.width))),h=mt(t,d),p=vt(t,f),y={key:"background",height:f+s.top+s.bottom,style:a,transform:r,width:d+s.left+s.right,x:u?h-s.left:h+e-s.left,y:p};return o().cloneElement(i,g()({},i.props,y))})(t,n),xt=(t,n,e)=>{const{inline:r}=n,i=gt(t,e);return e&&!r?((t,n,e)=>{const r=gt(t,n),i=gt(t,n-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,u=i.fontSize-i.capHeight,s=r.fontSize-r.capHeight,c=o-i.fontSize/2+r.fontSize/2-o/2+a/2-s/2+u/2;return yt(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},wt=t=>{const n=x(t.ariaLabel,t),e=gt(t.style),r=(t=>{const n=x(t.lineHeight,t);return Array.isArray(n)&&I()(n)?[1]:n})(t),i=t.direction?x(t.direction,t):"inherit",o=t.textAnchor?x(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?x(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?x(t.dx,t):0,s=((t,n,e)=>{const r=t.dy?x(t.dy,t):0,i=t.inline?1:t.text.length,o=x(t.capHeight,t),a=n?x(n,t):"middle",u=[...Array(i).keys()].map((n=>gt(t.style,n).fontSize)),s=[...Array(i).keys()].map((t=>gt(e,t)));if("start"===a)return r+(o/2+s[0]/2)*u[0];if(t.inline)return"end"===a?r+(o/2-s[0]/2)*u[0]:r+o/2*u[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*s[0])*u[0]:r+(o/2+(.5-i/2)*s[0])*u[0];const c=[...Array(i).keys()].reduce(((t,n)=>t+(o/2+(.5-i)*s[n])*u[n]/i),0);return"end"===a?r+c:r+c/2+o/2*s[i-1]*u[i-1]})(t,a,r),c=void 0!==t.x?t.x:ht(t,"x"),l=void 0!==t.y?t.y:ht(t,"y"),f=((t,n,e)=>{const{polar:r}=t,i=gt(t.style),o=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=G(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===i.angle?x(t.angle,t):i.angle,u=void 0===a?o:a,s=t.transform||i.transform,c=s&&x(s,t);return c||u?Z(c,u&&{rotate:[u,n,e]}):void 0})(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:u,dy:s,originalDy:x(t.dy,t),transform:f,x:c,y:l})},Mt={backgroundComponent:o().createElement(H,null),groupComponent:o().createElement("g",null),direction:"inherit",textComponent:o().createElement(B,null),tspanComponent:o().createElement(q,null),capHeight:.71,lineHeight:1},kt=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>x(t,n)));const e=x(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=w(t,n);return{fontSize:pt(e)}}const e=t=>{const e=w(t?g()({},t,dt):dt,n);return Object.assign({},e,{fontSize:pt(e)})};return Array.isArray(t)&&!I()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!I()(t)?t.map((t=>w(t,n))):w(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>b({padding:x(n,t)}))):b({padding:x(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=x(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})(g()({},t,Mt));if(null===n.text||void 0===n.text)return null;const e=wt(n),{text:r,style:i,capHeight:a,backgroundPadding:u,lineHeight:s}=e,c=r.map(((t,n)=>{const e=gt(i,n),r=ot(`${a}em`,e.fontSize),o=gt(s,n);return{style:e,fontSize:e.fontSize||dt.fontSize,capHeight:r,text:t,textSize:ft(t,e),lineHeight:o,backgroundPadding:gt(u,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:a,events:u,direction:s,text:c,textAnchor:l,dx:f,dy:d,transform:h,x:p,y:g,desc:y,id:m,tabIndex:v,tspanComponent:b,textComponent:w}=t,M=D(t),k={"aria-label":e,key:"text",...u,direction:s,dx:f,x:p,y:g+d,transform:h,className:i,title:a,desc:x(y,t),tabIndex:x(v,t),id:m,...M},E=c.map(((e,i)=>{const a=n[i].style,u={key:`${m}-key-${i}`,x:r?void 0:p,dx:r?f+n[i].backgroundPadding.left:f,dy:xt(n,t,i),textAnchor:a.textAnchor||l,style:a,children:e};return o().cloneElement(b,u)}));return o().cloneElement(w,k,E)})(e,c);if(n.backgroundStyle){const t=[bt(e,c),l],r=o().cloneElement(n.groupComponent,{},t);return n.renderInPortal?o().createElement(W,null,r):r}return n.renderInPortal?o().createElement(W,null,l):l};kt.displayName="VictoryLabel",kt.role="label",kt.defaultStyles=dt;const Et=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],At="#252525",Ct="#969696",Ot={width:450,height:300,padding:50,colorScale:Et},jt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:At,stroke:"transparent"},St=Object.assign({textAnchor:"middle"},jt),Dt={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Et,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:At},labels:jt}},Ot),axis:Object.assign({style:{axis:{fill:"transparent",stroke:At,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},St,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:jt}},Ot),bar:Object.assign({style:{data:{fill:At,padding:8,strokeWidth:0},labels:jt}},Ot),boxplot:Object.assign({style:{max:{padding:8,stroke:At,strokeWidth:1},maxLabels:Object.assign({},jt,{padding:3}),median:{padding:8,stroke:At,strokeWidth:1},medianLabels:Object.assign({},jt,{padding:3}),min:{padding:8,stroke:At,strokeWidth:1},minLabels:Object.assign({},jt,{padding:3}),q1:{padding:8,fill:Ct},q1Labels:Object.assign({},jt,{padding:3}),q3:{padding:8,fill:Ct},q3Labels:Object.assign({},jt,{padding:3})},boxWidth:20},Ot),candlestick:Object.assign({style:{data:{stroke:At,strokeWidth:1},labels:Object.assign({},jt,{padding:5})},candleColors:{positive:"#ffffff",negative:At}},Ot),chart:Ot,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:At,strokeWidth:2},labels:jt}},Ot),group:Object.assign({colorScale:Et},Ot),histogram:Object.assign({style:{data:{fill:Ct,stroke:At,strokeWidth:2},labels:jt}},Ot),legend:{colorScale:Et,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:jt,title:Object.assign({},jt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:At,strokeWidth:2},labels:jt}},Ot),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},jt,{padding:20})},colorScale:Et,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:At,stroke:"transparent",strokeWidth:0},labels:jt}},Ot),stack:Object.assign({colorScale:Et},Ot),tooltip:{style:Object.assign({},jt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:At,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({},jt,{padding:5,pointerEvents:"none"}),flyout:{stroke:At,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ot)},_t="#FFF59D",Lt="#F4511E",Nt="#8BC34A",Tt="#00796B",Pt="#006064",Ft=[Lt,_t,"#DCE775",Nt,Tt,Pt],Ut="#ECEFF1",$t="#90A4AE",It="#455A64",zt="#212121",Wt={width:350,height:350,padding:50},Rt={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:It,stroke:"transparent",strokeWidth:0},Ht=Object.assign({textAnchor:"middle"},Rt),Bt="round",qt="round",Yt=(Object.assign({style:{data:{fill:zt},labels:Rt}},Wt),Object.assign({style:{axis:{fill:"transparent",stroke:$t,strokeWidth:2,strokeLinecap:Bt,strokeLinejoin:qt},axisLabel:Object.assign({},Ht,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Ut,strokeDasharray:"10, 5",strokeLinecap:Bt,strokeLinejoin:qt,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:$t,strokeWidth:1,strokeLinecap:Bt,strokeLinejoin:qt},tickLabels:Object.assign({},Rt,{fill:It})}},Wt),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:It,padding:8,strokeWidth:0},labels:Rt}},Wt),Object.assign({style:{max:{padding:8,stroke:It,strokeWidth:1},maxLabels:Object.assign({},Rt,{padding:3}),median:{padding:8,stroke:It,strokeWidth:1},medianLabels:Object.assign({},Rt,{padding:3}),min:{padding:8,stroke:It,strokeWidth:1},minLabels:Object.assign({},Rt,{padding:3}),q1:{padding:8,fill:It},q1Labels:Object.assign({},Rt,{padding:3}),q3:{padding:8,fill:It},q3Labels:Object.assign({},Rt,{padding:3})},boxWidth:20},Wt),Object.assign({style:{data:{stroke:It},labels:Object.assign({},Rt,{padding:5})},candleColors:{positive:"#ffffff",negative:It}},Wt),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:It,strokeWidth:2},labels:Rt}},Wt),Object.assign({colorScale:Ft},Wt),Object.assign({style:{data:{fill:It,stroke:zt,strokeWidth:2},labels:Rt}},Wt),Object.assign({},Rt,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:It,strokeWidth:2},labels:Rt}},Wt),Object.assign({colorScale:Ft,style:{data:{padding:8,stroke:Ut,strokeWidth:1},labels:Object.assign({},Rt,{padding:20})}},Wt),Object.assign({style:{data:{fill:It,opacity:1,stroke:"transparent",strokeWidth:0},labels:Rt}},Wt),Object.assign({colorScale:Ft},Wt),Object.assign({},Rt,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Rt,{padding:5,pointerEvents:"none"}),flyout:{stroke:zt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Wt),"#FFFFFF"),Vt="#E0E0E0",Gt="#D1D1D1",Kt="#757575",Zt="#5C5C5C",Qt="#292929",Xt="#FCB400",Jt="#FF6F2C",tn="#F82B60",nn="#FF08C2",en="#8B46FF",rn="#CFDFFF",on="#2D7FF9",an="#18BFFF",un="#20D9D2",sn="#20C933",cn={blue:on,pink:nn,teal:un,purple:en,green:sn,orange:Jt,cyan:an,red:tn,yellow:Xt},ln=Object.values(cn),fn={width:450,height:300,padding:50,colorScale:ln},dn={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:Qt,stroke:"transparent"},hn=Object.assign({textAnchor:"middle"},dn),pn="10, 5",gn="round",yn="round",mn=(Object.assign({style:{data:{fill:on,strokeWidth:2,fillOpacity:.5},labels:dn}},fn),Object.assign({style:{axis:{fill:"transparent",stroke:Kt,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:yn},axisLabel:Object.assign({},hn,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:dn}},fn),Object.assign({style:{axis:{stroke:Kt},grid:{stroke:Gt,strokeDasharray:pn,strokeLinecap:gn,strokeLinejoin:yn,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Gt,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:yn},tickLabels:dn}}),Object.assign({style:{axis:{stroke:Kt},grid:{stroke:Gt,strokeDasharray:pn,strokeLinecap:gn,strokeLinejoin:yn,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Vt,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:yn},tickLabels:dn}}),Object.assign({style:{data:{fill:on,padding:8,strokeWidth:1,fillOpacity:.5},labels:dn},cornerRadius:{top:1}},fn),Object.assign({style:{max:{padding:8,stroke:Gt,strokeWidth:2},maxLabels:Object.assign({},dn,{padding:3}),median:{padding:8,stroke:Yt,strokeWidth:2},medianLabels:Object.assign({},dn,{padding:3}),min:{padding:8,stroke:Gt,strokeWidth:2},minLabels:Object.assign({},dn,{padding:3}),q1:{padding:8,fill:un,rx:1,strokeWidth:2},q1Labels:Object.assign({},dn,{padding:3}),q3:{padding:8,fill:an,rx:1},q3Labels:Object.assign({},dn,{padding:3})},boxWidth:20},fn),Object.assign({style:{data:{stroke:Vt,strokeWidth:0,rx:1},labels:Object.assign({},dn,{padding:5})},candleColors:{positive:un,negative:Jt},wickStrokeWidth:2},fn),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#424242",strokeWidth:2,strokeLinecap:gn},labels:dn}},fn),Object.assign({colorScale:ln},fn),Object.assign({style:{data:{fill:an,fillOpacity:.5},labels:dn},binSpacing:4,cornerRadius:{top:1}},fn),Object.assign({},dn,{padding:8,fontSize:16}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:on,strokeWidth:2,strokeLinecap:gn,strokeLinejoin:yn},labels:dn}},fn),Object.assign({style:{parent:{backgroundColor:Yt},data:{padding:8,stroke:Yt,strokeWidth:1},labels:{...dn,padding:20,fill:Zt,fontSize:10}},colorScale:ln,cornerRadius:1},fn),Object.assign({style:{data:{fill:en,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...dn,padding:20}}},fn),Object.assign({colorScale:ln},fn),Object.assign({},dn,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:rn,stroke:on,strokeWidth:2,opacity:.4},labels:Object.assign({},dn,{padding:5,pointerEvents:"none"}),flyout:{stroke:Qt,strokeWidth:1,fill:"#F2F2F2",pointerEvents:"none"},padding:{left:2,bottom:2}}},fn),Dt);var vn=r(4295),bn=r.n(vn),xn=r(2829),wn=r.n(xn),Mn=r(3849),kn=r.n(Mn),En=r(1616),An=r.n(En),Cn=r(8999),On=r.n(Cn),jn=r(8254),Sn=r.n(jn),Dn=r(4143),_n=r.n(Dn),Ln=r(9602),Nn=r.n(Ln);function Tn(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Pn(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function Fn(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 Tn(i)?new Date(Math.max(...i)):Math.max(...i)}function Un(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 Tn(i)?new Date(Math.min(...i)):Math.min(...i)}function $n(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 In(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function zn(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 Wn extends Map{constructor(t,n=Hn){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(Rn(this,t))}has(t){return super.has(Rn(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 Rn({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function Hn(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const Bn=Symbol("implicit");function qn(){var t=new Wn,n=[],e=[],r=Bn;function i(i){let o=t.get(i);if(void 0===o){if(r!==Bn)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 Wn;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 qn(n,e).unknown(r)},In.apply(i,arguments),i}function Yn(){var t,n,e=qn().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,s=0,c=0,l=.5;function f(){var e=r().length,f=a<o,d=f?a:o,h=f?o:a;t=(h-d)/Math.max(1,e-s+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(e-s))*l,n=t*(1-s),u&&(d=Math.round(d),n=Math.round(n));var p=$n(e).map((function(n){return d+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),f()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),f()):s},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 Yn(r(),[o,a]).round(u).paddingInner(s).paddingOuter(c).align(l)},In.apply(f(),arguments)}function Vn(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Vn(n())},t}function Gn(){return Vn(Yn.apply(null,arguments).paddingInner(1))}var Kn=Math.sqrt(50),Zn=Math.sqrt(10),Qn=Math.sqrt(2);function Xn(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=Jn(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);++u<i;)o[u]=(e+u)*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);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function Jn(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>=Kn?10:o>=Zn?5:o>=Qn?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Kn?10:o>=Zn?5:o>=Qn?2:1)}function te(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>=Kn?i*=10:o>=Zn?i*=5:o>=Qn&&(i*=2),n<t?-i:i}function ne(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function ee(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function re(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=ne,e=(n,e)=>ne(t(n),e),r=(n,e)=>t(n)-e):(n=t===ne||t===ee?t:ie,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 ie(){return 0}function oe(t){return null===t?NaN:+t}const ae=re(ne),ue=ae.right;ae.left,re(oe).center;var se=ue;function ce(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function le(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function fe(){}var de=.7,he=1/de,pe="\\s*([+-]?\\d+)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",me=/^#([0-9a-f]{3,8})$/,ve=new RegExp(`^rgb\\(${pe},${pe},${pe}\\)$`),be=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),xe=new RegExp(`^rgba\\(${pe},${pe},${pe},${ge}\\)$`),we=new RegExp(`^rgba\\(${ye},${ye},${ye},${ge}\\)$`),Me=new RegExp(`^hsl\\(${ge},${ye},${ye}\\)$`),ke=new RegExp(`^hsla\\(${ge},${ye},${ye},${ge}\\)$`),Ee={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 Ae(){return this.rgb().formatHex()}function Ce(){return this.rgb().formatRgb()}function Oe(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=me.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?je(n):3===e?new Le(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Se(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Se(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=ve.exec(t))?new Le(n[1],n[2],n[3],1):(n=be.exec(t))?new Le(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=xe.exec(t))?Se(n[1],n[2],n[3],n[4]):(n=we.exec(t))?Se(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Me.exec(t))?$e(n[1],n[2]/100,n[3]/100,1):(n=ke.exec(t))?$e(n[1],n[2]/100,n[3]/100,n[4]):Ee.hasOwnProperty(t)?je(Ee[t]):"transparent"===t?new Le(NaN,NaN,NaN,0):null}function je(t){return new Le(t>>16&255,t>>8&255,255&t,1)}function Se(t,n,e,r){return r<=0&&(t=n=e=NaN),new Le(t,n,e,r)}function De(t){return t instanceof fe||(t=Oe(t)),t?new Le((t=t.rgb()).r,t.g,t.b,t.opacity):new Le}function _e(t,n,e,r){return 1===arguments.length?De(t):new Le(t,n,e,null==r?1:r)}function Le(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Ne(){return`#${Ue(this.r)}${Ue(this.g)}${Ue(this.b)}`}function Te(){const t=Pe(this.opacity);return`${1===t?"rgb(":"rgba("}${Fe(this.r)}, ${Fe(this.g)}, ${Fe(this.b)}${1===t?")":`, ${t})`}`}function Pe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Fe(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ue(t){return((t=Fe(t))<16?"0":"")+t.toString(16)}function $e(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ze(t,n,e,r)}function Ie(t){if(t instanceof ze)return new ze(t.h,t.s,t.l,t.opacity);if(t instanceof fe||(t=Oe(t)),!t)return new ze;if(t instanceof ze)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,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=s<.5?o+i:2-o-i,a*=60):u=s>0&&s<1?0:a,new ze(a,u,s,t.opacity)}function ze(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function We(t){return(t=(t||0)%360)<0?t+360:t}function Re(t){return Math.max(0,Math.min(1,t||0))}function He(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 Be(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}ce(fe,Oe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ae,formatHex:Ae,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ie(this).formatHsl()},formatRgb:Ce,toString:Ce}),ce(Le,_e,le(fe,{brighter(t){return t=null==t?he:Math.pow(he,t),new Le(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?de:Math.pow(de,t),new Le(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Le(Fe(this.r),Fe(this.g),Fe(this.b),Pe(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:Ne,formatHex:Ne,formatHex8:function(){return`#${Ue(this.r)}${Ue(this.g)}${Ue(this.b)}${Ue(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Te,toString:Te})),ce(ze,(function(t,n,e,r){return 1===arguments.length?Ie(t):new ze(t,n,e,null==r?1:r)}),le(fe,{brighter(t){return t=null==t?he:Math.pow(he,t),new ze(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?de:Math.pow(de,t),new ze(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 Le(He(t>=240?t-240:t+120,i,r),He(t,i,r),He(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new ze(We(this.h),Re(this.s),Re(this.l),Pe(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=Pe(this.opacity);return`${1===t?"hsl(":"hsla("}${We(this.h)}, ${100*Re(this.s)}%, ${100*Re(this.l)}%${1===t?")":`, ${t})`}`}}));var qe=t=>()=>t;function Ye(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):qe(isNaN(t)?n:t)}var Ve=function t(n){var e=function(t){return 1==(t=+t)?Ye: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):qe(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=_e(t)).r,(n=_e(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Ye(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 Ge(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e<i;++e)r=_e(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}function Ke(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]=rr(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 Ze(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Qe(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function Xe(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]=rr(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Ge((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,u=r<n-1?t[r+2]:2*o-i;return Be((e-r/n)*n,a,i,o,u)}})),Ge((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],u=t[(r+2)%n];return Be((e-r/n)*n,i,o,a,u)}}));var Je=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tr=new RegExp(Je.source,"g");function nr(t,n){var e,r,i,o=Je.lastIndex=tr.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=Je.exec(t))&&(r=tr.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Qe(e,r)})),o=tr.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})}function er(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 rr(t,n){var e,r,i=typeof n;return null==n||"boolean"===i?qe(n):("number"===i?Qe:"string"===i?(e=Oe(n))?(n=e,Ve):nr:n instanceof Oe?Ve:n instanceof Date?Ze:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Ke:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Xe:Qe:er))(t,n)}function ir(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function or(t){return+t}var ar=[0,1];function ur(t){return t}function sr(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function cr(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=sr(i,r),o=e(a,o)):(r=sr(r,i),o=e(o,a)),function(t){return o(r(t))}}function lr(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]=sr(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=se(t,n,1,r)-1;return o[e](i[e](n))}}function fr(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function dr(){var t,n,e,r,i,o,a=ar,u=ar,s=rr,c=ur;function l(){var t,n,e,s=Math.min(a.length,u.length);return c!==ur&&(t=a[0],n=a[s-1],t>n&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=s>2?lr:cr,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,s)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(u,a.map(t),Qe)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,or),l()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),s=ir,l()},f.clamp=function(t){return arguments.length?(c=!!t||ur,l()):c!==ur},f.interpolate=function(t){return arguments.length?(s=t,l()):s},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function hr(){return dr()(ur,ur)}var pr,gr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yr(t){if(!(n=gr.exec(t)))throw new Error("invalid format: "+t);var n;return new mr({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 mr(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 vr(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 br(t){return(t=vr(Math.abs(t)))?t[1]:NaN}function xr(t,n){var e=vr(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")}yr.prototype=mr.prototype,mr.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 wr={"%":(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)=>xr(100*t,n),r:xr,s:function(t,n){var e=vr(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(pr=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")+vr(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Mr(t){return t}var kr,Er,Ar,Cr=Array.prototype.map,Or=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function jr(t,n,e,r){var i,o=te(t,n,e);switch((r=yr(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(br(n)/3)))-br(Math.abs(t)))}(o,a))||(r.precision=i),Ar(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,br(n)-br(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,-br(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Er(r)}function Sr(t){var n=t.domain;return t.ticks=function(t){var e=n();return Xn(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return jr(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,u=o.length-1,s=o[a],c=o[u],l=10;for(c<s&&(i=s,s=c,c=i,i=a,a=u,u=i);l-- >0;){if((i=Jn(s,c,e))===r)return o[a]=s,o[u]=c,n(o);if(i>0)s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Dr(){var t=hr();return t.copy=function(){return fr(t,Dr())},In.apply(t,arguments),Sr(t)}function _r(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,or),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return _r(t).unknown(n)},t=arguments.length?Array.from(t,or):[0,1],Sr(e)}function Lr(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 Nr(t){return Math.log(t)}function Tr(t){return Math.exp(t)}function Pr(t){return-Math.log(-t)}function Fr(t){return-Math.exp(-t)}function Ur(t){return isFinite(t)?+("1e"+t):t<0?0:t}function $r(t){return(n,e)=>-t(-n,e)}function Ir(t){const n=t(Nr,Tr),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?Ur:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=$r(r),i=$r(i),t(Pr,Fr)):t(Nr,Tr),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],u=n[n.length-1];const s=u<a;s&&([a,u]=[u,a]);let c,l,f=r(a),d=r(u);const h=null==t?10:+t;let p=[];if(!(o%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<o;++c)if(l=f<0?c/i(-f):c*i(f),!(l<a)){if(l>u)break;p.push(l)}}else for(;f<=d;++f)for(c=o-1;c>=1;--c)if(l=f>0?c/i(-f):c*i(f),!(l<a)){if(l>u)break;p.push(l)}2*p.length<h&&(p=Xn(a,u,h))}else p=Xn(f,d,Math.min(d-f,h)).map(i);return s?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=yr(e)).precision||(e.trim=!0),e=Er(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(Lr(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function zr(){const t=Ir(dr()).domain([1,10]);return t.copy=()=>fr(t,zr()).base(t.base()),In.apply(t,arguments),t}function Wr(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Rr(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Hr(t){var n=1,e=t(Wr(n),Rr(n));return e.constant=function(e){return arguments.length?t(Wr(n=+e),Rr(n)):n},Sr(e)}function Br(){var t=Hr(dr());return t.copy=function(){return fr(t,Br()).constant(t.constant())},In.apply(t,arguments)}function qr(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Yr(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Vr(t){return t<0?-t*t:t*t}function Gr(t){var n=t(ur,ur),e=1;function r(){return 1===e?t(ur,ur):.5===e?t(Yr,Vr):t(qr(e),qr(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Sr(n)}function Kr(){var t=Gr(dr());return t.copy=function(){return fr(t,Kr()).exponent(t.exponent())},In.apply(t,arguments),t}function Zr(){return Kr.apply(null,arguments).exponent(.5)}function Qr(t){return Math.sign(t)*t*t}function Xr(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Jr(){var t,n=hr(),e=[0,1],r=!1;function i(e){var i=Xr(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(Qr(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,or)).map(Qr)),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 Jr(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},In.apply(i,arguments),Sr(i)}function ti(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 ni(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 ei(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ri(t,n,e=0,r=t.length-1,i){for(i=void 0===i?ei:function(t=ne){if(t===ne)return ei;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,u=Math.log(o),s=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*s*(o-s)/o)*(a-o/2<0?-1:1);ri(t,n,Math.max(e,Math.floor(n-a*s/o+c)),Math.min(r,Math.floor(n+(o-a)*s/o+c)),i)}const o=t[n];let a=e,u=r;for(ii(t,e,n),i(t[r],o)>0&&ii(t,e,r);a<u;){for(ii(t,a,u),++a,--u;i(t[a],o)<0;)++a;for(;i(t[u],o)>0;)--u}0===i(t[e],o)?ii(t,e,u):(++u,ii(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function ii(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function oi(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 ni(t);if(n>=1)return ti(t);var r,i=(r-1)*n,o=Math.floor(i),a=ti(ri(t,o).subarray(0,o+1));return a+(ni(t.subarray(o+1))-a)*(i-o)}}function ai(t,n,e=oe){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 ui(){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]=ai(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[se(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(ne),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 ui().domain(n).range(e).unknown(t)},In.apply(o,arguments)}function si(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[se(i,n,0,r)]:t}function u(){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,u()):[n,e]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,u()):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 si().domain([n,e]).range(o).unknown(t)},In.apply(Sr(a),arguments)}function ci(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[se(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 ci().domain(n).range(e).unknown(t)},In.apply(i,arguments)}kr=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Mr:(n=Cr.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=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+"",u=void 0===t.numerals?Mr:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Cr.call(t.numerals,String)),s=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=yr(t)).fill,e=t.align,f=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(g=!0,v="g"):wr[v]||(void 0===y&&(y=12),m=!0,v="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?o:/[%p]/.test(v)?s:"",w=wr[v],M=/[defgprs%]/.test(v);function k(t){var i,o,s,d=b,k=x;if("c"===v)k=w(t)+k,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(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)),E&&0==+t&&"+"!==f&&(E=!1),d=(E?"("===f?f:c:"-"===f||"("===f?"":f)+d,k=("s"===v?Or[8+pr/3]:"")+k+(E&&"("===f?")":""),M)for(i=-1,o=t.length;++i<o;)if(48>(s=t.charCodeAt(i))||s>57){k=(46===s?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!h&&(t=r(t,1/0));var A=d.length+t.length+k.length,C=A<p?new Array(p-A+1).join(n):"";switch(g&&h&&(t=r(C+t,C.length?p-k.length:1/0),C=""),e){case"<":t=d+t+k+C;break;case"=":t=d+C+t+k;break;case"^":t=C.slice(0,A=C.length>>1)+d+t+k+C.slice(A);break;default:t=C+d+t+k}return u(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:f,formatPrefix:function(t,n){var e=f(((t=yr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(br(n)/3))),i=Math.pow(10,-r),o=Or[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Er=kr.format,Ar=kr.formatPrefix;const li=1e3,fi=6e4,di=36e5,hi=864e5,pi=6048e5,gi=31536e6;var yi=new Date,mi=new Date;function vi(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,u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return u;do{u.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return u},i.filter=function(e){return vi((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 yi.setTime(+n),mi.setTime(+r),t(yi),t(mi),Math.floor(e(yi,mi))},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 bi=vi((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));bi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?vi((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):bi:null};var xi=bi,wi=(bi.range,vi((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*li)}),(function(t,n){return(n-t)/li}),(function(t){return t.getUTCSeconds()}))),Mi=wi,ki=(wi.range,vi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*li)}),(function(t,n){t.setTime(+t+n*fi)}),(function(t,n){return(n-t)/fi}),(function(t){return t.getMinutes()}))),Ei=ki,Ai=(ki.range,vi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*li-t.getMinutes()*fi)}),(function(t,n){t.setTime(+t+n*di)}),(function(t,n){return(n-t)/di}),(function(t){return t.getHours()}))),Ci=Ai,Oi=(Ai.range,vi((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*fi)/hi),(t=>t.getDate()-1))),ji=Oi;function Si(t){return vi((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())*fi)/pi}))}Oi.range;var Di=Si(0),_i=Si(1),Li=Si(2),Ni=Si(3),Ti=Si(4),Pi=Si(5),Fi=Si(6),Ui=(Di.range,_i.range,Li.range,Ni.range,Ti.range,Pi.range,Fi.range,vi((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()}))),$i=Ui,Ii=(Ui.range,vi((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()})));Ii.every=function(t){return isFinite(t=Math.floor(t))&&t>0?vi((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 zi=Ii,Wi=(Ii.range,vi((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*fi)}),(function(t,n){return(n-t)/fi}),(function(t){return t.getUTCMinutes()}))),Ri=Wi,Hi=(Wi.range,vi((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*di)}),(function(t,n){return(n-t)/di}),(function(t){return t.getUTCHours()}))),Bi=Hi,qi=(Hi.range,vi((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/hi}),(function(t){return t.getUTCDate()-1}))),Yi=qi;function Vi(t){return vi((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)/pi}))}qi.range;var Gi=Vi(0),Ki=Vi(1),Zi=Vi(2),Qi=Vi(3),Xi=Vi(4),Ji=Vi(5),to=Vi(6),no=(Gi.range,Ki.range,Zi.range,Qi.range,Xi.range,Ji.range,to.range,vi((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()}))),eo=no,ro=(no.range,vi((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()})));ro.every=function(t){return isFinite(t=Math.floor(t))&&t>0?vi((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 io=ro;function oo(t,n,e,r,i,o){const a=[[Mi,1,li],[Mi,5,5e3],[Mi,15,15e3],[Mi,30,3e4],[o,1,fi],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,di],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,hi],[r,2,1728e5],[e,1,pi],[n,1,2592e6],[n,3,7776e6],[t,1,gi]];function u(n,e,r){const i=Math.abs(e-n)/r,o=re((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(te(n/gi,e/gi,r));if(0===o)return xi.every(Math.max(te(n,e,r),1));const[u,s]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return u.every(s)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"==typeof e.range?e:u(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},u]}ro.range;const[ao,uo]=oo(io,eo,Gi,Yi,Bi,Ri),[so,co]=oo(zi,$i,Di,ji,Ci,Ei);function lo(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 fo(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 ho(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var po,go,yo,mo={"-":"",_:" ",0:"0"},vo=/^\s*\d+/,bo=/^%/,xo=/[\\^$*+?|[\]().{}]/g;function wo(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 Mo(t){return t.replace(xo,"\\$&")}function ko(t){return new RegExp("^(?:"+t.map(Mo).join("|")+")","i")}function Eo(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Ao(t,n,e){var r=vo.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Co(t,n,e){var r=vo.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Oo(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function jo(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function So(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Do(t,n,e){var r=vo.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function _o(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Lo(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 No(t,n,e){var r=vo.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function To(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Po(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Fo(t,n,e){var r=vo.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Uo(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function $o(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Io(t,n,e){var r=vo.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function zo(t,n,e){var r=vo.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Wo(t,n,e){var r=vo.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Ro(t,n,e){var r=bo.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ho(t,n,e){var r=vo.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Bo(t,n,e){var r=vo.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function qo(t,n){return wo(t.getDate(),n,2)}function Yo(t,n){return wo(t.getHours(),n,2)}function Vo(t,n){return wo(t.getHours()%12||12,n,2)}function Go(t,n){return wo(1+ji.count(zi(t),t),n,3)}function Ko(t,n){return wo(t.getMilliseconds(),n,3)}function Zo(t,n){return Ko(t,n)+"000"}function Qo(t,n){return wo(t.getMonth()+1,n,2)}function Xo(t,n){return wo(t.getMinutes(),n,2)}function Jo(t,n){return wo(t.getSeconds(),n,2)}function ta(t){var n=t.getDay();return 0===n?7:n}function na(t,n){return wo(Di.count(zi(t)-1,t),n,2)}function ea(t){var n=t.getDay();return n>=4||0===n?Ti(t):Ti.ceil(t)}function ra(t,n){return t=ea(t),wo(Ti.count(zi(t),t)+(4===zi(t).getDay()),n,2)}function ia(t){return t.getDay()}function oa(t,n){return wo(_i.count(zi(t)-1,t),n,2)}function aa(t,n){return wo(t.getFullYear()%100,n,2)}function ua(t,n){return wo((t=ea(t)).getFullYear()%100,n,2)}function sa(t,n){return wo(t.getFullYear()%1e4,n,4)}function ca(t,n){var e=t.getDay();return wo((t=e>=4||0===e?Ti(t):Ti.ceil(t)).getFullYear()%1e4,n,4)}function la(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+wo(n/60|0,"0",2)+wo(n%60,"0",2)}function fa(t,n){return wo(t.getUTCDate(),n,2)}function da(t,n){return wo(t.getUTCHours(),n,2)}function ha(t,n){return wo(t.getUTCHours()%12||12,n,2)}function pa(t,n){return wo(1+Yi.count(io(t),t),n,3)}function ga(t,n){return wo(t.getUTCMilliseconds(),n,3)}function ya(t,n){return ga(t,n)+"000"}function ma(t,n){return wo(t.getUTCMonth()+1,n,2)}function va(t,n){return wo(t.getUTCMinutes(),n,2)}function ba(t,n){return wo(t.getUTCSeconds(),n,2)}function xa(t){var n=t.getUTCDay();return 0===n?7:n}function wa(t,n){return wo(Gi.count(io(t)-1,t),n,2)}function Ma(t){var n=t.getUTCDay();return n>=4||0===n?Xi(t):Xi.ceil(t)}function ka(t,n){return t=Ma(t),wo(Xi.count(io(t),t)+(4===io(t).getUTCDay()),n,2)}function Ea(t){return t.getUTCDay()}function Aa(t,n){return wo(Ki.count(io(t)-1,t),n,2)}function Ca(t,n){return wo(t.getUTCFullYear()%100,n,2)}function Oa(t,n){return wo((t=Ma(t)).getUTCFullYear()%100,n,2)}function ja(t,n){return wo(t.getUTCFullYear()%1e4,n,4)}function Sa(t,n){var e=t.getUTCDay();return wo((t=e>=4||0===e?Xi(t):Xi.ceil(t)).getUTCFullYear()%1e4,n,4)}function Da(){return"+0000"}function _a(){return"%"}function La(t){return+t}function Na(t){return Math.floor(+t/1e3)}function Ta(t){return new Date(t)}function Pa(t){return t instanceof Date?+t:+new Date(+t)}function Fa(t,n,e,r,i,o,a,u,s,c){var l=hr(),f=l.invert,d=l.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(s(t)<t?h:u(t)<t?p:a(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?m:v:e(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?d(Array.from(t,Pa)):d().map(Ta)},l.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?w:c(n)},l.nice=function(t){var e=d();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d(Lr(e,t)):l},l.copy=function(){return fr(l,Fa(t,n,e,r,i,o,a,u,s,c))},l}function Ua(){return In.apply(Fa(so,co,zi,$i,Di,ji,Ci,Ei,Mi,go).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function $a(){return In.apply(Fa(ao,uo,io,eo,Gi,Yi,Bi,Ri,Mi,yo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ia(){var t,n,e,r,i,o=0,a=1,u=ur,s=!1;function c(n){return null==n||isNaN(n=+n)?i:u(0===e?.5:(n=(r(n)-t)*e,s?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),c):[u(0),u(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?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=l(rr),c.rangeRound=l(ir),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 za(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Wa(){var t=Sr(Ia()(ur));return t.copy=function(){return za(t,Wa())},zn.apply(t,arguments)}function Ra(){var t=Ir(Ia()).domain([1,10]);return t.copy=function(){return za(t,Ra()).base(t.base())},zn.apply(t,arguments)}function Ha(){var t=Hr(Ia());return t.copy=function(){return za(t,Ha()).constant(t.constant())},zn.apply(t,arguments)}function Ba(){var t=Gr(Ia());return t.copy=function(){return za(t,Ba()).exponent(t.exponent())},zn.apply(t,arguments)}function qa(){return Ba.apply(null,arguments).exponent(.5)}function Ya(){var t=[],n=ur;function e(e){if(null!=e&&!isNaN(e=+e))return n((se(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(ne),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)=>oi(t,r/n)))},e.copy=function(){return Ya(n).domain(t)},zn.apply(e,arguments)}function Va(t,n){void 0===n&&(n=t,t=rr);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 Ga(){var t,n,e,r,i,o,a,u=0,s=.5,c=1,l=1,f=ur,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-n)*(l*t<l*n?r:i),f(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=Va(t,[e,r,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,s,c]=a,t=o(u=+u),n=o(s=+s),e=o(c=+c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,s,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(rr),h.rangeRound=p(ir),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(u),n=a(s),e=a(c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Ka(){var t=Sr(Ga()(ur));return t.copy=function(){return za(t,Ka())},zn.apply(t,arguments)}function Za(){var t=Ir(Ga()).domain([.1,1,10]);return t.copy=function(){return za(t,Za()).base(t.base())},zn.apply(t,arguments)}function Qa(){var t=Hr(Ga());return t.copy=function(){return za(t,Qa()).constant(t.constant())},zn.apply(t,arguments)}function Xa(){var t=Gr(Ga());return t.copy=function(){return za(t,Xa()).exponent(t.exponent())},zn.apply(t,arguments)}function Ja(){return Xa.apply(null,arguments).exponent(.5)}po=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=ko(i),l=Eo(i),f=ko(o),d=Eo(o),h=ko(a),p=Eo(a),g=ko(u),y=Eo(u),m=ko(s),v=Eo(s),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:qo,e:qo,f:Zo,g:ua,G:ca,H:Yo,I:Vo,j:Go,L:Ko,m:Qo,M:Xo,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:La,s:Na,S:Jo,u:ta,U:na,V:ra,w:ia,W:oa,x:null,X:null,y:aa,Y:sa,Z:la,"%":_a},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:fa,e:fa,f:ya,g:Oa,G:Sa,H:da,I:ha,j:pa,L:ga,m:ma,M:va,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:La,s:Na,S:ba,u:xa,U:wa,V:ka,w:Ea,W:Aa,x:null,X:null,y:Ca,Y:ja,Z:Da,"%":_a},w={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=d.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 E(t,n,e,r)},d:Po,e:Po,f:Wo,g:_o,G:Do,H:Uo,I:Uo,j:Fo,L:zo,m:To,M:$o,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:No,Q:Ho,s:Bo,S:Io,u:Co,U:Oo,V:jo,w:Ao,W:So,x:function(t,n,r){return E(t,e,n,r)},X:function(t,n,e){return E(t,r,n,e)},y:_o,Y:Do,Z:Lo,"%":Ro};function M(t,n){return function(e){var r,i,o,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=mo[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function k(t,n){return function(e){var r,i,o=ho(1900,void 0,1);if(E(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=fo(ho(o.y,0,1))).getUTCDay(),r=i>4||0===i?Ki.ceil(r):Ki(r),r=Yi.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=lo(ho(o.y,0,1))).getDay(),r=i>4||0===i?_i.ceil(r):_i(r),r=ji.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?fo(ho(o.y,0,1)).getUTCDay():lo(ho(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,fo(o)):lo(o)}}function E(t,n,e,r){for(var i,o,a=0,u=n.length,s=e.length;a<u;){if(r>=s)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=w[i in mo?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=M(e,b),b.X=M(r,b),b.c=M(n,b),x.x=M(e,x),x.X=M(r,x),x.c=M(n,x),{format:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),go=po.format,po.parse,yo=po.utcFormat,po.utcParse;const tu=["linear","time","log","sqrt"];function nu(t){return"function"==typeof t?C(t.copy)&&C(t.domain)&&C(t.range):"string"==typeof t&&tu.includes(t)}function eu(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function ru(t,n){if(!t.data)return"linear";const e=O(t[n]);return Tn(t.data.map((t=>{const r=kn()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function iu(n){if(nu(n)){const r=`scale${e=n,e&&e[0].toUpperCase()+e.slice(1)}`;return t[r]()}var e;return Dr()}function ou(t,n){const e=function(t,n){if(!eu(t,n))return;const e=t.scale[n]||t.scale;return nu(e)?C(e)?e:iu(e):void 0}(t,n);return e?"string"==typeof e?iu(e):e:iu(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 Tn(e)?"time":"linear"}(t,n)||ru(t,n))}function au(t,n){return function(t,n){if(!eu(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;const n=uu.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}(e)}(t,n)||ru(t,n)}const uu=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function su(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function cu(t,n){return su(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=cu(e)),t[r]=i,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function lu(t){return su(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?cu(t,{errorX:!0,errorY:!0}):t;var n}function fu(t,n){const e=(kn()(t.domain)?t.domain[n]:t.domain)||ou(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=function(t,n,e){const r=n?t:0;let i=n||t;i||(i=0);const o=i-r,a=Math.abs(o),u=o/a||1,s=e||1,c=Math.max(Math.ceil(a/s),0);return Array.from(Array(c),((t,n)=>r+n*u*s))}(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function du(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 _n()(t,r,i)}function hu(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let i;return i=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],i.filter((t=>"string"==typeof t))}(t,n),r=mu(t,n),i=function(t,n){if(!Array.isArray(t.data)&&!su(t.data))return[];const e=O(void 0===t[n]?n:t[n]);return du(t.data.reduce(((t,n)=>(t.push(lu(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=lu(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),o=Nn()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function pu(t,n,e){if(!Array.isArray(t)&&!su(t)||function(t){return su(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=O(void 0!==n[r=e]?n[r]:r),t}),{}),o=Sn()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?hu(n,"x"):void 0,y:-1!==e.indexOf("y")?hu(n,"y"):void 0,y0:-1!==e.indexOf("y0")?hu(n,"y"):void 0});const u=o?t:t.reduce(((t,n,r)=>{const o=lu(n),u={x:r,y:o},s=e.reduce(((t,n)=>{const e=i[n](o),r=void 0!==e?e:u[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({},s,o);return I()(c)||t.push(c),t}),[]),s=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:au(n,"x"),y:au(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)))}(du(u,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=C(i=t.eventKey)?i:null==i?()=>{}:h()(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,s)}function gu(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function yu(t){return t.data?pu(t.data,t):pu(function(t){const n=fu(t,"x"),e=fu(t,"y");return n.map(((t,n)=>({x:t,y:e[n]})))}(t),t)}function mu(t,n){if(!t.categories)return[];const e=gu(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}function vu(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}`],u=r([i,a]);return o=o||i instanceof Date||a instanceof Date,r([t,u])}),i);return o?new Date(a):a}function bu(t,n){const e=C(t)?t:Mu,r=C(n)?n:xu;return(t,n)=>{const i=function(t,n){const e=Au(t,n),r=Eu(t,n);return kn()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?ku(e,r):void 0}(t,n);if(i)return r(i,t,n);const o=gu(t,n),a=o?function(t,n,e){const r=e||gu(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const u=Au(t,n),s=Eu(t,n),c=(h=r,Array.isArray(h)&&h.some((t=>"string"==typeof t))?mu(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,d=ku(void 0!==u?u:Un(f),void 0!==s?s:Fn(f));var h;return i&&"x"===n&&360===Math.abs(o-a)?Cu(d,f):d}(t,n,o):e(t,n);return a?r(a,t,n):void 0}}function xu(t,n,e){return function(t,n,e){return"log"!==au(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=Au(n,e),i=Eu(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return kn()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=Un(t),u=Fn(t),s=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=E(n,s),l=Math.abs(c[0]-c[1]),f=Math.max(l-o.left-o.right,1),d=Math.abs(u.valueOf()-a.valueOf())/f*l,h=d*o.left/l,p=d*o.right/l;let g={min:a.valueOf()-h,max:u.valueOf()+p};const y=kn()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,m=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t;if((a>=0&&g.min<=0||u<=0&&g.max>=0)&&!1!==y){const t={left:Math.abs(u-a)*o.left/l,right:Math.abs(u-a)*o.right/l},n={min:m(a.valueOf()-t.left,"min"),max:m(u.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/l,right:Math.abs(n.max-n.min)*o.right/l};g={min:m(a.valueOf()-e.left,"min"),max:m(u.valueOf()+e.right,"max")}}const v={min:void 0!==r?r:g.min,max:void 0!==i?i:g.max};return a instanceof Date||u instanceof Date?ku(new Date(v.min),new Date(v.max)):ku(v.min,v.max)}(t,n,e),n,e)}function wu(t,n){return bu()(t,n)}function Mu(t,n,e){const r=e||yu(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,u=Au(t,n),s=Eu(t,n);if(r.length<1)return void 0!==u&&void 0!==s?ku(u,s):void 0;const c=ku(void 0!==u?u:vu(r,n,"min"),void 0!==s?s:vu(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?Cu(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 ku(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 Eu(t,n){return kn()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||bn()(t.maxDomain)?t.maxDomain:void 0}function Au(t,n){return kn()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||bn()(t.minDomain)?t.minDomain:void 0}function Cu(t,n){const e=wn()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}var Ou=r(7491),ju=r.n(Ou);const Su=t=>+t;function Du(t){return t*t}function _u(t){return t*(2-t)}function Lu(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Nu(t){return t*t*t}function Tu(t){return--t*t*t+1}function Pu(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Fu=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Uu=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),$u=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),Iu=Math.PI,zu=Iu/2;function Wu(t){return 1==+t?1:1-Math.cos(t*zu)}function Ru(t){return Math.sin(t*zu)}function Hu(t){return(1-Math.cos(Iu*t))/2}function Bu(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function qu(t){return Bu(1-+t)}function Yu(t){return 1-Bu(t)}function Vu(t){return((t*=2)<=1?Bu(1-t):2-Bu(t-1))/2}function Gu(t){return 1-Math.sqrt(1-t*t)}function Ku(t){return Math.sqrt(1- --t*t)}function Zu(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Qu=7.5625;function Xu(t){return 1-Ju(1-t)}function Ju(t){return(t=+t)<.36363636363636365?Qu*t*t:t<.7272727272727273?Qu*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Qu*(t-=.8181818181818182)*t+.9375:Qu*(t-=.9545454545454546)*t+.984375}function ts(t){return((t*=2)<=1?1-Ju(1-t):Ju(t-1)+1)/2}var ns=1.70158,es=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(ns),rs=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(ns),is=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}(ns),os=2*Math.PI,as=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=os);function i(t){return n*Bu(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*os)},i.period=function(e){return t(n,e)},i}(1,.3),us=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=os);function i(t){return 1-n*Bu(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*os)},i.period=function(e){return t(n,e)},i}(1,.3),ss=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=os);function i(t){return((t=2*t-1)<0?n*Bu(-t)*Math.sin((r-t)/e):2-n*Bu(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*os)},i.period=function(e){return t(n,e)},i}(1,.3);const cs=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)||kn()(t)}return!1},ls=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},fs=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 rr(r,i)(e)}}},ds=function(t,n){const e=t=>Array.isArray(t)?_n()(t,"key"):t,r={},i={};let o,a=t,u=n;for(o in null!==a&&"object"==typeof a||(a={}),null!==u&&"object"==typeof u||(u={}),u)o in a?r[o]=(s=e(a[o]))!==(c=e(u[o]))&&cs(s)&&cs(c)?"function"==typeof s||"function"==typeof c?fs(s,c):"object"==typeof s&&kn()(s)||"object"==typeof c&&kn()(c)?ds(s,c):rr(s,c):ls(s,c):i[o]=u[o];var s,c;return function(t){for(o in r)i[o]=r[o](t);return i}};var hs,ps,gs=0,ys=0,ms=0,vs=0,bs=0,xs=0,ws="object"==typeof performance&&performance.now?performance:Date,Ms="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ks(){return bs||(Ms(Es),bs=ws.now()+xs)}function Es(){bs=0}function As(){this._call=this._time=this._next=null}function Cs(t,n,e){var r=new As;return r.restart(t,n,e),r}function Os(){bs=(vs=ws.now())+xs,gs=ys=0;try{!function(){ks(),++gs;for(var t,n=hs;n;)(t=bs-n._time)>=0&&n._call.call(void 0,t),n=n._next;--gs}()}finally{gs=0,function(){for(var t,n,e=hs,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:hs=n);ps=t,Ss(r)}(),bs=0}}function js(){var t=ws.now(),n=t-vs;n>1e3&&(xs-=n,vs=t)}function Ss(t){gs||(ys&&(ys=clearTimeout(ys)),t-bs>24?(t<1/0&&(ys=setTimeout(Os,t-ws.now()-xs)),ms&&(ms=clearInterval(ms))):(ms||(vs=ws.now(),ms=setInterval(js,1e3)),gs=1,Ms(Os)))}As.prototype=Cs.prototype={constructor:As,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?ks():+e)+(null==n?0:+n),this._next||ps===this||(ps?ps._next=this:hs=this,ps=this),this._call=t,this._time=e,Ss()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ss())}};class Ds{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(ks()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Cs(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:ks(),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 _s=o().createContext({transitionTimer:new Ds,animationTimer:new Ds});_s.displayName="TimerContext";var Ls=_s;const Ns=1e3,Ts=t=>{let{duration:e=Ns,easing:r="quadInOut",delay:i=0,data:a,children:u,onEnd:s}=t;const[c,l]=o().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),f=o().useContext(Ls).animationTimer,d=o().useRef(Array.isArray(a)?a.slice(1):[]),h=o().useRef(null),p=o().useRef(void 0),g=n[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;o().useEffect((()=>(d.current.length&&m(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),o().useEffect((()=>{h.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),d.current=Array.isArray(a)?a:[a],m())}),[a]);const m=()=>{if(d.current.length){const r=d.current[0];h.current=(t=c.data)!==(n=r)&&cs(t)&&cs(n)?"function"==typeof t||"function"==typeof n?fs(t,n):kn()(t)||kn()(n)?ds(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return rr(e(t),e(n))}(t,n):rr(t,n):ls(t,n),i?setTimeout((()=>{p.current=f.subscribe(v,e)}),i):p.current=f.subscribe(v,e)}else s&&s();var t,n},v=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),d.current.shift(),void m();l({data:h.current(g(n)),animationInfo:{progress:n,animating:n<1}})};return u(c.data,c.animationInfo)};var Ps=r(5346),Fs=r.n(Ps);function Us(t,n){return(t.key||n).toString()}function $s(t){return t.reduce(((t,n,e)=>(t[Us(n,e)]=n,t)),{})}function Is(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 zs(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Ws(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((a,u)=>a&&a.props&&a.props.children&&n[u]?i(o().Children.toArray(t[u].props.children),o().Children.toArray(n[u].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&$s(t),r=n&&$s(n);return{entering:e&&Is(r,e),exiting:r&&Is(e,r)}}(zs(t),zs(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(a,n[u]))),a=i(o().Children.toArray(t),o().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function Rs(t,n,e){const r=n&&n.nodesWillExit,i=n&&n.nodesWillEnter,o=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,s=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:Fs();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:Fs();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,u=Object.assign({},t,a);let s=r;if(i){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:Fs();s=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:u,data:s}}(i,0,r,t),d=(t,n,r,i)=>o?function(t,n,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let u=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Fs();u=n.map(((e,i)=>{const o=Us(e,i);return r[o]?Object.assign({},e,t(e,i,n)):e}))}return{animate:a,data:u}}(i,r,t):function(t,n,r,i,o){let a=t,u=r;if(i){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:Fs();u=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:u}}(i,0,r,t),h=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const p=zs(e)||[],y=g()({},t.animate,e.props.animate),m=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;y.onExit=g()({},y.onExit,m&&m.onExit),y.onEnter=g()({},y.onEnter,m&&m.onEnter),y.onLoad=g()({},y.onLoad,m&&m.onLoad);const v=s[a]||s[0];if(!u){const t={duration:void 0!==c.load?c.load:h(e,"onLoad")};return l(0,p,Object.assign({},y,t))}if(r){const t=v&&v.exiting,n=void 0!==c.exit?c.exit:h(e,"onExit"),r=t?{duration:n}:{delay:n};return f(t,0,p,Object.assign({},y,r))}if(i){const t=v&&v.entering,n=void 0!==c.enter?c.enter:h(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,i={duration:o&&t?n:r};return d(t,0,p,Object.assign({},y,i))}return!n&&y&&y.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Fs();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(y,p):{animate:y,data:p}}}function Hs(){return Hs=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},Hs.apply(this,arguments)}class Bs extends o().Component{static displayName="VictoryTransition";static contextType=Ls;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 ju()(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=o().Children.toArray(t.children),i=o().Children.toArray(n.children),{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c}=Ws(r,i);return{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c,oldProps:a?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&C(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(o().Children.toArray(r.props.children))):t}),[]),r=o().Children.toArray(t.children)[0],i=r.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[n];if(!i.children&&a)return a;const u=e([r]);return 0===u.length?[0,1]:[Un(u),Fn(u)]}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=E(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:Rs(t,this.state,(t=>this.setState(t))),e=o().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")},a=this.getClipWidth(t,e),u=g()({domain:i,clipWidth:a},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),c=s.length?f()(u,s):u;return o().createElement(Ts,Hs({},u.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?o().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return o().cloneElement(e,g()({animate:null,animating:!0,groupComponent:n},t,u))}return o().cloneElement(e,g()({animate:null,animating:!0},t,u))}))}}var qs=r(4912),Ys=r.n(qs);const Vs=/^onGlobal(.*)$/;function Gs(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&&C(r)?r(i(o),n):void 0;if(!t.sharedEvents)return a;const u=t.sharedEvents.getEvents,s=t.sharedEvents.events&&u(i(t.sharedEvents.events),n);return Object.assign({},s,a)}function Ks(t,n,e,r){if(I()(t))return{};const i=r||this.baseProps,o=(t,n)=>{const{childName:e,target:r,key:o}=t,a="props"===n?i:this.state||{},u=null!=e&&a[e]?a[e]:a;return"parent"===o?u.parent:u[o]&&u[o][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,u=t.target||n,s=(n,e)=>{const r=this.state||{};if(!C(t.mutation))return r;const a=o({childName:e,key:n,target:u},"props"),s=o({childName:e,key:n,target:u},"state"),c=t.mutation(Object.assign({},a,s),i),l=r[e]||{},f=t=>c?(t=>"parent"===u?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[u]:c})}))(t):(t=>(t[n]&&t[n][u]&&delete t[n][u],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"===u?"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,s(e,n))),{}):s(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)},u=(n,e,r,i)=>{const o=t[i](n,e,r,this);if(!I()(o)){const t=(t=>{const n=t=>C(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]=u,t)),{})}function Zs(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 Qs(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(I()(a))return;const u=a.filter((t=>i(t,"eventKey")));return I()(u)?void 0:u.reduce(((t,r)=>{const i=(r&&C(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function Xs(t){const n=t.match(Vs);return n&&n[1]&&n[1].toLowerCase()}const Js=t=>!A(t._x)&&!A(t._y),tc=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function nc(){return nc=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},nc.apply(this,arguments)}const ec=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={id:x(r,t)?.toString(),tabIndex:x(i,t),...u};return e?o().createElement("path",nc({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("path",nc({},s,{ref:n}))}));function rc(){return rc=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},rc.apply(this,arguments)}const ic=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:x(r,t)?.toString(),tabIndex:x(i,t),...u};return e?o().createElement("circle",rc({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("circle",rc({},s,{ref:n}))})),oc=t=>o().createElement("defs",null,o().createElement("clipPath",{id:t.clipId?.toString()},t.children)),ac={pathComponent:o().createElement(ec,null),circleComponent:o().createElement(ic,null),clipPathComponent:o().createElement(oc,null),groupComponent:o().createElement("g",null),role:"presentation",shapeRendering:"auto"},uc=t=>{const n=function(t){const n=x(t.ariaLabel,t),e=x(t.id,t),r=x(t.size,t),i=w(t.style,t),o=x(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,id:e,size:r,style:i,tabIndex:o})}(g()({},t,ac)),{ariaLabel:e,role:r,shapeRendering:i,className:a,events:u,transform:s,style:c,size:l,tabIndex:f}=n,d=(t=>{const{polygon:n}=t;return Array.isArray(n)&&n.length?`M ${t.polygon?.join("L")} Z`:""})(n),h={"aria-label":e,className:a,role:r,shapeRendering:i,style:c,tabIndex:f,transform:s,...u},p=D(n);if(l){const t=o().cloneElement(n.circleComponent,{...h,key:`${n.id}-circle-clip`,clipPath:`url(#${n.clipId})`,cx:n.x,cy:n.y,r:l}),e=o().cloneElement(n.clipPathComponent,{key:`${n.id}-voronoi-clip`,clipId:n.clipId},o().cloneElement(n.pathComponent,{d:d,className:a}));return o().cloneElement(n.groupComponent,{},[e,t])}return o().cloneElement(n.pathComponent,{...h,...p,d:d})};function sc(t){return function(){return t}}function cc(t){return t[0]}function lc(t){return t[1]}function fc(){this._=null}function dc(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function hc(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function pc(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function gc(t){for(;t.L;)t=t.L;return t}fc.prototype={constructor:fc,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=gc(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(hc(this,e),e=(t=e).U),e.C=!1,r.C=!0,pc(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(pc(this,e),e=(t=e).U),e.C=!1,r.C=!0,hc(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?gc(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,hc(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,pc(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,hc(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,pc(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,hc(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,pc(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var yc=fc;function mc(t,n,e,r){var i=[null,null],o=Wc.push(i)-1;return i.left=t,i.right=n,e&&bc(i,t,n,e),r&&bc(i,n,t,r),Ic[t.index].halfedges.push(o),Ic[n.index].halfedges.push(o),i}function vc(t,n,e){var r=[n,e];return r.left=t,r}function bc(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function xc(t,n,e,r,i){var o,a=t[0],u=t[1],s=a[0],c=a[1],l=0,f=1,d=u[0]-s,h=u[1]-c;if(o=n-s,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=r-s,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}if(o=e-c,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>l&&(l=o)}if(o=i-c,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(t[0]=[s+l*d,c+l*h]),f<1&&(t[1]=[s+f*d,c+f*h]),!0)}}}}}function wc(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,l=t.right,f=c[0],d=c[1],h=l[0],p=l[1],g=(f+h)/2,y=(d+p)/2;if(p===d){if(g<n||g>=r)return;if(f>h){if(s){if(s[1]>=i)return}else s=[g,e];o=[g,i]}else{if(s){if(s[1]<e)return}else s=[g,i];o=[g,e]}}else if(u=y-(a=(f-h)/(p-d))*g,a<-1||a>1)if(f>h){if(s){if(s[1]>=i)return}else s=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(s){if(s[1]<e)return}else s=[(i-u)/a,i];o=[(e-u)/a,e]}else if(d<p){if(s){if(s[0]>=r)return}else s=[n,a*n+u];o=[r,a*r+u]}else{if(s){if(s[0]<n)return}else s=[r,a*r+u];o=[n,a*n+u]}return t[0]=s,t[1]=o,!0}function Mc(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function kc(t,n){return n[+(n.left!==t.site)]}function Ec(t,n){return n[+(n.left===t.site)]}var Ac,Cc=[];function Oc(){dc(this),this.x=this.y=this.arc=this.site=this.cy=null}function jc(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var a=i[0],u=i[1],s=r[0]-a,c=r[1]-u,l=o[0]-a,f=o[1]-u,d=2*(s*f-c*l);if(!(d>=-Hc)){var h=s*s+c*c,p=l*l+f*f,g=(f*h-c*p)/d,y=(s*p-l*h)/d,m=Cc.pop()||new Oc;m.arc=t,m.site=i,m.x=g+a,m.y=(m.cy=y+u)+Math.sqrt(g*g+y*y),t.circle=m;for(var v=null,b=zc._;b;)if(m.y<b.y||m.y===b.y&&m.x<=b.x){if(!b.L){v=b.P;break}b=b.L}else{if(!b.R){v=b;break}b=b.R}zc.insert(v,m),v||(Ac=m)}}}}function Sc(t){var n=t.circle;n&&(n.P||(Ac=n.N),zc.remove(n),Cc.push(n),dc(n),t.circle=null)}var Dc=[];function _c(){dc(this),this.edge=this.site=this.circle=null}function Lc(t){var n=Dc.pop()||new _c;return n.site=t,n}function Nc(t){Sc(t),$c.remove(t),Dc.push(t),dc(t)}function Tc(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];Nc(t);for(var s=o;s.circle&&Math.abs(e-s.circle.x)<Rc&&Math.abs(r-s.circle.cy)<Rc;)o=s.P,u.unshift(s),Nc(s),s=o;u.unshift(s),Sc(s);for(var c=a;c.circle&&Math.abs(e-c.circle.x)<Rc&&Math.abs(r-c.circle.cy)<Rc;)a=c.N,u.push(c),Nc(c),c=a;u.push(c),Sc(c);var l,f=u.length;for(l=1;l<f;++l)c=u[l],s=u[l-1],bc(c.edge,s.site,c.site,i);s=u[0],(c=u[f-1]).edge=mc(s.site,c.site,null,i),jc(s),jc(c)}function Pc(t){for(var n,e,r,i,o=t[0],a=t[1],u=$c._;u;)if((r=Fc(u,a)-o)>Rc)u=u.L;else{if(!((i=o-Uc(u,a))>Rc)){r>-Rc?(n=u.P,e=u):i>-Rc?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}!function(t){Ic[t.index]={site:t,halfedges:[]}}(t);var s=Lc(t);if($c.insert(n,s),n||e){if(n===e)return Sc(n),e=Lc(n.site),$c.insert(s,e),s.edge=e.edge=mc(n.site,s.site),jc(n),void jc(e);if(e){Sc(n),Sc(e);var c=n.site,l=c[0],f=c[1],d=t[0]-l,h=t[1]-f,p=e.site,g=p[0]-l,y=p[1]-f,m=2*(d*y-h*g),v=d*d+h*h,b=g*g+y*y,x=[(y*v-h*b)/m+l,(d*b-g*v)/m+f];bc(e.edge,c,p,x),s.edge=mc(c,t,null,x),e.edge=mc(t,p,null,x),jc(n),jc(e)}else s.edge=mc(n.site,s.site)}}function Fc(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],s=e[1],c=s-n;if(!c)return u;var l=u-r,f=1/o-1/c,d=l/c;return f?(-d+Math.sqrt(d*d-2*f*(l*l/(-2*c)-s+c/2+i-o/2)))/f+r:(r+u)/2}function Uc(t,n){var e=t.N;if(e)return Fc(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var $c,Ic,zc,Wc,Rc=1e-6,Hc=1e-12;function Bc(t,n){return n[1]-t[1]||n[0]-t[0]}function qc(t,n){var e,r,i,o=t.sort(Bc).pop();for(Wc=[],Ic=new Array(t.length),$c=new yc,zc=new yc;;)if(i=Ac,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(Pc(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;Tc(i.arc)}if(function(){for(var t,n,e,r,i=0,o=Ic.length;i<o;++i)if((t=Ic[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=Mc(t,Wc[n[e]]);for(a.sort((function(t,n){return u[n]-u[t]})),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}(),n){var a=+n[0][0],u=+n[0][1],s=+n[1][0],c=+n[1][1];!function(t,n,e,r){for(var i,o=Wc.length;o--;)wc(i=Wc[o],t,n,e,r)&&xc(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>Rc||Math.abs(i[0][1]-i[1][1])>Rc)||delete Wc[o]}(a,u,s,c),function(t,n,e,r){var i,o,a,u,s,c,l,f,d,h,p,g,y=Ic.length,m=!0;for(i=0;i<y;++i)if(o=Ic[i]){for(a=o.site,u=(s=o.halfedges).length;u--;)Wc[s[u]]||s.splice(u,1);for(u=0,c=s.length;u<c;)p=(h=Ec(o,Wc[s[u]]))[0],g=h[1],f=(l=kc(o,Wc[s[++u%c]]))[0],d=l[1],(Math.abs(p-f)>Rc||Math.abs(g-d)>Rc)&&(s.splice(u,0,Wc.push(vc(a,h,Math.abs(p-t)<Rc&&r-g>Rc?[t,Math.abs(f-t)<Rc?d:r]:Math.abs(g-r)<Rc&&e-p>Rc?[Math.abs(d-r)<Rc?f:e,r]:Math.abs(p-e)<Rc&&g-n>Rc?[e,Math.abs(f-e)<Rc?d:n]:Math.abs(g-n)<Rc&&p-t>Rc?[Math.abs(d-n)<Rc?f:t,n]:null))-1),++c);c&&(m=!1)}if(m){var v,b,x,w=1/0;for(i=0,m=null;i<y;++i)(o=Ic[i])&&(x=(v=(a=o.site)[0]-t)*v+(b=a[1]-n)*b)<w&&(w=x,m=o);if(m){var M=[t,n],k=[t,r],E=[e,r],A=[e,n];m.halfedges.push(Wc.push(vc(a=m.site,M,k))-1,Wc.push(vc(a,k,E))-1,Wc.push(vc(a,E,A))-1,Wc.push(vc(a,A,M))-1)}}for(i=0;i<y;++i)(o=Ic[i])&&(o.halfedges.length||delete Ic[i])}(a,u,s,c)}this.edges=Wc,this.cells=Ic,$c=zc=Wc=Ic=null}qc.prototype={constructor:qc,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return kc(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;return this.cells.forEach((function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u,s,c,l=e.site,f=-1,d=n[i[o-1]],h=d.left===l?d.right:d.left;++f<o;)a=h,h=(d=n[i[f]]).left===l?d.right:d.left,a&&h&&r<a.index&&r<h.index&&(s=a,c=h,((u=l)[0]-c[0])*(s[1]-u[1])-(u[0]-s[0])*(c[1]-u[1])<0)&&t.push([l.data,a.data,h.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var s=t-i.site[0],c=n-i.site[1],l=s*s+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=n-u[1],f=s*s+c*c;f<l&&(l=f,a=u.index)}}))}while(null!==a);return o._found=r,null==e||l<=e*e?i.site:null}};const Yc=t=>{const n=t.theme&&t.theme.voronoi&&t.theme.voronoi.style?t.theme.voronoi.style:{},e=function(t,n){const e="100%",r="100%";if(!t)return g()({parent:{height:r,width:e}},n);const{data:i,labels:o,parent:a}=t,u=n&&n.parent||{},s=n&&n.labels||{},c=n&&n.data||{};return{parent:g()({},a,u,{width:e,height:r}),labels:g()({},o,s),data:g()({},i,c)}}(t.style,n),r={x:E(t,"x"),y:E(t,"y")},i={x:wu(t,"x"),y:wu(t,"y")},o={x:ou(t,"x").domain(i.x).range(t.horizontal?r.y:r.x),y:ou(t,"y").domain(i.y).range(t.horizontal?r.x:r.y)};let a=yu(t);a=function(t,n,e){const r=t=>void 0!==t,i=Un(n.x),o=Fn(n.x),a=Un(n.y),u=Fn(n.y),s=t=>n=>r(n)&&n<t,c=t=>n=>r(n)&&n>t,l=s(i),f=s(a),d=c(o),h=c(u);return t.map((t=>{let{_x:n,_y:e,_y0:i,_y1:o}=t;(l(n)||d(n))&&(n=null);const s=r(i)?i:undefined,c=r(o)?o:e;return r(c)?(r(s)||!f(c)&&!h(c)||(e=null),(f(s)&&f(c)||h(s)&&h(c))&&(e=i=o=null),f(s)&&!f(c)&&(i=a),h(s)&&!h(c)&&(i=u),Object.assign({},t,An()({_x:n,_y:e,_y0:i,_y1:o},On()))):t}))}(a,i),a=a.filter((t=>null!==t._x&&null!==t._y));const u=((t,n,e)=>{const r=[Math.min(...n.x),Math.min(...n.y)],i=[Math.max(...n.x),Math.max(...n.y)];return function(){var t=cc,n=lc,e=null;function r(r){return new qc(r.map((function(e,i){var o=[Math.round(t(e,i,r)/Rc)*Rc,Math.round(n(e,i,r)/Rc)*Rc];return o.index=i,o.data=e,o})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:sc(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}().x((n=>t.polar?(t=>-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2)(n):(n=>t.horizontal?e.y(void 0!==n._y1?n._y1:n._y):e.x(void 0!==n._x1?n._x1:n._x))(n))).y((n=>(n=>t.horizontal?e.x(void 0!==n._x1?n._x1:n._x):e.y(void 0!==n._y1?n._y1:n._y))(n))).extent([r,i])})(t,r,o).polygons(a),s=t.polar?t.origin||function(t){const{width:n,height:e}=t,{top:r,bottom:i,left:o,right:a}=b(t),u=Math.min(n-o-a,e-r-i)/2,s=n/2+o-a,c=e/2+r-i;return{x:s+u>n?u+o-a:s,y:c+u>e?u+r-i:c}}(t):void 0;return{domain:i,data:a,scale:o,style:e,polygons:u,origin:s}},Vc={width:450,height:300,padding:50};class Gc extends o().Component{static animationWhitelist=["data","domain","height","padding","samples","size","style","width"];static displayName="VictoryVoronoi";static role="voronoi";static defaultTransitions={onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}};static defaultProps={containerComponent:o().createElement(U,null),dataComponent:o().createElement(uc,null),labelComponent:o().createElement(kt,null),groupComponent:o().createElement("g",{role:"presentation"}),samples:50,sortOrder:"ascending",standalone:!0,theme:mn};static getDomain=wu;static getData=yu;static getBaseProps(t){return((t,n)=>{const e=j(t,n,"scatter"),r=Object.assign({},e,Yc(e)),{data:i,domain:o,events:a,height:u,origin:s,padding:c,polar:l,polygons:f,scale:d,sharedEvents:h,standalone:p,style:g,theme:y,width:m,labels:b,name:x}=r,w={parent:{style:g.parent,scale:d,domain:o,data:i,standalone:p,height:u,width:m,theme:y,origin:s,polar:l,padding:c,name:x}};return i.reduce(((t,n,e)=>{const o=f[e]?.filter((t=>"data"!==t)),u=A(n.eventKey)?e:n.eventKey,{x:c,y:l}=v(r,n),p={x:c,y:l,datum:n,data:i,index:e,scale:d,polygon:o,origin:s,size:r.size,style:g.data};return t[u]={data:p},(null!=V(r,n,e)||b&&(a||h))&&(t[u].labels=K(r,e)),t}),w)})(t,Vc)}static expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];shouldAnimate(){return!!this.props.animate}render(){const{animationWhitelist:t,role:n}=Kc,r=j(this.props,Vc,n);if(this.shouldAnimate())return this.animateComponent(r,t);const i=this.renderData(r);return((t,n)=>e.cloneElement(t,D(n)))(r.standalone?this.renderContainer(r.containerComponent,i):i,r)}}const Kc=(Zc=Gc,void 0===Qc&&(Qc={}),class extends Zc{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Zs.bind(this);getScopedEvents=Ks.bind(this);getEvents=(t,n,e)=>Gs.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=!ju()(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 ju()(this.calculatedState,i)?!ju()(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);Pn(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Pn(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(Xs(t),n)}removeGlobalListener(t){window.removeEventListener(Xs(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=g()({},this.getEventState(t,n),this.getSharedEventState(t,n));return I()(e)?void 0:e};return(Qc.components||tc).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!I()(n)){const e=t.externalEventMutations.reduce(((t,n)=>C(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=C(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}(t,Zc.expectedComponents),r=n&&C(n.getEventState)?n.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return I()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((i,o)=>{const a=e[o]||{},u=n[o]||{};if("parent"===o){const n=Qs(t,u,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=Nn()(Object.keys(u).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},s=Qs(t,u[e],a[e],i);return n[e]=void 0!==s?Object.assign({},a[e],s):a[e],Ys()(n,(t=>!I()(t)))}),{})}return Ys()(i,(t=>!I()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),i=g()({},r,e),o=i.parentControlledProps,a=o?f()(i,o):{},u=g()({},a,t);return"function"==typeof Zc.getBaseProps?Zc.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||Zc.role,i=this.dataKeys&&this.dataKeys[e]||e,o=`${r}-${n}-${i}`,a=this.baseProps[i]&&this.baseProps[i][n]||this.baseProps[i];if(!a&&!this.hasEvents)return;const u=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,i),r=g()({index:e,key:o},this.getEventState(i,n),this.getSharedEventState(i,n),u,a,{id:o}),s=g()({},function(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:s})}return g()({index:e,key:o},u,a,{id:o})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,Ys()(r,((t,n)=>Vs.test(n)))),e.events=(t=>An()(t,((t,n)=>Vs.test(n))))(e.events)),o().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return o().createElement(Bs,{animate:t.animate,animationWhitelist:e},o().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),a=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(o().cloneElement(e,i))),r}),[]),u=this.getComponentProps(n,"data","all"),s=[o().cloneElement(n,u),...a];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=Js);const{dataComponent:e,labelComponent:r,groupComponent:i}=t,a=[...this.dataKeys.reduce(((t,r,i)=>{const a=this.getComponentProps(e,"data",i);return n(a.datum)&&t.push(o().cloneElement(e,a)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return o().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,a)}});var Zc,Qc}(),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.VictoryVoronoi=n(require("react")):t.VictoryVoronoi=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),u=e(8541);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},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),u=e(8541);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,u){var s=-1,c=n.length;for(o||(o=i),u||(u=[]);++s<c;){var l=n[s];e>0&&o(l)?e>1?t(l,e-1,o,a,u):r(u,l):a||(u[u.length]=l)}return u}},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,u){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,u))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),u=e(9667),s=e(163),c=e(4801),l=e(4289),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,v){var m=s(t),b=s(n),x=m?d:u(t),w=b?d:u(n),M=(x=x==f?h:x)==h,k=(w=w==f?h:w)==h,E=x==w;if(E&&c(t)){if(!c(n))return!1;m=!0,M=!1}if(E&&!M)return v||(v=new r),m||l(t)?i(t,n,e,g,y,v):o(t,n,x,e,g,y,v);if(!(1&e)){var A=M&&p.call(t,"__wrapped__"),C=k&&p.call(n,"__wrapped__");if(A||C){var O=A?t.value():t,j=C?n.value():n;return v||(v=new r),y(O,j,e,g,v)}}return!!E&&(v||(v=new r),a(t,n,e,g,y,v))}},9548:function(t,n,e){var r=e(8708),i=e(9070);t.exports=function(t,n,e,o){var a=e.length,u=a,s=!o;if(null==t)return!u;for(t=Object(t);a--;){var c=e[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var l=(c=e[a])[0],f=t[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(o)var p=o(f,d,l,t,n,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),u=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):u(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),u=e(5385),s=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&u(n)?s(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),u=e(9521),s=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 d=-1;n=r(n,s(o));var h=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++d,value:t}}));return u(h,(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,u=n.length,s={};++a<u;){var c=n[a],l=r(t,c);e(l,c)&&i(s,o(c,t),l)}return s}},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),u=e(3110);t.exports=function(t,n,e,s){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,d=t;null!=d&&++c<l;){var h=u(n[c]),p=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=f){var g=d[h];void 0===(p=s?s(g,h,d):void 0)&&(p=a(g)?g:o(n[c+1])?[]:{})}r(d,h,p),d=d[h]}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 u=t[e],s=n?n(u):u;if(!e||!r(s,c)){var c=s;a[o++]=0===u?0:u}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),u=r?r.prototype:void 0,s=u?u.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 s?s.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),u=e(6602),s=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,d=!0,h=[],p=h;if(e)d=!1,l=o;else if(f>=200){var g=n?null:u(t);if(g)return s(g);d=!1,l=a,p=new r}else p=n?[]:h;t:for(;++c<f;){var y=t[c],v=n?n(y):y;if(y=e||0!==y?y:0,d&&v==v){for(var m=p.length;m--;)if(p[m]===v)continue t;n&&p.push(v),h.push(y)}else l(p,v,e)||(p!==h&&p.push(v),h.push(y))}return h}},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),u=void 0!==n,s=null===n,c=n==n,l=r(n);if(!s&&!l&&!a&&t>n||a&&u&&c&&!s&&!l||i&&u&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||s&&e&&o||!u&&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,u=o.length,s=e.length;++i<u;){var c=r(o[i],a[i]);if(c)return i>=s?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,u,s){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var d=s.get(t),h=s.get(n);if(d&&h)return d==n&&h==t;var p=-1,g=!0,y=2&e?new r:void 0;for(s.set(t,n),s.set(n,t);++p<l;){var v=t[p],m=n[p];if(a)var b=c?a(m,v,p,n,t,s):a(v,m,p,t,n,s);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(v===t||u(v,t,e,a,s)))return y.push(n)}))){g=!1;break}}else if(v!==m&&!u(v,m,e,a,s)){g=!1;break}}return s.delete(t),s.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,u){var s=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in n:i.call(n,d)))return!1}var h=u.get(t),p=u.get(n);if(h&&p)return h==n&&p==t;var g=!0;u.set(t,n),u.set(n,t);for(var y=s;++f<l;){var v=t[d=c[f]],m=n[d];if(o)var b=s?o(m,v,d,n,t,u):o(v,m,d,t,n,u);if(!(void 0===b?v===m||a(v,m,e,o,u):b)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return u.delete(t),u.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),u=e(8454),s=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var d=s(n[c]);if(!(f=null!=t&&e(t,d)))break;t=t[d]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(d,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,u=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},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,u=i(o.length-n,0),s=Array(u);++a<u;)s[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(s),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),u=Object.prototype,s=u.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),d=-1,h=f.length;++d<h;){var p=f[d],g=t[p];(void 0===g||i(g,u[p])&&!s.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,u=a?i(a):r;t.exports=u},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),u=e(981),s=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||s(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,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.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&&s.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(!o(t[s],a[s]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=t.entries();!(s=l.next()).done;)if(!o(s.value[1],a.get(s.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();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(t[s]!==a[s])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((u=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(n&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!t.$$typeof)&&!o(t[c[s]],a[c[s]]))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,{VictoryVoronoi:function(){return Kc},Voronoi:function(){return uc}});var t={};r.r(t),r.d(t,{scaleBand:function(){return Yn},scaleDiverging:function(){return Ka},scaleDivergingLog:function(){return Za},scaleDivergingPow:function(){return Xa},scaleDivergingSqrt:function(){return Ja},scaleDivergingSymlog:function(){return Qa},scaleIdentity:function(){return _r},scaleImplicit:function(){return Bn},scaleLinear:function(){return Dr},scaleLog:function(){return zr},scaleOrdinal:function(){return qn},scalePoint:function(){return Gn},scalePow:function(){return Kr},scaleQuantile:function(){return ui},scaleQuantize:function(){return si},scaleRadial:function(){return Jr},scaleSequential:function(){return Wa},scaleSequentialLog:function(){return Ra},scaleSequentialPow:function(){return Ba},scaleSequentialQuantile:function(){return Ya},scaleSequentialSqrt:function(){return qa},scaleSequentialSymlog:function(){return Ha},scaleSqrt:function(){return Zr},scaleSymlog:function(){return Br},scaleThreshold:function(){return ci},scaleTime:function(){return Ua},scaleUtc:function(){return $a},tickFormat:function(){return jr}});var n={};r.r(n),r.d(n,{easeBack:function(){return is},easeBackIn:function(){return es},easeBackInOut:function(){return is},easeBackOut:function(){return rs},easeBounce:function(){return Ju},easeBounceIn:function(){return Xu},easeBounceInOut:function(){return ts},easeBounceOut:function(){return Ju},easeCircle:function(){return Zu},easeCircleIn:function(){return Gu},easeCircleInOut:function(){return Zu},easeCircleOut:function(){return Ku},easeCubic:function(){return Fu},easeCubicIn:function(){return Nu},easeCubicInOut:function(){return Fu},easeCubicOut:function(){return Tu},easeElastic:function(){return us},easeElasticIn:function(){return as},easeElasticInOut:function(){return ss},easeElasticOut:function(){return us},easeExp:function(){return Vu},easeExpIn:function(){return qu},easeExpInOut:function(){return Vu},easeExpOut:function(){return Yu},easeLinear:function(){return Su},easePoly:function(){return $u},easePolyIn:function(){return Pu},easePolyInOut:function(){return $u},easePolyOut:function(){return Uu},easeQuad:function(){return Lu},easeQuadIn:function(){return Du},easeQuadInOut:function(){return Lu},easeQuadOut:function(){return _u},easeSin:function(){return Hu},easeSinIn:function(){return Wu},easeSinInOut:function(){return Hu},easeSinOut:function(){return Ru}});var e=r(9787),o=r.n(e),a=r(660),u=r.n(a);function s(){return s=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},s.apply(this,arguments)}const c=o().forwardRef(((t,n)=>o().createElement("svg",s({ref:n},t))));var l=r(9082),f=r.n(l),d=r(8532),h=r.n(d),p=r(1893),g=r.n(p);function y(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 v(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:u,_y0:s,_voronoiY:c}=t,l=n(r)?r:e,f=n(u)?u:a,d={x:n(o)?o:l,x0:n(i)?i:e,y:n(c)?c:f,y0:n(s)?s:a};return g()({},d,t)}function m(t,n){const{scale:e,polar:r,horizontal:i}=t,o=v(n),a=t.origin||{x:0,y:0},u=i?e.y(o.y):e.x(o.x),s=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(u)+a.x:u,x0:r?l*Math.cos(s)+a.x:s,y:r?-c*Math.sin(u)+a.y:c,y0:r?-l*Math.sin(s)+a.x:l}}function b(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 x(t,n){return C(t)?t(n):t}function w(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>C(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=x(t[r],n),e)),{}):t}function M(t){return"number"==typeof t?t*(Math.PI/180):t}function k(t){const{left:n,right:e,top:r,bottom:i}=b(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function E(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?[M(t.startAngle||0),M(t.endAngle||360)]:[t.innerRadius||0,k(t)]}(t,n):function(t,n){const e="x"!==n,r=b(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function A(t){return null==t}function C(t){return"function"==typeof t}function O(t){return C(t)?t:null==t?t=>t:h()(t)}function j(t,n,e){const r=y(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(o().Children.toArray(r.children))}),!1);return n(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return g()(a,t,r,n)}const S={startsWith:["data-","aria-"],exactMatch:[]},D=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return S.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>S.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,x(r,t)]})))},_=o().createContext(void 0);_.displayName="PortalContext";const L=()=>o().useContext(_),N=t=>{let{children:n}=t;const[e,r]=o().useState(new Map),i=o().useCallback(((t,n)=>{r((e=>{const r=new Map(e);return r.set(t,n),r}))}),[r]),a=o().useCallback((t=>{r((n=>{const e=new Map(n);return e.delete(t),e}))}),[r]),u=o().useMemo((()=>({addChild:i,removeChild:a,children:e})),[i,a,e]);return o().createElement(_.Provider,{value:u},n)},T=t=>{let{as:n,...e}=t;const r=L();if(!r)return null;const i=Array.from(r.children.values());return o().cloneElement(n,e,i)};function F(){return F=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},F.apply(this,arguments)}const P={className:"VictoryContainer",portalComponent:o().createElement(c,null),portalZIndex:99,responsive:!0,role:"img"},U=t=>{const{role:n,title:r,desc:i,children:a,className:s,portalZIndex:c,portalComponent:l,width:f,height:d,style:h,tabIndex:p,responsive:g,events:y,ouiaId:v,ouiaSafe:m,ouiaType:b,dimensions:x,ariaDescribedBy:w,ariaLabelledBy:M,viewBox:k,preserveAspectRatio:E,userProps:A,titleId:O,descId:j,containerRef:S,localContainerRef:_}=function(t){const n={...P,...t},{title:r,desc:i,width:o,height:a,responsive:s}=n,c=(0,e.useRef)(null),l=(0,e.useRef)(u()("victory-container-")),f=n.containerId??l.current,d=t=>`${f}-${t}`,h=D(n),p=s?{width:"100%",height:"100%"}:{width:o,height:a},g=s?`0 0 ${o} ${a}`:void 0,y=s?n.preserveAspectRatio:void 0,v=[r&&d("title"),n["aria-labelledby"]].filter(Boolean).join(" ")||void 0,m=[i&&d("desc"),n["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=d("title"),x=d("desc");return{...n,titleId:b,descId:x,dimensions:p,viewBox:g,preserveAspectRatio:y,ariaLabelledBy:v,ariaDescribedBy:m,userProps:h,localContainerRef:c}}(t);return o().useEffect((()=>{if(!y?.onWheel)return;const t=t=>t.preventDefault(),n=_?.current;return n?.addEventListener("wheel",t),()=>{n?.removeEventListener("wheel",t)}}),[]),o().createElement("div",{className:s,style:{...h,width:g?h?.width:x.width,height:g?h?.height:x.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":v,"data-ouia-component-type":b,"data-ouia-safe":m,ref:(L=[_,S],t=>{L.forEach((n=>{C(n)?n(t):null!=n&&(n.current=t)}))})},o().createElement(N,null,o().createElement("svg",F({width:f,height:d,tabIndex:p,role:n,"aria-labelledby":M,"aria-describedby":w,viewBox:k,preserveAspectRatio:E,style:{...x,pointerEvents:"all"}},A,y),r?o().createElement("title",{id:O},r):null,i?o().createElement("desc",{id:j},i):null,a),o().createElement("div",{style:{...x,zIndex:c,position:"absolute",top:0,left:0}},o().createElement(T,{as:l,width:f,height:d,viewBox:k,preserveAspectRatio:E,style:{...x,overflow:"visible"}}))));var L};U.role="container";var $=r(4155),I=r.n($);const z={groupComponent:o().createElement("g",null)},W=t=>{const n={...z,...t},[r]=(0,e.useState)(u()()),i=L(),a=Array.isArray(n.children)?n.children[0]:n.children,{groupComponent:s}=n,c=a&&a.props||{},l=c.groupComponent?{groupComponent:s,standalone:!1}:{},f=g()(l,c,y(n,["children","groupComponent"]),{key:c.key??r}),d=a&&o().cloneElement(a,f);return o().useEffect((()=>{i?.addChild(r,d)}),[n.children]),o().useEffect((()=>()=>i?.removeChild(r)),[]),i?null:d};function R(){return R=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},R.apply(this,arguments)}W.role="portal";const H=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:x(r,t)?.toString(),tabIndex:x(i,t),...u};return e?o().createElement("rect",R({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("rect",R({},s,{ref:n}))})),B=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:a,title:u,...s}=t,c={id:x(r,t)?.toString(),tabIndex:x(a,t),...s};return o().createElement("text",c,u&&o().createElement("title",null,u),e&&o().createElement("desc",null,e),n)},q=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...a}=t,u={id:x(e,t)?.toString(),tabIndex:x(r,t),...a};return o().createElement("tspan",u)};function Y(t){const{labelComponent:n,labelPlacement:e,polar:r}=t,i=r?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||i}function V(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function G(t,n){const{x:e}=v(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}function K(t,n){const{scale:e,data:r,style:i,horizontal:o,polar:a,width:u,height:s,theme:c,labelComponent:l,disableInlineStyles:f}=t,d=r[n],h=G(t,d),p=a?function(t,n){const e=Y(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,h):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,d),v=a?function(t,n){const e=Y(t),r=function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}(n);return"parallel"===e||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}(t,h):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,d),b=function(t,n){void 0===n&&(n={});const e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,d),w=V(t,d,n),k=Y(t),{x:E,y:A}=function(t,n){const{polar:e}=t,{x:r,y:i}=m(t,n);if(!e)return{x:r,y:i};const o=function(t,n){const{style:e}=t,r=G(t,n),i=x((e.labels||{}).padding,t)||0,o=M(r);return{x:i*Math.cos(o),y:-i*Math.sin(o)}}(t,n);return{x:r+o.x,y:i+o.y}}(t,d),{dx:C,dy:O}=function(t,n){if(t.polar)return{};const e=function(t,n){void 0===n&&(n={});const{horizontal:e,style:r}=t,i=x((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,d),j={angle:b,data:r,datum:d,disableInlineStyles:f,horizontal:o,index:n,polar:a,scale:e,labelPlacement:k,text:w,textAnchor:p,verticalAnchor:v,x:E,y:A,dx:C,dy:O,width:u,height:s,style:i.labels};if("tooltip"!==((S=l)&&S.type&&S.type.role))return j;var S;const D=c&&c.tooltip||{};return g()({},j,y(D,["style"]))}const Z=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,Z(n)].join(" ")),Z(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];i.push(`${n}(${e})`)}return i.join(" ").trim()};var Q=r(1594),X=r.n(Q);const J={"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}},tt={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},nt={em:1,ex:.5},et={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},rt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),it=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},ot=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?tt.hasOwnProperty(e)?r*tt[e]:nt.hasOwnProperty(e)?(n?r*n:r*et.fontSize)*nt[e]:r:r||0,i},at=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=g()({},e,et);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:ot(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:ot(String(r.fontSize))})},ut=(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:rt(t).reduce(((t,e,r)=>{const i=at(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=rt(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=at(n,e),u=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>J[t]))||"Helvetica";return J[n]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<u.widths.length?u.widths[t.charCodeAt(0)]:u.avg)).reduce(((t,n)=>n+t),0)*i+o*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?it(i,r,e):i,height:1.05*(e?it(r,i,e):r)}},st=X()((()=>{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})),ct=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",lt=X()(((t,n)=>{let e=st();e.isConnected||(st.cache.clear?.(),e=st());const r=rt(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=at(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?it(o,i,n?.angle):o,height:n?.angle?it(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(ct).join():ct(n)}`)),ft=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?ut(t,n):lt(t,n)}(t,n),dt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},ht=(t,n)=>t.datum?m(t,t.datum)[n]:0,pt=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return dt.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?dt.fontSize:t}return dt.fontSize},gt=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},yt=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!I()(n)||Array.isArray(e)&&!I()(e)},vt=(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)}},mt=(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)}},bt=(t,n)=>yt(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:a,backgroundPadding:u,backgroundComponent:s,inline:c,y:l}=t,f=n.map(((t,i)=>{const o=gt(n,i-1),a=t.textSize,s=t.fontSize*t.lineHeight,f=Math.ceil(s),d=gt(u,i),h=gt(u,i-1),p=c&&r||0,g=i&&!c?o.fontSize*o.lineHeight+h.top+h.bottom:e-.5*s-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+d.top+d.bottom,widthWithPadding:a.width+d.left+d.right+p,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((n,e)=>{const r=vt(t,n.labelSize.width),d=f.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),h=gt(u,e),p=n.heightWithPadding,y=c?((t,n,e)=>{const{textAnchor:r}=t,i=n.map((t=>t.widthWithPadding)),o=-i.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return i.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return i.reduce(((t,n,r)=>r>e?t-n:t),0);default:return i.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),o)}})(t,f,e)+r-h.left:r,v=c?mt(t,p)-h.top:d,m={key:`tspan-background-${e}`,height:p,style:gt(a,e),width:n.widthWithPadding,transform:i,x:y-h.left,y:v};return o().cloneElement(s,g()({},s.props,m))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:a,inline:u,backgroundPadding:s,capHeight:c}=t,l=n.map((t=>t.textSize)),f=u?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const i=r?0:c/2;return t+e.height*(n[r].lineHeight-i)}),0),d=u?l.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...l.map((t=>t.width))),h=vt(t,d),p=mt(t,f),y={key:"background",height:f+s.top+s.bottom,style:a,transform:r,width:d+s.left+s.right,x:u?h-s.left:h+e-s.left,y:p};return o().cloneElement(i,g()({},i.props,y))})(t,n),xt=(t,n,e)=>{const{inline:r}=n,i=gt(t,e);return e&&!r?((t,n,e)=>{const r=gt(t,n),i=gt(t,n-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,u=i.fontSize-i.capHeight,s=r.fontSize-r.capHeight,c=o-i.fontSize/2+r.fontSize/2-o/2+a/2-s/2+u/2;return yt(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},wt=t=>{const n=x(t.ariaLabel,t),e=gt(t.style),r=(t=>{const n=x(t.lineHeight,t);return Array.isArray(n)&&I()(n)?[1]:n})(t),i=t.direction?x(t.direction,t):"inherit",o=t.textAnchor?x(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?x(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?x(t.dx,t):0,s=((t,n,e)=>{const r=t.dy?x(t.dy,t):0,i=t.inline?1:t.text.length,o=x(t.capHeight,t),a=n?x(n,t):"middle",u=[...Array(i).keys()].map((n=>gt(t.style,n).fontSize)),s=[...Array(i).keys()].map((t=>gt(e,t)));if("start"===a)return r+(o/2+s[0]/2)*u[0];if(t.inline)return"end"===a?r+(o/2-s[0]/2)*u[0]:r+o/2*u[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*s[0])*u[0]:r+(o/2+(.5-i/2)*s[0])*u[0];const c=[...Array(i).keys()].reduce(((t,n)=>t+(o/2+(.5-i)*s[n])*u[n]/i),0);return"end"===a?r+c:r+c/2+o/2*s[i-1]*u[i-1]})(t,a,r),c=void 0!==t.x?t.x:ht(t,"x"),l=void 0!==t.y?t.y:ht(t,"y"),f=((t,n,e)=>{const{polar:r}=t,i=gt(t.style),o=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=G(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===i.angle?x(t.angle,t):i.angle,u=void 0===a?o:a,s=t.transform||i.transform,c=s&&x(s,t);return c||u?Z(c,u&&{rotate:[u,n,e]}):void 0})(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:u,dy:s,originalDy:x(t.dy,t),transform:f,x:c,y:l})},Mt={backgroundComponent:o().createElement(H,null),groupComponent:o().createElement("g",null),direction:"inherit",textComponent:o().createElement(B,null),tspanComponent:o().createElement(q,null),capHeight:.71,lineHeight:1},kt=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>x(t,n)));const e=x(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=w(t,n);return{fontSize:pt(e)}}const e=t=>{const e=w(t?g()({},t,dt):dt,n);return Object.assign({},e,{fontSize:pt(e)})};return Array.isArray(t)&&!I()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!I()(t)?t.map((t=>w(t,n))):w(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>b({padding:x(n,t)}))):b({padding:x(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=x(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})(g()({},t,Mt));if(null===n.text||void 0===n.text)return null;const e=wt(n),{text:r,style:i,capHeight:a,backgroundPadding:u,lineHeight:s}=e,c=r.map(((t,n)=>{const e=gt(i,n),r=ot(`${a}em`,e.fontSize),o=gt(s,n);return{style:e,fontSize:e.fontSize||dt.fontSize,capHeight:r,text:t,textSize:ft(t,e),lineHeight:o,backgroundPadding:gt(u,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:a,events:u,direction:s,text:c,textAnchor:l,dx:f,dy:d,transform:h,x:p,y:g,desc:y,id:v,tabIndex:m,tspanComponent:b,textComponent:w}=t,M=D(t),k={"aria-label":e,key:"text",...u,direction:s,dx:f,x:p,y:g+d,transform:h,className:i,title:a,desc:x(y,t),tabIndex:x(m,t),id:v,...M},E=c.map(((e,i)=>{const a=n[i].style,u={key:`${v}-key-${i}`,x:r?void 0:p,dx:r?f+n[i].backgroundPadding.left:f,dy:xt(n,t,i),textAnchor:a.textAnchor||l,style:a,children:e};return o().cloneElement(b,u)}));return o().cloneElement(w,k,E)})(e,c);if(n.backgroundStyle){const t=[bt(e,c),l],r=o().cloneElement(n.groupComponent,{},t);return n.renderInPortal?o().createElement(W,null,r):r}return n.renderInPortal?o().createElement(W,null,l):l};kt.displayName="VictoryLabel",kt.role="label",kt.defaultStyles=dt;const Et=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],At="#252525",Ct="#969696",Ot={width:450,height:300,padding:50,colorScale:Et},jt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:At,stroke:"transparent"},St=Object.assign({textAnchor:"middle"},jt),Dt={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Et,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:At},labels:jt}},Ot),axis:Object.assign({style:{axis:{fill:"transparent",stroke:At,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},St,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:jt}},Ot),bar:Object.assign({style:{data:{fill:At,padding:8,strokeWidth:0},labels:jt}},Ot),boxplot:Object.assign({style:{max:{padding:8,stroke:At,strokeWidth:1},maxLabels:Object.assign({},jt,{padding:3}),median:{padding:8,stroke:At,strokeWidth:1},medianLabels:Object.assign({},jt,{padding:3}),min:{padding:8,stroke:At,strokeWidth:1},minLabels:Object.assign({},jt,{padding:3}),q1:{padding:8,fill:Ct},q1Labels:Object.assign({},jt,{padding:3}),q3:{padding:8,fill:Ct},q3Labels:Object.assign({},jt,{padding:3})},boxWidth:20},Ot),candlestick:Object.assign({style:{data:{stroke:At,strokeWidth:1},labels:Object.assign({},jt,{padding:5})},candleColors:{positive:"#ffffff",negative:At}},Ot),chart:Ot,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:At,strokeWidth:2},labels:jt}},Ot),group:Object.assign({colorScale:Et},Ot),histogram:Object.assign({style:{data:{fill:Ct,stroke:At,strokeWidth:2},labels:jt}},Ot),legend:{colorScale:Et,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:jt,title:Object.assign({},jt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:At,strokeWidth:2},labels:jt}},Ot),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},jt,{padding:20})},colorScale:Et,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:At,stroke:"transparent",strokeWidth:0},labels:jt}},Ot),stack:Object.assign({colorScale:Et},Ot),tooltip:{style:Object.assign({},jt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:At,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({},jt,{padding:5,pointerEvents:"none"}),flyout:{stroke:At,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ot)},_t="#FFF59D",Lt="#F4511E",Nt="#8BC34A",Tt="#00796B",Ft="#006064",Pt=[Lt,_t,"#DCE775",Nt,Tt,Ft],Ut="#ECEFF1",$t="#90A4AE",It="#455A64",zt="#212121",Wt={width:350,height:350,padding:50},Rt={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:It,stroke:"transparent",strokeWidth:0},Ht=Object.assign({textAnchor:"middle"},Rt),Bt="round",qt="round",Yt=(Object.assign({style:{data:{fill:zt},labels:Rt}},Wt),Object.assign({style:{axis:{fill:"transparent",stroke:$t,strokeWidth:2,strokeLinecap:Bt,strokeLinejoin:qt},axisLabel:Object.assign({},Ht,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Ut,strokeDasharray:"10, 5",strokeLinecap:Bt,strokeLinejoin:qt,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:$t,strokeWidth:1,strokeLinecap:Bt,strokeLinejoin:qt},tickLabels:Object.assign({},Rt,{fill:It})}},Wt),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:It,padding:8,strokeWidth:0},labels:Rt}},Wt),Object.assign({style:{max:{padding:8,stroke:It,strokeWidth:1},maxLabels:Object.assign({},Rt,{padding:3}),median:{padding:8,stroke:It,strokeWidth:1},medianLabels:Object.assign({},Rt,{padding:3}),min:{padding:8,stroke:It,strokeWidth:1},minLabels:Object.assign({},Rt,{padding:3}),q1:{padding:8,fill:It},q1Labels:Object.assign({},Rt,{padding:3}),q3:{padding:8,fill:It},q3Labels:Object.assign({},Rt,{padding:3})},boxWidth:20},Wt),Object.assign({style:{data:{stroke:It},labels:Object.assign({},Rt,{padding:5})},candleColors:{positive:"#ffffff",negative:It}},Wt),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:It,strokeWidth:2},labels:Rt}},Wt),Object.assign({colorScale:Pt},Wt),Object.assign({style:{data:{fill:It,stroke:zt,strokeWidth:2},labels:Rt}},Wt),Object.assign({},Rt,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:It,strokeWidth:2},labels:Rt}},Wt),Object.assign({colorScale:Pt,style:{data:{padding:8,stroke:Ut,strokeWidth:1},labels:Object.assign({},Rt,{padding:20})}},Wt),Object.assign({style:{data:{fill:It,opacity:1,stroke:"transparent",strokeWidth:0},labels:Rt}},Wt),Object.assign({colorScale:Pt},Wt),Object.assign({},Rt,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Rt,{padding:5,pointerEvents:"none"}),flyout:{stroke:zt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Wt),"#FFFFFF"),Vt="#F2F2F2",Gt="#E0E0E0",Kt="#D1D1D1",Zt="#757575",Qt="#424242",Xt="#292929",Jt="#FCB400",tn="#FF6F2C",nn={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},en="#8B46FF",rn={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},on="#18BFFF",an="#20D9D2",un={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},sn={blue:rn[500],cyan:on,green:un[500],yellow:Jt,orange:tn,red:nn[500],purple:en,teal:an},cn=Object.values(sn),ln=(Object.values(nn),Object.values(un),Object.values(rn),rn[500]),fn={width:450,height:300,padding:60,colorScale:cn},dn={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:Xt,stroke:"transparent"},hn=Object.assign({textAnchor:"middle"},dn),pn="10, 5",gn="round",yn="round",vn=(Object.assign({style:{data:{fill:ln,strokeWidth:2,fillOpacity:.5},labels:dn}},fn),Object.assign({style:{axis:{fill:"transparent",stroke:Zt,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:yn},axisLabel:Object.assign({},hn,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:dn}},fn),Object.assign({style:{axis:{stroke:Zt},grid:{stroke:Kt,strokeDasharray:pn,strokeLinecap:gn,strokeLinejoin:yn,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Kt,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:yn},tickLabels:dn}}),Object.assign({style:{axis:{stroke:Zt},grid:{stroke:Kt,strokeDasharray:pn,strokeLinecap:gn,strokeLinejoin:yn,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Gt,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:yn},tickLabels:dn}}),Object.assign({style:{data:{fill:ln,padding:8,strokeWidth:1,fillOpacity:.5},labels:dn},cornerRadius:{top:1}},fn),Object.assign({style:{max:{padding:8,stroke:Kt,strokeWidth:2},maxLabels:Object.assign({},dn,{padding:3}),median:{padding:8,stroke:Yt,strokeWidth:2},medianLabels:Object.assign({},dn,{padding:3}),min:{padding:8,stroke:Kt,strokeWidth:2},minLabels:Object.assign({},dn,{padding:3}),q1:{padding:8,fill:cn[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},dn,{padding:3}),q3:{padding:8,fill:cn[1],rx:1},q3Labels:Object.assign({},dn,{padding:3})},boxWidth:20},fn),Object.assign({style:{data:{stroke:Gt,strokeWidth:0,rx:1},labels:Object.assign({},dn,{padding:5})},candleColors:{positive:un[500],negative:nn[500]},wickStrokeWidth:2},fn),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Qt,strokeWidth:2,strokeLinecap:gn},labels:dn}},fn),Object.assign({colorScale:cn},fn),Object.assign({style:{data:{fill:on,fillOpacity:.5},labels:dn},binSpacing:4,cornerRadius:{top:1}},fn),Object.assign({},dn,{padding:8,fontSize:16}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ln,strokeWidth:2,strokeLinecap:gn,strokeLinejoin:yn},labels:dn}},fn),Object.assign({style:{parent:{backgroundColor:Yt},data:{padding:8,stroke:Yt,strokeWidth:1},labels:{...dn,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:cn,cornerRadius:1},fn),Object.assign({style:{data:{fill:ln,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...dn,padding:20}}},fn),Object.assign({colorScale:cn},fn),Object.assign({},dn,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:rn[100],stroke:ln,strokeWidth:2},labels:Object.assign({},dn,{padding:5,pointerEvents:"none"}),flyout:{stroke:Xt,strokeWidth:1,fill:Vt,pointerEvents:"none"},padding:{left:2,bottom:2}}},fn),Dt);var mn=r(4295),bn=r.n(mn),xn=r(2829),wn=r.n(xn),Mn=r(3849),kn=r.n(Mn),En=r(1616),An=r.n(En),Cn=r(8999),On=r.n(Cn),jn=r(8254),Sn=r.n(jn),Dn=r(4143),_n=r.n(Dn),Ln=r(9602),Nn=r.n(Ln);function Tn(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Fn(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function Pn(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 Tn(i)?new Date(Math.max(...i)):Math.max(...i)}function Un(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 Tn(i)?new Date(Math.min(...i)):Math.min(...i)}function $n(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 In(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function zn(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 Wn extends Map{constructor(t,n=Hn){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(Rn(this,t))}has(t){return super.has(Rn(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 Rn({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function Hn(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const Bn=Symbol("implicit");function qn(){var t=new Wn,n=[],e=[],r=Bn;function i(i){let o=t.get(i);if(void 0===o){if(r!==Bn)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 Wn;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 qn(n,e).unknown(r)},In.apply(i,arguments),i}function Yn(){var t,n,e=qn().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,s=0,c=0,l=.5;function f(){var e=r().length,f=a<o,d=f?a:o,h=f?o:a;t=(h-d)/Math.max(1,e-s+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(e-s))*l,n=t*(1-s),u&&(d=Math.round(d),n=Math.round(n));var p=$n(e).map((function(n){return d+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),f()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),f()):s},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 Yn(r(),[o,a]).round(u).paddingInner(s).paddingOuter(c).align(l)},In.apply(f(),arguments)}function Vn(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Vn(n())},t}function Gn(){return Vn(Yn.apply(null,arguments).paddingInner(1))}var Kn=Math.sqrt(50),Zn=Math.sqrt(10),Qn=Math.sqrt(2);function Xn(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=Jn(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);++u<i;)o[u]=(e+u)*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);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function Jn(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>=Kn?10:o>=Zn?5:o>=Qn?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Kn?10:o>=Zn?5:o>=Qn?2:1)}function te(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>=Kn?i*=10:o>=Zn?i*=5:o>=Qn&&(i*=2),n<t?-i:i}function ne(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function ee(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function re(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=ne,e=(n,e)=>ne(t(n),e),r=(n,e)=>t(n)-e):(n=t===ne||t===ee?t:ie,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 ie(){return 0}function oe(t){return null===t?NaN:+t}const ae=re(ne),ue=ae.right;ae.left,re(oe).center;var se=ue;function ce(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function le(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function fe(){}var de=.7,he=1/de,pe="\\s*([+-]?\\d+)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ve=/^#([0-9a-f]{3,8})$/,me=new RegExp(`^rgb\\(${pe},${pe},${pe}\\)$`),be=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),xe=new RegExp(`^rgba\\(${pe},${pe},${pe},${ge}\\)$`),we=new RegExp(`^rgba\\(${ye},${ye},${ye},${ge}\\)$`),Me=new RegExp(`^hsl\\(${ge},${ye},${ye}\\)$`),ke=new RegExp(`^hsla\\(${ge},${ye},${ye},${ge}\\)$`),Ee={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 Ae(){return this.rgb().formatHex()}function Ce(){return this.rgb().formatRgb()}function Oe(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=ve.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?je(n):3===e?new Le(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Se(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Se(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=me.exec(t))?new Le(n[1],n[2],n[3],1):(n=be.exec(t))?new Le(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=xe.exec(t))?Se(n[1],n[2],n[3],n[4]):(n=we.exec(t))?Se(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Me.exec(t))?$e(n[1],n[2]/100,n[3]/100,1):(n=ke.exec(t))?$e(n[1],n[2]/100,n[3]/100,n[4]):Ee.hasOwnProperty(t)?je(Ee[t]):"transparent"===t?new Le(NaN,NaN,NaN,0):null}function je(t){return new Le(t>>16&255,t>>8&255,255&t,1)}function Se(t,n,e,r){return r<=0&&(t=n=e=NaN),new Le(t,n,e,r)}function De(t){return t instanceof fe||(t=Oe(t)),t?new Le((t=t.rgb()).r,t.g,t.b,t.opacity):new Le}function _e(t,n,e,r){return 1===arguments.length?De(t):new Le(t,n,e,null==r?1:r)}function Le(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Ne(){return`#${Ue(this.r)}${Ue(this.g)}${Ue(this.b)}`}function Te(){const t=Fe(this.opacity);return`${1===t?"rgb(":"rgba("}${Pe(this.r)}, ${Pe(this.g)}, ${Pe(this.b)}${1===t?")":`, ${t})`}`}function Fe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Pe(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ue(t){return((t=Pe(t))<16?"0":"")+t.toString(16)}function $e(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ze(t,n,e,r)}function Ie(t){if(t instanceof ze)return new ze(t.h,t.s,t.l,t.opacity);if(t instanceof fe||(t=Oe(t)),!t)return new ze;if(t instanceof ze)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,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=s<.5?o+i:2-o-i,a*=60):u=s>0&&s<1?0:a,new ze(a,u,s,t.opacity)}function ze(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function We(t){return(t=(t||0)%360)<0?t+360:t}function Re(t){return Math.max(0,Math.min(1,t||0))}function He(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 Be(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}ce(fe,Oe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ae,formatHex:Ae,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ie(this).formatHsl()},formatRgb:Ce,toString:Ce}),ce(Le,_e,le(fe,{brighter(t){return t=null==t?he:Math.pow(he,t),new Le(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?de:Math.pow(de,t),new Le(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Le(Pe(this.r),Pe(this.g),Pe(this.b),Fe(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:Ne,formatHex:Ne,formatHex8:function(){return`#${Ue(this.r)}${Ue(this.g)}${Ue(this.b)}${Ue(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Te,toString:Te})),ce(ze,(function(t,n,e,r){return 1===arguments.length?Ie(t):new ze(t,n,e,null==r?1:r)}),le(fe,{brighter(t){return t=null==t?he:Math.pow(he,t),new ze(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?de:Math.pow(de,t),new ze(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 Le(He(t>=240?t-240:t+120,i,r),He(t,i,r),He(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new ze(We(this.h),Re(this.s),Re(this.l),Fe(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=Fe(this.opacity);return`${1===t?"hsl(":"hsla("}${We(this.h)}, ${100*Re(this.s)}%, ${100*Re(this.l)}%${1===t?")":`, ${t})`}`}}));var qe=t=>()=>t;function Ye(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):qe(isNaN(t)?n:t)}var Ve=function t(n){var e=function(t){return 1==(t=+t)?Ye: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):qe(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=_e(t)).r,(n=_e(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Ye(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 Ge(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e<i;++e)r=_e(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}function Ke(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]=rr(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 Ze(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Qe(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function Xe(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]=rr(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Ge((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,u=r<n-1?t[r+2]:2*o-i;return Be((e-r/n)*n,a,i,o,u)}})),Ge((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],u=t[(r+2)%n];return Be((e-r/n)*n,i,o,a,u)}}));var Je=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tr=new RegExp(Je.source,"g");function nr(t,n){var e,r,i,o=Je.lastIndex=tr.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=Je.exec(t))&&(r=tr.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Qe(e,r)})),o=tr.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})}function er(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 rr(t,n){var e,r,i=typeof n;return null==n||"boolean"===i?qe(n):("number"===i?Qe:"string"===i?(e=Oe(n))?(n=e,Ve):nr:n instanceof Oe?Ve:n instanceof Date?Ze:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Ke:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Xe:Qe:er))(t,n)}function ir(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function or(t){return+t}var ar=[0,1];function ur(t){return t}function sr(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function cr(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=sr(i,r),o=e(a,o)):(r=sr(r,i),o=e(o,a)),function(t){return o(r(t))}}function lr(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]=sr(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=se(t,n,1,r)-1;return o[e](i[e](n))}}function fr(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function dr(){var t,n,e,r,i,o,a=ar,u=ar,s=rr,c=ur;function l(){var t,n,e,s=Math.min(a.length,u.length);return c!==ur&&(t=a[0],n=a[s-1],t>n&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=s>2?lr:cr,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,s)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(u,a.map(t),Qe)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,or),l()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),s=ir,l()},f.clamp=function(t){return arguments.length?(c=!!t||ur,l()):c!==ur},f.interpolate=function(t){return arguments.length?(s=t,l()):s},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function hr(){return dr()(ur,ur)}var pr,gr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yr(t){if(!(n=gr.exec(t)))throw new Error("invalid format: "+t);var n;return new vr({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 vr(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 mr(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 br(t){return(t=mr(Math.abs(t)))?t[1]:NaN}function xr(t,n){var e=mr(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")}yr.prototype=vr.prototype,vr.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 wr={"%":(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)=>xr(100*t,n),r:xr,s:function(t,n){var e=mr(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(pr=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")+mr(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Mr(t){return t}var kr,Er,Ar,Cr=Array.prototype.map,Or=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function jr(t,n,e,r){var i,o=te(t,n,e);switch((r=yr(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(br(n)/3)))-br(Math.abs(t)))}(o,a))||(r.precision=i),Ar(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,br(n)-br(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,-br(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Er(r)}function Sr(t){var n=t.domain;return t.ticks=function(t){var e=n();return Xn(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return jr(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,u=o.length-1,s=o[a],c=o[u],l=10;for(c<s&&(i=s,s=c,c=i,i=a,a=u,u=i);l-- >0;){if((i=Jn(s,c,e))===r)return o[a]=s,o[u]=c,n(o);if(i>0)s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Dr(){var t=hr();return t.copy=function(){return fr(t,Dr())},In.apply(t,arguments),Sr(t)}function _r(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,or),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return _r(t).unknown(n)},t=arguments.length?Array.from(t,or):[0,1],Sr(e)}function Lr(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 Nr(t){return Math.log(t)}function Tr(t){return Math.exp(t)}function Fr(t){return-Math.log(-t)}function Pr(t){return-Math.exp(-t)}function Ur(t){return isFinite(t)?+("1e"+t):t<0?0:t}function $r(t){return(n,e)=>-t(-n,e)}function Ir(t){const n=t(Nr,Tr),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?Ur:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=$r(r),i=$r(i),t(Fr,Pr)):t(Nr,Tr),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],u=n[n.length-1];const s=u<a;s&&([a,u]=[u,a]);let c,l,f=r(a),d=r(u);const h=null==t?10:+t;let p=[];if(!(o%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<o;++c)if(l=f<0?c/i(-f):c*i(f),!(l<a)){if(l>u)break;p.push(l)}}else for(;f<=d;++f)for(c=o-1;c>=1;--c)if(l=f>0?c/i(-f):c*i(f),!(l<a)){if(l>u)break;p.push(l)}2*p.length<h&&(p=Xn(a,u,h))}else p=Xn(f,d,Math.min(d-f,h)).map(i);return s?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=yr(e)).precision||(e.trim=!0),e=Er(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(Lr(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function zr(){const t=Ir(dr()).domain([1,10]);return t.copy=()=>fr(t,zr()).base(t.base()),In.apply(t,arguments),t}function Wr(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Rr(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Hr(t){var n=1,e=t(Wr(n),Rr(n));return e.constant=function(e){return arguments.length?t(Wr(n=+e),Rr(n)):n},Sr(e)}function Br(){var t=Hr(dr());return t.copy=function(){return fr(t,Br()).constant(t.constant())},In.apply(t,arguments)}function qr(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Yr(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Vr(t){return t<0?-t*t:t*t}function Gr(t){var n=t(ur,ur),e=1;function r(){return 1===e?t(ur,ur):.5===e?t(Yr,Vr):t(qr(e),qr(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Sr(n)}function Kr(){var t=Gr(dr());return t.copy=function(){return fr(t,Kr()).exponent(t.exponent())},In.apply(t,arguments),t}function Zr(){return Kr.apply(null,arguments).exponent(.5)}function Qr(t){return Math.sign(t)*t*t}function Xr(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Jr(){var t,n=hr(),e=[0,1],r=!1;function i(e){var i=Xr(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(Qr(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,or)).map(Qr)),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 Jr(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},In.apply(i,arguments),Sr(i)}function ti(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 ni(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 ei(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ri(t,n,e=0,r=t.length-1,i){for(i=void 0===i?ei:function(t=ne){if(t===ne)return ei;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,u=Math.log(o),s=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*s*(o-s)/o)*(a-o/2<0?-1:1);ri(t,n,Math.max(e,Math.floor(n-a*s/o+c)),Math.min(r,Math.floor(n+(o-a)*s/o+c)),i)}const o=t[n];let a=e,u=r;for(ii(t,e,n),i(t[r],o)>0&&ii(t,e,r);a<u;){for(ii(t,a,u),++a,--u;i(t[a],o)<0;)++a;for(;i(t[u],o)>0;)--u}0===i(t[e],o)?ii(t,e,u):(++u,ii(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function ii(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function oi(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 ni(t);if(n>=1)return ti(t);var r,i=(r-1)*n,o=Math.floor(i),a=ti(ri(t,o).subarray(0,o+1));return a+(ni(t.subarray(o+1))-a)*(i-o)}}function ai(t,n,e=oe){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 ui(){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]=ai(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[se(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(ne),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 ui().domain(n).range(e).unknown(t)},In.apply(o,arguments)}function si(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[se(i,n,0,r)]:t}function u(){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,u()):[n,e]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,u()):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 si().domain([n,e]).range(o).unknown(t)},In.apply(Sr(a),arguments)}function ci(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[se(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 ci().domain(n).range(e).unknown(t)},In.apply(i,arguments)}kr=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Mr:(n=Cr.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=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+"",u=void 0===t.numerals?Mr:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Cr.call(t.numerals,String)),s=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=yr(t)).fill,e=t.align,f=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,y=t.precision,v=t.trim,m=t.type;"n"===m?(g=!0,m="g"):wr[m]||(void 0===y&&(y=12),v=!0,m="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===d?o:/[%p]/.test(m)?s:"",w=wr[m],M=/[defgprs%]/.test(m);function k(t){var i,o,s,d=b,k=x;if("c"===m)k=w(t)+k,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),y),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),E&&0==+t&&"+"!==f&&(E=!1),d=(E?"("===f?f:c:"-"===f||"("===f?"":f)+d,k=("s"===m?Or[8+pr/3]:"")+k+(E&&"("===f?")":""),M)for(i=-1,o=t.length;++i<o;)if(48>(s=t.charCodeAt(i))||s>57){k=(46===s?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!h&&(t=r(t,1/0));var A=d.length+t.length+k.length,C=A<p?new Array(p-A+1).join(n):"";switch(g&&h&&(t=r(C+t,C.length?p-k.length:1/0),C=""),e){case"<":t=d+t+k+C;break;case"=":t=d+C+t+k;break;case"^":t=C.slice(0,A=C.length>>1)+d+t+k+C.slice(A);break;default:t=C+d+t+k}return u(t)}return y=void 0===y?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:f,formatPrefix:function(t,n){var e=f(((t=yr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(br(n)/3))),i=Math.pow(10,-r),o=Or[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Er=kr.format,Ar=kr.formatPrefix;const li=1e3,fi=6e4,di=36e5,hi=864e5,pi=6048e5,gi=31536e6;var yi=new Date,vi=new Date;function mi(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,u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return u;do{u.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return u},i.filter=function(e){return mi((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 yi.setTime(+n),vi.setTime(+r),t(yi),t(vi),Math.floor(e(yi,vi))},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 bi=mi((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));bi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?mi((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):bi:null};var xi=bi,wi=(bi.range,mi((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*li)}),(function(t,n){return(n-t)/li}),(function(t){return t.getUTCSeconds()}))),Mi=wi,ki=(wi.range,mi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*li)}),(function(t,n){t.setTime(+t+n*fi)}),(function(t,n){return(n-t)/fi}),(function(t){return t.getMinutes()}))),Ei=ki,Ai=(ki.range,mi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*li-t.getMinutes()*fi)}),(function(t,n){t.setTime(+t+n*di)}),(function(t,n){return(n-t)/di}),(function(t){return t.getHours()}))),Ci=Ai,Oi=(Ai.range,mi((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*fi)/hi),(t=>t.getDate()-1))),ji=Oi;function Si(t){return mi((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())*fi)/pi}))}Oi.range;var Di=Si(0),_i=Si(1),Li=Si(2),Ni=Si(3),Ti=Si(4),Fi=Si(5),Pi=Si(6),Ui=(Di.range,_i.range,Li.range,Ni.range,Ti.range,Fi.range,Pi.range,mi((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()}))),$i=Ui,Ii=(Ui.range,mi((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()})));Ii.every=function(t){return isFinite(t=Math.floor(t))&&t>0?mi((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 zi=Ii,Wi=(Ii.range,mi((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*fi)}),(function(t,n){return(n-t)/fi}),(function(t){return t.getUTCMinutes()}))),Ri=Wi,Hi=(Wi.range,mi((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*di)}),(function(t,n){return(n-t)/di}),(function(t){return t.getUTCHours()}))),Bi=Hi,qi=(Hi.range,mi((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/hi}),(function(t){return t.getUTCDate()-1}))),Yi=qi;function Vi(t){return mi((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)/pi}))}qi.range;var Gi=Vi(0),Ki=Vi(1),Zi=Vi(2),Qi=Vi(3),Xi=Vi(4),Ji=Vi(5),to=Vi(6),no=(Gi.range,Ki.range,Zi.range,Qi.range,Xi.range,Ji.range,to.range,mi((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()}))),eo=no,ro=(no.range,mi((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()})));ro.every=function(t){return isFinite(t=Math.floor(t))&&t>0?mi((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 io=ro;function oo(t,n,e,r,i,o){const a=[[Mi,1,li],[Mi,5,5e3],[Mi,15,15e3],[Mi,30,3e4],[o,1,fi],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,di],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,hi],[r,2,1728e5],[e,1,pi],[n,1,2592e6],[n,3,7776e6],[t,1,gi]];function u(n,e,r){const i=Math.abs(e-n)/r,o=re((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(te(n/gi,e/gi,r));if(0===o)return xi.every(Math.max(te(n,e,r),1));const[u,s]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return u.every(s)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"==typeof e.range?e:u(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},u]}ro.range;const[ao,uo]=oo(io,eo,Gi,Yi,Bi,Ri),[so,co]=oo(zi,$i,Di,ji,Ci,Ei);function lo(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 fo(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 ho(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var po,go,yo,vo={"-":"",_:" ",0:"0"},mo=/^\s*\d+/,bo=/^%/,xo=/[\\^$*+?|[\]().{}]/g;function wo(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 Mo(t){return t.replace(xo,"\\$&")}function ko(t){return new RegExp("^(?:"+t.map(Mo).join("|")+")","i")}function Eo(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Ao(t,n,e){var r=mo.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Co(t,n,e){var r=mo.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Oo(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function jo(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function So(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Do(t,n,e){var r=mo.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function _o(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Lo(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 No(t,n,e){var r=mo.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function To(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Fo(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Po(t,n,e){var r=mo.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Uo(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function $o(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Io(t,n,e){var r=mo.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function zo(t,n,e){var r=mo.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Wo(t,n,e){var r=mo.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Ro(t,n,e){var r=bo.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ho(t,n,e){var r=mo.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Bo(t,n,e){var r=mo.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function qo(t,n){return wo(t.getDate(),n,2)}function Yo(t,n){return wo(t.getHours(),n,2)}function Vo(t,n){return wo(t.getHours()%12||12,n,2)}function Go(t,n){return wo(1+ji.count(zi(t),t),n,3)}function Ko(t,n){return wo(t.getMilliseconds(),n,3)}function Zo(t,n){return Ko(t,n)+"000"}function Qo(t,n){return wo(t.getMonth()+1,n,2)}function Xo(t,n){return wo(t.getMinutes(),n,2)}function Jo(t,n){return wo(t.getSeconds(),n,2)}function ta(t){var n=t.getDay();return 0===n?7:n}function na(t,n){return wo(Di.count(zi(t)-1,t),n,2)}function ea(t){var n=t.getDay();return n>=4||0===n?Ti(t):Ti.ceil(t)}function ra(t,n){return t=ea(t),wo(Ti.count(zi(t),t)+(4===zi(t).getDay()),n,2)}function ia(t){return t.getDay()}function oa(t,n){return wo(_i.count(zi(t)-1,t),n,2)}function aa(t,n){return wo(t.getFullYear()%100,n,2)}function ua(t,n){return wo((t=ea(t)).getFullYear()%100,n,2)}function sa(t,n){return wo(t.getFullYear()%1e4,n,4)}function ca(t,n){var e=t.getDay();return wo((t=e>=4||0===e?Ti(t):Ti.ceil(t)).getFullYear()%1e4,n,4)}function la(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+wo(n/60|0,"0",2)+wo(n%60,"0",2)}function fa(t,n){return wo(t.getUTCDate(),n,2)}function da(t,n){return wo(t.getUTCHours(),n,2)}function ha(t,n){return wo(t.getUTCHours()%12||12,n,2)}function pa(t,n){return wo(1+Yi.count(io(t),t),n,3)}function ga(t,n){return wo(t.getUTCMilliseconds(),n,3)}function ya(t,n){return ga(t,n)+"000"}function va(t,n){return wo(t.getUTCMonth()+1,n,2)}function ma(t,n){return wo(t.getUTCMinutes(),n,2)}function ba(t,n){return wo(t.getUTCSeconds(),n,2)}function xa(t){var n=t.getUTCDay();return 0===n?7:n}function wa(t,n){return wo(Gi.count(io(t)-1,t),n,2)}function Ma(t){var n=t.getUTCDay();return n>=4||0===n?Xi(t):Xi.ceil(t)}function ka(t,n){return t=Ma(t),wo(Xi.count(io(t),t)+(4===io(t).getUTCDay()),n,2)}function Ea(t){return t.getUTCDay()}function Aa(t,n){return wo(Ki.count(io(t)-1,t),n,2)}function Ca(t,n){return wo(t.getUTCFullYear()%100,n,2)}function Oa(t,n){return wo((t=Ma(t)).getUTCFullYear()%100,n,2)}function ja(t,n){return wo(t.getUTCFullYear()%1e4,n,4)}function Sa(t,n){var e=t.getUTCDay();return wo((t=e>=4||0===e?Xi(t):Xi.ceil(t)).getUTCFullYear()%1e4,n,4)}function Da(){return"+0000"}function _a(){return"%"}function La(t){return+t}function Na(t){return Math.floor(+t/1e3)}function Ta(t){return new Date(t)}function Fa(t){return t instanceof Date?+t:+new Date(+t)}function Pa(t,n,e,r,i,o,a,u,s,c){var l=hr(),f=l.invert,d=l.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),y=c("%I %p"),v=c("%a %d"),m=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(s(t)<t?h:u(t)<t?p:a(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?v:m:e(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?d(Array.from(t,Fa)):d().map(Ta)},l.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?w:c(n)},l.nice=function(t){var e=d();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d(Lr(e,t)):l},l.copy=function(){return fr(l,Pa(t,n,e,r,i,o,a,u,s,c))},l}function Ua(){return In.apply(Pa(so,co,zi,$i,Di,ji,Ci,Ei,Mi,go).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function $a(){return In.apply(Pa(ao,uo,io,eo,Gi,Yi,Bi,Ri,Mi,yo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ia(){var t,n,e,r,i,o=0,a=1,u=ur,s=!1;function c(n){return null==n||isNaN(n=+n)?i:u(0===e?.5:(n=(r(n)-t)*e,s?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),c):[u(0),u(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?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=l(rr),c.rangeRound=l(ir),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 za(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Wa(){var t=Sr(Ia()(ur));return t.copy=function(){return za(t,Wa())},zn.apply(t,arguments)}function Ra(){var t=Ir(Ia()).domain([1,10]);return t.copy=function(){return za(t,Ra()).base(t.base())},zn.apply(t,arguments)}function Ha(){var t=Hr(Ia());return t.copy=function(){return za(t,Ha()).constant(t.constant())},zn.apply(t,arguments)}function Ba(){var t=Gr(Ia());return t.copy=function(){return za(t,Ba()).exponent(t.exponent())},zn.apply(t,arguments)}function qa(){return Ba.apply(null,arguments).exponent(.5)}function Ya(){var t=[],n=ur;function e(e){if(null!=e&&!isNaN(e=+e))return n((se(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(ne),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)=>oi(t,r/n)))},e.copy=function(){return Ya(n).domain(t)},zn.apply(e,arguments)}function Va(t,n){void 0===n&&(n=t,t=rr);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 Ga(){var t,n,e,r,i,o,a,u=0,s=.5,c=1,l=1,f=ur,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-n)*(l*t<l*n?r:i),f(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=Va(t,[e,r,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,s,c]=a,t=o(u=+u),n=o(s=+s),e=o(c=+c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,s,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(rr),h.rangeRound=p(ir),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(u),n=a(s),e=a(c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Ka(){var t=Sr(Ga()(ur));return t.copy=function(){return za(t,Ka())},zn.apply(t,arguments)}function Za(){var t=Ir(Ga()).domain([.1,1,10]);return t.copy=function(){return za(t,Za()).base(t.base())},zn.apply(t,arguments)}function Qa(){var t=Hr(Ga());return t.copy=function(){return za(t,Qa()).constant(t.constant())},zn.apply(t,arguments)}function Xa(){var t=Gr(Ga());return t.copy=function(){return za(t,Xa()).exponent(t.exponent())},zn.apply(t,arguments)}function Ja(){return Xa.apply(null,arguments).exponent(.5)}po=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=ko(i),l=Eo(i),f=ko(o),d=Eo(o),h=ko(a),p=Eo(a),g=ko(u),y=Eo(u),v=ko(s),m=Eo(s),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:qo,e:qo,f:Zo,g:ua,G:ca,H:Yo,I:Vo,j:Go,L:Ko,m:Qo,M:Xo,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:La,s:Na,S:Jo,u:ta,U:na,V:ra,w:ia,W:oa,x:null,X:null,y:aa,Y:sa,Z:la,"%":_a},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:fa,e:fa,f:ya,g:Oa,G:Sa,H:da,I:ha,j:pa,L:ga,m:va,M:ma,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:La,s:Na,S:ba,u:xa,U:wa,V:ka,w:Ea,W:Aa,x:null,X:null,y:Ca,Y:ja,Z:Da,"%":_a},w={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return E(t,n,e,r)},d:Fo,e:Fo,f:Wo,g:_o,G:Do,H:Uo,I:Uo,j:Po,L:zo,m:To,M:$o,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:No,Q:Ho,s:Bo,S:Io,u:Co,U:Oo,V:jo,w:Ao,W:So,x:function(t,n,r){return E(t,e,n,r)},X:function(t,n,e){return E(t,r,n,e)},y:_o,Y:Do,Z:Lo,"%":Ro};function M(t,n){return function(e){var r,i,o,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=vo[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function k(t,n){return function(e){var r,i,o=ho(1900,void 0,1);if(E(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=fo(ho(o.y,0,1))).getUTCDay(),r=i>4||0===i?Ki.ceil(r):Ki(r),r=Yi.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=lo(ho(o.y,0,1))).getDay(),r=i>4||0===i?_i.ceil(r):_i(r),r=ji.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?fo(ho(o.y,0,1)).getUTCDay():lo(ho(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,fo(o)):lo(o)}}function E(t,n,e,r){for(var i,o,a=0,u=n.length,s=e.length;a<u;){if(r>=s)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=w[i in vo?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=M(e,b),b.X=M(r,b),b.c=M(n,b),x.x=M(e,x),x.X=M(r,x),x.c=M(n,x),{format:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),go=po.format,po.parse,yo=po.utcFormat,po.utcParse;const tu=["linear","time","log","sqrt"];function nu(t){return"function"==typeof t?C(t.copy)&&C(t.domain)&&C(t.range):"string"==typeof t&&tu.includes(t)}function eu(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function ru(t,n){if(!t.data)return"linear";const e=O(t[n]);return Tn(t.data.map((t=>{const r=kn()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function iu(n){if(nu(n)){const r=`scale${e=n,e&&e[0].toUpperCase()+e.slice(1)}`;return t[r]()}var e;return Dr()}function ou(t,n){const e=function(t,n){if(!eu(t,n))return;const e=t.scale[n]||t.scale;return nu(e)?C(e)?e:iu(e):void 0}(t,n);return e?"string"==typeof e?iu(e):e:iu(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 Tn(e)?"time":"linear"}(t,n)||ru(t,n))}function au(t,n){return function(t,n){if(!eu(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;const n=uu.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}(e)}(t,n)||ru(t,n)}const uu=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function su(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function cu(t,n){return su(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=cu(e)),t[r]=i,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function lu(t){return su(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?cu(t,{errorX:!0,errorY:!0}):t;var n}function fu(t,n){const e=(kn()(t.domain)?t.domain[n]:t.domain)||ou(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=function(t,n,e){const r=n?t:0;let i=n||t;i||(i=0);const o=i-r,a=Math.abs(o),u=o/a||1,s=e||1,c=Math.max(Math.ceil(a/s),0);return Array.from(Array(c),((t,n)=>r+n*u*s))}(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function du(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 _n()(t,r,i)}function hu(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let i;return i=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],i.filter((t=>"string"==typeof t))}(t,n),r=vu(t,n),i=function(t,n){if(!Array.isArray(t.data)&&!su(t.data))return[];const e=O(void 0===t[n]?n:t[n]);return du(t.data.reduce(((t,n)=>(t.push(lu(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=lu(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),o=Nn()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function pu(t,n,e){if(!Array.isArray(t)&&!su(t)||function(t){return su(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=O(void 0!==n[r=e]?n[r]:r),t}),{}),o=Sn()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?hu(n,"x"):void 0,y:-1!==e.indexOf("y")?hu(n,"y"):void 0,y0:-1!==e.indexOf("y0")?hu(n,"y"):void 0});const u=o?t:t.reduce(((t,n,r)=>{const o=lu(n),u={x:r,y:o},s=e.reduce(((t,n)=>{const e=i[n](o),r=void 0!==e?e:u[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({},s,o);return I()(c)||t.push(c),t}),[]),s=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:au(n,"x"),y:au(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)))}(du(u,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=C(i=t.eventKey)?i:null==i?()=>{}:h()(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,s)}function gu(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function yu(t){return t.data?pu(t.data,t):pu(function(t){const n=fu(t,"x"),e=fu(t,"y");return n.map(((t,n)=>({x:t,y:e[n]})))}(t),t)}function vu(t,n){if(!t.categories)return[];const e=gu(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}function mu(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}`],u=r([i,a]);return o=o||i instanceof Date||a instanceof Date,r([t,u])}),i);return o?new Date(a):a}function bu(t,n){const e=C(t)?t:Mu,r=C(n)?n:xu;return(t,n)=>{const i=function(t,n){const e=Au(t,n),r=Eu(t,n);return kn()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?ku(e,r):void 0}(t,n);if(i)return r(i,t,n);const o=gu(t,n),a=o?function(t,n,e){const r=e||gu(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const u=Au(t,n),s=Eu(t,n),c=(h=r,Array.isArray(h)&&h.some((t=>"string"==typeof t))?vu(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,d=ku(void 0!==u?u:Un(f),void 0!==s?s:Pn(f));var h;return i&&"x"===n&&360===Math.abs(o-a)?Cu(d,f):d}(t,n,o):e(t,n);return a?r(a,t,n):void 0}}function xu(t,n,e){return function(t,n,e){return"log"!==au(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=Au(n,e),i=Eu(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return kn()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=Un(t),u=Pn(t),s=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=E(n,s),l=Math.abs(c[0]-c[1]),f=Math.max(l-o.left-o.right,1),d=Math.abs(u.valueOf()-a.valueOf())/f*l,h=d*o.left/l,p=d*o.right/l;let g={min:a.valueOf()-h,max:u.valueOf()+p};const y=kn()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,v=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t;if((a>=0&&g.min<=0||u<=0&&g.max>=0)&&!1!==y){const t={left:Math.abs(u-a)*o.left/l,right:Math.abs(u-a)*o.right/l},n={min:v(a.valueOf()-t.left,"min"),max:v(u.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/l,right:Math.abs(n.max-n.min)*o.right/l};g={min:v(a.valueOf()-e.left,"min"),max:v(u.valueOf()+e.right,"max")}}const m={min:void 0!==r?r:g.min,max:void 0!==i?i:g.max};return a instanceof Date||u instanceof Date?ku(new Date(m.min),new Date(m.max)):ku(m.min,m.max)}(t,n,e),n,e)}function wu(t,n){return bu()(t,n)}function Mu(t,n,e){const r=e||yu(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,u=Au(t,n),s=Eu(t,n);if(r.length<1)return void 0!==u&&void 0!==s?ku(u,s):void 0;const c=ku(void 0!==u?u:mu(r,n,"min"),void 0!==s?s:mu(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?Cu(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 ku(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 Eu(t,n){return kn()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||bn()(t.maxDomain)?t.maxDomain:void 0}function Au(t,n){return kn()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||bn()(t.minDomain)?t.minDomain:void 0}function Cu(t,n){const e=wn()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}var Ou=r(7491),ju=r.n(Ou);const Su=t=>+t;function Du(t){return t*t}function _u(t){return t*(2-t)}function Lu(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Nu(t){return t*t*t}function Tu(t){return--t*t*t+1}function Fu(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Pu=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Uu=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),$u=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),Iu=Math.PI,zu=Iu/2;function Wu(t){return 1==+t?1:1-Math.cos(t*zu)}function Ru(t){return Math.sin(t*zu)}function Hu(t){return(1-Math.cos(Iu*t))/2}function Bu(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function qu(t){return Bu(1-+t)}function Yu(t){return 1-Bu(t)}function Vu(t){return((t*=2)<=1?Bu(1-t):2-Bu(t-1))/2}function Gu(t){return 1-Math.sqrt(1-t*t)}function Ku(t){return Math.sqrt(1- --t*t)}function Zu(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Qu=7.5625;function Xu(t){return 1-Ju(1-t)}function Ju(t){return(t=+t)<.36363636363636365?Qu*t*t:t<.7272727272727273?Qu*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Qu*(t-=.8181818181818182)*t+.9375:Qu*(t-=.9545454545454546)*t+.984375}function ts(t){return((t*=2)<=1?1-Ju(1-t):Ju(t-1)+1)/2}var ns=1.70158,es=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(ns),rs=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(ns),is=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}(ns),os=2*Math.PI,as=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=os);function i(t){return n*Bu(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*os)},i.period=function(e){return t(n,e)},i}(1,.3),us=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=os);function i(t){return 1-n*Bu(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*os)},i.period=function(e){return t(n,e)},i}(1,.3),ss=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=os);function i(t){return((t=2*t-1)<0?n*Bu(-t)*Math.sin((r-t)/e):2-n*Bu(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*os)},i.period=function(e){return t(n,e)},i}(1,.3);const cs=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)||kn()(t)}return!1},ls=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},fs=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 rr(r,i)(e)}}},ds=function(t,n){const e=t=>Array.isArray(t)?_n()(t,"key"):t,r={},i={};let o,a=t,u=n;for(o in null!==a&&"object"==typeof a||(a={}),null!==u&&"object"==typeof u||(u={}),u)o in a?r[o]=(s=e(a[o]))!==(c=e(u[o]))&&cs(s)&&cs(c)?"function"==typeof s||"function"==typeof c?fs(s,c):"object"==typeof s&&kn()(s)||"object"==typeof c&&kn()(c)?ds(s,c):rr(s,c):ls(s,c):i[o]=u[o];var s,c;return function(t){for(o in r)i[o]=r[o](t);return i}};var hs,ps,gs=0,ys=0,vs=0,ms=0,bs=0,xs=0,ws="object"==typeof performance&&performance.now?performance:Date,Ms="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ks(){return bs||(Ms(Es),bs=ws.now()+xs)}function Es(){bs=0}function As(){this._call=this._time=this._next=null}function Cs(t,n,e){var r=new As;return r.restart(t,n,e),r}function Os(){bs=(ms=ws.now())+xs,gs=ys=0;try{!function(){ks(),++gs;for(var t,n=hs;n;)(t=bs-n._time)>=0&&n._call.call(void 0,t),n=n._next;--gs}()}finally{gs=0,function(){for(var t,n,e=hs,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:hs=n);ps=t,Ss(r)}(),bs=0}}function js(){var t=ws.now(),n=t-ms;n>1e3&&(xs-=n,ms=t)}function Ss(t){gs||(ys&&(ys=clearTimeout(ys)),t-bs>24?(t<1/0&&(ys=setTimeout(Os,t-ws.now()-xs)),vs&&(vs=clearInterval(vs))):(vs||(ms=ws.now(),vs=setInterval(js,1e3)),gs=1,Ms(Os)))}As.prototype=Cs.prototype={constructor:As,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?ks():+e)+(null==n?0:+n),this._next||ps===this||(ps?ps._next=this:hs=this,ps=this),this._call=t,this._time=e,Ss()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ss())}};class Ds{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(ks()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Cs(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:ks(),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 _s=o().createContext({transitionTimer:new Ds,animationTimer:new Ds});_s.displayName="TimerContext";var Ls=_s;const Ns=1e3,Ts=t=>{let{duration:e=Ns,easing:r="quadInOut",delay:i=0,data:a,children:u,onEnd:s}=t;const[c,l]=o().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),f=o().useContext(Ls).animationTimer,d=o().useRef(Array.isArray(a)?a.slice(1):[]),h=o().useRef(null),p=o().useRef(void 0),g=n[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;o().useEffect((()=>(d.current.length&&v(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),o().useEffect((()=>{h.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),d.current=Array.isArray(a)?a:[a],v())}),[a]);const v=()=>{if(d.current.length){const r=d.current[0];h.current=(t=c.data)!==(n=r)&&cs(t)&&cs(n)?"function"==typeof t||"function"==typeof n?fs(t,n):kn()(t)||kn()(n)?ds(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return rr(e(t),e(n))}(t,n):rr(t,n):ls(t,n),i?setTimeout((()=>{p.current=f.subscribe(m,e)}),i):p.current=f.subscribe(m,e)}else s&&s();var t,n},m=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),d.current.shift(),void v();l({data:h.current(g(n)),animationInfo:{progress:n,animating:n<1}})};return u(c.data,c.animationInfo)};var Fs=r(5346),Ps=r.n(Fs);function Us(t,n){return(t.key||n).toString()}function $s(t){return t.reduce(((t,n,e)=>(t[Us(n,e)]=n,t)),{})}function Is(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 zs(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Ws(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((a,u)=>a&&a.props&&a.props.children&&n[u]?i(o().Children.toArray(t[u].props.children),o().Children.toArray(n[u].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&$s(t),r=n&&$s(n);return{entering:e&&Is(r,e),exiting:r&&Is(e,r)}}(zs(t),zs(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(a,n[u]))),a=i(o().Children.toArray(t),o().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function Rs(t,n,e){const r=n&&n.nodesWillExit,i=n&&n.nodesWillEnter,o=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,s=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:Ps();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:Ps();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,u=Object.assign({},t,a);let s=r;if(i){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:Ps();s=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:u,data:s}}(i,0,r,t),d=(t,n,r,i)=>o?function(t,n,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let u=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Ps();u=n.map(((e,i)=>{const o=Us(e,i);return r[o]?Object.assign({},e,t(e,i,n)):e}))}return{animate:a,data:u}}(i,r,t):function(t,n,r,i,o){let a=t,u=r;if(i){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:Ps();u=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:u}}(i,0,r,t),h=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const p=zs(e)||[],y=g()({},t.animate,e.props.animate),v=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;y.onExit=g()({},y.onExit,v&&v.onExit),y.onEnter=g()({},y.onEnter,v&&v.onEnter),y.onLoad=g()({},y.onLoad,v&&v.onLoad);const m=s[a]||s[0];if(!u){const t={duration:void 0!==c.load?c.load:h(e,"onLoad")};return l(0,p,Object.assign({},y,t))}if(r){const t=m&&m.exiting,n=void 0!==c.exit?c.exit:h(e,"onExit"),r=t?{duration:n}:{delay:n};return f(t,0,p,Object.assign({},y,r))}if(i){const t=m&&m.entering,n=void 0!==c.enter?c.enter:h(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,i={duration:o&&t?n:r};return d(t,0,p,Object.assign({},y,i))}return!n&&y&&y.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Ps();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(y,p):{animate:y,data:p}}}function Hs(){return Hs=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},Hs.apply(this,arguments)}class Bs extends o().Component{static displayName="VictoryTransition";static contextType=Ls;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 ju()(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=o().Children.toArray(t.children),i=o().Children.toArray(n.children),{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c}=Ws(r,i);return{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c,oldProps:a?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&C(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(o().Children.toArray(r.props.children))):t}),[]),r=o().Children.toArray(t.children)[0],i=r.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[n];if(!i.children&&a)return a;const u=e([r]);return 0===u.length?[0,1]:[Un(u),Pn(u)]}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=E(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:Rs(t,this.state,(t=>this.setState(t))),e=o().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")},a=this.getClipWidth(t,e),u=g()({domain:i,clipWidth:a},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),c=s.length?f()(u,s):u;return o().createElement(Ts,Hs({},u.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?o().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return o().cloneElement(e,g()({animate:null,animating:!0,groupComponent:n},t,u))}return o().cloneElement(e,g()({animate:null,animating:!0},t,u))}))}}var qs=r(4912),Ys=r.n(qs);const Vs=/^onGlobal(.*)$/;function Gs(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&&C(r)?r(i(o),n):void 0;if(!t.sharedEvents)return a;const u=t.sharedEvents.getEvents,s=t.sharedEvents.events&&u(i(t.sharedEvents.events),n);return Object.assign({},s,a)}function Ks(t,n,e,r){if(I()(t))return{};const i=r||this.baseProps,o=(t,n)=>{const{childName:e,target:r,key:o}=t,a="props"===n?i:this.state||{},u=null!=e&&a[e]?a[e]:a;return"parent"===o?u.parent:u[o]&&u[o][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,u=t.target||n,s=(n,e)=>{const r=this.state||{};if(!C(t.mutation))return r;const a=o({childName:e,key:n,target:u},"props"),s=o({childName:e,key:n,target:u},"state"),c=t.mutation(Object.assign({},a,s),i),l=r[e]||{},f=t=>c?(t=>"parent"===u?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[u]:c})}))(t):(t=>(t[n]&&t[n][u]&&delete t[n][u],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"===u?"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,s(e,n))),{}):s(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)},u=(n,e,r,i)=>{const o=t[i](n,e,r,this);if(!I()(o)){const t=(t=>{const n=t=>C(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]=u,t)),{})}function Zs(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 Qs(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(I()(a))return;const u=a.filter((t=>i(t,"eventKey")));return I()(u)?void 0:u.reduce(((t,r)=>{const i=(r&&C(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function Xs(t){const n=t.match(Vs);return n&&n[1]&&n[1].toLowerCase()}const Js=t=>!A(t._x)&&!A(t._y),tc=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function nc(){return nc=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},nc.apply(this,arguments)}const ec=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={id:x(r,t)?.toString(),tabIndex:x(i,t),...u};return e?o().createElement("path",nc({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("path",nc({},s,{ref:n}))}));function rc(){return rc=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},rc.apply(this,arguments)}const ic=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:x(r,t)?.toString(),tabIndex:x(i,t),...u};return e?o().createElement("circle",rc({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("circle",rc({},s,{ref:n}))})),oc=t=>o().createElement("defs",null,o().createElement("clipPath",{id:t.clipId?.toString()},t.children)),ac={pathComponent:o().createElement(ec,null),circleComponent:o().createElement(ic,null),clipPathComponent:o().createElement(oc,null),groupComponent:o().createElement("g",null),role:"presentation",shapeRendering:"auto"},uc=t=>{const n=function(t){const n=x(t.ariaLabel,t),e=x(t.id,t),r=x(t.size,t),i=w(t.style,t),o=x(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,id:e,size:r,style:i,tabIndex:o})}(g()({},t,ac)),{ariaLabel:e,role:r,shapeRendering:i,className:a,events:u,transform:s,style:c,size:l,tabIndex:f}=n,d=(t=>{const{polygon:n}=t;return Array.isArray(n)&&n.length?`M ${t.polygon?.join("L")} Z`:""})(n),h={"aria-label":e,className:a,role:r,shapeRendering:i,style:c,tabIndex:f,transform:s,...u},p=D(n);if(l){const t=o().cloneElement(n.circleComponent,{...h,key:`${n.id}-circle-clip`,clipPath:`url(#${n.clipId})`,cx:n.x,cy:n.y,r:l}),e=o().cloneElement(n.clipPathComponent,{key:`${n.id}-voronoi-clip`,clipId:n.clipId},o().cloneElement(n.pathComponent,{d:d,className:a}));return o().cloneElement(n.groupComponent,{},[e,t])}return o().cloneElement(n.pathComponent,{...h,...p,d:d})};function sc(t){return function(){return t}}function cc(t){return t[0]}function lc(t){return t[1]}function fc(){this._=null}function dc(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function hc(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function pc(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function gc(t){for(;t.L;)t=t.L;return t}fc.prototype={constructor:fc,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=gc(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(hc(this,e),e=(t=e).U),e.C=!1,r.C=!0,pc(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(pc(this,e),e=(t=e).U),e.C=!1,r.C=!0,hc(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?gc(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,hc(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,pc(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,hc(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,pc(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,hc(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,pc(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var yc=fc;function vc(t,n,e,r){var i=[null,null],o=Wc.push(i)-1;return i.left=t,i.right=n,e&&bc(i,t,n,e),r&&bc(i,n,t,r),Ic[t.index].halfedges.push(o),Ic[n.index].halfedges.push(o),i}function mc(t,n,e){var r=[n,e];return r.left=t,r}function bc(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function xc(t,n,e,r,i){var o,a=t[0],u=t[1],s=a[0],c=a[1],l=0,f=1,d=u[0]-s,h=u[1]-c;if(o=n-s,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=r-s,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}if(o=e-c,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>l&&(l=o)}if(o=i-c,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(t[0]=[s+l*d,c+l*h]),f<1&&(t[1]=[s+f*d,c+f*h]),!0)}}}}}function wc(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,l=t.right,f=c[0],d=c[1],h=l[0],p=l[1],g=(f+h)/2,y=(d+p)/2;if(p===d){if(g<n||g>=r)return;if(f>h){if(s){if(s[1]>=i)return}else s=[g,e];o=[g,i]}else{if(s){if(s[1]<e)return}else s=[g,i];o=[g,e]}}else if(u=y-(a=(f-h)/(p-d))*g,a<-1||a>1)if(f>h){if(s){if(s[1]>=i)return}else s=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(s){if(s[1]<e)return}else s=[(i-u)/a,i];o=[(e-u)/a,e]}else if(d<p){if(s){if(s[0]>=r)return}else s=[n,a*n+u];o=[r,a*r+u]}else{if(s){if(s[0]<n)return}else s=[r,a*r+u];o=[n,a*n+u]}return t[0]=s,t[1]=o,!0}function Mc(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function kc(t,n){return n[+(n.left!==t.site)]}function Ec(t,n){return n[+(n.left===t.site)]}var Ac,Cc=[];function Oc(){dc(this),this.x=this.y=this.arc=this.site=this.cy=null}function jc(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var a=i[0],u=i[1],s=r[0]-a,c=r[1]-u,l=o[0]-a,f=o[1]-u,d=2*(s*f-c*l);if(!(d>=-Hc)){var h=s*s+c*c,p=l*l+f*f,g=(f*h-c*p)/d,y=(s*p-l*h)/d,v=Cc.pop()||new Oc;v.arc=t,v.site=i,v.x=g+a,v.y=(v.cy=y+u)+Math.sqrt(g*g+y*y),t.circle=v;for(var m=null,b=zc._;b;)if(v.y<b.y||v.y===b.y&&v.x<=b.x){if(!b.L){m=b.P;break}b=b.L}else{if(!b.R){m=b;break}b=b.R}zc.insert(m,v),m||(Ac=v)}}}}function Sc(t){var n=t.circle;n&&(n.P||(Ac=n.N),zc.remove(n),Cc.push(n),dc(n),t.circle=null)}var Dc=[];function _c(){dc(this),this.edge=this.site=this.circle=null}function Lc(t){var n=Dc.pop()||new _c;return n.site=t,n}function Nc(t){Sc(t),$c.remove(t),Dc.push(t),dc(t)}function Tc(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];Nc(t);for(var s=o;s.circle&&Math.abs(e-s.circle.x)<Rc&&Math.abs(r-s.circle.cy)<Rc;)o=s.P,u.unshift(s),Nc(s),s=o;u.unshift(s),Sc(s);for(var c=a;c.circle&&Math.abs(e-c.circle.x)<Rc&&Math.abs(r-c.circle.cy)<Rc;)a=c.N,u.push(c),Nc(c),c=a;u.push(c),Sc(c);var l,f=u.length;for(l=1;l<f;++l)c=u[l],s=u[l-1],bc(c.edge,s.site,c.site,i);s=u[0],(c=u[f-1]).edge=vc(s.site,c.site,null,i),jc(s),jc(c)}function Fc(t){for(var n,e,r,i,o=t[0],a=t[1],u=$c._;u;)if((r=Pc(u,a)-o)>Rc)u=u.L;else{if(!((i=o-Uc(u,a))>Rc)){r>-Rc?(n=u.P,e=u):i>-Rc?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}!function(t){Ic[t.index]={site:t,halfedges:[]}}(t);var s=Lc(t);if($c.insert(n,s),n||e){if(n===e)return Sc(n),e=Lc(n.site),$c.insert(s,e),s.edge=e.edge=vc(n.site,s.site),jc(n),void jc(e);if(e){Sc(n),Sc(e);var c=n.site,l=c[0],f=c[1],d=t[0]-l,h=t[1]-f,p=e.site,g=p[0]-l,y=p[1]-f,v=2*(d*y-h*g),m=d*d+h*h,b=g*g+y*y,x=[(y*m-h*b)/v+l,(d*b-g*m)/v+f];bc(e.edge,c,p,x),s.edge=vc(c,t,null,x),e.edge=vc(t,p,null,x),jc(n),jc(e)}else s.edge=vc(n.site,s.site)}}function Pc(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],s=e[1],c=s-n;if(!c)return u;var l=u-r,f=1/o-1/c,d=l/c;return f?(-d+Math.sqrt(d*d-2*f*(l*l/(-2*c)-s+c/2+i-o/2)))/f+r:(r+u)/2}function Uc(t,n){var e=t.N;if(e)return Pc(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var $c,Ic,zc,Wc,Rc=1e-6,Hc=1e-12;function Bc(t,n){return n[1]-t[1]||n[0]-t[0]}function qc(t,n){var e,r,i,o=t.sort(Bc).pop();for(Wc=[],Ic=new Array(t.length),$c=new yc,zc=new yc;;)if(i=Ac,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(Fc(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;Tc(i.arc)}if(function(){for(var t,n,e,r,i=0,o=Ic.length;i<o;++i)if((t=Ic[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=Mc(t,Wc[n[e]]);for(a.sort((function(t,n){return u[n]-u[t]})),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}(),n){var a=+n[0][0],u=+n[0][1],s=+n[1][0],c=+n[1][1];!function(t,n,e,r){for(var i,o=Wc.length;o--;)wc(i=Wc[o],t,n,e,r)&&xc(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>Rc||Math.abs(i[0][1]-i[1][1])>Rc)||delete Wc[o]}(a,u,s,c),function(t,n,e,r){var i,o,a,u,s,c,l,f,d,h,p,g,y=Ic.length,v=!0;for(i=0;i<y;++i)if(o=Ic[i]){for(a=o.site,u=(s=o.halfedges).length;u--;)Wc[s[u]]||s.splice(u,1);for(u=0,c=s.length;u<c;)p=(h=Ec(o,Wc[s[u]]))[0],g=h[1],f=(l=kc(o,Wc[s[++u%c]]))[0],d=l[1],(Math.abs(p-f)>Rc||Math.abs(g-d)>Rc)&&(s.splice(u,0,Wc.push(mc(a,h,Math.abs(p-t)<Rc&&r-g>Rc?[t,Math.abs(f-t)<Rc?d:r]:Math.abs(g-r)<Rc&&e-p>Rc?[Math.abs(d-r)<Rc?f:e,r]:Math.abs(p-e)<Rc&&g-n>Rc?[e,Math.abs(f-e)<Rc?d:n]:Math.abs(g-n)<Rc&&p-t>Rc?[Math.abs(d-n)<Rc?f:t,n]:null))-1),++c);c&&(v=!1)}if(v){var m,b,x,w=1/0;for(i=0,v=null;i<y;++i)(o=Ic[i])&&(x=(m=(a=o.site)[0]-t)*m+(b=a[1]-n)*b)<w&&(w=x,v=o);if(v){var M=[t,n],k=[t,r],E=[e,r],A=[e,n];v.halfedges.push(Wc.push(mc(a=v.site,M,k))-1,Wc.push(mc(a,k,E))-1,Wc.push(mc(a,E,A))-1,Wc.push(mc(a,A,M))-1)}}for(i=0;i<y;++i)(o=Ic[i])&&(o.halfedges.length||delete Ic[i])}(a,u,s,c)}this.edges=Wc,this.cells=Ic,$c=zc=Wc=Ic=null}qc.prototype={constructor:qc,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return kc(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;return this.cells.forEach((function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u,s,c,l=e.site,f=-1,d=n[i[o-1]],h=d.left===l?d.right:d.left;++f<o;)a=h,h=(d=n[i[f]]).left===l?d.right:d.left,a&&h&&r<a.index&&r<h.index&&(s=a,c=h,((u=l)[0]-c[0])*(s[1]-u[1])-(u[0]-s[0])*(c[1]-u[1])<0)&&t.push([l.data,a.data,h.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var s=t-i.site[0],c=n-i.site[1],l=s*s+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=n-u[1],f=s*s+c*c;f<l&&(l=f,a=u.index)}}))}while(null!==a);return o._found=r,null==e||l<=e*e?i.site:null}};const Yc=t=>{const n=t.theme&&t.theme.voronoi&&t.theme.voronoi.style?t.theme.voronoi.style:{},e=function(t,n){const e="100%",r="100%";if(!t)return g()({parent:{height:r,width:e}},n);const{data:i,labels:o,parent:a}=t,u=n&&n.parent||{},s=n&&n.labels||{},c=n&&n.data||{};return{parent:g()({},a,u,{width:e,height:r}),labels:g()({},o,s),data:g()({},i,c)}}(t.style,n),r={x:E(t,"x"),y:E(t,"y")},i={x:wu(t,"x"),y:wu(t,"y")},o={x:ou(t,"x").domain(i.x).range(t.horizontal?r.y:r.x),y:ou(t,"y").domain(i.y).range(t.horizontal?r.x:r.y)};let a=yu(t);a=function(t,n,e){const r=t=>void 0!==t,i=Un(n.x),o=Pn(n.x),a=Un(n.y),u=Pn(n.y),s=t=>n=>r(n)&&n<t,c=t=>n=>r(n)&&n>t,l=s(i),f=s(a),d=c(o),h=c(u);return t.map((t=>{let{_x:n,_y:e,_y0:i,_y1:o}=t;(l(n)||d(n))&&(n=null);const s=r(i)?i:undefined,c=r(o)?o:e;return r(c)?(r(s)||!f(c)&&!h(c)||(e=null),(f(s)&&f(c)||h(s)&&h(c))&&(e=i=o=null),f(s)&&!f(c)&&(i=a),h(s)&&!h(c)&&(i=u),Object.assign({},t,An()({_x:n,_y:e,_y0:i,_y1:o},On()))):t}))}(a,i),a=a.filter((t=>null!==t._x&&null!==t._y));const u=((t,n,e)=>{const r=[Math.min(...n.x),Math.min(...n.y)],i=[Math.max(...n.x),Math.max(...n.y)];return function(){var t=cc,n=lc,e=null;function r(r){return new qc(r.map((function(e,i){var o=[Math.round(t(e,i,r)/Rc)*Rc,Math.round(n(e,i,r)/Rc)*Rc];return o.index=i,o.data=e,o})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:sc(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}().x((n=>t.polar?(t=>-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2)(n):(n=>t.horizontal?e.y(void 0!==n._y1?n._y1:n._y):e.x(void 0!==n._x1?n._x1:n._x))(n))).y((n=>(n=>t.horizontal?e.x(void 0!==n._x1?n._x1:n._x):e.y(void 0!==n._y1?n._y1:n._y))(n))).extent([r,i])})(t,r,o).polygons(a),s=t.polar?t.origin||function(t){const{width:n,height:e}=t,{top:r,bottom:i,left:o,right:a}=b(t),u=Math.min(n-o-a,e-r-i)/2,s=n/2+o-a,c=e/2+r-i;return{x:s+u>n?u+o-a:s,y:c+u>e?u+r-i:c}}(t):void 0;return{domain:i,data:a,scale:o,style:e,polygons:u,origin:s}},Vc={width:450,height:300,padding:50};class Gc extends o().Component{static animationWhitelist=["data","domain","height","padding","samples","size","style","width"];static displayName="VictoryVoronoi";static role="voronoi";static defaultTransitions={onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}};static defaultProps={containerComponent:o().createElement(U,null),dataComponent:o().createElement(uc,null),labelComponent:o().createElement(kt,null),groupComponent:o().createElement("g",{role:"presentation"}),samples:50,sortOrder:"ascending",standalone:!0,theme:vn};static getDomain=wu;static getData=yu;static getBaseProps(t){return((t,n)=>{const e=j(t,n,"scatter"),r=Object.assign({},e,Yc(e)),{data:i,domain:o,events:a,height:u,origin:s,padding:c,polar:l,polygons:f,scale:d,sharedEvents:h,standalone:p,style:g,theme:y,width:v,labels:b,name:x}=r,w={parent:{style:g.parent,scale:d,domain:o,data:i,standalone:p,height:u,width:v,theme:y,origin:s,polar:l,padding:c,name:x}};return i.reduce(((t,n,e)=>{const o=f[e]?.filter((t=>"data"!==t)),u=A(n.eventKey)?e:n.eventKey,{x:c,y:l}=m(r,n),p={x:c,y:l,datum:n,data:i,index:e,scale:d,polygon:o,origin:s,size:r.size,style:g.data};return t[u]={data:p},(null!=V(r,n,e)||b&&(a||h))&&(t[u].labels=K(r,e)),t}),w)})(t,Vc)}static expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];shouldAnimate(){return!!this.props.animate}render(){const{animationWhitelist:t,role:n}=Kc,r=j(this.props,Vc,n);if(this.shouldAnimate())return this.animateComponent(r,t);const i=this.renderData(r);return((t,n)=>e.cloneElement(t,D(n)))(r.standalone?this.renderContainer(r.containerComponent,i):i,r)}}const Kc=(Zc=Gc,void 0===Qc&&(Qc={}),class extends Zc{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Zs.bind(this);getScopedEvents=Ks.bind(this);getEvents=(t,n,e)=>Gs.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=!ju()(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 ju()(this.calculatedState,i)?!ju()(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);Fn(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Fn(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(Xs(t),n)}removeGlobalListener(t){window.removeEventListener(Xs(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=g()({},this.getEventState(t,n),this.getSharedEventState(t,n));return I()(e)?void 0:e};return(Qc.components||tc).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!I()(n)){const e=t.externalEventMutations.reduce(((t,n)=>C(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=C(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}(t,Zc.expectedComponents),r=n&&C(n.getEventState)?n.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return I()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((i,o)=>{const a=e[o]||{},u=n[o]||{};if("parent"===o){const n=Qs(t,u,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=Nn()(Object.keys(u).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},s=Qs(t,u[e],a[e],i);return n[e]=void 0!==s?Object.assign({},a[e],s):a[e],Ys()(n,(t=>!I()(t)))}),{})}return Ys()(i,(t=>!I()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),i=g()({},r,e),o=i.parentControlledProps,a=o?f()(i,o):{},u=g()({},a,t);return"function"==typeof Zc.getBaseProps?Zc.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||Zc.role,i=this.dataKeys&&this.dataKeys[e]||e,o=`${r}-${n}-${i}`,a=this.baseProps[i]&&this.baseProps[i][n]||this.baseProps[i];if(!a&&!this.hasEvents)return;const u=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,i),r=g()({index:e,key:o},this.getEventState(i,n),this.getSharedEventState(i,n),u,a,{id:o}),s=g()({},function(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:s})}return g()({index:e,key:o},u,a,{id:o})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,Ys()(r,((t,n)=>Vs.test(n)))),e.events=(t=>An()(t,((t,n)=>Vs.test(n))))(e.events)),o().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return o().createElement(Bs,{animate:t.animate,animationWhitelist:e},o().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),a=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(o().cloneElement(e,i))),r}),[]),u=this.getComponentProps(n,"data","all"),s=[o().cloneElement(n,u),...a];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=Js);const{dataComponent:e,labelComponent:r,groupComponent:i}=t,a=[...this.dataKeys.reduce(((t,r,i)=>{const a=this.getComponentProps(e,"data",i);return n(a.datum)&&t.push(o().cloneElement(e,a)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return o().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,a)}});var Zc,Qc}(),i}()}));
|
|
2
2
|
//# sourceMappingURL=victory-voronoi.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-voronoi",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.3.1",
|
|
4
4
|
"description": "Voronoi Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"d3-voronoi": "^1.1.4",
|
|
24
24
|
"lodash": "^4.17.19",
|
|
25
|
-
"victory-core": "37.
|
|
25
|
+
"victory-core": "37.3.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=16.6.0"
|