victory-brush-container
Advanced tools
Comparing version 35.9.3 to 35.10.0
@@ -1,2 +0,2 @@ | ||
!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.VictoryBrushContainer=n(require("react")):t.VictoryBrushContainer=n(t.React)}(window,(function(t){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=111)}([function(t,n,e){t.exports=e(56)()},function(n,e){n.exports=t},function(t,n,e){var r=e(22),o=e(13),i=e(26),a=e(50),u=Object.prototype,c=u.hasOwnProperty,l=r((function(t,n){t=Object(t);var e=-1,r=n.length,l=r>2?n[2]:void 0;for(l&&i(n[0],n[1],l)&&(r=1);++e<r;)for(var s=n[e],f=a(s),p=-1,h=f.length;++p<h;){var y=f[p],v=t[y];(void 0===v||o(v,u[y])&&!c.call(t,y))&&(t[y]=s[y])}return t}));t.exports=l},function(t,n,e){var r=e(28),o=e(7);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}},function(t,n,e){var r=e(14),o=e(53),i=e(54),a=e(27),u=e(55),c=e(5),l=Object.prototype.hasOwnProperty,s=i((function(t,n){if(u(n)||a(n))o(n,c(n),t);else for(var e in n)l.call(n,e)&&r(t,e,n[e])}));t.exports=s},function(t,n,e){var r=e(30)(Object.keys,Object);t.exports=r},function(t,n){var e=Array.isArray;t.exports=e},function(t,n){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},function(t,n,e){var r=e(19);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(t,n,e){"use strict";var r=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;t.exports=function(t,n){try{return function t(n,e){if(n===e)return!0;if(n&&e&&"object"==typeof n&&"object"==typeof e){var u,c,l,s=r(n),f=r(e);if(s&&f){if((c=n.length)!=e.length)return!1;for(u=c;0!=u--;)if(!t(n[u],e[u]))return!1;return!0}if(s!=f)return!1;var p=n instanceof Date,h=e instanceof Date;if(p!=h)return!1;if(p&&h)return n.getTime()==e.getTime();var y=n instanceof RegExp,v=e instanceof RegExp;if(y!=v)return!1;if(y&&v)return n.toString()==e.toString();var d=o(n);if((c=d.length)!==o(e).length)return!1;for(u=c;0!=u--;)if(!i.call(e,d[u]))return!1;if(a&&n instanceof Element&&e instanceof Element)return n===e;for(u=c;0!=u--;)if(!("_owner"===(l=d[u])&&n.$$typeof||t(n[l],e[l])))return!1;return!0}return n!=n&&e!=e}(t,n)}catch(t){if(t.message&&t.message.match(/stack|recursion/i)||-2146828260===t.number)return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}},function(t,n,e){var r=e(15),o=e(58),i=e(16);t.exports=function(t,n){var e={};return n=i(n,3),o(t,(function(t,o,i){r(e,o,n(t,o,i))})),e}},function(t,n,e){var r=e(13);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},function(t,n,e){var r=e(6),o=e(18),i=e(83),a=e(36);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,e){var r=e(15),o=e(13),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)}},function(t,n,e){var r=e(51);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},function(t,n,e){var r=e(61),o=e(81),i=e(23),a=e(6),u=e(20);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)}},function(t,n,e){var r=e(12),o=e(8);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}},function(t,n,e){var r=e(6),o=e(19),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))}},function(t,n){t.exports=function(){return!1}},function(t,n,e){var r=e(90),o=e(91),i=e(18),a=e(8);t.exports=function(t){return i(t)?r(a(t)):o(t)}},function(t,n,e){var r=e(94),o=e(97)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},function(t,n,e){var r=e(23),o=e(24),i=e(25);t.exports=function(t,n){return i(o(t,n,r),t+"")}},function(t,n){t.exports=function(t){return t}},function(t,n,e){var r=e(49),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 l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=e(c),r(t,this,l)}}},function(t,n){t.exports=function(t){return t}},function(t,n){t.exports=function(){return!1}},function(t,n,e){var r=e(3),o=e(29);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,n){t.exports=function(t,n){return function(e){return t(n(e))}}},function(t,n,e){var r=e(63),o=e(64),i=e(65),a=e(66),u=e(67);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},function(t,n,e){var r=e(68),o=e(33);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))}},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,n,e){var r=e(7);t.exports=function(t){return t==t&&!r(t)}},function(t,n){t.exports=function(t,n){return function(e){return null!=e&&(e[t]===n&&(void 0!==n||t in Object(e)))}}},function(t,n,e){var r=e(85);t.exports=function(t){return null==t?"":r(t)}},function(t,n,e){var r=e(38).Symbol;t.exports=r},function(t,n,e){var r=e(39),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,n,e){(function(n){var e="object"==typeof n&&n&&n.Object===Object&&n;t.exports=e}).call(this,e(86))},function(t,n,e){var r=e(88),o=e(89);t.exports=function(t,n){return null!=t&&o(t,n,r)}},function(t,n){t.exports=function(){return!1}},function(t,n){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},function(t,n){t.exports=function(t){return t}},function(t,n,e){var r=e(92),o=e(7);t.exports=function(t,n,e){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(e)&&(i="leading"in e?!!e.leading:i,a="trailing"in e?!!e.trailing:a),r(t,n,{leading:i,maxWait:n,trailing:a})}},function(t,n,e){var r=e(36),o=0;t.exports=function(t){var n=++o;return r(t)+n}},function(t,n,e){var r=e(102),o=e(103),i=e(104),a=i&&i.isRegExp,u=a?o(a):r;t.exports=u},function(t,n,e){var r=e(106)(e(107));t.exports=r},,function(t,n){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)}},function(t,n){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},function(t,n,e){var r=e(52),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n){t.exports=function(t,n){return null==t?void 0:t[n]}},function(t,n,e){var r=e(14),o=e(15);t.exports=function(t,n,e,i){var a=!e;e||(e={});for(var u=-1,c=n.length;++u<c;){var l=n[u],s=i?i(e[l],t[l],l,e,t):void 0;void 0===s&&(s=t[l]),a?o(e,l,s):r(e,l,s)}return e}},function(t,n,e){var r=e(22),o=e(26);t.exports=function(t){return r((function(n,e){var r=-1,i=e.length,a=i>1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(e[0],e[1],u)&&(a=i<3?void 0:a,i=1),n=Object(n);++r<i;){var c=e[r];c&&t(n,c,r,a)}return n}))}},function(t,n){t.exports=function(){return!1}},function(t,n,e){"use strict";var r=e(57);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,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}},function(t,n,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n,e){var r=e(59),o=e(5);t.exports=function(t,n){return t&&r(t,n,o)}},function(t,n,e){var r=e(60)();t.exports=r},function(t,n){t.exports=function(t){return function(n,e,r){for(var o=-1,i=Object(n),a=r(n),u=a.length;u--;){var c=a[t?u:++o];if(!1===e(i[c],c,i))break}return n}}},function(t,n,e){var r=e(62),o=e(80),i=e(35);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)}}},function(t,n,e){var r=e(31),o=e(32);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 l=e[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=e[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var h=new r;if(i)var y=i(f,p,s,t,n,h);if(!(void 0===y?o(p,f,3,i,h):y))return!1}}return!0}},function(t,n){t.exports=function(){this.__data__=[],this.size=0}},function(t,n,e){var r=e(11),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)}},function(t,n,e){var r=e(11);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},function(t,n,e){var r=e(11);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,n,e){var r=e(11);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}},function(t,n,e){var r=e(31),o=e(69),i=e(74),a=e(75),u=e(77),c=e(6),l=e(78),s=e(79),f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,h,y,v){var d=c(t),b=c(n),m=d?"[object Array]":u(t),g=b?"[object Array]":u(n),x=(m="[object Arguments]"==m?f:m)==f,w=(g="[object Arguments]"==g?f:g)==f,O=m==g;if(O&&l(t)){if(!l(n))return!1;d=!0,x=!1}if(O&&!x)return v||(v=new r),d||s(t)?o(t,n,e,h,y,v):i(t,n,m,e,h,y,v);if(!(1&e)){var j=x&&p.call(t,"__wrapped__"),M=w&&p.call(n,"__wrapped__");if(j||M){var P=j?t.value():t,_=M?n.value():n;return v||(v=new r),y(P,_,e,h,v)}}return!!O&&(v||(v=new r),a(t,n,e,h,y,v))}},function(t,n,e){var r=e(70),o=e(71),i=e(72);t.exports=function(t,n,e,a,u,c){var l=1&e,s=t.length,f=n.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),h=c.get(n);if(p&&h)return p==n&&h==t;var y=-1,v=!0,d=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++y<s;){var b=t[y],m=n[y];if(a)var g=l?a(m,b,y,n,t,c):a(b,m,y,t,n,c);if(void 0!==g){if(g)continue;v=!1;break}if(d){if(!o(n,(function(t,n){if(!i(d,n)&&(b===t||u(b,t,e,a,c)))return d.push(n)}))){v=!1;break}}else if(b!==m&&!u(b,m,e,a,c)){v=!1;break}}return c.delete(t),c.delete(n),v}},function(t,n,e){var r=e(6);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},function(t,n){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}},function(t,n,e){var r=e(73);t.exports=function(t,n){return!!(null==t?0:t.length)&&r(t,n,0)>-1}},function(t,n){t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,e){var r=e(76),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var c=1&e,l=r(t),s=l.length;if(s!=r(n).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in n:o.call(n,p)))return!1}var h=u.get(t),y=u.get(n);if(h&&y)return h==n&&y==t;var v=!0;u.set(t,n),u.set(n,t);for(var d=c;++f<s;){var b=t[p=l[f]],m=n[p];if(i)var g=c?i(m,b,p,n,t,u):i(b,m,p,t,n,u);if(!(void 0===g?b===m||a(b,m,e,i,u):g)){v=!1;break}d||(d="constructor"==p)}if(v&&!d){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(v=!1)}return u.delete(t),u.delete(n),v}},function(t,n,e){var r=e(30)(Object.keys,Object);t.exports=r},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n){t.exports=function(){return!1}},function(t,n){t.exports=function(){return!1}},function(t,n,e){var r=e(34),o=e(5);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}},function(t,n,e){var r=e(32),o=e(82),i=e(40),a=e(18),u=e(34),c=e(35),l=e(8);t.exports=function(t,n){return a(t)&&u(n)?c(l(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},function(t,n,e){var r=e(17);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},function(t,n,e){var r=e(84),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},function(t,n){t.exports=function(t){return t}},function(t,n,e){var r=e(37),o=e(87),i=e(6),a=e(19),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}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n){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}},function(t,n){t.exports=function(t,n){return null!=t&&n in Object(t)}},function(t,n,e){var r=e(12),o=e(41),i=e(6),a=e(42),u=e(29),c=e(8);t.exports=function(t,n,e){for(var l=-1,s=(n=r(n,t)).length,f=!1;++l<s;){var p=c(n[l]);if(!(f=null!=t&&e(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},function(t,n){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},function(t,n,e){var r=e(17);t.exports=function(t){return function(n){return r(n,t)}}},function(t,n,e){var r=e(7),o=e(93),i=e(43),a=Math.max,u=Math.min;t.exports=function(t,n,e){var c,l,s,f,p,h,y=0,v=!1,d=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(n){var e=c,r=l;return c=l=void 0,y=n,f=t.apply(r,e)}function g(t){return y=t,p=setTimeout(w,n),v?m(t):f}function x(t){var e=t-h;return void 0===h||e>=n||e<0||d&&t-y>=s}function w(){var t=o();if(x(t))return O(t);p=setTimeout(w,function(t){var e=n-(t-h);return d?u(e,s-(t-y)):e}(t))}function O(t){return p=void 0,b&&c?m(t):(c=l=void 0,f)}function j(){var t=o(),e=x(t);if(c=arguments,l=this,h=t,e){if(void 0===p)return g(h);if(d)return clearTimeout(p),p=setTimeout(w,n),m(h)}return void 0===p&&(p=setTimeout(w,n)),f}return n=i(n)||0,r(e)&&(v=!!e.leading,s=(d="maxWait"in e)?a(i(e.maxWait)||0,n):s,b="trailing"in e?!!e.trailing:b),j.cancel=function(){void 0!==p&&clearTimeout(p),y=0,c=h=l=p=void 0},j.flush=function(){return void 0===p?f:O(o())},j}},function(t,n,e){var r=e(38);t.exports=function(){return r.Date.now()}},function(t,n,e){var r=e(95),o=e(40);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},function(t,n,e){var r=e(17),o=e(96),i=e(12);t.exports=function(t,n,e){for(var a=-1,u=n.length,c={};++a<u;){var l=n[a],s=r(t,l);e(s,l)&&o(c,i(l,t),s)}return c}},function(t,n,e){var r=e(14),o=e(12),i=e(42),a=e(7),u=e(8);t.exports=function(t,n,e,c){if(!a(t))return t;for(var l=-1,s=(n=o(n,t)).length,f=s-1,p=t;null!=p&&++l<s;){var h=u(n[l]),y=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(l!=f){var v=p[h];void 0===(y=c?c(v,h,p):void 0)&&(y=a(v)?v:i(n[l+1])?[]:{})}r(p,h,y),p=p[h]}return t}},function(t,n,e){var r=e(98),o=e(24),i=e(25);t.exports=function(t){return i(o(t,void 0,r),t+"")}},function(t,n,e){var r=e(99);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},function(t,n,e){var r=e(100),o=e(101);t.exports=function t(n,e,i,a,u){var c=-1,l=n.length;for(i||(i=o),u||(u=[]);++c<l;){var s=n[c];e>0&&i(s)?e>1?t(s,e-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},function(t,n){t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},function(t,n,e){var r=e(37),o=e(41),i=e(6),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,n,e){var r=e(28),o=e(33);t.exports=function(t){return o(t)&&"[object RegExp]"==r(t)}},function(t,n){t.exports=function(t){return function(n){return t(n)}}},function(t,n,e){(function(t){var r=e(39),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,e(105)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,e){var r=e(16),o=e(27),i=e(5);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 l=t(n,e,a);return l>-1?u[c?n[l]:l]:void 0}}},function(t,n,e){var r=e(108),o=e(16),i=e(109),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)}},function(t,n){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}},function(t,n,e){var r=e(110);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},function(t,n,e){var r=e(43);t.exports=function(t){return t?(t=r(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,n,e){"use strict";e.r(n),e.d(n,"brushContainerMixin",(function(){return Lt})),e.d(n,"VictoryBrushContainer",(function(){return $t})),e.d(n,"BrushHelpers",(function(){return Ut}));var r=e(2),o=e.n(r),i=e(4),a=e.n(i),u=e(0),c=e.n(u),l=e(1),s=e.n(l);function f(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function p(t){return Array.isArray(t)&&t.length>0}function h(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}var y={containsDates:h,containsNumbers:function(t){return Array.isArray(t)&&t.some((function(t){return"number"==typeof t}))},containsOnlyStrings:function(t){return p(t)&&t.every((function(t){return"string"==typeof t}))},containsStrings:function(t){return Array.isArray(t)&&t.some((function(t){return"string"==typeof t}))},getMaxValue: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];var o=t.concat(e);return h(o)?new Date(Math.max.apply(Math,f(o))):Math.max.apply(Math,f(o))},getMinValue: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];var o=t.concat(e);return h(o)?new Date(Math.min.apply(Math,f(o))):Math.min.apply(Math,f(o))},isArrayOfArrays:function(t){return p(t)&&t.every(Array.isArray)},removeUndefined:function(t){return t.filter((function(t){return void 0!==t}))}};function v(t,n,e){var r=n.a,o=n.d,i=n.e,a=n.f;return"y"===e?o*t+a:r*t+i}function d(t){if(!t.nativeEvent||void 0===t.nativeEvent.identifier){var n=function(t){return"svg"===t.nodeName?t:t.parentNode?n(t.parentNode):t};return n(t.target)}}function b(t,n,e,r){var o=t.polar,i=t.horizontal;if(o){var a=t.origin||{x:0,y:0},u=e-a.x,c=r-a.y,l=Math.abs(u*Math.sqrt(1+Math.pow(-c/u,2))),s=(-Math.atan2(c,u)+2*Math.PI)%(2*Math.PI);return{x:n.x.invert(s),y:n.y.invert(l)}}return{x:i?n.x.invert(r):n.x.invert(e),y:i?n.y.invert(e):n.y.invert(r)}}var m={getParentSVG:d,getSVGEventCoordinates:function(t,n){if(t.nativeEvent&&void 0!==t.nativeEvent.identifier)return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};t=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;var e=function(t){return t.getScreenCTM().inverse()}(n=n||d(t));return{x:v(t.clientX,e,"x"),y:v(t.clientY,e,"y")}},getDomainCoordinates:function(t,n){var e=t.scale,r=t.horizontal;return n=n||{x:e.x.domain(),y:e.y.domain()},{x:r?[e.y(n.y[0]),e.y(n.y[1])]:[e.x(n.x[0]),e.x(n.x[1])],y:r?[e.x(n.x[0]),e.x(n.x[1])]:[e.y(n.y[0]),e.y(n.y[1])]}},getDataCoordinates:b,getBounds:function(t){var n=t.x1,e=t.x2,r=t.y1,o=t.y2,i=t.scale,a=b(t,i,n,r),u=b(t,i,e,o),c=function(t,n){return[y.getMinValue([t,n]),y.getMaxValue([t,n])]};return{x:c(a.x,u.x),y:c(a.y,u.y)}}},g=e(3),x=e.n(g),w=e(7),O=e.n(w),j=e(45),M=e.n(j),P=e(46),_=e.n(P),D=e(47),A=e.n(D),E=function(t){0};var S=function(t){var n=function(n,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>4?a-4:0),c=4;c<a;c++)u[c-4]=arguments[c];return t.apply(void 0,[e,r,o].concat(u))},e=n.bind(null,!1);return e.isRequired=n.bind(null,!0),e},C=function(){return null},T=function(){},B=function(t){return void 0===t?T:null===t?C:t.constructor},R=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)},k={deprecated:function(t,n){return function(e,r,o){var i=e[r];return null!=i&&E('"'.concat(r,'" property of "').concat(o,'" has been deprecated ').concat(n)),c.a.checkPropTypes(function(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}({},r,t),e,r,o)}},allOfType:function(t){return S((function(n,e,r){for(var o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];return t.reduce((function(t,o){return t||o.apply(void 0,[n,e,r].concat(i))}),void 0)}))},nonNegative:S((function(t,n,e){var r=t[n];if("number"!=typeof r||r<0)return new Error("`".concat(n,"` in `").concat(e,"` must be a non-negative number."))})),integer:S((function(t,n,e){var r=t[n];if("number"!=typeof r||r%1!=0)return new Error("`".concat(n,"` in `").concat(e,"` must be an integer."))})),greaterThanZero:S((function(t,n,e){var r=t[n];if("number"!=typeof r||r<=0)return new Error("`".concat(n,"` in `").concat(e,"` must be a number greater than zero."))})),domain:S((function(t,n,e){var r=t[n];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(n,"` in `").concat(e,"` must be an array of two unique numeric values."))})),scale:S((function(t,n,e){var r,o=["linear","time","log","sqrt"],i=t[n];if(r=i,!(x()(r)?x()(r.copy)&&x()(r.domain)&&x()(r.range):"string"==typeof r&&-1!==o.indexOf(r)))return new Error("`".concat(n,"` in `").concat(e,"` must be a d3 scale."))})),homogeneousArray:S((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)){var o=B(r[0]),i=A()(r,(function(t){return o!==B(t)}));if(i){var a=R(r[0]),u=R(i);return new Error("Expected `".concat(n,"` in `").concat(e,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}}})),matchDataLength:S((function(t,n){if(t[n]&&Array.isArray(t[n])&&t[n].length!==t.data.length)return new Error("Length of data and ".concat(n," arrays must match."))})),regExp:S((function(t,n,e){if(t[n]&&!_()(t[n]))return new Error("`".concat(n,"` in `").concat(e,"` must be a regular expression."))}))},I=e(5),z=e.n(I);function G(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 N(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var V=function(t){function n(t){var e;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=function(t,n){return!n||"object"!=typeof n&&"function"!=typeof n?N(t):n}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t))).map={},e.index=1,e.portalUpdate=e.portalUpdate.bind(N(e)),e.portalRegister=e.portalRegister.bind(N(e)),e.portalDeregister=e.portalDeregister.bind(N(e)),e}var e,r,o;return 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,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),e=n,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(t,n){this.map[t]=n,this.forceUpdate()}},{key:"portalDeregister",value:function(t){delete this.map[t],this.forceUpdate()}},{key:"getChildren",value:function(){var t=this;return z()(this.map).map((function(n){var e=t.map[n];return e?s.a.cloneElement(e,{key:n}):e}))}},{key:"render",value:function(){return s.a.createElement("svg",this.props,this.getChildren())}}])&&G(e.prototype,r),o&&G(e,o),n}(s.a.Component);Object.defineProperty(V,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(V,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:c.a.string,height:k.nonNegative,style:c.a.object,viewBox:c.a.string,width:k.nonNegative}});var U=s.a.createContext({});U.displayName="PortalContext";var W,F,H=U,q=0,X=0,Y=0,L=0,$=0,Z=0,J="object"==typeof performance&&performance.now?performance:Date,K="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Q(){return $||(K(tt),$=J.now()+Z)}function tt(){$=0}function nt(){this._call=this._time=this._next=null}function et(t,n,e){var r=new nt;return r.restart(t,n,e),r}function rt(){$=(L=J.now())+Z,q=X=0;try{!function(){Q(),++q;for(var t,n=W;n;)(t=$-n._time)>=0&&n._call.call(null,t),n=n._next;--q}()}finally{q=0,function(){var t,n,e=W,r=1/0;for(;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:W=n);F=t,it(r)}(),$=0}}function ot(){var t=J.now(),n=t-L;n>1e3&&(Z-=n,L=t)}function it(t){q||(X&&(X=clearTimeout(X)),t-$>24?(t<1/0&&(X=setTimeout(rt,t-J.now()-Z)),Y&&(Y=clearInterval(Y))):(Y||(L=J.now(),Y=setInterval(ot,1e3)),q=1,K(rt)))}function at(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)}}nt.prototype=et.prototype={constructor:nt,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Q():+e)+(null==n?0:+n),this._next||F===this||(F?F._next=this:W=this,F=this),this._call=t,this._time=e,it()},stop:function(){this._call&&(this._call=null,this._time=1/0,it())}};var ut=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var n,e,r;return n=t,(e=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(t){t.callback(Q()-t.startTime,t.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=et(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,n){n=this.shouldAnimate?n:0;var e=this.subscribers.push({startTime:Q(),callback:t,duration:n});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()}}])&&at(n.prototype,e),r&&at(n,r),t}(),ct=s.a.createContext({transitionTimer:new ut,animationTimer:new ut});ct.displayName="TimerContext";var lt=ct,st=e(21),ft=e.n(st),pt=e(20),ht=e.n(pt);function yt(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 vt(t){var n=function(t){return void 0!==t},e=t._x,r=t._x1,i=t._x0,a=t._voronoiX,u=t._y,c=t._y1,l=t._y0,s=t._voronoiY,f=n(r)?r:e,p=n(c)?c:u,h={x:n(a)?a:f,x0:n(i)?i:e,y:n(s)?s:p,y0:n(l)?l:u};return o()({},h,t)}function dt(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 bt(t){return"tooltip"===(t&&t.type&&t.type.role)}function mt(t,n){return x()(t)?t(n):t}function gt(t){return"number"==typeof t?t*(Math.PI/180):t}function xt(t){var n=dt(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 wt(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=t||r.horizontal:n(s.a.Children.toArray(r.children))}),!1)};return n(s.a.Children.toArray(t.children))}var Ot={omit:yt,getPoint:vt,scalePoint:function(t,n){var e=t.scale,r=t.polar,o=t.horizontal,i=vt(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),l=o?e.x(i.x):e.y(i.y),s=o?e.x(i.x0):e.y(i.y0);return{x:r?l*Math.cos(u)+a.x:u,x0:r?s*Math.cos(c)+a.x:c,y:r?-l*Math.sin(u)+a.y:l,y0:r?-s*Math.sin(c)+a.x:s}},getPadding:dt,getDefaultStyles:function(t,n){var e=t.theme,r=void 0===e?{}:e,i=t.labelComponent,a=r[n]&&r[n].style||{};if(!bt(i))return a;var u=r.tooltip&&r.tooltip.style||{},c=o()({},u,a.labels);return o()({},{labels:c},a)},getStyles:function(t,n){if(!t)return o()({parent:{height:"100%",width:"100%"}},n);var e=t.data,r=t.labels,i=t.parent,a=n&&n.parent||{},u=n&&n.labels||{},c=n&&n.data||{};return{parent:o()({},i,a,{width:"100%",height:"100%"}),labels:o()({},r,u),data:o()({},e,c)}},evaluateProp:mt,evaluateStyle:function(t,n){return n.disableInlineStyles?{}:t&&z()(t).some((function(n){return x()(t[n])}))?z()(t).reduce((function(e,r){return e[r]=mt(t[r],n),e}),{}):t},degreesToRadians:gt,radiansToDegrees:function(t){return"number"==typeof t?t/(Math.PI/180):t},getRadius:xt,getPolarOrigin:function(t){var n=t.width,e=t.height,r=dt(t),o=r.top,i=r.bottom,a=r.left,u=r.right,c=Math.min(n-a-u,e-o-i)/2,l=n/2+a-u,s=e/2+o-i;return{x:l+c>n?c+a-u:l,y:s+c>e?c+o-i:s}},getRange:function(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?[gt(t.startAngle||0),gt(t.endAngle||360)]:[t.innerRadius||0,xt(t)]}(t,n):function(t,n){var e="x"!==n,r=dt(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)},createAccessor:function(t){return x()(t)?t:null==t?function(t){return t}:ht()(t)},modifyProps:function(t,n,e){var r=yt(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=wt(t),a=void 0===i?{}:{horizontal:i};return o()(a,t,r,n)},getCurrentAxis:function(t,n){return n?"x"===t?"y":"x":t},reduceChildren:function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(t,n){return t.concat(n)},i=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],u=function(t,c,l){return t.reduce((function(t,r,f){var p=r.type&&r.type.role,h=r.props.name||"".concat(p,"-").concat(c[f]);if(r.props&&r.props.children){var y=a()({},r.props,ft()(e,i)),v=r.type&&"stack"===r.type.role&&x()(r.type.getChildren)?r.type.getChildren(y):s.a.Children.toArray(r.props.children).map((function(t){var n=a()({},t.props,ft()(y,i));return s.a.cloneElement(t,n)})),d=v.map((function(t,n){return"".concat(h,"-").concat(n)})),b=u(v,d,r);t=o(t,b)}else{var m=n(r,h,l);m&&(t=o(t,m))}return t}),r)},c=t.map((function(t,n){return n}));return u(t,c)},isHorizontal:wt,isTooltip:bt};function jt(){return(jt=Object.assign||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}).apply(this,arguments)}function Mt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),r.forEach((function(n){Pt(t,n,e[n])}))}return t}function Pt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function _t(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 Dt(t,n){return!n||"object"!=typeof n&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}var At=function(t){function n(t){var e;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=Dt(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t))).containerId=O()(t)&&void 0!==t.containerId?t.containerId:M()("victory-container-"),e.savePortalRef=function(t){return e.portalRef=t,t},e.portalUpdate=function(t,n){return e.portalRef.portalUpdate(t,n)},e.portalRegister=function(){return e.portalRef.portalRegister()},e.portalDeregister=function(t){return e.portalRef.portalDeregister(t)},e.saveContainerRef=t&&x()(t.containerRef)?t.containerRef:function(t){return e.containerRef=t,t},e.shouldHandleWheel=t&&t.events&&t.events.onWheel,e.shouldHandleWheel&&(e.handleWheel=function(t){return t.preventDefault()}),e}var e,r,i;return 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,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),e=n,(r=[{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 Mt({},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,i=t.desc,u=t.portalComponent,c=t.className,l=t.width,f=t.height,p=t.portalZIndex,h=t.responsive,y=this.getChildren(t),v=h?{width:"100%",height:"100%"}:{width:l,height:f},d=a()({pointerEvents:"none",touchAction:"none",position:"relative"},v),b=a()({zIndex:p,position:"absolute",top:0,left:0},v),m=a()({pointerEvents:"all"},v),g=a()({overflow:"visible"},v),x={width:l,height:f,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:g};return s.a.createElement(H.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},s.a.createElement("div",jt({style:o()({},e,d),className:c,ref:this.saveContainerRef},this.getOUIAProps(t)),s.a.createElement("svg",jt({},n,{style:m}),r?s.a.createElement("title",{id:this.getIdForElement("title")},r):null,i?s.a.createElement("desc",{id:this.getIdForElement("desc")},i):null,y),s.a.createElement("div",{style:b},s.a.cloneElement(u,Mt({},x,{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,u=t.desc,c=t.tabIndex,l=t.preserveAspectRatio,s=t.role,f=r?this.props.style:Ot.omit(this.props.style,["height","width"]),p=a()({width:n,height:e,tabIndex:c,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[u&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(n," ").concat(e):void 0,preserveAspectRatio:r?l:void 0},o);return this.renderContainer(this.props,p,f)}}])&&_t(e.prototype,r),i&&_t(e,i),n}(s.a.Component);function Et(){return(Et=Object.assign||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}).apply(this,arguments)}Object.defineProperty(At,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(At,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(At,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":c.a.string,"aria-labelledby":c.a.string,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),className:c.a.string,containerId:c.a.oneOfType([c.a.number,c.a.string]),containerRef:c.a.func,desc:c.a.string,events:c.a.object,height:k.nonNegative,name:c.a.string,origin:c.a.shape({x:k.nonNegative,y:k.nonNegative}),ouiaId:c.a.oneOfType([c.a.number,c.a.string]),ouiaSafe:c.a.bool,ouiaType:c.a.string,polar:c.a.bool,portalComponent:c.a.element,portalZIndex:k.integer,preserveAspectRatio:c.a.string,responsive:c.a.bool,role:c.a.string,style:c.a.object,tabIndex:c.a.number,theme:c.a.object,title:c.a.string,width:k.nonNegative}}),Object.defineProperty(At,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:s.a.createElement(V,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(At,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:lt});var St=function(t){var n=t.desc,e=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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)e=a[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,["desc"]);return n?s.a.createElement("rect",Et({vectorEffect:"non-scaling-stroke"},e),s.a.createElement("desc",null,n)):s.a.createElement("rect",Et({vectorEffect:"non-scaling-stroke"},e))},Ct=e(10),Tt=e.n(Ct),Bt=e(44),Rt=e.n(Bt),kt=e(9),It=e.n(kt);function zt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),r.forEach((function(n){Gt(t,n,e[n])}))}return t}function Gt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Nt(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Vt={getDimension:function(t){var n=t.horizontal,e=t.brushDimension;return n&&e?"x"===e?"y":"x":e},withinBounds:function(t,n,e){var r=Tt()(n,Number),o=r.x1,i=r.x2,a=r.y1,u=r.y2,c=Tt()(t,Number),l=c.x,s=c.y;return l+(e=e?e/2:0)>=Math.min(o,i)&&l-e<=Math.max(o,i)&&s+e>=Math.min(a,u)&&s-e<=Math.max(a,u)},getDomainBox:function(t,n,e){var r=this.getDimension(t);n=o()({},n,t.domain),e=o()({},e,n);var i=m.getDomainCoordinates(t,n),a=m.getDomainCoordinates(t,e);return{x1:"y"!==r?Math.min.apply(Math,Nt(a.x)):Math.min.apply(Math,Nt(i.x)),x2:"y"!==r?Math.max.apply(Math,Nt(a.x)):Math.max.apply(Math,Nt(i.x)),y1:"x"!==r?Math.min.apply(Math,Nt(a.y)):Math.min.apply(Math,Nt(i.y)),y2:"x"!==r?Math.max.apply(Math,Nt(a.y)):Math.max.apply(Math,Nt(i.y))}},getHandles:function(t,n){var e=this.getDimension(t),r=n.x1,o=n.x2,i=n.y1,a=n.y2,u=Math.min(r,o),c=Math.max(r,o),l=Math.min(i,a),s=Math.max(i,a),f=t.handleWidth/2;return{left:"y"!==e&&{x1:u-f,x2:u+f,y1:i,y2:a},right:"y"!==e&&{x1:c-f,x2:c+f,y1:i,y2:a},top:"x"!==e&&{x1:r,x2:o,y1:l-f,y2:l+f},bottom:"x"!==e&&{x1:r,x2:o,y1:s-f,y2:s+f}}},getActiveHandles:function(t,n,e){var r=this,o=this.getHandles(n,e),i=["top","bottom","left","right"].reduce((function(n,e){return n=o[e]&&r.withinBounds(t,o[e])?n.concat(e):n}),[]);return i.length&&i},getResizeMutation:function(t,n){var e=t.x1,r=t.y1,o=t.x2,i=t.y2,u={left:{x1:Math.max(e,o),x2:Math.min(e,o),y1:r,y2:i},right:{x1:Math.min(e,o),x2:Math.max(e,o),y1:r,y2:i},top:{y1:Math.max(r,i),y2:Math.min(r,i),x1:e,x2:o},bottom:{y1:Math.min(r,i),y2:Math.max(r,i),x1:e,x2:o}};return n.reduce((function(t,n){return a()(t,u[n])}),{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(t,n,e){var r=t.domain,o=t.fullDomain,i=t.scale,a=t.horizontal,u=t.allowResize||t.defaultBrushArea?t.defaultBrushArea:"move";if("none"===u)return this.getMinimumDomain();if("disable"===u)return n;if("move"===u){var c=this.getDomainBox(t,o,n),l=t.parentSVG||m.getParentSVG(e),s=this.panBox(zt({},t,c,{brushDomain:n,startX:(c.x1+c.x2)/2,startY:(c.y1+c.y2)/2}),m.getSVGEventCoordinates(e,l)),f=t.fullDomainBox||this.getDomainBox(t,o),p=this.constrainBox(s,f);return m.getBounds(zt({},p,{scale:i,horizontal:a}))}return r},getSelectionMutation:function(t,n,e){var r=t.x,o=t.y,i=n.x1,a=n.x2,u=n.y1,c=n.y2;return{x1:"y"!==e?r:i,y1:"x"!==e?o:u,x2:"y"!==e?r:a,y2:"x"!==e?o:c}},panBox:function(t,n){var e=t.domain,r=t.startX,i=t.startY,a=this.getDimension(t),u=o()({},t.brushDomain,e),c=o()({},t.fullDomain,e),l=t.x1?t:this.getDomainBox(t,c,u),s=l.x1,f=l.x2,p=l.y1,h=l.y2,y=n.x,v=n.y,d=r?r-y:0,b=i?i-v:0;return{x1:"y"!==a?Math.min(s,f)-d:Math.min(s,f),x2:"y"!==a?Math.max(s,f)-d:Math.max(s,f),y1:"x"!==a?Math.min(p,h)-b:Math.min(p,h),y2:"x"!==a?Math.max(p,h)-b:Math.max(p,h)}},constrainBox:function(t,n){var e=Tt()(n,Number),r=e.x1,o=e.y1,i=e.x2,a=e.y2;return{x1:t.x2>i?i-Math.abs(t.x2-t.x1):Math.max(t.x1,r),y1:t.y2>a?a-Math.abs(t.y2-t.y1):Math.max(t.y1,o),x2:t.x1<r?r+Math.abs(t.x2-t.x1):Math.min(t.x2,i),y2:t.y1<o?o+Math.abs(t.y2-t.y1):Math.min(t.y2,a)}},constrainPoint:function(t,n){var e=Tt()(n,Number),r=e.x1,o=e.y1,i=e.x2,a=e.y2;return{x:Math.min(Math.max(t.x,r),i),y:Math.min(Math.max(t.y,o),a)}},hasMoved:function(t){var n=t.x1,e=t.x2,r=t.y1,o=t.y2,i=t.mouseMoveThreshold,a=this.getDimension(t),u=Math.abs(n-e)>=i,c=Math.abs(r-o)>=i;switch(a){case"x":return u;case"y":return c;default:return u||c}},onMouseDown:function(t,n){var e=this;t.preventDefault();var r=n.handleWidth,i=n.cachedBrushDomain,a=n.domain,u=n.allowResize,c=n.allowDrag,l=n.allowDraw,s=this.getDimension(n),f=u||n.defaultBrushArea?n.defaultBrushArea:"move";if(!u&&!c)return{};var p=n.fullDomainBox||this.getDomainBox(n,a),h=n.parentSVG||m.getParentSVG(t),y=m.getSVGEventCoordinates(t,h),v=y.x,d=y.y;if(!this.withinBounds({x:v,y:d},p,r))return{};var b=o()({},n.brushDomain,a),g=It()(b,i)?n.currentDomain||b||a:b||a,x=this.getDomainBox(n,a,g),w=u&&this.getActiveHandles({x:v,y:d},n,x);return w?[{target:"parent",mutation:function(){return zt({isSelecting:!0,domainBox:x,fullDomainBox:p,cachedBrushDomain:b,currentDomain:g,parentSVG:h},e.getResizeMutation(x,w))}}]:this.withinBounds({x:v,y:d},x)&&!It()(a,g)?[{target:"parent",mutation:function(){return zt({isPanning:c,startX:v,startY:d,domainBox:x,fullDomainBox:p,currentDomain:g,cachedBrushDomain:b,parentSVG:h},x)}}]:l?[{target:"parent",mutation:function(){return zt({isSelecting:u||"move"===f,domainBox:x,fullDomainBox:p,parentSVG:h,cachedBrushDomain:b,cachedCurrentDomain:g,currentDomain:e.getMinimumDomain()},e.getSelectionMutation({x:v,y:d},x,s))}}]:{}},onGlobalMouseMove:function(t,n){var e=n.scale,r=n.isPanning,i=n.isSelecting,a=n.fullDomainBox,u=n.onBrushDomainChange,c=n.allowResize,l=n.allowDrag,s=n.horizontal,f=n.mouseMoveThreshold,p=n.parentSVG,h=this.getDimension(n),y=m.getSVGEventCoordinates(t,p),v=y.x,d=y.y;if(!c&&!l||f>0&&!this.hasMoved(zt({},n,{x2:v,y2:d})))return{};if(l&&r){var b=n.startX,g=n.startY,w=this.panBox(n,{x:v,y:d}),O=this.constrainBox(w,a),j=m.getBounds(zt({},O,{scale:e,horizontal:s})),M=zt({currentDomain:j,parentSVG:p,startX:w.x2>=a.x2||w.x1<=a.x1?b:v,startY:w.y2>=a.y2||w.y1<=a.y1?g:d},O);return x()(u)&&u(j,o()({},M,n)),[{target:"parent",mutation:function(){return M}}]}if(c&&i){var P=this.constrainPoint({x:"y"!==h?v:n.x2,y:"x"!==h?d:n.y2},a),_=P.x,D=P.y,A=m.getBounds({x2:_,y2:D,x1:n.x1,y1:n.y1,scale:e,horizontal:s}),E={x2:_,y2:D,currentDomain:A,parentSVG:p};return x()(u)&&u(A,o()({},E,n)),[{target:"parent",mutation:function(){return E}}]}return{}},onGlobalMouseUp:function(t,n){if(!n.isPanning&&!n.isSelecting)return{};var e=n.x1,r=n.y1,i=n.x2,a=n.y2,u=n.isPanning,c=n.isSelecting,l=n.onBrushDomainChange,s=n.onBrushDomainChangeEnd,f=n.onBrushCleared,p=n.currentDomain,h=n.allowResize,y=n.allowDrag,v=h||n.defaultBrushArea?n.defaultBrushArea:"move",d={isPanning:!1,isSelecting:!1};if(!h&&!(void 0!==v&&"none"!==v)||e!==i&&r!==a)(y&&u||h&&c)&&x()(s)&&s(p,o()({},d,n));else{var b=n.cachedCurrentDomain||p,m=this.getDefaultBrushArea(n,b,t);d.currentDomain=m,x()(l)&&l(m,o()({},d,n)),x()(s)&&s(m,o()({},d,n)),x()(f)&&f(m,o()({},d,n))}return[{target:"parent",mutation:function(){return d}}]}},Ut=zt({},Vt,{onMouseDown:Vt.onMouseDown.bind(Vt),onGlobalMouseUp:Vt.onGlobalMouseUp.bind(Vt),onGlobalMouseMove:Rt()(Vt.onGlobalMouseMove.bind(Vt),16,{leading:!0,trailing:!1})});function Wt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),r.forEach((function(n){Ft(t,n,e[n])}))}return t}function Ft(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Ht(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function qt(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Xt(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 Yt(t,n){return!n||"object"!=typeof n&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}var Lt=function(t){var n,e;return e=n=function(t){function n(){return qt(this,n),Yt(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}var e,r,i;return 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,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),e=n,(r=[{key:"getSelectBox",value:function(t,n){var e=n.x,r=n.y,i=t.brushStyle,a=t.brushComponent,u=t.name,c=a.props&&a.props.style,l=t.allowDrag||t.allowResize?"move":"auto";return e[0]!==e[1]&&r[0]!==r[1]?s.a.cloneElement(a,{key:"".concat(u,"-brush"),width:Math.abs(e[1]-e[0])||1,height:Math.abs(r[1]-r[0])||1,x:Math.min(e[0],e[1]),y:Math.min(r[0],r[1]),cursor:l,style:o()({},c,i)}):null}},{key:"getCursorPointers",value:function(t){var n={yProps:"ns-resize",xProps:"ew-resize"};return!t.allowResize&&t.allowDrag?(n.xProps="move",n.yProps="move"):t.allowResize||t.allowDrag||(n.xProps="auto",n.yProps="auto"),n}},{key:"getHandles",value:function(t,n){var e=t.handleWidth,r=t.handleStyle,i=t.handleComponent,u=t.name,c=Ut.getDomainBox(t,n),l=c.x1,f=c.x2,p=c.y1,h=c.y2,y=Ut.getHandles(t,c),v=y.top,d=y.bottom,b=y.left,m=y.right,g=Math.abs(f-l)||1,x=Math.abs(h-p)||1,w=i.props&&i.props.style||{},O=o()({},w,r),j=this.getCursorPointers(t),M={style:O,width:g,height:e,cursor:j.yProps},P={style:O,width:e,height:x,cursor:j.xProps},_={top:v&&a()({x:v.x1,y:v.y1},M),bottom:d&&a()({x:d.x1,y:d.y1},M),left:b&&a()({y:b.y1,x:b.x1},P),right:m&&a()({y:m.y1,x:m.x1},P)},D=["top","bottom","left","right"].reduce((function(t,n){return t=_[n]?t.concat(s.a.cloneElement(i,a()({key:"".concat(u,"-handle-").concat(n)},_[n]))):t}),[]);return D.length?D:null}},{key:"getRect",value:function(t){var n=t.currentDomain,e=t.cachedBrushDomain,r=o()({},t.brushDomain,t.domain),i=It()(r,e)?o()({},n,r):r,a=m.getDomainCoordinates(t,i),u=this.getSelectBox(t,a);return u?[u,this.getHandles(t,i)]:[]}},{key:"getChildren",value:function(t){return Ht(s.a.Children.toArray(t.children)).concat(Ht(this.getRect(t)))}}])&&Xt(e.prototype,r),i&&Xt(e,i),n}(t),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Wt({},At.propTypes,{allowDrag:c.a.bool,allowDraw:c.a.bool,allowResize:c.a.bool,brushComponent:c.a.element,brushDimension:c.a.oneOf(["x","y"]),brushDomain:c.a.shape({x:c.a.array,y:c.a.array}),brushStyle:c.a.object,defaultBrushArea:c.a.oneOf(["all","disable","none","move"]),disable:c.a.bool,handleComponent:c.a.element,handleStyle:c.a.object,handleWidth:c.a.number,onBrushCleared:c.a.func,onBrushDomainChange:c.a.func,onBrushDomainChangeEnd:c.a.func})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Wt({},At.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:s.a.createElement(St,null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:s.a.createElement(St,null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8,mouseMoveThreshold:0})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(t){return[{target:"parent",eventHandlers:{onMouseDown:function(n,e){return t.disable?{}:Ut.onMouseDown(n,e)},onTouchStart:function(n,e){return t.disable?{}:Ut.onMouseDown(n,e)},onGlobalMouseMove:function(n,e){return t.disable||!e.isPanning&&!e.isSelecting?{}:Ut.onGlobalMouseMove(n,e)},onGlobalTouchMove:function(n,e){return t.disable||!e.isPanning&&!e.isSelecting?{}:Ut.onGlobalMouseMove(n,e)},onGlobalMouseUp:function(n,e){return t.disable?{}:Ut.onGlobalMouseUp(n,e)},onGlobalTouchEnd:function(n,e){return t.disable?{}:Ut.onGlobalMouseUp(n,e)},onGlobalTouchCancel:function(n,e){return t.disable?{}:Ut.onGlobalMouseUp(n,e)}}}]}}),e},$t=Lt(At)}])})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryBrushContainer=t(require("react")):e.VictoryBrushContainer=t(e.React)}(self,(function(e){return(()=>{var t={1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),o=n(6582),i=n(3867),a=n(9557),u=n(2726);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];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,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},6460:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),o=n(6530),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},528:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},314:(e,t,n)=>{var r=n(3848),o=n(1754);e.exports=function e(t,n,i,a,u){var c=-1,l=t.length;for(i||(i=o),u||(u=[]);++c<l;){var s=t[c];n>0&&i(s)?n>1?e(s,n-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},641:(e,t,n)=>{var r=n(2630)();e.exports=r},5897:(e,t,n)=>{var r=n(641),o=n(2635);e.exports=function(e,t){return e&&r(e,t,o)}},166:(e,t,n)=>{var r=n(8422),o=n(8780);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1071:(e,t,n)=>{var r=n(7229),o=n(3387);e.exports=function e(t,n,i,a,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,u))}},7229:(e,t,n)=>{var r=n(4281),o=n(2503),i=n(6001),a=n(8784),u=n(6686),c=n(7236),l=n(8752),s=n(4812),f="[object Arguments]",p="[object Array]",h="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,b,d){var m=c(e),x=c(t),g=m?p:u(e),w=x?p:u(t),O=(g=g==f?h:g)==h,j=(w=w==f?h:w)==h,M=g==w;if(M&&l(e)){if(!l(t))return!1;m=!0,O=!1}if(M&&!O)return d||(d=new r),m||s(e)?o(e,t,n,y,b,d):i(e,t,g,n,y,b,d);if(!(1&n)){var _=O&&v.call(e,"__wrapped__"),D=j&&v.call(t,"__wrapped__");if(_||D){var E=_?e.value():e,P=D?t.value():t;return d||(d=new r),b(E,P,n,y,d)}}return!!M&&(d||(d=new r),a(e,t,n,y,b,d))}},9157:(e,t,n)=>{var r=n(4281),o=n(1071);e.exports=function(e,t,n,i){var a=n.length,u=a,c=!i;if(null==e)return!u;for(e=Object(e);a--;){var l=n[a];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<u;){var s=(l=n[a])[0],f=e[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in e))return!1}else{var h=new r;if(i)var v=i(f,p,s,e,t,h);if(!(void 0===v?o(p,f,3,i,h):v))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),o=n(3387);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),o=n(4555),i=n(5362),a=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},8418:(e,t,n)=>{var r=n(9157),o=n(9182),i=n(7375);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),o=n(3795),i=n(3646),a=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return a(e)&&u(t)?c(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},7410:(e,t,n)=>{var r=n(6621),o=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6621:(e,t,n)=>{var r=n(166),o=n(8116),i=n(8422);e.exports=function(e,t,n){for(var a=-1,u=t.length,c={};++a<u;){var l=t[a],s=r(e,l);n(s,l)&&o(c,i(l,e),s)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},4569:(e,t,n)=>{var r=n(5362),o=n(4468),i=n(8756);e.exports=function(e,t){return i(o(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),o=n(8422),i=n(4363),a=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!a(e))return e;for(var l=-1,s=(t=o(t,e)).length,f=s-1,p=e;null!=p&&++l<s;){var h=u(t[l]),v=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=f){var y=p[h];void 0===(v=c?c(y,h,p):void 0)&&(v=a(y)?y:i(t[l+1])?[]:{})}r(p,h,v),p=p[h]}return e}},454:(e,t,n)=>{var r=n(4690),o=n(6460),i=n(7236),a=n(2945),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),o=n(3266),i=n(3879),a=n(1119);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},6051:(e,t,n)=>{var r=n(7596),o=n(999);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=i?i(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),a?o(n,l,s):r(n,l,s)}return n}},2544:(e,t,n)=>{var r=n(4569),o=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},2630:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var c=a[e?u:++o];if(!1===n(i[c],c,i))break}return t}}},3086:(e,t,n)=>{var r=n(8904),o=n(1580),i=n(2635);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var c=r(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,a);return l>-1?u[c?t[l]:l]:void 0}}},9346:(e,t,n)=>{var r=n(4457),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},2503:(e,t,n)=>{var r=n(1124),o=n(4793),i=n(555);e.exports=function(e,t,n,a,u,c){var l=1&n,s=e.length,f=t.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var v=-1,y=!0,b=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++v<s;){var d=e[v],m=t[v];if(a)var x=l?a(m,d,v,t,e,c):a(d,m,v,e,t,c);if(void 0!==x){if(x)continue;y=!1;break}if(b){if(!o(t,(function(e,t){if(!i(b,t)&&(d===e||u(d,e,n,a,c)))return b.push(t)}))){y=!1;break}}else if(d!==m&&!u(d,m,n,a,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var c=1&n,l=r(e),s=l.length;if(s!=r(t).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in t:o.call(t,p)))return!1}var h=u.get(e),v=u.get(t);if(h&&v)return h==t&&v==e;var y=!0;u.set(e,t),u.set(t,e);for(var b=c;++f<s;){var d=e[p=l[f]],m=t[p];if(i)var x=c?i(m,d,p,t,e,u):i(d,m,p,e,t,u);if(!(void 0===x?d===m||a(d,m,n,i,u):x)){y=!1;break}b||(b="constructor"==p)}if(y&&!b){var g=e.constructor,w=t.constructor;g==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),o=n(4468),i=n(8756);e.exports=function(e){return i(o(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},9182:(e,t,n)=>{var r=n(1457),o=n(2635);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),o=n(6981),i=n(7236),a=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,s=(t=r(t,e)).length,f=!1;++l<s;){var p=c(t[l]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++l!=s?f:!!(s=null==e?0:e.length)&&u(s)&&a(p,s)&&(i(e)||o(e))}},1754:(e,t,n)=>{var r=n(4690),o=n(6981),i=n(7236),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),o=n(2945),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,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(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a<u;)c[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},8780:e=>{e.exports=function(e){return e}},6782:(e,t,n)=>{var r=n(7596),o=n(6051),i=n(2544),a=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,s=i((function(e,t){if(u(t)||a(t))o(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=s},5750:(e,t,n)=>{var r=n(5973),o=n(8148),i=n(8746),a=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,s,f,p,h,v=0,y=!1,b=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=c,r=l;return c=l=void 0,v=t,f=e.apply(r,n)}function x(e){return v=e,p=setTimeout(w,t),y?m(e):f}function g(e){var n=e-h;return void 0===h||n>=t||n<0||b&&e-v>=s}function w(){var e=o();if(g(e))return O(e);p=setTimeout(w,function(e){var n=t-(e-h);return b?u(n,s-(e-v)):n}(e))}function O(e){return p=void 0,d&&c?m(e):(c=l=void 0,f)}function j(){var e=o(),n=g(e);if(c=arguments,l=this,h=e,n){if(void 0===p)return x(h);if(b)return clearTimeout(p),p=setTimeout(w,t),m(h)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(y=!!n.leading,s=(b="maxWait"in n)?a(i(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d),j.cancel=function(){void 0!==p&&clearTimeout(p),v=0,c=h=l=p=void 0},j.flush=function(){return void 0===p?f:O(o())},j}},7901:(e,t,n)=>{var r=n(4569),o=n(6530),i=n(3108),a=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&i(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=a(s),p=-1,h=f.length;++p<h;){var v=f[p],y=e[v];(void 0===y||o(y,u[v])&&!c.call(e,v))&&(e[v]=s[v])}return e}));e.exports=l},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),o=n(8904),i=n(5225),a=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:i(n);return c<0&&(c=a(u+c,0)),r(e,o(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3646:(e,t,n)=>{var r=n(7),o=n(7383);e.exports=function(e,t){return null!=e&&o(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),o=n(9216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},8752:e=>{e.exports=function(){return!1}},3839:(e,t,n)=>{var r=n(4318),o=n(5973);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2654:(e,t,n)=>{var r=n(1131),o=n(6535),i=n(1782),a=i&&i.isRegExp,u=a?o(a):r;e.exports=u},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},3792:(e,t,n)=>{var r=n(999),o=n(5897),i=n(8904);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},8148:(e,t,n)=>{var r=n(441);e.exports=function(){return r.Date.now()}},8423:(e,t,n)=>{var r=n(7410),o=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},1651:(e,t,n)=>{var r=n(1712),o=n(4815),i=n(3266),a=n(8780);e.exports=function(e){return i(e)?r(a(e)):o(e)}},3259:(e,t,n)=>{var r=n(5750),o=n(5973);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:e=>{e.exports=function(e){return e}},1119:(e,t,n)=>{var r=n(454);e.exports=function(e){return null==e?"":r(e)}},556:(e,t,n)=>{var r=n(1119),o=0;e.exports=function(e){var t=++o;return r(e)+t}},459:(e,t,n)=>{"use strict";var r=n(5704);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,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 t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var u,c,l,s=t(e),f=t(a);if(s&&f){if((c=e.length)!=a.length)return!1;for(u=c;0!=u--;)if(!i(e[u],a[u]))return!1;return!0}if(s!=f)return!1;var p=e instanceof Date,h=a instanceof Date;if(p!=h)return!1;if(p&&h)return e.getTime()==a.getTime();var v=e instanceof RegExp,y=a instanceof RegExp;if(v!=y)return!1;if(v&&y)return e.toString()==a.toString();var b=n(e);if((c=b.length)!==n(a).length)return!1;for(u=c;0!=u--;)if(!r.call(a,b[u]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(u=c;0!=u--;)if(!("_owner"===(l=b[u])&&e.$$typeof||i(e[l],a[l])))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},4698:t=>{"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e](i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{BrushHelpers:()=>Pe,VictoryBrushContainer:()=>Ie,brushContainerMixin:()=>Ce});var e=r(7901),t=r.n(e),n=r(6782),i=r.n(n),a=r(216),u=r.n(a),c=r(4698),l=r.n(c);function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return f(o)?new Date(Math.max.apply(Math,s(o))):Math.max.apply(Math,s(o))}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return f(o)?new Date(Math.min.apply(Math,s(o))):Math.min.apply(Math,s(o))}function v(e,t,n){var r=t.a,o=t.d,i=t.e,a=t.f;return"y"===n?o*e+a:r*e+i}function y(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function b(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||y(e));return{x:v(e.clientX,n,"x"),y:v(e.clientY,n,"y")}}function d(e,t){var n=e.scale,r=e.horizontal;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:r?[n.y(t.y[0]),n.y(t.y[1])]:[n.x(t.x[0]),n.x(t.x[1])],y:r?[n.x(t.x[0]),n.x(t.x[1])]:[n.y(t.y[0]),n.y(t.y[1])]}}function m(e,t,n,r){var o=e.polar,i=e.horizontal;if(o){var a=e.origin||{x:0,y:0},u=n-a.x,c=r-a.y,l=Math.abs(u*Math.sqrt(1+Math.pow(-c/u,2))),s=(-Math.atan2(c,u)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(s),y:t.y.invert(l)}}return{x:i?t.x.invert(r):t.x.invert(n),y:i?t.y.invert(n):t.y.invert(r)}}function x(e){var t=e.x1,n=e.x2,r=e.y1,o=e.y2,i=e.scale,a=m(e,i,t,r),u=m(e,i,n,o),c=function(e,t){return[h([e,t]),p([e,t])]};return{x:c(a.x,u.x),y:c(a.y,u.y)}}var g=r(3839),w=r.n(g),O=r(5973),j=r.n(O),M=r(556),_=r.n(M),D=r(2654),E=r.n(D),P=r(6786),A=r.n(P),S=function(e){var t=function(t,n,r,o){var i=n[r];if(null==i)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>4?a-4:0),c=4;c<a;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,o].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},T=function(){return null},B=function(){},R=function(e){return void 0===e?B:null===e?T:e.constructor},k=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)},C=S((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),I=S((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),G=(S((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),S((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),S((function(e,t,n){var r;if(r=e[t],!(w()(r)?w()(r.copy)&&w()(r.domain)&&w()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),S((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=R(r[0]),i=A()(r,(function(e){return o!==R(e)}));if(i){var a=k(r[0]),u=k(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}}})),S((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),S((function(e,t,n){if(e[t]&&!E()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))})),r(2635)),z=r.n(G);function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var W=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?U(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(U(n)),n.portalRegister=n.portalRegister.bind(U(n)),n.portalDeregister=n.portalDeregister.bind(U(n)),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return z()(this.map).map((function(t){var n=e.map[t];return n?l().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return l().createElement("svg",this.props,this.getChildren())}}])&&N(n.prototype,r),t}(l().Component);Object.defineProperty(W,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(W,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:u().string,height:C,style:u().object,viewBox:u().string,width:C}});var F=l().createContext({});F.displayName="PortalContext";const V=F;var H,q,X=0,Y=0,$=0,L=0,Z=0,J=0,K="object"==typeof performance&&performance.now?performance:Date,Q="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function ee(){return Z||(Q(te),Z=K.now()+J)}function te(){Z=0}function ne(){this._call=this._time=this._next=null}function re(e,t,n){var r=new ne;return r.restart(e,t,n),r}function oe(){Z=(L=K.now())+J,X=Y=0;try{!function(){ee(),++X;for(var e,t=H;t;)(e=Z-t._time)>=0&&t._call.call(null,e),t=t._next;--X}()}finally{X=0,function(){for(var e,t,n=H,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:H=t);q=e,ae(r)}(),Z=0}}function ie(){var e=K.now(),t=e-L;t>1e3&&(J-=t,L=e)}function ae(e){X||(Y&&(Y=clearTimeout(Y)),e-Z>24?(e<1/0&&(Y=setTimeout(oe,e-K.now()-J)),$&&($=clearInterval($))):($||(L=K.now(),$=setInterval(ie,1e3)),X=1,Q(oe)))}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ne.prototype=re.prototype={constructor:ne,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?ee():+n)+(null==t?0:+t),this._next||q===this||(q?q._next=this:H=this,q=this),this._call=e,this._time=n,ae()},stop:function(){this._call&&(this._call=null,this._time=1/0,ae())}};var ce=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(ee()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=re(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:ee(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ue(t.prototype,n),e}(),le=l().createContext({transitionTimer:new ce,animationTimer:new ce});le.displayName="TimerContext";const se=le;function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){he(e,t,n[t])}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}r(8423),r(1651);var ye=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))).containerId=j()(e)&&void 0!==e.containerId?e.containerId:_()("victory-container-"),t.savePortalRef=function(e){return t.portalRef=e,e},t.portalUpdate=function(e,n){return t.portalRef.portalUpdate(e,n)},t.portalRegister=function(){return t.portalRef.portalRegister()},t.portalDeregister=function(e){return t.portalRef.portalDeregister(e)},t.saveContainerRef=e&&w()(e.containerRef)?e.containerRef:function(e){return t.containerRef=e,e},t.shouldHandleWheel=e&&e.events&&e.events.onWheel,t.shouldHandleWheel&&(t.handleWheel=function(e){return e.preventDefault()}),t}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(o=[{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(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return pe({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,n,r){var o=e.title,a=e.desc,u=e.portalComponent,c=e.className,s=e.width,f=e.height,p=e.portalZIndex,h=e.responsive,v=this.getChildren(e),y=h?{width:"100%",height:"100%"}:{width:s,height:f},b=i()({pointerEvents:"none",touchAction:"none",position:"relative"},y),d=i()({zIndex:p,position:"absolute",top:0,left:0},y),m=i()({pointerEvents:"all"},y),x=i()({overflow:"visible"},y),g={width:s,height:f,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:x};return l().createElement(V.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},l().createElement("div",fe({style:t()({},r,b),className:c,ref:this.saveContainerRef},this.getOUIAProps(e)),l().createElement("svg",fe({},n,{style:m}),o?l().createElement("title",{id:this.getIdForElement("title")},o):null,a?l().createElement("desc",{id:this.getIdForElement("desc")},a):null,v),l().createElement("div",{style:d},l().cloneElement(u,pe({},g,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,o=e.events,a=e.title,u=e.desc,c=e.tabIndex,l=e.preserveAspectRatio,s=e.role,f=r?this.props.style:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props.style,["height","width"]),p=i()({width:t,height:n,tabIndex:c,role:s,"aria-labelledby":[a&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[u&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?l:void 0},o);return this.renderContainer(this.props,p,f)}}])&&ve(r.prototype,o),n}(l().Component);function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Object.defineProperty(ye,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(ye,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(ye,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":u().string,"aria-labelledby":u().string,children:u().oneOfType([u().arrayOf(u().node),u().node]),className:u().string,containerId:u().oneOfType([u().number,u().string]),containerRef:u().func,desc:u().string,events:u().object,height:C,name:u().string,origin:u().shape({x:C,y:C}),ouiaId:u().oneOfType([u().number,u().string]),ouiaSafe:u().bool,ouiaType:u().string,polar:u().bool,portalComponent:u().element,portalZIndex:I,preserveAspectRatio:u().string,responsive:u().bool,role:u().string,style:u().object,tabIndex:u().number,theme:u().object,title:u().string,width:C}}),Object.defineProperty(ye,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:l().createElement(W,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(ye,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:se});const de=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?l().createElement("rect",be({vectorEffect:"non-scaling-stroke"},n),l().createElement("desc",null,t)):l().createElement("rect",be({vectorEffect:"non-scaling-stroke"},n))};var me=r(3792),xe=r.n(me),ge=r(3259),we=r.n(ge),Oe=r(8266),je=r.n(Oe);function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_e(e,t,n[t])}))}return e}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function De(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ee={getDimension:function(e){var t=e.horizontal,n=e.brushDimension;return t&&n?"x"===n?"y":"x":n},withinBounds:function(e,t,n){var r=xe()(t,Number),o=r.x1,i=r.x2,a=r.y1,u=r.y2,c=xe()(e,Number),l=c.x,s=c.y;return l+(n=n?n/2:0)>=Math.min(o,i)&&l-n<=Math.max(o,i)&&s+n>=Math.min(a,u)&&s-n<=Math.max(a,u)},getDomainBox:function(e,n,r){var o=this.getDimension(e);n=t()({},n,e.domain),r=t()({},r,n);var i=d(e,n),a=d(e,r);return{x1:"y"!==o?Math.min.apply(Math,De(a.x)):Math.min.apply(Math,De(i.x)),x2:"y"!==o?Math.max.apply(Math,De(a.x)):Math.max.apply(Math,De(i.x)),y1:"x"!==o?Math.min.apply(Math,De(a.y)):Math.min.apply(Math,De(i.y)),y2:"x"!==o?Math.max.apply(Math,De(a.y)):Math.max.apply(Math,De(i.y))}},getHandles:function(e,t){var n=this.getDimension(e),r=t.x1,o=t.x2,i=t.y1,a=t.y2,u=Math.min(r,o),c=Math.max(r,o),l=Math.min(i,a),s=Math.max(i,a),f=e.handleWidth/2;return{left:"y"!==n&&{x1:u-f,x2:u+f,y1:i,y2:a},right:"y"!==n&&{x1:c-f,x2:c+f,y1:i,y2:a},top:"x"!==n&&{x1:r,x2:o,y1:l-f,y2:l+f},bottom:"x"!==n&&{x1:r,x2:o,y1:s-f,y2:s+f}}},getActiveHandles:function(e,t,n){var r=this,o=this.getHandles(t,n),i=["top","bottom","left","right"].reduce((function(t,n){return o[n]&&r.withinBounds(e,o[n])?t.concat(n):t}),[]);return i.length&&i},getResizeMutation:function(e,t){var n=e.x1,r=e.y1,o=e.x2,a=e.y2,u={left:{x1:Math.max(n,o),x2:Math.min(n,o),y1:r,y2:a},right:{x1:Math.min(n,o),x2:Math.max(n,o),y1:r,y2:a},top:{y1:Math.max(r,a),y2:Math.min(r,a),x1:n,x2:o},bottom:{y1:Math.min(r,a),y2:Math.max(r,a),x1:n,x2:o}};return t.reduce((function(e,t){return i()(e,u[t])}),{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(e,t,n){var r=e.domain,o=e.fullDomain,i=e.scale,a=e.horizontal,u=e.allowResize||e.defaultBrushArea?e.defaultBrushArea:"move";if("none"===u)return this.getMinimumDomain();if("disable"===u)return t;if("move"===u){var c=this.getDomainBox(e,o,t),l=e.parentSVG||y(n),s=this.panBox(Me({},e,c,{brushDomain:t,startX:(c.x1+c.x2)/2,startY:(c.y1+c.y2)/2}),b(n,l)),f=e.fullDomainBox||this.getDomainBox(e,o);return x(Me({},this.constrainBox(s,f),{scale:i,horizontal:a}))}return r},getSelectionMutation:function(e,t,n){var r=e.x,o=e.y,i=t.x1,a=t.x2,u=t.y1,c=t.y2;return{x1:"y"!==n?r:i,y1:"x"!==n?o:u,x2:"y"!==n?r:a,y2:"x"!==n?o:c}},panBox:function(e,n){var r=e.domain,o=e.startX,i=e.startY,a=this.getDimension(e),u=t()({},e.brushDomain,r),c=t()({},e.fullDomain,r),l=e.x1?e:this.getDomainBox(e,c,u),s=l.x1,f=l.x2,p=l.y1,h=l.y2,v=n.x,y=n.y,b=o?o-v:0,d=i?i-y:0;return{x1:"y"!==a?Math.min(s,f)-b:Math.min(s,f),x2:"y"!==a?Math.max(s,f)-b:Math.max(s,f),y1:"x"!==a?Math.min(p,h)-d:Math.min(p,h),y2:"x"!==a?Math.max(p,h)-d:Math.max(p,h)}},constrainBox:function(e,t){var n=xe()(t,Number),r=n.x1,o=n.y1,i=n.x2,a=n.y2;return{x1:e.x2>i?i-Math.abs(e.x2-e.x1):Math.max(e.x1,r),y1:e.y2>a?a-Math.abs(e.y2-e.y1):Math.max(e.y1,o),x2:e.x1<r?r+Math.abs(e.x2-e.x1):Math.min(e.x2,i),y2:e.y1<o?o+Math.abs(e.y2-e.y1):Math.min(e.y2,a)}},constrainPoint:function(e,t){var n=xe()(t,Number),r=n.x1,o=n.y1,i=n.x2,a=n.y2;return{x:Math.min(Math.max(e.x,r),i),y:Math.min(Math.max(e.y,o),a)}},hasMoved:function(e){var t=e.x1,n=e.x2,r=e.y1,o=e.y2,i=e.mouseMoveThreshold,a=this.getDimension(e),u=Math.abs(t-n)>=i,c=Math.abs(r-o)>=i;switch(a){case"x":return u;case"y":return c;default:return u||c}},onMouseDown:function(e,n){var r=this;e.preventDefault();var o=n.handleWidth,i=n.cachedBrushDomain,a=n.domain,u=n.allowResize,c=n.allowDrag,l=n.allowDraw,s=this.getDimension(n),f=u||n.defaultBrushArea?n.defaultBrushArea:"move";if(!u&&!c)return{};var p=n.fullDomainBox||this.getDomainBox(n,a),h=n.parentSVG||y(e),v=b(e,h),d=v.x,m=v.y;if(!this.withinBounds({x:d,y:m},p,o))return{};var x=t()({},n.brushDomain,a),g=je()(x,i)?n.currentDomain||x||a:x||a,w=this.getDomainBox(n,a,g),O=u&&this.getActiveHandles({x:d,y:m},n,w);return O?[{target:"parent",mutation:function(){return Me({isSelecting:!0,domainBox:w,fullDomainBox:p,cachedBrushDomain:x,currentDomain:g,parentSVG:h},r.getResizeMutation(w,O))}}]:this.withinBounds({x:d,y:m},w)&&!je()(a,g)?[{target:"parent",mutation:function(){return Me({isPanning:c,startX:d,startY:m,domainBox:w,fullDomainBox:p,currentDomain:g,cachedBrushDomain:x,parentSVG:h},w)}}]:l?[{target:"parent",mutation:function(){return Me({isSelecting:u||"move"===f,domainBox:w,fullDomainBox:p,parentSVG:h,cachedBrushDomain:x,cachedCurrentDomain:g,currentDomain:r.getMinimumDomain()},r.getSelectionMutation({x:d,y:m},w,s))}}]:{}},onGlobalMouseMove:function(e,n){var r=n.scale,o=n.isPanning,i=n.isSelecting,a=n.fullDomainBox,u=n.onBrushDomainChange,c=n.allowResize,l=n.allowDrag,s=n.horizontal,f=n.mouseMoveThreshold,p=n.parentSVG,h=this.getDimension(n),v=b(e,p),y=v.x,d=v.y;if(!c&&!l||f>0&&!this.hasMoved(Me({},n,{x2:y,y2:d})))return{};if(l&&o){var m=n.startX,g=n.startY,O=this.panBox(n,{x:y,y:d}),j=this.constrainBox(O,a),M=x(Me({},j,{scale:r,horizontal:s})),_=Me({currentDomain:M,parentSVG:p,startX:O.x2>=a.x2||O.x1<=a.x1?m:y,startY:O.y2>=a.y2||O.y1<=a.y1?g:d},j);return w()(u)&&u(M,t()({},_,n)),[{target:"parent",mutation:function(){return _}}]}if(c&&i){var D=this.constrainPoint({x:"y"!==h?y:n.x2,y:"x"!==h?d:n.y2},a),E=D.x,P=D.y,A=x({x2:E,y2:P,x1:n.x1,y1:n.y1,scale:r,horizontal:s}),S={x2:E,y2:P,currentDomain:A,parentSVG:p};return w()(u)&&u(A,t()({},S,n)),[{target:"parent",mutation:function(){return S}}]}return{}},onGlobalMouseUp:function(e,n){if(!n.isPanning&&!n.isSelecting)return{};var r=n.x1,o=n.y1,i=n.x2,a=n.y2,u=n.isPanning,c=n.isSelecting,l=n.onBrushDomainChange,s=n.onBrushDomainChangeEnd,f=n.onBrushCleared,p=n.currentDomain,h=n.allowResize,v=n.allowDrag,y=h||n.defaultBrushArea?n.defaultBrushArea:"move",b={isPanning:!1,isSelecting:!1};if(!h&&(void 0===y||"none"===y)||r!==i&&o!==a)(v&&u||h&&c)&&w()(s)&&s(p,t()({},b,n));else{var d=n.cachedCurrentDomain||p,m=this.getDefaultBrushArea(n,d,e);b.currentDomain=m,w()(l)&&l(m,t()({},b,n)),w()(s)&&s(m,t()({},b,n)),w()(f)&&f(m,t()({},b,n))}return[{target:"parent",mutation:function(){return b}}]}};const Pe=Me({},Ee,{onMouseDown:Ee.onMouseDown.bind(Ee),onGlobalMouseUp:Ee.onGlobalMouseUp.bind(Ee),onGlobalMouseMove:we()(Ee.onGlobalMouseMove.bind(Ee),16,{leading:!0,trailing:!1})});function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Se(e,t,n[t])}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ce=function(e){var n,r;return r=n=function(e){function n(){return Be(this,n),ke(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(o=[{key:"getSelectBox",value:function(e,n){var r=n.x,o=n.y,i=e.brushStyle,a=e.brushComponent,u=e.name,c=a.props&&a.props.style,s=e.allowDrag||e.allowResize?"move":"auto";return r[0]!==r[1]&&o[0]!==o[1]?l().cloneElement(a,{key:"".concat(u,"-brush"),width:Math.abs(r[1]-r[0])||1,height:Math.abs(o[1]-o[0])||1,x:Math.min(r[0],r[1]),y:Math.min(o[0],o[1]),cursor:s,style:t()({},c,i)}):null}},{key:"getCursorPointers",value:function(e){var t={yProps:"ns-resize",xProps:"ew-resize"};return!e.allowResize&&e.allowDrag?(t.xProps="move",t.yProps="move"):e.allowResize||e.allowDrag||(t.xProps="auto",t.yProps="auto"),t}},{key:"getHandles",value:function(e,n){var r=e.handleWidth,o=e.handleStyle,a=e.handleComponent,u=e.name,c=Pe.getDomainBox(e,n),s=c.x1,f=c.x2,p=c.y1,h=c.y2,v=Pe.getHandles(e,c),y=v.top,b=v.bottom,d=v.left,m=v.right,x=Math.abs(f-s)||1,g=Math.abs(h-p)||1,w=a.props&&a.props.style||{},O=t()({},w,o),j=this.getCursorPointers(e),M={style:O,width:x,height:r,cursor:j.yProps},_={style:O,width:r,height:g,cursor:j.xProps},D={top:y&&i()({x:y.x1,y:y.y1},M),bottom:b&&i()({x:b.x1,y:b.y1},M),left:d&&i()({y:d.y1,x:d.x1},_),right:m&&i()({y:m.y1,x:m.x1},_)},E=["top","bottom","left","right"].reduce((function(e,t){return D[t]?e.concat(l().cloneElement(a,i()({key:"".concat(u,"-handle-").concat(t)},D[t]))):e}),[]);return E.length?E:null}},{key:"getRect",value:function(e){var n=e.currentDomain,r=e.cachedBrushDomain,o=t()({},e.brushDomain,e.domain),i=je()(o,r)?t()({},n,o):o,a=d(e,i),u=this.getSelectBox(e,a);return u?[u,this.getHandles(e,i)]:[]}},{key:"getChildren",value:function(e){return Te(l().Children.toArray(e.children)).concat(Te(this.getRect(e)))}}])&&Re(r.prototype,o),n}(e),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Ae({},ye.propTypes,{allowDrag:u().bool,allowDraw:u().bool,allowResize:u().bool,brushComponent:u().element,brushDimension:u().oneOf(["x","y"]),brushDomain:u().shape({x:u().array,y:u().array}),brushStyle:u().object,defaultBrushArea:u().oneOf(["all","disable","none","move"]),disable:u().bool,handleComponent:u().element,handleStyle:u().object,handleWidth:u().number,onBrushCleared:u().func,onBrushDomainChange:u().func,onBrushDomainChangeEnd:u().func})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Ae({},ye.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:l().createElement(de,null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:l().createElement(de,null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8,mouseMoveThreshold:0})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:Pe.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:Pe.onMouseDown(t,n)},onGlobalMouseMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Pe.onGlobalMouseMove(t,n)},onGlobalTouchMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Pe.onGlobalMouseMove(t,n)},onGlobalMouseUp:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)},onGlobalTouchEnd:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)},onGlobalTouchCancel:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)}}}]}}),r};const Ie=Ce(ye)})(),o})()})); | ||
//# sourceMappingURL=victory-brush-container.min.js.map |
{ | ||
"name": "victory-brush-container", | ||
"version": "35.9.3", | ||
"version": "35.10.0", | ||
"description": "Interactive Brush Component for Victory", | ||
@@ -25,4 +25,7 @@ "keywords": [ | ||
"react-fast-compare": "^2.0.0", | ||
"victory-core": "^35.9.3" | ||
"victory-core": "^35.10.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.6.0 || ^17.0.0" | ||
}, | ||
"scripts": { | ||
@@ -29,0 +32,0 @@ "version": "nps build-libs && nps build-dists" |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
410831
5
9098
4
Updatedvictory-core@^35.10.0