text: /*! For license information please see 2.8dc9dc59.chunk.js.LICENSE.txt */
  (this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[2],[function(e,t,n){e.exports=n(277)()},function(e,t,n){"use strict";e.exports=n(246)},function(e,t,n){"use strict";e.exports=n(239)},function(e,t,n){var r=n(131),o=n(328),a=n(329),i=n(45),u=n(96),c=n(12),s=Object.prototype.hasOwnProperty,l=a((function(e,t){if(u(t)||i(t))o(t,c(t),e);else for(var n in t)s.call(t,n)&&r(e,n,t[n])}));e.exports=l},function(e,t,n){"use strict";var r=n(10);n.d(t,"b",(function(){return r}));var o=n(23);n.d(t,"d",(function(){return o}));var a=n(22);n.d(t,"e",(function(){return a}));var i=n(25);n.d(t,"f",(function(){return i}));var u=n(5);n.d(t,"g",(function(){return u}));var c=n(108);n.d(t,"h",(function(){return c}));var s=n(8);n.d(t,"i",(function(){return s}));var l=n(33);n.d(t,"j",(function(){return l}));var f=n(89);n.d(t,"k",(function(){return f}));var d=n(53);n.d(t,"c",(function(){return d}));var p=n(107);n.d(t,"a",(function(){return p}))},function(e,t,n){"use strict";n.r(t),n.d(t,"omit",(function(){return g})),n.d(t,"getPoint",(function(){return m})),n.d(t,"scalePoint",(function(){return b})),n.d(t,"getPadding",(function(){return x})),n.d(t,"isTooltip",(function(){return w})),n.d(t,"getDefaultStyles",(function(){return k})),n.d(t,"getStyles",(function(){return E})),n.d(t,"evaluateProp",(function(){return O})),n.d(t,"evaluateStyle",(function(){return C})),n.d(t,"degreesToRadians",(function(){return S})),n.d(t,"radiansToDegrees",(function(){return _})),n.d(t,"getRadius",(function(){return A})),n.d(t,"getPolarOrigin",(function(){return P})),n.d(t,"getRange",(function(){return T})),n.d(t,"createAccessor",(function(){return j})),n.d(t,"modifyProps",(function(){return M})),n.d(t,"getCurrentAxis",(function(){return N})),n.d(t,"reduceChildren",(function(){return R})),n.d(t,"isHorizontal",(function(){return L}));var r=n(12),o=n.n(r),a=n(3),i=n.n(a),u=n(62),c=n.n(u),s=n(88),l=n.n(s),f=n(9),d=n.n(f),p=n(6),h=n.n(p),y=n(2),v=n.n(y);function g(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}function m(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,o=e._x0,a=e._voronoiX,i=e._y,u=e._y1,c=e._y0,s=e._voronoiY,l=t(r)?r:n,f=t(u)?u:i,d={x:t(a)?a:l,x0:t(o)?o:n,y:t(s)?s:f,y0:t(c)?c:i};return h()({},d,e)}function b(e,t){var n=e.scale,r=e.polar,o=e.horizontal,a=m(t),i=e.origin||{x:0,y:0},u=o?n.y(a.y):n.x(a.x),c=o?n.y(a.y0):n.x(a.x0),s=o?n.x(a.x):n.y(a.y),l=o?n.x(a.x0):n.y(a.y0);return{x:r?s*Math.cos(u)+i.x:u,x0:r?l*Math.cos(c)+i.x:c,y:r?-s*Math.sin(u)+i.y:s,y0:r?-l*Math.sin(c)+i.x:l}}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],r="number"===typeof n?n:0,o="object"===typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function w(e){return"tooltip"===(e&&e.type&&e.type.role)}function k(e,t){var n=e.theme,r=void 0===n?{}:n,o=e.labelComponent,a=r[t]&&r[t].style||{};if(!w(o))return a;var i=r.tooltip&&r.tooltip.style||{},u=h()({},i,a.labels);return h()({},{labels:u},a)}function E(e,t){var n="100%",r="100%";if(!e)return h()({parent:{height:r,width:n}},t);var o=e.data,a=e.labels,i=e.parent,u=t&&t.parent||{},c=t&&t.labels||{},s=t&&t.data||{};return{parent:h()({},i,u,{width:n,height:r}),labels:h()({},a,c),data:h()({},o,s)}}function O(e,t){return d()(e)?e(t):e}function C(e,t){return t.disableInlineStyles?{}:e&&o()(e).some((function(t){return d()(e[t])}))?o()(e).reduce((function(n,r){return n[r]=O(e[r],t),n}),{}):e}function S(e){return"number"===typeof e?e*(Math.PI/180):e}function _(e){return"number"===typeof e?e/(Math.PI/180):e}function A(e){var t=x(e),n=t.left,r=t.right,o=t.top,a=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-o-a)/2}function P(e){var t=e.width,n=e.height,r=x(e),o=r.top,a=r.bottom,i=r.left,u=r.right,c=Math.min(t-i-u,n-o-a)/2,s=t/2+i-u,l=n/2+o-a;return{x:s+c>t?c+i-u:s,y:l+c>n?c+o-a:l}}function T(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e,t){return"x"===t?[S(e.startAngle||0),S(e.endAngle||360)]:[e.innerRadius||0,A(e)]}(e,t):function(e,t){var n="x"!==t,r=x(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}(e,t)}function j(e){return d()(e)?e:null===e||void 0===e?function(e){return e}:l()(e)}function M(e,t,n){var r=g(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),o=L(e),a=void 0===o?{}:{horizontal:o};return h()(a,e,r,t)}function N(e,t){return t?"x"===e?"y":"x":e}function R(e,t){var n=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(e,t){return e.concat(t)},a=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],u=function e(u,s,l){return u.reduce((function(r,u,f){var p=u.type&&u.type.role,h=u.props.name||"".concat(p,"-").concat(s[f]);if(u.props&&u.props.children){var y=i()({},u.props,c()(n,a)),g=u.type&&"stack"===u.type.role&&d()(u.type.getChildren)?u.type.getChildren(y):v.a.Children.toArray(u.props.children).map((function(e){var t=i()({},e.props,c()(y,a));return v.a.cloneElement(e,t)})),m=g.map((function(e,t){return"".concat(h,"-").concat(t)})),b=e(g,m,u);r=o(r,b)}else{var x=t(u,h,l);x&&(r=o(r,x))}return r}),r)},s=e.map((function(e,t){return t}));return u(e,s)}function L(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;return function e(t){return t.reduce((function(t,n){var r=n.props||{};return t||r.horizontal||!r.children?t=t||r.horizontal:e(v.a.Children.toArray(r.children))}),!1)}(v.a.Children.toArray(e.children))}},function(e,t,n){var r=n(98),o=n(67),a=n(99),i=n(183),u=Object.prototype,c=u.hasOwnProperty,s=r((function(e,t){e=Object(e);var n=-1,r=t.length,s=r>2?t[2]:void 0;for(s&&a(t[0],t[1],s)&&(r=1);++n<r;)for(var l=t[n],f=i(l),d=-1,p=f.length;++d<p;){var h=f[d],y=e[h];(void 0===y||o(y,u[h])&&!c.call(e,h))&&(e[h]=l[h])}return e}));e.exports=s},function(e,t,n){e.exports=n(284)},function(e,t,n){"use strict";n.r(t),n.d(t,"deprecated",(function(){return g})),n.d(t,"allOfType",(function(){return m})),n.d(t,"nonNegative",(function(){return b})),n.d(t,"integer",(function(){return x})),n.d(t,"greaterThanZero",(function(){return w})),n.d(t,"domain",(function(){return k})),n.d(t,"scale",(function(){return E})),n.d(t,"homogeneousArray",(function(){return O})),n.d(t,"matchDataLength",(function(){return C})),n.d(t,"regExp",(function(){return S}));var r=n(225),o=n.n(r),a=n(226),i=n.n(a),u=n(9),c=n.n(u),s=n(46),l=n(0),f=n.n(l);var d=function(e){var t=function(t,n,r,o){var a=n[r];if(void 0===a||null===a)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;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},p=function(){return null},h=function(){},y=function(e){return void 0===e?h:null===e?p:e.constructor},v=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function g(e,t){return function(n,r,o){var a=n[r];return null!==a&&void 0!==a&&s.a('"'.concat(r,'" property of "').concat(o,'" has been deprecated ').concat(t)),f.a.checkPropTypes(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,e),n,r,o)}}function m(e){return d((function(t,n,r){for(var o=arguments.length,a=new Array(o>3?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];return e.reduce((function(e,o){return e||o.apply(void 0,[t,n,r].concat(a))}),void 0)}))}var b=d((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."))})),x=d((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."))})),w=d((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."))})),k=d((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."))})),E=d((function(e,t,n){var r,o=["linear","time","log","sqrt"],a=e[t];if(r=a,!(c()(r)?c()(r.copy)&&c()(r.domain)&&c()(r.range):"string"===typeof r&&-1!==o.indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),O=d((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=y(r[0]),a=i()(r,(function(e){return o!==y(e)}));if(a){var u=v(r[0]),c=v(a);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(u,"` and ")+"`".concat(c,"`."))}}})),C=d((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=d((function(e,t,n){if(e[t]&&!o()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))}))},function(e,t,n){var r=n(47),o=n(24);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}},function(e,t,n){"use strict";function r(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 o(e){return Array.isArray(e)&&e.length>0}function a(e){return Array.isArray(e)&&e.some((function(e){return"string"===typeof e}))}function i(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function u(e){return Array.isArray(e)&&e.some((function(e){return"number"===typeof e}))}function c(e){return o(e)&&e.every((function(e){return"string"===typeof e}))}function s(e){return o(e)&&e.every(Array.isArray)}function l(e){return e.filter((function(e){return void 0!==e}))}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=e.concat(n);return i(a)?new Date(Math.max.apply(Math,r(a))):Math.max.apply(Math,r(a))}function d(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=e.concat(n);return i(a)?new Date(Math.min.apply(Math,r(a))):Math.min.apply(Math,r(a))}n.r(t),n.d(t,"containsStrings",(function(){return a})),n.d(t,"containsDates",(function(){return i})),n.d(t,"containsNumbers",(function(){return u})),n.d(t,"containsOnlyStrings",(function(){return c})),n.d(t,"isArrayOfArrays",(function(){return s})),n.d(t,"removeUndefined",(function(){return l})),n.d(t,"getMaxValue",(function(){return f})),n.d(t,"getMinValue",(function(){return d}))},function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function u(e){r(i,o,a,u,c,"next",e)}function c(e){r(i,o,a,u,c,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t,n){var r=n(182),o=n(171),a=n(45);e.exports=function(e){return a(e)?r(e):o(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return x}));var r=n(14),o=n(35),a=n(2),i=n.n(a),u=n(30),c=(n(0),n(21)),s=n(64),l=n(34),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(u.a)(t.props),t}return Object(o.a)(t,e),t.prototype.render=function(){return i.a.createElement(r.c,{history:this.history,children:this.props.children})},t}(i.a.Component);i.a.Component;var d=function(e,t){return"function"===typeof e?e(t):e},p=function(e,t){return"string"===typeof e?Object(u.c)(e,null,null,t):e},h=function(e){return e},y=i.a.forwardRef;"undefined"===typeof y&&(y=h);var v=y((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,a=Object(s.a)(e,["innerRef","navigate","onClick"]),u=a.target,l=Object(c.a)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return l.ref=h!==y&&t||n,i.a.createElement("a",l)}));var g=y((function(e,t){var n=e.component,o=void 0===n?v:n,a=e.replace,f=e.to,g=e.innerRef,m=Object(s.a)(e,["component","replace","to","innerRef"]);return i.a.createElement(r.e.Consumer,null,(function(e){e||Object(l.a)(!1);var n=e.history,r=p(d(f,e.location),e.location),s=r?n.createHref(r):"",v=Object(c.a)({},m,{href:s,navigate:function(){var t=d(f,e.location),r=Object(u.e)(e.location)===Object(u.e)(p(t));(a||r?n.replace:n.push)(t)}});return h!==y?v.ref=t||g:v.innerRef=g,i.a.createElement(o,v)}))})),m=function(e){return e},b=i.a.forwardRef;"undefined"===typeof b&&(b=m);var x=b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,a=e.activeClassName,u=void 0===a?"active":a,f=e.activeStyle,h=e.className,y=e.exact,v=e.isActive,x=e.location,w=e.sensitive,k=e.strict,E=e.style,O=e.to,C=e.innerRef,S=Object(s.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.a.createElement(r.e.Consumer,null,(function(e){e||Object(l.a)(!1);var n=x||e.location,a=p(d(O,n),n),s=a.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=_?Object(r.f)(n.pathname,{path:_,exact:y,sensitive:w,strict:k}):null,P=!!(v?v(A,n):A),T=P?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,u):h,j=P?Object(c.a)({},E,f):E,M=Object(c.a)({"aria-current":P&&o||null,className:T,style:j,to:a},S);return m!==b?M.ref=t||C:M.innerRef=C,i.a.createElement(g,M)}))}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return v})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return O})),n.d(t,"g",(function(){return N})),n.d(t,"h",(function(){return R}));var r=n(35),o=n(2),a=n.n(o),i=(n(0),n(30)),u=n(217),c=n(34),s=n(21),l=n(141),f=n.n(l),d=(n(162),n(64)),p=(n(218),function(e){var t=Object(u.a)();return t.displayName=e,t}),h=p("Router-History"),y=p("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.a.Component);a.a.Component;var g=function(e){function t(){return e.apply(this,arguments)||this}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(a.a.Component);var m={},b=0;function x(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(m[e])return m[e];var t=f.a.compile(e);return b<1e4&&(m[e]=t,b++),t}(e)(t,{pretty:!0})}function w(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return a.a.createElement(y.Consumer,null,(function(e){e||Object(c.a)(!1);var r=e.history,u=e.staticContext,l=o?r.push:r.replace,f=Object(i.c)(t?"string"===typeof n?x(n,t.params):Object(s.a)({},n,{pathname:x(n.pathname,t.params)}):n);return u?(l(f),null):a.a.createElement(g,{onMount:function(){l(f)},onUpdate:function(e,t){var n=Object(i.c)(t.to);Object(i.f)(n,Object(s.a)({},f,{key:n.key}))||l(f)},to:n})}))}var k={},E=0;function O(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,u=void 0!==i&&i,c=n.sensitive,s=void 0!==c&&c;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var o=[],a={regexp:f()(e,o,t),keys:o};return E<1e4&&(r[e]=a,E++),a}(n,{end:a,strict:u,sensitive:s}),o=r.regexp,i=r.keys,c=o.exec(e);if(!c)return null;var l=c[0],d=c.slice(1),p=e===l;return a&&!p?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var C=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y.Consumer,null,(function(t){t||Object(c.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?O(n.pathname,e.props):t.match,o=Object(s.a)({},t,{location:n,match:r}),i=e.props,u=i.children,l=i.component,f=i.render;return Array.isArray(u)&&function(e){return 0===a.a.Children.count(e)}(u)&&(u=null),a.a.createElement(y.Provider,{value:o},o.match?u?"function"===typeof u?u(o):u:l?a.a.createElement(l,o):f?f(o):null:"function"===typeof u?u(o):null)}))},t}(a.a.Component);function S(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=S(e);return 0!==t.pathname.indexOf(n)?t:Object(s.a)({},t,{pathname:t.pathname.substr(n.length)})}function A(e){return"string"===typeof e?e:Object(i.e)(e)}function P(e){return function(){Object(c.a)(!1)}}function T(){}a.a.Component;var j=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y.Consumer,null,(function(t){t||Object(c.a)(!1);var n,r,o=e.props.location||t.location;return a.a.Children.forEach(e.props.children,(function(e){if(null==r&&a.a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?O(o.pathname,Object(s.a)({},e.props,{path:i})):t.match}})),r?a.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.a.Component);var M=a.a.useContext;function N(){return M(h)}function R(){return M(y).location}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(63);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(171),o=n(173),a=n(97),i=n(26),u=n(45),c=n(128),s=n(96),l=n(129),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){"use strict";function r(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 o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n){var r=n(47),o=n(185),a=n(44),i=Function.prototype,u=Object.prototype,c=i.toString,s=u.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(92);var o=n(72);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";function r(){return(r=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)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"createDomainFunction",(function(){return O})),n.d(t,"formatDomain",(function(){return C})),n.d(t,"getDomain",(function(){return S})),n.d(t,"getDomainFromCategories",(function(){return _})),n.d(t,"getDomainFromData",(function(){return A})),n.d(t,"getDomainFromMinMax",(function(){return P})),n.d(t,"getDomainFromProps",(function(){return T})),n.d(t,"getDomainWithZero",(function(){return j})),n.d(t,"getMaxFromProps",(function(){return M})),n.d(t,"getMinFromProps",(function(){return N})),n.d(t,"getSymmetricDomain",(function(){return R})),n.d(t,"isDomainComponent",(function(){return L}));var r=n(143),o=n.n(r),a=n(36),i=n.n(a),u=n(9),c=n.n(u),s=n(224),l=n.n(s),f=n(19),d=n.n(f),p=n(57),h=n.n(p),y=n(2),v=n.n(y),g=n(23),m=n(33),b=n(5),x=n(10);function w(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 k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(e){return"max"===n?Math.max.apply(Math,w(e)):Math.min.apply(Math,w(e))},o="max"===n?-1/0:1/0,a=!1,i=h()(e).reduce((function(e,n){var o=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],i=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],u=r([o,i]);return a=a||o instanceof Date||i instanceof Date,r([e,u])}),o);return a?new Date(i):i}function E(e,t,n){if(!t.domainPadding)return e;var r=N(t,n),o=M(t,n),a=function(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return d()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!a.left&&!a.right)return e;var i=x.getMinValue(e),u=x.getMaxValue(e),c=b.getCurrentAxis(n,t.horizontal),s=b.getRange(t,c),l=Math.abs(s[0]-s[1]),f=Math.max(l-a.left-a.right,1),p=Math.abs(u.valueOf()-i.valueOf())/f*l,h=p*a.left/l,y=p*a.right/l,v={min:i.valueOf()-h,max:u.valueOf()+y},g=d()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,m=function(e,t){return"min"===t&&i>=0&&e<=0||"max"===t&&u<=0&&e>=0?0:e};if((i>=0&&v.min<=0||u<=0&&v.max>=0)&&!1!==g){var w={left:Math.abs(u-i)*a.left/l,right:Math.abs(u-i)*a.right/l},k={min:m(i.valueOf()-w.left,"min"),max:m(u.valueOf()+w.right,"max")},E={left:Math.abs(k.max-k.min)*a.left/l,right:Math.abs(k.max-k.min)*a.right/l};v={min:m(i.valueOf()-E.left,"min"),max:m(u.valueOf()+E.right,"max")}}var O={min:void 0!==r?r:v.min,max:void 0!==o?o:v.max};return i instanceof Date||u instanceof Date?P(new Date(O.min),new Date(O.max)):P(O.min,O.max)}function O(e,t){return e=c()(e)?e:A,t=c()(t)?t:C,function(n,r){var o=T(n,r);if(o)return t(o,n,r);var a=g.getCategories(n,r),i=a?_(n,r,a):e(n,r);return i?t(i,n,r):void 0}}function C(e,t,n){return function(e,t,n){return"log"!==m.getScaleType(t,n)?e:function(e){var t=e[0]<0||e[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===e[0]?t:e[0],0===e[1]?t:e[1]]}(e)}(E(e,t,n),t,n)}function S(e,t){return O()(e,t)}function _(e,t,n){n=n||g.getCategories(e,t);var r=e.polar,o=e.startAngle,a=void 0===o?0:o,i=e.endAngle,u=void 0===i?360:i;if(n){var c=N(e,t),s=M(e,t),l=x.containsStrings(n)?g.getStringsFromCategories(e,t):[],f=0===l.length?null:l.reduce((function(e,t,n){return e[t]=n+1,e}),{}),d=f?n.map((function(e){return f[e]})):n,p=P(void 0!==c?c:x.getMinValue(d),void 0!==s?s:x.getMaxValue(d));return r&&"x"===t&&360===Math.abs(a-u)?R(p,d):p}}function A(e,t,n){n=n||g.getData(e);var r=e.polar,o=e.startAngle,a=void 0===o?0:o,i=e.endAngle,u=void 0===i?360:i,c=N(e,t),s=M(e,t);if(n.length<1)return void 0!==c&&void 0!==s?P(c,s):void 0;var l=P(void 0!==c?c:k(n,t,"min"),void 0!==s?s:k(n,t,"max"));return r&&"x"===t&&360===Math.abs(a-u)?R(l,function(e,t){return h()(e).map((function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]}))}(n,t)):l}function P(e,t){return+e===+t?function(e){var t=0===e?2*Math.pow(10,-10):Math.pow(10,-10),n=e instanceof Date?new Date(+e-1):+e-t,r=e instanceof Date?new Date(+e+1):+e+t;return 0===e?[0,r]:[n,r]}(t):[e,t]}function T(e,t){var n=N(e,t),r=M(e,t);return d()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==r?P(n,r):void 0}function j(e,t){var n=T(e,t);if(n)return n;var r=g.getData(e),o=r.reduce((function(e,t){return t._y0<e?t._y0:e}),1/0);return O((function(){return A(e,t,r)}),(function(n){return C(function(n){if("x"===t)return n;var r=o!==1/0?o:0,a=M(e,t),i=N(e,t),u=void 0!==a?a:x.getMaxValue(n,r);return P(void 0!==i?i:x.getMinValue(n,r),u)}(n),e,t)}))(e,t)}function M(e,t){return d()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"===typeof e.maxDomain||o()(e.maxDomain)?e.maxDomain:void 0}function N(e,t){return d()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"===typeof e.minDomain||o()(e.minDomain)?e.minDomain:void 0}function R(e,t){var n=l()(t.sort((function(e,t){return e-t}))),r=n[1]-n[0];return[e[0],e[1]+r]}function L(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=v.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}return i()(["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"formatDataFromDomain",(function(){return V})),n.d(t,"createStringMap",(function(){return W})),n.d(t,"downsample",(function(){return H})),n.d(t,"formatData",(function(){return q})),n.d(t,"generateData",(function(){return $})),n.d(t,"getCategories",(function(){return Y})),n.d(t,"getData",(function(){return K})),n.d(t,"getStringsFromAxes",(function(){return G})),n.d(t,"getStringsFromCategories",(function(){return Q})),n.d(t,"getStringsFromData",(function(){return X})),n.d(t,"isDataComponent",(function(){return Z}));var r=n(118),o=n.n(r),a=n(221),i=n.n(a),u=n(36),c=n.n(u),s=n(222),l=n.n(s),f=n(17),d=n.n(f),p=n(74),h=n.n(p),y=n(88),v=n.n(y),g=n(19),m=n.n(g),b=n(9),x=n.n(b),w=n(223),k=n.n(w),E=n(119),O=n.n(E),C=n(37),S=n.n(C),_=n(3),A=n.n(_),P=n(2),T=n.n(P),j=n(5),M=n(10),N=n(33),R=n(58);function L(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 D(e){return R.a(e)?R.c(e,{errorX:!0,errorY:!0}):e}function F(e){return R.b(e)?e.size:e.length}function I(e,t){var n=(m()(e.domain)?e.domain[t]:e.domain)||N.getBaseScale(e,t).domain(),r=e.samples||1,o=Math.max.apply(Math,L(n)),a=Math.min.apply(Math,L(n)),i=(o-a)/r,u=O()(a,o,i);return k()(u)===o?u:u.concat(o)}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return h()(e,t,r)}function U(e,t){var n=1/Number.MAX_SAFE_INTEGER,r={x:N.getScaleType(t,"x"),y:N.getScaleType(t,"y")};if("log"!==r.x&&"log"!==r.y)return e;var o=function(e,t){return"log"!==r[t]||0!==e["_".concat(t)]};return e.map((function(e){return o(e,"x")&&o(e,"y")&&o(e,"y0")?e:function(e){var t=o(e,"x")?e._x:n,r=o(e,"y")?e._y:n,a=o(e,"y0")?e._y0:n;return A()({},e,{_x:t,_y:r,_y0:a})}(e)}))}function B(e,t){var n,r=!!e.eventKey,o=(n=e.eventKey,x()(n)?n:null===n||void 0===n?function(){}:v()(n));return t.map((function(e,t){if(void 0!==e.eventKey)return e;if(r){var n=o(e,t);return void 0!==n?A()({eventKey:n},e):e}return e}))}function V(e,t,n){var r=function(e){return void 0!==e},a=M.getMinValue(t.x),u=M.getMaxValue(t.x),c=M.getMinValue(t.y),s=M.getMaxValue(t.y),l=function(e){return function(t){return r(t)&&t<e}},f=function(e){return function(t){return r(t)&&t>e}},d=l(a),p=l(c),h=f(u),y=f(s);return e.map((function(e){var t=e._x,a=e._y,u=e._y0,l=e._y1;(d(t)||h(t))&&(t=null);var f=r(u)?u:n,v=r(l)?l:a;return r(v)?(r(f)||!p(v)&&!y(v)||(a=null),(p(f)&&p(v)||y(f)&&y(v))&&(a=u=l=null),p(f)&&!p(v)&&(u=c),y(f)&&!y(v)&&(u=s),A()({},e,o()({_x:t,_y:a,_y0:u,_y1:l},i.a))):e}))}function W(e,t){var n=G(e,t),r=Q(e,t),o=X(e,t),a=S()(L(n).concat(L(r),L(o)));return 0===a.length?null:a.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=F(e);if(r>t){var o=Math.pow(2,Math.ceil(Math.log2(r/t)));return e.filter((function(e,t){return(t+n)%o===0}))}return e}function q(e,t,n){if(!(Array.isArray(e)||R.b(e))||F(e)<1)return[];var r=["x","y","y0"];n=Array.isArray(n)?n:r;var o,a=n.reduce((function(e,n){var r;return e[n]=(r=n,j.createAccessor(void 0!==t[r]?t[r]:r)),e}),{}),i=l()(n,r)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===i&&(o={x:-1!==n.indexOf("x")?W(t,"x"):void 0,y:-1!==n.indexOf("y")?W(t,"y"):void 0,y0:-1!==n.indexOf("y0")?W(t,"y"):void 0});var u=U(z(i?e:e.reduce((function(e,t,r){var i={x:r,y:t=D(t)},u=n.reduce((function(e,n){var r=a[n](t),u=void 0!==r?r:i[n];return void 0!==u&&("string"===typeof u&&o[n]?(e["".concat(n,"Name")]=u,e["_".concat(n)]=o[n][u]):e["_".concat(n)]=u),e}),{}),c=A()({},u,t);return d()(c)||e.push(c),e}),[]),t.sortKey,t.sortOrder),t);return B(t,u)}function $(e){var t=I(e,"x"),n=I(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}function Y(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function K(e){return e.data?q(e.data,e):q($(e),e)}function G(e,t){var n=e.tickValues,r=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:r&&Array.isArray(r)?r:[]).filter((function(e){return"string"===typeof e}))}function Q(e,t){if(!e.categories)return[];var n=Y(e,t),r=n&&n.filter((function(e){return"string"===typeof e}));return r?M.removeUndefined(r):[]}function X(e,t){if(!(Array.isArray(e.data)||R.b(e.data)))return[];var n=void 0===e[t]?t:e[t],r=j.createAccessor(n);return z(e.data.reduce((function(e,t){return e.push(D(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=D(t),e.push(r(t)),e}),[]).filter((function(e){return"string"===typeof e})).reduce((function(e,t){return void 0!==t&&null!==t&&-1===e.indexOf(t)&&e.push(t),e}),[])}function Z(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=T.a.Children.toArray(e.props.children);n=r.length?t(r[0]):""}return c()(["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"getEvents",(function(){return O})),n.d(t,"getScopedEvents",(function(){return C})),n.d(t,"getPartialEvents",(function(){return S})),n.d(t,"getEventState",(function(){return _})),n.d(t,"getExternalMutationsWithChildren",(function(){return A})),n.d(t,"getExternalMutations",(function(){return P})),n.d(t,"getExternalMutation",(function(){return T})),n.d(t,"getComponentEvents",(function(){return j})),n.d(t,"getGlobalEventNameFromKey",(function(){return M})),n.d(t,"getGlobalEvents",(function(){return N})),n.d(t,"omitGlobalEvents",(function(){return R})),n.d(t,"emulateReactEvent",(function(){return L}));var r=n(12),o=n.n(r),a=n(36),i=n.n(a),u=n(37),c=n.n(u),s=n(118),l=n.n(s),f=n(75),d=n.n(f),p=n(59),h=n.n(p),y=n(9),v=n.n(y),g=n(17),m=n.n(g),b=n(3),x=n.n(b);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(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 E=/^onGlobal(.*)$/;function O(e,t,n,r){var o=this,a=function(e){var r=function(){var r=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?i()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e:e.concat(n)}),[]);return void 0!==n&&"parent"!==t?r.filter((function(e){var t=e.eventKey,r=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some((function(e){return r(e)})):r(t)})):r}();return Array.isArray(r)&&r.reduce((function(e,t){return t?x()(e,t.eventHandlers):e}),{})},u=function(){var t;return Array.isArray(o.componentEvents)?Array.isArray(e.events)?(t=o.componentEvents).concat.apply(t,k(e.events)):o.componentEvents:e.events}(),c=u&&v()(r)?r(a(u),t):void 0;if(!e.sharedEvents)return c;var s=e.sharedEvents.getEvents,l=e.sharedEvents.events&&s(a(e.sharedEvents.events),t);return x()({},l,c)}function C(e,t,n,r){var a=this;if(m()(e))return{};r=r||this.baseProps;var i=function(e,t){var n=e.childName,o=e.target,i=e.key,u="props"===t?r:a.state||{},c=void 0!==n&&null!==n&&u[n]?u[n]:u;return"parent"===i?c.parent:c[i]&&c[i][o]},u=function(e,u){var c="parent"===t?e.childName:e.childName||n,s=e.target||t,l=function(t,n){var u=a.state||{};if(!v()(e.mutation))return u;var c=i({childName:n,key:t,target:s},"props"),l=i({childName:n,key:t,target:s},"state"),f=e.mutation(x()({},c,l),r),d=u[n]||{},p=function(e){return f?function(e){return"parent"===s?x()(e,w({},t,x()(e[t],f))):x()(e,w({},t,x()(e[t],w({},s,f))))}(e):function(e){return e[t]&&e[t][s]&&delete e[t][s],e[t]&&!o()(e[t]).length&&delete e[t],e}(e)};return void 0!==n&&null!==n?x()(u,w({},n,p(d))):p(u)},f=function(t){var n=function(t){return"parent"===s?"parent":"all"===e.eventKey?r[t]?h()(o()(r[t]),"parent"):h()(o()(r),"parent"):void 0===e.eventKey&&"parent"===u?r[t]?o()(r[t]):o()(r):void 0!==e.eventKey?e.eventKey:u}(t);return Array.isArray(n)?n.reduce((function(e,n){return x()(e,l(n,t))}),{}):l(n,t)},d="all"===c?h()(o()(r),"parent"):c;return Array.isArray(d)?d.reduce((function(e,t){return x()(e,f(t))}),{}):f(d)},c=function(t,n,r,o){var i=e[o](t,n,r,a);if(!m()(i)){var c=function(e){var t=function(e){return v()(e.callback)&&e.callback},n=(Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]).filter((function(e){return!1!==e}));return n.length?function(){return n.forEach((function(e){return e()}))}:void 0}(i);a.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return x()({},e,u(n,t))}),{}):u(e,t)}(i,r),c)}};return o()(e).reduce((function(e,t){return e[t]=c,e}),{})}function S(e,t,n){return e?o()(e).reduce((function(r,o){return r[o]=function(r){return e[o](r,n,t,o)},r}),{}):{}}function _(e,t,n){var r=this.state||{};return n?r[n]&&r[n][e]&&r[n][e][t]:"parent"===e?r[e]&&r[e][t]||r[e]:r[e]&&r[e][t]}function A(e,t,n,r){return t=t||{},n=n||{},r.reduce((function(r,o){var a=n[o],i=P(e,t[o],n[o],o);return r[o]=i||a,d()(r,(function(e){return!m()(e)}))}),{})}function P(e,t,n,r){return t=t||{},n=n||{},o()(t).reduce((function(a,i){var u=n[i]||{},s=t[i]||{};if("parent"===i){var l=T(e,s,u,{eventKey:i,target:"parent"});a[i]=void 0!==l?x()({},u,l):u}else{var f=c()(o()(s).concat(o()(u)));a[i]=f.reduce((function(t,n){var o={eventKey:i,target:n,childName:r},a=T(e,s[n],u[n],o);return t[n]=void 0!==a?x()({},u[n],a):u[n],d()(t,(function(e){return!m()(e)}))}),{})}return d()(a,(function(e){return!m()(e)}))}),{})}function T(e,t,n,r){var o=function(e,t){if("string"===typeof e[t])return"all"===e[t]||e[t]===r[t];if(Array.isArray(e[t])){var n=e[t].map((function(e){return"".concat(e)}));return i()(n,r[t])}return!1},a=e=Array.isArray(e)?e:[e];r.childName&&(a=e.filter((function(e){return o(e,"childName")})));var u=a.filter((function(e){return o(e,"target")}));if(!m()(u)){var c=u.filter((function(e){return o(e,"eventKey")}));if(!m()(c))return c.reduce((function(e,r){var o=(r&&v()(r.mutation)?r.mutation:function(){})(x()({},t,n));return x()({},e,o)}),{})}}function j(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var r,o=e[n],a=o&&o.type&&o.type.defaultEvents,i=v()(a)?a(o.props):a;return t=Array.isArray(i)?(r=t).concat.apply(r,k(i)):t}),[]);return n&&n.length?n:void 0}function M(e){var t=e.match(E);return t&&t[1]&&t[1].toLowerCase()}var N=function(e){return d()(e,(function(e,t){return E.test(t)}))},R=function(e){return l()(e,(function(e,t){return E.test(t)}))},L=function(e){return x()(e,{nativeEvent:e})}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){return!t||"object"!==o(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}function i(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(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,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t){e.exports=function(e){return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return h}));var r=n(21);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],u=e&&o(e),c=t&&o(t),s=u||c;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?a(i,d):".."===p?(a(i,d),f++):f&&(a(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n(34);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(e,t,n,o){var a;"string"===typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(a=Object(r.a)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(u){throw u instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):u}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"===typeof e?e(t,n):e;"string"===typeof a?"function"===typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var x="popstate",w="hashchange";function k(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),m||Object(s.a)(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),o=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,i=a.forceRefresh,u=void 0!==i&&i,c=a.getUserConfirmation,f=void 0===c?b:c,v=a.keyLength,E=void 0===v?6:v,O=e.basename?p(l(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return O&&(a=d(a,O)),y(a,r,n)}function S(){return Math.random().toString(36).substr(2,E)}var _=g();function A(e){Object(r.a)(U,e),U.length=t.length,_.notifyListeners(U.location,U.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(C(e.state))}function T(){M(C(k()))}var j=!1;function M(e){if(j)j=!1,A();else{_.confirmTransitionTo(e,"POP",f,(function(t){t?A({action:"POP",location:e}):function(e){var t=U.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(j=!0,D(o))}(e)}))}}var N=C(k()),R=[N.key];function L(e){return O+h(e)}function D(e){t.go(e)}var F=0;function I(e){1===(F+=e)&&1===e?(window.addEventListener(x,P),o&&window.addEventListener(w,T)):0===F&&(window.removeEventListener(x,P),o&&window.removeEventListener(w,T))}var z=!1;var U={length:t.length,action:"POP",location:N,createHref:L,push:function(e,r){var o="PUSH",a=y(e,r,S(),U.location);_.confirmTransitionTo(a,o,f,(function(e){if(e){var r=L(a),i=a.key,c=a.state;if(n)if(t.pushState({key:i,state:c},null,r),u)window.location.href=r;else{var s=R.indexOf(U.location.key),l=R.slice(0,s+1);l.push(a.key),R=l,A({action:o,location:a})}else window.location.href=r}}))},replace:function(e,r){var o="REPLACE",a=y(e,r,S(),U.location);_.confirmTransitionTo(a,o,f,(function(e){if(e){var r=L(a),i=a.key,c=a.state;if(n)if(t.replaceState({key:i,state:c},null,r),u)window.location.replace(r);else{var s=R.indexOf(U.location.key);-1!==s&&(R[s]=a.key),A({action:o,location:a})}else window.location.replace(r)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return z||(I(1),z=!0),function(){return z&&(z=!1,I(-1)),t()}},listen:function(e){var t=_.appendListener(e);return I(1),function(){I(-1),t()}}};return U}var O="hashchange",C={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function _(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function A(e){window.location.replace(S(window.location.href)+"#"+e)}function P(e){void 0===e&&(e={}),m||Object(s.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?b:o,i=n.hashType,u=void 0===i?"slash":i,c=e.basename?p(l(e.basename)):"",f=C[u],v=f.encodePath,x=f.decodePath;function w(){var e=x(_());return c&&(e=d(e,c)),y(e)}var k=g();function E(e){Object(r.a)(U,e),U.length=t.length,k.notifyListeners(U.location,U.action)}var P=!1,T=null;function j(){var e,t,n=_(),r=v(n);if(n!==r)A(r);else{var o=w(),i=U.location;if(!P&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===h(o))return;T=null,function(e){if(P)P=!1,E();else{var t="POP";k.confirmTransitionTo(e,t,a,(function(n){n?E({action:t,location:e}):function(e){var t=U.location,n=L.lastIndexOf(h(t));-1===n&&(n=0);var r=L.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(P=!0,D(o))}(e)}))}}(o)}}var M=_(),N=v(M);M!==N&&A(N);var R=w(),L=[h(R)];function D(e){t.go(e)}var F=0;function I(e){1===(F+=e)&&1===e?window.addEventListener(O,j):0===F&&window.removeEventListener(O,j)}var z=!1;var U={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(c+h(e))},push:function(e,t){var n="PUSH",r=y(e,void 0,void 0,U.location);k.confirmTransitionTo(r,n,a,(function(e){if(e){var t=h(r),o=v(c+t);if(_()!==o){T=t,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(h(U.location)),i=L.slice(0,a+1);i.push(t),L=i,E({action:n,location:r})}else E()}}))},replace:function(e,t){var n="REPLACE",r=y(e,void 0,void 0,U.location);k.confirmTransitionTo(r,n,a,(function(e){if(e){var t=h(r),o=v(c+t);_()!==o&&(T=t,A(o));var a=L.indexOf(h(U.location));-1!==a&&(L[a]=t),E({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return z||(I(1),z=!0),function(){return z&&(z=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,u=void 0===i?0:i,c=t.keyLength,s=void 0===c?6:c,l=g();function f(e){Object(r.a)(x,e),x.length=x.entries.length,l.notifyListeners(x.location,x.action)}function d(){return Math.random().toString(36).substr(2,s)}var p=T(u,0,a.length-1),v=a.map((function(e){return y(e,void 0,"string"===typeof e?d():e.key||d())})),m=h;function b(e){var t=T(x.index+e,0,x.entries.length-1),r=x.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var x={length:v.length,action:"POP",location:v[p],index:p,entries:v,createHref:m,push:function(e,t){var r="PUSH",o=y(e,t,d(),x.location);l.confirmTransitionTo(o,r,n,(function(e){if(e){var t=x.index+1,n=x.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),f({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=y(e,t,d(),x.location);l.confirmTransitionTo(o,r,n,(function(e){e&&(x.entries[x.index]=o,f({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=x.index+e;return t>=0&&t<x.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return x}},function(e,t,n){"use strict";var r=n(163),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function i(e){return"undefined"===typeof e}function u(e){return null!==e&&"object"===typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:u,isPlainObject:c,isUndefined:i,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:s,isStream:function(e){return u(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:l,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):a(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r=Array.isArray,o=Object.keys,a=Object.prototype.hasOwnProperty,i="undefined"!==typeof Element;function u(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,c,s,l=r(e),f=r(t);if(l&&f){if((c=e.length)!=t.length)return!1;for(n=c;0!==n--;)if(!u(e[n],t[n]))return!1;return!0}if(l!=f)return!1;var d=e instanceof Date,p=t instanceof Date;if(d!=p)return!1;if(d&&p)return e.getTime()==t.getTime();var h=e instanceof RegExp,y=t instanceof RegExp;if(h!=y)return!1;if(h&&y)return e.toString()==t.toString();var v=o(e);if((c=v.length)!==o(t).length)return!1;for(n=c;0!==n--;)if(!a.call(t,v[n]))return!1;if(i&&e instanceof Element&&t instanceof Element)return e===t;for(n=c;0!==n--;)if(("_owner"!==(s=v[n])||!e.$$typeof)&&!u(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}e.exports=function(e,t){try{return u(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"getScaleFromName",(function(){return qr})),n.d(t,"getBaseScale",(function(){return $r})),n.d(t,"getDefaultScale",(function(){return Yr})),n.d(t,"getScaleFromProps",(function(){return Kr})),n.d(t,"getScaleType",(function(){return Gr})),n.d(t,"getType",(function(){return Qr}));var r={};n.r(r),n.d(r,"scaleBand",(function(){return z})),n.d(r,"scalePoint",(function(){return B})),n.d(r,"scaleIdentity",(function(){return ve})),n.d(r,"scaleLinear",(function(){return ye})),n.d(r,"scaleLog",(function(){return Oe})),n.d(r,"scaleOrdinal",(function(){return I})),n.d(r,"scaleImplicit",(function(){return F})),n.d(r,"scalePow",(function(){return Se})),n.d(r,"scaleSqrt",(function(){return _e})),n.d(r,"scaleQuantile",(function(){return Ae})),n.d(r,"scaleQuantize",(function(){return Pe})),n.d(r,"scaleThreshold",(function(){return Te})),n.d(r,"scaleTime",(function(){return Zn})),n.d(r,"scaleUtc",(function(){return ar})),n.d(r,"schemeCategory10",(function(){return ur})),n.d(r,"schemeCategory20b",(function(){return cr})),n.d(r,"schemeCategory20c",(function(){return sr})),n.d(r,"schemeCategory20",(function(){return lr})),n.d(r,"interpolateCubehelixDefault",(function(){return Pr})),n.d(r,"interpolateRainbow",(function(){return Nr})),n.d(r,"interpolateWarm",(function(){return Tr})),n.d(r,"interpolateCool",(function(){return jr})),n.d(r,"interpolateViridis",(function(){return Lr})),n.d(r,"interpolateMagma",(function(){return Dr})),n.d(r,"interpolateInferno",(function(){return Fr})),n.d(r,"interpolatePlasma",(function(){return Ir})),n.d(r,"scaleSequential",(function(){return zr}));var o=n(19),a=n.n(o),i=n(9),u=n.n(i),c=n(36),s=n.n(c),l=n(5),f=n(10),d=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},p=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return d(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var a=r+o>>>1;e(t[a],n)<0?r=a+1:o=a}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var a=r+o>>>1;e(t[a],n)>0?o=a:r=a+1}return r}}};var h=p(d),y=h.right,v=(h.left,y);var g=function(e){return null===e?NaN:+e},m=Array.prototype,b=(m.slice,m.map,function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),a=new Array(o);++r<o;)a[r]=e+r*n;return a}),x=Math.sqrt(50),w=Math.sqrt(10),k=Math.sqrt(2),E=function(e,t,n){var r,o,a,i,u=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(i=O(e,t,n))||!isFinite(i))return[];if(i>0)for(e=Math.ceil(e/i),t=Math.floor(t/i),a=new Array(o=Math.ceil(t-e+1));++u<o;)a[u]=(e+u)*i;else for(e=Math.floor(e*i),t=Math.ceil(t*i),a=new Array(o=Math.ceil(e-t+1));++u<o;)a[u]=(e-u)/i;return r&&a.reverse(),a};function O(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,o);return o>=0?(a>=x?10:a>=w?5:a>=k?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=x?10:a>=w?5:a>=k?2:1)}function C(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/o;return a>=x?o*=10:a>=w?o*=5:a>=k&&(o*=2),t<e?-o:o}var S=function(e,t,n){if(null==n&&(n=g),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,a=Math.floor(o),i=+n(e[a],a,e);return i+(+n(e[a+1],a+1,e)-i)*(o-a)}};var _="$";function A(){}function P(e,t){var n=new A;if(e instanceof A)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,a=e.length;if(null==t)for(;++o<a;)n.set(o,e[o]);else for(;++o<a;)n.set(t(r=e[o],o,e),r)}else if(e)for(var i in e)n.set(i,e[i]);return n}A.prototype=P.prototype={constructor:A,has:function(e){return _+e in this},get:function(e){return this[_+e]},set:function(e,t){return this[_+e]=t,this},remove:function(e){var t=_+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===_&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===_&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===_&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===_&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===_&&++e;return e},empty:function(){for(var e in this)if(e[0]===_)return!1;return!0},each:function(e){for(var t in this)t[0]===_&&e(this[t],t.slice(1),this)}};var T=P;function j(){}var M=T.prototype;function N(e,t){var n=new j;if(e instanceof j)e.each((function(e){n.add(e)}));else if(e){var r=-1,o=e.length;if(null==t)for(;++r<o;)n.add(e[r]);else for(;++r<o;)n.add(t(e[r],r,e))}return n}j.prototype=N.prototype={constructor:j,has:M.has,add:function(e){return this[_+(e+="")]=e,this},remove:M.remove,clear:M.clear,values:M.keys,size:M.size,empty:M.empty,each:M.each};var R=Array.prototype,L=R.map,D=R.slice,F={name:"implicit"};function I(e){var t=T(),n=[],r=F;function o(o){var a=o+"",i=t.get(a);if(!i){if(r!==F)return r;t.set(a,i=n.push(o))}return e[(i-1)%e.length]}return e=null==e?[]:D.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=T();for(var r,a,i=-1,u=e.length;++i<u;)t.has(a=(r=e[i])+"")||t.set(a,n.push(r));return o},o.range=function(t){return arguments.length?(e=D.call(t),o):e.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return I().domain(n).range(e).unknown(r)},o}function z(){var e,t,n=I().unknown(void 0),r=n.domain,o=n.range,a=[0,1],i=!1,u=0,c=0,s=.5;function l(){var n=r().length,l=a[1]<a[0],f=a[l-0],d=a[1-l];e=(d-f)/Math.max(1,n-u+2*c),i&&(e=Math.floor(e)),f+=(d-f-e*(n-u))*s,t=e*(1-u),i&&(f=Math.round(f),t=Math.round(t));var p=b(n).map((function(t){return f+e*t}));return o(l?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),l()):r()},n.range=function(e){return arguments.length?(a=[+e[0],+e[1]],l()):a.slice()},n.rangeRound=function(e){return a=[+e[0],+e[1]],i=!0,l()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(i=!!e,l()):i},n.padding=function(e){return arguments.length?(u=c=Math.max(0,Math.min(1,e)),l()):u},n.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),l()):u},n.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),l()):c},n.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),l()):s},n.copy=function(){return z().domain(r()).range(a).round(i).paddingInner(u).paddingOuter(c).align(s)},l()}function U(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return U(t())},e}function B(){return U(z().paddingInner(1))}var V=n(93),W=n(427),H=function(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}},q=function(e){return function(){return e}},$=function(e){return+e},Y=[0,1];function K(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:q(t)}function G(e,t,n,r){var o=e[0],a=e[1],i=t[0],u=t[1];return a<o?(o=n(a,o),i=r(u,i)):(o=n(o,a),i=r(i,u)),function(e){return i(o(e))}}function Q(e,t,n,r){var o=Math.min(e.length,t.length)-1,a=new Array(o),i=new Array(o),u=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<o;)a[u]=n(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var n=v(e,t,1,o)-1;return i[n](a[n](t))}}function X(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function Z(e,t){var n,r,o,a=Y,i=Y,u=W.a,c=!1;function s(){return n=Math.min(a.length,i.length)>2?Q:G,r=o=null,l}function l(t){return(r||(r=n(a,i,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,u)))(+t)}return l.invert=function(e){return(o||(o=n(i,a,K,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},l.domain=function(e){return arguments.length?(a=L.call(e,$),s()):a.slice()},l.range=function(e){return arguments.length?(i=D.call(e),s()):i.slice()},l.rangeRound=function(e){return i=D.call(e),u=H,s()},l.clamp=function(e){return arguments.length?(c=!!e,s()):c},l.interpolate=function(e){return arguments.length?(u=e,s()):u},s()}var J=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ee(e){if(!(t=J.exec(e)))throw new Error("invalid format: "+e);var t;return new te({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function te(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}ee.prototype=te.prototype,te.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};function ne(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var re,oe,ae,ie,ue=function(e){return(e=ne(Math.abs(e)))?e[1]:NaN},ce=function(e,t){var n=ne(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},se={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return ce(100*e,t)},r:ce,s:function(e,t){var n=ne(e,t);if(!n)return e+"";var r=n[0],o=n[1],a=o-(re=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=r.length;return a===i?r:a>i?r+new Array(a-i+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+ne(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},le=function(e){return e},fe=Array.prototype.map,de=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];oe=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?le:(t=fe.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,a=[],i=0,u=t[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),a.push(e.substring(o-=u,o+u)),!((c+=u+1)>r));)u=t[i=(i+1)%t.length];return a.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?le:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(fe.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=ee(e)).fill,n=e.align,f=e.sign,d=e.symbol,p=e.zero,h=e.width,y=e.comma,v=e.precision,g=e.trim,m=e.type;"n"===m?(y=!0,m="g"):se[m]||(void 0===v&&(v=12),g=!0,m="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===d?a:/[%p]/.test(m)?c:"",w=se[m],k=/[defgprs%]/.test(m);function E(e){var o,a,c,d=b,E=x;if("c"===m)E=w(e)+E,e="";else{var O=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:w(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),O&&0===+e&&"+"!==f&&(O=!1),d=(O?"("===f?f:s:"-"===f||"("===f?"":f)+d,E=("s"===m?de[8+re/3]:"")+E+(O&&"("===f?")":""),k)for(o=-1,a=e.length;++o<a;)if(48>(c=e.charCodeAt(o))||c>57){E=(46===c?i+e.slice(o+1):e.slice(o))+E,e=e.slice(0,o);break}}y&&!p&&(e=r(e,1/0));var C=d.length+e.length+E.length,S=C<h?new Array(h-C+1).join(t):"";switch(y&&p&&(e=r(S+e,S.length?h-E.length:1/0),S=""),n){case"<":e=d+e+E+S;break;case"=":e=d+S+e+E;break;case"^":e=S.slice(0,C=S.length>>1)+d+e+E+S.slice(C);break;default:e=S+d+e+E}return u(e)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),E.toString=function(){return e+""},E}return{format:f,formatPrefix:function(e,t){var n=f(((e=ee(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(ue(t)/3))),o=Math.pow(10,-r),a=de[8+r/3];return function(e){return n(o*e)+a}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),ae=oe.format,ie=oe.formatPrefix;var pe=function(e,t,n){var r,o=e[0],a=e[e.length-1],i=C(o,a,null==t?10:t);switch((n=ee(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(a));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ue(t)/3)))-ue(Math.abs(e)))}(i,u))||(n.precision=r),ie(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,ue(t)-ue(e))+1}(i,Math.max(Math.abs(o),Math.abs(a))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-ue(Math.abs(e)))}(i))||(n.precision=r-2*("%"===n.type))}return ae(n)};function he(e){var t=e.domain;return e.ticks=function(e){var n=t();return E(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return pe(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),a=0,i=o.length-1,u=o[a],c=o[i];return c<u&&(r=u,u=c,c=r,r=a,a=i,i=r),(r=O(u,c,n))>0?r=O(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=O(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(o[a]=Math.floor(u/r)*r,o[i]=Math.ceil(c/r)*r,t(o)):r<0&&(o[a]=Math.ceil(u*r)/r,o[i]=Math.floor(c*r)/r,t(o)),e},e}function ye(){var e=Z(K,V.a);return e.copy=function(){return X(e,ye())},he(e)}function ve(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=L.call(n,$),t):e.slice()},t.copy=function(){return ve().domain(e)},he(t)}var ge=function(e,t){var n,r=0,o=(e=e.slice()).length-1,a=e[r],i=e[o];return i<a&&(n=r,r=o,o=n,n=a,a=i,i=n),e[r]=t.floor(a),e[o]=t.ceil(i),e};function me(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:q(t)}function be(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function xe(e){return isFinite(e)?+("1e"+e):e<0?0:e}function we(e){return 10===e?xe:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function ke(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function Ee(e){return function(t){return-e(-t)}}function Oe(){var e=Z(me,be).domain([1,10]),t=e.domain,n=10,r=ke(10),o=we(10);function a(){return r=ke(n),o=we(n),t()[0]<0&&(r=Ee(r),o=Ee(o)),e}return e.base=function(e){return arguments.length?(n=+e,a()):n},e.domain=function(e){return arguments.length?(t(e),a()):t()},e.ticks=function(e){var a,i=t(),u=i[0],c=i[i.length-1];(a=c<u)&&(d=u,u=c,c=d);var s,l,f,d=r(u),p=r(c),h=null==e?10:+e,y=[];if(!(n%1)&&p-d<h){if(d=Math.round(d)-1,p=Math.round(p)+1,u>0){for(;d<p;++d)for(l=1,s=o(d);l<n;++l)if(!((f=s*l)<u)){if(f>c)break;y.push(f)}}else for(;d<p;++d)for(l=n-1,s=o(d);l>=1;--l)if(!((f=s*l)<u)){if(f>c)break;y.push(f)}}else y=E(d,p,Math.min(p-d,h)).map(o);return a?y.reverse():y},e.tickFormat=function(t,a){if(null==a&&(a=10===n?".0e":","),"function"!==typeof a&&(a=ae(a)),t===1/0)return a;null==t&&(t=10);var i=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/o(Math.round(r(e)));return t*n<n-.5&&(t*=n),t<=i?a(e):""}},e.nice=function(){return t(ge(t(),{floor:function(e){return o(Math.floor(r(e)))},ceil:function(e){return o(Math.ceil(r(e)))}}))},e.copy=function(){return X(e,Oe().base(n))},e}function Ce(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function Se(){var e=1,t=Z((function(t,n){return(n=Ce(n,e)-(t=Ce(t,e)))?function(r){return(Ce(r,e)-t)/n}:q(n)}),(function(t,n){return n=Ce(n,e)-(t=Ce(t,e)),function(r){return Ce(t+n*r,1/e)}})),n=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,n(n())):e},t.copy=function(){return X(t,Se().exponent(e))},he(t)}function _e(){return Se().exponent(.5)}function Ae(){var e=[],t=[],n=[];function r(){var r=0,a=Math.max(1,t.length);for(n=new Array(a-1);++r<a;)n[r-1]=S(e,r/a);return o}function o(e){if(!isNaN(e=+e))return t[v(n,e)]}return o.invertExtent=function(r){var o=t.indexOf(r);return o<0?[NaN,NaN]:[o>0?n[o-1]:e[0],o<n.length?n[o]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,o=0,a=t.length;o<a;++o)null==(n=t[o])||isNaN(n=+n)||e.push(n);return e.sort(d),r()},o.range=function(e){return arguments.length?(t=D.call(e),r()):t.slice()},o.quantiles=function(){return n.slice()},o.copy=function(){return Ae().domain(e).range(t)},o}function Pe(){var e=0,t=1,n=1,r=[.5],o=[0,1];function a(e){if(e<=e)return o[v(r,e,0,n)]}function i(){var o=-1;for(r=new Array(n);++o<n;)r[o]=((o+1)*t-(o-n)*e)/(n+1);return a}return a.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],i()):[e,t]},a.range=function(e){return arguments.length?(n=(o=D.call(e)).length-1,i()):o.slice()},a.invertExtent=function(a){var i=o.indexOf(a);return i<0?[NaN,NaN]:i<1?[e,r[0]]:i>=n?[r[n-1],t]:[r[i-1],r[i]]},a.copy=function(){return Pe().domain([e,t]).range(o)},he(a)}function Te(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[v(e,r,0,n)]}return r.domain=function(o){return arguments.length?(e=D.call(o),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(o){return arguments.length?(t=D.call(o),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return Te().domain(e).range(t)},r}var je=new Date,Me=new Date;function Ne(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,a){var i,u=[];if(n=o.ceil(n),a=null==a?1:Math.floor(a),!(n<r)||!(a>0))return u;do{u.push(i=new Date(+n)),t(n,a),e(n)}while(i<n&&n<r);return u},o.filter=function(n){return Ne((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return je.setTime(+t),Me.setTime(+r),e(je),e(Me),Math.floor(n(je,Me))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var Re=Ne((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Re.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Ne((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Le=Re,De=(Re.range,Ne((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),Fe=De,Ie=(De.range,1e3),ze=6e4,Ue=36e5,Be=864e5,Ve=6048e5;function We(e){return Ne((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ze)/Ve}))}var He=We(0),qe=We(1),$e=We(2),Ye=We(3),Ke=We(4),Ge=We(5),Qe=We(6),Xe=(He.range,qe.range,$e.range,Ye.range,Ke.range,Ge.range,Qe.range,Ne((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ze)/Be}),(function(e){return e.getDate()-1}))),Ze=Xe,Je=(Xe.range,Ne((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ie-e.getMinutes()*ze)}),(function(e,t){e.setTime(+e+t*Ue)}),(function(e,t){return(t-e)/Ue}),(function(e){return e.getHours()}))),et=Je,tt=(Je.range,Ne((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ie)}),(function(e,t){e.setTime(+e+t*ze)}),(function(e,t){return(t-e)/ze}),(function(e){return e.getMinutes()}))),nt=tt,rt=(tt.range,Ne((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Ie)}),(function(e,t){return(t-e)/Ie}),(function(e){return e.getUTCSeconds()}))),ot=rt,at=(rt.range,Ne((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));at.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Ne((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):at:null};var it=at;at.range;function ut(e){return Ne((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Ve}))}var ct=ut(0),st=ut(1),lt=ut(2),ft=ut(3),dt=ut(4),pt=ut(5),ht=ut(6),yt=(ct.range,st.range,lt.range,ft.range,dt.range,pt.range,ht.range,Ne((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Be}),(function(e){return e.getUTCDate()-1}))),vt=yt,gt=(yt.range,Ne((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));gt.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Ne((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var mt=gt;gt.range;function bt(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function xt(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function wt(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var kt,Et,Ot,Ct={"-":"",_:" ",0:"0"},St=/^\s*\d+/,_t=/^%/,At=/[\\^$*+?|[\]().{}]/g;function Pt(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",a=o.length;return r+(a<n?new Array(n-a+1).join(t)+o:o)}function Tt(e){return e.replace(At,"\\$&")}function jt(e){return new RegExp("^(?:"+e.map(Tt).join("|")+")","i")}function Mt(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Nt(e,t,n){var r=St.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Rt(e,t,n){var r=St.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Dt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Ft(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function It(e,t,n){var r=St.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function zt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ut(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Bt(e,t,n){var r=St.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Vt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Wt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ht(e,t,n){var r=St.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function qt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function $t(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Yt(e,t,n){var r=St.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Kt(e,t,n){var r=St.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Gt(e,t,n){var r=St.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Qt(e,t,n){var r=_t.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Xt(e,t,n){var r=St.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Zt(e,t,n){var r=St.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Jt(e,t){return Pt(e.getDate(),t,2)}function en(e,t){return Pt(e.getHours(),t,2)}function tn(e,t){return Pt(e.getHours()%12||12,t,2)}function nn(e,t){return Pt(1+Ze.count(Le(e),e),t,3)}function rn(e,t){return Pt(e.getMilliseconds(),t,3)}function on(e,t){return rn(e,t)+"000"}function an(e,t){return Pt(e.getMonth()+1,t,2)}function un(e,t){return Pt(e.getMinutes(),t,2)}function cn(e,t){return Pt(e.getSeconds(),t,2)}function sn(e){var t=e.getDay();return 0===t?7:t}function ln(e,t){return Pt(He.count(Le(e)-1,e),t,2)}function fn(e){var t=e.getDay();return t>=4||0===t?Ke(e):Ke.ceil(e)}function dn(e,t){return e=fn(e),Pt(Ke.count(Le(e),e)+(4===Le(e).getDay()),t,2)}function pn(e){return e.getDay()}function hn(e,t){return Pt(qe.count(Le(e)-1,e),t,2)}function yn(e,t){return Pt(e.getFullYear()%100,t,2)}function vn(e,t){return Pt((e=fn(e)).getFullYear()%100,t,2)}function gn(e,t){return Pt(e.getFullYear()%1e4,t,4)}function mn(e,t){var n=e.getDay();return Pt((e=n>=4||0===n?Ke(e):Ke.ceil(e)).getFullYear()%1e4,t,4)}function bn(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Pt(t/60|0,"0",2)+Pt(t%60,"0",2)}function xn(e,t){return Pt(e.getUTCDate(),t,2)}function wn(e,t){return Pt(e.getUTCHours(),t,2)}function kn(e,t){return Pt(e.getUTCHours()%12||12,t,2)}function En(e,t){return Pt(1+vt.count(mt(e),e),t,3)}function On(e,t){return Pt(e.getUTCMilliseconds(),t,3)}function Cn(e,t){return On(e,t)+"000"}function Sn(e,t){return Pt(e.getUTCMonth()+1,t,2)}function _n(e,t){return Pt(e.getUTCMinutes(),t,2)}function An(e,t){return Pt(e.getUTCSeconds(),t,2)}function Pn(e){var t=e.getUTCDay();return 0===t?7:t}function Tn(e,t){return Pt(ct.count(mt(e)-1,e),t,2)}function jn(e){var t=e.getUTCDay();return t>=4||0===t?dt(e):dt.ceil(e)}function Mn(e,t){return e=jn(e),Pt(dt.count(mt(e),e)+(4===mt(e).getUTCDay()),t,2)}function Nn(e){return e.getUTCDay()}function Rn(e,t){return Pt(st.count(mt(e)-1,e),t,2)}function Ln(e,t){return Pt(e.getUTCFullYear()%100,t,2)}function Dn(e,t){return Pt((e=jn(e)).getUTCFullYear()%100,t,2)}function Fn(e,t){return Pt(e.getUTCFullYear()%1e4,t,4)}function In(e,t){var n=e.getUTCDay();return Pt((e=n>=4||0===n?dt(e):dt.ceil(e)).getUTCFullYear()%1e4,t,4)}function zn(){return"+0000"}function Un(){return"%"}function Bn(e){return+e}function Vn(e){return Math.floor(+e/1e3)}!function(e){kt=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,a=e.days,i=e.shortDays,u=e.months,c=e.shortMonths,s=jt(o),l=Mt(o),f=jt(a),d=Mt(a),p=jt(i),h=Mt(i),y=jt(u),v=Mt(u),g=jt(c),m=Mt(c),b={a:function(e){return i[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Jt,e:Jt,f:on,g:vn,G:mn,H:en,I:tn,j:nn,L:rn,m:an,M:un,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Bn,s:Vn,S:cn,u:sn,U:ln,V:dn,w:pn,W:hn,x:null,X:null,y:yn,Y:gn,Z:bn,"%":Un},x={a:function(e){return i[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:xn,e:xn,f:Cn,g:Dn,G:In,H:wn,I:kn,j:En,L:On,m:Sn,M:_n,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Bn,s:Vn,S:An,u:Pn,U:Tn,V:Mn,w:Nn,W:Rn,x:null,X:null,y:Ln,Y:Fn,Z:zn,"%":Un},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return O(e,t,n,r)},d:Wt,e:Wt,f:Gt,g:zt,G:It,H:qt,I:qt,j:Ht,L:Kt,m:Vt,M:$t,p:function(e,t,n){var r=s.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:Bt,Q:Xt,s:Zt,S:Yt,u:Rt,U:Lt,V:Dt,w:Nt,W:Ft,x:function(e,t,r){return O(e,n,t,r)},X:function(e,t,n){return O(e,r,t,n)},y:zt,Y:It,Z:Ut,"%":Qt};function k(e,t){return function(n){var r,o,a,i=[],u=-1,c=0,s=e.length;for(n instanceof Date||(n=new Date(+n));++u<s;)37===e.charCodeAt(u)&&(i.push(e.slice(c,u)),null!=(o=Ct[r=e.charAt(++u)])?r=e.charAt(++u):o="e"===r?" ":"0",(a=t[r])&&(r=a(n,o)),i.push(r),c=u+1);return i.push(e.slice(c,u)),i.join("")}}function E(e,t){return function(n){var r,o,a=wt(1900,void 0,1);if(O(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(t&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(o=(r=xt(wt(a.y,0,1))).getUTCDay(),r=o>4||0===o?st.ceil(r):st(r),r=vt.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(o=(r=bt(wt(a.y,0,1))).getDay(),r=o>4||0===o?qe.ceil(r):qe(r),r=Ze.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?xt(wt(a.y,0,1)).getUTCDay():bt(wt(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,xt(a)):bt(a)}}function O(e,t,n,r){for(var o,a,i=0,u=t.length,c=n.length;i<u;){if(r>=c)return-1;if(37===(o=t.charCodeAt(i++))){if(o=t.charAt(i++),!(a=w[o in Ct?t.charAt(i++):o])||(r=a(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=k(n,b),b.X=k(r,b),b.c=k(t,b),x.x=k(n,x),x.X=k(r,x),x.c=k(t,x),{format:function(e){var t=k(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=E(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=E(e+="",!0);return t.toString=function(){return e},t}}}(e),Et=kt.format,kt.parse,Ot=kt.utcFormat,kt.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Wn=1e3,Hn=6e4,qn=36e5,$n=864e5,Yn=2592e6,Kn=31536e6;function Gn(e){return new Date(e)}function Qn(e){return e instanceof Date?+e:+new Date(+e)}function Xn(e,t,n,r,o,a,i,u,c){var s=Z(K,V.a),l=s.invert,f=s.domain,d=c(".%L"),h=c(":%S"),y=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),m=c("%b %d"),b=c("%B"),x=c("%Y"),w=[[i,1,Wn],[i,5,5e3],[i,15,15e3],[i,30,3e4],[a,1,Hn],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,qn],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,$n],[r,2,1728e5],[n,1,6048e5],[t,1,Yn],[t,3,7776e6],[e,1,Kn]];function k(u){return(i(u)<u?d:a(u)<u?h:o(u)<u?y:r(u)<u?v:t(u)<u?n(u)<u?g:m:e(u)<u?b:x)(u)}function E(t,n,r,o){if(null==t&&(t=10),"number"===typeof t){var a=Math.abs(r-n)/t,i=p((function(e){return e[2]})).right(w,a);i===w.length?(o=C(n/Kn,r/Kn,t),t=e):i?(o=(i=w[a/w[i-1][2]<w[i][2]/a?i-1:i])[1],t=i[0]):(o=Math.max(C(n,r,t),1),t=u)}return null==o?t:t.every(o)}return s.invert=function(e){return new Date(l(e))},s.domain=function(e){return arguments.length?f(L.call(e,Qn)):f().map(Gn)},s.ticks=function(e,t){var n,r=f(),o=r[0],a=r[r.length-1],i=a<o;return i&&(n=o,o=a,a=n),n=(n=E(e,o,a,t))?n.range(o,a+1):[],i?n.reverse():n},s.tickFormat=function(e,t){return null==t?k:c(t)},s.nice=function(e,t){var n=f();return(e=E(e,n[0],n[n.length-1],t))?f(ge(n,e)):s},s.copy=function(){return X(s,Xn(e,t,n,r,o,a,i,u,c))},s}var Zn=function(){return Xn(Le,Fe,He,Ze,et,nt,ot,it,Et).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},Jn=Ne((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),er=Jn,tr=(Jn.range,Ne((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Ue)}),(function(e,t){return(t-e)/Ue}),(function(e){return e.getUTCHours()}))),nr=tr,rr=(tr.range,Ne((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*ze)}),(function(e,t){return(t-e)/ze}),(function(e){return e.getUTCMinutes()}))),or=rr,ar=(rr.range,function(){return Xn(mt,er,ct,vt,nr,or,ot,it,Ot).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}),ir=function(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))},ur=ir("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),cr=ir("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),sr=ir("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),lr=ir("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),fr=n(49),dr=n(51),pr=Math.PI/180,hr=180/Math.PI,yr=-.14861,vr=1.78277,gr=-.29227,mr=-.90649,br=1.97294,xr=br*mr,wr=br*vr,kr=vr*gr-mr*yr;function Er(e){if(e instanceof Cr)return new Cr(e.h,e.s,e.l,e.opacity);e instanceof dr.b||(e=Object(dr.g)(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(kr*r+xr*t-wr*n)/(kr+xr-wr),a=r-o,i=(br*(n-o)-gr*a)/mr,u=Math.sqrt(i*i+a*a)/(br*o*(1-o)),c=u?Math.atan2(i,a)*hr-120:NaN;return new Cr(c<0?c+360:c,u,o,e.opacity)}function Or(e,t,n,r){return 1===arguments.length?Er(e):new Cr(e,t,n,null==r?1:r)}function Cr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Object(fr.a)(Cr,Or,Object(fr.b)(dr.a,{brighter:function(e){return e=null==e?dr.c:Math.pow(dr.c,e),new Cr(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?dr.d:Math.pow(dr.d,e),new Cr(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*pr,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new dr.b(255*(t+n*(yr*r+vr*o)),255*(t+n*(gr*r+mr*o)),255*(t+n*(br*r)),this.opacity)}}));var Sr=n(50);function _r(e){return function t(n){function r(t,r){var o=e((t=Or(t)).h,(r=Or(r)).h),a=Object(Sr.a)(t.s,r.s),i=Object(Sr.a)(t.l,r.l),u=Object(Sr.a)(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=a(e),t.l=i(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}_r(Sr.c);var Ar=_r(Sr.a),Pr=Ar(Or(300,.5,0),Or(-240,.5,1)),Tr=Ar(Or(-100,.75,.35),Or(80,1.5,.8)),jr=Ar(Or(260,.75,.35),Or(80,1.5,.8)),Mr=Or(),Nr=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Mr.h=360*e-100,Mr.s=1.5-1.5*t,Mr.l=.8-.9*t,Mr+""};function Rr(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Lr=Rr(ir("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Dr=Rr(ir("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Fr=Rr(ir("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Ir=Rr(ir("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function zr(e){var t=0,n=1,r=!1;function o(o){var a=(o-t)/(n-t);return e(r?Math.max(0,Math.min(1,a)):a)}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.clamp=function(e){return arguments.length?(r=!!e,o):r},o.interpolator=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return zr(e).domain([t,n]).clamp(r)},he(o)}var Ur=["linear","time","log","sqrt"];function Br(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function Vr(e){return"function"===typeof e?u()(e.copy)&&u()(e.domain)&&u()(e.range):"string"===typeof e&&s()(Ur,e)}function Wr(e,t){return!!e.scale&&(!e.scale.x&&!e.scale.y||!!e.scale[t])}function Hr(e,t){if(!e.data)return"linear";var n=l.createAccessor(e[t]),r=e.data.map((function(e){var r=a()(n(e))?n(e)[t]:n(e);return void 0!==r?r:e[t]}));return f.containsDates(r)?"time":"linear"}function qr(e){return Vr(e)?r[Br(e)]():ye()}function $r(e,t){var n=Kr(e,t);if(n)return"string"===typeof n?qr(n):n;var o=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return f.containsDates(n)?"time":"linear"}(e,t)||Hr(e,t);return r[Br(o)]()}function Yr(){return ye()}function Kr(e,t){if(Wr(e,t)){var n=e.scale[t]||e.scale;return Vr(n)?u()(n)?n:r[Br(n)]():void 0}}function Gr(e,t){return function(e,t){if(Wr(e,t)){var n=e.scale[t]||e.scale;return"string"===typeof n?n:Qr(n)}}(e,t)||Hr(e,t)}function Qr(e){if("string"===typeof e)return e;var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}},function(e,t,n){"use strict";var r="Invariant failed";t.a=function(e,t){if(!e)throw new Error(r)}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){var r=n(198),o=n(45),a=n(397),i=n(204),u=n(73),c=Math.max;e.exports=function(e,t,n,s){e=o(e)?e:u(e),n=n&&!s?i(n):0;var l=e.length;return n<0&&(n=c(l+n,0)),a(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&r(e,t,n)>-1}},function(e,t,n){var r=n(196);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(72);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(c){o=!0,a=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){(function(r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!==typeof r&&"env"in r&&(e=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=n(248)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n(149))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){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)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(254);e.exports=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,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(66),o=n(255),a=n(256);e.exports=function(e){var t=o();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(9),o=n(127);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";function r(e){0}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(83),o=n(318),a=n(319),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(174),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}n.d(t,"b",(function(){return r})),t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return u}));var r=n(76);function o(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?o(e,n>180||n<-180?n-360*Math.round(n/360):n):Object(r.a)(isNaN(e)?t:e)}function i(e){return 1===(e=+e)?u:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Object(r.a)(isNaN(t)?n:t)}}function u(e,t){var n=t-e;return n?o(e,n):Object(r.a)(isNaN(e)?t:e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return x})),n.d(t,"g",(function(){return E})),n.d(t,"f",(function(){return O})),n.d(t,"b",(function(){return C}));var r=n(49);function o(){}var a=.7,i=1/a,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),y=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),v=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?w(t):3===n?new C(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?k(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?k(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new C(t[1],t[2],t[3],1):(t=d.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?k(t[1],t[2],t[3],t[4]):(t=h.exec(e))?k(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=v.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?w(g[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function w(e){return new C(e>>16&255,e>>8&255,255&e,1)}function k(e,t,n,r){return r<=0&&(e=t=n=NaN),new C(e,t,n,r)}function E(e){return e instanceof o||(e=x(e)),e?new C((e=e.rgb()).r,e.g,e.b,e.opacity):new C}function O(e,t,n,r){return 1===arguments.length?E(e):new C(e,t,n,null==r?1:r)}function C(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function S(){return"#"+A(this.r)+A(this.g)+A(this.b)}function _(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function A(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function P(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new j(e,t,n,r)}function T(e){if(e instanceof j)return new j(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=x(e)),!e)return new j;if(e instanceof j)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),u=NaN,c=i-a,s=(i+a)/2;return c?(u=t===i?(n-r)/c+6*(n<r):n===i?(r-t)/c+2:(t-n)/c+4,c/=s<.5?i+a:2-i-a,u*=60):c=s>0&&s<1?0:u,new j(u,c,s,e.opacity)}function j(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function M(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Object(r.a)(o,x,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return T(this).formatHsl()},formatRgb:b,toString:b}),Object(r.a)(C,O,Object(r.b)(o,{brighter:function(e){return e=null==e?i:Math.pow(i,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:_,toString:_})),Object(r.a)(j,(function(e,t,n,r){return 1===arguments.length?T(e):new j(e,t,n,null==r?1:r)}),Object(r.b)(o,{brighter:function(e){return e=null==e?i:Math.pow(i,e),new j(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new j(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new C(M(e>=240?e-240:e+120,o,r),M(e,o,r),M(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},function(e,t,n){var r=n(337),o=n(371),a=n(29),i=n(26),u=n(88);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):u(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"dataProps",(function(){return i})),n.d(t,"baseProps",(function(){return u})),n.d(t,"primitiveProps",(function(){return c}));var r=n(0),o=n.n(r),a=n(8),i={categories:o.a.oneOfType([o.a.arrayOf(o.a.string),o.a.shape({x:o.a.arrayOf(o.a.string),y:o.a.arrayOf(o.a.string)})]),data:o.a.oneOfType([o.a.array,o.a.object]),dataComponent:o.a.element,disableInlineStyles:o.a.bool,labelComponent:o.a.element,labels:o.a.oneOfType([o.a.func,o.a.array]),samples:a.nonNegative,sortKey:o.a.oneOfType([o.a.func,a.allOfType([a.integer,a.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)]),sortOrder:o.a.oneOf(["ascending","descending"]),style:o.a.shape({parent:o.a.object,data:o.a.object,labels:o.a.object}),x:o.a.oneOfType([o.a.func,a.allOfType([a.integer,a.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)]),y:o.a.oneOfType([o.a.func,a.allOfType([a.integer,a.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)]),y0:o.a.oneOfType([o.a.func,a.allOfType([a.integer,a.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)])},u={animate:o.a.oneOfType([o.a.bool,o.a.object]),containerComponent:o.a.element,domain:o.a.oneOfType([a.domain,o.a.shape({x:a.domain,y:a.domain})]),maxDomain:o.a.oneOfType([o.a.number,o.a.instanceOf(Date),o.a.shape({x:o.a.oneOfType([o.a.number,o.a.instanceOf(Date)]),y:o.a.oneOfType([o.a.number,o.a.instanceOf(Date)])})]),minDomain:o.a.oneOfType([o.a.number,o.a.instanceOf(Date),o.a.shape({x:o.a.oneOfType([o.a.number,o.a.instanceOf(Date)]),y:o.a.oneOfType([o.a.number,o.a.instanceOf(Date)])})]),domainPadding:o.a.oneOfType([o.a.shape({x:o.a.oneOfType([o.a.number,o.a.arrayOf(o.a.number)]),y:o.a.oneOfType([o.a.number,o.a.arrayOf(o.a.number)])}),o.a.number,o.a.arrayOf(o.a.number)]),eventKey:o.a.oneOfType([o.a.func,a.allOfType([a.integer,a.nonNegative]),o.a.string]),events:o.a.arrayOf(o.a.shape({target:o.a.oneOf(["data","labels","parent"]),eventKey:o.a.oneOfType([o.a.array,a.allOfType([a.integer,a.nonNegative]),o.a.string]),eventHandlers:o.a.object})),externalEventMutations:o.a.arrayOf(o.a.shape({callback:o.a.function,childName:o.a.oneOfType([o.a.string,o.a.array]),eventKey:o.a.oneOfType([o.a.array,a.allOfType([a.integer,a.nonNegative]),o.a.string]),mutation:o.a.function,target:o.a.oneOfType([o.a.string,o.a.array])})),groupComponent:o.a.element,height:a.nonNegative,name:o.a.string,origin:o.a.shape({x:o.a.number,y:o.a.number}),padding:o.a.oneOfType([o.a.number,o.a.shape({top:o.a.number,bottom:o.a.number,left:o.a.number,right:o.a.number})]),polar:o.a.bool,range:o.a.oneOfType([a.domain,o.a.shape({x:a.domain,y:a.domain})]),scale:o.a.oneOfType([a.scale,o.a.shape({x:a.scale,y:a.scale})]),sharedEvents:o.a.shape({events:o.a.array,getEventState:o.a.func}),singleQuadrantDomainPadding:o.a.oneOfType([o.a.bool,o.a.shape({x:o.a.oneOfType([o.a.bool]),y:o.a.oneOfType([o.a.bool])})]),standalone:o.a.bool,theme:o.a.object,width:a.nonNegative},c={active:o.a.bool,ariaLabel:o.a.oneOfType([o.a.string,o.a.func]),className:o.a.string,clipPath:o.a.string,data:o.a.oneOfType([o.a.array,o.a.object]),desc:o.a.oneOfType([o.a.string,o.a.func]),disableInlineStyles:o.a.bool,events:o.a.object,id:o.a.oneOfType([o.a.number,o.a.string,o.a.func]),index:o.a.oneOfType([o.a.number,o.a.string]),origin:o.a.shape({x:o.a.number,y:o.a.number}),polar:o.a.bool,role:o.a.string,scale:o.a.oneOfType([a.scale,o.a.shape({x:a.scale,y:a.scale})]),shapeRendering:o.a.string,style:o.a.object,tabIndex:o.a.oneOfType([o.a.number,o.a.func]),transform:o.a.string}},function(e,t,n){"use strict";var r=n(2),o=n.n(r),a=n(91),i=o.a.createContext({transitionTimer:new a.a,animationTimer:new a.a});i.displayName="TimerContext",t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(12),o=n.n(r),a=n(29),i=n.n(a),u=n(6),c=n.n(u),s=n(3),l=n.n(s),f=n(2),d=n.n(f);function p(e,t){return(e.key||t).toString()}function h(e){return e.reduce((function(e,t,n){return e[p(t,n)]=t,e}),{})}function y(e,t){var n=!1,r=o()(e).reduce((function(e,r){return r in t||(n=!0,e[r]=!0),e}),{});return n&&r}function v(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function g(e,t){var n=!1,r=!1,o=function(e,t){if(!t||e.type!==t.type)return{};var o=function(e,t){var n=e&&h(e),r=t&&h(t);return{entering:n&&y(r,n),exiting:r&&y(n,r)}}(v(e),v(t))||{},a=o.entering,i=o.exiting;return n=n||!!i,r=r||!!a,{entering:a||!1,exiting:i||!1}},a=function e(t,n){return t.map((function(r,a){return r&&r.props&&r.props.children&&n[a]?e(d.a.Children.toArray(t[a].props.children),d.a.Children.toArray(n[a].props.children)):o(r,n[a])}))}(d.a.Children.toArray(e),d.a.Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function m(e,t,n){var r=t&&t.nodesWillExit,o=t&&t.nodesWillEnter,a=t&&t.nodesShouldEnter,u=t&&t.nodesShouldLoad,s=t&&t.nodesDoneLoad,f=t&&t.childrenTransitions||[],d={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},h=function(e,t,r){return u?function(e,t,n){if((e=l()({},e,{onEnd:n}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var r=e.onLoad&&e.onLoad.after?e.onLoad.after:i.a;return{animate:e,data:t=t.map((function(e,n){return l()({},e,r(e,n,t))}))}}(r,t,(function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})})):function(e,t,n,r){if((e=l()({},e,{onEnd:r}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:n};var o=e.onLoad&&e.onLoad.before?e.onLoad.before:i.a;return{animate:e,data:n=n.map((function(e,t){return l()({},e,o(e,t,n))})),clipWidth:0}}(r,0,t,(function(){n({nodesDoneLoad:!0})}))},y=function(e,t,r,o){return function(e,t,n,r,o){var a=e&&e.onExit;if(e=l()({},e,a),r){e.onEnd=o;var u=e.onExit&&e.onExit.before?e.onExit.before:i.a;n=n.map((function(e,t){var o=(e.key||t).toString();return r[o]?l()({},e,u(e,t,n)):e}))}return{animate:e,data:n}}(o,0,r,e,(function(){n({nodesWillExit:!1})}))},g=function(e,t,r,o){return a?function(e,t,n,r){var o=e&&e.onEnter;if(e=l()({},e,o),n){e.onEnd=r;var a=e.onEnter&&e.onEnter.after?e.onEnter.after:i.a;t=t.map((function(e,r){var o=p(e,r);return n[o]?l()({},e,a(e,r,t)):e}))}return{animate:e,data:t}}(o,r,e,(function(){n({nodesWillEnter:!1})})):function(e,t,n,r,o){if(r){var a=(e=l()({},e,{onEnd:o})).onEnter&&e.onEnter.before?e.onEnter.before:i.a;n=n.map((function(e,t){var o=(e.key||t).toString();return r[o]?l()({},e,a(e,t,n)):e}))}return{animate:e,data:n}}(o,0,r,e,(function(){n({nodesShouldEnter:!0})}))},m=function(e,t){var n=e.props.animate;if(!e.type)return{};var r=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(r){var o=n[t]&&n[t].duration;return void 0!==o?o:r[t]&&r[t].duration}return{}};return function(n,u){var p=v(n)||[],b=c()({},e.animate,n.props.animate),x=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;b.onExit=c()({},b.onExit,x&&x.onExit),b.onEnter=c()({},b.onEnter,x&&x.onEnter),b.onLoad=c()({},b.onLoad,x&&x.onLoad);var w=f[u]||f[0];if(!s){var k={duration:void 0!==d.load?d.load:m(n,"onLoad")};return h(0,p,l()({},b,k))}if(r){var E=w&&w.exiting,O=void 0!==d.exit?d.exit:m(n,"onExit"),C=E?{duration:O}:{delay:O};return y(E,0,p,l()({},b,C))}if(o){var S=w&&w.entering,_=void 0!==d.enter?d.enter:m(n,"onEnter"),A=void 0!==d.move?d.move:n.props.animate&&n.props.animate.duration,P={duration:a&&S?_:A};return g(S,0,p,l()({},b,P))}return!t&&b&&b.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:i.a;return{data:t.map((function(e,r){return l()({},e,n(e,r,t))}))}}(b,p):{animate:b,data:p}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return Te}));var r=n(16),o=n(18),a=n(7),i=n.n(a),u=n(11),c=n(72);function s(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(c.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}var l=n(63),f=n(38),d=n(20),p=n(2),h=function(e){return"checkbox"===e.type},y=function(e){return null==e},v=function(e){return"object"===typeof e},g=function(e){return!y(e)&&!Array.isArray(e)&&v(e)&&!(e instanceof Date)},m=function(e){return e.substring(0,e.search(/.\d/))||e},b=function(e,t){return Object(d.a)(e).some((function(e){return m(t)===e}))},x=function(e){return e.filter(Boolean)},w=function(e){return void 0===e},k=function(e,t,n){if(g(e)&&t){var r=x(t.split(/[,[\].]+?/)).reduce((function(e,t){return y(e)?e:e[t]}),e);return w(r)||r===e?w(e[t])?n:e[t]:r}},E="blur",O="onBlur",C="onChange",S="onSubmit",_="onTouched",A="all",P="max",T="min",j="maxLength",M="minLength",N="pattern",R="required",L="validate",D=function(e,t){var n=Object.assign({},e);return delete n[t],n},F=p.createContext(null);F.displayName="RHFContext";var I=function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return e?new Proxy(t,{get:function(e,t){if(t in e)return n.current[t]!==A&&(n.current[t]=!o||A),r&&(r.current[t]=!0),e[t]}}):t},z=function(e){return g(e)&&!Object.keys(e).length},U=function(e,t,n){var r=D(e,"name");return z(r)||Object.keys(r).length>=Object.keys(t).length||Object.keys(r).find((function(e){return t[e]===(!n||A)}))},B=function(e){return Array.isArray(e)?e:[e]},V="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document,W=V?"Proxy"in window:"undefined"!==typeof Proxy;var H=function(e,t,n,r,o){return t?Object.assign(Object.assign({},n[e]),{types:Object.assign(Object.assign({},n[e]&&n[e].types?n[e].types:{}),Object(l.a)({},r,o||!0))}):{}},q=function(e){return/^\w*$/.test(e)},$=function(e){return x(e.replace(/["|']|\]/g,"").split(/\.|\[/))};function Y(e,t,n){for(var r=-1,o=q(t)?[t]:$(t),a=o.length,i=a-1;++r<a;){var u=o[r],c=n;if(r!==i){var s=e[u];c=g(s)||Array.isArray(s)?s:isNaN(+o[r+1])?{}:[]}e[u]=c,e=e[u]}return e}var K=function e(t,n,r){var o,a=s(r||Object.keys(t));try{for(a.s();!(o=a.n()).done;){var i=o.value,u=k(t,i);if(u){var c=u._f,l=D(u,"_f");if(c&&n(c.name)){if(c.ref.focus&&w(c.ref.focus()))break;if(c.refs){c.refs[0].focus();break}}else g(l)&&e(l,n)}}}catch(f){a.e(f)}finally{a.f()}},G=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var r in t.current){var o=t.current[r];if(o&&!y(n)){var a=o._f,i=D(o,"_f");Y(n,r,a&&a.ref?a.ref.disabled||a.refs&&a.refs.every((function(e){return e.disabled}))?void 0:a.value:Array.isArray(o)?[]:{}),i&&e({current:i},n[r])}}return n},Q=function(e){return y(e)||!v(e)};function X(e,t,n){if(Q(e)||Q(t)||e instanceof Date||t instanceof Date)return e===t;if(!p.isValidElement(e)){var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var a=0,i=r;a<i.length;a++){var u=i[a],c=e[u];if(!n||"ref"!==u){var s=t[u];if((g(c)||Array.isArray(c))&&(g(s)||Array.isArray(s))?!X(c,s,n):c!==s)return!1}}}return!0}function Z(e,t){if(Q(e)||Q(t))return t;for(var n in t){var r=e[n],o=t[n];try{e[n]=g(r)&&g(o)||Array.isArray(r)&&Array.isArray(o)?Z(r,o):o}catch(a){}}return e}function J(e,t,n,r,o){for(var a=-1;++a<e.length;){for(var i in e[a])Array.isArray(e[a][i])?(!n[a]&&(n[a]={}),n[a][i]=[],J(e[a][i],k(t[a]||{},i,[]),n[a][i],n[a],i)):X(k(t[a]||{},i),e[a][i])?Y(n[a]||{},i):n[a]=Object.assign(Object.assign({},n[a]),Object(l.a)({},i,!0));r&&!n.length&&delete r[o]}return n}var ee=function(e,t,n){return Z(J(e,t,n.slice(0,e.length)),J(t,e,n.slice(0,e.length)))};var te=function(e){return"string"===typeof e};var ne=function(e){return"boolean"===typeof e};function re(e,t){var n,r=q(t)?[t]:$(t),o=1==r.length?e:function(e,t){for(var n=t.slice(0,-1).length,r=0;r<n;)e=w(e)?r++:e[t[r++]];return e}(e,r),a=r[r.length-1];o&&delete o[a];for(var i=0;i<r.slice(0,-1).length;i++){var u=-1,c=void 0,s=r.slice(0,-(i+1)),l=s.length-1;for(i>0&&(n=e);++u<s.length;){var f=s[u];c=c?c[f]:e[f],l===u&&(g(c)&&z(c)||Array.isArray(c)&&!c.filter((function(e){return g(e)&&!z(e)||ne(e)})).length)&&(n?delete n[f]:delete e[f]),n=c}}return e}var oe=function(e){return"file"===e.type},ae=function(e){return"select-multiple"===e.type},ie=function(e){return"radio"===e.type},ue={value:!1,isValid:!1},ce={value:!0,isValid:!0},se=function(e){if(Array.isArray(e)){if(e.length>1){var t=e.filter((function(e){return e&&e.checked&&!e.disabled})).map((function(e){return e.value}));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!w(e[0].attributes.value)?w(e[0].value)||""===e[0].value?ce:{value:e[0].value,isValid:!0}:ce:ue}return ue},le=function(e,t){var n=t.valueAsNumber,r=t.valueAsDate,o=t.setValueAs;return w(e)?e:n?""===e?NaN:+e:r?new Date(e):o?o(e):e},fe={isValid:!1,value:null},de=function(e){return Array.isArray(e)?e.reduce((function(e,t){return t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e}),fe):fe};function pe(e){if(e&&e._f){var t=e._f.ref;if(t.disabled)return;return oe(t)?t.files:ie(t)?de(e._f.refs).value:ae(t)?(n=t.options,Object(d.a)(n).filter((function(e){return e.selected})).map((function(e){return e.value}))):h(t)?se(e._f.refs).value:le(w(t.value)?e._f.ref.value:t.value,e._f)}var n}var he=function(e,t,n){var r,o={},a=s(e);try{for(a.s();!(r=a.n()).done;){var i=r.value,u=k(t,i);u&&Y(o,i,u._f)}}catch(c){a.e(c)}finally{a.f()}return{criteriaMode:n,names:Object(d.a)(e),fields:o}},ye=function(e,t){return t&&e&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate)},ve=function(e){var t=e.isOnBlur,n=e.isOnChange,r=e.isOnTouch,o=e.isTouched,a=e.isReValidateOnBlur,i=e.isReValidateOnChange,u=e.isBlurEvent,c=e.isSubmitted;return!e.isOnAll&&(!c&&r?!(o||u):(c?a:t)?!u:!(c?i:n)||u)},ge=function(e){return"function"===typeof e},me=function(e){return te(e)||p.isValidElement(e)},be=function(e){return e instanceof RegExp};function xe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"validate";if(me(e)||Array.isArray(e)&&e.every(me)||ne(e)&&!e)return{type:n,message:me(e)?e:"",ref:t}}var we=function(e){return g(e)&&!be(e)?e:{value:e,message:""}},ke=function(){var e=Object(u.a)(i.a.mark((function e(t,n){var r,o,a,u,c,s,l,d,p,v,m,b,x,w,k,E,O,C,S,_,A,D,F,I,U,B,V,W,q,$,Y,K,G,Q,X,Z,J,ee,re,ae,ue,ce,le,fe,pe,he,ye;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t._f,o=r.ref,a=r.refs,u=r.required,c=r.maxLength,s=r.minLength,l=r.min,d=r.max,p=r.pattern,v=r.validate,m=r.name,b=r.value,x=r.valueAsNumber,r.mount){e.next=3;break}return e.abrupt("return",{});case 3:if(w={},k=ie(o),E=h(o),O=k||E,C=(x||oe(o))&&!o.value||""===b||Array.isArray(b)&&!b.length,S=H.bind(null,m,n,w),_=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:M,i=e?t:n;w[m]=Object.assign({type:e?r:a,message:i,ref:o},S(e?r:a,i))},!u||!(!k&&!E&&(C||y(b))||ne(b)&&!b||E&&!se(a).isValid||k&&!de(a).isValid)){e.next=16;break}if(A=me(u)?{value:!!u,message:u}:we(u),D=A.value,F=A.message,!D){e.next=16;break}if(w[m]=Object.assign({type:R,message:F,ref:O?(a||[])[0]||{}:o},S(R,F)),n){e.next=16;break}return e.abrupt("return",w);case 16:if(y(l)&&y(d)||""===b){e.next=24;break}if(B=we(d),V=we(l),isNaN(b)?(q=o.valueAsDate||new Date(b),te(B.value)&&(I=q>new Date(B.value)),te(V.value)&&(U=q<new Date(V.value))):(W=o.valueAsNumber||parseFloat(b),y(B.value)||(I=W>B.value),y(V.value)||(U=W<V.value)),!I&&!U){e.next=24;break}if(_(!!I,B.message,V.message,P,T),n){e.next=24;break}return e.abrupt("return",w);case 24:if(!te(b)||C||!c&&!s){e.next=33;break}if($=we(c),Y=we(s),K=!y($.value)&&b.length>$.value,G=!y(Y.value)&&b.length<Y.value,!K&&!G){e.next=33;break}if(_(K,$.message,Y.message),n){e.next=33;break}return e.abrupt("return",w);case 33:if(!te(b)||!p||C){e.next=39;break}if(Q=we(p),X=Q.value,Z=Q.message,!be(X)||b.match(X)){e.next=39;break}if(w[m]=Object.assign({type:N,message:Z,ref:o},S(N,Z)),n){e.next=39;break}return e.abrupt("return",w);case 39:if(!v){e.next=71;break}if(J=O&&a?a[0]:o,!ge(v)){e.next=52;break}return e.next=44,v(b);case 44:if(ee=e.sent,!(re=xe(ee,J))){e.next=50;break}if(w[m]=Object.assign(Object.assign({},re),S(L,re.message)),n){e.next=50;break}return e.abrupt("return",w);case 50:e.next=71;break;case 52:if(!g(v)){e.next=71;break}ae={},ue=0,ce=Object.entries(v);case 55:if(!(ue<ce.length)){e.next=67;break}if(le=Object(f.a)(ce[ue],2),fe=le[0],pe=le[1],z(ae)||n){e.next=59;break}return e.abrupt("break",67);case 59:return e.next=61,pe(b);case 61:he=e.sent,(ye=xe(he,J,fe))&&(ae=Object.assign(Object.assign({},ye),S(fe,ye.message)),n&&(w[m]=ae));case 64:ue++,e.next=55;break;case 67:if(z(ae)){e.next=71;break}if(w[m]=Object.assign({ref:J},ae),n){e.next=71;break}return e.abrupt("return",w);case 71:return e.abrupt("return",w);case 72:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ee=function(e){return{isOnSubmit:!e||e===S,isOnBlur:e===O,isOnChange:e===C,isOnAll:e===A,isOnTouch:e===_}},Oe=function(e){return e instanceof HTMLElement},Ce=function(e){return ie(e)||h(e)},Se=function(){function e(){Object(r.a)(this,e),this.tearDowns=[]}return Object(o.a)(e,[{key:"add",value:function(e){this.tearDowns.push(e)}},{key:"unsubscribe",value:function(){var e,t=s(this.tearDowns);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(n){t.e(n)}finally{t.f()}this.tearDowns=[]}}]),e}(),_e=function(){function e(t,n){var o=this;Object(r.a)(this,e),this.observer=t,this.closed=!1,n.add((function(){return o.closed=!0}))}return Object(o.a)(e,[{key:"next",value:function(e){this.closed||this.observer.next(e)}}]),e}(),Ae=function(){function e(){Object(r.a)(this,e),this.observers=[]}return Object(o.a)(e,[{key:"next",value:function(e){var t,n=s(this.observers);try{for(n.s();!(t=n.n()).done;){t.value.next(e)}}catch(r){n.e(r)}finally{n.f()}}},{key:"subscribe",value:function(e){var t=new Se,n=new _e(e,t);return this.observers.push(n),t}},{key:"unsubscribe",value:function(){this.observers=[]}}]),e}(),Pe="undefined"===typeof window;function Te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode,n=void 0===t?S:t,r=e.reValidateMode,o=void 0===r?C:r,a=e.resolver,c=e.context,v=e.defaultValues,O=void 0===v?{}:v,_=e.shouldFocusError,P=void 0===_||_,T=e.shouldUnregister,j=e.criteriaMode,M=p.useState({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}}),N=Object(f.a)(M,2),R=N[0],L=N[1],F=p.useRef({isDirty:!W,dirtyFields:!W,touchedFields:!W,isValidating:!W,isValid:!W,errors:!W}),H=p.useRef(R),q=p.useRef({}),$=p.useRef(O),Z=p.useRef({}),J=p.useRef(c),ne=p.useRef(!1),ue=p.useRef(!1),ce=p.useRef({watch:new Ae,control:new Ae,array:new Ae,state:new Ae}),se=p.useRef({mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1}),fe=Ee(n),de=j===A;J.current=c;var me=function(e){return se.current.watchAll||se.current.watch.has(e)||se.current.watch.has((e.match(/\w+/)||[])[0])},be=p.useCallback(function(){var e=Object(u.a)(i.a.mark((function e(t,n,r,o,u,c){var s,l,f;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=k(H.current.errors,n),!F.current.isValid){e.next=12;break}if(!a){e.next=6;break}e.t1=u,e.next=9;break;case 6:return e.next=8,je(q.current,!0);case 8:e.t1=e.sent;case 9:e.t0=e.t1,e.next=13;break;case 12:e.t0=!1;case 13:l=e.t0,r?Y(H.current.errors,n,r):re(H.current.errors,n),!c&&(r?X(s,r,!0):!s)&&z(o)&&H.current.isValid===l||t||(f=Object.assign(Object.assign({},o),{isValid:!!l,errors:H.current.errors,name:n}),H.current=Object.assign(Object.assign({},H.current),f),ce.current.state.next(c?{name:n}:f)),ce.current.state.next({isValidating:!1});case 17:case"end":return e.stop()}}),e)})));return function(t,n,r,o,a,i){return e.apply(this,arguments)}}(),[]),xe=p.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;o&&qe(e);var a=k(q.current,e);if(a){var i=a._f;if(i){var u=V&&Oe(i.ref)&&y(t)?"":t;if(i.value=le(t,i),ie(i.ref)?(i.refs||[]).forEach((function(e){return e.checked=e.value===u})):oe(i.ref)&&!te(u)?i.ref.files=u:ae(i.ref)?Object(d.a)(i.ref.options).forEach((function(e){return e.selected=u.includes(e.value)})):h(i.ref)&&i.refs?i.refs.length>1?i.refs.forEach((function(e){return e.checked=Array.isArray(u)?!!u.find((function(t){return t===e.value})):u===e.value})):i.refs[0].checked=!!u:i.ref.value=u,r){var c=G(q);Y(c,e,t),ce.current.control.next({values:Object.assign(Object.assign({},$.current),c),name:e})}(n.shouldDirty||n.shouldTouch)&&Se(e,u,n.shouldTouch),n.shouldValidate&&Me(e)}else a._f={ref:{name:e,value:t},value:t}}}),[]),we=p.useCallback((function(e,t){var n=G(q);return e&&t&&Y(n,e,t),!X(n,$.current)}),[]),Se=p.useCallback((function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o={name:e},a=!1;if(F.current.isDirty){var i=H.current.isDirty;H.current.isDirty=we(),o.isDirty=H.current.isDirty,a=i!==o.isDirty}if(F.current.dirtyFields){var u=k(H.current.dirtyFields,e),c=!X(k($.current,e),t);c?Y(H.current.dirtyFields,e,!0):re(H.current.dirtyFields,e),o.dirtyFields=H.current.dirtyFields,a=a||u!==k(H.current.dirtyFields,e)}var s=k(H.current.touchedFields,e);return n&&!s&&(Y(H.current.touchedFields,e,n),o.touchedFields=H.current.touchedFields,a=a||F.current.touchedFields&&s!==n),a&&r&&ce.current.state.next(o),a?o:{}}),[]),_e=p.useCallback(function(){var e=Object(u.a)(i.a.mark((function e(t,n){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke(k(q.current,t),de);case 2:return e.t0=t,r=e.sent[e.t0],be(n,t,r),e.abrupt("return",w(r));case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[de]),Te=p.useCallback(function(){var e=Object(u.a)(i.a.mark((function e(t){var n,r,o,u,c,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(G(q),J.current,he(se.current.mount,q.current,j));case 2:if(n=e.sent,r=n.errors,t){o=s(t);try{for(o.s();!(u=o.n()).done;)c=u.value,(l=k(r,c))?Y(H.current.errors,c,l):re(H.current.errors,c)}catch(i){o.e(i)}finally{o.f()}}else H.current.errors=r;return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[j]),je=function(){var e=Object(u.a)(i.a.mark((function e(t,n){var r,o,a,u,c,s,l=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=l.length>2&&void 0!==l[2]?l[2]:{valid:!0},e.t0=i.a.keys(t);case 2:if((e.t1=e.t0()).done){e.next=25;break}if(o=e.t1.value,!(a=t[o])){e.next=23;break}if(u=a._f,c=D(a,"_f"),!u){e.next=19;break}return e.next=11,ke(a,de);case 11:if(s=e.sent,!n){e.next=18;break}if(!s[u.name]){e.next=16;break}return r.valid=!1,e.abrupt("break",25);case 16:e.next=19;break;case 18:s[u.name]?Y(H.current.errors,u.name,s[u.name]):re(H.current.errors,u.name);case 19:if(e.t2=c,!e.t2){e.next=23;break}return e.next=23,je(c,n,r);case 23:e.next=2;break;case 25:return e.abrupt("return",r.valid);case 26:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Me=p.useCallback(function(){var e=Object(u.a)(i.a.mark((function e(t){var n,r,o,c,s=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:{},r=B(t),ce.current.state.next({isValidating:!0}),!a){e.next=10;break}return e.next=6,Te(w(t)?t:r);case 6:c=e.sent,o=t?r.every((function(e){return!k(c,e)})):z(c),e.next=20;break;case 10:if(!t){e.next=16;break}return e.next=13,Promise.all(r.filter((function(e){return k(q.current,e)})).map(function(){var e=Object(u.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_e(t,!0);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 13:e.t0=e.sent.every(Boolean),e.next=19;break;case 16:return e.next=18,je(q.current);case 18:e.t0=e.sent;case 19:o=e.t0;case 20:return ce.current.state.next(Object.assign(Object.assign({},te(t)?{name:t}:{}),{errors:H.current.errors,isValidating:!1})),n.shouldFocus&&!o&&K(q.current,(function(e){return k(H.current.errors,e)}),r),F.current.isValid&&Re(),e.abrupt("return",o);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[Te,_e]),Ne=function(e,t){var n=k(q.current,e),r=w(n._f.value)?k($.current,e):n._f.value;return n&&!w(r)?t&&t.defaultChecked?n._f.value=pe(n):b(se.current.array,e)?n._f.value=r:xe(e,r):n._f.value=pe(n),ue.current&&F.current.isValid&&Re(),r},Re=p.useCallback(Object(u.a)(i.a.mark((function e(){var t,n,r=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&void 0!==r[0]?r[0]:{},!a){e.next=9;break}return e.t1=z,e.next=5,a(Object.assign(Object.assign({},G(q)),t),J.current,he(se.current.mount,q.current,j));case 5:e.t2=e.sent.errors,e.t0=(0,e.t1)(e.t2),e.next=12;break;case 9:return e.next=11,je(q.current,!0);case 11:e.t0=e.sent;case 12:(n=e.t0)!==H.current.isValid&&ce.current.state.next({isValid:n});case 14:case"end":return e.stop()}}),e)}))),[j]),Le=p.useCallback((function(e,t,n){return Object.entries(t).forEach((function(t){var r=Object(f.a)(t,2),o=r[0],a=r[1],i="".concat(e,".").concat(o),u=k(q.current,i);se.current.array.has(e)||!Q(a)||u&&!u._f?Le(i,a,n):xe(i,a,n,!0,!u)}))}),[Me]),De=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=k(q.current,e),o=se.current.array.has(e);o&&(ce.current.array.next({values:t,name:e,isReset:!0}),(F.current.isDirty||F.current.dirtyFields)&&n.shouldDirty&&(Y(H.current.dirtyFields,e,ee(t,k($.current,e,[]),k(H.current.dirtyFields,e,[]))),ce.current.state.next({name:e,dirtyFields:H.current.dirtyFields,isDirty:we(e,t)})),!t.length&&Y(q.current,e,[])&&Y(Z.current,e,[])),(r&&!r._f||o)&&!y(t)?Le(e,t,o?{}:n):xe(e,t,n,!0,!r),me(e)&&ce.current.state.next({}),ce.current.watch.next({name:e,values:Ie()})},Fe=p.useCallback(function(){var e=Object(u.a)(i.a.mark((function e(t){var n,r,u,c,s,l,f,d,p,y,v,g,b,x,O,C,S,_,A,P,T,M;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.type,r=t.target,u=t.target,c=u.value,s=u.type,l=r.name,!(p=k(q.current,l))){e.next=33;break}if(y=s?pe(p):void 0,y=w(y)?c:y,v=n===E,g=Ee(o),b=g.isOnBlur,x=g.isOnChange,O=!ye(p._f,p._f.mount)&&!a&&!k(H.current.errors,l)||ve(Object.assign({isBlurEvent:v,isTouched:!!k(H.current.touchedFields,l),isSubmitted:H.current.isSubmitted,isReValidateOnBlur:b,isReValidateOnChange:x},fe)),C=!v&&me(l),w(y)||(p._f.value=y),S=Se(l,p._f.value,v,!1),_=!z(S)||C,!O){e.next=16;break}return!v&&ce.current.watch.next({name:l,type:n,values:Ie()}),e.abrupt("return",_&&ce.current.state.next(C?{name:l}:Object.assign(Object.assign({},S),{name:l})));case 16:if(ce.current.state.next({isValidating:!0}),!a){e.next=27;break}return e.next=20,a(G(q),J.current,he([l],q.current,j));case 20:A=e.sent,P=A.errors,f=k(P,l),h(r)&&!f&&(T=m(l),(M=k(P,T,{})).type&&M.message&&(f=M),(M||k(H.current.errors,T))&&(l=T)),d=z(P),e.next=31;break;case 27:return e.next=29,ke(p,de);case 29:e.t0=l,f=e.sent[e.t0];case 31:!v&&ce.current.watch.next({name:l,type:n,values:Ie()}),be(!1,l,f,S,d,C);case 33:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),Ie=function(e){var t=Object.assign(Object.assign({},$.current),G(q));return w(e)?t:te(e)?k(t,e):e.map((function(e){return k(t,e)}))},ze=function(e){e?B(e).forEach((function(e){return re(H.current.errors,e)})):H.current.errors={},ce.current.state.next({errors:H.current.errors})},Ue=function(e,t,n){var r=((k(q.current,e)||{_f:{}})._f||{}).ref;Y(H.current.errors,e,Object.assign(Object.assign({},t),{ref:r})),ce.current.state.next({name:e,errors:H.current.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},Be=p.useCallback((function(e,t,n,r){var o=Array.isArray(e),a=r||ue.current?Object.assign(Object.assign({},$.current),r||G(q)):w(t)?$.current:o?t:Object(l.a)({},e,t);if(w(e))return n&&(se.current.watchAll=!0),a;var i,u=[],c=s(B(e));try{for(c.s();!(i=c.n()).done;){var f=i.value;n&&se.current.watch.add(f),u.push(k(a,f))}}catch(d){c.e(d)}finally{c.f()}return o?u:u[0]}),[]),Ve=function(e,t){return ge(e)?ce.current.watch.subscribe({next:function(n){return e(Be(void 0,t),n)}}):Be(e,t,!0)},We=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=s(e?B(e):se.current.mount);try{for(r.s();!(t=r.n()).done;){var o=t.value;se.current.mount.delete(o),se.current.array.delete(o),k(q.current,o)&&(!n.keepError&&re(H.current.errors,o),!n.keepValue&&re(q.current,o),!n.keepDirty&&re(H.current.dirtyFields,o),!n.keepTouched&&re(H.current.touchedFields,o),!T&&!n.keepDefaultValue&&re($.current,o),ce.current.watch.next({name:o,values:Ie()}))}}catch(a){r.e(a)}finally{r.f()}ce.current.state.next(Object.assign(Object.assign({},H.current),n.keepDirty?{isDirty:we()}:{})),!n.keepIsValid&&Re()},He=function(e,t,n){qe(e,n);var r=k(q.current,e),o=Ce(t);t===r._f.ref||o&&x(r._f.refs||[]).find((function(e){return e===t}))||(r={_f:o?Object.assign(Object.assign({},r._f),{refs:[].concat(Object(d.a)(x(r._f.refs||[]).filter((function(e){return Oe(e)&&document.contains(e)}))),[t]),ref:{type:t.type,name:e}}):Object.assign(Object.assign({},r._f),{ref:t})},Y(q.current,e,r),Ne(e,t))},qe=p.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=k(q.current,e);return Y(q.current,e,{_f:Object.assign(Object.assign(Object.assign({},n&&n._f?n._f:{ref:{name:e}}),{name:e,mount:!0}),t)}),se.current.mount.add(e),Pe?{name:e}:{name:e,onChange:Fe,onBlur:Fe,ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(n){if(n)He(e,n,t);else{var r=k(q.current,e,{}),o=T||t.shouldUnregister;r._f&&(r._f.mount=!1,w(r._f.value)&&(r._f.value=r._f.ref.value)),o&&(!b(se.current.array,e)||!ne.current)&&se.current.unMount.add(e)}}))}}),[]),$e=p.useCallback((function(e,t){return function(){var n=Object(u.a)(i.a.mark((function n(r){var o,u,c,s,l;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist()),o=!0,u=G(q),ce.current.state.next({isSubmitting:!0}),n.prev=4,!a){n.next=15;break}return n.next=8,a(u,J.current,he(se.current.mount,q.current,j));case 8:c=n.sent,s=c.errors,l=c.values,H.current.errors=s,u=l,n.next=17;break;case 15:return n.next=17,je(q.current);case 17:if(!z(H.current.errors)||!Object.keys(H.current.errors).every((function(e){return k(u,e)}))){n.next=23;break}return ce.current.state.next({errors:{},isSubmitting:!0}),n.next=21,e(u,r);case 21:n.next=28;break;case 23:if(n.t0=t,!n.t0){n.next=27;break}return n.next=27,t(H.current.errors,r);case 27:P&&K(q.current,(function(e){return k(H.current.errors,e)}),se.current.mount);case 28:n.next=34;break;case 30:throw n.prev=30,n.t1=n.catch(4),o=!1,n.t1;case 34:return n.prev=34,H.current.isSubmitted=!0,ce.current.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:z(H.current.errors)&&o,submitCount:H.current.submitCount+1,errors:H.current.errors}),n.finish(34);case 38:case"end":return n.stop()}}),n,null,[[4,30,34,38]])})));return function(e){return n.apply(this,arguments)}}()}),[P,de,j]),Ye=p.useCallback((function(e,t){var n=e.keepErrors,r=e.keepDirty,o=e.keepIsSubmitted,a=e.keepTouched,i=e.keepDefaultValues,u=e.keepIsValid,c=e.keepSubmitCount;se.current={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1},ce.current.state.next({submitCount:c?H.current.submitCount:0,isDirty:r?H.current.isDirty:!!i&&X(t,$.current),isSubmitted:!!o&&H.current.isSubmitted,dirtyFields:r?H.current.dirtyFields:{},touchedFields:a?H.current.touchedFields:{},errors:n?H.current.errors:{},isSubmitting:!1,isSubmitSuccessful:!1}),ue.current=!u}),[]),Ke=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=k(q.current,n);if((!r||r&&!r._f)&&(!r&&(Q(t)||V&&(t instanceof FileList||t instanceof Date))&&qe(n,{value:t}),Array.isArray(t)||g(t)))for(var o in n&&!k(q.current,n)&&Y(q.current,n,Array.isArray(t)?[]:{}),t)e(t[o],n+(n?".":"")+o)},Ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e||$.current;if(V&&!t.keepValues){var r,o=s(se.current.mount);try{for(o.s();!(r=o.n()).done;){var a=r.value,i=k(q.current,a);if(i&&i._f){var u=Array.isArray(i._f.refs)?i._f.refs[0]:i._f.ref;try{Oe(u)&&u.closest("form").reset();break}catch(c){}}}}catch(l){o.e(l)}finally{o.f()}}!t.keepDefaultValues&&($.current=Object.assign({},n)),t.keepValues||(q.current={},ce.current.control.next({values:Object.assign({},n)}),ce.current.watch.next({values:Object.assign({},n)}),ce.current.array.next({values:Object.assign({},n),isReset:!0})),!t.keepDefaultValues&&!T&&Ke(Object.assign({},n)),Ye(t,e)},Qe=function(e){return k(q.current,e)._f.ref.focus()};return p.useEffect((function(){!T&&Ke($.current);var e=ce.current.state.subscribe({next:function(e){U(e,F.current,!0)&&(H.current=Object.assign(Object.assign({},H.current),e),L(H.current))}}),t=ce.current.array.subscribe({next:function(e){if(e.values&&e.name&&F.current.isValid){var t=G(q);Y(t,e.name,e.values),Re(t)}}});return function(){e.unsubscribe(),t.unsubscribe()}}),[]),p.useEffect((function(){var e=function(e){return!Oe(e)||!document.contains(e)};ue.current||(ue.current=!0,F.current.isValid&&Re());var t,n=s(se.current.unMount);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=k(q.current,r);o&&(o._f.refs?o._f.refs.every(e):e(o._f.ref))&&We(r)}}catch(a){n.e(a)}finally{n.f()}se.current.unMount=new Set})),{control:p.useMemo((function(){return{register:qe,inFieldArrayActionRef:ne,getIsDirty:we,subjectsRef:ce,watchInternal:Be,fieldsRef:q,updateIsValid:Re,namesRef:se,readFormStateRef:F,formStateRef:H,defaultValuesRef:$,fieldArrayDefaultValuesRef:Z,unregister:We,shouldUnmount:T}}),[]),formState:I(W,R,F),trigger:Me,register:qe,handleSubmit:$e,watch:p.useCallback(Ve,[]),setValue:p.useCallback(De,[Le]),getValues:p.useCallback(Ie,[]),reset:p.useCallback(Ge,[]),clearErrors:p.useCallback(ze,[]),unregister:p.useCallback(We,[]),setError:p.useCallback(Ue,[]),setFocus:p.useCallback(Qe,[])}}},function(e,t,n){var r=n(202);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a}));function r(e){return!(!e||!e["@@__IMMUTABLE_ITERABLE__@@"])}function o(e){return r(e)||function(e){return!(!e||!e["@@__IMMUTABLE_RECORD__@@"])}(e)}function a(e,t){return r(e)?e.reduce((function(e,n,r){return t&&t[r]&&(n=a(n)),e[r]=n,e}),function(e){return!(!e||!e["@@__IMMUTABLE_LIST__@@"])}(e)?[]:{}):e}},function(e,t,n){var r=n(206),o=n(98),a=n(207),i=o((function(e,t){return a(e)?r(e,t):[]}));e.exports=i},function(e,t){e.exports=function(e){return null==e}},function(e,t,n){var r=n(317),o=n(322);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(408),o=n(409)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var r=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(r.length>0)return r.reduce((function(t,n){return[t,e(n)].join(" ")}),e(t)).trim();if(void 0===t||null===t||"string"===typeof t)return t;var a=[];for(var i in t)if(t.hasOwnProperty(i)){var u=t[i];a.push("".concat(i,"(").concat(u,")"))}return a.join(" ").trim()};function o(e){var t={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return e?t[e]:t.grayscale}},function(e,t,n){"use strict";var r=n(2),o=n.n(r);function a(){return(a=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)}t.a=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?o.a.createElement("rect",a({vectorEffect:"non-scaling-stroke"},n),o.a.createElement("desc",null,t)):o.a.createElement("rect",a({vectorEffect:"non-scaling-stroke"},n))}},function(e,t,n){"use strict";var r=n(2),o=n.n(r).a.createContext({});o.displayName="PortalContext",t.a=o},function(e,t,n){e.exports=n(285)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(92);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){var r=n(336),o=n(12);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(401),o=n(26);e.exports=function(e,t,n,a){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=a?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},function(e,t,n){var r=n(85),o=n(52),a=n(203),i=n(395);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){var r=n(206),o=n(202),a=n(98),i=n(207),u=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=u},,function(e,t){e.exports="undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")()},function(e,t,n){var r=n(262),o=n(263),a=String.fromCharCode(30);e.exports={protocol:4,encodePacket:r,encodePayload:function(e,t){var n=e.length,o=new Array(n),i=0;e.forEach((function(e,u){r(e,!1,(function(e){o[u]=e,++i===n&&t(o.join(a))}))}))},decodePacket:o,decodePayload:function(e,t){for(var n=e.split(a),r=[],i=0;i<n.length;i++){var u=o(n[i],t);if(r.push(u),"error"===u.type)break}return r}}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){var r=n(79);e.exports.pick=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})};var o=setTimeout,a=clearTimeout;e.exports.installTimerFunctions=function(e,t){t.useNativeTimers?(e.setTimeoutFn=o.bind(r),e.clearTimeoutFn=a.bind(r)):(e.setTimeoutFn=setTimeout.bind(r),e.clearTimeoutFn=clearTimeout.bind(r))}},function(e,t,n){var r=n(48).Symbol;e.exports=r},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){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}},function(e,t,n){var r=n(47),o=n(44);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(86);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},function(e,t,n){var r=n(379),o=n(380),a=n(139),i=n(87);e.exports=function(e){return a(e)?r(i(e)):o(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"convertLengthToPixels",(function(){return v})),n.d(t,"_approximateTextSizeInternal",(function(){return b})),n.d(t,"approximateTextSize",(function(){return x}));var r=n(6),o=n.n(r),a=n(3),i=n.n(a);function u(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 c={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},s={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},l={em:1,ex:.5},f=1.05,d=1.15,p={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},h=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},y=function(e,t,n){var r=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},v=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?s.hasOwnProperty(n)?r*s[n]:l.hasOwnProperty(n)?(t?r*t:r*p.fontSize)*l[n]:r:r||0},g=function(e,t){var n=Array.isArray(e)?e[t]:e,r=o()({},n,p);return i()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"===typeof r.letterSpacing?r.letterSpacing:v(String(r.letterSpacing),r.fontSize),fontSize:"number"===typeof r.fontSize?r.fontSize:v(String(r.fontSize))})},m=function(e,t){if(void 0===e||""===e||null===e)return 0;var n=h(e).map((function(e,n){var r=e.toString().length,o=g(t,n),a=o.fontSize,i=o.letterSpacing,u=function(e){var t=e.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return c[e]}))||"Helvetica";return c[t]}(o.fontFamily);return e.toString().split("").map((function(e){return e.charCodeAt(0)<u.widths.length?u.widths[e.charCodeAt(0)]:u.avg})).reduce((function(e,t){return t+e}),0)*a+i*Math.max(r-1,0)}));return Math.max.apply(Math,u(n))},b={impl:function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=function(e,t){return void 0===e||""===e||null===e?0:h(e).reduce((function(e,n,r){var o=g(t,r),a=n.toString().match(/[(A-Z)(0-9)]/)?o.fontSize*d:o.fontSize;return e+o.lineHeight*a}),0)}(e,t),o=m(e,t);return{width:n?y(o,r,n):o,height:(n?y(r,o,n):r)*f}}},x=function(e,t){return b.impl(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(0),c=n.n(u),s=n(46),l=n(5),f=n(70);function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 h(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 y=function(e){function t(){return d(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r,a;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:"componentDidMount",value:function(){this.checkedContext||("function"!==typeof this.context.portalUpdate&&(s.a("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"),this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},a=o()(r,n,l.omit(this.props,["children","groupComponent"])),u=e&&i.a.cloneElement(e,a);return this.renderPortal(u)}}])&&p(n.prototype,r),a&&p(n,a),t}(i.a.Component);Object.defineProperty(y,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(y,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(y,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:c.a.node,groupComponent:c.a.element}}),Object.defineProperty(y,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:i.a.createElement("g",null)}}),Object.defineProperty(y,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:f.a})},function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r,o,a=0,i=0,u=0,c=0,s=0,l=0,f="object"===typeof performance&&performance.now?performance:Date,d="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function p(){return s||(d(h),s=f.now()+l)}function h(){s=0}function y(){this._call=this._time=this._next=null}function v(e,t,n){var r=new y;return r.restart(e,t,n),r}function g(){s=(c=f.now())+l,a=i=0;try{!function(){p(),++a;for(var e,t=r;t;)(e=s-t._time)>=0&&t._call.call(null,e),t=t._next;--a}()}finally{a=0,function(){var e,t,n=r,a=1/0;for(;n;)n._call?(a>n._time&&(a=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:r=t);o=e,b(a)}(),s=0}}function m(){var e=f.now(),t=e-c;t>1e3&&(l-=t,c=e)}function b(e){a||(i&&(i=clearTimeout(i)),e-s>24?(e<1/0&&(i=setTimeout(g,e-f.now()-l)),u&&(u=clearInterval(u))):(u||(c=f.now(),u=setInterval(m,1e3)),a=1,d(g)))}function x(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)}}y.prototype=v.prototype={constructor:y,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?p():+n)+(null==t?0:+t),this._next||o===this||(o?o._next=this:r=this,o=this),this._call=e,this._time=n,b()},stop:function(){this._call&&(this._call=null,this._time=1/0,b())}};var w=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,r;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(p()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=v(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:p(),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()}}])&&x(t.prototype,n),r&&x(t,r),e}()},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}},,function(e,t,n){var r=n(266);function o(t,n,a){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=o=Reflect.get:e.exports=o=function(e,t,n){var o=r(e,t);if(o){var a=Object.getOwnPropertyDescriptor(o,t);return a.get?a.get.call(n):a.value}},o(t,n,a||t)}e.exports=o},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(325),o=n(44),a=Object.prototype,i=a.hasOwnProperty,u=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},function(e,t,n){var r=n(29),o=n(179),a=n(180);e.exports=function(e,t){return a(o(e,t,r),e+"")}},function(e,t,n){var r=n(67),o=n(45),a=n(100),i=n(24);e.exports=function(e,t,n){if(!i(n))return!1;var u=typeof t;return!!("number"==u?o(n)&&a(t,n.length):"string"==u&&t in n)&&r(n[t],e)}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(339),o=n(340),a=n(341),i=n(342),u=n(343);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=a,c.prototype.has=i,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(67);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(61)(Object,"create");e.exports=r},function(e,t,n){var r=n(357);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(106),o=n(87);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},function(e,t,n){var r=n(26),o=n(139),a=n(373),i=n(194);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},function(e,t,n){"use strict";n.r(t),n.d(t,"getAxis",(function(){return N})),n.d(t,"findAxisComponents",(function(){return R})),n.d(t,"getAxisComponent",(function(){return L})),n.d(t,"getAxisComponentsWithParent",(function(){return D})),n.d(t,"getOrigin",(function(){return F})),n.d(t,"getOriginSign",(function(){return I})),n.d(t,"isVertical",(function(){return z})),n.d(t,"stringTicks",(function(){return U})),n.d(t,"getTickFormat",(function(){return V})),n.d(t,"getTicks",(function(){return H})),n.d(t,"getDomain",(function(){return $})),n.d(t,"getAxisValue",(function(){return Y})),n.d(t,"modifyProps",(function(){return K}));var r=n(59),o=n.n(r),a=n(36),i=n.n(a),u=n(73),c=n.n(u),s=n(74),l=n.n(s),f=n(119),d=n.n(f),p=n(37),h=n.n(p),y=n(144),v=n.n(y),g=n(24),m=n.n(g),b=n(9),x=n.n(b),w=n(29),k=n.n(w),E=n(6),O=n.n(E),C=n(3),S=n.n(C),_=n(2),A=n.n(_),P=n(10),T=n(22),j=n(5);function M(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 N(e){return e.dependentAxis?"y":"x"}function R(e,t){t=t||k.a;return function e(n){return n.reduce((function(n,r){return r.type&&"axis"===r.type.role&&t(r)?n.concat(r):r.props&&r.props.children?n.concat(e(A.a.Children.toArray(r.props.children))):n}),[])}(e)}function L(e,t){return R(e,(function(e){return e.type.getAxis(e.props)===t}))[0]}function D(e,t){return function e(n){return n.reduce((function(n,r){return r.type&&"axis"===r.type.role&&function(e){return"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis}(r)||r.props&&r.props.children&&e(A.a.Children.toArray(r.props.children)).length>0?n.concat(r):n}),[])}(e)}function F(e){var t=function(e){var t=Math.min.apply(Math,M(e)),n=Math.max.apply(Math,M(e));return n<0?n:Math.max(0,t)};return{x:P.containsDates(e.x)?new Date(Math.min.apply(Math,M(e.x))):t(e.x),y:P.containsDates(e.y)?new Date(Math.min.apply(Math,M(e.y))):t(e.y)}}function I(e,t){return P.containsDates(t)?"positive":e<=0&&Math.max.apply(Math,M(t))<=0?"negative":"positive"}function z(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function U(e){return void 0!==e.tickValues&&P.containsStrings(e.tickValues)}function B(e){var t=e.tickValues,n=e.tickFormat,r=N(e),o=e.stringMap&&e.stringMap[r],a=t;o&&(a=function(e){var t=N(e),n=e.stringMap&&e.stringMap[t],r=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[t],o=r&&P.containsOnlyStrings(r)?r.map((function(e){return n[e]})):void 0,a=n&&c()(n);return o&&0!==o.length?o:a}(e)),t&&P.containsStrings(t)&&(a=o?t.map((function(e){return o[e]})):d()(1,t.length+1));var i=a?h()(a):function(){if(n&&Array.isArray(n))return P.containsStrings(n)?n.map((function(e,t){return t})):n}();return Array.isArray(i)&&i.length?function(t){var n=[],o=e.domain&&e.domain[r]||e.domain;return t?(t.forEach((function(e,t){Array.isArray(o)?e>=P.getMinValue(o)&&e<=P.getMaxValue(o)&&n.push({value:e,index:t}):n.push({value:e,index:t})})),n):void 0}(i):void 0}function V(e,t){var n=e.tickFormat,r=N(e),o=e.stringMap&&e.stringMap[r];if(n){if(n&&Array.isArray(n)){var a=B(e),i=a?a.map((function(e){return e.index})):void 0,u=n.filter((function(e,t){return i.includes(t)}));return function(e,t){return u[t]}}if(n&&x()(n)){return o?function(t,n,r){var a=v()(o),i=r.map((function(e){return a[e]}));return e.tickFormat(a[t],n,i)}:n}return function(e){return e}}var s=function(e){var t=e.tickValues,n=N(e),r=e.stringMap&&e.stringMap[n],o=t&&!P.containsDates(t)?function(e){return e}:void 0;if(r){var a=r&&v()(r),i=l()(c()(r),(function(e){return e})).map((function(e){return a[e]})),u=[""].concat(M(i),[""]);return function(e){return u[e]}}return U(e)?function(e,n){return t[n]}:o}(e),f=t.tickFormat&&x()(t.tickFormat)?t.tickFormat():function(e){return e};return s||f}function W(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter((function(e,t){return t%n===0}))}function H(e,t,n){var r=e.tickCount,a=B(e),u=a?a.map((function(e){return e.value})):void 0;if(u)return W(u,r);if(t.ticks&&x()(t.ticks)){var c=r||5,s=t.ticks(c),l=W(Array.isArray(s)&&s.length?s:t.domain(),r);if(n){var f=i()(l,0)?o()(l,0):l;return f.length?f:l}return l}return t.domain()}function q(e,t){var n=e.polar,r=e.startAngle,o=void 0===r?0:r,a=e.endAngle,i=void 0===a?360:a,u=B(e),c=u?u.map((function(e){return e.value})):void 0;if(Array.isArray(c)){var s=T.getMinFromProps(e,t),l=T.getMaxFromProps(e,t),f=U(e),d=c.map((function(e){return+e})),p=f?1:P.getMinValue(d),h=f?c.length:P.getMaxValue(d),y=void 0!==s?s:p,v=void 0!==l?l:h,g=T.getDomainFromMinMax(y,v),m=n&&"x"===t&&360===Math.abs(o-i)?T.getSymmetricDomain(g,d):g;return z(e)&&!n&&m.reverse(),m}}function $(e,t){var n=N(e);if(!t||t===n)return T.createDomainFunction(q)(e,n)}function Y(e,t){if(e.axisValue){var n="x"===t?"y":"x",r=m()(e.scale)&&x()(e.scale[n])?e.scale[n]:void 0;if(r){var o="x"===t?"y":"x",a=m()(e.stringMap)&&e.stringMap[o];return r(a&&"string"===typeof e.axisValue?a[e.axisValue]:e.axisValue)}}}function K(e,t){if(!m()(e.theme))return j.modifyProps(e,t,"axis");var n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return j.modifyProps(e,t,"axis");var r=O()({},e.theme[n],e.theme.axis),o=S()({},e.theme,{axis:r});return j.modifyProps(S()({},e,{theme:o}),t,"axis")}},function(e,t,n){"use strict";n.r(t),n.d(t,"getText",(function(){return s})),n.d(t,"getPolarTextAnchor",(function(){return l})),n.d(t,"getPolarVerticalAnchor",(function(){return f})),n.d(t,"getPolarAngle",(function(){return d})),n.d(t,"getDegrees",(function(){return p})),n.d(t,"getProps",(function(){return h}));var r=n(6),o=n.n(r),a=n(5);function i(e,t){if(e.polar)return{};var n=function(e,t){t=t||{};var n=e.horizontal,r=e.style.labels||{},o=a.evaluateProp(r.padding,e)||0,i=t._y<0?-1:1;return{x:n?i*o:0,y:n?0:-1*i*o}}(e,t);return{dx:n.x,dy:n.y}}function u(e,t){var n=e.polar,r=a.scalePoint(e,t),o=r.x,i=r.y;if(n){var u=function(e,t){var n=e.style,r=p(e,t),o=n.labels||{},i=a.evaluateProp(o.padding,e)||0,u=a.degreesToRadians(r);return{x:i*Math.cos(u),y:-i*Math.sin(u)}}(e,t);return{x:o+u.x,y:i+u.y}}return{x:o,y:i}}function c(e){var t=e.labelComponent,n=e.labelPlacement,r=e.polar?"perpendicular":"vertical";return n||(t.props&&t.props.labelPlacement||r)}function s(e,t,n){return void 0!==(t=t||{}).label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function l(e,t){var n=c(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function f(e,t){var n=c(e),r=function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}(t);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}function d(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var o=void 0!==t?t%360:p(e,r),a=0;return 0===o||180===o?a=90:o>0&&o<180?a=90-o:o>180&&o<360&&(a=270-o),a+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}function p(e,t){var n=a.getPoint(t).x;return a.radiansToDegrees(e.scale.x(n))%360}function h(e,t){var n=e.scale,r=e.data,d=e.style,h=e.horizontal,y=e.polar,v=e.width,g=e.height,m=e.theme,b=e.labelComponent,x=e.disableInlineStyles,w=r[t],k=p(e,w),E=y?l(e,k):function(e,t){t=t||{};var n=e.style,r=e.horizontal,o=t._y>=0?1:-1,a=n&&n.labels||{};return t.verticalAnchor||a.verticalAnchor?t.verticalAnchor||a.verticalAnchor:r?o>=0?"start":"end":"middle"}(e,w),O=y?f(e,k):function(e,t){var n=(t=t||{})._y>=0?1:-1,r=e.style&&e.style.labels||{};return t.verticalAnchor||r.verticalAnchor?t.verticalAnchor||r.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}(e,w),C=function(e,t){t=t||{};var n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}(e,w),S=s(e,w,t),_=c(e),A=u(e,w),P=A.x,T=A.y,j=i(e,w),M={angle:C,data:r,datum:w,disableInlineStyles:x,horizontal:h,index:t,polar:y,scale:n,labelPlacement:_,text:S,textAnchor:E,verticalAnchor:O,x:P,y:T,dx:j.dx,dy:j.dy,width:v,height:g,style:d.labels};if(!a.isTooltip(b))return M;var N=m&&m.tooltip||{};return o()({},M,a.omit(N,["style"]))}},function(e,t,n){"use strict";var r=n(2),o=n.n(r);function a(){return(a=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)}t.a=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?o.a.createElement("circle",a({vectorEffect:"non-scaling-stroke"},n),o.a.createElement("desc",null,t)):o.a.createElement("circle",a({vectorEffect:"non-scaling-stroke"},n))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(12),o=n.n(r),a=n(2),i=n.n(a),u=n(0),c=n.n(u),s=n(8);function l(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 f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=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?f(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(f(n)),n.portalRegister=n.portalRegister.bind(f(n)),n.portalDeregister=n.portalDeregister.bind(f(n)),n}var n,r,a;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 o()(this.map).map((function(t){var n=e.map[t];return n?i.a.cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return i.a.createElement("svg",this.props,this.getChildren())}}])&&l(n.prototype,r),a&&l(n,a),t}(i.a.Component);Object.defineProperty(d,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:c.a.string,height:s.nonNegative,style:c.a.object,viewBox:c.a.string,width:s.nonNegative}})},function(e,t,n){"use strict";var r=n(2),o=n.n(r);function a(){return(a=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)}t.a=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?o.a.createElement("line",a({vectorEffect:"non-scaling-stroke"},n),o.a.createElement("desc",null,t)):o.a.createElement("line",a({vectorEffect:"non-scaling-stroke"},n))}},function(e,t,n){"use strict";var r=n(2),o=n.n(r),a=n(0),i=n.n(a);var u=function(e){var t=e.children,n=e.title,r=e.desc,a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","title","desc"]);return o.a.createElement("text",a,n&&o.a.createElement("title",null,n),r&&o.a.createElement("desc",null,r),t)};u.propTypes={children:i.a.node,desc:i.a.string,title:i.a.string},t.a=u},function(e,t,n){"use strict";var r=n(2),o=n.n(r);t.a=function(e){return o.a.createElement("tspan",e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n(24),o=n.n(r),a=n(62),i=n.n(a),u=n(9),c=n.n(u),s=n(6),l=n.n(s),f=n(2),d=n.n(f),p=n(0),h=n.n(p),y=n(116),v=n(10),g=n(5),m=n(54),b=n(55),x=n(32),w=n.n(x);function k(){return(k=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 E(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 O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var C=function(e){function t(e,n){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?O(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var o=r.props.children,a=o.props.polar;return r.continuous=!a&&o.type&&!0===o.type.continuous,r.getTransitionState=r.getTransitionState.bind(O(r)),r.timer=r.context.transitionTimer,r}var n,r,a;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:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return w()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(function(){return t.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};var r=d.a.Children.toArray(e.children),o=d.a.Children.toArray(t.children),a=b.a(r,o),i=a.nodesWillExit;return{nodesWillExit:i,nodesWillEnter:a.nodesWillEnter,childrenTransitions:a.childrenTransitions,nodesShouldEnter:a.nodesShouldEnter,oldProps:i?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=d.a.Children.toArray(e.children)[0],r=n.props||{},o=Array.isArray(r.domain)?r.domain:r.domain&&r.domain[t];if(!r.children&&o)return o;var a=function e(n){return n.reduce((function(n,r){if(r.type&&c()(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,t);return o?n.concat(o):n}return r.props&&r.props.children?n.concat(e(d.a.Children.toArray(r.props.children))):n}),[])}([n]);return 0===a.length?[0,1]:[v.getMinValue(a),v.getMaxValue(a)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=o()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?(this.continous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}},{key:"getClipWidth",value:function(e,t){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=g.getRange(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width}()}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=o()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:b.b(t,this.state,(function(t){return e.setState(t)})),r=d.a.Children.toArray(t.children)[0],a=n(r);this.transitionProps=a;var u={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},c=this.getClipWidth(t,r),s=l()({domain:u,clipWidth:c},a,r.props),f=(t.animationWhitelist||[]).concat(["clipWidth"]),p=f.length?i()(s,f):s;return d.a.createElement(y.a,k({},s.animate,{data:p}),(function(t){if(r.props.groupComponent){var n=e.continuous?d.a.cloneElement(r.props.groupComponent,{clipWidth:t.clipWidth||0}):r.props.groupComponent;return d.a.cloneElement(r,l()({animate:null,animating:!0,groupComponent:n},t,s))}return d.a.cloneElement(r,l()({animate:null,animating:!0},t,s))}))}}])&&E(n.prototype,r),a&&E(n,a),t}(d.a.Component);Object.defineProperty(C,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(C,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:h.a.oneOfType([h.a.bool,h.a.object]),animationWhitelist:h.a.array,children:h.a.node}}),Object.defineProperty(C,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:m.a})},function(e,t,n){"use strict";var r=n(2),o=n.n(r);t.a=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?o.a.createElement("path",n,o.a.createElement("desc",null,t)):o.a.createElement("path",n)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ae}));var r={};n.r(r),n.d(r,"easeLinear",(function(){return c})),n.d(r,"easeQuad",(function(){return f})),n.d(r,"easeQuadIn",(function(){return s})),n.d(r,"easeQuadOut",(function(){return l})),n.d(r,"easeQuadInOut",(function(){return f})),n.d(r,"easeCubic",(function(){return h})),n.d(r,"easeCubicIn",(function(){return d})),n.d(r,"easeCubicOut",(function(){return p})),n.d(r,"easeCubicInOut",(function(){return h})),n.d(r,"easePoly",(function(){return g})),n.d(r,"easePolyIn",(function(){return y})),n.d(r,"easePolyOut",(function(){return v})),n.d(r,"easePolyInOut",(function(){return g})),n.d(r,"easeSin",(function(){return k})),n.d(r,"easeSinIn",(function(){return x})),n.d(r,"easeSinOut",(function(){return w})),n.d(r,"easeSinInOut",(function(){return k})),n.d(r,"easeExp",(function(){return S})),n.d(r,"easeExpIn",(function(){return O})),n.d(r,"easeExpOut",(function(){return C})),n.d(r,"easeExpInOut",(function(){return S})),n.d(r,"easeCircle",(function(){return P})),n.d(r,"easeCircleIn",(function(){return _})),n.d(r,"easeCircleOut",(function(){return A})),n.d(r,"easeCircleInOut",(function(){return P})),n.d(r,"easeBounce",(function(){return N})),n.d(r,"easeBounceIn",(function(){return M})),n.d(r,"easeBounceOut",(function(){return N})),n.d(r,"easeBounceInOut",(function(){return R})),n.d(r,"easeBack",(function(){return I})),n.d(r,"easeBackIn",(function(){return D})),n.d(r,"easeBackOut",(function(){return F})),n.d(r,"easeBackInOut",(function(){return I})),n.d(r,"easeElastic",(function(){return B})),n.d(r,"easeElasticIn",(function(){return U})),n.d(r,"easeElasticOut",(function(){return B})),n.d(r,"easeElasticInOut",(function(){return V}));var o=n(2),a=n.n(o),i=n(0),u=n.n(i);function c(e){return+e}function s(e){return e*e}function l(e){return e*(2-e)}function f(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function d(e){return e*e*e}function p(e){return--e*e*e+1}function h(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var y=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),v=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),g=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),m=Math.PI,b=m/2;function x(e){return 1===+e?1:1-Math.cos(e*b)}function w(e){return Math.sin(e*b)}function k(e){return(1-Math.cos(m*e))/2}function E(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function O(e){return E(1-+e)}function C(e){return 1-E(e)}function S(e){return((e*=2)<=1?E(1-e):2-E(e-1))/2}function _(e){return 1-Math.sqrt(1-e*e)}function A(e){return Math.sqrt(1- --e*e)}function P(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var T=4/11,j=7.5625;function M(e){return 1-N(1-e)}function N(e){return(e=+e)<T?j*e*e:e<.7272727272727273?j*(e-=.5454545454545454)*e+.75:e<.9090909090909091?j*(e-=.8181818181818182)*e+.9375:j*(e-=.9545454545454546)*e+.984375}function R(e){return((e*=2)<=1?1-N(1-e):N(e-1)+1)/2}var L=1.70158,D=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(L),F=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(L),I=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(L),z=2*Math.PI,U=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=z);function o(e){return t*E(- --e)*Math.sin((r-e)/n)}return o.amplitude=function(t){return e(t,n*z)},o.period=function(n){return e(t,n)},o}(1,.3),B=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=z);function o(e){return 1-t*E(e=+e)*Math.sin((e+r)/n)}return o.amplitude=function(t){return e(t,n*z)},o.period=function(n){return e(t,n)},o}(1,.3),V=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=z);function o(e){return((e=2*e-1)<0?t*E(-e)*Math.sin((r-e)/n):2-t*E(e)*Math.sin((r+e)/n))/2}return o.amplitude=function(t){return e(t,n*z)},o.period=function(n){return e(t,n)},o}(1,.3),W=n(74),H=n.n(W),q=n(19),$=n.n(q),Y=n(427),K=function(e){if(null!==e)switch(typeof e){case"undefined":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return e instanceof Date||Array.isArray(e)||$()(e);case"function":return!0}return!1},G=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},Q=function(e,t){return function(n){return n>=1?t:function(){var r="function"===typeof e?e.apply(this,arguments):e,o="function"===typeof t?t.apply(this,arguments):t;return Object(Y.a)(r,o)(n)}}},X=function e(t,n){var r,o,a,i=function(e){return Array.isArray(e)?H()(e,"key"):e},u={},c={};for(r in null!==t&&"object"===typeof t||(t={}),null!==n&&"object"===typeof n||(n={}),n)r in t?u[r]=(o=i(t[r]),a=i(n[r]),o!==a&&K(o)&&K(a)?"function"===typeof o||"function"===typeof a?Q(o,a):"object"===typeof o&&$()(o)||"object"===typeof a&&$()(a)?e(o,a):Object(Y.a)(o,a):G(o,a)):c[r]=n[r];return function(e){for(r in u)c[r]=u[r](e);return c}},Z=function(e,t){return e!==t&&K(e)&&K(t)?"function"===typeof e||"function"===typeof t?Q(e,t):$()(e)||$()(t)?X(e,t):"string"===typeof e||"string"===typeof t?function(e,t){var n=function(e){return"string"===typeof e?e.replace(/,/g,""):e};return Object(Y.a)(n(e),n(t))}(e,t):Object(Y.a)(e,t):G(e,t)},J=n(54),ee=n(32),te=n.n(ee);function ne(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 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 oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ae=function(e){function t(e,n){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?oe(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={data:Array.isArray(o.props.data)?o.props.data[0]:o.props.data,animationInfo:{progress:0,animating:!1}},o.interpolator=null,o.queue=Array.isArray(o.props.data)?o.props.data.slice(1):[],o.ease=r[o.toNewName(o.props.easing)],o.functionToBeRunEachFrame=o.functionToBeRunEachFrame.bind(oe(o)),o.timer=o.context.animationTimer,o}var n,o,a;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,(o=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(e){if(!te()(this.props,e))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var t;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(t=this.queue).push.apply(t,ne(this.props.data)):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(e){var t;return"ease".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}},{key:"traverseQueue",value:function(){var e=this;if(this.queue.length){var t=this.queue[0];this.interpolator=Z(this.state.data,t),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(e,t){var n=(t=void 0!==t?t:this.props.duration)?e/t:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),this.loopID&&this.timer.unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&re(n.prototype,o),a&&re(n,a),t}(a.a.Component);Object.defineProperty(ae,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(ae,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:u.a.func,data:u.a.oneOfType([u.a.object,u.a.array]),delay:u.a.number,duration:u.a.number,easing:u.a.oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:u.a.func}}),Object.defineProperty(ae,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(ae,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:J.a})},function(e,t,n){var r=n(52),o=n(196);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},function(e,t,n){var r=n(52),o=n(393),a=n(75);e.exports=function(e,t){return a(e,o(r(t)))}},function(e,t,n){var r=n(406)();e.exports=r},,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,u,c=i(e),s=1;s<arguments.length;s++){for(var l in n=Object(arguments[s]))o.call(n,l)&&(c[l]=n[l]);if(r){u=r(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(c[u[f]]=n[u[f]])}}return c}},function(e,t,n){var r=n(40),o=n(41),a=n(65),i=n(42),u=n(43),c=n(80),s=n(81),l=n(82).installTimerFunctions,f=n(39)("engine.io-client:transport"),d=function(e){"use strict";i(n,e);var t=u(n);function n(e){var o;return r(this,n),o=t.call(this),l(a(o),e),o.opts=e,o.query=e.query,o.readyState="",o.socket=e.socket,o}return o(n,[{key:"onError",value:function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this}},{key:"open",value:function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}},{key:"close",value:function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}},{key:"send",value:function(e){"open"===this.readyState?this.write(e):f("transport is not open, discarding packets")}},{key:"onOpen",value:function(){this.readyState="open",this.writable=!0,this.emit("open")}},{key:"onData",value:function(e){var t=c.decodePacket(e,this.socket.binaryType);this.onPacket(t)}},{key:"onPacket",value:function(e){this.emit("packet",e)}},{key:"onClose",value:function(){this.readyState="closed",this.emit("close")}}]),n}(s);e.exports=d},function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var a=n[r].split("=");t[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return t}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(95),o=n(66),a=n(42),i=n(43),u=n(40),c=n(41);Object.defineProperty(t,"__esModule",{value:!0}),t.Decoder=t.Encoder=t.PacketType=t.protocol=void 0;var s,l=n(81),f=n(274),d=n(159),p=n(39)("socket.io-parser");t.protocol=5,function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(s=t.PacketType||(t.PacketType={}));var h=function(){function e(){u(this,e)}return c(e,[{key:"encode",value:function(e){return p("encoding packet %j",e),e.type!==s.EVENT&&e.type!==s.ACK||!d.hasBinary(e)?[this.encodeAsString(e)]:(e.type=e.type===s.EVENT?s.BINARY_EVENT:s.BINARY_ACK,this.encodeAsBinary(e))}},{key:"encodeAsString",value:function(e){var t=""+e.type;return e.type!==s.BINARY_EVENT&&e.type!==s.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data)),p("encoded %j as %s",e,t),t}},{key:"encodeAsBinary",value:function(e){var t=f.deconstructPacket(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}]),e}();t.Encoder=h;var y=function(e){a(n,e);var t=i(n);function n(){return u(this,n),t.call(this)}return c(n,[{key:"add",value:function(e){var t;if("string"===typeof e)(t=this.decodeString(e)).type===s.BINARY_EVENT||t.type===s.BINARY_ACK?(this.reconstructor=new v(t),0===t.attachments&&r(o(n.prototype),"emit",this).call(this,"decoded",t)):r(o(n.prototype),"emit",this).call(this,"decoded",t);else{if(!d.isBinary(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,r(o(n.prototype),"emit",this).call(this,"decoded",t))}}},{key:"decodeString",value:function(e){var t=0,r={type:Number(e.charAt(0))};if(void 0===s[r.type])throw new Error("unknown packet type "+r.type);if(r.type===s.BINARY_EVENT||r.type===s.BINARY_ACK){for(var o=t+1;"-"!==e.charAt(++t)&&t!=e.length;);var a=e.substring(o,t);if(a!=Number(a)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(a)}if("/"===e.charAt(t+1)){for(var i=t+1;++t;){if(","===e.charAt(t))break;if(t===e.length)break}r.nsp=e.substring(i,t)}else r.nsp="/";var u=e.charAt(t+1);if(""!==u&&Number(u)==u){for(var c=t+1;++t;){var l=e.charAt(t);if(null==l||Number(l)!=l){--t;break}if(t===e.length)break}r.id=Number(e.substring(c,t+1))}if(e.charAt(++t)){var f=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(t));if(!n.isPayloadValid(r.type,f))throw new Error("invalid payload");r.data=f}return p("decoded %s as %j",e,r),r}},{key:"destroy",value:function(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}],[{key:"isPayloadValid",value:function(e,t){switch(e){case s.CONNECT:return"object"===typeof t;case s.DISCONNECT:return void 0===t;case s.CONNECT_ERROR:return"string"===typeof t||"object"===typeof t;case s.EVENT:case s.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case s.ACK:case s.BINARY_ACK:return Array.isArray(t)}}}]),n}(l);t.Decoder=y;var v=function(){function e(t){u(this,e),this.packet=t,this.buffers=[],this.reconPack=t}return c(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=f.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}()},function(e,t,n){var r=n(61)(n(48),"Map");e.exports=r},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){(function(e){var r=n(48),o=n(326),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,u=i&&i.exports===a?r.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;e.exports=c}).call(this,n(177)(e))},function(e,t,n){var r=n(327),o=n(84),a=n(130),i=a&&a.isTypedArray,u=i?o(i):r;e.exports=u},function(e,t,n){(function(e){var r=n(174),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,u=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(t){}}();e.exports=u}).call(this,n(177)(e))},function(e,t,n){var r=n(132),o=n(67),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(178);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(349),o=n(356),a=n(358),i=n(359),u=n(360);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=a,c.prototype.has=i,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(361),o=n(44);e.exports=function e(t,n,a,i,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,a,i,e,u))}},function(e,t,n){var r=n(133),o=n(362),a=n(363);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(26),o=n(86),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\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))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(201),o=n(390)(r);e.exports=o},function(e,t,n){var r=n(279);e.exports=p,e.exports.parse=a,e.exports.compile=function(e,t){return u(a(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,u="",l=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],d=n[1],p=n.index;if(u+=e.slice(i,p),i=p+f.length,d)u+=d[1];else{var h=e[i],y=n[2],v=n[3],g=n[4],m=n[5],b=n[6],x=n[7];u&&(r.push(u),u="");var w=null!=y&&null!=h&&h!==y,k="+"===b||"*"===b,E="?"===b||"*"===b,O=n[2]||l,C=g||m;r.push({name:v||a++,prefix:y||"",delimiter:O,optional:E,repeat:k,partial:w,asterisk:!!x,pattern:C?s(C):x?".*":"[^"+c(O)+"]+?"})}}return i<e.length&&(u+=e.substr(i)),u&&r.push(u),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"===typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var a="",u=t||{},c=(o||{}).pretty?i:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!==typeof l){var f,d=u[l.name];if(null==d){if(l.optional){l.partial&&(a+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=c(d[p]),!n[s].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");a+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(d),!n[s].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');a+=l.prefix+f}}else a+=l}return a}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",u=0;u<e.length;u++){var s=e[u];if("string"===typeof s)i+=c(s);else{var d=c(s.prefix),p="(?:"+s.pattern+")";t.push(s),s.repeat&&(p+="(?:"+d+p+")*"),i+=p=s.optional?s.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=c(n.delimiter||"/"),y=i.slice(-h.length)===h;return o||(i=(y?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=a?"$":o&&y?"":"(?="+h+"|$)",l(new RegExp("^"+i,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(a(e,n),t,n)}(e,t,n)}},function(e,t,n){var r=n(188),o=n(52),a=n(391),i=n(26),u=n(99);e.exports=function(e,t,n){var c=i(e)?r:a;return n&&u(e,t,n)&&(t=void 0),c(e,o(t,3))}},function(e,t,n){var r=n(410),o=n(84),a=n(130),i=a&&a.isDate,u=i?o(i):r;e.exports=u},function(e,t,n){var r=n(181),o=n(412),a=n(29),i=Object.prototype.toString,u=o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=i.call(t)),e[t]=n}),r(a));e.exports=u},function(e,t,n){"use strict";function r(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var o="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var a;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(r(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(r(1));return n(c)(e,t)}if("function"!==typeof e)throw new Error(r(2));var s=e,l=t,f=[],d=f,p=!1;function h(){d===f&&(d=f.slice())}function y(){if(p)throw new Error(r(3));return l}function v(e){if("function"!==typeof e)throw new Error(r(4));if(p)throw new Error(r(5));var t=!0;return h(),d.push(e),function(){if(t){if(p)throw new Error(r(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),f=null}}}function g(e){if(!u(e))throw new Error(r(7));if("undefined"===typeof e.type)throw new Error(r(8));if(p)throw new Error(r(9));try{p=!0,l=s(l,e)}finally{p=!1}for(var t=f=d,n=0;n<t.length;n++){(0,t[n])()}return e}function m(e){if("function"!==typeof e)throw new Error(r(10));s=e,g({type:i.REPLACE})}function b(){var e,t=v;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(r(11));function n(){e.next&&e.next(y())}return n(),{unsubscribe:t(n)}}})[o]=function(){return this},e}return g({type:i.INIT}),(a={dispatch:g,subscribe:v,getState:y,replaceReducer:m})[o]=b,a}function s(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var a=t[o];0,"function"===typeof e[a]&&(n[a]=e[a])}var u,c=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:i.INIT}))throw new Error(r(12));if("undefined"===typeof n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(s){u=s}return function(e,t){if(void 0===e&&(e={}),u)throw u;for(var o=!1,a={},i=0;i<c.length;i++){var s=c[i],l=n[s],f=e[s],d=l(f,t);if("undefined"===typeof d){t&&t.type;throw new Error(r(14))}a[s]=d,o=o||d!==f}return(o=o||c.length!==Object.keys(e).length)?a:e}}},,,function(e,t){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,o=e.indexOf("["),a=e.indexOf("]");-1!=o&&-1!=a&&(e=e.substring(0,o)+e.substring(o,a).replace(/:/g,";")+e.substring(a,e.length));for(var i=n.exec(e||""),u={},c=14;c--;)u[r[c]]=i[c]||"";return-1!=o&&-1!=a&&(u.source=t,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=function(e,t){var n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.substr(0,1)&&0!==t.length||r.splice(0,1);"/"==t.substr(t.length-1,1)&&r.splice(r.length-1,1);return r}(0,u.path),u.queryKey=function(e,t){var n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,u.query),u}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"===typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var c,s=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&p())}function p(){if(!l){var e=u(d);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||u(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(150);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){"use strict";var r=n(40),o=n(41),a=n(65),i=n(42),u=n(43);Object.defineProperty(t,"__esModule",{value:!0}),t.Manager=void 0;var c=n(258),s=n(82),l=n(158),f=n(125),d=n(160),p=n(275),h=n(161),y=n(39)("socket.io-client:manager"),v=function(e){i(n,e);var t=u(n);function n(e,o){var i,u;r(this,n),(i=t.call(this)).nsps={},i.subs=[],e&&"object"===typeof e&&(o=e,e=void 0),(o=o||{}).path=o.path||"/socket.io",i.opts=o,(0,s.installTimerFunctions)(a(i),o),i.reconnection(!1!==o.reconnection),i.reconnectionAttempts(o.reconnectionAttempts||1/0),i.reconnectionDelay(o.reconnectionDelay||1e3),i.reconnectionDelayMax(o.reconnectionDelayMax||5e3),i.randomizationFactor(null!==(u=o.randomizationFactor)&&void 0!==u?u:.5),i.backoff=new p({min:i.reconnectionDelay(),max:i.reconnectionDelayMax(),jitter:i.randomizationFactor()}),i.timeout(null==o.timeout?2e4:o.timeout),i._readyState="closed",i.uri=e;var c=o.parser||f;return i.encoder=new c.Encoder,i.decoder=new c.Decoder,i._autoConnect=!1!==o.autoConnect,i._autoConnect&&i.open(),i}return o(n,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(y("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;y("opening %s",this.uri),this.engine=c(this.uri,this.opts);var n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;var o=(0,d.on)(n,"open",(function(){r.onopen(),e&&e()})),a=(0,d.on)(n,"error",(function(n){y("error"),r.cleanup(),r._readyState="closed",t.emitReserved("error",n),e?e(n):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var i=this._timeout;y("connect attempt will timeout after %d",i),0===i&&o();var u=this.setTimeoutFn((function(){y("connect attempt timed out after %d",i),o(),n.close(),n.emit("error",new Error("timeout"))}),i);this.opts.autoUnref&&u.unref(),this.subs.push((function(){clearTimeout(u)}))}return this.subs.push(o),this.subs.push(a),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){y("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push((0,d.on)(e,"ping",this.onping.bind(this)),(0,d.on)(e,"data",this.ondata.bind(this)),(0,d.on)(e,"error",this.onerror.bind(this)),(0,d.on)(e,"close",this.onclose.bind(this)),(0,d.on)(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){y("error",e),this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new l.Socket(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t<n.length;t++){var r=n[t];if(this.nsps[r].active)return void y("socket %s is still active, skipping close",r)}this._close()}},{key:"_packet",value:function(e){y("writing packet %j",e);for(var t=this.encoder.encode(e),n=0;n<t.length;n++)this.engine.write(t[n],e.options)}},{key:"cleanup",value:function(){y("cleanup"),this.subs.forEach((function(e){return e()})),this.subs.length=0,this.decoder.destroy()}},{key:"_close",value:function(){y("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,"opening"===this._readyState&&this.cleanup(),this.backoff.reset(),this._readyState="closed",this.engine&&this.engine.close()}},{key:"disconnect",value:function(){return this._close()}},{key:"onclose",value:function(e){y("onclose"),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()}},{key:"reconnect",value:function(){var e=this;if(this._reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)y("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();y("will wait %dms before reconnect attempt",n),this._reconnecting=!0;var r=this.setTimeoutFn((function(){t.skipReconnect||(y("attempting reconnect"),e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(y("reconnect attempt error"),t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):(y("reconnect success"),t.onreconnect())})))}),n);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),n}(h.StrictEventEmitter);t.Manager=v},function(e,t,n){var r=n(154),o=n(261),a=n(265),i=n(267);t.polling=function(e){var t=!1,n=!1,i=!1!==e.jsonp;if("undefined"!==typeof location){var u="https:"===location.protocol,c=location.port;c||(c=u?443:80),t=e.hostname!==location.hostname||c!==e.port,n=e.secure!==u}if(e.xdomain=t,e.xscheme=n,"open"in new r(e)&&!e.forceJSONP)return new o(e);if(!i)throw new Error("JSONP disabled");return new a(e)},t.websocket=i},function(e,t,n){var r=n(260),o=n(79);e.exports=function(e){var t=e.xdomain,n=e.xscheme,a=e.enablesXDR;try{if("undefined"!==typeof XMLHttpRequest&&(!t||r))return new XMLHttpRequest}catch(i){}try{if("undefined"!==typeof XDomainRequest&&!n&&a)return new XDomainRequest}catch(i){}if(!t)try{return new(o[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(i){}}},function(e,t,n){var r=n(40),o=n(41),a=n(42),i=n(43),u=n(122),c=n(123),s=n(80),l=n(157),f=n(39)("engine.io-client:polling"),d=function(e){"use strict";a(n,e);var t=i(n);function n(){return r(this,n),t.apply(this,arguments)}return o(n,[{key:"name",get:function(){return"polling"}},{key:"doOpen",value:function(){this.poll()}},{key:"pause",value:function(e){var t=this;this.readyState="pausing";var n=function(){f("paused"),t.readyState="paused",e()};if(this.polling||!this.writable){var r=0;this.polling&&(f("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){f("pre-pause polling complete"),--r||n()}))),this.writable||(f("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){f("pre-pause writing complete"),--r||n()})))}else n()}},{key:"poll",value:function(){f("polling"),this.polling=!0,this.doPoll(),this.emit("poll")}},{key:"onData",value:function(e){var t=this;f("polling got data %s",e);s.decodePayload(e,this.socket.binaryType).forEach((function(e){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():f('ignoring poll - transport state "%s"',this.readyState))}},{key:"doClose",value:function(){var e=this,t=function(){f("writing close packet"),e.write([{type:"close"}])};"open"===this.readyState?(f("transport open - closing"),t()):(f("transport not open - deferring close"),this.once("open",t))}},{key:"write",value:function(e){var t=this;this.writable=!1,s.encodePayload(e,(function(e){t.doWrite(e,(function(){t.writable=!0,t.emit("drain")}))}))}},{key:"uri",value:function(){var e=this.query||{},t=this.opts.secure?"https":"http",n="";return!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=l()),this.supportsBinary||e.sid||(e.b64=1),e=c.encode(e),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port),e.length&&(e="?"+e),t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+e}}]),n}(u);e.exports=d},function(e,t){var n=Object.create(null);n.open="0",n.close="1",n.ping="2",n.pong="3",n.message="4",n.upgrade="5",n.noop="6";var r=Object.create(null);Object.keys(n).forEach((function(e){r[n[e]]=e}));e.exports={PACKET_TYPES:n,PACKET_TYPES_REVERSE:r,ERROR_PACKET:{type:"error",data:"parser error"}}},function(e,t,n){"use strict";var r,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),a={},i=0,u=0;function c(e){var t="";do{t=o[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function s(){var e=c(+new Date);return e!==r?(i=0,r=e):e+"."+c(i++)}for(;u<64;u++)a[o[u]]=u;s.encode=c,s.decode=function(e){var t=0;for(u=0;u<e.length;u++)t=64*t+a[e.charAt(u)];return t},e.exports=s},function(e,t,n){"use strict";var r=n(273),o=n(40),a=n(41),i=n(95),u=n(66),c=n(42),s=n(43);Object.defineProperty(t,"__esModule",{value:!0}),t.Socket=void 0;var l=n(125),f=n(160),d=n(161),p=n(39)("socket.io-client:socket"),h=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),y=function(e){c(n,e);var t=s(n);function n(e,r,a){var i;return o(this,n),(i=t.call(this)).connected=!1,i.disconnected=!0,i.receiveBuffer=[],i.sendBuffer=[],i.ids=0,i.acks={},i.flags={},i.io=e,i.nsp=r,a&&a.auth&&(i.auth=a.auth),i.io._autoConnect&&i.open(),i}return a(n,[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[(0,f.on)(e,"open",this.onopen.bind(this)),(0,f.on)(e,"packet",this.onpacket.bind(this)),(0,f.on)(e,"error",this.onerror.bind(this)),(0,f.on)(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.unshift("message"),this.emit.apply(this,t),this}},{key:"emit",value:function(e){if(h.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.unshift(e);var o={type:l.PacketType.EVENT,data:n,options:{}};o.options.compress=!1!==this.flags.compress,"function"===typeof n[n.length-1]&&(p("emitting packet with ack id %d",this.ids),this.acks[this.ids]=n.pop(),o.id=this.ids++);var a=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable,i=this.flags.volatile&&(!a||!this.connected);return i?p("discard packet as the transport is not currently writable"):this.connected?this.packet(o):this.sendBuffer.push(o),this.flags={},this}},{key:"packet",value:function(e){e.nsp=this.nsp,this.io._packet(e)}},{key:"onopen",value:function(){var e=this;p("transport is open - connecting"),"function"==typeof this.auth?this.auth((function(t){e.packet({type:l.PacketType.CONNECT,data:t})})):this.packet({type:l.PacketType.CONNECT,data:this.auth})}},{key:"onerror",value:function(e){this.connected||this.emitReserved("connect_error",e)}},{key:"onclose",value:function(e){p("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emitReserved("disconnect",e)}},{key:"onpacket",value:function(e){if(e.nsp===this.nsp)switch(e.type){case l.PacketType.CONNECT:if(e.data&&e.data.sid){var t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case l.PacketType.EVENT:case l.PacketType.BINARY_EVENT:this.onevent(e);break;case l.PacketType.ACK:case l.PacketType.BINARY_ACK:this.onack(e);break;case l.PacketType.DISCONNECT:this.ondisconnect();break;case l.PacketType.CONNECT_ERROR:var n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n)}}},{key:"onevent",value:function(e){var t=e.data||[];p("emitting event %j",t),null!=e.id&&(p("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}},{key:"emitEvent",value:function(e){if(this._anyListeners&&this._anyListeners.length){var t,o=this._anyListeners.slice(),a=r(o);try{for(a.s();!(t=a.n()).done;){t.value.apply(this,e)}}catch(c){a.e(c)}finally{a.f()}}i(u(n.prototype),"emit",this).apply(this,e)}},{key:"ack",value:function(e){var t=this,n=!1;return function(){if(!n){n=!0;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];p("sending ack %j",o),t.packet({type:l.PacketType.ACK,id:e,data:o})}}}},{key:"onack",value:function(e){var t=this.acks[e.id];"function"===typeof t?(p("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):p("bad ack %s",e.id)}},{key:"onconnect",value:function(e){p("socket connected with id %s",e),this.id=e,this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emitReserved("connect")}},{key:"emitBuffered",value:function(){var e=this;this.receiveBuffer.forEach((function(t){return e.emitEvent(t)})),this.receiveBuffer=[],this.sendBuffer.forEach((function(t){return e.packet(t)})),this.sendBuffer=[]}},{key:"ondisconnect",value:function(){p("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}},{key:"destroy",value:function(){this.subs&&(this.subs.forEach((function(e){return e()})),this.subs=void 0),this.io._destroy(this)}},{key:"disconnect",value:function(){return this.connected&&(p("performing disconnect (%s)",this.nsp),this.packet({type:l.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{key:"close",value:function(){return this.disconnect()}},{key:"compress",value:function(e){return this.flags.compress=e,this}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}},{key:"onAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}},{key:"prependAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}},{key:"offAny",value:function(e){if(!this._anyListeners)return this;if(e){for(var t=this._anyListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}},{key:"listenersAny",value:function(){return this._anyListeners||[]}}]),n}(d.StrictEventEmitter);t.Socket=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBinary=t.isBinary=void 0;var r="function"===typeof ArrayBuffer,o=Object.prototype.toString,a="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===o.call(Blob),i="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===o.call(File);function u(e){return r&&(e instanceof ArrayBuffer||function(e){return"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))||a&&e instanceof Blob||i&&e instanceof File}t.isBinary=u,t.hasBinary=function e(t,n){if(!t||"object"!==typeof t)return!1;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)if(e(t[r]))return!0;return!1}if(u(t))return!0;if(t.toJSON&&"function"===typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)&&e(t[a]))return!0;return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=void 0,t.on=function(e,t,n){return e.on(t,n),function(){e.off(t,n)}}},function(e,t,n){"use strict";var r=n(40),o=n(41),a=n(95),i=n(66),u=n(42),c=n(43);Object.defineProperty(t,"__esModule",{value:!0}),t.StrictEventEmitter=void 0;var s=function(e){u(n,e);var t=c(n);function n(){return r(this,n),t.apply(this,arguments)}return o(n,[{key:"on",value:function(e,t){return a(i(n.prototype),"on",this).call(this,e,t),this}},{key:"once",value:function(e,t){return a(i(n.prototype),"once",this).call(this,e,t),this}},{key:"emit",value:function(e){for(var t,r=arguments.length,o=new Array(r>1?r-1:0),u=1;u<r;u++)o[u-1]=arguments[u];return(t=a(i(n.prototype),"emit",this)).call.apply(t,[this,e].concat(o)),this}},{key:"emitReserved",value:function(e){for(var t,r=arguments.length,o=new Array(r>1?r-1:0),u=1;u<r;u++)o[u-1]=arguments[u];return(t=a(i(n.prototype),"emit",this)).call.apply(t,[this,e].concat(o)),this}},{key:"listeners",value:function(e){return a(i(n.prototype),"listeners",this).call(this,e)}}]),n}(n(81));t.StrictEventEmitter=s},function(e,t,n){"use strict";e.exports=n(280)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(31);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(r.isURLSearchParams(t))a=t.toString();else{var i=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(31),o=n(290),a={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(167)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(i(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u}).call(this,n(149))},function(e,t,n){"use strict";var r=n(31),o=n(291),a=n(293),i=n(164),u=n(294),c=n(297),s=n(298),l=n(168);e.exports=function(e){return new Promise((function(t,n){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+y)}var v=u(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),i(v,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,a={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};o(t,n,a),p=null}},p.onabort=function(){p&&(n(l("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=(e.withCredentials||s(v))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(m){if("json"!==e.responseType)throw m}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),f||(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(292);e.exports=function(e,t,n,o,a){var i=new Error(e);return r(i,t,n,o,a)}},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(a,s),r.forEach(i,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(u,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var l=o.concat(a).concat(i).concat(u),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,s),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){var r=n(96),o=n(315),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(316),o=n(126),a=n(323),i=n(176),u=n(324),c=n(47),s=n(175),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",y=s(r),v=s(o),g=s(a),m=s(i),b=s(u),x=c;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=l||a&&x(a.resolve())!=f||i&&x(new i)!=d||u&&x(new u)!=p)&&(x=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case y:return h;case v:return l;case g:return f;case m:return d;case b:return p}return t}),e.exports=x},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(124))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t,n){var r=n(61)(n(48),"Set");e.exports=r},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(61),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},function(e,t,n){var r=n(330),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,u=o(a.length-t,0),c=Array(u);++i<u;)c[i]=a[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=a[i];return s[t]=n(c),r(e,this,s)}}},function(e,t,n){var r=n(331),o=n(332)(r);e.exports=o},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(333),o=n(97),a=n(26),i=n(128),u=n(100),c=n(129),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),l=!n&&o(e),f=!n&&!l&&i(e),d=!n&&!l&&!f&&c(e),p=n||l||f||d,h=p?r(e.length,String):[],y=h.length;for(var v in e)!t&&!s.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y))||h.push(v);return h}},function(e,t,n){var r=n(182),o=n(334),a=n(45);e.exports=function(e){return a(e)?r(e,!0):o(e)}},function(e,t,n){"use strict";var r=n(19),o=n.n(r),a=n(73),i=n.n(a),u=n(117),c=n.n(u),s=n(220),l=n.n(s),f=n(142),d=n.n(f),p=n(37),h=n.n(p),y=n(9),v=n.n(y),g=n(57),m=n.n(g),b=n(6),x=n.n(b),w=n(3),k=n.n(w),E=n(2),O=n.n(E),C=n(107),S=n(68),_=n(55),A=n(23),P=n(22),T=n(25),j=n(10),M=n(5),N=n(33),R=n(46);function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(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")}()}t.a={getData:function(e,t){return e.data?A.getData(e):(t=t||O.a.Children.toArray(e.children),this.getDataFromChildren(t))},getDefaultDomainPadding:function(e,t,n){if(!e.polar&&"x"===t){var r=n.filter((function(e){return e.type&&e.type.role&&"group"===e.type.role}));if(!(r.length<1)){var o=r[0].props,a=o.offset,i=o.children;if(a){var u=Array.isArray(i)&&i[0];if(u){var c=u.props.barWidth,s=u.props.data&&u.props.data.length||1;if(u&&"stack"===u.type.role){var l=u.props.children&&u.props.children[0];if(!l)return;c=l.props.barWidth,s=u.props.children.length}var f=c||this.getWidth(e,i.length,s);return{x:f*i.length/2+(a-f*((i.length-1)/2))}}}}}},getDomain:function(e,t,n){n=n||O.a.Children.toArray(e.children);var r,o=P.getDomainFromProps(e,t),a=this.getDefaultDomainPadding(e,t,n);if(o)r=o;else{var i=P.getMinFromProps(e,t),u=P.getMaxFromProps(e,t),c=(e.data||e.y)&&A.getData(e),s=c?P.getDomainFromData(e,t,c):[],l=this.getDomainFromChildren(e,t,n),f=i||j.getMinValue(D(s).concat(D(l))),d=u||j.getMaxValue(D(s).concat(D(l)));r=P.getDomainFromMinMax(f,d)}return P.formatDomain(r,k()({domainPadding:a},e),t)},getScale:function(e,t,n){if(e.data)return N.getBaseScale(e,t);var r=n?n.slice(0):O.a.Children.toArray(e.children),o=h()(M.reduceChildren(r,(function(n){var r=k()({},n.props,{horizontal:e.horizontal});return N.getScaleType(r,t)}),e));return o.length>1?N.getScaleFromName("linear"):N.getScaleFromName(o[0])},setAnimationState:function(e,t){if(e.animate)if(e.animate.parentState){var n=e.animate.parentState.nodesWillExit?e:null;this.setState(x()({oldProps:n,nextProps:t},e.animate.parentState))}else{var r=O.a.Children.toArray(e.children),o=O.a.Children.toArray(t.children),a=function(e){var t=function(e){return e.type&&e.type.continuous};return Array.isArray(e)?d()(e,t):t(e)},i=!e.polar&&d()(r,(function(e){return a(e)||e.props.children&&a(e.props.children)})),u=_.a(r,o),c=u.nodesWillExit,s=u.nodesWillEnter,l=u.childrenTransitions,f=u.nodesShouldEnter;this.setState({nodesWillExit:c,nodesWillEnter:s,nodesShouldEnter:f,childrenTransitions:j.isArrayOfArrays(l)?l[0]:l,oldProps:c?e:null,nextProps:t,continuous:i})}},getAllEvents:function(e){this.componentEvents=T.getComponentEvents(e,["groupComponent","containerComponent","labelComponent"]);var t,n=e.events;Array.isArray(this.componentEvents)&&(n=Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,D(e.events)):this.componentEvents);return n||[]},getAnimationProps:function(e,t,n){var r=this;if(!e.animate)return t.props.animate;var o=e.animate&&e.animate.getTransitions,a=function(){var e=r.state&&r.state.childrenTransitions;return e=j.isArrayOfArrays(e)?e[n]:e,x()({childrenTransitions:e},r.state)}(),i=e.animate&&e.animate.parentState||a;if(!o){var u=_.b(e,a,(function(e){return r.setState(e)}));o=function(e){return u(e,n)}}return x()({getTransitions:o,parentState:i},e.animate,t.props.animate)},getDomainFromChildren:function(e,t,n){var r=n?n.slice(0):O.a.Children.toArray(e.children),o=e.data?A.getData(e,t):void 0,a=e.polar,i=e.startAngle,u=e.endAngle,c=e.categories,s=e.minDomain,l=e.maxDomain,f={horizontal:e.horizontal,polar:a,startAngle:i,endAngle:u,minDomain:s,maxDomain:l,categories:c},d=o?k()(f,{data:o}):f,p=M.reduceChildren(r,(function(e){var n=k()({},e.props,d);return P.isDomainComponent(e)?e.type&&v()(e.type.getDomain)?e.props&&e.type.getDomain(n,t):P.getDomain(n,t):null}),e);return[0===p.length?0:j.getMinValue(p),0===p.length?1:j.getMaxValue(p)]},addBinsToParentPropsIfHistogram:function(e){var t=e.children,n=e.props,r=e.childComponents,o=e.parentProps,a=t.some((function(e){return e.type&&"histogram"===e.type.role})),i=a&&t.length&&t.every((function(e){return e.type&&"histogram"===e.type.role}));if(a&&!i&&R.a("VictoryHistogram only supports being stacked with other VictoryHistogram components. Check to make sure that you are only passing VictoryHistogram components to VictoryStack"),!i)return o;var u=n.bins||r[0].props.bins;if(!Array.isArray(u)){var c=t.reduce((function(e,t){var n=M.createAccessor(t.props.x||"x");return e.concat(t.props.data.map((function(e){return{x:n(e)}})))}),[]);u=(0,t[0].type.getFormattedData)({data:c,bins:u}).reduce((function(e,t,n){var r=t.x0,o=t.x1;return 0===n?e.concat([r,o]):e.concat(o)}),[])}return function(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){L(e,t,n[t])}))}return e}({},o,{bins:u})},getDataFromChildren:function(e,t){var n={polar:e.polar,startAngle:e.startAngle,endAngle:e.endAngle,categories:e.categories,minDomain:e.minDomain,maxDomain:e.maxDomain},r=0,o=t?t.slice(0):O.a.Children.toArray(e.children);n=this.addBinsToParentPropsIfHistogram({children:o,props:e,childComponents:t,parentProps:n});var a=o.filter((function(e){return e.type&&"stack"===e.type.role})).length,u=M.reduceChildren(o,(function(e,t,o){var a,i=k()({},e.props,n);return A.isDataComponent(e)?(a=e.type&&v()(e.type.getData)?(e=o?O.a.cloneElement(e,o.props):e).type.getData(i):A.getData(i),r+=1,a.map((function(e,t){return k()({_stack:r,_group:t},e)}))):null}),e,[],(function(e,t){return e.concat(c()(t,"_group"))})),s=a?"_group":"_stack";return i()(l()(u,s))},getColor:function(e,t,n){var r=e.style,o=e.colorScale,a=e.color;if(r&&r.data&&r.data.fill)return r.data.fill;if(o=t.props&&t.props.colorScale?t.props.colorScale:o,a=t.props&&t.props.color?t.props.color:a,o||a){var i=Array.isArray(o)?o:S.a(o);return a||i[n%i.length]}},getWidth:function(e,t,n){var r=e.datasets,o=e.horizontal?M.getRange(e,"y"):M.getRange(e,"x"),a=Math.abs(o[1]-o[0]);n=void 0!==n?n:Array.isArray(r[0])&&r[0].length||1;var i=(t=t||r.length)*n;return Math.round(.5*a/i)},getStyle:function(e,t,n){var r=e&&e[n]&&e[n].style?e[n].style:{};return M.getStyles(t,r)},getChildStyle:function(e,t,n){var r=n.style,o=n.role,a=e.props.style||{};if(Array.isArray(a))return a;var i=e.type&&e.type.role,u="stack"===i?void 0:this.getColor(n,e,t),c="line"===i?{fill:"none",stroke:u}:{fill:u},s="stack"===o?{}:{width:this.getWidth(n)},l=x()({},a.data,k()({},s,r.data,c)),f=x()({},a.labels,r.labels);return{parent:r.parent,data:l,labels:f}},getStringsFromCategories:function(e,t){return M.reduceChildren(e.slice(0),(function(e){var n=e.props||{};if(P.isDomainComponent(e)&&n.categories){var r=n.categories&&!Array.isArray(n.categories)?n.categories[t]:n.props.categories,o=r&&r.filter((function(e){return"string"===typeof e}));return o?j.removeUndefined(o):[]}return null}))},getStringsFromData:function(e){return M.reduceChildren(e.slice(0),(function(e){var t=e.props||{};return A.isDataComponent(e)?(e.type&&v()(e.type.getData)?e.type.getData(t):A.getData(t)).map((function(e){return{x:e.xName,y:e.yName}})):null}),{},{x:[],y:[]},(function(e,t){var n=Array.isArray(t)?t.map((function(e){return e.x})).filter(Boolean):t.x,r=Array.isArray(t)?t.map((function(e){return e.y})).filter(Boolean):t.y;return{x:void 0!==n?e.x.concat(n):e.x,y:void 0!==r?e.y.concat(r):e.y}}))},getCategoryAndAxisStringsFromChildren:function(e,t,n){var r=o()(e.categories)?e.categories[t]:e.categories,a=C.getAxisComponent(n,t),i=a?A.getStringsFromAxes(a.props,t):[],u=r||this.getStringsFromCategories(n,t);return h()(m()(D(u).concat(D(i))))},getStringsFromChildren:function(e,t){t=t||O.a.Children.toArray(e.children);var n=this.getCategoryAndAxisStringsFromChildren(e,"x",t),r=this.getCategoryAndAxisStringsFromChildren(e,"y",t),o=this.getStringsFromData(t);return{x:h()(m()(D(n).concat(D(o.x)))),y:h()(m()(D(r).concat(D(o.y))))}},getCategories:function(e,t,n){var r=e.categories&&!Array.isArray(e.categories)?e.categories.x:e.categories,o=e.categories&&!Array.isArray(e.categories)?e.categories.y:e.categories,a=!r||!o?n||this.getStringsFromChildren(e,t):{},i=r||a.x,u=o||a.y;return{x:i.length>0?i:void 0,y:u.length>0?u:void 0}}}},function(e,t,n){var r=n(172)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(101),o=n(344),a=n(345),i=n(346),u=n(347),c=n(348);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=u,s.prototype.set=c,e.exports=s},function(e,t,n){var r=n(135),o=n(188),a=n(136);e.exports=function(e,t,n,i,u,c){var s=1&n,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var h=-1,y=!0,v=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var g=e[h],m=t[h];if(i)var b=s?i(m,g,h,t,e,c):i(g,m,h,e,t,c);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!o(t,(function(e,t){if(!a(v,t)&&(g===e||u(g,e,n,i,c)))return v.push(t)}))){y=!1;break}}else if(g!==m&&!u(g,m,n,i,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},function(e,t){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}},function(e,t,n){var r=n(138),o=n(26);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},function(e,t,n){var r=n(369),o=n(191),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,u=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=u},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(24);e.exports=function(e){return e===e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(376);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(377),o=n(378);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){var r=n(135),o=n(197),a=n(200),i=n(136),u=n(383),c=n(137);e.exports=function(e,t,n){var s=-1,l=o,f=e.length,d=!0,p=[],h=p;if(n)d=!1,l=a;else if(f>=200){var y=t?null:u(e);if(y)return c(y);d=!1,l=i,h=new r}else h=t?[]:p;e:for(;++s<f;){var v=e[s],g=t?t(v):v;if(v=n||0!==v?v:0,d&&g===g){for(var m=h.length;m--;)if(h[m]===g)continue e;t&&h.push(g),p.push(v)}else l(h,g,n)||(h!==p&&h.push(g),p.push(v))}return p}},function(e,t,n){var r=n(198);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t,n){var r=n(199),o=n(381),a=n(382);e.exports=function(e,t,n){return t===t?a(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(388),o=n(12);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(138),o=n(392);e.exports=function e(t,n,a,i,u){var c=-1,s=t.length;for(a||(a=o),u||(u=[]);++c<s;){var l=t[c];n>0&&a(l)?n>1?e(l,n-1,a,i,u):r(u,l):i||(u[u.length]=l)}return u}},function(e,t,n){var r=n(105),o=n(394),a=n(106);e.exports=function(e,t,n){for(var i=-1,u=t.length,c={};++i<u;){var s=t[i],l=r(e,s);n(l,s)&&o(c,a(s,e),l)}return c}},function(e,t,n){var r=n(205);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},function(e,t,n){var r=n(398),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},function(e,t,n){var r=n(135),o=n(197),a=n(200),i=n(85),u=n(84),c=n(136);e.exports=function(e,t,n,s){var l=-1,f=o,d=!0,p=e.length,h=[],y=t.length;if(!p)return h;n&&(t=i(t,u(n))),s?(f=a,d=!1):t.length>=200&&(f=c,d=!1,t=new r(t));e:for(;++l<p;){var v=e[l],g=null==n?v:n(v);if(v=s||0!==v?v:0,d&&g===g){for(var m=y;m--;)if(t[m]===g)continue e;h.push(v)}else f(t,g,s)||h.push(v)}return h}},function(e,t,n){var r=n(45),o=n(44);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){"use strict";var r=n(3),o=n.n(r),a=n(2),i=n.n(a),u=n(0),c=n.n(u),s=n(5),l=n(53),f=n(69),d=n(109);function p(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){h(e,t,n[t])}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){return(e=function(e){var t=s.evaluateProp(e.id,e);return o()({},e,{id:t})}(e)).polar?i.a.cloneElement(e.circleComponent,p({},e.events,{style:e.style,role:e.role,shapeRendering:e.shapeRendering,cx:e.x,cy:e.y,r:e.height,className:e.className})):i.a.cloneElement(e.rectComponent,p({},e.events,{style:e.style,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,rx:e.rx,ry:e.ry,width:e.width,height:e.height,className:e.className}))};y.propTypes=p({},l.primitiveProps,{circleComponent:c.a.element,height:c.a.number,rectComponent:c.a.element,rx:c.a.number,ry:c.a.number,width:c.a.number,x:c.a.number,y:c.a.number}),y.defaultProps={circleComponent:i.a.createElement(d.a,null),rectComponent:i.a.createElement(f.a,null),role:"presentation",shapeRendering:"auto"},t.a=y},function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n(9),o=n.n(r),a=n(24),i=n.n(a),u=n(229),c=n.n(u),s=n(6),l=n.n(s),f=n(3),d=n.n(f),p=n(2),h=n.n(p),y=n(0),v=n.n(y),g=n(8),m=n(110),b=n(70),x=n(54),w=n(5);function k(){return(k=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 E(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){O(e,t,n[t])}))}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(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 S(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 _=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=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=i()(e)&&void 0!==e.containerId?e.containerId:c()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&o()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var n,r,a;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:"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 E({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,n){var r=e.title,o=e.desc,a=e.portalComponent,i=e.className,u=e.width,c=e.height,s=e.portalZIndex,f=e.responsive,p=this.getChildren(e),y=f?{width:"100%",height:"100%"}:{width:u,height:c},v=d()({pointerEvents:"none",touchAction:"none",position:"relative"},y),g=d()({zIndex:s,position:"absolute",top:0,left:0},y),m=d()({pointerEvents:"all"},y),x=d()({overflow:"visible"},y),w={width:u,height:c,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:x};return h.a.createElement(b.a.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},h.a.createElement("div",k({style:l()({},n,v),className:i,ref:this.saveContainerRef},this.getOUIAProps(e)),h.a.createElement("svg",k({},t,{style:m}),r?h.a.createElement("title",{id:this.getIdForElement("title")},r):null,o?h.a.createElement("desc",{id:this.getIdForElement("desc")},o):null,p),h.a.createElement("div",{style:g},h.a.cloneElement(a,E({},w,{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,i=e.desc,u=e.tabIndex,c=e.preserveAspectRatio,s=e.role,l=r?this.props.style:w.omit(this.props.style,["height","width"]),f=d()({width:t,height:n,tabIndex:u,role:s,"aria-labelledby":[a&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?c:void 0},o);return this.renderContainer(this.props,f,l)}}])&&C(n.prototype,r),a&&C(n,a),t}(h.a.Component);Object.defineProperty(_,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(_,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(_,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":v.a.string,"aria-labelledby":v.a.string,children:v.a.oneOfType([v.a.arrayOf(v.a.node),v.a.node]),className:v.a.string,containerId:v.a.oneOfType([v.a.number,v.a.string]),containerRef:v.a.func,desc:v.a.string,events:v.a.object,height:g.nonNegative,name:v.a.string,origin:v.a.shape({x:g.nonNegative,y:g.nonNegative}),ouiaId:v.a.oneOfType([v.a.number,v.a.string]),ouiaSafe:v.a.bool,ouiaType:v.a.string,polar:v.a.bool,portalComponent:v.a.element,portalZIndex:g.integer,preserveAspectRatio:v.a.string,responsive:v.a.bool,role:v.a.string,style:v.a.object,tabIndex:v.a.number,theme:v.a.object,title:v.a.string,width:g.nonNegative}}),Object.defineProperty(_,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:h.a.createElement(m.a,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(_,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:x.a})},function(e,t,n){"use strict";var r=n(3),o=n.n(r),a=n(2),i=n.n(a),u=n(0),c=n.n(u),s=n(5),l=n(53),f=n(111);function d(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){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){return e=function(e){var t=s.evaluateProp(e.ariaLabel,e),n=s.evaluateProp(e.desc,e),r=s.evaluateProp(e.id,e),a=s.evaluateStyle(o()({stroke:"black"},e.style),e),i=s.evaluateProp(e.tabIndex,e);return o()({},e,{ariaLabel:t,desc:n,id:r,style:a,tabIndex:i})}(e),i.a.cloneElement(e.lineComponent,d({},e.events,{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,transform:e.transform,clipPath:e.clipPath}))};h.propTypes=d({},l.primitiveProps,{datum:c.a.any,lineComponent:c.a.element,x1:c.a.number,x2:c.a.number,y1:c.a.number,y2:c.a.number}),h.defaultProps={lineComponent:i.a.createElement(f.a,null),role:"presentation",shapeRendering:"auto"},t.a=h},function(e,t,n){"use strict";var r=n(17),o=n.n(r),a=n(6),i=n.n(a),u=n(3),c=n.n(u),s=n(2),l=n.n(s),f=n(0),d=n.n(f),p=n(90),h=n(69),y=n(8),v=n(5),g=n(108),m=n(68),b=n(46),x=n(89),w=n(113),k=n(112);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 O(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 C={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser\xadavek', 'Trebuchet MS', sans-serif",stroke:"transparent"},S=function(e,t){return e.datum?v.scalePoint(e,e.datum)[t]:0},_=function(e){var t=e&&e.fontSize;if("number"===typeof t)return t;if(void 0===t||null===t)return C.fontSize;if("string"===typeof t){var n=+t.replace("px","");return isNaN(n)?(b.a("fontSize should be expressed as a number of pixels"),C.fontSize):n}return C.fontSize},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},P=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!o()(t)||Array.isArray(n)&&!o()(n)},T=function(e,t){var n=e.direction,r=e.textAnchor,o=e.x,a=e.dx;if("rtl"===n)return o-t;switch(r){case"middle":return Math.round(o-t/2);case"end":return Math.round(o-t);default:return o+(a||0)}},j=function(e,t){var n=e.verticalAnchor,r=e.y,o=e.originalDy,a=r+(void 0===o?0:o);switch(n){case"start":return Math.floor(a);case"end":return Math.ceil(a-t);default:return Math.floor(a-t/2)}},M=function(e,t){return P(e)?function(e,t){var n=e.dy,r=e.dx,o=e.transform,a=e.backgroundStyle,u=e.backgroundPadding,c=e.backgroundComponent,s=e.inline,f=e.y,d=t.map((function(e,o){var a=A(t,o-1),i=e.textSize,c=e.fontSize*e.lineHeight,l=Math.ceil(c),d=A(u,o),p=A(u,o-1),h=s&&r||0,y=o&&!s?a.fontSize*a.lineHeight+p.top+p.bottom:n-.5*c-(e.fontSize-e.capHeight);return{textHeight:l,labelSize:i,heightWithPadding:l+d.top+d.bottom,widthWithPadding:i.width+d.left+d.right+h,y:f,fontSize:e.fontSize,dy:y}}));return d.map((function(t,n){var r=T(e,t.labelSize.width),p=d.slice(0,n+1).reduce((function(e,t){return e+t.dy}),f),h=A(u,n),y=t.heightWithPadding,v=s?function(e,t,n){var r=e.textAnchor,o=t.map((function(e){return e.widthWithPadding})),a=-o.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return o.reduce((function(e,t,r){return r<n?e+t:e}),0);case"end":return o.reduce((function(e,t,r){return r>n?e-t:e}),0);default:return o.reduce((function(e,t,r){return r===n?e+t/2:e+(r<n?t:0)}),a)}}(e,d,n)+r-h.left:r,g=s?j(e,y)-h.top:p,m={key:"tspan-background-".concat(n),height:y,style:A(a,n),width:t.widthWithPadding,transform:o,x:v-h.left,y:g};return l.a.cloneElement(c,i()({},c.props,m))}))}(e,t):function(e,t){var n=e.dx,r=void 0===n?0:n,o=e.transform,a=e.backgroundComponent,u=e.backgroundStyle,c=e.inline,s=e.backgroundPadding,f=e.capHeight,d=t.map((function(e){return e.textSize})),p=c?Math.max.apply(Math,O(d.map((function(e){return e.height})))):d.reduce((function(e,n,r){var o=r?0:f/2;return e+n.height*(t[r].lineHeight-o)}),0),h=c?d.reduce((function(e,t,n){var o=n?r:0;return e+t.width+o}),0):Math.max.apply(Math,O(d.map((function(e){return e.width})))),y=T(e,h),v=j(e,p),g={key:"background",height:p+s.top+s.bottom,style:u,transform:o,width:h+s.left+s.right,x:c?y-s.left:y+r-s.left,y:v};return l.a.cloneElement(a,i()({},a.props,g))}(e,t)},N=function(e,t,n){var r=t.inline,o=A(e,n);return n&&!r?function(e,t,n){var r=A(e,t),o=A(e,t-1),a=o.fontSize*o.lineHeight,i=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,s=a-o.fontSize/2+r.fontSize/2-a/2+i/2-c/2+u/2;return P(n)?s+r.backgroundPadding.top+o.backgroundPadding.bottom:s}(e,n,t):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},R=function(e){var t=function(e,t){if(void 0!==e&&null!==e){if(Array.isArray(e))return e.map((function(e){return v.evaluateProp(e,t)}));var n=v.evaluateProp(e,t);if(void 0!==n&&null!==n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=v.evaluateStyle(e,t);return{fontSize:_(n)}}var r=function(e){e=e?i()({},e,C):C;var n=v.evaluateStyle(e,t);return c()({},n,{fontSize:_(n)})};return Array.isArray(e)&&!o()(e)?e.map((function(e){return r(e)})):r(e)}(e.style,c()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!o()(e)?e.map((function(e){return v.evaluateStyle(e,t)})):v.evaluateStyle(e,t)}(e.backgroundStyle,c()({},e,{text:t,style:n})),a=function(e){if(e.backgroundPadding&&Array.isArray(e.backgroundPadding))return e.backgroundPadding.map((function(t){var n=v.evaluateProp(t,e);return v.getPadding({padding:n})}));var t=v.evaluateProp(e.backgroundPadding,e);return v.getPadding({padding:t})}(c()({},e,{text:t,style:n,backgroundStyle:r})),u=v.evaluateProp(e.id,e);return c()({},e,{backgroundStyle:r,backgroundPadding:a,style:n,text:t,id:u})},L=function(e){var t=v.evaluateProp(e.ariaLabel,e),n=A(e.style),r=function(e){var t=v.evaluateProp(e.lineHeight,e);return Array.isArray(t)&&o()(t)?[1]:t}(e),a=e.direction?v.evaluateProp(e.direction,e):"inherit",i=e.textAnchor?v.evaluateProp(e.textAnchor,e):n.textAnchor||"start",u=e.verticalAnchor?v.evaluateProp(e.verticalAnchor,e):n.verticalAnchor||"middle",s=e.dx?v.evaluateProp(e.dx,e):0,l=function(e,t,n){var r=e.dy?v.evaluateProp(e.dy,e):0,o=e.inline?1:e.text.length,a=v.evaluateProp(e.capHeight,e),i=t?v.evaluateProp(t,e):"middle",u=O(Array(o).keys()).map((function(t){return A(e.style,t).fontSize})),c=O(Array(o).keys()).map((function(e){return A(n,e)}));if("start"===i)return r+(a/2+c[0]/2)*u[0];if(e.inline)return"end"===i?r+(a/2-c[0]/2)*u[0]:r+a/2*u[0];if(1===o)return"end"===i?r+(a/2+(.5-o)*c[0])*u[0]:r+(a/2+(.5-o/2)*c[0])*u[0];var s=O(Array(o).keys()).reduce((function(e,t){return e+(a/2+(.5-o)*c[t])*u[t]/o}),0);return"end"===i?r+s:r+s/2+a/2*c[o-1]*u[o-1]}(e,u,r),f=void 0!==e.x?e.x:S(e,"x"),d=void 0!==e.y?e.y:S(e,"y"),p=function(e,t,n){var r=e.polar,o=A(e.style),a=r?g.getPolarAngle(e):0,i=void 0===o.angle?v.evaluateProp(e.angle,e):o.angle,u=void 0===i?a:i,c=e.transform||o.transform,s=c&&v.evaluateProp(c,e),l=u&&{rotate:[u,t,n]};return s||u?m.b(s,l):void 0}(e,f,d);return c()({},e,{ariaLabel:t,lineHeight:r,direction:a,textAnchor:i,verticalAnchor:u,dx:s,dy:l,originalDy:e.dy,transform:p,x:f,y:d})},D=function(e,t){var n=e.ariaLabel,r=e.inline,o=e.className,a=e.title,i=e.events,u=e.direction,c=e.text,s=e.textAnchor,f=e.dx,d=e.dy,p=e.transform,h=e.x,y=e.y,g=e.desc,m=e.id,b=e.tabIndex,x=e.tspanComponent,w=e.textComponent,k=function(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}({"aria-label":n,key:"text"},i,{direction:u,dx:f,x:h,y:y+d,transform:p,className:o,title:a,desc:v.evaluateProp(g,e),tabIndex:v.evaluateProp(b,e),id:m}),O=c.map((function(n,o){var a=t[o].style,i={key:"".concat(m,"-key-").concat(o),x:r?void 0:h,dx:r?f+t[o].backgroundPadding.left:f,dy:N(t,e,o),textAnchor:a.textAnchor||s,style:a,children:n};return l.a.cloneElement(x,i)}));return l.a.cloneElement(w,k,O)},F=function(e){if(null===(e=R(e)).text||void 0===e.text)return null;var t=L(e),n=t.text,r=t.style,o=t.capHeight,a=t.backgroundPadding,i=t.lineHeight,u=n.map((function(e,t){var n=A(r,t),u=x.convertLengthToPixels("".concat(o,"em"),n.fontSize),c=A(i,t);return{style:n,fontSize:n.fontSize||C.fontSize,capHeight:u,text:e,textSize:x.approximateTextSize(e,n),lineHeight:c,backgroundPadding:A(a,t)}})),c=D(t,u);if(e.backgroundStyle){var s=[M(t,u),c],f=l.a.cloneElement(e.groupComponent,{},s);return e.renderInPortal?l.a.createElement(p.a,null,f):f}return e.renderInPortal?l.a.createElement(p.a,null,c):c};F.displayName="VictoryLabel",F.role="label",F.defaultStyles=C,F.propTypes={active:d.a.bool,angle:d.a.oneOfType([d.a.string,d.a.number,d.a.func]),ariaLabel:d.a.oneOfType([d.a.string,d.a.func]),backgroundComponent:d.a.element,backgroundPadding:d.a.oneOfType([d.a.number,d.a.object,d.a.array]),backgroundStyle:d.a.oneOfType([d.a.object,d.a.array]),capHeight:d.a.oneOfType([d.a.string,y.nonNegative,d.a.func]),className:d.a.string,data:d.a.array,datum:d.a.any,desc:d.a.oneOfType([d.a.string,d.a.func]),direction:d.a.oneOf(["rtl","ltr","inherit"]),dx:d.a.oneOfType([d.a.number,d.a.string,d.a.func]),dy:d.a.oneOfType([d.a.number,d.a.string,d.a.func]),events:d.a.object,groupComponent:d.a.element,id:d.a.oneOfType([d.a.number,d.a.string,d.a.func]),index:d.a.oneOfType([d.a.number,d.a.string]),inline:d.a.bool,labelPlacement:d.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:d.a.oneOfType([d.a.string,y.nonNegative,d.a.func,d.a.array]),origin:d.a.shape({x:y.nonNegative,y:y.nonNegative}),polar:d.a.bool,renderInPortal:d.a.bool,scale:d.a.shape({x:y.scale,y:y.scale}),style:d.a.oneOfType([d.a.object,d.a.array]),tabIndex:d.a.oneOfType([d.a.number,d.a.func]),text:d.a.oneOfType([d.a.string,d.a.number,d.a.func,d.a.array]),textAnchor:d.a.oneOfType([d.a.oneOf(["start","middle","end","inherit"]),d.a.func]),textComponent:d.a.element,title:d.a.string,transform:d.a.oneOfType([d.a.string,d.a.object,d.a.func]),tspanComponent:d.a.element,verticalAnchor:d.a.oneOfType([d.a.oneOf(["start","middle","end"]),d.a.func]),x:d.a.oneOfType([d.a.number,d.a.string]),y:d.a.oneOfType([d.a.number,d.a.string])},F.defaultProps={backgroundComponent:l.a.createElement(h.a,null),groupComponent:l.a.createElement("g",null),direction:"inherit",textComponent:l.a.createElement(k.a,null),tspanComponent:l.a.createElement(w.a,null),capHeight:.71,lineHeight:1},t.a=F},function(e,t,n){"use strict";var r=n(77),o=n.n(r),a=n(60),i=n.n(a),u=n(17),c=n.n(u),s=n(59),l=n.n(s),f=n(62),d=n.n(f),p=n(9),h=n.n(p),y=n(12),v=n.n(y),g=n(3),m=n.n(g),b=n(6),x=n.n(b),w=n(2),k=n.n(w),E=n(25),O=n(32),C=n.n(O),S=n(114);function _(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 A(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 P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var T=function(e){return!i()(e._x)&&!i()(e._y)},j=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];t.a=function(e,t){return function(n){function r(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),t=function(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?P(e):t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));var n=E.getScopedEvents.bind(P(t)),o=E.getEvents.bind(P(t));t.state={},t.getEvents=function(e,t,r){return o(e,t,r,n)},t.getEventState=E.getEventState.bind(P(t));var a=t.getCalculatedValues(e);return t.cacheValues(a),t.externalMutations=t.getExternalMutations(e),t.calculatedState=t.getStateChanges(e),t.globalEvents={},t.prevGlobalEventKeys=[],t.boundGlobalEvents={},t}var a,i,u;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)}(r,n),a=r,(i=[{key:"shouldComponentUpdate",value:function(e){var t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,r=!C()(t,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;var o=this.getStateChanges(e);return C()(this.calculatedState,o)?!C()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}},{key:"componentDidMount",value:function(){var e=this,t=v()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.getStateChanges(e);this.calculatedState=n;var r=v()(this.globalEvents);o()(this.prevGlobalEventKeys,r).forEach((function(e){return t.removeGlobalListener(e)})),o()(r,this.prevGlobalEventKeys).forEach((function(e){return t.addGlobalListener(e)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var r=t.globalEvents[e];return r&&r(E.emulateReactEvent(n))};this.boundGlobalEvents[e]=n,window.addEventListener(E.getGlobalEventNameFromKey(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(E.getGlobalEventNameFromKey(e),this.boundGlobalEvents[e])}},{key:"getStateChanges",value:function(e){var n=this;if(!this.hasEvents)return{};var r=function(e,t){var r=x()({},n.getEventState(e,t),n.getSharedEventState(e,t));return c()(r)?void 0:r};return((t=t||{}).components||j).map((function(t){return e.standalone||"parent"!==t.name?void 0!==t.index?r(t.index,t.name):n.dataKeys.map((function(e){return r(e,t.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!c()(t)){var n=e.externalEventMutations.reduce((function(e,t){return e=h()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getCalculatedValues",value:function(t){var n=t.sharedEvents,r=e.expectedComponents,o=E.getComponentEvents(t,r),a=n&&h()(n.getEventState)?n.getEventState:function(){},i=this.getBaseProps(t,a);return{componentEvents:o,getSharedEventState:a,baseProps:i,dataKeys:v()(i).filter((function(e){return"parent"!==e})),hasEvents:t.events||t.sharedEvents||o,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return c()(n)||t?void 0:E.getExternalMutations(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;v()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(t,n){var r=(n=n||this.getSharedEventState)("parent","parent"),o=this.getEventState("parent","parent"),a=x()({},o,r),i=a.parentControlledProps,u=i?d()(a,i):{},c=x()({},u,t);return h()(e.getBaseProps)?e.getBaseProps(c):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,_(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(t,n,r){var o=this.props.name||e.role,a=this.dataKeys&&this.dataKeys[r]||r,i="".concat(o,"-").concat(n,"-").concat(a),u=this.baseProps[a]&&this.baseProps[a][n]||this.baseProps[a];if(u||this.hasEvents){if(this.hasEvents){var c=this.getEvents(this.props,n,a),s=x()({index:r,key:i},this.getEventState(a,n),this.getSharedEventState(a,n),t.props,u,{id:i}),l=x()({},E.getPartialEvents(c,a,s),s.events);return m()({},s,{events:l})}return x()({index:r,key:i},t.props,u,{id:i})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return n.events&&(this.globalEvents=E.getGlobalEvents(n.events),n.events=E.omitGlobalEvents(n.events)),k.a.cloneElement(e,n,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return k.a.createElement(S.a,{animate:e.animate,animationWhitelist:n},k.a.createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,r=e.labelComponent,o=e.groupComponent,a=l()(this.dataKeys,"all").reduce((function(e,n){var o=t.getComponentProps(r,"labels",n);return o&&void 0!==o.text&&null!==o.text&&(e=e.concat(k.a.cloneElement(r,o))),e}),[]),i=this.getComponentProps(n,"data","all"),u=[k.a.cloneElement(n,i)].concat(_(a));return this.renderContainer(o,u)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,r=e.dataComponent,o=e.labelComponent,a=e.groupComponent,i=this.dataKeys.reduce((function(e,o,a){var i=t.getComponentProps(r,"data",a);return n(i.datum)&&e.push(k.a.cloneElement(r,i)),e}),[]),u=this.dataKeys.map((function(e,n){var r=t.getComponentProps(o,"labels",n);if(void 0!==r.text&&null!==r.text)return k.a.cloneElement(o,r)})).filter(Boolean),c=_(i).concat(_(u));return this.renderContainer(a,c)}}])&&A(a.prototype,i),u&&A(a,u),r}(e)}},function(e,t,n){"use strict";var r=n(3),o=n.n(r),a=n(2),i=n.n(a),u=n(0),c=n.n(u),s=n(5),l=n(53),f=n(115);function d(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){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){var t=e.cx,n=e.cy,r=e.r,o=e.startAngle,a=e.endAngle,i=e.closedPath,u=Math.abs(a-o)/2+o,c=t+r*Math.cos(s.degreesToRadians(o)),l=n-r*Math.sin(s.degreesToRadians(o)),f=t+r*Math.cos(s.degreesToRadians(u)),d=n-r*Math.sin(s.degreesToRadians(u)),p=t+r*Math.cos(s.degreesToRadians(a)),h=n-r*Math.sin(s.degreesToRadians(a)),y=u-o<=180?0:1,v=a-u<=180?0:1,g=i?" M ".concat(t,", ").concat(n," L ").concat(c,", ").concat(l):"M ".concat(c,", ").concat(l),m="A ".concat(r,", ").concat(r,", 0, ").concat(y,", 0, ").concat(f,", ").concat(d),b="A ".concat(r,", ").concat(r,", 0, ").concat(v,", 0, ").concat(p,", ").concat(h),x=i?"Z":"";return"".concat(g," ").concat(m," ").concat(b," ").concat(x)},y=function(e){return e=function(e){var t=s.evaluateProp(e.ariaLabel,e),n=s.evaluateProp(e.desc,e),r=s.evaluateProp(e.id,e),a=s.evaluateStyle(o()({stroke:"black",fill:"none"},e.style),e),i=s.evaluateProp(e.tabIndex,e);return o()({},e,{ariaLabel:t,desc:n,id:r,style:a,tabIndex:i})}(e),i.a.cloneElement(e.pathComponent,d({},e.events,{"aria-label":e.ariaLabel,d:h(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform,clipPath:e.clipPath}))};y.propTypes=d({},l.primitiveProps,{closedPath:c.a.bool,cx:c.a.number,cy:c.a.number,datum:c.a.any,endAngle:c.a.number,pathComponent:c.a.element,r:c.a.number,startAngle:c.a.number}),y.defaultProps={pathComponent:i.a.createElement(f.a,null),role:"presentation",shapeRendering:"auto"},t.a=y},function(e,t,n){"use strict";var r=n(3),o=n.n(r),a=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],i="#ECEFF1",u="#90A4AE",c="#455A64",s="#212121",l={width:350,height:350,padding:50},f={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:c,stroke:"transparent",strokeWidth:0},d=o()({textAnchor:"middle"},f),p="round",h="round",y={area:o()({style:{data:{fill:s},labels:f}},l),axis:o()({style:{axis:{fill:"transparent",stroke:u,strokeWidth:2,strokeLinecap:p,strokeLinejoin:h},axisLabel:o()({},d,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:i,strokeDasharray:"10, 5",strokeLinecap:p,strokeLinejoin:h,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:u,strokeWidth:1,strokeLinecap:p,strokeLinejoin:h},tickLabels:o()({},f,{fill:c})}},l),polarDependentAxis:o()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:o()({style:{data:{fill:c,padding:8,strokeWidth:0},labels:f}},l),boxplot:o()({style:{max:{padding:8,stroke:c,strokeWidth:1},maxLabels:o()({},f,{padding:3}),median:{padding:8,stroke:c,strokeWidth:1},medianLabels:o()({},f,{padding:3}),min:{padding:8,stroke:c,strokeWidth:1},minLabels:o()({},f,{padding:3}),q1:{padding:8,fill:c},q1Labels:o()({},f,{padding:3}),q3:{padding:8,fill:c},q3Labels:o()({},f,{padding:3})},boxWidth:20},l),candlestick:o()({style:{data:{stroke:c},labels:o()({},f,{padding:5})},candleColors:{positive:"#ffffff",negative:c}},l),chart:l,errorbar:o()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:c,strokeWidth:2},labels:f}},l),group:o()({colorScale:a},l),histogram:o()({style:{data:{fill:c,stroke:s,strokeWidth:2},labels:f}},l),legend:{colorScale:a,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:f,title:o()({},f,{padding:5})}},line:o()({style:{data:{fill:"transparent",opacity:1,stroke:c,strokeWidth:2},labels:f}},l),pie:o()({colorScale:a,style:{data:{padding:8,stroke:i,strokeWidth:1},labels:o()({},f,{padding:20})}},l),scatter:o()({style:{data:{fill:c,opacity:1,stroke:"transparent",strokeWidth:0},labels:f}},l),stack:o()({colorScale:a},l),tooltip:{style:o()({},f,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:s,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:o()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:o()({},f,{padding:5,pointerEvents:"none"}),flyout:{stroke:s,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},l)},v=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],g="#252525",m="#969696",b={width:450,height:300,padding:50,colorScale:v},x={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:g,stroke:"transparent"},w=o()({textAnchor:"middle"},x),k={area:o()({style:{data:{fill:g},labels:x}},b),axis:o()({style:{axis:{fill:"transparent",stroke:g,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:o()({},w,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:x}},b),bar:o()({style:{data:{fill:g,padding:8,strokeWidth:0},labels:x}},b),boxplot:o()({style:{max:{padding:8,stroke:g,strokeWidth:1},maxLabels:o()({},x,{padding:3}),median:{padding:8,stroke:g,strokeWidth:1},medianLabels:o()({},x,{padding:3}),min:{padding:8,stroke:g,strokeWidth:1},minLabels:o()({},x,{padding:3}),q1:{padding:8,fill:m},q1Labels:o()({},x,{padding:3}),q3:{padding:8,fill:m},q3Labels:o()({},x,{padding:3})},boxWidth:20},b),candlestick:o()({style:{data:{stroke:g,strokeWidth:1},labels:o()({},x,{padding:5})},candleColors:{positive:"#ffffff",negative:g}},b),chart:b,errorbar:o()({borderWidth:8,style:{data:{fill:"transparent",stroke:g,strokeWidth:2},labels:x}},b),group:o()({colorScale:v},b),histogram:o()({style:{data:{fill:m,stroke:g,strokeWidth:2},labels:x}},b),legend:{colorScale:v,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:x,title:o()({},x,{padding:5})}},line:o()({style:{data:{fill:"transparent",stroke:g,strokeWidth:2},labels:x}},b),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:o()({},x,{padding:20})},colorScale:v,width:400,height:400,padding:50},scatter:o()({style:{data:{fill:g,stroke:"transparent",strokeWidth:0},labels:x}},b),stack:o()({colorScale:v},b),tooltip:{style:o()({},x,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:g,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:o()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:o()({},x,{padding:5,pointerEvents:"none"}),flyout:{stroke:g,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},b)};t.a={material:y,grayscale:k}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(240)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.io=t.Socket=t.Manager=t.protocol=void 0;var r=n(247),o=n(152),a=n(39)("socket.io-client");e.exports=t=u;var i=t.managers={};function u(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,u=(0,r.url)(e,t.path||"/socket.io"),c=u.source,s=u.id,l=u.path,f=i[s]&&l in i[s].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||f?(a("ignoring socket cache for %s",c),n=new o.Manager(c,t)):(i[s]||(a("new io instance for %s",c),i[s]=new o.Manager(c,t)),n=i[s]),u.query&&!t.query&&(t.query=u.queryKey),n.socket(u.path,t)}t.io=u;var c=n(125);Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return c.protocol}}),t.connect=u;var s=n(152);Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return s.Manager}});var l=n(158);Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return l.Socket}}),t.default=u},function(e,t,n){"use strict";(function(e){var r=n(2),o=n.n(r),a=n(35),i=n(0),u=n.n(i),c=1073741823,s="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var f=o.a.createContext||function(e,t){var n,o,i="__create-react-context-"+function(){var e="__global_unique_id__";return s[e]=(s[e]||0)+1}()+"__",f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(a.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a===1/i:a!==a&&i!==i)?n=0:(n="function"===typeof t?t(r,o):c,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[i]=u.a.object.isRequired,n);var d=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(a.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?c:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?c:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return d.contextTypes=((o={})[i]=u.a.object,o),{Provider:f,Consumer:d}};t.a=f}).call(this,n(124))},function(e,t,n){"use strict";var r=n(162),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return r.isMemo(e)?i:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=i;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=l(n);f&&(i=i.concat(f(n)));for(var u=c(t),y=c(n),v=0;v<i.length;++v){var g=i[v];if(!a[g]&&(!r||!r[g])&&(!y||!y[g])&&(!u||!u[g])){var m=d(n,g);try{s(t,g,m)}catch(b){}}}}return t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(){function e(e){this.options=e,this.listeners={}}return e.prototype.on=function(e,t){var n=this.listeners[e]||[];this.listeners[e]=n.concat([t])},e.prototype.triggerEvent=function(e,t){var n=this;(this.listeners[e]||[]).forEach((function(e){return e({target:n,event:t})}))},e}();!function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(r||(r={}));var i,u=function(){function e(){this.notifications=[]}return e.prototype.push=function(e){this.notifications.push(e),this.updateFn(e,r.Add,this.notifications)},e.prototype.splice=function(e,t){var n=this.notifications.splice(e,t)[0];return this.updateFn(n,r.Remove,this.notifications),n},e.prototype.indexOf=function(e){return this.notifications.indexOf(e)},e.prototype.onUpdate=function(e){this.updateFn=e},e}();!function(e){e.Dismiss="dismiss",e.Click="click"}(i||(i={}));var c={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},s=function(){function e(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var e=document.createDocumentFragment(),t=this._createHTMLElement({tagName:"div",className:"notyf"});e.appendChild(t),document.body.appendChild(e),this.container=t,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return e.prototype.on=function(e,t){var n;this.events=o(o({},this.events),((n={})[e]=t,n))},e.prototype.update=function(e,t){t===r.Add?this.addNotification(e):t===r.Remove&&this.removeNotification(e)},e.prototype.removeNotification=function(e){var t,n,r=this,o=this._popRenderedNotification(e);o&&((t=o.node).classList.add("notyf__toast--disappear"),t.addEventListener(this.animationEndEventName,n=function(e){e.target===t&&(t.removeEventListener(r.animationEndEventName,n),r.container.removeChild(t))}))},e.prototype.addNotification=function(e){var t=this._renderNotification(e);this.notifications.push({notification:e,node:t}),this._announce(e.options.message||"Notification")},e.prototype._renderNotification=function(e){var t,n=this._buildNotificationCard(e),r=e.options.className;return r&&(t=n.classList).add.apply(t,r.split(" ")),this.container.appendChild(n),n},e.prototype._popRenderedNotification=function(e){for(var t=-1,n=0;n<this.notifications.length&&t<0;n++)this.notifications[n].notification===e&&(t=n);if(-1!==t)return this.notifications.splice(t,1)[0]},e.prototype.getXPosition=function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.position)||void 0===t?void 0:t.x)||"right"},e.prototype.getYPosition=function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.position)||void 0===t?void 0:t.y)||"bottom"},e.prototype.adjustContainerAlignment=function(e){var t=this.X_POSITION_FLEX_MAP[this.getXPosition(e)],n=this.Y_POSITION_FLEX_MAP[this.getYPosition(e)],r=this.container.style;r.setProperty("justify-content",n),r.setProperty("align-items",t)},e.prototype._buildNotificationCard=function(e){var t=this,n=e.options,r=n.icon;this.adjustContainerAlignment(n);var o=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),a=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),u=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),c=this._createHTMLElement({tagName:"div",className:"notyf__message"});c.innerHTML=n.message||"";var s=n.background||n.backgroundColor;if(r){var l=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"===typeof r||r instanceof String)&&(l.innerHTML=new String(r).valueOf()),"object"===typeof r){var f=r.tagName,d=void 0===f?"i":f,p=r.className,h=r.text,y=r.color,v=void 0===y?s:y,g=this._createHTMLElement({tagName:d,className:p,text:h});v&&(g.style.color=v),l.appendChild(g)}u.appendChild(l)}if(u.appendChild(c),o.appendChild(u),s&&(n.ripple?(a.style.background=s,o.appendChild(a)):o.style.background=s),n.dismissible){var m=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),b=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});m.appendChild(b),u.appendChild(m),o.classList.add("notyf__toast--dismissible"),b.addEventListener("click",(function(n){var r,o;null===(o=(r=t.events)[i.Dismiss])||void 0===o||o.call(r,{target:e,event:n}),n.stopPropagation()}))}o.addEventListener("click",(function(n){var r,o;return null===(o=(r=t.events)[i.Click])||void 0===o?void 0:o.call(r,{target:e,event:n})}));var x="top"===this.getYPosition(n)?"upper":"lower";return o.classList.add("notyf__toast--"+x),o},e.prototype._createHTMLElement=function(e){var t=e.tagName,n=e.className,r=e.text,o=document.createElement(t);return n&&(o.className=n),o.textContent=r||null,o},e.prototype._createA11yContainer=function(){var e=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),e.style.border="0",e.style.clip="rect(0 0 0 0)",e.style.height="1px",e.style.margin="-1px",e.style.overflow="hidden",e.style.padding="0",e.style.position="absolute",e.style.width="1px",e.style.outline="0",document.body.appendChild(e),this.a11yContainer=e},e.prototype._announce=function(e){var t=this;this.a11yContainer.textContent="",setTimeout((function(){t.a11yContainer.textContent=e}),100)},e.prototype._getAnimationEndEventName=function(){var e,t=document.createElement("_fake"),n={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(e in n)if(void 0!==t.style[e])return n[e];return"animationend"},e}(),l=function(){function e(e){var t=this;this.dismiss=this._removeNotification,this.notifications=new u,this.view=new s;var n=this.registerTypes(e);this.options=o(o({},c),e),this.options.types=n,this.notifications.onUpdate((function(e,n){return t.view.update(e,n)})),this.view.on(i.Dismiss,(function(e){var n=e.target,r=e.event;t._removeNotification(n),n.triggerEvent(i.Dismiss,r)})),this.view.on(i.Click,(function(e){var t=e.target,n=e.event;return t.triggerEvent(i.Click,n)}))}return e.prototype.error=function(e){var t=this.normalizeOptions("error",e);return this.open(t)},e.prototype.success=function(e){var t=this.normalizeOptions("success",e);return this.open(t)},e.prototype.open=function(e){var t=this.options.types.find((function(t){return t.type===e.type}))||{},n=o(o({},t),e);this.assignProps(["ripple","position","dismissible"],n);var r=new a(n);return this._pushNotification(r),r},e.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},e.prototype.assignProps=function(e,t){var n=this;e.forEach((function(e){t[e]=null==t[e]?n.options[e]:t[e]}))},e.prototype._pushNotification=function(e){var t=this;this.notifications.push(e);var n=void 0!==e.options.duration?e.options.duration:this.options.duration;n&&setTimeout((function(){return t._removeNotification(e)}),n)},e.prototype._removeNotification=function(e){var t=this.notifications.indexOf(e);-1!==t&&this.notifications.splice(t,1)},e.prototype.normalizeOptions=function(e,t){var n={type:e};return"string"===typeof t?n.message=t:"object"===typeof t&&(n=o(o({},n),t)),n},e.prototype.registerTypes=function(e){var t=(e&&e.types||[]).slice();return c.types.map((function(e){var n=-1;t.forEach((function(t,r){t.type===e.type&&(n=r)}));var r=-1!==n?t.splice(n,1)[0]:{};return o(o({},e),r)})).concat(t)},e}()},function(e,t,n){var r=n(132),o=n(385),a=Object.prototype.hasOwnProperty,i=o((function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(134);e.exports=function(e,t){return r(e,t)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(411);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){var r=n(414),o=n(84),a=n(130),i=a&&a.isRegExp,u=i?o(i):r;e.exports=u},function(e,t,n){var r=n(415)(n(416));e.exports=r},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}},function(e,t){function n(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,a){if(n.length>0){var i=n.indexOf(this);~i?n.splice(i+1):n.push(this),~i?r.splice(i,1/0,o):r.push(o),~n.indexOf(a)&&(a=t.call(this,o,a))}else n.push(a);return null==e?a:e.call(this,o,a)}}(e.exports=function(e,t,r,o){return JSON.stringify(e,n(t,o),r)}).getSerialize=n},function(e,t,n){var r=n(194),o=0;e.exports=function(e){var t=++o;return r(e)+t}},,,,,,,,,,function(e,t,n){"use strict";var r=n(121),o=60103,a=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,u=60110,c=60112;t.Suspense=60113;var s=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),a=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),i=f("react.provider"),u=f("react.context"),c=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),l=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function g(){}function m(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var b=m.prototype=new g;b.constructor=m,r(b,v.prototype),b.isPureReactComponent=!0;var x={current:null},w=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,a={},i=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,r)&&!k.hasOwnProperty(r)&&(a[r]=t[r]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];a.children=s}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===a[r]&&(a[r]=c[r]);return{$$typeof:o,type:e,key:i,ref:u,props:a,_owner:x.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var C=/\/+/g;function S(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,n,r,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c=!1;if(null===e)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case o:case a:c=!0}}if(c)return i=i(c=e),e=""===r?"."+S(c,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),_(i,t,n,"",(function(e){return e}))):null!=i&&(O(i)&&(i=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+e)),t.push(i)),1;if(c=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var l=r+S(u=e[s],s);c+=_(u,t,n,l,i)}else if("function"===typeof(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e)))for(e=l.call(e),s=0;!(u=e.next()).done;)c+=_(u=u.value,t,n,l=r+S(u,s++),i);else if("object"===u)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return c}function A(e,t,n){if(null==e)return e;var r=[],o=0;return _(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function j(){var e=T.current;if(null===e)throw Error(p(321));return e}var M={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error(p(143));return e}},t.Component=v,t.PureComponent=m,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var a=r({},e.props),i=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)w.call(t,l)&&!k.hasOwnProperty(l)&&(a[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];a.children=s}return{$$typeof:o,type:e.type,key:i,ref:u,props:a,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return j().useCallback(e,t)},t.useContext=function(e,t){return j().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return j().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return j().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return j().useLayoutEffect(e,t)},t.useMemo=function(e,t){return j().useMemo(e,t)},t.useReducer=function(e,t,n){return j().useReducer(e,t,n)},t.useRef=function(e){return j().useRef(e)},t.useState=function(e){return j().useState(e)},t.version="17.0.2"},function(e,t,n){"use strict";var r=n(2),o=n(121),a=n(241);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var u=new Set,c={};function s(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(c[e]=t,e=0;e<t.length;e++)u.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},y={};function v(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function x(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(y,e)||!p.call(h,e)&&(d.test(e)?y[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,b);g[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,E=60106,O=60107,C=60108,S=60114,_=60109,A=60110,P=60112,T=60113,j=60120,M=60115,N=60116,R=60121,L=60128,D=60129,F=60130,I=60131;if("function"===typeof Symbol&&Symbol.for){var z=Symbol.for;k=z("react.element"),E=z("react.portal"),O=z("react.fragment"),C=z("react.strict_mode"),S=z("react.profiler"),_=z("react.provider"),A=z("react.context"),P=z("react.forward_ref"),T=z("react.suspense"),j=z("react.suspense_list"),M=z("react.memo"),N=z("react.lazy"),R=z("react.block"),z("react.scope"),L=z("react.opaque.id"),D=z("react.debug_trace_mode"),F=z("react.offscreen"),I=z("react.legacy_hidden")}var U,B="function"===typeof Symbol&&Symbol.iterator;function V(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=B&&e[B]||e["@@iterator"])?e:null}function W(e){if(void 0===U)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var H=!1;function q(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,u=a.length-1;1<=i&&0<=u&&o[i]!==a[u];)u--;for(;1<=i&&0<=u;i--,u--)if(o[i]!==a[u]){if(1!==i||1!==u)do{if(i--,0>--u||o[i]!==a[u])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=u);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function $(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=q(e.type,!1);case 11:return e=q(e.type.render,!1);case 22:return e=q(e.type._render,!1);case 1:return e=q(e.type,!0);default:return""}}function Y(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case O:return"Fragment";case E:return"Portal";case S:return"Profiler";case C:return"StrictMode";case T:return"Suspense";case j:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return Y(e.type);case R:return Y(e._render);case N:t=e._payload,e=e._init;try{return Y(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&x(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ue(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function se(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ye,ve,ge=(ve=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ye=ye||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ye.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ve(e,t)}))}:ve);function me(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xe=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){xe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Ee=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Oe(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Ae=null,Pe=null;function Te(e){if(e=eo(e)){if("function"!==typeof _e)throw Error(i(280));var t=e.stateNode;t&&(t=no(t),_e(e.stateNode,e.type,t))}}function je(e){Ae?Pe?Pe.push(e):Pe=[e]:Ae=e}function Me(){if(Ae){var e=Ae,t=Pe;if(Pe=Ae=null,Te(e),t)for(e=0;e<t.length;e++)Te(t[e])}}function Ne(e,t){return e(t)}function Re(e,t,n,r,o){return e(t,n,r,o)}function Le(){}var De=Ne,Fe=!1,Ie=!1;function ze(){null===Ae&&null===Pe||(Le(),Me())}function Ue(e,t){var n=e.stateNode;if(null===n)return null;var r=no(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Be=!1;if(f)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){Be=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(ve){Be=!1}function We(e,t,n,r,o,a,i,u,c){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(l){this.onError(l)}}var He=!1,qe=null,$e=!1,Ye=null,Ke={onError:function(e){He=!0,qe=e}};function Ge(e,t,n,r,o,a,i,u,c){He=!1,qe=null,We.apply(Ke,arguments)}function Qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(Qe(e)!==e)throw Error(i(188))}function Je(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ze(o),e;if(a===r)return Ze(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var u=!1,c=o.child;c;){if(c===n){u=!0,n=o,r=a;break}if(c===r){u=!0,r=o,n=a;break}c=c.sibling}if(!u){for(c=a.child;c;){if(c===n){u=!0,n=a,r=o;break}if(c===r){u=!0,r=a,n=o;break}c=c.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,at=!1,it=[],ut=null,ct=null,st=null,lt=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function yt(e,t){switch(e){case"focusin":case"focusout":ut=null;break;case"dragenter":case"dragleave":ct=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function vt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=ht(t,n,r,o,a),null!==t&&(null!==(t=eo(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function gt(e){var t=Jr(e.target);if(null!==t){var n=Qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){a.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=eo(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){mt(e)&&n.delete(t)}function xt(){for(at=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=eo(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==ut&&mt(ut)&&(ut=null),null!==ct&&mt(ct)&&(ct=null),null!==st&&mt(st)&&(st=null),lt.forEach(bt),ft.forEach(bt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,at||(at=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,xt)))}function kt(e){function t(t){return wt(t,e)}if(0<it.length){wt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ut&&wt(ut,e),null!==ct&&wt(ct,e),null!==st&&wt(st,e),lt.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)gt(n),null===n.blockedOn&&dt.shift()}function Et(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ot={animationend:Et("Animation","AnimationEnd"),animationiteration:Et("Animation","AnimationIteration"),animationstart:Et("Animation","AnimationStart"),transitionend:Et("Transition","TransitionEnd")},Ct={},St={};function _t(e){if(Ct[e])return Ct[e];if(!Ot[e])return e;var t,n=Ot[e];for(t in n)if(n.hasOwnProperty(t)&&t in St)return Ct[e]=n[t];return e}f&&(St=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);var At=_t("animationend"),Pt=_t("animationiteration"),Tt=_t("animationstart"),jt=_t("transitionend"),Mt=new Map,Nt=new Map,Rt=["abort","abort",At,"animationEnd",Pt,"animationIteration",Tt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",jt,"transitionEnd","waiting","waiting"];function Lt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Nt.set(r,t),Mt.set(r,o),s(o,[r])}}(0,a.unstable_now)();var Dt=8;function Ft(e){if(0!==(1&e))return Dt=15,1;if(0!==(2&e))return Dt=14,2;if(0!==(4&e))return Dt=13,4;var t=24&e;return 0!==t?(Dt=12,t):0!==(32&e)?(Dt=11,32):0!==(t=192&e)?(Dt=10,t):0!==(256&e)?(Dt=9,256):0!==(t=3584&e)?(Dt=8,t):0!==(4096&e)?(Dt=7,4096):0!==(t=4186112&e)?(Dt=6,t):0!==(t=62914560&e)?(Dt=5,t):67108864&e?(Dt=4,67108864):0!==(134217728&e)?(Dt=3,134217728):0!==(t=805306368&e)?(Dt=2,t):0!==(1073741824&e)?(Dt=1,1073741824):(Dt=8,e)}function It(e,t){var n=e.pendingLanes;if(0===n)return Dt=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,u=e.pingedLanes;if(0!==a)r=a,o=Dt=15;else if(0!==(a=134217727&n)){var c=a&~i;0!==c?(r=Ft(c),o=Dt):0!==(u&=a)&&(r=Ft(u),o=Dt)}else 0!==(a=n&~i)?(r=Ft(a),o=Dt):0!==u&&(r=Ft(u),o=Dt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&i)){if(Ft(t),o<=Dt)return t;Dt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function zt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ut(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Bt(24&~t))?Ut(10,t):e;case 10:return 0===(e=Bt(192&~t))?Ut(8,t):e;case 8:return 0===(e=Bt(3584&~t))&&(0===(e=Bt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Bt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function Bt(e){return e&-e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(qt(e)/$t|0)|0},qt=Math.log,$t=Math.LN2;var Yt=a.unstable_UserBlockingPriority,Kt=a.unstable_runWithPriority,Gt=!0;function Qt(e,t,n,r){Fe||Le();var o=Zt,a=Fe;Fe=!0;try{Re(o,e,t,n,r)}finally{(Fe=a)||ze()}}function Xt(e,t,n,r){Kt(Yt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){var o;if(Gt)if((o=0===(4&t))&&0<it.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),it.push(e);else{var a=Jt(e,t,n,r);if(null===a)o&&yt(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ht(a,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return ut=vt(ut,e,t,n,r,o),!0;case"dragenter":return ct=vt(ct,e,t,n,r,o),!0;case"mouseover":return st=vt(st,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return lt.set(a,vt(lt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,ft.set(a,vt(ft.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;yt(e,r)}Mr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Se(r);if(null!==(o=Jr(o))){var a=Qe(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Xe(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Mr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function un(){return!1}function cn(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:un,this.isPropagationStopped=un,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var sn,ln,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=cn(dn),hn=o({},dn,{view:0,detail:0}),yn=cn(hn),vn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(sn=e.screenX-fn.screenX,ln=e.screenY-fn.screenY):ln=sn=0,fn=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),gn=cn(vn),mn=cn(o({},vn,{dataTransfer:0})),bn=cn(o({},hn,{relatedTarget:0})),xn=cn(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=cn(o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),kn=cn(o({},dn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},On={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function _n(){return Sn}var An=cn(o({},hn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?On[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Pn=cn(o({},vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=cn(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),jn=cn(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=cn(o({},vn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Nn=[9,13,27,32],Rn=f&&"CompositionEvent"in window,Ln=null;f&&"documentMode"in document&&(Ln=document.documentMode);var Dn=f&&"TextEvent"in window&&!Ln,Fn=f&&(!Rn||Ln&&8<Ln&&11>=Ln),In=String.fromCharCode(32),zn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function qn(e,t,n,r){je(r),0<(t=Rr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Yn=null;function Kn(e){Sr(e,0)}function Gn(e){if(X(to(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(f){var Zn;if(f){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Xn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Yn=$n=null)}function nr(e){if("value"===e.propertyName&&Gn(Yn)){var t=[];if(qn(t,Yn,e,Se(e)),e=Kn,Fe)e(t);else{Fe=!0;try{Ne(e,t)}finally{Fe=!1,ze()}}}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Yn)}function ar(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},cr=Object.prototype.hasOwnProperty;function sr(e,t){if(ur(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=f&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,mr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==Z(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},mr&&sr(mr,r)||(mr=r,0<(r=Rr(gr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}Lt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Lt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Lt(Rt,2);for(var wr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kr=0;kr<wr.length;kr++)Nt.set(wr[kr],0);l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Er));function Cr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,u,c,s){if(Ge.apply(this,arguments),He){if(!He)throw Error(i(198));var l=qe;He=!1,qe=null,$e||($e=!0,Ye=l)}}(r,t,void 0,e),e.currentTarget=null}function Sr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var u=r[i],c=u.instance,s=u.currentTarget;if(u=u.listener,c!==a&&o.isPropagationStopped())break e;Cr(o,u,s),a=c}else for(i=0;i<r.length;i++){if(c=(u=r[i]).instance,s=u.currentTarget,u=u.listener,c!==a&&o.isPropagationStopped())break e;Cr(o,u,s),a=c}}}if($e)throw e=Ye,$e=!1,Ye=null,e}function _r(e,t){var n=ro(t),r=e+"__bubble";n.has(r)||(jr(t,e,2,!1),n.add(r))}var Ar="_reactListening"+Math.random().toString(36).slice(2);function Pr(e){e[Ar]||(e[Ar]=!0,u.forEach((function(t){Or.has(t)||Tr(t,!1,e,null),Tr(t,!0,e,null)})))}function Tr(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Or.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=ro(a),u=e+"__"+(t?"capture":"bubble");i.has(u)||(t&&(o|=4),jr(a,e,o,t),i.add(u))}function jr(e,t,n,r){var o=Nt.get(t);switch(void 0===o?2:o){case 0:o=Qt;break;case 1:o=Xt;break;default:o=Zt}n=o.bind(null,t,n,e),o=void 0,!Be||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,o){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var c=i.tag;if((3===c||4===c)&&((c=i.stateNode.containerInfo)===o||8===c.nodeType&&c.parentNode===o))return;i=i.return}for(;null!==u;){if(null===(i=Jr(u)))return;if(5===(c=i.tag)||6===c){r=a=i;continue e}u=u.parentNode}}r=r.return}!function(e,t,n){if(Ie)return e(t,n);Ie=!0;try{De(e,t,n)}finally{Ie=!1,ze()}}((function(){var r=a,o=Se(n),i=[];e:{var u=Mt.get(e);if(void 0!==u){var c=pn,s=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":c=An;break;case"focusin":s="focus",c=bn;break;case"focusout":s="blur",c=bn;break;case"beforeblur":case"afterblur":c=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=Tn;break;case At:case Pt:case Tt:c=xn;break;case jt:c=jn;break;case"scroll":c=yn;break;case"wheel":c=Mn;break;case"copy":case"cut":case"paste":c=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=Pn}var l=0!==(4&t),f=!l&&"scroll"===e,d=l?null!==u?u+"Capture":null:u;l=[];for(var p,h=r;null!==h;){var y=(p=h).stateNode;if(5===p.tag&&null!==y&&(p=y,null!==d&&(null!=(y=Ue(h,d))&&l.push(Nr(h,y,p)))),f)break;h=h.return}0<l.length&&(u=new c(u,s,null,n,o),i.push({event:u,listeners:l}))}}if(0===(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(s=n.relatedTarget||n.fromElement)||!Jr(s)&&!s[Xr])&&(c||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,c?(c=r,null!==(s=(s=n.relatedTarget||n.toElement)?Jr(s):null)&&(s!==(f=Qe(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(c=null,s=r),c!==s)){if(l=gn,y="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(l=Pn,y="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==c?u:to(c),p=null==s?u:to(s),(u=new l(y,h+"leave",c,n,o)).target=f,u.relatedTarget=p,y=null,Jr(o)===r&&((l=new l(d,h+"enter",s,n,o)).target=p,l.relatedTarget=f,y=l),f=y,c&&s)e:{for(d=s,h=0,p=l=c;p;p=Lr(p))h++;for(p=0,y=d;y;y=Lr(y))p++;for(;0<h-p;)l=Lr(l),h--;for(;0<p-h;)d=Lr(d),p--;for(;h--;){if(l===d||null!==d&&l===d.alternate)break e;l=Lr(l),d=Lr(d)}l=null}else l=null;null!==c&&Dr(i,u,c,l,!1),null!==s&&null!==f&&Dr(i,f,s,l,!0)}if("select"===(c=(u=r?to(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type)var v=Qn;else if(Hn(u))if(Xn)v=ir;else{v=or;var g=rr}else(c=u.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(v=ar);switch(v&&(v=v(e,r))?qn(i,v,n,o):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&oe(u,"number",u.value)),g=r?to(r):window,e){case"focusin":(Hn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,mr=null);break;case"focusout":mr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(i,n,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":xr(i,n,o)}var m;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(m=rn()):(tn="value"in(en=o)?en.value:en.textContent,Vn=!0)),0<(g=Rr(r,b)).length&&(b=new kn(b,e,null,n,o),i.push({event:b,listeners:g}),m?b.data=m:null!==(m=Bn(n))&&(b.data=m))),(m=Dn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(zn=!0,In);case"textInput":return(e=t.data)===In&&zn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Rn&&Un(e,t)?(e=rn(),nn=tn=en=null,Vn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=Rr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=m))}Sr(i,t)}))}function Nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Rr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ue(e,n))&&r.unshift(Nr(e,a,o)),null!=(a=Ue(e,t))&&r.push(Nr(e,a,o))),e=e.return}return r}function Lr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Dr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var u=n,c=u.alternate,s=u.stateNode;if(null!==c&&c===r)break;5===u.tag&&null!==s&&(u=s,o?null!=(c=Ue(n,a))&&i.unshift(Nr(n,c,u)):o||null!=(c=Ue(n,a))&&i.push(Nr(n,c,u))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Fr(){}var Ir=null,zr=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Br(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Vr="function"===typeof setTimeout?setTimeout:void 0,Wr="function"===typeof clearTimeout?clearTimeout:void 0;function Hr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function qr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function $r(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Yr=0;var Kr=Math.random().toString(36).slice(2),Gr="__reactFiber$"+Kr,Qr="__reactProps$"+Kr,Xr="__reactContainer$"+Kr,Zr="__reactEvents$"+Kr;function Jr(e){var t=e[Gr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xr]||n[Gr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=$r(e);null!==e;){if(n=e[Gr])return n;e=$r(e)}return t}n=(e=n).parentNode}return null}function eo(e){return!(e=e[Gr]||e[Xr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function to(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function no(e){return e[Qr]||null}function ro(e){var t=e[Zr];return void 0===t&&(t=e[Zr]=new Set),t}var oo=[],ao=-1;function io(e){return{current:e}}function uo(e){0>ao||(e.current=oo[ao],oo[ao]=null,ao--)}function co(e,t){ao++,oo[ao]=e.current,e.current=t}var so={},lo=io(so),fo=io(!1),po=so;function ho(e,t){var n=e.type.contextTypes;if(!n)return so;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function yo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function vo(){uo(fo),uo(lo)}function go(e,t,n){if(lo.current!==so)throw Error(i(168));co(lo,t),co(fo,n)}function mo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(i(108,Y(t)||"Unknown",a));return o({},n,r)}function bo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,po=lo.current,co(lo,e),co(fo,fo.current),!0}function xo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=mo(e,t,po),r.__reactInternalMemoizedMergedChildContext=e,uo(fo),uo(lo),co(lo,e)):uo(fo),co(fo,n)}var wo=null,ko=null,Eo=a.unstable_runWithPriority,Oo=a.unstable_scheduleCallback,Co=a.unstable_cancelCallback,So=a.unstable_shouldYield,_o=a.unstable_requestPaint,Ao=a.unstable_now,Po=a.unstable_getCurrentPriorityLevel,To=a.unstable_ImmediatePriority,jo=a.unstable_UserBlockingPriority,Mo=a.unstable_NormalPriority,No=a.unstable_LowPriority,Ro=a.unstable_IdlePriority,Lo={},Do=void 0!==_o?_o:function(){},Fo=null,Io=null,zo=!1,Uo=Ao(),Bo=1e4>Uo?Ao:function(){return Ao()-Uo};function Vo(){switch(Po()){case To:return 99;case jo:return 98;case Mo:return 97;case No:return 96;case Ro:return 95;default:throw Error(i(332))}}function Wo(e){switch(e){case 99:return To;case 98:return jo;case 97:return Mo;case 96:return No;case 95:return Ro;default:throw Error(i(332))}}function Ho(e,t){return e=Wo(e),Eo(e,t)}function qo(e,t,n){return e=Wo(e),Oo(e,t,n)}function $o(){if(null!==Io){var e=Io;Io=null,Co(e)}Yo()}function Yo(){if(!zo&&null!==Fo){zo=!0;var e=0;try{var t=Fo;Ho(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fo=null}catch(n){throw null!==Fo&&(Fo=Fo.slice(e+1)),Oo(To,$o),n}finally{zo=!1}}}var Ko=w.ReactCurrentBatchConfig;function Go(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Qo=io(null),Xo=null,Zo=null,Jo=null;function ea(){Jo=Zo=Xo=null}function ta(e){var t=Qo.current;uo(Qo),e.type._context._currentValue=t}function na(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ra(e,t){Xo=e,Jo=Zo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Ri=!0),e.firstContext=null)}function oa(e,t){if(Jo!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Jo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zo){if(null===Xo)throw Error(i(308));Zo=t,Xo.dependencies={lanes:0,firstContext:t,responders:null}}else Zo=Zo.next=t;return e._currentValue}var aa=!1;function ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ua(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ca(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sa(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function la(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fa(e,t,n,r){var a=e.updateQueue;aa=!1;var i=a.firstBaseUpdate,u=a.lastBaseUpdate,c=a.shared.pending;if(null!==c){a.shared.pending=null;var s=c,l=s.next;s.next=null,null===u?i=l:u.next=l,u=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=l:d.next=l,f.lastBaseUpdate=s)}}if(null!==i){for(d=a.baseState,u=0,f=l=s=null;;){c=i.lane;var p=i.eventTime;if((r&c)===c){null!==f&&(f=f.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,y=i;switch(c=t,p=n,y.tag){case 1:if("function"===typeof(h=y.payload)){d=h.call(p,d,c);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(c="function"===typeof(h=y.payload)?h.call(p,d,c):h)||void 0===c)break e;d=o({},d,c);break e;case 2:aa=!0}}null!==i.callback&&(e.flags|=32,null===(c=a.effects)?a.effects=[i]:c.push(i))}else p={eventTime:p,lane:c,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===f?(l=f=p,s=d):f=f.next=p,u|=c;if(null===(i=i.next)){if(null===(c=a.shared.pending))break;i=c.next,c.next=null,a.lastBaseUpdate=c,a.shared.pending=null}}null===f&&(s=d),a.baseState=s,a.firstBaseUpdate=l,a.lastBaseUpdate=f,Iu|=u,e.lanes=u,e.memoizedState=d}}function da(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var pa=(new r.Component).refs;function ha(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ya={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sc(),o=lc(e),a=ca(r,o);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),sa(e,a),fc(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sc(),o=lc(e),a=ca(r,o);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),sa(e,a),fc(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sc(),r=lc(e),o=ca(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),sa(e,o),fc(e,r,n)}};function va(e,t,n,r,o,a,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,a))}function ga(e,t,n){var r=!1,o=so,a=t.contextType;return"object"===typeof a&&null!==a?a=oa(a):(o=yo(t)?po:lo.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?ho(e,o):so),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ya,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function ma(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ya.enqueueReplaceState(t,t.state,null)}function ba(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=pa,ia(e);var a=t.contextType;"object"===typeof a&&null!==a?o.context=oa(a):(a=yo(t)?po:lo.current,o.context=ho(e,a)),fa(e,n,o,r),o.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(ha(e,t,a,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ya.enqueueReplaceState(o,o.state,null),fa(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4)}var xa=Array.isArray;function wa(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===pa&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function ka(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ea(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Wc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function u(t){return e&&null===t.alternate&&(t.flags=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Yc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=wa(e,t,n),r.return=e,r):((r=Hc(n.type,n.key,n.props,null,e.mode,r)).ref=wa(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Kc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=qc(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Yc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Hc(t.type,t.key,t.props,null,e.mode,n)).ref=wa(e,null,t),n.return=e,n;case E:return(t=Kc(t,e.mode,n)).return=e,t}if(xa(t)||V(t))return(t=qc(t,e.mode,n,null)).return=e,t;ka(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:c(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?n.type===O?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case E:return n.key===o?l(e,t,n,r):null}if(xa(n)||V(n))return null!==o?null:f(e,t,n,r,null);ka(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?n:r.key)||null,r.type===O?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case E:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(xa(r)||V(r))return f(t,e=e.get(n)||null,r,o,null);ka(t,r)}return null}function y(o,i,u,c){for(var s=null,l=null,f=i,y=i=0,v=null;null!==f&&y<u.length;y++){f.index>y?(v=f,f=null):v=f.sibling;var g=p(o,f,u[y],c);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),i=a(g,i,y),null===l?s=g:l.sibling=g,l=g,f=v}if(y===u.length)return n(o,f),s;if(null===f){for(;y<u.length;y++)null!==(f=d(o,u[y],c))&&(i=a(f,i,y),null===l?s=f:l.sibling=f,l=f);return s}for(f=r(o,f);y<u.length;y++)null!==(v=h(f,o,y,u[y],c))&&(e&&null!==v.alternate&&f.delete(null===v.key?y:v.key),i=a(v,i,y),null===l?s=v:l.sibling=v,l=v);return e&&f.forEach((function(e){return t(o,e)})),s}function v(o,u,c,s){var l=V(c);if("function"!==typeof l)throw Error(i(150));if(null==(c=l.call(c)))throw Error(i(151));for(var f=l=null,y=u,v=u=0,g=null,m=c.next();null!==y&&!m.done;v++,m=c.next()){y.index>v?(g=y,y=null):g=y.sibling;var b=p(o,y,m.value,s);if(null===b){null===y&&(y=g);break}e&&y&&null===b.alternate&&t(o,y),u=a(b,u,v),null===f?l=b:f.sibling=b,f=b,y=g}if(m.done)return n(o,y),l;if(null===y){for(;!m.done;v++,m=c.next())null!==(m=d(o,m.value,s))&&(u=a(m,u,v),null===f?l=m:f.sibling=m,f=m);return l}for(y=r(o,y);!m.done;v++,m=c.next())null!==(m=h(y,o,v,m.value,s))&&(e&&null!==m.alternate&&y.delete(null===m.key?v:m.key),u=a(m,u,v),null===f?l=m:f.sibling=m,f=m);return e&&y.forEach((function(e){return t(o,e)})),l}return function(e,r,a,c){var s="object"===typeof a&&null!==a&&a.type===O&&null===a.key;s&&(a=a.props.children);var l="object"===typeof a&&null!==a;if(l)switch(a.$$typeof){case k:e:{for(l=a.key,s=r;null!==s;){if(s.key===l){switch(s.tag){case 7:if(a.type===O){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}break;default:if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=wa(e,s,a),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}a.type===O?((r=qc(a.props.children,e.mode,c,a.key)).return=e,e=r):((c=Hc(a.type,a.key,a.props,null,e.mode,c)).ref=wa(e,r,a),c.return=e,e=c)}return u(e);case E:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Kc(a,e.mode,c)).return=e,e=r}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Yc(a,e.mode,c)).return=e,e=r),u(e);if(xa(a))return y(e,r,a,c);if(V(a))return v(e,r,a,c);if(l&&ka(e,a),"undefined"===typeof a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,Y(e.type)||"Component"))}return n(e,r)}}var Oa=Ea(!0),Ca=Ea(!1),Sa={},_a=io(Sa),Aa=io(Sa),Pa=io(Sa);function Ta(e){if(e===Sa)throw Error(i(174));return e}function ja(e,t){switch(co(Pa,t),co(Aa,e),co(_a,Sa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(_a),co(_a,t)}function Ma(){uo(_a),uo(Aa),uo(Pa)}function Na(e){Ta(Pa.current);var t=Ta(_a.current),n=he(t,e.type);t!==n&&(co(Aa,e),co(_a,n))}function Ra(e){Aa.current===e&&(uo(_a),uo(Aa))}var La=io(0);function Da(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fa=null,Ia=null,za=!1;function Ua(e,t){var n=Bc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ba(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Va(e){if(za){var t=Ia;if(t){var n=t;if(!Ba(e,t)){if(!(t=qr(n.nextSibling))||!Ba(e,t))return e.flags=-1025&e.flags|2,za=!1,void(Fa=e);Ua(Fa,n)}Fa=e,Ia=qr(t.firstChild)}else e.flags=-1025&e.flags|2,za=!1,Fa=e}}function Wa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fa=e}function Ha(e){if(e!==Fa)return!1;if(!za)return Wa(e),za=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Br(t,e.memoizedProps))for(t=Ia;t;)Ua(e,t),t=qr(t.nextSibling);if(Wa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ia=qr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ia=null}}else Ia=Fa?qr(e.stateNode.nextSibling):null;return!0}function qa(){Ia=Fa=null,za=!1}var $a=[];function Ya(){for(var e=0;e<$a.length;e++)$a[e]._workInProgressVersionPrimary=null;$a.length=0}var Ka=w.ReactCurrentDispatcher,Ga=w.ReactCurrentBatchConfig,Qa=0,Xa=null,Za=null,Ja=null,ei=!1,ti=!1;function ni(){throw Error(i(321))}function ri(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function oi(e,t,n,r,o,a){if(Qa=a,Xa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ka.current=null===e||null===e.memoizedState?Ti:ji,e=n(r,o),ti){a=0;do{if(ti=!1,!(25>a))throw Error(i(301));a+=1,Ja=Za=null,t.updateQueue=null,Ka.current=Mi,e=n(r,o)}while(ti)}if(Ka.current=Pi,t=null!==Za&&null!==Za.next,Qa=0,Ja=Za=Xa=null,ei=!1,t)throw Error(i(300));return e}function ai(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ja?Xa.memoizedState=Ja=e:Ja=Ja.next=e,Ja}function ii(){if(null===Za){var e=Xa.alternate;e=null!==e?e.memoizedState:null}else e=Za.next;var t=null===Ja?Xa.memoizedState:Ja.next;if(null!==t)Ja=t,Za=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Za=e).memoizedState,baseState:Za.baseState,baseQueue:Za.baseQueue,queue:Za.queue,next:null},null===Ja?Xa.memoizedState=Ja=e:Ja=Ja.next=e}return Ja}function ui(e,t){return"function"===typeof t?t(e):t}function ci(e){var t=ii(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Za,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var u=o.next;o.next=a.next,a.next=u}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var c=u=a=null,s=o;do{var l=s.lane;if((Qa&l)===l)null!==c&&(c=c.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:l,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===c?(u=c=f,a=r):c=c.next=f,Xa.lanes|=l,Iu|=l}s=s.next}while(null!==s&&s!==o);null===c?a=r:c.next=u,ur(r,t.memoizedState)||(Ri=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function si(e){var t=ii(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{a=e(a,u.action),u=u.next}while(u!==o);ur(a,t.memoizedState)||(Ri=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function li(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Qa&e)===e)&&(t._workInProgressVersionPrimary=r,$a.push(t))),e)return n(t._source);throw $a.push(t),Error(i(350))}function fi(e,t,n,r){var o=Tu;if(null===o)throw Error(i(349));var a=t._getVersion,u=a(t._source),c=Ka.current,s=c.useState((function(){return li(o,t,n)})),l=s[1],f=s[0];s=Ja;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,y=d.source;d=d.subscribe;var v=Xa;return e.memoizedState={refs:p,source:t,subscribe:r},c.useEffect((function(){p.getSnapshot=n,p.setSnapshot=l;var e=a(t._source);if(!ur(u,e)){e=n(t._source),ur(f,e)||(l(e),e=lc(v),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,i=e;0<i;){var c=31-Ht(i),s=1<<c;r[c]|=e,i&=~s}}}),[n,t,r]),c.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=lc(v);o.mutableReadLanes|=r&o.pendingLanes}catch(a){n((function(){throw a}))}}))}),[t,r]),ur(h,n)&&ur(y,t)&&ur(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ui,lastRenderedState:f}).dispatch=l=Ai.bind(null,Xa,e),s.queue=e,s.baseQueue=null,f=li(o,t,n),s.memoizedState=s.baseState=f),f}function di(e,t,n){return fi(ii(),e,t,n)}function pi(e){var t=ai();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ui,lastRenderedState:e}).dispatch=Ai.bind(null,Xa,e),[t.memoizedState,e]}function hi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Xa.updateQueue)?(t={lastEffect:null},Xa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function yi(e){return e={current:e},ai().memoizedState=e}function vi(){return ii().memoizedState}function gi(e,t,n,r){var o=ai();Xa.flags|=e,o.memoizedState=hi(1|t,n,void 0,void 0===r?null:r)}function mi(e,t,n,r){var o=ii();r=void 0===r?null:r;var a=void 0;if(null!==Za){var i=Za.memoizedState;if(a=i.destroy,null!==r&&ri(r,i.deps))return void hi(t,n,a,r)}Xa.flags|=e,o.memoizedState=hi(1|t,n,a,r)}function bi(e,t){return gi(516,4,e,t)}function xi(e,t){return mi(516,4,e,t)}function wi(e,t){return mi(4,2,e,t)}function ki(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ei(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,mi(4,2,ki.bind(null,t,e),n)}function Oi(){}function Ci(e,t){var n=ii();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ri(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Si(e,t){var n=ii();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ri(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _i(e,t){var n=Vo();Ho(98>n?98:n,(function(){e(!0)})),Ho(97<n?97:n,(function(){var n=Ga.transition;Ga.transition=1;try{e(!1),t()}finally{Ga.transition=n}}))}function Ai(e,t,n){var r=sc(),o=lc(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===Xa||null!==i&&i===Xa)ti=ei=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var u=t.lastRenderedState,c=i(u,n);if(a.eagerReducer=i,a.eagerState=c,ur(c,u))return}catch(s){}fc(e,o,r)}}var Pi={readContext:oa,useCallback:ni,useContext:ni,useEffect:ni,useImperativeHandle:ni,useLayoutEffect:ni,useMemo:ni,useReducer:ni,useRef:ni,useState:ni,useDebugValue:ni,useDeferredValue:ni,useTransition:ni,useMutableSource:ni,useOpaqueIdentifier:ni,unstable_isNewReconciler:!1},Ti={readContext:oa,useCallback:function(e,t){return ai().memoizedState=[e,void 0===t?null:t],e},useContext:oa,useEffect:bi,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,gi(4,2,ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gi(4,2,e,t)},useMemo:function(e,t){var n=ai();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ai();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ai.bind(null,Xa,e),[r.memoizedState,e]},useRef:yi,useState:pi,useDebugValue:Oi,useDeferredValue:function(e){var t=pi(e),n=t[0],r=t[1];return bi((function(){var t=Ga.transition;Ga.transition=1;try{r(e)}finally{Ga.transition=t}}),[e]),n},useTransition:function(){var e=pi(!1),t=e[0];return yi(e=_i.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ai();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},fi(r,e,t,n)},useOpaqueIdentifier:function(){if(za){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Yr++).toString(36))),Error(i(355))})),n=pi(t)[1];return 0===(2&Xa.mode)&&(Xa.flags|=516,hi(5,(function(){n("r:"+(Yr++).toString(36))}),void 0,null)),t}return pi(t="r:"+(Yr++).toString(36)),t},unstable_isNewReconciler:!1},ji={readContext:oa,useCallback:Ci,useContext:oa,useEffect:xi,useImperativeHandle:Ei,useLayoutEffect:wi,useMemo:Si,useReducer:ci,useRef:vi,useState:function(){return ci(ui)},useDebugValue:Oi,useDeferredValue:function(e){var t=ci(ui),n=t[0],r=t[1];return xi((function(){var t=Ga.transition;Ga.transition=1;try{r(e)}finally{Ga.transition=t}}),[e]),n},useTransition:function(){var e=ci(ui)[0];return[vi().current,e]},useMutableSource:di,useOpaqueIdentifier:function(){return ci(ui)[0]},unstable_isNewReconciler:!1},Mi={readContext:oa,useCallback:Ci,useContext:oa,useEffect:xi,useImperativeHandle:Ei,useLayoutEffect:wi,useMemo:Si,useReducer:si,useRef:vi,useState:function(){return si(ui)},useDebugValue:Oi,useDeferredValue:function(e){var t=si(ui),n=t[0],r=t[1];return xi((function(){var t=Ga.transition;Ga.transition=1;try{r(e)}finally{Ga.transition=t}}),[e]),n},useTransition:function(){var e=si(ui)[0];return[vi().current,e]},useMutableSource:di,useOpaqueIdentifier:function(){return si(ui)[0]},unstable_isNewReconciler:!1},Ni=w.ReactCurrentOwner,Ri=!1;function Li(e,t,n,r){t.child=null===e?Ca(t,null,n,r):Oa(t,e.child,n,r)}function Di(e,t,n,r,o){n=n.render;var a=t.ref;return ra(t,o),r=oi(e,t,n,r,a,o),null===e||Ri?(t.flags|=1,Li(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,nu(e,t,o))}function Fi(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!==typeof i||Vc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ii(e,t,i,r,o,a))}return i=e.child,0===(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:sr)(o,r)&&e.ref===t.ref)?nu(e,t,a):(t.flags|=1,(e=Wc(i,r)).ref=t.ref,e.return=t,t.child=e)}function Ii(e,t,n,r,o,a){if(null!==e&&sr(e.memoizedProps,r)&&e.ref===t.ref){if(Ri=!1,0===(a&o))return t.lanes=e.lanes,nu(e,t,a);0!==(16384&e.flags)&&(Ri=!0)}return Bi(e,t,n,r,a)}function zi(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},bc(t,n);else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},bc(t,e),null;t.memoizedState={baseLanes:0},bc(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,bc(t,r);return Li(e,t,o,n),t.child}function Ui(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Bi(e,t,n,r,o){var a=yo(n)?po:lo.current;return a=ho(t,a),ra(t,o),n=oi(e,t,n,r,a,o),null===e||Ri?(t.flags|=1,Li(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,nu(e,t,o))}function Vi(e,t,n,r,o){if(yo(n)){var a=!0;bo(t)}else a=!1;if(ra(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ga(t,n,r),ba(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,u=t.memoizedProps;i.props=u;var c=i.context,s=n.contextType;"object"===typeof s&&null!==s?s=oa(s):s=ho(t,s=yo(n)?po:lo.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof i.getSnapshotBeforeUpdate;f||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(u!==r||c!==s)&&ma(t,i,r,s),aa=!1;var d=t.memoizedState;i.state=d,fa(t,r,i,o),c=t.memoizedState,u!==r||d!==c||fo.current||aa?("function"===typeof l&&(ha(t,n,l,r),c=t.memoizedState),(u=aa||va(t,n,u,r,d,c,s))?(f||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4)):("function"===typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=s,r=u):("function"===typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,ua(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:Go(t.type,u),i.props=s,f=t.pendingProps,d=i.context,"object"===typeof(c=n.contextType)&&null!==c?c=oa(c):c=ho(t,c=yo(n)?po:lo.current);var p=n.getDerivedStateFromProps;(l="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(u!==f||d!==c)&&ma(t,i,r,c),aa=!1,d=t.memoizedState,i.state=d,fa(t,r,i,o);var h=t.memoizedState;u!==f||d!==h||fo.current||aa?("function"===typeof p&&(ha(t,n,p,r),h=t.memoizedState),(s=aa||va(t,n,s,r,d,h,c))?(l||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,c),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,c)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof i.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=c,r=s):("function"!==typeof i.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Wi(e,t,n,r,a,o)}function Wi(e,t,n,r,o,a){Ui(e,t);var i=0!==(64&t.flags);if(!r&&!i)return o&&xo(t,n,!1),nu(e,t,a);r=t.stateNode,Ni.current=t;var u=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Oa(t,e.child,null,a),t.child=Oa(t,null,u,a)):Li(e,t,u,a),t.memoizedState=r.state,o&&xo(t,n,!0),t.child}function Hi(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),ja(e,t.containerInfo)}var qi,$i,Yi,Ki={dehydrated:null,retryLane:0};function Gi(e,t,n){var r,o=t.pendingProps,a=La.current,i=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),co(La,1&a),null===e?(void 0!==o.fallback&&Va(t),e=o.children,a=o.fallback,i?(e=Qi(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ki,e):"number"===typeof o.unstable_expectedLoadTime?(e=Qi(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ki,t.lanes=33554432,e):((n=$c({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=Zi(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Ki,o):(n=Xi(e,t,o.children,n),t.memoizedState=null,n))}function Qi(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0===(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=$c(t,o,0,null),n=qc(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function Xi(e,t,n,r){var o=e.child;return e=o.sibling,n=Wc(o,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Zi(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var u={mode:"hidden",children:n};return 0===(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=u,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Wc(i,u),null!==e?r=Wc(e,r):(r=qc(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ji(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),na(e.return,t)}function eu(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function tu(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Li(e,t,r.children,n),0!==(2&(r=La.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ji(e,n);else if(19===e.tag)Ji(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(La,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Da(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),eu(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Da(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}eu(t,!0,n,null,a,t.lastEffect);break;case"together":eu(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function nu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Iu|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Wc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ru(e,t){if(!za)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ou(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yo(t.type)&&vo(),null;case 3:return Ma(),uo(fo),uo(lo),Ya(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ha(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ra(t);var a=Ta(Pa.current);if(n=t.type,null!==e&&null!=t.stateNode)$i(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Ta(_a.current),Ha(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[Gr]=t,r[Qr]=u,n){case"dialog":_r("cancel",r),_r("close",r);break;case"iframe":case"object":case"embed":_r("load",r);break;case"video":case"audio":for(e=0;e<Er.length;e++)_r(Er[e],r);break;case"source":_r("error",r);break;case"img":case"image":case"link":_r("error",r),_r("load",r);break;case"details":_r("toggle",r);break;case"input":ee(r,u),_r("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},_r("invalid",r);break;case"textarea":ce(r,u),_r("invalid",r)}for(var s in Oe(n,u),e=null,u)u.hasOwnProperty(s)&&(a=u[s],"children"===s?"string"===typeof a?r.textContent!==a&&(e=["children",a]):"number"===typeof a&&r.textContent!==""+a&&(e=["children",""+a]):c.hasOwnProperty(s)&&null!=a&&"onScroll"===s&&_r("scroll",r));switch(n){case"input":Q(r),re(r,u,!0);break;case"textarea":Q(r),le(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=Fr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(s=9===a.nodeType?a:a.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Gr]=t,e[Qr]=r,qi(e,t),t.stateNode=e,s=Ce(n,r),n){case"dialog":_r("cancel",e),_r("close",e),a=r;break;case"iframe":case"object":case"embed":_r("load",e),a=r;break;case"video":case"audio":for(a=0;a<Er.length;a++)_r(Er[a],e);a=r;break;case"source":_r("error",e),a=r;break;case"img":case"image":case"link":_r("error",e),_r("load",e),a=r;break;case"details":_r("toggle",e),a=r;break;case"input":ee(e,r),a=J(e,r),_r("invalid",e);break;case"option":a=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=o({},r,{value:void 0}),_r("invalid",e);break;case"textarea":ce(e,r),a=ue(e,r),_r("invalid",e);break;default:a=r}Oe(n,a);var l=a;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];"style"===u?ke(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&ge(e,f):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&me(e,f):"number"===typeof f&&me(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(c.hasOwnProperty(u)?null!=f&&"onScroll"===u&&_r("scroll",e):null!=f&&x(e,u,f,s))}switch(n){case"input":Q(e),re(e,r,!1);break;case"textarea":Q(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?ie(e,!!r.multiple,u,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Fr)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Yi(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));n=Ta(Pa.current),Ta(_a.current),Ha(t)?(r=t.stateNode,n=t.memoizedProps,r[Gr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Gr]=t,t.stateNode=r)}return null;case 13:return uo(La),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ha(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&La.current)?0===Lu&&(Lu=3):(0!==Lu&&3!==Lu||(Lu=4),null===Tu||0===(134217727&Iu)&&0===(134217727&zu)||yc(Tu,Mu))),(r||n)&&(t.flags|=4),null);case 4:return Ma(),null===e&&Pr(t.stateNode.containerInfo),null;case 10:return ta(t),null;case 17:return yo(t.type)&&vo(),null;case 19:if(uo(La),null===(r=t.memoizedState))return null;if(u=0!==(64&t.flags),null===(s=r.rendering))if(u)ru(r,!1);else{if(0!==Lu||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Da(e))){for(t.flags|=64,ru(r,!1),null!==(u=s.updateQueue)&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(u=n).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(s=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=s.childLanes,u.lanes=s.lanes,u.child=s.child,u.memoizedProps=s.memoizedProps,u.memoizedState=s.memoizedState,u.updateQueue=s.updateQueue,u.type=s.type,e=s.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return co(La,1&La.current|2),t.child}e=e.sibling}null!==r.tail&&Bo()>Wu&&(t.flags|=64,u=!0,ru(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Da(s))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ru(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!za)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Bo()-r.renderingStartTime>Wu&&1073741824!==n&&(t.flags|=64,u=!0,ru(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Bo(),n.sibling=null,t=La.current,co(La,u?1&t|2:1&t),n):null;case 23:case 24:return xc(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function au(e){switch(e.tag){case 1:yo(e.type)&&vo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ma(),uo(fo),uo(lo),Ya(),0!==(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Ra(e),null;case 13:return uo(La),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return uo(La),null;case 4:return Ma(),null;case 10:return ta(e),null;case 23:case 24:return xc(),null;default:return null}}function iu(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o}}function uu(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}qi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},$i=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Ta(_a.current);var i,u=null;switch(n){case"input":a=J(e,a),r=J(e,r),u=[];break;case"option":a=ae(e,a),r=ae(e,r),u=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),u=[];break;case"textarea":a=ue(e,a),r=ue(e,r),u=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Fr)}for(f in Oe(n,r),n=null,a)if(!r.hasOwnProperty(f)&&a.hasOwnProperty(f)&&null!=a[f])if("style"===f){var s=a[f];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(c.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var l=r[f];if(s=null!=a?a[f]:void 0,r.hasOwnProperty(f)&&l!==s&&(null!=l||null!=s))if("style"===f)if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(u||(u=[]),u.push(f,n)),n=l;else"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(u=u||[]).push(f,l)):"children"===f?"string"!==typeof l&&"number"!==typeof l||(u=u||[]).push(f,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(c.hasOwnProperty(f)?(null!=l&&"onScroll"===f&&_r("scroll",e),u||s===l||(u=[])):"object"===typeof l&&null!==l&&l.$$typeof===L?l.toString():(u=u||[]).push(f,l))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Yi=function(e,t,n,r){n!==r&&(t.flags|=4)};var cu="function"===typeof WeakMap?WeakMap:Map;function su(e,t,n){(n=ca(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Yu||(Yu=!0,Ku=r),uu(0,t)},n}function lu(e,t,n){(n=ca(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return uu(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Gu?Gu=new Set([this]):Gu.add(this),uu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var fu="function"===typeof WeakSet?WeakSet:Set;function du(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Fc(e,n)}else t.current=null}function pu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Go(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Hr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(i(163))}function hu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(Rc(n,e),Nc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Go(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&da(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}da(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(i(163))}function yu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=we("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function vu(e,t){if(ko&&"function"===typeof ko.onCommitFiberUnmount)try{ko.onCommitFiberUnmount(wo,t)}catch(a){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))Rc(t,n);else{r=t;try{o()}catch(a){Fc(r,a)}}n=n.next}while(n!==e)}break;case 1:if(du(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Fc(t,a)}break;case 5:du(t);break;case 4:ku(e,t)}}function gu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function mu(e){return 5===e.tag||3===e.tag||4===e.tag}function bu(e){e:{for(var t=e.return;null!==t;){if(mu(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(me(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||mu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?xu(e,n,t):wu(e,n,t)}function xu(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Fr));else if(4!==r&&null!==(e=e.child))for(xu(e,t,n),e=e.sibling;null!==e;)xu(e,t,n),e=e.sibling}function wu(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(wu(e,t,n),e=e.sibling;null!==e;)wu(e,t,n),e=e.sibling}function ku(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(i(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var u=e,c=o,s=c;;)if(vu(u,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===c)break e;for(;null===s.sibling;){if(null===s.return||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(u=n,c=o.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(vu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Eu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Qr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,o),t=Ce(e,r),o=0;o<a.length;o+=2){var u=a[o],c=a[o+1];"style"===u?ke(n,c):"dangerouslySetInnerHTML"===u?ge(n,c):"children"===u?me(n,c):x(n,u,c,t)}switch(e){case"input":ne(n,r);break;case"textarea":se(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ie(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,kt(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Vu=Bo(),yu(t.child,!0)),void Ou(t);case 19:return void Ou(t);case 17:return;case 23:case 24:return void yu(t,null!==t.memoizedState)}throw Error(i(163))}function Ou(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new fu),t.forEach((function(t){var r=zc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Cu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Su=Math.ceil,_u=w.ReactCurrentDispatcher,Au=w.ReactCurrentOwner,Pu=0,Tu=null,ju=null,Mu=0,Nu=0,Ru=io(0),Lu=0,Du=null,Fu=0,Iu=0,zu=0,Uu=0,Bu=null,Vu=0,Wu=1/0;function Hu(){Wu=Bo()+500}var qu,$u=null,Yu=!1,Ku=null,Gu=null,Qu=!1,Xu=null,Zu=90,Ju=[],ec=[],tc=null,nc=0,rc=null,oc=-1,ac=0,ic=0,uc=null,cc=!1;function sc(){return 0!==(48&Pu)?Bo():-1!==oc?oc:oc=Bo()}function lc(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Vo()?1:2;if(0===ac&&(ac=Fu),0!==Ko.transition){0!==ic&&(ic=null!==Bu?Bu.pendingLanes:0),e=ac;var t=4186112&~ic;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Vo(),0!==(4&Pu)&&98===e?e=Ut(12,ac):e=Ut(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ac),e}function fc(e,t,n){if(50<nc)throw nc=0,rc=null,Error(i(185));if(null===(e=dc(e,t)))return null;Wt(e,t,n),e===Tu&&(zu|=t,4===Lu&&yc(e,Mu));var r=Vo();1===t?0!==(8&Pu)&&0===(48&Pu)?vc(e):(pc(e,n),0===Pu&&(Hu(),$o())):(0===(4&Pu)||98!==r&&99!==r||(null===tc?tc=new Set([e]):tc.add(e)),pc(e,n)),Bu=e}function dc(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function pc(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,u=e.pendingLanes;0<u;){var c=31-Ht(u),s=1<<c,l=a[c];if(-1===l){if(0===(s&r)||0!==(s&o)){l=t,Ft(s);var f=Dt;a[c]=10<=f?l+250:6<=f?l+5e3:-1}}else l<=t&&(e.expiredLanes|=s);u&=~s}if(r=It(e,e===Tu?Mu:0),t=Dt,0===r)null!==n&&(n!==Lo&&Co(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Lo&&Co(n)}15===t?(n=vc.bind(null,e),null===Fo?(Fo=[n],Io=Oo(To,Yo)):Fo.push(n),n=Lo):14===t?n=qo(99,vc.bind(null,e)):n=qo(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),hc.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function hc(e){if(oc=-1,ic=ac=0,0!==(48&Pu))throw Error(i(327));var t=e.callbackNode;if(Mc()&&e.callbackNode!==t)return null;var n=It(e,e===Tu?Mu:0);if(0===n)return null;var r=n,o=Pu;Pu|=16;var a=Ec();for(Tu===e&&Mu===r||(Hu(),wc(e,r));;)try{Sc();break}catch(c){kc(e,c)}if(ea(),_u.current=a,Pu=o,null!==ju?r=0:(Tu=null,Mu=0,r=Lu),0!==(Fu&zu))wc(e,0);else if(0!==r){if(2===r&&(Pu|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(n=zt(e))&&(r=Oc(e,n))),1===r)throw t=Du,wc(e,0),yc(e,n),pc(e,Bo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:Pc(e);break;case 3:if(yc(e,n),(62914560&n)===n&&10<(r=Vu+500-Bo())){if(0!==It(e,0))break;if(((o=e.suspendedLanes)&n)!==n){sc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Vr(Pc.bind(null,e),r);break}Pc(e);break;case 4:if(yc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var u=31-Ht(n);a=1<<u,(u=r[u])>o&&(o=u),n&=~a}if(n=o,10<(n=(120>(n=Bo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Su(n/1960))-n)){e.timeoutHandle=Vr(Pc.bind(null,e),n);break}Pc(e);break;case 5:Pc(e);break;default:throw Error(i(329))}}return pc(e,Bo()),e.callbackNode===t?hc.bind(null,e):null}function yc(e,t){for(t&=~Uu,t&=~zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function vc(e){if(0!==(48&Pu))throw Error(i(327));if(Mc(),e===Tu&&0!==(e.expiredLanes&Mu)){var t=Mu,n=Oc(e,t);0!==(Fu&zu)&&(n=Oc(e,t=It(e,t)))}else n=Oc(e,t=It(e,0));if(0!==e.tag&&2===n&&(Pu|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(t=zt(e))&&(n=Oc(e,t))),1===n)throw n=Du,wc(e,0),yc(e,t),pc(e,Bo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pc(e),pc(e,Bo()),null}function gc(e,t){var n=Pu;Pu|=1;try{return e(t)}finally{0===(Pu=n)&&(Hu(),$o())}}function mc(e,t){var n=Pu;Pu&=-2,Pu|=8;try{return e(t)}finally{0===(Pu=n)&&(Hu(),$o())}}function bc(e,t){co(Ru,Nu),Nu|=t,Fu|=t}function xc(){Nu=Ru.current,uo(Ru)}function wc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Wr(n)),null!==ju)for(n=ju.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&vo();break;case 3:Ma(),uo(fo),uo(lo),Ya();break;case 5:Ra(r);break;case 4:Ma();break;case 13:case 19:uo(La);break;case 10:ta(r);break;case 23:case 24:xc()}n=n.return}Tu=e,ju=Wc(e.current,null),Mu=Nu=Fu=t,Lu=0,Du=null,Uu=zu=Iu=0}function kc(e,t){for(;;){var n=ju;try{if(ea(),Ka.current=Pi,ei){for(var r=Xa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ei=!1}if(Qa=0,Ja=Za=Xa=null,ti=!1,Au.current=null,null===n||null===n.return){Lu=1,Du=t,ju=null;break}e:{var a=e,i=n.return,u=n,c=t;if(t=Mu,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==c&&"object"===typeof c&&"function"===typeof c.then){var s=c;if(0===(2&u.mode)){var l=u.alternate;l?(u.updateQueue=l.updateQueue,u.memoizedState=l.memoizedState,u.lanes=l.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!==(1&La.current),d=i;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var y=d.memoizedProps;p=void 0!==y.fallback&&(!0!==y.unstable_avoidThisFallback||!f)}}if(p){var v=d.updateQueue;if(null===v){var g=new Set;g.add(s),d.updateQueue=g}else v.add(s);if(0===(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var m=ca(-1,1);m.tag=2,sa(u,m)}u.lanes|=1;break e}c=void 0,u=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new cu,c=new Set,b.set(s,c)):void 0===(c=b.get(s))&&(c=new Set,b.set(s,c)),!c.has(u)){c.add(u);var x=Ic.bind(null,a,s,u);s.then(x,x)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);c=Error((Y(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Lu&&(Lu=2),c=iu(c,u),d=i;do{switch(d.tag){case 3:a=c,d.flags|=4096,t&=-t,d.lanes|=t,la(d,su(0,a,t));break e;case 1:a=c;var w=d.type,k=d.stateNode;if(0===(64&d.flags)&&("function"===typeof w.getDerivedStateFromError||null!==k&&"function"===typeof k.componentDidCatch&&(null===Gu||!Gu.has(k)))){d.flags|=4096,t&=-t,d.lanes|=t,la(d,lu(d,a,t));break e}}d=d.return}while(null!==d)}Ac(n)}catch(E){t=E,ju===n&&null!==n&&(ju=n=n.return);continue}break}}function Ec(){var e=_u.current;return _u.current=Pi,null===e?Pi:e}function Oc(e,t){var n=Pu;Pu|=16;var r=Ec();for(Tu===e&&Mu===t||wc(e,t);;)try{Cc();break}catch(o){kc(e,o)}if(ea(),Pu=n,_u.current=r,null!==ju)throw Error(i(261));return Tu=null,Mu=0,Lu}function Cc(){for(;null!==ju;)_c(ju)}function Sc(){for(;null!==ju&&!So();)_c(ju)}function _c(e){var t=qu(e.alternate,e,Nu);e.memoizedProps=e.pendingProps,null===t?Ac(e):ju=t,Au.current=null}function Ac(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ou(n,t,Nu)))return void(ju=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Nu)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=au(t)))return n.flags&=2047,void(ju=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(ju=t);ju=t=e}while(null!==t);0===Lu&&(Lu=5)}function Pc(e){var t=Vo();return Ho(99,Tc.bind(null,e,t)),null}function Tc(e,t){do{Mc()}while(null!==Xu);if(0!==(48&Pu))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var u=e.eventTimes,c=e.expirationTimes;0<a;){var s=31-Ht(a),l=1<<s;o[s]=0,u[s]=-1,c[s]=-1,a&=~l}if(null!==tc&&0===(24&r)&&tc.has(e)&&tc.delete(e),e===Tu&&(ju=Tu=null,Mu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Pu,Pu|=32,Au.current=null,Ir=Gt,hr(u=pr())){if("selectionStart"in u)c={start:u.selectionStart,end:u.selectionEnd};else e:if(c=(c=u.ownerDocument)&&c.defaultView||window,(l=c.getSelection&&c.getSelection())&&0!==l.rangeCount){c=l.anchorNode,a=l.anchorOffset,s=l.focusNode,l=l.focusOffset;try{c.nodeType,s.nodeType}catch(S){c=null;break e}var f=0,d=-1,p=-1,h=0,y=0,v=u,g=null;t:for(;;){for(var m;v!==c||0!==a&&3!==v.nodeType||(d=f+a),v!==s||0!==l&&3!==v.nodeType||(p=f+l),3===v.nodeType&&(f+=v.nodeValue.length),null!==(m=v.firstChild);)g=v,v=m;for(;;){if(v===u)break t;if(g===c&&++h===a&&(d=f),g===s&&++y===l&&(p=f),null!==(m=v.nextSibling))break;g=(v=g).parentNode}v=m}c=-1===d||-1===p?null:{start:d,end:p}}else c=null;c=c||{start:0,end:0}}else c=null;zr={focusedElem:u,selectionRange:c},Gt=!1,uc=null,cc=!1,$u=r;do{try{jc()}catch(S){if(null===$u)throw Error(i(330));Fc($u,S),$u=$u.nextEffect}}while(null!==$u);uc=null,$u=r;do{try{for(u=e;null!==$u;){var b=$u.flags;if(16&b&&me($u.stateNode,""),128&b){var x=$u.alternate;if(null!==x){var w=x.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&b){case 2:bu($u),$u.flags&=-3;break;case 6:bu($u),$u.flags&=-3,Eu($u.alternate,$u);break;case 1024:$u.flags&=-1025;break;case 1028:$u.flags&=-1025,Eu($u.alternate,$u);break;case 4:Eu($u.alternate,$u);break;case 8:ku(u,c=$u);var k=c.alternate;gu(c),null!==k&&gu(k)}$u=$u.nextEffect}}catch(S){if(null===$u)throw Error(i(330));Fc($u,S),$u=$u.nextEffect}}while(null!==$u);if(w=zr,x=pr(),b=w.focusedElem,u=w.selectionRange,x!==b&&b&&b.ownerDocument&&dr(b.ownerDocument.documentElement,b)){null!==u&&hr(b)&&(x=u.start,void 0===(w=u.end)&&(w=x),"selectionStart"in b?(b.selectionStart=x,b.selectionEnd=Math.min(w,b.value.length)):(w=(x=b.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),c=b.textContent.length,k=Math.min(u.start,c),u=void 0===u.end?k:Math.min(u.end,c),!w.extend&&k>u&&(c=u,u=k,k=c),c=fr(b,k),a=fr(b,u),c&&a&&(1!==w.rangeCount||w.anchorNode!==c.node||w.anchorOffset!==c.offset||w.focusNode!==a.node||w.focusOffset!==a.offset)&&((x=x.createRange()).setStart(c.node,c.offset),w.removeAllRanges(),k>u?(w.addRange(x),w.extend(a.node,a.offset)):(x.setEnd(a.node,a.offset),w.addRange(x))))),x=[];for(w=b;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<x.length;b++)(w=x[b]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Gt=!!Ir,zr=Ir=null,e.current=n,$u=r;do{try{for(b=e;null!==$u;){var E=$u.flags;if(36&E&&hu(b,$u.alternate,$u),128&E){x=void 0;var O=$u.ref;if(null!==O){var C=$u.stateNode;switch($u.tag){case 5:x=C;break;default:x=C}"function"===typeof O?O(x):O.current=x}}$u=$u.nextEffect}}catch(S){if(null===$u)throw Error(i(330));Fc($u,S),$u=$u.nextEffect}}while(null!==$u);$u=null,Do(),Pu=o}else e.current=n;if(Qu)Qu=!1,Xu=e,Zu=t;else for($u=r;null!==$u;)t=$u.nextEffect,$u.nextEffect=null,8&$u.flags&&((E=$u).sibling=null,E.stateNode=null),$u=t;if(0===(r=e.pendingLanes)&&(Gu=null),1===r?e===rc?nc++:(nc=0,rc=e):nc=0,n=n.stateNode,ko&&"function"===typeof ko.onCommitFiberRoot)try{ko.onCommitFiberRoot(wo,n,void 0,64===(64&n.current.flags))}catch(S){}if(pc(e,Bo()),Yu)throw Yu=!1,e=Ku,Ku=null,e;return 0!==(8&Pu)||$o(),null}function jc(){for(;null!==$u;){var e=$u.alternate;cc||null===uc||(0!==(8&$u.flags)?et($u,uc)&&(cc=!0):13===$u.tag&&Cu(e,$u)&&et($u,uc)&&(cc=!0));var t=$u.flags;0!==(256&t)&&pu(e,$u),0===(512&t)||Qu||(Qu=!0,qo(97,(function(){return Mc(),null}))),$u=$u.nextEffect}}function Mc(){if(90!==Zu){var e=97<Zu?97:Zu;return Zu=90,Ho(e,Lc)}return!1}function Nc(e,t){Ju.push(t,e),Qu||(Qu=!0,qo(97,(function(){return Mc(),null})))}function Rc(e,t){ec.push(t,e),Qu||(Qu=!0,qo(97,(function(){return Mc(),null})))}function Lc(){if(null===Xu)return!1;var e=Xu;if(Xu=null,0!==(48&Pu))throw Error(i(331));var t=Pu;Pu|=32;var n=ec;ec=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],u=o.destroy;if(o.destroy=void 0,"function"===typeof u)try{u()}catch(s){if(null===a)throw Error(i(330));Fc(a,s)}}for(n=Ju,Ju=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var c=o.create;o.destroy=c()}catch(s){if(null===a)throw Error(i(330));Fc(a,s)}}for(c=e.current.firstEffect;null!==c;)e=c.nextEffect,c.nextEffect=null,8&c.flags&&(c.sibling=null,c.stateNode=null),c=e;return Pu=t,$o(),!0}function Dc(e,t,n){sa(e,t=su(0,t=iu(n,t),1)),t=sc(),null!==(e=dc(e,1))&&(Wt(e,1,t),pc(e,t))}function Fc(e,t){if(3===e.tag)Dc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Dc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Gu||!Gu.has(r))){var o=lu(n,e=iu(t,e),1);if(sa(n,o),o=sc(),null!==(n=dc(n,1)))Wt(n,1,o),pc(n,o);else if("function"===typeof r.componentDidCatch&&(null===Gu||!Gu.has(r)))try{r.componentDidCatch(t,e)}catch(a){}break}}n=n.return}}function Ic(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=sc(),e.pingedLanes|=e.suspendedLanes&n,Tu===e&&(Mu&n)===n&&(4===Lu||3===Lu&&(62914560&Mu)===Mu&&500>Bo()-Vu?wc(e,0):Uu|=n),pc(e,t)}function zc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Vo()?1:2:(0===ac&&(ac=Fu),0===(t=Bt(62914560&~ac))&&(t=4194304))),n=sc(),null!==(e=dc(e,t))&&(Wt(e,t,n),pc(e,n))}function Uc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Bc(e,t,n,r){return new Uc(e,t,n,r)}function Vc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wc(e,t){var n=e.alternate;return null===n?((n=Bc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hc(e,t,n,r,o,a){var u=2;if(r=e,"function"===typeof e)Vc(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case O:return qc(n.children,o,a,t);case D:u=8,o|=16;break;case C:u=8,o|=1;break;case S:return(e=Bc(12,n,t,8|o)).elementType=S,e.type=S,e.lanes=a,e;case T:return(e=Bc(13,n,t,o)).type=T,e.elementType=T,e.lanes=a,e;case j:return(e=Bc(19,n,t,o)).elementType=j,e.lanes=a,e;case F:return $c(n,o,a,t);case I:return(e=Bc(24,n,t,o)).elementType=I,e.lanes=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case _:u=10;break e;case A:u=9;break e;case P:u=11;break e;case M:u=14;break e;case N:u=16,r=null;break e;case R:u=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Bc(u,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function qc(e,t,n,r){return(e=Bc(7,e,r,t)).lanes=n,e}function $c(e,t,n,r){return(e=Bc(23,e,r,t)).elementType=F,e.lanes=n,e}function Yc(e,t,n){return(e=Bc(6,e,null,t)).lanes=n,e}function Kc(e,t,n){return(t=Bc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function Qc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Xc(e,t,n,r){var o=t.current,a=sc(),u=lc(o);e:if(n){t:{if(Qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break t;case 1:if(yo(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break t}}c=c.return}while(null!==c);throw Error(i(171))}if(1===n.tag){var s=n.type;if(yo(s)){n=mo(n,s,c);break e}}n=c}else n=so;return null===t.context?t.context=n:t.pendingContext=n,(t=ca(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sa(o,t),fc(o,u,a),u}function Zc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Jc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function es(e,t){Jc(e,t),(e=e.alternate)&&Jc(e,t)}function ts(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Gc(e,t,null!=n&&!0===n.hydrate),t=Bc(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ia(t),e[Xr]=n.current,Pr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ns(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rs(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"===typeof o){var u=o;o=function(){var e=Zc(i);u.call(e)}}Xc(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ts(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"===typeof o){var c=o;o=function(){var e=Zc(i);c.call(e)}}mc((function(){Xc(t,i,e,o)}))}return Zc(i)}function os(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ns(t))throw Error(i(200));return Qc(e,t,null,n)}qu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||fo.current)Ri=!0;else{if(0===(n&r)){switch(Ri=!1,t.tag){case 3:Hi(t),qa();break;case 5:Na(t);break;case 1:yo(t.type)&&bo(t);break;case 4:ja(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;co(Qo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Gi(e,t,n):(co(La,1&La.current),null!==(t=nu(e,t,n))?t.sibling:null);co(La,1&La.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return tu(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),co(La,La.current),r)break;return null;case 23:case 24:return t.lanes=0,zi(e,t,n)}return nu(e,t,n)}Ri=0!==(16384&e.flags)}else Ri=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=ho(t,lo.current),ra(t,n),o=oi(null,t,r,e,o,n),t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yo(r)){var a=!0;bo(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ia(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&ha(t,r,u,e),o.updater=ya,t.stateNode=o,o._reactInternals=t,ba(t,r,e,n),t=Wi(null,t,r,!0,a,n)}else t.tag=0,Li(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"===typeof e)return Vc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===M)return 14}return 2}(o),e=Go(o,e),a){case 0:t=Bi(null,t,o,e,n);break e;case 1:t=Vi(null,t,o,e,n);break e;case 11:t=Di(null,t,o,e,n);break e;case 14:t=Fi(null,t,o,Go(o.type,e),r,n);break e}throw Error(i(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Bi(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 1:return r=t.type,o=t.pendingProps,Vi(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 3:if(Hi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ua(e,t),fa(t,r,null,n),(r=t.memoizedState.element)===o)qa(),t=nu(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Ia=qr(t.stateNode.containerInfo.firstChild),Fa=t,a=za=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],$a.push(a);for(n=Ca(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Li(e,t,r,n),qa();t=t.child}return t;case 5:return Na(t),null===e&&Va(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,Br(r,o)?u=null:null!==a&&Br(r,a)&&(t.flags|=16),Ui(e,t),Li(e,t,u,n),t.child;case 6:return null===e&&Va(t),null;case 13:return Gi(e,t,n);case 4:return ja(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oa(t,null,r,n):Li(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Di(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 7:return Li(e,t,t.pendingProps,n),t.child;case 8:case 12:return Li(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value;var c=t.type._context;if(co(Qo,c._currentValue),c._currentValue=a,null!==u)if(c=u.value,0===(a=ur(c,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(c,a):1073741823))){if(u.children===o.children&&!fo.current){t=nu(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var s=c.dependencies;if(null!==s){u=c.child;for(var l=s.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&a)){1===c.tag&&((l=ca(-1,n&-n)).tag=2,sa(c,l)),c.lanes|=n,null!==(l=c.alternate)&&(l.lanes|=n),na(c.return,n),s.lanes|=n;break}l=l.next}}else u=10===c.tag&&c.type===t.type?null:c.child;if(null!==u)u.return=c;else for(u=c;null!==u;){if(u===t){u=null;break}if(null!==(c=u.sibling)){c.return=u.return,u=c;break}u=u.return}c=u}Li(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,ra(t,n),r=r(o=oa(o,a.unstable_observedBits)),t.flags|=1,Li(e,t,r,n),t.child;case 14:return a=Go(o=t.type,t.pendingProps),Fi(e,t,o,a=Go(o.type,a),r,n);case 15:return Ii(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Go(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,yo(r)?(e=!0,bo(t)):e=!1,ra(t,n),ga(t,r,o),ba(t,r,o,n),Wi(null,t,r,!0,e,n);case 19:return tu(e,t,n);case 23:case 24:return zi(e,t,n)}throw Error(i(156,t.tag))},ts.prototype.render=function(e){Xc(e,this._internalRoot,null,null)},ts.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xc(null,e,null,(function(){t[Xr]=null}))},tt=function(e){13===e.tag&&(fc(e,4,sc()),es(e,4))},nt=function(e){13===e.tag&&(fc(e,67108864,sc()),es(e,67108864))},rt=function(e){if(13===e.tag){var t=sc(),n=lc(e);fc(e,n,t),es(e,n)}},ot=function(e,t){return t()},_e=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=no(r);if(!o)throw Error(i(90));X(r),ne(r,o)}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Ne=gc,Re=function(e,t,n,r,o){var a=Pu;Pu|=4;try{return Ho(98,e.bind(null,t,n,r,o))}finally{0===(Pu=a)&&(Hu(),$o())}},Le=function(){0===(49&Pu)&&(function(){if(null!==tc){var e=tc;tc=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,pc(e,Bo())}))}$o()}(),Mc())},De=function(e,t){var n=Pu;Pu|=2;try{return e(t)}finally{0===(Pu=n)&&(Hu(),$o())}};var as={Events:[eo,to,no,je,Me,Mc,{current:!1}]},is={findFiberByHostInstance:Jr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},us={bundleType:is.bundleType,version:is.version,rendererPackageName:is.rendererPackageName,rendererConfig:is.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:is.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var cs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cs.isDisabled&&cs.supportsFiber)try{wo=cs.inject(us),ko=cs}catch(ve){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=as,t.createPortal=os,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Pu;if(0!==(48&n))return e(t);Pu|=1;try{if(e)return Ho(99,e.bind(null,t))}finally{Pu=n,$o()}},t.hydrate=function(e,t,n){if(!ns(t))throw Error(i(200));return rs(null,e,t,!0,n)},t.render=function(e,t,n){if(!ns(t))throw Error(i(200));return rs(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ns(e))throw Error(i(40));return!!e._reactRootContainer&&(mc((function(){rs(null,null,e,!1,(function(){e._reactRootContainer=null,e[Xr]=null}))})),!0)},t.unstable_batchedUpdates=gc,t.unstable_createPortal=function(e,t){return os(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ns(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return rs(e,t,n,!1,r)},t.version="17.0.2"},function(e,t,n){"use strict";e.exports=n(242)},function(e,t,n){"use strict";var r,o,a,i;if("object"===typeof performance&&"function"===typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,s=c.now();t.unstable_now=function(){return c.now()-s}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,f=null,d=function e(){if(null!==l)try{var n=t.unstable_now();l(!0,n),l=null}catch(r){throw setTimeout(e,0),r}};r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(d,0))},o=function(e,t){f=setTimeout(e,t)},a=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var y=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,g=null,m=-1,b=5,x=0;t.unstable_shouldYield=function(){return t.unstable_now()>=x},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,k=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();x=e+b;try{g(!0,e)?k.postMessage(null):(v=!1,g=null)}catch(n){throw k.postMessage(null),n}}else v=!1},r=function(e){g=e,v||(v=!0,k.postMessage(null))},o=function(e,n){m=p((function(){e(t.unstable_now())}),n)},a=function(){h(m),m=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<S(o,t)))break e;e[r]=t,e[n]=o,n=r}}function O(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],u=a+1,c=e[u];if(void 0!==i&&0>S(i,n))void 0!==c&&0>S(c,i)?(e[r]=c,e[u]=n,r=u):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==c&&0>S(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var _=[],A=[],P=1,T=null,j=3,M=!1,N=!1,R=!1;function L(e){for(var t=O(A);null!==t;){if(null===t.callback)C(A);else{if(!(t.startTime<=e))break;C(A),t.sortIndex=t.expirationTime,E(_,t)}t=O(A)}}function D(e){if(R=!1,L(e),!N)if(null!==O(_))N=!0,r(F);else{var t=O(A);null!==t&&o(D,t.startTime-e)}}function F(e,n){N=!1,R&&(R=!1,a()),M=!0;var r=j;try{for(L(n),T=O(_);null!==T&&(!(T.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=T.callback;if("function"===typeof i){T.callback=null,j=T.priorityLevel;var u=i(T.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?T.callback=u:T===O(_)&&C(_),L(n)}else C(_);T=O(_)}if(null!==T)var c=!0;else{var s=O(A);null!==s&&o(D,s.startTime-n),c=!1}return c}finally{T=null,j=r,M=!1}}var I=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||M||(N=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return O(_)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=I,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,i){var u=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?u+i:u:i=u,e){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return e={id:P++,callback:n,priorityLevel:e,startTime:i,expirationTime:c=i+c,sortIndex:-1},i>u?(e.sortIndex=i,E(A,e),null===O(_)&&e===O(A)&&(R?a():R=!0,o(D,i-u))):(e.sortIndex=c,E(_,e),N||M||(N=!0,r(F))),e},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},,function(e,t,n){},,function(e,t,n){"use strict";n(121);var r=n(2),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),t.Fragment=a("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,a={},s=null,l=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)u.call(t,r)&&!c.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:l,props:a,_owner:i.current}}t.jsx=s,t.jsxs=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.url=void 0;var r=n(148),o=n(39)("socket.io-client:url");t.url=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,a=e;n=n||"undefined"!==typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"===typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e="undefined"!==typeof n?n.protocol+"//"+e:"https://"+e),o("parse %s",e),a=r(e)),a.port||(/^(http|ws)$/.test(a.protocol)?a.port="80":/^(http|ws)s$/.test(a.protocol)&&(a.port="443")),a.path=a.path||"/";var i=-1!==a.host.indexOf(":"),u=i?"["+a.host+"]":a.host;return a.id=a.protocol+"://"+u+":"+a.port+t,a.href=a.protocol+"://"+u+(n&&n.port===a.port?"":":"+a.port),a}},function(e,t,n){var r=n(249);e.exports=function(e){function t(e){var n,r,a,i=null;function u(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(u.enabled){var a=u,i=Number(new Date),c=i-(n||i);a.diff=c,a.prev=n,a.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!==typeof r[0]&&r.unshift("%O");var s=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return"%";s++;var o=t.formatters[n];if("function"===typeof o){var i=r[s];e=o.call(a,i),r.splice(s,1),s--}return e})),t.formatArgs.call(a,r);var l=a.log||t.log;l.apply(a,r)}}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=o,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:function(){return null!==i?i:(r!==t.namespaces&&(r=t.namespaces,a=t.enabled(e)),a)},set:function(e){i=e}}),"function"===typeof t.init&&t.init(u),u}function o(e,n){var r=t(this.namespace+("undefined"===typeof n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){var e=[].concat(r(t.names.map(a)),r(t.skips.map(a).map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){var n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];var r=("string"===typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(253),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((function(n){t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var n=0,r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},function(e,t,n){var r=n(250),o=n(251),a=n(151),i=n(252);e.exports=function(e){return r(e)||o(e)||a(e)||i()}},function(e,t,n){var r=n(150);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=1e3,r=60*n,o=60*r,a=24*o,i=7*a,u=365.25*a;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*u;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return c(e,t,a,"day");if(t>=o)return c(e,t,o,"hour");if(t>=r)return c(e,t,r,"minute");if(t>=n)return c(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){var r=n(257),o=n(65);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?o(e):t}},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(259);e.exports=function(e,t){return new r(e,t)},e.exports.Socket=r,e.exports.protocol=r.protocol,e.exports.Transport=n(122),e.exports.transports=n(153),e.exports.parser=n(80)},function(e,t,n){var r=n(40),o=n(41),a=n(65),i=n(42),u=n(43),c=n(153),s=n(81),l=n(39)("engine.io-client:socket"),f=n(80),d=n(148),p=n(123),h=n(82).installTimerFunctions,y=function(e){"use strict";i(n,e);var t=u(n);function n(e){var o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(this,n),o=t.call(this),e&&"object"===typeof e&&(i=e,e=null),e?(e=d(e),i.hostname=e.host,i.secure="https"===e.protocol||"wss"===e.protocol,i.port=e.port,e.query&&(i.query=e.query)):i.host&&(i.hostname=d(i.host).host),h(a(o),i),o.secure=null!=i.secure?i.secure:"undefined"!==typeof location&&"https:"===location.protocol,i.hostname&&!i.port&&(i.port=o.secure?"443":"80"),o.hostname=i.hostname||("undefined"!==typeof location?location.hostname:"localhost"),o.port=i.port||("undefined"!==typeof location&&location.port?location.port:o.secure?443:80),o.transports=i.transports||["polling","websocket"],o.readyState="",o.writeBuffer=[],o.prevBufferLen=0,o.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,jsonp:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},i),o.opts.path=o.opts.path.replace(/\/$/,"")+"/","string"===typeof o.opts.query&&(o.opts.query=p.decode(o.opts.query)),o.id=null,o.upgrades=null,o.pingInterval=null,o.pingTimeout=null,o.pingTimeoutTimer=null,"function"===typeof addEventListener&&(o.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){o.transport&&(o.transport.removeAllListeners(),o.transport.close())}),!1),"localhost"!==o.hostname&&(o.offlineEventListener=function(){o.onClose("transport close")},addEventListener("offline",o.offlineEventListener,!1))),o.open(),o}return o(n,[{key:"createTransport",value:function(e){l('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.opts.query);t.EIO=f.protocol,t.transport=e,this.id&&(t.sid=this.id);var n=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return l("options: %j",n),new c[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&n.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emit("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(r){return l("error while creating transport: %s",r),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;l("setting transport %s",e.name),this.transport&&(l("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var t=this;l('probing transport "%s"',e);var r=this.createTransport(e,{probe:1}),o=!1;n.priorWebsocketSuccess=!1;var a=function(){o||(l('probe transport "%s" opened',e),r.send([{type:"ping",data:"probe"}]),r.once("packet",(function(a){if(!o)if("pong"===a.type&&"probe"===a.data){if(l('probe transport "%s" pong',e),t.upgrading=!0,t.emit("upgrading",r),!r)return;n.priorWebsocketSuccess="websocket"===r.name,l('pausing current transport "%s"',t.transport.name),t.transport.pause((function(){o||"closed"!==t.readyState&&(l("changing transport and sending upgrade packet"),d(),t.setTransport(r),r.send([{type:"upgrade"}]),t.emit("upgrade",r),r=null,t.upgrading=!1,t.flush())}))}else{l('probe transport "%s" failed',e);var i=new Error("probe error");i.transport=r.name,t.emit("upgradeError",i)}})))};function i(){o||(o=!0,d(),r.close(),r=null)}var u=function(n){var o=new Error("probe error: "+n);o.transport=r.name,i(),l('probe transport "%s" failed because of error: %s',e,n),t.emit("upgradeError",o)};function c(){u("transport closed")}function s(){u("socket closed")}function f(e){r&&e.name!==r.name&&(l('"%s" works - aborting "%s"',e.name,r.name),i())}var d=function(){r.removeListener("open",a),r.removeListener("error",u),r.removeListener("close",c),t.removeListener("close",s),t.removeListener("upgrading",f)};r.once("open",a),r.once("error",u),r.once("close",c),this.once("close",s),this.once("upgrading",f),r.open()}},{key:"onOpen",value:function(){if(l("socket open"),this.readyState="open",n.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){l("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}}},{key:"onPacket",value:function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(l('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emit("ping"),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else l('packet received with socket readyState "%s"',this.readyState)}},{key:"onHandshake",value:function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}},{key:"resetPingTimeout",value:function(){var e=this;this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((function(){e.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}},{key:"onDrain",value:function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()}},{key:"flush",value:function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(l("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))}},{key:"write",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"send",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"sendPacket",value:function(e,t,n,r){if("function"===typeof t&&(r=t,t=void 0),"function"===typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}}},{key:"close",value:function(){var e=this,t=function(){e.onClose("forced close"),l("socket closing - telling transport to close"),e.transport.close()},n=function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()},r=function(){e.once("upgrade",n),e.once("upgradeError",n)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(function(){e.upgrading?r():t()})):this.upgrading?r():t()),this}},{key:"onError",value:function(e){l("socket error %j",e),n.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)}},{key:"onClose",value:function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(l('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingIntervalTimer),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"===typeof removeEventListener&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}},{key:"filterUpgrades",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}]),n}(s);y.priorWebsocketSuccess=!1,y.protocol=f.protocol,e.exports=y},function(e,t){try{e.exports="undefined"!==typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){e.exports=!1}},function(e,t,n){var r=n(65),o=n(40),a=n(41),i=n(42),u=n(43),c=n(154),s=n(155),l=n(81),f=n(82),d=f.pick,p=f.installTimerFunctions,h=n(79),y=n(39)("engine.io-client:polling-xhr");function v(){}var g=null!=new c({xdomain:!1}).responseType,m=function(e){"use strict";i(n,e);var t=u(n);function n(e){var r;if(o(this,n),r=t.call(this,e),"undefined"!==typeof location){var a="https:"===location.protocol,i=location.port;i||(i=a?443:80),r.xd="undefined"!==typeof location&&e.hostname!==location.hostname||i!==e.port,r.xs=e.secure!==a}var u=e&&e.forceBase64;return r.supportsBinary=g&&!u,r}return a(n,[{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new b(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this;y("xhr poll");var t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}]),n}(s),b=function(e){"use strict";i(n,e);var t=u(n);function n(e,a){var i;return o(this,n),i=t.call(this),p(r(i),a),i.opts=a,i.method=a.method||"GET",i.uri=e,i.async=!1!==a.async,i.data=void 0!==a.data?a.data:null,i.create(),i}return a(n,[{key:"create",value:function(){var e=this,t=d(this.opts,"agent","enablesXDR","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;var r=this.xhr=new c(t);try{y("xhr open %s: %s",this.method,this.uri),r.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var o in r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this.opts.extraHeaders[o])}catch(a){}if("POST"===this.method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(a){}try{r.setRequestHeader("Accept","*/*")}catch(a){}"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),this.hasXDR()?(r.onload=function(){e.onLoad()},r.onerror=function(){e.onError(r.responseText)}):r.onreadystatechange=function(){4===r.readyState&&(200===r.status||1223===r.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"===typeof r.status?r.status:0)}),0))},y("xhr data %s",this.data),r.send(this.data)}catch(a){return void this.setTimeoutFn((function(){e.onError(a)}),0)}"undefined"!==typeof document&&(this.index=n.requestsCount++,n.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=v:this.xhr.onreadystatechange=v,e)try{this.xhr.abort()}catch(t){}"undefined"!==typeof document&&delete n.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"hasXDR",value:function(){return"undefined"!==typeof XDomainRequest&&!this.xs&&this.enablesXDR}},{key:"abort",value:function(){this.cleanup()}}]),n}(l);if(b.requestsCount=0,b.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",x);else if("function"===typeof addEventListener){addEventListener("onpagehide"in h?"pagehide":"unload",x,!1)}function x(){for(var e in b.requests)b.requests.hasOwnProperty(e)&&b.requests[e].abort()}e.exports=m,e.exports.Request=b},function(e,t,n){var r=n(156).PACKET_TYPES,o="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),a="function"===typeof ArrayBuffer,i=function(e,t){var n=new FileReader;return n.onload=function(){var e=n.result.split(",")[1];t("b"+e)},n.readAsDataURL(e)};e.exports=function(e,t,n){var u,c=e.type,s=e.data;return o&&s instanceof Blob?t?n(s):i(s,n):a&&(s instanceof ArrayBuffer||(u=s,"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(u):u&&u.buffer instanceof ArrayBuffer))?t?n(s):i(new Blob([s]),n):n(r[c]+(s||""))}},function(e,t,n){var r,o=n(156),a=o.PACKET_TYPES_REVERSE,i=o.ERROR_PACKET;"function"===typeof ArrayBuffer&&(r=n(264));var u=function(e,t){if(r){var n=r.decode(e);return c(n,t)}return{base64:!0,data:e}},c=function(e,t){switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}};e.exports=function(e,t){if("string"!==typeof e)return{type:"message",data:c(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:u(e.substring(1),t)}:a[n]?e.length>1?{type:a[n],data:e.substring(1)}:{type:a[n]}:i}},function(e,t){!function(e){"use strict";t.encode=function(t){var n,r=new Uint8Array(t),o=r.length,a="";for(n=0;n<o;n+=3)a+=e[r[n]>>2],a+=e[(3&r[n])<<4|r[n+1]>>4],a+=e[(15&r[n+1])<<2|r[n+2]>>6],a+=e[63&r[n+2]];return o%3===2?a=a.substring(0,a.length-1)+"=":o%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(t){var n,r,o,a,i,u=.75*t.length,c=t.length,s=0;"="===t[t.length-1]&&(u--,"="===t[t.length-2]&&u--);var l=new ArrayBuffer(u),f=new Uint8Array(l);for(n=0;n<c;n+=4)r=e.indexOf(t[n]),o=e.indexOf(t[n+1]),a=e.indexOf(t[n+2]),i=e.indexOf(t[n+3]),f[s++]=r<<2|o>>4,f[s++]=(15&o)<<4|a>>2,f[s++]=(3&a)<<6|63&i;return l}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},function(e,t,n){var r,o=n(40),a=n(41),i=n(65),u=n(95),c=n(66),s=n(42),l=n(43),f=n(155),d=n(79),p=/\n/g,h=/\\n/g,y=function(e){"use strict";s(n,e);var t=l(n);function n(e){var a;return o(this,n),(a=t.call(this,e)).query=a.query||{},r||(r=d.___eio=d.___eio||[]),a.index=r.length,r.push(a.onData.bind(i(a))),a.query.j=a.index,a}return a(n,[{key:"supportsBinary",get:function(){return!1}},{key:"doClose",value:function(){this.script&&(this.script.onerror=function(){},this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),u(c(n.prototype),"doClose",this).call(this)}},{key:"doPoll",value:function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t,"undefined"!==typeof navigator&&/gecko/i.test(navigator.userAgent)&&this.setTimeoutFn((function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)}),100)}},{key:"doWrite",value:function(e,t){var n,r=this;if(!this.form){var o=document.createElement("form"),a=document.createElement("textarea"),i=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=i,o.method="POST",o.setAttribute("accept-charset","utf-8"),a.name="d",o.appendChild(a),document.body.appendChild(o),this.form=o,this.area=a}function u(){c(),t()}this.form.action=this.uri();var c=function(){if(r.iframe)try{r.form.removeChild(r.iframe)}catch(t){r.onError("jsonp polling iframe removal error",t)}try{var e='<iframe src="javascript:0" name="'+r.iframeId+'">';n=document.createElement(e)}catch(t){(n=document.createElement("iframe")).name=r.iframeId,n.src="javascript:0"}n.id=r.iframeId,r.form.appendChild(n),r.iframe=n};c(),e=e.replace(h,"\\\n"),this.area.value=e.replace(p,"\\n");try{this.form.submit()}catch(s){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===r.iframe.readyState&&u()}:this.iframe.onload=u}}]),n}(f);e.exports=y},function(e,t,n){var r=n(66);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e,t,n){(function(t){var r=n(40),o=n(41),a=n(42),i=n(43),u=n(122),c=n(80),s=n(123),l=n(157),f=n(82).pick,d=n(272),p=d.WebSocket,h=d.usingBrowserWebSocket,y=d.defaultBinaryType,v=d.nextTick,g=n(39)("engine.io-client:websocket"),m="undefined"!==typeof navigator&&"string"===typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),b=function(e){"use strict";a(d,e);var n=i(d);function d(e){var t;return r(this,d),(t=n.call(this,e)).supportsBinary=!e.forceBase64,t}return o(d,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=m?{}:f(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=h&&!m?t?new p(e,t):new p(e):new p(e,t,n)}catch(r){return this.emit("error",r)}this.ws.binaryType=this.socket.binaryType||y,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var n=this;this.writable=!1;for(var r=function(r){var o=e[r],a=r===e.length-1;c.encodePacket(o,n.supportsBinary,(function(e){var r={};h||(o.options&&(r.compress=o.options.compress),n.opts.perMessageDeflate&&("string"===typeof e?t.byteLength(e):e.length)<n.opts.perMessageDeflate.threshold&&(r.compress=!1));try{h?n.ws.send(e):n.ws.send(e,r)}catch(i){g("websocket closed before onclose event")}a&&v((function(){n.writable=!0,n.emit("drain")}),n.setTimeoutFn)}))},o=0;o<e.length;o++)r(o)}},{key:"onClose",value:function(){u.prototype.onClose.call(this)}},{key:"doClose",value:function(){"undefined"!==typeof this.ws&&(this.ws.close(),this.ws=null)}},{key:"uri",value:function(){var e=this.query||{},t=this.opts.secure?"wss":"ws",n="";return this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=l()),this.supportsBinary||(e.b64=1),(e=s.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+e}},{key:"check",value:function(){return!!p&&!("__initialize"in p&&this.name===d.prototype.name)}}]),d}(u);e.exports=b}).call(this,n(268).Buffer)},function(e,t,n){"use strict";(function(e){var r=n(269),o=n(270),a=n(271);function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return s(this,e,t,n)}function s(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,n,r):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=u(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|p(t.length);return 0===(e=u(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?u(e,0):d(e,t);if("Buffer"===t.type&&a(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=u(e,t<0?0:0|p(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=u(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,o);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,o){var a,i=1,u=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,u/=2,c/=2,n/=2}function s(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var l=-1;for(a=n;a<u;a++)if(s(e,a)===s(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*i}else-1!==l&&(a-=a-l),l=-1}else for(n+c>u&&(n=u-c),a=n;a>=0;a--){for(var f=!0,d=0;d<c;d++)if(s(e,a+d)!==s(t,d)){f=!1;break}if(f)return a}return-1}function b(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i<r;++i){var u=parseInt(t.substr(2*i,2),16);if(isNaN(u))return i;e[n+i]=u}return i}function x(e,t,n,r){return W(B(t,e.length-n),e,n,r)}function w(e,t,n,r){return W(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return w(e,t,n,r)}function E(e,t,n,r){return W(V(t),e,n,r)}function O(e,t,n,r){return W(function(e,t){for(var n,r,o,a=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o=n%256,a.push(o),a.push(r);return a}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var a,i,u,c,s=e[o],l=null,f=s>239?4:s>223?3:s>191?2:1;if(o+f<=n)switch(f){case 1:s<128&&(l=s);break;case 2:128===(192&(a=e[o+1]))&&(c=(31&s)<<6|63&a)>127&&(l=c);break;case 3:a=e[o+1],i=e[o+2],128===(192&a)&&128===(192&i)&&(c=(15&s)<<12|(63&a)<<6|63&i)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:a=e[o+1],i=e[o+2],u=e[o+3],128===(192&a)&&128===(192&i)&&128===(192&u)&&(c=(15&s)<<18|(63&a)<<12|(63&i)<<6|63&u)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=_));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=i(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return s(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?u(e,t):void 0!==n?"string"===typeof r?u(e,t).fill(n,r):u(e,t).fill(n):u(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return f(null,e)},c.allocUnsafeSlow=function(e){return f(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):y.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),u=Math.min(a,i),s=this.slice(r,o),l=e.slice(t,n),f=0;f<u;++f)if(s[f]!==l[f]){a=s[f],i=l[f];break}return a<i?-1:i<a?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function P(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function T(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",a=t;a<n;++a)o+=U(e[a]);return o}function j(e,t,n){for(var r=e.slice(t,n),o="",a=0;a<r.length;a+=2)o+=String.fromCharCode(r[a]+256*r[a+1]);return o}function M(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,o,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-n,2);o<a;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-n,4);o<a;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function D(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,a){return a||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function I(e,t,n,r,a){return a||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var o=t-e;n=new c(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},c.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,o=1,a=this[e+--r];r>0&&(o*=256);)a+=this[e+--r]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);N(this,e,t,n,o-1,-o)}var a=0,i=1,u=0;for(this[t]=255&e;++a<n&&(i*=256);)e<0&&0===u&&0!==this[t+a-1]&&(u=1),this[t+a]=(e/i>>0)-u&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);N(this,e,t,n,o-1,-o)}var a=n-1,i=1,u=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===u&&0!==this[t+a+1]&&(u=1),this[t+a]=(e/i>>0)-u&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,a=r-n;if(this===e&&n<t&&t<r)for(o=a-1;o>=0;--o)e[o+t]=this[o+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},c.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a<n;++a)this[a]=e;else{var i=c.isBuffer(e)?e:B(new c(e,r).toString()),u=i.length;for(a=0;a<n-t;++a)this[a+t]=i[a%u]}return this};var z=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e,t){var n;t=t||1/0;for(var r=e.length,o=null,a=[],i=0;i<r;++i){if((n=e.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function V(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(z,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function W(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(124))},function(e,t,n){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=s(e),i=r[0],u=r[1],c=new a(function(e,t,n){return 3*(t+n)/4-n}(0,i,u)),l=0,f=u>0?i-4:i;for(n=0;n<f;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===u&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===u&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,a=[],i=16383,u=0,c=n-o;u<c;u+=i)a.push(l(e,u,u+i>c?c:u+i));1===o?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],o=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=i.length;u<c;++u)r[u]=i[u],o[i.charCodeAt(u)]=u;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var o,a,i=[],u=t;u<n;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),i.push(r[(a=o)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var a,i,u=8*o-r-1,c=(1<<u)-1,s=c>>1,l=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,a=p&(1<<-l)-1,p>>=-l,l+=u;l>0;a=256*a+e[t+f],f+=d,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=r;l>0;i=256*i+e[t+f],f+=d,l-=8);if(0===a)a=1-s;else{if(a===c)return i?NaN:1/0*(p?-1:1);i+=Math.pow(2,r),a-=s}return(p?-1:1)*i*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var i,u,c,s=8*a-o-1,l=(1<<s)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:a-1,h=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),(t+=i+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(i++,c/=2),i+f>=l?(u=0,i=l):i+f>=1?(u=(t*c-1)*Math.pow(2,o),i+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[n+p]=255&u,p+=h,u/=256,o-=8);for(i=i<<o|u,s+=o;s>0;e[n+p]=255&i,p+=h,i/=256,s-=8);e[n+p-h]|=128*y}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var r=n(79),o="function"===typeof Promise&&"function"===typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)};e.exports={WebSocket:r.WebSocket||r.MozWebSocket,usingBrowserWebSocket:!0,defaultBinaryType:"arraybuffer",nextTick:o}},function(e,t,n){var r=n(151);e.exports=function(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reconstructPacket=t.deconstructPacket=void 0;var r=n(159);function o(e,t){if(!e)return e;if(r.isBinary(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){for(var a=new Array(e.length),i=0;i<e.length;i++)a[i]=o(e[i],t);return a}if("object"===typeof e&&!(e instanceof Date)){var u={};for(var c in e)e.hasOwnProperty(c)&&(u[c]=o(e[c],t));return u}return e}function a(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=a(e[n],t);else if("object"===typeof e)for(var r in e)e.hasOwnProperty(r)&&(e[r]=a(e[r],t));return e}t.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=o(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=a(e.data,t),e.attachments=void 0,e}},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},,function(e,t,n){"use strict";var r=n(278);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function k(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case i:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case v:case s:return e;default:return t}}case a:return t}}}function E(e){return k(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||k(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===l},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===i},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===v},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===c},t.isStrictMode=function(e){return k(e)===u},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===c||e===u||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===p||e.$$typeof===b||e.$$typeof===x||e.$$typeof===w||e.$$typeof===m)},t.typeOf=k},,,,function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(j){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new A(r||[]);return a._invoke=function(e,t,n){var r=f;return function(o,a){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return T()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var u=C(i,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,i),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(j){return{type:"throw",arg:j}}}e.wrap=s;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",y={};function v(){}function g(){}function m(){}var b={};c(b,a,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(P([])));w&&w!==n&&r.call(w,a)&&(b=w);var k=m.prototype=v.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,a,i,u){var c=l(e[o],e,a);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function C(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function P(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:T}}function T(){return{value:t,done:!0}}return g.prototype=m,c(k,"constructor",m),c(m,"constructor",g),g.displayName=c(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},E(O.prototype),c(O.prototype,i,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new O(s(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(k),c(k,u,"Generator"),c(k,a,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";var r=n(31),o=n(163),a=n(286),i=n(169);function u(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n}var c=u(n(166));c.Axios=a,c.create=function(e){return u(i(c.defaults,e))},c.Cancel=n(170),c.CancelToken=n(299),c.isCancel=n(165),c.all=function(e){return Promise.all(e)},c.spread=n(300),c.isAxiosError=n(301),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(31),o=n(164),a=n(287),i=n(288),u=n(169);function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[i,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=c},function(e,t,n){"use strict";var r=n(31);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(31),o=n(289),a=n(165),i=n(166);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return u(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(168);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(31);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,a,i){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(a)&&u.push("domain="+a),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(295),o=n(296);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(31),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,i={};return e?(r.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},function(e,t,n){"use strict";var r=n(31);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(170);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},,,,,,,,,,,,,,function(e,t,n){var r=n(172)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(61)(n(48),"DataView");e.exports=r},function(e,t,n){var r=n(9),o=n(320),a=n(24),i=n(175),u=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,l=c.toString,f=s.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?d:u).test(i(e))}},function(e,t,n){var r=n(83),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(c){}var o=i.call(e);return r&&(t?e[u]=n:delete e[u]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(321),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(48)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(61)(n(48),"Promise");e.exports=r},function(e,t,n){var r=n(61)(n(48),"WeakMap");e.exports=r},function(e,t,n){var r=n(47),o=n(44);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(47),o=n(127),a=n(44),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},function(e,t,n){var r=n(131),o=n(132);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var s=t[u],l=a?a(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?o(n,s,l):r(n,s,l)}return n}},function(e,t,n){var r=n(98),o=n(99);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,u&&o(n[0],n[1],u)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},function(e,t){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)}},function(e,t,n){var r=n(181),o=n(178),a=n(29),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a;e.exports=i},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),a=16-(o-r);if(r=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(24),o=n(96),a=n(335),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var u in e)("constructor"!=u||!t&&i.call(e,u))&&n.push(u);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){var r=n(85);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(338),o=n(370),a=n(193);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(186),o=n(134);e.exports=function(e,t,n,a){var i=n.length,u=i,c=!a;if(null==e)return!u;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<u;){var l=(s=n[i])[0],f=e[l],d=s[1];if(c&&s[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(a)var h=a(f,d,l,e,t,p);if(!(void 0===h?o(d,f,3,a,p):h))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(102),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)}},function(e,t,n){var r=n(102);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(102);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(102);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}},function(e,t,n){var r=n(101);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(101),o=n(126),a=n(133);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(350),o=n(101),a=n(126);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},function(e,t,n){var r=n(351),o=n(352),a=n(353),i=n(354),u=n(355);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=a,c.prototype.has=i,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(103);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(103),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(103),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(103);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(104);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(104);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(104);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(104);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(186),o=n(187),a=n(364),i=n(367),u=n(173),c=n(26),s=n(128),l=n(129),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,v,g){var m=c(e),b=c(t),x=m?d:u(e),w=b?d:u(t),k=(x=x==f?p:x)==p,E=(w=w==f?p:w)==p,O=x==w;if(O&&s(e)){if(!s(t))return!1;m=!0,k=!1}if(O&&!k)return g||(g=new r),m||l(e)?o(e,t,n,y,v,g):a(e,t,x,n,y,v,g);if(!(1&n)){var C=k&&h.call(e,"__wrapped__"),S=E&&h.call(t,"__wrapped__");if(C||S){var _=C?e.value():e,A=S?t.value():t;return g||(g=new r),v(_,A,n,y,g)}}return!!O&&(g||(g=new r),i(e,t,n,y,v,g))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(83),o=n(365),a=n(67),i=n(187),u=n(366),c=n(137),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=u;case"[object Set]":var h=1&r;if(p||(p=c),e.size!=t.size&&!h)return!1;var y=d.get(e);if(y)return y==t;r|=2,d.set(e,t);var v=i(p(e),p(t),r,s,f,d);return d.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(48).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t,n){var r=n(368),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,u){var c=1&n,s=r(e),l=s.length;if(l!=r(t).length&&!c)return!1;for(var f=l;f--;){var d=s[f];if(!(c?d in t:o.call(t,d)))return!1}var p=u.get(e),h=u.get(t);if(p&&h)return p==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=c;++f<l;){var g=e[d=s[f]],m=t[d];if(a)var b=c?a(m,g,d,t,e,u):a(g,m,d,e,t,u);if(!(void 0===b?g===m||i(g,m,n,a,u):b)){y=!1;break}v||(v="constructor"==d)}if(y&&!v){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t,n){var r=n(189),o=n(190),a=n(12);e.exports=function(e){return r(e,a,o)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},function(e,t,n){var r=n(192),o=n(12);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},function(e,t,n){var r=n(134),o=n(372),a=n(195),i=n(139),u=n(192),c=n(193),s=n(87);e.exports=function(e,t){return i(e)&&u(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},function(e,t,n){var r=n(105);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(374),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=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(a,"$1"):n||e)})),t}));e.exports=i},function(e,t,n){var r=n(375);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(133);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(83),o=n(85),a=n(26),i=n(86),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(106),o=n(97),a=n(26),i=n(100),u=n(127),c=n(87);e.exports=function(e,t,n){for(var s=-1,l=(t=r(t,e)).length,f=!1;++s<l;){var d=c(t[s]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++s!=l?f:!!(l=null==e?0:e.length)&&u(l)&&i(d,l)&&(a(e)||o(e))}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(105);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e){return e!==e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(176),o=n(384),a=n(137),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(386),o=n(387),a=n(52),i=n(26);e.exports=function(e,t){return function(n,u){var c=i(n)?r:o,s=t?t():{};return c(n,e,a(u,2),s)}}},function(e,t){e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},function(e,t,n){var r=n(140);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,e,n(e),a)})),o}},function(e,t,n){var r=n(389)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===n(a[c],c,a))break}return t}}},function(e,t,n){var r=n(45);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,u=Object(n);(t?i--:++i<a)&&!1!==o(u[i],i,u););return n}}},function(e,t,n){var r=n(140);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},function(e,t,n){var r=n(83),o=n(97),a=n(26),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},function(e,t,n){var r=n(131),o=n(106),a=n(100),i=n(24),u=n(87);e.exports=function(e,t,n,c){if(!i(e))return e;for(var s=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++s<l;){var p=u(t[s]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(s!=f){var y=d[p];void 0===(h=c?c(y,p,d):void 0)&&(h=i(y)?y:a(t[s+1])?[]:{})}r(d,p,h),d=d[p]}return e}},function(e,t,n){var r=n(189),o=n(396),a=n(183);e.exports=function(e){return r(e,a,o)}},function(e,t,n){var r=n(138),o=n(185),a=n(190),i=n(191),u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=u},function(e,t,n){var r=n(47),o=n(26),a=n(44);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},function(e,t,n){var r=n(399),o=n(24),a=n(86),i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||c.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}},function(e,t,n){var r=n(400),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(85),o=n(105),a=n(52),i=n(402),u=n(403),c=n(84),s=n(404),l=n(29),f=n(26);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[l];var d=-1;t=r(t,c(a));var p=i(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return u(p,(function(e,t){return s(e,t,n)}))}},function(e,t,n){var r=n(140),o=n(45);e.exports=function(e,t){var n=-1,a=o(e)?Array(e.length):[];return r(e,(function(e,r,o){a[++n]=t(e,r,o)})),a}},function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},function(e,t,n){var r=n(405);e.exports=function(e,t,n){for(var o=-1,a=e.criteria,i=t.criteria,u=a.length,c=n.length;++o<u;){var s=r(a[o],i[o]);if(s)return o>=c?s:s*("desc"==n[o]?-1:1)}return e.index-t.index}},function(e,t,n){var r=n(86);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,a=e===e,i=r(e),u=void 0!==t,c=null===t,s=t===t,l=r(t);if(!c&&!l&&!i&&e>t||i&&u&&s&&!c&&!l||o&&u&&s||!n&&s||!a)return 1;if(!o&&!i&&!l&&e<t||l&&n&&a&&!o&&!i||c&&n&&a||!u&&a||!s)return-1}return 0}},function(e,t,n){var r=n(407),o=n(99),a=n(205);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),i=void 0===i?t<n?1:-1:a(i),r(t,n,i,e)}}},function(e,t){var n=Math.ceil,r=Math.max;e.exports=function(e,t,o,a){for(var i=-1,u=r(n((t-e)/(o||1)),0),c=Array(u);u--;)c[a?u:++i]=e,e+=o;return c}},function(e,t,n){var r=n(203),o=n(195);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},function(e,t,n){var r=n(57),o=n(179),a=n(180);e.exports=function(e){return a(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(47),o=n(44);e.exports=function(e){return o(e)&&"[object Date]"==r(e)}},function(e,t,n){var r=n(67);e.exports=function(e,t){for(var n=-1,o=e.length,a=0,i=[];++n<o;){var u=e[n],c=t?t(u):u;if(!n||!r(c,s)){var s=c;i[a++]=0===u?0:u}}return i}},function(e,t,n){var r=n(413);e.exports=function(e,t){return function(n,o){return r(n,e,t(o),{})}}},function(e,t,n){var r=n(201);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,n(e),r,a)})),o}},function(e,t,n){var r=n(47),o=n(44);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},function(e,t,n){var r=n(52),o=n(45),a=n(12);e.exports=function(e){return function(t,n,i){var u=Object(t);if(!o(t)){var c=r(n,3);t=a(t),n=function(e){return c(u[e],e,u)}}var s=e(t,n,i);return s>-1?u[c?t[s]:s]:void 0}}},function(e,t,n){var r=n(199),o=n(52),a=n(204),i=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:a(n);return c<0&&(c=i(u+c,0)),r(e,o(t,3),c)}},,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(2),i=n.n(a),u=n(60),c=n.n(u),s=n(3),l=n.n(s),f=n(4),d=function(e,t){var n=f.g.modifyProps(e,t,"bar"),r=e=l()({},n,function(e){var t=e.polar,n=f.g.getDefaultStyles(e,"bar"),r=e.disableInlineStyles?{}:f.g.getStyles(e.style,n),o=e.range||{x:f.g.getRange(e,"x"),y:f.g.getRange(e,"y")},a={x:f.e.getDomainWithZero(e,"x"),y:f.e.getDomainWithZero(e,"y")},i={x:f.j.getBaseScale(e,"x").domain(a.x).range(e.horizontal?o.y:o.x),y:f.j.getBaseScale(e,"y").domain(a.y).range(e.horizontal?o.x:o.y)},u=t?e.origin||f.g.getPolarOrigin(e):void 0,c=f.d.getData(e);return{style:r,data:c=f.d.formatDataFromDomain(c,a,0),scale:i,domain:a,origin:u}}(n)),o=r.alignment,a=r.barRatio,i=r.cornerRadius,u=r.data,s=r.disableInlineStyles,d=r.domain,p=r.events,h=r.height,y=r.horizontal,v=r.origin,g=r.padding,m=r.polar,b=r.scale,x=r.sharedEvents,w=r.standalone,k=r.style,E=r.theme,O=r.width,C=r.labels,S=r.name,_=r.barWidth,A=r.getPath,P={parent:{horizontal:y,domain:d,scale:b,width:O,height:h,data:u,standalone:w,name:S,theme:E,polar:m,origin:v,padding:g,style:k.parent}};return u.reduce((function(t,n,r){var d=c()(n.eventKey)?r:n.eventKey,g=function(e,t){var n=function(n){var r="log"===f.j.getType(e.scale[n])?1/Number.MAX_SAFE_INTEGER:0,o=f.b.getMinValue(e.domain[n]),a=f.b.getMaxValue(e.domain[n]);return o<0&&a<=0?r=a:o>=0&&a>0&&(r=o),t["_".concat(n)]instanceof Date?new Date(r):r},r=void 0!==t._y0?t._y0:n("y"),o=void 0!==t._x0?t._x0:n("x");return f.g.scalePoint(e,l()({},t,{_y0:r,_x0:o}))}(e,n),w=g.x,E=g.y,S=g.y0,P=g.x0,T={alignment:o,barRatio:a,barWidth:_,cornerRadius:i,data:u,datum:n,disableInlineStyles:s,getPath:A,horizontal:y,index:r,polar:m,origin:v,scale:b,style:k.data,width:O,height:h,x:w,y:E,y0:S,x0:P};t[d]={data:T};var j=f.h.getText(e,n,r);return(void 0!==j&&null!==j||C&&(p||x))&&(t[d].labels=f.h.getProps(e,r)),t}),P)},p=n(19),h=n.n(p),y=n(115),v=Math.PI,g=2*v,m=1e-6,b=g-m;function x(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function w(){return new x}x.prototype=w.prototype={constructor:x,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+a)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var a=this._x1,i=this._y1,u=n-e,c=r-t,s=a-e,l=i-t,f=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>m)if(Math.abs(l*u-c*s)>m&&o){var d=n-a,p=r-i,h=u*u+c*c,y=d*d+p*p,g=Math.sqrt(h),b=Math.sqrt(f),x=o*Math.tan((v-Math.acos((h+f-y)/(2*g*b)))/2),w=x/b,k=x/g;Math.abs(w-1)>m&&(this._+="L"+(e+w*s)+","+(t+w*l)),this._+="A"+o+","+o+",0,0,"+ +(l*d>s*p)+","+(this._x1=e+k*u)+","+(this._y1=t+k*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,a){e=+e,t=+t,a=!!a;var i=(n=+n)*Math.cos(r),u=n*Math.sin(r),c=e+i,s=t+u,l=1^a,f=a?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>m||Math.abs(this._y1-s)>m)&&(this._+="L"+c+","+s),n&&(f<0&&(f=f%g+g),f>b?this._+="A"+n+","+n+",0,1,"+l+","+(e-i)+","+(t-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=s):f>m&&(this._+="A"+n+","+n+",0,"+ +(f>=v)+","+l+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var k=w,E=function(e){return function(){return e}},O=Math.abs,C=Math.atan2,S=Math.cos,_=Math.max,A=Math.min,P=Math.sin,T=Math.sqrt,j=1e-12,M=Math.PI,N=M/2,R=2*M;function L(e){return e>1?0:e<-1?M:Math.acos(e)}function D(e){return e>=1?N:e<=-1?-N:Math.asin(e)}function F(e){return e.innerRadius}function I(e){return e.outerRadius}function z(e){return e.startAngle}function U(e){return e.endAngle}function B(e){return e&&e.padAngle}function V(e,t,n,r,o,a,i,u){var c=n-e,s=r-t,l=i-o,f=u-a,d=f*c-l*s;if(!(d*d<j))return[e+(d=(l*(t-a)-f*(e-o))/d)*c,t+d*s]}function W(e,t,n,r,o,a,i){var u=e-n,c=t-r,s=(i?a:-a)/T(u*u+c*c),l=s*c,f=-s*u,d=e+l,p=t+f,h=n+l,y=r+f,v=(d+h)/2,g=(p+y)/2,m=h-d,b=y-p,x=m*m+b*b,w=o-a,k=d*y-h*p,E=(b<0?-1:1)*T(_(0,w*w*x-k*k)),O=(k*b-m*E)/x,C=(-k*m-b*E)/x,S=(k*b+m*E)/x,A=(-k*m+b*E)/x,P=O-v,j=C-g,M=S-v,N=A-g;return P*P+j*j>M*M+N*N&&(O=S,C=A),{cx:O,cy:C,x01:-l,y01:-f,x11:O*(o/w-1),y11:C*(o/w-1)}}var H=function e(t,n){return{x:t,y:n,distance:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},add:function(t){return e(this.x+t.x,this.y+t.y)},subtract:function(t){return e(this.x-t.x,this.y-t.y)},scalarMult:function(t){return e(this.x*t,this.y*t)},scalarDivide:function(t){if(0===t)throw new Error("Division by 0 error");return e(this.x/t,this.y/t)},equals:function(e){return this.x===e.x&&this.y===e.y}}},q=function(e,t){return{center:e,radius:t,hasIntersection:function(e){var t=this.center,n=e.center,r=this.radius,o=e.radius,a=t.distance(n);return!(a>r+o)&&!(a<Math.abs(r-o))},equals:function(e){var t=this.center,n=e.center;return this.radius===e.radius&&t.equals(n)},intersection:function(e){var t=this.center,n=e.center,r=this.radius,o=e.radius,a=t.distance(n);if(!this.hasIntersection(e)||this.equals(e))return[];var i=(Math.pow(r,2)-Math.pow(o,2)+Math.pow(a,2))/(2*a),u=Math.sqrt(Math.pow(r,2)-Math.pow(i,2)),c=t.add(n.subtract(t).scalarMult(i).scalarDivide(a)),s=t.x,l=t.y,f=n.x,d=n.y,p=c.x,h=c.y,y=[H(p-u*(d-l)/a,h+u*(f-s)/a),H(p+u*(d-l)/a,h-u*(f-s)/a)];return y.sort((function(e,t){return e.x-t.x})),y},solveX:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.y,2));return[this.center.x-t,this.center.x+t]},solveY:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.x,2));return[this.center.y-t,this.center.y+t]}}};function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(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 K=function(e,t){var n=e.x,r=e.x0,o=e.y,a=e.y0,i=e.horizontal,u=e.alignment||"middle",c="middle"===u?t/2:t,s=i?-1:1;return i?{x0:r,x1:n,y0:"start"===u?o:o-s*c,y1:"end"===u?o:o+s*c}:{x0:"start"===u?n:n-s*c,x1:"end"===u?n:n+s*c,y0:a,y1:o}},G=function(e,t){var n=e.data,r=e.scale,o=void 0===n[t]._x1?"_x":"_x1";return r.x(n[t][o])},Q=function(e){return-1*e+Math.PI/2},X=function(e,t){return(0,e.getPath)(function(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,t,n[t])}))}return e}({},e,K(e,t)))},Z=function(e,t,n){var r="".concat(t.topLeft," ").concat(t.topLeft," ").concat(n),o="".concat(t.topRight," ").concat(t.topRight," ").concat(n),a="".concat(t.bottomLeft," ").concat(t.bottomLeft," ").concat(n),i="".concat(t.bottomRight," ").concat(t.bottomRight," ").concat(n),u=["M","A ".concat(a,","),"L","A ".concat(r,","),"L","A ".concat(o,","),"L","A ".concat(i,",")].reduce((function(t,n,r){return t+="".concat(n," ").concat(e[r].x,", ").concat(e[r].y," \n")}),"");return"".concat(u," z")},J=function(e,t,n){var r=K(e,t),o=r.y0>r.y1?1:-1,a=o>0?"0 0 1":"0 0 0",i=function(e,t,n){var r=e.x0,o=e.x1,a=e.y0,i=e.y1,u=function(e){var u="Left"===e,c=u?1:-1,s=u?r:o,l={x:s+c*n["bottom".concat(e)],y:a},f={x:s,y:a-t*n["bottom".concat(e)]},d={x:s,y:i+t*n["top".concat(e)]},p={x:s+c*n["top".concat(e)],y:i};if(1===t?a-n["bottom".concat(e)]<i+n["top".concat(e)]:a+n["bottom".concat(e)]>i-n["top".concat(e)]){var h=H(s+c*n["top".concat(e)],i+t*n["top".concat(e)]),y=q(h,n["top".concat(e)]),v=H(s+c*n["bottom".concat(e)],a-t*n["bottom".concat(e)]),g=q(v,n["bottom".concat(e)]),m=y.intersection(g);if(m.length>0){var b=m[u?0:1];f={x:b.x,y:b.y},d={x:b.x,y:b.y}}else if(n["top".concat(e)]>n["bottom".concat(e)]){var x=y.solveX(a)[u?0:1];l={x:x,y:a},f={x:x,y:a},d={x:x,y:a}}else{var w=g.solveX(i)[u?0:1];f={x:w,y:i},d={x:w,y:i},p={x:w,y:i}}}var k=[l,f,d,p];return u?k:k.reverse()};return u("Left").concat(u("Right"))}(r,o,n);return Z(i,n,a)},ee=function(e,t,n){var r=K(e,t),o=r.x0<r.x1?1:-1,a={topRight:o>0?n.topLeft:n.bottomLeft,bottomRight:o>0?n.topRight:n.bottomRight,bottomLeft:o>0?n.bottomRight:n.topRight,topLeft:o>0?n.bottomLeft:n.topLeft},i=function(e,t,n){var r=e.y0,o=e.y1,a=e.x0<e.x1?e.x0:e.x1,i=e.x0<e.x1?e.x1:e.x0,u=function(e){var u="top"===e,c=u?-1:1,s=u?o:r,l={x:a,y:s-c*n["".concat(e,"Left")]},f={x:a+n["".concat(e,"Left")],y:s},d={x:i-n["".concat(e,"Right")],y:s},p={x:i,y:s-c*n["".concat(e,"Right")]};if(f.x>d.x){var h=H(a+n["".concat(e,"Left")],s-c*n["".concat(e,"Left")]),y=q(h,n["".concat(e,"Left")]),v=H(i-n["".concat(e,"Right")],s-c*n["".concat(e,"Right")]),g=q(v,n["".concat(e,"Right")]),m=y.intersection(g);if(m.length>0){var b=m[t>0?1:0];f={x:b.x,y:b.y},d={x:b.x,y:b.y}}else if(n["".concat(e,"Right")]>n["".concat(e,"Left")]){var x=g.solveY(a)[u?0:1];l={x:a,y:x},f={x:a,y:x},d={x:a,y:x}}else{var w=y.solveY(i)[u?0:1];p={x:i,y:w},d={x:i,y:w},f={x:i,y:w}}}return[l,f,d,p]},c=u("top"),s=u("bottom");return[s[1],s[0]].concat(Y(c),[s[3],s[2]])}(r,o,a);return Z(i,a,"0 0 1")},te=function(e,t){var n,r,o=e.datum,a=e.scale,i=e.index,u=e.alignment,c=e.style,s=a.y(o._y0||0),l=a.y(void 0!==o._y1?o._y1:o._y),f=a.x(void 0!==o._x1?o._x1:o._x);if(c.width){var d=function(e,t){var n=e.scale,r=n.y.range(),o=Math.max.apply(Math,Y(r)),a=Math.abs(n.x.range()[1]-n.x.range()[0]);return t/(2*Math.PI*o)*a}(e,c.width),p="middle"===u?d/2:d;n="start"===u?f:f-p,r="end"===u?f:f+p}else n=function(e,t){var n=e.data,r=e.scale,o=e.alignment,a=G(e,t),i=Math.abs(r.x.range()[1]-r.x.range()[0]),u=0===t?G(e,n.length-1)-2*Math.PI:G(e,t-1);return 0===t&&i<2*Math.PI?r.x.range()[0]:"start"===o||"end"===o?"start"===o?u:a:(a+u)/2}(e,i),r=function(e,t){var n=e.data,r=e.scale,o=e.alignment,a=G(e,t),i=Math.abs(r.x.range()[1]-r.x.range()[0]),u=r.x.range()[1]===2*Math.PI?G(e,0)+2*Math.PI:r.x.range()[1],c=t===n.length-1?G(e,0)+2*Math.PI:G(e,t+1);return t===n.length-1&&i<2*Math.PI?u:"start"===o||"end"===o?"start"===o?a:c:(a+c)/2}(e,i);var h=function(e){return function(){var e=F,t=I,n=E(0),r=null,o=z,a=U,i=B,u=null;function c(){var c,s,l=+e.apply(this,arguments),f=+t.apply(this,arguments),d=o.apply(this,arguments)-N,p=a.apply(this,arguments)-N,h=O(p-d),y=p>d;if(u||(u=c=k()),f<l&&(s=f,f=l,l=s),f>j)if(h>R-j)u.moveTo(f*S(d),f*P(d)),u.arc(0,0,f,d,p,!y),l>j&&(u.moveTo(l*S(p),l*P(p)),u.arc(0,0,l,p,d,y));else{var v,g,m=d,b=p,x=d,w=p,E=h,_=h,F=i.apply(this,arguments)/2,I=F>j&&(r?+r.apply(this,arguments):T(l*l+f*f)),z=A(O(f-l)/2,+n.apply(this,arguments)),U=z,B=z;if(I>j){var H=D(I/l*P(F)),q=D(I/f*P(F));(E-=2*H)>j?(x+=H*=y?1:-1,w-=H):(E=0,x=w=(d+p)/2),(_-=2*q)>j?(m+=q*=y?1:-1,b-=q):(_=0,m=b=(d+p)/2)}var $=f*S(m),Y=f*P(m),K=l*S(w),G=l*P(w);if(z>j){var Q,X=f*S(b),Z=f*P(b),J=l*S(x),ee=l*P(x);if(h<M&&(Q=V($,Y,J,ee,X,Z,K,G))){var te=$-Q[0],ne=Y-Q[1],re=X-Q[0],oe=Z-Q[1],ae=1/P(L((te*re+ne*oe)/(T(te*te+ne*ne)*T(re*re+oe*oe)))/2),ie=T(Q[0]*Q[0]+Q[1]*Q[1]);U=A(z,(l-ie)/(ae-1)),B=A(z,(f-ie)/(ae+1))}}_>j?B>j?(v=W(J,ee,$,Y,f,B,y),g=W(X,Z,K,G,f,B,y),u.moveTo(v.cx+v.x01,v.cy+v.y01),B<z?u.arc(v.cx,v.cy,B,C(v.y01,v.x01),C(g.y01,g.x01),!y):(u.arc(v.cx,v.cy,B,C(v.y01,v.x01),C(v.y11,v.x11),!y),u.arc(0,0,f,C(v.cy+v.y11,v.cx+v.x11),C(g.cy+g.y11,g.cx+g.x11),!y),u.arc(g.cx,g.cy,B,C(g.y11,g.x11),C(g.y01,g.x01),!y))):(u.moveTo($,Y),u.arc(0,0,f,m,b,!y)):u.moveTo($,Y),l>j&&E>j?U>j?(v=W(K,G,X,Z,l,-U,y),g=W($,Y,J,ee,l,-U,y),u.lineTo(v.cx+v.x01,v.cy+v.y01),U<z?u.arc(v.cx,v.cy,U,C(v.y01,v.x01),C(g.y01,g.x01),!y):(u.arc(v.cx,v.cy,U,C(v.y01,v.x01),C(v.y11,v.x11),!y),u.arc(0,0,l,C(v.cy+v.y11,v.cx+v.x11),C(g.cy+g.y11,g.cx+g.x11),y),u.arc(g.cx,g.cy,U,C(g.y11,g.x11),C(g.y01,g.x01),!y))):u.arc(0,0,l,w,x,y):u.lineTo(K,G)}else u.moveTo(0,0);if(u.closePath(),c)return u=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-M/2;return[S(r)*n,P(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"===typeof t?t:E(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"===typeof e?e:E(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"===typeof e?e:E(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:E(+e),c):r},c.startAngle=function(e){return arguments.length?(o="function"===typeof e?e:E(+e),c):o},c.endAngle=function(e){return arguments.length?(a="function"===typeof e?e:E(+e),c):a},c.padAngle=function(e){return arguments.length?(i="function"===typeof e?e:E(+e),c):i},c.context=function(e){return arguments.length?(u=null==e?null:e,c):u},c}().innerRadius(s).outerRadius(l).startAngle(Q(n)).endAngle(Q(r)).cornerRadius(t[e])()},y=function(e){var t=h("".concat(e,"Right")),n=t.match(/[A-Z]/g),r=t.split(/[A-Z]/).slice(1),o=n.indexOf("L"),a=h("".concat(e,"Left")),i=a.match(/[A-Z]/g),u=a.split(/[A-Z]/).slice(1),c=i.indexOf("L");return{rightMoves:n,rightCoords:r,rightMiddle:o,leftMoves:i,leftCoords:u,leftMiddle:c}},v=function(){var e,o,a=t.topRight,i=t.topLeft,u=l*Math.abs(r-n),c=y("top"),s=c.rightMoves,f=c.rightCoords,d=c.rightMiddle,p=c.leftMoves,h=c.leftCoords,v=c.leftMiddle;if(a===i||u<2*a+2*i)e=a>i?s:p,o=a>i?f:h;else{var g,m=function(e){return e<3},b=i>a&&m(d)?1:2;if(a>i){var x=m(d)?v:v-2;g=m(v)?v-1:x}else{var w=m(v)?1:2;g=m(d)?w:v-2}e=Y(s.slice(0,b)).concat(Y(p.slice(g))),o=Y(f.slice(0,b)).concat(Y(h.slice(g)))}var k=e.indexOf("L"),E=e.slice(0,k),O=o.slice(0,k);return E.map((function(e,t){return{command:e,coords:O[t].split(",")}}))}(),g=function(){var e,o,a=t.bottomRight,i=t.bottomLeft,u=s*Math.abs(r-n),c=y("bottom"),l=c.rightMoves,f=c.rightCoords,d=c.rightMiddle,p=c.leftMoves,h=c.leftCoords,v=c.leftMiddle;if(a===i||u<2*a+2*i)e=a>i?l:p,o=a>i?f:h;else{var g=function(e,t){return e.length-t<4},m=(a>i?g(l,d):g(p,v))?-1:-3;e=Y(p.slice(0,v+2)).concat(Y(l.slice(m))),o=Y(h.slice(0,v+2)).concat(Y(f.slice(m)))}var b=e.indexOf("L"),x=e.slice(b,-1),w=o.slice(b,-1);return x.map((function(e,t){return{command:e,coords:w[t].split(",")}}))}(),m=Y(v).concat(Y(g)).reduce((function(e,t){return e+="".concat(t.command," ").concat(t.coords.join())}),"");return"".concat(m," z")};function ne(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){re(e,t,n[t])}))}return e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe=function(e,t){var n={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0};return e?h()(e)?function(e,t){var n={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0},r=function(r,o){c()(e[r])?c()(e[o])||(n[r]=f.g.evaluateProp(e[o],t)):n[r]=f.g.evaluateProp(e[r],t)};return r("topLeft","top"),r("topRight","top"),r("bottomLeft","bottom"),r("bottomRight","bottom"),n}(e,t):(n.topLeft=f.g.evaluateProp(e,t),n.topRight=f.g.evaluateProp(e,t),n):n},ae=function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.disableInlineStyles)return{};var n={fill:"black",stroke:e.fill||"black"};return f.g.evaluateStyle(l()(n,e),t)}(e.style,e),n=function(e,t){var n=t.scale,r=t.data,o=t.defaultBarWidth,a=t.style;if(e)return f.g.evaluateProp(e,t);if(a.width)return a.width;var i=n.x.range(),u=Math.abs(i[1]-i[0]),c=r.length+2,s=(t.barRatio||.5)*(r.length<2?o:u/c);return Math.max(1,s)}(e.barWidth,l()({},e,{style:t})),r=oe(e.cornerRadius,l()({},e,{style:t,barWidth:n})),o=f.g.evaluateProp(e.ariaLabel,e),a=f.g.evaluateProp(e.desc,e),i=f.g.evaluateProp(e.id,e),u=f.g.evaluateProp(e.tabIndex,e);return l()({},e,{ariaLabel:o,style:t,barWidth:n,cornerRadius:r,desc:a,id:i,tabIndex:u})},ie=function(e){var t=e=ae(e),n=t.polar,r=t.origin,o=t.style,a=t.barWidth,u=t.cornerRadius,c=n?function(e,t){return te(e,t)}(e,u):function(e,t,n){return e.getPath?X(e,t):e.horizontal?ee(e,t,n):J(e,t,n)}(e,a,u),s=n&&r?"translate(".concat(r.x,", ").concat(r.y,")"):void 0;return i.a.cloneElement(e.pathComponent,ne({},e.events,{"aria-label":e.ariaLabel,style:o,d:c,className:e.className,clipPath:e.clipPath,desc:e.desc,index:e.index,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform||s,tabIndex:e.tabIndex}))};ie.propTypes=ne({},f.c.primitiveProps,{alignment:o.a.oneOf(["start","middle","end"]),barRatio:o.a.number,barWidth:o.a.oneOfType([o.a.number,o.a.func]),cornerRadius:o.a.oneOfType([o.a.number,o.a.func,o.a.shape({top:o.a.oneOfType([o.a.number,o.a.func]),topLeft:o.a.oneOfType([o.a.number,o.a.func]),topRight:o.a.oneOfType([o.a.number,o.a.func]),bottom:o.a.oneOfType([o.a.number,o.a.func]),bottomLeft:o.a.oneOfType([o.a.number,o.a.func]),bottomRight:o.a.oneOfType([o.a.number,o.a.func])})]),datum:o.a.object,getPath:o.a.func,horizontal:o.a.bool,pathComponent:o.a.element,width:o.a.number,x:o.a.number,y:o.a.number,y0:o.a.number}),ie.defaultProps={defaultBarWidth:8,pathComponent:i.a.createElement(y.a,null),role:"presentation",shapeRendering:"auto"};var ue=ie,ce=n(209),se=n(211),le=n(214),fe=n(212);function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(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 ye(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 ve={width:450,height:300,padding:50},ge=function(e){function t(){return pe(this,t),ye(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,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)}(t,e),n=t,(r=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,r=f.g.modifyProps(this.props,ve,n);if(this.shouldAnimate())return this.animateComponent(r,e);var o=this.renderData(r);return r.standalone?this.renderContainer(r.containerComponent,o):o}}])&&he(n.prototype,r),o&&he(n,o),t}(i.a.Component);Object.defineProperty(ge,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","style","width"]}),Object.defineProperty(ge,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBar"}),Object.defineProperty(ge,"role",{configurable:!0,enumerable:!0,writable:!0,value:"bar"}),Object.defineProperty(ge,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}}}}),Object.defineProperty(ge,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(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){de(e,t,n[t])}))}return e}({},f.c.baseProps,f.c.dataProps,{alignment:o.a.oneOf(["start","middle","end"]),barRatio:o.a.number,barWidth:o.a.oneOfType([o.a.number,o.a.func]),cornerRadius:o.a.oneOfType([o.a.number,o.a.func,o.a.shape({top:o.a.oneOfType([o.a.number,o.a.func]),topLeft:o.a.oneOfType([o.a.number,o.a.func]),topRight:o.a.oneOfType([o.a.number,o.a.func]),bottom:o.a.oneOfType([o.a.number,o.a.func]),bottomLeft:o.a.oneOfType([o.a.number,o.a.func]),bottomRight:o.a.oneOfType([o.a.number,o.a.func])})]),getPath:o.a.func,horizontal:o.a.bool})}),Object.defineProperty(ge,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:i.a.createElement(ce.a,null),data:[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],dataComponent:i.a.createElement(ue,null),groupComponent:i.a.createElement("g",{role:"presentation"}),labelComponent:i.a.createElement(se.a,null),samples:50,sortOrder:"ascending",standalone:!0,theme:le.a.grayscale}}),Object.defineProperty(ge,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:f.e.getDomainWithZero}),Object.defineProperty(ge,"getData",{configurable:!0,enumerable:!0,writable:!0,value:f.d.getData}),Object.defineProperty(ge,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return d(e,ve)}}),Object.defineProperty(ge,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]});t.a=Object(fe.a)(ge)},function(e,t,n){"use strict";var r=n(51);function o(e,t,n,r,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*n+(1+3*e+3*a-3*i)*r+i*o)/6}var a=n(50),i=function e(t){var n=Object(a.b)(t);function o(e,t){var o=n((e=Object(r.f)(e)).r,(t=Object(r.f)(t)).r),i=n(e.g,t.g),u=n(e.b,t.b),c=Object(a.a)(e.opacity,t.opacity);return function(t){return e.r=o(t),e.g=i(t),e.b=u(t),e.opacity=c(t),e+""}}return o.gamma=e,o}(1);function u(e){return function(t){var n,o,a=t.length,i=new Array(a),u=new Array(a),c=new Array(a);for(n=0;n<a;++n)o=Object(r.f)(t[n]),i[n]=o.r||0,u[n]=o.g||0,c[n]=o.b||0;return i=e(i),u=e(u),c=e(c),o.opacity=1,function(e){return o.r=i(e),o.g=u(e),o.b=c(e),o+""}}}u((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],i=e[r+1],u=r>0?e[r-1]:2*a-i,c=r<t-1?e[r+2]:2*i-a;return o((n-r/t)*t,u,a,i,c)}})),u((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],i=e[r%t],u=e[(r+1)%t],c=e[(r+2)%t];return o((n-r/t)*t,a,i,u,c)}}));var c=function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(a){for(n=0;n<r;++n)o[n]=e[n]*(1-a)+t[n]*a;return o}};function s(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function l(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,a=new Array(o),i=new Array(r);for(n=0;n<o;++n)a[n]=m(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<o;++n)i[n]=a[n](e);return i}}var f=function(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}},d=n(93),p=function(e,t){var n,r={},o={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=m(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}},h=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,y=new RegExp(h.source,"g");var v=function(e,t){var n,r,o,a=h.lastIndex=y.lastIndex=0,i=-1,u=[],c=[];for(e+="",t+="";(n=h.exec(e))&&(r=y.exec(t));)(o=r.index)>a&&(o=t.slice(a,o),u[i]?u[i]+=o:u[++i]=o),(n=n[0])===(r=r[0])?u[i]?u[i]+=r:u[++i]=r:(u[++i]=null,c.push({i:i,x:Object(d.a)(n,r)})),a=y.lastIndex;return a<t.length&&(o=t.slice(a),u[i]?u[i]+=o:u[++i]=o),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})},g=n(76),m=t.a=function(e,t){var n,o=typeof t;return null==t||"boolean"===o?Object(g.a)(t):("number"===o?d.a:"string"===o?(n=Object(r.e)(t))?(t=n,i):v:t instanceof r.e?i:t instanceof Date?f:s(t)?c:Array.isArray(t)?l:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?p:d.a)(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return we}));var r=n(17),o=n.n(r),a=n(3),i=n.n(a),u=n(6),c=n.n(u),s=n(0),l=n.n(s),f=n(2),d=n.n(f),p=n(184),h=n(4),y=n(208),v=n(209),g=n(214),m=n(77),b=n.n(m),x=n(12),w=n.n(x),k=n(227),E=n.n(k),O=n(9),C=n.n(O),S=n(54),_=n(32),A=n.n(_),P=n(228),T=n.n(P);function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(c){o=!0,a=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function M(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 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 R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var L=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?R(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state=n.state||{},n.getScopedEvents=h.f.getScopedEvents.bind(R(n)),n.getEventState=h.f.getEventState.bind(R(n)),n.baseProps=n.getBaseProps(e),n.sharedEventsCache={},n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n}var n,r,a;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:"shouldComponentUpdate",value:function(e){if(!A()(this.props,e)){this.baseProps=this.getBaseProps(e);var t=this.getExternalMutations(e,this.baseProps);this.applyExternalMutations(e,t)}return!0}},{key:"componentDidMount",value:function(){var e=this,t=w()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(){var e=this,t=w()(this.globalEvents);b()(this.prevGlobalEventKeys,t).forEach((function(t){return e.removeGlobalListener(t)})),b()(t,this.prevGlobalEventKeys).forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var r=t.globalEvents[e];return r&&r(h.f.emulateReactEvent(n))};this.boundGlobalEvents[e]=n,window.addEventListener(h.f.getGlobalEventNameFromKey(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(h.f.getGlobalEventNameFromKey(e),this.boundGlobalEvents[e])}},{key:"getAllEvents",value:function(e){var t=h.f.getComponentEvents(e,["container","groupComponent"]);return Array.isArray(t)?Array.isArray(e.events)?t.concat.apply(t,M(e.events)):t:e.events}},{key:"applyExternalMutations",value:function(e,t){if(!o()(t)){var n=e.externalEventMutations.reduce((function(e,t){return e=C()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getExternalMutations",value:function(e,t){return o()(e.externalEventMutations)?void 0:h.f.getExternalMutationsWithChildren(e.externalEventMutations,t,this.state,w()(t))}},{key:"cacheSharedEvents",value:function(e,t,n){this.sharedEventsCache[e]=[t,n]}},{key:"getCachedSharedEvents",value:function(e,t){var n=j(this.sharedEventsCache[e]||[],2),r=n[0],o=n[1];if(r&&A()(t,o))return r}},{key:"getBaseProps",value:function(e){var t=e.container,n=d.a.Children.toArray(this.props.children),r=this.getBasePropsFromChildren(n),o=t?t.props:{};return i()({},r,{parent:o})}},{key:"getBasePropsFromChildren",value:function(e){var t=h.g.reduceChildren(e,(function(e,t){if(e.type&&C()(e.type.getBaseProps)){var n=e.props&&e.type.getBaseProps(e.props);return n?[[t,n]]:null}return null}));return E()(t)}},{key:"getNewChildren",value:function(e,t){var n=this,r=e.events,o=e.eventKey,a=w()(t);return function e(a,u){return a.reduce((function(a,c,s){if(c.props.children){var l=d.a.Children.toArray(c.props.children),f=u.slice(s,s+l.length),p=d.a.cloneElement(c,c.props,e(l,f));return a.concat(p)}if("parent"!==u[s]&&c.type&&C()(c.type.getBaseProps)){var h=c.props.name||u[s],y=Array.isArray(r)&&r.filter((function(e){return"parent"!==e.target&&(Array.isArray(e.childName)?e.childName.indexOf(h)>-1:e.childName===h||"all"===e.childName)})),v=[h,t,y,T()(n.state[h])],g=n.getCachedSharedEvents(h,v)||{events:y,getEvents:function(e,r){return n.getScopedEvents(e,r,h,t)},getEventState:function(e,t){return n.getEventState(e,t,h)}};return n.cacheSharedEvents(h,g,v),a.concat(d.a.cloneElement(c,i()({key:"events-".concat(h),sharedEvents:g,eventKey:o,name:h},c.props)))}return a.concat(c)}),[])}(d.a.Children.toArray(e.children),a)}},{key:"getContainer",value:function(e,t,n){var r=this,o=this.getNewChildren(e,t),a=Array.isArray(n)&&n.filter((function(e){return"parent"===e.target})),u=a.length>0?{events:a,getEvents:function(e,n){return r.getScopedEvents(e,n,null,t)},getEventState:this.getEventState}:null,s=e.container||e.groupComponent,l=s.type&&s.type.role,f=s.props||{},p=h.f.getEvents.bind(this),y=u&&p({sharedEvents:u},"parent"),v=c()({},this.getEventState("parent","parent"),f,t.parent,{children:o}),g=c()({},h.f.getPartialEvents(y,"parent",v),f.events);this.globalEvents=h.f.getGlobalEvents(g);var m=h.f.omitGlobalEvents(g);return"container"===l?d.a.cloneElement(s,i()({},v,{events:m})):d.a.cloneElement(s,m,o)}},{key:"render",value:function(){var e=this.getAllEvents(this.props);return e?this.getContainer(this.props,this.baseProps,e):d.a.cloneElement(this.props.container,{children:this.props.children})}}])&&N(n.prototype,r),a&&N(n,a),t}(d.a.Component);Object.defineProperty(L,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySharedEvents"}),Object.defineProperty(L,"role",{configurable:!0,enumerable:!0,writable:!0,value:"shared-event-wrapper"}),Object.defineProperty(L,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node]),container:l.a.node,eventKey:l.a.oneOfType([l.a.array,l.a.func,h.i.allOfType([h.i.integer,h.i.nonNegative]),l.a.string]),events:l.a.arrayOf(l.a.shape({childName:l.a.oneOfType([l.a.string,l.a.array]),eventHandlers:l.a.object,eventKey:l.a.oneOfType([l.a.array,l.a.func,h.i.allOfType([h.i.integer,h.i.nonNegative]),l.a.string]),target:l.a.string})),externalEventMutations:l.a.arrayOf(l.a.shape({callback:l.a.function,childName:l.a.oneOfType([l.a.string,l.a.array]),eventKey:l.a.oneOfType([l.a.array,h.i.allOfType([h.i.integer,h.i.nonNegative]),l.a.string]),mutation:l.a.function,target:l.a.oneOfType([l.a.string,l.a.array])})),groupComponent:l.a.node}}),Object.defineProperty(L,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d.a.createElement("g",null)}}),Object.defineProperty(L,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:S.a});var D=n(429),F=n(210),I=n(211),z=n(213),U=n(212),B=n(117),V=n.n(B),W=function(e,t,n){return"x"===n?e*Math.cos(t):-e*Math.sin(t)},H=function(e){var t=e.dependentAxis?"radial":"angular",n="angular"===t?"radial":"angular";return e.horizontal?n:t},q=function(e,t){return{tickStyle:h.g.evaluateStyle(e.ticks,t),labelStyle:h.g.evaluateStyle(e.tickLabels,t),gridStyle:h.g.evaluateStyle(e.grid,t)}},$=function(e){var t=h.g.getPadding(e),n=t.left,r=t.right,o=t.top,a=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-o-a)/2},Y=function(e,t){if(e.range&&e.range[t])return e.range[t];if(e.range&&Array.isArray(e.range))return e.range;if("angular"===H(e))return[h.g.degreesToRadians(e.startAngle),h.g.degreesToRadians(e.endAngle)];var n=$(e);return[e.innerRadius||0,n]},K=function(e){var t=h.a.getAxis(e),n=h.j.getBaseScale(e,t),r=h.a.getDomain(e,t)||n.domain(),o=Y(e,t);return n.range(o),n.domain(r),n},G=function(e,t){if(e.disableInlineStyles)return{};var n=e.style||{};t=t||{};return{parent:c()({height:"auto",width:"100%"},n.parent,t.parent),axis:c()({},n.axis,t.axis),axisLabel:c()({},n.axisLabel,t.axisLabel),grid:c()({},n.grid,t.grid),ticks:c()({},n.ticks,t.ticks),tickLabels:c()({},n.tickLabels,t.tickLabels)}},Q=function(e){var t=e.axisAngle,n=e.startAngle,r=e.dependentAxis,o=h.a.getAxis(e),a=h.a.getAxisValue(e,o);return void 0!==a&&r?h.g.radiansToDegrees(a):void 0===t?n:t},X=function(e,t,n,r){var o=t.axisType,a=t.radius,i=t.scale,u=t.style,c=t.stringTicks,s=t.ticks,l=t.tickFormat,f=t.origin,d=l(n,r,s),p=c?c[r]:n,y=q(u,{tick:p,tickValue:n,index:r,ticks:s,stringTicks:c,radius:a,scale:i,axisType:o,text:d}).tickStyle,v="radial"===o?Q(e):void 0,g=y.padding||y.size||0,m=h.g.degreesToRadians(90-v),b="angular"===o?i(n):h.g.degreesToRadians(-1*v),x="angular"===o?a:i(n);return"angular"===o?{index:r,datum:p,style:y,x1:W(x,b,"x")+f.x,y1:W(x,b,"y")+f.y,x2:W(x+g,b,"x")+f.x,y2:W(x+g,b,"y")+f.y}:{index:r,datum:p,style:y,x1:x*Math.cos(b)+Math.cos(m)*g+f.x,x2:x*Math.cos(b)-Math.cos(m)*g+f.x,y1:x*Math.sin(b)+Math.sin(m)*g+f.y,y2:x*Math.sin(b)-Math.sin(m)*g+f.y}},Z=function(e,t,n,r){var o=t.axisType,a=t.radius,u=t.tickFormat,c=t.style,s=t.scale,l=t.ticks,f=t.stringTicks,d=t.origin,p=u(n,r,l),y=f?f[r]:n,v=q(c,{text:p,tick:y,tickValue:n,index:r,ticks:l,stringTicks:f,radius:a,scale:s,axisType:o}).labelStyle,g=e.tickLabelComponent,m=g.props&&g.props.labelPlacement?g.props.labelPlacement:e.labelPlacement,b=v.padding||0,x="radial"===o?Q(e):void 0,w="angular"===o?h.g.radiansToDegrees(s(n)):x+0,k=void 0===v.angle?h.h.getPolarAngle(i()({},e,{labelPlacement:m}),w):v.angle,E="angular"===o?a+b:s(n);return{index:r,datum:y,style:v,angle:k,textAnchor:v.textAnchor||h.h.getPolarTextAnchor(i()({},e,{labelPlacement:m}),w),text:p,x:E*Math.cos(h.g.degreesToRadians(w))+d.x,y:-E*Math.sin(h.g.degreesToRadians(w))+d.y}},J=function(e,t,n,r){var o=t.axisType,a=t.radius,i=t.style,u=t.scale,c=t.stringTicks,s=t.ticks,l=t.tickFormat,f=t.origin,d=l(n,r,s),p=e.startAngle,h=e.endAngle,y=e.innerRadius,v=void 0===y?0:y,g=c?c[r]:n,m=q(i,{tick:g,tickValue:n,index:r,ticks:s,stringTicks:c,radius:a,scale:u,axisType:o,text:d}).gridStyle,b=u(n);return"angular"===o?{index:r,datum:g,style:m,x1:W(a,b,"x")+f.x,y1:W(a,b,"y")+f.y,x2:W(v,b,"x")+f.x,y2:W(v,b,"y")+f.y}:{style:m,index:r,datum:g,cx:f.x,cy:f.y,r:u(n),startAngle:p,endAngle:h}},ee=function(e){var t=function(e){var t=e.theme,n=void 0===t?{}:t,r=e.dependentAxis,o=n.polarAxis&&n.polarAxis.style||n.axis&&n.axis.style,a=r?"polarDependentAxis":"polarIndependentAxis",i=r?"dependentAxis":"independentAxis",u=n[a]&&n[a].style||n[i]&&n[i].style;return o&&u?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=c()({},u[t],o[t]),e}),{}):u||o}(e=i()({polar:!0},e)),n=G(e,t),r=h.g.getPadding(e),o=h.a.getAxis(e),a=H(e),u=h.a.stringTicks(e)?e.tickValues:void 0,s=h.a.getDomain(e,o),l=Y(e,o),f=K(e),d=h.a.getTicks(e,f),p="angular"===a?function(e,t){return V()(e,(function(e){return t(e)%(2*Math.PI)}))}(d,f):d;return{axis:o,style:n,padding:r,stringTicks:u,axisType:a,scale:f,ticks:p,tickFormat:h.a.getTickFormat(e,f),domain:s,range:l,radius:$(e),origin:h.g.getPolarOrigin(e)}},te=function(e,t){e=h.a.modifyProps(e,t);var n=ee(e),r=n.style,o=n.scale,a=n.ticks,u=n.domain,c=e,s=c.width,l=c.height,f=c.standalone,d=c.theme,p=c.name,y=function(e,t){var n=t.style,r=t.axisType,o=t.radius,a=(t.scale,t.origin),i=e.startAngle,u=e.endAngle,c=e.innerRadius,s=void 0===c?0:c,l="radial"===r?h.g.degreesToRadians(Q(e)):void 0;return"radial"===r?{style:n.axis,x1:W(s,l,"x")+a.x,x2:W(o,l,"x")+a.x,y1:W(s,l,"y")+a.y,y2:W(o,l,"y")+a.y}:{style:n.axis,cx:a.x,cy:a.y,r:o,startAngle:i,endAngle:u}}(e,n),v=function(e,t){var n=t.axisType,r=t.radius,o=t.style,a=(t.scale,t.origin),u=e.axisLabelComponent;if("radial"!==n)return{};var c=u.props&&u.props.labelPlacement?u.props.labelPlacement:e.labelPlacement,s=o&&o.axisLabel||{},l="radial"===n?Q(e):void 0,f=void 0===s.angle?h.h.getPolarAngle(i()({},e,{labelPlacement:c}),l):s.angle,d=r+(s.padding||0);return{style:s,angle:f,textAnchor:s.textAnchor||h.h.getPolarTextAnchor(i()({},e,{labelPlacement:c}),l),verticalAnchor:s.verticalAnchor||h.h.getPolarVerticalAnchor(i()({},e,{labelPlacement:c}),l),text:e.label,x:W(d,h.g.degreesToRadians(l),"x")+a.x,y:W(d,h.g.degreesToRadians(l),"y")+a.y}}(e,n),g={parent:{style:r.parent,ticks:a,scale:o,width:s,height:l,domain:u,standalone:f,theme:d,name:p}};return a.reduce((function(t,r,o){return t[o]={axis:y,axisLabel:v,ticks:X(e,n,r,o),tickLabels:Z(e,n,r,o),grid:J(e,n,r,o)},t}),g)};function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(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 oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(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 ie(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 ue={width:450,height:300,padding:50},ce=function(e){function t(){return oe(this,t),ie(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r,a;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:"renderAxisLine",value:function(e){var t=e.dependentAxis?e.axisComponent:e.circularAxisComponent,n=this.getComponentProps(t,"axis",0);return d.a.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent,n=e.dependentAxis;if(!e.label||!n)return null;var r=this.getComponentProps(t,"axisLabel",0);return d.a.cloneElement(t,r)}},{key:"renderAxis",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.name,u=function(e){var t=e.style,n=void 0===t?{}:t,r=e.events,a=void 0===r?{}:r;return"transparent"!==n.stroke&&"none"!==n.stroke&&0!==n.strokeWidth||!o()(a)},c="radial"===(e.dependentAxis?"radial":"angular")?e.circularGridComponent:e.gridComponent,s=this.dataKeys.map((function(e,r){var o=i()({key:"".concat(a,"-tick-").concat(e)},t.getComponentProps(n,"ticks",r)),c=d.a.cloneElement(n,o);return u(c.props)?c:void 0})).filter(Boolean),l=this.dataKeys.map((function(e,n){var r=i()({key:"".concat(a,"-grid-").concat(e)},t.getComponentProps(c,"grid",n)),o=d.a.cloneElement(c,r);return u(o.props)?o:void 0})).filter(Boolean),f=this.dataKeys.map((function(e,n){var o=i()({key:"".concat(a,"-tick-").concat(e)},t.getComponentProps(r,"tickLabels",n));return d.a.cloneElement(r,o)})),p=[this.renderAxisLine(e),this.renderLabel(e)].concat(re(s),re(l),re(f));return this.renderGroup(e,p)}},{key:"renderGroup",value:function(e,t){var n=e.groupComponent;return d.a.cloneElement(n,{},t)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=h.a.modifyProps(this.props,ue);if(this.shouldAnimate())return this.animateComponent(n,e);var r=this.renderAxis(n);return n.standalone?this.renderContainer(n.containerComponent,r):r}}])&&ae(n.prototype,r),a&&ae(n,a),t}(d.a.Component);Object.defineProperty(ce,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","padding","width","height"]}),Object.defineProperty(ce,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(ce,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(ce,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(ce,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(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){ne(e,t,n[t])}))}return e}({},h.c.baseProps,{axisAngle:l.a.number,axisComponent:l.a.element,axisLabelComponent:l.a.element,axisValue:l.a.oneOfType([l.a.number,l.a.string,l.a.object]),categories:l.a.oneOfType([l.a.arrayOf(l.a.string),l.a.shape({x:l.a.arrayOf(l.a.string),y:l.a.arrayOf(l.a.string)})]),circularAxisComponent:l.a.element,circularGridComponent:l.a.element,containerComponent:l.a.element,dependentAxis:l.a.bool,disableInlineStyles:l.a.bool,endAngle:l.a.number,events:l.a.arrayOf(l.a.shape({target:l.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:l.a.oneOfType([l.a.array,h.i.allOfType([h.i.integer,h.i.nonNegative]),l.a.string]),eventHandlers:l.a.object})),gridComponent:l.a.element,innerRadius:h.i.nonNegative,labelPlacement:l.a.oneOf(["parallel","perpendicular","vertical"]),startAngle:l.a.number,stringMap:l.a.object,style:l.a.shape({parent:l.a.object,axis:l.a.object,axisLabel:l.a.object,grid:l.a.object,ticks:l.a.object,tickLabels:l.a.object}),tickComponent:l.a.element,tickCount:h.i.allOfType([h.i.integer,h.i.greaterThanZero]),tickFormat:l.a.oneOfType([l.a.func,h.i.homogeneousArray]),tickLabelComponent:l.a.element,tickValues:h.i.homogeneousArray})}),Object.defineProperty(ce,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:d.a.createElement(F.a,null),axisLabelComponent:d.a.createElement(I.a,null),circularAxisComponent:d.a.createElement(z.a,null),circularGridComponent:d.a.createElement(z.a,null),containerComponent:d.a.createElement(v.a,null),endAngle:360,gridComponent:d.a.createElement(F.a,null),groupComponent:d.a.createElement("g",{role:"presentation"}),labelPlacement:"parallel",startAngle:0,standalone:!0,theme:g.a.grayscale,tickComponent:d.a.createElement(F.a,null),tickLabelComponent:d.a.createElement(I.a,null)}}),Object.defineProperty(ce,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:h.a.getDomain}),Object.defineProperty(ce,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:h.a.getAxis}),Object.defineProperty(ce,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:K}),Object.defineProperty(ce,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return G(e,ue.style)}}),Object.defineProperty(ce,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return te(e,ue)}}),Object.defineProperty(ce,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","circularAxisComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent","circularGridComponent"]});var se=Object(U.a)(ce,{components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]});function le(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 fe={width:450,height:300,padding:50};function de(e,t){var n=function(e){var t=e.style&&e.style.parent;return{parent:c()({},t,{height:"100%",width:"100%",userSelect:"none"})}}(e),r=e=h.g.modifyProps(e,fe,"chart"),o=r.horizontal,a=r.polar,u=p.a.getStringsFromChildren(e,t),s=p.a.getCategories(e,t,u),l=ve(e,t,u),f={x:ye(i()({},e,{categories:s}),"x",t),y:ye(i()({},e,{categories:s}),"y",t)},d={x:h.g.getRange(e,"x"),y:h.g.getRange(e,"y")},y={x:h.j.getScaleFromProps(e,"x")||p.a.getScale(e,"x"),y:h.j.getScaleFromProps(e,"y")||p.a.getScale(e,"y")};return{categories:s,domain:f,range:d,horizontal:o,scale:{x:y.x.domain(f.x).range(o?d.y:d.x),y:y.y.domain(f.y).range(o?d.x:d.y)},stringMap:l,style:n,origin:a?h.g.getPolarOrigin(e):h.a.getOrigin(f),padding:h.g.getPadding(e)}}function pe(e,t,n){t=t||he(e);var r=(n=n||de(e,t)).style.parent,o=e.height,a=e.polar,i=e.theme,u=e.width,s=n,l=s.origin,f=s.horizontal,p=e.name||"chart";return t.map((function(t,s){var y=t.type&&t.type.role,v=Array.isArray(t.props.style)?t.props.style:c()({},t.props.style,{parent:r}),g=function(e,t,n){var r=h.a.findAxisComponents([e]);return r.length>0?function(e,t,n){var r=n.domain,o=n.scale,a=n.stringMap,i=n.categories;return{stringMap:a,horizontal:n.horizontal,categories:i,startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,domain:r,scale:o}}(r[0],t,n):{categories:n.categories,domain:n.domain,range:n.range,scale:n.scale,stringMap:n.stringMap,horizontal:n.horizontal}}(t,e,n),m=t.props.name||"".concat(p,"-").concat(y,"-").concat(s),b=c()({horizontal:f,height:o,polar:a,theme:i,width:u,style:v,name:m,origin:a?l:void 0,padding:n.padding,key:"".concat(m,"-key-").concat(s),standalone:!1},g);return d.a.cloneElement(t,b)}))}var he=function(e,t){var n=d.a.Children.toArray(e.children),r=le(n);if(0===n.length)r.push(t.independent,t.dependent);else{var o={dependent:h.a.getAxisComponentsWithParent(n,"dependent"),independent:h.a.getAxisComponentsWithParent(n,"independent")};0===o.dependent.length&&0===o.independent.length&&(r=e.prependDefaultAxes?[t.independent,t.dependent].concat(r):r.concat([t.independent,t.dependent]))}return r},ye=function(e,t,n){n=n||d.a.Children.toArray(e.children);var r=p.a.getDomain(e,t,n),o=h.a.getAxisComponent(n,t);return o&&o.props&&o.props.invertAxis?r.concat().reverse():r},ve=function(e,t,n){return{x:n.x&&0!==n.x.length?n.x.reduce((function(e,t,n){return e[t]=n+1,e}),{}):null,y:n.y&&0!==n.y.length?n.y.reduce((function(e,t,n){return e[t]=n+1,e}),{}):null}};function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(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 be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var xe={width:450,height:300,padding:50},we=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?be(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state={},e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=p.a.setAnimationState.bind(be(n))),n}var n,r,a;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:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!A()(this.props,e))||(this.setAnimationState(this.props,e),!1)}},{key:"getNewChildren",value:function(e,t,n){var r=pe(e,t,n),o=p.a.getAnimationProps.bind(this),a=r.map((function(t,n){var r=i()({animate:o(e,t,n)},t.props);return d.a.cloneElement(t,r)}));if(e.style&&e.style.background){var u=function(e,t){var n=e.backgroundComponent,r=e.polar?t.range.y[1]:t.range.y[0]-t.range.y[1],o=t.range.x[1]-t.range.x[0],a=e.horizontal?t.scale.y.range()[0]:t.scale.x.range()[0],i=e.horizontal?t.scale.x.range()[1]:t.scale.y.range()[1],u=e.polar?t.origin.x:a,s=e.polar?t.origin.y:i,l=e.name||"chart",f={height:r,polar:e.polar,scale:t.scale,style:e.style.background,x:u,y:s,key:"".concat(l,"-background"),width:o};return d.a.cloneElement(n,c()({},n.props,f))}(e,n);a.unshift(u)}return a}},{key:"renderContainer",value:function(e,t){var n=c()({},e.props,t);return d.a.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,r=e.height,o=e.standalone,a=e.theme,i=e.polar,u=e.name,c=t.domain,s=t.scale,l=t.style,f=t.origin,d=t.radius,p=t.horizontal;return{domain:c,scale:s,width:n,height:r,standalone:o,theme:a,style:l.parent,horizontal:p,name:u,polar:i,radius:d,origin:i?f:void 0}}},{key:"render",value:function(){var e=this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props,t=h.g.modifyProps(e,xe,"chart"),n=t.eventKey,r=t.containerComponent,a=t.groupComponent,i=t.standalone,u=t.externalEventMutations,c=e.polar?t.defaultPolarAxes:t.defaultAxes,s=he(t,c),l=de(t,s),f=this.getNewChildren(t,s,l),y=i?this.getContainerProps(t,l):{},v=i?this.renderContainer(r,y):a,g=p.a.getAllEvents(e);return o()(g)?d.a.cloneElement(v,v.props,f):d.a.createElement(L,{container:v,eventKey:n,events:g,externalEventMutations:u},f)}}])&&me(n.prototype,r),a&&me(n,a),t}(d.a.Component);Object.defineProperty(we,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryChart"}),Object.defineProperty(we,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(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){ge(e,t,n[t])}))}return e}({},h.c.baseProps,{backgroundComponent:l.a.element,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node]),defaultAxes:l.a.shape({independent:l.a.element,dependent:l.a.element}),defaultPolarAxes:l.a.shape({independent:l.a.element,dependent:l.a.element}),endAngle:l.a.number,innerRadius:h.i.nonNegative,prependDefaultAxes:l.a.bool,startAngle:l.a.number})}),Object.defineProperty(we,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{backgroundComponent:d.a.createElement(y.a,null),containerComponent:d.a.createElement(v.a,null),defaultAxes:{independent:d.a.createElement(D.a,null),dependent:d.a.createElement(D.a,{dependentAxis:!0})},defaultPolarAxes:{independent:d.a.createElement(se,null),dependent:d.a.createElement(se,{dependentAxis:!0})},groupComponent:d.a.createElement("g",null),standalone:!0,theme:g.a.grayscale}}),Object.defineProperty(we,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent"]})},function(e,t,n){"use strict";var r=n(17),o=n.n(r),a=n(3),i=n.n(a),u=n(0),c=n.n(u),s=n(2),l=n.n(s),f=n(4),d=n(210),p=n(211),h=n(214),y=n(209),v=n(212),g=n(6),m=n.n(g);function b(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 x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w={top:-1,left:-1,right:1,bottom:1},k=function(e){return null!==e&&void 0!==e},E=function(e,t){var n=e.style||{};t=t||{};return{parent:m()(n.parent,t.parent,{height:"100%",width:"100%"}),axis:m()({},n.axis,t.axis),axisLabel:m()({},n.axisLabel,t.axisLabel),grid:m()({},n.grid,t.grid),ticks:m()({},n.ticks,t.ticks),tickLabels:m()({},n.tickLabels,t.tickLabels)}},O=function(e,t,n){var r=e.position,o=e.transform;return{x1:o.x,y1:o.y,x2:o.x+r.x2,y2:o.y+r.y2,style:t,datum:n}},C=function(e,t,n,r,o){var a=e.position,i=e.transform;return{style:t,x:i.x+a.x,y:i.y+a.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:o,datum:r}},S=function(e,t,n){var r=e.edge,o=e.transform;return{x1:o.x,y1:o.y,x2:r.x+o.x,y2:r.y+o.y,style:t,datum:n}},_=function(e,t,n){var r=t||"positive";return n?{positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}}[r][e]:{positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}}[r][e]},A=function(e,t,n){var r=t.orientation,o=t.axis,a=f.a.getAxisValue(e,o);return{top:{x:0,y:void 0!==a?a:n.y},bottom:{x:0,y:void 0!==a?a:e.height-n.y},left:{x:void 0!==a?a:n.x,y:0},right:{x:void 0!==a?a:e.width-n.x,y:0}}[r]},P=function(e,t,n){var r=e.tickStyle,o=e.labelStyle,a=r.size||0,i=a+(r.padding||0)+(o.padding||0),u=w[t];return{x:n?u*i:0,x2:n?u*a:0,y:n?0:u*i,y2:n?0:u*a}},T=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},j=function(e,t){var n=t.orientation,r=t.padding,o=t.isVertical,a=-w[n];return{x:o?a*(e.width-(r.left+r.right)):0,y:o?0:a*(e.height-(r.top+r.bottom))}},M=function(e,t){var n=e.padding,r=e.orientation,o=e.crossAxis,a="right"===r?n.right:n.left,i="top"===r?n.top:n.bottom;return{x:o?t.x-a:0,y:o?t.y-i:0}},N=function(e,t){var n;return n=t.domain.x&&t.domain.y?e.horizontal?function(e,t){var n=t.scale,r=t.origin,o=t.orientation,a=t.orientations,i=t.domain,u=t.padding,c=u.top,s=u.bottom,l=u.left,f=u.right,d="bottom"===o||"top"===o?o:a.x,p="left"===o||"right"===o?o:a.y,h={x:"bottom"===d?s:c,y:"left"===p?l:f},y="left"===p?0:e.width,v="bottom"===d?e.height:0,g=r.x===i.x[0]||r.x===i.x[1]?0:n.x(r.x),m=r.y===i.y[0]||r.y===i.y[1]?0:n.y(r.y),b=g?Math.abs(v-g):h.x,x=m?Math.abs(y-m):h.y;return{x:k(e.offsetX)?e.offsetX:x,y:k(e.offsetY)?e.offsetY:b}}(e,t):function(e,t){var n=t.scale,r=t.origin,o=t.orientation,a=t.orientations,i=t.domain,u=t.padding,c=u.top,s=u.bottom,l=u.left,f=u.right,d="bottom"===o||"top"===o?o:a.x,p="left"===o||"right"===o?o:a.y,h={x:"left"===p?l:f,y:"bottom"===d?s:c},y="left"===p?0:e.width,v="bottom"===d?e.height:0,g=r.x===i.x[0]||r.x===i.x[1]?0:n.x(r.x),m=r.y===i.y[0]||r.y===i.y[1]?0:n.y(r.y),b=g?Math.abs(y-g):h.x,x=m?Math.abs(v-m):h.y;return{x:k(e.offsetX)?e.offsetX:b,y:k(e.offsetY)?e.offsetY:x}}(e,t):function(e,t){var n=t.style,r=t.scale,o=t.orientation,a=t.padding,u=t.axis,c=t.ticks,s=t.stringTicks,l=t.isVertical,d=t.labelPadding,p=e.polar,h=e.horizontal,y={scale:x({},u,r),polar:p,horizontal:h,ticks:c,stringTicks:s},v="right"===o?a.right:a.left,g="top"===o?a.top:a.bottom,m=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:v,w=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:g,k=n.axisLabel.fontSize||14,E=c.map((function(t,r){var o=s?e.tickValues[t-1]:t;return f.g.evaluateStyle(n.ticks,i()({},y,{tick:o,index:r})).size||0})),O=k+2*Math.max.apply(Math,b(E))+d,C=1.2*k;return{x:null!==m&&void 0!==m?m:l?O:C,y:null!==w&&void 0!==w?w:l?C:O}}(e,t),{globalTransform:A(e,t,n),gridOffset:M(t,n),gridEdge:j(e,t)}},R=function(e){var t=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,o=n?"dependentAxis":"independentAxis",a=t&&t[o]&&t[o].style;return r&&a?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=m()({},a[t],r[t]),e}),{}):a||r}(e),n=E(e,t),r=f.g.getPadding(e),o=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=f.a.isVertical(e),o=n.fontSize||14;return e.label?o*(r?2.3:1.6):0}(e,n),a=f.a.stringTicks(e)?e.tickValues:void 0,i=f.a.getAxis(e),u=f.a.getDomain(e),c=function(e){var t=f.a.getAxis(e),n=function(e,t){var n=e.orientation,r=e.horizontal;return n?{top:"x",bottom:"x",left:"y",right:"y"}[n]:r?"x"===t?"y":"x":t}(e,t),r=f.j.getBaseScale(e,t),o=e.domain&&e.domain[t]||f.a.getDomain(e)||r.domain();return r.range(f.g.getRange(e,n)),r.domain(o),r}(e),s="x"===i?u:void 0,l="y"===i?u:void 0,d="x"===i?c:void 0,p="y"===i?c:void 0,h=!1!==e.crossAxis&&!0!==e.standalone,y=f.a.getTicks(e,c,h),v=f.a.getTickFormat(e,c),g={x:f.g.getRange(e,"x"),y:f.g.getRange(e,"y")},b={x:e.domain&&e.domain.x?e.domain.x:s,y:e.domain&&e.domain.y?e.domain.y:l},x={x:e.domain&&e.domain.x?f.j.getBaseScale(e,"x").domain(e.domain.x).range(e.horizontal?g.y:g.x):d,y:e.domain&&e.domain.y?f.j.getBaseScale(e,"y").domain(e.domain.y).range(e.horizontal?g.x:g.y):p},w=b.x&&b.y?f.a.getOrigin(b):void 0,k=w?{x:f.a.getOriginSign(w.x,b.x),y:f.a.getOriginSign(w.y,b.y)}:void 0,O=k?{x:_("x",k.y,e.horizontal),y:_("y",k.x,e.horizontal)}:void 0,C=O?e.orientation||O[i]:function(e){if(e.orientation)return e.orientation;var t={dependent:e.horizontal?"bottom":"left",independent:e.horizontal?"left":"bottom"};return e.dependentAxis?t.dependent:t.independent}(e),S=f.a.isVertical(Object.assign({},e,{orientation:C}));return{anchors:function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"}[e];return{textAnchor:t?n:"middle",verticalAnchor:t?"middle":n}}(C,S),axis:i,crossAxis:h,domain:b,isVertical:S,labelPadding:o,orientation:C,orientations:O,origin:w,padding:r,scale:x,stringTicks:a,style:n,tickFormat:v,ticks:y}},L=function(e,t){e=f.a.modifyProps(e,t);var n=R(e),r=n.axis,o=n.style,a=n.orientation,u=n.isVertical,c=n.scale,s=n.ticks,l=n.tickFormat,d=n.anchors,p=n.domain,h=n.stringTicks,y=n.name,v="x"===r?"y":"x",g=e,m=g.width,b=g.height,k=g.standalone,E=g.theme,_=g.polar,A=g.padding,j=g.horizontal,M=N(e,n),L=M.globalTransform,D=M.gridOffset,F=M.gridEdge,I={scale:x({},r,c[r]),polar:_,horizontal:j,ticks:s,stringTicks:h},z=function(e,t,n){var r=t.style,o=t.padding,a=t.isVertical,i=e.width,u=e.height;return{style:r.axis,x1:a?n.x:o.left+n.x,x2:a?n.x:i-o.right+n.x,y1:a?o.top+n.y:n.y,y2:a?u-o.bottom+n.y:n.y}}(e,n,L),U=function(e,t,n){var r=t.style,o=t.orientation,a=t.padding,i=t.labelPadding,u=t.isVertical,c=w[o],s=a.left+a.right,l=a.top+a.bottom,f=c<0?"end":"start",d=r.axisLabel,p=u?-90:0;return{x:u?n.x+c*i:(e.width-s)/2+a.left+n.x,y:u?(e.height-l)/2+a.top+n.y:c*i+n.y,verticalAnchor:d.verticalAnchor||f,textAnchor:d.textAnchor||"middle",angle:void 0===d.angle?p:d.angle,style:d,text:e.label}}(e,n,L),B={parent:i()({style:o.parent,ticks:s,standalone:k,theme:E,width:m,height:b,padding:A,domain:p,name:y},I)},V={dimension:v,range:x({},v,f.g.getRange(e,v)),scale:e.scale&&e.scale[v]?x({},v,e.scale[v]):void 0};return s.reduce((function(e,t,n){var p=h?h[n]:t,y=l(t,n,s),v=function(e,t){return{tickStyle:f.g.evaluateStyle(e.ticks,t),labelStyle:f.g.evaluateStyle(e.tickLabels,t),gridStyle:f.g.evaluateStyle(e.grid,t)}}(o,i()({},I,{tick:p,tickValue:t,index:n,text:y})),g={position:P(v,a,u),transform:T(c[r](t),L,u)},m={edge:F,transform:{x:u?-D.x+L.x:c[r](t)+L.x,y:u?c[r](t)+L.y:D.y+L.y}};return e[n]={axis:i()({dimension:r},I,z),axisLabel:i()({},I,U),ticks:i()({},I,O(g,v.tickStyle,t)),tickLabels:i()({},I,C(g,v.labelStyle,d,t,y)),grid:i()({},I,V,S(m,v.gridStyle,t))},e}),B)};function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(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 I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(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,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 B={width:450,height:300,padding:50},V=function(e){function t(){return I(this,t),U(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r,a;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:"renderLine",value:function(e){var t=e.axisComponent,n=this.getComponentProps(t,"axis",0);return l.a.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent;if(!e.label)return null;var n=this.getComponentProps(t,"axisLabel",0);return l.a.cloneElement(t,n)}},{key:"renderGridAndTicks",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.gridComponent,i=e.name,u=function(e){var t=e.style,n=void 0===t?{}:t,r=e.events,a=void 0===r?{}:r;return"transparent"!==n.stroke&&"none"!==n.stroke&&0!==n.strokeWidth||!o()(a)};return this.dataKeys.map((function(o,c){var s=t.getComponentProps(n,"ticks",c),f=l.a.cloneElement(n,s),d=u(f.props)?f:void 0,p=t.getComponentProps(a,"grid",c),h=l.a.cloneElement(a,p),y=u(h.props)?h:void 0,v=t.getComponentProps(r,"tickLabels",c),g=[y,d,l.a.cloneElement(r,v)].filter(Boolean);return l.a.cloneElement(e.groupComponent,{key:"".concat(i,"-tick-group-").concat(o)},g)}))}},{key:"fixLabelOverlap",value:function(e,t){var n=f.a.isVertical(t),r=n?t.height:t.width,o=function(e){return e.type&&"label"===e.type.role},a=e.map((function(e){return e.props.children})).reduce((function(e,t){return e.concat(t)}),[]).filter(o).map((function(e){return e.props})),u=a.reduce((function(e,t){var r=function(e){return"object"===typeof e?i()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}(t.style.padding),o=f.k.approximateTextSize(t.text,{angle:t.angle,fontSize:t.style.fontSize,letterSpacing:t.style.letterSpacing,fontFamily:t.style.fontFamily});return e+(n?o.height+r.top+r.bottom:o.width+r.right+r.left)}),0),c=Math.floor(r*e.length/u),s=Math.ceil(e.length/c)||1,l=function(e){return e.props.children.filter(o).reduce((function(e,t){return(n?t.props.y:t.props.x)||0}),0)};return e.sort((function(e,t){return n?l(t)-l(e):l(e)-l(t)})).filter((function(e,t){return t%s===0}))}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=f.a.modifyProps(this.props,B);if(this.shouldAnimate())return this.animateComponent(n,e);var r=this.renderGridAndTicks(n),o=n.fixLabelOverlap?this.fixLabelOverlap(r,n):r,a=[this.renderLine(n),this.renderLabel(n)].concat(F(o));return n.standalone?this.renderContainer(n.containerComponent,a):l.a.cloneElement(n.groupComponent,{},a)}}])&&z(n.prototype,r),a&&z(n,a),t}(l.a.Component);Object.defineProperty(V,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"]}),Object.defineProperty(V,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(V,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(V,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(V,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(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){D(e,t,n[t])}))}return e}({},f.c.baseProps,{axisComponent:c.a.element,axisLabelComponent:c.a.element,axisValue:c.a.oneOfType([c.a.number,c.a.string,c.a.object]),categories:c.a.oneOfType([c.a.arrayOf(c.a.string),c.a.shape({x:c.a.arrayOf(c.a.string),y:c.a.arrayOf(c.a.string)})]),crossAxis:c.a.bool,dependentAxis:c.a.bool,events:c.a.arrayOf(c.a.shape({target:c.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:c.a.oneOfType([c.a.array,f.i.allOfType([f.i.integer,f.i.nonNegative]),c.a.string]),eventHandlers:c.a.object})),fixLabelOverlap:c.a.bool,gridComponent:c.a.element,groupComponent:c.a.element,invertAxis:c.a.bool,label:c.a.any,offsetX:c.a.number,offsetY:c.a.number,orientation:c.a.oneOf(["top","bottom","left","right"]),origin:c.a.shape({x:c.a.number,y:c.a.number}),stringMap:c.a.object,style:c.a.shape({parent:c.a.object,axis:c.a.object,axisLabel:c.a.object,grid:c.a.object,ticks:c.a.object,tickLabels:c.a.object}),tickComponent:c.a.element,tickCount:f.i.allOfType([f.i.integer,f.i.greaterThanZero]),tickFormat:c.a.oneOfType([c.a.func,f.i.homogeneousArray]),tickLabelComponent:c.a.element,tickValues:f.i.homogeneousArray})}),Object.defineProperty(V,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:l.a.createElement(d.a,null),axisLabelComponent:l.a.createElement(p.a,null),tickLabelComponent:l.a.createElement(p.a,null),tickComponent:l.a.createElement(d.a,null),gridComponent:l.a.createElement(d.a,null),standalone:!0,theme:h.a.grayscale,containerComponent:l.a.createElement(y.a,null),groupComponent:l.a.createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(V,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:f.a.getDomain}),Object.defineProperty(V,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:f.a.getAxis}),Object.defineProperty(V,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return E(e,B.style)}}),Object.defineProperty(V,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return L(e,B)}}),Object.defineProperty(V,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]});t.a=Object(v.a)(V,{components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]})}]]);
  //# sourceMappingURL=2.8dc9dc59.chunk.js.map