victory-bar
Version:
Bar Component for Victory
1 lines • 174 kB
JavaScript
!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,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,s){var u=-1,c=n.length;for(o||(o=i),s||(s=[]);++u<c;){var l=n[u];e>0&&o(l)?e>1?t(l,e-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,n,e){var r=e(9026),i=e(3110);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e<o;)t=t[i(n[e++])];return e&&e==o?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),i=e(3474);t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),i=e(3474);t.exports=function t(n,e,o,a,s){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,s))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),s=e(9667),u=e(163),c=e(4801),l=e(4289),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,m){var v=u(t),b=u(n),x=v?d:s(t),M=b?d:s(n),w=(x=x==f?h:x)==h,k=(M=M==f?h:M)==h,A=x==M;if(A&&c(t)){if(!c(n))return!1;v=!0,w=!1}if(A&&!w)return m||(m=new r),v||l(t)?i(t,n,e,g,y,m):o(t,n,x,e,g,y,m);if(!(1&e)){var E=w&&p.call(t,"__wrapped__"),O=k&&p.call(n,"__wrapped__");if(E||O){var j=E?t.value():t,C=O?n.value():n;return m||(m=new r),y(j,C,e,g,m)}}return!!A&&(m||(m=new r),a(t,n,e,g,y,m))}},9548:function(t,n,e){var r=e(8708),i=e(9070);t.exports=function(t,n,e,o){var a=e.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=e[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<s;){var l=(c=e[a])[0],f=t[l],d=c[1];if(u&&c[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(o)var p=o(f,d,l,t,n,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),s=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},758:function(t,n,e){var r=e(9548),i=e(597),o=e(6878);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),i=e(9201),o=e(5066),a=e(726),s=e(5385),u=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&s(n)?u(c(t),n):function(e){var a=i(e,t);return void 0===a&&a===n?o(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),i=e(4432),o=e(3472),a=e(383),s=e(9521),u=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var d=-1;n=r(n,u(o));var h=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++d,value:t}}));return s(h,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),i=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},6371:function(t,n,e){var r=e(4432),i=e(6539),o=e(9026);t.exports=function(t,n,e){for(var a=-1,s=n.length,u={};++a<s;){var c=n[a],l=r(t,c);e(l,c)&&i(u,o(c,t),l)}return u}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),i=e(4280),o=e(201);t.exports=function(t,n){return o(i(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),i=e(9026),o=e(9099),a=e(7709),s=e(3110);t.exports=function(t,n,e,u){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,d=t;null!=d&&++c<l;){var h=s(n[c]),p=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=f){var g=d[h];void 0===(p=u?u(g,h,d):void 0)&&(p=a(g)?g:o(n[c+1])?[]:{})}r(d,h,p),d=d[h]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,i=t.length,o=0,a=[];++e<i;){var s=t[e],u=n?n(s):s;if(!e||!r(u,c)){var c=u;a[o++]=0===s?0:s}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(a(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),i=e(5510),o=e(9955),a=e(9914),s=e(6602),u=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,d=!0,h=[],p=h;if(e)d=!1,l=o;else if(f>=200){var g=n?null:s(t);if(g)return u(g);d=!1,l=a,p=new r}else p=n?[]:h;t:for(;++c<f;){var y=t[c],m=n?n(y):y;if(y=e||0!==y?y:0,d&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue t;n&&p.push(m),h.push(y)}else l(p,m,e)||(p!==h&&p.push(m),h.push(y))}return h}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),i=e(726),o=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==n,u=null===n,c=n==n,l=r(n);if(!u&&!l&&!a&&t>n||a&&s&&c&&!u&&!l||i&&s&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||u&&e&&o||!s&&o||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,u=e.length;++i<s;){var c=r(o[i],a[i]);if(c)return i>=u?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,s,u){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var d=u.get(t),h=u.get(n);if(d&&h)return d==n&&h==t;var p=-1,g=!0,y=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++p<l;){var m=t[p],v=n[p];if(a)var b=c?a(v,m,p,n,t,u):a(m,v,p,t,n,u);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(m===t||s(m,t,e,a,u)))return y.push(n)}))){g=!1;break}}else if(m!==v&&!s(m,v,e,a,u)){g=!1;break}}return u.delete(t),u.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,a,s){var u=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!u)return!1;for(var f=l;f--;){var d=c[f];if(!(u?d in n:i.call(n,d)))return!1}var h=s.get(t),p=s.get(n);if(h&&p)return h==n&&p==t;var g=!0;s.set(t,n),s.set(n,t);for(var y=u;++f<l;){var m=t[d=c[f]],v=n[d];if(o)var b=u?o(v,m,d,n,t,s):o(m,v,d,t,n,s);if(!(void 0===b?m===v||a(m,v,e,o,s):b)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var x=t.constructor,M=n.constructor;x==M||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof M&&M instanceof M||(g=!1)}return s.delete(t),s.delete(n),g}},5557:function(t,n,e){var r=e(2645),i=e(4280),o=e(201);t.exports=function(t){return o(i(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),i=e(7747);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],a=t[o];n[e]=[o,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),i=e(5075),o=e(163),a=e(9099),s=e(8454),u=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var d=u(n[c]);if(!(f=null!=t&&e(t,d)))break;t=t[d]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(d,l)&&(o(t)||i(t))}},3608:function(t,n,e){var r=e(2596),i=e(5075),o=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),i=e(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,a=-1,s=i(o.length-n,0),u=Array(s);++a<s;)u[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(u),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1893:function(t,n,e){var r=e(6317),i=e(788),o=e(8286),a=e(8855),s=Object.prototype,u=s.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),d=-1,h=f.length;++d<h;){var p=f[d],g=t[p];(void 0===g||i(g,s[p])&&!u.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,s=a?i(a):r;t.exports=s},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),s=e(981),u=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),i=e(7709);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),i=e(9817),o=e(3474),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,u,c,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(t[u],a[u]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,c[u]))return!1;if(n&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!o(t[c[u]],a[c[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return o(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var i=e[t];if(void 0!==i)return i.exports;var o=e[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{Bar:function(){return Ya},VictoryBar:function(){return il},getBarPath:function(){return Ba},getBarPosition:function(){return Jo},getBarWidth:function(){return ea},getCornerRadius:function(){return ra},getCustomBarPath:function(){return Ia},getHorizontalBarPath:function(){return za},getPolarBarPath:function(){return Ha},getStyle:function(){return ia},getVerticalBarPath:function(){return Ra},getVerticalPolarBarPath:function(){return Ua}});var t={};r.r(t),r.d(t,{scaleBand:function(){return R},scaleDiverging:function(){return Bi},scaleDivergingLog:function(){return Hi},scaleDivergingPow:function(){return Yi},scaleDivergingSqrt:function(){return Vi},scaleDivergingSymlog:function(){return qi},scaleIdentity:function(){return On},scaleImplicit:function(){return I},scaleLinear:function(){return En},scaleLog:function(){return Pn},scaleOrdinal:function(){return W},scalePoint:function(){return U},scalePow:function(){return Hn},scaleQuantile:function(){return ee},scaleQuantize:function(){return re},scaleRadial:function(){return Gn},scaleSequential:function(){return Pi},scaleSequentialLog:function(){return Ni},scaleSequentialPow:function(){return Ii},scaleSequentialQuantile:function(){return Ri},scaleSequentialSqrt:function(){return Wi},scaleSequentialSymlog:function(){return Fi},scaleSqrt:function(){return qn},scaleSymlog:function(){return Wn},scaleThreshold:function(){return ie},scaleTime:function(){return Di},scaleUtc:function(){return Ti},tickFormat:function(){return kn}});var n={};r.r(n),r.d(n,{easeBack:function(){return ic},easeBackIn:function(){return ec},easeBackInOut:function(){return ic},easeBackOut:function(){return rc},easeBounce:function(){return Ju},easeBounceIn:function(){return Qu},easeBounceInOut:function(){return tc},easeBounceOut:function(){return Ju},easeCircle:function(){return Zu},easeCircleIn:function(){return Gu},easeCircleInOut:function(){return Zu},easeCircleOut:function(){return Ku},easeCubic:function(){return Pu},easeCubicIn:function(){return Lu},easeCubicInOut:function(){return Pu},easeCubicOut:function(){return $u},easeElastic:function(){return sc},easeElasticIn:function(){return ac},easeElasticInOut:function(){return uc},easeElasticOut:function(){return sc},easeExp:function(){return Vu},easeExpIn:function(){return qu},easeExpInOut:function(){return Vu},easeExpOut:function(){return Yu},easeLinear:function(){return Su},easePoly:function(){return Iu},easePolyIn:function(){return Nu},easePolyInOut:function(){return Iu},easePolyOut:function(){return Fu},easeQuad:function(){return Tu},easeQuadIn:function(){return _u},easeQuadInOut:function(){return Tu},easeQuadOut:function(){return Du},easeSin:function(){return Bu},easeSinIn:function(){return zu},easeSinInOut:function(){return Bu},easeSinOut:function(){return Uu}});var e=r(9787),o=r.n(e),a=r(3849),s=r.n(a),u=r(1893),c=r.n(u),l=r(8532),f=r.n(l),d=r(9082),h=r.n(d);function p(t,n){void 0===n&&(n=[]);const e={};for(const r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function g(t){const{_x:n,_x1:e,_x0:r,_voronoiX:i,_y:o,_y1:a,_y0:s,_voronoiY:u}=t,l={x:i??e??n,x0:r??n,y:u??a??o,y0:s??o};return c()({},l,t)}function y(t,n){const{scale:e,polar:r,horizontal:i}=t,o=g(n),a=t.origin||{x:0,y:0},s=i?e.y(o.y):e.x(o.x),u=i?e.y(o.y0):e.x(o.x0),c=i?e.x(o.x):e.y(o.y),l=i?e.x(o.x0):e.y(o.y0);return{x:r?c*Math.cos(s)+a.x:s,x0:r?l*Math.cos(u)+a.x:u,y:r?-c*Math.sin(s)+a.y:c,y0:r?-l*Math.sin(u)+a.x:l}}function m(t){const n="number"==typeof t?t:0,e="object"==typeof t?t:{};return{top:e.top||n,bottom:e.bottom||n,left:e.left||n,right:e.right||n}}function v(t){return"tooltip"===(t&&t.type&&t.type.role)}function b(t,n){return E(t)?t(n):t}function x(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>E(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=b(t[r],n),e)),{}):t}function M(t){return"number"==typeof t?t*(Math.PI/180):t}function w(t){const{width:n,height:e,padding:r}=t,{left:i,right:o,top:a,bottom:s}=r;return Math.min(n-i-o,e-a-s)/2}function k(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t){return"x"===t.axis?[M(t.startAngle||0),M(t.endAngle||360)]:[t.innerRadius||0,w({height:t.height,width:t.width,padding:t.padding})]}({axis:n,innerRadius:t.innerRadius,startAngle:t.startAngle,endAngle:t.endAngle,height:t.height,width:t.width,padding:m(t.padding)}):"x"!==(e={axis:n,height:t.height,width:t.width,padding:m(t.padding)}).axis?[e.height-e.padding.bottom,e.padding.top]:[e.padding.left,e.width-e.padding.right];var e}function A(t){return null==t}function E(t){return"function"==typeof t}function O(t){return E(t)?t:null==t?t=>t:f()(t)}function j(t,n,e){const r=p(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(o().Children.toArray(r.children))}),!1);return n(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return c()(a,t,r,n)}function C(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function S(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}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];const i=t.concat(e);return C(i)?new Date(Math.max(...i)):Math.max(...i)}function D(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return C(i)?new Date(Math.min(...i)):Math.min(...i)}function T(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function L(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function $(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 P extends Map{constructor(t,n=F){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(N(this,t))}has(t){return super.has(N(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 N({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function F(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const I=Symbol("implicit");function W(){var t=new P,n=[],e=[],r=I;function i(i){let o=t.get(i);if(void 0===o){if(r!==I)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new P;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return W(n,e).unknown(r)},L.apply(i,arguments),i}function R(){var t,n,e=W().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,s=!1,u=0,c=0,l=.5;function f(){var e=r().length,f=a<o,d=f?a:o,h=f?o:a;t=(h-d)/Math.max(1,e-u+2*c),s&&(t=Math.floor(t)),d+=(h-d-t*(e-u))*l,n=t*(1-u),s&&(d=Math.round(d),n=Math.round(n));var p=T(e).map((function(n){return d+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,s=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(s=!!t,f()):s},e.padding=function(t){return arguments.length?(u=Math.min(1,c=+t),f()):u},e.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return R(r(),[o,a]).round(s).paddingInner(u).paddingOuter(c).align(l)},L.apply(f(),arguments)}function z(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return z(n())},t}function U(){return z(R.apply(null,arguments).paddingInner(1))}var B=Math.sqrt(50),H=Math.sqrt(10),q=Math.sqrt(2);function Y(t,n,e){var r,i,o,a,s=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=V(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++s<i;)o[s]=(e+s)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++s<i;)o[s]=(e+s)/a}return r&&o.reverse(),o}function V(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=B?10:o>=H?5:o>=q?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=B?10:o>=H?5:o>=q?2:1)}function G(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=B?i*=10:o>=H?i*=5:o>=q&&(i*=2),n<t?-i:i}function K(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function Z(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function X(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=K,e=(n,e)=>K(t(n),e),r=(n,e)=>t(n)-e):(n=t===K||t===Z?t:Q,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const a=i(t,n,e,o-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function Q(){return 0}function J(t){return null===t?NaN:+t}const tt=X(K),nt=tt.right;tt.left,X(J).center;var et=nt;function rt(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function it(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function ot(){}var at=.7,st=1/at,ut="\\s*([+-]?\\d+)\\s*",ct="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",lt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ft=/^#([0-9a-f]{3,8})$/,dt=new RegExp(`^rgb\\(${ut},${ut},${ut}\\)$`),ht=new RegExp(`^rgb\\(${lt},${lt},${lt}\\)$`),pt=new RegExp(`^rgba\\(${ut},${ut},${ut},${ct}\\)$`),gt=new RegExp(`^rgba\\(${lt},${lt},${lt},${ct}\\)$`),yt=new RegExp(`^hsl\\(${ct},${lt},${lt}\\)$`),mt=new RegExp(`^hsla\\(${ct},${lt},${lt},${ct}\\)$`),vt={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 bt(){return this.rgb().formatHex()}function xt(){return this.rgb().formatRgb()}function Mt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=ft.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?wt(n):3===e?new Ot(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?kt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?kt(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=dt.exec(t))?new Ot(n[1],n[2],n[3],1):(n=ht.exec(t))?new Ot(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=pt.exec(t))?kt(n[1],n[2],n[3],n[4]):(n=gt.exec(t))?kt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=yt.exec(t))?Tt(n[1],n[2]/100,n[3]/100,1):(n=mt.exec(t))?Tt(n[1],n[2]/100,n[3]/100,n[4]):vt.hasOwnProperty(t)?wt(vt[t]):"transparent"===t?new Ot(NaN,NaN,NaN,0):null}function wt(t){return new Ot(t>>16&255,t>>8&255,255&t,1)}function kt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Ot(t,n,e,r)}function At(t){return t instanceof ot||(t=Mt(t)),t?new Ot((t=t.rgb()).r,t.g,t.b,t.opacity):new Ot}function Et(t,n,e,r){return 1===arguments.length?At(t):new Ot(t,n,e,null==r?1:r)}function Ot(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function jt(){return`#${Dt(this.r)}${Dt(this.g)}${Dt(this.b)}`}function Ct(){const t=St(this.opacity);return`${1===t?"rgb(":"rgba("}${_t(this.r)}, ${_t(this.g)}, ${_t(this.b)}${1===t?")":`, ${t})`}`}function St(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function _t(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Dt(t){return((t=_t(t))<16?"0":"")+t.toString(16)}function Tt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new $t(t,n,e,r)}function Lt(t){if(t instanceof $t)return new $t(t.h,t.s,t.l,t.opacity);if(t instanceof ot||(t=Mt(t)),!t)return new $t;if(t instanceof $t)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=n===o?(e-r)/s+6*(e<r):e===o?(r-n)/s+2:(n-e)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new $t(a,s,u,t.opacity)}function $t(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Pt(t){return(t=(t||0)%360)<0?t+360:t}function Nt(t){return Math.max(0,Math.min(1,t||0))}function Ft(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 It(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}rt(ot,Mt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:bt,formatHex:bt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Lt(this).formatHsl()},formatRgb:xt,toString:xt}),rt(Ot,Et,it(ot,{brighter(t){return t=null==t?st:Math.pow(st,t),new Ot(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?at:Math.pow(at,t),new Ot(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ot(_t(this.r),_t(this.g),_t(this.b),St(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:jt,formatHex:jt,formatHex8:function(){return`#${Dt(this.r)}${Dt(this.g)}${Dt(this.b)}${Dt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ct,toString:Ct})),rt($t,(function(t,n,e,r){return 1===arguments.length?Lt(t):new $t(t,n,e,null==r?1:r)}),it(ot,{brighter(t){return t=null==t?st:Math.pow(st,t),new $t(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?at:Math.pow(at,t),new $t(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Ot(Ft(t>=240?t-240:t+120,i,r),Ft(t,i,r),Ft(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new $t(Pt(this.h),Nt(this.s),Nt(this.l),St(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=St(this.opacity);return`${1===t?"hsl(":"hsla("}${Pt(this.h)}, ${100*Nt(this.s)}%, ${100*Nt(this.l)}%${1===t?")":`, ${t})`}`}}));var Wt=t=>()=>t;function Rt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Wt(isNaN(t)?n:t)}var zt=function t(n){var e=function(t){return 1==(t=+t)?Rt: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):Wt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Et(t)).r,(n=Et(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Rt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Ut(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),s=new Array(i);for(e=0;e<i;++e)r=Et(n[e]),o[e]=r.r||0,a[e]=r.g||0,s[e]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function Bt(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=Xt(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}function Ht(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function qt(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function Yt(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=Xt(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Ut((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<n-1?t[r+2]:2*o-i;return It((e-r/n)*n,a,i,o,s)}})),Ut((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],s=t[(r+2)%n];return It((e-r/n)*n,i,o,a,s)}}));var Vt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Gt=new RegExp(Vt.source,"g");function Kt(t,n){var e,r,i,o=Vt.lastIndex=Gt.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=Vt.exec(t))&&(r=Gt.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(e=e[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:qt(e,r)})),o=Gt.lastIndex;return o<n.length&&(i=n.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var e,r=0;r<n;++r)s[(e=u[r]).i]=e.x(t);return s.join("")})}function Zt(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function Xt(t,n){var e,r,i=typeof n;return null==n||"boolean"===i?Wt(n):("number"===i?qt:"string"===i?(e=Mt(n))?(n=e,zt):Kt:n instanceof Mt?zt:n instanceof Date?Ht:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Bt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Yt:qt:Zt))(t,n)}function Qt(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Jt(t){return+t}var tn=[0,1];function nn(t){return t}function en(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function rn(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=en(i,r),o=e(a,o)):(r=en(r,i),o=e(o,a)),function(t){return o(r(t))}}function on(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=en(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=et(t,n,1,r)-1;return o[e](i[e](n))}}function an(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function sn(){var t,n,e,r,i,o,a=tn,s=tn,u=Xt,c=nn;function l(){var t,n,e,u=Math.min(a.length,s.length);return c!==nn&&(t=a[0],n=a[u-1],t>n&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=u>2?on:rn,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),s,u)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(s,a.map(t),qt)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Jt),l()):a.slice()},f.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},f.rangeRound=function(t){return s=Array.from(t),u=Qt,l()},f.clamp=function(t){return arguments.length?(c=!!t||nn,l()):c!==nn},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function un(){return sn()(nn,nn)}var cn,ln=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fn(t){if(!(n=ln.exec(t)))throw new Error("invalid format: "+t);var n;return new dn({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 dn(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 hn(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 pn(t){return(t=hn(Math.abs(t)))?t[1]:NaN}function gn(t,n){var e=hn(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}fn.prototype=dn.prototype,dn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var yn={"%":(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)=>gn(100*t,n),r:gn,s:function(t,n){var e=hn(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(cn=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+hn(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function mn(t){return t}var vn,bn,xn,Mn=Array.prototype.map,wn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function kn(t,n,e,r){var i,o=G(t,n,e);switch((r=fn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pn(n)/3)))-pn(Math.abs(t)))}(o,a))||(r.precision=i),xn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,pn(n)-pn(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-pn(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return bn(r)}function An(t){var n=t.domain;return t.ticks=function(t){var e=n();return Y(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return kn(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,s=o.length-1,u=o[a],c=o[s],l=10;for(c<u&&(i=u,u=c,c=i,i=a,a=s,s=i);l-- >0;){if((i=V(u,c,e))===r)return o[a]=u,o[s]=c,n(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function En(){var t=un();return t.copy=function(){return an(t,En())},L.apply(t,arguments),An(t)}function On(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,Jt),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return On(t).unknown(n)},t=arguments.length?Array.from(t,Jt):[0,1],An(e)}function jn(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}function Cn(t){return Math.log(t)}function Sn(t){return Math.exp(t)}function _n(t){return-Math.log(-t)}function Dn(t){return-Math.exp(-t)}function Tn(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Ln(t){return(n,e)=>-t(-n,e)}function $n(t){const n=t(Cn,Sn),e=n.domain;let r,i,o=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(o),i=function(t){return 10===t?Tn:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=Ln(r),i=Ln(i),t(_n,Dn)):t(Cn,Sn),n}return n.base=function(t){return arguments.length?(o=+t,a()):o},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],s=n[n.length-1];const u=s<a;u&&([a,s]=[s,a]);let c,l,f=r(a),d=r(s);const h=null==t?10:+t;let p=[];if(!(o%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<o;++c)if(l=f<0?c/i(-f):c*i(f),!(l<a)){if(l>s)break;p.push(l)}}else for(;f<=d;++f)for(c=o-1;c>=1;--c)if(l=f>0?c/i(-f):c*i(f),!(l<a)){if(l>s)break;p.push(l)}2*p.length<h&&(p=Y(a,s,h))}else p=Y(f,d,Math.min(d-f,h)).map(i);return u?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=fn(e)).precision||(e.trim=!0),e=bn(e)),t===1/0)return e;const a=Math.max(1,o*t/n.ticks().length);return t=>{let n=t/i(Math.round(r(t)));return n*o<o-.5&&(n*=o),n<=a?e(t):""}},n.nice=()=>e(jn(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function Pn(){const t=$n(sn()).domain([1,10]);return t.copy=()=>an(t,Pn()).base(t.base()),L.apply(t,arguments),t}function Nn(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Fn(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function In(t){var n=1,e=t(Nn(n),Fn(n));return e.constant=function(e){return arguments.length?t(Nn(n=+e),Fn(n)):n},An(e)}function Wn(){var t=In(sn());return t.copy=function(){return an(t,Wn()).constant(t.constant())},L.apply(t,arguments)}function Rn(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function zn(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Un(t){return t<0?-t*t:t*t}function Bn(t){var n=t(nn,nn),e=1;function r(){return 1===e?t(nn,nn):.5===e?t(zn,Un):t(Rn(e),Rn(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},An(n)}function Hn(){var t=Bn(sn());return t.copy=function(){return an(t,Hn()).exponent(t.exponent())},L.apply(t,arguments),t}function qn(){return Hn.apply(null,arguments).exponent(.5)}function Yn(t){return Math.sign(t)*t*t}function Vn(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Gn(){var t,n=un(),e=[0,1],r=!1;function i(e){var i=Vn(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(Yn(t))},i.domain=function(t){return arguments.length?(n.domain(t),i):n.domain()},i.range=function(t){return arguments.length?(n.range((e=Array.from(t,Jt)).map(Yn)),i):e.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(n.clamp(t),i):n.clamp()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return Gn(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},L.apply(i,arguments),An(i)}function Kn(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function Zn(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function Xn(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function Qn(t,n,e=0,r=t.length-1,i){for(i=void 0===i?Xn:function(t=K){if(t===K)return Xn;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1