victory-bar 36.8.5 → 36.8.6
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 +2 -0
- package/dist/victory-bar.js +1 -1
- package/dist/victory-bar.min.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/victory-bar.js
CHANGED
|
@@ -9161,9 +9161,9 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
9161
9161
|
|
|
9162
9162
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
9163
9163
|
_this.checkedContext = void 0;
|
|
9164
|
+
_this.portalKey = void 0;
|
|
9164
9165
|
_this.renderInPlace = void 0;
|
|
9165
9166
|
_this.element = void 0;
|
|
9166
|
-
_this.portalKey = void 0;
|
|
9167
9167
|
return _this;
|
|
9168
9168
|
}
|
|
9169
9169
|
|
package/dist/victory-bar.min.js
CHANGED
|
@@ -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.VictoryBar=n(require("react")):t.VictoryBar=n(t.React)}(self,(t=>(()=>{var n={503:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},3273:(t,n,e)=>{var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},2596:(t,n,e)=>{var r=e(2373).Symbol;t.exports=r},6082: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:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:t=>{t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:t=>{t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634: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}},8269:(t,n,e)=>{var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:(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:(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}},1377:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(8644),u=e(9110),c=e(9914);t.exports=function(t,n,e,s){var l=-1,f=o,p=!0,h=t.length,d=[],y=n.length;if(!h)return d;e&&(n=a(n,u(e))),s?(f=i,p=!1):n.length>=200&&(f=c,p=!1,n=new r(n));t:for(;++l<h;){var g=t[l],v=null==e?g:e(g);if(g=s||0!==g?g:0,p&&v==v){for(var b=y;b--;)if(n[b]===v)continue t;d.push(g)}else f(n,v,s)||d.push(g)}return d}},3705:t=>{t.exports=function(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i<o;)if(n(t[i],i,t))return i;return-1}},6457:(t,n,e)=>{var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var c=-1,s=n.length;for(i||(i=o),u||(u=[]);++c<s;){var l=n[c];e>0&&i(l)?e>1?t(l,e-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},4432:(t,n,e)=>{var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:t=>{t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:(t,n,e)=>{var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:(t,n,e)=>{var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),c=e(163),s=e(4801),l=e(4289),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,y,g,v){var b=c(t),m=c(n),x=b?p:u(t),O=m?p:u(n),w=(x=x==f?h:x)==h,j=(O=O==f?h:O)==h,M=x==O;if(M&&s(t)){if(!s(n))return!1;b=!0,w=!1}if(M&&!w)return v||(v=new r),b||l(t)?o(t,n,e,y,g,v):i(t,n,x,e,y,g,v);if(!(1&e)){var A=w&&d.call(t,"__wrapped__"),E=j&&d.call(n,"__wrapped__");if(A||E){var k=A?t.value():t,S=E?n.value():n;return v||(v=new r),g(k,S,e,y,v)}}return!!M&&(v||(v=new r),a(t,n,e,y,g,v))}},9548:(t,n,e)=>{var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var s=e[a];if(c&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<u;){var l=(s=e[a])[0],f=t[l],p=s[1];if(c&&s[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(i)var d=i(f,p,l,t,n,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},2229:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object RegExp]"==r(t)}},3472:(t,n,e)=>{var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},383:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:(t,n,e)=>{var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:(t,n,e)=>{var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),c=e(6878),s=e(3110);t.exports=function(t,n){return a(t)&&u(n)?c(s(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:(t,n,e)=>{var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),c=e(9110),s=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 o(n,1===t.length?t[0]:t)}:t})):[l];var p=-1;n=r(n,c(i));var h=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++p,value:t}}));return u(h,(function(t,n){return s(t,n,e)}))}},5436:(t,n,e)=>{var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:(t,n,e)=>{var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,c={};++a<u;){var s=n[a],l=r(t,s);e(l,s)&&o(c,i(s,t),l)}return c}},1600:t=>{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:(t,n,e)=>{var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:(t,n,e)=>{var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:(t,n,e)=>{var r=e(8269),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,c){if(!a(t))return t;for(var s=-1,l=(n=o(n,t)).length,f=l-1,p=t;null!=p&&++s<l;){var h=u(n[s]),d=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(s!=f){var y=p[h];void 0===(d=c?c(y,h,p):void 0)&&(d=a(y)?y:i(n[s+1])?[]:{})}r(p,h,d),p=p[h]}return t}},9521:t=>{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],c=n?n(u):u;if(!e||!r(c,s)){var s=c;a[i++]=0===u?0:u}}return a}},6316:(t,n,e)=>{var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return c?c.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},1367:(t,n,e)=>{var r=e(4120),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},9110:t=>{t.exports=function(t){return function(n){return t(n)}}},946:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),c=e(6226);t.exports=function(t,n,e){var s=-1,l=o,f=t.length,p=!0,h=[],d=h;if(e)p=!1,l=i;else if(f>=200){var y=n?null:u(t);if(y)return c(y);p=!1,l=a,d=new r}else d=n?[]:h;t:for(;++s<f;){var g=t[s],v=n?n(g):g;if(g=e||0!==g?g:0,p&&v==v){for(var b=d.length;b--;)if(d[b]===v)continue t;n&&d.push(v),h.push(g)}else l(d,v,e)||(d!==h&&d.push(v),h.push(g))}return h}},9914:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:(t,n,e)=>{var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:(t,n,e)=>{var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,c=null===n,s=n==n,l=r(n);if(!c&&!l&&!a&&t>n||a&&u&&s&&!c&&!l||o&&u&&s||!e&&s||!i)return 1;if(!o&&!a&&!l&&t<n||l&&e&&i&&!o&&!a||c&&e&&i||!u&&i||!s)return-1}return 0}},9409:(t,n,e)=>{var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,c=e.length;++o<u;){var s=r(i[o],a[o]);if(s)return o>=c?s:s*("desc"==e[o]?-1:1)}return t.index-n.index}},4499:(t,n,e)=>{var r=e(3472),o=e(981),i=e(7747);t.exports=function(t){return function(n,e,a){var u=Object(n);if(!o(n)){var c=r(e,3);n=i(n),e=function(t){return c(u[t],t,u)}}var s=t(n,e,a);return s>-1?u[c?n[s]:s]:void 0}}},6602:t=>{t.exports=function(){}},5525:(t,n,e)=>{var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:(t,n,e)=>{var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,c){var s=1&e,l=t.length,f=n.length;if(l!=f&&!(s&&f>l))return!1;var p=c.get(t),h=c.get(n);if(p&&h)return p==n&&h==t;var d=-1,y=!0,g=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++d<l;){var v=t[d],b=n[d];if(a)var m=s?a(b,v,d,n,t,c):a(v,b,d,t,n,c);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!o(n,(function(t,n){if(!i(g,n)&&(v===t||u(v,t,e,a,c)))return g.push(n)}))){y=!1;break}}else if(v!==b&&!u(v,b,e,a,c)){y=!1;break}}return c.delete(t),c.delete(n),y}},2813:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:(t,n,e)=>{var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var c=1&e,s=r(t),l=s.length;if(l!=r(n).length&&!c)return!1;for(var f=l;f--;){var p=s[f];if(!(c?p in n:o.call(n,p)))return!1}var h=u.get(t),d=u.get(n);if(h&&d)return h==n&&d==t;var y=!0;u.set(t,n),u.set(n,t);for(var g=c;++f<l;){var v=t[p=s[f]],b=n[p];if(i)var m=c?i(b,v,p,n,t,u):i(v,b,p,t,n,u);if(!(void 0===m?v===b||a(v,b,e,i,u):m)){y=!1;break}g||(g="constructor"==p)}if(y&&!g){var x=t.constructor,O=n.constructor;x==O||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O||(y=!1)}return u.delete(t),u.delete(n),y}},5557:(t,n,e)=>{var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},7271:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:(t,n,e)=>{var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},9817:(t,n,e)=>{var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:(t,n,e)=>{var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),c=e(3110);t.exports=function(t,n,e){for(var s=-1,l=(n=r(n,t)).length,f=!1;++s<l;){var p=c(n[s]);if(!(f=null!=t&&e(t,p)))break;t=t[p]}return f||++s!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(p,l)&&(i(t)||o(t))}},3608:(t,n,e)=>{var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099: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:t=>{t.exports=function(){return!1}},726:(t,n,e)=>{var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:t=>{t.exports=function(){return!1}},5385:(t,n,e)=>{var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:t=>{t.exports=function(){this.__data__=[],this.size=0}},7838:(t,n,e)=>{var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:(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:(t,n,e)=>{var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:(t,n,e)=>{var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:t=>{t.exports=function(t){return t}},2348:(t,n,e)=>{t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},4280:(t,n,e)=>{var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),c=Array(u);++a<u;)c[a]=i[n+a];a=-1;for(var s=Array(n+1);++a<n;)s[a]=i[a];return s[n]=e(c),r(t,this,s)}}},2373:(t,n,e)=>{var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:t=>{t.exports=function(){return[]}},201:t=>{t.exports=function(t){return t}},7801:(t,n,e)=>{var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:(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}},4120:t=>{var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},1893:(t,n,e)=>{var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,c=u.hasOwnProperty,s=r((function(t,n){t=Object(t);var e=-1,r=n.length,s=r>2?n[2]:void 0;for(s&&i(n[0],n[1],s)&&(r=1);++e<r;)for(var l=n[e],f=a(l),p=-1,h=f.length;++p<h;){var d=f[p],y=t[d];(void 0===y||o(y,u[d])&&!c.call(t,d))&&(t[d]=l[d])}return t}));t.exports=s},6354:(t,n,e)=>{var r=e(1377),o=e(6457),i=e(6317),a=e(7605),u=i((function(t,n){return a(t)?r(t,o(n,1,a,!0)):[]}));t.exports=u},788:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},9992:(t,n,e)=>{var r=e(4499)(e(5541));t.exports=r},5541:(t,n,e)=>{var r=e(3705),o=e(3472),i=e(982),a=Math.max;t.exports=function(t,n,e){var u=null==t?0:t.length;if(!u)return-1;var c=null==e?0:i(e);return c<0&&(c=a(u+c,0)),r(t,o(n,3),c)}},2645:(t,n,e)=>{var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:(t,n,e)=>{var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},5066:(t,n,e)=>{var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:t=>{t.exports=function(t){return t}},6149:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},5075:t=>{t.exports=function(){return!1}},163:t=>{var n=Array.isArray;t.exports=n},981:(t,n,e)=>{var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},7605:(t,n,e)=>{var r=e(981),o=e(3474);t.exports=function(t){return o(t)&&r(t)}},4801:t=>{t.exports=function(){return!1}},4295:(t,n,e)=>{var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:(t,n,e)=>{var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),c=e(4801),s=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||c(t)||l(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(s(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:(t,n,e)=>{var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:(t,n,e)=>{var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9555:t=>{t.exports=function(t){return null==t}},7709:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3849:(t,n,e)=>{var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,c=a.toString,s=u.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=s.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==l}},5395:(t,n,e)=>{var r=e(2229),o=e(9110),i=e(2348),a=i&&i.isRegExp,u=a?o(a):r;t.exports=u},1995:t=>{t.exports=function(){return!1}},4289:t=>{t.exports=function(){return!1}},8999:t=>{t.exports=function(t){return void 0===t}},7747:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},8855:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1950:t=>{t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},1594:(t,n,e)=>{var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051: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:(t,n,e)=>{var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:(t,n,e)=>{var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:(t,n,e)=>{var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:(t,n,e)=>{var r=e(8644),o=e(3472),i=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=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:(t,n,e)=>{var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},2829:(t,n,e)=>{var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},9139:(t,n,e)=>{var r=e(5812);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},982:(t,n,e)=>{var r=e(9139);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},5812:(t,n,e)=>{var r=e(1367),o=e(7709),i=e(1995),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=u.test(t);return e||c.test(t)?s(t.slice(2),e?2:8):a.test(t)?NaN:+t}},7010:(t,n,e)=>{var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:(t,n,e)=>{var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:(t,n,e)=>{var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},4882:(t,n,e)=>{var r=e(1377),o=e(6317),i=e(7605),a=o((function(t,n){return i(t)?r(t,n):[]}));t.exports=a},2504:(t,n,e)=>{"use strict";var r=e(2265);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,n,e,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},3698:(t,n,e)=>{t.exports=e(2504)()},2265:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7491:t=>{var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(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,c,s,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.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();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(t[c]!==a[c])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=(s=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,s[c]))return!1;if(n&&t instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==s[c]&&"__v"!==s[c]&&"__o"!==s[c]||!t.$$typeof)&&!i(t[s[c]],a[s[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(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:n=>{"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return r.d(n,{a:n}),n},r.d=(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=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";r.r(o),r.d(o,{Bar:()=>cu,VictoryBar:()=>Pf,getBarPath:()=>eu,getBarPosition:()=>oa,getBarWidth:()=>la,getCornerRadius:()=>fa,getCustomBarPath:()=>Qa,getHorizontalBarPath:()=>tu,getPolarBarPath:()=>ru,getStyle:()=>pa,getVerticalBarPath:()=>Ja,getVerticalPolarBarPath:()=>nu});var t={};r.r(t),r.d(t,{scaleBand:()=>V,scaleDiverging:()=>Qo,scaleDivergingLog:()=>Xo,scaleDivergingPow:()=>ti,scaleDivergingSqrt:()=>ni,scaleDivergingSymlog:()=>Jo,scaleIdentity:()=>Dn,scaleImplicit:()=>$,scaleLinear:()=>Tn,scaleLog:()=>qn,scaleOrdinal:()=>Y,scalePoint:()=>G,scalePow:()=>Qn,scaleQuantile:()=>se,scaleQuantize:()=>le,scaleRadial:()=>ne,scaleSequential:()=>Ho,scaleSequentialLog:()=>Bo,scaleSequentialPow:()=>Yo,scaleSequentialQuantile:()=>Ko,scaleSequentialSqrt:()=>Vo,scaleSequentialSymlog:()=>$o,scaleSqrt:()=>Xn,scaleSymlog:()=>Yn,scaleThreshold:()=>fe,scaleTime:()=>Wo,scaleUtc:()=>Fo,tickFormat:()=>_n});var n={};r.r(n),r.d(n,{easeBack:()=>Dl,easeBackIn:()=>Cl,easeBackInOut:()=>Dl,easeBackOut:()=>Tl,easeBounce:()=>Sl,easeBounceIn:()=>kl,easeBounceInOut:()=>Pl,easeBounceOut:()=>Sl,easeCircle:()=>Al,easeCircleIn:()=>jl,easeCircleInOut:()=>Al,easeCircleOut:()=>Ml,easeCubic:()=>ll,easeCubicIn:()=>cl,easeCubicInOut:()=>ll,easeCubicOut:()=>sl,easeElastic:()=>Nl,easeElasticIn:()=>Rl,easeElasticInOut:()=>Ll,easeElasticOut:()=>Nl,easeExp:()=>wl,easeExpIn:()=>xl,easeExpInOut:()=>wl,easeExpOut:()=>Ol,easeLinear:()=>ol,easePoly:()=>hl,easePolyIn:()=>fl,easePolyInOut:()=>hl,easePolyOut:()=>pl,easeQuad:()=>ul,easeQuadIn:()=>il,easeQuadInOut:()=>ul,easeQuadOut:()=>al,easeSin:()=>bl,easeSinIn:()=>gl,easeSinInOut:()=>bl,easeSinOut:()=>vl});var e=r(9787),i=r.n(e),a=r(9555),u=r.n(a),c=r(3849),s=r.n(c),l=r(9642),f=r.n(l),p=r(6149),h=r.n(p),d=r(7747),y=r.n(d),g=r(9082),v=r.n(g),b=r(8532),m=r.n(b),x=r(1893),O=r.n(x);function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function j(t){var n=function(t){return void 0!==t},e=t._x,r=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,s=t._voronoiY,l=n(r)?r:e,f=n(u)?u:a,p={x:n(i)?i:l,x0:n(o)?o:e,y:n(s)?s:f,y0:n(c)?c:a};return O()({},p,t)}function M(t,n){var e=t.scale,r=t.polar,o=t.horizontal,i=j(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),c=o?e.y(i.y0):e.x(i.x0),s=o?e.x(i.x):e.y(i.y),l=o?e.x(i.x0):e.y(i.y0);return{x:r?s*Math.cos(u)+a.x:u,x0:r?l*Math.cos(c)+a.x:c,y:r?-s*Math.sin(u)+a.y:s,y0:r?-l*Math.sin(c)+a.x:l}}function A(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function E(t){return"tooltip"===(t&&t.type&&t.type.role)}function k(t,n){return f()(t)?t(n):t}function S(t,n){return n.disableInlineStyles?{}:t&&y()(t).some((function(n){return f()(t[n])}))?y()(t).reduce((function(e,r){return e[r]=k(t[r],n),e}),{}):t}function P(t){return"number"==typeof t?t*(Math.PI/180):t}function _(t){var n=A(t),e=n.left,r=n.right,o=n.top,i=n.bottom,a=t.width,u=t.height;return Math.min(a-e-r,u-o-i)/2}function C(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?[P(t.startAngle||0),P(t.endAngle||360)]:[t.innerRadius||0,_(t)]}(t,n):function(t,n){var e="x"!==n,r=A(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function T(t){return f()(t)?t:null==t?function(t){return t}:m()(t)}function D(t,n,e){var r=w(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;var n=function(t){return t.reduce((function(t,e){var r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1)};return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return O()(a,t,r,n)}function I(t){return function(t){if(Array.isArray(t))return R(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return R(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?R(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function N(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}function L(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return N(o)?new Date(Math.max.apply(Math,I(o))):Math.max.apply(Math,I(o))}function U(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return N(o)?new Date(Math.min.apply(Math,I(o))):Math.min.apply(Math,I(o))}function W(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function F(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function z(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 q extends Map{constructor(t,n=B){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(H(this,t))}has(t){return super.has(H(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 H({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function B(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const $=Symbol("implicit");function Y(){var t=new q,n=[],e=[],r=$;function o(o){let i=t.get(o);if(void 0===i){if(r!==$)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new q;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return Y(n,e).unknown(r)},F.apply(o,arguments),o}function V(){var t,n,e=Y().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,c=0,s=0,l=.5;function f(){var e=r().length,f=a<i,p=f?a:i,h=f?i:a;t=(h-p)/Math.max(1,e-c+2*s),u&&(t=Math.floor(t)),p+=(h-p-t*(e-c))*l,n=t*(1-c),u&&(p=Math.round(p),n=Math.round(n));var d=W(e).map((function(n){return p+t*n}));return o(f?d.reverse():d)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,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?(c=Math.min(1,s=+t),f()):c},e.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},e.paddingOuter=function(t){return arguments.length?(s=+t,f()):s},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return V(r(),[i,a]).round(u).paddingInner(c).paddingOuter(s).align(l)},F.apply(f(),arguments)}function K(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return K(n())},t}function G(){return K(V.apply(null,arguments).paddingInner(1))}var Z=Math.sqrt(50),Q=Math.sqrt(10),X=Math.sqrt(2);function J(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=tt(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,i=new Array(o=r-e+1);++u<o;)i[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,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function tt(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=Z?10:i>=Q?5:i>=X?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=Z?10:i>=Q?5:i>=X?2:1)}function nt(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=Z?o*=10:i>=Q?o*=5:i>=X&&(o*=2),n<t?-o:o}function et(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function rt(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function ot(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=et,e=(n,e)=>et(t(n),e),r=(n,e)=>t(n)-e):(n=t===et||t===rt?t:it,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function it(){return 0}function at(t){return null===t?NaN:+t}const ut=ot(et),ct=ut.right,st=(ut.left,ot(at).center,ct);function lt(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function ft(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function pt(){}var ht=.7,dt=1/ht,yt="\\s*([+-]?\\d+)\\s*",gt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",bt=/^#([0-9a-f]{3,8})$/,mt=new RegExp(`^rgb\\(${yt},${yt},${yt}\\)$`),xt=new RegExp(`^rgb\\(${vt},${vt},${vt}\\)$`),Ot=new RegExp(`^rgba\\(${yt},${yt},${yt},${gt}\\)$`),wt=new RegExp(`^rgba\\(${vt},${vt},${vt},${gt}\\)$`),jt=new RegExp(`^hsl\\(${gt},${vt},${vt}\\)$`),Mt=new RegExp(`^hsla\\(${gt},${vt},${vt},${gt}\\)$`),At={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 Et(){return this.rgb().formatHex()}function kt(){return this.rgb().formatRgb()}function St(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=bt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Pt(n):3===e?new Dt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?_t(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?_t(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=mt.exec(t))?new Dt(n[1],n[2],n[3],1):(n=xt.exec(t))?new Dt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Ot.exec(t))?_t(n[1],n[2],n[3],n[4]):(n=wt.exec(t))?_t(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=jt.exec(t))?Wt(n[1],n[2]/100,n[3]/100,1):(n=Mt.exec(t))?Wt(n[1],n[2]/100,n[3]/100,n[4]):At.hasOwnProperty(t)?Pt(At[t]):"transparent"===t?new Dt(NaN,NaN,NaN,0):null}function Pt(t){return new Dt(t>>16&255,t>>8&255,255&t,1)}function _t(t,n,e,r){return r<=0&&(t=n=e=NaN),new Dt(t,n,e,r)}function Ct(t){return t instanceof pt||(t=St(t)),t?new Dt((t=t.rgb()).r,t.g,t.b,t.opacity):new Dt}function Tt(t,n,e,r){return 1===arguments.length?Ct(t):new Dt(t,n,e,null==r?1:r)}function Dt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function It(){return`#${Ut(this.r)}${Ut(this.g)}${Ut(this.b)}`}function Rt(){const t=Nt(this.opacity);return`${1===t?"rgb(":"rgba("}${Lt(this.r)}, ${Lt(this.g)}, ${Lt(this.b)}${1===t?")":`, ${t})`}`}function Nt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Lt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ut(t){return((t=Lt(t))<16?"0":"")+t.toString(16)}function Wt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new zt(t,n,e,r)}function Ft(t){if(t instanceof zt)return new zt(t.h,t.s,t.l,t.opacity);if(t instanceof pt||(t=St(t)),!t)return new zt;if(t instanceof zt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new zt(a,u,c,t.opacity)}function zt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function qt(t){return(t=(t||0)%360)<0?t+360:t}function Ht(t){return Math.max(0,Math.min(1,t||0))}function Bt(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 $t(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}lt(pt,St,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Et,formatHex:Et,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ft(this).formatHsl()},formatRgb:kt,toString:kt}),lt(Dt,Tt,ft(pt,{brighter(t){return t=null==t?dt:Math.pow(dt,t),new Dt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ht:Math.pow(ht,t),new Dt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Dt(Lt(this.r),Lt(this.g),Lt(this.b),Nt(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:It,formatHex:It,formatHex8:function(){return`#${Ut(this.r)}${Ut(this.g)}${Ut(this.b)}${Ut(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Rt,toString:Rt})),lt(zt,(function(t,n,e,r){return 1===arguments.length?Ft(t):new zt(t,n,e,null==r?1:r)}),ft(pt,{brighter(t){return t=null==t?dt:Math.pow(dt,t),new zt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ht:Math.pow(ht,t),new zt(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,o=2*e-r;return new Dt(Bt(t>=240?t-240:t+120,o,r),Bt(t,o,r),Bt(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new zt(qt(this.h),Ht(this.s),Ht(this.l),Nt(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=Nt(this.opacity);return`${1===t?"hsl(":"hsla("}${qt(this.h)}, ${100*Ht(this.s)}%, ${100*Ht(this.l)}%${1===t?")":`, ${t})`}`}}));const Yt=t=>()=>t;function Vt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Yt(isNaN(t)?n:t)}const Kt=function t(n){var e=function(t){return 1==(t=+t)?Vt: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):Yt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Tt(t)).r,(n=Tt(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=Vt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Gt(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=Tt(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function Zt(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=on(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function Qt(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Xt(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function Jt(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=on(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}Gt((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),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return $t((e-r/n)*n,a,o,i,u)}})),Gt((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return $t((e-r/n)*n,o,i,a,u)}}));var tn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nn=new RegExp(tn.source,"g");function en(t,n){var e,r,o,i=tn.lastIndex=nn.lastIndex=0,a=-1,u=[],c=[];for(t+="",n+="";(e=tn.exec(t))&&(r=nn.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Xt(e,r)})),i=nn.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)u[(e=c[r]).i]=e.x(t);return u.join("")})}function rn(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function on(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?Yt(n):("number"===o?Xt:"string"===o?(e=St(n))?(n=e,Kt):en:n instanceof St?Kt:n instanceof Date?Qt:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Zt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Jt:Xt:rn))(t,n)}function an(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function un(t){return+t}var cn=[0,1];function sn(t){return t}function ln(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function fn(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=ln(o,r),i=e(a,i)):(r=ln(r,o),i=e(i,a)),function(t){return i(r(t))}}function pn(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=ln(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=st(t,n,1,r)-1;return i[e](o[e](n))}}function hn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function dn(){var t,n,e,r,o,i,a=cn,u=cn,c=on,s=sn;function l(){var t,n,e,c=Math.min(a.length,u.length);return s!==sn&&(t=a[0],n=a[c-1],t>n&&(e=t,t=n,n=e),s=function(e){return Math.max(t,Math.min(n,e))}),r=c>2?pn:fn,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,c)))(t(s(n)))}return f.invert=function(e){return s(n((i||(i=r(u,a.map(t),Xt)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,un),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),c=an,l()},f.clamp=function(t){return arguments.length?(s=!!t||sn,l()):s!==sn},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function yn(){return dn()(sn,sn)}var gn,vn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function bn(t){if(!(n=vn.exec(t)))throw new Error("invalid format: "+t);var n;return new mn({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 mn(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 xn(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 On(t){return(t=xn(Math.abs(t)))?t[1]:NaN}function wn(t,n){var e=xn(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}bn.prototype=mn.prototype,mn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const jn={"%":(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)=>wn(100*t,n),r:wn,s:function(t,n){var e=xn(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(gn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+xn(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Mn(t){return t}var An,En,kn,Sn=Array.prototype.map,Pn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _n(t,n,e,r){var o,i=nt(t,n,e);switch((r=bn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(On(n)/3)))-On(Math.abs(t)))}(i,a))||(r.precision=o),kn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,On(n)-On(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-On(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return En(r)}function Cn(t){var n=t.domain;return t.ticks=function(t){var e=n();return J(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return _n(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,c=i[a],s=i[u],l=10;for(s<c&&(o=c,c=s,s=o,o=a,a=u,u=o);l-- >0;){if((o=tt(c,s,e))===r)return i[a]=c,i[u]=s,n(i);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o}r=o}return t},t}function Tn(){var t=yn();return t.copy=function(){return hn(t,Tn())},F.apply(t,arguments),Cn(t)}function Dn(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,un),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Dn(t).unknown(n)},t=arguments.length?Array.from(t,un):[0,1],Cn(e)}function In(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function Rn(t){return Math.log(t)}function Nn(t){return Math.exp(t)}function Ln(t){return-Math.log(-t)}function Un(t){return-Math.exp(-t)}function Wn(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Fn(t){return(n,e)=>-t(-n,e)}function zn(t){const n=t(Rn,Nn),e=n.domain;let r,o,i=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)}(i),o=function(t){return 10===t?Wn:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=Fn(r),o=Fn(o),t(Ln,Un)):t(Rn,Nn),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},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 c=u<a;c&&([a,u]=[u,a]);let s,l,f=r(a),p=r(u);const h=null==t?10:+t;let d=[];if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(s=1;s<i;++s)if(l=f<0?s/o(-f):s*o(f),!(l<a)){if(l>u)break;d.push(l)}}else for(;f<=p;++f)for(s=i-1;s>=1;--s)if(l=f>0?s/o(-f):s*o(f),!(l<a)){if(l>u)break;d.push(l)}2*d.length<h&&(d=J(a,u,h))}else d=J(f,p,Math.min(p-f,h)).map(o);return c?d.reverse():d},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=bn(e)).precision||(e.trim=!0),e=En(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(In(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function qn(){const t=zn(dn()).domain([1,10]);return t.copy=()=>hn(t,qn()).base(t.base()),F.apply(t,arguments),t}function Hn(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Bn(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function $n(t){var n=1,e=t(Hn(n),Bn(n));return e.constant=function(e){return arguments.length?t(Hn(n=+e),Bn(n)):n},Cn(e)}function Yn(){var t=$n(dn());return t.copy=function(){return hn(t,Yn()).constant(t.constant())},F.apply(t,arguments)}function Vn(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Kn(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Gn(t){return t<0?-t*t:t*t}function Zn(t){var n=t(sn,sn),e=1;function r(){return 1===e?t(sn,sn):.5===e?t(Kn,Gn):t(Vn(e),Vn(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Cn(n)}function Qn(){var t=Zn(dn());return t.copy=function(){return hn(t,Qn()).exponent(t.exponent())},F.apply(t,arguments),t}function Xn(){return Qn.apply(null,arguments).exponent(.5)}function Jn(t){return Math.sign(t)*t*t}function te(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ne(){var t,n=yn(),e=[0,1],r=!1;function o(e){var o=te(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(Jn(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,un)).map(Jn)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ne(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},F.apply(o,arguments),Cn(o)}function ee(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 o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function re(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 o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function oe(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ie(t,n,e=0,r=t.length-1,o){for(o=void 0===o?oe:function(t=et){if(t===et)return oe;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))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),c=.5*Math.exp(2*u/3),s=.5*Math.sqrt(u*c*(i-c)/i)*(a-i/2<0?-1:1);ie(t,n,Math.max(e,Math.floor(n-a*c/i+s)),Math.min(r,Math.floor(n+(i-a)*c/i+s)),o)}const i=t[n];let a=e,u=r;for(ae(t,e,n),o(t[r],i)>0&&ae(t,e,r);a<u;){for(ae(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?ae(t,e,u):(++u,ae(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function ae(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ue(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 re(t);if(n>=1)return ee(t);var r,o=(r-1)*n,i=Math.floor(o),a=ee(ie(t,i).subarray(0,i+1));return a+(re(t.subarray(i+1))-a)*(o-i)}}function ce(t,n,e=at){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,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function se(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=ce(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[st(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.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(et),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return se().domain(n).range(e).unknown(t)},F.apply(i,arguments)}function le(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[st(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[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=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return le().domain([n,e]).range(i).unknown(t)},F.apply(Cn(a),arguments)}function fe(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[st(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return fe().domain(n).range(e).unknown(t)},F.apply(o,arguments)}An=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Mn:(n=Sn.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Mn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Sn.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=bn(t)).fill,e=t.align,f=t.sign,p=t.symbol,h=t.zero,d=t.width,y=t.comma,g=t.precision,v=t.trim,b=t.type;"n"===b?(y=!0,b="g"):jn[b]||(void 0===g&&(g=12),v=!0,b="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var m="$"===p?o:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===p?i:/[%p]/.test(b)?c:"",O=jn[b],w=/[defgprs%]/.test(b);function j(t){var o,i,c,p=m,j=x;if("c"===b)j=O(t)+j,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:O(Math.abs(t),g),v&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),M&&0==+t&&"+"!==f&&(M=!1),p=(M?"("===f?f:s:"-"===f||"("===f?"":f)+p,j=("s"===b?Pn[8+gn/3]:"")+j+(M&&"("===f?")":""),w)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){j=(46===c?a+t.slice(o+1):t.slice(o))+j,t=t.slice(0,o);break}}y&&!h&&(t=r(t,1/0));var A=p.length+t.length+j.length,E=A<d?new Array(d-A+1).join(n):"";switch(y&&h&&(t=r(E+t,E.length?d-j.length:1/0),E=""),e){case"<":t=p+t+j+E;break;case"=":t=p+E+t+j;break;case"^":t=E.slice(0,A=E.length>>1)+p+t+j+E.slice(A);break;default:t=E+p+t+j}return u(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),j.toString=function(){return t+""},j}return{format:f,formatPrefix:function(t,n){var e=f(((t=bn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(On(n)/3))),o=Math.pow(10,-r),i=Pn[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),En=An.format,kn=An.formatPrefix;const pe=1e3,he=6e4,de=36e5,ye=864e5,ge=6048e5,ve=31536e6;var be=new Date,me=new Date;function xe(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return xe((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&&(o.count=function(n,r){return be.setTime(+n),me.setTime(+r),t(be),t(me),Math.floor(e(be,me))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var Oe=xe((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Oe.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?xe((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Oe:null};const we=Oe;Oe.range;var je=xe((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*pe)}),(function(t,n){return(n-t)/pe}),(function(t){return t.getUTCSeconds()}));const Me=je;je.range;var Ae=xe((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*pe)}),(function(t,n){t.setTime(+t+n*he)}),(function(t,n){return(n-t)/he}),(function(t){return t.getMinutes()}));const Ee=Ae;Ae.range;var ke=xe((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*pe-t.getMinutes()*he)}),(function(t,n){t.setTime(+t+n*de)}),(function(t,n){return(n-t)/de}),(function(t){return t.getHours()}));const Se=ke;ke.range;var Pe=xe((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*he)/ye),(t=>t.getDate()-1));const _e=Pe;function Ce(t){return xe((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())*he)/ge}))}Pe.range;var Te=Ce(0),De=Ce(1),Ie=Ce(2),Re=Ce(3),Ne=Ce(4),Le=Ce(5),Ue=Ce(6),We=(Te.range,De.range,Ie.range,Re.range,Ne.range,Le.range,Ue.range,xe((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()})));const Fe=We;We.range;var ze=xe((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()}));ze.every=function(t){return isFinite(t=Math.floor(t))&&t>0?xe((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};const qe=ze;ze.range;var He=xe((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*he)}),(function(t,n){return(n-t)/he}),(function(t){return t.getUTCMinutes()}));const Be=He;He.range;var $e=xe((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*de)}),(function(t,n){return(n-t)/de}),(function(t){return t.getUTCHours()}));const Ye=$e;$e.range;var Ve=xe((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/ye}),(function(t){return t.getUTCDate()-1}));const Ke=Ve;function Ge(t){return xe((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)/ge}))}Ve.range;var Ze=Ge(0),Qe=Ge(1),Xe=Ge(2),Je=Ge(3),tr=Ge(4),nr=Ge(5),er=Ge(6),rr=(Ze.range,Qe.range,Xe.range,Je.range,tr.range,nr.range,er.range,xe((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()})));const or=rr;rr.range;var ir=xe((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()}));ir.every=function(t){return isFinite(t=Math.floor(t))&&t>0?xe((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};const ar=ir;function ur(t,n,e,r,o,i){const a=[[Me,1,pe],[Me,5,5e3],[Me,15,15e3],[Me,30,3e4],[i,1,he],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,de],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,ye],[r,2,1728e5],[e,1,ge],[n,1,2592e6],[n,3,7776e6],[t,1,ve]];function u(n,e,r){const o=Math.abs(e-n)/r,i=ot((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(nt(n/ve,e/ve,r));if(0===i)return we.every(Math.max(nt(n,e,r),1));const[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}ir.range;const[cr,sr]=ur(ar,or,Ze,Ke,Ye,Be),[lr,fr]=ur(qe,Fe,Te,_e,Se,Ee);function pr(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 hr(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 dr(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var yr,gr,vr,br={"-":"",_:" ",0:"0"},mr=/^\s*\d+/,xr=/^%/,Or=/[\\^$*+?|[\]().{}]/g;function wr(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function jr(t){return t.replace(Or,"\\$&")}function Mr(t){return new RegExp("^(?:"+t.map(jr).join("|")+")","i")}function Ar(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Er(t,n,e){var r=mr.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function kr(t,n,e){var r=mr.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Sr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Pr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function _r(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Cr(t,n,e){var r=mr.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Tr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Dr(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 Ir(t,n,e){var r=mr.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Rr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Nr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Lr(t,n,e){var r=mr.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Ur(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Wr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Fr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function zr(t,n,e){var r=mr.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function qr(t,n,e){var r=mr.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Hr(t,n,e){var r=xr.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Br(t,n,e){var r=mr.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function $r(t,n,e){var r=mr.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Yr(t,n){return wr(t.getDate(),n,2)}function Vr(t,n){return wr(t.getHours(),n,2)}function Kr(t,n){return wr(t.getHours()%12||12,n,2)}function Gr(t,n){return wr(1+_e.count(qe(t),t),n,3)}function Zr(t,n){return wr(t.getMilliseconds(),n,3)}function Qr(t,n){return Zr(t,n)+"000"}function Xr(t,n){return wr(t.getMonth()+1,n,2)}function Jr(t,n){return wr(t.getMinutes(),n,2)}function to(t,n){return wr(t.getSeconds(),n,2)}function no(t){var n=t.getDay();return 0===n?7:n}function eo(t,n){return wr(Te.count(qe(t)-1,t),n,2)}function ro(t){var n=t.getDay();return n>=4||0===n?Ne(t):Ne.ceil(t)}function oo(t,n){return t=ro(t),wr(Ne.count(qe(t),t)+(4===qe(t).getDay()),n,2)}function io(t){return t.getDay()}function ao(t,n){return wr(De.count(qe(t)-1,t),n,2)}function uo(t,n){return wr(t.getFullYear()%100,n,2)}function co(t,n){return wr((t=ro(t)).getFullYear()%100,n,2)}function so(t,n){return wr(t.getFullYear()%1e4,n,4)}function lo(t,n){var e=t.getDay();return wr((t=e>=4||0===e?Ne(t):Ne.ceil(t)).getFullYear()%1e4,n,4)}function fo(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+wr(n/60|0,"0",2)+wr(n%60,"0",2)}function po(t,n){return wr(t.getUTCDate(),n,2)}function ho(t,n){return wr(t.getUTCHours(),n,2)}function yo(t,n){return wr(t.getUTCHours()%12||12,n,2)}function go(t,n){return wr(1+Ke.count(ar(t),t),n,3)}function vo(t,n){return wr(t.getUTCMilliseconds(),n,3)}function bo(t,n){return vo(t,n)+"000"}function mo(t,n){return wr(t.getUTCMonth()+1,n,2)}function xo(t,n){return wr(t.getUTCMinutes(),n,2)}function Oo(t,n){return wr(t.getUTCSeconds(),n,2)}function wo(t){var n=t.getUTCDay();return 0===n?7:n}function jo(t,n){return wr(Ze.count(ar(t)-1,t),n,2)}function Mo(t){var n=t.getUTCDay();return n>=4||0===n?tr(t):tr.ceil(t)}function Ao(t,n){return t=Mo(t),wr(tr.count(ar(t),t)+(4===ar(t).getUTCDay()),n,2)}function Eo(t){return t.getUTCDay()}function ko(t,n){return wr(Qe.count(ar(t)-1,t),n,2)}function So(t,n){return wr(t.getUTCFullYear()%100,n,2)}function Po(t,n){return wr((t=Mo(t)).getUTCFullYear()%100,n,2)}function _o(t,n){return wr(t.getUTCFullYear()%1e4,n,4)}function Co(t,n){var e=t.getUTCDay();return wr((t=e>=4||0===e?tr(t):tr.ceil(t)).getUTCFullYear()%1e4,n,4)}function To(){return"+0000"}function Do(){return"%"}function Io(t){return+t}function Ro(t){return Math.floor(+t/1e3)}function No(t){return new Date(t)}function Lo(t){return t instanceof Date?+t:+new Date(+t)}function Uo(t,n,e,r,o,i,a,u,c,s){var l=yn(),f=l.invert,p=l.domain,h=s(".%L"),d=s(":%S"),y=s("%I:%M"),g=s("%I %p"),v=s("%a %d"),b=s("%b %d"),m=s("%B"),x=s("%Y");function O(t){return(c(t)<t?h:u(t)<t?d:a(t)<t?y:i(t)<t?g:r(t)<t?o(t)<t?v:b:e(t)<t?m:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?p(Array.from(t,Lo)):p().map(No)},l.ticks=function(n){var e=p();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?O:s(n)},l.nice=function(t){var e=p();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?p(In(e,t)):l},l.copy=function(){return hn(l,Uo(t,n,e,r,o,i,a,u,c,s))},l}function Wo(){return F.apply(Uo(lr,fr,qe,Fe,Te,_e,Se,Ee,Me,gr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Fo(){return F.apply(Uo(cr,sr,ar,or,Ze,Ke,Ye,Be,Me,vr).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function zo(){var t,n,e,r,o,i=0,a=1,u=sn,c=!1;function s(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,c?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),s):[u(0),u(1)]}}return s.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),s):[i,a]},s.clamp=function(t){return arguments.length?(c=!!t,s):c},s.interpolator=function(t){return arguments.length?(u=t,s):u},s.range=l(on),s.rangeRound=l(an),s.unknown=function(t){return arguments.length?(o=t,s):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),s}}function qo(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Ho(){var t=Cn(zo()(sn));return t.copy=function(){return qo(t,Ho())},z.apply(t,arguments)}function Bo(){var t=zn(zo()).domain([1,10]);return t.copy=function(){return qo(t,Bo()).base(t.base())},z.apply(t,arguments)}function $o(){var t=$n(zo());return t.copy=function(){return qo(t,$o()).constant(t.constant())},z.apply(t,arguments)}function Yo(){var t=Zn(zo());return t.copy=function(){return qo(t,Yo()).exponent(t.exponent())},z.apply(t,arguments)}function Vo(){return Yo.apply(null,arguments).exponent(.5)}function Ko(){var t=[],n=sn;function e(e){if(null!=e&&!isNaN(e=+e))return n((st(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(et),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)=>ue(t,r/n)))},e.copy=function(){return Ko(n).domain(t)},z.apply(e,arguments)}function Go(t,n){void 0===n&&(n=t,t=on);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function Zo(){var t,n,e,r,o,i,a,u=0,c=.5,s=1,l=1,f=sn,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(l*t<l*n?r:o),f(p?Math.max(0,Math.min(1,t)):t))}function d(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=Go(t,[e,r,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,c,s]=a,t=i(u=+u),n=i(c=+c),e=i(s=+s),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,c,s]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(on),h.rangeRound=d(an),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(u),n=a(c),e=a(s),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Qo(){var t=Cn(Zo()(sn));return t.copy=function(){return qo(t,Qo())},z.apply(t,arguments)}function Xo(){var t=zn(Zo()).domain([.1,1,10]);return t.copy=function(){return qo(t,Xo()).base(t.base())},z.apply(t,arguments)}function Jo(){var t=$n(Zo());return t.copy=function(){return qo(t,Jo()).constant(t.constant())},z.apply(t,arguments)}function ti(){var t=Zn(Zo());return t.copy=function(){return qo(t,ti()).exponent(t.exponent())},z.apply(t,arguments)}function ni(){return ti.apply(null,arguments).exponent(.5)}yr=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,s=Mr(o),l=Ar(o),f=Mr(i),p=Ar(i),h=Mr(a),d=Ar(a),y=Mr(u),g=Ar(u),v=Mr(c),b=Ar(c),m={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Yr,e:Yr,f:Qr,g:co,G:lo,H:Vr,I:Kr,j:Gr,L:Zr,m:Xr,M:Jr,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Io,s:Ro,S:to,u:no,U:eo,V:oo,w:io,W:ao,x:null,X:null,y:uo,Y:so,Z:fo,"%":Do},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:po,e:po,f:bo,g:Po,G:Co,H:ho,I:yo,j:go,L:vo,m:mo,M:xo,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Io,s:Ro,S:Oo,u:wo,U:jo,V:Ao,w:Eo,W:ko,x:null,X:null,y:So,Y:_o,Z:To,"%":Do},O={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=p.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=b.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=g.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return M(t,n,e,r)},d:Nr,e:Nr,f:qr,g:Tr,G:Cr,H:Ur,I:Ur,j:Lr,L:zr,m:Rr,M:Wr,p:function(t,n,e){var r=s.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:Ir,Q:Br,s:$r,S:Fr,u:kr,U:Sr,V:Pr,w:Er,W:_r,x:function(t,n,r){return M(t,e,n,r)},X:function(t,n,e){return M(t,r,n,e)},y:Tr,Y:Cr,Z:Dr,"%":Hr};function w(t,n){return function(e){var r,o,i,a=[],u=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++u<s;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=br[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,n){return function(e){var r,o,i=dr(1900,void 0,1);if(M(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=hr(dr(i.y,0,1))).getUTCDay(),r=o>4||0===o?Qe.ceil(r):Qe(r),r=Ke.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=pr(dr(i.y,0,1))).getDay(),r=o>4||0===o?De.ceil(r):De(r),r=_e.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?hr(dr(i.y,0,1)).getUTCDay():pr(dr(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,hr(i)):pr(i)}}function M(t,n,e,r){for(var o,i,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=O[o in br?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=j(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=j(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"]}),gr=yr.format,yr.parse,vr=yr.utcFormat,yr.utcParse;var ei=["linear","time","log","sqrt"];function ri(t){return"function"==typeof t?f()(t.copy)&&f()(t.domain)&&f()(t.range):"string"==typeof t&&h()(ei,t)}function oi(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function ii(t,n){if(!t.data)return"linear";var e=T(t[n]);return N(t.data.map((function(t){var r=s()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function ai(n){if(ri(n)){var e=function(t){var n;return"scale".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}(n);return t[e]()}return Tn()}function ui(t,n){var e=function(t,n){if(oi(t,n)){var e=t.scale[n]||t.scale;return ri(e)?f()(e)?e:ai(e):void 0}}(t,n);return e?"string"==typeof e?ai(e):e:ai(function(t,n){var e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return N(e)?"time":"linear"}(t,n)||ii(t,n))}function ci(t,n){return function(t,n){if(oi(t,n)){var e=t.scale[n]||t.scale;return"string"==typeof e?e:li(e)}}(t,n)||ii(t,n)}var si=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function li(t){if("string"==typeof t)return t;var n=si.filter((function(n){return void 0!==t[n.method]}))[0];return n?n.name:void 0}var fi=r(4295),pi=r.n(fi),hi=r(2829),di=r.n(hi),yi=r(2645),gi=r.n(yi),vi=r(1616),bi=r.n(vi),mi=r(8999),xi=r.n(mi),Oi=r(8254),wi=r.n(Oi),ji=r(4155),Mi=r.n(ji),Ai=r(4143),Ei=r.n(Ai),ki=r(1950),Si=r.n(ki),Pi=r(9602),_i=r.n(Pi);function Ci(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function Ti(t,n){return Ci(t)?t.reduce((function(t,e,r){var o=e;return n&&n[r]&&(o=Ti(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function Di(t){return function(t){if(Array.isArray(t))return Ii(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Ii(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Ii(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ii(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Ri(t){var n;return Ci(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?Ti(t,{errorX:!0,errorY:!0}):t}function Ni(t,n){var e=(s()(t.domain)?t.domain[n]:t.domain)||ui(t,n).domain(),r=t.samples||1,o=Math.max.apply(Math,Di(e)),i=Math.min.apply(Math,Di(e)),a=function(t,n,e){var r=n?t:0,o=n||t;o||(o=0);var i=o-r,a=Math.abs(i),u=i/a||1,c=e||1,s=Math.max(Math.ceil(a/c),0);return Array.from(Array(s),(function(t,n){return r+n*u*c}))}(i,o,(o-i)/r);return Si()(a)===o?a:a.concat(o)}function Li(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!n)return t;var r=n;"x"!==n&&"y"!==n||(r="_".concat(n));var o="ascending"===e?"asc":"desc";return Ei()(t,r,o)}function Ui(t,n){var e=function(t,n){var e=t.tickValues,r=t.tickFormat;return(e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[]).filter((function(t){return"string"==typeof t}))}(t,n),r=qi(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!Ci(t.data))return[];var e=T(void 0===t[n]?n:t[n]);return Li(t.data.reduce((function(t,n){return t.push(Ri(n)),t}),[]),t.sortKey,t.sortOrder).reduce((function(t,n){var r=Ri(n);return t.push(e(r)),t}),[]).filter((function(t){return"string"==typeof t})).reduce((function(t,n){return null!=n&&-1===t.indexOf(n)&&t.push(n),t}),[])}(t,n),i=_i()([].concat(Di(e),Di(r),Di(o)));return 0===i.length?null:i.reduce((function(t,n,e){return t[n]=e+1,t}),{})}function Wi(t,n,e){if(!Array.isArray(t)&&!Ci(t)||function(t){return Ci(t)?t.size:t.length}(t)<1)return[];var r,o=["x","y","y0"],i=(e=Array.isArray(e)?e:o).reduce((function(t,e){var r;return t[e]=T(void 0!==n[r=e]?n[r]:r),t}),{}),a=wi()(e,o)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;!1===a&&(r={x:-1!==e.indexOf("x")?Ui(n,"x"):void 0,y:-1!==e.indexOf("y")?Ui(n,"y"):void 0,y0:-1!==e.indexOf("y0")?Ui(n,"y"):void 0});var u=a?t:t.reduce((function(t,n,o){var a=Ri(n),u={x:o,y:a},c=e.reduce((function(t,n){var e=i[n](a),o=void 0!==e?e:u[n];return void 0!==o&&("string"==typeof o&&r[n]?(t["".concat(n,"Name")]=o,t["_".concat(n)]=r[n][o]):t["_".concat(n)]=o),t}),{}),s=Object.assign({},c,a);return Mi()(s)||t.push(s),t}),[]),c=function(t,n){var e=1/Number.MAX_SAFE_INTEGER,r={x:ci(n,"x"),y:ci(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;var o=function(t,n){return"log"!==r[n]||0!==t["_".concat(n)]};return t.map((function(t){return o(t,"x")&&o(t,"y")&&o(t,"y0")?t:function(t){var n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:i})}(t)}))}(Li(u,n.sortKey,n.sortOrder),n);return function(t,n){var e,r=!!t.eventKey,o=(e=t.eventKey,f()(e)?e:null==e?function(){}:m()(e));return n.map((function(t,n){if(void 0!==t.eventKey)return t;if(r){var e=o(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,c)}function Fi(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function zi(t){return t.data?Wi(t.data,t):Wi(function(t){var n=Ni(t,"x"),e=Ni(t,"y");return n.map((function(t,n){return{x:t,y:e[n]}}))}(t),t)}function qi(t,n){if(!t.categories)return[];var e=Fi(t,n),r=e&&e.filter((function(t){return"string"==typeof t}));return r?r.filter((function(t){return void 0!==t})):[]}function Hi(t){return function(t){if(Array.isArray(t))return Bi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Bi(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Bi(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bi(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function $i(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(t){return"max"===e?Math.max.apply(Math,Hi(t)):Math.min.apply(Math,Hi(t))},o="max"===e?-1/0:1/0,i=!1,a=gi()(t).reduce((function(t,e){var o=void 0!==e["_".concat(n,"0")]?e["_".concat(n,"0")]:e["_".concat(n)],a=void 0!==e["_".concat(n,"1")]?e["_".concat(n,"1")]:e["_".concat(n)],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function Yi(t,n,e){return function(t,n,e){return"log"!==ci(n,e)?t:(o=(r=t)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?o:r[0],0===r[1]?o:r[1]]);var r,o}(function(t,n,e){if(!n.domainPadding)return t;var r=Xi(n,e),o=Qi(n,e),i=function(t,n){var e=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return s()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;var a=U(t),u=L(t),c=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),l=C(n,c),f=Math.abs(l[0]-l[1]),p=Math.max(f-i.left-i.right,1),h=Math.abs(u.valueOf()-a.valueOf())/p*f,d=h*i.left/f,y=h*i.right/f,g={min:a.valueOf()-d,max:u.valueOf()+y},v=s()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,b=function(t,n){return"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!==v){var m={left:Math.abs(u-a)*i.left/f,right:Math.abs(u-a)*i.right/f},x={min:b(a.valueOf()-m.left,"min"),max:b(u.valueOf()+m.right,"max")},O={left:Math.abs(x.max-x.min)*i.left/f,right:Math.abs(x.max-x.min)*i.right/f};g={min:b(a.valueOf()-O.left,"min"),max:b(u.valueOf()+O.right,"max")}}var w={min:void 0!==r?r:g.min,max:void 0!==o?o:g.max};return a instanceof Date||u instanceof Date?Ki(new Date(w.min),new Date(w.max)):Ki(w.min,w.max)}(t,n,e),n,e)}function Vi(t,n,e){var r=e||zi(t),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u,s=Xi(t,n),l=Qi(t,n);if(r.length<1)return void 0!==s&&void 0!==l?Ki(s,l):void 0;var f=Ki(void 0!==s?s:$i(r,n,"min"),void 0!==l?l:$i(r,n,"max"));return o&&"x"===n&&360===Math.abs(a-c)?Ji(f,function(t,n){var e="_".concat(n);return gi()(t).map((function(t){return t[e]&&void 0!==t[e][1]?t[e][1]:t[e]}))}(r,n)):f}function Ki(t,n){var e,r,o,i;return Number(t)===Number(n)?(r=0===(e=n)?2*Math.pow(10,-10):Math.pow(10,-10),o=e instanceof Date?new Date(Number(e)-1):Number(e)-r,i=e instanceof Date?new Date(Number(e)+1):Number(e)+r,0===e?[0,i]:[o,i]):[t,n]}function Gi(t,n){var e=Xi(t,n),r=Qi(t,n);return s()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?Ki(e,r):void 0}function Zi(t,n){var e=Gi(t,n);if(e)return e;var r,o,i,a,u=zi(t),c=u.reduce((function(t,n){return n._y0<t?n._y0:t}),1/0);return(r=function(){return Vi(t,n,u)},o=function(e){return Yi(function(e){if("x"===n)return e;var r=c!==1/0?c:0,o=Qi(t,n),i=Xi(t,n),a=void 0!==o?o:L(e,r);return Ki(void 0!==i?i:U(e,r),a)}(e),t,n)},i=f()(r)?r:Vi,a=f()(o)?o:Yi,function(t,n){var e=Gi(t,n);if(e)return a(e,t,n);var r=Fi(t,n),o=r?function(t,n,e){var r=e||Fi(t,n),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u;if(r){var s,l=Xi(t,n),f=Qi(t,n),p=(s=r,Array.isArray(s)&&s.some((function(t){return"string"==typeof t}))?qi(t,n):[]),h=0===p.length?null:p.reduce((function(t,n,e){return t[n]=e+1,t}),{}),d=h?r.map((function(t){return h[t]})):r,y=Ki(void 0!==l?l:U(d),void 0!==f?f:L(d));return o&&"x"===n&&360===Math.abs(a-c)?Ji(y,d):y}}(t,n,r):i(t,n);return o?a(o,t,n):void 0})(t,n)}function Qi(t,n){return s()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||pi()(t.maxDomain)?t.maxDomain:void 0}function Xi(t,n){return s()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||pi()(t.minDomain)?t.minDomain:void 0}function Ji(t,n){var e=di()(n.sort((function(t,n){return t-n}))),r=e[1]-e[0];return[t[0],t[1]+r]}function ta(t){var n=t.labelComponent,e=t.labelPlacement,r=t.polar?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||r}function na(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function ea(t,n){var e,r=j(n).x;return("number"==typeof(e=t.scale.x(r))?e/(Math.PI/180):e)%360}function ra(t,n){var e=t.scale,r=t.data,o=t.style,i=t.horizontal,a=t.polar,u=t.width,c=t.height,s=t.theme,l=t.labelComponent,f=t.disableInlineStyles,p=r[n],h=ea(t,p),d=a?function(t,n){var e=ta(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,h):function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style,r=t.horizontal,o=n._y>=0?1:-1,i=e&&e.labels||{};return n.verticalAnchor||i.verticalAnchor?n.verticalAnchor||i.verticalAnchor:r?o>=0?"start":"end":"middle"}(t,p),y=a?function(t,n){var e=ta(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){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},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,p),g=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,p),v=na(t,p,n),b=ta(t),m=function(t,n){var e=t.polar,r=M(t,n),o=r.x,i=r.y;if(!e)return{x:o,y:i};var a=function(t,n){var e=t.style,r=ea(t,n),o=k((e.labels||{}).padding,t)||0,i=P(r);return{x:o*Math.cos(i),y:-o*Math.sin(i)}}(t,n);return{x:o+a.x,y:i+a.y}}(t,p),x=m.x,j=m.y,A=function(t,n){if(t.polar)return{};var e=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.horizontal,r=k((t.style.labels||{}).padding,t)||0,o=n._y<0?-1:1;return{x:e?o*r:0,y:e?0:-1*o*r}}(t,n);return{dx:e.x,dy:e.y}}(t,p),S={angle:g,data:r,datum:p,disableInlineStyles:f,horizontal:i,index:n,polar:a,scale:e,labelPlacement:b,text:v,textAnchor:d,verticalAnchor:y,x,y:j,dx:A.dx,dy:A.dy,width:u,height:c,style:o.labels};if(!E(l))return S;var _=s&&s.tooltip||{};return O()({},S,w(_,["style"]))}var oa=function(t,n){var e=function(e){var r="log"===li(t.scale[e])?1/Number.MAX_SAFE_INTEGER:0,o=U(t.domain[e]),i=L(t.domain[e]);return o<0&&i<=0?r=i:o>=0&&i>0&&(r=o),n["_".concat(e)]instanceof Date?new Date(r):r},r=void 0!==n._y0?n._y0:e("y"),o=void 0!==n._x0?n._x0:e("x");return M(t,Object.assign({},n,{_y0:r,_x0:o}))},ia=["desc","id","tabIndex","origin"];function aa(){return aa=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},aa.apply(this,arguments)}function ua(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ca(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var sa=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,ia)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ua(Object(e),!0).forEach((function(n){ca(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ua(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(e=k(o,t))||void 0===e?void 0:e.toString(),tabIndex:k(a,t)},u);return r?i().createElement("path",aa({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("path",aa({},c,{ref:n}))})),la=function(t,n){var e=n.scale,r=n.data,o=n.style;if(t)return k(t,n);if(o.width)return o.width;var i=e.x.range(),a=Math.abs(i[1]-i[0]),u=r.length+2,c=(n.barRatio||.5)*(r.length<2?8:a/u);return Math.max(1,c)},fa=function(t,n){var e={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0};return t?function(t){return s()(t)}(t)?function(t,n){var e={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0},r=function(r,o){u()(t[r])?u()(t[o])||(e[r]=k(t[o],n)):e[r]=k(t[r],n)};return r("topLeft","top"),r("topRight","top"),r("bottomLeft","bottom"),r("bottomRight","bottom"),e}(t,n):(e.topLeft=k(t,n),e.topRight=k(t,n),e):e},pa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(n.disableInlineStyles)return{};var e=t.fill||"black",r={fill:"black",stroke:e};return S(Object.assign(r,t),n)};const ha=Math.PI,da=2*ha,ya=1e-6,ga=da-ya;function va(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function ba(){return new va}va.prototype=ba.prototype={constructor:va,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,o,i){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,n,e,r,o){t=+t,n=+n,e=+e,r=+r,o=+o;var i=this._x1,a=this._y1,u=e-t,c=r-n,s=i-t,l=a-n,f=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>ya)if(Math.abs(l*u-c*s)>ya&&o){var p=e-i,h=r-a,d=u*u+c*c,y=p*p+h*h,g=Math.sqrt(d),v=Math.sqrt(f),b=o*Math.tan((ha-Math.acos((d+f-y)/(2*g*v)))/2),m=b/v,x=b/g;Math.abs(m-1)>ya&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+o+","+o+",0,0,"+ +(l*p>s*h)+","+(this._x1=t+x*u)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,o,i){t=+t,n=+n,i=!!i;var a=(e=+e)*Math.cos(r),u=e*Math.sin(r),c=t+a,s=n+u,l=1^i,f=i?r-o:o-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>ya||Math.abs(this._y1-s)>ya)&&(this._+="L"+c+","+s),e&&(f<0&&(f=f%da+da),f>ga?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+l+","+(this._x1=c)+","+(this._y1=s):f>ya&&(this._+="A"+e+","+e+",0,"+ +(f>=ha)+","+l+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};const ma=ba;function xa(t){return function(){return t}}const Oa=Math.abs,wa=Math.atan2,ja=Math.cos,Ma=Math.max,Aa=Math.min,Ea=Math.sin,ka=Math.sqrt,Sa=1e-12,Pa=Math.PI,_a=Pa/2,Ca=2*Pa;function Ta(t){return t>1?0:t<-1?Pa:Math.acos(t)}function Da(t){return t>=1?_a:t<=-1?-_a:Math.asin(t)}function Ia(t){return t.innerRadius}function Ra(t){return t.outerRadius}function Na(t){return t.startAngle}function La(t){return t.endAngle}function Ua(t){return t&&t.padAngle}function Wa(t,n,e,r,o,i,a,u){var c=e-t,s=r-n,l=a-o,f=u-i,p=f*c-l*s;if(!(p*p<Sa))return[t+(p=(l*(n-i)-f*(t-o))/p)*c,n+p*s]}function Fa(t,n,e,r,o,i,a){var u=t-e,c=n-r,s=(a?i:-i)/ka(u*u+c*c),l=s*c,f=-s*u,p=t+l,h=n+f,d=e+l,y=r+f,g=(p+d)/2,v=(h+y)/2,b=d-p,m=y-h,x=b*b+m*m,O=o-i,w=p*y-d*h,j=(m<0?-1:1)*ka(Ma(0,O*O*x-w*w)),M=(w*m-b*j)/x,A=(-w*b-m*j)/x,E=(w*m+b*j)/x,k=(-w*b+m*j)/x,S=M-g,P=A-v,_=E-g,C=k-v;return S*S+P*P>_*_+C*C&&(M=E,A=k),{cx:M,cy:A,x01:-l,y01:-f,x11:M*(o/O-1),y11:A*(o/O-1)}}var za=function(t,n){return{x:t,y:n,distance:function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))},add:function(t){return za(this.x+t.x,this.y+t.y)},subtract:function(t){return za(this.x-t.x,this.y-t.y)},scalarMult:function(t){return za(this.x*t,this.y*t)},scalarDivide:function(t){if(0===t)throw new Error("Division by 0 error");return za(this.x/t,this.y/t)},equals:function(t){return this.x===t.x&&this.y===t.y}}},qa=function(t,n){return{center:t,radius:n,hasIntersection:function(t){var n=this.center,e=t.center,r=this.radius,o=t.radius,i=n.distance(e);return!(i>r+o||i<Math.abs(r-o))},equals:function(t){var n=this.center,e=t.center;return this.radius===t.radius&&n.equals(e)},intersection:function(t){var n=this.center,e=t.center,r=this.radius,o=t.radius,i=n.distance(e);if(!this.hasIntersection(t)||this.equals(t))return[];var a=(Math.pow(r,2)-Math.pow(o,2)+Math.pow(i,2))/(2*i),u=Math.sqrt(Math.pow(r,2)-Math.pow(a,2)),c=n.add(e.subtract(n).scalarMult(a).scalarDivide(i)),s=n.x,l=n.y,f=e.x,p=e.y,h=c.x,d=c.y,y=[za(h-u*(p-l)/i,d+u*(f-s)/i),za(h+u*(p-l)/i,d-u*(f-s)/i)];return y.sort((function(t,n){return t.x-n.x})),y},solveX:function(t){var n=Math.sqrt(Math.pow(this.radius,2)-Math.pow(t-this.center.y,2));return[this.center.x-n,this.center.x+n]},solveY:function(t){var n=Math.sqrt(Math.pow(this.radius,2)-Math.pow(t-this.center.x,2));return[this.center.y-n,this.center.y+n]}}};function Ha(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ba(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Ha(Object(e),!0).forEach((function(n){$a(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ha(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function $a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Ya(t){return function(t){if(Array.isArray(t))return Va(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Va(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Va(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Va(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Ka=function(t,n){var e=t.x,r=t.x0,o=t.y,i=t.y0,a=t.horizontal,u=t.alignment||"middle",c="middle"===u?n/2:n,s=a?-1:1;return a?{x0:r,x1:e,y0:"start"===u?o:o-s*c,y1:"end"===u?o:o+s*c}:{x0:"start"===u?e:e-s*c,x1:"end"===u?e:e+s*c,y0:i,y1:o}},Ga=function(t,n){var e=t.data,r=t.scale,o=void 0===e[n]._x1?"_x":"_x1";return r.x(e[n][o])},Za=function(t){return-1*t+Math.PI/2},Qa=function(t,n){var e=t.getPath;if("function"==typeof e)return e(Ba(Ba({},t),Ka(t,n)))},Xa=function(t,n,e){var r="".concat(n.topLeft," ").concat(n.topLeft," ").concat(e),o="".concat(n.topRight," ").concat(n.topRight," ").concat(e),i="".concat(n.bottomLeft," ").concat(n.bottomLeft," ").concat(e),a="".concat(n.bottomRight," ").concat(n.bottomRight," ").concat(e),u=["M","A ".concat(i,","),"L","A ".concat(r,","),"L","A ".concat(o,","),"L","A ".concat(a,",")].reduce((function(n,e,r){return"".concat(n).concat(e," ").concat(t[r].x,", ").concat(t[r].y," \n")}),"");return"".concat(u," z")},Ja=function(t,n,e){var r=Ka(t,n),o=r.y0>r.y1?1:-1,i=o>0?"0 0 1":"0 0 0",a=function(t,n,e){var r=t.x0,o=t.x1,i=t.y0,a=t.y1,u=function(t){var u="Left"===t,c=u?1:-1,s=u?r:o,l={x:s+c*e["bottom".concat(t)],y:i},f={x:s,y:i-n*e["bottom".concat(t)]},p={x:s,y:a+n*e["top".concat(t)]},h={x:s+c*e["top".concat(t)],y:a};if(1===n?i-e["bottom".concat(t)]<a+e["top".concat(t)]:i+e["bottom".concat(t)]>a-e["top".concat(t)]){var d=za(s+c*e["top".concat(t)],a+n*e["top".concat(t)]),y=qa(d,e["top".concat(t)]),g=za(s+c*e["bottom".concat(t)],i-n*e["bottom".concat(t)]),v=qa(g,e["bottom".concat(t)]),b=y.intersection(v);if(b.length>0){var m=b[u?0:1];f={x:m.x,y:m.y},p={x:m.x,y:m.y}}else if(e["top".concat(t)]>e["bottom".concat(t)]){var x=y.solveX(i)[u?0:1];l={x,y:i},f={x,y:i},p={x,y:i}}else{var O=v.solveX(a)[u?0:1];f={x:O,y:a},p={x:O,y:a},h={x:O,y:a}}}var w=[l,f,p,h];return u?w:w.reverse()};return u("Left").concat(u("Right"))}(r,o,e);return Xa(a,e,i)},tu=function(t,n,e){var r=Ka(t,n),o=r.x0<r.x1?1:-1,i={topRight:o>0?e.topLeft:e.bottomLeft,bottomRight:o>0?e.topRight:e.bottomRight,bottomLeft:o>0?e.bottomRight:e.topRight,topLeft:o>0?e.bottomLeft:e.topLeft},a=function(t,n,e){var r=t.y0,o=t.y1,i=t.x0<t.x1?t.x0:t.x1,a=t.x0<t.x1?t.x1:t.x0,u=function(t){var u="top"===t,c=u?-1:1,s=u?o:r,l={x:i,y:s-c*e["".concat(t,"Left")]},f={x:i+e["".concat(t,"Left")],y:s},p={x:a-e["".concat(t,"Right")],y:s},h={x:a,y:s-c*e["".concat(t,"Right")]};if(f.x>p.x){var d=za(i+e["".concat(t,"Left")],s-c*e["".concat(t,"Left")]),y=qa(d,e["".concat(t,"Left")]),g=za(a-e["".concat(t,"Right")],s-c*e["".concat(t,"Right")]),v=qa(g,e["".concat(t,"Right")]),b=y.intersection(v);if(b.length>0){var m=b[n>0?1:0];f={x:m.x,y:m.y},p={x:m.x,y:m.y}}else if(e["".concat(t,"Right")]>e["".concat(t,"Left")]){var x=v.solveY(i)[u?0:1];l={x:i,y:x},f={x:i,y:x},p={x:i,y:x}}else{var O=y.solveY(a)[u?0:1];h={x:a,y:O},p={x:a,y:O},f={x:a,y:O}}}return[l,f,p,h]},c=u("top"),s=u("bottom");return[s[1],s[0]].concat(Ya(c),[s[3],s[2]])}(r,o,i);return Xa(a,i,"0 0 1")},nu=function(t,n){var e,r,o=t.datum,i=t.scale,a=t.index,u=t.alignment,c=t.style,s=i.y(o._y0||0),l=i.y(void 0!==o._y1?o._y1:o._y),f=i.x(void 0!==o._x1?o._x1:o._x);if(c.width){var p=function(t,n){var e=t.scale,r=e.y.range(),o=Math.max.apply(Math,Ya(r)),i=Math.abs(e.x.range()[1]-e.x.range()[0]);return n/(2*Math.PI*o)*i}(t,c.width),h="middle"===u?p/2:p;e="start"===u?f:f-h,r="end"===u?f:f+h}else e=function(t,n){var e=t.data,r=t.scale,o=t.alignment,i=Ga(t,n),a=Math.abs(r.x.range()[1]-r.x.range()[0]),u=0===n?Ga(t,e.length-1)-2*Math.PI:Ga(t,n-1);return 0===n&&a<2*Math.PI?r.x.range()[0]:"start"===o||"end"===o?"start"===o?u:i:(i+u)/2}(t,Number(a)),r=function(t,n){var e=t.data,r=t.scale,o=t.alignment,i=Ga(t,n),a=Math.abs(r.x.range()[1]-r.x.range()[0]),u=r.x.range()[1]===2*Math.PI?Ga(t,0)+2*Math.PI:r.x.range()[1],c=n===e.length-1?Ga(t,0)+2*Math.PI:Ga(t,n+1);return n===e.length-1&&a<2*Math.PI?u:"start"===o||"end"===o?"start"===o?i:c:(i+c)/2}(t,Number(a));var d=function(t){var o=function(){var t=Ia,n=Ra,e=xa(0),r=null,o=Na,i=La,a=Ua,u=null;function c(){var c,s,l=+t.apply(this,arguments),f=+n.apply(this,arguments),p=o.apply(this,arguments)-_a,h=i.apply(this,arguments)-_a,d=Oa(h-p),y=h>p;if(u||(u=c=ma()),f<l&&(s=f,f=l,l=s),f>Sa)if(d>Ca-Sa)u.moveTo(f*ja(p),f*Ea(p)),u.arc(0,0,f,p,h,!y),l>Sa&&(u.moveTo(l*ja(h),l*Ea(h)),u.arc(0,0,l,h,p,y));else{var g,v,b=p,m=h,x=p,O=h,w=d,j=d,M=a.apply(this,arguments)/2,A=M>Sa&&(r?+r.apply(this,arguments):ka(l*l+f*f)),E=Aa(Oa(f-l)/2,+e.apply(this,arguments)),k=E,S=E;if(A>Sa){var P=Da(A/l*Ea(M)),_=Da(A/f*Ea(M));(w-=2*P)>Sa?(x+=P*=y?1:-1,O-=P):(w=0,x=O=(p+h)/2),(j-=2*_)>Sa?(b+=_*=y?1:-1,m-=_):(j=0,b=m=(p+h)/2)}var C=f*ja(b),T=f*Ea(b),D=l*ja(O),I=l*Ea(O);if(E>Sa){var R,N=f*ja(m),L=f*Ea(m),U=l*ja(x),W=l*Ea(x);if(d<Pa&&(R=Wa(C,T,U,W,N,L,D,I))){var F=C-R[0],z=T-R[1],q=N-R[0],H=L-R[1],B=1/Ea(Ta((F*q+z*H)/(ka(F*F+z*z)*ka(q*q+H*H)))/2),$=ka(R[0]*R[0]+R[1]*R[1]);k=Aa(E,(l-$)/(B-1)),S=Aa(E,(f-$)/(B+1))}}j>Sa?S>Sa?(g=Fa(U,W,C,T,f,S,y),v=Fa(N,L,D,I,f,S,y),u.moveTo(g.cx+g.x01,g.cy+g.y01),S<E?u.arc(g.cx,g.cy,S,wa(g.y01,g.x01),wa(v.y01,v.x01),!y):(u.arc(g.cx,g.cy,S,wa(g.y01,g.x01),wa(g.y11,g.x11),!y),u.arc(0,0,f,wa(g.cy+g.y11,g.cx+g.x11),wa(v.cy+v.y11,v.cx+v.x11),!y),u.arc(v.cx,v.cy,S,wa(v.y11,v.x11),wa(v.y01,v.x01),!y))):(u.moveTo(C,T),u.arc(0,0,f,b,m,!y)):u.moveTo(C,T),l>Sa&&w>Sa?k>Sa?(g=Fa(D,I,N,L,l,-k,y),v=Fa(C,T,U,W,l,-k,y),u.lineTo(g.cx+g.x01,g.cy+g.y01),k<E?u.arc(g.cx,g.cy,k,wa(g.y01,g.x01),wa(v.y01,v.x01),!y):(u.arc(g.cx,g.cy,k,wa(g.y01,g.x01),wa(g.y11,g.x11),!y),u.arc(0,0,l,wa(g.cy+g.y11,g.cx+g.x11),wa(v.cy+v.y11,v.cx+v.x11),y),u.arc(v.cx,v.cy,k,wa(v.y11,v.x11),wa(v.y01,v.x01),!y))):u.arc(0,0,l,O,x,y):u.lineTo(D,I)}else u.moveTo(0,0);if(u.closePath(),c)return u=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-Pa/2;return[ja(r)*e,Ea(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:xa(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:xa(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:xa(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:xa(+t),c):r},c.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:xa(+t),c):o},c.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:xa(+t),c):i},c.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:xa(+t),c):a},c.context=function(t){return arguments.length?(u=null==t?null:t,c):u},c}().innerRadius(s).outerRadius(l).startAngle(Za(e)).endAngle(Za(r)).cornerRadius(n[t]);return o()},y=function(t){var n=d("".concat(t,"Right")),e=n.match(/[A-Z]/g)||[],r=n.split(/[A-Z]/).slice(1),o=e.indexOf("L"),i=d("".concat(t,"Left")),a=i.match(/[A-Z]/g)||[],u=i.split(/[A-Z]/).slice(1),c=a.indexOf("L");return{rightMoves:e,rightCoords:r,rightMiddle:o,leftMoves:a,leftCoords:u,leftMiddle:c}},g=function(){var t,o,i=n.topRight,a=n.topLeft,u=l*Math.abs(r-e),c=y("top"),s=c.rightMoves,f=c.rightCoords,p=c.rightMiddle,h=c.leftMoves,d=c.leftCoords,g=c.leftMiddle;if(i===a||u<2*i+2*a)t=i>a?s:h,o=i>a?f:d;else{var v,b=function(t){return t<3},m=a>i&&b(p)?1:2;if(i>a){var x=b(p)?g:g-2;v=b(g)?g-1:x}else{var O=b(g)?1:2;v=b(p)?O:g-2}t=[].concat(Ya(s.slice(0,m)),Ya(h.slice(v))),o=[].concat(Ya(f.slice(0,m)),Ya(d.slice(v)))}var w=t.indexOf("L"),j=t.slice(0,w),M=o.slice(0,w);return j.map((function(t,n){return{command:t,coords:M[n].split(",")}}))}(),v=function(){var t,o,i=n.bottomRight,a=n.bottomLeft,u=s*Math.abs(r-e),c=y("bottom"),l=c.rightMoves,f=c.rightCoords,p=c.rightMiddle,h=c.leftMoves,d=c.leftCoords,g=c.leftMiddle;if(i===a||u<2*i+2*a)t=i>a?l:h,o=i>a?f:d;else{var v=function(t,n){return t.length-n<4},b=(i>a?v(l,p):v(h,g))?-1:-3;t=[].concat(Ya(h.slice(0,g+2)),Ya(l.slice(b))),o=[].concat(Ya(d.slice(0,g+2)),Ya(f.slice(b)))}var m=t.indexOf("L"),x=t.slice(m,-1),O=o.slice(m,-1);return x.map((function(t,n){return{command:t,coords:O[n].split(",")}}))}(),b=[].concat(Ya(g),Ya(v)).reduce((function(t,n){return"".concat(t).concat(n.command," ").concat(n.coords.join())}),"");return"".concat(b," z")},eu=function(t,n,e){return t.getPath?Qa(t,n):t.horizontal?tu(t,n,e):Ja(t,n,e)},ru=function(t,n){return nu(t,n)};function ou(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function iu(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ou(Object(e),!0).forEach((function(n){au(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ou(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function au(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var uu={pathComponent:i().createElement(sa,null),role:"presentation",shapeRendering:"auto"},cu=(0,e.forwardRef)((function(t,n){var e=function(t){var n=pa(t.style,t),e=la(t.barWidth,Object.assign({},t,{style:n})),r=fa(t.cornerRadius,Object.assign({},t,{style:n,barWidth:e})),o=k(t.ariaLabel,t),i=k(t.desc,t),a=k(t.id,t),u=k(t.tabIndex,t);return Object.assign({},t,{ariaLabel:o,style:n,barWidth:e,cornerRadius:r,desc:i,id:a,tabIndex:u})}(iu(iu({},uu),t)),r=e.polar,o=e.origin,a=e.style,u=e.barWidth,c=e.cornerRadius,s=r?ru(e,c):eu(e,u,c),l=r&&o?"translate(".concat(o.x,", ").concat(o.y,")"):void 0;return e.pathComponent?i().cloneElement(e.pathComponent,iu(iu({},e.events),{},{"aria-label":e.ariaLabel,style:a,d:s,className:e.className,clipPath:e.clipPath,desc:e.desc,index:e.index,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform||l,tabIndex:e.tabIndex,ref:n})):null}));function su(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return lu(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?lu(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lu(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function fu(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function pu(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var hu={startsWith:["data-","aria-"],exactMatch:[]},du=function(t){var n=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?fu(Object(e),!0).forEach((function(n){pu(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fu(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},t);return Object.fromEntries(Object.entries(n).filter((function(t){return function(t){return!(!function(t){var n=!1;return hu.startsWith.forEach((function(e){new RegExp("\\b(".concat(e,")(\\w|-)+"),"g").test(t)&&(n=!0)})),n}(t)&&!function(t){return hu.exactMatch.includes(t)}(t))}(su(t,1)[0])})).map((function(n){var e=su(n,2);return[e[0],k(e[1],t)]})))},yu=r(7709),gu=r.n(yu),vu=r(660),bu=r.n(vu),mu=r(3698),xu=r.n(mu),Ou=r(5395),wu=r.n(Ou),ju=r(9992),Mu=r.n(ju),Au=function(t){var n=function(n){return function(e,r,o){var i=e[r];if(null==i)return n?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>3?a-3:0),c=3;c<a;c++)u[c-3]=arguments[c];return t.apply(void 0,[e,r,o].concat(u))}};return Object.assign(n(!1),{isRequired:n(!0)})},Eu=function(){return null},ku=function(){},Su=function(t){return void 0===t?ku:null===t?Eu:t.constructor},Pu=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)},_u=Au((function(t,n,e){var r=t[n];return"number"!=typeof r||r<0?new Error("`".concat(n,"` in `").concat(e,"` must be a non-negative number.")):null})),Cu=Au((function(t,n,e){var r=t[n];return"number"!=typeof r||r%1!=0?new Error("`".concat(n,"` in `").concat(e,"` must be an integer.")):null})),Tu=(Au((function(t,n,e){var r=t[n];return"number"!=typeof r||r<=0?new Error("`".concat(n,"` in `").concat(e,"` must be a number greater than zero.")):null})),Au((function(t,n,e){var r=t[n];return Array.isArray(r)&&2===r.length&&r[1]!==r[0]?null:new Error("`".concat(n,"` in `").concat(e,"` must be an array of two unique numeric values."))})),Au((function(t,n,e){return ri(t[n])?null:new Error("`".concat(n,"` in `").concat(e,"` must be a d3 scale."))})));function Du(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Iu(t,n){return Iu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Iu(t,n)}function Ru(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Nu(t)}Au((function(t,n,e){var r=t[n];if(!Array.isArray(r))return new Error("`".concat(n,"` in `").concat(e,"` must be an array."));if(r.length<2)return null;var o=Su(r[0]),i=Mu()(r,(function(t){return o!==Su(t)}));if(i){var a=Pu(r[0]),u=Pu(i);return new Error("Expected `".concat(n,"` in `").concat(e,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}return null})),Au((function(t,n){return t[n]&&Array.isArray(t[n])&&t[n].length!==t.data.length?new Error("Length of data and ".concat(n," arrays must match.")):null})),Au((function(t,n,e){return t[n]&&!wu()(t[n])?new Error("`".concat(n,"` in `").concat(e,"` must be a regular expression.")):null}));var Lu=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Iu(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Nu(r);if(o){var e=Nu(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Ru(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).map=void 0,n.index=void 0,n.portalRegister=function(){return++n.index},n.portalUpdate=function(t,e){n.map[t]=e,n.forceUpdate()},n.portalDeregister=function(t){delete n.map[t],n.forceUpdate()},n.map={},n.index=1,n}return n=u,(e=[{key:"getChildren",value:function(){var t=this;return y()(this.map).map((function(n){var e=t.map[n];return e?i().cloneElement(e,{key:n}):e}))}},{key:"render",value:function(){return i().createElement("svg",this.props,this.getChildren())}}])&&Du(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Lu.displayName="Portal",Lu.propTypes={className:xu().string,height:_u,style:xu().object,viewBox:xu().string,width:_u};var Uu=i().createContext({});Uu.displayName="PortalContext";var Wu,Fu,zu=0,qu=0,Hu=0,Bu=0,$u=0,Yu=0,Vu="object"==typeof performance&&performance.now?performance:Date,Ku="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gu(){return $u||(Ku(Zu),$u=Vu.now()+Yu)}function Zu(){$u=0}function Qu(){this._call=this._time=this._next=null}function Xu(t,n,e){var r=new Qu;return r.restart(t,n,e),r}function Ju(){$u=(Bu=Vu.now())+Yu,zu=qu=0;try{!function(){Gu(),++zu;for(var t,n=Wu;n;)(t=$u-n._time)>=0&&n._call.call(void 0,t),n=n._next;--zu}()}finally{zu=0,function(){for(var t,n,e=Wu,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:Wu=n);Fu=t,nc(r)}(),$u=0}}function tc(){var t=Vu.now(),n=t-Bu;n>1e3&&(Yu-=n,Bu=t)}function nc(t){zu||(qu&&(qu=clearTimeout(qu)),t-$u>24?(t<1/0&&(qu=setTimeout(Ju,t-Vu.now()-Yu)),Hu&&(Hu=clearInterval(Hu))):(Hu||(Bu=Vu.now(),Hu=setInterval(tc,1e3)),zu=1,Ku(Ju)))}function ec(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Qu.prototype=Xu.prototype={constructor:Qu,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gu():+e)+(null==n?0:+n),this._next||Fu===this||(Fu?Fu._next=this:Wu=this,Fu=this),this._call=t,this._time=e,nc()},stop:function(){this._call&&(this._call=null,this._time=1/0,nc())}};var rc=function(){function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=void 0,this.subscribers=void 0,this.activeSubscriptions=void 0,this.timer=void 0,this.loop=function(){n.subscribers.forEach((function(t){t.callback(Gu()-t.startTime,t.duration)}))},this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}var n,e;return n=t,(e=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"start",value:function(){this.timer||(this.timer=Xu(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,n){var e=this.subscribers.push({startTime:Gu(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ec(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),t}(),oc=i().createContext({transitionTimer:new rc,animationTimer:new rc});oc.displayName="TimerContext";const ic=oc;function ac(){return ac=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},ac.apply(this,arguments)}function uc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function cc(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?uc(Object(e),!0).forEach((function(n){sc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):uc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function sc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function lc(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fc(t,n){return fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},fc(t,n)}function pc(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function hc(t){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hc(t)}var dc=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&fc(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=hc(r);if(o){var e=hc(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return pc(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).containerId=void 0,n.portalRef=void 0,n.containerRef=void 0,n.shouldHandleWheel=void 0,n.savePortalRef=function(t){return n.portalRef=t,t},n.portalUpdate=function(t,e){return n.portalRef.portalUpdate(t,e)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(t){return n.portalRef.portalDeregister(t)},n.saveContainerRef=function(t){return f()(n.props.containerRef)&&n.props.containerRef(t),n.containerRef=t,t},n.handleWheel=function(t){return t.preventDefault()},n.containerId=gu()(t)&&void 0!==t.containerId?t.containerId:bu()("victory-container-"),n.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel),n}return n=u,(e=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var n=t.ouiaId,e=t.ouiaSafe,r=t.ouiaType;return cc(cc(cc({},n&&{"data-ouia-component-id":n}),r&&{"data-ouia-component-type":r}),void 0!==e&&{"data-ouia-safe":e})}},{key:"renderContainer",value:function(t,n,e){var r=t.title,o=t.desc,a=t.portalComponent,u=t.className,c=t.width,s=t.height,l=t.portalZIndex,f=t.responsive,p=this.getChildren(t),h=f?{width:"100%",height:"100%"}:{width:c,height:s},d=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},h),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},h),g=Object.assign({pointerEvents:"all"},h),v=Object.assign({overflow:"visible"},h),b={width:c,height:s,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:v};return i().createElement(Uu.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",ac({style:O()({},e,d),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",ac({},n,{style:g}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,p),i().createElement("div",{style:y},i().cloneElement(a,cc(cc({},b),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,n=t.width,e=t.height,r=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,s=t.role,l=r?this.props.style:w(this.props.style,["height","width"]),f=du(this.props),p=Object.assign(cc({width:n,height:e,tabIndex:u,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(n," ").concat(e):void 0,preserveAspectRatio:r?c:void 0},f),o);return this.renderContainer(this.props,p,l)}}])&&lc(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);function yc(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function gc(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vc(t,n){return vc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},vc(t,n)}function bc(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function mc(t){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mc(t)}dc.displayName="VictoryContainer",dc.role="container",dc.propTypes={"aria-describedby":xu().string,"aria-labelledby":xu().string,children:xu().oneOfType([xu().arrayOf(xu().node),xu().node]),className:xu().string,containerId:xu().oneOfType([xu().number,xu().string]),containerRef:xu().func,desc:xu().string,events:xu().object,height:_u,name:xu().string,origin:xu().shape({x:_u,y:_u}),ouiaId:xu().oneOfType([xu().number,xu().string]),ouiaSafe:xu().bool,ouiaType:xu().string,polar:xu().bool,portalComponent:xu().element,portalZIndex:Cu,preserveAspectRatio:xu().string,responsive:xu().bool,role:xu().string,style:xu().object,tabIndex:xu().number,theme:xu().object,title:xu().string,width:_u},dc.defaultProps={className:"VictoryContainer",portalComponent:i().createElement(Lu,null),portalZIndex:99,responsive:!0,role:"img"},dc.contextType=ic;var xc=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&vc(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=mc(r);if(o){var e=mc(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return bc(this,t)});function u(){var t;yc(this,u);for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return(t=a.call.apply(a,[this].concat(e))).checkedContext=void 0,t.renderInPlace=void 0,t.element=void 0,t.portalKey=void 0,t}return n=u,(e=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,n=this.props.groupComponent,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=O()(r,e,w(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}])&&gc(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);xc.displayName="VictoryPortal",xc.role="portal",xc.propTypes={children:xu().node,groupComponent:xu().element},xc.defaultProps={groupComponent:i().createElement("g",null)},xc.contextType=Uu;var Oc=["desc","id","tabIndex","origin"];function wc(){return wc=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},wc.apply(this,arguments)}function jc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Mc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ac=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Oc)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?jc(Object(e),!0).forEach((function(n){Mc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):jc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=k(o,t))||void 0===e?void 0:e.toString(),tabIndex:k(a,t)},u);return r?i().createElement("rect",wc({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("rect",wc({},c,{ref:n}))})),Ec=["children","desc","id","origin","tabIndex","title"];function kc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Sc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Pc=function(t){var n,e=t.children,r=t.desc,o=t.id,a=(t.origin,t.tabIndex),u=t.title,c=function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Ec),s=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?kc(Object(e),!0).forEach((function(n){Sc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=k(o,t))||void 0===n?void 0:n.toString(),tabIndex:k(a,t)},c);return i().createElement("text",s,u&&i().createElement("title",null,u),r&&i().createElement("desc",null,r),e)},_c=["desc","id","tabIndex","origin"];function Cc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Tc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Dc=function(t){t.desc;var n,e=t.id,r=t.tabIndex,o=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,_c)),a=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Cc(Object(e),!0).forEach((function(n){Tc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Cc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=k(e,t))||void 0===n?void 0:n.toString(),tabIndex:k(r,t)},o);return i().createElement("tspan",a)},Ic=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((function(t,n){return[t,Ic(n)].join(" ")}),Ic(t)).trim();if(null==t||"string"==typeof t)return t;var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()},Rc=r(1594),Nc=r.n(Rc);function Lc(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||Uc(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uc(t,n){if(t){if("string"==typeof t)return Wc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Wc(t,n):void 0}}function Wc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Fc={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},zc={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},qc={em:1,ex:.5},Hc={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Bc=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},$c=function(t,n,e){var r=function(t){return t*Math.PI/180}(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},Yc=function(t,n){var e,r=null===(e=t.match(/[a-zA-Z%]+/))||void 0===e?void 0:e[0],o=Number(t.match(/[0-9.,]+/));return r?zc.hasOwnProperty(r)?o*zc[r]:qc.hasOwnProperty(r)?(n?o*n:o*Hc.fontSize)*qc[r]:o:o||0},Vc=function(t,n){var e=Array.isArray(t)?t[n]:t,r=O()({},e,Hc);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:Yc(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:Yc(String(r.fontSize))})},Kc=function(t,n){if(void 0===t||""===t||null===t)return 0;var e,r=Bc(t).map((function(t,e){var r,o,i=t.toString().length,a=Vc(n,e),u=a.fontSize,c=a.letterSpacing,s=(r=a.fontFamily,o=r.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return Fc[t]}))||"Helvetica",Fc[o]);return t.toString().split("").map((function(t){return t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg})).reduce((function(t,n){return n+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return Wc(t)}(e=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||Uc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},Gc=function(t,n){var e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=function(t,n){return void 0===t||""===t||null===t?0:Bc(t).reduce((function(t,e,r){var o=Vc(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,n),o=Kc(t,n);return{width:e?$c(o,r,e):o,height:1.05*(e?$c(r,o,e):r)}},Zc=Nc()((function(){var 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");var 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})),Qc=function(t){return t?"".concat(t.angle,":").concat(t.fontFamily,":").concat(t.fontSize,":").concat(t.letterSpacing,":").concat(t.lineHeight):"null"},Xc=Nc()((function(t,n){var e,r,o=Zc();o.isConnected||(null===(e=(r=Zc.cache).clear)||void 0===e||e.call(r),o=Zc());var i=Bc(t),a=0;for(var u of i.entries()){var c=Lc(u,2),s=c[0],l=c[1],f=document.createElementNS("http://www.w3.org/2000/svg","tspan"),p=Vc(n,s);f.style.fontFamily=p.fontFamily,f.style.fontSize="".concat(p.fontSize,"px"),f.style.lineHeight=p.lineHeight,f.style.fontFamily=p.fontFamily,f.style.letterSpacing=p.letterSpacing,f.textContent=l,f.setAttribute("x","0"),f.setAttribute("y","".concat(a)),o.appendChild(f),a+=p.lineHeight*f.getBoundingClientRect().height}var h=o.getBoundingClientRect().width;return o.innerHTML="",{width:null!=n&&n.angle?$c(h,a,null==n?void 0:n.angle):h,height:null!=n&&n.angle?$c(a,h,null==n?void 0:n.angle):a}}),(function(t,n){var e=Array.isArray(t)?t.join():t,r=Array.isArray(n)?n.map(Qc).join():Qc(n);return"".concat(e,"::").concat(r)})),Jc=function(t,n){return function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?Gc(t,n):Xc(t,n)}(t,n)};function ts(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ns(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ts(Object(e),!0).forEach((function(n){es(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ts(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function es(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function rs(t){return function(t){if(Array.isArray(t))return os(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return os(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?os(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function os(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var is={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},as=function(t,n){return t.datum?M(t,t.datum)[n]:0},us=function(t){var n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return is.fontSize;if("string"==typeof n){var e=Number(n.replace("px",""));return isNaN(e)?is.fontSize:e}return is.fontSize},cs=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[n]||t[0]:t},ss=function(t){var n=t.backgroundStyle,e=t.backgroundPadding;return Array.isArray(n)&&!Mi()(n)||Array.isArray(e)&&!Mi()(e)},ls=function(t,n){var e=t.direction,r=t.textAnchor,o=t.x,i=t.dx;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},fs=function(t,n){var e=t.verticalAnchor,r=t.y,o=t.originalDy,i=r+(void 0===o?0:o);switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},ps=function(t,n){return ss(t)?function(t,n){var e=t.dy,r=t.dx,o=t.transform,a=t.backgroundStyle,u=t.backgroundPadding,c=t.backgroundComponent,s=t.inline,l=t.y,f=n.map((function(t,o){var i=cs(n,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),p=cs(u,o),h=cs(u,o-1),d=s&&r||0,y=o&&!s?i.fontSize*i.lineHeight+h.top+h.bottom:e-.5*c-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+p.top+p.bottom,widthWithPadding:a.width+p.left+p.right+d,y:l,fontSize:t.fontSize,dy:y}}));return f.map((function(n,e){var r=ls(t,n.labelSize.width),p=f.slice(0,e+1).reduce((function(t,n){return t+n.dy}),l),h=cs(u,e),d=n.heightWithPadding,y=s?function(t,n,e){var r=t.textAnchor,o=n.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,n){return t+n}),0)/2;switch(r){case"start":return o.reduce((function(t,n,r){return r<e?t+n:t}),0);case"end":return o.reduce((function(t,n,r){return r>e?t-n:t}),0);default:return o.reduce((function(t,n,r){return r===e?t+n/2:t+(r<e?n:0)}),i)}}(t,f,e)+r-h.left:r,g=s?fs(t,d)-h.top:p,v={key:"tspan-background-".concat(e),height:d,style:cs(a,e),width:n.widthWithPadding,transform:o,x:y-h.left,y:g};return i().cloneElement(c,O()({},c.props,v))}))}(t,n):function(t,n){var e=t.dx,r=void 0===e?0:e,o=t.transform,a=t.backgroundComponent,u=t.backgroundStyle,c=t.inline,s=t.backgroundPadding,l=t.capHeight,f=n.map((function(t){return t.textSize})),p=c?Math.max.apply(Math,rs(f.map((function(t){return t.height})))):f.reduce((function(t,e,r){var o=r?0:l/2;return t+e.height*(n[r].lineHeight-o)}),0),h=c?f.reduce((function(t,n,e){var o=e?r:0;return t+n.width+o}),0):Math.max.apply(Math,rs(f.map((function(t){return t.width})))),d=ls(t,h),y=fs(t,p),g={key:"background",height:p+s.top+s.bottom,style:u,transform:o,width:h+s.left+s.right,x:c?d-s.left:d+r-s.left,y};return i().cloneElement(a,O()({},a.props,g))}(t,n)},hs=function(t,n,e){var r=n.inline,o=cs(t,e);return e&&!r?function(t,n,e){var r=cs(t,n),o=cs(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,s=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return ss(e)?s+r.backgroundPadding.top+o.backgroundPadding.bottom:s}(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},ds=function(t){var n=k(t.ariaLabel,t),e=cs(t.style),r=function(t){var n=k(t.lineHeight,t);return Array.isArray(n)&&Mi()(n)?[1]:n}(t),o=t.direction?k(t.direction,t):"inherit",i=t.textAnchor?k(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?k(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?k(t.dx,t):0,c=function(t,n,e){var r=t.dy?k(t.dy,t):0,o=t.inline?1:t.text.length,i=k(t.capHeight,t),a=n?k(n,t):"middle",u=rs(Array(o).keys()).map((function(n){return cs(t.style,n).fontSize})),c=rs(Array(o).keys()).map((function(t){return cs(e,t)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var s=rs(Array(o).keys()).reduce((function(t,n){return t+(i/2+(.5-o)*c[n])*u[n]/o}),0);return"end"===a?r+s:r+s/2+i/2*c[o-1]*u[o-1]}(t,a,r),s=void 0!==t.x?t.x:as(t,"x"),l=void 0!==t.y?t.y:as(t,"y"),f=function(t,n,e){var r=t.polar,o=cs(t.style),i=r?function(t,n){var e=t.labelPlacement,r=t.datum;if(!e||"vertical"===e)return 0;var o=ea(t,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?k(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,s=c&&k(c,t);return s||u?Ic(s,u&&{rotate:[u,n,e]}):void 0}(t,s,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:k(t.dy,t),transform:f,x:s,y:l})},ys={backgroundComponent:i().createElement(Ac,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Pc,null),tspanComponent:i().createElement(Dc,null),capHeight:.71,lineHeight:1},gs=function(t){var n=function(t){var n=function(t,n){if(null!=t){if(Array.isArray(t))return t.map((function(t){return k(t,n)}));var e=k(t,n);if(null!=e)return Array.isArray(e)?e:"".concat(e).split("\n")}}(t.text,t),e=function(t,n){if(n.disableInlineStyles){var e=S(t,n);return{fontSize:us(e)}}var r=function(t){var e=S(t?O()({},t,is):is,n);return Object.assign({},e,{fontSize:us(e)})};return Array.isArray(t)&&!Mi()(t)?t.map((function(t){return r(t)})):r(t)}(t.style,Object.assign({},t,{text:n})),r=function(t,n){if(t)return Array.isArray(t)&&!Mi()(t)?t.map((function(t){return S(t,n)})):S(t,n)}(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(n){return A({padding:k(n,t)})})):A({padding:k(t.backgroundPadding,t)})}(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),i=k(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})}(ns(ns({},ys),t));if(null===n.text||void 0===n.text)return null;var e=ds(n),r=e.text,o=e.style,a=e.capHeight,u=e.backgroundPadding,c=e.lineHeight,s=r.map((function(t,n){var e=cs(o,n),r=Yc("".concat(a,"em"),e.fontSize),i=cs(c,n);return{style:e,fontSize:e.fontSize||is.fontSize,capHeight:r,text:t,textSize:Jc(t,e),lineHeight:i,backgroundPadding:cs(u,n)}})),l=function(t,n){var e=t.ariaLabel,r=t.inline,o=t.className,a=t.title,u=t.events,c=t.direction,s=t.text,l=t.textAnchor,f=t.dx,p=t.dy,h=t.transform,d=t.x,y=t.y,g=t.desc,v=t.id,b=t.tabIndex,m=t.tspanComponent,x=t.textComponent,O=du(t),w=ns(ns({"aria-label":e,key:"text"},u),{},{direction:c,dx:f,x:d,y:y+p,transform:h,className:o,title:a,desc:k(g,t),tabIndex:k(b,t),id:v},O),j=s.map((function(e,o){var a=n[o].style,u={key:"".concat(v,"-key-").concat(o),x:r?void 0:d,dx:r?f+n[o].backgroundPadding.left:f,dy:hs(n,t,o),textAnchor:a.textAnchor||l,style:a,children:e};return i().cloneElement(m,u)}));return i().cloneElement(x,w,j)}(e,s);if(n.backgroundStyle){var f=[ps(e,s),l],p=i().cloneElement(n.groupComponent,{},f);return n.renderInPortal?i().createElement(xc,null,p):p}return n.renderInPortal?i().createElement(xc,null,l):l};gs.displayName="VictoryLabel",gs.role="label",gs.defaultStyles=is,gs.propTypes={active:xu().bool,angle:xu().oneOfType([xu().string,xu().number,xu().func]),ariaLabel:xu().oneOfType([xu().string,xu().func]),backgroundComponent:xu().element,backgroundPadding:xu().oneOfType([xu().number,xu().object,xu().array]),backgroundStyle:xu().oneOfType([xu().object,xu().array]),capHeight:xu().oneOfType([xu().string,_u,xu().func]),className:xu().string,data:xu().array,datum:xu().any,desc:xu().oneOfType([xu().string,xu().func]),direction:xu().oneOf(["rtl","ltr","inherit"]),dx:xu().oneOfType([xu().number,xu().string,xu().func]),dy:xu().oneOfType([xu().number,xu().string,xu().func]),events:xu().object,groupComponent:xu().element,id:xu().oneOfType([xu().number,xu().string,xu().func]),index:xu().oneOfType([xu().number,xu().string]),inline:xu().bool,labelPlacement:xu().oneOf(["parallel","perpendicular","vertical"]),lineHeight:xu().oneOfType([xu().string,_u,xu().func,xu().array]),origin:xu().shape({x:_u.isRequired,y:_u.isRequired}),polar:xu().bool,renderInPortal:xu().bool,scale:xu().shape({x:Tu,y:Tu}),style:xu().oneOfType([xu().object,xu().array]),tabIndex:xu().oneOfType([xu().number,xu().func]),text:xu().oneOfType([xu().string,xu().number,xu().func,xu().array]),textAnchor:xu().oneOfType([xu().oneOf(["start","middle","end","inherit"]),xu().func]),textComponent:xu().element,title:xu().string,transform:xu().oneOfType([xu().string,xu().object,xu().func]),tspanComponent:xu().element,verticalAnchor:xu().oneOfType([xu().oneOf(["start","middle","end"]),xu().func]),x:xu().oneOfType([xu().number,xu().string]),y:xu().oneOfType([xu().number,xu().string])};var vs=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],bs="#252525",ms="#969696",xs={width:450,height:300,padding:50,colorScale:vs},Os={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:bs,stroke:"transparent"},ws=Object.assign({textAnchor:"middle"},Os),js={area:Object.assign({style:{data:{fill:bs},labels:Os}},xs),axis:Object.assign({style:{axis:{fill:"transparent",stroke:bs,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},ws,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Os}},xs),bar:Object.assign({style:{data:{fill:bs,padding:8,strokeWidth:0},labels:Os}},xs),boxplot:Object.assign({style:{max:{padding:8,stroke:bs,strokeWidth:1},maxLabels:Object.assign({},Os,{padding:3}),median:{padding:8,stroke:bs,strokeWidth:1},medianLabels:Object.assign({},Os,{padding:3}),min:{padding:8,stroke:bs,strokeWidth:1},minLabels:Object.assign({},Os,{padding:3}),q1:{padding:8,fill:ms},q1Labels:Object.assign({},Os,{padding:3}),q3:{padding:8,fill:ms},q3Labels:Object.assign({},Os,{padding:3})},boxWidth:20},xs),candlestick:Object.assign({style:{data:{stroke:bs,strokeWidth:1},labels:Object.assign({},Os,{padding:5})},candleColors:{positive:"#ffffff",negative:bs}},xs),chart:xs,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:bs,strokeWidth:2},labels:Os}},xs),group:Object.assign({colorScale:vs},xs),histogram:Object.assign({style:{data:{fill:ms,stroke:bs,strokeWidth:2},labels:Os}},xs),legend:{colorScale:vs,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Os,title:Object.assign({},Os,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:bs,strokeWidth:2},labels:Os}},xs),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Os,{padding:20})},colorScale:vs,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:bs,stroke:"transparent",strokeWidth:0},labels:Os}},xs),stack:Object.assign({colorScale:vs},xs),tooltip:{style:Object.assign({},Os,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:bs,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({},Os,{padding:5,pointerEvents:"none"}),flyout:{stroke:bs,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},xs)},Ms=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],As="#ECEFF1",Es="#90A4AE",ks="#455A64",Ss="#212121",Ps={width:350,height:350,padding:50},_s={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ks,stroke:"transparent",strokeWidth:0},Cs=Object.assign({textAnchor:"middle"},_s),Ts="round",Ds="round",Is={grayscale:js,material:{area:Object.assign({style:{data:{fill:Ss},labels:_s}},Ps),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Es,strokeWidth:2,strokeLinecap:Ts,strokeLinejoin:Ds},axisLabel:Object.assign({},Cs,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:As,strokeDasharray:"10, 5",strokeLinecap:Ts,strokeLinejoin:Ds,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Es,strokeWidth:1,strokeLinecap:Ts,strokeLinejoin:Ds},tickLabels:Object.assign({},_s,{fill:ks})}},Ps),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:ks,padding:8,strokeWidth:0},labels:_s}},Ps),boxplot:Object.assign({style:{max:{padding:8,stroke:ks,strokeWidth:1},maxLabels:Object.assign({},_s,{padding:3}),median:{padding:8,stroke:ks,strokeWidth:1},medianLabels:Object.assign({},_s,{padding:3}),min:{padding:8,stroke:ks,strokeWidth:1},minLabels:Object.assign({},_s,{padding:3}),q1:{padding:8,fill:ks},q1Labels:Object.assign({},_s,{padding:3}),q3:{padding:8,fill:ks},q3Labels:Object.assign({},_s,{padding:3})},boxWidth:20},Ps),candlestick:Object.assign({style:{data:{stroke:ks},labels:Object.assign({},_s,{padding:5})},candleColors:{positive:"#ffffff",negative:ks}},Ps),chart:Ps,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ks,strokeWidth:2},labels:_s}},Ps),group:Object.assign({colorScale:Ms},Ps),histogram:Object.assign({style:{data:{fill:ks,stroke:Ss,strokeWidth:2},labels:_s}},Ps),legend:{colorScale:Ms,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:_s,title:Object.assign({},_s,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ks,strokeWidth:2},labels:_s}},Ps),pie:Object.assign({colorScale:Ms,style:{data:{padding:8,stroke:As,strokeWidth:1},labels:Object.assign({},_s,{padding:20})}},Ps),scatter:Object.assign({style:{data:{fill:ks,opacity:1,stroke:"transparent",strokeWidth:0},labels:_s}},Ps),stack:Object.assign({colorScale:Ms},Ps),tooltip:{style:Object.assign({},_s,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Ss,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({},_s,{padding:5,pointerEvents:"none"}),flyout:{stroke:Ss,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ps)}},Rs=r(4882),Ns=r.n(Rs),Ls=r(6354),Us=r.n(Ls),Ws=r(4912),Fs=r.n(Ws);function zs(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function qs(t){return function(t){if(Array.isArray(t))return Hs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Hs(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Hs(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hs(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Bs=/^onGlobal(.*)$/;function $s(t,n,e,r){var o,i=this,a=function(t){var r,o=(r=t.reduce((function(t,e){return void 0!==e.target?(Array.isArray(e.target)?h()(e.target,n):"".concat(e.target)==="".concat(n))?t.concat(e):t:t.concat(e)}),[]),void 0!==e&&"parent"!==n?r.filter((function(t){var n=t.eventKey,r=function(t){return!t||"".concat(t)==="".concat(e)};return Array.isArray(n)?n.some((function(t){return r(t)})):r(n)})):r);return Array.isArray(o)&&o.reduce((function(t,n){return n?Object.assign(t,n.eventHandlers):t}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(t.events)?(o=i.componentEvents).concat.apply(o,qs(t.events)):i.componentEvents:t.events,c=u&&f()(r)?r(a(u),n):void 0;if(!t.sharedEvents)return c;var s=t.sharedEvents.getEvents,l=t.sharedEvents.events&&s(a(t.sharedEvents.events),n);return Object.assign({},l,c)}function Ys(t,n,e,r){var o=this;if(Mi()(t))return{};var i=r||this.baseProps,a=function(t,n){var e=t.childName,r=t.target,a=t.key,u="props"===n?i:o.state||{},c=null!=e&&u[e]?u[e]:u;return"parent"===a?c.parent:c[a]&&c[a][r]},u=function(t,r){var u="parent"===n?t.childName:t.childName||e,c=t.target||n,s=function(n,e){var r=o.state||{};if(!f()(t.mutation))return r;var u=a({childName:e,key:n,target:c},"props"),s=a({childName:e,key:n,target:c},"state"),l=t.mutation(Object.assign({},u,s),i),p=r[e]||{},h=function(t){return l?function(t){return"parent"===c?Object.assign(t,zs({},n,Object.assign(t[n]||{},l))):Object.assign(t,zs({},n,Object.assign(t[n]||{},zs({},c,l))))}(t):function(t){return t[n]&&t[n][c]&&delete t[n][c],t[n]&&!y()(t[n]).length&&delete t[n],t}(t)};return null!=e?Object.assign(r,zs({},e,h(p))):h(r)},l=function(n){var e=function(n){return"parent"===c?"parent":"all"===t.eventKey?i[n]?Ns()(y()(i[n]),"parent"):Ns()(y()(i),"parent"):void 0===t.eventKey&&"parent"===r?i[n]?y()(i[n]):y()(i):void 0!==t.eventKey?t.eventKey:r}(n);return Array.isArray(e)?e.reduce((function(t,e){return Object.assign(t,s(e,n))}),{}):s(e,n)},p="all"===u?Ns()(y()(i),"parent"):u;return Array.isArray(p)?p.reduce((function(t,n){return Object.assign(t,l(n))}),{}):l(p)},c=function(n,e,r,i){var a=t[i](n,e,r,o);if(!Mi()(a)){var c=function(t){var n=function(t){return f()(t.callback)&&t.callback},e=(Array.isArray(t)?t.map((function(t){return n(t)})):[n(t)]).filter((function(t){return!1!==t}));return e.length?function(){return e.forEach((function(t){return t()}))}:void 0}(a);o.setState(function(t,n){return Array.isArray(t)?t.reduce((function(t,e){return Object.assign({},t,u(e,n))}),{}):u(t,n)}(a,r),c)}};return y()(t).reduce((function(t,n){return t[n]=c,t}),{})}function Vs(t,n,e){return t?y()(t).reduce((function(r,o){return r[o]=function(r){return t[o](r,e,n,o)},r}),{}):{}}function Ks(t,n,e){var 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 Gs(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=y()(n);return o.reduce((function(o,i){var a=e[i]||{},u=n[i]||{};if("parent"===i){var c=Zs(t,u,a,{eventKey:i,target:"parent"});o[i]=void 0!==c?Object.assign({},a,c):a}else{var s=_i()(y()(u).concat(y()(a)));o[i]=s.reduce((function(n,e){var o={eventKey:i,target:e,childName:r},c=Zs(t,u[e],a[e],o);return n[e]=void 0!==c?Object.assign({},a[e],c):a[e],Fs()(n,(function(t){return!Mi()(t)}))}),{})}return Fs()(o,(function(t){return!Mi()(t)}))}),{})}function Zs(t,n,e,r){var o=function(t,n){if("string"==typeof t[n])return"all"===t[n]||t[n]===r[n];if(Array.isArray(t[n])){var e=t[n].map((function(t){return"".concat(t)}));return h()(e,r[n])}return!1},i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((function(t){return o(t,"childName")})));var a=i.filter((function(t){return o(t,"target")}));if(!Mi()(a)){var u=a.filter((function(t){return o(t,"eventKey")}));if(!Mi()(u))return u.reduce((function(t,r){var o=(r&&f()(r.mutation)?r.mutation:function(){})(Object.assign({},n,e));return Object.assign({},t,o)}),{})}}function Qs(t,n){var e=Array.isArray(n)&&n.reduce((function(n,e){var r=t[e],o=r&&r.type&&r.type.defaultEvents,i=f()(o)?o(r.props):o;return Array.isArray(i)?n.concat.apply(n,qs(i)):n}),[]);return e&&e.length?e:void 0}function Xs(t){var n=t.match(Bs);return n&&n[1]&&n[1].toLowerCase()}var Js=function(t){return Fs()(t,(function(t,n){return Bs.test(n)}))},tl=function(t){return bi()(t,(function(t,n){return Bs.test(n)}))},nl=function(t){return Object.assign(t,{nativeEvent:t})},el=r(7491),rl=r.n(el);const ol=t=>+t;function il(t){return t*t}function al(t){return t*(2-t)}function ul(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function cl(t){return t*t*t}function sl(t){return--t*t*t+1}function ll(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var fl=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),pl=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),hl=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),dl=Math.PI,yl=dl/2;function gl(t){return 1==+t?1:1-Math.cos(t*yl)}function vl(t){return Math.sin(t*yl)}function bl(t){return(1-Math.cos(dl*t))/2}function ml(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function xl(t){return ml(1-+t)}function Ol(t){return 1-ml(t)}function wl(t){return((t*=2)<=1?ml(1-t):2-ml(t-1))/2}function jl(t){return 1-Math.sqrt(1-t*t)}function Ml(t){return Math.sqrt(1- --t*t)}function Al(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var El=7.5625;function kl(t){return 1-Sl(1-t)}function Sl(t){return(t=+t)<.36363636363636365?El*t*t:t<.7272727272727273?El*(t-=.5454545454545454)*t+.75:t<.9090909090909091?El*(t-=.8181818181818182)*t+.9375:El*(t-=.9545454545454546)*t+.984375}function Pl(t){return((t*=2)<=1?1-Sl(1-t):Sl(t-1)+1)/2}var _l=1.70158,Cl=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(_l),Tl=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(_l),Dl=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}(_l),Il=2*Math.PI,Rl=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Il);function o(t){return n*ml(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*Il)},o.period=function(e){return t(n,e)},o}(1,.3),Nl=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Il);function o(t){return 1-n*ml(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*Il)},o.period=function(e){return t(n,e)},o}(1,.3),Ll=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Il);function o(t){return((t=2*t-1)<0?n*ml(-t)*Math.sin((r-t)/e):2-n*ml(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*Il)},o.period=function(e){return t(n,e)},o}(1,.3),Ul=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)||s()(t)}return!1},Wl=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<e?t:n}},Fl=function(t,n){return function(e){return e>=1?n:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return on(r,o)(e)}}},zl=function(t,n){var e,r,o,i=function(t){return Array.isArray(t)?Ei()(t,"key"):t},a={},u={},c=t,l=n;for(e in null!==c&&"object"==typeof c||(c={}),null!==l&&"object"==typeof l||(l={}),l)e in c?a[e]=(r=i(c[e]))!==(o=i(l[e]))&&Ul(r)&&Ul(o)?"function"==typeof r||"function"==typeof o?Fl(r,o):"object"==typeof r&&s()(r)||"object"==typeof o&&s()(o)?zl(r,o):on(r,o):Wl(r,o):u[e]=l[e];return function(t){for(e in a)u[e]=a[e](t);return u}};function ql(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Hl(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Bl(t,n){return Bl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Bl(t,n)}function $l(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yl(t)}var Vl=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Bl(t,n)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Yl(o);if(i){var e=Yl(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return $l(this,t)});function u(t,e){var r;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(r=a.call(this,t,e)).interpolator=void 0,r.queue=void 0,r.ease=void 0,r.timer=void 0,r.loopID=void 0,r.functionToBeRunEachFrame=function(t,n){var e=void 0!==n?n:r.props.duration,o=e?t/e:1;if(o>=1)return r.setState({data:r.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),r.loopID&&r.timer.unsubscribe(r.loopID),r.queue.shift(),void r.traverseQueue();r.setState({data:r.interpolator(r.ease(o)),animationInfo:{progress:o,animating:o<1}})},r.state={data:Array.isArray(r.props.data)?r.props.data[0]:r.props.data,animationInfo:{progress:0,animating:!1}},r.interpolator=null,r.queue=Array.isArray(r.props.data)?r.props.data.slice(1):[],r.ease=n[r.toNewName(r.props.easing)],r.timer=r.context.animationTimer,r}return e=u,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(t){if(!rl()(this.props,t))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var n;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(n=this.queue).push.apply(n,function(t){if(Array.isArray(t))return ql(t)}(e=this.props.data)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,n){if(t){if("string"==typeof t)return ql(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ql(t,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var e}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(t){var n;return"ease".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}},{key:"traverseQueue",value:function(){var t,n,e=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(t=this.state.data)!==(n=r)&&Ul(t)&&Ul(n)?"function"==typeof t||"function"==typeof n?Fl(t,n):s()(t)||s()(n)?zl(t,n):"string"==typeof t||"string"==typeof n?function(t,n){var e=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return on(e(t),e(n))}(t,n):on(t,n):Wl(t,n),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&Hl(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(i().Component);Vl.displayName="VictoryAnimation",Vl.propTypes={children:xu().func,data:xu().oneOfType([xu().object,xu().array]),delay:xu().number,duration:xu().number,easing:xu().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:xu().func},Vl.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},Vl.contextType=ic;var Kl=r(5346),Gl=r.n(Kl);function Zl(t,n){return(t.key||n).toString()}function Ql(t){return t.reduce((function(t,n,e){return t[Zl(n,e)]=n,t}),{})}function Xl(t,n){var e=!1,r=y()(t).reduce((function(t,r){return r in n||(e=!0,t[r]=!0),t}),{});return e&&r}function Jl(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function tf(t,n){var e=!1,r=!1,o=function(t,n){return t.map((function(a,u){return a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):function(t,n){if(!n||t.type!==n.type)return{};var o,i,a,u,c=(o=Jl(t),i=Jl(n),a=o&&Ql(o),u=i&&Ql(i),{entering:a&&Xl(u,a),exiting:u&&Xl(a,u)}||{}),s=c.entering,l=c.exiting;return e=e||!!l,r=r||!!s,{entering:s||!1,exiting:l||!1}}(a,n[u])}))},a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function nf(t,n,e){var r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,c=n&&n.childrenTransitions||[],s={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=function(t,n,r){return a?function(t,n,r){var o=Object.assign({},t,{onEnd:function(){e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};var i=t.onLoad&&t.onLoad.after?t.onLoad.after:Gl();return{animate:o,data:n.map((function(t,e){return Object.assign({},t,i(t,e,n))}))}}(r,n):function(t,n,r,o){var i=Object.assign({},t,{onEnd:function(){e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};var a=i.onLoad&&i.onLoad.before?i.onLoad.before:Gl();return{animate:i,data:r.map((function(t,n){return Object.assign({},t,a(t,n,r))})),clipWidth:0}}(r,0,n)},f=function(t,n,r,o){return function(t,n,r,o,i){var a=t&&t.onExit,u=Object.assign({},t,a),c=r;if(o){t.onEnd=function(){e({nodesWillExit:!1})};var s=t.onExit&&t.onExit.before?t.onExit.before:Gl();c=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?Object.assign({},t,s(t,n,r)):t}))}return{animate:u,data:c}}(o,0,r,t)},p=function(t,n,r,o){return i?function(t,n,r,o){var i=t&&t.onEnter,a=Object.assign({},t,i),u=n;if(r){a.onEnd=function(){e({nodesWillEnter:!1})};var c=a.onEnter&&a.onEnter.after?a.onEnter.after:Gl();u=n.map((function(t,e){var o=Zl(t,e);return r[o]?Object.assign({},t,c(t,e,n)):t}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){var a=t,u=r;if(o){a=Object.assign({},t,{onEnd:function(){e({nodesShouldEnter:!0})}});var c=t.onEnter&&t.onEnter.before?t.onEnter.before:Gl();u=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?Object.assign({},t,c(t,n,r)):t}))}return{animate:a,data:u}}(o,0,r,t)},h=function(t,n){var e=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){var o=e[n]&&e[n].duration;return void 0!==o?o:r[n]&&r[n].duration}return{}};return function(e,a){var d=Jl(e)||[],y=O()({},t.animate,e.props.animate),g=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;y.onExit=O()({},y.onExit,g&&g.onExit),y.onEnter=O()({},y.onEnter,g&&g.onEnter),y.onLoad=O()({},y.onLoad,g&&g.onLoad);var v=c[a]||c[0];if(!u){var b={duration:void 0!==s.load?s.load:h(e,"onLoad")};return l(0,d,Object.assign({},y,b))}if(r){var m=v&&v.exiting,x=void 0!==s.exit?s.exit:h(e,"onExit"),w=m?{duration:x}:{delay:x};return f(m,0,d,Object.assign({},y,w))}if(o){var j=v&&v.entering,M=void 0!==s.enter?s.enter:h(e,"onEnter"),A=void 0!==s.move?s.move:e.props.animate&&e.props.animate.duration,E={duration:i&&j?M:A};return p(j,0,d,Object.assign({},y,E))}return!n&&y&&y.onExit?function(t,n){var e=t.onEnter&&t.onEnter.after?t.onEnter.after:Gl();return{data:n.map((function(t,r){return Object.assign({},t,e(t,r,n))}))}}(y,d):{animate:y,data:d}}}function ef(){return ef=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},ef.apply(this,arguments)}function rf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function of(t,n){return of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},of(t,n)}function af(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function uf(t){return uf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},uf(t)}var cf=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&of(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=uf(r);if(o){var e=uf(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return af(this,t)});function u(t,n){var e;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t,n)).continuous=void 0,e.timer=void 0,e.transitionProps=void 0,e.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=e.props.children,o=r.props.polar;return e.continuous=!o&&r.type&&!0===r.type.continuous,e.timer=e.context.transitionTimer,e}return n=u,(e=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(t){var n=this;return rl()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(function(){return n.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(t,n){var e=t.animate;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};var r=tf(i().Children.toArray(t.children),i().Children.toArray(n.children)),o=r.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:o?t:null,nextProps:n}}},{key:"getDomainFromChildren",value:function(t,n){var e=function(t){return t.reduce((function(t,r){if(r.type&&f()(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,n);return o?t.concat(o):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[])},r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;var u=e([r]);return 0===u.length?[0,1]:[U(u),L(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(t){var n,e=null===(n=t.animate)||void 0===n?void 0:n.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}},{key:"getClipWidth",value:function(t,n){var e,r=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==r?r:(e=C(n.props,"x"))?Math.abs(e[1]-e[0]):t.width}},{key:"render",value:function(){var t,n=this,e=this.pickProps(),r=null!==(t=this.props.animate)&&void 0!==t&&t.getTransitions?this.props.animate.getTransitions:nf(e,this.state,(function(t){return n.setState(t)})),o=i().Children.toArray(e.children)[0],a=r(o);this.transitionProps=a;var u={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},c=this.getClipWidth(e,o),s=O()({domain:u,clipWidth:c},a,o.props),l=(e.animationWhitelist||[]).concat(["clipWidth"]),f=l.length?v()(s,l):s;return i().createElement(Vl,ef({},s.animate,{data:f}),(function(t){if(o.props.groupComponent){var e=n.continuous?i().cloneElement(o.props.groupComponent,{clipWidth:t.clipWidth||0}):o.props.groupComponent;return i().cloneElement(o,O()({animate:null,animating:!0,groupComponent:e},t,s))}return i().cloneElement(o,O()({animate:null,animating:!0},t,s))}))}}])&&rf(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);function sf(t){return function(t){if(Array.isArray(t))return lf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return lf(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?lf(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lf(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function ff(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function pf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function hf(t,n,e){return n&&pf(t.prototype,n),e&&pf(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function df(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&yf(t,n)}function yf(t,n){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},yf(t,n)}function gf(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=mf(t);if(n){var o=mf(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return vf(this,e)}}function vf(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return bf(t)}function bf(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mf(t){return mf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mf(t)}cf.displayName="VictoryTransition",cf.propTypes={animate:xu().oneOfType([xu().bool,xu().object]),animationWhitelist:xu().array,children:xu().node},cf.contextType=ic;var xf=function(t){return!u()(t._x)&&!u()(t._y)},Of=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function wf(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function jf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mf(t,n){return Mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Mf(t,n)}function Af(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ef(t){return Ef=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ef(t)}var kf={width:450,height:300,padding:50},Sf=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Mf(t,n)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Ef(o);if(i){var e=Ef(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Af(this,t)});function u(){return wf(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=Pf.animationWhitelist,n=Pf.role,r=D(this.props,kf,n);if(this.shouldAnimate())return this.animateComponent(r,t);var o=this.renderData(r);return function(t,n){return e.cloneElement(t,du(n))}(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}])&&jf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Sf.animationWhitelist=["data","domain","height","padding","style","width"],Sf.displayName="VictoryBar",Sf.role="bar",Sf.defaultTransitions={onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}}},Sf.defaultProps={containerComponent:i().createElement(dc,null),data:[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],dataComponent:i().createElement(cu,null),groupComponent:i().createElement("g",{role:"presentation"}),labelComponent:i().createElement(gs,null),samples:50,sortOrder:"ascending",standalone:!0,theme:Is.grayscale},Sf.getDomain=Zi,Sf.getData=zi,Sf.getBaseProps=function(t){return function(t,n){var e=D(t,n,"bar"),r=Object.assign({},e,function(t){var n=t.polar,e=function(t,n){var e=t.theme,r=void 0===e?{}:e,o=t.labelComponent,i=r.bar&&r.bar.style||{};if(!E(o))return i;var a=r.tooltip&&r.tooltip.style||{},u=O()({},a,i.labels);return O()({},{labels:u},i)}(t),r=t.disableInlineStyles?{}:function(t,n){var e="100%",r="100%";if(!t)return O()({parent:{height:r,width:e}},n);var o=t.data,i=t.labels,a=t.parent,u=n&&n.parent||{},c=n&&n.labels||{},s=n&&n.data||{};return{parent:O()({},a,u,{width:e,height:r}),labels:O()({},i,c),data:O()({},o,s)}}(t.style,e),o=t.range||{x:C(t,"x"),y:C(t,"y")},i={x:Zi(t,"x"),y:Zi(t,"y")},a={x:ui(t,"x").domain(i.x).range(t.horizontal?o.y:o.x),y:ui(t,"y").domain(i.y).range(t.horizontal?o.x:o.y)},u=n?t.origin||function(t){var n=t.width,e=t.height,r=A(t),o=r.top,i=r.bottom,a=r.left,u=r.right,c=Math.min(n-a-u,e-o-i)/2,s=n/2+a-u,l=e/2+o-i;return{x:s+c>n?c+a-u:s,y:l+c>e?c+o-i:l}}(t):void 0,c=zi(t);return c=function(t,n,e){var r=function(t){return void 0!==t},o=U(n.x),i=L(n.x),a=U(n.y),u=L(n.y),c=function(t){return function(n){return r(n)&&n<t}},s=function(t){return function(n){return r(n)&&n>t}},l=c(o),f=c(a),p=s(i),h=s(u);return t.map((function(t){var n=t._x,e=t._y,o=t._y0,i=t._y1;(l(n)||p(n))&&(n=null);var c=r(o)?o:0,s=r(i)?i:e;return r(s)?(r(c)||!f(s)&&!h(s)||(e=null),(f(c)&&f(s)||h(c)&&h(s))&&(e=o=i=null),f(c)&&!f(s)&&(o=a),h(c)&&!h(s)&&(o=u),Object.assign({},t,bi()({_x:n,_y:e,_y0:o,_y1:i},xi()))):t}))}(c,i),{style:r,data:c,scale:a,domain:i,origin:u}}(e)),o=r.alignment,i=r.barRatio,a=r.cornerRadius,c=r.data,s=r.disableInlineStyles,l=r.domain,f=r.events,p=r.height,h=r.horizontal,d=r.origin,y=r.padding,g=r.polar,v=r.scale,b=r.sharedEvents,m=r.standalone,x=r.style,w=r.theme,j=r.width,M=r.labels,k=r.name,S=r.barWidth,P=r.getPath,_={parent:{horizontal:h,domain:l,scale:v,width:j,height:p,data:c,standalone:m,name:k,theme:w,polar:g,origin:d,padding:y,style:x.parent}};return c.reduce((function(t,n,e){var l=u()(n.eventKey)?e:n.eventKey,y=oa(r,n),m=y.x,O=y.y,w=y.y0,A=y.x0,E={alignment:o,barRatio:i,barWidth:S,cornerRadius:a,data:c,datum:n,disableInlineStyles:s,getPath:P,horizontal:h,index:e,polar:g,origin:d,scale:v,style:x.data,width:j,height:p,x:m,y:O,y0:w,x0:A};return t[l]={data:E},(null!=na(r,n,e)||M&&(f||b))&&(t[l].labels=ra(r,e)),t}),_)}(t,kf)},Sf.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];var Pf=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=function(e){df(o,e);var r=gf(o);function o(t){var n;return ff(this,o),(n=r.call(this,t)).state={},n.getEventState=Ks.bind(bf(n)),n.getScopedEvents=Ys.bind(bf(n)),n.getEvents=function(t,e,r){return $s.call(bf(n),t,e,r,n.getScopedEvents)},n.externalMutations=n.getExternalMutations(n.props),n.calculatedState=n.getStateChanges(n.props),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n.cacheValues(n.getCalculatedValues(t)),n}return hf(o,[{key:"shouldComponentUpdate",value:function(t){var n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!rl()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;var o=this.getStateChanges(t);return rl()(this.calculatedState,o)?!rl()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}},{key:"componentDidMount",value:function(){var t=this,n=y()(this.globalEvents);n.forEach((function(n){return t.addGlobalListener(n)})),this.prevGlobalEventKeys=n}},{key:"componentDidUpdate",value:function(t){var n=this,e=this.getStateChanges(t);this.calculatedState=e;var r=y()(this.globalEvents);Us()(this.prevGlobalEventKeys,r).forEach((function(t){return n.removeGlobalListener(t)})),Us()(r,this.prevGlobalEventKeys).forEach((function(t){return n.addGlobalListener(t)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var t=this;this.prevGlobalEventKeys.forEach((function(n){return t.removeGlobalListener(n)}))}},{key:"addGlobalListener",value:function(t){var n=this,e=function(e){var r=n.globalEvents[t];return r&&r(nl(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Xs(t),e)}},{key:"removeGlobalListener",value:function(t){window.removeEventListener(Xs(t),this.boundGlobalEvents[t])}},{key:"getStateChanges",value:function(t){var e=this;if(!this.hasEvents)return{};var r=function(t,n){var r=O()({},e.getEventState(t,n),e.getSharedEventState(t,n));return Mi()(r)?void 0:r};return(n.components||Of).map((function(n){if(t.standalone||"parent"!==n.name)return void 0!==n.index?r(n.index,n.name):e.dataKeys.map((function(t){return r(t,n.name)})).filter(Boolean)})).filter(Boolean)}},{key:"applyExternalMutations",value:function(t,n){if(!Mi()(n)){var e=t.externalEventMutations.reduce((function(t,n){return f()(n.callback)?t.concat(n.callback):t}),[]),r=e.length?function(){e.forEach((function(t){return t()}))}:void 0;this.setState(n,r)}}},{key:"getCalculatedValues",value:function(n){var e=n.sharedEvents,r=Qs(n,t.expectedComponents),o=e&&f()(e.getEventState)?e.getEventState:function(){},i=this.getBaseProps(n,o);return{componentEvents:r,getSharedEventState:o,baseProps:i,dataKeys:y()(i).filter((function(t){return"parent"!==t})),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}},{key:"getExternalMutations",value:function(t){var n=t.sharedEvents,e=t.externalEventMutations;return Mi()(e)||n?void 0:Gs(e,this.baseProps,this.state)}},{key:"cacheValues",value:function(t){var n=this;y()(t).forEach((function(e){n[e]=t[e]}))}},{key:"getBaseProps",value:function(n,e){var r=(e||this.getSharedEventState.bind(this))("parent","parent"),o=this.getEventState("parent","parent"),i=O()({},o,r),a=i.parentControlledProps,u=a?v()(i,a):{},c=O()({},u,n);return"function"==typeof t.getBaseProps?t.getBaseProps(c):{}}},{key:"getAllEvents",value:function(t){var n;return Array.isArray(this.componentEvents)?Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,sf(t.events)):this.componentEvents:t.events}},{key:"getComponentProps",value:function(n,e,r){var o=this.props.name||t.role,i=this.dataKeys&&this.dataKeys[r]||r,a="".concat(o,"-").concat(e,"-").concat(i),u=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];if(u||this.hasEvents){var c=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){var s=this.getEvents(this.props,e,i),l=O()({index:r,key:a},this.getEventState(i,e),this.getSharedEventState(i,e),c,u,{id:a}),f=O()({},Vs(s,i,l),l.events);return Object.assign({},l,{events:f})}return O()({index:r,key:a},c,u,{id:a})}}},{key:"renderContainer",value:function(t,n){var e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=Js(e.events),e.events=tl(e.events)),i().cloneElement(t,e,n)}},{key:"animateComponent",value:function(t,n){var e,r="object"==typeof t.animate&&(null===(e=t.animate)||void 0===e?void 0:e.animationWhitelist)||n,o=this.constructor;return i().createElement(cf,{animate:t.animate,animationWhitelist:r},i().createElement(o,t))}},{key:"renderContinuousData",value:function(t){var n=this,e=t.dataComponent,r=t.labelComponent,o=t.groupComponent,a=Ns()(this.dataKeys,"all").reduce((function(t,e){var o=t,a=n.getComponentProps(r,"labels",e);return a&&void 0!==a.text&&null!==a.text&&(o=o.concat(i().cloneElement(r,a))),o}),[]),u=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,u)].concat(sf(a));return this.renderContainer(o,c)}},{key:"renderData",value:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xf,r=t.dataComponent,o=t.labelComponent,a=t.groupComponent,u=this.dataKeys.reduce((function(t,o,a){var u=n.getComponentProps(r,"data",a);return e(u.datum)&&t.push(i().cloneElement(r,u)),t}),[]),c=this.dataKeys.map((function(t,e){var r=n.getComponentProps(o,"labels",e);if(void 0!==r.text&&null!==r.text)return i().cloneElement(o,r)})).filter(Boolean),s=[].concat(sf(u),sf(c));return this.renderContainer(a,s)}}]),o}(t);return e}(Sf)})(),o})()));
|
|
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.VictoryBar=n(require("react")):t.VictoryBar=n(t.React)}(self,(t=>(()=>{var n={503:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},3273:(t,n,e)=>{var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},2596:(t,n,e)=>{var r=e(2373).Symbol;t.exports=r},6082: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:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:t=>{t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:t=>{t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634: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}},8269:(t,n,e)=>{var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:(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:(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}},1377:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(8644),u=e(9110),c=e(9914);t.exports=function(t,n,e,s){var l=-1,f=o,p=!0,h=t.length,d=[],y=n.length;if(!h)return d;e&&(n=a(n,u(e))),s?(f=i,p=!1):n.length>=200&&(f=c,p=!1,n=new r(n));t:for(;++l<h;){var g=t[l],v=null==e?g:e(g);if(g=s||0!==g?g:0,p&&v==v){for(var b=y;b--;)if(n[b]===v)continue t;d.push(g)}else f(n,v,s)||d.push(g)}return d}},3705:t=>{t.exports=function(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i<o;)if(n(t[i],i,t))return i;return-1}},6457:(t,n,e)=>{var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var c=-1,s=n.length;for(i||(i=o),u||(u=[]);++c<s;){var l=n[c];e>0&&i(l)?e>1?t(l,e-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},4432:(t,n,e)=>{var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:t=>{t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:(t,n,e)=>{var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:(t,n,e)=>{var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),c=e(163),s=e(4801),l=e(4289),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,y,g,v){var b=c(t),m=c(n),x=b?p:u(t),O=m?p:u(n),w=(x=x==f?h:x)==h,j=(O=O==f?h:O)==h,M=x==O;if(M&&s(t)){if(!s(n))return!1;b=!0,w=!1}if(M&&!w)return v||(v=new r),b||l(t)?o(t,n,e,y,g,v):i(t,n,x,e,y,g,v);if(!(1&e)){var A=w&&d.call(t,"__wrapped__"),E=j&&d.call(n,"__wrapped__");if(A||E){var k=A?t.value():t,S=E?n.value():n;return v||(v=new r),g(k,S,e,y,v)}}return!!M&&(v||(v=new r),a(t,n,e,y,g,v))}},9548:(t,n,e)=>{var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var s=e[a];if(c&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<u;){var l=(s=e[a])[0],f=t[l],p=s[1];if(c&&s[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(i)var d=i(f,p,l,t,n,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},2229:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object RegExp]"==r(t)}},3472:(t,n,e)=>{var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},383:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:(t,n,e)=>{var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:(t,n,e)=>{var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),c=e(6878),s=e(3110);t.exports=function(t,n){return a(t)&&u(n)?c(s(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:(t,n,e)=>{var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),c=e(9110),s=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 o(n,1===t.length?t[0]:t)}:t})):[l];var p=-1;n=r(n,c(i));var h=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++p,value:t}}));return u(h,(function(t,n){return s(t,n,e)}))}},5436:(t,n,e)=>{var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:(t,n,e)=>{var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,c={};++a<u;){var s=n[a],l=r(t,s);e(l,s)&&o(c,i(s,t),l)}return c}},1600:t=>{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:(t,n,e)=>{var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:(t,n,e)=>{var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:(t,n,e)=>{var r=e(8269),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,c){if(!a(t))return t;for(var s=-1,l=(n=o(n,t)).length,f=l-1,p=t;null!=p&&++s<l;){var h=u(n[s]),d=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(s!=f){var y=p[h];void 0===(d=c?c(y,h,p):void 0)&&(d=a(y)?y:i(n[s+1])?[]:{})}r(p,h,d),p=p[h]}return t}},9521:t=>{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],c=n?n(u):u;if(!e||!r(c,s)){var s=c;a[i++]=0===u?0:u}}return a}},6316:(t,n,e)=>{var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return c?c.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},1367:(t,n,e)=>{var r=e(4120),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},9110:t=>{t.exports=function(t){return function(n){return t(n)}}},946:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),c=e(6226);t.exports=function(t,n,e){var s=-1,l=o,f=t.length,p=!0,h=[],d=h;if(e)p=!1,l=i;else if(f>=200){var y=n?null:u(t);if(y)return c(y);p=!1,l=a,d=new r}else d=n?[]:h;t:for(;++s<f;){var g=t[s],v=n?n(g):g;if(g=e||0!==g?g:0,p&&v==v){for(var b=d.length;b--;)if(d[b]===v)continue t;n&&d.push(v),h.push(g)}else l(d,v,e)||(d!==h&&d.push(v),h.push(g))}return h}},9914:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:(t,n,e)=>{var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:(t,n,e)=>{var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,c=null===n,s=n==n,l=r(n);if(!c&&!l&&!a&&t>n||a&&u&&s&&!c&&!l||o&&u&&s||!e&&s||!i)return 1;if(!o&&!a&&!l&&t<n||l&&e&&i&&!o&&!a||c&&e&&i||!u&&i||!s)return-1}return 0}},9409:(t,n,e)=>{var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,c=e.length;++o<u;){var s=r(i[o],a[o]);if(s)return o>=c?s:s*("desc"==e[o]?-1:1)}return t.index-n.index}},4499:(t,n,e)=>{var r=e(3472),o=e(981),i=e(7747);t.exports=function(t){return function(n,e,a){var u=Object(n);if(!o(n)){var c=r(e,3);n=i(n),e=function(t){return c(u[t],t,u)}}var s=t(n,e,a);return s>-1?u[c?n[s]:s]:void 0}}},6602:t=>{t.exports=function(){}},5525:(t,n,e)=>{var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:(t,n,e)=>{var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,c){var s=1&e,l=t.length,f=n.length;if(l!=f&&!(s&&f>l))return!1;var p=c.get(t),h=c.get(n);if(p&&h)return p==n&&h==t;var d=-1,y=!0,g=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++d<l;){var v=t[d],b=n[d];if(a)var m=s?a(b,v,d,n,t,c):a(v,b,d,t,n,c);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!o(n,(function(t,n){if(!i(g,n)&&(v===t||u(v,t,e,a,c)))return g.push(n)}))){y=!1;break}}else if(v!==b&&!u(v,b,e,a,c)){y=!1;break}}return c.delete(t),c.delete(n),y}},2813:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:(t,n,e)=>{var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var c=1&e,s=r(t),l=s.length;if(l!=r(n).length&&!c)return!1;for(var f=l;f--;){var p=s[f];if(!(c?p in n:o.call(n,p)))return!1}var h=u.get(t),d=u.get(n);if(h&&d)return h==n&&d==t;var y=!0;u.set(t,n),u.set(n,t);for(var g=c;++f<l;){var v=t[p=s[f]],b=n[p];if(i)var m=c?i(b,v,p,n,t,u):i(v,b,p,t,n,u);if(!(void 0===m?v===b||a(v,b,e,i,u):m)){y=!1;break}g||(g="constructor"==p)}if(y&&!g){var x=t.constructor,O=n.constructor;x==O||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O||(y=!1)}return u.delete(t),u.delete(n),y}},5557:(t,n,e)=>{var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},7271:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:(t,n,e)=>{var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},9817:(t,n,e)=>{var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:(t,n,e)=>{var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),c=e(3110);t.exports=function(t,n,e){for(var s=-1,l=(n=r(n,t)).length,f=!1;++s<l;){var p=c(n[s]);if(!(f=null!=t&&e(t,p)))break;t=t[p]}return f||++s!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(p,l)&&(i(t)||o(t))}},3608:(t,n,e)=>{var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099: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:t=>{t.exports=function(){return!1}},726:(t,n,e)=>{var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:t=>{t.exports=function(){return!1}},5385:(t,n,e)=>{var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:t=>{t.exports=function(){this.__data__=[],this.size=0}},7838:(t,n,e)=>{var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:(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:(t,n,e)=>{var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:(t,n,e)=>{var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:t=>{t.exports=function(t){return t}},2348:(t,n,e)=>{t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},4280:(t,n,e)=>{var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),c=Array(u);++a<u;)c[a]=i[n+a];a=-1;for(var s=Array(n+1);++a<n;)s[a]=i[a];return s[n]=e(c),r(t,this,s)}}},2373:(t,n,e)=>{var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:t=>{t.exports=function(){return[]}},201:t=>{t.exports=function(t){return t}},7801:(t,n,e)=>{var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:(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}},4120:t=>{var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},1893:(t,n,e)=>{var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,c=u.hasOwnProperty,s=r((function(t,n){t=Object(t);var e=-1,r=n.length,s=r>2?n[2]:void 0;for(s&&i(n[0],n[1],s)&&(r=1);++e<r;)for(var l=n[e],f=a(l),p=-1,h=f.length;++p<h;){var d=f[p],y=t[d];(void 0===y||o(y,u[d])&&!c.call(t,d))&&(t[d]=l[d])}return t}));t.exports=s},6354:(t,n,e)=>{var r=e(1377),o=e(6457),i=e(6317),a=e(7605),u=i((function(t,n){return a(t)?r(t,o(n,1,a,!0)):[]}));t.exports=u},788:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},9992:(t,n,e)=>{var r=e(4499)(e(5541));t.exports=r},5541:(t,n,e)=>{var r=e(3705),o=e(3472),i=e(982),a=Math.max;t.exports=function(t,n,e){var u=null==t?0:t.length;if(!u)return-1;var c=null==e?0:i(e);return c<0&&(c=a(u+c,0)),r(t,o(n,3),c)}},2645:(t,n,e)=>{var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:(t,n,e)=>{var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},5066:(t,n,e)=>{var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:t=>{t.exports=function(t){return t}},6149:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},5075:t=>{t.exports=function(){return!1}},163:t=>{var n=Array.isArray;t.exports=n},981:(t,n,e)=>{var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},7605:(t,n,e)=>{var r=e(981),o=e(3474);t.exports=function(t){return o(t)&&r(t)}},4801:t=>{t.exports=function(){return!1}},4295:(t,n,e)=>{var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:(t,n,e)=>{var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),c=e(4801),s=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||c(t)||l(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(s(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:(t,n,e)=>{var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:(t,n,e)=>{var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9555:t=>{t.exports=function(t){return null==t}},7709:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3849:(t,n,e)=>{var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,c=a.toString,s=u.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=s.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==l}},5395:(t,n,e)=>{var r=e(2229),o=e(9110),i=e(2348),a=i&&i.isRegExp,u=a?o(a):r;t.exports=u},1995:t=>{t.exports=function(){return!1}},4289:t=>{t.exports=function(){return!1}},8999:t=>{t.exports=function(t){return void 0===t}},7747:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},8855:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1950:t=>{t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},1594:(t,n,e)=>{var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051: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:(t,n,e)=>{var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:(t,n,e)=>{var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:(t,n,e)=>{var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:(t,n,e)=>{var r=e(8644),o=e(3472),i=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=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:(t,n,e)=>{var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},2829:(t,n,e)=>{var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},9139:(t,n,e)=>{var r=e(5812);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},982:(t,n,e)=>{var r=e(9139);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},5812:(t,n,e)=>{var r=e(1367),o=e(7709),i=e(1995),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=u.test(t);return e||c.test(t)?s(t.slice(2),e?2:8):a.test(t)?NaN:+t}},7010:(t,n,e)=>{var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:(t,n,e)=>{var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:(t,n,e)=>{var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},4882:(t,n,e)=>{var r=e(1377),o=e(6317),i=e(7605),a=o((function(t,n){return i(t)?r(t,n):[]}));t.exports=a},2504:(t,n,e)=>{"use strict";var r=e(2265);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,n,e,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},3698:(t,n,e)=>{t.exports=e(2504)()},2265:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7491:t=>{var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(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,c,s,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.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();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(t[c]!==a[c])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=(s=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,s[c]))return!1;if(n&&t instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==s[c]&&"__v"!==s[c]&&"__o"!==s[c]||!t.$$typeof)&&!i(t[s[c]],a[s[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(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:n=>{"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return r.d(n,{a:n}),n},r.d=(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=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";r.r(o),r.d(o,{Bar:()=>cu,VictoryBar:()=>Pf,getBarPath:()=>eu,getBarPosition:()=>oa,getBarWidth:()=>la,getCornerRadius:()=>fa,getCustomBarPath:()=>Qa,getHorizontalBarPath:()=>tu,getPolarBarPath:()=>ru,getStyle:()=>pa,getVerticalBarPath:()=>Ja,getVerticalPolarBarPath:()=>nu});var t={};r.r(t),r.d(t,{scaleBand:()=>V,scaleDiverging:()=>Qo,scaleDivergingLog:()=>Xo,scaleDivergingPow:()=>ti,scaleDivergingSqrt:()=>ni,scaleDivergingSymlog:()=>Jo,scaleIdentity:()=>Dn,scaleImplicit:()=>$,scaleLinear:()=>Tn,scaleLog:()=>qn,scaleOrdinal:()=>Y,scalePoint:()=>G,scalePow:()=>Qn,scaleQuantile:()=>se,scaleQuantize:()=>le,scaleRadial:()=>ne,scaleSequential:()=>Ho,scaleSequentialLog:()=>Bo,scaleSequentialPow:()=>Yo,scaleSequentialQuantile:()=>Ko,scaleSequentialSqrt:()=>Vo,scaleSequentialSymlog:()=>$o,scaleSqrt:()=>Xn,scaleSymlog:()=>Yn,scaleThreshold:()=>fe,scaleTime:()=>Wo,scaleUtc:()=>Fo,tickFormat:()=>_n});var n={};r.r(n),r.d(n,{easeBack:()=>Dl,easeBackIn:()=>Cl,easeBackInOut:()=>Dl,easeBackOut:()=>Tl,easeBounce:()=>Sl,easeBounceIn:()=>kl,easeBounceInOut:()=>Pl,easeBounceOut:()=>Sl,easeCircle:()=>Al,easeCircleIn:()=>jl,easeCircleInOut:()=>Al,easeCircleOut:()=>Ml,easeCubic:()=>ll,easeCubicIn:()=>cl,easeCubicInOut:()=>ll,easeCubicOut:()=>sl,easeElastic:()=>Nl,easeElasticIn:()=>Rl,easeElasticInOut:()=>Ll,easeElasticOut:()=>Nl,easeExp:()=>wl,easeExpIn:()=>xl,easeExpInOut:()=>wl,easeExpOut:()=>Ol,easeLinear:()=>ol,easePoly:()=>hl,easePolyIn:()=>fl,easePolyInOut:()=>hl,easePolyOut:()=>pl,easeQuad:()=>ul,easeQuadIn:()=>il,easeQuadInOut:()=>ul,easeQuadOut:()=>al,easeSin:()=>bl,easeSinIn:()=>gl,easeSinInOut:()=>bl,easeSinOut:()=>vl});var e=r(9787),i=r.n(e),a=r(9555),u=r.n(a),c=r(3849),s=r.n(c),l=r(9642),f=r.n(l),p=r(6149),h=r.n(p),d=r(7747),y=r.n(d),g=r(9082),v=r.n(g),b=r(8532),m=r.n(b),x=r(1893),O=r.n(x);function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function j(t){var n=function(t){return void 0!==t},e=t._x,r=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,s=t._voronoiY,l=n(r)?r:e,f=n(u)?u:a,p={x:n(i)?i:l,x0:n(o)?o:e,y:n(s)?s:f,y0:n(c)?c:a};return O()({},p,t)}function M(t,n){var e=t.scale,r=t.polar,o=t.horizontal,i=j(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),c=o?e.y(i.y0):e.x(i.x0),s=o?e.x(i.x):e.y(i.y),l=o?e.x(i.x0):e.y(i.y0);return{x:r?s*Math.cos(u)+a.x:u,x0:r?l*Math.cos(c)+a.x:c,y:r?-s*Math.sin(u)+a.y:s,y0:r?-l*Math.sin(c)+a.x:l}}function A(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function E(t){return"tooltip"===(t&&t.type&&t.type.role)}function k(t,n){return f()(t)?t(n):t}function S(t,n){return n.disableInlineStyles?{}:t&&y()(t).some((function(n){return f()(t[n])}))?y()(t).reduce((function(e,r){return e[r]=k(t[r],n),e}),{}):t}function P(t){return"number"==typeof t?t*(Math.PI/180):t}function _(t){var n=A(t),e=n.left,r=n.right,o=n.top,i=n.bottom,a=t.width,u=t.height;return Math.min(a-e-r,u-o-i)/2}function C(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?[P(t.startAngle||0),P(t.endAngle||360)]:[t.innerRadius||0,_(t)]}(t,n):function(t,n){var e="x"!==n,r=A(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function T(t){return f()(t)?t:null==t?function(t){return t}:m()(t)}function D(t,n,e){var r=w(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;var n=function(t){return t.reduce((function(t,e){var r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1)};return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return O()(a,t,r,n)}function I(t){return function(t){if(Array.isArray(t))return R(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return R(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?R(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function N(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}function L(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return N(o)?new Date(Math.max.apply(Math,I(o))):Math.max.apply(Math,I(o))}function U(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return N(o)?new Date(Math.min.apply(Math,I(o))):Math.min.apply(Math,I(o))}function W(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function F(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function z(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 q extends Map{constructor(t,n=B){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(H(this,t))}has(t){return super.has(H(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 H({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function B(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const $=Symbol("implicit");function Y(){var t=new q,n=[],e=[],r=$;function o(o){let i=t.get(o);if(void 0===i){if(r!==$)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new q;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return Y(n,e).unknown(r)},F.apply(o,arguments),o}function V(){var t,n,e=Y().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,c=0,s=0,l=.5;function f(){var e=r().length,f=a<i,p=f?a:i,h=f?i:a;t=(h-p)/Math.max(1,e-c+2*s),u&&(t=Math.floor(t)),p+=(h-p-t*(e-c))*l,n=t*(1-c),u&&(p=Math.round(p),n=Math.round(n));var d=W(e).map((function(n){return p+t*n}));return o(f?d.reverse():d)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,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?(c=Math.min(1,s=+t),f()):c},e.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},e.paddingOuter=function(t){return arguments.length?(s=+t,f()):s},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return V(r(),[i,a]).round(u).paddingInner(c).paddingOuter(s).align(l)},F.apply(f(),arguments)}function K(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return K(n())},t}function G(){return K(V.apply(null,arguments).paddingInner(1))}var Z=Math.sqrt(50),Q=Math.sqrt(10),X=Math.sqrt(2);function J(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=tt(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,i=new Array(o=r-e+1);++u<o;)i[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,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function tt(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=Z?10:i>=Q?5:i>=X?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=Z?10:i>=Q?5:i>=X?2:1)}function nt(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=Z?o*=10:i>=Q?o*=5:i>=X&&(o*=2),n<t?-o:o}function et(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function rt(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function ot(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=et,e=(n,e)=>et(t(n),e),r=(n,e)=>t(n)-e):(n=t===et||t===rt?t:it,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function it(){return 0}function at(t){return null===t?NaN:+t}const ut=ot(et),ct=ut.right,st=(ut.left,ot(at).center,ct);function lt(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function ft(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function pt(){}var ht=.7,dt=1/ht,yt="\\s*([+-]?\\d+)\\s*",gt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",bt=/^#([0-9a-f]{3,8})$/,mt=new RegExp(`^rgb\\(${yt},${yt},${yt}\\)$`),xt=new RegExp(`^rgb\\(${vt},${vt},${vt}\\)$`),Ot=new RegExp(`^rgba\\(${yt},${yt},${yt},${gt}\\)$`),wt=new RegExp(`^rgba\\(${vt},${vt},${vt},${gt}\\)$`),jt=new RegExp(`^hsl\\(${gt},${vt},${vt}\\)$`),Mt=new RegExp(`^hsla\\(${gt},${vt},${vt},${gt}\\)$`),At={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 Et(){return this.rgb().formatHex()}function kt(){return this.rgb().formatRgb()}function St(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=bt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Pt(n):3===e?new Dt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?_t(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?_t(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=mt.exec(t))?new Dt(n[1],n[2],n[3],1):(n=xt.exec(t))?new Dt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Ot.exec(t))?_t(n[1],n[2],n[3],n[4]):(n=wt.exec(t))?_t(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=jt.exec(t))?Wt(n[1],n[2]/100,n[3]/100,1):(n=Mt.exec(t))?Wt(n[1],n[2]/100,n[3]/100,n[4]):At.hasOwnProperty(t)?Pt(At[t]):"transparent"===t?new Dt(NaN,NaN,NaN,0):null}function Pt(t){return new Dt(t>>16&255,t>>8&255,255&t,1)}function _t(t,n,e,r){return r<=0&&(t=n=e=NaN),new Dt(t,n,e,r)}function Ct(t){return t instanceof pt||(t=St(t)),t?new Dt((t=t.rgb()).r,t.g,t.b,t.opacity):new Dt}function Tt(t,n,e,r){return 1===arguments.length?Ct(t):new Dt(t,n,e,null==r?1:r)}function Dt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function It(){return`#${Ut(this.r)}${Ut(this.g)}${Ut(this.b)}`}function Rt(){const t=Nt(this.opacity);return`${1===t?"rgb(":"rgba("}${Lt(this.r)}, ${Lt(this.g)}, ${Lt(this.b)}${1===t?")":`, ${t})`}`}function Nt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Lt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ut(t){return((t=Lt(t))<16?"0":"")+t.toString(16)}function Wt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new zt(t,n,e,r)}function Ft(t){if(t instanceof zt)return new zt(t.h,t.s,t.l,t.opacity);if(t instanceof pt||(t=St(t)),!t)return new zt;if(t instanceof zt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new zt(a,u,c,t.opacity)}function zt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function qt(t){return(t=(t||0)%360)<0?t+360:t}function Ht(t){return Math.max(0,Math.min(1,t||0))}function Bt(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 $t(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}lt(pt,St,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Et,formatHex:Et,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ft(this).formatHsl()},formatRgb:kt,toString:kt}),lt(Dt,Tt,ft(pt,{brighter(t){return t=null==t?dt:Math.pow(dt,t),new Dt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ht:Math.pow(ht,t),new Dt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Dt(Lt(this.r),Lt(this.g),Lt(this.b),Nt(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:It,formatHex:It,formatHex8:function(){return`#${Ut(this.r)}${Ut(this.g)}${Ut(this.b)}${Ut(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Rt,toString:Rt})),lt(zt,(function(t,n,e,r){return 1===arguments.length?Ft(t):new zt(t,n,e,null==r?1:r)}),ft(pt,{brighter(t){return t=null==t?dt:Math.pow(dt,t),new zt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ht:Math.pow(ht,t),new zt(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,o=2*e-r;return new Dt(Bt(t>=240?t-240:t+120,o,r),Bt(t,o,r),Bt(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new zt(qt(this.h),Ht(this.s),Ht(this.l),Nt(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=Nt(this.opacity);return`${1===t?"hsl(":"hsla("}${qt(this.h)}, ${100*Ht(this.s)}%, ${100*Ht(this.l)}%${1===t?")":`, ${t})`}`}}));const Yt=t=>()=>t;function Vt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Yt(isNaN(t)?n:t)}const Kt=function t(n){var e=function(t){return 1==(t=+t)?Vt: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):Yt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Tt(t)).r,(n=Tt(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=Vt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Gt(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=Tt(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function Zt(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=on(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function Qt(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Xt(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function Jt(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=on(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}Gt((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),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return $t((e-r/n)*n,a,o,i,u)}})),Gt((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return $t((e-r/n)*n,o,i,a,u)}}));var tn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nn=new RegExp(tn.source,"g");function en(t,n){var e,r,o,i=tn.lastIndex=nn.lastIndex=0,a=-1,u=[],c=[];for(t+="",n+="";(e=tn.exec(t))&&(r=nn.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Xt(e,r)})),i=nn.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)u[(e=c[r]).i]=e.x(t);return u.join("")})}function rn(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function on(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?Yt(n):("number"===o?Xt:"string"===o?(e=St(n))?(n=e,Kt):en:n instanceof St?Kt:n instanceof Date?Qt:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Zt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Jt:Xt:rn))(t,n)}function an(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function un(t){return+t}var cn=[0,1];function sn(t){return t}function ln(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function fn(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=ln(o,r),i=e(a,i)):(r=ln(r,o),i=e(i,a)),function(t){return i(r(t))}}function pn(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=ln(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=st(t,n,1,r)-1;return i[e](o[e](n))}}function hn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function dn(){var t,n,e,r,o,i,a=cn,u=cn,c=on,s=sn;function l(){var t,n,e,c=Math.min(a.length,u.length);return s!==sn&&(t=a[0],n=a[c-1],t>n&&(e=t,t=n,n=e),s=function(e){return Math.max(t,Math.min(n,e))}),r=c>2?pn:fn,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,c)))(t(s(n)))}return f.invert=function(e){return s(n((i||(i=r(u,a.map(t),Xt)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,un),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),c=an,l()},f.clamp=function(t){return arguments.length?(s=!!t||sn,l()):s!==sn},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function yn(){return dn()(sn,sn)}var gn,vn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function bn(t){if(!(n=vn.exec(t)))throw new Error("invalid format: "+t);var n;return new mn({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 mn(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 xn(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 On(t){return(t=xn(Math.abs(t)))?t[1]:NaN}function wn(t,n){var e=xn(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}bn.prototype=mn.prototype,mn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const jn={"%":(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)=>wn(100*t,n),r:wn,s:function(t,n){var e=xn(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(gn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+xn(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Mn(t){return t}var An,En,kn,Sn=Array.prototype.map,Pn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _n(t,n,e,r){var o,i=nt(t,n,e);switch((r=bn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(On(n)/3)))-On(Math.abs(t)))}(i,a))||(r.precision=o),kn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,On(n)-On(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-On(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return En(r)}function Cn(t){var n=t.domain;return t.ticks=function(t){var e=n();return J(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return _n(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,c=i[a],s=i[u],l=10;for(s<c&&(o=c,c=s,s=o,o=a,a=u,u=o);l-- >0;){if((o=tt(c,s,e))===r)return i[a]=c,i[u]=s,n(i);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o}r=o}return t},t}function Tn(){var t=yn();return t.copy=function(){return hn(t,Tn())},F.apply(t,arguments),Cn(t)}function Dn(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,un),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Dn(t).unknown(n)},t=arguments.length?Array.from(t,un):[0,1],Cn(e)}function In(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function Rn(t){return Math.log(t)}function Nn(t){return Math.exp(t)}function Ln(t){return-Math.log(-t)}function Un(t){return-Math.exp(-t)}function Wn(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Fn(t){return(n,e)=>-t(-n,e)}function zn(t){const n=t(Rn,Nn),e=n.domain;let r,o,i=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)}(i),o=function(t){return 10===t?Wn:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=Fn(r),o=Fn(o),t(Ln,Un)):t(Rn,Nn),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},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 c=u<a;c&&([a,u]=[u,a]);let s,l,f=r(a),p=r(u);const h=null==t?10:+t;let d=[];if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(s=1;s<i;++s)if(l=f<0?s/o(-f):s*o(f),!(l<a)){if(l>u)break;d.push(l)}}else for(;f<=p;++f)for(s=i-1;s>=1;--s)if(l=f>0?s/o(-f):s*o(f),!(l<a)){if(l>u)break;d.push(l)}2*d.length<h&&(d=J(a,u,h))}else d=J(f,p,Math.min(p-f,h)).map(o);return c?d.reverse():d},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=bn(e)).precision||(e.trim=!0),e=En(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(In(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function qn(){const t=zn(dn()).domain([1,10]);return t.copy=()=>hn(t,qn()).base(t.base()),F.apply(t,arguments),t}function Hn(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Bn(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function $n(t){var n=1,e=t(Hn(n),Bn(n));return e.constant=function(e){return arguments.length?t(Hn(n=+e),Bn(n)):n},Cn(e)}function Yn(){var t=$n(dn());return t.copy=function(){return hn(t,Yn()).constant(t.constant())},F.apply(t,arguments)}function Vn(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Kn(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Gn(t){return t<0?-t*t:t*t}function Zn(t){var n=t(sn,sn),e=1;function r(){return 1===e?t(sn,sn):.5===e?t(Kn,Gn):t(Vn(e),Vn(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Cn(n)}function Qn(){var t=Zn(dn());return t.copy=function(){return hn(t,Qn()).exponent(t.exponent())},F.apply(t,arguments),t}function Xn(){return Qn.apply(null,arguments).exponent(.5)}function Jn(t){return Math.sign(t)*t*t}function te(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ne(){var t,n=yn(),e=[0,1],r=!1;function o(e){var o=te(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(Jn(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,un)).map(Jn)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ne(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},F.apply(o,arguments),Cn(o)}function ee(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 o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function re(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 o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function oe(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ie(t,n,e=0,r=t.length-1,o){for(o=void 0===o?oe:function(t=et){if(t===et)return oe;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))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),c=.5*Math.exp(2*u/3),s=.5*Math.sqrt(u*c*(i-c)/i)*(a-i/2<0?-1:1);ie(t,n,Math.max(e,Math.floor(n-a*c/i+s)),Math.min(r,Math.floor(n+(i-a)*c/i+s)),o)}const i=t[n];let a=e,u=r;for(ae(t,e,n),o(t[r],i)>0&&ae(t,e,r);a<u;){for(ae(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?ae(t,e,u):(++u,ae(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function ae(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ue(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 re(t);if(n>=1)return ee(t);var r,o=(r-1)*n,i=Math.floor(o),a=ee(ie(t,i).subarray(0,i+1));return a+(re(t.subarray(i+1))-a)*(o-i)}}function ce(t,n,e=at){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,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function se(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=ce(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[st(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.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(et),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return se().domain(n).range(e).unknown(t)},F.apply(i,arguments)}function le(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[st(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[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=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return le().domain([n,e]).range(i).unknown(t)},F.apply(Cn(a),arguments)}function fe(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[st(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return fe().domain(n).range(e).unknown(t)},F.apply(o,arguments)}An=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Mn:(n=Sn.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Mn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Sn.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=bn(t)).fill,e=t.align,f=t.sign,p=t.symbol,h=t.zero,d=t.width,y=t.comma,g=t.precision,v=t.trim,b=t.type;"n"===b?(y=!0,b="g"):jn[b]||(void 0===g&&(g=12),v=!0,b="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var m="$"===p?o:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===p?i:/[%p]/.test(b)?c:"",O=jn[b],w=/[defgprs%]/.test(b);function j(t){var o,i,c,p=m,j=x;if("c"===b)j=O(t)+j,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:O(Math.abs(t),g),v&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),M&&0==+t&&"+"!==f&&(M=!1),p=(M?"("===f?f:s:"-"===f||"("===f?"":f)+p,j=("s"===b?Pn[8+gn/3]:"")+j+(M&&"("===f?")":""),w)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){j=(46===c?a+t.slice(o+1):t.slice(o))+j,t=t.slice(0,o);break}}y&&!h&&(t=r(t,1/0));var A=p.length+t.length+j.length,E=A<d?new Array(d-A+1).join(n):"";switch(y&&h&&(t=r(E+t,E.length?d-j.length:1/0),E=""),e){case"<":t=p+t+j+E;break;case"=":t=p+E+t+j;break;case"^":t=E.slice(0,A=E.length>>1)+p+t+j+E.slice(A);break;default:t=E+p+t+j}return u(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),j.toString=function(){return t+""},j}return{format:f,formatPrefix:function(t,n){var e=f(((t=bn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(On(n)/3))),o=Math.pow(10,-r),i=Pn[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),En=An.format,kn=An.formatPrefix;const pe=1e3,he=6e4,de=36e5,ye=864e5,ge=6048e5,ve=31536e6;var be=new Date,me=new Date;function xe(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return xe((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&&(o.count=function(n,r){return be.setTime(+n),me.setTime(+r),t(be),t(me),Math.floor(e(be,me))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var Oe=xe((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Oe.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?xe((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Oe:null};const we=Oe;Oe.range;var je=xe((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*pe)}),(function(t,n){return(n-t)/pe}),(function(t){return t.getUTCSeconds()}));const Me=je;je.range;var Ae=xe((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*pe)}),(function(t,n){t.setTime(+t+n*he)}),(function(t,n){return(n-t)/he}),(function(t){return t.getMinutes()}));const Ee=Ae;Ae.range;var ke=xe((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*pe-t.getMinutes()*he)}),(function(t,n){t.setTime(+t+n*de)}),(function(t,n){return(n-t)/de}),(function(t){return t.getHours()}));const Se=ke;ke.range;var Pe=xe((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*he)/ye),(t=>t.getDate()-1));const _e=Pe;function Ce(t){return xe((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())*he)/ge}))}Pe.range;var Te=Ce(0),De=Ce(1),Ie=Ce(2),Re=Ce(3),Ne=Ce(4),Le=Ce(5),Ue=Ce(6),We=(Te.range,De.range,Ie.range,Re.range,Ne.range,Le.range,Ue.range,xe((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()})));const Fe=We;We.range;var ze=xe((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()}));ze.every=function(t){return isFinite(t=Math.floor(t))&&t>0?xe((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};const qe=ze;ze.range;var He=xe((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*he)}),(function(t,n){return(n-t)/he}),(function(t){return t.getUTCMinutes()}));const Be=He;He.range;var $e=xe((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*de)}),(function(t,n){return(n-t)/de}),(function(t){return t.getUTCHours()}));const Ye=$e;$e.range;var Ve=xe((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/ye}),(function(t){return t.getUTCDate()-1}));const Ke=Ve;function Ge(t){return xe((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)/ge}))}Ve.range;var Ze=Ge(0),Qe=Ge(1),Xe=Ge(2),Je=Ge(3),tr=Ge(4),nr=Ge(5),er=Ge(6),rr=(Ze.range,Qe.range,Xe.range,Je.range,tr.range,nr.range,er.range,xe((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()})));const or=rr;rr.range;var ir=xe((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()}));ir.every=function(t){return isFinite(t=Math.floor(t))&&t>0?xe((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};const ar=ir;function ur(t,n,e,r,o,i){const a=[[Me,1,pe],[Me,5,5e3],[Me,15,15e3],[Me,30,3e4],[i,1,he],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,de],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,ye],[r,2,1728e5],[e,1,ge],[n,1,2592e6],[n,3,7776e6],[t,1,ve]];function u(n,e,r){const o=Math.abs(e-n)/r,i=ot((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(nt(n/ve,e/ve,r));if(0===i)return we.every(Math.max(nt(n,e,r),1));const[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}ir.range;const[cr,sr]=ur(ar,or,Ze,Ke,Ye,Be),[lr,fr]=ur(qe,Fe,Te,_e,Se,Ee);function pr(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 hr(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 dr(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var yr,gr,vr,br={"-":"",_:" ",0:"0"},mr=/^\s*\d+/,xr=/^%/,Or=/[\\^$*+?|[\]().{}]/g;function wr(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function jr(t){return t.replace(Or,"\\$&")}function Mr(t){return new RegExp("^(?:"+t.map(jr).join("|")+")","i")}function Ar(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Er(t,n,e){var r=mr.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function kr(t,n,e){var r=mr.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Sr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Pr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function _r(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Cr(t,n,e){var r=mr.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Tr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Dr(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 Ir(t,n,e){var r=mr.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Rr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Nr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Lr(t,n,e){var r=mr.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Ur(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Wr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Fr(t,n,e){var r=mr.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function zr(t,n,e){var r=mr.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function qr(t,n,e){var r=mr.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Hr(t,n,e){var r=xr.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Br(t,n,e){var r=mr.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function $r(t,n,e){var r=mr.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Yr(t,n){return wr(t.getDate(),n,2)}function Vr(t,n){return wr(t.getHours(),n,2)}function Kr(t,n){return wr(t.getHours()%12||12,n,2)}function Gr(t,n){return wr(1+_e.count(qe(t),t),n,3)}function Zr(t,n){return wr(t.getMilliseconds(),n,3)}function Qr(t,n){return Zr(t,n)+"000"}function Xr(t,n){return wr(t.getMonth()+1,n,2)}function Jr(t,n){return wr(t.getMinutes(),n,2)}function to(t,n){return wr(t.getSeconds(),n,2)}function no(t){var n=t.getDay();return 0===n?7:n}function eo(t,n){return wr(Te.count(qe(t)-1,t),n,2)}function ro(t){var n=t.getDay();return n>=4||0===n?Ne(t):Ne.ceil(t)}function oo(t,n){return t=ro(t),wr(Ne.count(qe(t),t)+(4===qe(t).getDay()),n,2)}function io(t){return t.getDay()}function ao(t,n){return wr(De.count(qe(t)-1,t),n,2)}function uo(t,n){return wr(t.getFullYear()%100,n,2)}function co(t,n){return wr((t=ro(t)).getFullYear()%100,n,2)}function so(t,n){return wr(t.getFullYear()%1e4,n,4)}function lo(t,n){var e=t.getDay();return wr((t=e>=4||0===e?Ne(t):Ne.ceil(t)).getFullYear()%1e4,n,4)}function fo(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+wr(n/60|0,"0",2)+wr(n%60,"0",2)}function po(t,n){return wr(t.getUTCDate(),n,2)}function ho(t,n){return wr(t.getUTCHours(),n,2)}function yo(t,n){return wr(t.getUTCHours()%12||12,n,2)}function go(t,n){return wr(1+Ke.count(ar(t),t),n,3)}function vo(t,n){return wr(t.getUTCMilliseconds(),n,3)}function bo(t,n){return vo(t,n)+"000"}function mo(t,n){return wr(t.getUTCMonth()+1,n,2)}function xo(t,n){return wr(t.getUTCMinutes(),n,2)}function Oo(t,n){return wr(t.getUTCSeconds(),n,2)}function wo(t){var n=t.getUTCDay();return 0===n?7:n}function jo(t,n){return wr(Ze.count(ar(t)-1,t),n,2)}function Mo(t){var n=t.getUTCDay();return n>=4||0===n?tr(t):tr.ceil(t)}function Ao(t,n){return t=Mo(t),wr(tr.count(ar(t),t)+(4===ar(t).getUTCDay()),n,2)}function Eo(t){return t.getUTCDay()}function ko(t,n){return wr(Qe.count(ar(t)-1,t),n,2)}function So(t,n){return wr(t.getUTCFullYear()%100,n,2)}function Po(t,n){return wr((t=Mo(t)).getUTCFullYear()%100,n,2)}function _o(t,n){return wr(t.getUTCFullYear()%1e4,n,4)}function Co(t,n){var e=t.getUTCDay();return wr((t=e>=4||0===e?tr(t):tr.ceil(t)).getUTCFullYear()%1e4,n,4)}function To(){return"+0000"}function Do(){return"%"}function Io(t){return+t}function Ro(t){return Math.floor(+t/1e3)}function No(t){return new Date(t)}function Lo(t){return t instanceof Date?+t:+new Date(+t)}function Uo(t,n,e,r,o,i,a,u,c,s){var l=yn(),f=l.invert,p=l.domain,h=s(".%L"),d=s(":%S"),y=s("%I:%M"),g=s("%I %p"),v=s("%a %d"),b=s("%b %d"),m=s("%B"),x=s("%Y");function O(t){return(c(t)<t?h:u(t)<t?d:a(t)<t?y:i(t)<t?g:r(t)<t?o(t)<t?v:b:e(t)<t?m:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?p(Array.from(t,Lo)):p().map(No)},l.ticks=function(n){var e=p();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?O:s(n)},l.nice=function(t){var e=p();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?p(In(e,t)):l},l.copy=function(){return hn(l,Uo(t,n,e,r,o,i,a,u,c,s))},l}function Wo(){return F.apply(Uo(lr,fr,qe,Fe,Te,_e,Se,Ee,Me,gr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Fo(){return F.apply(Uo(cr,sr,ar,or,Ze,Ke,Ye,Be,Me,vr).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function zo(){var t,n,e,r,o,i=0,a=1,u=sn,c=!1;function s(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,c?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),s):[u(0),u(1)]}}return s.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),s):[i,a]},s.clamp=function(t){return arguments.length?(c=!!t,s):c},s.interpolator=function(t){return arguments.length?(u=t,s):u},s.range=l(on),s.rangeRound=l(an),s.unknown=function(t){return arguments.length?(o=t,s):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),s}}function qo(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Ho(){var t=Cn(zo()(sn));return t.copy=function(){return qo(t,Ho())},z.apply(t,arguments)}function Bo(){var t=zn(zo()).domain([1,10]);return t.copy=function(){return qo(t,Bo()).base(t.base())},z.apply(t,arguments)}function $o(){var t=$n(zo());return t.copy=function(){return qo(t,$o()).constant(t.constant())},z.apply(t,arguments)}function Yo(){var t=Zn(zo());return t.copy=function(){return qo(t,Yo()).exponent(t.exponent())},z.apply(t,arguments)}function Vo(){return Yo.apply(null,arguments).exponent(.5)}function Ko(){var t=[],n=sn;function e(e){if(null!=e&&!isNaN(e=+e))return n((st(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(et),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)=>ue(t,r/n)))},e.copy=function(){return Ko(n).domain(t)},z.apply(e,arguments)}function Go(t,n){void 0===n&&(n=t,t=on);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function Zo(){var t,n,e,r,o,i,a,u=0,c=.5,s=1,l=1,f=sn,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(l*t<l*n?r:o),f(p?Math.max(0,Math.min(1,t)):t))}function d(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=Go(t,[e,r,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,c,s]=a,t=i(u=+u),n=i(c=+c),e=i(s=+s),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,c,s]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(on),h.rangeRound=d(an),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(u),n=a(c),e=a(s),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Qo(){var t=Cn(Zo()(sn));return t.copy=function(){return qo(t,Qo())},z.apply(t,arguments)}function Xo(){var t=zn(Zo()).domain([.1,1,10]);return t.copy=function(){return qo(t,Xo()).base(t.base())},z.apply(t,arguments)}function Jo(){var t=$n(Zo());return t.copy=function(){return qo(t,Jo()).constant(t.constant())},z.apply(t,arguments)}function ti(){var t=Zn(Zo());return t.copy=function(){return qo(t,ti()).exponent(t.exponent())},z.apply(t,arguments)}function ni(){return ti.apply(null,arguments).exponent(.5)}yr=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,s=Mr(o),l=Ar(o),f=Mr(i),p=Ar(i),h=Mr(a),d=Ar(a),y=Mr(u),g=Ar(u),v=Mr(c),b=Ar(c),m={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Yr,e:Yr,f:Qr,g:co,G:lo,H:Vr,I:Kr,j:Gr,L:Zr,m:Xr,M:Jr,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Io,s:Ro,S:to,u:no,U:eo,V:oo,w:io,W:ao,x:null,X:null,y:uo,Y:so,Z:fo,"%":Do},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:po,e:po,f:bo,g:Po,G:Co,H:ho,I:yo,j:go,L:vo,m:mo,M:xo,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Io,s:Ro,S:Oo,u:wo,U:jo,V:Ao,w:Eo,W:ko,x:null,X:null,y:So,Y:_o,Z:To,"%":Do},O={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=p.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=b.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=g.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return M(t,n,e,r)},d:Nr,e:Nr,f:qr,g:Tr,G:Cr,H:Ur,I:Ur,j:Lr,L:zr,m:Rr,M:Wr,p:function(t,n,e){var r=s.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:Ir,Q:Br,s:$r,S:Fr,u:kr,U:Sr,V:Pr,w:Er,W:_r,x:function(t,n,r){return M(t,e,n,r)},X:function(t,n,e){return M(t,r,n,e)},y:Tr,Y:Cr,Z:Dr,"%":Hr};function w(t,n){return function(e){var r,o,i,a=[],u=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++u<s;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=br[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,n){return function(e){var r,o,i=dr(1900,void 0,1);if(M(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=hr(dr(i.y,0,1))).getUTCDay(),r=o>4||0===o?Qe.ceil(r):Qe(r),r=Ke.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=pr(dr(i.y,0,1))).getDay(),r=o>4||0===o?De.ceil(r):De(r),r=_e.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?hr(dr(i.y,0,1)).getUTCDay():pr(dr(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,hr(i)):pr(i)}}function M(t,n,e,r){for(var o,i,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=O[o in br?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=j(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=j(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"]}),gr=yr.format,yr.parse,vr=yr.utcFormat,yr.utcParse;var ei=["linear","time","log","sqrt"];function ri(t){return"function"==typeof t?f()(t.copy)&&f()(t.domain)&&f()(t.range):"string"==typeof t&&h()(ei,t)}function oi(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function ii(t,n){if(!t.data)return"linear";var e=T(t[n]);return N(t.data.map((function(t){var r=s()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function ai(n){if(ri(n)){var e=function(t){var n;return"scale".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}(n);return t[e]()}return Tn()}function ui(t,n){var e=function(t,n){if(oi(t,n)){var e=t.scale[n]||t.scale;return ri(e)?f()(e)?e:ai(e):void 0}}(t,n);return e?"string"==typeof e?ai(e):e:ai(function(t,n){var e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return N(e)?"time":"linear"}(t,n)||ii(t,n))}function ci(t,n){return function(t,n){if(oi(t,n)){var e=t.scale[n]||t.scale;return"string"==typeof e?e:li(e)}}(t,n)||ii(t,n)}var si=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function li(t){if("string"==typeof t)return t;var n=si.filter((function(n){return void 0!==t[n.method]}))[0];return n?n.name:void 0}var fi=r(4295),pi=r.n(fi),hi=r(2829),di=r.n(hi),yi=r(2645),gi=r.n(yi),vi=r(1616),bi=r.n(vi),mi=r(8999),xi=r.n(mi),Oi=r(8254),wi=r.n(Oi),ji=r(4155),Mi=r.n(ji),Ai=r(4143),Ei=r.n(Ai),ki=r(1950),Si=r.n(ki),Pi=r(9602),_i=r.n(Pi);function Ci(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function Ti(t,n){return Ci(t)?t.reduce((function(t,e,r){var o=e;return n&&n[r]&&(o=Ti(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function Di(t){return function(t){if(Array.isArray(t))return Ii(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Ii(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Ii(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ii(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Ri(t){var n;return Ci(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?Ti(t,{errorX:!0,errorY:!0}):t}function Ni(t,n){var e=(s()(t.domain)?t.domain[n]:t.domain)||ui(t,n).domain(),r=t.samples||1,o=Math.max.apply(Math,Di(e)),i=Math.min.apply(Math,Di(e)),a=function(t,n,e){var r=n?t:0,o=n||t;o||(o=0);var i=o-r,a=Math.abs(i),u=i/a||1,c=e||1,s=Math.max(Math.ceil(a/c),0);return Array.from(Array(s),(function(t,n){return r+n*u*c}))}(i,o,(o-i)/r);return Si()(a)===o?a:a.concat(o)}function Li(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!n)return t;var r=n;"x"!==n&&"y"!==n||(r="_".concat(n));var o="ascending"===e?"asc":"desc";return Ei()(t,r,o)}function Ui(t,n){var e=function(t,n){var e=t.tickValues,r=t.tickFormat;return(e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[]).filter((function(t){return"string"==typeof t}))}(t,n),r=qi(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!Ci(t.data))return[];var e=T(void 0===t[n]?n:t[n]);return Li(t.data.reduce((function(t,n){return t.push(Ri(n)),t}),[]),t.sortKey,t.sortOrder).reduce((function(t,n){var r=Ri(n);return t.push(e(r)),t}),[]).filter((function(t){return"string"==typeof t})).reduce((function(t,n){return null!=n&&-1===t.indexOf(n)&&t.push(n),t}),[])}(t,n),i=_i()([].concat(Di(e),Di(r),Di(o)));return 0===i.length?null:i.reduce((function(t,n,e){return t[n]=e+1,t}),{})}function Wi(t,n,e){if(!Array.isArray(t)&&!Ci(t)||function(t){return Ci(t)?t.size:t.length}(t)<1)return[];var r,o=["x","y","y0"],i=(e=Array.isArray(e)?e:o).reduce((function(t,e){var r;return t[e]=T(void 0!==n[r=e]?n[r]:r),t}),{}),a=wi()(e,o)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;!1===a&&(r={x:-1!==e.indexOf("x")?Ui(n,"x"):void 0,y:-1!==e.indexOf("y")?Ui(n,"y"):void 0,y0:-1!==e.indexOf("y0")?Ui(n,"y"):void 0});var u=a?t:t.reduce((function(t,n,o){var a=Ri(n),u={x:o,y:a},c=e.reduce((function(t,n){var e=i[n](a),o=void 0!==e?e:u[n];return void 0!==o&&("string"==typeof o&&r[n]?(t["".concat(n,"Name")]=o,t["_".concat(n)]=r[n][o]):t["_".concat(n)]=o),t}),{}),s=Object.assign({},c,a);return Mi()(s)||t.push(s),t}),[]),c=function(t,n){var e=1/Number.MAX_SAFE_INTEGER,r={x:ci(n,"x"),y:ci(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;var o=function(t,n){return"log"!==r[n]||0!==t["_".concat(n)]};return t.map((function(t){return o(t,"x")&&o(t,"y")&&o(t,"y0")?t:function(t){var n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:i})}(t)}))}(Li(u,n.sortKey,n.sortOrder),n);return function(t,n){var e,r=!!t.eventKey,o=(e=t.eventKey,f()(e)?e:null==e?function(){}:m()(e));return n.map((function(t,n){if(void 0!==t.eventKey)return t;if(r){var e=o(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,c)}function Fi(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function zi(t){return t.data?Wi(t.data,t):Wi(function(t){var n=Ni(t,"x"),e=Ni(t,"y");return n.map((function(t,n){return{x:t,y:e[n]}}))}(t),t)}function qi(t,n){if(!t.categories)return[];var e=Fi(t,n),r=e&&e.filter((function(t){return"string"==typeof t}));return r?r.filter((function(t){return void 0!==t})):[]}function Hi(t){return function(t){if(Array.isArray(t))return Bi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Bi(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Bi(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bi(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function $i(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(t){return"max"===e?Math.max.apply(Math,Hi(t)):Math.min.apply(Math,Hi(t))},o="max"===e?-1/0:1/0,i=!1,a=gi()(t).reduce((function(t,e){var o=void 0!==e["_".concat(n,"0")]?e["_".concat(n,"0")]:e["_".concat(n)],a=void 0!==e["_".concat(n,"1")]?e["_".concat(n,"1")]:e["_".concat(n)],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function Yi(t,n,e){return function(t,n,e){return"log"!==ci(n,e)?t:(o=(r=t)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?o:r[0],0===r[1]?o:r[1]]);var r,o}(function(t,n,e){if(!n.domainPadding)return t;var r=Xi(n,e),o=Qi(n,e),i=function(t,n){var e=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return s()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;var a=U(t),u=L(t),c=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),l=C(n,c),f=Math.abs(l[0]-l[1]),p=Math.max(f-i.left-i.right,1),h=Math.abs(u.valueOf()-a.valueOf())/p*f,d=h*i.left/f,y=h*i.right/f,g={min:a.valueOf()-d,max:u.valueOf()+y},v=s()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,b=function(t,n){return"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!==v){var m={left:Math.abs(u-a)*i.left/f,right:Math.abs(u-a)*i.right/f},x={min:b(a.valueOf()-m.left,"min"),max:b(u.valueOf()+m.right,"max")},O={left:Math.abs(x.max-x.min)*i.left/f,right:Math.abs(x.max-x.min)*i.right/f};g={min:b(a.valueOf()-O.left,"min"),max:b(u.valueOf()+O.right,"max")}}var w={min:void 0!==r?r:g.min,max:void 0!==o?o:g.max};return a instanceof Date||u instanceof Date?Ki(new Date(w.min),new Date(w.max)):Ki(w.min,w.max)}(t,n,e),n,e)}function Vi(t,n,e){var r=e||zi(t),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u,s=Xi(t,n),l=Qi(t,n);if(r.length<1)return void 0!==s&&void 0!==l?Ki(s,l):void 0;var f=Ki(void 0!==s?s:$i(r,n,"min"),void 0!==l?l:$i(r,n,"max"));return o&&"x"===n&&360===Math.abs(a-c)?Ji(f,function(t,n){var e="_".concat(n);return gi()(t).map((function(t){return t[e]&&void 0!==t[e][1]?t[e][1]:t[e]}))}(r,n)):f}function Ki(t,n){var e,r,o,i;return Number(t)===Number(n)?(r=0===(e=n)?2*Math.pow(10,-10):Math.pow(10,-10),o=e instanceof Date?new Date(Number(e)-1):Number(e)-r,i=e instanceof Date?new Date(Number(e)+1):Number(e)+r,0===e?[0,i]:[o,i]):[t,n]}function Gi(t,n){var e=Xi(t,n),r=Qi(t,n);return s()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?Ki(e,r):void 0}function Zi(t,n){var e=Gi(t,n);if(e)return e;var r,o,i,a,u=zi(t),c=u.reduce((function(t,n){return n._y0<t?n._y0:t}),1/0);return(r=function(){return Vi(t,n,u)},o=function(e){return Yi(function(e){if("x"===n)return e;var r=c!==1/0?c:0,o=Qi(t,n),i=Xi(t,n),a=void 0!==o?o:L(e,r);return Ki(void 0!==i?i:U(e,r),a)}(e),t,n)},i=f()(r)?r:Vi,a=f()(o)?o:Yi,function(t,n){var e=Gi(t,n);if(e)return a(e,t,n);var r=Fi(t,n),o=r?function(t,n,e){var r=e||Fi(t,n),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u;if(r){var s,l=Xi(t,n),f=Qi(t,n),p=(s=r,Array.isArray(s)&&s.some((function(t){return"string"==typeof t}))?qi(t,n):[]),h=0===p.length?null:p.reduce((function(t,n,e){return t[n]=e+1,t}),{}),d=h?r.map((function(t){return h[t]})):r,y=Ki(void 0!==l?l:U(d),void 0!==f?f:L(d));return o&&"x"===n&&360===Math.abs(a-c)?Ji(y,d):y}}(t,n,r):i(t,n);return o?a(o,t,n):void 0})(t,n)}function Qi(t,n){return s()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||pi()(t.maxDomain)?t.maxDomain:void 0}function Xi(t,n){return s()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||pi()(t.minDomain)?t.minDomain:void 0}function Ji(t,n){var e=di()(n.sort((function(t,n){return t-n}))),r=e[1]-e[0];return[t[0],t[1]+r]}function ta(t){var n=t.labelComponent,e=t.labelPlacement,r=t.polar?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||r}function na(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function ea(t,n){var e,r=j(n).x;return("number"==typeof(e=t.scale.x(r))?e/(Math.PI/180):e)%360}function ra(t,n){var e=t.scale,r=t.data,o=t.style,i=t.horizontal,a=t.polar,u=t.width,c=t.height,s=t.theme,l=t.labelComponent,f=t.disableInlineStyles,p=r[n],h=ea(t,p),d=a?function(t,n){var e=ta(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,h):function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style,r=t.horizontal,o=n._y>=0?1:-1,i=e&&e.labels||{};return n.verticalAnchor||i.verticalAnchor?n.verticalAnchor||i.verticalAnchor:r?o>=0?"start":"end":"middle"}(t,p),y=a?function(t,n){var e=ta(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){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},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,p),g=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,p),v=na(t,p,n),b=ta(t),m=function(t,n){var e=t.polar,r=M(t,n),o=r.x,i=r.y;if(!e)return{x:o,y:i};var a=function(t,n){var e=t.style,r=ea(t,n),o=k((e.labels||{}).padding,t)||0,i=P(r);return{x:o*Math.cos(i),y:-o*Math.sin(i)}}(t,n);return{x:o+a.x,y:i+a.y}}(t,p),x=m.x,j=m.y,A=function(t,n){if(t.polar)return{};var e=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.horizontal,r=k((t.style.labels||{}).padding,t)||0,o=n._y<0?-1:1;return{x:e?o*r:0,y:e?0:-1*o*r}}(t,n);return{dx:e.x,dy:e.y}}(t,p),S={angle:g,data:r,datum:p,disableInlineStyles:f,horizontal:i,index:n,polar:a,scale:e,labelPlacement:b,text:v,textAnchor:d,verticalAnchor:y,x,y:j,dx:A.dx,dy:A.dy,width:u,height:c,style:o.labels};if(!E(l))return S;var _=s&&s.tooltip||{};return O()({},S,w(_,["style"]))}var oa=function(t,n){var e=function(e){var r="log"===li(t.scale[e])?1/Number.MAX_SAFE_INTEGER:0,o=U(t.domain[e]),i=L(t.domain[e]);return o<0&&i<=0?r=i:o>=0&&i>0&&(r=o),n["_".concat(e)]instanceof Date?new Date(r):r},r=void 0!==n._y0?n._y0:e("y"),o=void 0!==n._x0?n._x0:e("x");return M(t,Object.assign({},n,{_y0:r,_x0:o}))},ia=["desc","id","tabIndex","origin"];function aa(){return aa=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},aa.apply(this,arguments)}function ua(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ca(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var sa=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,ia)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ua(Object(e),!0).forEach((function(n){ca(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ua(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(e=k(o,t))||void 0===e?void 0:e.toString(),tabIndex:k(a,t)},u);return r?i().createElement("path",aa({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("path",aa({},c,{ref:n}))})),la=function(t,n){var e=n.scale,r=n.data,o=n.style;if(t)return k(t,n);if(o.width)return o.width;var i=e.x.range(),a=Math.abs(i[1]-i[0]),u=r.length+2,c=(n.barRatio||.5)*(r.length<2?8:a/u);return Math.max(1,c)},fa=function(t,n){var e={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0};return t?function(t){return s()(t)}(t)?function(t,n){var e={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0},r=function(r,o){u()(t[r])?u()(t[o])||(e[r]=k(t[o],n)):e[r]=k(t[r],n)};return r("topLeft","top"),r("topRight","top"),r("bottomLeft","bottom"),r("bottomRight","bottom"),e}(t,n):(e.topLeft=k(t,n),e.topRight=k(t,n),e):e},pa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(n.disableInlineStyles)return{};var e=t.fill||"black",r={fill:"black",stroke:e};return S(Object.assign(r,t),n)};const ha=Math.PI,da=2*ha,ya=1e-6,ga=da-ya;function va(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function ba(){return new va}va.prototype=ba.prototype={constructor:va,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,o,i){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,n,e,r,o){t=+t,n=+n,e=+e,r=+r,o=+o;var i=this._x1,a=this._y1,u=e-t,c=r-n,s=i-t,l=a-n,f=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>ya)if(Math.abs(l*u-c*s)>ya&&o){var p=e-i,h=r-a,d=u*u+c*c,y=p*p+h*h,g=Math.sqrt(d),v=Math.sqrt(f),b=o*Math.tan((ha-Math.acos((d+f-y)/(2*g*v)))/2),m=b/v,x=b/g;Math.abs(m-1)>ya&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+o+","+o+",0,0,"+ +(l*p>s*h)+","+(this._x1=t+x*u)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,o,i){t=+t,n=+n,i=!!i;var a=(e=+e)*Math.cos(r),u=e*Math.sin(r),c=t+a,s=n+u,l=1^i,f=i?r-o:o-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>ya||Math.abs(this._y1-s)>ya)&&(this._+="L"+c+","+s),e&&(f<0&&(f=f%da+da),f>ga?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+l+","+(this._x1=c)+","+(this._y1=s):f>ya&&(this._+="A"+e+","+e+",0,"+ +(f>=ha)+","+l+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};const ma=ba;function xa(t){return function(){return t}}const Oa=Math.abs,wa=Math.atan2,ja=Math.cos,Ma=Math.max,Aa=Math.min,Ea=Math.sin,ka=Math.sqrt,Sa=1e-12,Pa=Math.PI,_a=Pa/2,Ca=2*Pa;function Ta(t){return t>1?0:t<-1?Pa:Math.acos(t)}function Da(t){return t>=1?_a:t<=-1?-_a:Math.asin(t)}function Ia(t){return t.innerRadius}function Ra(t){return t.outerRadius}function Na(t){return t.startAngle}function La(t){return t.endAngle}function Ua(t){return t&&t.padAngle}function Wa(t,n,e,r,o,i,a,u){var c=e-t,s=r-n,l=a-o,f=u-i,p=f*c-l*s;if(!(p*p<Sa))return[t+(p=(l*(n-i)-f*(t-o))/p)*c,n+p*s]}function Fa(t,n,e,r,o,i,a){var u=t-e,c=n-r,s=(a?i:-i)/ka(u*u+c*c),l=s*c,f=-s*u,p=t+l,h=n+f,d=e+l,y=r+f,g=(p+d)/2,v=(h+y)/2,b=d-p,m=y-h,x=b*b+m*m,O=o-i,w=p*y-d*h,j=(m<0?-1:1)*ka(Ma(0,O*O*x-w*w)),M=(w*m-b*j)/x,A=(-w*b-m*j)/x,E=(w*m+b*j)/x,k=(-w*b+m*j)/x,S=M-g,P=A-v,_=E-g,C=k-v;return S*S+P*P>_*_+C*C&&(M=E,A=k),{cx:M,cy:A,x01:-l,y01:-f,x11:M*(o/O-1),y11:A*(o/O-1)}}var za=function(t,n){return{x:t,y:n,distance:function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))},add:function(t){return za(this.x+t.x,this.y+t.y)},subtract:function(t){return za(this.x-t.x,this.y-t.y)},scalarMult:function(t){return za(this.x*t,this.y*t)},scalarDivide:function(t){if(0===t)throw new Error("Division by 0 error");return za(this.x/t,this.y/t)},equals:function(t){return this.x===t.x&&this.y===t.y}}},qa=function(t,n){return{center:t,radius:n,hasIntersection:function(t){var n=this.center,e=t.center,r=this.radius,o=t.radius,i=n.distance(e);return!(i>r+o||i<Math.abs(r-o))},equals:function(t){var n=this.center,e=t.center;return this.radius===t.radius&&n.equals(e)},intersection:function(t){var n=this.center,e=t.center,r=this.radius,o=t.radius,i=n.distance(e);if(!this.hasIntersection(t)||this.equals(t))return[];var a=(Math.pow(r,2)-Math.pow(o,2)+Math.pow(i,2))/(2*i),u=Math.sqrt(Math.pow(r,2)-Math.pow(a,2)),c=n.add(e.subtract(n).scalarMult(a).scalarDivide(i)),s=n.x,l=n.y,f=e.x,p=e.y,h=c.x,d=c.y,y=[za(h-u*(p-l)/i,d+u*(f-s)/i),za(h+u*(p-l)/i,d-u*(f-s)/i)];return y.sort((function(t,n){return t.x-n.x})),y},solveX:function(t){var n=Math.sqrt(Math.pow(this.radius,2)-Math.pow(t-this.center.y,2));return[this.center.x-n,this.center.x+n]},solveY:function(t){var n=Math.sqrt(Math.pow(this.radius,2)-Math.pow(t-this.center.x,2));return[this.center.y-n,this.center.y+n]}}};function Ha(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ba(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Ha(Object(e),!0).forEach((function(n){$a(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ha(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function $a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Ya(t){return function(t){if(Array.isArray(t))return Va(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Va(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Va(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Va(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Ka=function(t,n){var e=t.x,r=t.x0,o=t.y,i=t.y0,a=t.horizontal,u=t.alignment||"middle",c="middle"===u?n/2:n,s=a?-1:1;return a?{x0:r,x1:e,y0:"start"===u?o:o-s*c,y1:"end"===u?o:o+s*c}:{x0:"start"===u?e:e-s*c,x1:"end"===u?e:e+s*c,y0:i,y1:o}},Ga=function(t,n){var e=t.data,r=t.scale,o=void 0===e[n]._x1?"_x":"_x1";return r.x(e[n][o])},Za=function(t){return-1*t+Math.PI/2},Qa=function(t,n){var e=t.getPath;if("function"==typeof e)return e(Ba(Ba({},t),Ka(t,n)))},Xa=function(t,n,e){var r="".concat(n.topLeft," ").concat(n.topLeft," ").concat(e),o="".concat(n.topRight," ").concat(n.topRight," ").concat(e),i="".concat(n.bottomLeft," ").concat(n.bottomLeft," ").concat(e),a="".concat(n.bottomRight," ").concat(n.bottomRight," ").concat(e),u=["M","A ".concat(i,","),"L","A ".concat(r,","),"L","A ".concat(o,","),"L","A ".concat(a,",")].reduce((function(n,e,r){return"".concat(n).concat(e," ").concat(t[r].x,", ").concat(t[r].y," \n")}),"");return"".concat(u," z")},Ja=function(t,n,e){var r=Ka(t,n),o=r.y0>r.y1?1:-1,i=o>0?"0 0 1":"0 0 0",a=function(t,n,e){var r=t.x0,o=t.x1,i=t.y0,a=t.y1,u=function(t){var u="Left"===t,c=u?1:-1,s=u?r:o,l={x:s+c*e["bottom".concat(t)],y:i},f={x:s,y:i-n*e["bottom".concat(t)]},p={x:s,y:a+n*e["top".concat(t)]},h={x:s+c*e["top".concat(t)],y:a};if(1===n?i-e["bottom".concat(t)]<a+e["top".concat(t)]:i+e["bottom".concat(t)]>a-e["top".concat(t)]){var d=za(s+c*e["top".concat(t)],a+n*e["top".concat(t)]),y=qa(d,e["top".concat(t)]),g=za(s+c*e["bottom".concat(t)],i-n*e["bottom".concat(t)]),v=qa(g,e["bottom".concat(t)]),b=y.intersection(v);if(b.length>0){var m=b[u?0:1];f={x:m.x,y:m.y},p={x:m.x,y:m.y}}else if(e["top".concat(t)]>e["bottom".concat(t)]){var x=y.solveX(i)[u?0:1];l={x,y:i},f={x,y:i},p={x,y:i}}else{var O=v.solveX(a)[u?0:1];f={x:O,y:a},p={x:O,y:a},h={x:O,y:a}}}var w=[l,f,p,h];return u?w:w.reverse()};return u("Left").concat(u("Right"))}(r,o,e);return Xa(a,e,i)},tu=function(t,n,e){var r=Ka(t,n),o=r.x0<r.x1?1:-1,i={topRight:o>0?e.topLeft:e.bottomLeft,bottomRight:o>0?e.topRight:e.bottomRight,bottomLeft:o>0?e.bottomRight:e.topRight,topLeft:o>0?e.bottomLeft:e.topLeft},a=function(t,n,e){var r=t.y0,o=t.y1,i=t.x0<t.x1?t.x0:t.x1,a=t.x0<t.x1?t.x1:t.x0,u=function(t){var u="top"===t,c=u?-1:1,s=u?o:r,l={x:i,y:s-c*e["".concat(t,"Left")]},f={x:i+e["".concat(t,"Left")],y:s},p={x:a-e["".concat(t,"Right")],y:s},h={x:a,y:s-c*e["".concat(t,"Right")]};if(f.x>p.x){var d=za(i+e["".concat(t,"Left")],s-c*e["".concat(t,"Left")]),y=qa(d,e["".concat(t,"Left")]),g=za(a-e["".concat(t,"Right")],s-c*e["".concat(t,"Right")]),v=qa(g,e["".concat(t,"Right")]),b=y.intersection(v);if(b.length>0){var m=b[n>0?1:0];f={x:m.x,y:m.y},p={x:m.x,y:m.y}}else if(e["".concat(t,"Right")]>e["".concat(t,"Left")]){var x=v.solveY(i)[u?0:1];l={x:i,y:x},f={x:i,y:x},p={x:i,y:x}}else{var O=y.solveY(a)[u?0:1];h={x:a,y:O},p={x:a,y:O},f={x:a,y:O}}}return[l,f,p,h]},c=u("top"),s=u("bottom");return[s[1],s[0]].concat(Ya(c),[s[3],s[2]])}(r,o,i);return Xa(a,i,"0 0 1")},nu=function(t,n){var e,r,o=t.datum,i=t.scale,a=t.index,u=t.alignment,c=t.style,s=i.y(o._y0||0),l=i.y(void 0!==o._y1?o._y1:o._y),f=i.x(void 0!==o._x1?o._x1:o._x);if(c.width){var p=function(t,n){var e=t.scale,r=e.y.range(),o=Math.max.apply(Math,Ya(r)),i=Math.abs(e.x.range()[1]-e.x.range()[0]);return n/(2*Math.PI*o)*i}(t,c.width),h="middle"===u?p/2:p;e="start"===u?f:f-h,r="end"===u?f:f+h}else e=function(t,n){var e=t.data,r=t.scale,o=t.alignment,i=Ga(t,n),a=Math.abs(r.x.range()[1]-r.x.range()[0]),u=0===n?Ga(t,e.length-1)-2*Math.PI:Ga(t,n-1);return 0===n&&a<2*Math.PI?r.x.range()[0]:"start"===o||"end"===o?"start"===o?u:i:(i+u)/2}(t,Number(a)),r=function(t,n){var e=t.data,r=t.scale,o=t.alignment,i=Ga(t,n),a=Math.abs(r.x.range()[1]-r.x.range()[0]),u=r.x.range()[1]===2*Math.PI?Ga(t,0)+2*Math.PI:r.x.range()[1],c=n===e.length-1?Ga(t,0)+2*Math.PI:Ga(t,n+1);return n===e.length-1&&a<2*Math.PI?u:"start"===o||"end"===o?"start"===o?i:c:(i+c)/2}(t,Number(a));var d=function(t){var o=function(){var t=Ia,n=Ra,e=xa(0),r=null,o=Na,i=La,a=Ua,u=null;function c(){var c,s,l=+t.apply(this,arguments),f=+n.apply(this,arguments),p=o.apply(this,arguments)-_a,h=i.apply(this,arguments)-_a,d=Oa(h-p),y=h>p;if(u||(u=c=ma()),f<l&&(s=f,f=l,l=s),f>Sa)if(d>Ca-Sa)u.moveTo(f*ja(p),f*Ea(p)),u.arc(0,0,f,p,h,!y),l>Sa&&(u.moveTo(l*ja(h),l*Ea(h)),u.arc(0,0,l,h,p,y));else{var g,v,b=p,m=h,x=p,O=h,w=d,j=d,M=a.apply(this,arguments)/2,A=M>Sa&&(r?+r.apply(this,arguments):ka(l*l+f*f)),E=Aa(Oa(f-l)/2,+e.apply(this,arguments)),k=E,S=E;if(A>Sa){var P=Da(A/l*Ea(M)),_=Da(A/f*Ea(M));(w-=2*P)>Sa?(x+=P*=y?1:-1,O-=P):(w=0,x=O=(p+h)/2),(j-=2*_)>Sa?(b+=_*=y?1:-1,m-=_):(j=0,b=m=(p+h)/2)}var C=f*ja(b),T=f*Ea(b),D=l*ja(O),I=l*Ea(O);if(E>Sa){var R,N=f*ja(m),L=f*Ea(m),U=l*ja(x),W=l*Ea(x);if(d<Pa&&(R=Wa(C,T,U,W,N,L,D,I))){var F=C-R[0],z=T-R[1],q=N-R[0],H=L-R[1],B=1/Ea(Ta((F*q+z*H)/(ka(F*F+z*z)*ka(q*q+H*H)))/2),$=ka(R[0]*R[0]+R[1]*R[1]);k=Aa(E,(l-$)/(B-1)),S=Aa(E,(f-$)/(B+1))}}j>Sa?S>Sa?(g=Fa(U,W,C,T,f,S,y),v=Fa(N,L,D,I,f,S,y),u.moveTo(g.cx+g.x01,g.cy+g.y01),S<E?u.arc(g.cx,g.cy,S,wa(g.y01,g.x01),wa(v.y01,v.x01),!y):(u.arc(g.cx,g.cy,S,wa(g.y01,g.x01),wa(g.y11,g.x11),!y),u.arc(0,0,f,wa(g.cy+g.y11,g.cx+g.x11),wa(v.cy+v.y11,v.cx+v.x11),!y),u.arc(v.cx,v.cy,S,wa(v.y11,v.x11),wa(v.y01,v.x01),!y))):(u.moveTo(C,T),u.arc(0,0,f,b,m,!y)):u.moveTo(C,T),l>Sa&&w>Sa?k>Sa?(g=Fa(D,I,N,L,l,-k,y),v=Fa(C,T,U,W,l,-k,y),u.lineTo(g.cx+g.x01,g.cy+g.y01),k<E?u.arc(g.cx,g.cy,k,wa(g.y01,g.x01),wa(v.y01,v.x01),!y):(u.arc(g.cx,g.cy,k,wa(g.y01,g.x01),wa(g.y11,g.x11),!y),u.arc(0,0,l,wa(g.cy+g.y11,g.cx+g.x11),wa(v.cy+v.y11,v.cx+v.x11),y),u.arc(v.cx,v.cy,k,wa(v.y11,v.x11),wa(v.y01,v.x01),!y))):u.arc(0,0,l,O,x,y):u.lineTo(D,I)}else u.moveTo(0,0);if(u.closePath(),c)return u=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-Pa/2;return[ja(r)*e,Ea(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:xa(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:xa(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:xa(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:xa(+t),c):r},c.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:xa(+t),c):o},c.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:xa(+t),c):i},c.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:xa(+t),c):a},c.context=function(t){return arguments.length?(u=null==t?null:t,c):u},c}().innerRadius(s).outerRadius(l).startAngle(Za(e)).endAngle(Za(r)).cornerRadius(n[t]);return o()},y=function(t){var n=d("".concat(t,"Right")),e=n.match(/[A-Z]/g)||[],r=n.split(/[A-Z]/).slice(1),o=e.indexOf("L"),i=d("".concat(t,"Left")),a=i.match(/[A-Z]/g)||[],u=i.split(/[A-Z]/).slice(1),c=a.indexOf("L");return{rightMoves:e,rightCoords:r,rightMiddle:o,leftMoves:a,leftCoords:u,leftMiddle:c}},g=function(){var t,o,i=n.topRight,a=n.topLeft,u=l*Math.abs(r-e),c=y("top"),s=c.rightMoves,f=c.rightCoords,p=c.rightMiddle,h=c.leftMoves,d=c.leftCoords,g=c.leftMiddle;if(i===a||u<2*i+2*a)t=i>a?s:h,o=i>a?f:d;else{var v,b=function(t){return t<3},m=a>i&&b(p)?1:2;if(i>a){var x=b(p)?g:g-2;v=b(g)?g-1:x}else{var O=b(g)?1:2;v=b(p)?O:g-2}t=[].concat(Ya(s.slice(0,m)),Ya(h.slice(v))),o=[].concat(Ya(f.slice(0,m)),Ya(d.slice(v)))}var w=t.indexOf("L"),j=t.slice(0,w),M=o.slice(0,w);return j.map((function(t,n){return{command:t,coords:M[n].split(",")}}))}(),v=function(){var t,o,i=n.bottomRight,a=n.bottomLeft,u=s*Math.abs(r-e),c=y("bottom"),l=c.rightMoves,f=c.rightCoords,p=c.rightMiddle,h=c.leftMoves,d=c.leftCoords,g=c.leftMiddle;if(i===a||u<2*i+2*a)t=i>a?l:h,o=i>a?f:d;else{var v=function(t,n){return t.length-n<4},b=(i>a?v(l,p):v(h,g))?-1:-3;t=[].concat(Ya(h.slice(0,g+2)),Ya(l.slice(b))),o=[].concat(Ya(d.slice(0,g+2)),Ya(f.slice(b)))}var m=t.indexOf("L"),x=t.slice(m,-1),O=o.slice(m,-1);return x.map((function(t,n){return{command:t,coords:O[n].split(",")}}))}(),b=[].concat(Ya(g),Ya(v)).reduce((function(t,n){return"".concat(t).concat(n.command," ").concat(n.coords.join())}),"");return"".concat(b," z")},eu=function(t,n,e){return t.getPath?Qa(t,n):t.horizontal?tu(t,n,e):Ja(t,n,e)},ru=function(t,n){return nu(t,n)};function ou(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function iu(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ou(Object(e),!0).forEach((function(n){au(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ou(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function au(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var uu={pathComponent:i().createElement(sa,null),role:"presentation",shapeRendering:"auto"},cu=(0,e.forwardRef)((function(t,n){var e=function(t){var n=pa(t.style,t),e=la(t.barWidth,Object.assign({},t,{style:n})),r=fa(t.cornerRadius,Object.assign({},t,{style:n,barWidth:e})),o=k(t.ariaLabel,t),i=k(t.desc,t),a=k(t.id,t),u=k(t.tabIndex,t);return Object.assign({},t,{ariaLabel:o,style:n,barWidth:e,cornerRadius:r,desc:i,id:a,tabIndex:u})}(iu(iu({},uu),t)),r=e.polar,o=e.origin,a=e.style,u=e.barWidth,c=e.cornerRadius,s=r?ru(e,c):eu(e,u,c),l=r&&o?"translate(".concat(o.x,", ").concat(o.y,")"):void 0;return e.pathComponent?i().cloneElement(e.pathComponent,iu(iu({},e.events),{},{"aria-label":e.ariaLabel,style:a,d:s,className:e.className,clipPath:e.clipPath,desc:e.desc,index:e.index,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform||l,tabIndex:e.tabIndex,ref:n})):null}));function su(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return lu(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?lu(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lu(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function fu(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function pu(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var hu={startsWith:["data-","aria-"],exactMatch:[]},du=function(t){var n=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?fu(Object(e),!0).forEach((function(n){pu(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fu(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},t);return Object.fromEntries(Object.entries(n).filter((function(t){return function(t){return!(!function(t){var n=!1;return hu.startsWith.forEach((function(e){new RegExp("\\b(".concat(e,")(\\w|-)+"),"g").test(t)&&(n=!0)})),n}(t)&&!function(t){return hu.exactMatch.includes(t)}(t))}(su(t,1)[0])})).map((function(n){var e=su(n,2);return[e[0],k(e[1],t)]})))},yu=r(7709),gu=r.n(yu),vu=r(660),bu=r.n(vu),mu=r(3698),xu=r.n(mu),Ou=r(5395),wu=r.n(Ou),ju=r(9992),Mu=r.n(ju),Au=function(t){var n=function(n){return function(e,r,o){var i=e[r];if(null==i)return n?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>3?a-3:0),c=3;c<a;c++)u[c-3]=arguments[c];return t.apply(void 0,[e,r,o].concat(u))}};return Object.assign(n(!1),{isRequired:n(!0)})},Eu=function(){return null},ku=function(){},Su=function(t){return void 0===t?ku:null===t?Eu:t.constructor},Pu=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)},_u=Au((function(t,n,e){var r=t[n];return"number"!=typeof r||r<0?new Error("`".concat(n,"` in `").concat(e,"` must be a non-negative number.")):null})),Cu=Au((function(t,n,e){var r=t[n];return"number"!=typeof r||r%1!=0?new Error("`".concat(n,"` in `").concat(e,"` must be an integer.")):null})),Tu=(Au((function(t,n,e){var r=t[n];return"number"!=typeof r||r<=0?new Error("`".concat(n,"` in `").concat(e,"` must be a number greater than zero.")):null})),Au((function(t,n,e){var r=t[n];return Array.isArray(r)&&2===r.length&&r[1]!==r[0]?null:new Error("`".concat(n,"` in `").concat(e,"` must be an array of two unique numeric values."))})),Au((function(t,n,e){return ri(t[n])?null:new Error("`".concat(n,"` in `").concat(e,"` must be a d3 scale."))})));function Du(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Iu(t,n){return Iu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Iu(t,n)}function Ru(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Nu(t)}Au((function(t,n,e){var r=t[n];if(!Array.isArray(r))return new Error("`".concat(n,"` in `").concat(e,"` must be an array."));if(r.length<2)return null;var o=Su(r[0]),i=Mu()(r,(function(t){return o!==Su(t)}));if(i){var a=Pu(r[0]),u=Pu(i);return new Error("Expected `".concat(n,"` in `").concat(e,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}return null})),Au((function(t,n){return t[n]&&Array.isArray(t[n])&&t[n].length!==t.data.length?new Error("Length of data and ".concat(n," arrays must match.")):null})),Au((function(t,n,e){return t[n]&&!wu()(t[n])?new Error("`".concat(n,"` in `").concat(e,"` must be a regular expression.")):null}));var Lu=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Iu(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Nu(r);if(o){var e=Nu(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Ru(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).map=void 0,n.index=void 0,n.portalRegister=function(){return++n.index},n.portalUpdate=function(t,e){n.map[t]=e,n.forceUpdate()},n.portalDeregister=function(t){delete n.map[t],n.forceUpdate()},n.map={},n.index=1,n}return n=u,(e=[{key:"getChildren",value:function(){var t=this;return y()(this.map).map((function(n){var e=t.map[n];return e?i().cloneElement(e,{key:n}):e}))}},{key:"render",value:function(){return i().createElement("svg",this.props,this.getChildren())}}])&&Du(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Lu.displayName="Portal",Lu.propTypes={className:xu().string,height:_u,style:xu().object,viewBox:xu().string,width:_u};var Uu=i().createContext({});Uu.displayName="PortalContext";var Wu,Fu,zu=0,qu=0,Hu=0,Bu=0,$u=0,Yu=0,Vu="object"==typeof performance&&performance.now?performance:Date,Ku="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gu(){return $u||(Ku(Zu),$u=Vu.now()+Yu)}function Zu(){$u=0}function Qu(){this._call=this._time=this._next=null}function Xu(t,n,e){var r=new Qu;return r.restart(t,n,e),r}function Ju(){$u=(Bu=Vu.now())+Yu,zu=qu=0;try{!function(){Gu(),++zu;for(var t,n=Wu;n;)(t=$u-n._time)>=0&&n._call.call(void 0,t),n=n._next;--zu}()}finally{zu=0,function(){for(var t,n,e=Wu,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:Wu=n);Fu=t,nc(r)}(),$u=0}}function tc(){var t=Vu.now(),n=t-Bu;n>1e3&&(Yu-=n,Bu=t)}function nc(t){zu||(qu&&(qu=clearTimeout(qu)),t-$u>24?(t<1/0&&(qu=setTimeout(Ju,t-Vu.now()-Yu)),Hu&&(Hu=clearInterval(Hu))):(Hu||(Bu=Vu.now(),Hu=setInterval(tc,1e3)),zu=1,Ku(Ju)))}function ec(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Qu.prototype=Xu.prototype={constructor:Qu,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gu():+e)+(null==n?0:+n),this._next||Fu===this||(Fu?Fu._next=this:Wu=this,Fu=this),this._call=t,this._time=e,nc()},stop:function(){this._call&&(this._call=null,this._time=1/0,nc())}};var rc=function(){function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=void 0,this.subscribers=void 0,this.activeSubscriptions=void 0,this.timer=void 0,this.loop=function(){n.subscribers.forEach((function(t){t.callback(Gu()-t.startTime,t.duration)}))},this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}var n,e;return n=t,(e=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"start",value:function(){this.timer||(this.timer=Xu(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,n){var e=this.subscribers.push({startTime:Gu(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ec(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),t}(),oc=i().createContext({transitionTimer:new rc,animationTimer:new rc});oc.displayName="TimerContext";const ic=oc;function ac(){return ac=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},ac.apply(this,arguments)}function uc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function cc(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?uc(Object(e),!0).forEach((function(n){sc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):uc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function sc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function lc(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fc(t,n){return fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},fc(t,n)}function pc(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function hc(t){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hc(t)}var dc=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&fc(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=hc(r);if(o){var e=hc(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return pc(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).containerId=void 0,n.portalRef=void 0,n.containerRef=void 0,n.shouldHandleWheel=void 0,n.savePortalRef=function(t){return n.portalRef=t,t},n.portalUpdate=function(t,e){return n.portalRef.portalUpdate(t,e)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(t){return n.portalRef.portalDeregister(t)},n.saveContainerRef=function(t){return f()(n.props.containerRef)&&n.props.containerRef(t),n.containerRef=t,t},n.handleWheel=function(t){return t.preventDefault()},n.containerId=gu()(t)&&void 0!==t.containerId?t.containerId:bu()("victory-container-"),n.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel),n}return n=u,(e=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var n=t.ouiaId,e=t.ouiaSafe,r=t.ouiaType;return cc(cc(cc({},n&&{"data-ouia-component-id":n}),r&&{"data-ouia-component-type":r}),void 0!==e&&{"data-ouia-safe":e})}},{key:"renderContainer",value:function(t,n,e){var r=t.title,o=t.desc,a=t.portalComponent,u=t.className,c=t.width,s=t.height,l=t.portalZIndex,f=t.responsive,p=this.getChildren(t),h=f?{width:"100%",height:"100%"}:{width:c,height:s},d=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},h),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},h),g=Object.assign({pointerEvents:"all"},h),v=Object.assign({overflow:"visible"},h),b={width:c,height:s,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:v};return i().createElement(Uu.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",ac({style:O()({},e,d),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",ac({},n,{style:g}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,p),i().createElement("div",{style:y},i().cloneElement(a,cc(cc({},b),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,n=t.width,e=t.height,r=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,s=t.role,l=r?this.props.style:w(this.props.style,["height","width"]),f=du(this.props),p=Object.assign(cc({width:n,height:e,tabIndex:u,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(n," ").concat(e):void 0,preserveAspectRatio:r?c:void 0},f),o);return this.renderContainer(this.props,p,l)}}])&&lc(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);function yc(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function gc(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vc(t,n){return vc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},vc(t,n)}function bc(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function mc(t){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mc(t)}dc.displayName="VictoryContainer",dc.role="container",dc.propTypes={"aria-describedby":xu().string,"aria-labelledby":xu().string,children:xu().oneOfType([xu().arrayOf(xu().node),xu().node]),className:xu().string,containerId:xu().oneOfType([xu().number,xu().string]),containerRef:xu().func,desc:xu().string,events:xu().object,height:_u,name:xu().string,origin:xu().shape({x:_u,y:_u}),ouiaId:xu().oneOfType([xu().number,xu().string]),ouiaSafe:xu().bool,ouiaType:xu().string,polar:xu().bool,portalComponent:xu().element,portalZIndex:Cu,preserveAspectRatio:xu().string,responsive:xu().bool,role:xu().string,style:xu().object,tabIndex:xu().number,theme:xu().object,title:xu().string,width:_u},dc.defaultProps={className:"VictoryContainer",portalComponent:i().createElement(Lu,null),portalZIndex:99,responsive:!0,role:"img"},dc.contextType=ic;var xc=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&vc(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=mc(r);if(o){var e=mc(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return bc(this,t)});function u(){var t;yc(this,u);for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return(t=a.call.apply(a,[this].concat(e))).checkedContext=void 0,t.portalKey=void 0,t.renderInPlace=void 0,t.element=void 0,t}return n=u,(e=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,n=this.props.groupComponent,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=O()(r,e,w(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}])&&gc(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);xc.displayName="VictoryPortal",xc.role="portal",xc.propTypes={children:xu().node,groupComponent:xu().element},xc.defaultProps={groupComponent:i().createElement("g",null)},xc.contextType=Uu;var Oc=["desc","id","tabIndex","origin"];function wc(){return wc=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},wc.apply(this,arguments)}function jc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Mc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ac=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Oc)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?jc(Object(e),!0).forEach((function(n){Mc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):jc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=k(o,t))||void 0===e?void 0:e.toString(),tabIndex:k(a,t)},u);return r?i().createElement("rect",wc({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("rect",wc({},c,{ref:n}))})),Ec=["children","desc","id","origin","tabIndex","title"];function kc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Sc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Pc=function(t){var n,e=t.children,r=t.desc,o=t.id,a=(t.origin,t.tabIndex),u=t.title,c=function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Ec),s=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?kc(Object(e),!0).forEach((function(n){Sc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=k(o,t))||void 0===n?void 0:n.toString(),tabIndex:k(a,t)},c);return i().createElement("text",s,u&&i().createElement("title",null,u),r&&i().createElement("desc",null,r),e)},_c=["desc","id","tabIndex","origin"];function Cc(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Tc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Dc=function(t){t.desc;var n,e=t.id,r=t.tabIndex,o=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,_c)),a=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Cc(Object(e),!0).forEach((function(n){Tc(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Cc(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=k(e,t))||void 0===n?void 0:n.toString(),tabIndex:k(r,t)},o);return i().createElement("tspan",a)},Ic=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((function(t,n){return[t,Ic(n)].join(" ")}),Ic(t)).trim();if(null==t||"string"==typeof t)return t;var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()},Rc=r(1594),Nc=r.n(Rc);function Lc(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||Uc(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uc(t,n){if(t){if("string"==typeof t)return Wc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Wc(t,n):void 0}}function Wc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Fc={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},zc={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},qc={em:1,ex:.5},Hc={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Bc=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},$c=function(t,n,e){var r=function(t){return t*Math.PI/180}(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},Yc=function(t,n){var e,r=null===(e=t.match(/[a-zA-Z%]+/))||void 0===e?void 0:e[0],o=Number(t.match(/[0-9.,]+/));return r?zc.hasOwnProperty(r)?o*zc[r]:qc.hasOwnProperty(r)?(n?o*n:o*Hc.fontSize)*qc[r]:o:o||0},Vc=function(t,n){var e=Array.isArray(t)?t[n]:t,r=O()({},e,Hc);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:Yc(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:Yc(String(r.fontSize))})},Kc=function(t,n){if(void 0===t||""===t||null===t)return 0;var e,r=Bc(t).map((function(t,e){var r,o,i=t.toString().length,a=Vc(n,e),u=a.fontSize,c=a.letterSpacing,s=(r=a.fontFamily,o=r.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return Fc[t]}))||"Helvetica",Fc[o]);return t.toString().split("").map((function(t){return t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg})).reduce((function(t,n){return n+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return Wc(t)}(e=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||Uc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},Gc=function(t,n){var e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=function(t,n){return void 0===t||""===t||null===t?0:Bc(t).reduce((function(t,e,r){var o=Vc(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,n),o=Kc(t,n);return{width:e?$c(o,r,e):o,height:1.05*(e?$c(r,o,e):r)}},Zc=Nc()((function(){var 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");var 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})),Qc=function(t){return t?"".concat(t.angle,":").concat(t.fontFamily,":").concat(t.fontSize,":").concat(t.letterSpacing,":").concat(t.lineHeight):"null"},Xc=Nc()((function(t,n){var e,r,o=Zc();o.isConnected||(null===(e=(r=Zc.cache).clear)||void 0===e||e.call(r),o=Zc());var i=Bc(t),a=0;for(var u of i.entries()){var c=Lc(u,2),s=c[0],l=c[1],f=document.createElementNS("http://www.w3.org/2000/svg","tspan"),p=Vc(n,s);f.style.fontFamily=p.fontFamily,f.style.fontSize="".concat(p.fontSize,"px"),f.style.lineHeight=p.lineHeight,f.style.fontFamily=p.fontFamily,f.style.letterSpacing=p.letterSpacing,f.textContent=l,f.setAttribute("x","0"),f.setAttribute("y","".concat(a)),o.appendChild(f),a+=p.lineHeight*f.getBoundingClientRect().height}var h=o.getBoundingClientRect().width;return o.innerHTML="",{width:null!=n&&n.angle?$c(h,a,null==n?void 0:n.angle):h,height:null!=n&&n.angle?$c(a,h,null==n?void 0:n.angle):a}}),(function(t,n){var e=Array.isArray(t)?t.join():t,r=Array.isArray(n)?n.map(Qc).join():Qc(n);return"".concat(e,"::").concat(r)})),Jc=function(t,n){return function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?Gc(t,n):Xc(t,n)}(t,n)};function ts(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ns(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ts(Object(e),!0).forEach((function(n){es(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ts(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function es(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function rs(t){return function(t){if(Array.isArray(t))return os(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return os(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?os(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function os(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var is={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},as=function(t,n){return t.datum?M(t,t.datum)[n]:0},us=function(t){var n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return is.fontSize;if("string"==typeof n){var e=Number(n.replace("px",""));return isNaN(e)?is.fontSize:e}return is.fontSize},cs=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[n]||t[0]:t},ss=function(t){var n=t.backgroundStyle,e=t.backgroundPadding;return Array.isArray(n)&&!Mi()(n)||Array.isArray(e)&&!Mi()(e)},ls=function(t,n){var e=t.direction,r=t.textAnchor,o=t.x,i=t.dx;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},fs=function(t,n){var e=t.verticalAnchor,r=t.y,o=t.originalDy,i=r+(void 0===o?0:o);switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},ps=function(t,n){return ss(t)?function(t,n){var e=t.dy,r=t.dx,o=t.transform,a=t.backgroundStyle,u=t.backgroundPadding,c=t.backgroundComponent,s=t.inline,l=t.y,f=n.map((function(t,o){var i=cs(n,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),p=cs(u,o),h=cs(u,o-1),d=s&&r||0,y=o&&!s?i.fontSize*i.lineHeight+h.top+h.bottom:e-.5*c-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+p.top+p.bottom,widthWithPadding:a.width+p.left+p.right+d,y:l,fontSize:t.fontSize,dy:y}}));return f.map((function(n,e){var r=ls(t,n.labelSize.width),p=f.slice(0,e+1).reduce((function(t,n){return t+n.dy}),l),h=cs(u,e),d=n.heightWithPadding,y=s?function(t,n,e){var r=t.textAnchor,o=n.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,n){return t+n}),0)/2;switch(r){case"start":return o.reduce((function(t,n,r){return r<e?t+n:t}),0);case"end":return o.reduce((function(t,n,r){return r>e?t-n:t}),0);default:return o.reduce((function(t,n,r){return r===e?t+n/2:t+(r<e?n:0)}),i)}}(t,f,e)+r-h.left:r,g=s?fs(t,d)-h.top:p,v={key:"tspan-background-".concat(e),height:d,style:cs(a,e),width:n.widthWithPadding,transform:o,x:y-h.left,y:g};return i().cloneElement(c,O()({},c.props,v))}))}(t,n):function(t,n){var e=t.dx,r=void 0===e?0:e,o=t.transform,a=t.backgroundComponent,u=t.backgroundStyle,c=t.inline,s=t.backgroundPadding,l=t.capHeight,f=n.map((function(t){return t.textSize})),p=c?Math.max.apply(Math,rs(f.map((function(t){return t.height})))):f.reduce((function(t,e,r){var o=r?0:l/2;return t+e.height*(n[r].lineHeight-o)}),0),h=c?f.reduce((function(t,n,e){var o=e?r:0;return t+n.width+o}),0):Math.max.apply(Math,rs(f.map((function(t){return t.width})))),d=ls(t,h),y=fs(t,p),g={key:"background",height:p+s.top+s.bottom,style:u,transform:o,width:h+s.left+s.right,x:c?d-s.left:d+r-s.left,y};return i().cloneElement(a,O()({},a.props,g))}(t,n)},hs=function(t,n,e){var r=n.inline,o=cs(t,e);return e&&!r?function(t,n,e){var r=cs(t,n),o=cs(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,s=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return ss(e)?s+r.backgroundPadding.top+o.backgroundPadding.bottom:s}(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},ds=function(t){var n=k(t.ariaLabel,t),e=cs(t.style),r=function(t){var n=k(t.lineHeight,t);return Array.isArray(n)&&Mi()(n)?[1]:n}(t),o=t.direction?k(t.direction,t):"inherit",i=t.textAnchor?k(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?k(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?k(t.dx,t):0,c=function(t,n,e){var r=t.dy?k(t.dy,t):0,o=t.inline?1:t.text.length,i=k(t.capHeight,t),a=n?k(n,t):"middle",u=rs(Array(o).keys()).map((function(n){return cs(t.style,n).fontSize})),c=rs(Array(o).keys()).map((function(t){return cs(e,t)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var s=rs(Array(o).keys()).reduce((function(t,n){return t+(i/2+(.5-o)*c[n])*u[n]/o}),0);return"end"===a?r+s:r+s/2+i/2*c[o-1]*u[o-1]}(t,a,r),s=void 0!==t.x?t.x:as(t,"x"),l=void 0!==t.y?t.y:as(t,"y"),f=function(t,n,e){var r=t.polar,o=cs(t.style),i=r?function(t,n){var e=t.labelPlacement,r=t.datum;if(!e||"vertical"===e)return 0;var o=ea(t,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?k(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,s=c&&k(c,t);return s||u?Ic(s,u&&{rotate:[u,n,e]}):void 0}(t,s,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:k(t.dy,t),transform:f,x:s,y:l})},ys={backgroundComponent:i().createElement(Ac,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Pc,null),tspanComponent:i().createElement(Dc,null),capHeight:.71,lineHeight:1},gs=function(t){var n=function(t){var n=function(t,n){if(null!=t){if(Array.isArray(t))return t.map((function(t){return k(t,n)}));var e=k(t,n);if(null!=e)return Array.isArray(e)?e:"".concat(e).split("\n")}}(t.text,t),e=function(t,n){if(n.disableInlineStyles){var e=S(t,n);return{fontSize:us(e)}}var r=function(t){var e=S(t?O()({},t,is):is,n);return Object.assign({},e,{fontSize:us(e)})};return Array.isArray(t)&&!Mi()(t)?t.map((function(t){return r(t)})):r(t)}(t.style,Object.assign({},t,{text:n})),r=function(t,n){if(t)return Array.isArray(t)&&!Mi()(t)?t.map((function(t){return S(t,n)})):S(t,n)}(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(n){return A({padding:k(n,t)})})):A({padding:k(t.backgroundPadding,t)})}(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),i=k(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})}(ns(ns({},ys),t));if(null===n.text||void 0===n.text)return null;var e=ds(n),r=e.text,o=e.style,a=e.capHeight,u=e.backgroundPadding,c=e.lineHeight,s=r.map((function(t,n){var e=cs(o,n),r=Yc("".concat(a,"em"),e.fontSize),i=cs(c,n);return{style:e,fontSize:e.fontSize||is.fontSize,capHeight:r,text:t,textSize:Jc(t,e),lineHeight:i,backgroundPadding:cs(u,n)}})),l=function(t,n){var e=t.ariaLabel,r=t.inline,o=t.className,a=t.title,u=t.events,c=t.direction,s=t.text,l=t.textAnchor,f=t.dx,p=t.dy,h=t.transform,d=t.x,y=t.y,g=t.desc,v=t.id,b=t.tabIndex,m=t.tspanComponent,x=t.textComponent,O=du(t),w=ns(ns({"aria-label":e,key:"text"},u),{},{direction:c,dx:f,x:d,y:y+p,transform:h,className:o,title:a,desc:k(g,t),tabIndex:k(b,t),id:v},O),j=s.map((function(e,o){var a=n[o].style,u={key:"".concat(v,"-key-").concat(o),x:r?void 0:d,dx:r?f+n[o].backgroundPadding.left:f,dy:hs(n,t,o),textAnchor:a.textAnchor||l,style:a,children:e};return i().cloneElement(m,u)}));return i().cloneElement(x,w,j)}(e,s);if(n.backgroundStyle){var f=[ps(e,s),l],p=i().cloneElement(n.groupComponent,{},f);return n.renderInPortal?i().createElement(xc,null,p):p}return n.renderInPortal?i().createElement(xc,null,l):l};gs.displayName="VictoryLabel",gs.role="label",gs.defaultStyles=is,gs.propTypes={active:xu().bool,angle:xu().oneOfType([xu().string,xu().number,xu().func]),ariaLabel:xu().oneOfType([xu().string,xu().func]),backgroundComponent:xu().element,backgroundPadding:xu().oneOfType([xu().number,xu().object,xu().array]),backgroundStyle:xu().oneOfType([xu().object,xu().array]),capHeight:xu().oneOfType([xu().string,_u,xu().func]),className:xu().string,data:xu().array,datum:xu().any,desc:xu().oneOfType([xu().string,xu().func]),direction:xu().oneOf(["rtl","ltr","inherit"]),dx:xu().oneOfType([xu().number,xu().string,xu().func]),dy:xu().oneOfType([xu().number,xu().string,xu().func]),events:xu().object,groupComponent:xu().element,id:xu().oneOfType([xu().number,xu().string,xu().func]),index:xu().oneOfType([xu().number,xu().string]),inline:xu().bool,labelPlacement:xu().oneOf(["parallel","perpendicular","vertical"]),lineHeight:xu().oneOfType([xu().string,_u,xu().func,xu().array]),origin:xu().shape({x:_u.isRequired,y:_u.isRequired}),polar:xu().bool,renderInPortal:xu().bool,scale:xu().shape({x:Tu,y:Tu}),style:xu().oneOfType([xu().object,xu().array]),tabIndex:xu().oneOfType([xu().number,xu().func]),text:xu().oneOfType([xu().string,xu().number,xu().func,xu().array]),textAnchor:xu().oneOfType([xu().oneOf(["start","middle","end","inherit"]),xu().func]),textComponent:xu().element,title:xu().string,transform:xu().oneOfType([xu().string,xu().object,xu().func]),tspanComponent:xu().element,verticalAnchor:xu().oneOfType([xu().oneOf(["start","middle","end"]),xu().func]),x:xu().oneOfType([xu().number,xu().string]),y:xu().oneOfType([xu().number,xu().string])};var vs=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],bs="#252525",ms="#969696",xs={width:450,height:300,padding:50,colorScale:vs},Os={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:bs,stroke:"transparent"},ws=Object.assign({textAnchor:"middle"},Os),js={area:Object.assign({style:{data:{fill:bs},labels:Os}},xs),axis:Object.assign({style:{axis:{fill:"transparent",stroke:bs,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},ws,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Os}},xs),bar:Object.assign({style:{data:{fill:bs,padding:8,strokeWidth:0},labels:Os}},xs),boxplot:Object.assign({style:{max:{padding:8,stroke:bs,strokeWidth:1},maxLabels:Object.assign({},Os,{padding:3}),median:{padding:8,stroke:bs,strokeWidth:1},medianLabels:Object.assign({},Os,{padding:3}),min:{padding:8,stroke:bs,strokeWidth:1},minLabels:Object.assign({},Os,{padding:3}),q1:{padding:8,fill:ms},q1Labels:Object.assign({},Os,{padding:3}),q3:{padding:8,fill:ms},q3Labels:Object.assign({},Os,{padding:3})},boxWidth:20},xs),candlestick:Object.assign({style:{data:{stroke:bs,strokeWidth:1},labels:Object.assign({},Os,{padding:5})},candleColors:{positive:"#ffffff",negative:bs}},xs),chart:xs,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:bs,strokeWidth:2},labels:Os}},xs),group:Object.assign({colorScale:vs},xs),histogram:Object.assign({style:{data:{fill:ms,stroke:bs,strokeWidth:2},labels:Os}},xs),legend:{colorScale:vs,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Os,title:Object.assign({},Os,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:bs,strokeWidth:2},labels:Os}},xs),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Os,{padding:20})},colorScale:vs,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:bs,stroke:"transparent",strokeWidth:0},labels:Os}},xs),stack:Object.assign({colorScale:vs},xs),tooltip:{style:Object.assign({},Os,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:bs,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({},Os,{padding:5,pointerEvents:"none"}),flyout:{stroke:bs,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},xs)},Ms=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],As="#ECEFF1",Es="#90A4AE",ks="#455A64",Ss="#212121",Ps={width:350,height:350,padding:50},_s={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ks,stroke:"transparent",strokeWidth:0},Cs=Object.assign({textAnchor:"middle"},_s),Ts="round",Ds="round",Is={grayscale:js,material:{area:Object.assign({style:{data:{fill:Ss},labels:_s}},Ps),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Es,strokeWidth:2,strokeLinecap:Ts,strokeLinejoin:Ds},axisLabel:Object.assign({},Cs,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:As,strokeDasharray:"10, 5",strokeLinecap:Ts,strokeLinejoin:Ds,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Es,strokeWidth:1,strokeLinecap:Ts,strokeLinejoin:Ds},tickLabels:Object.assign({},_s,{fill:ks})}},Ps),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:ks,padding:8,strokeWidth:0},labels:_s}},Ps),boxplot:Object.assign({style:{max:{padding:8,stroke:ks,strokeWidth:1},maxLabels:Object.assign({},_s,{padding:3}),median:{padding:8,stroke:ks,strokeWidth:1},medianLabels:Object.assign({},_s,{padding:3}),min:{padding:8,stroke:ks,strokeWidth:1},minLabels:Object.assign({},_s,{padding:3}),q1:{padding:8,fill:ks},q1Labels:Object.assign({},_s,{padding:3}),q3:{padding:8,fill:ks},q3Labels:Object.assign({},_s,{padding:3})},boxWidth:20},Ps),candlestick:Object.assign({style:{data:{stroke:ks},labels:Object.assign({},_s,{padding:5})},candleColors:{positive:"#ffffff",negative:ks}},Ps),chart:Ps,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ks,strokeWidth:2},labels:_s}},Ps),group:Object.assign({colorScale:Ms},Ps),histogram:Object.assign({style:{data:{fill:ks,stroke:Ss,strokeWidth:2},labels:_s}},Ps),legend:{colorScale:Ms,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:_s,title:Object.assign({},_s,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ks,strokeWidth:2},labels:_s}},Ps),pie:Object.assign({colorScale:Ms,style:{data:{padding:8,stroke:As,strokeWidth:1},labels:Object.assign({},_s,{padding:20})}},Ps),scatter:Object.assign({style:{data:{fill:ks,opacity:1,stroke:"transparent",strokeWidth:0},labels:_s}},Ps),stack:Object.assign({colorScale:Ms},Ps),tooltip:{style:Object.assign({},_s,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Ss,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({},_s,{padding:5,pointerEvents:"none"}),flyout:{stroke:Ss,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ps)}},Rs=r(4882),Ns=r.n(Rs),Ls=r(6354),Us=r.n(Ls),Ws=r(4912),Fs=r.n(Ws);function zs(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function qs(t){return function(t){if(Array.isArray(t))return Hs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Hs(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Hs(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hs(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Bs=/^onGlobal(.*)$/;function $s(t,n,e,r){var o,i=this,a=function(t){var r,o=(r=t.reduce((function(t,e){return void 0!==e.target?(Array.isArray(e.target)?h()(e.target,n):"".concat(e.target)==="".concat(n))?t.concat(e):t:t.concat(e)}),[]),void 0!==e&&"parent"!==n?r.filter((function(t){var n=t.eventKey,r=function(t){return!t||"".concat(t)==="".concat(e)};return Array.isArray(n)?n.some((function(t){return r(t)})):r(n)})):r);return Array.isArray(o)&&o.reduce((function(t,n){return n?Object.assign(t,n.eventHandlers):t}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(t.events)?(o=i.componentEvents).concat.apply(o,qs(t.events)):i.componentEvents:t.events,c=u&&f()(r)?r(a(u),n):void 0;if(!t.sharedEvents)return c;var s=t.sharedEvents.getEvents,l=t.sharedEvents.events&&s(a(t.sharedEvents.events),n);return Object.assign({},l,c)}function Ys(t,n,e,r){var o=this;if(Mi()(t))return{};var i=r||this.baseProps,a=function(t,n){var e=t.childName,r=t.target,a=t.key,u="props"===n?i:o.state||{},c=null!=e&&u[e]?u[e]:u;return"parent"===a?c.parent:c[a]&&c[a][r]},u=function(t,r){var u="parent"===n?t.childName:t.childName||e,c=t.target||n,s=function(n,e){var r=o.state||{};if(!f()(t.mutation))return r;var u=a({childName:e,key:n,target:c},"props"),s=a({childName:e,key:n,target:c},"state"),l=t.mutation(Object.assign({},u,s),i),p=r[e]||{},h=function(t){return l?function(t){return"parent"===c?Object.assign(t,zs({},n,Object.assign(t[n]||{},l))):Object.assign(t,zs({},n,Object.assign(t[n]||{},zs({},c,l))))}(t):function(t){return t[n]&&t[n][c]&&delete t[n][c],t[n]&&!y()(t[n]).length&&delete t[n],t}(t)};return null!=e?Object.assign(r,zs({},e,h(p))):h(r)},l=function(n){var e=function(n){return"parent"===c?"parent":"all"===t.eventKey?i[n]?Ns()(y()(i[n]),"parent"):Ns()(y()(i),"parent"):void 0===t.eventKey&&"parent"===r?i[n]?y()(i[n]):y()(i):void 0!==t.eventKey?t.eventKey:r}(n);return Array.isArray(e)?e.reduce((function(t,e){return Object.assign(t,s(e,n))}),{}):s(e,n)},p="all"===u?Ns()(y()(i),"parent"):u;return Array.isArray(p)?p.reduce((function(t,n){return Object.assign(t,l(n))}),{}):l(p)},c=function(n,e,r,i){var a=t[i](n,e,r,o);if(!Mi()(a)){var c=function(t){var n=function(t){return f()(t.callback)&&t.callback},e=(Array.isArray(t)?t.map((function(t){return n(t)})):[n(t)]).filter((function(t){return!1!==t}));return e.length?function(){return e.forEach((function(t){return t()}))}:void 0}(a);o.setState(function(t,n){return Array.isArray(t)?t.reduce((function(t,e){return Object.assign({},t,u(e,n))}),{}):u(t,n)}(a,r),c)}};return y()(t).reduce((function(t,n){return t[n]=c,t}),{})}function Vs(t,n,e){return t?y()(t).reduce((function(r,o){return r[o]=function(r){return t[o](r,e,n,o)},r}),{}):{}}function Ks(t,n,e){var 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 Gs(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=y()(n);return o.reduce((function(o,i){var a=e[i]||{},u=n[i]||{};if("parent"===i){var c=Zs(t,u,a,{eventKey:i,target:"parent"});o[i]=void 0!==c?Object.assign({},a,c):a}else{var s=_i()(y()(u).concat(y()(a)));o[i]=s.reduce((function(n,e){var o={eventKey:i,target:e,childName:r},c=Zs(t,u[e],a[e],o);return n[e]=void 0!==c?Object.assign({},a[e],c):a[e],Fs()(n,(function(t){return!Mi()(t)}))}),{})}return Fs()(o,(function(t){return!Mi()(t)}))}),{})}function Zs(t,n,e,r){var o=function(t,n){if("string"==typeof t[n])return"all"===t[n]||t[n]===r[n];if(Array.isArray(t[n])){var e=t[n].map((function(t){return"".concat(t)}));return h()(e,r[n])}return!1},i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((function(t){return o(t,"childName")})));var a=i.filter((function(t){return o(t,"target")}));if(!Mi()(a)){var u=a.filter((function(t){return o(t,"eventKey")}));if(!Mi()(u))return u.reduce((function(t,r){var o=(r&&f()(r.mutation)?r.mutation:function(){})(Object.assign({},n,e));return Object.assign({},t,o)}),{})}}function Qs(t,n){var e=Array.isArray(n)&&n.reduce((function(n,e){var r=t[e],o=r&&r.type&&r.type.defaultEvents,i=f()(o)?o(r.props):o;return Array.isArray(i)?n.concat.apply(n,qs(i)):n}),[]);return e&&e.length?e:void 0}function Xs(t){var n=t.match(Bs);return n&&n[1]&&n[1].toLowerCase()}var Js=function(t){return Fs()(t,(function(t,n){return Bs.test(n)}))},tl=function(t){return bi()(t,(function(t,n){return Bs.test(n)}))},nl=function(t){return Object.assign(t,{nativeEvent:t})},el=r(7491),rl=r.n(el);const ol=t=>+t;function il(t){return t*t}function al(t){return t*(2-t)}function ul(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function cl(t){return t*t*t}function sl(t){return--t*t*t+1}function ll(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var fl=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),pl=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),hl=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),dl=Math.PI,yl=dl/2;function gl(t){return 1==+t?1:1-Math.cos(t*yl)}function vl(t){return Math.sin(t*yl)}function bl(t){return(1-Math.cos(dl*t))/2}function ml(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function xl(t){return ml(1-+t)}function Ol(t){return 1-ml(t)}function wl(t){return((t*=2)<=1?ml(1-t):2-ml(t-1))/2}function jl(t){return 1-Math.sqrt(1-t*t)}function Ml(t){return Math.sqrt(1- --t*t)}function Al(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var El=7.5625;function kl(t){return 1-Sl(1-t)}function Sl(t){return(t=+t)<.36363636363636365?El*t*t:t<.7272727272727273?El*(t-=.5454545454545454)*t+.75:t<.9090909090909091?El*(t-=.8181818181818182)*t+.9375:El*(t-=.9545454545454546)*t+.984375}function Pl(t){return((t*=2)<=1?1-Sl(1-t):Sl(t-1)+1)/2}var _l=1.70158,Cl=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(_l),Tl=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(_l),Dl=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}(_l),Il=2*Math.PI,Rl=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Il);function o(t){return n*ml(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*Il)},o.period=function(e){return t(n,e)},o}(1,.3),Nl=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Il);function o(t){return 1-n*ml(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*Il)},o.period=function(e){return t(n,e)},o}(1,.3),Ll=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Il);function o(t){return((t=2*t-1)<0?n*ml(-t)*Math.sin((r-t)/e):2-n*ml(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*Il)},o.period=function(e){return t(n,e)},o}(1,.3),Ul=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)||s()(t)}return!1},Wl=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<e?t:n}},Fl=function(t,n){return function(e){return e>=1?n:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return on(r,o)(e)}}},zl=function(t,n){var e,r,o,i=function(t){return Array.isArray(t)?Ei()(t,"key"):t},a={},u={},c=t,l=n;for(e in null!==c&&"object"==typeof c||(c={}),null!==l&&"object"==typeof l||(l={}),l)e in c?a[e]=(r=i(c[e]))!==(o=i(l[e]))&&Ul(r)&&Ul(o)?"function"==typeof r||"function"==typeof o?Fl(r,o):"object"==typeof r&&s()(r)||"object"==typeof o&&s()(o)?zl(r,o):on(r,o):Wl(r,o):u[e]=l[e];return function(t){for(e in a)u[e]=a[e](t);return u}};function ql(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Hl(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Bl(t,n){return Bl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Bl(t,n)}function $l(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yl(t)}var Vl=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Bl(t,n)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Yl(o);if(i){var e=Yl(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return $l(this,t)});function u(t,e){var r;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(r=a.call(this,t,e)).interpolator=void 0,r.queue=void 0,r.ease=void 0,r.timer=void 0,r.loopID=void 0,r.functionToBeRunEachFrame=function(t,n){var e=void 0!==n?n:r.props.duration,o=e?t/e:1;if(o>=1)return r.setState({data:r.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),r.loopID&&r.timer.unsubscribe(r.loopID),r.queue.shift(),void r.traverseQueue();r.setState({data:r.interpolator(r.ease(o)),animationInfo:{progress:o,animating:o<1}})},r.state={data:Array.isArray(r.props.data)?r.props.data[0]:r.props.data,animationInfo:{progress:0,animating:!1}},r.interpolator=null,r.queue=Array.isArray(r.props.data)?r.props.data.slice(1):[],r.ease=n[r.toNewName(r.props.easing)],r.timer=r.context.animationTimer,r}return e=u,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(t){if(!rl()(this.props,t))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var n;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(n=this.queue).push.apply(n,function(t){if(Array.isArray(t))return ql(t)}(e=this.props.data)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,n){if(t){if("string"==typeof t)return ql(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ql(t,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var e}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(t){var n;return"ease".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}},{key:"traverseQueue",value:function(){var t,n,e=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(t=this.state.data)!==(n=r)&&Ul(t)&&Ul(n)?"function"==typeof t||"function"==typeof n?Fl(t,n):s()(t)||s()(n)?zl(t,n):"string"==typeof t||"string"==typeof n?function(t,n){var e=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return on(e(t),e(n))}(t,n):on(t,n):Wl(t,n),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&Hl(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(i().Component);Vl.displayName="VictoryAnimation",Vl.propTypes={children:xu().func,data:xu().oneOfType([xu().object,xu().array]),delay:xu().number,duration:xu().number,easing:xu().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:xu().func},Vl.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},Vl.contextType=ic;var Kl=r(5346),Gl=r.n(Kl);function Zl(t,n){return(t.key||n).toString()}function Ql(t){return t.reduce((function(t,n,e){return t[Zl(n,e)]=n,t}),{})}function Xl(t,n){var e=!1,r=y()(t).reduce((function(t,r){return r in n||(e=!0,t[r]=!0),t}),{});return e&&r}function Jl(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function tf(t,n){var e=!1,r=!1,o=function(t,n){return t.map((function(a,u){return a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):function(t,n){if(!n||t.type!==n.type)return{};var o,i,a,u,c=(o=Jl(t),i=Jl(n),a=o&&Ql(o),u=i&&Ql(i),{entering:a&&Xl(u,a),exiting:u&&Xl(a,u)}||{}),s=c.entering,l=c.exiting;return e=e||!!l,r=r||!!s,{entering:s||!1,exiting:l||!1}}(a,n[u])}))},a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function nf(t,n,e){var r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,c=n&&n.childrenTransitions||[],s={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=function(t,n,r){return a?function(t,n,r){var o=Object.assign({},t,{onEnd:function(){e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};var i=t.onLoad&&t.onLoad.after?t.onLoad.after:Gl();return{animate:o,data:n.map((function(t,e){return Object.assign({},t,i(t,e,n))}))}}(r,n):function(t,n,r,o){var i=Object.assign({},t,{onEnd:function(){e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};var a=i.onLoad&&i.onLoad.before?i.onLoad.before:Gl();return{animate:i,data:r.map((function(t,n){return Object.assign({},t,a(t,n,r))})),clipWidth:0}}(r,0,n)},f=function(t,n,r,o){return function(t,n,r,o,i){var a=t&&t.onExit,u=Object.assign({},t,a),c=r;if(o){t.onEnd=function(){e({nodesWillExit:!1})};var s=t.onExit&&t.onExit.before?t.onExit.before:Gl();c=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?Object.assign({},t,s(t,n,r)):t}))}return{animate:u,data:c}}(o,0,r,t)},p=function(t,n,r,o){return i?function(t,n,r,o){var i=t&&t.onEnter,a=Object.assign({},t,i),u=n;if(r){a.onEnd=function(){e({nodesWillEnter:!1})};var c=a.onEnter&&a.onEnter.after?a.onEnter.after:Gl();u=n.map((function(t,e){var o=Zl(t,e);return r[o]?Object.assign({},t,c(t,e,n)):t}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){var a=t,u=r;if(o){a=Object.assign({},t,{onEnd:function(){e({nodesShouldEnter:!0})}});var c=t.onEnter&&t.onEnter.before?t.onEnter.before:Gl();u=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?Object.assign({},t,c(t,n,r)):t}))}return{animate:a,data:u}}(o,0,r,t)},h=function(t,n){var e=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){var o=e[n]&&e[n].duration;return void 0!==o?o:r[n]&&r[n].duration}return{}};return function(e,a){var d=Jl(e)||[],y=O()({},t.animate,e.props.animate),g=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;y.onExit=O()({},y.onExit,g&&g.onExit),y.onEnter=O()({},y.onEnter,g&&g.onEnter),y.onLoad=O()({},y.onLoad,g&&g.onLoad);var v=c[a]||c[0];if(!u){var b={duration:void 0!==s.load?s.load:h(e,"onLoad")};return l(0,d,Object.assign({},y,b))}if(r){var m=v&&v.exiting,x=void 0!==s.exit?s.exit:h(e,"onExit"),w=m?{duration:x}:{delay:x};return f(m,0,d,Object.assign({},y,w))}if(o){var j=v&&v.entering,M=void 0!==s.enter?s.enter:h(e,"onEnter"),A=void 0!==s.move?s.move:e.props.animate&&e.props.animate.duration,E={duration:i&&j?M:A};return p(j,0,d,Object.assign({},y,E))}return!n&&y&&y.onExit?function(t,n){var e=t.onEnter&&t.onEnter.after?t.onEnter.after:Gl();return{data:n.map((function(t,r){return Object.assign({},t,e(t,r,n))}))}}(y,d):{animate:y,data:d}}}function ef(){return ef=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},ef.apply(this,arguments)}function rf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function of(t,n){return of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},of(t,n)}function af(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function uf(t){return uf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},uf(t)}var cf=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&of(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=uf(r);if(o){var e=uf(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return af(this,t)});function u(t,n){var e;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t,n)).continuous=void 0,e.timer=void 0,e.transitionProps=void 0,e.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=e.props.children,o=r.props.polar;return e.continuous=!o&&r.type&&!0===r.type.continuous,e.timer=e.context.transitionTimer,e}return n=u,(e=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(t){var n=this;return rl()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(function(){return n.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(t,n){var e=t.animate;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};var r=tf(i().Children.toArray(t.children),i().Children.toArray(n.children)),o=r.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:o?t:null,nextProps:n}}},{key:"getDomainFromChildren",value:function(t,n){var e=function(t){return t.reduce((function(t,r){if(r.type&&f()(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,n);return o?t.concat(o):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[])},r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;var u=e([r]);return 0===u.length?[0,1]:[U(u),L(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(t){var n,e=null===(n=t.animate)||void 0===n?void 0:n.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}},{key:"getClipWidth",value:function(t,n){var e,r=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==r?r:(e=C(n.props,"x"))?Math.abs(e[1]-e[0]):t.width}},{key:"render",value:function(){var t,n=this,e=this.pickProps(),r=null!==(t=this.props.animate)&&void 0!==t&&t.getTransitions?this.props.animate.getTransitions:nf(e,this.state,(function(t){return n.setState(t)})),o=i().Children.toArray(e.children)[0],a=r(o);this.transitionProps=a;var u={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},c=this.getClipWidth(e,o),s=O()({domain:u,clipWidth:c},a,o.props),l=(e.animationWhitelist||[]).concat(["clipWidth"]),f=l.length?v()(s,l):s;return i().createElement(Vl,ef({},s.animate,{data:f}),(function(t){if(o.props.groupComponent){var e=n.continuous?i().cloneElement(o.props.groupComponent,{clipWidth:t.clipWidth||0}):o.props.groupComponent;return i().cloneElement(o,O()({animate:null,animating:!0,groupComponent:e},t,s))}return i().cloneElement(o,O()({animate:null,animating:!0},t,s))}))}}])&&rf(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);function sf(t){return function(t){if(Array.isArray(t))return lf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return lf(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?lf(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lf(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function ff(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function pf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function hf(t,n,e){return n&&pf(t.prototype,n),e&&pf(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function df(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&yf(t,n)}function yf(t,n){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},yf(t,n)}function gf(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=mf(t);if(n){var o=mf(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return vf(this,e)}}function vf(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return bf(t)}function bf(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mf(t){return mf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mf(t)}cf.displayName="VictoryTransition",cf.propTypes={animate:xu().oneOfType([xu().bool,xu().object]),animationWhitelist:xu().array,children:xu().node},cf.contextType=ic;var xf=function(t){return!u()(t._x)&&!u()(t._y)},Of=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function wf(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function jf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mf(t,n){return Mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Mf(t,n)}function Af(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ef(t){return Ef=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ef(t)}var kf={width:450,height:300,padding:50},Sf=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Mf(t,n)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Ef(o);if(i){var e=Ef(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Af(this,t)});function u(){return wf(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=Pf.animationWhitelist,n=Pf.role,r=D(this.props,kf,n);if(this.shouldAnimate())return this.animateComponent(r,t);var o=this.renderData(r);return function(t,n){return e.cloneElement(t,du(n))}(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}])&&jf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Sf.animationWhitelist=["data","domain","height","padding","style","width"],Sf.displayName="VictoryBar",Sf.role="bar",Sf.defaultTransitions={onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}}},Sf.defaultProps={containerComponent:i().createElement(dc,null),data:[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],dataComponent:i().createElement(cu,null),groupComponent:i().createElement("g",{role:"presentation"}),labelComponent:i().createElement(gs,null),samples:50,sortOrder:"ascending",standalone:!0,theme:Is.grayscale},Sf.getDomain=Zi,Sf.getData=zi,Sf.getBaseProps=function(t){return function(t,n){var e=D(t,n,"bar"),r=Object.assign({},e,function(t){var n=t.polar,e=function(t,n){var e=t.theme,r=void 0===e?{}:e,o=t.labelComponent,i=r.bar&&r.bar.style||{};if(!E(o))return i;var a=r.tooltip&&r.tooltip.style||{},u=O()({},a,i.labels);return O()({},{labels:u},i)}(t),r=t.disableInlineStyles?{}:function(t,n){var e="100%",r="100%";if(!t)return O()({parent:{height:r,width:e}},n);var o=t.data,i=t.labels,a=t.parent,u=n&&n.parent||{},c=n&&n.labels||{},s=n&&n.data||{};return{parent:O()({},a,u,{width:e,height:r}),labels:O()({},i,c),data:O()({},o,s)}}(t.style,e),o=t.range||{x:C(t,"x"),y:C(t,"y")},i={x:Zi(t,"x"),y:Zi(t,"y")},a={x:ui(t,"x").domain(i.x).range(t.horizontal?o.y:o.x),y:ui(t,"y").domain(i.y).range(t.horizontal?o.x:o.y)},u=n?t.origin||function(t){var n=t.width,e=t.height,r=A(t),o=r.top,i=r.bottom,a=r.left,u=r.right,c=Math.min(n-a-u,e-o-i)/2,s=n/2+a-u,l=e/2+o-i;return{x:s+c>n?c+a-u:s,y:l+c>e?c+o-i:l}}(t):void 0,c=zi(t);return c=function(t,n,e){var r=function(t){return void 0!==t},o=U(n.x),i=L(n.x),a=U(n.y),u=L(n.y),c=function(t){return function(n){return r(n)&&n<t}},s=function(t){return function(n){return r(n)&&n>t}},l=c(o),f=c(a),p=s(i),h=s(u);return t.map((function(t){var n=t._x,e=t._y,o=t._y0,i=t._y1;(l(n)||p(n))&&(n=null);var c=r(o)?o:0,s=r(i)?i:e;return r(s)?(r(c)||!f(s)&&!h(s)||(e=null),(f(c)&&f(s)||h(c)&&h(s))&&(e=o=i=null),f(c)&&!f(s)&&(o=a),h(c)&&!h(s)&&(o=u),Object.assign({},t,bi()({_x:n,_y:e,_y0:o,_y1:i},xi()))):t}))}(c,i),{style:r,data:c,scale:a,domain:i,origin:u}}(e)),o=r.alignment,i=r.barRatio,a=r.cornerRadius,c=r.data,s=r.disableInlineStyles,l=r.domain,f=r.events,p=r.height,h=r.horizontal,d=r.origin,y=r.padding,g=r.polar,v=r.scale,b=r.sharedEvents,m=r.standalone,x=r.style,w=r.theme,j=r.width,M=r.labels,k=r.name,S=r.barWidth,P=r.getPath,_={parent:{horizontal:h,domain:l,scale:v,width:j,height:p,data:c,standalone:m,name:k,theme:w,polar:g,origin:d,padding:y,style:x.parent}};return c.reduce((function(t,n,e){var l=u()(n.eventKey)?e:n.eventKey,y=oa(r,n),m=y.x,O=y.y,w=y.y0,A=y.x0,E={alignment:o,barRatio:i,barWidth:S,cornerRadius:a,data:c,datum:n,disableInlineStyles:s,getPath:P,horizontal:h,index:e,polar:g,origin:d,scale:v,style:x.data,width:j,height:p,x:m,y:O,y0:w,x0:A};return t[l]={data:E},(null!=na(r,n,e)||M&&(f||b))&&(t[l].labels=ra(r,e)),t}),_)}(t,kf)},Sf.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];var Pf=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=function(e){df(o,e);var r=gf(o);function o(t){var n;return ff(this,o),(n=r.call(this,t)).state={},n.getEventState=Ks.bind(bf(n)),n.getScopedEvents=Ys.bind(bf(n)),n.getEvents=function(t,e,r){return $s.call(bf(n),t,e,r,n.getScopedEvents)},n.externalMutations=n.getExternalMutations(n.props),n.calculatedState=n.getStateChanges(n.props),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n.cacheValues(n.getCalculatedValues(t)),n}return hf(o,[{key:"shouldComponentUpdate",value:function(t){var n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!rl()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;var o=this.getStateChanges(t);return rl()(this.calculatedState,o)?!rl()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}},{key:"componentDidMount",value:function(){var t=this,n=y()(this.globalEvents);n.forEach((function(n){return t.addGlobalListener(n)})),this.prevGlobalEventKeys=n}},{key:"componentDidUpdate",value:function(t){var n=this,e=this.getStateChanges(t);this.calculatedState=e;var r=y()(this.globalEvents);Us()(this.prevGlobalEventKeys,r).forEach((function(t){return n.removeGlobalListener(t)})),Us()(r,this.prevGlobalEventKeys).forEach((function(t){return n.addGlobalListener(t)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var t=this;this.prevGlobalEventKeys.forEach((function(n){return t.removeGlobalListener(n)}))}},{key:"addGlobalListener",value:function(t){var n=this,e=function(e){var r=n.globalEvents[t];return r&&r(nl(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Xs(t),e)}},{key:"removeGlobalListener",value:function(t){window.removeEventListener(Xs(t),this.boundGlobalEvents[t])}},{key:"getStateChanges",value:function(t){var e=this;if(!this.hasEvents)return{};var r=function(t,n){var r=O()({},e.getEventState(t,n),e.getSharedEventState(t,n));return Mi()(r)?void 0:r};return(n.components||Of).map((function(n){if(t.standalone||"parent"!==n.name)return void 0!==n.index?r(n.index,n.name):e.dataKeys.map((function(t){return r(t,n.name)})).filter(Boolean)})).filter(Boolean)}},{key:"applyExternalMutations",value:function(t,n){if(!Mi()(n)){var e=t.externalEventMutations.reduce((function(t,n){return f()(n.callback)?t.concat(n.callback):t}),[]),r=e.length?function(){e.forEach((function(t){return t()}))}:void 0;this.setState(n,r)}}},{key:"getCalculatedValues",value:function(n){var e=n.sharedEvents,r=Qs(n,t.expectedComponents),o=e&&f()(e.getEventState)?e.getEventState:function(){},i=this.getBaseProps(n,o);return{componentEvents:r,getSharedEventState:o,baseProps:i,dataKeys:y()(i).filter((function(t){return"parent"!==t})),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}},{key:"getExternalMutations",value:function(t){var n=t.sharedEvents,e=t.externalEventMutations;return Mi()(e)||n?void 0:Gs(e,this.baseProps,this.state)}},{key:"cacheValues",value:function(t){var n=this;y()(t).forEach((function(e){n[e]=t[e]}))}},{key:"getBaseProps",value:function(n,e){var r=(e||this.getSharedEventState.bind(this))("parent","parent"),o=this.getEventState("parent","parent"),i=O()({},o,r),a=i.parentControlledProps,u=a?v()(i,a):{},c=O()({},u,n);return"function"==typeof t.getBaseProps?t.getBaseProps(c):{}}},{key:"getAllEvents",value:function(t){var n;return Array.isArray(this.componentEvents)?Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,sf(t.events)):this.componentEvents:t.events}},{key:"getComponentProps",value:function(n,e,r){var o=this.props.name||t.role,i=this.dataKeys&&this.dataKeys[r]||r,a="".concat(o,"-").concat(e,"-").concat(i),u=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];if(u||this.hasEvents){var c=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){var s=this.getEvents(this.props,e,i),l=O()({index:r,key:a},this.getEventState(i,e),this.getSharedEventState(i,e),c,u,{id:a}),f=O()({},Vs(s,i,l),l.events);return Object.assign({},l,{events:f})}return O()({index:r,key:a},c,u,{id:a})}}},{key:"renderContainer",value:function(t,n){var e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=Js(e.events),e.events=tl(e.events)),i().cloneElement(t,e,n)}},{key:"animateComponent",value:function(t,n){var e,r="object"==typeof t.animate&&(null===(e=t.animate)||void 0===e?void 0:e.animationWhitelist)||n,o=this.constructor;return i().createElement(cf,{animate:t.animate,animationWhitelist:r},i().createElement(o,t))}},{key:"renderContinuousData",value:function(t){var n=this,e=t.dataComponent,r=t.labelComponent,o=t.groupComponent,a=Ns()(this.dataKeys,"all").reduce((function(t,e){var o=t,a=n.getComponentProps(r,"labels",e);return a&&void 0!==a.text&&null!==a.text&&(o=o.concat(i().cloneElement(r,a))),o}),[]),u=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,u)].concat(sf(a));return this.renderContainer(o,c)}},{key:"renderData",value:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xf,r=t.dataComponent,o=t.labelComponent,a=t.groupComponent,u=this.dataKeys.reduce((function(t,o,a){var u=n.getComponentProps(r,"data",a);return e(u.datum)&&t.push(i().cloneElement(r,u)),t}),[]),c=this.dataKeys.map((function(t,e){var r=n.getComponentProps(o,"labels",e);if(void 0!==r.text&&null!==r.text)return i().cloneElement(o,r)})).filter(Boolean),s=[].concat(sf(u),sf(c));return this.renderContainer(a,s)}}]),o}(t);return e}(Sf)})(),o})()));
|
|
2
2
|
//# sourceMappingURL=victory-bar.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-bar",
|
|
3
|
-
"version": "36.8.
|
|
3
|
+
"version": "36.8.6",
|
|
4
4
|
"description": "Bar Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"prop-types": "^15.8.1",
|
|
25
|
-
"victory-core": "^36.8.
|
|
26
|
-
"victory-vendor": "^36.8.
|
|
25
|
+
"victory-core": "^36.8.6",
|
|
26
|
+
"victory-vendor": "^36.8.6"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|